Prototype/Beam

From Official Factorio Wiki
Revision as of 17:02, 28 March 2019 by Bilka (talk | contribs) (typo)
Jump to navigation Jump to search

Basics

Prototype type: beam

Extends Prototype/Entity.

Mandatory properties

This prototype inherits all the properties from Prototype/Entity.

width

Type: Types/double

damage_interval

Type: Types/uint32

Damage interval can't be 0. A value of 1 will cause the attack to be applied each tick.

head

Type: Types/Animation

tail

Type: Types/Animation

body

Type: Types/AnimationVariations

Must have at least 1 variation.

Optional properties

action

Type: Types/Trigger

start

Type: Types/Animation

ending

Type: Types/Animation

target_offset

Type: Types/vector

random_target_offset

Type: Types/bool

Default: false

random_end_animation_rotation

Type: Types/bool

Default: true

transparent_start_end_animations

Type: Types/bool

Default: true