Types/TriggerDelivery: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Created page with "A types/tables. The table is loaded as one of the #Extensions, depending on the value of the <code>type</code> key in the table. == type == '''Type''': Types/string...")
 
(added optional properties)
Line 4: Line 4:
'''Type''': [[Types/string]]
'''Type''': [[Types/string]]


Mandatory member. Either "instant", "projectile", "flame-thrower", "beam", "stream", or "artillery".
Mandatory property. Either "instant", "projectile", "flame-thrower", "beam", "stream", or "artillery".
* If this is <code>"instant"</code>, that definition is loaded as a [[Types/InstantTriggerDelivery]],
* If this is <code>"instant"</code>, that definition is loaded as a [[Types/InstantTriggerDelivery]],
* If this is <code>"projectile"</code>, that definition is loaded as a [[Types/ProjectileTriggerDelivery]],
* If this is <code>"projectile"</code>, that definition is loaded as a [[Types/ProjectileTriggerDelivery]],
Line 19: Line 19:
* [[Types/StreamTriggerDelivery]]
* [[Types/StreamTriggerDelivery]]
* [[Types/ArtilleryTriggerDelivery]]
* [[Types/ArtilleryTriggerDelivery]]
== Optional properties ==
=== source_effects ===
'''Type''': [[Types/TriggerEffect]]
=== target_effects ===
'''Type''': [[Types/TriggerEffect]]

Revision as of 15:55, 24 August 2018

A types/tables. The table is loaded as one of the #Extensions, depending on the value of the type key in the table.

type

Type: Types/string

Mandatory property. Either "instant", "projectile", "flame-thrower", "beam", "stream", or "artillery".

Extensions

Optional properties

source_effects

Type: Types/TriggerEffect

target_effects

Type: Types/TriggerEffect