Files
nightclub-arcadia/NightclubArcadia/Assets/Dialogue/Scenes/Debug.yarn
T

23 lines
767 B
Plaintext

// Scratch node for verifying the skill-check plumbing. Not part of the story.
// Point DialogueRunner.startNode at "Debug_SkillCheck" to run it, then set it
// back to "Start" when you're done.
title: Debug_SkillCheck
---
Narrator: Skill check harness.
<<check placement routine>>
<<if $check_result>>
Narrator: Passed. Rolled {$check_roll}, total {$check_total} against DC {$check_dc}.
<<else>>
Narrator: Failed. Rolled {$check_roll}, total {$check_total} against DC {$check_dc}.
<<endif>>
// Explicit numeric DC plus a situational modifier.
<<check confluence 16 2>>
Narrator: Confluence came out {$check_degree}.
// Deliberate typo: should log an error and continue, not deadlock.
<<check nosuchskill routine>>
Narrator: Survived the bad skill id.
===