Merge pull request #5120 from VOREStation/upstream-merge-6115

[MIRROR] Sterilizine Hurts Slimes
This commit is contained in:
Novacat
2019-04-22 01:35:26 -04:00
committed by GitHub
2 changed files with 44 additions and 0 deletions
@@ -967,6 +967,14 @@
for(var/obj/effect/decal/cleanable/blood/B in T)
qdel(B)
/datum/reagent/sterilizine/touch_mob(var/mob/living/L, var/amount)
if(istype(L))
if(istype(L, /mob/living/simple_mob/slime))
var/mob/living/simple_mob/slime/S = L
S.adjustToxLoss(rand(15, 25) * amount) // Does more damage than water.
S.visible_message("<span class='warning'>[S]'s flesh sizzles where the fluid touches it!</span>", "<span class='danger'>Your flesh burns in the fluid!</span>")
remove_self(amount)
/datum/reagent/leporazine
name = "Leporazine"
id = "leporazine"