orbit/js
Brian Fertig 942de11dde Move the surface shop gate from the deck slot to the Buy/Sell tab
The Shop button on the deck is now always live — the shop sub-bar opens on every world. The "Special Delivery" capital-landing witness now gates only the shop's Buy/Sell tab (ShopView reads GameScene.isTradeUnlocked, which replaces isShopUnlocked), so trading stays dark until the player lands on the neutral capital while the rest of the shop UI is reachable everywhere.

- Rename GameScene.isShopUnlocked → isTradeUnlocked and update all references (SaveData, SurfaceScene, quests.json comments)
- Remove the deck-slot enable guard in SurfaceScene.toggleShop / setBarLocked; the slot now re-arms with the rest of the deck
- Add ShopView.isTradeUnlocked + gate checks in setTab / _onTabTap; gray the Buy/Sell tab via _refreshTabs until the gate lifts
- Update dev probes (scout-*, shop-*) to lift gs.story.capitalLanded so the trade panel is reachable
- Extend shop-ui.test.mjs with a TRADE GATE case covering closed/lifted states
2026-09-13 14:46:59 -06:00
..
build
…
comms
…
config
…
dev
…
economy Move the surface shop gate from the deck slot to the Buy/Sell tab 2026-09-13 14:46:59 -06:00
entities
…
galaxy
…
mining
…
quests
…
reputation
…
research
…
save Move the surface shop gate from the deck slot to the Buy/Sell tab 2026-09-13 14:46:59 -06:00
scan
…
scenes Move the surface shop gate from the deck slot to the Buy/Sell tab 2026-09-13 14:46:59 -06:00
tether
…
ui Move the surface shop gate from the deck slot to the Buy/Sell tab 2026-09-13 14:46:59 -06:00
utils
…
vendor
…
vignettes Move Special Delivery package handoff to the bar scene's DONE beat 2026-09-13 14:09:16 -06:00
visuals
…
main.js
…