Conditions:
Health int
Stamina int
Fatigue? Int
Hunger? Int
Thirst? Int
Happiness? Int
The above are current values. Have associated max values. Fields with a? Or optional, because those are specifically for players, and not for NPC's.
There should be an NPC template collection that lists the name of an NPC. It's ability levels at the max values for its three conditions. But then there should be out active NPC's with current values for their conditions at temporary levels.
Use tiny DB.
Player: name string unique conditions_id
Conditions: Health int Stamina int Fatigue? Int Hunger? Int Thirst? Int Happiness? Int
There should be an NPC template collection that lists the name of an NPC. It's ability levels at the max values for its three conditions. But then there should be out active NPC's with current values for their conditions at temporary levels.