14 lines
414 B
GDScript
14 lines
414 B
GDScript
extends Node2D
|
|
|
|
|
|
func _ready() -> void:
|
|
GameState.planet_name = "Violet Tempest"
|
|
GameState.planet_definition_id = "gas_giant"
|
|
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)
|