aboutsummaryrefslogtreecommitdiff
path: root/client/map/tiles/sink.gd
diff options
context:
space:
mode:
authornokoe <nokoe@mailbox.org>2024-06-29 17:07:00 +0200
committernokoe <nokoe@mailbox.org>2024-06-29 17:07:00 +0200
commit0c35e9b8870ae9d10878771fd15eab3c7f6adf8b (patch)
treef5148e70372651856257372833d3108d9e9a616f /client/map/tiles/sink.gd
parentf77b4d33946caea40aac0dc16d1ca80d0511e468 (diff)
downloadhurrycurry-0c35e9b8870ae9d10878771fd15eab3c7f6adf8b.tar
hurrycurry-0c35e9b8870ae9d10878771fd15eab3c7f6adf8b.tar.bz2
hurrycurry-0c35e9b8870ae9d10878771fd15eab3c7f6adf8b.tar.zst
only wash plates
Diffstat (limited to 'client/map/tiles/sink.gd')
-rw-r--r--client/map/tiles/sink.gd11
1 files changed, 10 insertions, 1 deletions
diff --git a/client/map/tiles/sink.gd b/client/map/tiles/sink.gd
index f6213eb5..013742e8 100644
--- a/client/map/tiles/sink.gd
+++ b/client/map/tiles/sink.gd
@@ -31,8 +31,17 @@ func _init(rename: String, neighbors: Array):
func progress(p: float, warn: bool):
super(p, warn)
- bubbles.start()
+ if item is Plate:
+ bubbles.start()
func finish(warn: bool):
super(warn)
bubbles.stop()
+
+func set_item(i: Item):
+ super(i)
+ self.bubbles.stop()
+
+func take_item() -> Item:
+ self.bubbles.stop()
+ return super()