summaryrefslogblamecommitdiff
path: root/npc/kafras/kafras_dungeons.txt
blob: c482f90390cb7268cbf463ff4aef06d822642083 (plain) (tree)






























                                                                            
                                                             




                                 
                                               



                                                         
                                                             




                                 
                                               



                                                                              
                                                             





                                                                                                                 
                                            




                                                                              
                                                             



                                 
                                               




                                                                               
                                                             



                                 
                                              




                                                                               
                                                             



                                 
                                             




                                                                               
                                                             



                                 
                                              



                                                                               
                                                             



                                 
                                           
                                        
 
//===== eAthena Script ================
//= Kafras in Dungeons and Fields
//===== By: ============================
//= eAthena Dev Team
//===== Current Version: =======================
//= 2.5
//===== Compatible With: ============================
//= eAthena 1.0
//===== Description: ============================================
//= Description of argument settings for callfunc "F_Kafra".
//=  arg(0): When set at 0 the default Kafra message is displayed.
//=    When set to 1 the Niflhiem Kafra message is displayed.
//=    When set to 2 the Guild Kafra message is displayed. 
//=  arg(1): Set to 1 to disable teleport menu option.  Otherwise set to 0.
//=  arg(2): Set to 1 to disable info menu.  Otherwise set to 0.
//===== Additional Comments: =================================
//= v1.1 Now using functions. Added teleport service for Orc Dungeon
//= and Coal Mine Kafras.
//= v2.1 Fixed bug with Merc job quest kafra.[Lupus]
//= v2.1b Minor changes to function calls.  Using arguments.
//= Added ant hell kafras.  This version uses arrays .[kobra_k88]
//= Fixed Kafras, not giving you Save menu [Lupus]
//= 2.3 Removed SAVE menu from dungeons Kafras [Lupus]
//= 2.4 Now Baby Merchant can pass Merch Job Quest w/o probs [Lupus]
//= 2.41 Removed useless warp points, already nullified by func call [Evera]
//= 2.5 Allowed Culvert save point [Evera]
//===============================================================


//<============================= Ant Hell ==============================>\\
// Mocfild04 -----------------------------------------
moc_fild04,230,329,3	script	Kafra::kaf_moc_fild04	115,{

	cutin "kafra_03",2;
	callfunc "F_Kafra",0,2,1;

	M_Save:
		savepoint "moc_fild04",231,339;
		callfunc "F_KafEnd",0,1;
}

// Mocfild15 --------------------------------------------
moc_fild15,264,260,3	script	Kafra::kaf_moc_fild15	115,{

	cutin "kafra_03",2;
	callfunc "F_Kafra",0,2,1;

	M_Save:
		savepoint "moc_fild15",266,271;
		callfunc "F_KafEnd",0,1;
}

//<============================= Byalan Island ============================>\\
izlu2dun,106,58,8	script	Kafra::kaf_izlu2dun	115,{

	cutin "kafra_03",2;
	if(BaseJob==Job_Novice && job_merchant_q3>0) callfunc "F_MercKafra";  //F_MercKafra found in merchant.txt
	callfunc "F_Kafra",0,2,1;

	M_Save:
		savepoint "izlu2dun",87,170;
		callfunc "F_KafEnd",0,1;
}


//<============================ Culvert Sewers ============================>\\
prt_fild05,290,224,1	script	Kafra::prt_fild05	114,{
	cutin "kafra_04",2;
	callfunc "F_Kafra",0,1,1;

	M_Save:
		savepoint "prt_fild05",274,243;
		callfunc "F_KafEnd",0,1;
}


//<=========================== Coal Mine (Dead Pitt) =======================>\\
mjolnir_02,83,361,4	script	Kafra::kaf_mjolnir_02	114,{
	cutin "kafra_04",2;
	callfunc "F_Kafra",0,6,1;

	M_Save:
		savepoint "mjolnir_02",98,352;
		callfunc "F_KafEnd",0,1;
}


//<=============================== Morroc Ruins ============================>\\
moc_ruins,61,156,5	script	Kafra::moc_ruins	114,{
	cutin "kafra_04",2;
	callfunc "F_Kafra",0,2,1;

	M_Save:
		savepoint "moc_ruins",41,141;
		callfunc "F_KafEnd",0,1;
}


//<================================ Orc Dungeon ============================>\\
gef_fild10,73,340,4	script	Kafra::kaf_gef_fild10	115,{
	cutin "kafra_03",2;
	callfunc "F_Kafra",0,6,1;

	M_Save:
		savepoint "gef_fild10",54,326;
		callfunc "F_KafEnd",0,1;
}

//<============================== Treasure Island ==========================>\\
alb2trea,59,69,1	script	Kafra::kaf_alb2trea	117,{
	cutin "kafra_01",2;
	callfunc "F_Kafra",0,2,1;

	M_Save:
		savepoint "alb2trea",92,64;
		callfunc "F_KafEnd",0,1;
}