summaryrefslogblamecommitdiff
path: root/npc/000-0-0/sailors.txt
blob: 1d5b193049e7db7b16535e88ca7506abec311c9e (plain) (tree)
1
2
3
4
5
6
7
8
9

                        



                   
               

                                                                                           
                                                                                

                
                                                  

       
                                     
              
                        
                
                                                                                                                       
         


                                                 
 







                                                                                                                    
                               
                       
                                                                                                                                                                           

         
                        
                
                                                                                                                                                                                                                                                                            

         
                               



                                                                              
                        
                
                                                                                                                                                                       

         
                               



                                                                                                                   



                                                                                                     
               
                    
                                                                                     
                                                                              

         
        


                             
                        
                                          

                                
                              


                

                                                             
       
                                                                         




                                                                                

                                                                                   
        
 




                  
                                                                 






                                   
// TMW2 Script
// Modified by Jesusalva
// Evol scripts.
// Authors:
//    Ablu
//    Qwerty Dragon
//    Jesusalva
// Description:
//    Introduction scene where two sailors talk about how the player was found on his raft.
//    Elmo will handle dialogs between both NPCs. Modified for TMW2 by Jesusalva
// Translation 
// FR translated
000-0-0,29,45,0	script	Elmo#sailors	NPC_ELMO,{

OnTalk:
    deltimer("Elmo#sailors::OnSlow");
    setcamnpc;
    showavatar NPC_ELMO;
    mesn "Elmo";
    mesq l("Hey. You. You were in need of medical attention earlier. Do you remember how to walk, talk, attack, etc?");
    next;
    select
        l("Actually, a tutorial would be good!"),
        l("Yes, I do.");

    if (@menu == 2) {
        mesn l("Magic Arpan");
        mesq l("Yeye don't need to train here anymore! Let's head back to the ship before the sun sets, shall we?");
        next;
        goto L_Ready;
    }

    // TODO
    showavatar NPC_MAGIC_ARPAN;
    mesn "Magic Arpan";
    mesq lg("Yeye should go see the capt'n. We still don't know if she's friend or foe...", "Yeye should go see the capt'n. We still don't know if he's friend or foe...");
    next;

    showavatar NPC_ELMO;
    mesn "Elmo";
    mesq lg("I will. Oh, and give her some clothes, the poor girl, the ones she had were in an even worse condition than the ones we have.", "I will. Oh, and give him some clothes, the poor guy, the ones he had were in an even worse condition than the ones we have.");
    next;

    showavatar NPC_MAGIC_ARPAN;
    mesn "Magic Arpan";
    mesq l("Yayayaya, it's the first time someone is dressed worse than us!");
    next;

    showavatar NPC_ELMO;
    mesn "Elmo";
    mesq lg("Hehe... Ok, I'm going to inform the capt'n up there that the girl is fine.", "Hehe... Ok, I'm going to inform the capt'n up there that the boy is fine.");
    next;

    showavatar NPC_MAGIC_ARPAN;
    mesn "Magic Arpan";
    mesq lg("I'll give her everything she needs, don't worry.", "I'll give him everything he needs, don't worry.");
    next;

    //mesn "Elmo";
    //mesq lg("Ok, I think she's waking up, go see her.", "Ok, I think he's waking up, go see him.");
    //next;

    showavatar;
    mesn "Narrator";
    mesc l("It seems like you're finally safe. You shut your eyes and fall asleep.");
    mesc l("(Protip: Use ##Barrow keys##b to walk around once you wake up.)");
    next;

L_Ready:
    restorecam;
    adddefaultskills;
    setq General_Narrator, 0;
    percentheal 100,100;
    addtimer(45000,"Magic Arpan::OnSlow");
    LOCATION$ = "Candor";
    warp "002-1@Candor", 53, 38;
    savepoint "002-1", 55, 40;
    closedialog;
    close;

// Prevent players from forgetting what they were meant to do
// But if they logout, this will never trigger
OnSlow:
    npctalk3 l("Hey @@! You haven't clicked on me yet!", strcharinfo(0));
    addtimer(30000,"Elmo#sailors::OnSlow2");
    end;

OnSlow2:
    npctalk3 l("@@, do you need help? Are you lost? Click me!", strcharinfo(0));
    dispbottom l("Click on Elmo or Magic Arpan to continue and begin the game...");
    addtimer(60000,"Elmo#sailors::OnSlow");
    end;

OnInit:
    .sex = G_MALE;
    end;
}

000-0-0,29,34,0	script	Magic Arpan#sailors	NPC_MAGIC_ARPAN,{
    doevent "Elmo#sailors::OnTalk";
    close;

OnInit:
    .sex = G_MALE;
    end;
}