Prototype/ActiveDefenseEquipment: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Converted to SMW format)
m (Protected "Prototype/ActiveDefenseEquipment": Migrated prototype doc to separate website ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
'''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/ActiveDefenseEquipmentPrototype.html https://lua-api.factorio.com/latest/prototypes/ActiveDefenseEquipmentPrototype.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 [https://forums.factorio.com/viewforum.php?f=233 on the forums].
{{Prototype parent|Prototype/Equipment}}
{{Prototype parent|Prototype/Equipment}}
Used by [[discharge defense]].
Used by [[discharge defense]] and [[personal laser defense]].


{{Prototype TOC|active-defense-equipment}}
{{Prototype TOC|active-defense-equipment}}
Line 8: Line 14:


{{Prototype property|automatic|[[Types/bool|bool]]}}
{{Prototype property|automatic|[[Types/bool|bool]]}}
If false, the equipment must have an <code>ability_icon</code> specified.


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

Latest revision as of 09:27, 16 August 2023

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


Prototype definitions » PrototypeBase » Prototype/Equipment » Prototype/ActiveDefenseEquipment


Used by discharge defense and personal laser defense.


Prototype/ActiveDefenseEquipment — active-defense-equipment
attack_parameters::AttackParameters
automatic::bool
Inherited from Prototype/Equipment
categories::table of string
energy_source::EnergySource
shape::EquipmentShape
sprite::Sprite
background_border_color::Color (optional)
background_color::Color (optional)
grabbed_background_color::Color (optional)
take_result::string (optional)
Inherited from PrototypeBase
name::string
type::string
localised_description::LocalisedString (optional)
localised_name::LocalisedString (optional)
order::Order (optional)

Mandatory properties

This prototype inherits all the properties from Prototype/Equipment.

automatic

Type: bool

attack_parameters

Type: AttackParameters