Kiritoryu Posted January 7, 2013 Group: Members Topic Count: 22 Topics Per Day: 0.00 Content Count: 59 Reputation: 0 Joined: 12/13/12 Last Seen: June 20, 2013 Share Posted January 7, 2013 Can i have an awesome dye-stuff npc please ? Which can make more then 1 dyestuff at a time? Quote Link to comment Share on other sites More sharing options...
1 Capuche Posted January 7, 2013 Group: Developer Topic Count: 10 Topics Per Day: 0.00 Content Count: 2407 Reputation: 616 Joined: 07/05/12 Last Seen: March 20 Share Posted January 7, 2013 (edited) or use my dye_maker changed Well It's free so do as your please morocc_in,146,99,3 script Java Dullihan 58,{ //- multi dyestuff 0/1 - disabled/enabled .multi = 1; //- if ((MaxWeight-Weight) < 200 || checkweight(1201,1) == 0) { 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; 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; 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 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 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 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 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 Java Dullihan]"; mes "It was probably for those dreams that he tried so hard to make dyes for his customers..."; next; 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 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; 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 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; mes "[Dye Maker Java Dullihan]"; mes "The color of the dye is special, made with all my heart and soul."; next; switch( select( .@a$ = "Scarlet Dyestuffs:Lemon Dyestuffs:Cobaltblue Dyestuffs:Darkgreen Dyestuffs:Orange Dyestuffs:Violet Dyestuffs:White Dyestuffs:Black Dyestuffs:Cancel" )) { case 1: callsub S_MakeDye,1,1,.@a$; break; case 2: callsub S_MakeDye,2,1,.@a$; break; case 3: callsub S_MakeDye,3,2,.@a$; break; case 4: callsub S_MakeDye,4,3,.@a$; break; case 5: callsub S_MakeDye,5,4,.@a$; break; case 6: callsub S_MakeDye,6,4,.@a$; break; case 7: callsub S_MakeDye,7,4,.@a$; break; case 8: callsub S_MakeDye,8,4,.@a$; break; case 9: mes "[Dye Maker Java Dullihan]"; mes "Eeeehhhh!! What's this? You change your mind now!? So disappointing..."; close; } 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]"; if ( .multi ) { explode(.@b$, getarg(2), ":"); mes "How must ^FF0000"+ .@b$[ @menu-1 ] +"^000000 do you want to do ?"; if( input( .@n, 1, 100000) != 0 ) { mes "Sorry, wrong value."; close; } } else .@n = 1; switch(getarg(0)) { case 1: setarray .@count[0], 30*.@n, 1*.@n, 1*.@n; set .@cost,3000*.@n; mes "Mmm... I need "+.@count[0]+" Red Herbs, "+.@count[1]+" Counteragent, and "+.@count[2]+" Empty Bottle to make Red Dyestuffs. The fee is only "+.@cost+" zeny to make it."; setarray .@item[0], 507, 973, 713; set .@dyestuff,975; break; case 2: setarray .@count[0], 30*.@n, 1*.@n, 1*.@n; set .@cost,3000*.@n; mes "Mmm... I need "+.@count[0]+" Yellow Herbs, "+.@count[1]+" Couneragent, and "+.@count[2]+" Empty Bottle to make Lemon Dyestuffs. The fee is only "+.@cost+" zeny to make it."; setarray .@item[0], 508, 973, 713; set .@dyestuff,976; break; case 3: setarray .@count[0], 20*.@n, 1*.@n, 1*.@n; set .@cost,3500*.@n; mes "Mmm... I need "+.@count[0]+" Blue Herbs, "+.@count[1]+" Counteragent, and "+.@count[2]+" Empty Bottle to make Cobaltblue Dyestuff. It's hard to use the Blue Herb, so the fee is going to be "+.@cost+" zeny."; setarray .@item[0], 510, 973, 713; set .@dyestuff,978; break; case 4: setarray .@count[0], 5*.@n, 20*.@n, 20*.@n, 1*.@n, 1*.@n, 1*.@n; set .@cost,5000*.@n; mes "Mmm... I need "+.@count[0]+" Blue Herbs, "+.@count[1]+" Green Herbs, "+.@count[2]+" Yellow Herbs, "+.@count[3]+" Counteragent, "+.@count[4]+" Mixture, and "+.@count[5]+" Empty Bottle to make Darkgreen Dyestuffs. Don't get all of the materials confused. The fee is only "+.@cost+" zeny."; setarray .@item[0], 510, 511, 508, 974, 973, 713; set .@dyestuff,979; break; case 5: setarray .@count[0], 20*.@n, 20*.@n, 1*.@n, 1*.@n, 1*.@n; set .@cost,5000*.@n; mes "Mmm... I need "+.@count[0]+" Red Herbs, "+.@count[1]+" Yellow Herbs, "+.@count[2]+" Counteragent, "+.@count[3]+" Mixture, and "+.@count[4]+" Empty Bottle to make Orange Dyestuff. The fee is going to be "+.@cost+" zeny."; setarray .@item[0], 507, 508, 974, 973, 713; set .@dyestuff,980; break; case 6: setarray .@count[0], 10*.@n, 30*.@n, 1*.@n, 1*.@n, 1*.@n; set .@cost,5000*.@n; mes "Mmm... I need "+.@count[0]+" Blue Herbs, "+.@count[1]+" Red Herbs, "+.@count[2]+" Counteragent, "+.@count[3]+" Mixture, and "+.@count[4]+" Empty Bottle to make Violet Dyestuffs. The fee will be "+.@cost+" zeny."; setarray .@item[0], 510, 507, 974, 973, 713; set .@dyestuff,981; break; case 7: setarray .@count[0], 30*.@n, 1*.@n, 1*.@n; set .@cost,3000*.@n; mes "Mmm... I need "+.@count[0]+" White Herbs, "+.@count[1]+" Counteragent, and "+.@count[2]+" Empty bottle to make White Dyestuffs. The fee will be "+.@cost+" zeny."; setarray .@item[0], 509, 973, 713; set .@dyestuff,982; break; case 8: setarray .@count[0], 30*.@n, 30*.@n, 30*.@n, 5*.@n, 1*.@n, 1*.@n, 1*.@n; set .@cost,7000*.@n; mes "Mmm... I need "+.@count[0]+" of each Red, Yellow, and Green Herb, "+.@count[3]+" Blue Herbs, "+.@count[4]+" Counteragent, "+.@count[5]+" Mixture, and "+.@count[6]+" Empty Bottle. The process takes longer and more effort than the others, so it is going to be "+.@cost+" zeny."; setarray .@item[0], 507, 508, 511, 510, 974, 973, 713; 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) { set .@size, getarraysize(.@item); // check requirements for( set .@i,0 ; .@i < .@size ; set .@i,.@i+1 ) if( countitem(.@item[.@i]) < .@count[.@i] ) break; if( .@i < .@size || 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; } // delete items for (set .@i, 0; .@i < .@size ; set .@i, .@i+1) delitem .@item[.@i], .@count[.@i]; set zeny,zeny-.@cost; // get dyestuff getitem .@dyestuff,.@n; 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; } Edited January 7, 2013 by Capuche 3 Quote Link to comment Share on other sites More sharing options...
0 peculiarro Posted May 23, 2017 Group: Members Topic Count: 14 Topics Per Day: 0.00 Content Count: 46 Reputation: 0 Joined: 05/17/17 Last Seen: June 10, 2017 Share Posted May 23, 2017 On 1/7/2013 at 2:44 PM, Capuche said: or use my dye_maker changed Well It's free so do as your please morocc_in,146,99,3 script Java Dullihan 58,{ //- multi dyestuff 0/1 - disabled/enabled .multi = 1; //- if ((MaxWeight-Weight) < 200 || checkweight(1201,1) == 0) { 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; 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; 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 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 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 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 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 Java Dullihan]"; mes "It was probably for those dreams that he tried so hard to make dyes for his customers..."; next; 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 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; 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 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; mes "[Dye Maker Java Dullihan]"; mes "The color of the dye is special, made with all my heart and soul."; next; switch( select( .@a$ = "Scarlet Dyestuffs:Lemon Dyestuffs:Cobaltblue Dyestuffs:Darkgreen Dyestuffs:Orange Dyestuffs:Violet Dyestuffs:White Dyestuffs:Black Dyestuffs:Cancel" )) { case 1: callsub S_MakeDye,1,1,.@a$; break; case 2: callsub S_MakeDye,2,1,.@a$; break; case 3: callsub S_MakeDye,3,2,.@a$; break; case 4: callsub S_MakeDye,4,3,.@a$; break; case 5: callsub S_MakeDye,5,4,.@a$; break; case 6: callsub S_MakeDye,6,4,.@a$; break; case 7: callsub S_MakeDye,7,4,.@a$; break; case 8: callsub S_MakeDye,8,4,.@a$; break; case 9: mes "[Dye Maker Java Dullihan]"; mes "Eeeehhhh!! What's this? You change your mind now!? So disappointing..."; close; } 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]"; if ( .multi ) { explode(.@b$, getarg(2), ":"); mes "How must ^FF0000"+ .@b$[ @menu-1 ] +"^000000 do you want to do ?"; if( input( .@n, 1, 100000) != 0 ) { mes "Sorry, wrong value."; close; } } else .@n = 1; switch(getarg(0)) { case 1: setarray .@count[0], 30*.@n, 1*.@n, 1*.@n; set .@cost,3000*.@n; mes "Mmm... I need "+.@count[0]+" Red Herbs, "+.@count[1]+" Counteragent, and "+.@count[2]+" Empty Bottle to make Red Dyestuffs. The fee is only "+.@cost+" zeny to make it."; setarray .@item[0], 507, 973, 713; set .@dyestuff,975; break; case 2: setarray .@count[0], 30*.@n, 1*.@n, 1*.@n; set .@cost,3000*.@n; mes "Mmm... I need "+.@count[0]+" Yellow Herbs, "+.@count[1]+" Couneragent, and "+.@count[2]+" Empty Bottle to make Lemon Dyestuffs. The fee is only "+.@cost+" zeny to make it."; setarray .@item[0], 508, 973, 713; set .@dyestuff,976; break; case 3: setarray .@count[0], 20*.@n, 1*.@n, 1*.@n; set .@cost,3500*.@n; mes "Mmm... I need "+.@count[0]+" Blue Herbs, "+.@count[1]+" Counteragent, and "+.@count[2]+" Empty Bottle to make Cobaltblue Dyestuff. It's hard to use the Blue Herb, so the fee is going to be "+.@cost+" zeny."; setarray .@item[0], 510, 973, 713; set .@dyestuff,978; break; case 4: setarray .@count[0], 5*.@n, 20*.@n, 20*.@n, 1*.@n, 1*.@n, 1*.@n; set .@cost,5000*.@n; mes "Mmm... I need "+.@count[0]+" Blue Herbs, "+.@count[1]+" Green Herbs, "+.@count[2]+" Yellow Herbs, "+.@count[3]+" Counteragent, "+.@count[4]+" Mixture, and "+.@count[5]+" Empty Bottle to make Darkgreen Dyestuffs. Don't get all of the materials confused. The fee is only "+.@cost+" zeny."; setarray .@item[0], 510, 511, 508, 974, 973, 713; set .@dyestuff,979; break; case 5: setarray .@count[0], 20*.@n, 20*.@n, 1*.@n, 1*.@n, 1*.@n; set .@cost,5000*.@n; mes "Mmm... I need "+.@count[0]+" Red Herbs, "+.@count[1]+" Yellow Herbs, "+.@count[2]+" Counteragent, "+.@count[3]+" Mixture, and "+.@count[4]+" Empty Bottle to make Orange Dyestuff. The fee is going to be "+.@cost+" zeny."; setarray .@item[0], 507, 508, 974, 973, 713; set .@dyestuff,980; break; case 6: setarray .@count[0], 10*.@n, 30*.@n, 1*.@n, 1*.@n, 1*.@n; set .@cost,5000*.@n; mes "Mmm... I need "+.@count[0]+" Blue Herbs, "+.@count[1]+" Red Herbs, "+.@count[2]+" Counteragent, "+.@count[3]+" Mixture, and "+.@count[4]+" Empty Bottle to make Violet Dyestuffs. The fee will be "+.@cost+" zeny."; setarray .@item[0], 510, 507, 974, 973, 713; set .@dyestuff,981; break; case 7: setarray .@count[0], 30*.@n, 1*.@n, 1*.@n; set .@cost,3000*.@n; mes "Mmm... I need "+.@count[0]+" White Herbs, "+.@count[1]+" Counteragent, and "+.@count[2]+" Empty bottle to make White Dyestuffs. The fee will be "+.@cost+" zeny."; setarray .@item[0], 509, 973, 713; set .@dyestuff,982; break; case 8: setarray .@count[0], 30*.@n, 30*.@n, 30*.@n, 5*.@n, 1*.@n, 1*.@n, 1*.@n; set .@cost,7000*.@n; mes "Mmm... I need "+.@count[0]+" of each Red, Yellow, and Green Herb, "+.@count[3]+" Blue Herbs, "+.@count[4]+" Counteragent, "+.@count[5]+" Mixture, and "+.@count[6]+" Empty Bottle. The process takes longer and more effort than the others, so it is going to be "+.@cost+" zeny."; setarray .@item[0], 507, 508, 511, 510, 974, 973, 713; 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) { set .@size, getarraysize(.@item); // check requirements for( set .@i,0 ; .@i < .@size ; set .@i,.@i+1 ) if( countitem(.@item[.@i]) < .@count[.@i] ) break; if( .@i < .@size || 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; } // delete items for (set .@i, 0; .@i < .@size ; set .@i, .@i+1) delitem .@item[.@i], .@count[.@i]; set zeny,zeny-.@cost; // get dyestuff getitem .@dyestuff,.@n; 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; } Hi sir, may I request multi mixtures as well? Quote Link to comment Share on other sites More sharing options...
Euphy Posted January 7, 2013 Group: Members Topic Count: 72 Topics Per Day: 0.02 Content Count: 2997 Reputation: 1132 Joined: 05/27/12 Last Seen: June 1, 2017 Share Posted January 7, 2013 You can use my quest shop: trunk/npc/custom/quests/quest_shop.txt // Change Add(1,...) to your shop number. Add(1,975,1,3000,0,507,30,973,1,713,1); Add(1,976,1,3000,0,508,30,973,1,713,1); Add(1,978,1,3500,0,510,20,973,1,713,1); Add(1,979,1,5000,0,510,5,511,20,508,20,973,1,974,1,713,1); Add(1,980,1,5000,0,507,20,508,20,973,1,974,1,713,1); Add(1,981,1,5000,0,510,10,507,30,973,1,974,1,713,1); Add(1,982,1,3000,0,509,30,973,1,713,1); Add(1,983,1,7000,0,507,30,508,30,511,30,510,5,973,1,974,1,713,1); Quote Link to comment Share on other sites More sharing options...
Kiritoryu Posted January 8, 2013 Group: Members Topic Count: 22 Topics Per Day: 0.00 Content Count: 59 Reputation: 0 Joined: 12/13/12 Last Seen: June 20, 2013 Author Share Posted January 8, 2013 (edited) You can use my quest shop: trunk/npc/custom/quests/quest_shop.txt // Change Add(1,...) to your shop number. Add(1,975,1,3000,0,507,30,973,1,713,1); Add(1,976,1,3000,0,508,30,973,1,713,1); Add(1,978,1,3500,0,510,20,973,1,713,1); Add(1,979,1,5000,0,510,5,511,20,508,20,973,1,974,1,713,1); Add(1,980,1,5000,0,507,20,508,20,973,1,974,1,713,1); Add(1,981,1,5000,0,510,10,507,30,973,1,974,1,713,1); Add(1,982,1,3000,0,509,30,973,1,713,1); Add(1,983,1,7000,0,507,30,508,30,511,30,510,5,973,1,974,1,713,1); It says i cant purchase that many While i got the item. and only buying 1 o.o Would like to learn to use your script :DD or use my dye_maker changed Well It's free so do as your please morocc_in,146,99,3 script Java Dullihan 58,{ //- multi dyestuff 0/1 - disabled/enabled .multi = 1; //- if ((MaxWeight-Weight) < 200 || checkweight(1201,1) == 0) { 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; 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; 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 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 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 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 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 Java Dullihan]"; mes "It was probably for those dreams that he tried so hard to make dyes for his customers..."; next; 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 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; 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 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; mes "[Dye Maker Java Dullihan]"; mes "The color of the dye is special, made with all my heart and soul."; next; switch( select( .@a$ = "Scarlet Dyestuffs:Lemon Dyestuffs:Cobaltblue Dyestuffs:Darkgreen Dyestuffs:Orange Dyestuffs:Violet Dyestuffs:White Dyestuffs:Black Dyestuffs:Cancel" )) { case 1: callsub S_MakeDye,1,1,.@a$; break; case 2: callsub S_MakeDye,2,1,.@a$; break; case 3: callsub S_MakeDye,3,2,.@a$; break; case 4: callsub S_MakeDye,4,3,.@a$; break; case 5: callsub S_MakeDye,5,4,.@a$; break; case 6: callsub S_MakeDye,6,4,.@a$; break; case 7: callsub S_MakeDye,7,4,.@a$; break; case 8: callsub S_MakeDye,8,4,.@a$; break; case 9: mes "[Dye Maker Java Dullihan]"; mes "Eeeehhhh!! What's this? You change your mind now!? So disappointing..."; close; } 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]"; if ( .multi ) { explode(.@b$, getarg(2), ":"); mes "How must ^FF0000"+ .@b$[ @menu-1 ] +"^000000 do you want to do ?"; if( input( .@n, 1, 100000) != 0 ) { mes "Sorry, wrong value."; close; } } else .@n = 1; switch(getarg(0)) { case 1: setarray .@count[0], 30*.@n, 1*.@n, 1*.@n; set .@cost,3000*.@n; mes "Mmm... I need "+.@count[0]+" Red Herbs, "+.@count[1]+" Counteragent, and "+.@count[2]+" Empty Bottle to make Red Dyestuffs. The fee is only "+.@cost+" zeny to make it."; setarray .@item[0], 507, 973, 713; set .@dyestuff,975; break; case 2: setarray .@count[0], 30*.@n, 1*.@n, 1*.@n; set .@cost,3000*.@n; mes "Mmm... I need "+.@count[0]+" Yellow Herbs, "+.@count[1]+" Couneragent, and "+.@count[2]+" Empty Bottle to make Lemon Dyestuffs. The fee is only "+.@cost+" zeny to make it."; setarray .@item[0], 508, 973, 713; set .@dyestuff,976; break; case 3: setarray .@count[0], 20*.@n, 1*.@n, 1*.@n; set .@cost,3500*.@n; mes "Mmm... I need "+.@count[0]+" Blue Herbs, "+.@count[1]+" Counteragent, and "+.@count[2]+" Empty Bottle to make Cobaltblue Dyestuff. It's hard to use the Blue Herb, so the fee is going to be "+.@cost+" zeny."; setarray .@item[0], 510, 973, 713; set .@dyestuff,978; break; case 4: setarray .@count[0], 5*.@n, 20*.@n, 20*.@n, 1*.@n, 1*.@n, 1*.@n; set .@cost,5000*.@n; mes "Mmm... I need "+.@count[0]+" Blue Herbs, "+.@count[1]+" Green Herbs, "+.@count[2]+" Yellow Herbs, "+.@count[3]+" Counteragent, "+.@count[4]+" Mixture, and "+.@count[5]+" Empty Bottle to make Darkgreen Dyestuffs. Don't get all of the materials confused. The fee is only "+.@cost+" zeny."; setarray .@item[0], 510, 511, 508, 974, 973, 713; set .@dyestuff,979; break; case 5: setarray .@count[0], 20*.@n, 20*.@n, 1*.@n, 1*.@n, 1*.@n; set .@cost,5000*.@n; mes "Mmm... I need "+.@count[0]+" Red Herbs, "+.@count[1]+" Yellow Herbs, "+.@count[2]+" Counteragent, "+.@count[3]+" Mixture, and "+.@count[4]+" Empty Bottle to make Orange Dyestuff. The fee is going to be "+.@cost+" zeny."; setarray .@item[0], 507, 508, 974, 973, 713; set .@dyestuff,980; break; case 6: setarray .@count[0], 10*.@n, 30*.@n, 1*.@n, 1*.@n, 1*.@n; set .@cost,5000*.@n; mes "Mmm... I need "+.@count[0]+" Blue Herbs, "+.@count[1]+" Red Herbs, "+.@count[2]+" Counteragent, "+.@count[3]+" Mixture, and "+.@count[4]+" Empty Bottle to make Violet Dyestuffs. The fee will be "+.@cost+" zeny."; setarray .@item[0], 510, 507, 974, 973, 713; set .@dyestuff,981; break; case 7: setarray .@count[0], 30*.@n, 1*.@n, 1*.@n; set .@cost,3000*.@n; mes "Mmm... I need "+.@count[0]+" White Herbs, "+.@count[1]+" Counteragent, and "+.@count[2]+" Empty bottle to make White Dyestuffs. The fee will be "+.@cost+" zeny."; setarray .@item[0], 509, 973, 713; set .@dyestuff,982; break; case 8: setarray .@count[0], 30*.@n, 30*.@n, 30*.@n, 5*.@n, 1*.@n, 1*.@n, 1*.@n; set .@cost,7000*.@n; mes "Mmm... I need "+.@count[0]+" of each Red, Yellow, and Green Herb, "+.@count[3]+" Blue Herbs, "+.@count[4]+" Counteragent, "+.@count[5]+" Mixture, and "+.@count[6]+" Empty Bottle. The process takes longer and more effort than the others, so it is going to be "+.@cost+" zeny."; setarray .@item[0], 507, 508, 511, 510, 974, 973, 713; 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) { set .@size, getarraysize(.@item); // check requirements for( set .@i,0 ; .@i < .@size ; set .@i,.@i+1 ) if( countitem(.@item[.@i]) < .@count[.@i] ) break; if( .@i < .@size || 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; } // delete items for (set .@i, 0; .@i < .@size ; set .@i, .@i+1) delitem .@item[.@i], .@count[.@i]; set zeny,zeny-.@cost; // get dyestuff getitem .@dyestuff,.@n; 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; } Yours is fine :DD Edited January 8, 2013 by Kiritoryu Quote Link to comment Share on other sites More sharing options...
Emistry Posted January 12, 2013 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: 5 hours ago Share Posted January 12, 2013 you can also try these... Exchanger [ Item to Item ] Exchanger [ Item to Item ] Exchanger [ Multi Item to 1 Item ] Quote Link to comment Share on other sites More sharing options...
Question
Kiritoryu
Can i have an awesome dye-stuff npc please
? Which can make more then 1 dyestuff at a time?
Link to comment
Share on other sites
5 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.