/tg/ Station 13 - Modules - Types

code/modules/admin/verbs/lua/_hooks.dm

/proc/__lua_set_set_var_wrapper Sets a global proc to call in place of just outright setting a datum's var to a given value
/proc/__lua_set_datum_proc_call_wrapper Sets a global proc to call in place of just outright calling a given proc on a datum
/proc/__lua_set_global_proc_call_wrapper Sets a global proc to call in place of just outright calling a given global proc
/proc/__lua_set_print_wrapper Sets a global proc as a wrapper for lua's print function
/proc/__lua_set_execution_limit Sets the maximum amount of time a lua chunk or function can execute without sleeping or yielding. Chunks/functions that exceed this duration will produce an error.
/proc/__lua_new_state Creates a new lua state.
/proc/__lua_load Loads a chunk of lua source code and executes it
/proc/__lua_call Calls a lua function
/proc/__lua_awaken Dequeues the task at the front of the sleep queue and resumes it
/proc/__lua_resume Removes the task at the specified index from the yield table and resumes it
/proc/__lua_get_globals Get the variables within a state's environment. Values not convertible to DM values are substituted for their types as text
/proc/__lua_get_tasks Get a list of all tasks currently in progress within a state
/proc/__lua_kill_task Kills a task in progress