Add sleeping
This commit is contained in:
1 parent
22e2fc0067
commit
30f171f3d9
28 files changed
+1677
-221
No files matched your search
@@ -16,12 +16,11 @@ func enter_from(state):
|
||||
ctx.get_node("%item_holder").remove_enabled = false
|
||||
|
||||
ctx.get_node("cook_timer").start()
|
||||
ctx.get_node("%coil").set_surface_material(0, mat)
|
||||
ctx.get_node("status_light").light_color = Color.green
|
||||
ctx.get_node("status_light").activate()
|
||||
|
||||
func exit_to(state):
|
||||
ctx.get_node("%coil").set_surface_material(0, null)
|
||||
pass
|
||||
|
||||
func on_coin_machine_coin_requirement_met(player):
|
||||
assert(false, "coin machine should be disabled while growing")
|
||||
|
||||
Reference in new issue
Block a user