Prototype/FluidTurret: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
m (→‎Mandatory properties: used relevant field name instead of "ammo buffer")
(Removed old prototype docs)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Prototype parent|Prototype/Turret}}
<div class="stub"><p>'''The prototype docs have moved to a new website with an improved format.''' This documentation page can now be found here: [https://lua-api.factorio.com/latest/prototypes/FluidTurretPrototype.html https://lua-api.factorio.com/latest/prototypes/FluidTurretPrototype.html]
A turret that consumes fluid as ammo.


{{Prototype TOC|fluid-turret}}
</p><p>This wiki page is no longer updated and '''will be removed at some point in the future''', so please update your browser bookmarks or other links that sent you here. If you'd like to contribute to the new docs, you can leave your feedback [https://forums.factorio.com/viewforum.php?f=233 on the forums].</p></div>
 
== Mandatory properties ==
This prototype inherits all the properties from [[Prototype/Turret]].
 
{{Prototype property|fluid_buffer_size|[[Types/float|float]]}}
 
{{Prototype property|fluid_buffer_input_flow|[[Types/float|float]]}}
 
{{Prototype property|activation_buffer_ratio|[[Types/float|float]]}}
Before an ammoless turret is able to fire, the fluid_buffer_size must fill to this proportion.
 
{{Prototype property|fluid_box|[[Types/FluidBox|FluidBox]]}}
 
== Optional properties ==
 
{{Prototype property|muzzle_light|[[Types/LightDefinition|LightDefinition]]|optional=true}}
 
{{Prototype property|enough_fuel_indicator_light|[[Types/LightDefinition|LightDefinition]]|optional=true}}
 
{{Prototype property|not_enough_fuel_indicator_light|[[Types/LightDefinition|LightDefinition]]|optional=true}}
 
{{Prototype property|muzzle_animation|[[Types/Animation|Animation]]|optional=true}}
 
{{Prototype property|folded_muzzle_animation_shift|[[Types/AnimatedVector|AnimatedVector]]|optional=true}}
 
{{Prototype property|preparing_muzzle_animation_shift|[[Types/AnimatedVector|AnimatedVector]]|optional=true}}
 
{{Prototype property|prepared_muzzle_animation_shift|[[Types/AnimatedVector|AnimatedVector]]|optional=true}}
 
{{Prototype property|starting_attack_muzzle_animation_shift|[[Types/AnimatedVector|AnimatedVector]]|optional=true}}
 
{{Prototype property|attacking_muzzle_animation_shift|[[Types/AnimatedVector|AnimatedVector]]|optional=true}}
 
{{Prototype property|ending_attack_muzzle_animation_shift|[[Types/AnimatedVector|AnimatedVector]]|optional=true}}
 
{{Prototype property|folding_muzzle_animation_shift|[[Types/AnimatedVector|AnimatedVector]]|optional=true}}
 
{{Prototype property|enough_fuel_indicator_picture|[[Types/Sprite4Way|Sprite4Way]]|optional=true}}
 
{{Prototype property|not_enough_fuel_indicator_picture|[[Types/Sprite4Way|Sprite4Way]]|optional=true}}
 
{{Prototype property|out_of_ammo_alert_icon|[[Types/Sprite|Sprite]]|optional=true}}
 
== Mandatory values ==
Fluid turret can have only stream attack parameters.
 
Fluid turret has to have turret_base_has_direction=true.

Latest revision as of 14:32, 25 October 2024

The prototype docs have moved to a new website with an improved format. This documentation page can now be found here: https://lua-api.factorio.com/latest/prototypes/FluidTurretPrototype.html

This wiki page is no longer updated and will be removed at some point in the future, so please update your browser bookmarks or other links that sent you here. If you'd like to contribute to the new docs, you can leave your feedback on the forums.