Search
No results
Eating and auto eat
Demo 0.11.2How it works
Eating
- Eating by hand heals Healing and uses one food unless Food preservation chance keeps it. It does nothing at full hitpoints, and in combat it restarts your attack turn.
- Auto eat checks after each loss of hitpoints that leaves you alive, and eats when hitpoints are at or below round(Auto eat threshold × max hitpoints).
- It eats max(1, floor((Auto eat limit × max hitpoints − hitpoints) ÷ Auto eat healing)) food at once, at most what you hold, and heals that many × Auto eat healing. One Food preservation chance roll keeps or spends the whole batch.
- A food's own bonuses apply while it is selected and you hold at least one.
Game messages
Formulas
- Healing
max(trunc(Food food base healing × (1 + Percent healing) + Flat healing), 1)- Auto eat healing
max(trunc(Healing × Auto eat efficiency), 1)- Auto eat threshold
clamp(Base auto eat threshold + Flat auto eat threshold, 0, 1)- Auto eat limit
clamp(Base auto eat limit + Flat auto eat limit, 0, 1)- Auto eat efficiency
max(Base auto eat efficiency + Flat auto eat efficiency, 0.01)
Base values
- Base auto eat efficiency
- 1
- Base auto eat limit
- 1
- Base auto eat threshold
- 0.25
Modifiers
| Modifier | Granted by |
|---|---|
| Percent healing |
|
| Flat healing | None in the demo |
| Flat auto eat thresholdGlobal flat auto eat threshold | None in the demo |
| Flat auto eat limitGlobal flat auto eat limit | None in the demo |
| Flat auto eat efficiencyGlobal flat auto eat efficiency | None in the demo |
| Food preservation chance |
|