summaryrefslogblamecommitdiff
path: root/npc/warps/dungeons/kiel_dun.txt
blob: 09e9bce686b2c44887d848ce0d95807df01a621b (plain) (tree)











































































                                                                      
                                                               
//===== Athena Script ========================================
//= Kiel Dungeon Warp Script
//===== By: ==================================================
//= Lost Kakashi
//===== Current Version: =====================================
//= 1.1
//===== Compatible With: =====================================
//= eAthena 1.0
//===== Description: =========================================
//= Warp Points for the Kiel Dungeon
//===== Additional Comments: =================================
//= 1.1 Added official Kiel Dungeon entrance [Playtester]
//============================================================

//= Kiel Dungeon =============================================
kh_dun01.gat,3,234,0	warp	khwarp01	1,1,yuno_fild08,69,170

//= Graveyard Switch =========================================
yuno_fild08.gat,67,169,4	script	Switch#kh	111,1,1,{

  mes "You examine the grave and find a switch!";
  mes "Do you want to press it?";
  next;

  menu "Yes.",-,"No.",L_End;

  mes "Suddenly the grave opens and reveals a staircase.";
  close2;

  warp "kh_dun01",4,229;
  end;

L_End:
  mes "You decided not to press it.";
  close;
}

//= Elevator to Floor 2 ======================================
kh_dun01.gat,44,203,4	script	Switch#khe1::khelevator	111,1,1,{

  mes "The elevator seems to be broken.";
  mes "But you could repair it with";
  mes "^0000FF40 Hard Pieces of Steel^000000.";
  next;

  mes "Be careful, though.";
  mes "This will only work once and there's no turning back.";
  next;

  mes "Do you want to repair the elevator?";
  next;

  menu "Yes.",-,"No.",L_End;
  
  if(countitem(7507)<40) goto L_NoItem;
  delitem 7507,40;
  mes "The elevator starts moving.";
  mes "You quickly jump into it.";
  close2;
  
  warp "kh_dun02",44,195;
  end;

L_NoItem:
  mes "It appears you don't have enough items.";
L_End:
  mes "The elevator remains broken.";
  close;
}

kh_dun01.gat,36,195,4	duplicate(khelevator)	Switch#khe2	111

//= Custom Kiel Dungeon Warps ================================
//kh_dun01.gat,3,234,0	warp	warp01	1,1,kh_dun02.gat,42,197
//kh_dun02.gat,45,194,0	warp	warp02	1,1,kh_dun01.gat,4,229
//kh_kiehl02.gat,49,52,0	warp	warp05	1,1,kh_dun01.gat,63,10
//kh_dun01.gat,64,7,0	warp	warp06	1,1,kh_kiehl02.gat,51,49