mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-15 12:11:45 +00:00
* Fixes layering issues brought by the FoV PR. * Update code/__DEFINES/layers.dm * Update code/modules/mob/living/living_defines.dm * Update code/modules/mob/living/simple_animal/hostile/venus_human_trap.dm Co-authored-by: Ghom <42542238+Ghommie@users.noreply.github.com> Co-authored-by: Tom <8881105+tf-4@users.noreply.github.com>
22 lines
694 B
Plaintext
22 lines
694 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
|
|
plane = ABOVE_GAME_PLANE
|
|
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/stop_animation), 8, TIMER_CLIENT_TIME)
|
|
|
|
/obj/effect/abstract/ripple/proc/stop_animation()
|
|
icon_state = "medi_holo_no_anim"
|