aboutsummaryrefslogtreecommitdiff
path: root/client/map/items/glass.gd
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2024-09-08 13:50:46 +0200
committermetamuffin <metamuffin@disroot.org>2024-09-08 13:50:46 +0200
commit3226addea9b2228ee75b84fc5165771c1935dd99 (patch)
tree5c851120431211ca79a00ddb98f1ff95180c09a0 /client/map/items/glass.gd
parentcd053cb7813160550bd83870c2b23604d147a8bd (diff)
downloadhurrycurry-3226addea9b2228ee75b84fc5165771c1935dd99.tar
hurrycurry-3226addea9b2228ee75b84fc5165771c1935dd99.tar.bz2
hurrycurry-3226addea9b2228ee75b84fc5165771c1935dd99.tar.zst
add item contents
Diffstat (limited to 'client/map/items/glass.gd')
-rw-r--r--client/map/items/glass.gd3
1 files changed, 2 insertions, 1 deletions
diff --git a/client/map/items/glass.gd b/client/map/items/glass.gd
index e974abe9..cff41f18 100644
--- a/client/map/items/glass.gd
+++ b/client/map/items/glass.gd
@@ -16,9 +16,10 @@
class_name Glass
extends Item
-func _init(owned_by_: Node3D):
+func _init(owned_by_: Node3D, contents: Array[String]):
super(owned_by_)
add_child(load("res://map/items/glass.tscn").instantiate())
+ # TODO
func setup_sounds():
# TODO: Add custom glass sounds; For now use plate sounds as they are similar