mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 10:21:11 +00:00
Stops vines/powercreep/biomass events spawning in arrivals hallways (#30504)
Co-authored-by: kanef <kanef9x@protonmail.com>
This commit is contained in:
@@ -194,6 +194,8 @@
|
|||||||
var/list/turf/simulated/floor/Floors = new
|
var/list/turf/simulated/floor/Floors = new
|
||||||
|
|
||||||
for(var/type in typesof(/area/hallway))
|
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)
|
var/area/Hallway = locate(type)
|
||||||
|
|
||||||
for(var/turf/simulated/floor/Floor in Hallway.contents)
|
for(var/turf/simulated/floor/Floor in Hallway.contents)
|
||||||
|
|||||||
@@ -3,6 +3,8 @@
|
|||||||
spawn() //to stop the secrets panel hanging
|
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
|
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))
|
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)
|
var/area/A = locate(areapath)
|
||||||
for(var/turf/simulated/floor/F in A.contents)
|
for(var/turf/simulated/floor/F in A.contents)
|
||||||
if(!is_blocked_turf(F) && !(locate(/obj/effect/plantsegment) in F))
|
if(!is_blocked_turf(F) && !(locate(/obj/effect/plantsegment) in F))
|
||||||
|
|||||||
@@ -7,6 +7,8 @@
|
|||||||
spawn()
|
spawn()
|
||||||
var/list/turf/simulated/floor/turfs = list() //list of all the empty floor turfs in the hallway areas
|
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))
|
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)
|
var/area/A = locate(areapath)
|
||||||
for(var/turf/simulated/floor/F in A.contents)
|
for(var/turf/simulated/floor/F in A.contents)
|
||||||
if(!is_blocked_turf(F))
|
if(!is_blocked_turf(F))
|
||||||
|
|||||||
Reference in New Issue
Block a user