From 9ae15490cc4ff764838e4b505c3e8ad55a97a842 Mon Sep 17 00:00:00 2001 From: Alan Date: Fri, 24 Jul 2026 15:33:40 -0400 Subject: [PATCH] Migrate extraction beacon assembly kit to the new attack chain. (#32310) --- code/modules/mining/fulton.dm | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) diff --git a/code/modules/mining/fulton.dm b/code/modules/mining/fulton.dm index d4804e2db1b..a95a3b156a5 100644 --- a/code/modules/mining/fulton.dm +++ b/code/modules/mining/fulton.dm @@ -88,8 +88,8 @@ GLOBAL_LIST_EMPTY(total_extraction_beacons) var/mutable_appearance/balloon3 if(isliving(A)) var/mob/living/M = A - M.Weaken(32 SECONDS) // Keep them from moving during the duration of the extraction - unbuckle_mob(M, force = TRUE) // Unbuckle them to prevent anchoring problems + M.Weaken(32 SECONDS) // Keep them from moving during the duration of the extraction. + unbuckle_mob(M, force = TRUE) // Unbuckle them to prevent anchoring problems. else A.anchored = TRUE A.density = FALSE @@ -163,12 +163,21 @@ GLOBAL_LIST_EMPTY(total_extraction_beacons) desc = "When built, emits a signal which fulton recovery devices can lock onto. Activate in hand to unfold into a beacon." icon = 'icons/obj/fulton.dmi' icon_state = "folded_extraction" + new_attack_chain = TRUE -/obj/item/fulton_core/attack_self__legacy__attackchain(mob/user) - if(do_after(user, 15, target = user) && !QDELETED(src)) - new /obj/structure/extraction_point(get_turf(user)) - playsound(loc, 'sound/items/deconstruct.ogg', 50, 1) - qdel(src) +/obj/item/fulton_core/activate_self(mob/user) + if(..()) + return ITEM_INTERACT_COMPLETE + + if(!(do_after(user, 15, target = user) && !QDELETED(src))) + return ITEM_INTERACT_COMPLETE + + var/obj/structure/extraction_point/new_point = new(get_turf(user)) + playsound(loc, 'sound/items/deconstruct.ogg', 50, 1) + transfer_fingerprints_to(new_point) + new_point.add_fingerprint(user) + qdel(src) + return ITEM_INTERACT_COMPLETE /obj/structure/extraction_point name = "fulton recovery beacon"