summaryrefslogtreecommitdiff
path: root/npc/005-4/shop.txt
blob: bb5dd0e25ce7f4d44f06b1d6229f67b898b5d899 (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
// 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 Knife, -1, 5;
    sellitem TolchiArrow, -1, 30000;
    sellitem LousyMoccasins, -1, 20;

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

OnClock0000:
    restoreshopitem RoundLeatherShield, 3;
    restoreshopitem Knife, 5;
    restoreshopitem TolchiArrow, 30000;
    restoreshopitem LousyMoccasins, 20;
}