Fix away site radios, AI/borg radios, shell access (#15273)

This commit is contained in:
Wildkins
2022-12-10 15:52:47 +01:00
committed by GitHub
parent 90e4052d8d
commit fe9947c5be
6 changed files with 19 additions and 4 deletions
+3
View File
@@ -302,6 +302,9 @@ proc/get_radio_key_from_channel(var/channel)
var/list/hear_clients = list()
for(var/mob/M in listening)
if((M.client || (M.vr_mob && M.vr_mob.client)) && ((M.client in hear_clients) || (M.vr_mob?.client in hear_clients)))
listening -= M
continue // people don't need to double-hear stuff
var/heard_say = M.hear_say(message, verb, speaking, alt_name, italics, src, speech_sound, sound_vol, get_font_size_modifier())
if(heard_say && M.client)
hear_clients += M.client
@@ -21,6 +21,7 @@
)
sprites = list("Basic" = list(ROBOT_CHASSIS = "shell", ROBOT_PANEL = "shell", ROBOT_EYES = "shell"))
all_access = TRUE
/obj/item/robot_module/aicontrol/Initialize()
. = ..()
@@ -60,4 +61,3 @@
/obj/item/crowbar/robotic/jawsoflife/attack(mob/living/carbon/M, mob/living/carbon/user)
user.visible_message("\The [user] [pick("boops", "squeezes", "pokes", "prods", "strokes", "bonks")] \the [M] with \the [src]")
return FALSE