Prototype/Turret: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(fixed rotating_sound type)
(0.18.35)
Line 23: Line 23:
{{Prototype property|corpse|[[Types/string|string]]|optional=true}}
{{Prototype property|corpse|[[Types/string|string]]|optional=true}}
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.
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.
{{Prototype property|attack_target_mask|[[Types/TriggerTargetMask|TriggerTargetMask]]|all masks|optional=true}}
{{Prototype property|ignore_target_mask|[[Types/TriggerTargetMask|TriggerTargetMask]]|no masks|optional=true}}


{{Prototype property|shoot_in_prepare_state|[[Types/bool|bool]]|false|optional=true}}
{{Prototype property|shoot_in_prepare_state|[[Types/bool|bool]]|false|optional=true}}
Line 78: Line 82:


{{Prototype property|prepared_alternative_sound|[[Types/Sound|Sound]]|optional=true}}
{{Prototype property|prepared_alternative_sound|[[Types/Sound|Sound]]|optional=true}}
{{Prototype property|rotating_sound|[[Types/InterruptibleSound|InterruptibleSound]]|optional=true}}


{{Prototype property|rotation_speed|[[Types/float|float]]|1|optional=true}}
{{Prototype property|rotation_speed|[[Types/float|float]]|1|optional=true}}

Revision as of 07:44, 8 July 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