Template:Animal Infobox

From Anvil Empires Wiki
Jump to navigation Jump to search

This template defines the table "animals". View table.

Template-info.svg Documentation

Usage

{{Animal Infobox
|IsReleasedAndEnabled=
|ContentLang=
|CodeNameString=
|NameText=
|Icon=
|Behaviour=
|MaxHealth=
|HealthRegen=
|HealthRegenDelay=
|AttackDamage=
|ResourceHitpoints=
|RequiredTool=
|TrapTime=
}}

Details

This template is used by all non vehicle animals.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
IsReleasedAndEnabledIsReleasedAndEnabled

If this animal is active in the current build or if its unreleased or removed from the game.

Default
Yes
Example
No
Booleansuggested
ContentLangContentLang

Content Language, legacy field from before the french wiki split.

Default
en
Stringsuggested
CodeNameStringCodeNameString

Game codename for the animal , used as the primary ID. Game data value.

Example
BerryRations
Stringrequired
NameTextNameText

Ingame name for the animal

Default
{{PAGENAME}}
Stringrequired
IconIcon

Game icon image for the animal, is set to a default image if none is set.

Default
DefaultImage.png
Example
IconFirepit.png
Stringsuggested
BehaviourBehaviour

Animals behaviour state, Passive, Netrual (only attacks after being attacked) or Aggressive

Stringsuggested
MaxHealthMaxHealth

Health number for the animal. Game data value.

Numbersuggested
HealthRegenHealthRegen

Health regen rate per second. Game data value.

Numberoptional
HealthRegenDelayHealthRegenDelay

Health regen delay, regen will start after this amount of seconds. Game data value.

Numberoptional
AttackDamageAttackDamage

Animals raw attack damage per attack. Game data value.

Numbersuggested
ResourceHitpointsResourceHitpoints

Number of tool hits to harvest the animal resource. Value is 100% effectiveness. Game data value.

Numbersuggested
RequiredToolRequiredTool

Tool required to harvest animal husk. Game data value.

Stringsuggested
TrapTimeTrapTime

Amount of time in seconds animal will be trapped by a Trap. Game data value.

Numberoptional
The above documentation is transcluded from Template:Animal Infobox/doc.[edit | history | purge]