Needs
Hunger, Thirst, Tiredness, Cold and Heat: five meters for the player, each from 100 (met) down to 0, each draining over the world's seconds and putting on a condition when it runs low. A project has none until Project Settings > Needs turns them on; with Needs off nothing is written and nothing changes.
The page
- Needs
- The switch. Turning it on writes
assets/data/needs.vfa. - Show needs
- The bars at the bottom left of the HUD, a name and a bar each.
- This map's climate
- Mild, Cold, Freezing, Hot or Scorching, for the map that is open. Mild when never set.
- Hunger, Thirst, Tiredness, Cold, Heat
- Each need on or off by itself.
- Drains a minute
- Points lost each minute of play.
- First condition at
- The value at or below which the first condition goes on (30).
- Second condition at
- The value at or below which the second replaces it (10).
- Rest restores an hour
- Tiredness given back by each hour of rest (12.5).
- Warms a minute near a light
- Cold given back each minute near a light (10).
What each need does
- Hunger
- Drains 1 a minute. Hungry (Might -1) at 30, Starving (2 damage every 5 seconds) at 10.
- Thirst
- Drains 1.5 a minute. Thirsty (Agility -1) at 30, Parched (3 damage every 5 seconds) at 10.
- Tiredness
- Drains 0.5 a minute. Tired (initiative -2, walks at 85 percent) at 30, Exhausted (initiative -4, walks at 60 percent) at 10. A rest gives it back.
- Cold
- Drains 2 a minute in a Cold climate and 4 in a Freezing one; comes back at the same rate anywhere else and at the Warm rate near a light. Cold (to hit -1) at 30, Freezing (2 damage every 4 seconds) at 10.
- Heat
- Drains 2 a minute in a Hot climate and 4 in a Scorching one; comes back anywhere else. Hot (Vitality -1) at 30, Heatstroke (2 damage every 4 seconds) at 10.
A need's condition has no clock and shows on the HUD without seconds. A cure does not take it off; meeting the need does. The light that warms is a placed light or a prop that glows, not the player's own lantern.
The ten conditions are rows of needs.vfa (condition hungry, kind, amount, stat, period), so a project can change what each does. Their names, and the needs' own, are Words: Project Settings > Words, the Needs group.
Meeting a need
- need (an item's use step)
field use need hunger 40gives back 40 Hunger when it is used. Any need, any amount.- rest
- Each hour of rest gives back Tiredness at the page's rate, or at a rest row's own
field tiredness <points>. A bed is a rest row whosewherenames the bed prop's place word. The other needs drain through the rest's hours of world time. - need (the run verb)
need hunger +40adds,need hunger -10takes,need hunger 50sets.- death
- The rekindled player rises with every need met.
Three items to copy
Paste these rows into assets/data/items.vfa, or make them with Create New in the item catalog and type the use line.
comp item bread -1 -
field name Bread
field price 4
field use need hunger 40
comp item water_flask -1 -
field name Water Flask
field price 3
field use need thirst 30
comp item bedroll -1 -
field name Bedroll
field price 12
field use need tiredness 25In Rûn
Needs.Value("hunger"), Needs.Set(need, value), Needs.Add(need, amount) and Needs.On([need]). See Rûn Programs.
Saves
A save carries the five values while Needs is on (needs line). A save made before Needs was on loads with every need at its start. The conditions come back from the values.