/** * Offline seed catalogs (packaged with client). * Designer SoT also kept as assets/data/*.json — keep values aligned. * Inlined here so Cocos / tsc need no JSON module loader. */ import type { CityCatalog, EconomyCatalog } from '../sim/SimWorld' export const CITY: CityCatalog = { id: 'chiangmai-proto-v1', name: '旅居城市原型', boundRadius: 28, spawn: { x: -8, y: 0, z: -3.5 }, structures: [ { id: 'apartment', kind: 'apartment', x: -8, z: -7, w: 7, d: 6, h: 3.2, color: '#f2a6c8', label: '城市公寓', price: 0, enterable: true, }, { id: 'cafe', kind: 'cafe', x: 7, z: -5, w: 6, d: 5, h: 2.8, color: '#6ec6b0', label: '咖啡馆', price: 0, enterable: true, }, { id: 'cowork', kind: 'cowork', x: 5, z: 9, w: 8, d: 6, h: 4.5, color: '#7eb6ff', label: '联合办公', price: 0, enterable: true, }, { id: 'market', kind: 'market', x: -7, z: 8, w: 6, d: 5, h: 2.6, color: '#f5c542', label: '超市', price: 0, enterable: true, }, { id: 'studio', kind: 'studio', x: 0, z: 14, w: 5, d: 5, h: 3, color: '#c9a0ff', label: '直播工作室', price: 0, enterable: true, }, { id: 'street_main', kind: 'street', x: 0, z: 1, w: 4, d: 22, h: 0.08, color: '#5a5f6b', label: '主街', price: 0, }, ], interactables: [ { id: 'bed_home', kind: 'bed', structureId: 'apartment', x: -9.2, y: 0, z: -8.2, radius: 1.6, label: '睡觉', action: 'sleep', }, { id: 'pc_home', kind: 'pc', structureId: 'apartment', x: -6.5, y: 0, z: -6.2, radius: 1.5, label: '用电脑远程工作', action: 'work_remote', }, { id: 'fridge_home', kind: 'fridge', structureId: 'apartment', x: -9.5, y: 0, z: -5.5, radius: 1.3, label: '吃点东西', action: 'eat', }, { id: 'counter_cafe', kind: 'counter', structureId: 'cafe', x: 7, y: 0, z: -5, radius: 2.2, label: '咖啡馆深工', action: 'work_cafe', }, { id: 'desk_cowork', kind: 'desk', structureId: 'cowork', x: 5, y: 0, z: 9, radius: 2.4, label: '联合办公交付', action: 'work_cowork', }, { id: 'shelf_market', kind: 'shelf', structureId: 'market', x: -7, y: 0, z: 8, radius: 2.2, label: '买日用品', action: 'shop', }, { id: 'cam_studio', kind: 'camera', structureId: 'studio', x: 0, y: 0, z: 14, radius: 2.2, label: '开播赚钱', action: 'stream', }, ], } export const ECONOMY: EconomyCatalog = { startCash: 1200, startEnergy: 80, maxEnergy: 100, actions: { sleep: { energyDelta: 55, cashDelta: 0, minutesDelta: 420, message: '睡了一觉,精力恢复。', }, eat: { energyDelta: 15, cashDelta: -25, minutesDelta: 20, message: '填饱肚子,花了 ¥25。', }, work_remote: { energyDelta: -22, cashDelta: 180, minutesDelta: 180, message: '远程交付完成,到账 ¥180。', }, work_cafe: { energyDelta: -18, cashDelta: 140, minutesDelta: 150, message: '咖啡馆深工结束,到账 ¥140。', }, work_cowork: { energyDelta: -25, cashDelta: 260, minutesDelta: 210, message: '联合办公交付客户,到账 ¥260。', }, shop: { energyDelta: -5, cashDelta: -80, minutesDelta: 40, message: '采购完成,支出 ¥80。', }, stream: { energyDelta: -30, cashDelta: 220, minutesDelta: 120, message: '直播结束,打赏 ¥220。', }, }, }