ClassLuaEquipment
Members
| name | :: R string | Name of this equipment. |
Name of this equipment. | ||
| ghost_name | :: R string | Name of the equipment contained in this ghost |
Name of the equipment contained in this ghost | ||
| type | :: R string | Type of this equipment. |
Type of this equipment. | ||
| ghost_type | :: R string | Type of the equipment contained in this ghost. |
Type of the equipment contained in this ghost. | ||
| quality | :: R LuaQualityPrototype | Quality of this equipment. |
Quality of this equipment. | ||
| position | :: R EquipmentPosition | Position of this equipment in the equipment grid. |
Position of this equipment in the equipment grid. | ||
| shape | :: R table | Shape of this equipment. |
Shape of this equipment. | ||
| shield | :: RW double | Current shield value of the equipment. [...] |
Current shield value of the equipment. [...] | ||
| max_shield | :: R double | Maximum shield value. [...] |
Maximum shield value. [...] | ||
| max_solar_power | :: R double | Maximum energy per tick crated by this equipment on the current surface. [...] |
Maximum energy per tick crated by this equipment on the current surface. [...] | ||
| inventory_bonus | :: R uint32 | Inventory size bonus. |
Inventory size bonus. | ||
| movement_bonus | :: R double | Movement speed bonus. |
Movement speed bonus. | ||
| generator_power | :: R double | Energy generated per tick. |
Energy generated per tick. | ||
| energy | :: RW double | Current available energy. |
Current available energy. | ||
| max_energy | :: R double | Maximum amount of energy that can be stored in this equipment. |
Maximum amount of energy that can be stored in this equipment. | ||
| prototype | :: R LuaEquipmentPrototype | |
| ghost_prototype | :: R LuaEquipmentPrototype | The prototype of the equipment contained in this ghost. |
The prototype of the equipment contained in this ghost. | ||
| burner | :: R LuaBurner? | The burner energy source for this equipment, if any. |
The burner energy source for this equipment, if any. | ||
| to_be_removed | :: R boolean | If this equipment is marked to be removed. |
If this equipment is marked to be removed. | ||
| valid | :: R boolean | Is this object valid? [...] |
Is this object valid? [...] | ||
| object_name | :: R string | The class name of this object. [...] |
The class name of this object. [...] | ||
Attributes
name :: Read string
ghost_name :: Read string
type :: Read string
ghost_type :: Read string
quality :: Read LuaQualityPrototype
position :: Read EquipmentPosition
shield :: Read|Write double
max_shield :: Read double
max_solar_power :: Read double
inventory_bonus :: Read uint32
movement_bonus :: Read double
generator_power :: Read double
energy :: Read|Write double
max_energy :: Read double
prototype :: Read LuaEquipmentPrototype
ghost_prototype :: Read LuaEquipmentPrototype
burner :: Read LuaBurner?
to_be_removed :: Read boolean
valid :: Read boolean
object_name :: Read string
Class used in
- LuaBurner::owner
- LuaControl::opened
- LuaEquipmentGrid::take()
- LuaEquipmentGrid::put()
- LuaEquipmentGrid::can_move()
- LuaEquipmentGrid::move()
- LuaEquipmentGrid::get()
- LuaEquipmentGrid::find()
- LuaEquipmentGrid::revive()
- LuaEquipmentGrid::order_removal()
- LuaEquipmentGrid::cancel_removal()
- LuaEquipmentGrid::equipment
- LuaInventory::equipment_owner
- EquipmentID
- EquipmentWithQualityID
- RegistrationTarget
- on_equipment_inserted
- on_gui_closed
- on_gui_opened
- on_player_placed_equipment

