From ee421d461d8467ff0dcfbef78df79d5240edb5dd Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 4 Jun 2022 01:23:39 -0300 Subject: Aeros now only have random treasures during Thanksgiving --- npc/items/shovel.txt | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'npc/items/shovel.txt') 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; } -- cgit v1.2.3-60-g2f50