mirror of
https://github.com/yogstation13/Yogstation.git
synced 2025-02-26 09:04:50 +00:00
Prevents wormholes from spawning in syndicate shuttles (#17818)
This commit is contained in:
@@ -188,10 +188,12 @@
|
|||||||
/area/shuttle/syndicate_scout
|
/area/shuttle/syndicate_scout
|
||||||
name = "Syndicate Scout"
|
name = "Syndicate Scout"
|
||||||
blob_allowed = FALSE
|
blob_allowed = FALSE
|
||||||
|
noteleport = TRUE
|
||||||
|
|
||||||
/area/shuttle/caravan
|
/area/shuttle/caravan
|
||||||
blob_allowed = FALSE
|
blob_allowed = FALSE
|
||||||
requires_power = TRUE
|
requires_power = TRUE
|
||||||
|
noteleport = TRUE
|
||||||
|
|
||||||
/area/shuttle/caravan/syndicate1
|
/area/shuttle/caravan/syndicate1
|
||||||
name = "Syndicate Fighter"
|
name = "Syndicate Fighter"
|
||||||
|
|||||||
@@ -23,7 +23,13 @@ GLOBAL_LIST_EMPTY(all_wormholes) // So we can pick wormholes to teleport to
|
|||||||
|
|
||||||
/datum/round_event/wormholes/start()
|
/datum/round_event/wormholes/start()
|
||||||
for(var/turf/open/floor/T in world)
|
for(var/turf/open/floor/T in world)
|
||||||
if(is_station_level(T.z))
|
if(!is_station_level(T.z))
|
||||||
|
continue
|
||||||
|
|
||||||
|
var/area/area = get_area(T)
|
||||||
|
if (!area || area.noteleport)
|
||||||
|
continue
|
||||||
|
|
||||||
pick_turfs += T
|
pick_turfs += T
|
||||||
|
|
||||||
for(var/i = 1, i <= number_of_wormholes, i++)
|
for(var/i = 1, i <= number_of_wormholes, i++)
|
||||||
|
|||||||
Reference in New Issue
Block a user