Touching bloody objects will make your hands/gloves bloody. (#25730)

* bloody blood

* no restrictions of item blood

* PR reviews

* comment
This commit is contained in:
HMBGERDO
2024-06-25 23:31:00 +02:00
committed by GitHub
parent 457f9ff04f
commit d88ddea05c
6 changed files with 32 additions and 10 deletions
@@ -617,13 +617,10 @@ emp_act
return TRUE
/mob/living/carbon/human/proc/bloody_hands(mob/living/source, amount = 2)
if(gloves)
gloves.add_mob_blood(source)
gloves:transfer_blood = amount
else
add_mob_blood(source)
bloody_hands = amount
update_inv_gloves() //updates on-mob overlays for bloody hands and/or bloody gloves
/mob/living/carbon/human/proc/bloody_body(mob/living/source)
@@ -658,6 +655,10 @@ emp_act
var/mob/living/carbon/human/H = user
dna.species.spec_attack_hand(H, src)
if(bleed_rate && ishuman(user))
var/mob/living/carbon/human/attacker = user
attacker.bloody_hands(src)
/mob/living/carbon/human/attack_larva(mob/living/carbon/alien/larva/L)
if(..()) //successful larva bite.
var/damage = rand(1, 3)