summaryrefslogtreecommitdiff
path: root/npc/functions/seasons.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-03-09 17:58:44 -0300
committerJesusaves <cpntb1@ymail.com>2021-03-09 17:58:44 -0300
commit7d6ce8de7accad073621fb24414f8b994748adcc (patch)
treec8ef447307c653dd1cb187c2f34ae8de8038d43a /npc/functions/seasons.txt
parent75b2b7dc4e9184b2252bd3bd727020bda58b1340 (diff)
downloadserverdata-7d6ce8de7accad073621fb24414f8b994748adcc.tar.gz
serverdata-7d6ce8de7accad073621fb24414f8b994748adcc.tar.bz2
serverdata-7d6ce8de7accad073621fb24414f8b994748adcc.tar.xz
serverdata-7d6ce8de7accad073621fb24414f8b994748adcc.zip
Dark Eggshell Hat can no longer be obtained outside Easter.
(WARNING: Does not survives server restarts)
Diffstat (limited to 'npc/functions/seasons.txt')
-rw-r--r--npc/functions/seasons.txt14
1 files changed, 12 insertions, 2 deletions
diff --git a/npc/functions/seasons.txt b/npc/functions/seasons.txt
index fa3b5c5bd..f79b9e3d2 100644
--- a/npc/functions/seasons.txt
+++ b/npc/functions/seasons.txt
@@ -119,6 +119,14 @@ function script sValentine {
return;
}
+function script sEaster {
+ // Enable event
+ set $EVENT$, "Easter";
+ addmonsterdrop(Forain, DarkEggshellHat, 2);
+ logmes "Enabled EASTER event.", LOGMES_ATCOMMAND;
+ return;
+}
+
// This allows GMs to change seasons if needed
function script SeasonControl {
do
@@ -134,6 +142,7 @@ function script SeasonControl {
"Spring End",
"SPECIAL - Christmas",
"SPECIAL - Valentine",
+ "SPECIAL - Easter",
"FORCED DAYLIGHT",
"FORCED NIGHTTIME",
"Abort";
@@ -149,8 +158,9 @@ function script SeasonControl {
case 8: donpcevent("#SeasonCore::OnSpringEnd"); break;
case 9: sChristmas(); break;
case 10: sValentine(); break;
- case 11: $@WEATHER_NIGHT=false; doevent("#WeatherCore::OnMinute45"); break;
- case 12: $@WEATHER_NIGHT=true; doevent("#WeatherCore::OnMinute45"); break;
+ case 11: sEaster(); break;
+ case 12: $@WEATHER_NIGHT=false; doevent("#WeatherCore::OnMinute45"); break;
+ case 13: $@WEATHER_NIGHT=true; doevent("#WeatherCore::OnMinute45"); break;
}
} while (@menu != 13);
return;