summaryrefslogtreecommitdiff
path: root/npc/warps/dungeons/kiel_dun.txt
blob: 18307540b600b76c613b935cc4c089b9f4fc875f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
//===== 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,3,234,0	warp	khwarp01	1,1,yuno_fild08,69,170

//= Graveyard Switch =========================================
yuno_fild08,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,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,36,195,4	duplicate(khelevator)	Switch#khe2	111

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