summaryrefslogtreecommitdiff
path: root/npc/warps/fields/abyss_warper.txt
blob: 502e05d0bb0c3546196248f5c7928b1b5dded9c3 (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
//===== Athena Script ========================================
//= Abyss Cave Warper
//===== By: ==================================================
//= erKURITA
//===== Current Version: =====================================
//= 1.1
//===== Compatible With: =====================================
//= Any Athena Version
//===== Description: =========================================
//= Warper to Abyss Cave. and warper out
//===== Additional Comments: =================================
//= 1.0 Added by Nexon [Nexon]
//= 1.1 Removed Duplicates [Silent]
//============================================================

hu_fild05.gat,168,303,0	script	Pillar#01	111,{
	mes "[Ancient Voice]";
	mes "So, you wish access to the Abyss Cave?";
	mes "You have to bring me then 1 Dragon Canine, 1 Dragon Tail and 1 Dragon Scale";
	mes "in order to grant you access to the island";
	next;
	mes "[Ancient Voice]";
	mes "Do you wish to go?";
	next;
	menu "Yes",L_Check,"No",-;
	mes "Return when you are ready.";
	close;

L_Check:
	mes "[Ancient Voice]";
	mes "Good, let me check your items first";
	next;
	mes "[Ancient Voice]";
	if ((countitem(1035) == 0) || (countitem(1036) == 0) || (countitem(1037) == 0)) goto L_No_Items;
	mes "Good, I hereby grant you access then";
	mes "Please hurry. The entrance will not stay open for long";
	close2;
	delitem 1035,1;
	delitem 1036,1;
	delitem 1037,1;
	enablenpc "warpabyss";
	initnpctimer;
	warp "hu_fild05",181,197;
	end;

L_No_Items:
	mes "You dont have enough items";
	close;

OnTimer10000:
	disablenpc "warpabyss";
	stopnpctimer;
	setnpctimer 0;
	end;

OnInit:
	disablenpc "warpabyss";
	end;
}


hu_fild05.gat,171,212,0 script Pillar#02 111,{
	mes "[Ancient Voice]";
	mes "Leave the island?";
	next;
	menu "Yes",-,"No",L_close;
	warp "hu_fild05.gat",168,301;
	end;

L_close:
	mes "[Ancient Voice]";
	mes "Return when you are ready.";
	close;
}

hu_fild05.gat,197,210,0	warp	warpabyss	2,3,abyss_01.gat,264,271