summaryrefslogtreecommitdiff
path: root/npc/003-1/neko.txt
blob: 24ec82a79c862afeba5edc5237f4e130e69f2cb3 (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
// TMW-2 Script
// Author:
//    Saulc
//    Jesusalva
// Description:
//    Another shopkeeper which babbles about Jean Shorts, how Cave Snake drops them
//    and encourage players to find it

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

hello;
shop .name$;
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 ShortTankTop, 80000, 1;
    sellitem TrainingBow, 990, 2;

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

OnClock2359:
    restoreshopitem LeatherShirt, 120000, 1;
    restoreshopitem TrainingBow, 990, 2;
    restoreshopitem ShortTankTop, 80000, 1;
    end;

}