Late Join Ghost Role Things (#8466)

This commit is contained in:
Geeves
2020-03-26 21:18:30 +01:00
committed by GitHub
parent 48a6b58aaf
commit ebadb532ad
7 changed files with 42 additions and 3 deletions
+3 -2
View File
@@ -2,6 +2,7 @@
var/short_name = null
var/name = null
var/desc = null
var/show_on_job_select = TRUE
var/welcome_message = null
var/list/tags = list() //Tags associated with that spawner
@@ -66,7 +67,7 @@
var/cant_see = cant_see(user)
if(cant_see) //If we cant see it, we cant spawn it
return cant_see
if(!istype(user, /mob/abstract/observer))
if(!(istype(user, /mob/abstract/observer) || isnewplayer(user)))
return "You are not a ghost."
if(!enabled) //If the spawner id disabled, we cant spawn in
return "This spawner is not enabled."
@@ -167,4 +168,4 @@
announce_ghost_joinleave(user, 0, "They are now a [name].")
S.ckey = user.ckey
return S
return S
@@ -2,6 +2,7 @@
short_name = "maintdrone"
name = "Maintenence Drone"
desc = "Maintain and Improve the Systems on the Aurora"
show_on_job_select = FALSE
tags = list("Simple Mobs")
respawn_flag = MINISYNTH //Flag to check for when trying to spawn someone of that type (CREW, ANIMAL, MINISYNTH)
@@ -3,6 +3,7 @@
name = "Rat"
desc = "Join as a Rat on the aurora, a common nuisance to the crew."
welcome_message = "You are now a rat. Though you may interact with players, do not give any hints away that you are more than a simple rodent. Find food, avoid cats, and try to survive!"
show_on_job_select = FALSE
tags = list("Simple Mobs")
respawn_flag = ANIMAL //Flag to check for when trying to spawn someone of that type (CREW, ANIMAL, MINISYNTH)