Prototype/Sticker: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
m (→‎Basics: typo)
(Added prototype type to page)
Line 1: Line 1:
== Basics ==
== Basics ==
Prototype type: '''sticker'''
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]].
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]].



Revision as of 16:28, 21 January 2019

Basics

Prototype type: sticker

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