summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--npc/017-3/loratay.txt1
-rw-r--r--npc/functions/seasons.txt13
2 files changed, 13 insertions, 1 deletions
diff --git a/npc/017-3/loratay.txt b/npc/017-3/loratay.txt
index ff9b4f498..8f16618d8 100644
--- a/npc/017-3/loratay.txt
+++ b/npc/017-3/loratay.txt
@@ -25,6 +25,7 @@ L_Valentine:
close;
getitem2(ValentineDress, 1, 1, 0, 0, any(DarkRedDye, RedDye), 0,0,0);
+ getexp BaseLevel*110, JobLevel*11;
mesn;
mesq l("There you go, your Valentine Dress!");
mesq lg("Good luck with your boyfriend!", "Good luck with your girlfriend!");
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;