Prototype/LandMine: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Created page with "== Basics == A land mine. Extends Prototype/EntityWithHealth. == Mandatory properties == This prototype inherits all the properties from [[Prototype/EntityWithHealth]...")
 
(Added prototype type to page)
Line 1: Line 1:
== Basics ==
== Basics ==
Prototype type: '''land-mine'''
A [[land mine]]. Extends [[Prototype/EntityWithHealth]].
A [[land mine]]. Extends [[Prototype/EntityWithHealth]].



Revision as of 16:27, 21 January 2019

Basics

Prototype type: land-mine

A land mine. Extends Prototype/EntityWithHealth.

Mandatory properties

This prototype inherits all the properties from Prototype/EntityWithHealth.

picture_safe

Type: Types/Sprite

The sprite of the landmine before it is armed (just after placing).

picture_set

Type: Types/Sprite

The sprite of the landmine of a friendly force when it is armed.

trigger_radius

Type: Types/double

Optional properties

picture_set_enemy

Type: Types/Sprite

The sprite of the landmine of an enemy force when it is armed.

timeout

Type: Types/uint32

Default: 120

Time between placing and the landmine being armed, in ticks.

action

Type: Types/Trigger

ammo_category

Type: Types/string

Name of a Prototype/AmmoCategory.

force_die_on_attack

Type: Types/bool

Default: true

Force the landmine to kill itself when exploding.