diff options
author | metamuffin <metamuffin@disroot.org> | 2024-08-19 16:40:15 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2024-08-19 16:40:15 +0200 |
commit | 4d529ad88847854bea4d0d23dd49c3c45846a670 (patch) | |
tree | 2c0cee95a0947ad51161caade7c714b15c37645b /client/map/items | |
parent | 22c807a409ad8deb7b1421b5cefa6ef559bd8750 (diff) | |
download | hurrycurry-4d529ad88847854bea4d0d23dd49c3c45846a670.tar hurrycurry-4d529ad88847854bea4d0d23dd49c3c45846a670.tar.bz2 hurrycurry-4d529ad88847854bea4d0d23dd49c3c45846a670.tar.zst |
add all the missing pots
Diffstat (limited to 'client/map/items')
-rw-r--r-- | client/map/items/pot_items.gd | 40 |
1 files changed, 39 insertions, 1 deletions
diff --git a/client/map/items/pot_items.gd b/client/map/items/pot_items.gd index 65ee1bd8..fae2ccaa 100644 --- a/client/map/items/pot_items.gd +++ b/client/map/items/pot_items.gd @@ -72,7 +72,7 @@ class LeekTomatoJuiceP extends TomatoJuiceP: leek.position.x = .03 base.add_child(leek) -class CookedRice extends RiceP: +class CookedRiceP extends RiceP: func _init(owned_by_: Node3D): super(owned_by_) set_color(Color(1.,1.,1.)) @@ -90,3 +90,41 @@ class SteakP extends Pot: func _init(owned_by_: Node3D): super(owned_by_) base.add_child(load("res://map/items/steak.tscn").instantiate()) + +class TomatoP extends Pot: + func _init(owned_by_: Node3D): + super(owned_by_) + base.add_child(load("res://map/items/tomato.tscn").instantiate()) + +class LeekTomatoP extends LeekP: + func _init(owned_by_: Node3D): + super(owned_by_) + base.add_child(load("res://map/items/tomato.tscn").instantiate()) + +class CurryP extends PotFill: + func _init(owned_by_: Node3D): + super(owned_by_) + set_color(Color(.75, .45, .1)) + +class MilkP extends PotFill: + func _init(owned_by_: Node3D): + super(owned_by_) + set_color(Color8(250, 250, 250)) + +class LeekMilkP extends MilkP: + func _init(owned_by_: Node3D): + super(owned_by_) + var leek: Node3D = load("res://map/items/leek.tscn").instantiate() + leek.rotation_degrees = Vector3(14.5, 0, -25) + leek.position.x = .03 + base.add_child(leek) + +class LeekMilkTomatoP extends LeekMilkP: + func _init(owned_by_: Node3D): + super(owned_by_) + base.add_child(load("res://map/items/tomato.tscn").instantiate()) + +class MilkTomatoP extends MilkP: + func _init(owned_by_: Node3D): + super(owned_by_) + base.add_child(load("res://map/items/tomato.tscn").instantiate()) |