Files
Bubberstation/code/modules/shuttle/misc/ripple.dm
Ivory 558e6528c1 Reorganizes and splits shuttle code (#88228)
## About The Pull Request

refer to title

No code changes were made here, i just copypasted code around
The only real difference is that I removed a pretty useless define that
depended on TESTING because it got in my way of splitting emergency.dm

tbh i didnt want a 50k line refactor pr that nobody is going to review
so im getting it out of the way in a separate PR

## Why It's Good For The Game

Shuttle code is literally all over the place please help me oh gosh

## Changelog

Nothing player facing or developer facing (at least I really hope so)
2024-12-05 22:35:31 -08:00

22 lines
698 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_REF(stop_animation)), 8, TIMER_CLIENT_TIME)
/obj/effect/abstract/ripple/proc/stop_animation()
icon_state = "medi_holo_no_anim"