summaryrefslogtreecommitdiff
path: root/npc/functions
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-06-30 11:01:47 -0300
committerJesusaves <cpntb1@ymail.com>2018-06-30 11:04:58 -0300
commit69867205bef796b30ed68234936886480e8c388c (patch)
tree1705b6141f1921bca506e551603058e63027a7df /npc/functions
parent3f52c8e2d1edfe7da1e9b3e9afde03b4f4c82b95 (diff)
downloadserverdata-69867205bef796b30ed68234936886480e8c388c.tar.gz
serverdata-69867205bef796b30ed68234936886480e8c388c.tar.bz2
serverdata-69867205bef796b30ed68234936886480e8c388c.tar.xz
serverdata-69867205bef796b30ed68234936886480e8c388c.zip
Cocktail drops only during summer
Diffstat (limited to 'npc/functions')
-rw-r--r--npc/functions/seasons.txt28
1 files changed, 27 insertions, 1 deletions
diff --git a/npc/functions/seasons.txt b/npc/functions/seasons.txt
index f893d2ed3..8990a9ec5 100644
--- a/npc/functions/seasons.txt
+++ b/npc/functions/seasons.txt
@@ -38,6 +38,32 @@ function script season {
OnInit:
OnHour00:
- $@SEASON=season();
+ if ($@SEASON != season()) {
+
+ // Summer extra drops
+ if (season() == SUMMER) {
+ addmonsterdrop(Duck, CherryCocktail, 300);
+
+ addmonsterdrop(Maggot, CactusCocktail, 100);
+ addmonsterdrop(DesertMaggot, CactusCocktail, 120);
+ addmonsterdrop(Scorpion, CactusCocktail, 100);
+ addmonsterdrop(GiantMaggot, CactusCocktail, 200);
+
+ addmonsterdrop(AlphaMouboo, AppleCocktail, 800);
+ addmonsterdrop(Mouboo, AppleCocktail, 200);
+ }
+ // Summer end delete drops
+ if (season() == AUTUMN && $@SEASON == SUMMER) {
+ delmonsterdrop(Duck, CherryCocktail);
+ delmonsterdrop(Maggot, CactusCocktail);
+ delmonsterdrop(DesertMaggot, CactusCocktail);
+ delmonsterdrop(Scorpion, CactusCocktail);
+ delmonsterdrop(GiantMaggot, CactusCocktail);
+ delmonsterdrop(AlphaMouboo, AppleCocktail);
+ delmonsterdrop(Mouboo, AppleCocktail);
+ }
+
+ $@SEASON=season();
+ }
end;
}