orbit/data
Brian Fertig 831670c8ca Add faction territory floor and ring all stars by ownership
Branch sizes are inherently skewed; previously only the cap (median quota)
applied, so a small faction could start with a one-system sliver.

- FLOOR (balance.minTerritory, data/factions.json): a faction below the
  floor absorbs the nearest unowned eligible overflow first, then the
  richest faction's least-core systems — territory stays contiguous; a
  tiny galaxy with too few eligible systems is best-effort.
- Territory is now tracked per faction: g.factions.factionTerritories is
  the truth, the branch view is derived; capitals are placed inside the
  faction's post-floor territory, so a faction built entirely from
  borrowed space still gets its seat in its own territory.
- The galaxy plate rings EVERY star: faction color for territory, neutral
  silver for wild space (home included) — the ring color is the
  ownership read at a glance.
- dev/factions.test.mjs now checks the floor, cap, disjointness, and
  branch-view invariants; new throwaway diagnostics
  dev/faction-balance.diag.mjs / dev/faction-sweep.diag.mjs sweep seeds
  for the invariants + determinism.
2026-09-11 13:34:35 -06:00
..
research
…
actionbar.json
…
asteroids.json
…
builds.json
…
comms.json Add faction worldgen layer: territories, capitals, bridges, and arid pla 2026-09-10 21:45:33 -06:00
factions.json Add faction territory floor and ring all stars by ownership 2026-09-11 13:34:35 -06:00
galaxy.json
…
game.json Add front nebula layer with derived accent tint for two-tone gas 2026-09-10 22:48:40 -06:00
gates.json Add faction worldgen layer: territories, capitals, bridges, and arid pla 2026-09-10 21:45:33 -06:00
landing.json Add balance quota to cap faction territory sizes 2026-09-10 22:18:07 -06:00
manifest.json Add faction worldgen layer: territories, capitals, bridges, and arid pla 2026-09-10 21:45:33 -06:00
map.json Add faction territory floor and ring all stars by ownership 2026-09-11 13:34:35 -06:00
menu.json
…
mineralhud.json
…
music.json
…
naming.json
…
planets.json Add faction worldgen layer: territories, capitals, bridges, and arid pla 2026-09-10 21:45:33 -06:00
quests.json
…
reputation.json
…
research.json
…
save.json
…
scan.json
…
settlements.json Add faction worldgen layer: territories, capitals, bridges, and arid pla 2026-09-10 21:45:33 -06:00
sfx.json
…
ship.json
…
signalCompass.json
…
stations.json
…
systems.json Add far-sky lightning bolts to nebula systems 2026-09-10 23:11:21 -06:00
tether.json
…
theme.json
…