Files
ichni_Official/Assets/Story/Chapter0/C0_RollbackDemo_Checkpoint.yarn
SoulliesOfficial 810d019619 剧情+对话完善
2026-07-21 15:24:42 -04:00

31 lines
952 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
// 回滚机制示例 2/5第二段主线 TextBlock也是 TimelineMarker 的锚点。
// StoryData Block ID 建议c0_demo_checkpointgridColumn = 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: 你选择了保护。
===