Skip to content

Commit

Permalink
Новая погода - снегопад (#5222)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kocma-san authored Dec 12, 2024
1 parent b53143d commit ce54294
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
29 changes: 29 additions & 0 deletions tff_modular/modules/snowfall/snowfall.dm
Original file line number Diff line number Diff line change
@@ -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
1 change: 1 addition & 0 deletions tgstation.dme
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit ce54294

Please sign in to comment.