story: 正式完善隔魔农业与男主前世性格知识来源

This commit is contained in:
2026-09-28 23:34:13 +08:00
parent 40423a5c5c
commit ff3edc4c3a
29 changed files with 298 additions and 107 deletions
+27 -4
View File
@@ -39,17 +39,19 @@ foreach ($line in ((Read-ProjectText '03_故事大纲/主线总年表.md') -spli
}
}
}
if ($timelineRows -ne 22) { $failures.Add("Expected 22 timeline rows, got $timelineRows") }
if ($timelineRows -ne 23) { $failures.Add("Expected 23 timeline rows, got $timelineRows") }
# V03 chronology must keep early achievement, recruitment, conflict and exile in order.
$v3Timeline = Read-ProjectText '03_故事大纲/主线总年表.md'
$v3Checks = @(
@{ Year = 868; Terms = @('幕纹石', '修具师', '尚未做隔魔农田') },
@{ Year = 869; Terms = @('多年', '尚无正式冲突') },
@{ Year = 870; Terms = @('13岁艾达', '受监督寻伴', '推迟接纳') },
@{ Year = 871; Terms = @('第二农事季', '深秋仓塌') },
@{ Year = 872; Terms = @('黑腹热', '方法收编') },
@{ Year = 873; Terms = @('神判', '担保撤销') },
@{ Year = 874; Terms = @('洛恩', '庇护挡击', '自愿越境') },
@{ Year = 875; Terms = @('12000平方米', '800千克', '购粮和魔兽肉') },
@{ Year = 880; Terms = @('第二次', '推迟接纳') }
)
foreach ($check in $v3Checks) {
@@ -68,12 +70,13 @@ foreach ($term in @('贤者之席', '没有隐藏回路', '庇护不是常亮光
}
Write-Output "V03 chronology: $($v3Checks.Count) anchors; early arc and blessing rules checked"
# Keep confirmed relationship/resource facts separate from the proposed invention.
# Verify the formal material setting, chronology and protagonist's knowledge limits.
$continuityChecks = @(
@{ Path = '03_故事大纲/魔族落脚与魔王结缘_V03补充.md'; Terms = @('托克', '约六周', '874年晚秋', '875年秋', '唯一的救赎之光') },
@{ Path = '02_世界设定/女神庇护与寻伴仪.md'; Terms = @('魔族高阶种族', '魔王维奥拉', '不必托克替她鉴定') },
@{ Path = '02_世界设定/魔族食物与粮食来源.md'; Terms = @('购买的粮食', '魔兽肉', '雄厚矿脉', '人类大陆稀有', '仍要购买粮食') },
@{ Path = '02_世界设定/防御矿石与隔魔农田_讨论方案.md'; Terms = @('尚未写入正式年表', '适魔,不是彻底无魔', '本地专家', '不是吸能电池', '不能抵挡集中的战斗魔流') }
@{ Path = '02_世界设定/幕纹石与隔魔农业.md'; Terms = @('正式设定 V1.0', '868年', '适魔,不是彻底无魔', '本地专家', '不是吸能电池', '不能抵挡集中的战斗魔流', '黛拉', '瑟恩', '诺尔') },
@{ Path = '01_角色卡/男主.md'; Terms = @('社畜', '不愿往管理岗升', '训练人工智能', '不愿靠压迫别人', '广而不精', '无回路') }
)
foreach ($check in $continuityChecks) {
$document = Read-ProjectText $check.Path
@@ -81,7 +84,27 @@ foreach ($check in $continuityChecks) {
if (-not $document.Contains($term)) { $failures.Add("Continuity fact missing in $($check.Path): $term") }
}
}
Write-Output "Landing, food sources and proposal status: $($continuityChecks.Count) documents checked"
Write-Output "Landing, food, formal agriculture and protagonist: $($continuityChecks.Count) documents checked"
$agriculture = Read-ProjectText '02_世界设定/幕纹石与隔魔农业.md'
$foodLedger = [regex]::Match($agriculture, '首季总干粮(\d+)千克,其中清选及保管损耗(\d+)千克,可用(\d+)千克;留种(\d+)千克,实际可分配食用(\d+)千克')
if (-not $foodLedger.Success) {
$failures.Add('Formal first-harvest ledger missing')
} else {
$gross = [int]$foodLedger.Groups[1].Value
$loss = [int]$foodLedger.Groups[2].Value
$usable = [int]$foodLedger.Groups[3].Value
$seed = [int]$foodLedger.Groups[4].Value
$food = [int]$foodLedger.Groups[5].Value
if (($gross - $loss) -ne $usable -or ($usable - $seed) -ne $food) {
$failures.Add('First-harvest quantities do not balance')
}
}
$fieldArea = [regex]::Match($agriculture, '四块各(\d+)平方米的试田,合计(\d+)平方米')
if (-not $fieldArea.Success -or 4 * [int]$fieldArea.Groups[1].Value -ne [int]$fieldArea.Groups[2].Value) {
$failures.Add('Four-field area does not balance')
}
Write-Output 'First-harvest and four-field arithmetic checked (fictional setting, not real yield validation)'
$scriptText = Read-ProjectText '06_AI动漫制作/01_改编开发/03_动画剧本/S01E01_停不下来的夜_V01.txt'
$sceneIds = @([regex]::Matches($scriptText, '(?m)^(01-\d{2})\s') | ForEach-Object { $_.Groups[1].Value })