剧情+对话完善
This commit is contained in:
30
Assets/Story/Chapter0/C0_RollbackDemo_Checkpoint.yarn
Normal file
30
Assets/Story/Chapter0/C0_RollbackDemo_Checkpoint.yarn
Normal file
@@ -0,0 +1,30 @@
|
||||
// 回滚机制示例 2/5:第二段主线 TextBlock,也是 TimelineMarker 的锚点。
|
||||
// StoryData Block ID 建议:c0_demo_checkpoint,gridColumn = 1。
|
||||
// 第一次选择后,StoryChoiceMemory 会记住 Option Text ID;再次进入本 Block 时不会显示选项,
|
||||
// 而是自动返回玩家第一次选择的路径。回滚到本 Marker 后该记录会被恢复/清除。
|
||||
|
||||
title: C0_RollbackDemo_Checkpoint
|
||||
---
|
||||
<<if get_bool("c0_demo_intro_read")>>
|
||||
SLS: 信号已经稳定。你必须决定接下来的处理方式。
|
||||
<<else>>
|
||||
SLS: 缺少前置记录,但测试流程仍可继续。
|
||||
<<endif>>
|
||||
|
||||
-> 记录信号的变化
|
||||
<<set_int "c0_demo_route" 1>>
|
||||
<<jump C0_RollbackDemo_Record>>
|
||||
-> 优先保护观测装置
|
||||
<<set_int "c0_demo_route" 2>>
|
||||
<<jump C0_RollbackDemo_ProtectChoice>>
|
||||
===
|
||||
|
||||
title: C0_RollbackDemo_Record
|
||||
---
|
||||
SLS: 你选择了记录。
|
||||
===
|
||||
|
||||
title: C0_RollbackDemo_ProtectChoice
|
||||
---
|
||||
SLS: 你选择了保护。
|
||||
===
|
||||
10
Assets/Story/Chapter0/C0_RollbackDemo_Checkpoint.yarn.meta
Normal file
10
Assets/Story/Chapter0/C0_RollbackDemo_Checkpoint.yarn.meta
Normal file
@@ -0,0 +1,10 @@
|
||||
fileFormatVersion: 2
|
||||
guid: f7dd9f9b20ce43c38ee5a23ce1f94f4e
|
||||
ScriptedImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
script: {fileID: 11500000, guid: 94073015eacc34c1d8fc6786e43d60ca, type: 3}
|
||||
18
Assets/Story/Chapter0/C0_RollbackDemo_Convergence.yarn
Normal file
18
Assets/Story/Chapter0/C0_RollbackDemo_Convergence.yarn
Normal file
@@ -0,0 +1,18 @@
|
||||
// 回滚机制示例 5/5:分支会合后的主线 TextBlock。
|
||||
// StoryData Block ID 建议:c0_demo_convergence,gridColumn = 3。
|
||||
// UnlockCondition:Any Of(BlockCompleted c0_demo_observe, BlockCompleted c0_demo_protect)。
|
||||
|
||||
title: C0_RollbackDemo_Convergence
|
||||
---
|
||||
<<if get_bool("c0_demo_observed")>>
|
||||
SLS: 观测结果已归档。你从时间的回声中获得了答案。
|
||||
<<else>>
|
||||
<<if get_bool("c0_demo_protected")>>
|
||||
SLS: 装置已被保护。你为下一次观测保留了余地。
|
||||
<<else>>
|
||||
SLS: 没有发现有效分支记录,请检查 StoryData 的路线条件。
|
||||
<<endif>>
|
||||
<<endif>>
|
||||
|
||||
<<set_bool "c0_demo_convergence_read" true>>
|
||||
===
|
||||
10
Assets/Story/Chapter0/C0_RollbackDemo_Convergence.yarn.meta
Normal file
10
Assets/Story/Chapter0/C0_RollbackDemo_Convergence.yarn.meta
Normal file
@@ -0,0 +1,10 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 786552bb2c0e45cb89f7e9f67beeb6b3
|
||||
ScriptedImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
script: {fileID: 11500000, guid: 94073015eacc34c1d8fc6786e43d60ca, type: 3}
|
||||
9
Assets/Story/Chapter0/C0_RollbackDemo_Intro.yarn
Normal file
9
Assets/Story/Chapter0/C0_RollbackDemo_Intro.yarn
Normal file
@@ -0,0 +1,9 @@
|
||||
// 回滚机制示例 1/5:第一段主线 TextBlock。
|
||||
// StoryData Block ID 建议:c0_demo_intro,gridColumn = 0。
|
||||
|
||||
title: C0_RollbackDemo_Intro
|
||||
---
|
||||
SLS: 记录开始。请在这一刻之后决定如何观察异常信号。
|
||||
<<set_bool "c0_demo_intro_read" true>>
|
||||
<<add_int "c0_demo_resonance" 1>>
|
||||
===
|
||||
10
Assets/Story/Chapter0/C0_RollbackDemo_Intro.yarn.meta
Normal file
10
Assets/Story/Chapter0/C0_RollbackDemo_Intro.yarn.meta
Normal file
@@ -0,0 +1,10 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 51dc31a3841a4b0892d3e4753ffde3bc
|
||||
ScriptedImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
script: {fileID: 11500000, guid: 94073015eacc34c1d8fc6786e43d60ca, type: 3}
|
||||
14
Assets/Story/Chapter0/C0_RollbackDemo_Observe.yarn
Normal file
14
Assets/Story/Chapter0/C0_RollbackDemo_Observe.yarn
Normal file
@@ -0,0 +1,14 @@
|
||||
// 回滚机制示例 3/5:分支 1。
|
||||
// StoryData Block ID 建议:c0_demo_observe,gridColumn = 2,
|
||||
// UnlockCondition:c0_demo_route == 1;ForbiddenCondition:c0_demo_route == 2。
|
||||
|
||||
title: C0_RollbackDemo_Observe
|
||||
---
|
||||
<<if get_int("c0_demo_route") == 1>>
|
||||
SLS: 观测记录已展开。异常波形正在重复上一段时间。
|
||||
<<set_bool "c0_demo_observed" true>>
|
||||
<<add_int "c0_demo_resonance" 2>>
|
||||
<<else>>
|
||||
SLS: 当前路线不是观测路线;这段文字仅用于检查错误配置时的安全回退。
|
||||
<<endif>>
|
||||
===
|
||||
10
Assets/Story/Chapter0/C0_RollbackDemo_Observe.yarn.meta
Normal file
10
Assets/Story/Chapter0/C0_RollbackDemo_Observe.yarn.meta
Normal file
@@ -0,0 +1,10 @@
|
||||
fileFormatVersion: 2
|
||||
guid: aed5778d2d4a41db8acd3495bb7aa369
|
||||
ScriptedImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
script: {fileID: 11500000, guid: 94073015eacc34c1d8fc6786e43d60ca, type: 3}
|
||||
14
Assets/Story/Chapter0/C0_RollbackDemo_Protect.yarn
Normal file
14
Assets/Story/Chapter0/C0_RollbackDemo_Protect.yarn
Normal file
@@ -0,0 +1,14 @@
|
||||
// 回滚机制示例 4/5:分支 2。
|
||||
// StoryData Block ID 建议:c0_demo_protect,gridColumn = 2,
|
||||
// UnlockCondition:c0_demo_route == 2;ForbiddenCondition:c0_demo_route == 1。
|
||||
|
||||
title: C0_RollbackDemo_Protect
|
||||
---
|
||||
<<if get_int("c0_demo_route") == 2>>
|
||||
SLS: 保护程序已启动。装置核心被暂时隔离。
|
||||
<<set_bool "c0_demo_protected" true>>
|
||||
<<add_int "c0_demo_resonance" 1>>
|
||||
<<else>>
|
||||
SLS: 当前路线不是保护路线;这段文字仅用于检查错误配置时的安全回退。
|
||||
<<endif>>
|
||||
===
|
||||
10
Assets/Story/Chapter0/C0_RollbackDemo_Protect.yarn.meta
Normal file
10
Assets/Story/Chapter0/C0_RollbackDemo_Protect.yarn.meta
Normal file
@@ -0,0 +1,10 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 4c751af9031c4f94b7295c01fa3a2b6a
|
||||
ScriptedImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
script: {fileID: 11500000, guid: 94073015eacc34c1d8fc6786e43d60ca, type: 3}
|
||||
Binary file not shown.
Reference in New Issue
Block a user