1 | //===== eAthena Script ======================================= |
---|
2 | //= Elemental Stone Trader |
---|
3 | //===== By: ================================================== |
---|
4 | //= eAthena team & others? & MasterOfMuppets |
---|
5 | //===== Current Version: ===================================== |
---|
6 | //= 1.0 |
---|
7 | //===== Compatible With: ===================================== |
---|
8 | //= eAthena SVN |
---|
9 | //===== Description: ========================================= |
---|
10 | //= [Aegis Conversion] |
---|
11 | //= Trade impure types of elemental stones for pure ones. |
---|
12 | //===== Additional Comments: ================================= |
---|
13 | //= 1.0 Rescripted to Aegis 10.3 standards. [L0ne_W0lf] |
---|
14 | //============================================================ |
---|
15 | |
---|
16 | // Elemental Stone Trader |
---|
17 | //============================================================ |
---|
18 | ama_in02,61,27,7 script Alchemist#ama 749,{ |
---|
19 | mes "[Laspuchin Gregory]"; |
---|
20 | mes "KeekeekeeKeheheh."; |
---|
21 | mes "This is amazing!"; |
---|
22 | mes "The results are extraordinary!!"; |
---|
23 | next; |
---|
24 | mes "[Laspuchin Gregory]"; |
---|
25 | mes "Using my skills in this distant"; |
---|
26 | mes "land was unexpected..."; |
---|
27 | mes "Keheheh... The lord of palace"; |
---|
28 | mes "was quite accomodating."; |
---|
29 | next; |
---|
30 | mes "[Laspuchin Gregory]"; |
---|
31 | mes "Oops, I better be careful..."; |
---|
32 | mes "If the guild finds out my"; |
---|
33 | mes "location, stupid Myster will"; |
---|
34 | mes "get mad at me. Kehehehkeh..."; |
---|
35 | next; |
---|
36 | mes "[Laspuchin Gregory]"; |
---|
37 | mes "What? Wanna say something?"; |
---|
38 | mes "If you are here for tourism,"; |
---|
39 | mes "enjoy your day off, then go back to your hometown."; |
---|
40 | mes "Keekeekee... Or else,"; |
---|
41 | mes "I will let you taste my acid bottle...!"; |
---|
42 | next; |
---|
43 | if (select("Please, excuse me:Do you need help?") == 1) { |
---|
44 | mes "[Laspuchin Gregory]"; |
---|
45 | mes "Keheheh... Did you hear"; |
---|
46 | mes "what I said? It would be"; |
---|
47 | mes "better to forget..."; |
---|
48 | mes "Keekeekeekeekee..."; |
---|
49 | close; |
---|
50 | } |
---|
51 | mes "[Laspuchin Gregory]"; |
---|
52 | mes "Help, eh?..."; |
---|
53 | mes "Now that I think about it..."; |
---|
54 | mes "I need some items right now..."; |
---|
55 | mes "Keeheeheekeehee..."; |
---|
56 | next; |
---|
57 | mes "[Laspuchin Gregory]"; |
---|
58 | mes "Sir Laspuchin needs some"; |
---|
59 | mes "enchant stones for an experiment."; |
---|
60 | mes "I will use it efficiently..."; |
---|
61 | mes "Do you have them now?"; |
---|
62 | next; |
---|
63 | if (select("Nope:I got some") == 1) { |
---|
64 | mes "[Laspuchin Gregory]"; |
---|
65 | mes "Then, find 8 stones of one kind."; |
---|
66 | mes "If you bring 8 of one kind of"; |
---|
67 | mes "enchant stones, I will change it"; |
---|
68 | mes "to a better one..."; |
---|
69 | next; |
---|
70 | mes "[Laspuchin Gregory]"; |
---|
71 | mes "Then, find 8 stones of one kind."; |
---|
72 | mes "not the round gemstones but"; |
---|
73 | mes "enchant stones."; |
---|
74 | mes "If you bring the wrong stones,"; |
---|
75 | mes "I will throw a flame bottle!"; |
---|
76 | next; |
---|
77 | mes "[Laspuchin Gregory]"; |
---|
78 | mes "Bring me stones, slave~!!"; |
---|
79 | mes "And keep your promise! Kehehehkehkeh..."; |
---|
80 | close; |
---|
81 | } |
---|
82 | mes "[Laspuchin Gregory]"; |
---|
83 | mes "Uh-huh, what did you bring?"; |
---|
84 | next; |
---|
85 | switch(select("Mystic Frozen:Great Nature:Flame Heart:Rough Wind")) { |
---|
86 | case 1: |
---|
87 | if (countitem(995) > 7) { |
---|
88 | mes "[Laspuchin Gregory]"; |
---|
89 | mes "I will take 8 of them and"; |
---|
90 | mes "give you an enchant stone."; |
---|
91 | mes "How's that sound?"; |
---|
92 | mes "Keheheh....."; |
---|
93 | next; |
---|
94 | mes "[Laspuchin Gregory]"; |
---|
95 | mes "HeeHee, what do you want? Choose one!"; |
---|
96 | next; |
---|
97 | switch(select("Great Nature:Flame Heart:Rough Wind:Cancel the trade")) { |
---|
98 | case 1: |
---|
99 | delitem 995,8; //Mistic_Frozen |
---|
100 | getitem 997,1; //Great_Nature |
---|
101 | mes "[Laspuchin Gregory]"; |
---|
102 | mes "Keheheh! You've chosen a good one!"; |
---|
103 | mes "Use it well..."; |
---|
104 | mes "Bring me other stones if you have them!"; |
---|
105 | close; |
---|
106 | case 2: |
---|
107 | delitem 995,8; //Mistic_Frozen |
---|
108 | getitem 994,1; //Flame_Heart |
---|
109 | mes "[Laspuchin Gregory]"; |
---|
110 | mes "Keheheh! You've chosen good one!"; |
---|
111 | mes "Use it well..."; |
---|
112 | mes "Bring me other stones if you have!"; |
---|
113 | close; |
---|
114 | case 3: |
---|
115 | if (countitem(995) > 11) { |
---|
116 | delitem 995,12; //Mistic_Frozen |
---|
117 | getitem 996,1; //Rough_Wind |
---|
118 | mes "[Laspuchin Gregory]"; |
---|
119 | mes "Kehhehheh, You know something?"; |
---|
120 | mes "I don't have many of those"; |
---|
121 | mes "so I'm going to take ^0000FF12^000000 of yours, okay?"; |
---|
122 | mes "Of course, it is okay."; |
---|
123 | mes "It is an honor to help Laspuchin!"; |
---|
124 | close; |
---|
125 | } |
---|
126 | mes "[Laspuchin Gregory]"; |
---|
127 | mes "Keheheh, You know something."; |
---|
128 | mes "I don't have many of these so"; |
---|
129 | mes "I can't just get 8 of yours."; |
---|
130 | mes "If you want to change them to Rough Wind,"; |
---|
131 | mes "bring me 4 more stones. 8 + 4 = 12..."; |
---|
132 | mes "Requires ^0000FF12^000000 stones."; |
---|
133 | next; |
---|
134 | mes "[Laspuchin Gregory]"; |
---|
135 | mes "Bring me stones, slave~!!"; |
---|
136 | mes "And keep your promise! Kehheheheheh..."; |
---|
137 | close; |
---|
138 | case 4: |
---|
139 | mes "[Laspuchin Gregory]"; |
---|
140 | mes "Oh, well."; |
---|
141 | mes "Don't tell anyone about my location..."; |
---|
142 | mes "Keheheh...after all, you did promise~"; |
---|
143 | close; |
---|
144 | } |
---|
145 | } |
---|
146 | else if (countitem(995) > 0) { |
---|
147 | mes "[Laspuchin Gregory]"; |
---|
148 | mes "You can't help Laspuchin with just a couple"; |
---|
149 | mes "of enchant stones... I said 8!"; |
---|
150 | mes "Bring me just 8 stones!"; |
---|
151 | mes "Keheheh....."; |
---|
152 | next; |
---|
153 | mes "[Laspuchin Gregory]"; |
---|
154 | mes "Bring me stones, slave~!!"; |
---|
155 | mes "And keep your promise! Keheheheheh..."; |
---|
156 | close; |
---|
157 | } |
---|
158 | mes "[Laspuchin Gregory]"; |
---|
159 | mes "Keheheh~ Check your pockets"; |
---|
160 | mes "before you tell me"; |
---|
161 | mes "how foolish you are....."; |
---|
162 | next; |
---|
163 | mes "[Laspuchin Gregory]"; |
---|
164 | mes "Bring me stones! You said you are going to help me!"; |
---|
165 | mes "Keep your promises! Kehehehkehkeh..."; |
---|
166 | close; |
---|
167 | case 2: |
---|
168 | if (countitem(997) > 7) { |
---|
169 | mes "[Laspuchin Gregory]"; |
---|
170 | mes "I will have 8 of them and"; |
---|
171 | mes "give you an enchant stone."; |
---|
172 | mes "Hows it sound?"; |
---|
173 | mes "Keheheh....."; |
---|
174 | next; |
---|
175 | mes "[Laspuchin Gregory]"; |
---|
176 | mes "Keekee, what do you want? Choose one!"; |
---|
177 | next; |
---|
178 | switch(select("Mystic Frozen:Flame Heart:Rough Wind:Cancel the trade")) { |
---|
179 | case 1: |
---|
180 | delitem 997,8; //Great_Nature |
---|
181 | getitem 995,1; //Mistic_Frozen |
---|
182 | mes "[Laspuchin Gregory]"; |
---|
183 | mes "Keheheh! You've chosen a good one!"; |
---|
184 | mes "Use it well..."; |
---|
185 | mes "Bring me other stones if you have them!"; |
---|
186 | close; |
---|
187 | case 2: |
---|
188 | delitem 997,8; //Great_Nature |
---|
189 | getitem 994,1; //Flame_Heart |
---|
190 | mes "[Laspuchin Gregory]"; |
---|
191 | mes "Keheheh! You've chosen a good one!"; |
---|
192 | mes "Use it well..."; |
---|
193 | mes "Bring me other stones if you have them!"; |
---|
194 | close; |
---|
195 | case 3: |
---|
196 | if (countitem(997) > 11) { |
---|
197 | delitem 997,12; //Great_Nature |
---|
198 | getitem 996,1; //Rough_Wind |
---|
199 | mes "[Laspuchin Gregory]"; |
---|
200 | mes "Keheheh, You know something?"; |
---|
201 | mes "I don't have many of these"; |
---|
202 | mes "so I'm going to take ^0000FF12^000000 of yours, okay?"; |
---|
203 | mes "Of course, it is okay."; |
---|
204 | mes "It is an honor to help Laspuchin!"; |
---|
205 | close; |
---|
206 | } |
---|
207 | mes "[Laspuchin Gregory]"; |
---|
208 | mes "Keheheh, You know something?"; |
---|
209 | mes "I don't have many of these so"; |
---|
210 | mes "I can't just get 8 of yours."; |
---|
211 | mes "If you want to change them to Rough Wind,"; |
---|
212 | mes "bring me 4 more stones. 8 + 4 = 12..."; |
---|
213 | mes "Requires ^0000FF12^000000 stones."; |
---|
214 | next; |
---|
215 | mes "[Laspuchin Gregory]"; |
---|
216 | mes "Bring me stones, slave~!!"; |
---|
217 | mes "And keep your promise! Kehehehkehkeh..."; |
---|
218 | close; |
---|
219 | case 4: |
---|
220 | mes "[Laspuchin Gregory]"; |
---|
221 | mes "Oh, well."; |
---|
222 | mes "Don't tell anyone about my location..."; |
---|
223 | mes "Keheheh...You did promise after all..."; |
---|
224 | close; |
---|
225 | } |
---|
226 | } |
---|
227 | else if (countitem(997) > 0) { |
---|
228 | mes "[Laspuchin Gregory]"; |
---|
229 | mes "You can't help Laspuchin with just a couple"; |
---|
230 | mes "of enchant stones... I said 8!"; |
---|
231 | mes "Bring me just 8 stones!"; |
---|
232 | mes "Keheheh....."; |
---|
233 | next; |
---|
234 | mes "[Laspuchin Gregory]"; |
---|
235 | mes "Bring me stones, slave!!"; |
---|
236 | mes "And keep your promise! Kehehehkehkeh..."; |
---|
237 | close; |
---|
238 | } |
---|
239 | mes "[Laspuchin Gregory]"; |
---|
240 | mes "Keheheh~ Check your pockets"; |
---|
241 | mes "before you tell me"; |
---|
242 | mes "how stupid you are....."; |
---|
243 | next; |
---|
244 | mes "[Laspuchin Gregory]"; |
---|
245 | mes "Bring me stones! You said you are going to help me,"; |
---|
246 | mes "so keep your promise! Keheheheheh..."; |
---|
247 | close; |
---|
248 | case 3: |
---|
249 | if (countitem(994) > 7) { |
---|
250 | mes "[Laspuchin Gregory]"; |
---|
251 | mes "I will take 8 of them and"; |
---|
252 | mes "give you an enchant stone."; |
---|
253 | mes "Hows it sound?"; |
---|
254 | mes "Keheheh....."; |
---|
255 | next; |
---|
256 | mes "[Laspuchin Gregory]"; |
---|
257 | mes "Keekee, what do you want? Choose one!"; |
---|
258 | next; |
---|
259 | switch(select("Mystic Frozen:Great Nature:Rough Wind:Cancel the trade")) { |
---|
260 | case 1: |
---|
261 | delitem 994,8; //Flame_Heart |
---|
262 | getitem 995,1; //Mistic_Frozen |
---|
263 | mes "[Laspuchin Gregory]"; |
---|
264 | mes "Keheheh! You've chosen a good one!"; |
---|
265 | mes "Use it well..."; |
---|
266 | mes "Bring me other stones if you have them!"; |
---|
267 | close; |
---|
268 | case 2: |
---|
269 | delitem 994,8; //Flame_Heart |
---|
270 | getitem 997,1; //Great_Nature |
---|
271 | mes "[Laspuchin Gregory]"; |
---|
272 | mes "Keheheh! You've chosen a good one!"; |
---|
273 | mes "Use it well..."; |
---|
274 | mes "Bring me other stones if you have them!"; |
---|
275 | close; |
---|
276 | case 3: |
---|
277 | if (countitem(994) > 11) { |
---|
278 | delitem 994,12; //Flame_Heart |
---|
279 | getitem 996,1; //Rough_Wind |
---|
280 | mes "[Laspuchin Gregory]"; |
---|
281 | mes "Keheheh, You know something."; |
---|
282 | mes "I don't have many of these"; |
---|
283 | mes "so I'm going to take ^0000FF12^000000 of yours, okay?"; |
---|
284 | mes "Of course, it is okay."; |
---|
285 | mes "It is an honor to help Laspuchin!"; |
---|
286 | close; |
---|
287 | } |
---|
288 | mes "[Laspuchin Gregory]"; |
---|
289 | mes "Keheheh, You know something?"; |
---|
290 | mes "I don't have many of these so"; |
---|
291 | mes "I can't just get 8 of yours."; |
---|
292 | mes "If you want to change them to Rough Wind,"; |
---|
293 | mes "bring me 4 more stones. 8 + 4 = 12..."; |
---|
294 | mes "Requires ^0000FF12^000000 stones."; |
---|
295 | next; |
---|
296 | mes "[Laspuchin Gregory]"; |
---|
297 | mes "Bring me stones, slave~!!"; |
---|
298 | mes "Keep your promise! Kehehehkehkeh..."; |
---|
299 | close; |
---|
300 | case 4: |
---|
301 | mes "[Laspuchin Gregory]"; |
---|
302 | mes "Oh, well."; |
---|
303 | mes "Don't tell anyone about my location..."; |
---|
304 | mes "Keheheh...You did promise, after all..."; |
---|
305 | close; |
---|
306 | } |
---|
307 | } |
---|
308 | else if (countitem(994) > 0) { |
---|
309 | mes "[Laspuchin Gregory]"; |
---|
310 | mes "You can't help Laspuchin with just a couple"; |
---|
311 | mes "of enchant stones... I said 8!"; |
---|
312 | mes "Bring me just 8 stones!"; |
---|
313 | mes "Keheheh....."; |
---|
314 | next; |
---|
315 | mes "[Laspuchin Gregory]"; |
---|
316 | mes "Bring me stones, slave~!!"; |
---|
317 | mes "And keep your promise! Kehehehkehkeh..."; |
---|
318 | close; |
---|
319 | } |
---|
320 | mes "[Laspuchin Gregory]"; |
---|
321 | mes "Keheheh, Check your pockets"; |
---|
322 | mes "before you tell me"; |
---|
323 | mes "how foolish you are....."; |
---|
324 | next; |
---|
325 | mes "[Laspuchin Gregory]"; |
---|
326 | mes "Bring me stones! You said you are going to help me,"; |
---|
327 | mes "so keep your promise! Kehehehkehkeh..."; |
---|
328 | close; |
---|
329 | case 4: |
---|
330 | if (countitem(996) > 7) { |
---|
331 | mes "[Laspuchin Gregory]"; |
---|
332 | mes "I will take 8 of them and"; |
---|
333 | mes "give you an enchant stone."; |
---|
334 | mes "Hows it sound?"; |
---|
335 | mes "Keheheh....."; |
---|
336 | next; |
---|
337 | mes "[Laspuchin Gregory]"; |
---|
338 | mes "Keekee, what do you want? Choose one!"; |
---|
339 | next; |
---|
340 | switch(select("Mystic Frozen:Great Nature:Flame Heart:Cancel the trade")) { |
---|
341 | case 1: |
---|
342 | delitem 996,8; //Rough_Wind |
---|
343 | getitem 995,1; //Mistic_Frozen |
---|
344 | mes "[Laspuchin Gregory]"; |
---|
345 | mes "Keheheh! You've chosen a good one!"; |
---|
346 | mes "Use it well..."; |
---|
347 | mes "Bring me other stones if you have them!"; |
---|
348 | close; |
---|
349 | case 2: |
---|
350 | delitem 996,8; //Rough_Wind |
---|
351 | getitem 997,1; //Great_Nature |
---|
352 | mes "[Laspuchin Gregory]"; |
---|
353 | mes "Keheheh! You've chosen a good one!"; |
---|
354 | mes "Use it well..."; |
---|
355 | mes "Bring me other stones if you have them!"; |
---|
356 | close; |
---|
357 | case 3: |
---|
358 | delitem 996,8; //Rough_Wind |
---|
359 | getitem 994,1; //Flame_Heart |
---|
360 | mes "[Laspuchin Gregory]"; |
---|
361 | mes "Keheheh! You've chosen a good one!"; |
---|
362 | mes "Use it well..."; |
---|
363 | mes "Bring me other stones if you have them!"; |
---|
364 | close; |
---|
365 | case 4: |
---|
366 | mes "[Laspuchin Gregory]"; |
---|
367 | mes "Oh, well."; |
---|
368 | mes "Don't tell anyone about my location..."; |
---|
369 | mes "Keheheh... You did promise, after all..."; |
---|
370 | close; |
---|
371 | } |
---|
372 | } |
---|
373 | else if (countitem(996) > 0) { |
---|
374 | mes "[Laspuchin Gregory]"; |
---|
375 | mes "You can't help Laspuchin with just a couple"; |
---|
376 | mes "of enchant stones... I said 8!"; |
---|
377 | mes "Bring me just 8 stones!"; |
---|
378 | mes "Keheheh....."; |
---|
379 | next; |
---|
380 | mes "[Laspuchin Gregory]"; |
---|
381 | mes "Bring me stones, slave~!!"; |
---|
382 | mes "And keep your promise! Kehehehkehkeh..."; |
---|
383 | close; |
---|
384 | } |
---|
385 | mes "[Laspuchin Gregory]"; |
---|
386 | mes "Keheheh, Check your pockets"; |
---|
387 | mes "before you tell me"; |
---|
388 | mes "how stupid you are....."; |
---|
389 | next; |
---|
390 | mes "[Laspuchin Gregory]"; |
---|
391 | mes "Bring me stones! You said you are going to help me,"; |
---|
392 | mes "so keep your promise! Kehehehkehkeh..."; |
---|
393 | close; |
---|
394 | } |
---|
395 | } |
---|