Merge pull request #584 from Citadel-Station-13/upstream-merge-26385

[MIRROR] Ghosts fresh clones instantly instead of waiting
This commit is contained in:
LetterJay
2017-04-27 12:52:51 -05:00
committed by GitHub
+5 -8
View File
@@ -204,11 +204,13 @@
clonemind.transfer_to(H)
H.grab_ghost()
to_chat(H, "<span class='notice'><b>Consciousness slowly creeps over you as your body regenerates.</b><br><i>So this is what cloning feels like?</i></span>")
if(grab_ghost_when == CLONER_FRESH_CLONE)
H.grab_ghost()
to_chat(H, "<span class='notice'><b>Consciousness slowly creeps over you as your body regenerates.</b><br><i>So this is what cloning feels like?</i></span>")
if(grab_ghost_when == CLONER_MATURE_CLONE)
addtimer(CALLBACK(src, .proc/occupant_dreams), 100)
H.ghostize(TRUE) //Only does anything if they were still in their old body and not already a ghost
to_chat(H.get_ghost(TRUE), "<span class='notice'>Your body is beginning to regenerate in a cloning pod. You will become conscious when it is complete.</span>")
if(H)
H.faction |= factions
@@ -219,11 +221,6 @@
attempting = FALSE
return TRUE
/obj/machinery/clonepod/proc/occupant_dreams()
if(occupant)
to_chat(occupant, "<span class='revennotice'>While your body grows, you have the strangest dream, like you can see yourself from the outside.</span>")
occupant.ghostize(TRUE)
//Grow clones to maturity then kick them out. FREELOADERS
/obj/machinery/clonepod/process()