mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-14 01:18:40 +01:00
[MDB Ignore] [IDB Ignore] Kills off /obj/item/device (#21774)
This has zero reason to exist in our code base. We have no procs or variables tied to this. I removed it to make future modifications cleaner. --------- Signed-off-by: Cody Brittain <1779662+Generalcamo@users.noreply.github.com>
This commit is contained in:
@@ -952,7 +952,7 @@
|
||||
if(!istype(H))
|
||||
to_chat(usr, "This can only be used on instances of type /mob/living/carbon/human")
|
||||
return
|
||||
if(!istype(H.l_ear, /obj/item/device/radio/headset) && !istype(H.r_ear, /obj/item/device/radio/headset))
|
||||
if(!istype(H.l_ear, /obj/item/radio/headset) && !istype(H.r_ear, /obj/item/radio/headset))
|
||||
to_chat(usr, "The person you are trying to contact is not wearing a headset")
|
||||
return
|
||||
|
||||
@@ -1590,7 +1590,7 @@
|
||||
return 0
|
||||
|
||||
/mob/living/carbon/human/can_centcom_reply()
|
||||
return istype(l_ear, /obj/item/device/radio/headset) || istype(r_ear, /obj/item/device/radio/headset)
|
||||
return istype(l_ear, /obj/item/radio/headset) || istype(r_ear, /obj/item/radio/headset)
|
||||
|
||||
/mob/living/silicon/ai/can_centcom_reply()
|
||||
return common_radio != null && !check_unable(2)
|
||||
|
||||
@@ -53,7 +53,7 @@
|
||||
//Items
|
||||
var/obj/item/clothing/under/U = new /obj/item/clothing/under/rank/centcom_officer/bst(bst)
|
||||
bst.equip_to_slot_or_del(U, slot_w_uniform)
|
||||
bst.equip_to_slot_or_del(new /obj/item/device/radio/headset/ert/bst(bst), slot_l_ear)
|
||||
bst.equip_to_slot_or_del(new /obj/item/radio/headset/ert/bst(bst), slot_l_ear)
|
||||
bst.equip_to_slot_or_del(new /obj/item/storage/backpack/holding/bst(bst), slot_back)
|
||||
bst.equip_to_slot_or_del(new /obj/item/storage/box/survival(bst.back), slot_in_backpack)
|
||||
bst.equip_to_slot_or_del(new /obj/item/clothing/shoes/sneakers/black/bst(bst), slot_shoes)
|
||||
@@ -65,9 +65,9 @@
|
||||
bst.equip_to_slot_or_del(new /obj/item/storage/box/ids(bst), slot_r_hand)
|
||||
else
|
||||
bst.equip_to_slot_or_del(new /obj/item/storage/box/ids(bst.back), slot_in_backpack)
|
||||
bst.equip_to_slot_or_del(new /obj/item/device/t_scanner(bst.back), slot_in_backpack)
|
||||
bst.equip_to_slot_or_del(new /obj/item/t_scanner(bst.back), slot_in_backpack)
|
||||
bst.equip_to_slot_or_del(new /obj/item/modular_computer/handheld/pda/command/bst(bst.back), slot_in_backpack)
|
||||
bst.equip_to_slot_or_del(new /obj/item/device/healthanalyzer(bst.back), slot_in_backpack)
|
||||
bst.equip_to_slot_or_del(new /obj/item/healthanalyzer(bst.back), slot_in_backpack)
|
||||
bst.equip_to_slot_or_del(new /obj/item/research(bst.back), slot_in_backpack)
|
||||
|
||||
var/obj/item/storage/box/pills = new /obj/item/storage/box(null, TRUE)
|
||||
@@ -353,16 +353,16 @@
|
||||
max_w_class = WEIGHT_CLASS_GIGANTIC
|
||||
|
||||
//Headset
|
||||
/obj/item/device/radio/headset/ert/bst
|
||||
/obj/item/radio/headset/ert/bst
|
||||
name = "bluespace technician's headset"
|
||||
desc = "A Bluespace Technician's headset. The letters 'BST' are stamped on the side."
|
||||
translate_binary = 1
|
||||
translate_hivenet = 1
|
||||
canremove = 0
|
||||
keyslot1 = new /obj/item/device/encryptionkey/binary
|
||||
keyslot2 = new /obj/item/device/encryptionkey/ert
|
||||
keyslot1 = new /obj/item/encryptionkey/binary
|
||||
keyslot2 = new /obj/item/encryptionkey/ert
|
||||
|
||||
/obj/item/device/radio/headset/ert/bst/attack_hand()
|
||||
/obj/item/radio/headset/ert/bst/attack_hand()
|
||||
if(!usr)
|
||||
return
|
||||
if(!istype(usr, /mob/living/carbon/human/bst))
|
||||
@@ -372,7 +372,7 @@
|
||||
..()
|
||||
|
||||
// overload this so we can force translate flags without the required keys
|
||||
/obj/item/device/radio/headset/ert/bst/recalculateChannels(var/setDescription = 0)
|
||||
/obj/item/radio/headset/ert/bst/recalculateChannels(var/setDescription = 0)
|
||||
..(setDescription)
|
||||
translate_binary = 1
|
||||
translate_hivenet = 1
|
||||
|
||||
@@ -234,7 +234,7 @@
|
||||
if(!(A.type in areas_with_LS))
|
||||
areas_with_LS.Add(A.type)
|
||||
|
||||
for(var/obj/item/device/radio/intercom/I in world)
|
||||
for(var/obj/item/radio/intercom/I in world)
|
||||
var/area/A = get_area(I)
|
||||
if(!(A.type in areas_with_intercom))
|
||||
areas_with_intercom.Add(A.type)
|
||||
|
||||
@@ -117,7 +117,7 @@ GLOBAL_VAR_INIT(intercom_range_display_status, 0)
|
||||
qdel(M)
|
||||
|
||||
if(GLOB.intercom_range_display_status)
|
||||
for(var/obj/item/device/radio/intercom/I in world)
|
||||
for(var/obj/item/radio/intercom/I in world)
|
||||
for(var/turf/T in orange(7,I))
|
||||
var/obj/effect/debugging/marker/F = new/obj/effect/debugging/marker(T)
|
||||
if (!(F in view(7,I.loc)))
|
||||
|
||||
Reference in New Issue
Block a user