diff --git a/code/modules/mob/living/bot/secbot.dm b/code/modules/mob/living/bot/secbot.dm index 2d22e7770c..0a0803a27e 100644 --- a/code/modules/mob/living/bot/secbot.dm +++ b/code/modules/mob/living/bot/secbot.dm @@ -85,6 +85,18 @@ declare_arrests = !declare_arrests attack_hand(usr) +/mob/living/bot/secbot/emag_act(var/remaining_uses, var/mob/user) + . = ..() + if(!emagged) + if(user) + user << "\The [src] buzzes and beeps." + emagged = 1 + patrol_speed = 3 + target_speed = 4 + return 1 + else + user << "\The [src] is already corrupt." + /mob/living/bot/secbot/attackby(var/obj/item/O, var/mob/user) var/curhealth = health ..() diff --git a/html/changelogs/Yoshax -MurderBots.txt b/html/changelogs/Yoshax -MurderBots.txt new file mode 100644 index 0000000000..8352435677 --- /dev/null +++ b/html/changelogs/Yoshax -MurderBots.txt @@ -0,0 +1,14 @@ +# Your name. +author: Yoshax + +# Optional: Remove this file after generating master changelog. Useful for PR changelogs that won't get used again. +delete-after: True + +# Any changes you've made. See valid prefix list above. +# INDENT WITH TWO SPACES. NOT TABS. SPACES. +# SCREW THIS UP AND IT WON'T WORK. +# Also, all entries are changed into a single [] after a master changelog generation. Just remove the brackets when you add new entries. +# Please surround your changes in double quotes ("), as certain characters otherwise screws up compiling. The quotes will not show up in the changelog. +changes: + - tweak: "When emagged security bots such as the Securitron and ED-209 will now move faster and pursue faster. + - bugfix: "Security bots such as above can now actually be properly emagged." \ No newline at end of file