diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-05-27 09:23:07 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-05-27 09:23:07 -0300 |
commit | ecbd469a556d509d48101e52218d9c7fee69a494 (patch) | |
tree | 497eb296c72994245a24fc09a73c2a30801a2b77 | |
parent | 8962f55ebf1d71698238180fc392885894701737 (diff) | |
download | serverdata-ecbd469a556d509d48101e52218d9c7fee69a494.tar.gz serverdata-ecbd469a556d509d48101e52218d9c7fee69a494.tar.bz2 serverdata-ecbd469a556d509d48101e52218d9c7fee69a494.tar.xz serverdata-ecbd469a556d509d48101e52218d9c7fee69a494.zip |
Improve the random treasure waiting to be unburried
-rw-r--r-- | npc/items/shovel.txt | 22 |
1 files changed, 9 insertions, 13 deletions
diff --git a/npc/items/shovel.txt b/npc/items/shovel.txt index fe96ea7a8..9a32cd8c5 100644 --- a/npc/items/shovel.txt +++ b/npc/items/shovel.txt @@ -289,34 +289,30 @@ OnHour00: // Scatter Treasure. // There are 25600 possible cells, and about 60% of them are collisions. // As we don't prevent treasure from falling on collision, it is pretty high. - // If two treasures fall on same place, the previous treasure will be deleted. + // If two treasures fall on same place, the previous treasure will be ignored. // Theoretical chance of uncovering a treasure on an attempt is 0.12% to 0.70% shovel_scatter("007-1", 20, 20, 180, 180, rand(30,180), - Bread,Candy,BugLeg,Cheese,Acorn, - ScorpionStinger,CoinBag,RustyKnife,TreasureKey,CasinoCoins,SulfurPowder, + CoinBag,RustyKnife,TreasureKey,CasinoCoins,SulfurPowder, Coal,IronOre,CopperOre,LeadOre,TinOre,SilverOre,GoldOre,PlatinumOre,IridiumOre,TitaniumOre, Diamond,Ruby,Emerald,Sapphire,Topaz,Amethyst, - BoneArrow,SacredBullet); + CursedAmmoBox,ThornAmmoBox,SacredBullet); shovel_scatter("011-1", 20, 20, 180, 180, rand(30,180), - Bread,Candy,BugLeg,Cheese,Acorn, - ScorpionStinger,CoinBag,RustyKnife,TreasureKey,CasinoCoins,SulfurPowder, + CoinBag,RustyKnife,TreasureKey,CasinoCoins,SulfurPowder, Coal,IronOre,CopperOre,LeadOre,TinOre,SilverOre,GoldOre,PlatinumOre,IridiumOre,TitaniumOre, Diamond,Ruby,Emerald,Sapphire,Topaz,Amethyst, - BoneArrow,SacredBullet); + CursedAmmoBox,ThornAmmoBox,SacredBullet); shovel_scatter("015-1", 20, 20, 180, 180, rand(30,180), - Bread,Candy,BugLeg,Cheese,Acorn, - ScorpionStinger,CoinBag,RustyKnife,TreasureKey,CasinoCoins,SulfurPowder, + CoinBag,RustyKnife,TreasureKey,CasinoCoins,SulfurPowder, Coal,IronOre,CopperOre,LeadOre,TinOre,SilverOre,GoldOre,PlatinumOre,IridiumOre,TitaniumOre, Diamond,Ruby,Emerald,Sapphire,Topaz,Amethyst, - BoneArrow,SacredBullet); + CursedAmmoBox,ThornAmmoBox,SacredBullet); // Extra burried treasure (25~65 over 3600 tiles: aprox. 0.70% to 1.80%) shovel_scatter("018-1", 20, 20, 80, 80, rand(25,65), - Bread,Candy,BugLeg,Cheese,Acorn, - ScorpionStinger,CoinBag,RustyKnife,TreasureKey,CasinoCoins,SulfurPowder, + CoinBag,RustyKnife,TreasureKey,CasinoCoins,SulfurPowder, Coal,IronOre,CopperOre,LeadOre,TinOre,SilverOre,GoldOre,PlatinumOre,IridiumOre,TitaniumOre, Diamond,Ruby,Emerald,Sapphire,Topaz,Amethyst, - BoneArrow,SacredBullet); + CursedAmmoBox,ThornAmmoBox,SacredBullet); // Aeros can't be forgotten shovel_scatter("001-1", 171, 20, 340, 160, rand(80,180), |