PlayerStat
constPlayerStat:object
Defined in: client/api.d.ts:199
Writable player stats, in native units. Use getStat and the server’s setStat.
Type Declaration
Section titled “Type Declaration”Exhaust
Section titled “Exhaust”
readonlyExhaust:"exhaust"
Current energy reserve; higher means better rested.
Health
Section titled “Health”
readonlyHealth:"health"
Current health, in native units. Zero can kill.
Hunger
Section titled “Hunger”
readonlyHunger:"hunger"
Current nourishment; higher means better fed.
Stamina
Section titled “Stamina”
readonlyStamina:"stamina"
Current stamina; the game continues spending and regenerating it.