summaryrefslogtreecommitdiff
path: root/npc/005-4/shop.txt
blob: fbf8c6dfb7ff93db75def8028079c3882df8a7de (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
40
41
42
// 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#Candor	NPC_NO_SPRITE,{

OnInit:
    tradertype(NST_MARKET);

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

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

OnClock0602:
OnClock1206:
OnClock1811:
OnClock0004:
    restoreshopitem RoundLeatherShield, -1, 2;
    restoreshopitem SmallKnife, -1, 5;
    restoreshopitem TolchiArrow, -1, 30000;
    restoreshopitem LousyMoccasins, -1, 4;
    restoreshopitem TrainingBow, -1, 3;
}