Files
GS13NG/code/modules/shuttle/ripple.dm
SandPoot 40f1d7401d procs
2023-11-29 22:40:13 -03:00

21 lines
672 B
Plaintext

/obj/effect/abstract/ripple
name = "hyperspace ripple"
desc = "Something is coming through hyperspace, you can see the \
visual disturbances. It's probably best not to be on top of these \
when whatever is tunneling comes through."
icon = 'icons/effects/effects.dmi'
icon_state = "medi_holo"
anchored = TRUE
density = FALSE
layer = RIPPLE_LAYER
mouse_opacity = MOUSE_OPACITY_ICON
alpha = 0
/obj/effect/abstract/ripple/Initialize(mapload, time_left)
. = ..()
animate(src, alpha=255, time=time_left)
addtimer(CALLBACK(src, PROC_REF(stop_animation)), 8, TIMER_CLIENT_TIME)
/obj/effect/abstract/ripple/proc/stop_animation()
icon_state = "medi_holo_no_anim"