Difference between revisions of "Template:Meat Production/doc"

From RimWorld Wiki
Jump to navigation Jump to search
(creating documentation)
 
m
Line 1: Line 1:
Returns the nutrition per day produced from the slaughtering of offspring. This calculations assumes that there is no time between pregnancies.
+
Returns the nutrition per day produced from the slaughtering of offspring. This calculation assumes that there is no time between pregnancies.
  
 
==Usage==
 
==Usage==

Revision as of 16:51, 22 September 2021

Returns the nutrition per day produced from the slaughtering of offspring. This calculation assumes that there is no time between pregnancies.

Usage

The first parameter, if present, will specify which animal to generate the template for. If absent, {{PAGENAME}} will be used. The second parameter determines whether the offspring are slaughtered upon birth or upon reaching adulthood. Baby for baby slaughter, Adult for adult slaughter. Defaults to Baby. The third parameter is the number of females in the system. Defaults to 1. The fourth parameter is the number of males in the system. Defaults to 0.

Examples

Single inexplicably pregnant female

{{Meat Production| Horse | Adult}}

produces: 2.5225225225225


5 males, 5 females

{{Meat Production| Horse | Adult | 5 | 5 }}

produces: 12.612612612613


Chick slaughter

{{Meat Production| Chicken | Baby}}

produces: 0.6


Chicken slaughter

{{Meat Production| Chicken | Adult}}

produces: 2.1