feat: add 30x20 demo map and chest interaction
This commit is contained in:
@@ -28,6 +28,8 @@ func after_each() -> void:
|
||||
func test_real_game_resolves_combat_with_empty_audio_home() -> void:
|
||||
var audio = game.get_node("AudioLibrary")
|
||||
|
||||
var state := game.get_game_state()
|
||||
state.enemies[&"goblin"].cell = state.player.cell + Vector2i(2, 0)
|
||||
game.submit_test_action(Vector2i.RIGHT)
|
||||
var first_melee := game.submit_test_action(Vector2i.RIGHT)
|
||||
var lethal_melee := game.submit_test_action(Vector2i.RIGHT)
|
||||
@@ -58,6 +60,8 @@ func test_external_nominal_and_invalid_wavs_do_not_affect_combat() -> void:
|
||||
invalid_file.store_string("truncated WAV")
|
||||
invalid_file.close()
|
||||
|
||||
var state := game.get_game_state()
|
||||
state.enemies[&"goblin"].cell = state.player.cell + Vector2i(2, 0)
|
||||
game.submit_test_action(Vector2i.RIGHT)
|
||||
var first_melee := game.submit_test_action(Vector2i.RIGHT)
|
||||
var lethal_melee := game.submit_test_action(Vector2i.RIGHT)
|
||||
|
||||
Reference in New Issue
Block a user