Files
Paradise/code/modules/shuttle/ripple.dm
2025-07-27 20:52:39 +00:00

36 lines
1.2 KiB
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"
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)
/obj/effect/temp_visual/ripple/lance_crush
name = "collision lights"
desc = "Something is coming through hyperspace in a very unsafe way. You *really* do not want to be standing here."
icon = 'icons/turf/walls/hierophant_wall_temp.dmi'
icon_state = "hierophant_wall_temp-0"
base_icon_state = "hierophant_wall_temp"
smoothing_groups = list(SMOOTH_GROUP_HIERO_WALL)
canSmoothWith = list(SMOOTH_GROUP_HIERO_WALL)
color = rgb(255, 0, 0)
light_range = MINIMUM_USEFUL_LIGHT_RANGE
light_color = LIGHT_COLOR_PURE_RED
alpha = 128
mouse_opacity = MOUSE_OPACITY_TRANSPARENT