Migrate extraction beacon assembly kit to the new attack chain. (#32310)

This commit is contained in:
Alan
2026-07-24 19:33:40 +00:00
committed by GitHub
parent a6ff60d20b
commit 9ae15490cc
+16 -7
View File
@@ -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"