Prototype/ActiveDefenseEquipment: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Converted to SMW format)
(1.1.36: ability_icon removed)
Line 8: Line 8:


{{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]]}}

Revision as of 17:38, 30 July 2021

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


Used by discharge 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