summaryrefslogtreecommitdiff
path: root/npc/re/jobs/1-1/merchant.txt
diff options
context:
space:
mode:
authormasao87 <masao87@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-08-04 21:45:50 +0000
committermasao87 <masao87@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-08-04 21:45:50 +0000
commitb7a88442cefed36b81f80139310061fed10527e1 (patch)
tree685dd907d26abdf44092c0d44a5ee6c89f825bfc /npc/re/jobs/1-1/merchant.txt
parent2e18eabebe80793354d235866bd80be0743e5cbd (diff)
downloadhercules-b7a88442cefed36b81f80139310061fed10527e1.tar.gz
hercules-b7a88442cefed36b81f80139310061fed10527e1.tar.bz2
hercules-b7a88442cefed36b81f80139310061fed10527e1.tar.xz
hercules-b7a88442cefed36b81f80139310061fed10527e1.zip
- 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
Diffstat (limited to 'npc/re/jobs/1-1/merchant.txt')
-rw-r--r--npc/re/jobs/1-1/merchant.txt173
1 files changed, 131 insertions, 42 deletions
diff --git a/npc/re/jobs/1-1/merchant.txt b/npc/re/jobs/1-1/merchant.txt
index 4b7e091f0..5b0b3557c 100644
--- a/npc/re/jobs/1-1/merchant.txt
+++ b/npc/re/jobs/1-1/merchant.txt
@@ -3,17 +3,18 @@
//===== By: ==================================================
//= Kisuka
//===== Current Version: =====================================
-//= 1.0
+//= 1.1
//===== Compatible With: =====================================
//= rAthena SVN
//===== Description: =========================================
//= Job Change to Merchant Class
//===== Additional Comments: =================================
//= 1.0 First Version. [Kisuka]
+//= 1.1 Added Baby job change support. [Masao]
//============================================================
alberta_in,53,43,6 script Merchant#mer 86,{
if (Upper == 1) {
- if (Class == Job_Novice_High && (ADVJOB == Job_Whitesmith || ADVJOB == Job_Creator)) {
+ if ((Class == Job_Novice_High) && (FJOB == Job_Mechanic || FJOB == Job_Genetic)) {
mes "[Chief Mahnsoo]";
mes "Long time no see!";
mes "Hey, you didn't quit";
@@ -36,7 +37,7 @@ alberta_in,53,43,6 script Merchant#mer 86,{
mes "[Chief Mahnsoo]";
mes "I guess it's destiny that we meet like this once more. Alright. Once again, let me change you into a Merchant!";
next;
- skill 143,0,0;
+ skill 143,0,1;
jobchange Job_Merchant_High;
skill 153,1,0;
skill 154,1,0;
@@ -44,34 +45,22 @@ alberta_in,53,43,6 script Merchant#mer 86,{
mes "[Chief Mahnsoo]";
mes "Ah~ How nostalgic. Just like old times! Alright, do your best!";
close;
- }else{
- mes "[Chief Mahnsoo]";
- mes "^333333*Sigh*^000000";
- mes "I'm so bored...";
- mes "When will I hear from my lovely Blossom?";
- close;
}
+ mes "[Chief Mahnsoo]";
+ mes "^333333*Sigh*^000000";
+ mes "I'm so bored...";
+ mes "When will I hear from my lovely Blossom?";
+ close;
}
- mes "[Guildsman Mahnsoo]";
- mes "Hey, why are you here?";
+ mes "[Chief Mahnsoo]";
+ mes "So, what brings you to";
+ mes "the Merchant Association?";
+ mes "Is there anything";
+ mes "I can help you with?";
next;
- switch(select("I want to be a merchant.:I want to know more about merchants.:Ask him the requirements to be a merchant.:Nothing.")) {
+ switch (select("I want to be a Merchant.:Tell me about Merchants.:Tell me the requirements.:Nope.")) {
case 1:
- if(Class != Job_Novice) {
- mes "[Guildsman Mahnsoo]";
- if(Class == Job_Merchant) {
- mes ".....? Sorry? What are you saying?";
- mes "You are already a merchant. Oh my..";
- mes "Huh?! ...Do I need to laugh right now?!";
- }else{
- mes "Ahh? Are you trying to have both ways?";
- mes "How about just giving yourself over to your original job?";
- next;
- mes "[Guildsman Mahnsoo]";
- mes "We have business ethics you know.";
- }
- close;
- }else{
+ if (Class == Job_Baby || Class == Job_Novice) {
mes "[Guildsman Mahnsoo]";
mes "Want to be a merchant? Hmm...";
next;
@@ -81,7 +70,7 @@ alberta_in,53,43,6 script Merchant#mer 86,{
next;
mes "[Guildsman Mahnsoo]";
mes "Don't you think we need to learn some basic skills although we just deal with money?";
- close;
+ close2;
}
mes "[Guildsman Mahnsoo]";
mes "Good, I think you're fully ready for it seeing that your basic skill level is fulfilled.";
@@ -89,37 +78,137 @@ alberta_in,53,43,6 script Merchant#mer 86,{
next;
mes "[Guildsman Mahnsoo]";
mes "Congratulations on becoming a merchant!";
+ next;
+ skill 143,0,1;
+ if(Class == Job_Baby){
+ jobchange Job_Baby_Merchant;
+ } else {
+ jobchange Job_Merchant;
+ }
+ set MERCNT_Q,0;
+ set MERCNT_Q2,0;
+ getitem 1381,1; //N_Battle_Axe
+ mes "[Guildsman Mahnsoo]";
mes "Congratulations again for being a member of the merchant guild and one of our colleagues. I expect your active participation from now on!";
- callfunc "Job_Change",Job_Merchant;
- getitem 1381,1; // N_Battle_Axe
next;
mes "[Guildsman Mahnsoo]";
- mes "Absolutely, we need young people who have passion to achieve our great goal for securing 20% of the worldwide currency volume. You get it? Huh?";
- mes "Well, I'm just saying... it means let's make lots of money in the end. You guys know that~";
+ mes "Absolutely, we need young people who have passion to achieve our great goal for securing 20% of the worldwide currency volume. You get it? Huh? ";
+ mes "Well, I'm just saying... It means let's make lots of money in the end. You guys know that~";
close;
}
+ if (Class == Job_Baby_Merchant || Class == Job_Merchant || Class == Job_Merchant_High) {
+ mes "[Chief Mahnsoo]";
+ mes "Hello there!";
+ mes "How do you like";
+ mes "being a Merchant?";
+ next;
+ mes "[Chief Mahnsoo]";
+ mes "Having a way with";
+ mes "money certainly";
+ mes "has its perks,";
+ mes "does it not?";
+ close;
+ }
+ mes "[Chief Mahnsoo]";
+ mes "We Merchants hate people who are two faced. It's bad for business.";
+ next;
+ mes "[Chief Mahnsoo]";
+ mes "People who always try to take advantage of other people by selling things at a ridiculous price just so they can make money that they'll waste are the worst.";
+ next;
+ mes "[Chief Mahnsoo]";
+ mes "Well, in any case, we only accept Novices for job changes to the Merchant class. But I appreciate your interest in what we do.";
+ close;
case 2:
- mes "[Guildsman Mahnsoo]";
- mes "Merchant? To put it simply, the person who sells good and makes money is a merchant.";
- mes "Not good at fighting and doesn't have special attack/recovery skills... but a merchant can buy things at a low price and then sell them and make money.";
+ mes "[Chief Mahnsoo]";
+ mes "Merchant?";
+ mes "Well, we basically sell goods to make money. That is the way";
+ mes "of the Merchant.";
next;
- mes "[Guildsman Mahnsoo]";
- mes "Well, a merchant has an ultimate skill called Mammonite which strikes an enemy with his/her money... We can equip everything except Bows, Rods, and Two-Handed Swords. But we can always sell and buy those.";
- mes "Yes... we merchants always have money on our minds, got it?";
+ mes "[Chief Mahnsoo]";
+ mes "I guess we may not be the best at fighting, and we don't have many special attacks. We've got no healing skills...";
+ next;
+ mes "[Chief Mahnsoo]";
+ mes "But we can buy goods at lower prices from NPC shops and sell them at a higher price to other people~";
+ next;
+ mes "[Chief Mahnsoo]";
+ mes "Our ultimate attack skill is 'Mammonite.' The strength of Mammonite comes from the anger";
+ mes "when we're forced to throw away perfectly good zeny.";
+ next;
+ mes "[Chief Mahnsoo]";
+ mes "Throwing away zeny like that";
+ mes "causes a deadly rage to well up in the heart of any Merchant!";
+ mes "Just thinking about it";
+ mes "makes my blood boil!";
+ next;
+ mes "[Chief Mahnsoo]";
+ mes "Anyway, we can use most";
+ mes "weapons except Bows, Rods, and Two-Handed Swords. But we can always sell those.";
+ next;
+ mes "[Chief Mahnsoo]";
+ mes "Yes...";
+ mes "We Merchants generally";
+ mes "have money on our minds...";
close;
case 3:
mes "[Guildsman Mahnsoo]";
- mes "To become a merchant, although just selling and receiving money is our job, you must reach at least basic skill level 9.";
+ mes "To become a Merchant,";
+ mes "although just selling and receiving money is our job,";
+ mes "you will need to learn all Basic Skills.";
next;
mes "[Guildsman Mahnsoo]";
- mes "Well, we used to receive a start-up fee before. Wasn't it hard to make that money?";
+ mes "Well, we used to receive a Membership Fee. But was it so hard to make that money?";
mes "There were too many people who couldn't gather that money and kept crying.";
next;
mes "[Guildsman Mahnsoo]";
- mes "So recently, we decided to allow any Novice who wants to be a merchant become one.";
- mes "Because to be alive or not later is all up to one's ability.";
+ mes "So recently, we decided to allow any Novice who wants to be a Merchant become one.";
+ mes "Because staying alive or not, it all rests on your own ability.";
close;
case 4:
close;
}
}
+
+alberta_in,28,29,2 script Merchant Guildsman 83,{
+ if (MERCNT_Q == 0 || MERCNT_Q == 1 || MERCNT_Q == 2) {
+ mes "[Union Staff Kay]";
+ mes "I am sorry, but we don't make deliveries anymore.";
+ mes "Didn't Chief Mahnsoo tell you?";
+ close;
+ }
+ mes "[Union Staff Kay]";
+ mes "Ah, we don't make deliveries anymore.";
+ mes "Too many people cried and kept whining that it's too difficult.";
+ next;
+ mes "[Union Staff Kay]";
+ mes "Well, maybe we will have a few deliveries later.";
+ mes "Anyway, I don't have any work now...";
+ close;
+}
+
+morocc_in,140,102,4 script Student#mer 86,{
+ if (MERCNT_Q == 4 || MERCNT_Q == 3) {
+ mes "[Dyer's Student]";
+ mes "I am sorry, but the Merchant Guild no longer makes deliveries to us anymore.";
+ close;
+ }
+ mes "[Dyer's Student]";
+ mes "Mr. Java Dullihan is the one and only, the best dye maker on the Rune-Midgard continent.";
+ next;
+ mes "[Dyer's Student]";
+ mes "Aaaand I'm proud to say that I'm his student! Someday, I'll be able to make really beautiful dyes too!";
+ next;
+ mes "[Dyer's Student]";
+ mes "Of course, I'm still learning the basics right now, but someday...";
+ close;
+}
+
+geffen_in,155,122,4 script Guild Staff 47,{
+ if (MERCNT_Q == 4 || MERCNT_Q == 3) {
+ mes "[Guild Staff]";
+ mes "I am sorry, but the Merchant Guild no longer makes deliveries to us anymore.";
+ close;
+ }
+ mes "[Guild Staff]";
+ mes "My package should have arrived by now. Huh. I guess the Merchant Guild might be running a little late...";
+ close;
+} \ No newline at end of file