Merge pull request #6115 from Mechoid/SterilizineTheThinkingXenobiologistsWeapon

Sterilizine Hurts Slimes
This commit is contained in:
Neerti
2019-04-22 01:25:15 -04:00
committed by VirgoBot
parent f507d4a26f
commit d9a7b5705c
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"