New custom outfit managers, select equipment refactor and spawn with outfit on transform/reincarnate

This commit is contained in:
Mark van Alphen
2019-06-09 21:46:41 +02:00
parent 10ef2311ab
commit 8234881a2a
13 changed files with 637 additions and 114 deletions
+4 -1
View File
@@ -766,14 +766,17 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp
/mob/dead/observer/proc/incarnate_ghost()
if(!client)
return
var/mob/living/carbon/human/new_char = new(get_turf(src))
client.prefs.copy_to(new_char)
if(mind)
mind.active = 1
mind.active = TRUE
mind.transfer_to(new_char)
else
new_char.key = key
return new_char
/mob/dead/observer/is_literate()
return TRUE