orbit/js/ui
Brian Fertig 658babe216 Add XP rewards for sidequest patrols and cargo sale profit
- Sidequest patrol contracts now pay an XP reward alongside credits, fixed at accept as the experience worth of defeated contacts (contacts × wave total × roster xp) and granted via XpManager with a 'sidequest' source tag on claim
- Cargo sales earn 1 XP per credit above each bay's recorded purchase cost; bays with no cost basis or sold at/below cost earn nothing, granted via the same pipe with a 'trade' source tag
- New CargoHold.costsFor() returns FIFO per-bay costs for the profit basis without mutating the hold
- Job board payout/claim lines and console toasts display both credits and XP when present; old saves without an xp field derive it from the encounters spec or fall back to 0
2026-09-19 20:44:48 -06:00
..
shop Add XP rewards for sidequest patrols and cargo sale profit 2026-09-19 20:44:48 -06:00
ActionBar.js
…
BuildWindow.js
…
CombatBar.js
…
CommsBox.js
…
CommsPanel.js
…
ConfirmOverlay.js
…
CreditsHud.js
…
CyberShape.js
…
DiscoveryCompass.js Color route marks by destination kind 2026-09-19 12:38:56 -06:00
ExploreBar.js
…
GalaxyView.js
…
GlitchText.js
…
JobBoardWindow.js Add XP rewards for sidequest patrols and cargo sale profit 2026-09-19 20:44:48 -06:00
LevelUpMarquee.js Fix LevelUpMarquee digit lock on non-zero scene clocks 2026-09-19 19:16:45 -06:00
MapWindow.js
…
MenuButton.js
…
MenuSubBar.js
…
MineralHud.js Fix MineralHud capacity restore snapping the fill back to stale fraction 2026-09-19 09:53:46 -06:00
MiningPopup.js
…
PerimeterShimmer.js
…
QuestTrackerHud.js Raise claim-reward plate depth above HUD overlays 2026-09-19 10:25:58 -06:00
QuestWindow.js
…
ResearchWindow.js
…
SavePanel.js
…
ShimmerCue.js
…
ShipWindow.js Record per-bay cargo purchase costs and use them as the profit baseline 2026-09-19 13:40:27 -06:00
SignalCompass.js
…
SlotCard.js
…
Toast.js
…
VignetteWindow.js
…