Power cell

Batteries.
Vars | |
charge | Current charge in cell units |
---|---|
charge_light_type | What charge lige sprite to use, null if no light |
chargerate | how much power is given every tick in a recharger |
connector_type | What connector sprite to use when in a cell charger, null if no connectors |
corrupted | If the power cell was damaged by an explosion, chance for it to become corrupted and function the same as rigged. |
empty | Does the cell start without any charge? |
grown_battery | If it's a grown that acts as a battery, add a wire overlay to it. |
maxcharge | Maximum charge in cell units |
ratingdesc | If true, the cell will state it's maximum charge in it's description |
rigged | If the cell has been booby-trapped by injecting it with plasma. Chance on use() to explode. |
Procs | |
on_reagents_del | Handles properly detaching signal hooks. |
Var Details
charge

Current charge in cell units
charge_light_type

What charge lige sprite to use, null if no light
chargerate

how much power is given every tick in a recharger
connector_type

What connector sprite to use when in a cell charger, null if no connectors
corrupted

If the power cell was damaged by an explosion, chance for it to become corrupted and function the same as rigged.
empty

Does the cell start without any charge?
grown_battery

If it's a grown that acts as a battery, add a wire overlay to it.
maxcharge

Maximum charge in cell units
ratingdesc

If true, the cell will state it's maximum charge in it's description
rigged

If the cell has been booby-trapped by injecting it with plasma. Chance on use() to explode.
Proc Details
on_reagents_del
Handles properly detaching signal hooks.