• 0
Kiritoryu

Can i request a complete Dyestuff Maker NPC?

Question

Can i have an awesome dye-stuff npc please :D? Which can make more then 1 dyestuff at a time?

Share this post


Link to post
Share on other sites

5 answers to this question

Recommended Posts

  • 0
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( [email protected]$ = "Scarlet Dyestuffs:Lemon Dyestuffs:Cobaltblue Dyestuffs:Darkgreen Dyestuffs:Orange Dyestuffs:Violet Dyestuffs:White Dyestuffs:Black Dyestuffs:Cancel" )) {
	case 1: callsub S_MakeDye,1,1,[email protected]$; break;
	case 2: callsub S_MakeDye,2,1,[email protected]$; break;
	case 3: callsub S_MakeDye,3,2,[email protected]$; break;
	case 4: callsub S_MakeDye,4,3,[email protected]$; break;
	case 5: callsub S_MakeDye,5,4,[email protected]$; break;
	case 6: callsub S_MakeDye,6,4,[email protected]$; break;
	case 7: callsub S_MakeDye,7,4,[email protected]$; break;
	case 8: callsub S_MakeDye,8,4,[email protected]$; 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([email protected]$, getarg(2), ":");
       mes "How must ^FF0000"+ [email protected]$[ @menu-1 ] +"^000000 do you want to do ?";
       if( input( [email protected], 1, 100000) != 0 ) {
           mes "Sorry, wrong value.";
           close; }
   } else
       [email protected] = 1;
switch(getarg(0)) {
case 1:
	setarray [email protected][0], 30*[email protected],   1*[email protected],   1*[email protected];
	set [email protected],3000*[email protected];
	mes "Mmm... I need "[email protected][0]+" Red Herbs, "[email protected][1]+" Counteragent, and "[email protected][2]+" Empty Bottle to make Red Dyestuffs. The fee is only "[email protected]+" zeny to make it.";
	setarray [email protected][0], 507, 973, 713;
	set [email protected],975;
	break;
case 2:
	setarray [email protected][0], 30*[email protected],   1*[email protected],   1*[email protected];
	set [email protected],3000*[email protected];
	mes "Mmm... I need "[email protected][0]+" Yellow Herbs, "[email protected][1]+" Couneragent, and "[email protected][2]+" Empty Bottle to make Lemon Dyestuffs. The fee is only "[email protected]+" zeny to make it.";
	setarray [email protected][0], 508, 973, 713;
	set [email protected],976;
	break;
case 3:
	setarray [email protected][0], 20*[email protected],   1*[email protected],   1*[email protected];
	set [email protected],3500*[email protected];
	mes "Mmm... I need "[email protected][0]+" Blue Herbs, "[email protected][1]+" Counteragent, and "[email protected][2]+" Empty Bottle to make Cobaltblue Dyestuff. It's hard to use the Blue Herb, so the fee is going to be "[email protected]+" zeny.";
	setarray [email protected][0], 510, 973, 713;
	set [email protected],978;
	break;
case 4:
	setarray [email protected][0],  5*[email protected],  20*[email protected],  20*[email protected],   1*[email protected],   1*[email protected],   1*[email protected];
	set [email protected],5000*[email protected];
	mes "Mmm... I need "[email protected][0]+" Blue Herbs, "[email protected][1]+" Green Herbs, "[email protected][2]+" Yellow Herbs, "[email protected][3]+" Counteragent, "[email protected][4]+" Mixture, and "[email protected][5]+" Empty Bottle to make Darkgreen Dyestuffs. Don't get all of the materials confused. The fee is only "[email protected]+" zeny.";
	setarray [email protected][0], 510, 511, 508, 974, 973, 713;
	set [email protected],979;
	break;
case 5:
	setarray [email protected][0], 20*[email protected],  20*[email protected],   1*[email protected],   1*[email protected],   1*[email protected];
	set [email protected],5000*[email protected];
	mes "Mmm... I need "[email protected][0]+" Red Herbs, "[email protected][1]+" Yellow Herbs, "[email protected][2]+" Counteragent, "[email protected][3]+" Mixture, and "[email protected]t[4]+" Empty Bottle to make Orange Dyestuff. The fee is going to be "[email protected]+" zeny.";
	setarray [email protected][0], 507, 508, 974, 973, 713;
	set [email protected],980;
	break;
case 6:
	setarray [email protected][0], 10*[email protected],  30*[email protected],   1*[email protected],   1*[email protected],   1*[email protected];
	set [email protected],5000*[email protected];
	mes "Mmm... I need "[email protected][0]+" Blue Herbs, "[email protected][1]+" Red Herbs, "[email protected][2]+" Counteragent, "[email protected][3]+" Mixture, and "[email protected][4]+" Empty Bottle to make Violet Dyestuffs. The fee will be "[email protected]+" zeny.";
	setarray [email protected][0], 510, 507, 974, 973, 713;
	set [email protected],981;
	break;
case 7:
	setarray [email protected][0], 30*[email protected],   1*[email protected],   1*[email protected];
	set [email protected],3000*[email protected];
	mes "Mmm... I need "[email protected][0]+" White Herbs, "[email protected][1]+" Counteragent, and "[email protected][2]+" Empty bottle to make White Dyestuffs. The fee will be "[email protected]+" zeny.";
	setarray [email protected][0], 509, 973, 713;
	set [email protected],982;
	break;
case 8:
	setarray [email protected][0], 30*[email protected],  30*[email protected],  30*[email protected],   5*[email protected],   1*[email protected],   1*[email protected],   1*[email protected];
	set [email protected],7000*[email protected];
	mes "Mmm... I need "[email protected][0]+" of each Red, Yellow, and Green Herb, "[email protected][3]+" Blue Herbs, "[email protected][4]+" Counteragent, "[email protected][5]+" Mixture, and "[email protected][6]+" Empty Bottle. The process takes longer and more effort than the others, so it is going to be "[email protected]+" zeny.";
	setarray [email protected][0], 507, 508, 511, 510, 974, 973, 713;
	set [email protected],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 [email protected], getarraysize([email protected]);
	// check requirements
	for( set [email protected],0 ; [email protected] < [email protected] ; set [email protected],[email protected]+1 )
		if( countitem([email protected][[email protected]]) < [email protected][[email protected]] )
			break;
	if( [email protected] < [email protected] || Zeny < [email protected] ) {
		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 [email protected], 0; [email protected] < [email protected] ; set [email protected], [email protected]+1)
		delitem [email protected][[email protected]], [email protected][[email protected]];
	set zeny,[email protected];
	// get dyestuff
	getitem [email protected],[email protected];

	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? :)

Share this post


Link to post
Share on other sites

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);

Share this post


Link to post
Share on other sites

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( [email protected]$ = "Scarlet Dyestuffs:Lemon Dyestuffs:Cobaltblue Dyestuffs:Darkgreen Dyestuffs:Orange Dyestuffs:Violet Dyestuffs:White Dyestuffs:Black Dyestuffs:Cancel" )) {
	case 1: callsub S_MakeDye,1,1,[email protected]$; break;
	case 2: callsub S_MakeDye,2,1,[email protected]$; break;
	case 3: callsub S_MakeDye,3,2,[email protected]$; break;
	case 4: callsub S_MakeDye,4,3,[email protected]$; break;
	case 5: callsub S_MakeDye,5,4,[email protected]$; break;
	case 6: callsub S_MakeDye,6,4,[email protected]$; break;
	case 7: callsub S_MakeDye,7,4,[email protected]$; break;
	case 8: callsub S_MakeDye,8,4,[email protected]$; 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([email protected]$, getarg(2), ":");
       mes "How must ^FF0000"+ [email protected]$[ @menu-1 ] +"^000000 do you want to do ?";
       if( input( [email protected], 1, 100000) != 0 ) {
           mes "Sorry, wrong value.";
           close; }
   } else
       [email protected] = 1;
switch(getarg(0)) {
case 1:
	setarray [email protected][0], 30*[email protected],   1*[email protected],   1*[email protected];
	set [email protected],3000*[email protected];
	mes "Mmm... I need "[email protected][0]+" Red Herbs, "[email protected][1]+" Counteragent, and "[email protected][2]+" Empty Bottle to make Red Dyestuffs. The fee is only "[email protected]+" zeny to make it.";
	setarray [email protected][0], 507, 973, 713;
	set [email protected],975;
	break;
case 2:
	setarray [email protected][0], 30*[email protected],   1*[email protected],   1*[email protected];
	set [email protected],3000*[email protected];
	mes "Mmm... I need "[email protected][0]+" Yellow Herbs, "[email protected][1]+" Couneragent, and "[email protected][2]+" Empty Bottle to make Lemon Dyestuffs. The fee is only "[email protected]+" zeny to make it.";
	setarray [email protected][0], 508, 973, 713;
	set [email protected],976;
	break;
case 3:
	setarray [email protected][0], 20*[email protected],   1*[email protected],   1*[email protected];
	set [email protected],3500*[email protected];
	mes "Mmm... I need "[email protected][0]+" Blue Herbs, "[email protected][1]+" Counteragent, and "[email protected][2]+" Empty Bottle to make Cobaltblue Dyestuff. It's hard to use the Blue Herb, so the fee is going to be "[email protected]+" zeny.";
	setarray [email protected][0], 510, 973, 713;
	set [email protected],978;
	break;
case 4:
	setarray [email protected][0],  5*[email protected],  20*[email protected],  20*[email protected],   1*[email protected],   1*[email protected],   1*[email protected];
	set [email protected],5000*[email protected];
	mes "Mmm... I need "[email protected][0]+" Blue Herbs, "[email protected][1]+" Green Herbs, "[email protected][2]+" Yellow Herbs, "[email protected][3]+" Counteragent, "[email protected][4]+" Mixture, and "[email protected][5]+" Empty Bottle to make Darkgreen Dyestuffs. Don't get all of the materials confused. The fee is only "[email protected]+" zeny.";
	setarray .[email protected][0], 510, 511, 508, 974, 973, 713;
	set [email protected],979;
	break;
case 5:
	setarray [email protected][0], 20*[email protected],  20*[email protected],   1*[email protected],   1*[email protected],   1*[email protected];
	set [email protected],5000*[email protected];
	mes "Mmm... I need "[email protected][0]+" Red Herbs, "[email protected][1]+" Yellow Herbs, "[email protected][2]+" Counteragent, "[email protected][3]+" Mixture, and "[email protected][4]+" Empty Bottle to make Orange Dyestuff. The fee is going to be "[email protected]+" zeny.";
	setarray [email protected][0], 507, 508, 974, 973, 713;
	set [email protected],980;
	break;
case 6:
	setarray [email protected][0], 10*[email protected],  30*[email protected],   1*[email protected],   1*[email protected],   1*[email protected];
	set [email protected],5000*[email protected];
	mes "Mmm... I need "[email protected][0]+" Blue Herbs, "[email protected][1]+" Red Herbs, "[email protected][2]+" Counteragent, "[email protected][3]+" Mixture, and "[email protected][4]+" Empty Bottle to make Violet Dyestuffs. The fee will be "[email protected]+" zeny.";
	setarray [email protected][0], 510, 507, 974, 973, 713;
	set [email protected],981;
	break;
case 7:
	setarray [email protected][0], 30*[email protected],   1*[email protected],   1*[email protected];
	set [email protected],3000*[email protected];
	mes "Mmm... I need "[email protected][0]+" White Herbs, "[email protected][1]+" Counteragent, and "[email protected][2]+" Empty bottle to make White Dyestuffs. The fee will be "[email protected]+" zeny.";
	setarray [email protected][0], 509, 973, 713;
	set [email protected],982;
	break;
case 8:
	setarray [email protected][0], 30*[email protected],  30*[email protected],  30*[email protected],   5*[email protected],   1*[email protected],   1*[email protected],   1*[email protected];
	set [email protected],7000*[email protected];
	mes "Mmm... I need "[email protected][0]+" of each Red, Yellow, and Green Herb, "[email protected][3]+" Blue Herbs, "[email protected][4]+" Counteragent, "[email protected][5]+" Mixture, and "[email protected][6]+" Empty Bottle. The process takes longer and more effort than the others, so it is going to be "[email protected]+" zeny.";
	setarray [email protected][0], 507, 508, 511, 510, 974, 973, 713;
	set [email protected],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 [email protected], getarraysize([email protected]);
	// check requirements
	for( set [email protected],0 ; [email protected] < [email protected] ; set [email protected],[email protected]+1 )
		if( countitem([email protected][[email protected]]) < [email protected][[email protected]] )
			break;
	if( [email protected] < [email protected] || Zeny < [email protected] ) {
		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 [email protected], 0; [email protected] < [email protected] ; set [email protected], [email protected]+1)
		delitem [email protected][[email protected]], [email protected][[email protected]];
	set zeny,[email protected];
	// get dyestuff
	getitem [email protected],[email protected];

	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 by Capuche
  • Upvote 2

Share this post


Link to post
Share on other sites

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( [email protected]$ = "Scarlet Dyestuffs:Lemon Dyestuffs:Cobaltblue Dyestuffs:Darkgreen Dyestuffs:Orange Dyestuffs:Violet Dyestuffs:White Dyestuffs:Black Dyestuffs:Cancel" )) {
	case 1: callsub S_MakeDye,1,1,[email protected]$; break;
	case 2: callsub S_MakeDye,2,1,[email protected]$; break;
	case 3: callsub S_MakeDye,3,2,[email protected]$; break;
	case 4: callsub S_MakeDye,4,3,[email protected]$; break;
	case 5: callsub S_MakeDye,5,4,[email protected]$; break;
	case 6: callsub S_MakeDye,6,4,[email protected]$; break;
	case 7: callsub S_MakeDye,7,4,[email protected]$; break;
	case 8: callsub S_MakeDye,8,4,[email protected]$; 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([email protected]$, getarg(2), ":");
	mes "How must ^FF0000"+ [email protected]$[ @menu-1 ] +"^000000 do you want to do ?";
	if( input( [email protected], 1, 100000) != 0 ) {
		mes "Sorry, wrong value.";
		close; }
} else
	[email protected] = 1;
switch(getarg(0)) {
case 1:
	setarray [email protected][0], 30*[email protected],   1*[email protected],   1*[email protected];
	set [email protected],3000*[email protected];
	mes "Mmm... I need "[email protected][0]+" Red Herbs, "[email protected][1]+" Counteragent, and "[email protected][2]+" Empty Bottle to make Red Dyestuffs. The fee is only "[email protected]+" zeny to make it.";
	setarray [email protected][0], 507, 973, 713;
	set [email protected],975;
	break;
case 2:
	setarray [email protected][0], 30*[email protected],   1*[email protected],   1*[email protected];
	set [email protected],3000*[email protected];
	mes "Mmm... I need "[email protected][0]+" Yellow Herbs, "[email protected][1]+" Couneragent, and "[email protected][2]+" Empty Bottle to make Lemon Dyestuffs. The fee is only "[email protected]+" zeny to make it.";
	setarray [email protected][0], 508, 973, 713;
	set [email protected],976;
	break;
case 3:
	setarray [email protected][0], 20*[email protected],   1*[email protected],   1*[email protected];
	set [email protected],3500*[email protected];
	mes "Mmm... I need "[email protected][0]+" Blue Herbs, "[email protected][1]+" Counteragent, and "[email protected][2]+" Empty Bottle to make Cobaltblue Dyestuff. It's hard to use the Blue Herb, so the fee is going to be "[email protected]+" zeny.";
	setarray [email protected][0], 510, 973, 713;
	set [email protected],978;
	break;
case 4:
	setarray [email protected][0],  5*[email protected],  20*[email protected],  20*[email protected],   1*[email protected],   1*[email protected],   1*[email protected];
	set [email protected],5000*[email protected];
	mes "Mmm... I need "[email protected][0]+" Blue Herbs, "[email protected][1]+" Green Herbs, "[email protected][2]+" Yellow Herbs, "[email protected][3]+" Counteragent, "[email protected][4]+" Mixture, and "[email protected][5]+" Empty Bottle to make Darkgreen Dyestuffs. Don't get all of the materials confused. The fee is only "[email protected]+" zeny.";
	setarray [email protected][0], 510, 511, 508, 974, 973, 713;
	set [email protected],979;
	break;
case 5:
	setarray [email protected][0], 20*[email protected],  20*[email protected],   1*[email protected],   1*[email protected],   1*[email protected];
	set [email protected],5000*[email protected];
	mes "Mmm... I need "[email protected][0]+" Red Herbs, "[email protected][1]+" Yellow Herbs, "[email protected][2]+" Counteragent, "[email protected][3]+" Mixture, and "[email protected][4]+" Empty Bottle to make Orange Dyestuff. The fee is going to be "[email protected]+" zeny.";
	setarray [email protected][0], 507, 508, 974, 973, 713;
	set [email protected],980;
	break;
case 6:
	setarray [email protected][0], 10*[email protected],  30*[email protected],   1*[email protected],   1*[email protected],   1*[email protected];
	set [email protected],5000*[email protected];
	mes "Mmm... I need "[email protected][0]+" Blue Herbs, "[email protected][1]+" Red Herbs, "[email protected][2]+" Counteragent, "[email protected][3]+" Mixture, and "[email protected][4]+" Empty Bottle to make Violet Dyestuffs. The fee will be "[email protected]+" zeny.";
	setarray [email protected][0], 510, 507, 974, 973, 713;
	set [email protected],981;
	break;
case 7:
	setarray [email protected][0], 30*[email protected],   1*[email protected],   1*[email protected];
	set [email protected],3000*[email protected];
	mes "Mmm... I need "[email protected][0]+" White Herbs, "[email protected][1]+" Counteragent, and "[email protected][2]+" Empty bottle to make White Dyestuffs. The fee will be "[email protected]+" zeny.";
	setarray [email protected][0], 509, 973, 713;
	set [email protected],982;
	break;
case 8:
	setarray [email protected][0], 30*[email protected],  30*[email protected],  30*[email protected],   5*[email protected],   1*[email protected],   1*[email protected],   1*[email protected];
	set [email protected],7000*[email protected];
	mes "Mmm... I need "[email protected][0]+" of each Red, Yellow, and Green Herb, "[email protected][3]+" Blue Herbs, "[email protected][4]+" Counteragent, "[email protected][5]+" Mixture, and "[email protected][6]+" Empty Bottle. The process takes longer and more effort than the others, so it is going to be "[email protected]+" zeny.";
	setarray [email protected][0], 507, 508, 511, 510, 974, 973, 713;
	set [email protected],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 [email protected], getarraysize([email protected]);
	// check requirements
	for( set [email protected],0 ; [email protected] < [email protected] ; set [email protected],[email protected]+1 )
		if( countitem([email protected][[email protected]]) < [email protected][[email protected]] )
			break;
	if( [email protected] < [email protected] || Zeny < [email protected] ) {
		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 [email protected], 0; [email protected] < [email protected] ; set [email protected], [email protected]+1)
		delitem [email protected][[email protected]], [email protected][[email protected]];
	set zeny,[email protected];
	// get dyestuff
	getitem [email protected],[email protected];

	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 by Kiritoryu

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...