summaryrefslogtreecommitdiff
path: root/npc/005-4/shop.txt
blob: 171e3839accf8b076d0dab5ed187b2b0542f072b (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
// Evol scripts.
// Author:
//    Reid
// Description:
//    Light Armor shop keeper.
// Variables:
//    ArtisQuests_Enora
// Values:
//    0    Default.
//    1    BlackSmith quest delivered.
//    2    Chelios Quest given.
//    3    Chelios Quest done.
//    4    BlackSmith gave the sword.
//    5    Light Armor Shop quest delivered.
//    6    Light Armor Shop gave the cloths.

005-4,30,37,0	trader	Shop	NPC_NO_SPRITE,{

OnInit:
    tradertype(NST_MARKET);

    sellitem RoundLeatherShield, -1, 3;
    sellitem SmallKnife, -1, 5;
    sellitem TolchiArrow, -1, 30000;
    sellitem LousyMoccasins, -1, 20;
    sellitem TrainingBow, -1, 3;

    .sex = G_OTHER;
    .distance = 3;
    end;

OnClock0000:
    restoreshopitem RoundLeatherShield, 3;
    restoreshopitem SmallKnife, 5;
    restoreshopitem TolchiArrow, 30000;
    restoreshopitem LousyMoccasins, 20;
    restoreshopitem TrainingBow, 1;
}