mirror of
https://github.com/CHOMPstation/CHOMPstation.git
synced 2026-08-23 20:16:19 +01:00
Makes the monstertamer/clonexadone reaction force hatching too
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user