From 2810c2f1f98452e6fc8c061052d250c79f75970f Mon Sep 17 00:00:00 2001 From: Kocma-san Date: Thu, 12 Dec 2024 02:15:50 +0700 Subject: [PATCH] weh --- tff_modular/modules/snowfall/snowfall.dm | 29 ++++++++++++++++++++++++ tgstation.dme | 1 + 2 files changed, 30 insertions(+) create mode 100644 tff_modular/modules/snowfall/snowfall.dm diff --git a/tff_modular/modules/snowfall/snowfall.dm b/tff_modular/modules/snowfall/snowfall.dm new file mode 100644 index 00000000000..0d013b6ba50 --- /dev/null +++ b/tff_modular/modules/snowfall/snowfall.dm @@ -0,0 +1,29 @@ +// Безопасный снегопад! Без урона и не так сильно перекрывает видимость, в отличие от снежной бури. ff в начале, потому что апстримы могут свой с похожим именем сделать... +/datum/weather/snow_storm/ff_snowfall + name = "snowfall" + desc = "Little snowflakes are falling from the sky. So calm and peaceful..." + probability = 0 + + telegraph_duration = 0 + + weather_message = span_warning("Little snowflakes are falling from the sky...") + weather_overlay = "light_snow" + weather_duration_lower = 1800 + weather_duration_upper = 3000 + + end_message = span_warning("Less snowflakes fall from the sky...") + end_duration = 100 + + cooling_lower = 1 + cooling_upper = 3 + + var/harmfull = FALSE + +/datum/weather/snow_storm/ff_snowfall/weather_act(mob/living/living) + if(!harmfull) + return + return ..() + +/datum/weather/snow_storm/ff_snowfall/forever + probability = 0 + perpetual = TRUE diff --git a/tgstation.dme b/tgstation.dme index f3c156931fa..99181e2ea0f 100644 --- a/tgstation.dme +++ b/tgstation.dme @@ -8888,6 +8888,7 @@ #include "tff_modular\modules\selestial_language\language.dm" #include "tff_modular\modules\silicon_laws_tweaks\code\upload.dm" #include "tff_modular\modules\smites\femboyfication.dm" +#include "tff_modular\modules\snowfall\snowfall.dm" #include "tff_modular\modules\timed_citations\crime.dm" #include "tff_modular\modules\toys\code\loadout_datum_toys.dm" #include "tff_modular\modules\toys\code\plushes.dm"