Skrell Stuff (#12095)

I made some tweaks and changes here and there, mostly bugfixes. I have absolutely no idea who added what, it happened too long ago, so if you want changelog credits, post here or DM me.
This commit is contained in:
Geeves
2021-06-25 19:01:22 +03:00
committed by GitHub
parent 32fff1ca27
commit 216bd9c2bb
15 changed files with 184 additions and 4 deletions
@@ -0,0 +1,19 @@
/obj/effect/temp_visual/phase
icon = 'icons/mob/mob.dmi'
icon_state = "phasein"
layer = ABOVE_MOB_LAYER
mouse_opacity = 0
duration = 15
/obj/effect/temp_visual/phase/out
icon_state = "phaseout"
/obj/effect/temp_visual/phase/rift
icon = 'icons/obj/rig_modules.dmi'
icon_state = "rift"
layer = BELOW_MOB_LAYER
alpha = 125
/obj/effect/temp_visual/phase/rift/Initialize(mapload, dir)
. = ..()
SpinAnimation()
@@ -7,9 +7,12 @@
var/duration = 10 //in deciseconds
var/randomdir = TRUE
/obj/effect/temp_visual/Initialize()
/obj/effect/temp_visual/Initialize(mapload, var/new_dir)
. = ..()
if(randomdir)
if(new_dir)
set_dir(new_dir)
else if(randomdir)
set_dir(pick(global.cardinal))
QDEL_IN(src, duration)