adjusted O2 length (fixes #170)

This commit is contained in:
pennyrigate 2023-10-01 00:47:11 -04:00
parent 0a0b3e2f42
commit 8d845c9def
2 changed files with 8 additions and 3 deletions

View file

@ -80,6 +80,12 @@ func _ready() -> void:
state_chart.set_guard_property("red_feather", false)
# state chart debug
$StateDebugLayer/StateChartDebug.target = state_chart
# set lung size
if Game.difficulty == Game.Difficulty.SWEET:
oxygen_timer.set_wait_time(25)
if Game.difficulty == Game.Difficulty.PUNGENT:
oxygen_timer.set_wait_time(15)
oxygen_timer.start()
func _physics_process(delta: float) -> void:
# snap sprite