Template:Entity infobox/doc

From Vintage Story Wiki
< Template:Entity infobox
Revision as of 12:22, 13 August 2023 by FuzzyBot (talk | contribs) (Updating to match new version of source page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Other languages:
Surface drifter
"Surface monster"Normal Drifter.png
Type Humanoid
Behavior Hostile[[::Category:Hostile creatures| ]]
Health 12
Base attack 2.5
Tier: 0
Spawn
Light level: 7
Blocks: Air, Tall grass
Y level: 0.85 to 2
Group size: 1 ± 3
Drops
Grid Flax fibers.pngFlax fibers 20%
Gear-temporal.pngTemporal gear 2.66%
Gear-rusty.pngRusty gear 1%


This template creates an infobox for entities in the game.

It uses the templates {{Infobox}}, {{Infobox row}} (also named {{IRow}}) and {{Spawn}}.

Parameter Description Type Required or Optional, default if applicable Example
name The name of the entity String Required Surface drifter
subtitle A smaller text shown below the name String Optional Surface monster
image An image filename to be displayed beneath the name
(no "File:" prefix or ".png" suffix required)
file name Required Normal_Drifter
align Override to align this box differently left, right or center Optional right
type The entity's type
(can be a link to another wiki page)
Wikitext Optional Humanoid
behavior The entity's behavior towards players
(can be a link to another wiki page)
Wikitext Optional 12
health The entity's life points Number Optional 12
attack The entity's attack power (HP) Number Optional 2.5
tier The tier of the entity's damages Number Required if attack is defined 0
light The max light level required for the entity to spawn number Optional 7
blocks The type of blocks where the entity will spawn on number Optional Tall grass
groupsize How many entities are spawned at the same time string Optional 1 ± 3
ylevel The altitude where the entity will spawn (0=the mantle, 1=the highest in the sky) string Optional 0.85 to 2
Drops List of items droped by the dead entity when it is harvested code Optional See Template:IRow