Makes the monstertamer/clonexadone reaction force hatching too

This commit is contained in:
Screemonster
2018-03-11 20:20:38 +00:00
parent 031874bc6b
commit 5749b3b2a7
+12 -4
View File
@@ -57,11 +57,19 @@
if(ishuman(holder.my_atom))
var/mob/living/carbon/human/H = holder.my_atom
if(H.stat == DEAD && (/mob/living/carbon/human/proc/begin_reconstitute_form in H.verbs)) //no magical regen for non-regenners, and can't force the reaction on live ones
if(H.hasnutriment() && !H.reviving) // make sure it actually has the conditions to revive
H.visible_message("<span class='info'>[H] shudders briefly, then relaxes, faint movements stirring within.</span>")
H.chimera_regenerate()
if(H.hasnutriment()) // make sure it actually has the conditions to revive
if(!H.reviving) // if it's not reviving, start doing so
H.visible_message("<span class='info'>[H] shudders briefly, then relaxes, faint movements stirring within.</span>")
H.chimera_regenerate()
else if (/mob/living/carbon/human/proc/hatch in H.verbs)// already reviving, check if they're ready to hatch
H.chimera_hatch()
H.visible_message("<span class='danger'><p><font size=4>[H] violently convulses and then bursts open, revealing a new, intact copy in the pool of viscera.</font></p></span>") // Hope you were wearing waterproofs, doc...
H.adjustBrainLoss(10) // they're reviving from dead, so take 10 brainloss
else //they're already reviving but haven't hatched. Give a little message to tell them to wait.
H.visible_message("<span class='info'>[H] stirs faintly, but doesn't appear to be ready to wake up yet.</span>")
else
H.visible_message("<span class='info'>[H] twitches for a moment, but remains still.</span>")
H.visible_message("<span class='info'>[H] twitches for a moment, but remains still.</span>") // no nutriment
///////////////////////////////////////////////////////////////////////////////////
/// Vore Drugs