Set the tracker’s name, variable name and initial value
Open Tracked items in the world editor. Add a field whose meaning will remain clear after several turns. Name identifies it to the player and storyteller. Variable name is the handle used in PawScript and templates. Use Number for a single quantity such as money, health or a remaining allowance. YAML is an option when a related group of values needs a common structure, though a lone balance needs little more than one number.
The description should give the unit and direction. An outstanding balance falls when a payment clears. A cash balance rises when the same payment arrives. “Coins” alone can mean either. Set the actual starting amount in Initial value. A format example describes the intended shape of a value and does not initialize it. The editor supports one starting value for everyone or values that depend on the selected character.
Disable automatic AI updates when a script or trigger owns the number
Automatic updating allows the storyteller to rewrite a tracker from events in the turn. Update instructions can tell it what counts and when the value should stay unchanged. That flexibility suits a judgment such as an NPC’s impression of the player. A quantity that controls purchases, damage or access deserves a clearer owner. Give its updates to a trigger or PawScript, then switch automatic updating off. Leaving update instructions blank does not by itself disable AI writes.
A practical compromise is to distinguish interpretation from arithmetic. A separate per-turn value can record that a qualifying event occurred. A trigger can read that result, apply the amount to the authoritative total and clear the temporary value. Test how the event is recognized. Deterministic subtraction cannot rescue a calculation that was given a promise to pay as evidence that money already changed hands.
Set visibility separately from permission to update
Everyone shows a field to both player and storyteller. AI only keeps it out of the ordinary player view. Player only displays the value while withholding it from the storyteller. Hidden keeps it from both ordinary views. Scripts and triggers can read and write a tracker under any of those visibility settings. A player-facing receipt and an internal counter may need different visibility even when the same script updates both.
Storyteller Mode can expose hidden data for inspection. Use that access to diagnose a surprising figure. Keep spoilers out of an ordinary player display, but avoid relying on a hidden tracker as a secret that a determined world editor cannot discover. If the storyteller needs to narrate a consequence of a hidden balance, provide the relevant consequence through an instruction or visible field.
Check the stored value after a payment, promise and repeated request
| Result | Likely cause | Inspect next |
|---|---|---|
| A payment is applied twice | More than one updater or the same event is processed twice. | Automatic updating, trigger condition and any pending-event field. |
| A spoken promise changes the balance | The event condition is too broad. | Whether it recognizes an offer as a completed transaction. |
| The correct balance is stored but the prose uses the old one | The storyteller lacks or ignores the current value. | Visibility, instructions and competing text in recent turns. |
| A renamed field no longer updates | A script still uses an old variable name. | PawScript and template references. |
In a fresh test, start with twelve owed and make an authorized payment of five. Seven should remain. A promise to pay another three should leave seven, and attempting to collect an already-settled account should follow the world’s stated rule. Focusing on the stored value first tells you whether a failure belongs to the update mechanism or to the prose describing it.
When revising a tracker, remember that the display name and variable name have different consumers. Native triggers refer to its internal ID, while scripts use the variable name. Accepting an offer to rename the variable as well can break existing references. If the value stops updating immediately after a tidy-up, check the script’s handle before rewriting the mechanic.
Sources & further reading
- Community wiki guide to items to track infiniteworlds.mywikis.wiki
- The Infinite Worlds player and creator FAQ infiniteworlds.mywikis.wiki
- Community wiki on how Infinite Worlds processes a turn infiniteworlds.mywikis.wiki