root/npc/quests/skills/bard_skills.txt

Revision 1, 39.4 kB (checked in by jinshiro, 17 years ago)
Line 
1//===== eAthena Script =======================================
2//= Bard Skill Quest
3//===== By: ==================================================
4//= Lupus, Reddozen; L0ne_W0lf
5//===== Current Version: =====================================
6//= 1.5
7//===== Compatible With: =====================================
8//= eAthena SVN
9//===== Description: =========================================
10//= [Aegis Conversion]
11//= Official quest for the Bard skill "Pang Voice"
12//= Prerequisite: Geffen Bard Quest
13//===== Additional Comments: =================================
14//= 1.0 for fully working skills only [Lupus]
15//= 1.1 Added more new skill quests for more classes [Lupus]
16//=     Somehow eA engine doesn't let you keep learn't skill
17//= 1.2 Added to correct locations, correct NPC's, fixed [Reddozen]
18//=     some of the items required and made them into real
19//=     quests.
20//= 1.3 Fixed bugs and minor typos. Optimized [Lupus]
21//= 1.3a Tixed an item ID typo. Thanks, 2Spiritual Kid
22//= 1.3b Split into different files [DracoRPG]
23//= 1.4 Rescripted to Aegis 10.3 standards. [L0ne_W0lf]
24//= 1.4a Checks the proper variable now. (bard_q -> gef_bard_q) [L0ne_W0lf]
25//= 1.5 Corrected NPC names to fall within proper restrictions. [L0ne_W0lf]
26//= 1.6 Added missing checkweights. [L0ne_W0lf]
27//============================================================
28
29prontera,174,328,3      script  Young Man#bard_q1       89,3,3,{
30        if (BaseJob == Job_Bard) {
31                Emotion e_omg;
32                mes "[Timid Young Man]";
33                mes "Eh? Wwwaaaah--!";
34                mes "Y-you're--it's-it's--";
35                if (Upper != 1)
36                        mes "It's a freakin' Bard!";
37                else
38                        mes "It's a freakin' Minstrel!";
39                mes "D-don't come any closer!";
40                mes "I... I don't like you guys!";
41                next;
42                if (select("Wha--? Why the heck not?:Hey, take it easy, man.") == 1) {
43                        mes "[Timid Young Man]";
44                        mes "N-no! Don't look at me!";
45                        mes "I know what you're trying";
46                        mes "to do! Please, I haven't";
47                        mes "done anything to you!";
48                        mes "J-just s-stay away!";
49                        next;
50                        mes "[" + strcharinfo(0) + "]";
51                        mes "Um...";
52                        mes "I'm not really trying";
53                        mes "to do anything. Why";
54                        mes "don't you relax, and--";
55                        next;
56                        mes "[Timid Young Man]";
57                        mes "Relax?! Nobody believes me";
58                        mes "when I tell them how dangerous";
59                        mes "you guys are. You think you're";
60                        mes "so smug with your funny jokes";
61                        mes "and lovely songs, but I know";
62                        mes "what kind of powers you have!";
63                        close;
64                }
65                else {
66                        mes "[Timid Young Man]";
67                        mes "N-no! Don't look at me!";
68                        mes "I know what you're trying";
69                        mes "to do! Please, I haven't";
70                        mes "done anything to you!";
71                        mes "J-just s-stay away!";
72                        next;
73                        if (select("Offer him a drink.:Reassure him that you're safe.") == 1) {
74                                mes "[" + strcharinfo(0) + "]";
75                                mes "Look, I don't know what";
76                                mes "you've got against me, but";
77                                mes "you really need to relax.";
78                                mes "Here, have a drink on me.";
79                                next;
80                                if (countitem(12112) > 0) {
81                                        mes "[Timid Young Man]";
82                                        mes "Oh~! Isn't that";
83                                        mes "a Tropical Sograt?";
84                                        mes "That's my favorite";
85                                        mes "drink in all the world!";
86                                        if (qskill_bard == 9) {
87                                                mes "Thanks so--waitaminute.";
88                                                next;
89                                                mes "[Timid Young Man]";
90                                                mes "This is some sort";
91                                                mes "of weird trick, isn't it?";
92                                                mes "And to think I almost";
93                                                mes "f-f-fell for it! P-please";
94                                                mes "j-just leave me alone!";
95                                                close;
96                                        }
97                                        else if (qskill_bard > 0) {
98                                                next;
99                                                mes "[Timid Young Man]";
100                                                mes "Wait, I've seen you before.";
101                                                mes "And you brought me a drink";
102                                                mes "just like this one. You...";
103                                                mes "You d-didn't learn th-that";
104                                                mes "w-w-weird skill, d-did you?";
105                                                mes "Wait, no. You couldn't have...";
106                                                next;
107                                                mes "[" + strcharinfo(0) + "]";
108                                                mes "Oh, please~";
109                                                mes "You know, I think";
110                                                mes "that maybe you";
111                                                mes "worry too much.";
112                                                close;
113                                        }
114                                        else {
115                                                next;
116                                                mes "[Timid Young Man]";
117                                                mes "^333333*Gulp Gulp*^000000";
118                                                mes "Ahhhh~ Oh, you don't";
119                                                mes "understand how long I've";
120                                                mes "been wanting this drink!";
121                                                mes "It tastes so good, and";
122                                                mes "now I feel sooo relaxed...";
123                                                next;
124                                                switch(select("See? I'm not dangerous at all~:So what makes someone like me so scary?")) {
125                                                case 1:
126                                                        mes "[Timid Young Man]";
127                                                        mes "Hmmm... Maybe.";
128                                                        mes "Maybe all of you Bards";
129                                                        mes "and Minstrels aren't that";
130                                                        mes "bad. But I can never forget";
131                                                        mes "what that Bard did to me...";
132                                                        next;
133                                                        mes "[Timid Young Man]";
134                                                        mes "It all started when I was";
135                                                        mes "traveling through Umbala and";
136                                                        mes "met a strange Bard who was";
137                                                        mes "studying under the tutelage";
138                                                        mes "of Puchuchartan, the Utan";
139                                                        mes "Shaman of the village.";
140                                                        next;
141                                                        mes "[Timid Young Man]";
142                                                        mes "That Bard and I got along fairly well until he took me to Umbala's";
143                                                        mes "Bungee Jump. He insisted that I jump at least once for the ''full";
144                                                        mes "Umbala experience.'' I refused, seeing as they don't use bungees.";
145                                                        next;
146                                                        mes "[Timid Young Man]";
147                                                        mes "The Bard seemed offended";
148                                                        mes "and claimed it was perfectly";
149                                                        mes "safe, and that only a few people";
150                                                        mes "have died by jumping. Then, he";
151                                                        mes "just... He gave me this intense look.";
152                                                        next;
153                                                        mes "[Timid Young Man]";
154                                                        mes "His eyes seemed so full";
155                                                        mes "of rage! I remember him";
156                                                        mes "mumbling something, and";
157                                                        mes "all of a sudden, I lost control";
158                                                        mes "of my body! My arms and legs";
159                                                        mes "were just moving on their own!";
160                                                        next;
161                                                        mes "[Timid Young Man]";
162                                                        mes "Before long, I found myself";
163                                                        mes "struggling to keep myself from";
164                                                        mes "leaping off that Bungee Jump.";
165                                                        mes "But the more I resisted, the";
166                                                        mes "more violently I'd flail toward";
167                                                        mes "the edge. It was horrible!";
168                                                        next;
169                                                        mes "[Timid Young Man]";
170                                                        mes "That was the most terrifying";
171                                                        mes "experience of my life! It was";
172                                                        mes "bad enough that I risked my";
173                                                        mes "life, but that feeling of not";
174                                                        mes "having any control over your";
175                                                        mes "body is so overwhelming!";
176                                                        next;
177                                                        mes "[" + strcharinfo(0) + "]";
178                                                        mes "Wait, you're saying";
179                                                        mes "a Bard did this to you?";
180                                                        mes "I've never heard of a song";
181                                                        mes "or skill with that sort of effect before. That's really strange...";
182                                                        next;
183                                                        mes "[Timid Young Man]";
184                                                        mes "Well, I've never heard";
185                                                        mes "of that sort of power up";
186                                                        mes "until I had to experience";
187                                                        mes "it for myself. Oh, I can still";
188                                                        mes "see that evil smile of his";
189                                                        mes "in my nightmares...";
190                                                        next;
191                                                        mes "[Timid Young Man]";
192                                                        mes "Anyway, thanks for that";
193                                                        mes "drink, it really helped me";
194                                                        mes "settle my nerves. But I must";
195                                                        mes "warn you not to look for that";
196                                                        mes "strange Bard. I'm sure he's really some sort of demon or something...";
197                                                        next;
198                                                        if (JobLevel > 39) {
199                                                                mes "[Timid Young Man]";
200                                                                mes "But... If you really";
201                                                                mes "want to attain that sort";
202                                                                mes "of power, I can't really";
203                                                                mes "stop you. Thankfully, nobody";
204                                                                mes "has any idea of where he is~";
205                                                                delitem 12112,1; //Tropical_Sograt
206                                                                set qskill_bard,1;
207                                                        }
208                                                        else {
209                                                                mes "[Timid Young Man]";
210                                                                mes "Even if you could find that";
211                                                                mes "Bard to get him to teach you";
212                                                                mes "how he did that to me, I'm sure";
213                                                                mes "he mentioned something about";
214                                                                mes "being at least ^660000Job Level 40^000000 to";
215                                                                mes "be able to handle that power...";
216                                                                delitem 12112,1; //Tropical_Sograt
217                                                        }
218                                                        close;
219                                                case 2:
220                                                        mes "[Timid Young Man]";
221                                                        mes "^333333*Sigh*^000000 Well, maybe all Bards";
222                                                        mes "and Minstrels aren't terrifying. But any Bard will remind me";
223                                                        mes "of the one that I met during my";
224                                                        mes "travels. Just thinking about";
225                                                        mes "that time gives me goosebumps.";
226                                                        next;
227                                                        mes "[Timid Young Man]";
228                                                        mes "It all started when I was";
229                                                        mes "traveling through Umbala and";
230                                                        mes "met a strange Bard who was";
231                                                        mes "studying under the tutelage";
232                                                        mes "of Puchuchartan, the Utan";
233                                                        mes "Shaman of the village.";
234                                                        next;
235                                                        mes "[Timid Young Man]";
236                                                        mes "That Bard and I got along fairly well until he took me to Umbala's";
237                                                        mes "Bungee Jump. He insisted that I jump at least once for the ''full";
238                                                        mes "Umbala experience.'' I refused, seeing as they don't use bungees.";
239                                                        next;
240                                                        mes "[Timid Young Man]";
241                                                        mes "The Bard seemed offended";
242                                                        mes "and claimed it was perfectly";
243                                                        mes "that a few people have died";
244                                                        mes "by jumping. Then, he just...";
245                                                        mes "He gave me this intense look.";
246                                                        next;
247                                                        mes "[Timid Young Man]";
248                                                        mes "His eyes seemed so full";
249                                                        mes "of rage! I remember him";
250                                                        mes "mumbling something, and";
251                                                        mes "all of a sudden, I lost control";
252                                                        mes "of my body! My arms and legs";
253                                                        mes "were just moving on their own!";
254                                                        next;
255                                                        mes "[Timid Young Man]";
256                                                        mes "Before long, I found myself";
257                                                        mes "struggling to keep myself from";
258                                                        mes "leaping off that Bungee Jump.";
259                                                        mes "But the more I resisted, the";
260                                                        mes "more violently I'd flail toward";
261                                                        mes "the edge. It was horrible!";
262                                                        next;
263                                                        mes "[Timid Young Man]";
264                                                        mes "That was the most terrifying";
265                                                        mes "experience of my life! It was";
266                                                        mes "bad enough that I risked my";
267                                                        mes "life, but that feeling of not";
268                                                        mes "having any control over your";
269                                                        mes "body is so overwhelming!";
270                                                        next;
271                                                        mes "[" + strcharinfo(0) + "]";
272                                                        mes "Wait, you're saying";
273                                                        mes "a Bard did this to you?";
274                                                        mes "I've never heard of a song";
275                                                        mes "or skill with that sort of effect before. That's really strange...";
276                                                        next;
277                                                        mes "[Timid Young Man]";
278                                                        mes "Well, I've never heard";
279                                                        mes "of that sort of power up";
280                                                        mes "until I had to experience";
281                                                        mes "it for myself. Oh, I can still";
282                                                        mes "see that evil smile of his";
283                                                        mes "in my nightmares...";
284                                                        next;
285                                                        mes "[Timid Young Man]";
286                                                        mes "Anyway, thanks for that";
287                                                        mes "drink, it really helped me";
288                                                        mes "settle my nerves. But I must";
289                                                        mes "warn you not to look for that";
290                                                        mes "strange Bard. I'm sure he's really some sort of demon or something...";
291                                                        next;
292                                                        if (JobLevel > 39) {
293                                                                mes "[Timid Young Man]";
294                                                                mes "But... If you really";
295                                                                mes "want to attain that sort";
296                                                                mes "of power, I can't really";
297                                                                mes "stop you. Thankfully, nobody";
298                                                                mes "has any idea of where he is~";
299                                                                delitem 12112,1; //Tropical_Sograt
300                                                                set qskill_bard,1;
301                                                        }
302                                                        else {
303                                                                mes "[Timid Young Man]";
304                                                                mes "Even if you could find that";
305                                                                mes "Bard to get him to teach you";
306                                                                mes "how he did that to me, I'm sure";
307                                                                mes "he mentioned something about";
308                                                                mes "being at least ^660000Job Level 40^000000 to";
309                                                                mes "be able to handle that power...";
310                                                                delitem 12112,1; //Tropical_Sograt
311                                                        }
312                                                        close;
313                                                }
314                                        }
315                                }
316                                else {
317                                        mes "[Timid Young Man]";
318                                        mes "Eh...?! Um, th-that's";
319                                        mes "nice of y-you to offer,";
320                                        mes "but I'm p-pretty picky";
321                                        mes "about what I d-drink.";
322                                        mes "P-plus, I don't k-know";
323                                        mes "if I can t-trust you.";
324                                        next;
325                                        mes "[Timid Young Man]";
326                                        mes "I don't think there's";
327                                        mes "much that could get m-me";
328                                        mes "to ch-change my m-mind!";
329                                        mes "Well... Maybe if you brought";
330                                        mes "my favorite drink, Tropical";
331                                        mes "Sograt, I would reconsider...";
332                                        close;
333                                }
334                        }
335                        mes "[" + strcharinfo(0) + "]";
336                        mes "Don't worry,";
337                        mes "I won't hurt you.";
338                        next;
339                        mes "[Timid Young Man]";
340                        mes "Th-that's what th-they";
341                        mes "all say, right before they";
342                        mes "get into your mind and then";
343                        mes "twist it as hard as they can!";
344                        if (qskill_bard == 9) {
345                                mes "J-just don't t-touch me!";
346                                mes "...Ack! And stay away!";
347                        }
348                        else {
349                                mes "E-even if you d-don't have";
350                                mes "that p-power, l-leave me alone!";
351                        }
352                        close;
353                }
354        }
355        else {
356                mes "[Timid Young Man]";
357                mes "Oh... Oh goodness.";
358                mes "Was that a Bard just";
359                mes "over there? Oh, I'm so";
360                mes "afraid of those guys!";
361                mes "And those Minstrels";
362                mes "are even worse!";
363                next;
364                mes "[Timid Young Man]";
365                mes "Don't get me wrong, I love";
366                mes "songs and entertainment,";
367                mes "but you've got to understand!";
368                mes "Some of them have powers";
369                mes "that you wouldn't believe!";
370                mes "I... I've seen them myself!";
371                close;
372        }
373
374OnTouch:
375        if (BaseJob == Job_Bard) {
376                Emotion e_omg;
377        }
378        end;
379}
380
381morocc_in,169,72,7      script  Spiteful-Looking Bard#bs        741,3,3,{
382        if (BaseJob == Job_Bard) {
383                if (Class == Job_Clown && qskill_bard == 9) {
384                        if (getskilllv("BA_PANGVOICE") != 0) {
385                                mes "[Riott]";
386                                mes "Geh heh heh~";
387                                mes "Been making good use of";
388                                mes "what I taught you? Just be";
389                                mes "careful and don't use that skill recklessly. Otherwise, people";
390                                mes "will hate you as they hate me.";
391                                next;
392                                mes "[Riott]";
393                                mes "Your enemies, and the";
394                                mes "occasional drunkard, on";
395                                mes "the other hand, are different";
396                                mes "matters entirely! Bwah hah hah!";
397                                close;
398                        }
399                        else {
400                                mes "[Riott]";
401                                mes "Impossible! You forgot";
402                                mes "everything I've taught you?";
403                                mes "How can that be? Oh well, it's";
404                                mes "no trouble for me to teach that";
405                                mes "to you again if you'd like.";
406                                next;
407                                if (select("No, thanks.:Thanks, I'd appreciate that.") == 1) {
408                                        mes "[Riott]";
409                                        mes "What...?";
410                                        mes "You really don't";
411                                        mes "want to learn it?";
412                                        mes "I assure you there's";
413                                        mes "no strings attached.";
414                                        mes "If you change your mind...";
415                                        close;
416                                }
417                                mes "[Riott]";
418                                mes "First, you must stare";
419                                mes "fiercely into the eyes of";
420                                mes "your target, and focus on";
421                                mes "thoughts of dominance. This";
422                                mes "is the basis for mesmerization.^FFFFFF ^000000 Now listen to this incantation...";
423                                next;
424                                mes "[Riott]";
425                                mes "Uuuummm Baaalaaaa";
426                                mes "Uuuummmm Baaalaaa~";
427                                mes "Kkkkuuurrirrreeee";
428                                mes "Kkkkuuurrirrreeee";
429                                mes "Oooumm guandlejdl";
430                                mes "Woooo Ei ei ei ei......";
431                                specialeffect 295; //EF_TALK_FROSTJOKE
432                                next;
433                                mes "[Riott]";
434                                mes "Pang's Voice is used to";
435                                mes "confuse people and disrupt";
436                                mes "control of their bodies. It's not^FFFFFF ^000000 a fatal skill, but it is effective";
437                                mes "in mentally upsetting your enemy. Make very wise use of this skill.";
438                                skill "BA_PANGVOICE",1,0;
439                                close;
440                        }
441                }
442                else if (qskill_bard > 8) {
443                        mes "[Riott]";
444                        mes "Geh heh heh~";
445                        mes "Been making good use of";
446                        mes "what I taught you? Just be";
447                        mes "careful and don't use that skill recklessly. Otherwise, people";
448                        mes "will hate you as they hate me.";
449                        next;
450                        mes "[Riott]";
451                        mes "Your enemies, and the";
452                        mes "occasional drunkard, on";
453                        mes "the other hand, are different";
454                        mes "matters entirely! Bwah hah hah!";
455                        close;
456                }
457                else if (qskill_bard == 8) {
458                        if (countitem(7277) > 0) {
459                                mes "[Riott]";
460                                mes "Ah, you've brought me";
461                                mes "a Munak Doll made by";
462                                mes "Yao Jun, just like you said";
463                                mes "you would. Ah yes, this is her";
464                                mes "craftsmanship, impeccable";
465                                mes "as always. You've done well~";
466                                next;
467                                mes "[Riott]";
468                                mes "To fulfill my part of this";
469                                mes "bargain, I shall now teach";
470                                mes "you my special skill. Now,";
471                                mes "I developed this by listening";
472                                mes "to incantations by the Utan";
473                                mes "Shaman in Umbala.";
474                                next;
475                                mes "[Riott]";
476                                mes "First, you must stare";
477                                mes "fiercely into the eyes of";
478                                mes "your target, and focus on";
479                                mes "thoughts of dominance. This";
480                                mes "is the basis for mesmerization.^FFFFFF ^000000 Now listen to this incantation...";
481                                next;
482                                mes "[Riott]";
483                                mes "''Toad's leg, Verit's heart,";
484                                mes "spinning stars, spilling zeny,";
485                                mes "hands and feet tied. Is this";
486                                mes "voices yours, is this voice";
487                                mes "mine. Head spinning, head";
488                                mes "spinning, head spinning...!''";
489                                specialeffect2 295; // EF_TALK_FROSTJOKE
490                                delitem 7277,1; //Munak_Doll
491                                skill "BA_PANGVOICE",1,0;
492                                set qskill_bard,9;
493                                next;
494                                mes "[Riott]";
495                                mes "Remember, it doesn't matter";
496                                mes "what you say, but how you say";
497                                mes "it. Hypnotically induce your";
498                                mes "target with a forbiddenly";
499                                mes "seductive rhythm and your";
500                                mes "grasp will be inescapable!";
501                                next;
502                                mes "[Riott]";
503                                mes "Ah, and use sleight of";
504                                mes "hand to distract your target";
505                                mes "from your true motive! I find";
506                                mes "that casting Unbarring Octave";
507                                mes "with this skill works best. This skill's name is ''Pang Voice!''";
508                                next;
509                                mes "[Riott]";
510                                mes "''Pang Voice'' will mentally";
511                                mes "shock your target and disrupt";
512                                mes "control of his own body for";
513                                mes "a while. You can't exert control";
514                                mes "over victims with this skill, but they usually assume otherwise...";
515                                next;
516                                mes "[Riott]";
517                                mes "You need to be judicious in";
518                                mes "your use of this skill! Don't";
519                                mes "use it recklessly, or people";
520                                mes "will come to hate you as they";
521                                mes "hate me. But ''Pang Voice'' can^FFFFFF ^000000 be welcome is certain situations.";
522                                next;
523                                mes "[Riott]";
524                                mes "Subject your enemies to";
525                                mes "Pang Voice as much as you";
526                                mes "like, and no one will blame";
527                                mes "you for it. And you can get away with casting Pang Voice on bullies";
528                                mes "and drunkards occasionally...";
529                                close;
530                        }
531                        mes "[Riott]";
532                        mes "Hmpf. Weren't able";
533                        mes "to find me a Munak Doll";
534                        mes "yet? Well, don't worry, I'm";
535                        mes "a patient man. Just try to get";
536                        mes "one for me as soon as you can.";
537                        close;
538                }
539                else if (qskill_bard == 7) {
540                        if (countitem(574) > 4) {
541                                mes "[Riott]";
542                                mes "Ah, you've brought me";
543                                mes "some fresh eggs laid by";
544                                mes "Yhelle, just like I asked.";
545                                mes "I'm sure it was dangerous";
546                                mes "going to Nifflheim, but the^FFFFFF ^000000 flavor of these eggs is worth it.";
547                                next;
548                                next;
549                                mes "[Riott]";
550                                mes "To fulfill my part of this";
551                                mes "bargain, I shall now teach";
552                                mes "you my special skill. Now,";
553                                mes "I developed this by listening";
554                                mes "to incantations by the Utan";
555                                mes "Shaman in Umbala.";
556                                next;
557                                mes "[Riott]";
558                                mes "First, you must stare";
559                                mes "fiercely into the eyes of";
560                                mes "your target, and focus on";
561                                mes "thoughts of dominance. This";
562                                mes "is the basis for mesmerization.^FFFFFF ^000000 Now listen to this incantation...";
563                                next;
564                                mes "[Riott]";
565                                mes "''Toad's leg, Verit's heart,";
566                                mes "spinning stars, spilling zeny,";
567                                mes "hands and feet tied. Is this";
568                                mes "voices yours, is this voice";
569                                mes "mine. Head spinning, head";
570                                mes "spinning, head spinning...!''";
571                                specialeffect2 295; // EF_TALK_FROSTJOKE
572                                delitem 574,5; //Egg
573                                skill 1010,1,0;
574                                set qskill_bard,9;
575                                next;
576                                mes "[Riott]";
577                                mes "Remember, it doesn't matter";
578                                mes "what you say, but how you say";
579                                mes "it. Hypnotically induce your";
580                                mes "target with a forbiddenly";
581                                mes "seductive rhythm and your";
582                                mes "grasp will be inescapable!";
583                                next;
584                                mes "[Riott]";
585                                mes "Ah, and use sleight of";
586                                mes "hand to distract your target";
587                                mes "from your true motive! I find";
588                                mes "that casting Unbarring Octave";
589                                mes "with this skill works best. This skill's name is ''Pang Voice!''";
590                                next;
591                                mes "[Riott]";
592                                mes "''Pang Voice'' will mentally";
593                                mes "shock your target and disrupt";
594                                mes "control of his own body for";
595                                mes "a while. You can't exert control";
596                                mes "over victims with this skill, but they usually assume otherwise...";
597                                next;
598                                mes "[Riott]";
599                                mes "You need to be judicious in";
600                                mes "your use of this skill! Don't";
601                                mes "use it recklessly, or people";
602                                mes "will come to hate you as they";
603                                mes "hate me. But ''Pang Voice'' can^FFFFFF ^000000 be welcome is certain situations.";
604                                next;
605                                mes "[Riott]";
606                                mes "Subject your enemies to";
607                                mes "Pang Voice as much as you";
608                                mes "like, and no one will blame";
609                                mes "you for it. And you can get away with casting Pang Voice on bullies";
610                                mes "and drunkards occasionally...";
611                                close;
612                        }
613                        else {
614                                mes "[Riott]";
615                                mes "Hmm... You didn't";
616                                mes "bring enough Eggs...";
617                                mes "This will not do. It'll";
618                                mes "be a while until Yhelle";
619                                mes "will be able to lay more";
620                                mes "eggs. Yes, this isn't enough...";
621                                next;
622                                mes "[Riott]";
623                                mes "Well, to make up for the";
624                                mes "missing eggs, go and get ";
625                                mes "me ^4D4DFF1 Munak Doll^000000. I know that";
626                                mes "Yao Jun's Munak Dolls are";
627                                mes "masterpieces, and I am an";
628                                mes "an avid collector of her work.";
629                                next;
630                                mes "[Riott]";
631                                if (countitem(574) > 0) {
632                                        mes "In the meanwhile,";
633                                        mes "I'll enjoy the few";
634                                        mes "eggs that you do have!";
635                                        mes "Bweh heh heh heh heh!";
636                                        delitem 574,countitem(574); //Egg
637                                }
638                                set qskill_bard,8;
639                                close;
640                        }
641                }
642                else if (qskill_bard > 1 && qskill_bard < 7) {
643                        mes "[Riott]";
644                        mes "So have you been";
645                        mes "having trouble gathering";
646                        mes "eggs from Yhelle? I know";
647                        mes "she can be one fast running";
648                        mes "chicken. But to survive where";
649                        mes "she roosts, she has to be.";
650                        close;
651                }
652                else {
653                        mes "[Riott]";
654                        mes "Hmmrmpf!";
655                        mes "Eh heh heh heh!";
656                        Emotion e_gg;
657                        next;
658                        mes "[" + strcharinfo(0) + "]";
659                        mes "Um...";
660                        mes "What's so funny?";
661                        next;
662                        if (gef_bard_q == 30 || gef_bard_q == 31) {
663                                mes "[Riott]";
664                                mes "Hm? Ah! That's one of the";
665                                if (gef_bard_q == 30) {
666                                        mes "Black Seals that can only";
667                                        mes "be given by Kino Kitty. You";
668                                        mes "must be a person of great";
669                                        mes "emotional depth if he favors";
670                                        mes "you enough to give you that.";
671                                }
672                                else {
673                                        mes "Silver Seals that can only";
674                                        mes "be given by Errende. You";
675                                        mes "must be truly kind at heart";
676                                        mes "if he has offered to be your";
677                                        mes "friend. How about that?";
678                                }
679                                next;
680                                mes "[Riott]";
681                                mes "Geh heh heh~";
682                                mes "Hey, take a look";
683                                mes "at those two drunks";
684                                mes "all the way over there.";
685                                next;
686                                mes "[" + strcharinfo(0) + "]";
687                                mes "Yeah, I can see them.";
688                                mes "But what's so special";
689                                mes "about those two guys?";
690                                next;
691                                mes "[Riott]";
692                                mes "Just...";
693                                mes "Keep watching.";
694                                next;
695                                mes "^3355FFRiott stared intensely";
696                                mes "at one of the drunken men";
697                                mes "and began to harshly murmur";
698                                mes "some indistinct words in a";
699                                mes "low, hoarse voice. One of the";
700                                mes "men starts slightly convulsing.^000000";
701                                next;
702                                mes "[Little Bit Drunken Guy]";
703                                mes "H-hey...! ^333333*Hiccup!*^000000";
704                                mes "What are you doing?!";
705                                mes "K-keep your hands to";
706                                mes "yourself! Do I look";
707                                mes "like a woman to you?";
708                                next;
709                                mes "[More Drunken Guy]";
710                                mes "What are you talking";
711                                mes "about? Wh-what?! Why";
712                                mes "are my arms all wrapped";
713                                mes "around you? S-sorry, I was";
714                                mes "trying to just go that w--";
715                                mes "I wasn't trying to hug you!";
716                                next;
717                                mes "[Little Bit Drunken Guy]";
718                                mes "Bumping into me,";
719                                mes "I understand. But a full";
720                                mes "blown hug? Come on, now!";
721                                mes "That was totally on purpose!";
722                                mes "Wh-what? My h-hand! It's...";
723                                mes "It's moving my itself?!";
724                                next;
725                                mes "[More Drunken Guy]";
726                                mes "Ack! Wh-what are";
727                                mes "you doing! S-stop";
728                                mes "touching my butt!";
729                                next;
730                                mes "^3355FFThe two men continued";
731                                mes "to gesticulate and move";
732                                mes "wildly without direction.";
733                                next;
734                                mes "[" + strcharinfo(0) + "]";
735                                mes "Those two...";
736                                mes "Those two probably";
737                                mes "had way too much to drink.";
738                                next;
739                                mes "[Riott]";
740                                mes "Nah, they just lost";
741                                mes "control of their bodies";
742                                mes "for a bit. It's the result";
743                                mes "of my skill which sort of";
744                                mes "scrambles their minds.";
745                                next;
746                                if (qskill_bard == 1) {
747                                        mes "[" + strcharinfo(0) + "]";
748                                        mes "Mind scrambling?";
749                                        mes "Wait, are you the same";
750                                        mes "Bard who made someone";
751                                        mes "jump off Umbala's Bungee";
752                                        mes "Jump against his will?";
753                                        next;
754                                        mes "[Riott]";
755                                        mes "Huh? How did you";
756                                        mes "learn about that?";
757                                        mes "I'm not proud of that,";
758                                        mes "(even though it was";
759                                        mes "hilarious at the time)";
760                                        mes "but yeah, that was me.";
761                                        next;
762                                        if (select("Please teach me that skill!:Oh, alright. Just checking.") == 1) {
763                                                mes "[Riott]";
764                                                mes "Hm? You want to learn";
765                                                mes "how to scramble minds";
766                                                mes "like I did just now? Well,";
767                                                mes "I invented this skill, though";
768                                                mes "I did have a lot of help from";
769                                                mes "the Utan Shaman. Let's see...";
770                                                next;
771                                                mes "[Riott]";
772                                                mes "Alright. If you want me";
773                                                mes "to teach you, then bring me";
774                                                mes "5 Eggs from a chicken named";
775                                                mes "Yhelle. Yhelle lays the highest";
776                                                mes "quality eggs: they're delicious";
777                                                mes "and great for a Bard's voice~";
778                                                next;
779                                                mes "[Riott]";
780                                                mes "However, this chicken roosts";
781                                                mes "in a strange, dangerous place.";
782                                                mes "You'll need to explore this huge, mysterious tree in Umbala in order";
783                                                mes "to get there. Last time I went,";
784                                                mes "I pretty much almost died.";
785                                                next;
786                                                mes "[Riott]";
787                                                mes "Alright...";
788                                                mes "So don't forget";
789                                                mes "to come back here";
790                                                mes "and bring me back";
791                                                mes "^4D4DFF5 Yhelle's Eggs^000000, alright?";
792                                                set qskill_bard,2;
793                                                close;
794                                        }
795                                        mes "[Riott]";
796                                        mes "Boy, you're a curious one.";
797                                        mes "But if you know about that";
798                                        mes "and you bumped into me, you";
799                                        mes "must certainly travel around";
800                                        mes "a lot. I can respect a good,";
801                                        mes "seasoned adventurer like you.";
802                                        close;
803                                }
804                                mes "[" + strcharinfo(0) + "]";
805                                mes "Wha...?";
806                                mes "I can't believe you.";
807                                mes "Mind scrambling? That";
808                                mes "doesn't make any sense!";
809                                mes "They're just really drunk...";
810                                next;
811                                mes "[Riott]";
812                                mes "How dare you question my";
813                                mes "power? Oh well, I suppose";
814                                mes "I really can't be too angry.";
815                                mes "Most people who do believe";
816                                mes "me usually claim that I'm";
817                                mes "an axis of evil about now...";
818                                close;
819                        }
820                        mes "[Riott]";
821                        mes "Eh, nothing much. Say,";
822                        mes "you don't have any Bard";
823                        mes "Seals? That's a sure sign";
824                        mes "that you haven't been really";
825                        mes "connecting with the Bard";
826                        mes "community. That's a shame...";
827                        next;
828                        mes "[Riott]";
829                        mes "*Sigh* Alright, I know";
830                        mes "how you can meet more Bards.";
831                        mes "Why don't you try making friends with Errende? Look for a Bard";
832                        mes "dressed in green in Geffen and";
833                        mes "you should be able to find him.";
834                        close;
835                }
836        }
837        else {
838                mes "[Riott]";
839                mes "Hmmrmpf!";
840                mes "Eh heh heh heh!";
841                Emotion e_gg;
842                next;
843                mes "[" + strcharinfo(0) + "]";
844                mes "Um...";
845                mes "What's so funny?";
846                next;
847                if (gef_bard_q == 30 || gef_bard_q == 31) {
848                        mes "[Riott]";
849                        mes "Hm? Ah! That's one of the";
850                        if (gef_bard_q == 30) {
851                                mes "Black Seals that can only";
852                                mes "be given by Kino Kitty. You";
853                                mes "must be a person of great";
854                                mes "emotional depth if he favors";
855                                mes "you enough to give you that.";
856                        }
857                        else {
858                                mes "Silver Seals that can only";
859                                mes "be given by Errende. You";
860                                mes "must be truly kind at heart";
861                                mes "if he has offered to be your";
862                                mes "friend. How about that?";
863                        }
864                        next;
865                        mes "[Riott]";
866                        mes "Geh heh heh~";
867                        mes "Hey, take a look";
868                        mes "at those two drunks";
869                        mes "all the way over there.";
870                        next;
871                        mes "[" + strcharinfo(0) + "]";
872                        mes "Yeah, I can see";
873                        mes "together. But what";
874                        mes "about them?";
875                        next;
876                        mes "[Riott]";
877                        mes "Just...";
878                        mes "Keep watching.";
879                        close;
880                }
881                mes "[Riott]";
882                mes "Eh, nothing much. Say,";
883                mes "I notice you don't have";
884                mes "any Bard seals. That tells";
885                mes "me that you don't really";
886                mes "meet that many Bards. You";
887                mes "should really change that.";
888                next;
889                mes "[Riott]";
890                mes "Bards and Minstrels can";
891                mes "make some pretty handy";
892                mes "friends if you give them";
893                mes "a chance. Here, why don't";
894                mes "you find Errende in Geffen?";
895                mes "He's a pretty popular guy...";
896                close;
897        }
898
899OnTouch:
900        Emotion e_gg;
901        end;
902}
903
904// Yhelle the Chicken
905//============================================================
906niflheim,239,70,1       script  Yhelle#bard_chick1      800,3,3,{
907        Emotion e_omg,1;
908        Emotion e_omg;
909        mes "[Hen Yhelle]";
910        mes "Cluck-Cluuuck?";
911        mes "Cluck cluck cluck!";
912        next;
913        disablenpc "Yhelle#bard_chick1";
914        donpcevent "Yhelle#bard_chick2::OnEnable";
915        mes "^3355FFUpon sensing your";
916        mes "presense, the hen";
917        mes "quickly ran away.^000000";
918        close;
919
920OnInit:
921        disablenpc "Yhelle#bard_chick5";
922        disablenpc "Yhelle#bard_chick4";
923        disablenpc "Yhelle#bard_chick3";
924        disablenpc "Yhelle#bard_chick2";
925        end;
926
927OnEnable:
928        enablenpc "Yhelle#bard_chick1";
929        end;
930
931OnDisable:
932        disablenpc "Yhelle#bard_chick1";
933        end;
934
935OnTouch:
936        callfunc "F_BardSkillYhelle",1,2; close;
937}
938
939niflheim,185,205,3      script  Yhelle#bard_chick2      800,3,3,{
940        Emotion e_omg,1;
941        Emotion e_omg;
942        mes "[Hen Yhelle]";
943        mes "Cluck-Cluuuck?";
944        mes "Cluck cluck cluck!";
945        next;
946        disablenpc "Yhelle#bard_chick2";
947        donpcevent "Yhelle#bard_chick3::OnEnable";
948        mes "^3355FFUpon sensing your";
949        mes "presense, the hen";
950        mes "quickly ran away.^000000";
951        close;
952
953OnEnable:
954        enablenpc "Yhelle#bard_chick2";
955        end;
956
957OnDisable:
958        disablenpc "Yhelle#bard_chick2";
959        end;
960
961OnTouch:
962        callfunc "F_BardSkillYhelle",2,3; close;
963}
964
965niflheim,85,203,5       script  Yhelle#bard_chick3      800,3,3,{
966        Emotion e_omg,1;
967        Emotion e_omg;
968        mes "[Hen Yhelle]";
969        mes "Cluck-Cluuuck?";
970        mes "Cluck cluck cluck!";
971        next;
972        disablenpc "Yhelle#bard_chick3";
973        donpcevent "Yhelle#bard_chick4::OnEnable";
974        mes "^3355FFUpon sensing your";
975        mes "presense, the hen";
976        mes "quickly ran away.^000000";
977        close;
978
979OnEnable:
980        enablenpc "Yhelle#bard_chick3";
981        end;
982
983OnDisable:
984        disablenpc "Yhelle#bard_chick3";
985        end;
986
987OnTouch:
988        callfunc "F_BardSkillYhelle",3,4; close;
989}
990
991niflheim,149,81,7       script  Yhelle#bard_chick4      800,3,3,{
992        Emotion e_omg,1;
993        Emotion e_omg;
994        mes "[Hen Yhelle]";
995        mes "Cluck-Cluuuck?";
996        mes "Cluck cluck cluck!";
997        next;
998        disablenpc "Yhelle#bard_chick4";
999        donpcevent "Yhelle#bard_chick5::OnEnable";
1000        mes "^3355FFUpon sensing your";
1001        mes "presense, the hen";
1002        mes "quickly ran away.^000000";
1003        close;
1004
1005OnEnable:
1006        enablenpc "Yhelle#bard_chick4";
1007        end;
1008
1009OnDisable:
1010        disablenpc "Yhelle#bard_chick4";
1011        end;
1012
1013OnTouch:
1014        callfunc "F_BardSkillYhelle",4,5; close;
1015}
1016
1017niflheim,209,144,3      script  Yhelle#bard_chick5      800,3,3,{
1018        Emotion e_omg,1;
1019        Emotion e_omg;
1020        mes "[Hen Yhelle]";
1021        mes "Cluck-Cluuuck?";
1022        mes "Cluck cluck cluck!";
1023        next;
1024        disablenpc "Yhelle#bard_chick5";
1025        donpcevent "Yhelle#bard_chick1::OnEnable";
1026        mes "^3355FFUpon sensing your";
1027        mes "presense, the hen";
1028        mes "quickly ran away.^000000";
1029        close;
1030
1031OnEnable:
1032        enablenpc "Yhelle#bard_chick5";
1033        end;
1034
1035OnDisable:
1036        disablenpc "Yhelle#bard_chick5";
1037        end;
1038
1039OnTouch:
1040        callfunc "F_BardSkillYhelle",5,1; close;
1041}
1042
1043// Drunken Men
1044//============================================================
1045morocc_in,178,73,3      script  Customer#bard_skill01   54,{
1046        mes "[Little Bit Drunken Guy]";
1047        mes "What do you think";
1048        mes "is the best drink in";
1049        mes "all the world? I think";
1050        mes "the Tri-- Tristan? What";
1051        mes "was it called again?";
1052        next;
1053        mes "[More Drunken Guy]";
1054        mes "Oh! 13 Year Old Tristan?";
1055        mes "That's a great drink, sure,";
1056        mes "but it's way too expensive for";
1057        mes "anything less than a special";
1058        mes "occasion. ^333333*Hiccup*^000000 Personally,";
1059        mes "I really like Ver... Uh, Ver...";
1060        next;
1061        mes "[Little Bit Drunken Guy]";
1062        mes "Vermilion on the Beach?";
1063        mes "Yeah, that's really good,";
1064        mes "you'll pass out after just";
1065        mes "having one shot! Yeah...";
1066        mes "Tro... Tropical! People say";
1067        mes "that's good too. Wait, what?";
1068        next;
1069        mes "[Little Bit Drunken Guy]";
1070        mes "H-hey...! ^333333*Hiccup!*^000000";
1071        mes "What are you doing?!";
1072        mes "K-keep your hands to";
1073        mes "yourself! Do I look";
1074        mes "like a woman to you?";
1075        next;
1076        mes "[More Drunken Guy]";
1077        mes "What are you talking";
1078        mes "about? Wh-what?! Why";
1079        mes "are my arms all wrapped";
1080        mes "around you? S-sorry, I was";
1081        mes "trying to just go that w--";
1082        mes "I wasn't trying to hug you!";
1083        next;
1084        mes "[Little Bit Drunken Guy]";
1085        mes "Bumping into me,";
1086        mes "I understand. But a full";
1087        mes "blown hug? Come on, now!";
1088        mes "That was totally on purpose!";
1089        mes "Wh-what? My h-hand! It's...";
1090        mes "It's moving my itself?!";
1091        next;
1092        mes "[More Drunken Guy]";
1093        mes "Ack! Wh-what are";
1094        mes "you doing! S-stop";
1095        mes "touching my butt!";
1096        next;
1097        mes "^3355FFA Bard in the room";
1098        mes "watches the two drunk";
1099        mes "men intently and giggles";
1100        mes "at their stupor. Remember:";
1101        mes "drinking too much isn't good!^000000";
1102        close;
1103}
1104
1105morocc_in,175,70,7      script  Customer#bard_skill02   50,{
1106        mes "[Little Bit Drunken Guy]";
1107        mes "What do you think";
1108        mes "is the best drink in";
1109        mes "all the world? I think";
1110        mes "the Tri-- Tristan? What";
1111        mes "was it called again?";
1112        next;
1113        mes "[More Drunken Guy]";
1114        mes "Oh! 13 Year Old Tristan?";
1115        mes "That's a great drink, sure,";
1116        mes "but it's way too expensive for";
1117        mes "anything less than a special";
1118        mes "occasion. ^333333*Hiccup*^000000 Personally,";
1119        mes "I really like Ver... Uh, Ver...";
1120        next;
1121        mes "[Little Bit Drunken Guy]";
1122        mes "Vermilion on the Beach?";
1123        mes "Yeah, that's really good,";
1124        mes "you'll pass out after just";
1125        mes "having one shot! Yeah...";
1126        mes "Tro... Tropical! People say";
1127        mes "that's good too. Wait, what?";
1128        next;
1129        mes "[Little Bit Drunken Guy]";
1130        mes "H-hey...! ^333333*Hiccup!*^000000";
1131        mes "What are you doing?!";
1132        mes "K-keep your hands to";
1133        mes "yourself! Do I look";
1134        mes "like a woman to you?";
1135        next;
1136        mes "[More Drunken Guy]";
1137        mes "What are you talking";
1138        mes "about? Wh-what?! Why";
1139        mes "are my arms all wrapped";
1140        mes "around you? S-sorry, I was";
1141        mes "trying to just go that w--";
1142        mes "I wasn't trying to hug you!";
1143        next;
1144        mes "[Little Bit Drunken Guy]";
1145        mes "Bumping into me,";
1146        mes "I understand. But a full";
1147        mes "blown hug? Come on, now!";
1148        mes "That was totally on purpose!";
1149        mes "Wh-what? My h-hand! It's...";
1150        mes "It's moving my itself?!";
1151        next;
1152        mes "[More Drunken Guy]";
1153        mes "Ack! Wh-what are";
1154        mes "you doing! S-stop";
1155        mes "touching my butt!";
1156        next;
1157        mes "^3355FFA Bard in the room";
1158        mes "watches the two drunk";
1159        mes "men intently and giggles";
1160        mes "at their stupor. Remember:";
1161        mes "drinking too much isn't good!^000000";
1162        close;
1163}
1164
1165// Bartender
1166//============================================================
1167morocc_in,166,76,7      script  Bartender#bard_qskill   46,{
1168        if (checkweight(1201,1) == 0) {
1169                mes "^3355FFHold it right there!";
1170                mes "You're carrying too many items and don't have enough inventory space to receive any rewards. Please make more inventory space available and come back to take this challenge.";
1171                close;
1172        }
1173        mes "[Bartender]";
1174        mes "So what would";
1175        mes "you like to order?";
1176        next;
1177        switch(select("Tropical Sograt:Vermilion on the Beach:Nothing, thanks.")) {
1178        case 1:
1179                set .@now_weight,maxWeight-Weight;
1180                if (.@now_weight < 2000) {
1181                        mes "[Bartender]";
1182                        mes "You sure you can carry";
1183                        mes "any more stuff with you?";
1184                        mes "Damn, it doesn't look that";
1185                        mes "way to me. Take a load off,";
1186                        mes "and put some stuff with in";
1187                        mes "your Kafra Storage, alright?";
1188                        close;
1189                }
1190                if (Zeny < 1000) {
1191                        mes "[Bartender]";
1192                        mes " You sure you can afford";
1193                        mes "this now? This drink's";
1194                        mes "1,000 zeny, so you better";
1195                        mes "check the cash you have";
1196                        mes "onhand. Eh, just come back";
1197                        mes "later when you have the money.";
1198                        close;
1199                }
1200                mes "[Bartender]";
1201                mes "Here you are,";
1202                mes "1 Tropical Sograt.";
1203                mes "It tastes sweet and";
1204                mes "mild, but if you're not";
1205                mes "careful, you'll pass out";
1206                mes "in no time flat. Take it easy.";
1207                set zeny,zeny-1000;
1208                getitem 12112,1; //Tropical_Sograt
1209                close;
1210
1211        case 2:
1212                set .@now_weight,maxWeight-Weight;
1213                if (.@now_weight < 2000) {
1214                        mes "[Bartender]";
1215                        mes "You sure you can carry";
1216                        mes "any more stuff with you?";
1217                        mes "Damn, it doesn't look that";
1218                        mes "way to me. Take a load off,";
1219                        mes "and put some stuff with in";
1220                        mes "your Kafra Storage, alright?";
1221                        close;
1222                }
1223                if (Zeny < 1000) {
1224                        mes "[Bartender]";
1225                        mes "You sure you can afford";
1226                        mes "this now? This drink's";
1227                        mes "1,000 zeny, so you better";
1228                        mes "check the cash you have";
1229                        mes "onhand. Eh, just come back";
1230                        mes "later when you have the money.";
1231                        close;
1232                }
1233                mes "[Bartender]";
1234                mes "Here you go.";
1235                mes "Be sure that you";
1236                mes "enjoy your drinking";
1237                mes "without going crazy.";
1238                set zeny,zeny-1000;
1239                getitem 12113,1; //Vermilion_The_Beach
1240                close;
1241
1242        case 3:
1243                mes "[Bartender]";
1244                mes "Alright, then.";
1245                mes "I'll see you around.";
1246                close;
1247        }
1248}
1249
1250// Function
1251//============================================================
1252function        script  F_BardSkillYhelle       {
1253        //set max_max_c,1201;
1254        //if (max_max_c == 1) {
1255        //      mes "^3355FFHold it right there!";
1256        //      mes "You're carrying too many items and don't have enough inventory space to receive any rewards. Please make more inventory space available and come back to take this challenge.";
1257        //      close;
1258        //}
1259        set .@now_weight,MaxWeight-Weight;
1260        if (.@now_weight < 2000) {
1261                mes "^3355FFHold it right there!";
1262                mes "You're carrying too many items and don't have enough inventory space to receive any rewards. Please make more inventory space available and come back to take this challenge.";
1263                close;
1264        }
1265        Emotion e_omg,1;
1266        Emotion e_omg;
1267        mes "[Hen Yhelle]";
1268        mes "Cluck-Cluuuck?";
1269        mes "Cluck cluck cluck!";
1270        next;
1271        if (rand(1,3) == 2) {
1272                disablenpc "Yhelle#bard_chick"+getarg(0);
1273                donpcevent "Yhelle#bard_chick"+getarg(1)+"::OnEnable";
1274                mes "^3355FFUpon sensing your";
1275                mes "presense, the hen";
1276                mes "quickly ran away.^000000";
1277                if (qskill_bard > 1 && qskill_bard < 7) {
1278                        mes "^3355FFYou found ^3333331 Egg^3355FF in the";
1279                        mes "place where Yhelle the";
1280                        mes "Hen was roosting.^000000";
1281                        set qskill_bard,qskill_bard+1;
1282                        getitem 574,1; //Egg
1283                }
1284        }
1285        else {
1286                disablenpc "Yhelle#bard_chick"+getarg(0);
1287                donpcevent "Yhelle#bard_chick"+getarg(1)+"::OnEnable";
1288                mes "^3355FFUpon sensing your";
1289                mes "presense, the hen";
1290                mes "quickly ran away.^000000";
1291        }
1292        return;
1293}
Note: See TracBrowser for help on using the browser.