Шаблон:CreatureInfo/doc: различия между версиями
Материал из Dwarf Fortress Wiki
Перейти к навигацииПерейти к поиску
IKlim (обсуждение | вклад) Нет описания правки |
GeloMor (обсуждение | вклад) Нет описания правки |
||
(не показано 9 промежуточных версий этого же участника) | |||
Строка 1: | Строка 1: | ||
Шаблон-наследник: [[Шаблон:Creaturelookup/0|Creaturelookup/0]] | |||
{{CreatureInfo | |||
|name=Sperm whale | |||
|symbol=W|color=7:0:0 | |||
|biome= | |||
* Any [[ocean]] | |||
|align=Neutral | |||
|size0=500000 | |||
|size1=12500000 | |||
|size2=25000000 | |||
|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=Кашалот | |||
}} | |||
== '''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 [[whale]]s) | |||
* 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<br /> | |||
* '''contrib''' = displays contribute message<br /> | |||
* '''wiki''' = links to the given wikipedia page (a value of "yes" uses the value of the parameter "name" instead)<br /> | |||
==== Butchering results ==== | |||
Usage | * '''meat''' | ||
* '''fat''' | |||
* '''brain''' | |||
* '''heart''' | |||
* '''lung''' | |||
* '''intestine''' | |||
* '''liver''' | |||
* '''kidney''' | |||
* '''tripe''' | |||
* '''sweetbread''' | |||
* '''eye''' | |||
* '''spleen''' | |||
* '''bone''' | |||
* '''skull''' | |||
* '''ivory''' | |||
* '''tooth''' | |||
* '''hoof''' | |||
* '''horn''' | |||
* '''shell''' | |||
* '''skin''' = selects skintype (and skinnable)<br /> | |||
** ''none'' -> not skinnable<br /> | |||
** ''scale'' -> scale<br /> | |||
** ''chitin'' -> chitin<br /> | |||
** ''hide'' -> raw hide<br /> | |||
* '''wool''' | |||
* '''gizzard_stone''' | |||
===Usage=== | |||
<pre><nowiki> | <pre><nowiki> | ||
{{CreatureInfo|name= | {{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 | |||
}} | }} | ||
</nowiki></pre> | </nowiki></pre> | ||
<div style="clear: both"> | <div style="clear: both"> | ||
<includeonly>[[ | <includeonly>[[Category:Шаблоны инфобоксов]][[en:Template:CreatureInfo v0.40]]</includeonly> | ||
<noinclude>[[Категория:Документация шаблонов]]</noinclude> | <noinclude>[[Категория:Документация шаблонов]][[en:Template:CreatureInfo v0.34/doc]]</noinclude> |
Текущая версия от 22:11, 15 января 2025
Шаблон-наследник: 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 }}