From b7a88442cefed36b81f80139310061fed10527e1 Mon Sep 17 00:00:00 2001 From: masao87 Date: Sat, 4 Aug 2012 21:45:50 +0000 Subject: - Here comes the big Job folder Update. * Updated all 1-1, 2-1, 2-2 and the expanded files to the latest available official files and also added support for baby job change. * There might be some optimizations still needed at some places and there maybe occur some errors as well or the job change isn't fully working anymore since I didn't test all the jobs through the end (Me = Lazy), if so then please fill out a bug report in our bug tracker: http://rathena.org/board/tracker/project-4-scripts/ * Ninja, Gunslinger and the other files will follow within the next days. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16579 54d463be-8e91-2dee-dedb-b68131a5f0ec --- npc/jobs/2-2/alchemist.txt | 1563 +++++++++++++++++++++++++++++--------------- 1 file changed, 1051 insertions(+), 512 deletions(-) (limited to 'npc/jobs/2-2/alchemist.txt') diff --git a/npc/jobs/2-2/alchemist.txt b/npc/jobs/2-2/alchemist.txt index fd0f077f5..f4af70e25 100644 --- a/npc/jobs/2-2/alchemist.txt +++ b/npc/jobs/2-2/alchemist.txt @@ -1,27 +1,22 @@ //===== rAthena Script ======================================= -//= Alchemist Job Quest -//===== By: ================================================== -//= nestor_zulueta (Fusion), converted by Darkchild +// Alchemist Job change Quest +//===== By: ================================================== +//= Masao +//= Credits: Muad_Dib //===== Current Version: ===================================== -//= 3.0 +//= 1.0 //===== Compatible With: ===================================== -//= rAthena SVN +//= Any rAthena SVN //===== Description: ========================================= -//= [Aegis Conversion] -//= Job quest for Alchemist classes +//= [Translated from the Official] +//= Job change Quest from Merchant -> Alchemist. //===== Additional Comments: ================================= -//= 2.5 Rescripted to Aegis 10.3 stadards. [L0ne_W0lf] -//= No longer uses function "F_BlockHigh" -//= 2.6 Corrected a bug in advanced class checking. [L0ne_W0lf] -//= 2.7 Added missing checkweights. [L0ne_W0lf] -//= 2.8 Fixed minor typo in test section. [L0ne_W0lf] -//= 2.9 Added Quest Log commands. [Kisuka] -//= 3.0 Removed the need for use of 'goto.' [L0ne_W0lf] +//= 1.0 Updated to latest available official file. [Masao] //============================================================ -alde_alche,27,185,5 script Alchemist Guildsman#am 744,{ - mes "[Parmy Gianino]"; +alde_alche,27,185,5 script Alchemist Guildsman 744,{ if (Upper == 1) { + mes "[Parmy Gianino]"; mes "Welcome to the"; mes "Alchemist Unio--"; mes "I-Impossible! How c-can"; @@ -36,8 +31,9 @@ alde_alche,27,185,5 script Alchemist Guildsman#am 744,{ mes "feeling about you..."; close; } - if (BaseJob != Job_Merchant) { - if (BaseJob == Job_Alchemist) { + if ((Class != Job_Baby_Merchant) && (Class != Job_Merchant)) { + if (Class == Job_Baby_Alchemist || Class == Job_Alchemist) { + mes "[Parmy Gianino]"; mes "Welcome, " + strcharinfo(0) + "."; mes "The Alchemist Union"; mes "is busy today, like always."; @@ -50,7 +46,8 @@ alde_alche,27,185,5 script Alchemist Guildsman#am 744,{ mes "Everyone is hoping that the biotechnological studies will yield positive results. Speaking of which, I wonder how the Alchemists working on artificial life are doing..."; close; } - else if (BaseClass == Job_Novice) { + if (Class == Job_Baby || Class == Job_Novice) { + mes "[Parmy Gianino]"; mes "Welcome to the"; mes "Alchemist Union."; mes "We are recruiting"; @@ -67,6 +64,7 @@ alde_alche,27,185,5 script Alchemist Guildsman#am 744,{ mes "as a Merchant first."; close; } + mes "[Parmy Gianino]"; mes "Welcome to the"; mes "Alchemist Union."; mes "We are recruiting"; @@ -78,11 +76,12 @@ alde_alche,27,185,5 script Alchemist Guildsman#am 744,{ close; } if (ALCH_Q == 0) { + mes "[Parmy Gianino]"; mes "Welcome to the"; mes "Alchemist Union."; mes "How may I help you?"; next; - switch(select("I would like to learn about Alchemists.:I want to become an Alchemist.:Nothing.")) { + switch (select("I would like to learn about Alchemists.:I want to become an Alchemist.:Nothing.")) { case 1: mes "[Parmy Gianino]"; mes "Alchemists study and create new substances and items out of existing materials. Our knowledge allows us to change the properties of chemicals at the atomic level."; @@ -165,7 +164,7 @@ alde_alche,27,185,5 script Alchemist Guildsman#am 744,{ mes "Please sign"; mes "the application."; next; - select(strcharinfo(0)); + menu "",-; mes "[Parmy Gianino]"; mes "Good, good. Now, if you have"; mes "the Zeny for your application fee ready, I will tell you which items you will need to bring. Now, pay attention."; @@ -177,23 +176,21 @@ alde_alche,27,185,5 script Alchemist Guildsman#am 744,{ mes "Come back to me when you have 50,000 Zeny, otherwise we can't process your application."; close; } - set zeny,zeny-50000; + set Zeny, Zeny - 50000; mes "[Parmy Gianino]"; mes "Let's see."; - mes "" + strcharinfo(0); + mes "" + strcharinfo(0) + ""; mes "needs to bring..."; - switch(rand(1,3)) { - case 1: + set .@alche_m1, rand(1,3); + if (.@alche_m1 == 1) { set ALCH_Q,1; setquest 2028; mes "^551A8B7 Berserk Potions^000000."; - break; - case 2: set ALCH_Q,2; setquest 2029; mes "^551A8B100 Mini Furnaces^000000."; - break; - case 3: + } + else { set ALCH_Q,3; setquest 2030; mes "^551A8B7,500 Fire Arrows^000000."; @@ -220,8 +217,9 @@ alde_alche,27,185,5 script Alchemist Guildsman#am 744,{ close; } } - else if (ALCH_Q >= 1 && ALCH_Q <= 3) { - if (countitem(1006) > 0 && countitem(1005) > 0) { + if (ALCH_Q == 1) { + if ((countitem(1006) > 0) && (countitem(1005) > 0)) { + mes "[Parmy Gianino]"; mes "Well now~!"; mes "You've brought an"; mes "Old Magic Book and"; @@ -235,15 +233,7 @@ alde_alche,27,185,5 script Alchemist Guildsman#am 744,{ mes "Okay, now you need to learn"; mes "the basics to being an Alchemist and learn the procedures for mixing chemicals and medicines."; set ALCH_Q,4; - if(checkquest(2028) != -1) { - changequest 2028,2031; - } - else if(checkquest(2029) != -1) { - changequest 2029,2031; - } - else { - changequest 2030,2031; - } + changequest 2028,2031; next; mes "[Parmy Gianino]"; mes "But before all of that, you need to speak to Raspuchin. I'm not really sure what you'll be talking about with him..."; @@ -252,31 +242,77 @@ alde_alche,27,185,5 script Alchemist Guildsman#am 744,{ mes "It shouldn't be anything extraordinary, but you're still required to speak to Raspuchin, since apparently he's a part of the Alchemist selection process."; close; } - switch(ALCH_Q) { - case 1: setarray .@items[0],657,7; break; - case 2: setarray .@items[0],612,100; break; - case 3: setarray .@items[0],1752,7500; break; + if (countitem(657) > 6) { + mes "[Parmy Gianino]"; + mes "Seems like"; + mes "you're all ready."; + mes "The Union will put"; + mes "these items to good use."; + next; + delitem 657,7; //Berserk_Potion + mes "[Parmy Gianino]"; + mes "Okay, now you need to learn"; + mes "the basics to being an Alchemist and learn the procedures for mixing chemicals and medicines."; + set ALCH_Q,4; + changequest 2028,2031; + next; + mes "[Parmy Gianino]"; + mes "But before all of that, you need to speak to Raspuchin. I'm not really sure what you'll be talking about with him..."; + next; + mes "[Parmy Gianino]"; + mes "It shouldn't be anything extraordinary, but you're still required to speak to Raspuchin, since apparently he's a part of the Alchemist selection process."; + close; } - if (countitem(.@items[0]) >= .@items[1]) { + mes "[Parmy Gianino]"; + mes "Aren't you ready?"; + mes "Like I said before,"; + mes "you must bring"; + mes "^551A8B7 Berserk Potions^000000."; + next; + mes "[Parmy Gianino]"; + mes "Come back when you"; + mes "have prepared the"; + mes "required items."; + close; + } + if (ALCH_Q == 2) { + if ((countitem(1006) > 0) && (countitem(1005) > 0)) { + mes "[Parmy Gianino]"; + mes "Well now~!"; + mes "You've brought an"; + mes "Old Magic Book and"; + mes "a Hammer of Blacksmith."; + mes "We'll put these items"; + mes "to good use."; + next; + delitem 1006,1; //Old_Magic_Book + delitem 1005,1; //Hammer_Of_Blacksmith + mes "[Parmy Gianino]"; + mes "Okay, now you need to learn"; + mes "the basics to being an Alchemist and learn the procedures for mixing chemicals and medicines."; + set ALCH_Q,4; + changequest 2029,2031; + next; + mes "[Parmy Gianino]"; + mes "But before all of that, you need to speak to Raspuchin. I'm not really sure what you'll be talking about with him..."; + next; + mes "[Parmy Gianino]"; + mes "It shouldn't be anything extraordinary, but you're still required to speak to Raspuchin, since apparently he's a part of the Alchemist selection process."; + close; + } + if (countitem(612) > 99) { + mes "[Parmy Gianino]"; mes "Seems like"; mes "you're all ready."; mes "The Union will put"; mes "these items to good use."; next; - delitem .@items[0],.@items[1]; + delitem 612,100; //Portable_Furnace mes "[Parmy Gianino]"; mes "Okay, now you need to learn"; mes "the basics to being an Alchemist and learn the procedures for mixing chemicals and medicines."; set ALCH_Q,4; - if(checkquest(2028) != -1) { - changequest 2028,2031; - } - else if(checkquest(2029) != -1) { - changequest 2029,2031; - } - else { - changequest 2030,2031; - } + changequest 2029,2031; next; mes "[Parmy Gianino]"; mes "But before all of that, you need to speak to Raspuchin. I'm not really sure what you'll be talking about with him..."; @@ -285,10 +321,11 @@ alde_alche,27,185,5 script Alchemist Guildsman#am 744,{ mes "It shouldn't be anything extraordinary, but you're still required to speak to Raspuchin, since apparently he's a part of the Alchemist selection process."; close; } + mes "[Parmy Gianino]"; mes "Aren't you ready?"; mes "Like I said before,"; mes "you must bring"; - mes "^551A8B"+.@items[1]+" "+getitemname(.@items[0])+"s^000000."; + mes "^551A8B100 Mini Furnaces^000000."; next; mes "[Parmy Gianino]"; mes "Come back when you"; @@ -296,7 +333,66 @@ alde_alche,27,185,5 script Alchemist Guildsman#am 744,{ mes "required items."; close; } - else if (ALCH_Q == 4) { + if (ALCH_Q == 3) { + if ((countitem(1006) > 0) && (countitem(1005) > 0)) { + mes "[Parmy Gianino]"; + mes "Well now~!"; + mes "You've brought an"; + mes "Old Magic Book and"; + mes "a Hammer of Blacksmith."; + mes "We'll put these items"; + mes "to good use."; + next; + delitem 1006,1; //Old_Magic_Book + delitem 1005,1; //Hammer_Of_Blacksmith + mes "[Parmy Gianino]"; + mes "Okay, now you need to learn"; + mes "the basics to being an Alchemist and learn the procedures for mixing chemicals and medicines."; + set ALCH_Q,4; + changequest 2030,2031; + next; + mes "[Parmy Gianino]"; + mes "But before all of that, you need to speak to Raspuchin. I'm not really sure what you'll be talking about with him..."; + next; + mes "[Parmy Gianino]"; + mes "It shouldn't be anything extraordinary, but you're still required to speak to Raspuchin, since apparently he's a part of the Alchemist selection process."; + close; + } + if (countitem(1752) > 7499) { + mes "[Parmy Gianino]"; + mes "Seems like"; + mes "you're all ready."; + mes "The Union will put"; + mes "these items to good use."; + next; + delitem 1752,7500; //Fire_Arrow + mes "[Parmy Gianino]"; + mes "Okay, now you need to learn"; + mes "the basics to being an Alchemist and learn the procedures for mixing chemicals and medicines."; + set ALCH_Q,4; + changequest 2030,2031; + next; + mes "[Parmy Gianino]"; + mes "But before all of that, you need to speak to Raspuchin. I'm not really sure what you'll be talking about with him..."; + next; + mes "[Parmy Gianino]"; + mes "It shouldn't be anything extraordinary, but you're still required to speak to Raspuchin, since apparently he's a part of the Alchemist selection process."; + close; + } + mes "[Parmy Gianino]"; + mes "Aren't you ready?"; + mes "Like I said before,"; + mes "you must bring"; + mes "^551A8B7500 Fire Arrows^000000."; + next; + mes "[Parmy Gianino]"; + mes "Come back when you"; + mes "have prepared the"; + mes "required items."; + close; + } + if (ALCH_Q == 4) { + mes "[Parmy Gianino]"; mes "Go and talk to"; mes "Mr. Raspuchin."; mes "He's involved in the"; @@ -309,23 +405,22 @@ alde_alche,27,185,5 script Alchemist Guildsman#am 744,{ mes "some simple questions."; close; } - else { - mes "Ah, I'm sorry, but"; - mes "I'm busy right now~"; - next; - mes "[Parmy Gianino]"; - mes "Why don't you ask"; - mes "someone else if you're"; - mes "not sure who to visit"; - mes "next? Good luck~"; - close; - } + mes "[Parmy Gianino]"; + mes "Ah, I'm sorry, but"; + mes "I'm busy right now~"; + next; + mes "[Parmy Gianino]"; + mes "Why don't you ask"; + mes "someone else if you're"; + mes "not sure who to visit"; + mes "next? Good luck~"; + close; } -alde_alche,175,107,3 script Fastidious Alchemist#am 749,{ - mes "[Raspuchin Gregory]"; - if (BaseJob != Job_Merchant) { - if (BaseJob == Job_Alchemist) { +alde_alche,175,107,3 script Fastidious Alchemist 749,{ + if ((Class != Job_Baby_Merchant) && (Class != Job_Merchant)) { + if (Class == Job_Baby_Alchemist || Class == Job_Alchemist) { + mes "[Raspuchin Gregory]"; mes "Heeheehee"; mes "keheheh~!"; mes "Eh? What do you want?!"; @@ -342,7 +437,8 @@ alde_alche,175,107,3 script Fastidious Alchemist#am 749,{ mes "Alchemist Union!"; close; } - else if (BaseClass == Job_Novice) { + if (Class == Job_Baby || Class == Job_Novice) { + mes "[Raspuchin Gregory]"; mes "Heeheehee"; mes "keheheh~!"; mes "How cute, you've come"; @@ -355,34 +451,34 @@ alde_alche,175,107,3 script Fastidious Alchemist#am 749,{ mes "expect to leave so easily..."; close; } - else { - mes "What is it?!"; - mes "You're curious as"; - mes "to what I'm doing?"; - next; - mes "[Raspuchin Gregory]"; - mes "Heehee"; - mes "keheheh~!"; - mes "Why, I'm busy"; - mes "researching,"; - mes "of course!"; - next; - mes "[Raspuchin Gregory]"; - mes "Once this"; - mes "potion is complete..."; - mes "You can use it to take"; - mes "over an entire nation!"; - next; - mes "[Raspuchin Gregory]"; - mes "Hee hee hee!"; - mes "Something this"; - mes "dangerous has to"; - mes "be kept a secret!"; - mes "Understand?"; - close; - } + mes "[Raspuchin Gregory]"; + mes "What is it?!"; + mes "You're curious as"; + mes "to what I'm doing?"; + next; + mes "[Raspuchin Gregory]"; + mes "Heehee"; + mes "keheheh~!"; + mes "Why, I'm busy"; + mes "researching,"; + mes "of course!"; + next; + mes "[Raspuchin Gregory]"; + mes "Once this"; + mes "potion is complete..."; + mes "You can use it to take"; + mes "over an entire nation!"; + next; + mes "[Raspuchin Gregory]"; + mes "Hee hee hee!"; + mes "Something this"; + mes "dangerous has to"; + mes "be kept a secret!"; + mes "Understand?"; + close; } if (ALCH_Q == 0) { + mes "[Raspuchin Gregory]"; mes "Heeheehee"; mes "keheheh~!"; mes "What do you"; @@ -398,7 +494,8 @@ alde_alche,175,107,3 script Fastidious Alchemist#am 749,{ mes "dark enterprise!"; close; } - else if (ALCH_Q >= 1 && ALCH_Q <= 3) { + if ((ALCH_Q == 1) || (ALCH_Q == 2) || (ALCH_Q == 3)) { + mes "[Raspuchin Gregory]"; mes "Heeheehee"; mes "keheheh~!"; mes "What do you"; @@ -414,133 +511,469 @@ alde_alche,175,107,3 script Fastidious Alchemist#am 749,{ mes "Even if you tried studying for a thousand years, maybe even more, it'd be useless to you! Forget about it and just worry about your store!"; close; } - else if ((ALCH_Q == 4) || (ALCH_Q == 5)) { - if (ALCH_Q == 4) { - mes "Heeheehee"; - mes "keheheh~!"; - mes "What do you"; - mes "want, kid?"; + if (ALCH_Q == 4) { + mes "[Raspuchin Gregory]"; + mes "Heeheehee"; + mes "keheheh~!"; + mes "What do you"; + mes "want, kid?"; + next; + mes "[Raspuchin Gregory]"; + mes "What...?"; + mes "Join the Union!?"; + mes "I don't like it..."; + mes "I just don't...!"; + next; + mes "[Raspuchin Gregory]"; + mes "Nowadays, anyone thinks they can"; + mes "be Alchemists just by knowing how to mix a few herbs. That's why my interview is necessary."; + next; + mes "[Raspuchin Gregory]"; + mes "Heeheehee"; + mes "keheheh~!"; + mes "I plan on weeding out all the dumb and incompetent, and chase them"; + mes "all away! We don't need morons!"; + next; + if (JobLevel == 50) { + mes "[Raspuchin Gregory]"; + mes "Wait..."; + mes "Maybe I've"; + mes "misjudged you."; + if (Sex == 1) { + mes "You might be a pretty boy,"; + mes "but I can tell you're smart"; + mes "from your eyes."; + } + else { + mes "Huh. You're a cutie alright,"; + mes "but I can tell you've got brains."; + } next; mes "[Raspuchin Gregory]"; - mes "What...?"; - mes "Join the Union!?"; - mes "I don't like it..."; - mes "I just don't...!"; + mes "You're not just some stupid kid."; + mes "I can tell youve gone through some rough times as a Merchant. Excellent. Keh heh heh~"; next; mes "[Raspuchin Gregory]"; - mes "Nowadays, anyone thinks they can"; - mes "be Alchemists just by knowing how to mix a few herbs. That's why my interview is necessary."; + mes "Fine, just so we don't insult each other's intelligence, I'll just let you pass the interview."; next; mes "[Raspuchin Gregory]"; - mes "Heeheehee"; - mes "keheheh~!"; - mes "I plan on weeding out all the dumb and incompetent, and chase them"; - mes "all away! We don't need morons!"; - next; - if (JobLevel == 50) { - mes "[Raspuchin Gregory]"; - mes "Wait..."; - mes "Maybe I've"; - mes "misjudged you."; - if (sex == 1) { - mes "You might be a pretty boy,"; - mes "but I can tell you're smart"; - mes "from your eyes."; - } - else { - mes "Huh. You're a cutie alright,"; - mes "but I can tell you've got brains."; - } - next; - mes "[Raspuchin Gregory]"; - mes "You're not just some stupid kid."; - mes "I can tell youve gone through some rough times as a Merchant. Excellent. Keh heh heh~"; - next; - mes "[Raspuchin Gregory]"; - mes "Fine, just so we don't insult each other's intelligence, I'll just let you pass the interview."; - next; - mes "[Raspuchin Gregory]"; - mes "So hurry up, become an Alchemist, do some good research, and you might turn out to be of some help to me. Hahahahahaha~!"; - next; - mes "[Raspuchin Gregory]"; - mes "Now go to Darwin!"; - mes "He'll teach you how to do the experiments. Just tell him that"; - mes "I sent you."; - set ALCH_Q,6; - close; + mes "So hurry up, become an Alchemist, do some good research, and you might turn out to be of some help to me. Hahahahahaha~!"; + next; + mes "[Raspuchin Gregory]"; + mes "Now go to Darwin!"; + mes "He'll teach you how to do the experiments. Just tell him that"; + mes "I sent you."; + set ALCH_Q,6; + changequest 2031,2032; + close; + } + mes "[Raspuchin Gregory]"; + mes "Surprised, are you?"; + mes "Keheheh~ If you thought"; + mes "becoming an Alchemist was"; + mes "just a matter of changing"; + mes "your clothes, then you're"; + mes "sadly mistaken."; + next; + mes "[Raspuchin Gregory]"; + mes "Now, try solving"; + mes "all these problems."; + mes "Let's see how smart"; + mes "really are."; + next; + set .@alche_s, rand(1,3); + set @w_point,0; + if (.@alche_s == 1) { + mes "[Raspuchin Gregory]"; + mes "12 + 23 + 34 + 45 = ?"; + next; + input .@input; + if (.@input != 114) { + set @w_point,@w_point + 1; } - else { - mes "[Raspuchin Gregory]"; - mes "Surprised, are you?"; - mes "Keheheh~ If you thought"; - mes "becoming an Alchemist was"; - mes "just a matter of changing"; - mes "your clothes, then you're"; - mes "sadly mistaken."; - next; - mes "[Raspuchin Gregory]"; - mes "Now, try solving"; - mes "all these problems."; - mes "Let's see how smart"; - mes "really are."; + mes "[Raspuchin Gregory]"; + mes "1000 - 36 - 227 - 348 = ?"; + next; + input .@input; + if (.@input != 389) { + set @w_point,@w_point + 1; + } + mes "[Raspuchin Gregory]"; + mes "14 * 17 * 3 = ?"; + next; + input .@input; + if (.@input != 714) { + set @w_point,@w_point + 1; + } + mes "[Raspuchin Gregory]"; + mes "9765 / 3 / 5 / 7 = ?"; + next; + input .@input; + if (.@input != 93) { + set @w_point,@w_point + 1; + } + mes "[Raspuchin Gregory]"; + mes "(47 * 28) - (1376 / 4) = ?"; + next; + input .@input; + if (.@input != 972) { + set @w_point,@w_point + 1; + } + mes "[Raspuchin Gregory]"; + mes "(2646 / 7) + (13 * 28) = ?"; + next; + input .@input; + if (.@input != 742) { + set @w_point,@w_point + 1; + } + mes "[Raspuchin Gregory]"; + mes "How much do"; + mes "12 Red Potions,"; + mes "1 Butterfly Wing"; + mes "and 5 Fly Wings cost"; + mes "after a 24 % discount?"; + next; + input .@input; + if (.@input != 909) { + set @w_point,@w_point + 1; + } + mes "[Raspuchin Gregory]"; + mes "What is the"; + mes "total weight of"; + mes "3 Scimiters, 2 Helms"; + mes "and 1 Long Coat?"; + next; + input .@input; + if (.@input != 450) { + set @w_point,@w_point + 1; + } + mes "[Raspuchin Gregory]"; + mes "What is the"; + mes "total defense of"; + mes "a Biretta, Mantle,"; + mes "Opera Mask, Ribbon,"; + mes "Muffler, Boots, and"; + mes "Ear Muffs?"; + next; + input .@input; + if (.@input != 20) { + set @w_point,@w_point + 1; + } + mes "[Raspuchin Gregory]"; + mes "If you buy 5 Helms"; + mes "with a 24 % discount"; + mes "and sell it at 20 %,"; + mes "how much profit"; + mes "do you earn?"; + next; + input .@input; + if (.@input != 8800) { + set @w_point,@w_point + 1; + } + } + if (.@alche_s == 2) { + mes "[Raspuchin Gregory]"; + mes "13 + 25 + 37 + 48 = ?"; + next; + input .@input; + if (.@input != 123) { + set @w_point,@w_point + 1; + } + mes "[Raspuchin Gregory]"; + mes "1000 - 58 - 214 - 416 = ?"; + next; + input .@input; + if (.@input != 312) { + set @w_point,@w_point + 1; + } + mes "[Raspuchin Gregory]"; + mes "12 * 24 * 3 = ?"; + next; + input .@input; + if (.@input != 864) { + set @w_point,@w_point + 1; + } + mes "[Raspuchin Gregory]"; + mes "10530 / 3 / 5 / 2 = ?"; + next; + input .@input; + if (.@input != 351) { + set @w_point,@w_point + 1; + } + mes "[Raspuchin Gregory]"; + mes "(35 * 19) - (1792 / 7) = ?"; + next; + input .@input; + if (.@input != 409) { + set @w_point,@w_point + 1; + } + mes "[Raspuchin Gregory]"; + mes "(2368 / 8) + (24 * 17) = ?"; + next; + input .@input; + if (.@input != 704) { + set @w_point,@w_point + 1; + } + mes "[Raspuchin Gregory]"; + mes "(2646 / 7) + (13 * 28) = ?"; + next; + input .@input; + if (.@input != 742) { + set @w_point,@w_point + 1; + } + mes "[Raspuchin Gregory]"; + mes "What is the"; + mes "total price of"; + mes "15 Green Potions,"; + mes "6 Magnifiers and"; + mes "4 Traps after"; + mes "a 24 % discount?"; + next; + input .@input; + if (.@input != 934) { + set @w_point,@w_point + 1; + } + mes "[Raspuchin Gregory]"; + mes "What is the"; + mes "total weight of"; + mes "3 Ring Pommel Sabers,"; + mes "4 Caps, and 2 Boots?"; + next; + input .@input; + if (.@input != 550) { + set @w_point,@w_point + 1; + } + mes "[Raspuchin Gregory]"; + mes "What is the"; + mes "total defense of"; + mes "a Buckler, Long Coat,"; + mes "Gas Mask, Big Ribbon,"; + mes "Cute Ribbon, Sakkat,"; + mes "and Glasses?"; + next; + input .@input; + if (.@input != 16) { + set @w_point,@w_point + 1; + } + mes "[Raspuchin Gregory]"; + mes "How much profit do you"; + mes "make if you buy Tights"; + mes "at a 24 % discount and"; + mes "sell it at 20 % of"; + mes "the normal price?"; + next; + input .@input; + if (.@input != 8520) { + set @w_point,@w_point + 1; + } + } + if (.@alche_s == 3) { + mes "[Raspuchin Gregory]"; + mes "12 + 23 + 34 + 45 = ?"; + next; + input .@input; + if (.@input != 114) { + set @w_point,@w_point + 1; + } + mes "[Raspuchin Gregory]"; + mes "1000 - 58 - 214 - 416 = ?"; + next; + input .@input; + if (.@input != 312) { + set @w_point,@w_point + 1; + } + mes "[Raspuchin Gregory]"; + mes "14 * 17 * 3 = ?"; + next; + input .@input; + if (.@input != 714) { + set @w_point,@w_point + 1; + } + mes "[Raspuchin Gregory]"; + mes "10530 / 3 / 5 / 2 = ?"; + next; + input .@input; + if (.@input != 351) { + set @w_point,@w_point + 1; + } + mes "[Raspuchin Gregory]"; + mes "(47 * 28) - (1376 / 4) = ?"; + next; + input .@input; + if (.@input != 972) { + set @w_point,@w_point + 1; + } + mes "[Raspuchin Gregory]"; + mes "(2646 / 7) + (13 * 28) = ?"; + next; + input .@input; + if (.@input != 742) { + set @w_point,@w_point + 1; + } + mes "[Raspuchin Gregory]"; + mes "What is the"; + mes "total cost of"; + mes "6 Red Potions,"; + mes "7 Green Potions,"; + mes "and 8 Fly Wings"; + mes "after a 24 % discount?"; + next; + input .@input; + if (.@input != 798) { + set @w_point,@w_point + 1; + } + mes "[Raspuchin Gregory]"; + mes "What is the"; + mes "total weight of"; + mes "2 Ring Pommel Sabers,"; + mes "3 Caps, and 3 boots?"; + next; + input .@input; + if (.@input != 480) { + set @w_point,@w_point + 1; + } + mes "[Raspuchin Gregory]"; + mes "What is the"; + mes "total defense of"; + mes "a Mirror Shield, Mr. Smile, Leather Jacket, Silk Robe, Wedding Veil, Muffler, and Eye Patch?"; + next; + input .@input; + if (.@input != 12) { + set @w_point,@w_point + 1; + } + mes "[Raspuchin Gregory]"; + mes "If you buy 4 Padded Armors"; + mes "at a 25% discount and sell"; + mes "them at 20% of the original"; + mes "price, how much profit would"; + mes "you make from this sale?"; + next; + input .@input; + if (.@input != 7680) { + set @w_point,@w_point + 1; } } - else if (ALCH_Q == 5) { - mes "What...?!"; - mes "You want to take"; - mes "the test again?!"; - mes "I thought I told"; - mes "you to leave!"; + if (@w_point == 0) { + mes "[Raspuchin Gregory]"; + mes "Ooh..."; + mes "Excellent! Great!"; + mes "You got them all correct!?"; + mes "Keheheh, I have no choice but to acknowledge you..."; next; + } + if (@w_point == 1) { mes "[Raspuchin Gregory]"; - mes "I don't like it..."; - mes "I don't like this!"; + mes "You got one wrong!"; + mes "But I'll let it slide."; + mes "You pass the interview!"; + next; + } + else { + set ALCH_Q,5; + mes "[Raspuchin Gregory]"; + mes "Keheheh! Idiot!"; + mes "Just listening to your"; + mes "answers is making me feel"; + mes "stupider! You might as well"; + mes "have got them all wrong!"; + next; + mes "[Raspuchin Gregory]"; + mes "How can a person that"; + mes "can't even answer all of"; + mes "these simple questions think"; + mes "of becoming an Alchemist?!"; next; mes "[Raspuchin Gregory]"; - mes "Fine..."; - mes "I'll try to overlook your pitiful performance last time and give"; - mes "you another chance. Don't screw"; - mes "up again, got it?"; + mes "Hm...?"; + mes "Did you get"; + mes "any right?"; next; mes "[Raspuchin Gregory]"; - mes "Now then,"; - mes "give me all the"; - mes "^551A8Bright^000000 answers"; - mes "this time."; + mes "Fool! Even if you make one little mistake, everything goes wrong"; + mes "in Alchemy! Now get out of here!"; + mes "You make me sick!"; + close; } + mes "[Raspuchin Gregory]"; + mes "So hurry up, become an Alchemist, do some good research, and you might turn out to be of some help to me. Hahahahahaha~!"; next; - switch(rand(1,3)) { - case 1: + mes "[Raspuchin Gregory]"; + mes "Now go to Darwin!"; + mes "He'll teach you how to do the experiments. Just tell him that"; + mes "I sent you."; + set ALCH_Q,6; + changequest 2031,2032; + close; + } + if (ALCH_Q == 5) { + mes "[Raspuchin Gregory]"; + mes "What...?!"; + mes "You want to take"; + mes "the test again?!"; + mes "I thought I told"; + mes "you to leave!"; + next; + mes "[Raspuchin Gregory]"; + mes "I don't like it..."; + mes "I don't like this!"; + next; + mes "[Raspuchin Gregory]"; + mes "Fine..."; + mes "I'll try to overlook your pitiful performance last time and give"; + mes "you another chance. Don't screw"; + mes "up again, got it?"; + next; + mes "[Raspuchin Gregory]"; + mes "Now then,"; + mes "give me all the"; + mes "^551A8Bright^000000 answers"; + mes "this time."; + next; + set .@alche_s, rand(1,3); + set @w_point,0; + if (.@alche_s == 1) { mes "[Raspuchin Gregory]"; mes "12 + 23 + 34 + 45 = ?"; next; input .@input; - if (.@input != 114) set .@w_point,.@w_point+1; + if (.@input != 114) { + set @w_point,@w_point + 1; + } mes "[Raspuchin Gregory]"; mes "1000 - 36 - 227 - 348 = ?"; next; input .@input; - if (.@input != 389) set .@w_point,.@w_point+1; + if (.@input != 389) { + set @w_point,@w_point + 1; + } mes "[Raspuchin Gregory]"; mes "14 * 17 * 3 = ?"; next; input .@input; - if (.@input != 714) set .@w_point,.@w_point+1; + if (.@input != 714) { + set @w_point,@w_point + 1; + } mes "[Raspuchin Gregory]"; mes "9765 / 3 / 5 / 7 = ?"; next; input .@input; - if (.@input != 93) set .@w_point,.@w_point+1; + if (.@input != 93) { + set @w_point,@w_point + 1; + } mes "[Raspuchin Gregory]"; mes "(47 * 28) - (1376 / 4) = ?"; next; input .@input; - if (.@input != 972) set .@w_point,.@w_point+1; + if (.@input != 972) { + set @w_point,@w_point + 1; + } mes "[Raspuchin Gregory]"; mes "(2646 / 7) + (13 * 28) = ?"; next; input .@input; - if (.@input != 742) set .@w_point,.@w_point+1; + if (.@input != 742) { + set @w_point,@w_point + 1; + } mes "[Raspuchin Gregory]"; mes "How much do"; mes "12 Red Potions,"; @@ -549,7 +982,9 @@ alde_alche,175,107,3 script Fastidious Alchemist#am 749,{ mes "after a 24 % discount?"; next; input .@input; - if (.@input != 909) set .@w_point,.@w_point+1; + if (.@input != 909) { + set @w_point,@w_point + 1; + } mes "[Raspuchin Gregory]"; mes "What is the"; mes "total weight of"; @@ -557,7 +992,9 @@ alde_alche,175,107,3 script Fastidious Alchemist#am 749,{ mes "and 1 Long Coat?"; next; input .@input; - if (.@input != 450) set .@w_point,.@w_point+1; + if (.@input != 450) { + set @w_point,@w_point + 1; + } mes "[Raspuchin Gregory]"; mes "What is the"; mes "total defense of"; @@ -567,53 +1004,71 @@ alde_alche,175,107,3 script Fastidious Alchemist#am 749,{ mes "Ear Muffs?"; next; input .@input; - if (.@input != 20) set .@w_point,.@w_point+1; + if (.@input != 20) { + set @w_point,@w_point + 1; + } mes "[Raspuchin Gregory]"; mes "If you buy 5 Helms"; mes "with a 24 % discount"; - mes "and sell it at 20"; + mes "and sell it at 20 %,"; mes "how much profit"; mes "do you earn?"; next; input .@input; - if (.@input != 8800) set .@w_point,.@w_point+1; - break; - case 2: + if (.@input != 8800) { + set @w_point,@w_point + 1; + } + } + if (.@alche_s == 2) { mes "[Raspuchin Gregory]"; mes "13 + 25 + 37 + 48 = ?"; next; input .@input; - if (.@input != 123) set .@w_point,.@w_point+1; + if (.@input != 123) { + set @w_point,@w_point + 1; + } mes "[Raspuchin Gregory]"; mes "1000 - 58 - 214 - 416 = ?"; next; input .@input; - if (.@input != 312) set .@w_point,.@w_point+1; + if (.@input != 312) { + set @w_point,@w_point + 1; + } mes "[Raspuchin Gregory]"; mes "12 * 24 * 3 = ?"; next; input .@input; - if (.@input != 864) set .@w_point,.@w_point+1; + if (.@input != 864) { + set @w_point,@w_point + 1; + } mes "[Raspuchin Gregory]"; mes "10530 / 3 / 5 / 2 = ?"; next; input .@input; - if (.@input != 351) set .@w_point,.@w_point+1; + if (.@input != 351) { + set @w_point,@w_point + 1; + } mes "[Raspuchin Gregory]"; mes "(35 * 19) - (1792 / 7) = ?"; next; input .@input; - if (.@input != 409) set .@w_point,.@w_point+1; + if (.@input != 409) { + set @w_point,@w_point + 1; + } mes "[Raspuchin Gregory]"; mes "(2368 / 8) + (24 * 17) = ?"; next; input .@input; - if (.@input != 704) set .@w_point,.@w_point+1; + if (.@input != 704) { + set @w_point,@w_point + 1; + } mes "[Raspuchin Gregory]"; mes "(2646 / 7) + (13 * 28) = ?"; next; input .@input; - if (.@input != 742) set .@w_point,.@w_point+1; + if (.@input != 742) { + set @w_point,@w_point + 1; + } mes "[Raspuchin Gregory]"; mes "What is the"; mes "total price of"; @@ -623,7 +1078,9 @@ alde_alche,175,107,3 script Fastidious Alchemist#am 749,{ mes "a 24 % discount?"; next; input .@input; - if (.@input != 934) set .@w_point,.@w_point+1; + if (.@input != 934) { + set @w_point,@w_point + 1; + } mes "[Raspuchin Gregory]"; mes "What is the"; mes "total weight of"; @@ -631,7 +1088,9 @@ alde_alche,175,107,3 script Fastidious Alchemist#am 749,{ mes "4 Caps, and 2 Boots?"; next; input .@input; - if (.@input != 550) set .@w_point,.@w_point+1; + if (.@input != 550) { + set @w_point,@w_point + 1; + } mes "[Raspuchin Gregory]"; mes "What is the"; mes "total defense of"; @@ -641,7 +1100,9 @@ alde_alche,175,107,3 script Fastidious Alchemist#am 749,{ mes "and Glasses?"; next; input .@input; - if (.@input != 16) set .@w_point,.@w_point+1; + if (.@input != 16) { + set @w_point,@w_point + 1; + } mes "[Raspuchin Gregory]"; mes "How much profit do you"; mes "make if you buy Tights"; @@ -650,39 +1111,53 @@ alde_alche,175,107,3 script Fastidious Alchemist#am 749,{ mes "the normal price?"; next; input .@input; - if (.@input != 8520) set .@w_point,.@w_point+1; - break; - case 3: + if (.@input != 8520) { + set @w_point,@w_point + 1; + } + } + if (.@alche_s == 3) { mes "[Raspuchin Gregory]"; mes "12 + 23 + 34 + 45 = ?"; next; input .@input; - if (.@input != 114) set .@w_point,.@w_point+1; + if (.@input != 114) { + set @w_point,@w_point + 1; + } mes "[Raspuchin Gregory]"; mes "1000 - 58 - 214 - 416 = ?"; next; input .@input; - if (.@input != 312) set .@w_point,.@w_point+1; + if (.@input != 312) { + set @w_point,@w_point + 1; + } mes "[Raspuchin Gregory]"; mes "14 * 17 * 3 = ?"; next; input .@input; - if (.@input != 714) set .@w_point,.@w_point+1; + if (.@input != 714) { + set @w_point,@w_point + 1; + } mes "[Raspuchin Gregory]"; mes "10530 / 3 / 5 / 2 = ?"; next; input .@input; - if (.@input != 351) set .@w_point,.@w_point+1; + if (.@input != 351) { + set @w_point,@w_point + 1; + } mes "[Raspuchin Gregory]"; mes "(47 * 28) - (1376 / 4) = ?"; next; input .@input; - if (.@input != 972) set .@w_point,.@w_point+1; + if (.@input != 972) { + set @w_point,@w_point + 1; + } mes "[Raspuchin Gregory]"; mes "(2646 / 7) + (13 * 28) = ?"; next; input .@input; - if (.@input != 742) set .@w_point,.@w_point+1; + if (.@input != 742) { + set @w_point,@w_point + 1; + } mes "[Raspuchin Gregory]"; mes "What is the"; mes "total cost of"; @@ -692,7 +1167,9 @@ alde_alche,175,107,3 script Fastidious Alchemist#am 749,{ mes "after a 24 % discount?"; next; input .@input; - if (.@input != 798) set .@w_point,.@w_point+1; + if (.@input != 798) { + set @w_point,@w_point + 1; + } mes "[Raspuchin Gregory]"; mes "What is the"; mes "total weight of"; @@ -700,25 +1177,31 @@ alde_alche,175,107,3 script Fastidious Alchemist#am 749,{ mes "3 Caps, and 3 boots?"; next; input .@input; - if (.@input != 480) set .@w_point,.@w_point+1; + if (.@input != 480) { + set @w_point,@w_point + 1; + } mes "[Raspuchin Gregory]"; mes "What is the"; mes "total defense of"; mes "a Mirror Shield, Mr. Smile, Leather Jacket, Silk Robe, Wedding Veil, Muffler, and Eye Patch?"; next; input .@input; - if (.@input != 12) set .@w_point,.@w_point+1; + if (.@input != 12) { + set @w_point,@w_point + 1; + } mes "[Raspuchin Gregory]"; mes "If you buy 4 Padded Armors"; - mes "at a 24% discount and sell"; + mes "at a 25% discount and sell"; mes "them at 20% of the original"; mes "price, how much profit would"; mes "you make from this sale?"; next; input .@input; - if (.@input != 7680) set w_point,w_point+1; + if (.@input != 7680) { + set @w_point,@w_point + 1; + } } - if (.@w_point == 0) { + if (@w_point == 0) { mes "[Raspuchin Gregory]"; mes "Ooh..."; mes "Excellent! Great!"; @@ -726,14 +1209,14 @@ alde_alche,175,107,3 script Fastidious Alchemist#am 749,{ mes "Keheheh, I have no choice but to acknowledge you..."; next; } - else if (.@w_point == 1) { + if (@w_point == 1) { mes "[Raspuchin Gregory]"; mes "You got one wrong!"; mes "But I'll let it slide."; mes "You pass the interview!"; next; } - else if (.@w_point == 2 && ALCH_Q == 5) { + if (@w_point == 2) { mes "[Raspuchin Gregory]"; mes "You've got serious"; mes "weaknesses in math,"; @@ -774,10 +1257,10 @@ alde_alche,175,107,3 script Fastidious Alchemist#am 749,{ mes "He'll teach you how to do the experiments. Just tell him that"; mes "I sent you."; set ALCH_Q,6; - changequest 2031,2032; close; } - else if (ALCH_Q == 6) { + if (ALCH_Q == 6) { + mes "[Raspuchin Gregory]"; mes "What are you doing?"; mes "Go and find Darwin now."; next; @@ -786,13 +1269,14 @@ alde_alche,175,107,3 script Fastidious Alchemist#am 749,{ mes "Don't think this is the end of it!"; close; } + mes "[Raspuchin Gregory]"; mes "Keheheheheheheheh~"; mes "Don't think this is the end of it!"; close; } -alde_alche,13,15,7 script Studying Man#am 750,{ - if (checkweight(1201,1) == 0) { +alde_alche,13,15,7 script Studying Man 750,{ + if (checkweight(1201,3) == 0) { mes "- Wait a minute! -"; mes "- Currently you are carrying -"; mes "- too many items with you. -"; @@ -800,9 +1284,9 @@ alde_alche,13,15,7 script Studying Man#am 750,{ mes "- after you store some items into kafra storage. -"; close; } - mes "[Darwin]"; - if (BaseJob != Job_Merchant) { - if (BaseJob == Job_Alchemist) { + if ((Class != Job_Baby_Merchant) && (Class != Job_Merchant)) { + if (Class == Job_Baby_Alchemist || Class == Job_Alchemist) { + mes "[Darwin]"; mes "Ah..."; mes "You..."; mes "You've become"; @@ -822,28 +1306,28 @@ alde_alche,13,15,7 script Studying Man#am 750,{ mes "My love..."; close; } - else { - mes "When you have"; - mes "your dreams, you"; - mes "have everything."; - mes "Without them, you have"; - mes "nothing more to lose."; - next; - mes "[Darwin]"; - mes "These cursed eyes..."; - mes "They've lost sight of"; - mes "my dreams a long time ago."; - mes "Ha ha ha ha..."; - next; - mes "[Darwin]"; - mes "Does paradise"; - mes "really exist...?"; - mes "Not without my love..."; - mes "Not without Harmona..."; - close; - } + mes "[Darwin]"; + mes "When you have"; + mes "your dreams, you"; + mes "have everything."; + mes "Without them, you have"; + mes "nothing more to lose."; + next; + mes "[Darwin]"; + mes "These cursed eyes..."; + mes "They've lost sight of"; + mes "my dreams a long time ago."; + mes "Ha ha ha ha..."; + next; + mes "[Darwin]"; + mes "Does paradise"; + mes "really exist...?"; + mes "Not without my love..."; + mes "Not without Harmona..."; + close; } if (ALCH_Q == 6) { + mes "[Darwin]"; mes "..."; next; mes "[Darwin]"; @@ -856,7 +1340,7 @@ alde_alche,13,15,7 script Studying Man#am 750,{ mes "Who is it...?"; next; monster "alde_alche",13,15,"Wolf",1013,1; - killmonsterall "alde_alche"; + killmonster "alde_alche","Studying Man::OnMyMobDead"; mes "[Darwin]"; mes "A wolf?"; mes "Or a human?"; @@ -883,7 +1367,7 @@ alde_alche,13,15,7 script Studying Man#am 750,{ mes "What brings you"; mes "to this kind of place?"; next; - switch(select("I want to learn how to experiment.:Tell me more about flowers.:Nothing.")) { + switch (select("I want to learn how to experiment.:Tell me more about flowers.:Nothing.")) { case 1: mes "[Darwin]"; mes "You wish to"; @@ -975,7 +1459,8 @@ alde_alche,13,15,7 script Studying Man#am 750,{ close; } } - else if (ALCH_Q == 7) { + if (ALCH_Q == 7) { + mes "[Darwin]"; mes "..."; mes "......"; next; @@ -1092,9 +1577,10 @@ alde_alche,13,15,7 script Studying Man#am 750,{ mes "and cast away the last"; mes "vestiges of Merchant life!!"; set ALCH_Q,40; + changequest 2033,2034; close; } - else if (countitem(7134) > 2 && countitem(713) > 2 && countitem(507) > 0 && countitem(508) > 0 && countitem(509) > 0) { + if ((countitem(7134) > 2) && (countitem(713) > 2) && (countitem(507) > 0) && (countitem(508) > 0) && (countitem(509) > 0)) { mes "[Darwin]"; mes "Seems like you have everything ready. As promised, I will teach you how to make simple medicine."; next; @@ -1121,27 +1607,27 @@ alde_alche,13,15,7 script Studying Man#am 750,{ mes "Now, make some medicine"; mes "using the simple procedure"; mes "I just explained to you."; - set w_point,0; + set @w_point,0; next; - switch(select("Prepare the Medicine Bowl.:Put the Medicine Bowl on your head.:Kick the Medicine Bowl.")) { + switch (select("Prepare the Medicine Bowl.:Put the Medicine Bowl on your head.:Kick the Medicine Bowl.")) { case 1: break; case 2: - set .@w_point,.@w_point+1; + set @w_point,@w_point + 1; mes "[Darwin]"; mes "What...?"; next; break; case 3: - set .@w_point,.@w_point+1; + set @w_point,@w_point + 1; mes "[Darwin]"; mes "No!"; next; break; } - switch(select("Put some dirt in the Medicine Bowl.:Put some Herbs in the Medicine Bowl.:Put a Harp in the Medicine Bowl.")) { + switch (select("Put some dirt in the Medicine Bowl.:Put some Herbs in the Medicine Bowl.:Put a Harp in the Medicine Bowl.")) { case 1: - set .@w_point,.@w_point+1; + set @w_point,@w_point + 1; mes "[Darwin]"; mes "...Eh!?"; mes "That's not"; @@ -1151,7 +1637,7 @@ alde_alche,13,15,7 script Studying Man#am 750,{ case 2: break; case 3: - set .@w_point,.@w_point+1; + set @w_point,@w_point + 1; mes "[Darwin]"; mes "A Harp?"; mes "And how would"; @@ -1159,18 +1645,18 @@ alde_alche,13,15,7 script Studying Man#am 750,{ next; break; } - switch(select("Crush the Herbs.:Crush the Medicine Bowl.:Crush Darwin's foot.")) { + switch (select("Crush the Herbs.:Crush the Medicine Bowl.:Crush Darwin's foot.")) { case 1: break; case 2: - set .@w_point,.@w_point+1; + set @w_point,@w_point + 1; mes "[Darwin]"; mes "Wh-What are"; mes "you doing!?"; next; break; case 3: - set .@w_point,.@w_point+1; + set @w_point,@w_point + 1; mes "[Darwin]"; mes "Agh...!"; mes "What do you"; @@ -1179,16 +1665,16 @@ alde_alche,13,15,7 script Studying Man#am 750,{ next; break; } - switch(select("Spray clean water.:Drink clean water.:Pour clean water.")) { + switch (select("Spray clean water.:Drink clean water.:Pour clean water.")) { case 1: - set .@w_point,.@w_point+1; + set @w_point,@w_point + 1; mes "[Darwin]"; mes "Huh?"; mes "What are you doing?"; next; break; case 2: - set .@w_point,.@w_point+1; + set @w_point,@w_point + 1; mes "[Darwin]"; mes "W-wait..."; mes "Are you"; @@ -1198,11 +1684,11 @@ alde_alche,13,15,7 script Studying Man#am 750,{ case 3: break; } - switch(select("Continue crushing the Herbs.:Continue eating the Herbs.:Continue dancing and singing.")) { + switch (select("Continue crushing the Herbs.:Continue eating the Herbs.:Continue dancing and singing.")) { case 1: break; case 2: - set .@w_point,.@w_point+1; + set @w_point,@w_point + 1; mes "[Darwin]"; mes "Eat the Herbs?"; mes "I think you need"; @@ -1211,7 +1697,7 @@ alde_alche,13,15,7 script Studying Man#am 750,{ next; break; case 3: - set .@w_point,.@w_point+1; + set @w_point,@w_point + 1; mes "[Darwin]"; mes "Singing and"; mes "dancing? Alchemists"; @@ -1220,9 +1706,9 @@ alde_alche,13,15,7 script Studying Man#am 750,{ next; break; } - switch(select("Put noodles in and fry it.:Pour it in an empty bottle.:Hold the Medicine Bowl and drink it.")) { + switch (select("Put noodles in and fry it.:Pour it in an empty bottle.:Hold the Medicine Bowl and drink it.")) { case 1: - set .@w_point,.@w_point+1; + set @w_point,@w_point + 1; mes "[Darwin]"; mes "We're Alchemists,"; mes "not restaurant chefs."; @@ -1231,14 +1717,14 @@ alde_alche,13,15,7 script Studying Man#am 750,{ case 2: break; case 3: - set .@w_point,.@w_point+1; + set @w_point,@w_point + 1; mes "[Darwin]"; mes "Huh..."; mes "Pretty sloppy..."; next; break; } - if (.@w_point > 0) { + if (@w_point > 0) { mes "[Darwin]"; mes "..."; mes "......"; @@ -1269,29 +1755,28 @@ alde_alche,13,15,7 script Studying Man#am 750,{ mes "what is most precious to you."; close; } - else { - mes "[Darwin]"; - mes "Have you forgotten"; - mes "what you need to bring?"; - mes "Let me remind you once"; - mes "again. You must come"; - mes "back with..."; - next; - mes "[Darwin]"; - mes "^551A8B3 Medicine Bowls^000000,"; - mes "^551A8B3 Empty Bottle^000000,"; - mes "^551A8B1 Red Herb^000000,"; - mes "^551A8B1 Yellow Herb^000000 and"; - mes "^551A8B1 White Herb^000000."; - next; - mes "[Darwin]"; - mes "Come back"; - mes "when you are"; - mes "ready..."; - close; - } + mes "[Darwin]"; + mes "Have you forgotten"; + mes "what you need to bring?"; + mes "Let me remind you once"; + mes "again. You must come"; + mes "back with..."; + next; + mes "[Darwin]"; + mes "^551A8B3 Medicine Bowls^000000,"; + mes "^551A8B3 Empty Bottle^000000,"; + mes "^551A8B1 Red Herb^000000,"; + mes "^551A8B1 Yellow Herb^000000 and"; + mes "^551A8B1 White Herb^000000."; + next; + mes "[Darwin]"; + mes "Come back"; + mes "when you are"; + mes "ready..."; + close; } - else if (ALCH_Q == 8) { + if (ALCH_Q == 8) { + mes "[Darwin]"; mes "I said to go"; mes "to Van Helmont."; mes "I'd like to teach you"; @@ -1304,7 +1789,8 @@ alde_alche,13,15,7 script Studying Man#am 750,{ mes "withers as well.."; close; } - else if (ALCH_Q == 40) { + if (ALCH_Q == 40) { + mes "[Darwin]"; mes "I have already given you all of my knowledge and have nothing more"; mes "to teach you."; next; @@ -1313,32 +1799,31 @@ alde_alche,13,15,7 script Studying Man#am 750,{ mes "you do that, your life as an Alchemist will begin."; close; } - else { - mes "When you have"; - mes "your dreams, you"; - mes "have everything."; - mes "Without them, you have"; - mes "nothing more to lose."; - next; - mes "[Darwin]"; - mes "These cursed eyes..."; - mes "They've lost sight of"; - mes "my dreams a long time ago."; - mes "Ha ha ha ha..."; - next; - mes "[Darwin]"; - mes "Does paradise"; - mes "really exist...?"; - mes "Not without my love..."; - mes "Not without Harmona..."; - close; - } + mes "[Darwin]"; + mes "When you have"; + mes "your dreams, you"; + mes "have everything."; + mes "Without them, you have"; + mes "nothing more to lose."; + next; + mes "[Darwin]"; + mes "These cursed eyes..."; + mes "They've lost sight of"; + mes "my dreams a long time ago."; + mes "Ha ha ha ha..."; + next; + mes "[Darwin]"; + mes "Does paradise"; + mes "really exist...?"; + mes "Not without my love..."; + mes "Not without Harmona..."; + close; } -alde_alche,79,19,5 script Experiment Expert#am 748,{ - mes "[Van Helmont]"; - if (BaseJob != Job_Merchant) { - if (BaseJob == Job_Alchemist) { +alde_alche,79,19,5 script Experiment Expert 748,{ + if ((Class != Job_Baby_Merchant) && (Class != Job_Merchant)) { + if (Class == Job_Baby_Alchemist || Class == Job_Alchemist) { + mes "[Van Helmont]"; mes "What do you want?"; mes "I'm busy!! Don't"; mes "bother me and get"; @@ -1353,25 +1838,25 @@ alde_alche,79,19,5 script Experiment Expert#am 748,{ mes "Reading science journals and performing experiments. That's what Alchemy is all about. Now, let me get back to work!"; close; } - else { - mes "Just a little..."; - mes "A little bit more..."; - mes "Nooo! Just a little"; - mes "bit more and it"; - mes "would've been done!"; - next; - mes "[Van Helmont]"; - mes "Why...?!"; - mes "Why, another failure?!"; - mes "My calculations were"; - mes "all correct! W-Wait...!"; - next; - mes "[Van Helmont]"; - mes "Perhaps, if I capacitated the thermal flux by using the neutronic gradient, it just might work...!"; - close; - } + mes "[Van Helmont]"; + mes "Just a little..."; + mes "A little bit more..."; + mes "Nooo! Just a little"; + mes "bit more and it"; + mes "would've been done!"; + next; + mes "[Van Helmont]"; + mes "Why...?!"; + mes "Why, another failure?!"; + mes "My calculations were"; + mes "all correct! W-Wait...!"; + next; + mes "[Van Helmont]"; + mes "Perhaps, if I capacitated the thermal flux by using the neutronic gradient, it just might work...!"; + close; } if (ALCH_Q == 8) { + mes "[Van Helmont]"; mes "Arrrrgh...!"; mes "Why isn't this formula working? What's wrong? In theory, it's all correct, but there must be an error in the formula somewhere..."; next; @@ -1464,7 +1949,8 @@ alde_alche,79,19,5 script Experiment Expert#am 748,{ mes "I going to do?!"; close; } - else if (ALCH_Q == 9) { + if (ALCH_Q == 9) { + mes "[Van Helmont]"; mes "Alright, if I make an incision here in the Tentacle, and add a Jellopy and Sticky Mucus solution into the... Where the hell did my Medicine Bowl go?"; next; mes "[Van Helmont]"; @@ -1496,20 +1982,34 @@ alde_alche,79,19,5 script Experiment Expert#am 748,{ mes "check what you've"; mes "learned."; next; - if(MISC_QUEST & 4) { + set @w_point,0; + if (molgenstain == 3) { mes "[Van Helmont]"; mes "Which item is not"; mes "necessary to make"; mes "a Counteragent?"; next; - if (select("Karvodailnirol:Detrimindexta:Alcohol") != 1) set .@w_point,.@w_point+1; + switch (select("Karvodailnirol:Detrimindexta:Alcohol")) { + case 1: + break; + case 2: + case 3: + set @w_point,@w_point + 1; + } mes "[Van Helmont]"; mes "What item is not"; mes "necessary to make"; mes "a Mixture?"; next; - if (select("Karvodailnirol:Detrimindexta:Alcohol") != 2) set .@w_point,.@w_point+1; - if (.@w_point > 0) { + switch (select("Karvodailnirol:Detrimindexta:Alcohol")) { + case 1: + set @w_point,@w_point + 1; + case 2: + break; + case 3: + set @w_point,@w_point + 1; + } + if (@w_point > 0) { mes "[Van Helmont]"; mes "Weren't you listening to Molgenstein at all? Maybe you"; mes "have to watch him make it again."; @@ -1544,12 +2044,14 @@ alde_alche,79,19,5 script Experiment Expert#am 748,{ mes "a Counteragent?"; next; select("Feather:Sticky Mucus:Animal Gore"); + set @w_point,@w_point + 1; mes "[Van Helmont]"; mes "What item do"; mes "you need to make"; mes "a Mixture?"; next; select("Monster Feed:Ancient Lips:Rotten Bandage"); + set @w_point,@w_point + 1; mes "[Van Helmont]"; mes "Be honest. You don't know, do you?! Didn't I say to go to Molgenstein and have him teach you?!"; next; @@ -1558,7 +2060,8 @@ alde_alche,79,19,5 script Experiment Expert#am 748,{ close; } } - else if (ALCH_Q == 20) { + if (ALCH_Q == 20) { + mes "[Van Helmont]"; mes "What...?"; mes "I thought I told you to"; mes "talk to Nicholas next door?"; @@ -1568,29 +2071,28 @@ alde_alche,79,19,5 script Experiment Expert#am 748,{ mes "and you need to finish becoming an Alchemist. Come on, get moving!"; close; } - else { - mes "Just a little..."; - mes "A little bit more..."; - mes "Nooo! Just a little"; - mes "bit more and it"; - mes "would've been done!"; - next; - mes "[Van Helmont]"; - mes "Why...?!"; - mes "Why, another failure?!"; - mes "My calculations were"; - mes "all correct! Wait..."; - next; - mes "[Van Helmont]"; - mes "Perhaps, if I capacitated the thermal flux by using the neutronic gradient, it just might work..."; - close; - } + mes "[Van Helmont]"; + mes "Just a little..."; + mes "A little bit more..."; + mes "Nooo! Just a little"; + mes "bit more and it"; + mes "would've been done!"; + next; + mes "[Van Helmont]"; + mes "Why...?!"; + mes "Why, another failure?!"; + mes "My calculations were"; + mes "all correct! Wait..."; + next; + mes "[Van Helmont]"; + mes "Perhaps, if I capacitated the thermal flux by using the neutronic gradient, it just might work..."; + close; } -alde_alche,101,184,4 script Master Alchemist#am 122,{ +alde_alche,101,184,4 script Master Alchemist 122,{ cutin "job_alche_vincent",2; - mes "[Vincent Carsciallo]"; if (Upper == 1) { + mes "[Vincent Carsciallo]"; mes "You have transcended..."; mes "Excellent, excellent."; next; @@ -1601,8 +2103,9 @@ alde_alche,101,184,4 script Master Alchemist#am 122,{ cutin "",255; end; } - if (BaseJob != Job_Merchant) { - if (BaseJob == Job_Alchemist) { + if ((Class != Job_Baby_Merchant) && (Class != Job_Merchant)) { + if (Class == Job_Baby_Alchemist || Class == Job_Alchemist) { + mes "[Vincent Carsciallo]"; mes "Welcome!"; mes "So how is your"; mes "research coming along?"; @@ -1613,8 +2116,12 @@ alde_alche,101,184,4 script Master Alchemist#am 122,{ mes "[Vincent Carsciallo]"; mes "If you discover something new,"; mes "come and tell us. Don't forget that we are all working together to unlock the mysteries of science!"; + close2; + cutin "",255; + end; } - else if (BaseClass == Job_Novice) { + if (Class == Job_Baby || Class == Job_Novice) { + mes "[Vincent Carsciallo]"; mes "Hm..."; mes "A Novice?"; mes "You shouldn't be"; @@ -1624,24 +2131,27 @@ alde_alche,101,184,4 script Master Alchemist#am 122,{ mes "[Vincent Carsciallo]"; mes "There are a lot of volatile chemicals and dangerous"; mes "materials in this building. It'd be a lot better if you just played outside."; + close2; + cutin "",255; + end; } - else { - mes "Hmm...?"; - mes "What's an adventurer"; - mes "doing here in the"; - mes "Alchemist Union?"; - next; - mes "[Vincent Carsciallo]"; - mes "I'm afraid there's"; - mes "not much we can offer"; - mes "you here if you're not"; - mes "a member of our Union."; - } + mes "[Vincent Carsciallo]"; + mes "Hmm...?"; + mes "What's an adventurer"; + mes "doing here in the"; + mes "Alchemist Union?"; + next; + mes "[Vincent Carsciallo]"; + mes "I'm afraid there's"; + mes "not much we can offer"; + mes "you here if you're not"; + mes "a member of our Union."; close2; cutin "",255; end; } if (ALCH_Q == 0) { + mes "[Vincent Carsciallo]"; mes "Hmm...?"; mes "A Merchant?"; mes "Are you interested"; @@ -1661,16 +2171,18 @@ alde_alche,101,184,4 script Master Alchemist#am 122,{ cutin "",255; end; } - else if (ALCH_Q == 40) { + if (ALCH_Q == 40) { if (JobLevel < 40) { set ALCH_Q,0; + mes "[Vincent Carsciallo]"; mes "Hmm...you don't seem to be qualified yet."; mes "Remember, you must reach at least job level 40 to become an Alchemist."; close2; cutin "",255; end; } - if (SkillPoint) { + if (SkillPoint != 0) { + mes "[Vincent Carsciallo]"; mes "Ah, you're almost"; mes "ready to become an"; mes "Alchemist, but you must"; @@ -1686,62 +2198,88 @@ alde_alche,101,184,4 script Master Alchemist#am 122,{ cutin "",255; end; } - if(checkquest(2039) != -1) { - changequest 2039,2040; - } + mes "[Vincent Carsciallo]"; mes "Ah, well done."; mes "I can see that you"; mes "have learned all of"; mes "the basics of Alchemy."; next; + if (JobLevel == 50) { + set ALCH_Q,0; + changequest 2034,2040; + changequest 2039,2040; + completequest 2040; + if(Class == Job_Baby_Merchant){ + jobchange Job_Baby_Alchemist; + } else { + jobchange Job_Alchemist; + } + set FJOB,Job_Genetic; + mes "[Vincent Carsciallo]"; + mes "Henceforth, you are"; + mes "now a member of our"; + mes "illustrious Union."; + mes "I hope you learn a lot..."; + next; + getitem 7133,1; //Slim_Potion_Create_Book + mes "[Vincent Carsciallo]"; + mes "Let me give you"; + mes "something special."; + mes "You can use this to"; + mes "begin your life"; + mes "of research."; + next; + mes "[Vincent Carsciallo]"; + mes "I'll see"; + mes "you later then..."; + mes "Remember to carry"; + mes "yourself with pride"; + mes "as an Alchemist!"; + close2; + cutin "",255; + end; + } set ALCH_Q,0; + changequest 2034,2040; + changequest 2039,2040; completequest 2040; - set .@jlevel,JobLevel; - callfunc "Job_Change",Job_Alchemist; - callfunc "F_ClearJobVar"; + if(Class == Job_Baby_Merchant){ + jobchange Job_Baby_Alchemist; + } else { + jobchange Job_Alchemist; + } + set FJOB,Job_Genetic; mes "[Vincent Carsciallo]"; mes "Henceforth, you are"; mes "now a member of our"; mes "illustrious Union."; mes "I hope you learn a lot..."; next; - - if (.@jlevel == 50) { - getitem 7133,1; //Slim_Potion_Create_Book - mes "[Vincent Carsciallo]"; - mes "Let me give you"; - mes "something special."; - mes "You can use this to"; - mes "begin your life"; - mes "of research."; + set .@alche_m2, rand(1,6); + if (.@alche_m2 == 1) { + getitem 7127,1; //Alcol_Create_Book + } + else if (.@alche_m2 == 2) { + getitem 7128,1; //FireBottle_Create_Book + } + else if (.@alche_m2 == 3) { + getitem 7129,1; //Acid_Create_Book + } + else if (.@alche_m2 == 4) { + getitem 7130,1; //Plant_Create_Book + } + else if (.@alche_m2 == 5) { + getitem 7131,1; //Mine_Create_Book } else { - switch(rand(1,6)) { - case 1: - getitem 7127,1; //Alcol_Create_Book - break; - case 2: - getitem 7128,1; //FireBottle_Create_Book - break; - case 3: - getitem 7129,1; //Acid_Create_Book - break; - case 4: - getitem 7130,1; //Plant_Create_Book - break; - case 5: - getitem 7131,1; //Mine_Create_Book - break; - case 6: - getitem 7144,1; //Normal_Potion_Book - } - mes "[Vincent Carsciallo]"; - mes "And..."; - mes "Here's a little"; - mes "something to help"; - mes "you begin your"; - mes "research."; + getitem 7144,1; //Normal_Potion_Book } + mes "[Vincent Carsciallo]"; + mes "And..."; + mes "Here's a little"; + mes "something to help"; + mes "you begin your"; + mes "research."; next; mes "[Vincent Carsciallo]"; mes "I'll see"; @@ -1753,24 +2291,23 @@ alde_alche,101,184,4 script Master Alchemist#am 122,{ cutin "",255; end; } - else { - mes "Ah..."; - mes "I believe you've"; - mes "already registered"; - mes "for training to become"; - mes "an Alchemist."; - next; - mes "[Vincent Carsciallo]"; - mes "Please listen to the"; - mes "other Alchemists and follow their instructions carefully. You will learn much from them."; - close2; - cutin "",255; - end; - } + mes "[Vincent Carsciallo]"; + mes "Ah..."; + mes "I believe you've"; + mes "already registered"; + mes "for training to become"; + mes "an Alchemist."; + next; + mes "[Vincent Carsciallo]"; + mes "Please listen to the"; + mes "other Alchemists and follow their instructions carefully. You will learn much from them."; + close2; + cutin "",255; + end; } -alde_alche,145,19,1 script Chief Researcher#am 57,{ - if (checkweight(1201,1) == 0) { +alde_alche,145,19,1 script Chief Researcher 57,{ + if (checkweight(1201,3) == 0) { mes "- Wait a minute! -"; mes "- Currently you are carrying -"; mes "- too many items with you. -"; @@ -1778,7 +2315,7 @@ alde_alche,145,19,1 script Chief Researcher#am 57,{ mes "- after you store some items into kafra storage. -"; close; } - if (ALCH_Q > 19 && ALCH_Q < 22) { + if ((ALCH_Q > 19) && (ALCH_Q < 22)) { if (ALCH_Q == 20) { mes "[Nicholas Flamel]"; mes "Ooh..."; @@ -1806,54 +2343,80 @@ alde_alche,145,19,1 script Chief Researcher#am 57,{ mes "choose the word"; mes "that is ^551A8BIN^000000 the puzzle."; next; - switch(rand(1,3)) { - case 1: + set .@alche_puz, rand(1,3); + if (.@alche_puz == 1) { mes "t m y a n y e o b n e g p r i"; next; - if (select("Brake:Brass:Bug:Broken:Brigan?") == 5) set .@alch_t,.@alch_t+10; - mes "o n c u t a p j l e r s v m u"; + set @alch_q, 0; + if (select("Brake:Brass:Bug:Broken:Brigan?") == 5) { + set @alch_q, @alch_q + 10; + } + mes "o n c u d a p j l e r s v m u"; next; - if (select("vendor:storage:weapon:simple:streetshop") == 1) set .@alch_t,.@alch_t+10; + if (select("vendor:storage:weapon:simple:streetshop") == 1) { + set @alch_q, @alch_q + 10; + } mes "t v a r m e g p h e u b o y l"; next; - if (select("molasses:party:leader:sweets:treacle") == 2) set .@alch_t,.@alch_t+10; + if (select("molasses:party:leader:sweets:treacle") == 2) { + set @alch_q, @alch_q + 10; + } mes "q z a h n a i n b r d p t n c"; next; - if (select("partisan:partizan:pato:paros:pack") == 2) set .@alch_t,.@alch_t+10; - break; - case 2: + if (select("partisan:partizan:pato:paros:pack") == 2) { + set @alch_q, @alch_q + 10; + } + } + else if (.@alche_puz == 2) { mes "m p d i c f a r o g n k w a s"; next; - if (select("packman:sunshine:ragnarok:wonderland:frost") == 1) set .@alch_t,.@alch_t+10; + set @alch_q, 0; + if (select("packman:sunshine:ragnarok:wonderland:frost") == 1) { + set @alch_q, @alch_q + 10; + } mes "g b n o p r e f a r e t a s k"; next; - if (select("purple:smoker:ragnarok:bolt:burnt wood") == 3) set .@alch_t,.@alch_t+10; + if (select("purple:smoker:ragnarok:bolt:burnt wood") == 3) { + set @alch_q, @alch_q + 10; + } mes "u g n i s j e k c e o g n d p"; next; - if (select("scab:kinship:donate:source:opening") == 5) set .@alch_t,.@alch_t+10; + if (select("scab:kinship:donate:source:opening") == 5) { + set @alch_q, @alch_q + 10; + } mes "r o e h n r o m c a i n p t t"; next; - if (select("forgemerchant:potionmerchant:dcmerchant:vendingmerchant:battlemerchant") == 2) set .@alch_t,.@alch_t+10; - break; - case 3: + if (select("forgemerchant:potionmerchant:dcmerchant:vendingmerchant:battlemerchant") == 2) { + set @alch_q, @alch_q + 10; + } + } + else { mes "s m i e x b w u n e t a g l r"; next; - if (select("tiger:wolf:pumpkin:tripped:tore") == 1) set .@alch_t,.@alch_t+10; + set @alch_q, 0; + if (select("tiger:wolf:pumpkin:tripped:tore") == 1) { + set @alch_q, @alch_q + 10; + } mes "n i e g b o p d s o a u w r v"; next; - if (select("bash:provoke:endure:stun:abracadabra") == 3) set .@alch_t,.@alch_t+10; + if (select("bash:provoke:endure:stun:abracadabra") == 3) { + set @alch_q, @alch_q + 10; + } mes "l r m g r e x t a v i n e d e"; next; - if (select("alberta:latifoliate:crimson:maple:evergreen") == 5) set .@alch_t,.@alch_t+10; + if (select("alberta:latifoliate:crimson:maple:evergreen") == 5) { + set @alch_q, @alch_q + 10; + } mes "r o e h n r o m c a i n p t t"; next; - if (select("forgemerchant:potionmerchant:dcmerchant:vendingmerchant:battlemerchant") == 2) set .@alch_t,.@alch_t+10; - break; + if (select("forgemerchant:potionmerchant:dcmerchant:vendingmerchant:battlemerchant") == 2) { + set @alch_q, @alch_q + 10; + } } mes "[Nicholas Flamel]"; mes "Ah, you finished."; mes "Now, let's see..."; - if (.@alch_t > 30) { + if (@alch_q > 30) { set ALCH_Q,22; mes "Excellent job!"; next; @@ -1871,27 +2434,23 @@ alde_alche,145,19,1 script Chief Researcher#am 57,{ mes "^551A8Bplenty of room in your inventory^000000."; close; } - else { - set ALCH_Q,21; - mes "^666666*Gasp!*^000000 H-horrible!"; - next; - mes "[Nicholas Flamel]"; - mes "Judging from these results, you obviously have a problem with concentrating."; - next; - mes "[Nicholas Flamel]"; - mes "If you can't even solve these easy word puzzles, how can you keep track of your experiments and research?"; - next; - mes "[Nicholas Flamel]"; - mes "Why don't you relax"; - mes "and rest a bit before"; - mes "you take the test again?"; - close; - - } + set ALCH_Q,21; + mes "^666666*Gasp!*^000000 H-horrible!"; + next; + mes "[Nicholas Flamel]"; + mes "Judging from these results, you obviously have a problem with concentrating."; + next; + mes "[Nicholas Flamel]"; + mes "If you can't even solve these easy word puzzles, how can you keep track of your experiments and research?"; + next; + mes "[Nicholas Flamel]"; + mes "Why don't you relax"; + mes "and rest a bit before"; + mes "you take the test again?"; + close; } - else if (ALCH_Q == 22) { - set .@now_weight,MaxWeight-Weight; - if (.@now_weight < 1370) { + if (ALCH_Q == 22) { + if ((MaxWeight - Weight) < 1370) { mes "[Nicholas Flamel]"; mes "Whoa..."; mes "You're carrying too much stuff! First, put some of your things in Kafra Storage."; @@ -1932,7 +2491,7 @@ alde_alche,145,19,1 script Chief Researcher#am 57,{ mes "one piece."; close; } - else if (ALCH_Q == 23) { + if (ALCH_Q == 23) { mes "[Nicholas Flamel]"; mes "Didn't I say to"; mes "go to Juno and help"; @@ -1940,7 +2499,7 @@ alde_alche,145,19,1 script Chief Researcher#am 57,{ mes "their Alchemy research?"; close; } - else if (ALCH_Q == 24) { + if (ALCH_Q == 24) { set ALCH_Q,40; changequest 2038,2039; mes "[Nicholas Flamel]"; @@ -1959,44 +2518,24 @@ alde_alche,145,19,1 script Chief Researcher#am 57,{ mes "All you have to do now is speak to the Union Leader on the 2nd floor! Congratulations, you'll become an Alchemist very soon!"; close; } - else if (ALCH_Q == 40 && BaseJob == Job_Merchant) { + if ((ALCH_Q == 40) && (Class == Job_Baby_Merchant || Class == Job_Merchant)) { mes "[Nicholas Flamel]"; mes "All you have to do now is speak to the Union Leader on the 2nd floor! Congratulations, you'll become an Alchemist very soon!"; close; } - else { - mes "[Nicholas Flamel]"; - mes "Lorem ipsum dolor sit amet,"; - mes "consectetuer adipiscing elit."; - mes "Vivamus sem. Sed metus"; - mes "lacus, viverra id, rutrum eget,"; - mes "rhoncus sit amet, lectus."; - next; - mes "[Nicholas Flamel]"; - mes "Suspendisse sit amet urna in"; - mes "nisl fringilla faucibus. Nulla scelerisque eros..."; - mes "^666666*Mumble Mumble*^000000"; - close; - } + mes "[Nicholas Flamel]"; + mes "Lorem ipsum dolor sit amet,"; + mes "consectetuer adipiscing elit."; + mes "Vivamus sem. Sed metus"; + mes "lacus, viverra id, rutrum eget,"; + mes "rhoncus sit amet, lectus."; + next; + mes "[Nicholas Flamel]"; + mes "Suspendisse sit amet urna in"; + mes "nisl fringilla faucibus. Nulla scelerisque eros..."; + mes "^666666*Mumble Mumble*^000000"; + close; } -//============================================================ -// Old changelog -//============================================================ -//= v1.0 Working. -//= npc/quests/counteragent_mixture.txt Also Needed -//= npc/quests/quests_yuno.txt Also Needed [Darkchild] -//= v1.1 Fixed some minor bugs. Optimized some lines. Re-organized the script a bit. -//= Giving Parmry NPC, Hammer and Old Book now waves the 50000 fee. (based of mRO website) -//= Having a joblvl of 50 allows you to skip Rasputin's test. (based of mRO website) [kobra_k88] -//= 1.2 fixed a few typos (have to hunt more) [Lupus] -//= 1.3 Added Baby Class Support [Lupus] -//= 1.6 Added a func which prevent advanced classes passing -//= 2nd Job Quests again. It also guides adv classes where -//= to go. [Lupus] -//= 1.6a fixed some wrong answers, thanks to zlider for info [Lupus] -//= 2.0 Changed numbers to constants. [Vicious] -//= 2.2 Got rid of 'al_morgen' var. Now uses (MISC_QUEST & 4) [Lupus] -//= 2.3 Optimized, changed job numbers to constants. Fixed some spelling [Lupus] -//= 2.4 Added alternative prizes according to JobLevel [Lupus] -//= 2.4a Fixed 2 wrong answers in Rasputin's test [Lupus] +alde_alche,19,171,0 warp alche#3 1,1,aldebaran,68,56 +alde_alche,42,171,0 warp alche#4 1,1,aldebaran,56,68 \ No newline at end of file -- cgit v1.2.3-60-g2f50