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.)
(Whoops forgot rounding)
Line 20: 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|Iguana}}
 
|-{{Animal Rearing Row|Husky}}
 
|-{{Animal Rearing Row|Husky}}
 
|-{{Animal Rearing Row|Boomalope}}
 
|-{{Animal Rearing Row|Boomalope}}
Line 27: Line 27:
 
| {{#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}}}|?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}}}|?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#}}|{{#show:{{{1}}}|?Daily Milk Average#}}|{{#if:{{#show:{{{1}}}|?Eggs Per Season Average}}|{{#expr:{{#show:{{{1}}}|?Eggs Per Season Average}}/15}}|-}}}}}}
+
| {{#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 round 2}}|-}}}}}}
| {{#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}}|-}}}}
+
| {{#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 round 2}}|-}}}}
 
| {{#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:36, 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
Iguana omnivorous grazer Egg (fert.) 0.26 0.07 0.25 0.32 0.787 0.74 0.99 0.75
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