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

L_Return:
    return;
}

function|script|MiriamCheat
{
    if (QUEST_MIRIAM_start == 0) goto L_Return;
    set QUEST_MIRIAM_cheat, 1;
    callfunc "MiriamExpire";
    goto L_Return;

L_Return:
    return;
}