Yogstation 13 - Modules - TypesVar Details - Proc Details

mind machine hub

Vars

activeAre the occupants currently getting mindswapped?
blacklisted_mobsA list of mobs that cannot be swapped to/from.
chargeHow much charges does this hub have?
completion_timeHow long does it take to fully complete a mindswap?
costHow much charges are required to mindswap?
delaytransfer_activeIs the transfer being delayed?
delaytransfer_permittedCan delay transferred be used?
fail_chanceIf not rigged (and not delayed), what is the chance of failure?
fail_regardlessShould the next completed mindswap fail?
firstPodThe first connected mind machine pod.
icon_screenThe current icon of the screen.
secondPodThe second connected mind machine pod.
silicon_permittedCan silicons be mindswapped?
transfer_by_delayWas the transfer started by a delay?

Procs

activateIf not active, activates the hub and locks the pods.
can_mindswapChecks if they meet the requirements to mindswap.
connect_podsConnects pods to itself & connects itself to the pods.
deactivateIf active, deactivates the hubs and opens the pods.
determine_mindswap_typeReturns what type of mindswapping we should do.
disconnect_podsDisconnects pods from itself & disconnects itself from the pods.
handle_mindswapMindswaps the two occupants based on their determined mindswap type.
initiate_mindswapSafely attempts to mindswap, performs any required checks, aborts if checks fail.
mindswap_nonsentientSwitches various factors between two non-sentient animals.
mindswap_sentientMindswaps the two occupants (which one is sentient).
try_connect_podsFinds the two nearest mind machine pods and use them for connect_pods if possible.

Var Details

active

Are the occupants currently getting mindswapped?

blacklisted_mobs

A list of mobs that cannot be swapped to/from.

charge

How much charges does this hub have?

completion_time

How long does it take to fully complete a mindswap?

cost

How much charges are required to mindswap?

delaytransfer_active

Is the transfer being delayed?

delaytransfer_permitted

Can delay transferred be used?

fail_chance

If not rigged (and not delayed), what is the chance of failure?

fail_regardless

Should the next completed mindswap fail?

firstPod

The first connected mind machine pod.

icon_screen

The current icon of the screen.

secondPod

The second connected mind machine pod.

silicon_permitted

Can silicons be mindswapped?

transfer_by_delay

Was the transfer started by a delay?

Proc Details

activate

If not active, activates the hub and locks the pods.

can_mindswap

Checks if they meet the requirements to mindswap.

connect_pods

Connects pods to itself & connects itself to the pods.

deactivate

If active, deactivates the hubs and opens the pods.

determine_mindswap_type

Returns what type of mindswapping we should do.

disconnect_pods

Disconnects pods from itself & disconnects itself from the pods.

handle_mindswap

Mindswaps the two occupants based on their determined mindswap type.

initiate_mindswap

Safely attempts to mindswap, performs any required checks, aborts if checks fail.

mindswap_nonsentient

Switches various factors between two non-sentient animals.

mindswap_sentient

Mindswaps the two occupants (which one is sentient).

try_connect_pods

Finds the two nearest mind machine pods and use them for connect_pods if possible.