[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:
Cody Brittain
2026-02-01 00:14:26 -05:00
committed by GitHub
parent 75424095ac
commit 3f62424312
857 changed files with 8690 additions and 8599 deletions
+3 -3
View File
@@ -219,7 +219,7 @@
control_unit.reported_core_efficiency += (new_efficiency - efficiency)
efficiency = new_efficiency
/obj/item/device/am_shielding_container
/obj/item/am_shielding_container
name = "packaged antimatter reactor section"
desc = "A section of antimatter reactor shielding. Do not eat."
icon = 'icons/obj/machinery/antimatter.dmi'
@@ -229,11 +229,11 @@
throw_speed = 1
throw_range = 2
/obj/item/device/am_shielding_container/mechanics_hints(mob/user, distance, is_adjacent)
/obj/item/am_shielding_container/mechanics_hints(mob/user, distance, is_adjacent)
. += ..()
. += "To deploy, drop near an antimatter control unit or an existing deployed section and use your multitool on it."
/obj/item/device/am_shielding_container/attackby(obj/item/attacking_item, mob/user)
/obj/item/am_shielding_container/attackby(obj/item/attacking_item, mob/user)
if(attacking_item.tool_behaviour == TOOL_MULTITOOL && isturf(loc))
if(locate(/obj/machinery/am_shielding) in loc)
to_chat(user, SPAN_WARNING("There is already an antimatter reactor section there."))
+2 -2
View File
@@ -726,7 +726,7 @@ ABSTRACT_TYPE(/obj/machinery/power/apc)
update_icon()
// DEBUGGER: Repair emagged/infected/fucked up APCs.
else if (istype(attacking_item, /obj/item/device/debugger))
else if (istype(attacking_item, /obj/item/debugger))
if(emagged || hacker || infected)
to_chat(user, SPAN_WARNING("There is a software error with the device. Attempting to fix..."))
if(attacking_item.use_tool(src, user, 50, volume = 50))
@@ -772,7 +772,7 @@ ABSTRACT_TYPE(/obj/machinery/power/apc)
return attack_hand(user)
if (opened == COVER_CLOSED && panel_open && \
attacking_item.tool_behaviour == TOOL_MULTITOOL || \
attacking_item.tool_behaviour == TOOL_WIRECUTTER || istype(attacking_item, /obj/item/device/assembly/signaler))
attacking_item.tool_behaviour == TOOL_WIRECUTTER || istype(attacking_item, /obj/item/assembly/signaler))
return attack_hand(user)
user.visible_message(SPAN_DANGER("The [name] has been hit with the [attacking_item.name] by [user.name]!"), \
SPAN_DANGER("You hit the [name] with your [attacking_item.name]!"), \
+4 -4
View File
@@ -132,14 +132,14 @@
S.reagents.clear_reagents()
return
else if(istype(attacking_item, /obj/item/device/assembly_holder))
var/obj/item/device/assembly_holder/assembly = attacking_item
if (istype(assembly.a_left, /obj/item/device/assembly/signaler) && istype(assembly.a_right, /obj/item/device/assembly/signaler))
else if(istype(attacking_item, /obj/item/assembly_holder))
var/obj/item/assembly_holder/assembly = attacking_item
if (istype(assembly.a_left, /obj/item/assembly/signaler) && istype(assembly.a_right, /obj/item/assembly/signaler))
//TODO: Look into this bad code
user.drop_item()
user.drop_from_inventory(src)
new /obj/item/device/radiojammer/improvised(assembly, src, user)
new /obj/item/radiojammer/improvised(assembly, src, user)
else
to_chat(user, SPAN_NOTICE("You'd need both devices to be signallers for this to work."))
return
+2 -2
View File
@@ -80,7 +80,7 @@
var/animating_ripple = FALSE
var/obj/item/device/radio/radio
var/obj/item/radio/radio
var/safe_alert = "NOTICE: INDRA reactor stabilizing."
var/safe_warned = FALSE
var/public_alert = FALSE
@@ -177,7 +177,7 @@
/obj/effect/fusion_em_field/Initialize()
. = ..()
addtimer(CALLBACK(src, PROC_REF(update_light_colors)), 10 SECONDS, TIMER_LOOP)
radio = new /obj/item/device/radio{channels=list("Engineering")}(src)
radio = new /obj/item/radio{channels=list("Engineering")}(src)
/**
* What are we doing every tick? A lot.
+2 -2
View File
@@ -326,8 +326,8 @@
/obj/machinery/light/attackby(obj/item/attacking_item, mob/user)
//Light replacer code
if(istype(attacking_item, /obj/item/device/lightreplacer))
var/obj/item/device/lightreplacer/LR = attacking_item
if(istype(attacking_item, /obj/item/lightreplacer))
var/obj/item/lightreplacer/LR = attacking_item
if(isliving(user))
var/mob/living/U = user
LR.ReplaceLight(src, U)
+1 -1
View File
@@ -60,7 +60,7 @@
/// This value needs to be zero. It represents seconds since the last overheat event
var/last_overheat = 0
/// Internal radio, used to alert engineers of turbine trip!
var/obj/item/device/radio/radio
var/obj/item/radio/radio
component_types = list(
/obj/item/stock_parts/manipulator = 6,