Shiptest 13 - Modules - TypesVar Details - Proc Details

cell

Vars

cell_can_be_removedCan this cell be removed from the parent?
cell_overlayOur reference to the cell overlay
equipmentThe item reference to parent.
has_cell_overlaysDo we have cell overlays to be applied?
inserted_cellOur reference to the inserted cell, which will be stored in the parent.
on_cell_removedCallback interaction for when the cell is removed.
power_use_amountHow much power do we use each process?

Procs

insert_cellHandling of cell insertion.
remove_cellHandling of cell removal.
simple_power_useThe basic way of processing the cell, with included feedback.

Var Details

cell_can_be_removed

Can this cell be removed from the parent?

cell_overlay

Our reference to the cell overlay

equipment

The item reference to parent.

has_cell_overlays

Do we have cell overlays to be applied?

inserted_cell

Our reference to the inserted cell, which will be stored in the parent.

on_cell_removed

Callback interaction for when the cell is removed.

power_use_amount

How much power do we use each process?

Proc Details

insert_cell

Handling of cell insertion.

remove_cell

Handling of cell removal.

simple_power_use

The basic way of processing the cell, with included feedback.

This proc is the basic way of processing the cell, with included feedback. It will return a bitflag if it failed to use the power, or COMPONENT_POWER_SUCCESS if it succeeds. Arguments: