summaryrefslogtreecommitdiff
path: root/npc/017-1/townhall.txt
blob: 35482d5edf4e75dd1036f6c5cda05333527e2c35 (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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
// TMW2/LoF scripts.
// Authors:
//    Jesusalva
// Description:
//    LoF Townhall Access Control

017-1,180,20,0	script	#LoF_Townhall01	NPC_HIDDEN,{
    end;
OnTouch:
    // Sponsor and Main Quest 17+ - access granted
    .@q=getq(General_Narrator);
    if (.@q >= 17 || getgmlevel()) {
        warp "017-10", 56, 78;
    }
    end;
OnInit:
    .distance=1;
    end;

}

017-1,182,20,0	script	#LoF_Townhall02	NPC_HIDDEN,{
    end;
OnTouch:
    // Sponsor and Main Quest 17+ - access granted
    .@q=getq(General_Narrator);
    if (.@q >= 17 || getgmlevel()) {
        warp "017-10", 60, 78;
    }
    end;
OnInit:
    .distance=1;
    end;
}

017-1,171,20,0	script	#LoF_Townhall03	NPC_HIDDEN,{
    end;
OnTouch:
    // Sponsor and Main Quest 17+ - access granted
    .@q=getq(General_Narrator);
    if (.@q >= 17 || getgmlevel()) {
        warp "017-10", 36, 78;
    }
    end;
OnInit:
    .distance=1;
    end;
}

017-1,190,20,0	script	#LoF_Townhall04	NPC_HIDDEN,{
    end;
OnTouch:
    // Sponsor and Main Quest 17+ - access granted
    .@q=getq(General_Narrator);
    if (.@q >= 17 || getgmlevel()) {
        warp "017-10", 80, 78;
    }
    end;
OnInit:
    .distance=1;
    end;
}