Prototype/Turret: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(1.1.43: energy_glow_animation_flicker_strength added)
(1.1.51: Prototype/EntityWithOwner added)
Line 1: Line 1:
{{Prototype parent|Prototype/EntityWithHealth}}
{{Prototype parent|Prototype/EntityWithOwner}}
A turret that needs no extra ammunition. See the extensions for turrets that need some kind of ammunition.
A turret that needs no extra ammunition. See the extensions for turrets that need some kind of ammunition.


Line 10: Line 10:


== Mandatory properties ==
== Mandatory properties ==
This prototype inherits all the properties from [[Prototype/EntityWithHealth]].
This prototype inherits all the properties from [[Prototype/EntityWithOwner]].


{{Prototype property|attack_parameters|[[Types/AttackParameters|AttackParameters]]}}
{{Prototype property|attack_parameters|[[Types/AttackParameters|AttackParameters]]}}

Revision as of 19:27, 21 January 2022

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/EntityWithOwner.

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 The range of the flickering of the alpha of energy_glow_animation. Default is range 0.2, so animation alpha can be anywhere between 0.8 and 1.0.

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.