Drive planet space presentation from PlanetDefinition resources #32
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
Planet.gd, PlanetField.gd, WorldGen.gd, and PlanetAtmosphereController.gd pass string values such as rocky and gas_giant around, then switch on them to draw planets and select related behavior. This repeats the same type knowledge across generation, presentation, and transition code.
Direction
Add a PlanetDefinition resource/catalog entry that owns the planet identity and presentation data: space visual scene or renderer, surface-profile reference, naming pools, map style, and resource identity where applicable. World generation should select a definition, while PlanetField instantiates or configures its declared visual. Landing should pass the selected definition/profile rather than recreate meaning from strings.
This ticket complements the surface-composition ticket but remains focused on the space biome and transition data.
Acceptance criteria
Implemented in commit
02643c7.Changes:
Verification: