UI and other changes

This commit is contained in:
Forrest 2026-10-07 13:41:38 -04:00
parent 87b5c11fcf
commit 215e24e246
79 changed files with 70023 additions and 2201 deletions

View file

@ -6,12 +6,13 @@ extends CanvasLayer
## pairs, then all three; game/resources/scenarios/) and back to the real one
## F3 / Shift+F3 in the morning review: jump to the next / previous day's morning, farm as
## it is (jump_morning; debug builds only, not on a co-op partner's machine)
## F4 unlock everything: every upgrade and shop item at its last level, free
## (unlock_all; debug builds only, not on a co-op partner's machine). Not
## F8: run from the editor, Godot stops the game on F8 (its Stop shortcut)
## N start the night early (only when GameConfig.allow_early_night is on)
## R after Game Over: retry the night; after the farmers return: new vacation
## F6 end the current phase now
## F7 cycle game speed 1x / 5x / 20x
## F8 unlock everything: every upgrade and shop item at its last level, free
## (unlock_all; debug builds only, not on a co-op partner's machine)
## F9 debug: scarecrow to 0 HP
## F10 debug: strip every farm asset
## T / G / H debug: send in a thief / a crow / a fence breaker (FarmSim)
@ -68,6 +69,8 @@ func _unhandled_input(event: InputEvent) -> void:
cycle_scenario()
KEY_F3:
jump_morning(-1 if key.shift_pressed else 1)
KEY_F4:
unlock_all()
KEY_N:
campaign.start_night_early()
KEY_F6:
@ -75,8 +78,6 @@ func _unhandled_input(event: InputEvent) -> void:
KEY_F7:
_speed_index = (_speed_index + 1) % SPEEDS.size()
Engine.time_scale = SPEEDS[_speed_index]
KEY_F8:
unlock_all()
KEY_F9:
s.scarecrow_hp = 0
KEY_F10:
@ -168,5 +169,5 @@ func _describe() -> String:
lines.append("[N] start the night early")
if sim != null and sim.waves.debug_plan != null:
lines.append("Scenario: %s (F2 next)" % sim.waves.debug_plan.title)
lines.append("F1 hide · F2 scenario · F3 / Shift+F3 next / previous morning · F6 next phase · F7 speed · F8 unlock everything · F9 scarecrow to 0 HP · F10 strip farm · T/G/H thief/crow/breaker")
lines.append("F1 hide · F2 scenario · F3 / Shift+F3 next / previous morning · F4 unlock everything · F6 next phase · F7 speed · F9 scarecrow to 0 HP · F10 strip farm · T/G/H thief/crow/breaker")
return "\n".join(lines)