summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-06-09 18:23:45 -0300
committerJesusaves <cpntb1@ymail.com>2019-06-09 18:23:45 -0300
commite58b2f50313887c59ada29df17b314537499c0e4 (patch)
tree7a6739a18b114a7b9c09d1dece7080aabc145752
parent015f6ff2e1945010658fe1c338315b7a72e8d867 (diff)
downloadserverdata-e58b2f50313887c59ada29df17b314537499c0e4.tar.gz
serverdata-e58b2f50313887c59ada29df17b314537499c0e4.tar.bz2
serverdata-e58b2f50313887c59ada29df17b314537499c0e4.tar.xz
serverdata-e58b2f50313887c59ada29df17b314537499c0e4.zip
This is a function for Treasure Map, without one, it won't uncover anything
(and will explode)
-rw-r--r--npc/items/shovel.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/npc/items/shovel.txt b/npc/items/shovel.txt
index 7814acd5a..1eb7cf9e1 100644
--- a/npc/items/shovel.txt
+++ b/npc/items/shovel.txt
@@ -335,6 +335,7 @@ function script shovel_randomtreasure {
.@id=any(TreasureKey,CoinBag,TreasureKey,SulfurPowder,Coal,
IronOre,CopperOre,LeadOre,TinOre,SilverOre,GoldOre,PlatinumOre,IridiumOre,TitaniumOre,
Diamond,Ruby,Emerald,Sapphire,Topaz,Amethyst);
+ delitem TreasureMap, 1;
.@amount=any(1,1,2);
getitem .@id, .@amount;
narrator S_FIRST_BLANK_LINE,