138 lines
6.3 KiB
JavaScript
138 lines
6.3 KiB
JavaScript
// Dummy data for the spaceship terminal. All static/fictional — no real
|
|
// telemetry source yet. A future runtime agent could replace these with a
|
|
// fetch() to a fleet API; the components only read from here.
|
|
|
|
export const navItems = [
|
|
{ id: 'dashboard', label: 'BRIDGE', glyph: '◈' },
|
|
{ id: 'power', label: 'REACTOR', glyph: '⬡' },
|
|
{ id: 'nav', label: 'NAVIGATION', glyph: '✧' },
|
|
{ id: 'life', label: 'LIFE SUPPORT', glyph: '❂' },
|
|
{ id: 'comms', label: 'COMMS', glyph: '☰' },
|
|
]
|
|
|
|
export const ship = {
|
|
name: 'ISV AURELIAN',
|
|
registry: 'FN-774-Δ',
|
|
class: 'Lancer-class Deep Survey Cruiser',
|
|
captain: 'Cmdr. V. Okonkwo',
|
|
}
|
|
|
|
// --- BRIDGE / dashboard ------------------------------------------------------
|
|
export const systemStatus = [
|
|
{ name: 'Reactor Core', state: 'NOMINAL', tone: 'ok' },
|
|
{ name: 'Shield Matrix', state: 'NOMINAL', tone: 'ok' },
|
|
{ name: 'FTL Drive', state: 'CHARGING', tone: 'warn' },
|
|
{ name: 'Life Support', state: 'NOMINAL', tone: 'ok' },
|
|
{ name: 'Hull Integrity', state: '98.4%', tone: 'ok' },
|
|
{ name: 'Weapons', state: 'STANDBY', tone: 'term' },
|
|
{ name: 'Sensor Array', state: 'NOMINAL', tone: 'ok' },
|
|
{ name: 'Comms Relay', state: 'DEGRADED', tone: 'alert' },
|
|
]
|
|
|
|
export const subsystemLoad = [
|
|
{ label: 'Propulsion', pct: 72, tone: 'bg-term' },
|
|
{ label: 'Shields', pct: 64, tone: 'bg-term' },
|
|
{ label: 'Life Support', pct: 38, tone: 'bg-ok' },
|
|
{ label: 'Sensors', pct: 51, tone: 'bg-term' },
|
|
{ label: 'FTL Charge', pct: 61, tone: 'bg-warn' },
|
|
{ label: 'Weapons', pct: 9, tone: 'bg-haze' },
|
|
]
|
|
|
|
export const logEntries = [
|
|
{ t: '07:42:11', tone: 'warn', msg: 'Jump capacitor at 61% — full charge ETA 00:18:24' },
|
|
{ t: '07:39:02', tone: 'alert', msg: 'Comms relay 2 packet loss 14% — rerouting via relay 1' },
|
|
{ t: '07:31:55', tone: 'term', msg: 'Sensor sweep complete — 3 contacts logged in grid 7-K' },
|
|
{ t: '07:28:40', tone: 'ok', msg: 'Hull micro-fracture sealed on deck 4, section C' },
|
|
{ t: '07:14:09', tone: 'ok', msg: 'Reactor output stabilised at 84.2% rated' },
|
|
{ t: '06:58:21', tone: 'term', msg: 'Course correction +0.4° applied to heading 287' },
|
|
]
|
|
|
|
// --- REACTOR / power ---------------------------------------------------------
|
|
export const reactor = {
|
|
output: 84.2, // % rated
|
|
coreTemp: 4120, // K
|
|
containment: 99.1, // % field strength
|
|
rpm: 11840, // turbine
|
|
}
|
|
|
|
export const powerDistribution = [
|
|
{ label: 'Propulsion Bus', pct: 72, tone: 'bg-term' },
|
|
{ label: 'Shield Emitters', pct: 64, tone: 'bg-term' },
|
|
{ label: 'FTL Capacitor', pct: 61, tone: 'bg-warn' },
|
|
{ label: 'Sensors / EW', pct: 51, tone: 'bg-term' },
|
|
{ label: 'Life Support', pct: 38, tone: 'bg-ok' },
|
|
{ label: 'Habitation', pct: 27, tone: 'bg-ok' },
|
|
{ label: 'Weapons Standby', pct: 9, tone: 'bg-haze' },
|
|
]
|
|
|
|
export const fuelCells = [
|
|
{ id: 'CELL-A', charge: 96, tone: 'bg-ok' },
|
|
{ id: 'CELL-B', charge: 91, tone: 'bg-ok' },
|
|
{ id: 'CELL-C', charge: 78, tone: 'bg-term' },
|
|
{ id: 'CELL-D', charge: 44, tone: 'bg-warn' },
|
|
]
|
|
|
|
// --- NAVIGATION --------------------------------------------------------------
|
|
export const navState = {
|
|
heading: 287.4, // degrees
|
|
velocity: 0.21, // c
|
|
system: 'Cygnus Reach',
|
|
sector: 'Grid 7-K',
|
|
destination: 'Tarsis Station',
|
|
eta: '04:12:38',
|
|
ftlCharge: 61,
|
|
coords: { x: '+1184.22', y: '-0473.90', z: '+0061.07' },
|
|
}
|
|
|
|
export const waypoints = [
|
|
{ name: 'Tarsis Station', dist: '2.4 AU', status: 'LOCKED', tone: 'ok' },
|
|
{ name: 'Helex Belt', dist: '0.8 AU', status: 'PASSING', tone: 'warn' },
|
|
{ name: 'Relay Buoy 19', dist: '11.6 AU', status: 'QUEUED', tone: 'term' },
|
|
{ name: 'Cygnus Gate', dist: '34.0 AU', status: 'QUEUED', tone: 'term' },
|
|
]
|
|
|
|
// blips positioned in % within the radar circle (50/50 = center = own ship)
|
|
export const contacts = [
|
|
{ x: 64, y: 38, tone: 'bg-term', label: 'Freighter "Coriol"' },
|
|
{ x: 41, y: 27, tone: 'bg-warn', label: 'Unknown — passive' },
|
|
{ x: 72, y: 66, tone: 'bg-ok', label: 'Tarsis Station' },
|
|
{ x: 30, y: 58, tone: 'bg-flare', label: 'Debris field' },
|
|
]
|
|
|
|
// --- LIFE SUPPORT ------------------------------------------------------------
|
|
export const atmosphere = [
|
|
{ label: 'Oxygen', value: 20.9, unit: '%', pct: 87, tone: 'bg-ok' },
|
|
{ label: 'CO₂', value: 0.04, unit: '%', pct: 12, tone: 'bg-ok' },
|
|
{ label: 'Cabin Press.', value: 101.1, unit: 'kPa', pct: 92, tone: 'bg-ok' },
|
|
{ label: 'Temperature', value: 21.4, unit: '°C', pct: 71, tone: 'bg-term' },
|
|
{ label: 'Humidity', value: 44, unit: '%', pct: 44, tone: 'bg-term' },
|
|
{ label: 'Water Reserve', value: 68, unit: '%', pct: 68, tone: 'bg-term' },
|
|
]
|
|
|
|
export const decks = [
|
|
{ deck: 'Deck 1 — Bridge', o2: 'OK', temp: '21.0°C', tone: 'ok' },
|
|
{ deck: 'Deck 2 — Habitation', o2: 'OK', temp: '22.3°C', tone: 'ok' },
|
|
{ deck: 'Deck 3 — Med / Sci', o2: 'OK', temp: '20.6°C', tone: 'ok' },
|
|
{ deck: 'Deck 4 — Engineering', o2: 'LOW', temp: '26.8°C', tone: 'warn' },
|
|
{ deck: 'Deck 5 — Cargo', o2: 'SEALED', temp: '8.1°C', tone: 'term' },
|
|
]
|
|
|
|
export const crew = { total: 84, onDuty: 31, medical: 2, cryo: 12 }
|
|
|
|
// --- COMMS -------------------------------------------------------------------
|
|
export const channels = [
|
|
{ name: 'Fleet Command', band: 'Q-band', status: 'ENCRYPTED', tone: 'ok' },
|
|
{ name: 'Tarsis Control', band: 'S-band', status: 'OPEN', tone: 'term' },
|
|
{ name: 'Relay Buoy 19', band: 'X-band', status: 'WEAK', tone: 'warn' },
|
|
{ name: 'Distress Guard', band: '121.5', status: 'MONITOR', tone: 'term' },
|
|
{ name: 'Internal Net', band: 'Hardline', status: 'NOMINAL', tone: 'ok' },
|
|
]
|
|
|
|
export const messages = [
|
|
{ t: '07:41', from: 'FLEET CMD', tone: 'ok', text: 'Patrol pattern delta authorised. Maintain EMCON.' },
|
|
{ t: '07:33', from: 'TARSIS CTL', tone: 'term', text: 'Docking bay 4 reserved. Transmit manifest on approach.' },
|
|
{ t: '07:19', from: 'RELAY-19', tone: 'warn', text: 'Signal degradation detected. Recommend X-band switch.' },
|
|
{ t: '06:52', from: 'CORIOL', tone: 'term', text: 'Thanks for the escort, Aurelian. Safe travels.' },
|
|
{ t: '06:40', from: 'FLEET CMD', tone: 'flare', text: 'Priority weather: ion storm forming in grid 9-B.' },
|
|
]
|