summaryrefslogtreecommitdiff
path: root/world/map/npc/items/shovel.txt
blob: 7023f2ec8e4b1938a29baadbb098f96f31f146ad (plain) (blame)
1
2
3
4
5
6
7
8
9
10
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;
}