12 lines
364 B
GDScript3
12 lines
364 B
GDScript3
|
|
extends Node2D
|
||
|
|
|
||
|
|
|
||
|
|
func _ready() -> void:
|
||
|
|
GameState.planet_name = "Kepler's Rest"
|
||
|
|
GameState.planet_id = "chunk:3:7"
|
||
|
|
GameState.planet_definition_id = "rocky"
|
||
|
|
GameState.surviving_ship_count = 3
|
||
|
|
GameState.rocks = 128
|
||
|
|
var surface: Node = load("res://PlanetSurface.tscn").instantiate()
|
||
|
|
surface.get_node("SurfaceController").fade_duration = 0.0
|
||
|
|
add_child(surface)
|