root/npc/quests/first_class/tu_merchant.txt

Revision 1, 44.7 kB (checked in by jinshiro, 17 years ago)
Line 
1//===== eAthena Script =======================================
2//= Merchant Class Tutorial and Job Specific Quest
3//===== By: ==================================================
4//= Fix up by Jukka
5//===== Current Version: =====================================
6//= 1.2
7//===== Compatible With: =====================================
8//= eAthena SVN (Testet in Trunk 88xx)
9//===== Description: =========================================
10//=
11//===== Additional Comments: =================================
12//= 1.0 Fully working
13//= 1.1 Fixed bugs, optimized [Lupus] 1.2 fixed Weight check
14//=     TODO: Test, add missing misceffects
15//= 1.2 Fixed experience gains to match upcoming rate adjustments. [SinSloth]
16//============================================================
17
18
19//=================================================Guarnien====================================================
20alberta_in,70,51,5      script  Guarnien        98,{
21        mes "[Guarnien]";
22        if(Class != Job_Merchant && Class != Job_Baby_Merchant){
23                mes "Hello stranger.";
24                mes "I wish I could";
25                mes "offer you help";
26                mes "on your adventures...";
27                next;
28                mes "[Guarnien]";
29                mes "However, what I have to teach would only benefit Merchants. Trading and monkey making are my areas of expertise. If you have any Merchant friends, send them to me.";
30                if(Class == Job_Merchant_High){
31                        next;
32                        mes "[Guarnien]";
33                        mes "Technically, yes, you're a Merchant, but I know an expert when I see one. You've been through the Merchant life before, I can tell!";
34                }
35                close;
36        }
37        switch(tu_merchant){
38        case 17:
39                mes "We can't even begin";
40                mes "to fathom the number";
41                mes "of markets and people";
42                mes "out there in this wide,";
43                mes "wide world of ours.";
44                next;
45                mes "[Guarnien]";
46                mes "All of them are possible customers and business partners. Of course, it'll be up to you to meet them.";
47                mes "If you can be sincerely kind to everyone that you meet, you'll";
48                mes "have no problem.";
49                close;
50                break;
51        case 16:
52                mes "So...";
53                mes "How much have";
54                mes "you learned";
55                mes "about Vending?";
56                next;
57                set @chk_vend, getskilllv("MC_VENDING");
58                if((@chk_vend > 3) && (@chk_vend < 10)){
59                        mes "[Guarnien]";
60                        mes "Excellent!";
61                        mes "You've taught yourself well. Here, you've earned this little reward~";
62                        set tu_merchant, 17;
63                        getexp 1860,604;
64                        next;
65                } else if(@chk_vend == 10){
66                        mes "[Guarnien]";
67                        mes "Oh, I see that you're very serious about being a Merchant. I'm proud that you've managed to master this skill! Here, you deserve this reward!";
68                        set tu_merchant, 17;
69                        getexp 1990,699;
70                        //misceffect EF_HIT5;
71                        next;
72                } else {
73                        mes "[Guarnien]";
74                        mes "Hmm...";
75                        mes "Haven't learned Level 4 Vending yet, huh? Just keep in mind that being able to vend things is one";
76                        mes "of the defining characteristics of being a Merchant!";
77                        close;
78                }
79                mes "[Guarnien]";
80                mes "Ah, now you have mastered the fundamentals of the Merchant class. Just keep practicing the basic principles, like researching the market for item prices, and you should be fine.";
81                next;
82                mes "[Guarnien]";
83                mes "Although everything we do is for money, never forget customer needs and always sell your products at a suitably fair price. Otherwise, no one may buy your goods!";
84                next;
85                mes "[Guarnien]";
86                mes "Well, there's nothing more I can teach you for now. Go out into the world and make your mark as a Merchant.";
87                next;
88                mes "[Guarnien]";
89                mes "And feel free to";
90                mes "visit me whenever";
91                mes "the mood strikes you.";
92                mes "Good luck to you~";
93                close;
94                break;
95        case 15:
96                mes "I believe it's time";
97                mes "for my final lecture.";
98                mes "I'll discuss the definitive";
99                mes "skill of the Merchant: ^871F78Vending^000000. Please listen carefully.";
100                next;
101                mes "[Guarnien]";
102                mes "The Vending skill is an active skill which allows you to open your own shop where you stand. Vending allows you to do real business with other people.";
103                next;
104                mes "[Guarnien]";
105                mes "However, you can only vend items that are stored in your PushCart, so you'll need one of those. The maximum price you can set for";
106                mes "each item is 10 million Zeny.";
107                next;
108                mes "[Guarnien]";
109                mes "Basically, you've got to learn the Push Cart skill first before you can learn the Vending skill.";
110                next;
111                mes "[Guarnien]";
112                mes "The higher the level of the Vending skill, the more items you can vend at one time. Vending is mastered at Skill Level 10.";
113                next;
114                mes "[Guarnien]";
115                mes "Level 1 Vending allows you";
116                mes "to vend a total of 3 items at one time. Each time you level up the Vending skill, the total number of items you can vend will";
117                mes "increase by one.";
118                next;
119                set @chk_vend, getskilllv("MC_VENDING");
120                if((@chk_vend > 3) && (@chk_vend < 10)){
121                        mes "[Guarnien]";
122                        mes "But I see that you must already know that, huh? Well, seeing as you're so clever, I think you've earned this little prize~";
123                        set tu_merchant, 17;
124                        getexp 1860,604;
125                        //misceffect EF_HIT5;
126                        next;
127                } else if(@chk_vend == 10){
128                        mes "[Guarnien]";
129                        mes "But it looks like I just put my foot in my mouth. I'm sorry, I didn't notice that you already mastered the Vending skill...";
130                        next;
131                        mes "[Guarnien]";
132                        mes "You're such an";
133                        mes "excellent student!";
134                        mes "Please, take this";
135                        mes "little reward for";
136                        mes "all your efforts~";
137                        set tu_merchant, 17;
138                        getexp 1990,699;
139                        //misceffect EF_HIT5;
140                        next;
141                } else {
142                        mes "[Guarnien]";
143                        mes "For your final assignment, I will ask you to learn the Vending skill up to Skill Level 4. Of course, once you do, I'll give you a little reward. I'll be waiting, so do your best~";
144                        set tu_merchant, 16;
145                        close;
146                }
147       
148                mes "[Guarnien]";
149                mes "Ah, now you have mastered the fundamentals of the Merchant class. Just keep practicing the basic principles, like researching the market for item prices, and you should be fine.";
150                next;
151                mes "[Guarnien]";
152                mes "Although everything we do is for money, never forget customer needs and always sell your products at a suitably fair price. Otherwise, no one may buy your goods!";
153                next;
154                mes "[Guarnien]";
155                mes "Well, there's nothing more I can teach you for now. Go out into the world and make your mark as a Merchant.";
156                next;
157                mes "[Guarnien]";
158                mes "And feel free to";
159                mes "visit me whenever";
160                mes "the mood strikes you.";
161                mes "Good luck to you~";
162                close;
163                break;
164        case 14:
165                mes "So, have you";
166                mes "learned Push Cart up";
167                mes "to Level 4 like I asked?";
168                next;
169                set @chk_cart, getskilllv("MC_PUSHCART");
170                if(@chk_cart > 3 && @chk_cart < 10){
171                        mes "[Guarnien]";
172                        mes "Well done~";
173                        mes "You've been a very";
174                        mes "cooperative student.";
175                        mes "You deserve a little";
176                        mes "reward for your effort~";
177                        set tu_merchant, 15;
178                        getexp 1620,520;
179                        //misceffect EF_HIT5;
180                        next;
181                        mes "[Guarnien]";
182                        mes "Next time, I'll talk about the skill that sets Merchants apart from all the other classes: ^871F78Vending^000000. So don't miss it!";
183                        close;
184                } else if(@chk_cart == 10){
185                        mes "[Guarnien]";
186                        mes "Excellent!";
187                        mes "You've actually went above and beyond mastered the Push Cart skill. Great work!";
188                        set tu_merchant, 15;
189                        getexp 1860,604;
190                        //misceffect EF_HIT5;
191                        next;
192                        mes "[Guarnien]";
193                        mes "Next time, I'll talk about the skill that sets Merchants apart from all the other classes: ^871F78Vending^000000. So don't miss it!";
194                        close;
195                } else {
196                        mes "[Guarnien]";
197                        mes "Still not there, huh?";
198                        mes "Well, remember that you need";
199                        mes "Level 5 Increase Weight Limit before you can learn the Push";
200                        mes "Cart skill. I hope that helps.";
201                        close;
202                }
203                break;
204        case 13:
205                mes "Now to talk about";
206                mes "^871F78Push Cart^000000. First off, you need to know Level 5 Increase Weight Limit before you can even learn the Push Cart skill.";
207                next;
208                mes "[Guarnien]";
209                mes "Push Cart can be mastered at";
210                mes "Skill Level 10. This skill allows you to carry a Push Cart with you. You can carry a maximum of 100 different kinds of items that weigh less than 8,000.";
211                next;
212                mes "[Guarnien]";
213                mes "As you can see, this skill is an advanced form of the Increase Weight Limit skill. You can procure a PushCart from most Kafra Ladies for a certain fee.";
214                next;
215                mes "[Guarnien]";
216                mes "Once you have rented a Cart, you can hold on to it so long as you don't take it off. The disadvantage to using a PushCart is that your movement speed is reduced to";
217                mes "almost half! Horrible, isn't it?";
218                next;
219                mes "[Guarnien]";
220                mes "Fortunately, when you increase";
221                mes "the level of the Push Cart skill, your movement speed will slowly be restored. With Push Cart Level 10, a PushCart won't slow you";
222                mes "down at all!";
223                next;
224                set @chk_cart, getskilllv("MC_PUSHCART");
225                if(@chk_cart > 3 && @chk_cart < 10){
226                        mes "[Guarnien]";
227                        mes "Ah, and I see that you've been focusing on learning Push Cart. Although you might still have a problem with your movement";
228                        mes "speed, it shouldn't be a big deal.";
229                        mes "Well done~";
230                        set tu_merchant, 15;
231                        getexp 1620,520;
232                        //misceffect EF_HIT5;
233                        next;
234                        mes "[Guarnien]";
235                        mes "Next time, I'll talk about the skill that sets Merchants apart from all the other classes: ^871F78Vending^000000. So don't miss it!";
236                        close;
237                } else if(@chk_cart == 10){
238                        mes "[Guarnien]";
239                        mes "Wonderful! You've already";
240                        mes "mastered the Push Cart skill.";
241                        mes "You truly deserve a little bit of a reward~";
242                        set tu_merchant, 15;
243                        getexp 1860,602;
244                        //misceffect EF_HIT5;
245                        next;
246                        mes "[Guarnien]";
247                        mes "Next time, I'll talk about the skill that sets Merchants apart from all the other classes: ^871F78Vending^000000. So don't miss it!";
248                        close;
249                } else {
250                        mes "[Guarnien]";
251                        mes "For now, why don't";
252                        mes "you learn the Push Cart";
253                        mes "skill up to Level 4? Once";
254                        mes "you do that, I can go on to";
255                        mes "my next lecture.";
256                        set tu_merchant, 14;
257                        close;
258                }
259                break;
260        case 12:
261                mes "So...";
262                mes "How is it going";
263                mes "with learning that";
264                mes "^871F78Over Charge^000000 skill?";
265                next;
266                set @chk_over, getskilllv("MC_OVERCHARGE");
267                if(@chk_over > 3 && @chk_over < 10){
268                        mes "[Guarnien]";
269                        mes "Nice work!";
270                        mes "I can tell that";
271                        mes "you've done just";
272                        mes "as I asked. Please,";
273                        mes "take this little reward~";
274                        set tu_merchant, 13;
275                        getexp 1260,272;
276                        //misceffect EF_HIT5;
277                        next;
278                        mes "[Guarnien]";
279                        mes "Next time, I'll discuss the Push Cart skill. Be ready for this lecture, as Push Cart is one of the more important skills for a Merchant.";
280                        close;
281                } else if(@chk_over == 10){
282                        mes "[Guarnien]";
283                        mes "Whoa...";
284                        mes "You actually";
285                        mes "mastered Over Charge?";
286                        mes "Most impressive! You deserve a small reward for your work!";
287                        set tu_merchant, 13;
288                        getexp 1420,336;
289                        //misceffect EF_HIT5;
290                        next;
291                        mes "[Guarnien]";
292                        mes "Next time, I'll discuss the Push Cart skill. Be ready for this lecture, as Push Cart is one of the more important skills for a Merchant.";
293                        close;
294                } else {
295                        mes "[Guarnien]";
296                        mes "Mm? You haven't";
297                        mes "learned Over Charge";
298                        mes "up to Skill Level 4 yet?";
299                        mes "There's no rush, but I won't be able to lecture on anything until you finish this little task.";
300                        close;
301                }
302                break;
303        case 11:
304                mes "Ah, ready to";
305                mes "learn already,";
306                mes "are you? Alright,";
307                mes "let me tell you";
308                mes "about ^871F78Over Charge^000000.";
309                next;
310                mes "[Guarnien]";
311                mes "Like Discount, Over Charge is a Passive skill that can be mastered at Skill Level 10. Therefore, it doesn't require SP to use it.";
312                next;
313                mes "[Guarnien]";
314                mes "Over Charge allows you to sell items to NPC shops for more Zeny. The higher your Over Charge Skill Level, the more Zeny you'll receive for items sold to NPCs.";
315                next;
316                set @chk_over, getskilllv("MC_OVERCHARGE");
317                if(@chk_over > 3 && @chk_over < 10){
318                        mes "[Guarnien]";
319                        mes "Ah, you've already learned Level 4 Over Charge. Perfect! Let me give you a little reward~";
320                        set tu_merchant, 13;
321                        getexp 1260,272;
322                        //misceffect EF_HIT5;
323                        next;
324                        mes "[Guarnien]";
325                        mes "Next time, I'll discuss the";
326                        mes "Push Cart skill. Be ready for this lecture, as Push Cart is one of the more important skills for a Merchant.";
327                        close;
328                } else if(@chk_over == 10){
329                        mes "[Guarnien]";
330                        mes "Amazing! You've already mastered the Over Charge skill! You must have wanted this reward badly~";
331                        set tu_merchant, 13;
332                        getexp 1420,336;
333                        //misceffect EF_HIT5;
334                        next;
335                        mes "[Guarnien]";
336                        mes "Next time, I'll discuss the";
337                        mes "Push Cart skill. Be ready for this lecture, as Push Cart is one of the more important skills for a Merchant.";
338                        close;
339                } else {
340                        mes "[Guarnien]";
341                        mes "Personally, I think you should learn this skill for sure! For your next assignment, learn Over Charge up to Level 4. It shouldn't be too difficult to do.";
342                        set tu_merchant, 12;
343                        next;
344                        mes "[Guarnien]";
345                        mes "Once you do that,";
346                        mes "we can talk about";
347                        mes "more advanced stuff.";
348                        mes "Do your best~";
349                        close;
350                }
351                break;
352        case 10:
353                mes "Let me see those";
354                mes "Red Potions. Now,";
355                mes "how much did you";
356                mes "pay for these...?";
357                next;
358                mes "[Guarnien]";
359                mes "Ah...!";
360                mes "It looks like...";
361                mes "You were scammed!";
362                mes "D-don't worry, though,";
363                mes "I won't tell anybody.";
364                next;
365                mes "[Guarnien]";
366                mes "Oh well, it happens even to the best of us. Just think of this as an invaluable learning experience.";
367                next;
368                mes "[Guarnien]";
369                mes "Now, why don't you go to Prontera and try to buy 10 Red Potions from an NPC for the cheapest price again?";
370                set tu_merchant, rand(6,8);
371                close;
372                break;
373        case 9:
374                mes "Let me see those";
375                mes "Red Potions. Ah, it seems you researched the market and bought the cheapest ones! Great work!";
376                set tu_merchant, 11;
377                getexp 1120,220;
378                //misceffect EF_HIT5;
379                next;
380                mes "[Guarnien]";
381                mes "Alright, next time, we'll talk about the skill that you can learn after knowing how to Discount:";
382                mes "^871F78Over Charge^000000.";
383                close;
384                break;
385        case 6:
386        case 7:
387        case 8:
388                mes "Hmm...";
389                mes "You'll find some NPCs";
390                mes "selling 10 Red Potions";
391                mes "in Prontera. Your task";
392                mes "is to buy the potions";
393                mes "for the cheapest price.";
394                next;
395                mes "[Guarnien]";
396                mes "First, you'll probably want to research the market price for Red Potions. And always, be careful of scammers and cheats!";
397                close;
398                break;
399        case 5:
400                mes "Alright...";
401                mes "I've given it some thought and I've come up with a little challenge for you. Bring me... 10 Red Potions!";
402                next;
403                mes "[Guarnien]";
404                mes "It's not too hard, but the stipulation I'm adding is that you've got to find the merchant selling Red Potions for the cheapest price.";
405                next;
406                mes "[Guarnien]";
407                mes "So first, you'll need to research the market price for Red Potions. Also, be careful of scammers! If the price is too good to be true, it usually is.";
408                next;
409                mes "[Guarnien]";
410                mes "Ha ha ha, let me make your goal a bit less confusing.  You will need to buy 10 Red Potions from an NPC in Prontera.";
411                next;
412                mes "[Guarnien]";
413                mes "Prontera's a bit far from here, isn't it? I'll just use this Kafra Warp-- Mahnsoo has a bunch for";
414                mes "some reason --to send you there right now. Get ready...!";
415                next;
416                set tu_merchant, rand(6,8);
417                warp "prontera",155,46;
418                close2;
419                end;
420                break;
421        case 4:
422                mes "So, how is it going with learning the Discount skill? Like I always say, if you can't make a bargain, you can't be a Merchant!";
423                next;
424                mes "[Guarnien]";
425                set @chk_disc, getskilllv("MC_DISCOUNT");
426                if(@chk_disc > 3 && @chk_disc < 10){
427                        mes "Ah, you've learned";
428                        mes "how to use the Discount skill";
429                        mes "well enough. Good, here's a little reward for your hard work~";
430                        set tu_merchant, 5;
431                        getexp 830,116;
432                        //misceffect EF_HIT5;
433                        next;
434                        mes "[Guarnien]";
435                        mes "Alright, my next lesson will hopefully offer you a bit more of a challenge. Come back when you think you're ready, alright?";
436                        close;
437                } else if(@chk_disc == 10){
438                        mes "Incredible!";
439                        mes "You've actually mastered the Discount skill! You're such a great student. You deserve a bit of a reward!";
440                        set tu_merchant, 5;
441                        getexp 970,180;
442                        next;
443                        mes "[Guarnien]";
444                        mes "Alright, my next lesson will hopefully offer you a bit more of a challenge. Come back when you think you're ready, alright?";
445                        close;
446                } else {
447                        mes "Not yet, huh?";
448                        mes "Well, you should be able to reach that goal soon. After all, it's one of the basics of being a Merchant!";
449                        close;
450                }
451                break;
452        case 3:
453                mes "Ah, you're back!";
454                mes "Now, I was going";
455                mes "to tell you about";
456                mes "the Discount skill, right?";
457                next;
458                mes "[Guarnien]";
459                mes "The ^871F78Discount^000000 skill allows you to buy items at lower prices from NPC shops. It is a ^871F78Passive Skill^000000 which is always in effect and does not consume SP.";
460                next;
461                mes "[Guarnien]";
462                mes "The Discount skill is";
463                mes "mastered at ^871F78Level 10^000000. The higher the skill level, the less you have to pay for items at NPC shops.";
464                next;
465                mes "[Guarnien]";
466                set @chk_disc, getskilllv("MC_DISCOUNT");
467                if(@chk_disc > 3 && @chk_disc < 10){
468                        mes "Oooh, good work.";
469                        mes "I see that you've";
470                        mes "raised your Discount";
471                        mes "to Level 4 already.";
472                        mes "Here, take this";
473                        mes "small reward~";
474                        set tu_merchant, 5;
475                        getexp 830,116;
476                        //misceffect EF_HIT5;
477                        next;
478                        mes "[Guarnien]";
479                        mes "Alright, my next lesson will hopefully offer you a bit more of a challenge. Come back when you";
480                        mes "think you're ready, alright?";
481                        close;
482                } else if(@chk_disc == 10){
483                        mes "Incredible!";
484                        mes "You've actually mastered the Discount skill! You're such a great student. You deserve a bit of a reward!";
485                        set tu_merchant, 5;
486                        getexp 970,180;
487                        //misceffect EF_HIT5;
488                        next;
489                        mes "[Guarnien]";
490                        mes "Alright, my next lesson will hopefully offer you a bit more of a challenge. Come back when you";
491                        mes "think you're ready, alright?";
492                        close;
493                } else {
494                        mes "Alright! Now, in order to become closer towards becoming a true Merchant, I want you to learn the Discount skill up to Level 4.";
495                        next;
496                        mes "[Guarnien]";
497                        mes "It'd be nicer if you could";
498                        mes "master it, but you might be more interested in devoting your time to other skills.";
499                        next;
500                        mes "[Guarnien]";
501                        mes "Still, you can't ignore the fact that bargaining is an essential skill for a Merchant! Come back to me when you're ready~";
502                        set tu_merchant, 4;
503                        close;
504                }
505                break;
506        case 2:
507                mes "Ah, you've come back to learn more. Let's see, what was I going to tell you about... Right, Mammonite!";
508                next;
509                mes "[Guarnien]";
510                mes "^871F78Mammonite^000000 is a skill that lets you greatly damage targets with Zeny. Money really is power!";
511                next;
512                mes "[Guarnien]";
513                mes "The upside is that it inflicts great damage and only uses a little SP. However, the downside is that it will also consume your Zeny!";
514                next;
515                mes "[Guarnien]";
516                mes "So if you use this skill too often, you might end up bankrupt! So be really careful. Also, as the Skill Level for Mammonite increases, so does the attack strength and Zeny consumption.";
517                next;
518                mes "[Guarnien]";
519                set @chk_mam, getskilllv("MC_MAMMONITE");
520                if(@chk_mam > 3 && @chk_mam < 10){
521                        mes "Ah, I see that you've already tried this skill. How much money have you wasted using Mammonite? Not too much, I hope.";
522                        next;
523                        mes "[Guarnien]";
524                        mes "Well, since you're still green, I feel awfully sorry if you've wasted Zeny. Why don't you take this as compensation?";
525                        set tu_merchant, 3;
526                        getexp 700,58;
527                        //misceffect EF_HIT5;
528                        next;
529                        mes "[Guarnien]";
530                        mes "Okay. Now I think we're ready for me to discuss the ^871F78Discount^000000 skill. Come back when you'd like me to tell you more about it, okay?";
531                        close;
532                } else {
533                        mes "Okay. Now I think we're ready for me to discuss the ^871F78Discount^000000 skill. Come back when you'd like me to tell you more about it, okay?";
534                        set tu_merchant, 3;
535                        close;
536                }
537                break;
538        case 1:
539                mes "So...";
540                mes "Did you learn the";
541                mes "Increase Weight Limit";
542                mes "skill up to Level 4";
543                mes "like I asked?";
544                next;
545                mes "[Guarnien]";
546                set @chk_soji, getskilllv("MC_INCCARRY");
547                if(@chk_soji > 3 && @chk_soji < 10){
548                        mes "Ah. I can tell that you have. Not bad! By now you should be able to learn the ^871F78Discount^000000 skill, but I'll teach you about that later.";
549                        next;
550                        mes "[Guarnien]";
551                        mes "There are a few other basic skills which you can learn right away that I'll talk about first. Let's not rush~";
552                        next;
553                        mes "[Guarnien]";
554                        mes "First, there's the ^871F78Item Appraisal^000000 skill. This ability, once you've learned it, allows you to ^871F78identify unknown items^000000.";
555                        next;
556                        mes "[Guarnien]";
557                        mes "This skill works exactly like a ^871F78Magnifier^000000, so you won't have to spend any Zeny on them. Also, this skill is mastered at ^871F78Level 1^000000.";
558                        next;
559                        if(getskilllv("MC_IDENTIFY")){
560                                mes "[Guarnien]";
561                                mes "I see in your eyes that you've already learned to appraise items. Haha, although having that knowledge is reward in itself, let me give you something extra!";
562                                set tu_merchant, 2;
563                                getexp 585,43;
564                                getitem 1351, 1;
565                                next;
566                                mes "[Guarnien]";
567                                mes "Alright, next time";
568                                mes "I'll talk about the Mammonite skill. For now, let me take a little bit of a break from all of this arduous lecture. ^666666*Whew!*^000000";
569                                close;
570                        }
571                } else {
572                        mes "No? That's fine.";
573                        mes "But I can't teach you";
574                        mes "much more if you can't grasp these simple basics, so hurry and learn those skills, okay?";
575                        close;
576                }
577                mes "Alright, next time";
578                mes "I'll talk about the Mammonite skill. For now, let me take a little bit of a break from all of this arduous lecture. ^666666*Whew!*^000000";
579                set tu_merchant, 2;
580                close;
581        }
582       
583        mes "You've just started out as a Merchant, haven't you? How would you like to learn the fundamentals of business from an experienced colleague?";
584        next;
585        if(select("Sure!:I'll make it on my own!")==1){
586                set tu_merchant, 1;
587                if(getskilllv("MC_INCCARRY") < 4){
588                        mes "[Guarnien]";
589                        if(Sex == 1){
590                                mes "Atta boy~!";
591                        } else {
592                                mes "Atta girl~!";
593                        }
594                        mes "But first things first!";
595                        mes "You better learn the";
596                        mes "^871F78Increase Weight Limit^000000 skill!";
597                        next;
598                        mes "[Guarnien]";
599                        mes "You can't really be a Merchant if you can't even carry around goods to sell. As you increase the level of this skill, you can carry around more items.";
600                        next;
601                        mes "[Guarnien]";
602                        mes "Why don't you upgrade your";
603                        mes "Increase Weight Limit skill up to Level 4? After that, we can talk more about becoming a true Merchant.";
604                        close;
605                } else {
606                        mes "[Guarnien]";
607                        mes "Great...!";
608                        mes "Ah, and I see that you've learned the ^871F78Increase Weight Limit^000000 skill to at least Level 4. You're a real go-getter, aren't you?";
609                        next;
610                        mes "[Guarnien]";
611                        mes "Since your Increase Weight";
612                        mes "Limit skill level is high enough, you must be able to see a new skill in your Skill Window: ^871F78Discount^000000!";
613                        next;
614                        mes "[Guarnien]";
615                        mes "But we'll discuss the Discount skill later. There are a few other basic skills which you can learn right away that I'll talk about first. Let's not rush~";
616                        next;
617                        mes "[Guarnien]";
618                        mes "First, there's the ^871F78Item Appraisal^000000 skill. This ability, once you've learned it, allows you to ^871F78identify unknown items^000000.";
619                        next;
620                        mes "[Guarnien]";
621                        mes "This skill works exactly like a ^871F78Magnifier^000000, so you won't have to spend any Zeny on them. Also, this skill is mastered at ^871F78Level 1^000000.";
622                        next;
623                        mes "[Guarnien]";
624                        set tu_merchant, 2;
625                        if(getskilllv("MC_IDENTIFY")){
626                                mes "I see in your eyes that you've already learned to appraise items. Haha, although having that knowledge is reward in itself, let me give you something extra!";
627                                //misceffect EF_HIT5;
628                                getexp 585,43;
629                                getitem 1351, 1;
630                                next;
631                                mes "[Guarnien]";
632                                mes "Alright, next time";
633                                mes "I'll talk about the Mammonite skill. For now, let me take a little bit of a break from all of this arduous lecture. ^666666*Whew!*^000000";
634                                close;
635                        }
636                        mes "Alright, next time";
637                        mes "I'll talk about the Mammonite skill. For now, let me take a little bit of a break from all of this arduous study.";
638                        next;
639                        mes "[Guarnien]";
640                        mes "Oh...";
641                        mes "And I'll tell you";
642                        mes "more about the Discount";
643                        mes "skill later. I always manage";
644                        mes "to forget about that!";
645                        close;
646                }
647        } else {
648                mes "[Guarnien]";
649                mes "On your own?";
650                mes "Hahaha, that's the spirit!";
651                mes "But still, the advice I'm giving is free. It couldn't hurt to give what I say a little bit of thought.";
652                next;
653                mes "[Guarnien]";
654                mes "Well, if you ever change your mind, stop by and talk to me anytime. And as a Merchant, you should know that free advice is the best!";
655                close;
656        }
657}
658       
659//=================================================Sagle====================================================
660prontera,66,111,3       script  Sagle   82,{
661        mes "[Sagle]";
662        if(tu_merchant == 8){
663                mes "Hello, hello~";
664                mes "Why don't you buy";
665                mes "some Red Potions?";
666                mes "They're essential for travel, and these Red Potions are the best for newer adventurers~";
667                next;
668                mes "[Sagle]";
669                mes "I will sell you 10 Red Potions for ^871F78420 zeny^000000. You'd better get them now while they're still here!";
670                next;
671                switch(select("Buy:Cancel")){
672                case 1:
673                        mes "[Sagle]";
674                        mes "Excellent!";
675                        mes "You certainly have an eye for bargains. Here you go, 10 Red Potions fresh from the... Potioner...";
676                        if(Zeny < 420){
677                                next;
678                                mes "[Sagle]";
679                                mes "Whoa, hold on!";
680                                mes "You can't afford";
681                                mes "these potions...";
682                                mes "Please come back";
683                                mes "when you have enough";
684                                mes "Zeny, alright?";
685                                close;
686                        }
687                        if(MaxWeight - Weight < 71){
688                                next;
689                                mes "[Sagle]";
690                                mes "Whoa, hold on!";
691                                mes "There's no way you carry all of this! Why don't you put some of your stuff in Kafra Storage before coming back?";
692                                close;
693                        } else {
694                                set Zeny, Zeny - 420;
695                                set tu_merchant, 10;
696                                getitem 501, 10;
697                                close;
698                        }
699                        break;
700                case 2:
701                        mes "[Sagle]";
702                        mes "Alright...";
703                        mes "But don't";
704                        mes "complain if";
705                        mes "these potions";
706                        mes "are sold out!";
707                        close;
708                        break;
709                }
710        }
711        if(tu_merchant == 7){
712                mes "Hello, hello~";
713                mes "Why don't you buy";
714                mes "some Red Potions?";
715                mes "They're essential for travel, and these Red Potions are the best for newer adventurers~";
716                next;
717                mes "[Sagle]";
718                mes "I will sell you 10 Red Potions for ^871F78410 zeny^000000. You'd better get them now while they're still here!";
719                next;
720                switch(select("Buy:Cancel")){
721                        case 1:
722                                mes "[Sagle]";
723                                mes "Excellent!";
724                                mes "You certainly have an eye for bargains. Here you go, 10 Red Potions fresh from the... Potioner...";
725                                if(Zeny < 410){
726                                        next;
727                                        mes "[Sagle]";
728                                        mes "Whoa, hold on!";
729                                        mes "You can't afford";
730                                        mes "these potions...";
731                                        mes "Please come back";
732                                        mes "when you have enough";
733                                        mes "Zeny, alright?";
734                                        close;
735                                }
736                                if(MaxWeight - Weight < 71){
737                                        next;
738                                        mes "[Sagle]";
739                                        mes "Whoa, hold on!";
740                                        mes "There's no way you carry all of this! Why don't you put some of your stuff in Kafra Storage before coming back?";
741                                        close2;
742                                        end;
743                                } else {
744                                        set Zeny, Zeny - 410;
745                                        set tu_merchant, 10;
746                                        getitem 501, 10;
747                                        close;
748                                }
749                                break;
750                        case 2:
751                                mes "[Sagle]";
752                                mes "Alright...";
753                                mes "But don't";
754                                mes "complain if";
755                                mes "these potions";
756                                mes "are sold out!";
757                                close;
758                                break;
759                }
760        }
761        if(tu_merchant == 6){
762                mes "Hello, hello~";
763                mes "Why don't you buy";
764                mes "some Red Potions?";
765                mes "They're essential for travel, and these Red Potions are the best for newer adventurers~";
766                next;
767                mes "[Sagle]";
768                mes "I will sell you 10 Red Potions for ^871F78390 zeny^000000. You'd better get them now while they're still here!";
769                next;
770                switch(select("Buy:Cancel")){
771                        case 1:
772                                mes "[Sagle]";
773                                mes "Excellent!";
774                                mes "You certainly have an eye for bargains. Here you go, 10 Red Potions fresh from the... Potioner...";
775                                if(Zeny < 390){
776                                        next;
777                                        mes "[Sagle]";
778                                        mes "Whoa, hold on!";
779                                        mes "You can't afford";
780                                        mes "these potions...";
781                                        mes "Please come back";
782                                        mes "when you have enough";
783                                        mes "Zeny, alright?";
784                                        close;
785                                }
786                                if(MaxWeight - Weight < 71){                   
787                                        next;
788                                        mes "[Sagle]";
789                                        mes "Whoa, hold on!";
790                                        mes "There's no way you carry all of this! Why don't you put some of your stuff in Kafra Storage before coming back?";
791                                        close;
792                                } else {
793                                        set Zeny, Zeny - 390;
794                                        set tu_merchant, 9;
795                                        getitem 501, 10;
796                                        close;
797                                }
798                                break;
799                        case 2:
800                                mes "[Sagle]";
801                                mes "Alright...";
802                                mes "But don't";
803                                mes "complain if";
804                                mes "these potions";
805                                mes "are sold out!";
806                                close;
807                                break;
808                }
809        }
810        mes "It's on the tip";
811        mes "of my tongue, but";
812        mes "I can't quite remember...";
813        next;
814        mes "[Sagle]";
815        mes "You know, the name of the company that has all those beautiful ladies working for it. Ka... Ka-something. Anyway, I hear they're concerned about their growing competition. ";
816        next;
817        mes "[Sagle]";
818        mes "It's none of my business, but it's good to know what's going on in";
819        mes "the world, particularly if it'll affect the markets.";
820        close;
821}
822
823//=================================================Kellion====================================================
824prontera,93,330,3       script  Kellion 97,{
825        mes "[Kellion]";
826        if(tu_merchant == 8){
827                mes "I'm selling sets of";
828                mes "10 Red Potions for 340 Zeny.";
829                mes "Would you like some?";
830                next;
831                switch(select("Buy:Cancel")){
832                case 1:
833                        mes "[Kellion]";
834                        mes "Good choice~";
835                        mes "Thank you for";
836                        mes "using my shop.";
837                        if(Zeny < 340){
838                                next;
839                                mes "[Kellion]";
840                                mes "Ooops!";
841                                mes "I'm sorry, but you don't have enough Zeny. I've got to stay in business somehow, you know?";
842                                close;
843                        }
844                        if(MaxWeight - Weight < 71){
845                                next;
846                                mes "[Kellion]";
847                                mes "...Huh?";
848                                mes "You better put some of your stuff in Kafra Storage, you can't carry much else!";
849                                close;
850                        } else {
851                                set Zeny, Zeny - 340;
852                                set tu_merchant, 10;
853                                getitem 569, 10;
854                                close;
855                        }
856                        break;
857                case 2:
858                        mes "[Kellion]";
859                        mes "Well, I'm sorry";
860                        mes "to hear that. But";
861                        mes "I guess I'll see";
862                        mes "you later.";
863                        close;
864                        break;
865                }
866        }
867        if(tu_merchant == 7){
868                mes "I'm selling sets of";
869                mes "10 Red Potions for 390 Zeny.";
870                mes "Would you like some?";
871                next;
872                switch(select("Buy:Cancel")){
873                case 1:
874                        mes "[Kellion]";
875                        mes "Good choice~";
876                        mes "Thank you for";
877                        mes "using my shop.";
878                        if(Zeny < 390){
879                                next;
880                                mes "[Kellion]";
881                                mes "Ooops!";
882                                mes "I'm sorry, but you don't have enough Zeny. I've got to stay in business somehow, you know?";
883                                close;
884                        }
885                        if(MaxWeight - Weight < 71){
886                                next;
887                                mes "[Kellion]";
888                                mes "...Huh?";
889                                mes "You better put some of your stuff in Kafra Storage, you can't carry much else!";
890                                close;
891                        } else {
892                                set Zeny, Zeny - 390;
893                                set tu_merchant, 9;
894                                getitem 501, 10;
895                                close;
896                        }
897                        break;
898                case 2:
899                        mes "[Kellion]";
900                        mes "Well, I'm sorry";
901                        mes "to hear that. But";
902                        mes "I guess I'll see";
903                        mes "you later.";
904                        close;
905                        break;
906                }
907        }
908        if(tu_merchant == 6){
909                mes "I'm selling sets of";
910                mes "10 Red Potions for 400 Zeny.";
911                mes "Would you like some?";
912                next;
913                switch(select("Buy:Cancel")){
914                case 1:
915                        mes "[Kellion]";
916                        mes "Good choice~";
917                        mes "Thank you for";
918                        mes "using my shop.";
919                        if(Zeny < 400){
920                                next;
921                                mes "[Kellion]";
922                                mes "Ooops!";
923                                mes "I'm sorry, but you don't have enough Zeny. I've got to stay in business somehow, you know?";
924                                close;
925                        }
926                        if(MaxWeight - Weight < 71){
927                                next;
928                                mes "[Kellion]";
929                                mes "...Huh?";
930                                mes "You better put some of your stuff in Kafra Storage, you can't carry much else!";
931                                close;
932                        } else {
933                                set Zeny, Zeny - 400;
934                                set tu_merchant, 10;
935                                getitem 501, 10;
936                                close;
937                        }
938                        break;
939                case 2:
940                        mes "[Kellion]";
941                        mes "Well, I'm sorry";
942                        mes "to hear that. But";
943                        mes "I guess I'll see";
944                        mes "you later.";
945                        close;
946                        break;
947                }
948        }
949        mes "Recently, I hear that something";
950        mes "has happened to the royal family.";
951        next;
952        mes "[Kellion]";
953        mes "It's probably not even a reliable rumor, but I've heard that members of the royal family have been dying from some unknown cause.";
954        next;
955        mes "[Kellion]";
956        mes "Huh.";
957        mes "Now that's some morbid news!";
958        mes "Well, hopefully, there's no truth to it whatsoever. None at all...";
959        close;
960}
961       
962//=================================================Aigie====================================================
963prt_in,169,11,3 script  Aigie   92,{
964        if(tu_merchant == 8){
965                mes "[Aigie]";
966                mes "Welcome to my shop.";
967                mes "I'm just a young girl who's a victim of circumstance, forced to sell potions on the street for dirt cheap prices.";
968                next;
969                mes "[Aigie]";
970                mes "Would you like";
971                mes "to buy 10 Red Potions";
972                mes "for 390 Zeny, kind adventurer?";
973                next;
974                switch(select("Buy:Cancel")){
975                case 1:
976                        mes "[Aigie]";
977                        mes "Thank you so much.";
978                        mes "Now I can finally";
979                        mes "afford food again...";
980                        if(Zeny < 390){
981                                next;
982                                mes "[Aigie]";
983                                mes "Wait, wait!";
984                                mes "I am sorry, but you don't have enough money. Would you please get some more Zeny before coming back?";
985                                close;
986                        }
987                        if(MaxWeight - Weight < 71){
988                                next;
989                                mes "[Aigie]";
990                                mes "Wait, wait!";
991                                mes "You can't possibly carry any more items. Why don't you put your things in Kafra Storage first?";
992                                close;
993                        } else {
994                                set Zeny, Zeny - 390;
995                                set tu_merchant, 9;
996                                getitem 501, 10;
997                                close;
998                        }
999                        break;
1000                case 2:
1001                        mes "[Aigie]";
1002                        mes "I understand.";
1003                        mes "But I hope you";
1004                        mes "see that I'm offering";
1005                        mes "you a really good price.";
1006                        mes "^666666*Sniff Sniff*^000000";
1007                        close;
1008                        break;
1009                }                                       
1010        }
1011        if(tu_merchant == 7){
1012                mes "[Aigie]";
1013                mes "Welcome to my shop.";
1014                mes "I'm just a young girl who's a victim of circumstance, forced to sell potions on the street for dirt cheap prices.";
1015                next;
1016                mes "[Aigie]";
1017                mes "Would you like";
1018                mes "to buy 10 Red Potions";
1019                mes "for 420 Zeny, kind adventurer?";
1020                next;
1021                switch(select("Buy:Cancel")){
1022                case 1:
1023                        mes "[Aigie]";
1024                        mes "Thank you so much.";
1025                        mes "Now I can finally";
1026                        mes "afford food again...";
1027                        if(Zeny < 420){
1028                                next;
1029                                mes "[Aigie]";
1030                                mes "Wait, wait!";
1031                                mes "I am sorry, but you don't have enough money. Would you please get some more Zeny before coming back?";
1032                                close;
1033                        }
1034                        if(MaxWeight - Weight < 71){
1035                                next;
1036                                mes "[Aigie]";
1037                                mes "Wait, wait!";
1038                                mes "You can't possibly carry any more items. Why don't you put your things in Kafra Storage first?";
1039                                close;
1040                        } else {
1041                                set Zeny, Zeny - 420;
1042                                set tu_merchant, 10;
1043                                getitem 501, 10;
1044                                close;
1045                        }
1046                        break;
1047                case 2:
1048                        mes "[Aigie]";
1049                        mes "I understand.";
1050                        mes "But I hope you";
1051                        mes "see that I'm offering";
1052                        mes "you a really good price.";
1053                        mes "^666666*Sniff Sniff*^000000";
1054                        close;
1055                        break;
1056                }                                       
1057        }
1058        if(tu_merchant == 6){
1059                mes "[Aigie]";
1060                mes "Welcome to my shop.";
1061                mes "I'm just a young girl who's a victim of circumstance, forced to sell potions on the street for dirt cheap prices.";
1062                next;
1063                mes "[Aigie]";
1064                mes "Would you like";
1065                mes "to buy 10 Red Potions";
1066                mes "for 340 Zeny, kind adventurer?";
1067                next;
1068                switch(select("Buy:Cancel")){
1069                case 1:
1070                        mes "[Aigie]";
1071                        mes "Thank you so much.";
1072                        mes "Now I can finally";
1073                        mes "afford food again...";
1074                        if(Zeny < 340){
1075                                next;
1076                                mes "[Aigie]";
1077                                mes "Wait, wait!";
1078                                mes "I am sorry, but you don't have enough money. Would you please get some more Zeny before coming back?";
1079                                close;
1080                        }
1081                        if(MaxWeight - Weight < 71){
1082                                next;
1083                                mes "[Aigie]";
1084                                mes "Wait, wait!";
1085                                mes "You can't possibly carry any more items. Why don't you put your things in Kafra Storage first?";
1086                                close;
1087                        } else {
1088                                set Zeny, Zeny - 340;
1089                                set tu_merchant, 10;
1090                                getitem 569, 10;
1091                                close;
1092                        }
1093                        break;
1094                case 2:
1095                        mes "[Aigie]";
1096                        mes "I understand.";
1097                        mes "But I hope you";
1098                        mes "see that I'm offering";
1099                        mes "you a really good price.";
1100                        mes "^666666*Sniff Sniff*^000000";
1101                        close;
1102                        break;
1103                }
1104        }
1105        mes "[Aigie]";
1106        mes "It's true that money isn't everything. I'm sure other things are important to have in order to be happy.";
1107        next;
1108        mes "[Aigie]";
1109        mes "However, money can be much more dependable than some people I know. You can rely on money more than anything else in this world.";
1110        close;
1111}
1112       
1113//=================================================Jayon====================================================
1114prontera,247,129,3      script  Jayon   85,{
1115        if(tu_merchant == 8){
1116                mes "[Jayon]";
1117                mes "If you've checked out the market for Red Potions, you know that my price is the best. I'm offering 10 Red Potions for only 410 Zeny!";
1118                next;
1119                switch(select("Buy:Cancel")){
1120                case 1:
1121                        mes "[Jayon]";
1122                        mes "Heh heh...!";
1123                        mes "It looks like";
1124                        mes "you know your";
1125                        mes "stuff. You're a";
1126                        mes "Merchant yourself,";
1127                        mes "aren't you?";
1128                        if(Zeny < 410){
1129                                next;
1130                                mes "[Jayon]";
1131                                mes "But sorry buddy.";
1132                                mes "Rules are rules.";
1133                                mes "You gotta meet my price";
1134                                mes "if you want these potions.";
1135                                close;
1136                        }
1137                        if(MaxWeight - Weight < 71){
1138                                next;
1139                                mes "[Jayon]";
1140                                mes "But sorry buddy. I can't let you carry more than you can handle.";
1141                                mes "You ought to free up some of your inventory space when you get the chance.";
1142                                close;
1143                        } else {
1144                                set Zeny, Zeny - 410;
1145                                set tu_merchant, 10;
1146                                getitem 501, 10;
1147                                close;
1148                        }
1149                        break;
1150                case 2:
1151                        mes "[Jayon]";
1152                        mes "Just looking";
1153                        mes "around, eh?";
1154                        mes "I understand.";
1155                        mes "But you better take";
1156                        mes "advantage of a real";
1157                        mes "deal when you see one!";
1158                        close;
1159                        break;
1160                }
1161        }
1162
1163        if(tu_merchant == 7){
1164                mes "[Jayon]";
1165                mes "If you've checked out the market for Red Potions, you know that my price is the best. I'm offering 10 Red Potions for only 400 Zeny!";
1166                next;
1167                switch(select("Buy:Cancel")){
1168                case 1:
1169                        mes "[Jayon]";
1170                        mes "Heh heh...!";
1171                        mes "It looks like";
1172                        mes "you know your";
1173                        mes "stuff. You're a";
1174                        mes "Merchant yourself,";
1175                        mes "aren't you?";
1176                        if(Zeny < 400){
1177                                next;
1178                                mes "[Jayon]";
1179                                mes "But sorry buddy.";
1180                                mes "Rules are rules.";
1181                                mes "You gotta meet my price";
1182                                mes "if you want these potions.";
1183                                close;
1184                        }
1185                        if(MaxWeight - Weight < 71){
1186                                next;
1187                                mes "[Jayon]";
1188                                mes "But sorry buddy. I can't let you carry more than you can handle.";
1189                                mes "You ought to free up some of your inventory space when you get the chance.";
1190                                close;
1191                        } else {
1192                                set Zeny, Zeny - 400;
1193                                set tu_merchant, 10;
1194                                getitem 501, 10;
1195                                close;
1196                        }
1197                        break;
1198                case 2:
1199                        mes "[Jayon]";
1200                        mes "Just looking";
1201                        mes "around, eh?";
1202                        mes "I understand.";
1203                        mes "But you better take";
1204                        mes "advantage of a real";
1205                        mes "deal when you see one!";
1206                        close2;
1207                        end;
1208                        break;
1209                }
1210        }
1211
1212        if(tu_merchant == 6){
1213                mes "[Jayon]";
1214                mes "If you've checked out the market for Red Potions, you know that my price is the best. I'm offering 10 Red Potions for only 410 Zeny!";
1215                next;
1216                switch(select("Buy:Cancel")){
1217                case 1:
1218                        mes "[Jayon]";
1219                        mes "Heh heh...!";
1220                        mes "It looks like";
1221                        mes "you know your";
1222                        mes "stuff. You're a";
1223                        mes "Merchant yourself,";
1224                        mes "aren't you?";
1225                        if(Zeny < 410){
1226                                next;
1227                                mes "[Jayon]";
1228                                mes "But sorry buddy.";
1229                                mes "Rules are rules.";
1230                                mes "You gotta meet my price";
1231                                mes "if you want these potions.";
1232                                close;
1233                        }
1234                        if(MaxWeight - Weight < 71){
1235                                next;
1236                                mes "[Jayon]";
1237                                mes "But sorry buddy. I can't let you carry more than you can handle.";
1238                                mes "You ought to free up some of your inventory space when you get the chance.";
1239                                close;
1240                        } else {
1241                                set Zeny, Zeny - 410;
1242                                set tu_merchant, 10;
1243                                getitem 501, 10;
1244                                close;
1245                        }
1246                        break;
1247                case 2:
1248                        mes "[Jayon]";
1249                        mes "Just looking";
1250                        mes "around, eh?";
1251                        mes "I understand.";
1252                        mes "But you better take";
1253                        mes "advantage of a real";
1254                        mes "deal when you see one!";
1255                        close;
1256                        break;
1257                }
1258        }
1259
1260        mes "[Jayon]";
1261        mes "The Schwarzwald Republic...";
1262        mes "It's a really interesting country. There's Juno and a few other places worth looking around. ";
1263        next;
1264        mes "[Jayon]";
1265        mes "They may not be the best places";
1266        mes "for sight seeing, but I'm sure they'll offer something of interest to you adventurers.";
1267        close;
1268}
1269
1270//=================================================Maos====================================================
1271prt_in,251,129,3        script  Maos    709,{
1272        if(tu_merchant == 8){
1273                mes "[Maos]";
1274                mes "Don't say anything.";
1275                mes "I know what you want.";
1276                mes "10 Red Potions, right?";
1277                mes "I'll sell them to you";
1278                mes "for the low price of 420 Zeny~";
1279                next;
1280                switch(select("Buy:Cancel")){
1281                case 1:
1282                        mes "[Maos]";
1283                        mes "Excellent choice!";
1284                        mes "Good products at affordable prices! That's my ethic as a merchant.";
1285                        if(Zeny < 420){
1286                                next;
1287                                mes "[Maos]";
1288                                mes "Ooh, but you don't even have enough Zeny to purchase these potions. I'm sorry, but I can't sell these just to lose money, you know?";
1289                                close;
1290                        }
1291                        if(MaxWeight - Weight < 71){
1292                                next;
1293                                mes "[Maos]";
1294                                mes "Ooh, but it doesn't look like you've got enough inventory space to carry any more items.";
1295                                close;
1296                        } else {
1297                                set Zeny, Zeny - 420;
1298                                set tu_merchant, 10;
1299                                getitem 501, 10;
1300                                close;
1301                        }
1302                        break;
1303                case 2:
1304                        mes "[Maos]";
1305                        mes "Well, I can't force you to buy these, but I'm telling you that you're passing up a real bargain!";
1306                        close;
1307                        break;
1308                }
1309        }
1310        if(tu_merchant == 7){
1311                mes "[Maos]";
1312                mes "Don't say anything.";
1313                mes "I know what you want.";
1314                mes "10 Red Potions, right?";
1315                mes "I'll sell them to you";
1316                mes "for the low price of 340 Zeny~";
1317                next;
1318                switch(select("Buy:Cancel")){
1319                case 1:
1320                        mes "[Maos]";
1321                        mes "Excellent choice!";
1322                        mes "Good products at affordable prices! That's my ethic as a merchant.";
1323                        if(Zeny < 340){
1324                                next;
1325                                mes "[Maos]";
1326                                mes "Ooh, but you don't even have enough Zeny to purchase these potions. I'm sorry, but I can't sell these just to lose money, you know?";
1327                                close;
1328                        }
1329                        if(MaxWeight - Weight < 71){
1330                                mes "[Maos]";
1331                                mes "Ooh, but it doesn't look like you've got enough inventory space to carry any more items.";
1332                                close;
1333                        } else {
1334                                set Zeny, Zeny - 340;
1335                                set tu_merchant, 10;
1336                                getitem 501, 10;
1337                                close;
1338                        }
1339                        break;
1340                case 2:
1341                        mes "[Maos]";
1342                        mes "Well, I can't force you to buy these, but I'm telling you that you're passing up a real bargain!";
1343                        close;
1344                        break;
1345                }
1346        }
1347        if(tu_merchant == 6){
1348                mes "[Maos]";
1349                mes "Don't say anything.";
1350                mes "I know what you want.";
1351                mes "10 Red Potions, right?";
1352                mes "I'll sell them to you";
1353                mes "for the low price of 400 Zeny~";
1354                next;
1355                switch(select("Buy:Cancel")){
1356                case 1:
1357                        mes "[Maos]";
1358                        mes "Excellent choice!";
1359                        mes "Good products at affordable prices! That's my ethic as a merchant.";
1360                        if(Zeny < 400){
1361                                next;
1362                                mes "[Maos]";
1363                                mes "Ooh, but you don't even have enough Zeny to purchase these potions. I'm sorry, but I can't sell these just to lose money, you know?";
1364                                close;
1365                        }
1366                        if(MaxWeight - Weight < 71){
1367                                mes "[Maos]";
1368                                mes "Ooh, but it doesn't look like you've got enough inventory space to carry any more items.";
1369                                close;
1370                        } else {
1371                                set Zeny, Zeny - 400;
1372                                set tu_merchant, 10;
1373                                getitem 501, 10;
1374                                close;
1375                        }
1376                        break;
1377                case 2:
1378                        mes "[Maos]";
1379                        mes "Well, I can't force you to buy these, but I'm telling you that you're passing up a real bargain!";
1380                        close;
1381                        break;
1382                }
1383        }
1384        mes "[Maos]";
1385        mes "I see too many people struggling to scrape every penny and put it all into their savings...";
1386        next;
1387        mes "[Maos]";
1388        mes "Now, don't get me wrong. It's a good idea to invest in the future. But money exists to be spent! Enjoy every moment, that's what I say~";
1389        next;
1390        mes "[Maos]";
1391        mes "Besides...";
1392        mes "You can't take";
1393        mes "your money with you";
1394        mes "when your time's up,";
1395        mes "you know?";
1396        close;
1397}
Note: See TracBrowser for help on using the browser.