feat: add 30x20 demo map and chest interaction
This commit is contained in:
@@ -17,7 +17,7 @@ func test_real_game_keyboard_space_and_test_seam_open_door_then_allow_walking_th
|
||||
var hud := game.get_node("HUD") as GameHud
|
||||
var prompt_label := game.get_node("HUD/ContextPromptLabel") as Label
|
||||
var event_log := game.get_node("HUD/EventLog") as RichTextLabel
|
||||
var door_cell := Vector2i(2, 1)
|
||||
var door_cell := Vector2i(4, 11)
|
||||
game._unhandled_input(_key_event(KEY_SPACE))
|
||||
|
||||
assert_eq(state.map.get_cell(door_cell), GridMapState.CellKind.FLOOR)
|
||||
|
||||
Reference in New Issue
Block a user