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
…
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
…
MapWindow.js
…
MenuButton.js
…
MenuSubBar.js
…
MineralHud.js
…
MiningPopup.js
…
PerimeterShimmer.js
…
QuestTrackerHud.js
…
QuestWindow.js
…
ResearchWindow.js
…
SavePanel.js
…
ShimmerCue.js
…
ShipWindow.js
…
SignalCompass.js
…
SlotCard.js
…
Toast.js
…
VignetteWindow.js
…