summaryrefslogtreecommitdiff
path: root/npc/quests/juperos.txt
blob: 50a72fdedfcad31bb87d7679863e2817a8293c8b (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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
//===== Athena Script =====================================
//= Juperos Dungeon Quests
//===== By ================================================
//= MasterOfMuppets
//===== Version ===========================================
//= 1.0
//===== Compatible With ===================================
//= eAthena 1.0
//===== Description =======================================
//= 
//===== Comments ==========================================
//= 1.0 First version, partly implemented [MasterOfMuppets]
//=========================================================

juperos_01,79,91,1	script	Sculpture#Juperos1	111,{

	mes "^3131FFIt's a sculpture that";
	mes "looks familiar to you.";
	close;

}

juperos_01,100,71,1	script	Bronze Statue#Juperos2	111,{

	mes "^3131FFIt's an elaborate";
	mes "bronze statue that";
	mes "is twice the height of";
	mes "a normal human being.";
	close;

}

juperos_01,124,92,1	script	Stone Statue#Juperos3	111,{

	mes "^3131FFIt's an old";
	mes "statue sculpted";
	mes "out of stone.";
	close;

}

//Quest related?
//juperos_01,x,y,1	script	Bronze Statue#Juperos4	111,{
//
//	mes "^3131FFThere's a peculiar";
//	mes "engraving on the";
//	mes "Bronze Statue's rod.";
//	next;
//	menu "Investigate",s_Invest,"Ignore it",-;
//
//	close;
//
//s_Invest:
//
//	mes "^3131FFIt's an inscription that's";
//	mes "written in an old language";
//	mes "that you can't understand,";
//	mes "but have no problem reading";
//	mes "and making out the sounds";
//	mes "for some weird reason.";
//	next;
//	mes "[" + strcharinfo(0) + "]";
//	mes "This is creepy!";
//	mes "I know that I'm not";
//	mes "supposed to be able";
//	mes "to read this, but here";
//	mes "I am. I know what sounds";
//	mes "all of these letters make...";
//	next;
//	mes "[" + strcharinfo(0) + "]";
//	mes "Huh. Only a scholar,";
//	mes "maybe someone even in";
//	mes "Juno, could make sense";
//	mes "of what this stuff says.";
//	close;
//
//}

juperos_02,1,1,1	script	JuperosLvl2QuestInit	-1,{
OnInit:
while(1)
	{

		monster "juperos_02",24,276,"1st Gate Switch",1674,1,"JuperosLvl2QuestInit::OnGate1Dead";
		monster "juperos_02",240,29,"2nd Gate Switch",1674,1,"JuperosLvl2QuestInit::OnGate2Dead";
		monster "juperos_02",282,183,"3rd Gate Switch",1674,1,"JuperosLvl2QuestInit::OnGate3Dead";
		end;

OnGate1Dead:

	mapannounce "juperos_02","Have you come seeking Juperos?! It no longer exists...",1,0xFF0000;
	set $JupeGate1,1;
	if($JupeGate1 && $JupeGate2 && $JupeGate3)goto s_WarpOpen;
	end;

OnGate2Dead:

	mapannounce "juperos_02","Who are you to come here?",1,0xFF0000;
	set $JupeGate2,1;
	if($JupeGate1 && $JupeGate2 && $JupeGate3)goto s_WarpOpen;
	end;

OnGate3Dead:

	mapannounce "juperos_02","Have you come to see me? Fine! Find me first!",1,0xFF0000;
	set $JupeGate3,1;
	if($JupeGate1 && $JupeGate2 && $JupeGate3)goto s_WarpOpen;
	end;

s_WarpOpen:
	attachnpctimer;
	initnpctimer;
		end;
	OnTimer3000:
		mapannounce "juperos_02","Vroom! Vroom!",1,0xBA55D3;
		end;
	OnTimer6000:
		mapannounce "juperos_02","Attention, visitors.",1,0xBA55D3;
		end;
	OnTimer9000:
		mapannounce "juperos_02","You are allowed to enter the next zone for a short period of time. Please use the portal in the center of the map.",1,0xBA55D3;
		enablenpc "JupeWarp2";
		end;
	OnTimer309000:
		mapannounce "juperos_02","The portal has now closed.",1,0xBA55D3;
		disablenpc "JupeWarp2";
		set $JupeGate1,0;
		set $JupeGate2,0;
		set $JupeGate3,0;
	stopnpctimer;
	}
}