Blood spread fixes and tweaks (#26048)

* blood spread fixes and tweaks

* just to make sure

* soap cant be bloodied, better check on gloves
This commit is contained in:
HMBGERDO
2024-06-26 20:57:30 +00:00
committed by GitHub
parent 211fd3c7fb
commit 936d19c0a0
9 changed files with 37 additions and 14 deletions
+1
View File
@@ -54,6 +54,7 @@ GLOBAL_DATUM_INIT(welding_sparks, /mutable_appearance, mutable_appearance('icons
/// Determines what it can pass over/through. IE. 'PASSTABLE' will allow it to pass over tables
pass_flags = PASSTABLE
pressure_resistance = 4
should_spread_blood = TRUE
var/obj/item/master
/// Flags which determine which body parts are protected from heat. Use the HEAD, UPPER_TORSO, LOWER_TORSO, etc. flags. See setup.dm
+4 -1
View File
@@ -31,6 +31,9 @@
return
target.cleaning_act(user, src, cleanspeed)
/obj/item/soap/add_blood(list/blood_dna, b_color)
return
/obj/item/soap/proc/eat_soap(mob/living/carbon/human/drask/user)
times_eaten++
playsound(user.loc, 'sound/items/eatfood.ogg', 50, 0)
@@ -96,7 +99,7 @@
if(!istype(carried_item, /obj/item/bio_chip))//If it's not an implant.
carried_item.add_mob_blood(target)//Oh yes, there will be blood...
var/mob/living/carbon/human/H = target
H.bloody_hands(target,0)
H.make_bloody_hands(H.get_blood_dna_list(), H.get_blood_color())
H.bloody_body(target)
return