From 08b52069fc6c68877a0ded8aa96cfdea7420baaf Mon Sep 17 00:00:00 2001 From: Alberyk Date: Sun, 18 Oct 2020 05:29:06 -0300 Subject: [PATCH] Fixes the spy bug's radio function (#10284) What it says in the title. It also buffs the hearing range of the bug, so it is not totally useless. --- code/game/objects/items/devices/spy_bug.dm | 4 +++- html/changelogs/alberyk-bugfix.yml | 6 ++++++ 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 html/changelogs/alberyk-bugfix.yml diff --git a/code/game/objects/items/devices/spy_bug.dm b/code/game/objects/items/devices/spy_bug.dm index 49336593069..877e309958f 100644 --- a/code/game/objects/items/devices/spy_bug.dm +++ b/code/game/objects/items/devices/spy_bug.dm @@ -36,6 +36,8 @@ to_chat(user, "Needs to be both configured and brought in contact with monitor device to be fully functional.") /obj/item/device/spy_bug/attack_self(mob/user) + radio.broadcasting = !radio.broadcasting + to_chat(user, "\The [src]'s radio is [radio.broadcasting ? "broadcasting" : "not broadcasting"] now. The current frequency is [radio.frequency].") radio.attack_self(user) /obj/item/device/spy_bug/attackby(obj/W as obj, mob/living/user as mob) @@ -159,6 +161,6 @@ listening = FALSE frequency = 1473 broadcasting = FALSE - canhear_range = 1 + canhear_range = 7 name = "spy device" icon_state = "syn_cypherkey" diff --git a/html/changelogs/alberyk-bugfix.yml b/html/changelogs/alberyk-bugfix.yml new file mode 100644 index 00000000000..f56932a9556 --- /dev/null +++ b/html/changelogs/alberyk-bugfix.yml @@ -0,0 +1,6 @@ +author: Alberyk + +delete-after: True + +changes: + - bugfix: "Fixed the spy bug's radio function. You can toggle broadcasting by using the bug while it is on the active hand."