Added a ghost role with its own spawner for the purposes of chillling in the ninja holding facility.

This commit is contained in:
Useroth
2019-12-26 07:49:48 +01:00
parent 6e08366d40
commit cbff758d1a
2 changed files with 53 additions and 7 deletions
@@ -595,3 +595,45 @@
/obj/effect/mob_spawn/human/pirate/gunner
rank = "Gunner"
/obj/effect/mob_spawn/human/ghostcafe
name = "ghost cafe sleeper"
uses = -1
icon = 'icons/obj/machines/sleeper.dmi'
icon_state = "sleeper"
mob_name = "a ghost cafe visitor"
roundstart = FALSE
anchored = TRUE
density = FALSE
death = FALSE
assignedrole = "Ghost Cafe Visitor"
/obj/effect/mob_spawn/human/ghostcafe/special(mob/living/carbon/human/new_spawn)
if(new_spawn.client)
new_spawn.fully_replace_character_name(newname = new_spawn.client.prefs.real_name)
new_spawn.nameless = new_spawn.client.prefs.nameless
new_spawn.gender = new_spawn.client.prefs.gender
new_spawn.dna.features = new_spawn.client.prefs.features.Copy()
new_spawn.flavor_text = new_spawn.dna.features["flavor_text"]
new_spawn.dna.custom_species = new_spawn.client.prefs.custom_species
new_spawn.eye_color = new_spawn.client.prefs.eye_color
new_spawn.hair_color = new_spawn.client.prefs.facial_hair_color
new_spawn.skin_tone = new_spawn.client.prefs.skin_tone
new_spawn.facial_hair_style = new_spawn.client.prefs.facial_hair_style
new_spawn.hair_color = new_spawn.client.prefs.hair_color
new_spawn.hair_style = new_spawn.client.prefs.hair_style
new_spawn.saved_socks = new_spawn.client.prefs.socks
new_spawn.socks = new_spawn.client.prefs.socks
new_spawn.socks_color = new_spawn.client.prefs.socks_color
new_spawn.saved_undershirt = new_spawn.client.prefs.undershirt
new_spawn.undershirt = new_spawn.client.prefs.undershirt
new_spawn.shirt_color = new_spawn.client.prefs.shirt_color
new_spawn.saved_underwear = new_spawn.client.prefs.underwear
new_spawn.underwear = new_spawn.client.prefs.underwear
new_spawn.undie_color = new_spawn.client.prefs.undie_color
new_spawn.set_species(new_spawn.client.prefs.pref_species, icon_update=1)
new_spawn.give_genitals(TRUE)
var/datum/outfit/O = new /datum/outfit/vr()
O.equip(new_spawn)
SSjob.equip_loadout(null, new_spawn, FALSE)
SSquirks.AssignQuirks(new_spawn, new_spawn.client, TRUE, TRUE, null, FALSE, new_spawn)