(Ready) Clockwork Cult Rework: Proof-of-concept

This commit is contained in:
Ashe Higgs
2017-09-26 16:21:26 -04:00
committed by CitadelStationBot
parent b51e4457f5
commit e575bd6685
103 changed files with 4394 additions and 2615 deletions
@@ -199,3 +199,57 @@
duration = 80
icon_state = "sigilactiveoverlay"
alpha = 0
/obj/effect/temp_visual/steam
name = "steam"
desc = "Steam! It's hot. It also serves as a game distribution platform."
icon_state = "smoke"
duration = 15
/obj/effect/temp_visual/steam/Initialize(mapload, steam_direction)
. = ..()
setDir(steam_direction)
var/x_offset = 0
var/y_offset = 0
switch(dir)
if(NORTH)
y_offset = 8
if(EAST)
x_offset = 4
y_offset = 4
if(SOUTH)
y_offset = 2
if(WEST)
x_offset = -4
y_offset = 4
animate(src, pixel_x = x_offset, pixel_y = y_offset, alpha = 50, time = 15)
/obj/effect/temp_visual/steam_release
name = "all the steam"
/obj/effect/temp_visual/steam_release/Initialize()
..()
for(var/V in GLOB.cardinals)
var/turf/T = get_step(src, V)
new/obj/effect/temp_visual/steam(T, V)
return INITIALIZE_HINT_QDEL
//Foreshadows a servant warping in.
/obj/effect/temp_visual/ratvar/warp_marker
name = "illuminant marker"
desc = "A silhouette of dim light. It's getting brighter!"
resistance_flags = INDESTRUCTIBLE
icon = 'icons/effects/genetics.dmi'
icon_state = "servitude"
mouse_opacity = MOUSE_OPACITY_TRANSPARENT
anchored = TRUE
alpha = 0
light_color = "#FFE48E"
light_range = 2
light_power = 0.7
duration = 55
/obj/effect/temp_visual/ratvar/warp_marker/Initialize(mapload, mob/living/servant)
. = ..()
animate(src, alpha = 255, time = 50)