From d4f9090b6a68a164eb24f8509255df5aaae070dd Mon Sep 17 00:00:00 2001 From: Mercenaryblue Date: Tue, 17 Oct 2017 16:13:00 -0400 Subject: [PATCH] Honkbots 1.0.7.e tweak: You will no longer trip on inactive honkbots. --- code/modules/mob/living/simple_animal/bot/honkbot.dm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/code/modules/mob/living/simple_animal/bot/honkbot.dm b/code/modules/mob/living/simple_animal/bot/honkbot.dm index be41ba791d3..04a83647edc 100644 --- a/code/modules/mob/living/simple_animal/bot/honkbot.dm +++ b/code/modules/mob/living/simple_animal/bot/honkbot.dm @@ -348,7 +348,7 @@ Maintenance panel panel is [open ? "opened" : "closed"]"}, mode = BOT_HUNT /mob/living/simple_animal/bot/honkbot/Crossed(atom/movable/AM) - if(ismob(AM)) + if(ismob(AM) && (on)) //only if its online if(prob(30)) //you're far more likely to trip on a honkbot var/mob/living/carbon/C = AM if(!istype(C) || !C || in_range(src, target)) @@ -362,7 +362,8 @@ Maintenance panel panel is [open ? "opened" : "closed"]"}, "[C] leaps out of [src]'s way!")]") C.Knockdown(10) playsound(loc, 'sound/misc/sadtrombone.ogg', 50, 1, -1) - speak("Honk!") + if(!client) + speak("Honk!") sensor_blink() return ..()