Merge pull request #4862 from CHOMPStation2/upstream-merge-13673

[MIRROR] Fixes licking wounds of dead/from dead
This commit is contained in:
Nadyr
2022-09-07 16:23:03 -04:00
committed by GitHub
@@ -1,12 +1,11 @@
/mob/living/carbon/human/proc/lick_wounds(var/mob/living/carbon/M as mob in range(1)) // Allows the user to lick themselves. Given how rarely this trait is used, I don't see an issue with a slight buff.
/mob/living/carbon/human/proc/lick_wounds(var/mob/living/carbon/M as mob in view(1)) // Allows the user to lick themselves. Given how rarely this trait is used, I don't see an issue with a slight buff.
set name = "Lick Wounds"
set category = "Abilities"
set desc = "Disinfect and heal small wounds with your saliva."
//CHOMPEdit Start - No longer usable while incapacitated
if(src.incapacitated())
if(stat || paralysis || weakened || stunned)
to_chat(src, "<span class='warning'>You can't do that in your current state.</span>")
return
//CHOMPEdit End
if(nutrition < 50)
to_chat(src, "<span class='warning'>You need more energy to produce antiseptic enzymes. Eat something and try again.</span>")