Prototype/CharacterCorpse: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Created page with "== Basics == Extends Prototype/Entity. == Mandatory properties == This prototype inherits all the properties from Prototype/Entity. === time_to_live === '''Type''':...")
(No difference)

Revision as of 14:22, 27 June 2018

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.