/datum/component/cell
Vars | |
cell_insert | If the component requires a cell to be inserted to work instead of having an integrated one |
---|---|
charge | Current charge of power cell |
charge_drain | If draining charge on process(), how much to drain per process call |
charge_examine_range | From how many tiles at the highest someone can examine the parent to see the charge |
display_charge | If the parent should show cell charge on examine |
hit_charge | If the component can be recharged by hitting its parent with a cell |
initial_max_charge | Initial max charge of the power cell |
inserted_cell | Ref to an inserted cell. Should only be null if cell_insert is false |
max_charge | Maximum charge of the power cell, set to -1 for infinite charge |
max_recharge_tick | The maximum amount that can be recharged per tick when using a cell to recharge this component |
Var Details
cell_insert
If the component requires a cell to be inserted to work instead of having an integrated one
charge
Current charge of power cell
charge_drain
If draining charge on process(), how much to drain per process call
charge_examine_range
From how many tiles at the highest someone can examine the parent to see the charge
display_charge
If the parent should show cell charge on examine
hit_charge
If the component can be recharged by hitting its parent with a cell
initial_max_charge
Initial max charge of the power cell
inserted_cell
Ref to an inserted cell. Should only be null if cell_insert is false
max_charge
Maximum charge of the power cell, set to -1 for infinite charge
max_recharge_tick
The maximum amount that can be recharged per tick when using a cell to recharge this component