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

air

Vars

atmos_machineryA list of machines that will be processed when currentpart == SSAIR_ATMOSMACHINERY. Use SSair.begin_processing_machine and SSair.stop_processing_machine to add and remove machines.
currentrunA cache of objects that perisists between processing runs when resumed == TRUE. Dangerous, qdel'd objects not cleared from this may cause runtimes on processing.

Procs

add_to_activeAdds a turf to active processing, handles duplicates. Call this with blockchanges == TRUE if you want to nuke the assoc excited group
remove_from_activeRemoves a turf from processing, and causes its excited group to clean up so things properly adapt to the change
sleep_active_turfPuts an active turf to sleep so it doesn't process. Do this without cleaning up its excited group.
start_processing_machineAdds a given machine to the processing system for SSAIR_ATMOSMACHINERY processing.
stop_processing_machineRemoves a given machine to the processing system for SSAIR_ATMOSMACHINERY processing.

Var Details

atmos_machinery

A list of machines that will be processed when currentpart == SSAIR_ATMOSMACHINERY. Use SSair.begin_processing_machine and SSair.stop_processing_machine to add and remove machines.

currentrun

A cache of objects that perisists between processing runs when resumed == TRUE. Dangerous, qdel'd objects not cleared from this may cause runtimes on processing.

Proc Details

add_to_active

Adds a turf to active processing, handles duplicates. Call this with blockchanges == TRUE if you want to nuke the assoc excited group

remove_from_active

Removes a turf from processing, and causes its excited group to clean up so things properly adapt to the change

sleep_active_turf

Puts an active turf to sleep so it doesn't process. Do this without cleaning up its excited group.

start_processing_machine

Adds a given machine to the processing system for SSAIR_ATMOSMACHINERY processing.

This should be fast, so no error checking is done. If you start adding in things you shouldn't, you'll cause runtimes every 2 seconds for every object you added. Do not use irresponsibly. Arguments:

stop_processing_machine

Removes a given machine to the processing system for SSAIR_ATMOSMACHINERY processing.

This should be fast, so no error checking is done. If you call this proc when your machine isn't processing, you're likely attempting to remove something that isn't in a list with over 1000 objects, twice. Do not use irresponsibly. Arguments: