mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-29 16:10:02 +01:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user