0.1.41 天命·兑现:天命flag全量接线15+项即时兑现 + NPC演化种子派生零主rng消耗 + pushNews/purgeNpc确定性修复 + 族史卷叙事层chronicle-scroll.ts + 时效flag自动清理 + UI建筑专精加成预览 + LegacyPanel族史卷视图 + 金钟罩重算

This commit is contained in:
2026-09-13 16:38:24 +08:00
parent beeda036f6
commit 631099fd8c
22 changed files with 745 additions and 80 deletions
+5 -5
View File
@@ -261,18 +261,18 @@ describe('0.1.38 存档根治 · 存储链路回归(hybrid memory backend',
})
})
describe('0.1.40 存档根治 · 版本号一致性', () => {
it('slots.ts GAME_VERSION = 0.1.40', async () => {
describe('0.1.41 存档根治 · 版本号一致性', () => {
it('slots.ts GAME_VERSION = 0.1.41', async () => {
const { buildSimpleMeta } = await import('../src/renderer/game/storage/slots')
const w = World.create({ seed: 'ver-1', surname: '周', familyName: '周家', motto: 'm', difficulty: 'normal' })
const meta = buildSimpleMeta(w.state, 1, 5)
expect(meta.version).toBe('0.1.40')
expect(meta.version).toBe('0.1.41')
})
it('storeHelper metaFromState version = 0.1.40', async () => {
it('storeHelper metaFromState version = 0.1.41', async () => {
const { metaFromState } = await import('../src/renderer/ui/storeHelper')
const w = World.create({ seed: 'ver-2', surname: '吴', familyName: '吴家', motto: 'm', difficulty: 'normal' })
const meta = metaFromState(w.state, 1)
expect(meta.version).toBe('0.1.40')
expect(meta.version).toBe('0.1.41')
})
})