Prototype/Equipment: Difference between revisions
Jump to navigation
Jump to search
(Added prototype type to page) |
(Changed links going to the redirect Prototype to go to PrototypeBase.) |
||
Line 2: | Line 2: | ||
This type is abstract and cannot be created directly. | This type is abstract and cannot be created directly. | ||
An equipment module. Extends [[ | An equipment module. Extends [[PrototypeBase]]. | ||
== Extensions == | == Extensions == | ||
Line 16: | Line 16: | ||
== Mandatory properties == | == Mandatory properties == | ||
Inherits all properties from [[ | Inherits all properties from [[PrototypeBase]]. | ||
=== sprite === | === sprite === |
Revision as of 12:00, 16 July 2019
Basics
This type is abstract and cannot be created directly.
An equipment module. Extends PrototypeBase.
Extensions
- Prototype/ActiveDefenseEquipment active-defense-equipment
- Prototype/BatteryEquipment battery-equipment
- Prototype/BeltImmunityEquipment belt-immunity-equipment
- Prototype/EnergyShieldEquipment energy-shield-equipment
- Prototype/GeneratorEquipment generator-equipment
- Prototype/MovementBonusEquipment movement-bonus-equipment
- Prototype/NightVisionEquipment night-vision-equipment
- Prototype/RoboportEquipment roboport-equipment
- Prototype/SolarPanelEquipment solar-panel-equipment
Mandatory properties
Inherits all properties from PrototypeBase.
sprite
Type: Types/Sprite
shape
Type: Types/EquipmentShape
categories
Type: Types/table of Types/string
An array of equipment-category names. Sets the category of the quipment. It can only be inserted into grids with the same category.
energy_source
Type: Types/EnergySource
Must be an electric energy source.
Optional properties
ability_icon
Type: Types/Sprite
take_result
Type: Types/string
Default: name
of the prototype
background_color
Type: Types/Color