Templates›Templates
Bounty on bandits
Whoever kills a bandit gets five denars in coin and a note saying how many they have killed: a tally kept per player in a map.
What its notes say
- A bandit died, and somebody killed them
- Their tally in the map goes up by one
- Five denars and a note with their tally
Its variables
| Name | Kind | Scope | Saved |
|---|---|---|---|
bounties | an int | the graph's | no |
Nodes it uses
- Anybody died
event/Damagable.AnyDiedAnything with health died, anywhere. - Is of a side
fn/game.IsOfSideWhether a person belongs to a side - Last attacker
get/Damagable.LastAttackerWhoever landed the last blow on somebody. - Is nothing
math/IsNothingWhether a value is empty - 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. - Get from map
map/GetThe value kept under a key, and whether there is one. - Format text
text/FormatPuts values into a text where it says {0}, {1}, {2} and {3}. - Pay a reward
fn/game.PayRewardGives somebody coin worth so many denars and shows them a note saying so.
Modding