summaryrefslogtreecommitdiff
path: root/npc/items
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-03-02 14:22:28 -0300
committerJesusaves <cpntb1@ymail.com>2021-03-02 14:22:28 -0300
commit96e1a10696419839f6c02be4288266f6b19e0897 (patch)
tree28e233e120f54f7be52c0a0111decbddaee2159b /npc/items
parenta01bf47a80f166a1d302d0751ea782da511dedcd (diff)
downloadserverdata-96e1a10696419839f6c02be4288266f6b19e0897.tar.gz
serverdata-96e1a10696419839f6c02be4288266f6b19e0897.tar.bz2
serverdata-96e1a10696419839f6c02be4288266f6b19e0897.tar.xz
serverdata-96e1a10696419839f6c02be4288266f6b19e0897.zip
Add back the Pirate Bandana to obtanium lists
Diffstat (limited to 'npc/items')
-rw-r--r--npc/items/shovel.txt4
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$="";