Difference between revisions of "Template:Animal Rearing Row"

From RimWorld Wiki
Jump to navigation Jump to search
(Adding eggs to consideration, as it was present in the previous (manual) version of the table. Also splitting nutrition from produce so 1) absolute production is shown and 2) so that nutrtion can be sorted for correctly without non-edibles getting in the way.)
Line 6: Line 6:
 
! rowspan=2 | Diet
 
! rowspan=2 | Diet
 
! rowspan=2 | Produces
 
! rowspan=2 | Produces
! rowspan=2 | <abbr title="Units of nutrition for milk, items of wool for wool">Produce per day</abbr>
+
! rowspan=2 | Produce per day
 +
! rowspan=2 | Produced Nutrition per day
 
! colspan=3 | Baby Slaughter
 
! colspan=3 | Baby Slaughter
 
! colspan=3 | Adult Slaughter
 
! colspan=3 | Adult Slaughter
Line 19: Line 20:
 
|-{{Animal Rearing Row|Muffalo}}
 
|-{{Animal Rearing Row|Muffalo}}
 
|-{{Animal Rearing Row|Chicken}}
 
|-{{Animal Rearing Row|Chicken}}
 +
|-{{Animal Rearing Row|Cobra}}
 
|-{{Animal Rearing Row|Husky}}
 
|-{{Animal Rearing Row|Husky}}
 
|-{{Animal Rearing Row|Boomalope}}
 
|-{{Animal Rearing Row|Boomalope}}
 
|}</noinclude><includeonly>
 
|}</noinclude><includeonly>
|[[{{{1}}}]]
+
|[[{{{1}}}]]{{#show:Chicken egg (fert.)|Nutrition}}
 
| {{#show: {{{1}}}|?Diet}}
 
| {{#show: {{{1}}}|?Diet}}
| {{#if:{{#show:{{{1}}}|?Wool Name}}|{{#show: {{{1}}}|?Wool Name}} | {{#if:{{#show:{{{1}}}|?Daily Milk Average}}|{{#show: {{{1}}}|?Milk Name}}|-}}}}
+
| {{#if:{{#show:{{{1}}}|?Wool Name}}|{{#show: {{{1}}}|?Wool Name}} | {{#if:{{#show:{{{1}}}|?Daily Milk Average}}|{{#show: {{{1}}}|?Milk Name}}| {{#if:{{#show:{{{1}}}|?Eggs Per Season Average}}|[[{{{1}}} egg (fert.)|Egg (fert.)]]{{#ifeq:{{#show:{{{1}}}|?Can Lay Unfertilized Eggs}}|true|<nowiki> </nowiki>& [[{{{1}}} egg (unfert.)|(unfert.)]]}}|-}}}}}}
| {{#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}}}}|-}}}}
+
| {{#if:{{#show:{{{1}}}|?Daily Wool Average#}}|{{#expr:{{#show:{{{1}}}|?Daily Wool Average#}}}} | {{#if:{{#show:{{{1}}}|?Daily Milk Average#}}|{{#show:{{{1}}}|?Daily Milk Average#}}|{{#if:{{#show:{{{1}}}|?Eggs Per Season Average}}|{{#expr:{{#show:{{{1}}}|?Eggs Per Season Average}}/15}}|-}}}}}}
 +
| {{#if:{{#show:{{#show:{{{1}}}|?Milk Name#}}|?Nutrition}}|{{#expr:{{#show:{{{1}}}|?Daily Milk Average#}}*{{#show:Milk|?Nutrition#}}}}|{{#if:{{#show:{{{1}}}|?Eggs Per Season Average}}|{{#expr:{{#show:{{{1}}} egg (fert.)|?Nutrition}}*{{#show:{{{1}}}|?Eggs Per Season Average}}/15}}|-}}}}
 
| {{#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}}

Revision as of 11:30, 24 September 2021

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

Animal Diet Produces Produce per day Produced Nutrition 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 14 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 Egg (fert.) & (unfert.) 1 0.25 0.6 0.22 2.679 2.1 1.68 1.253
Cobra carnivorous, ovivorous Egg (fert.) 0.15 0.0375 0.11 0.11 1.004 0.27 0.44 0.618
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