Prototype/Sticker: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Moved CursorBoxType to type page)
(Stickers can be attached to spider vehicles)
Line 1: Line 1:
{{Prototype parent|Prototype/Entity}}
{{Prototype parent|Prototype/Entity}}
Entity that sticks to another entity, and damages/slows it. Currently stickers can only be attached to [[Prototype/Unit]], [[Prototype/Character]] and [[Prototype/Car]].
Entity that sticks to another entity, and damages/slows it. Stickers can only be attached to [[Prototype/Unit]], [[Prototype/Character]], [[Prototype/Car]] and [[Prototype/SpiderVehicle]].


{{Prototype TOC|sticker}}
{{Prototype TOC|sticker}}

Revision as of 14:37, 7 February 2022

Template:Prototype parent Entity that sticks to another entity, and damages/slows it. Stickers can only be attached to Prototype/Unit, Prototype/Character, Prototype/Car and Prototype/SpiderVehicle.

Template:Prototype TOC

Mandatory properties

This prototype inherits all the properties from Prototype/Entity.

Template:Prototype property Must be > 0.

Optional properties

Template:Prototype property

Template:Prototype property Interval between application of damage_per_tick, in ticks.

Template:Prototype property Name of an entity. If this is given, this sticker is considered a "fire sticker" for some functions, such as BaseAttackParameters#fire_penalty and EntityPrototypeFlags#.22not-flammable.22.

Template:Prototype property

Template:Prototype property

Template:Prototype property

Template:Prototype property

Template:Prototype property

Template:Prototype property Applied every damage_interval ticks, so may not necessarily be "per tick".

Template:Prototype property Less than 1 to reduce movement speed, more than 1 to increase it.

Template:Prototype property

Template:Prototype property

Template:Prototype property Less than 1 to reduce vehicle speed, more than 1 to increase it.

Template:Prototype property

Template:Prototype property

Template:Prototype property

Template:Prototype property

Template:Prototype property

Template:Prototype property Using this property marks the sticker as a "selection sticker", meaning that the selection box will be rendered around the entity when the sticker is on it.