Prototype of a modular equipment.
name :: string [R] | Name of this prototype. |
type :: string [R] | Type of this equipment prototype. |
order :: string [R] | Order string of this prototype. |
localised_name :: LocalisedString [R] | |
localised_description :: LocalisedString [R] | |
shape :: table [R] | Shape of this equipment prototype. |
take_result :: LuaItemPrototype [R] | The result item when taking this equipment out of an equipment grid. |
energy_production :: double [R] | The max power generated by this equipment. |
shield :: float [R] | The shield value of this equipment. |
energy_per_shield :: double [R] | The energy per shield point restored. |
logistic_parameters :: table [R] | The logistic parameters for this roboport equipment. |
energy_consumption :: double [R] | |
movement_bonus :: float [R] | |
energy_source :: LuaElectricEnergySourcePrototype [R] | The energy source prototype for the equipment. |
equipment_categories :: array[string] [R] | Category names for this equipment. |
burner_prototype :: LuaBurnerPrototype [R] | The burner energy source prototype this equipment uses or nil . |
electric_energy_source_prototype :: LuaElectricEnergySourcePrototype [R] | The electric energy source prototype this equipment uses or nil . |
background_color :: Color [R] | The background color of this equipment prototype. |
attack_parameters :: AttackParameters [R] | The equipment attack parameters or nil . |
automatic :: boolean [R] | Is this active defense equipment automatic. |
valid :: boolean [R] | Is this object valid? |
object_name :: string [R] | The class name of this object. |
help() → string | All methods and properties that this object supports. |
Name of this prototype.
Type of this equipment prototype.
Order string of this prototype.
Shape of this equipment prototype.
Table with the following fields:
The result item when taking this equipment out of an equipment grid. nil
if there is no result item.
The max power generated by this equipment.
The shield value of this equipment. 0 for non-shield equipment.
The energy per shield point restored. 0 for non-shield equipment.
The logistic parameters for this roboport equipment.
Table with the following fields:
charging_station_shift
and stationing_offset
vectors are tables with x
and y
keys instead of an array.
The energy source prototype for the equipment.
Category names for this equipment. These categories will be used to determine whether this equipment is allowed in a particular equipment grid.
The burner energy source prototype this equipment uses or nil
.
The electric energy source prototype this equipment uses or nil
.
The background color of this equipment prototype.
The equipment attack parameters or nil
.
Is this active defense equipment automatic. Returns false if not active defense equipment.