diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-03-09 17:58:44 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-03-09 17:58:44 -0300 |
commit | 7d6ce8de7accad073621fb24414f8b994748adcc (patch) | |
tree | c8ef447307c653dd1cb187c2f34ae8de8038d43a /npc/functions/seasons.txt | |
parent | 75b2b7dc4e9184b2252bd3bd727020bda58b1340 (diff) | |
download | serverdata-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.txt | 14 |
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; |