diff --git a/CHANGELOG.md b/CHANGELOG.md index 4fe9e3e..f707cc7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # Changelog +## v0.2.2 — 2026-09-28 21:02 +- LOCAL SYSTEM tab: explorable-worlds list now staggers moons under their parent planet (indented rows) — ASHFALL attached under BRIMSTONE, new PALEMOON moon under AURELLE; badges unchanged. + ## v0.2.1 — 2026-09-28 20:22 - LOCAL SYSTEM tab: removed the system node graph (star/planets/moons) — the tab now shows only the explorable-worlds list at full panel width. WORLD MAP keeps its node graph; `components/ui/node-graph.tsx` unchanged and still in use there. diff --git a/components/mission-control.tsx b/components/mission-control.tsx index e112218..b034ade 100644 --- a/components/mission-control.tsx +++ b/components/mission-control.tsx @@ -72,11 +72,16 @@ const worldMapEdges: NodeGraphEdge[] = [ // LOCAL SYSTEM — explorable worlds of the current system (regenerated per save after each jump, later). const explorablePlanets = [ - { name: 'AURELLE', type: 'TERRESTRIAL // OCEAN CONTINENTS', state: 'UNEXPLORED' as const }, - { name: 'BRIMSTONE', type: 'GAS GIANT // CLOUD DECKS', state: 'SCANNED' as const }, - { name: 'ASHFALL (MOON)', type: 'VOLCANIC MOON // SULFUR VEINS', state: 'UNEXPLORED' as const }, - { name: 'CINDERROCK', type: 'ROCKY // IRON RICH', state: 'UNEXPLORED' as const }, - { name: 'DRIFTBAND', type: 'ASTEROID FIELD // HAZARD', state: 'HAZARD' as const }, + { + name: 'AURELLE', type: 'TERRESTRIAL // OCEAN CONTINENTS', state: 'UNEXPLORED' as const, + moons: [{ name: 'PALEMOON', type: 'ICE MOON // FROST PLAINS', state: 'UNEXPLORED' as const }], + }, + { + name: 'BRIMSTONE', type: 'GAS GIANT // CLOUD DECKS', state: 'SCANNED' as const, + moons: [{ name: 'ASHFALL', type: 'VOLCANIC MOON // SULFUR VEINS', state: 'UNEXPLORED' as const }], + }, + { name: 'CINDERROCK', type: 'ROCKY // IRON RICH', state: 'UNEXPLORED' as const, moons: [] }, + { name: 'DRIFTBAND', type: 'ASTEROID FIELD // HAZARD', state: 'HAZARD' as const, moons: [] }, ] const crew = [ @@ -389,31 +394,39 @@ export function MissionControl() { > EXPLORABLE WORLDS // FIND THINGS HERE (PLACEHOLDER) - {explorablePlanets.map((planet, i) => ( + {explorablePlanets.flatMap((planet) => [ + { name: planet.name, type: planet.type, state: planet.state, depth: 0 }, + ...planet.moons.map((moon) => ({ + name: moon.name, + type: moon.type, + state: moon.state, + depth: 1, + })), + ]).map((row, i, rows) => (