summaryrefslogtreecommitdiff
path: root/npc/020-7-1/core.txt
blob: fd039c275b7983914cd61966b20b402b95427162 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// TMW2 scripts.
// Authors:
//    Jesusalva
//    TMW Org.
// Description:
//    Core functions

// Some setup is required

// BSQuestion(quest state)
function	script	BSQuestion	{
    switch (getarg(0)) {
        case 3:
        case 4:
            return BS_QVISITOR;
        case 5:
        case 8:
            return BS_QHELPER;
        case 6:
        case 7:
        case 9:
        case 10:
            return BS_QVISITOR | BS_QHELPER;
    }
    return 0;
}