orbit/data
Brian Fertig 0c30985588 Add reputation data layer with stable place identity
- Introduce Reputation module (js/reputation/Reputation.js) tracking player standing on planets and space stations on a −20…+20 scale, with the home world pinned at +20
- Add data/reputation.json config for scale bounds, neutral default, and home-world standing
- Assign stable seed-deterministic ids to planets (<systemId>-p<ordinal>) and settlements (<systemId>-s<n>) in SystemGenerator so saved standing lines up with regenerated galaxies
- Wire reputation into the save system (captureState/prepareLoad/resetRunState) with backward-compatible loading of pre-reputation saves as all-neutral
- Add faction-check placeholder: standingFor() resolves home → stored → owner/faction → neutral, with factionStanding() stubbed for the upcoming factions layer
- Register a single Reputation instance in GameScene via the shared registry (same pattern as Discovery)
- Add dev/reputation.test.mjs covering scale clamping, home pinning, serialization round-trips, legacy/corrupt record handling, save integration, and place-id stability
2026-09-04 18:37:44 -06:00
..
actionbar.json Simplify action bar slots to label-only buttons 2026-09-04 09:12:03 -06:00
asteroids.json Fix mining popup width and layout to fit real font metrics 2026-09-04 17:16:56 -06:00
builds.json
galaxy.json
game.json Add asteroid mining: energy arm, beam FX, and context menu 2026-09-04 17:09:16 -06:00
manifest.json Add reputation data layer with stable place identity 2026-09-04 18:37:44 -06:00
menu.json Add save/load system with 10-slot localStorage bank and UI 2026-09-04 13:09:08 -06:00
naming.json Add asteroid clusters as discoverable, solid objects in each star system 2026-09-04 08:34:55 -06:00
planets.json Rework solar system layout to orbit rings with minSpacing/maxNeighbor ru 2026-09-03 23:01:47 -06:00
reputation.json Add reputation data layer with stable place identity 2026-09-04 18:37:44 -06:00
research.json
save.json Add save/load system with 10-slot localStorage bank and UI 2026-09-04 13:09:08 -06:00
settlements.json
sfx.json Add asteroid mining: energy arm, beam FX, and context menu 2026-09-04 17:09:16 -06:00
ship.json Replace procedural ship sprite with spritesheet art and facing offset 2026-09-03 21:40:33 -06:00
systems.json
tether.json Add the tether: the player's range, a level-1 zone (5120 px) with a glitchy barrier rim 2026-09-03 22:03:29 -06:00
theme.json