Шаблон:CreatureInfo: различия между версиями

Материал из Dwarf Fortress Wiki
Перейти к навигацииПерейти к поиску
Нет описания правки
м (Упрощение)
Строка 20: Строка 20:
{{infocell|{{#ifexpr:{{#expr:{{{train_hunt|0}}}+{{{train_war|0}}}>0}}
{{infocell|{{#ifexpr:{{#expr:{{{train_hunt|0}}}+{{{train_war|0}}}>0}}
|[[Animal trainer|Дрессируется]]:  {{#ifexpr:{{{train_hunt|0}}}>0|Охотничье {{Category|Охотничье животное}}|}}   {{#ifexpr:{{{train_war|0}}}>0|Боевое {{Category|Боевое животное}}|}}|Не [[Animal trainer|дрессируется]]}}}}|{{infoheader|bg=#fbb|Не приручается}}}}{{
|[[Animal trainer|Дрессируется]]:  {{#ifexpr:{{{train_hunt|0}}}>0|Охотничье {{Category|Охотничье животное}}|}}   {{#ifexpr:{{{train_war|0}}}>0|Боевое {{Category|Боевое животное}}|}}|Не [[Animal trainer|дрессируется]]}}}}|{{infoheader|bg=#fbb|Не приручается}}}}{{
#ifexpr:{{#expr:{{{size0|0}}}+{{{size1|0}}}+{{{size2|0}}}}}>0| 
#ifexpr:({{{size0|0}}}+{{{size1|0}}}+{{{size2|0}}})>0| 
{{infoheader|Размер}}
{{infoheader|Размер}}
{{infocell|{{#ifexpr:{{{size0|0}}}>0|{{inforow|'''Детёныш:'''|{{formatnum:{{{size0}}} см<sup>3</sup> }}}}
{{infocell|{{#ifexpr:{{{size0|0}}}>0|{{inforow|'''Детёныш:'''|{{formatnum:{{{size0}}} см<sup>3</sup> }}}}

Версия от 21:30, 13 сентября 2018

[Перейти] [Изменить описание]Документация

Шаблон-наследник: Creaturelookup/0

Sperm whale

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
  • 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
}}