Files
nightclub-arcadia/NightclubArcadia/Assets/Dialogue/Objects/Chair.yarn
T
2026-08-15 21:51:53 +02:00

85 lines
3.2 KiB
Plaintext

// Everything that can be interacted with the chair.
//
// These nodes share a title, which makes them a node group. Callers just
// `<<detour Chair_Interaction>>` and Yarn runs the most specific variation whose
// `when:` conditions pass. Adding a new variation later means adding a node,
// not editing a growing <<if>> chain.
//
// Each variation sets $went_inside so the calling scene knows the verdict.
title: Chair_Interaction
---
Narrator: An empty chair with a place card: {$player_name}.
-> Sit down.
<<set $sat_down_at_table = true>>
Narrator: You sit down between two very distinguished gentlemen.
<<if $spoke_to_chevalier_cassian_thal eq true and $spoke_to_bradford_kane eq true>>
<<detour SC101_Hook_Both_Chair_Interaction>>
<<elseif $spoke_to_chevalier_cassian_thal eq true and $spoke_to_bradford_kane eq false>>
<<detour SC101_Hook_Left_Not_Right_Chair_Interaction>>
<<elseif $spoke_to_chevalier_cassian_thal eq false and $spoke_to_bradford_kane eq true>>
<<detour SC101_Hook_Right_Not_Left_Chair_Interaction>>
<<elseif $spoke_to_chevalier_cassian_thal eq true and $spoke_to_bradford_kane eq true>>
<<detour SC101_Hook_Both_Chair_Interaction>>
<<else>>
<<detour SC101_Hook_First_Sitting_Chair_Interaction>>
<<endif>>
-> Not yet.
<<enter_environment>>
===
title: SC101_Hook_First_Sitting_Chair_Interaction
---
-> Look at the details of the place card.
<<detour SC101_Hook_Place_Card_Chair_Interaction>>
-> Introduce yourself to the gentleman on your left, sitting closer to the head of the table.
<<detour Chevalier_Cassian_Thal_Talk>>
-> Introduce yourself to the gentleman on your right.
<<detour Bradford_Kane_Talk>>
===
title: SC101_Hook_Left_Not_Right_Chair_Interaction
---
-> Look at the details of the place card.
<<detour SC101_Hook_Place_Card_Chair_Interaction>>
-> Talk to Chevalier Cassian Thal.
<<detour Chevalier_Cassian_Thal_Talk>>
-> Introduce yourself to the gentleman on your right.
<<detour Bradford_Kane_Talk>>
===
title: SC101_Hook_Right_Not_Left_Chair_Interaction
---
-> Look at the details of the place card.
<<detour SC101_Hook_Place_Card_Chair_Interaction>>
-> Introduce yourself to the gentleman on your left, sitting closer to the head of the table.
<<detour Chevalier_Cassian_Thal_Talk>>
-> Talk to Bradford Kane.
<<detour Bradford_Kane_Talk>>
===
title: SC101_Hook_Both_Chair_Interaction
---
-> Look at the details of the place card.
<<detour SC101_Hook_Place_Card_Chair_Interaction>>
-> Talk to Chevalier Cassian Thal.
<<detour Chevalier_Cassian_Thal_Talk>>
-> Talk to Bradford Kane.
<<detour Bradford_Kane_Talk>>
===
title: SC101_Hook_Place_Card_Chair_Interaction
---
Narrator: You take the place card and take a look.
<<check provenance Hard>>
<<if $check_result>>
<<set $saw_knights_atlantean_cross_on_place_card = true>>
PROVENANCE: What is this?
Narrator: You see a plain equal-armed cross inside a circle embossed in the upper right corner.
PROVENANCE: We are in Switzerland, after all. Though this symbol is not known to be associated with Switzerland. Most peculiar.
<<else>>
Narrator: You see a cross inside a circle embossed in the upper right corner.
PROVENANCE: This is probably related to Switzerland.
<<endif>>
===