mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-18 10:33:30 +01:00
Ports new Fulton beacon sprite from tg. (#19254)
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user