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

holodeck

Vars

activeTRUE if the holodeck is using extra power because of a program, FALSE otherwise
bottom_leftbottom left corner of the loading room, used for placing
damagedincreases the holodeck cooldown if TRUE, causing the holodeck to take longer to allow loading new programs
emag_programsstores all of the restricted holodeck map templates that this computer has access to
linkedthe area that this holodeck loads templates into, used for power and deleting holo objects that leave it
mapped_start_areawhat area type this holodeck loads into. linked turns into the nearest instance of this area
offline_programthe default program loaded by this holodeck when spawned and when deactivated
programwhat program is loaded right now or is about to be loaded
program_cachestores all of the unrestricted holodeck map templates that this computer has access to
program_typesubtypes of this (but not this itself) are loadable programs
spawnedevery holo object created by the holodeck goes in here to track it
spawning_simulationif TRUE the holodeck is busy spawning another simulation and should immediately stop loading the newest one
special_locsspecial locs that can mess with derez'ing holo spawned objects
templatethe currently used map template

Procs

derezthis qdels holoitems that should no longer exist for whatever reason
emergency_shutdownshuts down the holodeck and force loads the offline_program
finish_spawnfinalizes objects in the spawned list
floorcheckreturns TRUE if all floors of the holodeck are present, returns FALSE if any are broken or removed
generate_program_listadds all programs that this holodeck has access to, and separates the restricted and unrestricted ones
load_programloads the template whose id string it was given ("offline_program" loads datum/map_template/holodeck/offline)
nerfchanges all weapons in the holodeck to do stamina damage if set
reset_to_defaultTo be used on destroy, mainly to prevent sleeping inside well, destroy. Missing a lot of the things contained in load_program

Var Details

active

TRUE if the holodeck is using extra power because of a program, FALSE otherwise

bottom_left

bottom left corner of the loading room, used for placing

damaged

increases the holodeck cooldown if TRUE, causing the holodeck to take longer to allow loading new programs

emag_programs

stores all of the restricted holodeck map templates that this computer has access to

linked

the area that this holodeck loads templates into, used for power and deleting holo objects that leave it

mapped_start_area

what area type this holodeck loads into. linked turns into the nearest instance of this area

offline_program

the default program loaded by this holodeck when spawned and when deactivated

program

what program is loaded right now or is about to be loaded

program_cache

stores all of the unrestricted holodeck map templates that this computer has access to

program_type

subtypes of this (but not this itself) are loadable programs

spawned

every holo object created by the holodeck goes in here to track it

spawning_simulation

if TRUE the holodeck is busy spawning another simulation and should immediately stop loading the newest one

special_locs

special locs that can mess with derez'ing holo spawned objects

template

the currently used map template

Proc Details

derez

this qdels holoitems that should no longer exist for whatever reason

emergency_shutdown

shuts down the holodeck and force loads the offline_program

finish_spawn

finalizes objects in the spawned list

floorcheck

returns TRUE if all floors of the holodeck are present, returns FALSE if any are broken or removed

generate_program_list

adds all programs that this holodeck has access to, and separates the restricted and unrestricted ones

load_program

loads the template whose id string it was given ("offline_program" loads datum/map_template/holodeck/offline)

nerf

changes all weapons in the holodeck to do stamina damage if set

reset_to_default

To be used on destroy, mainly to prevent sleeping inside well, destroy. Missing a lot of the things contained in load_program