test: define final character HUD contracts

This commit is contained in:
goose
2026-10-09 12:21:45 -04:00
parent 78f4744c3f
commit c410f830e3
7 changed files with 193 additions and 91 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ func test_real_merchant_interaction_opens_shop_and_purchase_updates_inventory_an
game.get_run_state().gold = 100
var no_events: Array[GameEvent] = []
game.get_node("HUD").refresh(state, no_events, game.get_run_state())
assert_eq((game.get_node("HUD/GoldLabel") as Label).text, "Or : 100")
assert_eq((game.get_node("HUD/GoldLabel") as Label).text, "100")
await _dispatch_key(KEY_E)
var dialogue_entries := game.get_node("HUD/DialoguePanel/Layout/Entries") as RichTextLabel