Prototype/Turret: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(0.18.35)
(1.0.0: added spawn_decorations_on_expansion, spawn_decoration)
Line 112: Line 112:


{{Prototype property|alert_when_attacking|[[Types/bool|bool]]|true|optional=true}}
{{Prototype property|alert_when_attacking|[[Types/bool|bool]]|true|optional=true}}
{{Prototype property|spawn_decorations_on_expansion|[[Types/bool|bool]]|false|optional=true}}
Whether <code>spawn_decoration</code> should be spawned when enemies [[Enemies#Expansions|expand]].
{{Prototype property|spawn_decoration|[[Types/CreateDecorativesTriggerEffectItem|CreateDecorativesTriggerEffectItem]] or [[Types/table|table]] of [[Types/CreateDecorativesTriggerEffectItem|CreateDecorativesTriggerEffectItem]]|optional=true}}
A single [[Types/CreateDecorativesTriggerEffectItem|CreateDecorativesTriggerEffectItem]] or an array of them. Decoratives to be created when the spawner is created by the [[map generator]]. Placed when enemies expand if <code>spawn_decorations_on_expansion</code> is set to true.

Revision as of 11:21, 8 September 2020

Template:Prototype parent A turret that needs no extra ammunition. See the extensions for turrets that need some kind of ammunition.

Template:Prototype TOC

Extensions

Mandatory properties

This prototype inherits all the properties from Prototype/EntityWithHealth.

Template:Prototype property Requires ammo_type in attack_parameters.

Template:Prototype property

Template:Prototype property

Optional properties

Template:Prototype property The name of an entity. Note that this overrides how EntityWithHealth loads the corpse, forcing it to be a string instead of an array of strings.

Template:Prototype property

Template:Prototype property

Template:Prototype property

Template:Prototype property

Template:Prototype property

Template:Prototype property

Template:Prototype property

Template:Prototype property

Template:Prototype property

Template:Prototype property

Template:Prototype property

Template:Prototype property

Template:Prototype property

Template:Prototype property

Template:Prototype property

Template:Prototype property

Template:Prototype property

Template:Prototype property

Template:Prototype property

Template:Prototype property

Template:Prototype property

Template:Prototype property

Template:Prototype property The intensity of light in the form of energy_glow_animation drawn on top of energy_glow_animation.

Template:Prototype property

Template:Prototype property

Template:Prototype property

Template:Prototype property

Template:Prototype property

Template:Prototype property

Template:Prototype property

Template:Prototype property

Template:Prototype property

Template:Prototype property

Template:Prototype property

Template:Prototype property

Template:Prototype property

Template:Prototype property

Template:Prototype property

Template:Prototype property

Template:Prototype property

Template:Prototype property

Template:Prototype property

Template:Prototype property

Template:Prototype property

Template:Prototype property Whether spawn_decoration should be spawned when enemies expand.

Template:Prototype property A single CreateDecorativesTriggerEffectItem or an array of them. Decoratives to be created when the spawner is created by the map generator. Placed when enemies expand if spawn_decorations_on_expansion is set to true.