summaryrefslogtreecommitdiff
path: root/npc/006-2-1/server.txt
blob: 5375cb9e6c823fa4aaa6bf468eeea2f650c6f682 (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
// TMW2 Script.
// Author:
//    Jesusalva
// Modified by:
//	  +seeds

006-2-1,41,74,0	script	Server	NPC_PIOU_SERVER,{

    mesn;
    mesq l("Hello! Would you like to try some piou delicacies?");
    next;
    closedialog;
    npcshopattach(.name$);
    shop .name$;
    close;

OnInit:

    .sex = G_OTHER;
    .distance = 5;

    tradertype(NST_MARKET);
    sellitem Piberries, 20, 20;
    sellitem Aquada, 120, 5;
    sellitem LettuceLeaf, 30, 15;
    sellitem Bread, 46, 10;
    sellitem Cheese, 55, 15;

    end;

OnClock0556:
OnClock1201:
OnClock1759:
OnClock0003:
    restoreshopitem Piberries, 20, 20;
    restoreshopitem Aquada, 120, 5;
    restoreshopitem LettuceLeaf, 30, 15;
    restoreshopitem Bread, 46, 10;
    restoreshopitem Cheese, 55, 15;

}