summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2022-06-04 01:23:39 -0300
committerJesusaves <cpntb1@ymail.com>2022-06-04 01:23:39 -0300
commitee421d461d8467ff0dcfbef78df79d5240edb5dd (patch)
treebe76f7bdffb61830a2a73a0f39cb23904c176143
parentf48e420eb4a49e7a4a69aa99c547bb798101e73c (diff)
downloadserverdata-ee421d461d8467ff0dcfbef78df79d5240edb5dd.tar.gz
serverdata-ee421d461d8467ff0dcfbef78df79d5240edb5dd.tar.bz2
serverdata-ee421d461d8467ff0dcfbef78df79d5240edb5dd.tar.xz
serverdata-ee421d461d8467ff0dcfbef78df79d5240edb5dd.zip
Aeros now only have random treasures during Thanksgiving
-rw-r--r--npc/items/shovel.txt10
1 files changed, 6 insertions, 4 deletions
diff --git a/npc/items/shovel.txt b/npc/items/shovel.txt
index 947d89eec..f5639f163 100644
--- a/npc/items/shovel.txt
+++ b/npc/items/shovel.txt
@@ -292,6 +292,7 @@ OnInit:
AddDigRect("007-1", 20, 20, 180, 190);
AddDigRect("011-1", 20, 20, 180, 180);
AddDigRect("015-1", 20, 20, 180, 180);
+ AddDigRect("032-2", 20, 20, 180, 180);
// Aeros can be used too (for events)
AddDigRect("001-1", 20, 20, 342, 158);
@@ -338,16 +339,17 @@ OnHour00:
Diamond,Ruby,Emerald,Sapphire,Topaz,Amethyst,
CursedAmmoBox,ThornAmmoBox,SacredBullet);
- // Aeros can't be forgotten
- shovel_scatter("001-1", 171, 20, 340, 160, rand(160,360),
+ // Aeros can't be forgotten, but only during Thanksgiving
+ if ($EVENT$ == "Thanksgiving") {
+ shovel_scatter("001-1", 171, 20, 340, 160, rand(160,360),
TreasureKey,CoinBag,TreasureKey,SulfurPowder,Coal,EarthPowder,
IronOre,CopperOre,LeadOre,TinOre,SilverOre,GoldOre,PlatinumOre,IridiumOre,TitaniumOre,
Diamond,Ruby,Emerald,Sapphire,Topaz,Amethyst);
- shovel_scatter("001-1", 20, 20, 140, 140, rand(160,360),
+ shovel_scatter("001-1", 20, 20, 140, 140, rand(160,360),
TreasureKey,CoinBag,TreasureKey,SulfurPowder,Coal,EarthPowder,
IronOre,CopperOre,LeadOre,TinOre,SilverOre,GoldOre,PlatinumOre,IridiumOre,TitaniumOre,
Diamond,Ruby,Emerald,Sapphire,Topaz,Amethyst);
-
+ }
end;
}