summaryrefslogtreecommitdiff
path: root/npc/functions/miriam.txt
blob: e59b736b220070b6684e058f20e351afc02d3c6d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
function	script	MiriamGoal	{
    if (QUEST_MIRIAM_run > 0)
        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;
}