Prototype/CharacterCorpse

From Official Factorio Wiki
Revision as of 15:16, 24 July 2019 by Bilka (talk | contribs) (Set prototype parent)
Jump to navigation Jump to search

Prototype definitions » PrototypeBase » Prototype/Entity » Prototype/CharacterCorpse


Basics

Prototype type: character-corpse

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.