Prototype/Corpse

From Official Factorio Wiki
Revision as of 20:04, 17 January 2018 by Bilka (talk | contribs) (Created page with "==Basics== Extends Prototype/Entity. Used for corpses, for example the remnants when destroying buildings. == Properties == === dying_speed === '''Type''': Types/float...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Basics

Extends Prototype/Entity. Used for corpses, for example the remnants when destroying buildings.

Properties

dying_speed

Type: Types/float

Default: 1

Multiplier for #time_before_shading_off and #time_before_removed.

splash_speed

Type: Types/float

Default: 1

time_before_shading_off

Type: Types/int32

Default: 60 * 15 (15 seconds)

Controls how long the corpse takes to fade, as in how long it takes to get from no transparency to full tranparency/removed. This time is not added to #time_before_removed, it is instead substracted from it. So by default, the corpse starts fading about 15 seconds before it gets removed.

time_before_removed

Type: Types/int32

Default: 60 * 120 (120 seconds)

Time in ticks this corpse lasts.

final_render_layer

Type: Types/RenderLayer

Default: "corpse"

animation

Type: Types/RotatedAnimationVariations

splash

Type: Types/AnimationVariations

ground_patch

Type: Types/AnimationVariations

ground_patch_higher

Type: Types/AnimationVariations