SS1984 - Modules - Types — Proc Details

World

The byond world object stores some basic byond level config, and has a few hub specific procs for managing hub visibility

Procs

KillImmediatelyThis proc kills DreamDaemon (DreamSeeker if locally debugging) instance via rust std::process::exit(0). This is not a normal routine and it should be used under certain circumstances (like world can't shutdown itself properly) Please close spawned threads with separate PIDs (if any)
RunUnattendedFunctionsRuns after the call to Master.Initialize, but before the delay kicks in. Used to turn the world execution into some single function then exit
file2listSplits the text of a file at seperator and returns them in a list. returns an empty list if the file doesn't exist
increase_max_xHandles incresing the world's maxx var and intializing the new turfs and assigning them to the global area. If map_load_z_cutoff is passed in, it will only load turfs up to that z level, inclusive. This is because maploading will handle the turfs it loads itself.
invoke_callback_with_usrMakes a call in the context of a different usr. Use sparingly
run_performance_testsStub proc intended to be filled with code that does some test, profiles it, and logs that test. Intended to be used with line by line macros, but you should live your truth

Proc Details

KillImmediately

This proc kills DreamDaemon (DreamSeeker if locally debugging) instance via rust std::process::exit(0). This is not a normal routine and it should be used under certain circumstances (like world can't shutdown itself properly) Please close spawned threads with separate PIDs (if any)

RunUnattendedFunctions

Runs after the call to Master.Initialize, but before the delay kicks in. Used to turn the world execution into some single function then exit

file2list

Splits the text of a file at seperator and returns them in a list. returns an empty list if the file doesn't exist

increase_max_x

Handles incresing the world's maxx var and intializing the new turfs and assigning them to the global area. If map_load_z_cutoff is passed in, it will only load turfs up to that z level, inclusive. This is because maploading will handle the turfs it loads itself.

invoke_callback_with_usr

Makes a call in the context of a different usr. Use sparingly

run_performance_tests

Stub proc intended to be filled with code that does some test, profiles it, and logs that test. Intended to be used with line by line macros, but you should live your truth