From e58b2f50313887c59ada29df17b314537499c0e4 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sun, 9 Jun 2019 18:23:45 -0300 Subject: This is a function for Treasure Map, without one, it won't uncover anything (and will explode) --- npc/items/shovel.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'npc') 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, -- cgit v1.2.3-60-g2f50