Шаблон:CreatureInfo: различия между версиями
Материал из Dwarf Fortress Wiki
Перейти к навигацииПерейти к поиску
GeloMor (обсуждение | вклад) Нет описания правки |
GeloMor (обсуждение | вклад) Нет описания правки |
||
Строка 25: | Строка 25: | ||
#ifexpr:({{{size0|0}}}+{{{size1|0}}}+{{{size2|0}}})>0| | #ifexpr:({{{size0|0}}}+{{{size1|0}}}+{{{size2|0}}})>0| | ||
{{infoheader|[[Size|Размер]]}} | {{infoheader|[[Size|Размер]]}} | ||
{{infocell|{{#ifexpr:{{{size0|0}}}>0|{{inforow|'''Детёныш:'''|{{formatnum:{{{size0}}} см<sup>3</sup> | {{infocell|{{#ifexpr:{{{size0|0}}}>0|{{inforow|'''Детёныш:'''|{{formatnum:{{{size0}}}}} см<sup>3</sup>}} | ||
{{#ifexpr:{{{size1|0}}}>0|{{inforow|'''Подросток:'''|{{formatnum:{{{size1}}} см<sup>3</sup> | {{#ifexpr:{{{size1|0}}}>0|{{inforow|'''Подросток:'''|{{formatnum:{{{size1}}}}} см<sup>3</sup> }}}} | ||
|{{#ifexpr:{{{size1|0}}}>0|{{inforow|'''Детёныш:'''|{{formatnum:{{{size1}}} см<sup>3</sup> | |{{#ifexpr:{{{size1|0}}}>0|{{inforow|'''Детёныш:'''|{{formatnum:{{{size1}}}}} см<sup>3</sup> }}}}}} | ||
{{#ifexpr:{{{size2|0}}}>0|{{inforow|'''Взрослый:'''|{{formatnum:{{{size2}}} см<sup>3</sup> | {{#ifexpr:{{{size2|0}}}>0|{{inforow|'''Взрослый:'''|{{formatnum:{{{size2}}}}} см<sup>3</sup> }}}}}}||}} | ||
{{#if:{{{eggs|}}}|{{infoheader|[[Food|Пищевые продукты]]}} | {{#if:{{{eggs|}}}|{{infoheader|[[Food|Пищевые продукты]]}} | ||
{{#if:{{{eggs|}}}|{{inforow|[[Egg|Яйца]]|{{{eggs}}}}}}}}}{{ | {{#if:{{{eggs|}}}|{{inforow|[[Egg|Яйца]]|{{{eggs}}}}}}}}}{{ |
Версия от 07:40, 26 сентября 2023
[Перейти] [Изменить описание]Документация
Шаблон-наследник: Creaturelookup/0
W
| |
Биом | |
---|---|
| |
Не приручается | |
Размер | |
Детёныш: | 500 000 см3 |
Подросток: | 12 500 000 см3 |
Взрослый: | 25 000 000 см3 |
Результат разделки | |
Съедобные части | |
Мясо | 574-773 |
Жир | 107-236 |
Мозг | 42-60 |
Сердце | 21-30 |
Легкие | 84-120 |
Кишки | 127-180 |
Печень | 42-60 |
Почки | 42-60 |
Желудок | 42-60 |
Поджелудочная | 21-30 |
Глаза | 2 |
Селезенка | 21-30 |
Сырье и материалы | |
Кости | 109-157 |
Череп | 1 |
CreatureInfo
- It is possible to display Itemcorpses (for example bronze colossus).
- It is possible to display [NOT_BUTCHERABLE] ( for example magma crab).
- Unnecessary lines are not displayed (like hooves for whales)
- Alignment (good evil savage) integrated, but not displayed if it is neutral
- Pet attributes shown if the creature can be tamed
Variables
General
- name = name of the creature
- symbol = symbol of the creature
- color = color of the symbol
- align = alignment
- good -> good alignment is displayed
- evil -> evil alignment is displayed
- savage -> savage alignment is displayed
- neutral or nothing -> alignment is ignored
- biome = list of the biomes
- pet attributes = list of pet attributes
- petv = pet value
- train -> can be trained at a kennel
- death = selects caption for "what happens after death"
- rot -> rotting leaves
- item -> turns after Death to
- item = if death=item then item description
- nobutcher -> creature can not be butchered
- butcher or nothing -> butchering returns
- valm = Value multiplier returns nothing when left out
- contrib = displays contribute message
- wiki = links to the given wikipedia page (a value of "yes" uses the value of the parameter "name" instead)
Butchering results
- meat
- fat
- brain
- heart
- lung
- intestine
- liver
- kidney
- tripe
- sweetbread
- eye
- spleen
- bone
- skull
- ivory
- tooth
- hoof
- horn
- shell
- skin = selects skintype (and skinnable)
- none -> not skinnable
- scale -> scale
- chitin -> chitin
- hide -> raw hide
- none -> not skinnable
- wool
- gizzard_stone
Usage
{{CreatureInfo v0.34 |name=Sperm whale |symbol=W|color=7:0:0 |biome=* Any [[ocean]] |align=neutral |meat=574-773 |fat=107-236 |eye=2 |lung=84-120 |heart=21-30 |intestine=127-180 |liver=42-60 |tripe=42-60 |sweetbread=21-30 |spleen=21-30 |kidney=42-60 |brain=42-60 |bone=109-157 |skull=1 |contrib=no |wiki=yes }}