Pastebin

New pastes are no longer accepted · Stats

Latest Pastes

What Price Beauty?

//EO-RED / Worlds Apart Questfile
//Redrocco
//3-22-2012
//NPC/Quest ID Vanesse 434/15 Terrell 435/1501
//Ling Lo 412/141
//=====================================

main
{
	questname	"What Price Beauty?"
	version	1.0
}
state begin
{
	action	addnpctext(15,"Oh, Hello. You look like a capable individual, maybe you can help me with a small problem I have.");
	action	addnpctext(15,"Our shop just received an order from a special client for a very rare, very expensive, beauty treatment. While I have most of the items I need to concoct it I am short a few important items.");
	action	addnpctext(15,"I can get them through our usual supply chain, but I figured since you are here already I would offer you a chance at it. What do you say?");
	action	addnpcinput(15,1,"Sure, I could use the money.");
	action	addnpcinput(15,2,"Thanks for the offer, but I don't have time.");

	rule	inputnpc(1) goto  lf1
	rule	inputnpc(2) goto rset
}
state lf1
{
	desc	"Acquire Liquid Flame"
	action	addnpctext(15,"The first item on my list is Liquid Flame. They tell me that it can be found in the steel caves near Bean Station. If you can bring me 3 bottles I will be able to get started.");
	
	rule	gotitems(17,3) goto lf2
}
state lf2
{
	desc	"Return to Vanesse"
	action 	addnpctext(15,"Great, now I can get started. There are still a lot of things I need though. The alchemist at Rudona usually provides the Bidibutter we use.");
	action addnpctext(15,"I need you to travel there and get some. The alchemist's apprentice, Terrell, should have it ready for you.");
	
	rule	talkedtonpc(15) goto bb1
	rule	lostitems(17,3) goto lf1
}
state bb1
{
	desc	"Talk to Terrell"
	action 	addnpctext(1501,"Hello, you must be the courier that Vanesse sent. I'm sorry to say that her bidibutter isn't ready yet. There are a couple of items I need that I haven't had the time to acquire.");
	action	addnpctext(1501,"You could help me if you wish. I you don't want to it will go out in the regular shipment.");
	action addnpcinput(1501,1,"Sure, I can help.");
	action addnpcinput(1501,2,"No, Vanesse can wait.(ends quest)");
	
	rule	inputnpc(1) goto bb2
	rule	inputnpc(2) goto rset
	}
state bb2
{
	desc	"Acquire 10 Milk"
	action	addnpctext(1501,"Bidibutter isn't really butter, although it does have milk in it. I need 10 milk to get started.")
	
	rule	gotitems(517,10) goto bb3
}	
state bb3
{
	desc	"Return to Terrell"
	action 	addnpctext(1501,"You got the milk. Good. The other ingredient that I am out of is stinger eyes. I need 5 to finish the Bidibutter.");
	
	rule	lostitems(517,10) goto bb2
	rule	talkedtonpc(1501) goto bb4
}
state bb4
{
	desc	"Acquire 5 Stinger Eyes"
	
	rule	gotitems(318,5) goto bb5
}
state bb5
{
	desc	"Return to Terrell"
	action	addnpctext(1501,Good, you are back. Just let me add these and your Bidibutter will be ready."

	rule	talkedtonpc(1501)  goto bb6
	rule	lostitems(318,5) goto bb4
}
state bb6
{
	desc	"Return the Bidibutter to Vanesse"
	action	giveitem(679,1);
	action	removeitems(318,5);
	action	addnpctext(15,"That didn't taker as long as I thought it would. Bidibutter is hard to come by at times.");
	action	addnpctext(15,"There are still a few items I need if you care to continue assisting me.");
	action	addnpcinput(1501,1,"Sure, I will help.");
	action	addnpcinput(1501,2,"Sorry, I have had enough");
	
	
	rule	inputnpc(1) goto continue
	rule	inputnpc(2) goto early.reward
	rule	lostitems(679,1) goto bb1

}
state	early.reward
{
	action	addnpctext(15,"That's alright then, Our regular suppliers can provide the rest.");
	action	addnpctext(15,"You did provide 2 very important ingredients though. Please accept this gold as a reward.");
	action	giveitem(1,1500);
	action	showhint("You have received 1500 gold");
	action	playsound(78);
	action	talkedtonpc(15) goto rset
}
state continue
{
	action addnpctext(15,"Well, as long as you are sure you don't mind. I need flowies next. 12 should be enough.") 
	rule 	talkedtonpc(15) goto flow1
}
state flow1
{
	desc	"Acquire 12 Flowies"
	rule	gotitems(480,12) goto flow2
}
state flow2
{
	desc	"Return to Vanesse"
	action 	addnpctext(15, Thanks, these flowies will give it a nice scent. I need a couple of lumps of copper ore next.");

	rule	talkedtonpc(15) goto cop1
	rule	lostitems(480,12) goto flow1
}
state cop1
{
	desc	"Acquire 2 Copper Ore"
	rule	gotitems(559,2) goto cop2
}
state cop2
{
	desc	"Return to Vanesse"
	action	addnpctext(15,"I'm glad to see you, Mistress Babs has been breathing down my neck about completing this. Her client is impatient.");
	action	addnpctext(15,"I still need a bonding agent from Ling Lo in Aka in order to complete it. Beware of the War Bears, I hear they are active in that area ever since they went to war with the Pandas. Its a good thing that Aka is protected by the secret of the waterfall.");

	rule	talkedtonpc(15) goto lo1
	rule	lostitems(559,2) goto cop1
}
state lo1
{
	desc	"Talk to Ling Lo"
	action	addnpctext(141,"You must be the one sent from Babs' Shop. I have been dreading this...");
	action	addnpctext(141,"Her order isn't ready. The boy that usually collects the butterfly scales broke his leg in a fall yesterday. I know it is an imposition, but I need you to bring me 5 Butterfly Scales before I can give you bonding agent that Babs requires.");
	action	addnpctext(141,"You can find the butterflies on the slopes of Mt Solly. There are a lot of them up there so it shouldn't take too long.");
	
	rule	talkedtonpc(141) goto lo2
}
state lo2
{
	desc	"Acquire 5 Butterfly Scales"
	rule	gotitems(680,5) goto lo3
}
state lo3
{
	desc	"Return to Ling Lo"
	action	addnpctext(141,"You got them? Excellent, now I can complete the bonding agent and you can deliver it to Babs' shop. Once again, I apologise for it not being ready when you arrived.");
	action	giveitem(681,1);
	
	rule	talkedtonpc(141) goto fin1
	rule	lostitems(680,5) goto lo2
}
state fin1
{
	desc	"Return to Vanesse"
	action	removeitems(681,1);
	action	addnpctext(15,"You have returned, I was getting worried. Babs has been raging at me all day. It seems the client is really in a hurry.");
	action	addnpctext(15,"There, that completes it. I promised you a reward, I can either pay you in all gold or let you have one of the infusions of beauty I crafted. They are quite valuable you know.");
	action	addnpcinput(15,1,"I have no use for it, gold pl0x.");
	action	addnpcinput(15,2,"I could use a little beauty.");
	
	rule	inputnpc(1) goto gold
	rule	inputnpc(2) goto beauty
	rule	lostitems(681,1) goto lo1
}
state gold
{
	action	removeitems(681,1);
	action	giveitem(1,3000);
	action	giveexp(2000);
	action	showhint("You have received 3000 gold and 2000xp");
	action	playsound(78);
	action	reset();
}
state beauty
{
	action	removeitems(681,1);
	action	giveitem(1,1500);
	action	giveitem(682,1);
	action	giveexp(2000);
	action	showhint("You have received a philter of beauty, 1500 gold and 2000xp");
	action	playsound(78);
	action	reset();
}
state rset
{
	action	Reset();

}