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''':...")
 
(Added prototype type to page)
Line 1: Line 1:
== Basics ==
== Basics ==
Prototype type: '''character-corpse'''
Extends [[Prototype/Entity]].
Extends [[Prototype/Entity]].



Revision as of 16:27, 21 January 2019

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.