Merge pull request #31852 from Mercenaryblue/tweak_honkbot

You will no longer trip on inactive Honkbots. [Tweak]
This commit is contained in:
oranges
2017-10-19 22:06:58 +13:00
committed by CitadelStationBot
parent 98a583b249
commit 7517b6ba19
@@ -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!")]</span>")
C.Knockdown(10)
playsound(loc, 'sound/misc/sadtrombone.ogg', 50, 1, -1)
speak("Honk!")
if(!client)
speak("Honk!")
sensor_blink()
return
..()