Prototype/Turret: Difference between revisions
Jump to navigation
Jump to search
(0.18.15: rotating_sound, folded_animation mandatory) |
(fixed rotating_sound type) |
||
Line 79: | Line 79: | ||
{{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/ | {{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 11:33, 6 April 2020
Template:Prototype parent A turret that needs no extra ammunition. See the extensions for turrets that need some kind of ammunition.
Extensions
- Prototype/AmmoTurret ammo-turret
- Prototype/ElectricTurret electric-turret
- Prototype/FluidTurret fluid-turret
Mandatory properties
This prototype inherits all the properties from Prototype/EntityWithHealth.
Template:Prototype property Requires ammo_type in attack_parameters.
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
The intensity of light in the form of energy_glow_animation
drawn on top of energy_glow_animation
.