summaryrefslogtreecommitdiff
path: root/npc/001-2-22/chest.txt
blob: bd5a0049e5b7cf50c53234185106359413169501 (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
// Evol scripts.
// Authors:
//    4144
//    Reid
// Description:
//    A box with clothes for new players.

001-2-22,51,37,0	script	Chest#Artis	NPC_CHEST_BIG,{

    setnpcdir 2;
    initnpctimer;
    startnpctimer;
    close;

OnTimer220:
    stopnpctimer;
    if (getnpcdir ("") == 2) setnpcdir 4;
    if (getnpcdir ("") == 6) setnpcdir 0;
    end;

L_Quit:
    setnpcdir 6;
    initnpctimer;
    startnpctimer;
    close;

OnInit:
    setnpcdistance 2;
    end;
}