summaryrefslogblamecommitdiff
path: root/npc/012-5/nicholas.txt
blob: 7a4d965291d1bdb4cd87b58f26647c6df1017b25 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13



               








                                                                                
 


                                       
 

                                                     
                                                                                                           

           
                                   
                              







                    
          
 
       

                               
                                   
 


                  

            
                                          




                                    
 
// 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;
}