summaryrefslogblamecommitdiff
path: root/npc/warps/dungeons/juperos.txt
blob: 0542ffdbc4c3da445f90321ca7f562a859381a3f (plain) (tree)
1
2
3
4
5
6
7
8




                                                               
        
                                                               
                                                             





                                                               
                                                           
                                                                  






































                                                                                   
                                               
              
                                     
                                                         

                                            
                        


                                           
               
  
 

                                                          
                                                      
                         
             

             
                                                               





                                       
                                                                      


                                   



                                                              
                                               
              
                                     


                                                         
                        

                                           
               


                                                      
                                                                
              
                                     
                                



                                                  





                                     




                                                      




                                             
               
  
//===== Athena Script ========================================
//= Juperos Dungeon Warp Script
//===== By: ==================================================
//= Muad-Dib (1.0)
//===== Current Version: =====================================
//= 1.3
//===== Compatible With: =====================================
//= eAthena with independant npctimer support; RO Episode 8+
//===== Description: =========================================
//= Warp Points for Juperos Dungeon
//===== Additional Comments: =================================
//= 1.0 Converted by Dr.Evil [Lupus]
//= 1.1 More temp warps to Juperos by Justin84 [Lupus]
//= 1.2 Justin84's fixed elevator scripts
//= 1.3 Fixed getting stuck when player relogs in. [Lance]
//= 1.4 Added attachnpctimer to the initnpctimer calls. [Skotlex]
//============================================================
	
yuno_fild07.gat,207,175,0	warp	jupwrp01	1,1,jupe_cave.gat,143,52
jupe_cave.gat,148,52,0	warp	jupwrp02	1,1,yuno_fild07.gat,212,175
jupe_cave.gat,26,52,0	warp	jupwrp03	1,1,juperos_01.gat,53,247
juperos_01.gat,50,250,0	warp	jupwrp04	1,1,jupe_cave.gat,29,52
juperos_01.gat,99,92,0	warp	jupwrp05	1,1,juperos_02.gat,36,60
juperos_02.gat,33,60,0	warp	jupwrp06	1,1,juperos_01.gat,99,88
jupe_ele_r.gat,49,27,0	warp	jupwrp07	1,1,jupe_gate.gat,49,52
jupe_gate.gat,49,55,0	warp	jupwrp08	1,1,jupe_ele_r.gat,49,30

jupe_gate.gat,28,30,0	warp	jupwrp11	1,1,jupe_area1.gat,115,158
jupe_area1.gat,118,158,0	warp	jupwrp12	1,1,jupe_gate.gat,31,30
jupe_gate.gat,71,30,0	warp	jupwrp13	1,1,jupe_area2.gat,48,158
jupe_area2.gat,45,158,0	warp	jupwrp14	1,1,jupe_gate.gat,68,30
jupe_gate.gat,28,146,0	warp	jupwrp15	1,1,jupe_area1.gat,101,222
jupe_area1.gat,103,222,0	warp	jupwrp16	1,1,jupe_gate.gat,31,146
jupe_gate.gat,71,146,0	warp	jupwrp17	1,1,jupe_area2.gat,62,222
jupe_area2.gat,60,222,0	warp	jupwrp18	1,1,jupe_gate.gat,68,146

jupe_area1.gat,84,222,0	warp	jupwrp21	1,1,jupe_area1.gat,45,260
jupe_area1.gat,48,260,0	warp	jupwrp22	1,1,jupe_area1.gat,86,222
jupe_area1.gat,22,226,0	warp	jupwrp23	1,1,jupe_area1.gat,22,189
jupe_area1.gat,22,192,0	warp	jupwrp24	1,1,jupe_area1.gat,22,228
jupe_area1.gat,34,138,0	warp	jupwrp25	1,1,jupe_area1.gat,34,103
jupe_area1.gat,34,106,0	warp	jupwrp26	1,1,jupe_area1.gat,34,140
jupe_area1.gat,58,54,0	warp	jupwrp27	1,1,jupe_area1.gat,86,158
jupe_area1.gat,84,158,0	warp	jupwrp28	1,1,jupe_area1.gat,55,54

jupe_area2.gat,79,222,0	warp	jupwrp31	1,1,jupe_area2.gat,118,260
jupe_area2.gat,115,260,0	warp	jupwrp32	1,1,jupe_area2.gat,77,222
jupe_area2.gat,141,226,0	warp	jupwrp33	1,1,jupe_area2.gat,141,189
jupe_area2.gat,141,192,0	warp	jupwrp34	1,1,jupe_area2.gat,141,228
jupe_area2.gat,129,138,0	warp	jupwrp35	1,1,jupe_area2.gat,129,103
jupe_area2.gat,129,106,0	warp	jupwrp36	1,1,jupe_area2.gat,129,140
jupe_area2.gat,105,54,0	warp	jupwrp37	1,1,jupe_area2.gat,77,158
jupe_area2.gat,79,158,0	warp	jupwrp38	1,1,jupe_area2.gat,108,54

juperos_02.gat,129,150,0	script	Juperos	111,{
	mes "Are you sure you want to enter?";
	next;
	if(select("Yes","No") == 1){
		set jupe_destination$, "jupe_ele_r.gat";
		set jupe_destination_x, 50;
		set jupe_destination_y, 94;
		close2;
		warp "jupe_ele.gat",41,45;
		end;
	}
	close;
}

jupe_ele.gat,41,45,0	script	detectionUnit	-1,20,20{
OnTouch:
	attachnpctimer; //Attach player to this timer
	initnpctimer;	
	end;

OnTimer1000:
	announce "Please wait for a moment.", bc_self|bc_blue;
	soundeffect "jupe_warp.wav",0;
	end;

OnTimer15000:
	stopnpctimer;
	setnpctimer 0;
	warp jupe_destination$,jupe_destination_x,jupe_destination_y;
	set jupe_destination$, "";
	set jupe_destination_x, 0;
	set jupe_destination_y, 0;
	end;
}

jupe_ele_r.gat,50,98,0	script	Juperos Elevator	111,{
	mes "Are you sure you want to go up?";
	next;
	if(select("Yes","No") == 1){
		set jupe_destination$, "juperos_02.gat";
		set jupe_destination_x, 129;
		set jupe_destination_y, 147;
		close2;
		warp "jupe_ele.gat",41,45;
	}
	close;
}

jupe_gate.gat,49,168,0	script	Juperos Guard	111,{
	mes "Are you sure you want to enter the Juperos Core?";
	next;
	if(select("Yes","No") == 1){
		attachnpctimer;
		initnpctimer;
		soundeffect "jupe_warning.wav",0;
	}
	close;

OnTimer5000:
	stopnpctimer;
	setnpctimer 0;
	warp "jupe_core.gat",150,20;
	end;
}

jupe_core.gat,150,17,0	script	Juperos Guard#2	111,{
	mes "Leave Juperos Core?";
	next;
	if(select("Yes", "No") == 1){
		close2;
		warp "jupe_gate.gat",49,165;
		end;
	}
	close;
}