Template:Consumption Upto Adulthood

From RimWorld Wiki
Jump to navigation Jump to search

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