Modding
Discord Wishlist on Steam

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.

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 goneWho doesn't pay has the nearest soldier after themTwenty seconds later the gate asks againEvery so oftenallseconds2countgateNearest playerallatplayermetresfoundpaidExpressionmetres <= 4 and not donemetresdone= yes or noBranchconditiontruefalseDo onceResetTake moneywhodenars2paidBranchconditiontruefalsepaid =whosevaluevalueShow note to playerstextToll paidlineTwo denars to …styleSlipplayerShow note to playerstextPay or be gonelineThe toll is two …styleSlipplayergateNearest of a sideallatmetres25sideSoldierwhofoundBranchconditiontruefalseSet onwhotargetWaitseconds20
Toll on a road

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

NameKindScopeSaved
gatea positionthe graph'sno
paidyes or nokept on each person or thingno

Nodes it uses