byond - Modules - TypesVar Details - Proc Details

structure spawner

Structure spawner, representing something that can be spawned by gameplay logic during round or at setup

Vars

is_turfTruthy if a turf to use turf placement operations
mode_flagsOne of required gamemode flags for this to apply
path_to_spawnTypepath to effectively instanciate

Procs

applyActually spawn this if applicable
get_spawn_locationReturn effective location to spawn at
post_setupPost-Setup hook, mainly to delete unused landmarks. By default delete all non-applicable ones
validateCheck validity of spawning this

Var Details

is_turf

Truthy if a turf to use turf placement operations

mode_flags

One of required gamemode flags for this to apply

path_to_spawn

Typepath to effectively instanciate

Proc Details

apply

Actually spawn this if applicable

get_spawn_location

Return effective location to spawn at

post_setup

Post-Setup hook, mainly to delete unused landmarks. By default delete all non-applicable ones

validate

Check validity of spawning this