Factorio Prototype DocsVersion 1.1.107

CreateExplosionTriggerEffectItem :: struct

Inherits from CreateEntityTriggerEffectItem « TriggerEffectItem

Properties

type[overridden] :: "create-entity"
entity_name :: EntityID

The name of the entity that should be created.

The name of the entity that should be created.

offset_deviation optional :: BoundingBox
trigger_created_entity optional :: bool

If true, the on_trigger_created_entity event will be raised.

If true, the on_trigger_created_entity event will be raised.

check_buildability optional :: bool
tile_collision_mask optional :: CollisionMask

Entity creation will not occur if any tile matches the collision condition. [...]

Entity creation will not occur if any tile matches the collision condition. [...]

offsets optional :: Vector or array[Vector]

If multiple offsets are specified, multiple entities are created. [...]

If multiple offsets are specified, multiple entities are created. [...]

Inherited from TriggerEffectItem
repeat_count optional :: uint16
repeat_count_deviation optional :: uint16
probability optional :: float

Must be greater than 0 and less than or equal to 1.

Must be greater than 0 and less than or equal to 1.

affects_target optional :: bool
show_in_tooltip optional :: bool
damage_type_filters optional :: DamageTypeFilters

Properties

max_movement_distance :: float optional

Default: -1

max_movement_distance_deviation :: float optional

Default: 0

inherit_movement_distance_from_projectile :: bool optional

Default: false

cycle_while_moving :: bool optional

Default: false

Overridden Properties

type :: "create-explosion"


Type used in

Prototypes

Types