From 49aa38ec122789a2e62086a79524bf587be4d0c2 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 22 Dec 2018 21:42:13 -0200 Subject: Fix snowfall on weather configuration. --- npc/functions/weather.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'npc') diff --git a/npc/functions/weather.txt b/npc/functions/weather.txt index d0bce445d..af07f3051 100644 --- a/npc/functions/weather.txt +++ b/npc/functions/weather.txt @@ -121,7 +121,10 @@ OnMinute45: } else if (.@type$ == "woodland") { if (.@r < 300) .@mk=.@mk|MASK_RAIN; - if (season() == WINTER) + + if ($EVENT$ == "Christmas") + .@mk=.@mk|MASK_SNOW; + else if (season() == WINTER && .@r >= 9250) .@mk=.@mk|MASK_SNOW; } else if (.@type$ == "iceland") { -- cgit v1.2.3-60-g2f50