Tweaks smoke and foam layers

This commit is contained in:
Joan Lung
2016-09-04 17:57:29 -04:00
parent 09e38702d2
commit fb9f2a6bb5
2 changed files with 4 additions and 1 deletions

View File

@@ -7,7 +7,7 @@
opacity = 0
anchored = 1
density = 0
layer = ABOVE_ALL_MOB_LAYER
layer = WALL_OBJ_LAYER
mouse_opacity = 0
var/amount = 3
animate_movement = 0

View File

@@ -9,6 +9,7 @@
pixel_x = -32
pixel_y = -32
opacity = 0
layer = FLY_LAYER
anchored = 1
mouse_opacity = 0
animate_movement = 0
@@ -25,6 +26,8 @@
var/step = alpha / frames
for(var/i = 0, i < frames, i++)
alpha -= step
if(alpha < 160)
opacity = 0 //if we were blocking view, we aren't now because we're fading out
stoplag()
/obj/effect/particle_effect/smoke/New()