From 96e1a10696419839f6c02be4288266f6b19e0897 Mon Sep 17 00:00:00 2001
From: Jesusaves <cpntb1@ymail.com>
Date: Tue, 2 Mar 2021 14:22:28 -0300
Subject: Add back the Pirate Bandana to obtanium lists

---
 npc/items/shovel.txt | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

(limited to 'npc/items/shovel.txt')

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$="";
-- 
cgit v1.2.3-70-g09d2