summaryrefslogtreecommitdiff
path: root/npc/000-2-0/doors.txt
blob: 8a6f5d67587e2b846365a691a33ef3c8f0e1fac2 (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
// Evol scripts.
// Author:
//    Reid
// Description:
//    Door NPC.
//    The third value of the Q variable has been removed for the beta2, it'll then be re-added for the Aurora release.

000-2-0.gat,20,27,0,1	script	AreaNPC	0,0,0,{

OnTouch:
    set @q, getq(ShipQuests_Nard);
    if (@q > 0) goto l_Warp;
//  if (@q == 2) goto l_GotoNard;
//  if (@q == 3) goto l_End;
    close;

    setcamnpc "Julia";
    mesn "Julia";
    mesq l("The captain has locked the door, you should go see him.");
    next;

    mesn "Narrator";
    mes col(l("Captain Nard is in the room to your right."), 9);
    restorecam;

    close;

l_Warp:
    warp "000-1", 93, 100;
    close;

l_GotoNard:
    setcamnpc "Julia";
    mesn "Julia";
    mesq l("The captain is waiting for you! Hurry up.");
    next;
    restorecam;

    close;

l_End:
    mesn "Narrator";
    mes col(l("The door is locked."), 9);
    close;

}

000-2-0.gat,32,27,0,1	script	AreaNPC	0,0,0,{

    warp "000-2-3", 20, 27;
    close;
}