Topic on Talk:Saturation

Jump to navigation Jump to search
Shergoidold (talkcontribs)

I tested all the listed modifiers of hunger rate (now food consumption in pawns' stats info card). Added one by one and checked how the number changed. My findings from testing:

-Malnutrition doesn't seem to be having any effect regardless of stage. This is probably a bug, since it the tooltip on the hediff claims to be increasing hunger.

-Metabolic efficiency from Biotech genes ins mistakenly listed on offsets. It's a multiplier after offsets are calculated.

-Psychic hangover has been removed and replaced with Psychic breakdown which doesn't have an effect on hunger anymore.

-Stomach implants from Royalty are OFFSETS, or at least they work as such. I have no idea whether it's a bug or the tooltip is misleading, I recall checking the defs in the game's files and seeing it written as a multiplier there too, but once inside the game it's always the first modifier applied along the other offsets.

-Sleep accelerator seems to apply in a similar manner to how beds modify a pawn's immunity gain speed, and it's also a multiplier.

-Life stages don't show up as modifiers in the info card, a lower base hunger rate is displayed instead. The numbers here seem to be correct but I couldn't test in dev mode which ages correspond to which hunger rates. Needs clarification.

All the other modifiers seem to be correct.

Harakoni (talkcontribs)

The stomach implants are not offsets, but the offsets are applied to its value before multiplication takes place. Those offsets are even called "hungerRateFactorOffsets" - they offset a hungerRateFactor not hunger rates directly.

The math goes something like this: (Base value * lifespan factor) * ( stomach factor [1 if normal bio stomach] + hediff offsets [e.g. Neural supercharge]) * trait factor * gene metabolism factor


See this image for an example https://media.discordapp.net/attachments/751332348490022972/1215940202938237008/image.png?ex=65fe938f&is=65ec1e8f&hm=e558727697e0e38946df5b4883a5b26069ca162beae91e44a24ce74a5698ed4d&

Shergoidold (talkcontribs)

If the effect gets always added to offsets before other factors take place, then it's essentially an offset. It's pretty clear precisely in that formula, as it works right now it has the same place in calculations as offsets like superchargers, smokeleaf etc. It's even grouped with them in the stat info in game.

In that very example, if the nuclear stomach were a true multiplier like the gourmand trait or metabolism, the result would be 0.72 (25% of 2.88) instead of the 1.08 which is 37.5%.

Reply to "Hunger Modifiers"