orbit/js
Brian Fertig d3ebb8e2a0 Add pirate-kill reputation milestone with per-system tally persistence
- Every N pirates killed in a system (default 10) grants +1 standing to all settlements in that system, configured via data/reputation.json bonuses.pirateKills
- Track per-system kill tallies as registry-backed run state, persisted through SaveData.js capture/prepare/reset with normalization and legacy-save fallback
- Wire the payout into GameScene.recordPirateKill, called from CombatSystem's onKill seam, clamping at max standing and showing a toast when at least one place moves
- Add reputation tests covering the milestone data shape, standing writes, save round-trip, garbage-entry rejection, legacy-load, and New Game reset
2026-09-26 09:50:50 -06:00
..
build
…
combat
…
comms
…
config
…
dev
…
economy
…
entities
…
galaxy
…
mining
…
quests
…
reputation Add reputation bonuses for side-quest claims and goods sold 2026-09-23 22:39:27 -06:00
research
…
save Add pirate-kill reputation milestone with per-system tally persistence 2026-09-26 09:50:50 -06:00
scan
…
scenes Add pirate-kill reputation milestone with per-system tally persistence 2026-09-26 09:50:50 -06:00
ship
…
tether
…
ui Add reputation bonuses for side-quest claims and goods sold 2026-09-23 22:39:27 -06:00
utils
…
vendor
…
vignettes
…
visuals
…
main.js
…