Files
S.P.L.U.R.T-Station-13/code/modules/shuttle/ripple.dm
CitadelStationBot b5e7f7f7fe [MIRROR] Adds defines for mouse_opacity (#2381)
* Adds defines for mouse_opacity

* Delete misc.dm.rej

* Update misc.dm
2017-08-21 20:29:37 -07:00

23 lines
714 B
Plaintext

/obj/effect/temp_visual/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
duration = 3 * SHUTTLE_RIPPLE_TIME
/obj/effect/temp_visual/ripple/Initialize(mapload, time_left)
. = ..()
animate(src, alpha=255, time=time_left)
addtimer(CALLBACK(src, .proc/stop_animation), 8, TIMER_CLIENT_TIME)
/obj/effect/temp_visual/ripple/proc/stop_animation()
icon_state = "medi_holo_no_anim"