A rare, deterministically-seeded landable body yielding a fourth resource, dark matter, obtainable only through an extractor - never a surface pickup. Reuses every existing generic system (resource/planet definitions, surface profiles, extractor/transporter pipeline) with no type-switch branching. Also fixes a latent conquest-gating gap: a surface profile with no authored PlanetSetup (like the black hole's "void") never registered capture points at all, permanently blocking extractor placement. register_capture_points() now treats zero required points as vacuously conquered, and PlanetSurfaceController registers that zero-point state explicitly when no setup exists.
12 lines
443 B
Text
12 lines
443 B
Text
[gd_resource type="Resource" script_class="PlanetSurfaceProfile" load_steps=2 format=3]
|
|
|
|
[ext_resource type="Script" path="res://PlanetSurfaceProfile.gd" id="1"]
|
|
|
|
[resource]
|
|
script = ExtResource("1")
|
|
profile_id = "void"
|
|
base_color = Color(0.04, 0.02, 0.07, 1)
|
|
crater_color = Color(0.01, 0.005, 0.02, 1)
|
|
highlight_color = Color(0.45, 0.15, 0.65, 1)
|
|
caption_color = Color(0.85, 0.7, 0.95, 1)
|
|
caption_outline_color = Color(0.03, 0.01, 0.05, 0.9)
|