Ideas & systems
Comparisons
Every gate in the Ledger asks a question of a number. These are the five ways to ask it.
What it is
A comparison is the small word on a requirement that says how the player's amount must stand against yours. It lives beside the quantity: "at least 3", "at most 0". If the comparison is true, the player may go on. If not, the action refuses.
There are five words:
| Word | The player must have |
|---|---|
| at least | the amount or more. This is the usual choice and the default. |
| at most | the amount or fewer |
| exactly | exactly the amount |
| fewer than | fewer than the amount |
| more than | more than the amount |
A change is a different thing. Rewards and stat effects add, subtract or take a percent. They never compare. See Changes the character's stat.
How it works
- You set a quantity and a word. In an ingredient list, the column headed Needs holds the word. It starts at "at least".
- The player's amount is counted where you said: in the bag or in the place.
- The comparison is made. If it is true, the action can run. If not, it is refused.
- A used-up cost is then taken. Only a cost marked Used up is taken, and only when the word is one that asks for a minimum.
You can ask a comparison of a stat too, on an item the player carries. The same words apply.
The create forms for a Recipe or a Quest offer no comparison. Open the component's property window to change the word.
Asking for none
To make something happen only once, or only to a player who has none, use "at most 0" on a component the player gets when it first happens, and do not tick Used up. Nobody can have fewer than none, so "fewer than 0" can never be met and the editor refuses it. A word of "at least 0" always passes, so it asks nothing.
In Vespera
In Vespera: bread and a welcome Play it
- At least 3. The Recipe: Hearth Loaf needs at least 3 Wheat Sheaf, all used up. A player with 2 cannot craft it. A player with 3 or more can, and 3 are taken.
- At most 0. Old Maren's Welcome story needs the player to have none of the marker Maren Welcome Seen. The story gives the player that marker as it plays, so the Welcome plays once and never again. The marker is not used up.
Good to know
- Use "at least" unless you have a reason. It reads the way players think: "I need three".
- A cost that never blocks has no word. See Also takes, if there is any.
- A player who lacks it sees a reason. A "none" gate shows "Must not have" followed by the component's name.
Under the hood
- There are three separate sets of words. One compares how many of a component the player has. One compares a stat or capability on a carried item. One changes a stat: add, subtract and percent.
- A comparison word placed on a change, or a change word placed on a requirement, does nothing.
- A requirement that checks only that a stat exists is a fourth, hidden word. The editor offers it as an Exists choice and hides the quantity.
- A cost that is used up is never taken when its comparison is 'fewer than' or 'at most'. You cannot use up something against a ceiling.
- For a cost that is kept, the count includes the named level and every higher level of the same component. For a cost that is used up, only the exact level counts.
- A percent change is worked out once on the whole amount and rounded half up. A change is never rounded per unit and then multiplied.