Repository navigation
HungryPathing 0.2.0
First release after a code review and eight days in a live colony. Game 1.1.2.4, requires the Harmony mod.
Working beavers plan food and water around their shift instead of waiting for the penalty, and eat at the closest stocked storage while on the job.
Measured in a 355-beaver colony, an hour before the end of the shift, with and without the mod
| Without | With | |
|---|---|---|
| In the hunger or thirst penalty | 15 | 0 |
| Within 3 hours of a penalty | 117 | 0 |
| Median walk per working-hour eating trip | 0.96 h | 0.72 h |
| Trips started in the last 4 hours of the shift | 49 | 21 |
| Beavers mid-trip walking past a closer stocked storage | 2 of 18 | 0 of 11 |
Eight in-game days without an error, part of them as a BeaverBuddies host with a guest; three days replayed from the same save gave identical daily counters and identical co-op consistency hashes. Full numbers and method in TESTING.md.
Fixed since 0.1.0 (all from the review)
- The builder job check could throw on any construction site with more than one access point, which on a construction-heavy day would have tripped the circuit breaker and switched the mod off. It now uses the nearest access point.
- A storage that could not start a trip is skipped in the same decision and left alone for twice
RetryHours, instead of being retried on every check. - The variety tolerance is measured from the closest storage, so a chain of slightly farther, slightly better foods cannot win by more than the tolerance, and the pick no longer depends on list order.
- A builder that let a site go stops walking toward it.
- Pre-fuel-only checks stop measuring walks past the near limit; fewer path queries for beavers with hours to spare.
- Sleeps between checks are capped at three hours; disabled needs, an unknown walking speed on the first tick and beaver templates missing a component are handled without tripping the breaker.
Install
Unzip into Documents\Timberborn\Mods so that Mods\HungryPathing\version-1.1\manifest.json exists, replacing 0.1.0 if present, and enable it in the mod manager. Settings in version-1.1\HungryPathing.cfg; in multiplayer every player needs the same version and an identical settings file.