mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-21 03:55:05 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user