orbit/dev
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
..
asteroids.test.mjs
…
build-check.html
…
build-check.mjs
…
build-shot.html Light up BUILT rows and name the world each build was installed on 2026-09-11 14:24:15 -06:00
build-shot.mjs Light up BUILT rows and name the world each build was installed on 2026-09-11 14:24:15 -06:00
builds.test.mjs Light up BUILT rows and name the world each build was installed on 2026-09-11 14:24:15 -06:00
cdp-eval.mjs
…
cdp-firefox.mjs
…
cdp-probe.mjs Add Trestle's first-foreign-planet intro comm pair and ACK pulse cue 2026-09-09 12:12:34 -06:00
cdp-shot.mjs Rename firstForeignPlanet trigger to firstWorld and make busy() type-awa 2026-09-09 13:00:25 -06:00
cdpshot.mjs
…
clickout-test.html
…
clickout-test.mjs
…
comms-click.html
…
comms-click.mjs
…
comms-hold.html Added Comms Feature 2026-09-09 10:10:38 -06:00
comms-hold.mjs Added Comms Feature 2026-09-09 10:10:38 -06:00
comms-intro.html Added Comms Feature 2026-09-09 10:10:38 -06:00
comms-intro.mjs Add Trestle's first-foreign-planet intro comm pair and ACK pulse cue 2026-09-09 12:12:34 -06:00
comms-mine.html Rename firstForeignPlanet trigger to firstWorld and make busy() type-awa 2026-09-09 13:00:25 -06:00
comms-mine.mjs Rename firstForeignPlanet trigger to firstWorld and make busy() type-awa 2026-09-09 13:00:25 -06:00
comms-shot.html
…
comms-shot.mjs
…
comms-trestle-hold.html Add Trestle's first-foreign-planet intro comm pair and ACK pulse cue 2026-09-09 12:12:34 -06:00
comms-trestle-hold.mjs Rename firstForeignPlanet trigger to firstWorld and make busy() type-awa 2026-09-09 13:00:25 -06:00
comms-trestle.html Add Trestle's first-foreign-planet intro comm pair and ACK pulse cue 2026-09-09 12:12:34 -06:00
comms-trestle.mjs Rename firstForeignPlanet trigger to firstWorld and make busy() type-awa 2026-09-09 13:00:25 -06:00
comms-types.html Added Comms Feature 2026-09-09 10:10:38 -06:00
comms-types.mjs Added Comms Feature 2026-09-09 10:10:38 -06:00
comms-upgrade-hold.html Add full OAC tutorial comms chain and ice-surface video assets 2026-09-09 11:28:22 -06:00
comms-upgrade-hold.mjs Add full OAC tutorial comms chain and ice-surface video assets 2026-09-09 11:28:22 -06:00
comms.test.mjs Add "Leaving the Nest" quest chain and READY tracker state 2026-09-10 20:29:47 -06:00
compass-far.html
…
compass-far.mjs
…
contact.test.mjs
…
container-probe.html
…
container-probe.mjs
…
decode.test.mjs
…
dialog-shot.html
…
dialog-shot.mjs
…
discovery.test.mjs Rebuild in-system layout around tether discovery + the edge margin 2026-09-10 18:53:30 -06:00
economy.test.mjs Add trade economy engine, credits currency, and goods catalog 2026-09-11 18:36:30 -06:00
exit-gate-shot.html
…
exit-gate-shot.mjs
…
faction-balance.diag.mjs Add faction territory floor and ring all stars by ownership 2026-09-11 13:34:35 -06:00
faction-sweep.diag.mjs Add faction territory floor and ring all stars by ownership 2026-09-11 13:34:35 -06:00
factions.test.mjs Add faction territory floor and ring all stars by ownership 2026-09-11 13:34:35 -06:00
frames.test.mjs Add faction worldgen layer: territories, capitals, bridges, and arid pla 2026-09-10 21:45:33 -06:00
galaxy-labels.test.mjs
…
galaxy-legend-shot.html Add Galaxy tab legend key and faction tooltips 2026-09-11 10:10:04 -06:00
galaxy-legend-shot.mjs Add Galaxy tab legend key and faction tooltips 2026-09-11 10:10:04 -06:00
galaxy-map.test.mjs Add faction worldgen layer: territories, capitals, bridges, and arid pla 2026-09-10 21:45:33 -06:00
galaxy.test.mjs Add faction worldgen layer: territories, capitals, bridges, and arid pla 2026-09-10 21:45:33 -06:00
gate-comms.html
…
gate-comms.mjs
…
hold-restore.html
…
hold-restore.mjs
…
jump-travel.test.mjs
…
jumpgate.test.mjs
…
jumps.test.mjs Add faction worldgen layer: territories, capitals, bridges, and arid pla 2026-09-10 21:45:33 -06:00
landing-click.html
…
landing-click.mjs
…
map-click.html
…
map-click.mjs
…
map-shot.html
…
map-shot.mjs
…
menu-intro-test.html
…
menu-intro-test.mjs
…
mineral-hud.test.mjs
…
mining-test.html
…
mining-test.mjs
…
mining.test.mjs
…
music.test.mjs Add system effect SFX, per-context music volumes, and storm teardown 2026-09-09 15:40:26 -06:00
nebula.test.mjs Add thunder audio on lightning strike edges 2026-09-10 23:11:35 -06:00
phaser-loader.mjs
…
phaser-stub.mjs Add front nebula layer with derived accent tint for two-tone gas 2026-09-10 22:48:40 -06:00
planet.test.mjs
…
popup-shot.html
…
popup-shot.mjs
…
probe-imports.html
…
quest-ready.html Add "Leaving the Nest" quest chain and READY tracker state 2026-09-10 20:29:47 -06:00
quest-ready.mjs Add "Leaving the Nest" quest chain and READY tracker state 2026-09-10 20:29:47 -06:00
quest-tracker.test.mjs Add "Leaving the Nest" quest chain and READY tracker state 2026-09-10 20:29:47 -06:00
quests.test.mjs Add "Leaving the Nest" quest chain and READY tracker state 2026-09-10 20:29:47 -06:00
queue-celebrate.html Add research completion celebration and progress pips to console 2026-09-08 22:37:28 -06:00
queue-celebrate.mjs Add research completion celebration and progress pips to console 2026-09-08 22:37:28 -06:00
reputation.test.mjs
…
research-builds.test.mjs Shorten research labels and fix console layout clipping 2026-09-09 08:28:32 -06:00
research-complete-shot.html Add research completion celebration and progress pips to console 2026-09-08 22:37:28 -06:00
research-complete-shot.mjs Add research completion celebration and progress pips to console 2026-09-08 22:37:28 -06:00
research-shot.html
…
research-shot.mjs
…
route-shot.html
…
route-shot.mjs
…
route.test.mjs
…
save-shot.html Fix save panel layout, text overflow, and animation timing bugs 2026-09-09 14:43:28 -06:00
save-shot.mjs Fix save panel layout, text overflow, and animation timing bugs 2026-09-09 14:43:28 -06:00
saves-ui-test.html Fix save panel layout, text overflow, and animation timing bugs 2026-09-09 14:43:28 -06:00
saves-ui-test.mjs Fix save panel layout, text overflow, and animation timing bugs 2026-09-09 14:43:28 -06:00
saves.test.mjs Added Comms Feature 2026-09-09 10:10:38 -06:00
scan-test.html
…
scan-test.mjs
…
scan.test.mjs
…
scene-restart-probe.html
…
scene-restart-probe.mjs
…
server.mjs
…
sfx.test.mjs Add system effect SFX, per-context music volumes, and storm teardown 2026-09-09 15:40:26 -06:00
ship-behavior.test.mjs
…
shot-firefox.mjs
…
signal-compass-flow.html
…
signal-compass-flow.mjs
…
signal-compass.test.mjs
…
smoke-game.mjs Add far-sky lightning bolts to nebula systems 2026-09-10 23:11:21 -06:00
star-art.test.mjs
…
starfield.test.mjs
…
station-frames.test.mjs
…
station-shot.html
…
station-shot.mjs
…
storm.test.mjs Add system effect SFX, per-context music volumes, and storm teardown 2026-09-09 15:40:26 -06:00
surface-flow.mjs
…
surface-hud-shot.html
…
surface-hud-shot.mjs
…
surface-hud.html
…
surface-hud.mjs
…
surface-shot.html
…
surface-shot.mjs
…
surface-skip.html
…
surface-skip.mjs
…
surface-test.html
…
system-category.test.mjs Shorten research labels and fix console layout clipping 2026-09-09 08:28:32 -06:00
system-chart.test.mjs
…
system-effects.test.mjs Add far-sky lightning bolts to nebula systems 2026-09-10 23:11:21 -06:00
system-hud.test.mjs Add "Leaving the Nest" quest chain and READY tracker state 2026-09-10 20:29:47 -06:00
system-layout.test.mjs Rebuild in-system layout around tether discovery + the edge margin 2026-09-10 18:53:30 -06:00
test-game.html
…
tether-flow.html
…
tether-flow.mjs
…
tether-newworld.html
…
tether-newworld.mjs
…
tether-rules.audit.mjs Rebuild in-system layout around tether discovery + the edge margin 2026-09-10 18:53:30 -06:00
tether.test.mjs
…
type-preview.test.mjs Add world preview (?type=) for judging landable worlds/stations 2026-09-09 16:46:24 -06:00
video-reopen.html
…
video-reopen.mjs
…
video-replay.html
…
video-replay.mjs
…
wdshot.mjs
…
world-names.test.mjs
…
zorder-test.html
…
zorder-test.mjs
…