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
+3 -3
View File
@@ -9,11 +9,11 @@ func test_hud_shows_exact_chest_prompt_only_while_the_chest_is_a_context_target(
var state := game.get_game_state()
var hud := game.get_node("HUD") as GameHud
state.map.set_cell(Vector2i(4, 11), GridMapState.CellKind.FLOOR)
state.player.cell = Vector2i(4, 8)
var chest := state.player.cell + Vector2i.UP
state.map.set_cell(chest, GridMapState.CellKind.CHEST)
hud.refresh(state)
assert_eq(hud.get_context_prompt(), "Espace — Ouvrir le coffre")
state.player.cell = Vector2i(4, 10)
state.map.set_cell(chest, GridMapState.CellKind.FLOOR)
hud.refresh(state)
assert_eq(hud.get_context_prompt(), "")