extends Node2D # Preview, not a test - #51's "the rocky surface is unchanged" acceptance # criterion. Mirrors _gas_surface_preview.gd exactly except for the planet # type, so the two screenshots are a fair side-by-side comparison. # # bash tests/screenshot.sh res://tests/_rocky_surface_preview.tscn /tmp/rocky.png 20 720x1280 func _ready() -> void: GameState.planet_name = "Kepler's Rest" GameState.planet_definition_id = "rocky" GameState.surviving_ship_count = 3 GameState.rocks = 128 GameState.gas = 46 GameState.fleet_cargo = 34 GameState.fleet_gas_cargo = 17 var surface: Node = load("res://PlanetSurface.tscn").instantiate() surface.get_node("SurfaceController").fade_duration = 0.0 add_child(surface)