Migrate camera bug to the new attack chain. (#32244)

* Migrate camera bug to the new attack chain.

* Add fingerprint.
This commit is contained in:
Alan
2026-07-24 19:42:50 +00:00
committed by GitHub
parent 1f189f73b7
commit 455e59f7cf
@@ -11,6 +11,7 @@
/// Integrated camera console to serve UI data
var/obj/machinery/computer/security/camera_bug/integrated_console
var/connections = 0
new_attack_chain = TRUE
/obj/machinery/computer/security/camera_bug
name = "invasive camera utility"
@@ -30,8 +31,12 @@
QDEL_NULL(integrated_console)
return ..()
/obj/item/camera_bug/attack_self__legacy__attackchain(mob/user as mob)
/obj/item/camera_bug/activate_self(mob/user)
if(..())
return ITEM_INTERACT_COMPLETE
ui_interact(user)
add_fingerprint(user)
return ITEM_INTERACT_COMPLETE
/obj/item/camera_bug/ui_state(mob/user)
return GLOB.inventory_state
@@ -39,7 +44,6 @@
/obj/item/camera_bug/ui_interact(mob/user, datum/tgui/ui = null)
integrated_console.ui_interact(user, ui)
/obj/item/camera_bug/ert
name = "\improper ERT Camera Monitor"
desc = "A small handheld device used by ERT commanders to view camera feeds remotely."