mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-29 16:18:01 +01:00
- If they are turned on, radios inform the person they are on if they overload due to an EMP.
This commit is contained in:
@@ -663,6 +663,8 @@ var/GLOBAL_RADIO_TYPE = 1 // radio type to use
|
||||
else return
|
||||
|
||||
/obj/item/device/radio/emp_act(severity)
|
||||
if (listening && ismob(loc)) // if the radio is turned on and on someone's person they notice
|
||||
loc << "<span class='warning'>\The [src] overloads.</span>"
|
||||
broadcasting = 0
|
||||
listening = 0
|
||||
frequency += pick(-1,1)*2*rand(1,5) // shift the frequency a bit
|
||||
|
||||
Reference in New Issue
Block a user