Ports Nebula's spawn blurb + makes people spawn asleep in cryo cells. (#9227)

This commit is contained in:
Matt Atlas
2020-07-01 11:20:18 +02:00
committed by GitHub
parent b9b237cddd
commit 298bdfc725
7 changed files with 145 additions and 59 deletions
+20 -6
View File
@@ -5,14 +5,17 @@
var/list/restrict_job = null
var/list/disallow_job = null
proc/check_job_spawning(job)
if(restrict_job && !(job in restrict_job))
return 0
/datum/spawnpoint/proc/check_job_spawning(job)
if(restrict_job && !(job in restrict_job))
return FALSE
if(disallow_job && (job in disallow_job))
return 0
if(disallow_job && (job in disallow_job))
return FALSE
return 1
return TRUE
/datum/spawnpoint/proc/after_join(mob/victim)
return
/datum/spawnpoint/arrivals
display_name = "Arrivals Shuttle"
@@ -33,6 +36,17 @@
..()
turfs = latejoin_cryo
/datum/spawnpoint/cryo/after_join(mob/victim)
if(!istype(victim))
return
var/area/A = get_area(victim)
for(var/obj/machinery/cryopod/C in A)
if(!C.occupant)
C.set_occupant(victim, 1)
victim.Sleeping(3)
to_chat(victim,SPAN_NOTICE("You are slowly waking up from the cryostasis aboard [current_map.full_name]. It might take a few seconds."))
return
/datum/spawnpoint/cyborg
display_name = "Cyborg Storage"
msg = "has been activated from storage"