Difference between revisions of "Template:Animals/Row"
Jump to navigation
Jump to search
m |
(moved meat production calculation to Template:Meat_Production) |
||
Line 12: | Line 12: | ||
</noinclude><includeonly> | </noinclude><includeonly> | ||
<!--Nutrition efficiency calculation--> | <!--Nutrition efficiency calculation--> | ||
− | {{#vardefine:default_animal|Horse}}{{#vardefine:females|9}}{{#vardefine:males|1 | + | {{#vardefine:default_animal|Horse}}{{#vardefine:females|9}}{{#vardefine:males|1}} |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | }} | ||
{{#vardefine:milk_nutrition_production | {{#vardefine:milk_nutrition_production | ||
| {{#if: {{#show: {{{1|{{#var:default_animal}}}}}|?Milk Amount#}} | | {{#if: {{#show: {{{1|{{#var:default_animal}}}}}|?Milk Amount#}} | ||
Line 44: | Line 20: | ||
}} | }} | ||
{{#vardefine:baby_slaughter_production | {{#vardefine:baby_slaughter_production | ||
− | | {{#expr:{{#var: | + | | {{#expr:{{Meat Production| {{{1|{{#show:{{#var:default_animal}}|?Name}}}}} | Baby | {{#var:females}} | {{#var:males}}}} + {{#var:milk_nutrition_production}}}} |
}}{{#vardefine:baby_slaughter_consumption | }}{{#vardefine:baby_slaughter_consumption | ||
| {{#expr:(({{#var:females}} + {{#var:males}})*{{#show: {{{1|{{#var:default_animal}}}}}|?Base Hunger Rate#}}*1.6)}} | | {{#expr:(({{#var:females}} + {{#var:males}})*{{#show: {{{1|{{#var:default_animal}}}}}|?Base Hunger Rate#}}*1.6)}} | ||
}} | }} | ||
{{#vardefine:adult_slaughter_production | {{#vardefine:adult_slaughter_production | ||
− | | {{#expr: | + | | {{#expr:{{Meat Production| {{{1|{{#show:{{#var:default_animal}}|?Name}}}}} | Adult | {{#var:females}} | {{#var:males}}}} + {{#var:milk_nutrition_production}}}} |
}} | }} | ||
{{#vardefine:adult_slaughter_consumption | {{#vardefine:adult_slaughter_consumption |
Revision as of 16:58, 22 September 2021
This template pulls the data from each animal's individual page and formats it into a neat row summary. It is only intended for use on the List of animals page.
Usage: {{Animals/Row|*name*}}
The template takes a single parameter, the name of the animal being referenced, which must be the exact name of the animal's main page. The parameter defaults to "Wild boar" if not given - used for testing/preview.
Example:
Animal | Type | Wildness | Min. Handling Skill | Guard | Attack | Rescue | Haul | Diet | Hunger Rate[1] | Average DPS | Move Speed | Manhunter (Hunt) |
Manhunter (Tame) |
Filth Rate[2] | Meat Yield[3] | Leather Yield[4] | Market Value | Life Expectancy (Years) | Maturity Age (Years) | Gestation Period (Days)[5] | Nuzzle Interval (Hours)[6] | Nutrition Efficiency (adult slaughter)[7] | Nutrition Efficiency (baby slaughter)[7] |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Yorkshire terrier | Animal | 0% | 0 | 0.24 | 1.09 | 3.1 | 0% | 0% | 1 | 45 | 20 | 100 | 15 | 0.3 | 10 | 12 | 0.55 | 0.62
|
- ↑ Nutrition lost per day.
- ↑ The average amount of filth produced on constructed floors per 1000 cells walked.
- ↑ Amounts given are at 100% butchery efficiency.
- ↑ Amounts given are at 100% butchery efficiency.
- ↑ For egglayers, this is both the incubation period and the egg-laying interval.
- ↑ Mean time between nuzzles.
- ↑ 7.0 7.1 Nutrition out from meat and milk for each nutrition in, calculated for a system of 9 adult females and 1 adult male, with the assumptions of constant pregnancy and immediate milking.