Difference between revisions of "Template:Animal Rearing Row"

From RimWorld Wiki
Jump to navigation Jump to search
m
(improved handling of boomalope)
Line 20: Line 20:
 
|-{{Animal Rearing Row|Chicken}}
 
|-{{Animal Rearing Row|Chicken}}
 
|-{{Animal Rearing Row|Husky}}
 
|-{{Animal Rearing Row|Husky}}
 +
|-{{Animal Rearing Row|Boomalope}}
 
|}</noinclude><includeonly>
 
|}</noinclude><includeonly>
 
|[[{{{1}}}]]
 
|[[{{{1}}}]]
 
| {{#show: {{{1}}}|?Diet}}
 
| {{#show: {{{1}}}|?Diet}}
| {{#if:{{#show:{{{1}}}|?Wool Name}}|{{#show: {{{1}}}|?Wool Name}} | {{#if:{{#show:{{{1}}}|?Daily Milk Average}}|[[Milk]]}}}}
+
| {{#if:{{#show:{{{1}}}|?Wool Name}}|{{#show: {{{1}}}|?Wool Name}} | {{#if:{{#show:{{{1}}}|?Daily Milk Average}}|{{#show: {{{1}}}|?Milk Name}}}}}}
| {{#if:{{#show:{{{1}}}|?Daily Wool Average#}}|{{#expr:{{#show:{{{1}}}|?Daily Wool Average#}}}} | {{#if:{{#show:{{{1}}}|?Daily Milk Average#}}|{{#expr:{{#show:{{{1}}}|?Daily Milk Average#}}*0.05}}}}}}
+
| {{#if:{{#show:{{{1}}}|?Daily Wool Average#}}|{{#expr:{{#show:{{{1}}}|?Daily Wool Average#}}}} | {{#if:{{#show:{{{1}}}|?Daily Milk Average#}}|{{#expr:{{#show:{{{1}}}|?Daily Milk Average#}}*{{#ifeq:{{#show:{{{1}}}|?Milk Name#}}|Milk|0.05|1}}}}}}}}
 
| {{#expr:{{Meat Production|{{{1}}}|Baby}} round 2}}
 
| {{#expr:{{Meat Production|{{{1}}}|Baby}} round 2}}
 
| {{#expr:{{Nutrition Consumption|{{{1}}}|Baby}} round 2}}
 
| {{#expr:{{Nutrition Consumption|{{{1}}}|Baby}} round 2}}
| {{#expr:({{Meat Production|{{{1}}}|Baby}} + {{#if:{{#show:{{{1}}}|?Daily Milk Average#}}|{{#expr:{{#show:{{{1}}}|?Daily Milk Average#}}*0.05}}|0}})/{{Nutrition Consumption|{{{1}}}|Baby}} round 3}}
+
| {{#expr:({{Meat Production|{{{1}}}|Baby}} + {{#ifeq:{{#show:{{{1}}}|?Milk Name#}}|Milk|{{#expr:{{#show:{{{1}}}|?Daily Milk Average#}}*0.05}}|0}})/{{Nutrition Consumption|{{{1}}}|Baby}} round 3}}
 
| {{#expr:{{Meat Production|{{{1}}}|Adult}} round 2}}
 
| {{#expr:{{Meat Production|{{{1}}}|Adult}} round 2}}
 
| {{#expr:{{Nutrition Consumption|{{{1}}}|Adult}} round 2}}
 
| {{#expr:{{Nutrition Consumption|{{{1}}}|Adult}} round 2}}
| {{#expr:({{Meat Production|{{{1}}}|Adult}} + {{#if:{{#show:{{{1}}}|?Daily Milk Average#}}|{{#expr:{{#show:{{{1}}}|?Daily Milk Average#}}*0.05}}|0}})/{{Nutrition Consumption|{{{1}}}|Adult}} round 3}}
+
| {{#expr:({{Meat Production|{{{1}}}|Adult}} + {{#ifeq:{{#show:{{{1}}}|?Milk Name#}}|Milk|{{#expr:{{#show:{{{1}}}|?Daily Milk Average#}}*0.05}}|0}})/{{Nutrition Consumption|{{{1}}}|Adult}} round 3}}
 
</includeonly>
 
</includeonly>

Revision as of 19:39, 23 September 2021

Usage: {{Animal Rearing Row|*name*}} Example:

Animal Diet Produces Produce per day Baby Slaughter Adult Slaughter
Meat Per Day Consumption Per Day Overall Efficiency Meat Per Day Consumption Per Day Overall Efficiency
Cow herbivorous Milk 0.7 0.5 0.86 1.405 2.52 2.24 1.436
Muffalo herbivorous Muffalo wool 8 0.5 0.86 0.588 2.52 2.11 1.196
Chicken herbivorous 0.6 0.22 2.679 2.1 1.68 1.253
Husky omnivorous, ovivorous 0.24 0.8 0.301 1.03 3.17 0.325
Boomalope herbivorous Chemfuel 11 0.42 0.86 0.491 2.1 2.24 0.937