Prototype/LandMine

From Official Factorio Wiki
Revision as of 16:27, 21 January 2019 by BilkaBot (talk | contribs) (Added prototype type to page)
Jump to navigation Jump to search

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.