machines ![code/controllers/subsystem/machines.dm 1](git.png)
Vars | |
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. |
Procs | |
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. |
Var Details
all_machines ![code/controllers/subsystem/machines.dm 11](git.png)
All machines, not just those that are processing.
machines_by_type ![code/controllers/subsystem/machines.dm 8](git.png)
Assosciative list of all machines that exist.
powernets ![code/controllers/subsystem/machines.dm 16](git.png)
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.