diff options
| author | metamuffin <metamuffin@disroot.org> | 2024-08-19 13:07:50 +0200 |
|---|---|---|
| committer | metamuffin <metamuffin@disroot.org> | 2024-08-19 13:07:50 +0200 |
| commit | 317a358046830e6c23dce5d133880e8f86a5526f (patch) | |
| tree | 451259f627fb7f907e5dbe859afd10586a74f3c8 /client/map/items/food_processor_items.gd | |
| parent | 3e321f4e844d6517f21ea40b5c82bb33e7ed4334 (diff) | |
| download | hurrycurry-317a358046830e6c23dce5d133880e8f86a5526f.tar hurrycurry-317a358046830e6c23dce5d133880e8f86a5526f.tar.bz2 hurrycurry-317a358046830e6c23dce5d133880e8f86a5526f.tar.zst | |
merge pot and fp items into single files
Diffstat (limited to 'client/map/items/food_processor_items.gd')
| -rw-r--r-- | client/map/items/food_processor_items.gd | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/client/map/items/food_processor_items.gd b/client/map/items/food_processor_items.gd new file mode 100644 index 00000000..615ea9e4 --- /dev/null +++ b/client/map/items/food_processor_items.gd @@ -0,0 +1,72 @@ +# Hurry Curry! - a game about cooking +# Copyright 2024 metamuffin +# Copyright 2024 nokoe +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, version 3 of the License only. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <https://www.gnu.org/licenses/>. +# +class_name FoodProcessorItems + +class MilkF extends FoodProcessorContent: + func _init(owned_by_: Node3D): + super(owned_by_) + set_color(Color8(250, 250, 250)) + +class RiceFlourF extends FoodProcessorContent: + func _init(owned_by_: Node3D): + super(owned_by_) + set_color(Color(1.,1.,.8)) + +class RiceF extends FoodProcessor: + func _init(owned_by_: Node3D): + super(owned_by_) + processing.color = Color(1.,1.,.8) + base.add_child(load("res://map/items/rice.tscn").instantiate()) + +class FlourF extends FoodProcessor: + func _init(owned_by_: Node3D): + super(owned_by_) + processing.color = Color(.9, .9, .9) + base.add_child(load("res://map/items/flour.tscn").instantiate()) + +class DoughF extends FoodProcessorContent: + func _init(owned_by_: Node3D): + super(owned_by_) + set_color(Color8(200, 180, 160)) + +class CoconutF extends FoodProcessor: + func _init(owned_by_: Node3D): + super(owned_by_) + processing.color = Color(.8, .5, .4) + base.add_child(load("res://map/items/coconut.tscn").instantiate()) + +class StrawberryF extends FoodProcessor: + func _init(owned_by_: Node3D): + super(owned_by_) + processing.color = Color(.9, .0, .0) + base.add_child(load("res://map/items/strawberry.tscn").instantiate()) + +class StrawberryPureeF extends FoodProcessorContent: + func _init(owned_by_: Node3D): + super(owned_by_) + set_color(Color8(200, 80, 80)) + +class TomatoF extends FoodProcessor: + func _init(owned_by_: Node3D): + super(owned_by_) + processing.color = Color(1.,0.,0.) + base.add_child(load("res://map/items/tomato.tscn").instantiate()) + +class TomatoJuiceF extends FoodProcessorContent: + func _init(owned_by_: Node3D): + super(owned_by_) + set_color(Color(1.,0.,0.)) |