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