Ports new Fulton beacon sprite from tg. (#19254)

This commit is contained in:
Qwertytoforty
2022-10-08 06:02:28 -04:00
committed by GitHub
parent d8403a5532
commit 4596f0fa18
2 changed files with 10 additions and 4 deletions
+10 -4
View File
@@ -143,14 +143,15 @@ GLOBAL_LIST_EMPTY(total_extraction_beacons)
/obj/item/fulton_core
name = "extraction beacon signaller"
desc = "Emits a signal which fulton recovery devices can lock onto. Activate in hand to create a beacon."
icon = 'icons/obj/stock_parts.dmi'
icon_state = "subspace_amplifier"
name = "extraction beacon assembly kit"
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"
/obj/item/fulton_core/attack_self(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/structure/extraction_point
@@ -166,6 +167,7 @@ GLOBAL_LIST_EMPTY(total_extraction_beacons)
. = ..()
name += " ([rand(100,999)]) ([get_location_name(src)])"
GLOB.total_extraction_beacons += src
update_icon(UPDATE_OVERLAYS)
/obj/structure/extraction_point/Destroy()
GLOB.total_extraction_beacons -= src
@@ -188,6 +190,10 @@ GLOBAL_LIST_EMPTY(total_extraction_beacons)
return TRUE
return FALSE
/obj/structure/extraction_point/update_overlays()
. = ..()
underlays += emissive_appearance(icon, "[icon_state]_light", src, alpha = src.alpha)
/obj/effect/extraction_holder/singularity_act()
return