extends Node2D # Preview, not a test - the ship lab at the real 720x1280 viewport, with a # vessel selected and its upgrades listed. # # bash tests/screenshot.sh res://tests/_lab_menu_preview.tscn /tmp/lab.png 25 720x1280 func _ready() -> void: GameState.buildings.clear() GameState.extractors.clear() GameState.reset_progression() GameState.bank_inventory.set_amount(GameState.RESOURCE_ORE, 310) GameState.fleet_inventory.set_amount(GameState.RESOURCE_ORE, 47) GameState.research_points = 4 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.lab_menu.visible = true build._refresh_lab()