diff options
author | tpart <tpart120@proton.me> | 2024-09-08 14:10:18 +0200 |
---|---|---|
committer | tpart <tpart120@proton.me> | 2024-09-08 14:10:18 +0200 |
commit | 8fdf05cb714e0e8ce852405bdeb98752127e3e94 (patch) | |
tree | 2b3640489297328da5bd23e6552765f7b5720fb5 /client/map/items/plate.gd | |
parent | 3226addea9b2228ee75b84fc5165771c1935dd99 (diff) | |
download | hurrycurry-8fdf05cb714e0e8ce852405bdeb98752127e3e94.tar hurrycurry-8fdf05cb714e0e8ce852405bdeb98752127e3e94.tar.bz2 hurrycurry-8fdf05cb714e0e8ce852405bdeb98752127e3e94.tar.zst |
Rename cooked steak to raw steak; Fix plate fill
Diffstat (limited to 'client/map/items/plate.gd')
-rw-r--r-- | client/map/items/plate.gd | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/client/map/items/plate.gd b/client/map/items/plate.gd index 2ff62d65..3d5aa7a6 100644 --- a/client/map/items/plate.gd +++ b/client/map/items/plate.gd @@ -21,7 +21,9 @@ func _init(owned_by_: Node3D, contents: Array[String]): super(owned_by_) add_child(load("res://map/items/plate.tscn").instantiate()) for c in contents: - base.add_child(ItemFactory.produce(c, base)) + match c: + "tomato-soup": add_child(PlateFill.new(self, Color(1., .3, .2))) + _: base.add_child(ItemFactory.produce(c, base)) func setup_sounds(): take_sound.setup([preload("res://map/items/sounds/plate_take.ogg")]) |