From 5749b3b2a72a2bf137c41fd1f1cae23a282fe87d Mon Sep 17 00:00:00 2001 From: Screemonster Date: Sun, 11 Mar 2018 20:20:38 +0000 Subject: [PATCH] Makes the monstertamer/clonexadone reaction force hatching too --- code/modules/reagents/Chemistry-Recipes_vr.dm | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/code/modules/reagents/Chemistry-Recipes_vr.dm b/code/modules/reagents/Chemistry-Recipes_vr.dm index ed94d5a05b..fe8731a0a1 100644 --- a/code/modules/reagents/Chemistry-Recipes_vr.dm +++ b/code/modules/reagents/Chemistry-Recipes_vr.dm @@ -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("[H] shudders briefly, then relaxes, faint movements stirring within.") - 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("[H] shudders briefly, then relaxes, faint movements stirring within.") + 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("

[H] violently convulses and then bursts open, revealing a new, intact copy in the pool of viscera.

") // 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("[H] stirs faintly, but doesn't appear to be ready to wake up yet.") else - H.visible_message("[H] twitches for a moment, but remains still.") + H.visible_message("[H] twitches for a moment, but remains still.") // no nutriment + /////////////////////////////////////////////////////////////////////////////////// /// Vore Drugs