mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-24 05:38:15 +01:00
Merge pull request #4862 from CHOMPStation2/upstream-merge-13673
[MIRROR] Fixes licking wounds of dead/from dead
This commit is contained in:
@@ -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>")
|
||||
|
||||
Reference in New Issue
Block a user