Difference between revisions of "Template:Consumption Upto Adulthood"

From RimWorld Wiki
Jump to navigation Jump to search
(created template)
(No difference)

Revision as of 22:06, 10 October 2021

Returns the amount of nutrition consumed by a baby as it grows into an adult. Calculates the value of juvenile_age*baby_hunger + (adult_age - juvenile_age)*juvenile_hunger

For example, if used on Tortoise: {{Consumption Upto Adulthood}} -> 0.90288

Combine with #expr round to improve readability: {{#expr: {{Consumption Upto Adulthood}} round 2}} -> 0.9