summaryrefslogtreecommitdiff
path: root/npc/functions/seasons.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/functions/seasons.txt')
-rw-r--r--npc/functions/seasons.txt13
1 files changed, 12 insertions, 1 deletions
diff --git a/npc/functions/seasons.txt b/npc/functions/seasons.txt
index 66946af91..924093623 100644
--- a/npc/functions/seasons.txt
+++ b/npc/functions/seasons.txt
@@ -107,6 +107,13 @@ function script sChristmas {
//logmes "Enabled CHRISTMAS event.", LOGMES_ATCOMMAND;
return;
}
+// Valentine Day is handled by @event, this is only for @reloadmobdb
+function script sValentine {
+ // Add Valentine drops
+ addmonsterdrop(ChocolateSlime, Rose, 80);
+ addmonsterdrop(ChocolateSlime, LoveLetter, 8);
+ return;
+}
// This allows GMs to change seasons if needed
function script SeasonControl {
@@ -120,6 +127,7 @@ function script SeasonControl {
"Winter Start",
"Winter End",
"SPECIAL - Christmas",
+ "SPECIAL - Valentine",
"Abort";
switch (@menu) {
@@ -130,8 +138,9 @@ function script SeasonControl {
case 5: donpcevent("#SeasonCore::OnWinterStart"); break;
case 6: donpcevent("#SeasonCore::OnWinterEnd"); break;
case 7: sChristmas(); break;
+ case 8: sValentine(); break;
}
- } while (@menu != 8);
+ } while (@menu != 9);
return;
}
@@ -171,6 +180,8 @@ function script SeasonReload {
// Christmas have a special feature
if ($EVENT$ == "Christmas")
sChristmas();
+ if ($EVENT$ == "Valentine")
+ sValentine();
$@SEASON=season();
return;