From 216e80303b414f48783f713f18b41bcfc3901678 Mon Sep 17 00:00:00 2001 From: Qwertytoforty <52090703+Qwertytoforty@users.noreply.github.com> Date: Sun, 18 Jul 2021 10:37:13 -0400 Subject: [PATCH] Lets revivers potentially heal you out of shock --- code/modules/surgery/organs/augments_internal.dm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/code/modules/surgery/organs/augments_internal.dm b/code/modules/surgery/organs/augments_internal.dm index 319f044f449..00abe28ff71 100644 --- a/code/modules/surgery/organs/augments_internal.dm +++ b/code/modules/surgery/organs/augments_internal.dm @@ -336,7 +336,7 @@ /obj/item/organ/internal/cyberimp/chest/reviver name = "Reviver implant" - desc = "This implant will attempt to revive you if you lose consciousness. For the faint of heart!" + desc = "This implant will attempt to heal you out of critical condition. For the faint of heart!" icon_state = "chest_implant" implant_color = "#AD0000" origin_tech = "materials=5;programming=4;biotech=4" @@ -361,6 +361,11 @@ addtimer(CALLBACK(src, .proc/heal), 30) else reviving = FALSE + if(owner.HasDisease(new /datum/disease/critical/shock(0)) && prob(15)) //If they are no longer in crit, but have shock, and pass a 15% chance: + for(var/datum/disease/critical/shock/S in owner.viruses) + S.cure() + revive_cost += 150 + to_chat(owner, "You feel better.") return cooldown = revive_cost + world.time revive_cost = 0