Stops vines/powercreep/biomass events spawning in arrivals hallways (#30504)

Co-authored-by: kanef <kanef9x@protonmail.com>
This commit is contained in:
kane-f
2021-09-05 03:52:57 +01:00
committed by GitHub
parent 7791c982cd
commit b601d3978a
3 changed files with 6 additions and 0 deletions

View File

@@ -194,6 +194,8 @@
var/list/turf/simulated/floor/Floors = new
for(var/type in typesof(/area/hallway))
if(istype(type,/area/hallway/secondary/entry)) // no spawn in arrivals, make it less annoying for latejoiners
continue
var/area/Hallway = locate(type)
for(var/turf/simulated/floor/Floor in Hallway.contents)

View File

@@ -3,6 +3,8 @@
spawn() //to stop the secrets panel hanging
var/list/turf/simulated/floor/turfs = list() //list of all the empty floor turfs in the hallway areas
for(var/areapath in typesof(/area/hallway))
if(istype(areapath,/area/hallway/secondary/entry)) //no spawn in arrivals, make it less annoying for latejoiners
continue
var/area/A = locate(areapath)
for(var/turf/simulated/floor/F in A.contents)
if(!is_blocked_turf(F) && !(locate(/obj/effect/plantsegment) in F))

View File

@@ -7,6 +7,8 @@
spawn()
var/list/turf/simulated/floor/turfs = list() //list of all the empty floor turfs in the hallway areas
for(var/areapath in typesof(/area/hallway))
if(istype(areapath,/area/hallway/secondary/entry)) //no spawn in arrivals, make it less annoying for latejoiners
continue
var/area/A = locate(areapath)
for(var/turf/simulated/floor/F in A.contents)
if(!is_blocked_turf(F))