mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2025-12-19 14:51:27 +00:00
23 lines
713 B
Plaintext
23 lines
713 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/turf/floors/ripple.dmi'
|
|
icon_state = "ripple-0"
|
|
base_icon_state = "ripple"
|
|
anchored = TRUE
|
|
density = FALSE
|
|
smoothing_flags = SMOOTH_BITMASK
|
|
smoothing_groups = list(SMOOTH_GROUP_RIPPLE)
|
|
canSmoothWith = list(SMOOTH_GROUP_RIPPLE)
|
|
layer = RIPPLE_LAYER
|
|
alpha = 0
|
|
duration = 3 * SHUTTLE_RIPPLE_TIME
|
|
mouse_opacity = MOUSE_OPACITY_ICON
|
|
|
|
/obj/effect/temp_visual/ripple/New()
|
|
. = ..()
|
|
QUEUE_SMOOTH(src)
|
|
animate(src, alpha=255, time=SHUTTLE_RIPPLE_TIME)
|