summaryrefslogtreecommitdiff
path: root/npc/functions
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-07-02 20:56:08 -0300
committerJesusaves <cpntb1@ymail.com>2018-07-02 20:56:08 -0300
commita2739966bfa171f9afcf873df746f5d418df5a92 (patch)
treeed718468f1517fcb58a82dfe8ec7cc75ed1ccea6 /npc/functions
parent2800444630565467ffd047073ed6a4a869385e8e (diff)
downloadserverdata-a2739966bfa171f9afcf873df746f5d418df5a92.tar.gz
serverdata-a2739966bfa171f9afcf873df746f5d418df5a92.tar.bz2
serverdata-a2739966bfa171f9afcf873df746f5d418df5a92.tar.xz
serverdata-a2739966bfa171f9afcf873df746f5d418df5a92.zip
Playing with Christmas (only Halinarzo is affected)
Diffstat (limited to 'npc/functions')
-rw-r--r--npc/functions/weather.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/npc/functions/weather.txt b/npc/functions/weather.txt
index d9c7b1d67..bdf58b191 100644
--- a/npc/functions/weather.txt
+++ b/npc/functions/weather.txt
@@ -107,6 +107,10 @@ OnMinute45:
if (!(.@mk & MASK_NONE))
.@mk=.@mk|MASK_NONE;
+ // Christmas Decor should not be here
+ if ($EVENT$ == "Christmas" && .@key$ == "009-1")
+ .@mk=.@mk|MASK_CHRISTMAS;
+
setmapmask .@key$, .@mk;
// Is it night time?