Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/region_allocator

Vars

custom_admin_regionsdirect references to custom admin made regions to prevent garbage collection

Procs

allocateCalling this proc will give you an access to a region of the map where you can do whatever you want. (Usually load a prefab or generate some room or something like that). This region is not guaranteed to be empty of things so clean it up before use. To free up the region just delete the /datum/allocated_region object or drop all references to it. See /datum/allocated_region for details.

Var Details

custom_admin_regions

direct references to custom admin made regions to prevent garbage collection

Proc Details

allocate

Calling this proc will give you an access to a region of the map where you can do whatever you want. (Usually load a prefab or generate some room or something like that). This region is not guaranteed to be empty of things so clean it up before use. To free up the region just delete the /datum/allocated_region object or drop all references to it. See /datum/allocated_region for details.