feat: complete playtest parity improvements

This commit is contained in:
goose
2026-10-08 19:06:19 -04:00
parent cce25a1908
commit eca098b4b9
139 changed files with 3001 additions and 982 deletions
+4
View File
@@ -55,6 +55,9 @@ func test_rest_requires_a_bed_and_bed_interaction_consumes_one_day() -> void:
add_child_autofree(game)
await get_tree().process_frame
var state := game.get_game_state()
game.get_run_state().current_floor = 1
game.get_run_state().floors[1] = state.floor_state
state.floor_state.floor_number = 1
var deadline := game.get_run_state().current_floor_deadline()
var before := deadline.turns_remaining
@@ -100,6 +103,7 @@ func test_run_state_keeps_independent_deadline_state_for_each_floor() -> void:
func _key_event(keycode: Key) -> InputEventKey:
var event := InputEventKey.new()
event.device = 16
event.keycode = keycode
event.physical_keycode = keycode
event.pressed = true