Migrate /obj/item/assembly to the new attack chain. (#31987)

* Migrate /obj/item/assembly to the new attack chain.

* Migrate more procs.

* Add parent calls to activate_self().

* Add parent call to activate_self() in noise sensor.

* Apply CRUNCH's style suggestions.

Co-authored-by: CRUNCH <143041327+CRUNCH-Borg@users.noreply.github.com>
Signed-off-by: Alan <alfalfascout@users.noreply.github.com>

* Change igniter attack to interact_with_atom().

* Restore assembly UIs.

* Ensure assembly interact procs fire, ensure fingerprints.

---------

Signed-off-by: Alan <alfalfascout@users.noreply.github.com>
Co-authored-by: CRUNCH <143041327+CRUNCH-Borg@users.noreply.github.com>
This commit is contained in:
Alan
2026-05-17 14:42:49 -04:00
committed by GitHub
parent 98090e78d7
commit 25aac32c63
14 changed files with 75 additions and 55 deletions
@@ -135,7 +135,7 @@
toggle_valve(usr)
if("device")
if(attached_device)
attached_device.attack_self__legacy__attackchain(usr)
attached_device.activate_self(usr)
if("remove_device")
if(attached_device)
attached_device.forceMove(get_turf(src))
@@ -81,7 +81,7 @@
return ITEM_INTERACT_COMPLETE
if(nadeassembly)
nadeassembly.attack_self__legacy__attackchain(user)
nadeassembly.activate_self(user)
return ITEM_INTERACT_COMPLETE
var/newtime = input(usr, "Please set the timer.", "Timer", det_time) as num