statuses.module
README.md
statuses
What the local player's needs add up to: seven statuses, each with its own effect. Well fed (hunger and thirst high) is a bonus: health slowly comes back and stamina refills 30% faster. Starving weakens your swings, parched slows you and your stamina, shivering slows you and lowers your jump, freezing slows you hard and hurts, soaked slows you and makes you take more damage, exhausted slows you and stops your stamina refilling. The local player's SurvivalNeeds steps them once a second; the needs HUD shows them as chips, Needs.on("statusOn" | "statusOff", fn) reports them, and with abilitiesKit installed each one is a real abilitiesKit effect (survival_<id>) whose stat changes apply. Read with Statuses.active() and Statuses.has(id); add your own with Statuses.define(id, def).