Added broken state to hydroponic station and fixed a bug with all the brokens tates where they wouldn't heal the object back up on repair
This commit is contained in:
1 parent
6e6da14975
commit
ef4b8bd7cf
10 files changed
+105
-7
No files matched your search
@@ -30,6 +30,7 @@ func on_item_holder_item_changed(item):
|
||||
assert(false, "should be impossible while broken")
|
||||
|
||||
func on_item_dump_completed():
|
||||
ctx.full_heal()
|
||||
ctx.change_state(ctx.StateIdle.new())
|
||||
|
||||
func take_damage():
|
||||
|
||||
Reference in new issue
Block a user