diff options
| author | metamuffin <metamuffin@disroot.org> | 2024-08-19 17:50:46 +0200 | 
|---|---|---|
| committer | metamuffin <metamuffin@disroot.org> | 2024-08-19 17:50:58 +0200 | 
| commit | 947ea54a0dfe0093f658c371dc1a8aef3df61b61 (patch) | |
| tree | 257c5a12318017303cecad467f99daead732fc00 /client/map | |
| parent | e2d6cd6f86370aa6dfb55dea73e34c09db634c51 (diff) | |
| download | hurrycurry-947ea54a0dfe0093f658c371dc1a8aef3df61b61.tar hurrycurry-947ea54a0dfe0093f658c371dc1a8aef3df61b61.tar.bz2 hurrycurry-947ea54a0dfe0093f658c371dc1a8aef3df61b61.tar.zst  | |
add strawberry shake items
Diffstat (limited to 'client/map')
| -rw-r--r-- | client/map/item_factory.gd | 4 | ||||
| -rw-r--r-- | client/map/items/food_processor_items.gd | 20 | 
2 files changed, 24 insertions, 0 deletions
diff --git a/client/map/item_factory.gd b/client/map/item_factory.gd index e92886a1..7c92e2b8 100644 --- a/client/map/item_factory.gd +++ b/client/map/item_factory.gd @@ -59,13 +59,17 @@ static func produce(name: String, owned_by: Node3D) -> Item:  		"foodprocessor": return FoodProcessor.new(owned_by)  		"coconut-foodprocessor": return FoodProcessorItems.CoconutF.new(owned_by) +		"coconut-strawberry-puree-foodprocessor": return FoodProcessorItems.CoconutStrawberryPureeF.new(owned_by)  		"dough-foodprocessor": return FoodProcessorItems.DoughF.new(owned_by)  		"flour-foodprocessor": return FoodProcessorItems.FlourF.new(owned_by)  		"milk-foodprocessor": return FoodProcessorItems.MilkF.new(owned_by) +		"milk-strawberry-foodprocessor": return FoodProcessorItems.MilkStrawberryF.new(owned_by)  		"rice-flour-foodprocessor": return FoodProcessorItems.RiceFlourF.new(owned_by)  		"rice-foodprocessor": return FoodProcessorItems.RiceF.new(owned_by)  		"strawberry-foodprocessor": return FoodProcessorItems.StrawberryF.new(owned_by) +		"strawberry-icecream-foodprocessor": return FoodProcessorItems.StrawberryIcecreamF.new(owned_by)  		"strawberry-puree-foodprocessor": return FoodProcessorItems.StrawberryPureeF.new(owned_by) +		"strawberry-shake-foodprocessor": return FoodProcessorItems.StrawberryShakeF.new(owned_by)  		"tomato-foodprocessor": return FoodProcessorItems.TomatoF.new(owned_by)  		"tomato-juice-foodprocessor": return FoodProcessorItems.TomatoJuiceF.new(owned_by) diff --git a/client/map/items/food_processor_items.gd b/client/map/items/food_processor_items.gd index 615ea9e4..0b5be011 100644 --- a/client/map/items/food_processor_items.gd +++ b/client/map/items/food_processor_items.gd @@ -55,6 +55,26 @@ class StrawberryF extends FoodProcessor:  		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_)  |