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
|
// Author:
// Saulc
003-1,109,109,0 script Inar NPC_PLAYER,{
mesn;
mesq l("Only finest wares!");
mes "";
menu
l("Trade"), -,
l("Leave"), L_Close;
closedialog;
shop "Shop#bazar1";
close;
L_Close:
closedialog;
goodbye;
close;
OnInit:
.@npcId = getnpcid(0, .name$);
setunitdata(.@npcId, UDT_HEADTOP, 2936);
setunitdata(.@npcId, UDT_HEADMIDDLE, 1316);
setunitdata(.@npcId, UDT_HEADBOTTOM, 2213);
setunitdata(.@npcId, UDT_WEAPON, 1800); // Boots
setunitdata(.@npcId, UDT_HAIRSTYLE, 4);
setunitdata(.@npcId, UDT_HAIRCOLOR, 1);
.sex = G_MALE;
.distance = 5;
end;
}
|