makes black terrors and white terrors better (#21814)

* makes black terrors and white terrors better

* I expect you to die

* Update code/modules/mob/living/simple_animal/hostile/terror_spiders/black.dm

Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com>

---------

Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com>
This commit is contained in:
GDN
2023-07-27 15:55:36 +01:00
committed by GitHub
co-authored by Contrabang
parent 10aca7d9f1
commit 1cc69a7316
2 changed files with 5 additions and 3 deletions
@@ -34,12 +34,13 @@
if(L.reagents.has_reagent("terror_black_toxin", 100))
return ..()
var/inject_target = pick("chest", "head")
if(L.IsStunned() || L.can_inject(null, FALSE, inject_target, FALSE))
L.adjustStaminaLoss(30)
L.attack_animal(src)
if(L.can_inject(null, FALSE, inject_target, FALSE) || (HAS_TRAIT(L, TRAIT_HANDS_BLOCKED) && HAS_TRAIT(L, TRAIT_IMMOBILIZED)))
L.reagents.add_reagent("terror_black_toxin", 30) // inject our special poison
visible_message("<span class='danger'>[src] buries its long fangs deep into the [inject_target] of [target]!</span>")
else
visible_message("<span class='danger'>[src] bites [target], but cannot inject venom into [target.p_their()] [inject_target]!</span>")
L.attack_animal(src)
if(!ckey && (!(target in enemies) || L.reagents.has_reagent("terror_black_toxin", 60)))
step_away(src, L)
step_away(src, L)
@@ -40,7 +40,8 @@
var/inject_target = pick("chest","head")
L.attack_animal(src)
L.KnockDown(10 SECONDS)
if(L.IsStunned() || L.IsParalyzed() || L.can_inject(null, FALSE, inject_target, FALSE))
L.adjustStaminaLoss(30)
if(L.can_inject(null, FALSE, inject_target, FALSE) || (HAS_TRAIT(L, TRAIT_HANDS_BLOCKED) && HAS_TRAIT(L, TRAIT_IMMOBILIZED)))
if(!IsTSInfected(L) && ishuman(L))
visible_message("<span class='danger'>[src] buries its long fangs deep into the [inject_target] of [L]!</span>")
new /obj/item/organ/internal/body_egg/terror_eggs(L)