Prototype/Sticker: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Created page with "== Basics == Entity that sticks to another entity, and damages/slows it. Currently sticke5rs can only be attached to Prototype/Unit and Prototype/Character. Extends ...")
 
m (→‎Basics: typo)
Line 1: Line 1:
== Basics ==
== Basics ==
Entity that sticks to another entity, and damages/slows it. Currently sticke5rs can only be attached to [[Prototype/Unit]] and [[Prototype/Character]]. Extends [[Prototype/Entity]].
Entity that sticks to another entity, and damages/slows it. Currently stickers can only be attached to [[Prototype/Unit]] and [[Prototype/Character]]. Extends [[Prototype/Entity]].


== Mandatory properties ==
== Mandatory properties ==

Revision as of 19:35, 27 May 2018

Basics

Entity that sticks to another entity, and damages/slows it. Currently stickers can only be attached to Prototype/Unit and Prototype/Character. Extends Prototype/Entity.

Mandatory properties

This prototype inherits all the properties from Prototype/Entity.

duration_in_ticks

Type: Types/uint32

target_movement_modifier

Type: Types/float

Less than 1 to reduce movement speed, more than 1 to increase it.

Optional properties

damage_per_tick

Type: Types/DamagePrototype

animation

Type: Types/Animation

spread_fire_entity

Type: Types/string

Name of an entity.

fire_spread_cooldown

Type: Types/uint8

Default: 30

fire_spread_radius

Type: Types/float

Default: 1