summaryrefslogtreecommitdiff
path: root/npc/003-1/neko.txt
blob: 3d2a709d9bcfb20832c125450be028424377c2ce (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
// TMW-2 Script
// Author:
//    Saulc
// Description:
//    Another shopkeeper

003-1,103,106,0	script	Neko	NPC_PLAYER,{

hello;
openshop;
close;

OnInit:
    .@npcId = getnpcid(0, .name$);
    setunitdata(.@npcId, UDT_HEADTOP, NPCEyes);
    setunitdata(.@npcId, UDT_HEADMIDDLE, SilkRobe);
    //setunitdata(.@npcId, UDT_HEADBOTTOM, LeatherTrousers); // FIXME: LeatherTrousers are BROKEN!
    setunitdata(.@npcId, UDT_WEAPON, AssassinBoots);
    setunitdata(.@npcId, UDT_HAIRSTYLE, 26);
    setunitdata(.@npcId, UDT_HAIRCOLOR, 2);

    tradertype(NST_MARKET);
    sellitem LeatherShirt, 120000, 1;
    sellitem JeansShorts, 120000, 1;
    sellitem ShortTankTop, 80000, 1;

    .sex = G_MALE;
    .distance = 5;
    end;

OnClock2359:
    restoreshopitem LeatherShirt, 120000, 1;
    restoreshopitem JeanShorts, 120000, 1;
    restoreshopitem ShortTankTop, 80000, 1;
    end;

}