Factorio Prototype DocsVersion 2.1.8

CreateExplosionTriggerEffectItem - Prototype Docs

CreateExplosionTriggerEffectItem :: struct

Inherits from CreateEntityTriggerEffectItem « TriggerEffectItem

Properties

type[overridden] :: "create-explosion"
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 :: boolean

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 :: boolean
preserve_ghosts_and_corpsesnew optional :: boolean

If true, colliding ghosts and corpses will not be removed by the creation of some entity types.

If true, colliding ghosts and corpses will not be removed by the creation of some entity types.

show_details_in_tooltipnew optional :: boolean
only_when_visible optional :: boolean

Create the entity only when they are within a 200 tile range of any connected player.

Create the entity only when they are within a 200 tile range of any connected player.

tile_collision_maskchanged optional :: TileCollisionMaskConnector

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 :: array[Vector]

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

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

as_enemy optional :: boolean

If true, creates the entity as a member of the enemy force. [...]

If true, creates the entity as a member of the enemy force. [...]

ignore_no_enemies_mode optional :: boolean

If true and as_enemy is true, allows the entity to be created even if the current surface.no_enemies_mode is true.

If true and as_enemy is true, allows the entity to be created even if the current surface.no_enemies_mode is true.

find_non_colliding_position optional :: boolean
abort_if_over_space optional :: boolean
non_colliding_search_radius optional :: double
non_colliding_search_precision optional :: double
non_colliding_fail_result optional :: Trigger

Only loaded if find_non_colliding_position is defined.

Only loaded if find_non_colliding_position is defined.

protected optional :: boolean

The result entity will be protected from automated attacks of enemies.

The result entity will be protected from automated attacks of enemies.

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 :: boolean
show_in_tooltip optional :: boolean
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 :: boolean optional

Default: false

cycle_while_moving :: boolean optional

Default: false

Overridden Properties

type :: "create-explosion"


Type used in
Fulltext search

Prototypes

Types

Defines

Fulltext search for