mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-15 17:13:46 +01:00
Merge pull request #14289 from Dovixx/SSD-portal
Makes the list SSDs and AFKs panel spawn the NT SSD teleportation portal
This commit is contained in:
@@ -784,6 +784,9 @@
|
||||
if(free_cryopods.len)
|
||||
target_cryopod = safepick(free_cryopods)
|
||||
if(target_cryopod.check_occupant_allowed(person_to_cryo))
|
||||
var/turf/T = get_turf(person_to_cryo)
|
||||
var/obj/effect/portal/SP = new /obj/effect/portal(T, null, null, 40)
|
||||
SP.name = "NT SSD Teleportation Portal"
|
||||
target_cryopod.take_occupant(person_to_cryo, 1)
|
||||
return 1
|
||||
return 0
|
||||
|
||||
@@ -66,9 +66,7 @@
|
||||
if(!is_station_level(T.z))
|
||||
return
|
||||
var/area/A = get_area(src)
|
||||
if(cryo_ssd(src))
|
||||
var/obj/effect/portal/P = new /obj/effect/portal(T, null, null, 40)
|
||||
P.name = "NT SSD Teleportation Portal"
|
||||
cryo_ssd(src)
|
||||
if(A.fast_despawn)
|
||||
force_cryo_human(src)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user