[MIRROR] Updates the Fulton Beacon sprite [MDB IGNORE] (#16591)

* Updates the Fulton Beacon sprite (#70224)

imageadd: Resprites the Fulton Recovery Beacon

* Updates the Fulton Beacon sprite

Co-authored-by: Wallem <66052067+Wallemations@users.noreply.github.com>
This commit is contained in:
SkyratBot
2022-10-02 10:44:07 +01:00
committed by GitHub
co-authored by Wallem
parent 2f276f8497
commit cdc2ecff8e
2 changed files with 10 additions and 4 deletions
+10 -4
View File
@@ -138,14 +138,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(src, 'sound/items/deconstruct.ogg', vol = 50, vary = TRUE, extrarange = MEDIUM_RANGE_SOUND_EXTRARANGE)
qdel(src)
/obj/structure/extraction_point
@@ -161,11 +162,16 @@ GLOBAL_LIST_EMPTY(total_extraction_beacons)
. = ..()
name += " ([rand(100,999)]) ([get_area_name(src, TRUE)])"
GLOB.total_extraction_beacons += src
update_appearance(UPDATE_OVERLAYS)
/obj/structure/extraction_point/Destroy()
GLOB.total_extraction_beacons -= src
return ..()
/obj/structure/extraction_point/update_overlays()
. = ..()
. += emissive_appearance(icon, "[icon_state]_light", src, alpha = src.alpha)
/obj/effect/extraction_holder
name = "extraction holder"
desc = "you shouldn't see this"