summaryrefslogtreecommitdiff
path: root/npc/001-1/juscare.txt
blob: f55fc8dcec350e3110aead36021dee981c9e89ae (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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
// Evol scripts.
// Author:
//    Reid
// Description:
//    Juscare, walking NPC of the legion of Aemil on the right part of the Agora of Artis.

001-1,112,65,0	script	Juscare#001-1	NPC_HUMAN_MALE_LEGION_ARTIS,{
    npctalk3 l("It is a sunny day, don't you think?");
    close;

OnTimer1000:
    if (isunitwalking())
    {
        initnpctimer;
        end;
    }
    movetonextpos;
    initnpctimer;
    end;

OnInit:
    initpath "move", 112, 82,

             "move", 118, 91,
             "dir", RIGHT, 0,
             "dir", RIGHT, 0,
             "dir", LEFT, 0,
             "wait", 1, 0,
             "dir", DOWN, 0,
             "wait", 1, 0,

             "move", 115, 95,

             "move", 115, 111,
             "dir", DOWN, 0,
             "wait", 1, 0,
             "dir", LEFT, 0,
             "wait", 1, 0,

             "move", 113, 113,

             "move", 110, 110,
             "dir", DOWN, 0,
             "wait", 1, 0,
             "dir", RIGHT, 0,
             "wait", 1, 0,

             "move", 111, 98,
             "dir", LEFT, 0,
             "wait", 1, 0,
             "dir", RIGHT, 0,
             "wait", 1, 0,

             "move", 111, 84,
             "move", 110, 82,

             "move", 110, 70,
             "dir", LEFT, 0,
             "wait", 1, 0,
             "dir", DOWN, 0,
             "wait", 1, 0,

             "move", 109, 64,
             "dir", LEFT, 0,
             "wait", 1, 0,
             "dir", DOWN, 0,
             "wait", 1, 0,

             "move", 112, 65,
             "dir", RIGHT, 0,
             "wait", 1, 0,
             "dir", DOWN, 0,
             "wait", 1, 0;

    initialmove;
    initnpctimer;
}