Integrate per-save identity and interaction UI
This commit is contained in:
parent
ac82a28f3b
commit
4fda6e97f6
58 changed files with 3471 additions and 461 deletions
|
|
@ -35,7 +35,6 @@ func _run() -> void:
|
|||
var game_ui := main.get_node("%GameUI") as GameUI
|
||||
var player_menu := game_ui.get_node("%PlayerMenu") as PlayerMenu
|
||||
var logbook := player_menu.get_node("%CatalogLogbook") as LogbookPage
|
||||
var backdrop := main.get_node("%PlayerMenuBackdrop") as ColorRect
|
||||
var hotbar := game_ui.get_node("%Hotbar") as Control
|
||||
var fishing_spot := main.get("_fishing_spot") as FishingSpot
|
||||
assert(logbook.get("_fishing_spot") == fishing_spot)
|
||||
|
|
@ -49,7 +48,7 @@ func _run() -> void:
|
|||
await create_timer(MENU_TRANSITION_SETTLE_SECONDS).timeout
|
||||
assert(player_menu.visible)
|
||||
assert(logbook.visible)
|
||||
assert(backdrop.visible)
|
||||
assert(main.get_node_or_null("%PlayerMenuBackdrop") == null)
|
||||
assert(not bool(game_ui.get("_player_menu_hotbar_visible")))
|
||||
assert(not hotbar.visible)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue