summaryrefslogtreecommitdiff
path: root/npc/012-5/nicholas.txt
blob: 7a4d965291d1bdb4cd87b58f26647c6df1017b25 (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
43
44
45
46
47
48
49
50
51
52
// TMW-2 Script
// Author:
//    Jesusalva
// Description:
//    Nicholas is Hurnscald's blakcsmith. He forges stuff, and sell other stuff.
//
// PS.
// Iridium + Platyna        Platinum
// Gold + Coal              Gold
// Silver + Coal            Silver
// Copper + Tin             Bronze
// Terranite + Coal         Terranite
// Iron + Coal              Iron

// Resitance and Weight increasing ores
// Lead → +++ res, ++++ wei
// Titanium → + res, + wei

012-5,36,26,0	script	Nicholas	NPC_CHELIOS,{
    mesn;
    mesq l("Hello there, I am @@, blacksmith of this fine city. What do you want to forge today?", .name$);
    mes "";
    select
        l("I just want to trade."),
        l("Nothing, thanks!");

    switch (@menu) {
    case 1:
        openshop;
        closedialog;
        close;
        break;
    }
    close;

OnInit:
	tradertype(NST_MARKET);
    sellitem Dagger, 4000, 5;
    sellitem WoodenSword, 10000, 1;

    .sex = G_MALE;
    .distance = 5;
    end;

OnClock0009:
    restoreshopitem WoodenSword, 10000, 1;
OnClock0603:
OnClock1207:
OnClock1801:
    restoreshopitem Dagger, 4000, 5;
    end;
}