Prototype/CharacterCorpse

From Official Factorio Wiki
Revision as of 14:22, 27 June 2018 by Bilka (talk | contribs) (Created page with "== Basics == Extends Prototype/Entity. == Mandatory properties == This prototype inherits all the properties from Prototype/Entity. === time_to_live === '''Type''':...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Basics

Extends Prototype/Entity.

Mandatory properties

This prototype inherits all the properties from Prototype/Entity.

time_to_live

Type: Types/uint32

Optional properties

render_layer

Type: Types/RenderLayer

Default: "object"

pictures

Type: Types/AnimationVariations

Either pictures or picture must be defined.

picture

Type: Types/Animation

Either pictures or picture must be defined.

armor_picture_mapping

Type: Types/table

Table of key value pairs, the keys are armor names and the values are numbers. The number is the Animation that is associated with the armor, e.g. using 1 will associate the armor with the first Animation in the pictures table.