Visual and balance changes to brimdust sacks and rush glands (#93323)

This commit is contained in:
SmArtKar
2025-10-10 13:43:22 +11:00
committed by GitHub
parent c61a9b5a55
commit 157d88d39d
11 changed files with 118 additions and 42 deletions
@@ -0,0 +1,17 @@
/particles/brimdust
icon = 'icons/effects/particles/generic.dmi'
icon_state = "cross"
width = 100
height = 100
count = 1000
color = "#88304e"
spawning = 3
lifespan = 0.7 SECONDS
fade = 1 SECONDS
velocity = list(0, 0)
position = generator(GEN_CIRCLE, 0, 16, NORMAL_RAND)
drift = generator(GEN_VECTOR, list(-0.2, 0), list(0.2, 0))
gravity = list(0, -0.5)
scale = generator(GEN_VECTOR, list(0.3, 0.3), list(1,1), NORMAL_RAND)
rotation = 30
spin = generator(GEN_NUM, -20, 20)
@@ -245,8 +245,10 @@
setDir(mimiced_atom.dir)
mouse_opacity = MOUSE_OPACITY_TRANSPARENT
/obj/effect/temp_visual/decoy/fading/Initialize(mapload, atom/mimiced_atom)
/obj/effect/temp_visual/decoy/fading/Initialize(mapload, atom/mimiced_atom, start_alpha)
. = ..()
if (start_alpha)
alpha = start_alpha
animate(src, alpha = 0, time = duration)
/obj/effect/temp_visual/decoy/fading/threesecond