summaryrefslogblamecommitdiff
path: root/npc/001-1_Tulimshar/vincent.txt
blob: 6ad799d5ff40f9e36e2b2307381d31bdb85fe741 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11


                                             
                                    

                                        
                           



                                       
 
           
                        
                                                                             


                   
           
                        
                                                                                             


                   
           

                                                                                           
             

                   
           
                        
                                                                                                




                        
                                                       








                              



                                   
 
       




                             
       




                                                        
       




                                                    
       






                                                          
                                                      

              
           
                                                  
                        
                                                        


              


                                                                





                                                     

                                                            

                          
             
 






                                        
//

001-1.gat,135,42,0	script	Vincent	113,{
	if(Bugleg == 2) goto L_Done;
	if(Bugleg == 1) goto L_Progress;

	set @TEMP, rand(4);
	if(@TEMP == 0) goto L_Opening1;
	if(@TEMP == 1) goto L_Opening2;
	if(@TEMP == 2) goto L_Opening3;
	if(@TEMP == 3) goto L_Opening4;

L_Opening1:
	mes "[Vincent]";
	mes "\"I just need 30 more [Bug Leg]s to finish my action figure!\"";
	next;
	goto L_Ask;

L_Opening2:
	mes "[Vincent]";
	mes "\"This maggot action figure is awesome! I just need to attach 30 [Bug Leg]s.\"";
	next;
	goto L_Ask;

L_Opening3:
	mes "[Vincent]";
	mes "\"This is a great action figure! A must have! All I need is a few parts...\"";
	next;
	goto L_Ask;

L_Opening4:
	mes "[Vincent]";
	mes "\"Can you get me 30 [Bug Leg]s? I need them to replace the action figure parts.\"";
	next;
	goto L_Ask;

L_Ask:
	mes "[Vincent]";
	mes "\"Will you help me find 30 [Bug Leg]s?\"";
	next;
	menu
		"Yes", L_Sure,
		"No", -;
	close;

L_Sure:
	set Bugleg, 1;
	set @TEMP,rand(4);
	if(@TEMP == 0) goto L_Req1;
	if(@TEMP == 1) goto L_Req2;
	if(@TEMP == 2) goto L_Req3;
	if(@TEMP == 3) goto L_Req4;

L_Req1:
	mes "[Vincent]";
	mes "\"Thank you!\"";
	next;
	goto L_Wait;

L_Req2:
	mes "[Vincent]";
	mes "\"I don't know how to thank you enough!\"";
	next;
	goto L_Wait;

L_Req3:
	mes "[Vincent]";
	mes "\"I will thank you when I get them!\"";
	next;
	goto L_Wait;

L_Req4:
	mes "[Vincent]";
	mes "\"I'm sure I will give a small reward. :D\"";
	next;
	goto L_Wait;

L_Wait:
	mes "[Vincent]";
	mes "\"Now please go get me 30 [Bug Leg]s.\"";
	close;

L_Progress:
	if(countitem("BugLeg") >= 30) goto L_Have;
	mes "[Vincent]";
	mes "\"Please help me collect 30 [Bug Leg]s!\"";
	close;

L_Have:
	mes "[Vincent]";
	mes "\"Excellent! Finally I can complete the model!!\"";
	next;

	if(countitem("BugLeg") < 30) goto L_Progress;
	delitem "BugLeg", 30;
	set zeny, zeny + 1000;
	set Bugleg, 2;

	mes "[Vincent]";
	mes "\"Here you go, a little of my appreciation!\"";
	mes "";
	mes "[1000 gold]";
	next;

	close;

L_Done:
	mes "[Vincent]";
	mes "\"Thanks for your help!\"";
	close;
}