mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-13 08:56:49 +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:
@@ -168,7 +168,7 @@
|
||||
|
||||
/obj/machinery/computer/ship/sensors/attackby(obj/item/attacking_item, mob/user)
|
||||
. = ..()
|
||||
var/obj/item/device/multitool/P = attacking_item
|
||||
var/obj/item/multitool/P = attacking_item
|
||||
if(!istype(P))
|
||||
return
|
||||
var/obj/item/ship_tracker/tracker = P.get_buffer()
|
||||
|
||||
@@ -57,7 +57,7 @@
|
||||
if(!stored_item)
|
||||
to_chat(user,SPAN_NOTICE("There is nothing hidden in [src]."))
|
||||
else
|
||||
if(istype(stored_item, /obj/item/device/paicard))
|
||||
if(istype(stored_item, /obj/item/paicard))
|
||||
stored_item.forceMove(src.loc)
|
||||
to_chat(user,SPAN_NOTICE("You reveal \the [stored_item] from [src]."))
|
||||
else
|
||||
|
||||
@@ -67,7 +67,7 @@
|
||||
return load_ammo(SA, HV)
|
||||
else
|
||||
to_chat(user, SPAN_WARNING("\The [CL] does not appear to be holding any compatible ammunition."))
|
||||
if(istype(attacking_item, /obj/item/device/multitool))
|
||||
if(istype(attacking_item, /obj/item/multitool))
|
||||
to_chat(user, SPAN_NOTICE("You hook up the tester's wires to \the [src]: its identification tag is <b>[weapon_id]</b>."))
|
||||
var/new_id = input(user, "Change the identification tag?", "Identification Tag", weapon_id)
|
||||
if(length(new_id) && !use_check_and_message(user))
|
||||
|
||||
@@ -114,7 +114,7 @@
|
||||
qdel(src)
|
||||
|
||||
/obj/machinery/ship_weapon/attackby(obj/item/attacking_item, mob/user)
|
||||
if(istype(attacking_item, /obj/item/device/multitool))
|
||||
if(istype(attacking_item, /obj/item/multitool))
|
||||
to_chat(user, SPAN_NOTICE("You hook up the tester to \the [src]'s wires: its identification tag is <b>[weapon_id]></b>."))
|
||||
var/new_id = input(user, "Change the identification tag?", "Identification Tag", weapon_id) as text|null
|
||||
if(length(new_id) && !use_check_and_message(user))
|
||||
|
||||
Reference in New Issue
Block a user