summaryrefslogblamecommitdiff
path: root/npc/001-1/rowboat.txt
blob: a5e158d387f45256a7e23a274ac0e49c8ec8cd04 (plain) (tree)
1
2
3
4
5
6
7
8
9

                
                    

                                                                                     


                                                                                                   
 



                                                              
                     







                                                                                                                                                                     

          







                    



                  










                                                       
 
// Evol scripts.
// Author:
//    Micksha, Toams
// Description:
//    The rowboat, picking up the player on small beach in order to bring it to Koga.
// TODO:
// Check if the player who wants to enter the boat is the same as the one who called for the boat. 
// Make the rowboat move back to the cave if the player doesnt enter in time.

001-1,193,26,0	script	#Rowboat	NPC_ROWBOAT_STAND_WE,{
    

    speech S_LAST_BLANK_LINE | S_LAST_NEXT,
        l("Oh, hi."),
        l("In case you don't have a commendatory letter from you-know-whom, I am just sitting here and observe the whales."),
        l("Perhaps, and only perhaps, if you bring me the latter, I can bring you to a ship that will perhaps, and only perhaps, be able to bring you to Woodland."),
        l("Do you have this commendatory letter?");
        closeclientdialog();
        if (askyesno() == 1) {
           slide_or_warp("001-1", 204, 62);
           movenpc("#Rowboat", 193, 26);
           setmount 1;

    close;
    }

OnMoveToBeach:
firstmove;
end;
    
OnTimer1000:
    dographmovestep;

OnInit:
    .sex = G_MALE;
    .distance = 3;
    .speed = 175;
    
    initmovegraph "Cave",  193, 26,
                  "CP1",   202, 27,
                  "CP2",   213, 58,
                  "Beach", 203, 64;
                  
    setmovegraphcmd "Cave",   "CP1",      1,  "dir 4",
                    "CP1",    "CP2",      1,  "dir 4",
                    "CP2",    "Beach",    1,  "dir 4"; 
    initnpctimer;
}