From 744cbc2e44cacb1c268dfc43cb3fb6a0c8c50be2 Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Mon, 26 Oct 2020 09:09:32 +0100 Subject: [PATCH] [MIRROR] Pacifists now taunt secbots when attempting attacks with harm or disarm intent. (#1467) * Pacifists now taunt secbots when attempting attacks with harm or disarm intent. (#54570) Co-authored-by: Jared-Fogle <35135081+Jared-Fogle@ users.noreply.github.com> * Pacifists now taunt secbots when attempting attacks with harm or disarm intent. Co-authored-by: Timberpoes Co-authored-by: Jared-Fogle <35135081+Jared-Fogle@ users.noreply.github.com> --- code/modules/mob/living/simple_animal/bot/secbot.dm | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/code/modules/mob/living/simple_animal/bot/secbot.dm b/code/modules/mob/living/simple_animal/bot/secbot.dm index eb8b06ca6f5..9880ba9f451 100644 --- a/code/modules/mob/living/simple_animal/bot/secbot.dm +++ b/code/modules/mob/living/simple_animal/bot/secbot.dm @@ -203,6 +203,15 @@ Auto Patrol: []"}, if(special_retaliate_after_attack(H)) return + // Turns an oversight into a feature. Beepsky will now announce when pacifists taunt him over sec comms. + if(HAS_TRAIT(H, TRAIT_PACIFISM)) + H.visible_message("[H] taunts [src], daring [p_them()] to give chase!", \ + "You taunt [src], daring [p_them()] to chase you!", "You hear someone shout a daring taunt!", DEFAULT_MESSAGE_RANGE, H) + speak("Taunted by pacifist scumbag [H] in [get_area(src)].", radio_channel) + + // Interrupt the attack chain. We've already handled this scenario for pacifists. + return + return ..() /mob/living/simple_animal/bot/secbot/attackby(obj/item/W, mob/user, params)