This commit is contained in:
quotefox
2022-03-27 14:12:54 +01:00
parent 2eb025f8ed
commit 979cd1fd48
5 changed files with 41 additions and 15 deletions
+5
View File
@@ -187,6 +187,11 @@
desc = "You're in major pain!"
icon_state = "pain_major"
/obj/screen/alert/painshock
name = "Neurogenic Shock"
desc = "You are in so much pain, you risk going into shock!"
icon_state = "pain_shock"
/obj/screen/alert/gross
name = "Grossed out."
desc = "That was kind of gross..."
+11
View File
@@ -502,6 +502,10 @@
var/obj/effect/proc_holder/spell/spell = S
spell.updateButtonIcon()
if(iscarbon(src)) //pain cooldown
var/mob/living/carbon/C = src
C.pain_cooldown = 20
//proc used to completely heal a mob.
/mob/living/proc/fully_heal(admin_revive = 0)
restore_blood()
@@ -542,6 +546,13 @@
for(var/organ in C.internal_organs)
var/obj/item/organ/O = organ
O.setOrganDamage(0)
//Heal pain
if(iscarbon(src))
var/mob/living/carbon/C = src
for(var/obj/item/bodypart/X in C.bodyparts)
X.pain_dam = 0
SEND_SIGNAL(src, COMSIG_LIVING_FULLY_HEAL, admin_revive)
//fuck shitcode I hate shitcode