mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 19:47:22 +01:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user