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

machines

Vars

all_machinesAll machines, not just those that are processing.
machines_by_typeAssosciative list of all machines that exist.
powernetsList of all powernets on the server.

Procs

get_machines_by_typeGets a list of all machines that are the exact passed type.
get_machines_by_type_and_subtypesGets a list of all machines that are either the passed type or a subtype.
register_machineRegisters a machine with the machine subsystem; should only be called by the machine itself during its creation.
unregister_machineRemoves a machine from the machine subsystem; should only be called by the machine itself inside Destroy.

Var Details

all_machines

All machines, not just those that are processing.

machines_by_type

Assosciative list of all machines that exist.

powernets

List of all powernets on the server.

Proc Details

get_machines_by_type

Gets a list of all machines that are the exact passed type.

get_machines_by_type_and_subtypes

Gets a list of all machines that are either the passed type or a subtype.

register_machine

Registers a machine with the machine subsystem; should only be called by the machine itself during its creation.

unregister_machine

Removes a machine from the machine subsystem; should only be called by the machine itself inside Destroy.