diff options
Diffstat (limited to 'npc/items')
-rw-r--r-- | npc/items/shovel.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/npc/items/shovel.txt b/npc/items/shovel.txt index b29805283..7f5132a08 100644 --- a/npc/items/shovel.txt +++ b/npc/items/shovel.txt @@ -413,6 +413,7 @@ function script shovel_randomtreasure { Diamond,Ruby,Emerald,Sapphire,Topaz,Amethyst, StrangeCoin, CasinoCoins, MercBoxA, AncientBlueprint); if (rand2(400) == 136) .@id = EarthPowder; // 0.25% chance + if (rand2(2000) == 337) .@id = PirateBandana; // 0.05% chance delitem TreasureMap, 1; .@amount=any(1,1,2); if (.@id == TreasureKey || .@id == CoinBag || .@id == StrangeCoin) @@ -420,7 +421,8 @@ function script shovel_randomtreasure { if (.@id == CasinoCoins) .@amount+=rand2(0,8); if (.@id == MercBoxA || .@id == AncientBlueprint || - .@id == GoldPieces || .@id == EarthPowder) + .@id == GoldPieces || .@id == EarthPowder || + .@id == PirateBandana) .@amount=1; getitem .@id, .@amount; ShovelQuests_AssignedMAP$=""; |