Introduces particle weather, converts rain and ash storms to it (#96297)

Co-authored-by: Lucy <lucy@absolucy.moe>
This commit is contained in:
SmArtKar
2026-06-06 19:33:45 -04:00
committed by GitHub
co-authored by Lucy
parent 194ccf566f
commit 67bbc096a8
23 changed files with 418 additions and 89 deletions
@@ -55,7 +55,7 @@
/obj/effect/anomaly/weather/proc/select_weather()
return pick(
/datum/weather/rain_storm,
/datum/weather/particle/rain_storm,
/datum/weather/snow_storm,
/datum/weather/sand_storm,
)
@@ -97,4 +97,4 @@
// maybe we can put acid rain in this later?
// though it'd feel unfair if it showed up and immediately dumped acid on people.
// we would need an even longer telegraphing time for that
weather_type = /datum/weather/rain_storm
weather_type = /datum/weather/particle/rain_storm
+1 -1
View File
@@ -31,7 +31,7 @@
gradient = list("#FBAF4D", "#FCE6B6", "#FD481C")
position = generator(GEN_BOX, list(-12,-16,0), list(12,16,0), NORMAL_RAND)
drift = generator(GEN_VECTOR, list(-0.1,0), list(0.1,0.025), UNIFORM_RAND)
spin = generator(GEN_NUM, list(-15,15), NORMAL_RAND)
spin = generator(GEN_NUM, -15, 15, NORMAL_RAND)
scale = generator(GEN_VECTOR, list(0.5,0.5), list(2,2), NORMAL_RAND)
/particles/embers/minor
+1 -1
View File
@@ -128,7 +128,7 @@
position = generator(GEN_BOX, list(-17,-15,0), list(24,15,0), NORMAL_RAND)
scale = generator(GEN_VECTOR, list(0.9,0.9), list(1.1,1.1), NORMAL_RAND)
drift = generator(GEN_SPHERE, list(-0.01,0), list(0.01,0.01), UNIFORM_RAND)
spin = generator(GEN_NUM, list(-2,2), NORMAL_RAND)
spin = generator(GEN_NUM, -2, 2, NORMAL_RAND)
gravity = list(0.05, 0.28)
friction = 0.3
grow = 0.037