summaryrefslogtreecommitdiff
path: root/npc/items/shovel.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/items/shovel.txt')
-rw-r--r--npc/items/shovel.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/npc/items/shovel.txt b/npc/items/shovel.txt
index f528764c0..f414cd055 100644
--- a/npc/items/shovel.txt
+++ b/npc/items/shovel.txt
@@ -392,6 +392,8 @@ function script shovel_randomtreasure {
Diamond,Ruby,Emerald,Sapphire,Topaz,Amethyst);
delitem TreasureMap, 1;
.@amount=any(1,1,2);
+ if (.@id == TreasureKey || .@id == CoinBag)
+ .@amount+=any(0,1,0,1,2);
getitem .@id, .@amount;
ShovelQuests_AssignedMAP$="";
ShovelQuests_AssignedX=0;