summaryrefslogtreecommitdiff
path: root/npc/merchants/dye_maker.txt
diff options
context:
space:
mode:
authorL0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-06-25 20:22:54 +0000
committerL0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-06-25 20:22:54 +0000
commitb9d1f960e3f6261084b410abc3bd7ec786366480 (patch)
treeaab1d3cce9c9fce1fbfb6dcec56663764c325f5b /npc/merchants/dye_maker.txt
parentd9b39777045e3bcd47e7eb2d6c157be26fb1c34d (diff)
downloadhercules-b9d1f960e3f6261084b410abc3bd7ec786366480.tar.gz
hercules-b9d1f960e3f6261084b410abc3bd7ec786366480.tar.bz2
hercules-b9d1f960e3f6261084b410abc3bd7ec786366480.tar.xz
hercules-b9d1f960e3f6261084b410abc3bd7ec786366480.zip
* Rather large Kafra update. (May need further testing)
- Updated a good portion of the kafra functions. - Added proper dialog for most functions. - Updated guild Kafras and some o f their locations. * Updated all Guide NPCs. They are now mostly 100% official. - Renamed some of the old files to make them look better, IE: yun to juno. - Added Kunlun and Ayotaya guides. * Added the Einbech tool Dealer since it seemed to had gotten lost when I updated shops. * Updated Dye Maker and Hair Dyer to official. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10810 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/merchants/dye_maker.txt')
-rw-r--r--npc/merchants/dye_maker.txt412
1 files changed, 161 insertions, 251 deletions
diff --git a/npc/merchants/dye_maker.txt b/npc/merchants/dye_maker.txt
index e34367421..9e99bdc3d 100644
--- a/npc/merchants/dye_maker.txt
+++ b/npc/merchants/dye_maker.txt
@@ -1,277 +1,187 @@
//===== eAthena Script =======================================
//= Dye Maker
//===== By: ==================================================
-//= kobra_k88
+//= kobra_k88; L0ne_W0lf
//===== Current Version: =====================================
-//= 1.1
+//= 1.2
//===== Compatible With: =====================================
-//= eAthena 7.15 +
+//= eAthena SVN
//===== Description: =========================================
-//=
+//= [Aegis Conversion]
//===== Additional Comments: =================================
//= Fully working
//= 1.1 Spell Checked [Nexon]
+//= 1.2 Rescripted to Aegis 10.3 standard. [L0ne_W0lf]
//============================================================
-
-
-// Dye Maker JavaDullihan =======================
-morocc_in,146,99,2 script Dye Maker JavaDullihan 122,{
- mes "[Dye Maker JavaDullihan]";
- mes "Oh... What a Beautiful day today.";
- mes "This is a perfect day to make Dyestuffs";
+morocc_in,146,99,3 script Java Dullihan 58,{
+ set .@now_weight,MaxWeight-Weight;
+ if (.@now_Weight < 200) {
+ mes "- Wait a moment! -";
+ mes "- Currently you're carrying -";
+ mes "- too many items with you. -";
+ mes "- Please come back later -";
+ mes "- after you put some items into kafra storage. -";
+ close;
+ }
+ mes "[Dye Maker Java Dullihan]";
+ mes "Wow...";
+ mes "Such a nice day. Days like this are perfect to make dyes.";
next;
- menu "-Talk",M_Talk,"-Make Dyestuffs",M_Make,"-Cancel",M_End;
-
- M_Talk:
- mes "[Dye Maker JavaDullihan]";
- mes "I don't have much to say...";
- next;
- mes "[Dye Maker JavaDullihan]";
- mes "But if you want to know about my past, I'm sure I have a few stories to tell.";
- next;
- mes "[Dye Maker JavaDullihan]";
- mes "Would you like to here some?";
+ switch(select("Talk:Make Dyestuffs:Cancel")) {
+ case 1:
+ mes "[Dye Maker Java Dullihan]";
+ mes "Erm, I don't really have much to say to you. But, if you would like me to tell you about my life, I can do that. It's a little long and boring, but would you like to listen?";
next;
- menu "-Sure, why not.",sM_0a,"-Maybe some other time.",sM_0b;
-
- sM_0a:
- mes "[Dye Maker JavaDullihan]";
- mes "My father had been making dyestuffs since I was young... ..";
- mes "I can still picture him making dyestuffs all day long.";
+ if (select("Listen:Don't Listen") == 1) {
+ mes "[Dye Maker Java Dullihan]";
+ mes "As long as I can remember, my father has been making dyes. He used to spend countless hours making dyes of different colors. Even when my mother passed away, he never stopped.";
next;
- mes "[Dye Maker JavaDullihan]";
- mes "Even during the time of my mother's passing, my father kept making dyestuffs without end.";
- mes "This made me angry at him. How could he keep making dyestuffs at a time like that?";
+ mes "[Dye Maker Java Dullihan]";
+ mes "At one point in my life, I became rebellious and ran away from home. I didn't want to be stuck to the family business and wanted to try other things.";
next;
- mes "[Dye Maker JavaDullihan]";
- mes "I just couldn't understand what my father was thinking. I became very disappointed in him.";
- mes "My fathers actions made me despise Dye Making, so I ran away from home. I survived by doing a variety of odd jobs.";
+ mes "[Dye Maker Java Dullihan]";
+ mes "Anyways...";
+ mes "I eventually wound up back home to carry on the family tradition, making dyes for 15 years already. I guess it was really in my blood.";
next;
- mes "[Dye Maker JavaDullihan]";
- mes "However, as you can see, I ended up becoming a Dye Maker just like my father.";
- mes "It's been 15 years since I first started making these goddamn things...";
+ mes "[Dye Maker Java Dullihan]";
+ mes "Something I realized these days is that now I can understand my father. Why my father devoted everything to making dyes...";
next;
- mes "[Dye Maker JavaDullihan]";
- mes "Now that I've been doing this for as long as I have... I think I can finally understand why my father fell in love with his job.";
+ mes "[Dye Maker Java Dullihan]";
+ mes "In the middle of all that tedious and hard work, he probably felt the magic of those colors passing on so many dreams for other people.";
next;
- mes "[Dye Maker JavaDullihan]";
- mes "Why he sacrificed everything he had for this job...";
+ mes "[Dye Maker Java Dullihan]";
+ mes "It was probably for those dreams that he tried so hard to make dyes for his customers...";
next;
- mes "[Dye Maker JavaDullihan]";
- mes "Maybe it was because of how the colors got more and more beautiful each time...";
- mes "Maybe he wanted to find his own perfect color...";
+ mes "[Dye Maker Java Dullihan]";
+ mes "Heh... How do I know this? Well, that's the way I feel right now. Since a couple years ago, I've been able to hear what the colors were saying...";
next;
- mes "[Dye Maker JavaDullihan]";
- mes "I now have his feel for the colors... because... I am working with the same passion he had when he was living.";
- mes "I am able to feel the colors from within my soul. I know it's hard to understand, but you will see what I mean.";
- next;
- mes "[Dye Maker JavaDullihan]";
- mes "Father, I make these dyes for you....";
- close;
-
- sM_0b:
- mes "[Dye Maker JavaDullihan]";
- mes "Hahahaha... I guess I can't blame ya, who wants to here about a plain old dye maker's life anyhow.... Hahahaha...";
+ mes "[Dye Maker Java Dullian]";
+ mes "Just watch. Someday, I'm going to succeed in making the color my father wanted to, but never got the chance to make.";
close;
+ }
+ mes "[Dye Maker Java Dullihan]";
+ mes "Ahahahaha...";
+ mes "Well, I guess no one would want to listen to a measly dyemaker's story anyway. Hahaha....";
+ close;
- M_Make:
- mes "[Dye Maker JavaDullihan]";
- mes "Alright! I will make the exact color you want. The cost of the dyestuff will depend on its quality.";
- mes "Don't not be itimitaded by the prices, they are all my Masterpieces.";
+ case 2:
+ mes "[Dye Maker Java Dullihan]";
+ mes "Great! If you want it, I'll make it for you. I promise I'll make you the color you want. But what color dye would you like to make? The fee is different depending on the color.";
next;
- mes "[Dye Maker JavaDullihan]";
- mes "So what color do you want?";
+ mes "[Dye Maker Java Dullihan]";
+ mes "Why, do you ask? Just remember that there are colors that are easy to make, and those that require more effort and work. Please don't think the fee is too expensive.";
next;
- menu "-Scarlet Dyestuffs",sM_Scarlet, "-Lemon Dyestuffs",sM_Lemon, "-Cobaltblue Dyestuffs",sM_Cobaltblue,
- "-Darkgreen Dyestuffs",sM_Darkgreen, "-Orange Dyestuffs",sM_Orange, "-Violet Dyestuffs",sM_Violet,
- "-White Dyestuffs",sM_White, "-Black Dyestuffs",sM_Black;
-
- sM_Scarlet:
- mes "[Dye Maker JavaDullihan]";
- mes "Hmm... To make a Scarlet Dyestuffs, I need ^0000ff30 Red Herbs, 1 Counteragent and 1 Empty Bottle^000000.";
- mes "The cost of labor will be 3000 Zeny. Are you still interested?";
- next;
- menu "Make Dyestuffs",sm_Make0, "Cancel",sm_Cancel;
-
- sm_Make0:
- mes "[Dye Maker JavaDullihan]";
- if((countitem(507) < 30) || (countitem(973) < 1) || (countitem(713) < 1)) goto sl_LowItems;
- if(Zeny < 3000) goto sl_LowZeny;
- set Zeny, Zeny - 3000;
- delitem 507,30;
- delitem 973,1;
- delitem 713,1;
- getitem 975,1;
- mes "Missing text.";
- mes "Under development";
- close;
-
- sM_Lemon:
- mes "[Dye Maker JavaDullihan]";
- mes "Um... to make a Lemon Dyestuffs I need ^0000ff30 Yellow Herbs, 1 Counteragent, and 1 Empty Bottle^000000.";
- mes "The cost of labor will be 3000 Zeny. Are you still interested?";
- next;
- menu "Make Dyestuffs",sm_Make1,"Cancel",sm_Cancel;
-
- sm_Make1:
- mes "[Dye Maker JavaDullihan]";
- if((countitem(508) < 30) || (countitem(973) < 1) || (countitem(713) < 1)) goto sl_LowItems;
- if(Zeny < 3000) goto sl_LowZeny;
- mes "Missing text.";
- mes "Under development";
- delitem 508,30;
- delitem 973,1;
- delitem 713,1;
- set Zeny, Zeny - 3000;
- getitem 976,1;
- close;
-
- sM_Cobaltblue:
- mes "[Dye Maker JavaDullihan]";
- mes "Hmm... To make a Cobaltblue Dyestuffs, I need ^0000ff20 Blue Herbs, 1 Counteragent, and 1 Empty Bottle^000000.";
- mes "Blue Herbs are a little bit difficult to work with, so the cost of labor will be 3500 Zeny. Are you still interested?";
- next;
- menu "Make Dyestuffs",sm_Make2,"Cancel",sm_Cancel;
-
- sm_Make2:
- mes "[Dye Maker JavaDullihan]";
- if((countitem(510) < 20) || (countitem(973) < 1) || (countitem(713) < 1)) goto sl_LowItems;
- if(Zeny < 3500) goto sl_LowZeny;
- mes "Missing text.";
- mes "Under development";
- delitem 510,20;
- delitem 973,1;
- delitem 713,1;
- set Zeny, Zeny - 3500;
- getitem 978,1;
- close;
-
- sM_Darkgreen:
- mes "[Dye Maker JavaDullihan]";
- mes "Hmm... To make a Darkgreen Dyestuffs, I need ^0000ff5 Blue Herbs, 20 Green Herbs, 20 Yellow Herbs, 1 Counteragent, 1 Mixture, and 1 Empty Bottle^000000.";
- mes "There are a lot of ingredients so please try to remember them all. The cost of labore will be 5000 Zeny. Are you still interested?";
- mes "Ok are you ready?";
- next;
- menu "Make Dyestuffs",sm_Make3,"Cancel",sm_Cancel;
-
- sm_Make3:
- mes "[Dye Maker JavaDullihan]";
- if((countitem(510) < 5) || (countitem(511) < 20) || (countitem(508) < 20) || (countitem(973) < 1) || (countitem(974) < 1) || (countitem(713)<1)) goto sl_LowItems;
- if(Zeny < 5000) goto sl_LowZeny;
- mes "Missing text.";
- mes "Under development";
- delitem 510,5;
- delitem 511,20;
- delitem 508,20;
- delitem 973,1;
- delitem 974,1;
- delitem 713,1;
- set Zeny, Zeny - 5000;
- getitem 979,1;
- close;
-
- sM_Orange:
- mes "[Dye Maker JavaDullihan]";
- mes "Hmm... To make a Orange Dyestuffs, I need ^0000ff20 Red Herbs, 20 Yellow Herbs, 1 Counteragent, 1 Mixture, and 1 Empty Bottle^000000.";
- mes "The cost of labor is 5000 Zeny. Are you still interested?";
- next;
- menu "Make Dyestuffs",sm_Make4,"Cancel",sm_Cancel;
-
- sm_Make4:
- mes "[Dye Maker JavaDullihan]";
- if((countitem(507) < 20) || (countitem(508) < 20) || (countitem(973) < 1) || (countitem(974) < 1) || (countitem(713) < 1)) goto sl_LowItems;
- if(Zeny < 5000) goto sl_LowZeny;
- mes "Missing text.";
- mes "Under development";
- delitem 507,20;
- delitem 508,20;
- delitem 973,1;
- delitem 974,1;
- delitem 713,1;
- set Zeny, Zeny - 5000;
- getitem 980,1;
- close;
-
- sM_Violet:
- mes "[Dye Maker JavaDullihan]";
- mes "Hmm... To make a Violet Dyestuffs, I need ^0000ff10 Blue Herbs, 30 Red Herbs, 1 Counteragent, 1 Mixture, and 1 Empty Bottle^000000.";
- mes "The cost of labor will be 5000 Zeny. Are you still interested?";
- next;
- menu "Make Dyestuffs",sm_Make5,"Cancel",sm_Cancel;
-
- sm_Make5:
- mes "[Dye Maker JavaDullihan]";
- if((countitem(510) < 10) || (countitem(507) < 20) || (countitem(973) < 1) || (countitem(974) < 1) || (countitem(713) < 1)) goto sl_LowItems;
- if(Zeny < 5000) goto sl_LowZeny;
- mes "Missing text.";
- mes "Under development";
- delitem 510,10;
- delitem 507,20;
- delitem 973,1;
- delitem 974,1;
- delitem 713,1;
- set Zeny, Zeny - 5000;
- getitem 981,1;
- close;
-
- sM_White:
- mes "[Dye Maker JavaDullihan]";
- mes "Umm... To make a White Dyestuffs, I need ^0000ff30 White Herbs, 1 Counteragent, and 1 Empty Bottle^000000.";
- mes "The cost of labor will be 3000 Zeny. Are you still interested?";
- next;
- menu "Make Dyestuffs",sm_Make6,"Cancel",sm_Cancel;
-
- sm_Make6:
- mes "[Dye Maker JavaDullihan]";
- if((countitem(509) < 30) || (countitem(973) < 1) || (countitem(713) < 1)) goto sl_LowItems;
- if(Zeny < 3000) goto sl_LowZeny;
- mes "Missing text.";
- mes "Under development";
- delitem 509,30;
- delitem 973,1;
- delitem 713,1;
- set Zeny, Zeny - 3000;
- getitem 982,1;
- close;
-
- sM_Black:
- mes "[Dye Maker JavaDullihan]";
- mes "Hmm... To make a Black Dyestuffs, I need ^0000ff30 Red, Yellow, and Green Herbs, 5 Blue Herbs, 1 Counteragent, 1 Mixture, and 1 Empty Bottle^000000.";
- mes "This is the most difficult and time consuming dye to make, so I will have to charge a 7000 Zeny labor fee. Are you still interested?";
- next;
- menu "Make Dyestuffs",sm_Make7,"Cancel",sm_Cancel;
-
- sm_Make7:
- mes "[Dye Maker JavaDullihan]";
- if((countitem(507) < 30) || (countitem(508) < 30) || (countitem(511) < 30) || (countitem(510) < 5) || (countitem(973) < 1) || (countitem(974) < 1) || (countitem(713)<1)) goto sl_LowItems;
- if(Zeny < 7000) goto sl_LowZeny;
- mes "Missing text.";
- mes "Under development";
- delitem 507,30;
- delitem 508,30;
- delitem 511,30;
- delitem 510,5;
- delitem 973,1;
- delitem 974,1;
- delitem 713,1;
- set Zeny, Zeny - 7000;
- getitem 983,1;
- close;
-
-
- sl_LowItems:
- mes "Hmm... you don't have enough of the items needed for the dyestuffs. Come back when you do.";
- close;
-
- sl_LowZeny:
- mes "You don't have enough zeny. I need to make a living ya know....";
- close;
+ mes "[Dye Maker Java Dullihan]";
+ mes "The color of the dye is special, made with all my heart and soul.";
+ next;
+ switch(select("Scarlet Dyestuffs:Lemon Dyestuffs:Cobaltblue Dyestuffs:Darkgreen Dyestuffs:Orange Dyestuffs:Violet Dyestuffs:White Dyestuffs:Black Dyestuffs:Cancel")) {
+ case 1: callsub S_MakeDye,1,1; break;
+ case 2: callsub S_MakeDye,2,1; break;
+ case 3: callsub S_MakeDye,3,2; break;
+ case 4: callsub S_MakeDye,4,3; break;
+ case 5: callsub S_MakeDye,5,4; break;
+ case 6: callsub S_MakeDye,6,4; break;
+ case 7: callsub S_MakeDye,7,4; break;
+ case 8: callsub S_MakeDye,8,4; break;
+ case 9:
+ mes "[Dye Maker Java Dullihan]";
+ mes "Eeeehhhh!! What's this? You change your mind now!? So disappointing...";
+ close;
+ }
- sm_Cancel:
- mes "[Dye Maker JavaDullihan]";
- mes "How could you have change your mind so quickly?... oh boy...";
- close;
- M_End:
+ case 3:
+ mes "[Dye Maker Java Dullihan]";
+ mes "I'm not bragging or anything. But I have the skills to make dyestuff. If you ever need dyestuff, please come to me. I'll make them for you at a reasonable price.";
+ close;
+ }
+
+S_MakeDye:
+ mes "[Dye Maker Java Dullihan]";
+ switch(getarg(0)) {
+ case 1:
+ mes "Mmm... I need 30 Red Herbs, 1 Counteragent, and 1 Empty Bottle to make Red Dyestuffs. The fee is only 3000 zeny to make it.";
+ setarray .@items[0], 507,30, 0,0, 0,0, 0,0, 0,0;
+ set .@cost,3000;
+ set .@dyestuff,975;
+ break;
+ case 2:
+ mes "Mmm... I need 30 Yellow Herbs, 1 Couneragent, and 1 Empty Bottle to make Lemon Dyestuffs. The fee is only 3000 zeny to make it.";
+ setarray .@items[0], 508,30, 0,0, 0,0, 0,0, 0,0;
+ set .@cost,3000;
+ set .@dyestuff,976;
+ break;
+ case 3:
+ mes "Mmm... I need 20 Blue Herbs, 1 Counteragent, and 1 Empty Bottle to make Cobaltblue Dyestuff. It's hard to use the Blue Herb, so the fee is going to be 3500 zeny.";
+ setarray .@items[0], 510,20, 0,0, 0,0, 0,0, 0,0;
+ set .@cost,3500;
+ set .@dyestuff,978;
+ break;
+ case 4:
+ mes "Mmm... I need 5 Blue Herbs, 20 Green Herbs, 20 Yellow Herbs, 1 Counteragent, 1 Mixture, and 1 Empty Bottle to make Darkgreen Dyestuffs. Don't get all of the materials confused. The fee is only 5000 zeny.";
+ setarray .@items[0], 510,5, 511,20, 508,20, 974,1, 0,0;
+ set .@cost,5000;
+ set .@dyestuff,979;
+ break;
+ case 5:
+ mes "Mmm... I need 20 Red Herbs, 20 Yellow Herbs, 1 Counteragent, 1 Mixture, and 1 Empty Bottle to make Orange Dyestuff. The fee is going to be 5000 zeny.";
+ setarray .@items[0], 507,20, 508,20, 974,1, 0,0, 0,0;
+ set .@cost,5000;
+ set .@dyestuff,980;
+ break;
+ case 6:
+ mes "Mmm... I need 10 Blue Herbs, 30 Red Herbs, 1 Counteragent, 1 Mixture, and 1 Empty Bottle to make Violet Dyestuffs. The fee will be 5000 zeny.";
+ setarray .@items[0], 510,10, 507,30, 974,1, 0,0, 0,0;
+ set .@cost,5000;
+ set .@dyestuff,981;
+ break;
+ case 7:
+ mes "Mmm... I need 30 White Herbs, 1 Counteragent, and 1 Empty bottle to make White Dyestuffs. The fee will be 3000 zeny.";
+ setarray .@items[0], 509,30, 0,0, 0,0, 0,0, 0,0;
+ set .@cost,3000;
+ set .@dyestuff,982;
+ break;
+ case 8:
+ mes "Mmm... I need 30 of each Red, Yellow, and Green Herb, 5 Blue Herbs, 1 Counteragent, 1 Mixture, and 1 Empty Bottle. The process takes longer and more effort than the others, so it is going to be 7000 zeny.";
+ setarray .@items[0], 507,30, 508,30, 511,30, 510,5, 974,1;
+ set .@cost,7000;
+ set .@dyestuff,983;
+ break;
+ }
+ next;
+ mes "[Dye Maker Java Dullihan]";
+ switch(getarg(1)) {
+ case 1: mes "Ah! I think you would have everything ready. Would you like to start the process?"; break;
+ case 2: mes "Okay! I believe you would have everything ready. Would you like to start the process?"; break;
+ case 3: mes "Okay! I believe you would have everything ready. Shall we begin the process?"; break;
+ case 4: mes "Okay! I believe you would have everything prepared. Would you like to start the process?"; break;
+ }
+ next;
+ if (select("Make Dyestuffs:Cancel") == 1) {
+ if (.@item[0] < .@item[1] || .@item[2] < .@item[3] || .@item[4] < .@item[5] || .@item[6] < .@item[7] || .@item[8] < .@item[9] || countitem(973)== 0 || countitem(713) == 0 || Zeny < .@cost) {
+ mes "[Dye Maker Java Dullihan]";
+ mes "Hmmm. Not enough...";
+ mes "I don't think I'll be able to make the color you want with those materials. Why don't you go get some more materials...?";
+ close;
+ }
+ delitem .@item[0],.@item[1];
+ delitem .@item[2],.@item[3];
+ delitem .@item[4],.@item[5];
+ delitem .@item[6],.@item[7];
+ delitem .@item[8],.@item[9];
+ delitem 973,1; //Counteragent
+ delitem 713,1; //Empty Bottle
+ set zeny,zeny-.@cost;
+ getitem .@dyestuff,1;
+ mes "[Dye Maker Java Dullihan]";
+ mes "Hmm... It came out pretty well. A very rich color. Of course I'll be trying harder to make a more charming color...";
+ next;
+ mes "[Dye Maker Java Dullihan]";
+ mes "Well, then. Stop by whenever you need more dyes.";
close;
-}
+ }
+ mes "[Dye Maker Java Dullihan]";
+ mes "Eeeehhhh!! What's this?";
+ mes "You change your mind now!? So disappointing...";
+ return;
+} \ No newline at end of file