v0.1.34: 万象归元——功法流派/世界自演化/插件MOD 进化 + 测试 6000
【版本】0.1.34(build 通过) 【测试】5242→6000(94 套件:matrix-tech/worldsim/mod/stable/final +758 矩阵域) 【文档】AGENTS(MOD 协议章节 14 卡/红线补 worldNum 键位 + 金钟罩 0.1.34 基线注释)/README(沿革+矩阵域)/MEMORY(8c2 世界状态红牌纪律 + B0 军规)/MOD_GUIDE(4 效果字段+patch 层注解)
This commit is contained in:
@@ -916,6 +916,12 @@ export class World {
|
||||
return Math.round(top * bonus)
|
||||
}
|
||||
|
||||
/** 0.1.34 世界观察公开口(测试/外部检查——同 ctx 语义,返回退订) */
|
||||
onWorldSimTick(fn: (year: number, month: number, state: unknown) => void): () => void {
|
||||
this.simTickObservers.push(fn)
|
||||
return () => { this.simTickObservers = this.simTickObservers.filter((f) => f !== fn) }
|
||||
}
|
||||
|
||||
/** 0.1.34 MOD 数值 patch(mult 0.5~2 / add 实数——作用于数据包表项;卸载复原) */
|
||||
applyModPatch(entries: Array<{ target: 'technique' | 'item' | 'building'; id: string; mult?: number; add?: number }>): void {
|
||||
const undo: Array<() => void> = []
|
||||
|
||||
Reference in New Issue
Block a user