orbit/js
Brian Fertig 5f54cc327e Add trade economy engine, credits currency, and goods catalog
- New Economy.js price/stock engine: deterministic buy/sell prices based on
  producer/demand classes and hop distance (regional availability model)
- Goods catalog (114 goods, 9 categories) with spritesheet mapping and
  per-class producer/demand roles
- Credits state on Ship (add/spend/set/canAfford), save/restore support,
  and upper-right HUD stacked above the minerals readout
- Quest reward payout now supports credits alongside minerals
- cargoHold reduced to 4 units for initial play balance
- Economy generation pass in Galaxy.js computes classBySystem and
  producerHops via multi-source BFS over the jump network
- dev/economy.test.mjs validates determinism, fixed prices, trade loop
  profitability, distance scaling, shop floor composition, and icon mapping
- docs/ECONOMY.md: full design doc covering pricing model, gemstone system,
  and locked decisions
2026-09-11 18:36:30 -06:00
..
build Light up BUILT rows and name the world each build was installed on 2026-09-11 14:24:15 -06:00
comms
…
config
…
dev
…
economy Add trade economy engine, credits currency, and goods catalog 2026-09-11 18:36:30 -06:00
entities Add trade economy engine, credits currency, and goods catalog 2026-09-11 18:36:30 -06:00
galaxy Add trade economy engine, credits currency, and goods catalog 2026-09-11 18:36:30 -06:00
mining
…
quests
…
reputation
…
research
…
save Add trade economy engine, credits currency, and goods catalog 2026-09-11 18:36:30 -06:00
scan
…
scenes Add trade economy engine, credits currency, and goods catalog 2026-09-11 18:36:30 -06:00
tether
…
ui Add trade economy engine, credits currency, and goods catalog 2026-09-11 18:36:30 -06:00
utils Add front nebula layer with derived accent tint for two-tone gas 2026-09-10 22:48:40 -06:00
vendor
…
visuals Add thunder audio on lightning strike edges 2026-09-10 23:11:35 -06:00
main.js
…