summaryrefslogtreecommitdiff
path: root/npc/functions
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-12-14 22:15:40 -0200
committerJesusaves <cpntb1@ymail.com>2018-12-14 22:15:40 -0200
commit9b4df1b7ef28781bcf9a601077986e8f24ced32b (patch)
treecb95ed2b7aade994bb28a874f155f3bf40c6e9ba /npc/functions
parentbb18a37c27ceec2f3b66b8b8a0619322c08a38d7 (diff)
downloadserverdata-9b4df1b7ef28781bcf9a601077986e8f24ced32b.tar.gz
serverdata-9b4df1b7ef28781bcf9a601077986e8f24ced32b.tar.bz2
serverdata-9b4df1b7ef28781bcf9a601077986e8f24ced32b.tar.xz
serverdata-9b4df1b7ef28781bcf9a601077986e8f24ced32b.zip
Christmas is coming: Handle Christmas drops and items
Diffstat (limited to 'npc/functions')
-rw-r--r--npc/functions/seasons.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/npc/functions/seasons.txt b/npc/functions/seasons.txt
index 5f7e02e25..030581417 100644
--- a/npc/functions/seasons.txt
+++ b/npc/functions/seasons.txt
@@ -78,6 +78,11 @@ function script SeasonReload {
donpcevent("#SeasonCore::OnAutumnEnd");
}
+ // Non-season, but season-related
+ // Christmas have a special feature
+ if ($EVENT$ == "Christmas")
+ sChristmas();
+
$@SEASON=season();
return;
}