# 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 . # 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 CoconutStrawberryPureeF extends StrawberryPureeF: func _init(owned_by_: Node3D): super(owned_by_) base.add_child(load("res://map/items/coconut.tscn").instantiate()) class MilkStrawberryF extends MilkF: func _init(owned_by_: Node3D): super(owned_by_) base.add_child(load("res://map/items/strawberry.tscn").instantiate()) class StrawberryShakeF extends FoodProcessorContent: func _init(owned_by_: Node3D): super(owned_by_) set_color(Color8(250, 140, 180)) class StrawberryIcecreamF extends FoodProcessorContent: func _init(owned_by_: Node3D): super(owned_by_) set_color(Color8(250, 180, 210)) 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.))