smesbank
The actual portable part of the portable SMES system. Pretty useless without an actual connector.
Vars | |
capacity | The charge capacity. |
---|---|
charge | The current charge. |
connected_port | The port this is connected to. |
Procs | |
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. |
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.