Prototype/LandMine: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Converted to SMW format)
(1.1.51: trigger_collision_mask added)
Line 32: Line 32:


{{Prototype property|trigger_force|[[Types/ForceCondition|ForceCondition]]|"enemy"|optional=true}}
{{Prototype property|trigger_force|[[Types/ForceCondition|ForceCondition]]|"enemy"|optional=true}}
{{Prototype property|trigger_collision_mask|[[Types/CollisionMask|CollisionMask]]|<nowiki>{"item-layer", "object-layer", "player-layer", "water-tile"}</nowiki>|optional=true}}
Collision mask that another entity must collide with to make this landmine blow up.

Revision as of 17:37, 21 January 2022

Template:Prototype parent A land mine.

Template:Prototype TOC

Mandatory properties

This prototype inherits all the properties from Prototype/EntityWithHealth.

Template:Prototype property The sprite of the landmine before it is armed (just after placing).

Template:Prototype property The sprite of the landmine of a friendly force when it is armed.

Template:Prototype property

Optional properties

Template:Prototype property The sprite of the landmine of an enemy force when it is armed.

Template:Prototype property Time between placing and the landmine being armed, in ticks.

Template:Prototype property

Template:Prototype property Name of a Prototype/AmmoCategory.

Template:Prototype property Force the landmine to kill itself when exploding.

Template:Prototype property

Template:Prototype property Collision mask that another entity must collide with to make this landmine blow up.