extends Node2D # Preview, not a test - the build menu with every structure unlocked, so the # long captions and the three-resource prices are on screen together. # # bash tests/screenshot.sh res://tests/_build_menu_preview.tscn /tmp/b.png 25 720x1280 func _ready() -> void: GameState.reset_progression() for node in GameState.SKILL_TREE: if not GameState.is_unlocked(String(node.id)): GameState.unlocked.append(String(node.id)) for resource_type in GameState.resource_types(): GameState.bank_inventory.set_amount(resource_type, 1500) var main: Node = load("res://world/Main.tscn").instantiate() add_child(main) main.get_node("EnemySpawner").set_process(false) main.get_node("AsteroidField").set_process(false) var build: Node = main.get_node("BuildController") build.build_menu.visible = true build._refresh_build_status()