mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2025-12-19 14:51:27 +00:00
14 lines
439 B
Plaintext
14 lines
439 B
Plaintext
// Forces entry and exit points
|
|
/obj/effect/mazegen/module_helper/entry_exit
|
|
name = "entrance/exit allocator"
|
|
|
|
/obj/effect/mazegen/module_helper/entry_exit/helper_run(blockwise = FALSE, obj/effect/mazegen/host)
|
|
if(blockwise)
|
|
var/turf/T = get_turf(src)
|
|
var/obj/effect/mazegen/generator/blockwise/BWG = host
|
|
T.ChangeTurf(BWG.floor_material)
|
|
else
|
|
for(var/obj/structure/window/reinforced/mazeglass/MG in get_turf(src))
|
|
qdel(MG)
|
|
|