From ce542944428d7becd3383571e4737e5a102c615d Mon Sep 17 00:00:00 2001 From: Kocma-san <112967882+Kocma-san@users.noreply.github.com> Date: Thu, 12 Dec 2024 22:54:41 +0700 Subject: [PATCH] =?UTF-8?q?=D0=9D=D0=BE=D0=B2=D0=B0=D1=8F=20=D0=BF=D0=BE?= =?UTF-8?q?=D0=B3=D0=BE=D0=B4=D0=B0=20-=20=D1=81=D0=BD=D0=B5=D0=B3=D0=BE?= =?UTF-8?q?=D0=BF=D0=B0=D0=B4=20(#5222)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 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"