orbit/data
Brian Fertig 828a5b8c38 Implement economy model v2: one world, one good with daily batch stock
- Replace producer/demand class pricing with strict 1:1 origin assignment;
  each settled system sells exactly its signature good at a discounted origin
  price, and the catalog remainder becomes a hub pool resold by stations/capitals
- Make banded hop distance the dominant sell-price factor (x1.0 to x7.0),
  with planet-type demand as a secondary +10% modifier, and cap every shop's
  sell price at its own buy price to eliminate the v1 infinite-credit loop
- Add Stock.js for the time-gated daily batch (6 units per origin per wall-clock
  day) — the economy's only stateful piece; wire it through GameScene,
  SaveData capture/restore/reset, and the shop UI stepper clamp + SOLD OUT strip
- Update Economy.js with assignOrigins pass, new buyPrice/sellPrice/shopFor
  logic, tradePreview stock-cap backstop (buyback exempt), and distanceFactor
- Rework shop UI: BuyList shows "N left"/"SOLD OUT" per batch-limited row and
  clamps the stepper; ScoutPanel shows MADE IN (origin system) instead of GROWN ON;
  ShopView wires stockRemaining/stockCapsFor/spendStock into preview and confirm
- Update all dev tests (economy, cargo, shop-ui, saves) to assert model v2
  invariants including the anti-loop sweep, batch clamp/backstop, and save round-trip
2026-09-14 18:22:21 -06:00
..
research Gate mining Tier-3 research on Special Delivery quest claim 2026-09-14 15:12:07 -06:00
actionbar.json Add READY-RESEARCH attention cue on deck slot and console tabs 2026-09-13 19:48:53 -06:00
asteroids.json
…
builds.json Add Tier-3 mining research nodes and premium ship upgrades 2026-09-13 23:20:00 -06:00
comms.json Add OAC "new research" audio beat on research sign-off end 2026-09-13 20:52:28 -06:00
creditshud.json
…
economy.json Implement economy model v2: one world, one good with daily batch stock 2026-09-14 18:22:21 -06:00
factions.json
…
galaxy.json
…
game.json
…
gates.json Remove waypoint kind; allow up to two deep-space stations per system 2026-09-14 10:25:19 -06:00
goods.json Implement economy model v2: one world, one good with daily batch stock 2026-09-14 18:22:21 -06:00
landing.json Remove waypoint kind; allow up to two deep-space stations per system 2026-09-14 10:25:19 -06:00
manifest.json
…
map.json
…
menu.json
…
mineralhud.json
…
music.json
…
naming.json Remove waypoint kind; allow up to two deep-space stations per system 2026-09-14 10:25:19 -06:00
planets.json
…
quests.json Add tutorial "pointing finger" highlight for starter quest 2026-09-13 18:48:06 -06:00
reputation.json
…
research.json Gate mining Tier-3 research on Special Delivery quest claim 2026-09-14 15:12:07 -06:00
save.json
…
scan.json
…
settlements.json Remove waypoint kind; allow up to two deep-space stations per system 2026-09-14 10:25:19 -06:00
sfx.json
…
ship.json
…
shopui.json
…
signalCompass.json
…
stations.json Remove waypoint kind; allow up to two deep-space stations per system 2026-09-14 10:25:19 -06:00
systems.json Remove waypoint kind; allow up to two deep-space stations per system 2026-09-14 10:25:19 -06:00
tether.json
…
theme.json
…
vignettes.json
…