Templates›Templates
Toll on a road
Every traveller who comes to the toll gate pays two denars, once: whether they have paid is kept on them. Who can't pay is told to be gone and the nearest soldier goes for them; the gate asks again twenty seconds later.
What its notes say
- Every two seconds: a traveller at the gate who hasn't paid yet?
- Once: they pay (and it is kept on them), or they are told to be gone
- Who doesn't pay has the nearest soldier after them
- Twenty seconds later the gate asks again
Its variables
| Name | Kind | Scope | Saved |
|---|---|---|---|
gate | a position | the graph's | no |
paid | yes or no | kept on each person or thing | no |
Nodes it uses
- Every so often
event/Graph.EveryRuns again and again, so many seconds of game time apart, while a scene is playing. - Nearest player
fn/game.NearestPlayerThe player nearest to a place, how far off they are, and whether there is any player at all. - Expression
math/ExpressionWorks out what is typed, like a line of code - Branch
flow/BranchGoes one way when the condition holds, the other way when it doesn't. - Do once
flow/DoOnceLets a run through the first time only, until Reset is run. - Take money
call/Game.TakeMoneyTakes so much out of somebody's purse, with change given back in coin. - Show note to players
call/Game.ShowNoteToA note across the top of players' screens, sent from where the game is decided - Nearest of a side
fn/game.NearestOfSideThe nearest living person of a side (bandits, soldiers, villagers...) within so many metres of a place, and whether there is one. - Set on
call/Game.OrderAttackTurns an NPC on somebody, whatever its side would think of them - Wait
flow/WaitWaits so many seconds of game time before going on.
Modding