summaryrefslogtreecommitdiff
path: root/npc/003-1/itka.txt
blob: c18662f3a1ce2236045e1f0af6094c05dcfe0b40 (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
// Author:
//    Jesusalva

003-1,63,141,0	script	Itka	NPC_F_SHOPKEEPER,{

    mesn;
    mesq lg("Hello, madam!", "Hello, sir!");
    next;
    mesq l("The inn north of me still haven't opened, which is a shame. I guess their cassino got too expensive.");
    next;
    mesq l("Anyway, I am selling Cherry Cakes to sponsor my studies. Right click on me to make bussiness!");
    close;

OnInit:
    .@npcId = getnpcid(0, .name$);
    //setunitdata(.@npcId, UDT_HEADTOP, 2936);
    setunitdata(.@npcId, UDT_HEADMIDDLE, 1320); 
    setunitdata(.@npcId, UDT_HEADBOTTOM, 2201);
    setunitdata(.@npcId, UDT_WEAPON, 1800); // I prefer 1801 but the short doesn't match
    setunitdata(.@npcId, UDT_HAIRSTYLE, 17);
    setunitdata(.@npcId, UDT_HAIRCOLOR, 19);

    // NOTE: To limit selling items must change trader type to NST_MARKET
	sellitem CherryCake, 200; // Unlimited cakes for 200 GP each

    .sex = G_FEMALE;
    .distance = 5;
    end;
}