mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-24 04:27:35 +01:00
Merge pull request #7848 from KasparoVy/splat
Splatter Lands 1 Tile Away in Target Dir & Xeno-blood Splatter Colour Fix
This commit is contained in:
@@ -132,18 +132,27 @@
|
||||
taste_message = "floor cleaner"
|
||||
|
||||
/datum/reagent/space_cleaner/reaction_obj(obj/O, volume)
|
||||
if(istype(O, /obj/effect/decal/cleanable))
|
||||
qdel(O)
|
||||
if(is_cleanable(O))
|
||||
var/obj/effect/decal/cleanable/blood/B = O
|
||||
if(!(istype(B) && B.off_floor))
|
||||
qdel(O)
|
||||
else
|
||||
O.color = initial(O.color)
|
||||
if(!istype(O, /atom/movable/lighting_overlay))
|
||||
O.color = initial(O.color)
|
||||
O.clean_blood()
|
||||
|
||||
/datum/reagent/space_cleaner/reaction_turf(turf/T, volume)
|
||||
if(volume >= 1)
|
||||
T.color = initial(T.color)
|
||||
T.clean_blood()
|
||||
var/floor_only = TRUE
|
||||
for(var/obj/effect/decal/cleanable/C in src)
|
||||
qdel(C)
|
||||
var/obj/effect/decal/cleanable/blood/B = C
|
||||
if(istype(B) && B.off_floor)
|
||||
floor_only = FALSE
|
||||
else
|
||||
qdel(C)
|
||||
T.color = initial(T.color)
|
||||
if(floor_only)
|
||||
T.clean_blood()
|
||||
|
||||
for(var/mob/living/carbon/slime/M in T)
|
||||
M.adjustToxLoss(rand(5,10))
|
||||
|
||||
Reference in New Issue
Block a user