aboutsummaryrefslogtreecommitdiff
path: root/client/map/items/plate.gd
diff options
context:
space:
mode:
Diffstat (limited to 'client/map/items/plate.gd')
-rw-r--r--client/map/items/plate.gd4
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")])