mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-23 13:05:44 +01:00
Telecomms considers sector range, away site radio fixes (#14014)
This commit is contained in:
@@ -671,10 +671,10 @@
|
||||
syndie = TRUE
|
||||
ks1type = /obj/item/device/encryptionkey/bluespace
|
||||
|
||||
//Ghostrole headset
|
||||
/obj/item/device/radio/headset/ship
|
||||
icon_state = "syn_headset"
|
||||
ks1type = /obj/item/device/encryptionkey/ship
|
||||
syndie = TRUE
|
||||
|
||||
/obj/item/device/radio/headset/binary
|
||||
origin_tech = list(TECH_ILLEGAL = 3)
|
||||
|
||||
@@ -359,6 +359,12 @@ var/global/list/default_medbay_channels = list(
|
||||
|
||||
var/turf/position = get_turf(src)
|
||||
|
||||
var/obj/effect/overmap/visitable/sector
|
||||
if(current_map.use_overmap)
|
||||
var/my_sector = map_sectors["[position.z]"]
|
||||
if(istype(my_sector, /obj/effect/overmap/visitable))
|
||||
sector = my_sector
|
||||
|
||||
//#### Tagging the signal with all appropriate identity values ####//
|
||||
|
||||
// ||-- The mob's name identity --||
|
||||
@@ -446,7 +452,8 @@ var/global/list/default_medbay_channels = list(
|
||||
"reject" = 0, // if nonzero, the signal will not be accepted by any broadcasting machinery
|
||||
"level" = position.z, // The source's z level
|
||||
"language" = speaking,
|
||||
"verb" = verb
|
||||
"verb" = verb,
|
||||
"sector" = sector
|
||||
)
|
||||
signal.frequency = connection.frequency // Quick frequency set
|
||||
|
||||
@@ -508,7 +515,8 @@ var/global/list/default_medbay_channels = list(
|
||||
"reject" = 0,
|
||||
"level" = position.z,
|
||||
"language" = speaking,
|
||||
"verb" = verb
|
||||
"verb" = verb,
|
||||
"sector" = sector
|
||||
)
|
||||
signal.frequency = connection.frequency // Quick frequency set
|
||||
|
||||
|
||||
Reference in New Issue
Block a user