/tg/ Station 13 - Modules - TypesVar Details - Proc Details

smesbank

The actual portable part of the portable SMES system. Pretty useless without an actual connector.

Vars

capacityThe charge capacity.
chargeThe current charge.
connected_portThe port this is connected to.

Procs

adjust_chargeAdjusts the charge of the portable SMES. See SMES code.
connect_portAttempt to connect the portable SMES to a given connector. Adapted from portable atmos connection code.
disconnect_portDisconnects the portable SMES from its assigned connector, if it has any. Also adapted from portable atmos connection code.
mapped_setupAttempt to locate, connect to, and activate a portable connector, for pre-mapped portable SMESes.
set_chargeSets the charge of the portable SMES. See SMES code.

Var Details

capacity

The charge capacity.

charge

The current charge.

connected_port

The port this is connected to.

Proc Details

adjust_charge

Adjusts the charge of the portable SMES. See SMES code.

connect_port

Attempt to connect the portable SMES to a given connector. Adapted from portable atmos connection code.

disconnect_port

Disconnects the portable SMES from its assigned connector, if it has any. Also adapted from portable atmos connection code.

mapped_setup

Attempt to locate, connect to, and activate a portable connector, for pre-mapped portable SMESes.

set_charge

Sets the charge of the portable SMES. See SMES code.