summaryrefslogtreecommitdiff
path: root/world/map/npc/functions/miriam.txt
blob: b76efcc54902fcb182e22125ff9bec22752936c1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
function|script|MiriamGoal
{
    if (QUEST_MIRIAM_run > 0)
        set QUEST_MIRIAM_run, 0 - (gettimetick(2) - QUEST_MIRIAM_run);
    return;
}

function|script|MiriamExpire
{
    if (QUEST_MIRIAM_run > 0)
        set QUEST_MIRIAM_run, 0 - 2; // force failute (expired)
    return;
}

function|script|MiriamCheat
{
    if (QUEST_MIRIAM_run > 0)
        set QUEST_MIRIAM_run, 0 - 1; // force failure (cheating)
    return;
}