Files
nightclub-arcadia/NightclubArcadia/Assets/Dialogue/Scenes/Debug.yarn
T
2026-08-15 13:01:04 +02:00

36 lines
1.2 KiB
Plaintext

// Scratch nodes for verifying mechanics in isolation. Not part of the story.
// Point DialogueRunner.startNode at the node you want to run, 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.
===
// Candidate lean accumulator round-trip. Expect made_asset 2 / journalist 1 /
// inheritor 0, and the threshold branch to fire.
title: Debug_CandidateLean
---
<<set $self_lean_made_asset += 1>>
<<set $self_lean_made_asset += 1>>
<<set $self_lean_journalist += 1>>
Narrator: made_asset {$self_lean_made_asset} / journalist {$self_lean_journalist} / inheritor {$self_lean_inheritor}
<<if $self_lean_made_asset >= 2>>
Narrator: threshold branch reached.
<<endif>>
===