Inside the Tutorial scheme
What this page is for
Section titled “What this page is for”Tutorial is the first scheme a new player meets in The Hollow Throne. Your old Seal-Keeper shows a new ruler how the court is run, in a string of dialogues. It has 37 nodes. That is small, yet it holds a dialogue with choices, variables, a roll of chance, a time skip and the On Game Loaded node, all in one short run. Read it as an example of a scheme that talks to the player and never touches another actor’s plans.
When you come here
Section titled “When you come here”- You want to see a dialogue-driven scheme end to end.
- You want to see where a scheme variable earns its place.
- You want to know what a scheme should do when the player loads a save in the middle of it.
How it starts
Section titled “How it starts”The scheme’s Show in lists is Never, so no list offers it, and it needs no target. Only the demo’s code starts it: when a new game begins, DemoFlow.StartTutorial starts Tutorial for each actor a person plays, with no target. A loaded game never starts it; the save brings a running tutorial back by itself.
The scheme has one requirement, You live, checked both when it starts and while it runs. If it breaks, the scheme is interrupted and ends in failure. In the draft, this is the node broken, a When a Requirement Breaks node, wired to a Fail Scheme node.
Its variables
Section titled “Its variables”| Variable | Type | What it holds |
|---|---|---|
Friend |
Actor | A courtier of your clan, picked at random. |
HaveFriend |
Bool | True once a friend was found. |
Met |
Bool | True after the friend scene, whichever answer you gave. |
Confided |
Bool | True if you told the friend a plan. |
WeekPassed |
Bool | True after you let a week pass. |
All four flags start false. Friend is picked by a Find Actor node from your own clan: grown (16 or older), not your spouse, child or parent, and not the Seal-Keeper.
The opening
Section titled “The opening”- Start, output Start, goes to Set Objective.
- Set Objective goes to Find Actor.
- Find Actor, output Found, goes to Set Variable.
- Find Actor, output Not Found, goes to Show Dialogue.
- Set Variable goes to Show Dialogue.
- Show Dialogue, output I will wager I know it already., goes to Chance.
- Chance, output Success, goes to Set Variable.
- Chance, output Failure, goes to Set Variable.
The scheme sets an objective. It looks for a friend. Then it greets you, and the dialogue offers four answers:
- Show me. goes to the lessons.
- I will wager I know it already. goes to a Chance node of 50%. The answer shows that chance as its odds, because the draft names the node
wagerRollas the answer’s odds node. Win, and you gain 5 Marks and jump to the lesson Letters and offers. Lose, and you gain 1 Strain and go to the lessons. - I have kept a court before… goes straight to Letters and offers. It is open only when your Statecraft is 12 or more, and the draft gives the reason shown when it is not.
- Spare me the lessons. ends the scheme as a failure.
The lessons
Section titled “The lessons”The scheme has nine dialogues in all. After the greeting they run in a chain. Most have a skip answer, and that answer ends the scheme as a failure.
| Dialogue | Title | Note |
|---|---|---|
| 1 | Welcome, {conspirator.Name} |
The greeting above. |
| 2 | The passing days | The time controls. |
| 3 | A week, if you please | Let a week pass. runs Advance Days with 7 days, then sets WeekPassed. |
| 4 | Knowing your people | |
| 5 | What may be done | |
| 6 | The land itself | |
| 7 | A word in confidence | Offers to confide a plan to your friend. Sets Confided, then Met; the other answer sets only Met. |
| 8 | Letters and offers | |
| 9 | One thing more | Plays a tension track and reveals the friend. |
The text of dialogue 1 reads differently for a Wilful, a Timid or any other ruler, with {if conspirator has trait ...} lines. Dialogue 9 changes with Confided and Met the same way. See Dialogues and announcements and Texts, tokens and pacing for those tools.
The twist
Section titled “The twist”- Play Sound goes to Compare Variable.
- Compare Variable, output True, goes to Compare Variable.
- Compare Variable, output False, goes to Succeed Scheme.
- Compare Variable, output True, goes to Compare Variable.
- Compare Variable, output False, goes to Succeed Scheme.
- Compare Variable, output True, goes to Set Variable.
- Compare Variable, output False, goes to Add Memory.
- Set Variable goes to Add Tie.
- Add Tie goes to Succeed Scheme.
- Add Tie, output Not Changed, goes to Succeed Scheme.
- Add Memory goes to Succeed Scheme.
After dialogue 9 a sound plays, and three Compare Variable nodes read the flags in turn. With no friend, or a friend you never met, the scheme succeeds quietly. If you confided in the friend, your Marks fall by 5 and you and the friend get a Rival tie. If you kept silent, you remember having seen through the friend. The draft’s own note says so: the friend was a spy.
Then Succeed Scheme sets the result. Last, an End node routes the result to an announcement: The court is yours on success, As you wish on failure. A player sees them; nobody else does.
A player who jumped ahead with the wager or the veteran answer never meets the friend, so Met stays false and the scheme succeeds quietly.
After a load
Section titled “After a load”- On Game Loaded, output Loaded, goes to Show Announcement.
- When a Requirement Breaks, output You live, goes to Fail Scheme.
An On Game Loaded node starts a flow when a saved game is loaded. Here it leads to an announcement titled Welcome back, with a button Carry on. Its text has the Seal-Keeper say he will carry on where they stopped. See On Game Loaded.
How it connects
Section titled “How it connects”The nodes used here have their own pages: Show Dialogue, Chance, Set Variable, Compare Variable, Find Actor and Advance Days. To start a scheme from code, as DemoFlow does, see Schemes from code. The next scheme in this group is Offer a Token, a social scheme with memories.