diff options
Diffstat (limited to 'world/map/npc/items/shovel.txt')
-rw-r--r-- | world/map/npc/items/shovel.txt | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/world/map/npc/items/shovel.txt b/world/map/npc/items/shovel.txt index b706f1fe..7023f2ec 100644 --- a/world/map/npc/items/shovel.txt +++ b/world/map/npc/items/shovel.txt @@ -1,5 +1,11 @@ function|script|useShovel -{ +{ // call Treasure Hunt quest. If quest handled use, skip message. See "treasure_hunt.txt" + if (call("treasure_try_shovel", @ShovelName$)) goto L_Return; + // More quests can be plugged in here. message strcharinfo(0), "You have no clue how to use this item yet."; + goto L_Return; + +L_Return: + set @ShovelName$, ""; return; } |