Prototype/ActiveDefenseEquipment: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Added prototype type to page)
m (Protected "Prototype/ActiveDefenseEquipment": Migrated prototype doc to separate website ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
== Basics ==
'''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]
Prototype type: '''active-defense-equipment'''


Extends [[Prototype/Equipment]].
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}}
Used by [[discharge defense]] and [[personal laser defense]].
 
{{Prototype TOC|active-defense-equipment}}


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


=== automatic ===
{{Prototype property|automatic|[[Types/bool|bool]]}}
'''Type''': [[Types/bool]]
 
If false, the equipment must have an <code>ability-icon</code> specified.


=== attack_parameters ===
{{Prototype property|attack_parameters|[[Types/AttackParameters|AttackParameters]]}}
'''Type''': [[Types/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