LuaEquipmentPrototype

class LuaEquipmentPrototype - sort
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 [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 [R] The logistic parameters for roboport equipment
energy_consumption :: double [R]
movement_bonus :: float [R]
night_vision_tint :: Color [R]
energy_source [R] The energy source prototype for the equipment.
equipment_categories :: array of string [R] Category names for this equipment.
valid :: boolean [R] Is this object valid?
help :: string [R] All methods, and properties that this object supports.

Prototype of a modular equipment.

name :: string [Read-only]

Name of this prototype.

type :: string [Read-only]

Type of this equipment prototype.

order :: string [Read-only]

Order string of this prototype.

localised_name :: LocalisedString [Read-only]

localised_description :: LocalisedString [Read-only]

shape [Read-only]

Shape of this equipment prototype. It is a table:

take_result :: LuaItemPrototype [Read-only]

The result item when taking this equipment out of an equipment grid. nil if there is no result item.

energy_production :: double [Read-only]

The max power generated by this equipment.

shield :: float [Read-only]

The shield value of this equipment. 0 for non-shield equipment.

energy_per_shield :: double [Read-only]

The energy per shield point restored. 0 for non-shield equipment.

logistic_parameters [Read-only]

The logistic parameters for roboport equipment

energy_consumption :: double [Read-only]

movement_bonus :: float [Read-only]

Can only be used if this is MovementBonusEquipmentPrototype
night_vision_tint :: Color [Read-only]

Can only be used if this is NightVisionEquipmentPrototype
energy_source [Read-only]

The energy source prototype for the equipment.

equipment_categories :: array of string [Read-only]

Category names for this equipment. These categories will be used to determine whether this equpiment is allowed in a particular equpiment grid.