diff options
| author | nokoe <nokoe@mailbox.org> | 2024-06-29 17:07:00 +0200 |
|---|---|---|
| committer | nokoe <nokoe@mailbox.org> | 2024-06-29 17:07:00 +0200 |
| commit | 0c35e9b8870ae9d10878771fd15eab3c7f6adf8b (patch) | |
| tree | f5148e70372651856257372833d3108d9e9a616f /client/map/tiles/sink.gd | |
| parent | f77b4d33946caea40aac0dc16d1ca80d0511e468 (diff) | |
| download | hurrycurry-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.gd | 11 |
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() |