mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-15 00:53:23 +01:00
buffs the radio jammer (#19377)
* buffs the radio jammer come on and jam and welcome to the jam * come on and jam the jam * i never actually watched space jam i just thi running outta jokes * unjams the pr im so fucking funny bro * unfucks the pr for real (developers swearing bot hello) worth a try
This commit is contained in:
@@ -388,6 +388,10 @@
|
||||
if(istype(H))
|
||||
H.toggle_geiger_counter()
|
||||
|
||||
/datum/action/item_action/toggle_radio_jammer
|
||||
name = "Toggle Radio Jammer"
|
||||
desc = "Turns your jammer on or off. Hush, you."
|
||||
|
||||
/datum/action/item_action/hands_free
|
||||
check_flags = AB_CHECK_CONSCIOUS
|
||||
|
||||
|
||||
@@ -1557,7 +1557,7 @@ GLOBAL_LIST_INIT(uplink_items, subtypesof(/datum/uplink_item))
|
||||
|
||||
/datum/uplink_item/device_tools/jammer
|
||||
name = "Radio Jammer"
|
||||
desc = "This device will disrupt any nearby outgoing radio communication when activated."
|
||||
desc = "When turned on this device will scramble any outgoing radio communications near you, making them hard to understand."
|
||||
reference = "RJ"
|
||||
item = /obj/item/jammer
|
||||
cost = 4
|
||||
|
||||
@@ -1,8 +1,11 @@
|
||||
/obj/item/jammer
|
||||
name = "radio jammer"
|
||||
desc = "Device used to disrupt nearby radio communication."
|
||||
desc = "Fog of war that fits your pocket. Flicking the switch and extending the antenna will scramble nearby radio comms, making outgoing messages hard to understand."
|
||||
icon = 'icons/obj/device.dmi'
|
||||
icon_state = "jammer"
|
||||
item_state = "jammer"
|
||||
w_class = WEIGHT_CLASS_TINY
|
||||
actions_types = list(/datum/action/item_action/toggle_radio_jammer)
|
||||
var/active = FALSE
|
||||
var/range = 12
|
||||
|
||||
@@ -10,13 +13,22 @@
|
||||
GLOB.active_jammers -= src
|
||||
return ..()
|
||||
|
||||
/obj/item/jammer/update_icon_state()
|
||||
if(active)
|
||||
icon_state = "[initial(icon_state)]-on"
|
||||
else
|
||||
icon_state = "[initial(icon_state)]"
|
||||
|
||||
/obj/item/jammer/attack_self(mob/user)
|
||||
to_chat(user, "<span class='notice'>You [active ? "deactivate" : "activate"] [src].</span>")
|
||||
to_chat(user, "<span class='notice'>You [active ? "deactivate [src]. It goes quiet with a small click." : "activate [src]. It starts to hum softly."] </span>")
|
||||
active = !active
|
||||
update_icon(UPDATE_ICON_STATE)
|
||||
if(active)
|
||||
GLOB.active_jammers |= src
|
||||
else
|
||||
GLOB.active_jammers -= src
|
||||
for(var/datum/action/item_action/toggle_radio_jammer/A in actions)
|
||||
A.UpdateButtonIcon()
|
||||
|
||||
/obj/item/teleporter
|
||||
name = "syndicate teleporter"
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 193 KiB After Width: | Height: | Size: 210 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 191 KiB After Width: | Height: | Size: 206 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 49 KiB After Width: | Height: | Size: 49 KiB |
Reference in New Issue
Block a user