summaryrefslogtreecommitdiff
path: root/npc/functions
diff options
context:
space:
mode:
Diffstat (limited to 'npc/functions')
-rw-r--r--npc/functions/seasons.txt119
1 files changed, 63 insertions, 56 deletions
diff --git a/npc/functions/seasons.txt b/npc/functions/seasons.txt
index 3fe8f12d1..08e93e481 100644
--- a/npc/functions/seasons.txt
+++ b/npc/functions/seasons.txt
@@ -36,71 +36,78 @@ function script season {
000-0,0,0,0 script #SeasonCore NPC_HIDDEN,{
end;
+OnSummerStart:
+ addmonsterdrop(Duck, CherryCocktail, 360);
+ addmonsterdrop(Croc, CherryCocktail, 180);
+ addmonsterdrop(SaxsoGhost, CherryCocktail, 450);
+ addmonsterdrop(RedButterfly, CherryCocktail, 100);
+
+ addmonsterdrop(Maggot, CactusCocktail, 140);
+ addmonsterdrop(DesertMaggot, CactusCocktail, 190);
+ addmonsterdrop(Scorpion, CactusCocktail, 165);
+ addmonsterdrop(GiantMaggot, CactusCocktail, 290);
+ addmonsterdrop(Centaur, CactusCocktail, 1000);
+
+ addmonsterdrop(AlphaMouboo, AppleCocktail, 850);
+ addmonsterdrop(OceanCroc, AppleCocktail, 480);
+ addmonsterdrop(Mouboo, AppleCocktail, 280);
+ addmonsterdrop(Pinkie, AppleCocktail, 70);
+
+ addmonsterdrop(Duck, Sunglasses, 1);
+ addmonsterdrop(Croc, Sunglasses, 1);
+ addmonsterdrop(SaxsoGhost, Sunglasses, 1);
+ addmonsterdrop(DesertMaggot, Sunglasses, 1);
+ addmonsterdrop(Scorpion, Sunglasses, 1);
+ addmonsterdrop(GiantMaggot, Sunglasses, 1);
+ addmonsterdrop(Centaur, Sunglasses, 3);
+ addmonsterdrop(AlphaMouboo, Sunglasses, 1);
+ addmonsterdrop(OceanCroc, Sunglasses, 1);
+ addmonsterdrop(Mouboo, Sunglasses, 1);
+ addmonsterdrop(Pinkie, Sunglasses, 1);
+ addmonsterdrop(Moonshroom, Sunglasses, 2);
+ addmonsterdrop(RedButterfly, Sunglasses, 1);
+ end;
+
+OnSummerEnd:
+ delmonsterdrop(Duck, CherryCocktail);
+ delmonsterdrop(Croc, CherryCocktail);
+ delmonsterdrop(SaxsoGhost, CherryCocktail);
+ delmonsterdrop(RedButterfly, CherryCocktail);
+ delmonsterdrop(Maggot, CactusCocktail);
+ delmonsterdrop(DesertMaggot, CactusCocktail);
+ delmonsterdrop(Scorpion, CactusCocktail);
+ delmonsterdrop(GiantMaggot, CactusCocktail);
+ delmonsterdrop(Centaur, CactusCocktail);
+ delmonsterdrop(AlphaMouboo, AppleCocktail);
+ delmonsterdrop(OceanCroc, AppleCocktail);
+ delmonsterdrop(Mouboo, AppleCocktail);
+ delmonsterdrop(Pinkie, AppleCocktail);
+ delmonsterdrop(Duck, Sunglasses);
+ delmonsterdrop(Croc, Sunglasses);
+ delmonsterdrop(SaxsoGhost, Sunglasses);
+ delmonsterdrop(DesertMaggot, Sunglasses);
+ delmonsterdrop(Scorpion, Sunglasses);
+ delmonsterdrop(GiantMaggot, Sunglasses);
+ delmonsterdrop(Centaur, Sunglasses);
+ delmonsterdrop(AlphaMouboo, Sunglasses);
+ delmonsterdrop(OceanCroc, Sunglasses);
+ delmonsterdrop(Mouboo, Sunglasses);
+ delmonsterdrop(Pinkie, Sunglasses);
+ delmonsterdrop(Moonshroom, Sunglasses);
+ delmonsterdrop(RedButterfly, Sunglasses);
+ end;
+
OnInit:
OnHour00:
if ($@SEASON != season()) {
// Summer extra drops
if (season() == SUMMER && $@SEASON != SUMMER) {
- addmonsterdrop(Duck, CherryCocktail, 360);
- addmonsterdrop(Croc, CherryCocktail, 180);
- addmonsterdrop(SaxsoGhost, CherryCocktail, 450);
- addmonsterdrop(RedButterfly, CherryCocktail, 100);
-
- addmonsterdrop(Maggot, CactusCocktail, 140);
- addmonsterdrop(DesertMaggot, CactusCocktail, 190);
- addmonsterdrop(Scorpion, CactusCocktail, 165);
- addmonsterdrop(GiantMaggot, CactusCocktail, 290);
- addmonsterdrop(Centaur, CactusCocktail, 1000);
-
- addmonsterdrop(AlphaMouboo, AppleCocktail, 850);
- addmonsterdrop(OceanCroc, AppleCocktail, 480);
- addmonsterdrop(Mouboo, AppleCocktail, 280);
- addmonsterdrop(Pinkie, AppleCocktail, 70);
-
- addmonsterdrop(Duck, Sunglasses, 1);
- addmonsterdrop(Croc, Sunglasses, 1);
- addmonsterdrop(SaxsoGhost, Sunglasses, 1);
- addmonsterdrop(DesertMaggot, Sunglasses, 1);
- addmonsterdrop(Scorpion, Sunglasses, 1);
- addmonsterdrop(GiantMaggot, Sunglasses, 1);
- addmonsterdrop(Centaur, Sunglasses, 3);
- addmonsterdrop(AlphaMouboo, Sunglasses, 1);
- addmonsterdrop(OceanCroc, Sunglasses, 1);
- addmonsterdrop(Mouboo, Sunglasses, 1);
- addmonsterdrop(Pinkie, Sunglasses, 1);
- addmonsterdrop(Moonshroom, Sunglasses, 2);
- addmonsterdrop(RedButterfly, Sunglasses, 1);
-
+ donpcevent("#SeasonCore::OnSummerStart");
}
// Summer end delete drops
if (season() == AUTUMN && $@SEASON == SUMMER) {
- delmonsterdrop(Duck, CherryCocktail);
- delmonsterdrop(Croc, CherryCocktail);
- delmonsterdrop(SaxsoGhost, CherryCocktail);
- delmonsterdrop(RedButterfly, CherryCocktail);
- delmonsterdrop(Maggot, CactusCocktail);
- delmonsterdrop(DesertMaggot, CactusCocktail);
- delmonsterdrop(Scorpion, CactusCocktail);
- delmonsterdrop(GiantMaggot, CactusCocktail);
- delmonsterdrop(Centaur, CactusCocktail);
- delmonsterdrop(AlphaMouboo, AppleCocktail);
- delmonsterdrop(OceanCroc, AppleCocktail);
- delmonsterdrop(Mouboo, AppleCocktail);
- delmonsterdrop(Pinkie, AppleCocktail);
- delmonsterdrop(Duck, Sunglasses);
- delmonsterdrop(Croc, Sunglasses);
- delmonsterdrop(SaxsoGhost, Sunglasses);
- delmonsterdrop(DesertMaggot, Sunglasses);
- delmonsterdrop(Scorpion, Sunglasses);
- delmonsterdrop(GiantMaggot, Sunglasses);
- delmonsterdrop(Centaur, Sunglasses);
- delmonsterdrop(AlphaMouboo, Sunglasses);
- delmonsterdrop(OceanCroc, Sunglasses);
- delmonsterdrop(Mouboo, Sunglasses);
- delmonsterdrop(Pinkie, Sunglasses);
- delmonsterdrop(Moonshroom, Sunglasses);
- delmonsterdrop(RedButterfly, Sunglasses);
+ donpcevent("#SeasonCore::OnSummerEnd");
}
$@SEASON=season();