1 | //===== eAthena Script ======================================= |
---|
2 | //= Payon Guides |
---|
3 | //===== By: ================================================== |
---|
4 | //= kobra_k88; L0ne_W0lf |
---|
5 | //===== Current Version: ===================================== |
---|
6 | //= 1.6 |
---|
7 | //===== Compatible With: ===================================== |
---|
8 | //= eAthena SVN |
---|
9 | //===== Description: ========================================= |
---|
10 | //= [Aegis COnversion] |
---|
11 | //= Guides for the City of Payon |
---|
12 | //===== Additional Comments: ================================= |
---|
13 | //= Fully working |
---|
14 | //= v1.1 Now using duplicate command.New Payon Locations [Darkchild] |
---|
15 | //= 1.2 Optimized, updated common guide names [Lupus] |
---|
16 | //= 1.3 Updated the guide according to how it is on iRO, thanks [MasterOfMuppets] |
---|
17 | //= to Muad_Dib |
---|
18 | //= 1.3a Fixed some problems with duplicated text, thanks to muad_dib [MasterOfMuppets] |
---|
19 | //= 1.4 Fitted the many lines into 1 or 2, and corrected some typos [erKURITA] |
---|
20 | //= 1.4a Tixed Archer Village Guide [Lupus] |
---|
21 | //= 1.5 Removed Duplicates [Silent] |
---|
22 | //= 1.6 Rescripted to Aegis 10.3 standards. [L0ne_W0lf] |
---|
23 | //============================================================ |
---|
24 | |
---|
25 | payon,162,67,4 script Guide#pay 708,{ |
---|
26 | cutin "pay_soldier",2; |
---|
27 | mes "[Payon Guide]"; |
---|
28 | mes "Welcome to the"; |
---|
29 | mes "mountain city of Payon."; |
---|
30 | mes "If you're unfamiliar with this"; |
---|
31 | mes "area, I can help you find what"; |
---|
32 | mes "you're looking for around here."; |
---|
33 | set .@loop1,1; |
---|
34 | while (.@loop1) { |
---|
35 | next; |
---|
36 | switch(select("City Guide:Remove Marks from Mini-Map:Notice.:Cancel")) { |
---|
37 | case 1: |
---|
38 | mes "[Payon Guide]"; |
---|
39 | mes "Please select"; |
---|
40 | mes "a location from"; |
---|
41 | mes "the following menu."; |
---|
42 | if (.@compass_check == 0) { |
---|
43 | mes "Would you like me"; |
---|
44 | mes "to mark locations"; |
---|
45 | mes "on your Mini-Map?"; |
---|
46 | next; |
---|
47 | if (select("Yes.:No.") == 1) set .@compass_check,1; |
---|
48 | } |
---|
49 | set .@loop2,1; |
---|
50 | while(.@loop2) { |
---|
51 | if (.@wait_button_chk == 0) set .@wait_button_chk,1; |
---|
52 | else next; |
---|
53 | switch(select("^FF0000Archer Guild^000000:Weapon Shop:Tool Shop:Pub:Central Palace:The Empress:Palace Annex:Royal Kitchen:Forge:Cancel")) { |
---|
54 | case 1: |
---|
55 | mes "[Payon Guide]"; |
---|
56 | mes "The Archer Guild handles"; |
---|
57 | mes "Job Changes to the Archer"; |
---|
58 | mes "Class. You'll need to enter"; |
---|
59 | mes "the Archer Village which is"; |
---|
60 | mes "to the northeast of Payon."; |
---|
61 | if (.@compass_check) |
---|
62 | viewpoint 1,227,328,2,0xFF0000; |
---|
63 | break; |
---|
64 | case 2: |
---|
65 | mes "[Payon Guide]"; |
---|
66 | mes "The Weapon Shop"; |
---|
67 | mes "can be found in the"; |
---|
68 | mes "northwest corner of"; |
---|
69 | mes "the city of Payon."; |
---|
70 | if (.@compass_check) |
---|
71 | viewpoint 1,139,159,3,0xFF00FF; |
---|
72 | break; |
---|
73 | case 3: |
---|
74 | mes "[Payon Guide]"; |
---|
75 | mes "The Tool Shop"; |
---|
76 | mes "is located near"; |
---|
77 | mes "the northwest"; |
---|
78 | mes "corner of Payon."; |
---|
79 | if (.@compass_check) |
---|
80 | viewpoint 1,144,85,4,0xFF00FF; |
---|
81 | break; |
---|
82 | case 4: |
---|
83 | mes "[Payon Guide]"; |
---|
84 | mes "The Pub can be"; |
---|
85 | mes "found in the northeast"; |
---|
86 | mes "part of Payon. It's the"; |
---|
87 | mes "best place to relax after"; |
---|
88 | mes "a long day of hunting."; |
---|
89 | if (.@compass_check) |
---|
90 | viewpoint 1,220,117,5,0xFF00FF; |
---|
91 | break; |
---|
92 | case 5: |
---|
93 | mes "[Payon Guide]"; |
---|
94 | mes "The Central Palace"; |
---|
95 | mes "is located to the north"; |
---|
96 | mes "within the city of Payon."; |
---|
97 | if (.@compass_check) |
---|
98 | viewpoint 1,155,245,6,0x00FF00; |
---|
99 | break; |
---|
100 | case 6: |
---|
101 | mes "[Payon Guide]"; |
---|
102 | mes "The Empress"; |
---|
103 | mes "can be found to the"; |
---|
104 | mes "northwest in Payon."; |
---|
105 | if (.@compass_check) |
---|
106 | viewpoint 1,107,324,7,0x00FF00; |
---|
107 | break; |
---|
108 | case 7: |
---|
109 | mes "[Payon Guide]"; |
---|
110 | mes "The Palace Annex"; |
---|
111 | mes "can be found in the"; |
---|
112 | mes "western part of Payon."; |
---|
113 | if (.@compass_check) |
---|
114 | viewpoint 1,130,204,8,0x00FF00; |
---|
115 | break; |
---|
116 | case 8: |
---|
117 | mes "[Payon Guide]"; |
---|
118 | mes "The Royal Kitchen"; |
---|
119 | mes "is located near the"; |
---|
120 | mes "northern end of Payon."; |
---|
121 | if (.@compass_check) |
---|
122 | viewpoint 1,154,325,9,0x00FF00; |
---|
123 | break; |
---|
124 | case 9: |
---|
125 | mes "[Payon Guide]"; |
---|
126 | mes "The Forge is"; |
---|
127 | mes "situated near"; |
---|
128 | mes "the center of Payon."; |
---|
129 | if (.@compass_check) |
---|
130 | viewpoint 1,126,169,10,0xFFFF00; |
---|
131 | break; |
---|
132 | case 10: |
---|
133 | mes "[Payon Guide]"; |
---|
134 | mes "Please ask me to ''Remove"; |
---|
135 | mes "Marks from Mini-Map'' if you"; |
---|
136 | mes "no longer wish to have the"; |
---|
137 | mes "location marks displayed"; |
---|
138 | mes "on your Mini-Map."; |
---|
139 | set .@loop2,0; |
---|
140 | break; |
---|
141 | } |
---|
142 | } |
---|
143 | break; |
---|
144 | case 2: |
---|
145 | viewpoint 2,237,41,2,0x00FF00; |
---|
146 | viewpoint 2,237,41,3,0x0000FF; |
---|
147 | viewpoint 2,46,345,4,0xFF00FF; |
---|
148 | viewpoint 2,175,220,5,0xFF0000; |
---|
149 | viewpoint 2,175,220,6,0xFF0000; |
---|
150 | viewpoint 2,175,220,7,0xFF0000; |
---|
151 | viewpoint 2,237,41,8,0x0000FF; |
---|
152 | viewpoint 2,46,345,9,0x00FF00; |
---|
153 | viewpoint 2,175,220,10,0xFF0000; |
---|
154 | set .@compass_check,0; |
---|
155 | break; |
---|
156 | case 3: |
---|
157 | mes "[Payon Guide]"; |
---|
158 | mes "Advances in sorcery and"; |
---|
159 | mes "technology have allowed"; |
---|
160 | mes "us to update our information"; |
---|
161 | mes "system, enabling up to mark"; |
---|
162 | mes "locations on your Mini-Map"; |
---|
163 | mes "for easier navigation."; |
---|
164 | next; |
---|
165 | mes "[Payon Guide]"; |
---|
166 | mes "Your Mini-Map is located"; |
---|
167 | mes "in the upper right corner"; |
---|
168 | mes "of the screen. If you can't"; |
---|
169 | mes "see it, press the Ctrl + Tab"; |
---|
170 | mes "keys or click the ''Map'' button in your Basic Info Window."; |
---|
171 | next; |
---|
172 | mes "[Payon Guide]"; |
---|
173 | mes "On your Mini-Map,"; |
---|
174 | mes "click on the ''+'' and ''-''"; |
---|
175 | mes "symbols to zoom in and"; |
---|
176 | mes "our of your Mini-Map. We"; |
---|
177 | mes "hope you enjoy your travels"; |
---|
178 | mes "here in the city of Payon."; |
---|
179 | break; |
---|
180 | case 4: |
---|
181 | mes "[Payon Guide]"; |
---|
182 | mes "Be safe in"; |
---|
183 | mes "your travels,"; |
---|
184 | mes "brave adventurer."; |
---|
185 | close2; |
---|
186 | set .@loop1,0; |
---|
187 | break; |
---|
188 | } |
---|
189 | } |
---|
190 | cutin "pay_soldier",255; |
---|
191 | end; |
---|
192 | } |
---|
193 | |
---|
194 | pay_arche,85,30,2 script Guide#2pay 708,{ |
---|
195 | cutin "pay_soldier",2; |
---|
196 | mes "[Payon Guide]"; |
---|
197 | mes "Welcome to the"; |
---|
198 | mes "mountain city of Payon."; |
---|
199 | mes "If you're unfamiliar with this"; |
---|
200 | mes "area, I can help you find what"; |
---|
201 | mes "you're looking for around here."; |
---|
202 | set .@loop1,1; |
---|
203 | while (.@loop1) { |
---|
204 | next; |
---|
205 | switch(select("City Guide:Remove Marks from Mini-Map:Notice:Cancel")) { |
---|
206 | case 1: |
---|
207 | mes "[Payon Guide]"; |
---|
208 | mes "Please, select a menu."; |
---|
209 | if (.@compass_check == 0) { |
---|
210 | mes "Would you like to leave indicators on the mini-map?"; |
---|
211 | next; |
---|
212 | if (select("Yes.:No.") == 1) set .@compass_check,1; |
---|
213 | } |
---|
214 | set .@loop2,1; |
---|
215 | while(.@loop2) { |
---|
216 | if (.@wait_button_chk == 0) set .@wait_button_chk,1; |
---|
217 | else next; |
---|
218 | switch(select("^FF0000Archer Guild^000000:Tool Shop:Payon Dungeon:Cancel")) { |
---|
219 | case 1: |
---|
220 | mes "[Payon Guide]"; |
---|
221 | mes "The Archer Guild,"; |
---|
222 | mes "found northeast in"; |
---|
223 | mes "the Archer Village,"; |
---|
224 | mes "handles Job Changes"; |
---|
225 | mes "to the Archer Class."; |
---|
226 | if (.@compass_check) |
---|
227 | viewpoint 1,144,164,0,0xFFFF00; |
---|
228 | break; |
---|
229 | case 2: |
---|
230 | mes "[Payon Guide]"; |
---|
231 | mes "You can find"; |
---|
232 | mes "a Tool Shop in"; |
---|
233 | mes "the northeast corner"; |
---|
234 | mes "of the Archer Village."; |
---|
235 | if (.@compass_check) |
---|
236 | viewpoint 1,71,156,1,0xFFFF00; |
---|
237 | break; |
---|
238 | case 3: |
---|
239 | mes "[Payon Guide]"; |
---|
240 | mes "The entrance to"; |
---|
241 | mes "the Payon Dungeon"; |
---|
242 | mes "is located at the west"; |
---|
243 | mes "end of the village."; |
---|
244 | if (.@compass_check) |
---|
245 | viewpoint 1,34,132,2,0xFFFFFF; |
---|
246 | break; |
---|
247 | case 4: |
---|
248 | mes "[Payon Guide]"; |
---|
249 | mes "If you'd like to erase the marks on the mini-map, select menu, 'Wipe all indicators on the mini-map'."; |
---|
250 | set @loop2,0; |
---|
251 | break; |
---|
252 | } |
---|
253 | } |
---|
254 | break; |
---|
255 | case 2: |
---|
256 | viewpoint 2,237,41,0,0xFF00FF; |
---|
257 | viewpoint 2,237,41,1,0xFF0000; |
---|
258 | viewpoint 2,46,345,2,0xFF00FF; |
---|
259 | set .@compass_check,0; |
---|
260 | break; |
---|
261 | case 3: |
---|
262 | mes "[Payon Guide]"; |
---|
263 | mes "Advances in sorcery and"; |
---|
264 | mes "technology have allowed"; |
---|
265 | mes "us to update our information"; |
---|
266 | mes "system, enabling up to mark"; |
---|
267 | mes "locations on your Mini-Map"; |
---|
268 | mes "for easier navigation."; |
---|
269 | next; |
---|
270 | mes "[Payon Guide]"; |
---|
271 | mes "Your Mini-Map is located"; |
---|
272 | mes "in the upper right corner"; |
---|
273 | mes "of the screen. If you can't"; |
---|
274 | mes "see it, press the Ctrl + Tab"; |
---|
275 | mes "keys or click the ''Map'' button in your Basic Info Window."; |
---|
276 | next; |
---|
277 | mes "[Payon Guide]"; |
---|
278 | mes "On your Mini-Map,"; |
---|
279 | mes "click on the ''+'' and ''-''"; |
---|
280 | mes "symbols to zoom in and"; |
---|
281 | mes "our of your Mini-Map. We"; |
---|
282 | mes "hope you enjoy your travels"; |
---|
283 | mes "here in the city of Payon."; |
---|
284 | break; |
---|
285 | case 4: |
---|
286 | mes "[Payon Guide]"; |
---|
287 | mes "Be safe in"; |
---|
288 | mes "your travels,"; |
---|
289 | mes "brave adventurer."; |
---|
290 | close2; |
---|
291 | set .@loop1,0; |
---|
292 | break; |
---|
293 | } |
---|
294 | } |
---|
295 | cutin "pay_soldier",255; |
---|
296 | end; |
---|
297 | } |
---|