Files
XinLanDiary/review/Chapter2-Side-review.md
Cafw 6c65eafa32 Add review reports for Chapter 1, Chapter 2, and Chapter 2-Side; include image assets and logic checks
- Created Chapter1-review.md with syntax, character definitions, and dialogue checks.
- Created Chapter2-review.md with syntax, missing images, and logic errors.
- Created Chapter2-Side-review.md addressing syntax, character definitions, and dialogue issues.
- Added SUMMARY.md to summarize review findings and highlight critical issues.
- Included new image assets for xiaowei and backup files.
- Identified and documented several logic errors and suggestions for code cleanup across chapters.
2026-04-26 13:32:11 +08:00

3.2 KiB
Raw Permalink Blame History

Chapter2-Side.rpy 审阅报告

文件信息

  • 文件路径: game/Chapters/Chapter2/Chapter2-Side.rpy
  • 行数: 126
  • 包含场景: C2Side1, C2Side1S1, C2Side1S2, C2Side1S3
  • 入口: 仅从 Chapter2_Scene1 菜单"邀请刘泓予"跳入

语法错误

无语法错误


角色定义检查

角色 定义位置 使用情况 状态
me script.rpy:4 正常
lhy script.rpy:6 正常
tongxue script.rpy:16 正常

图像引用检查

  • bg rooftop: bg rooftop.png 存在untracked
  • lhy dialogue normal: 存在 ✓
  • ryt dialogue normal / ryt dialogue embarrass pocket / ryt dialogue embarrass pocket2: 存在 ✓

Flag 和变量检查

变量/Flag 设置位置 读取位置
flag["C4"] 行75 1 未读取
flag["competition_note"] 行75 True Chapter2.rpy:237
lhy_stats["trust"] 行77, 100 +2 / +1
lhy_stats["empathy"] 行79, 101, 123 +1 each
tao_stats["humorSense"] 行78, 101, 122 +1 each
lhy_stats["affection"] 行38, 41, 44 +3/+2/+1 (按选择)

未使用的 Flag

flag["C4"] (行75): 在 C2Side1S1 分支中设为 1但代码库中未读取。推测为第4章的预留 flag建议加注释说明。


逻辑错误

🔴 严重: return 导致游戏直接结束 (行 6-7)

label C2Side1:
    if lhy_stats["affection"] < 11:
        return

问题: 进入 C2Side1 的方式是通过 jump C2Side1Chapter2.rpy:45没有 call 调用栈。当 return 被执行时Ren'Py 会返回主菜单,而非继续游戏。

触发条件: lhy_stats["affection"] < 11。实际上 Chapter1 结束时 lhy affection = 113+5+3加上 Chapter2_Scene1 选择"邀请刘泓予"后 +5 = 16所以当前数据下该条件永远为 False。但

  • 若有其他路径进入 C2Side1 且 affection 不足,游戏会异常退出
  • 代码意图是"好感度不够时跳过支线"

修复:

if lhy_stats["affection"] < 11:
    jump C2S2

奇怪/不当的对话

🔴 严重: 行89 — 极度不当的辱骂

me "你妈死了刘泓予!"

这是 C2Side1S2选择"怕什么,我可以一打三")分支中的主角台词。上下文:

lhy "你的自信心从何而来我一直很好奇。但这确实有一定作用。"
me "你妈死了刘泓予!"          ← 突兀的辱骂

问题严重:

  1. 与前后文完全脱节——刘泓予刚说完一句中性偏正面的话,主角毫无理由地突然辱骂
  2. 与主角人设严重冲突——任懿涛是使用幽默应对压力的高中生,不是毫无理由口出恶言的人
  3. 在校园题材视觉小说中加入此类粗口极为不协调

建议: 立刻替换为符合角色性格的台词。例如:

me "你说话怎么跟我妈似的..."

或:

me "行行行,你说得对。但我就是自信,天生的。"

清理建议

  1. 立即修改行89的辱骂台词(最高优先级)
  2. 修复行7的 returnjump C2S2
  3. flag["C4"] 添加用途注释