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:
akshay committed 2022-08-18 20:31:07 -04:00
1 parent 6e6da14975
commit ef4b8bd7cf
10 files changed
+105 -7

No files matched your search

+1
View File
@@ -37,6 +37,7 @@ func on_item_holder_item_changed(item):
pass
func on_item_dump_item_dump_completed():
ctx.full_heal()
if ctx.item_holder.item_in_hold == null:
ctx.change_state(ctx.States[ctx.EState.IDLE].new())
else: