ui: real SHIP SYSTEMS tab (upgrade/expand/build buttons) + left column mirrors live ship state

This commit is contained in:
2026-09-28 23:43:03 +00:00
parent fce27ff6ca
commit de0cb45b09
3 changed files with 191 additions and 58 deletions
+3
View File
@@ -23,6 +23,9 @@ export const BASE_CAPACITY = 2
export const MAX_LEVEL = 5 // UPGRADE cap
export const MAX_CAPACITY = 10 // EXPAND cap
// Display-only cap for the VESSEL METRICS crew roster bar (no gameplay effect yet).
export const CREW_CAPACITY = 6
// Cost model — all costs are in inventory items, consumed from the oldest cargo row of the
// required kind first (see spendItems in lib/game/ship.ts):
// UPGRADE {systemId} — `level` units of any resource (scales with current level)