Prototype/CharacterCorpse: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Added prototype type to page)
(Set prototype parent)
Line 1: Line 1:
{{Prototype parent|Prototype/Entity}}
== Basics ==
== Basics ==
Prototype type: '''character-corpse'''
Prototype type: '''character-corpse'''

Revision as of 15:16, 24 July 2019

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.