Prototype/ActiveDefenseEquipment: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Set prototype parent)
(Converted to SMW format)
Line 1: Line 1:
{{Prototype parent|Prototype/Equipment}}
{{Prototype parent|Prototype/Equipment}}
Used by [[discharge defense]].


== Basics ==
{{Prototype TOC|active-defense-equipment}}
Prototype type: '''active-defense-equipment'''
 
Extends [[Prototype/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.
 
If false, the equipment must have an <code>ability-icon</code> specified.


=== attack_parameters ===
{{Prototype property|attack_parameters|[[Types/AttackParameters|AttackParameters]]}}
'''Type''': [[Types/AttackParameters]]

Revision as of 20:47, 27 July 2019

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
If false, the equipment must have an ability_icon specified.

attack_parameters

Type: AttackParameters