summaryrefslogtreecommitdiff
path: root/npc/008-2-7/shop.txt
blob: d565205f81d339d37395016dc2cdf26d73e6e904 (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
// Evol scripts.
// Authors:
//    4144
//    Micksha
//    Reid
//    toams
// Description:
//    Simons Potion Shop.

008-2-7,30,26,0	trader	#Invisible008-2-7	NPC_HIDDEN,{

OnInit:
    tradertype(NST_MARKET);

    sellitem SmallHealing, -1, 10;
    sellitem MediumHealing, -1, 5;
    sellitem SmallMana, -1, 10;
    sellitem MediumMana, -1, 5;
    sellitem ConcPotion, -1, 3;
    sellitem IronPotion, -1, 3;

    .bodytype = BODYTYPE_1;
    .distance = 4;
    end;

OnClock0000:
OnClock0800:
OnClock1600:
    restoreshopitem SmallHealing, 10;
    restoreshopitem MediumHealing, 5;
    restoreshopitem SmallMana, 10;
    restoreshopitem MediumMana, 5;
    restoreshopitem ConcPotion, 3;
    restoreshopitem IronPotion, 3;
    end;
}