mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-14 16:46:28 +01:00
28e969778c
* 1 * Full conversion * . * . --------- Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
37 lines
726 B
Plaintext
37 lines
726 B
Plaintext
//temporary visual effects
|
|
/obj/effect/temp_visual
|
|
icon = 'icons/effects/effects.dmi'
|
|
icon_state = "nothing"
|
|
anchored = TRUE
|
|
layer = ABOVE_MOB_LAYER
|
|
mouse_opacity = 0
|
|
var/duration = 10 //in deciseconds
|
|
var/randomdir = TRUE
|
|
|
|
/obj/effect/temp_visual/Initialize(mapload)
|
|
. = ..()
|
|
if(randomdir)
|
|
set_dir(pick(global.GLOB.cardinal))
|
|
|
|
spawn(duration)
|
|
qdel(src)
|
|
|
|
/obj/effect/temp_visual/singularity_act()
|
|
return
|
|
|
|
/obj/effect/temp_visual/singularity_pull()
|
|
return
|
|
|
|
/obj/effect/temp_visual/ex_act()
|
|
return
|
|
|
|
/*
|
|
/obj/effect/temp_visual/dir_setting
|
|
randomdir = FALSE
|
|
|
|
/obj/effect/temp_visual/dir_setting/Initialize(mapload, set_dir)
|
|
if(set_dir)
|
|
setDir(set_dir)
|
|
. = ..()
|
|
*/ //More tg stuff that might be useful later
|