summaryrefslogblamecommitdiff
path: root/npc/quests/newgears/old_blacksmith.txt
blob: 3f6184043f5def315c68a13788633eb2d64605f9 (plain) (tree)


























































































                                                                                                     
//===== eAthena Script ======================================= 
//= Angel & Devil Ears Quests
//===== By: ================================================== 
//= Halca (1.0)
//= Mass Zero (1.1)
//===== Current Version: ===================================== 
//= 1.1
//===== Compatible With: ===================================== 
//= Any eAthena Version.
//===== Description: ========================================= 
//= Seperate Angel & Devil Ears quests.
//===== Additional Comments: ================================= 
//=
//============================================================

yuno.gat,246,51,4	script	Old Blacksmith	813,{
 mes "[Old Blacksmith]";
 mes "Well then my good man!";
 mes "What can I do for you?";
	next;
	 menu "Give me the ears of a devil!",EOD,"Give me the ears of an angel!",EOA;
EOD:
 mes "[Old Blacksmith]";
 mes "Well, this item sure makes you look like a evil bastard.";
 mes "It makes me crap in my pants when I see these.";
	next;
	 menu "Dont care, make me the Item!",-,"What are the requirements?",EODREQ,"Nothing",EXT;
		if ((countitem(5038) < 1) || (countitem(2286) < 1) || (Zeny < 20000)) GOTO EX_REQ;
 mes "[Old Blacksmith]";
 mes "Wow, never thought a little fella like you could get tha.t";
 mes "Bwahaha, ok.";
	next;
		delitem 5038,1;
		delitem 2286,1;
		set Zeny,Zeny-20000;
		getitem 5068,1;
 mes "[Old Blacksmith]";
 mes "Well, enjoy your item!";
	close;
EOA:
 mes "[Old Blacksmith]";
 mes "Well, this item sure makes you look like a holy bastard.";
	next;
	 menu "Dont care, make me the Item!",-,"What are the requirements?",EOAREQ,"Nothing",EXT;
		if ((countitem(2286) < 1) || (countitem(2254) < 1) || (Zeny < 20000)) GOTO EX_REQ_A;
 mes "[Old Blacksmith]";
 mes "Well well well! Someone who has the spirit!";
 mes "Okay, gimme the items.";
	next;
		delitem 2286,1;
		delitem 2254,1;
		set Zeny,Zeny-20000;
 mes "[Old Blacksmith]";
 mes "Okay, and here you go.";
	next;
		getitem 5066,1;
 mes "[Old Blacksmith]";
 mes "Enjoy it!";
	close;
EAOREQ:
 mes "[Old Blacksmith]";
 mes "Well, this item is very holy, so I will need:";
 mes "1 Angel Wing/Angel Hheadband,";
 mes "1 Elven Ears for the ears,";
 mes "and 20,000z for the labour costs!";
	close;
EODREQ:
 mes "[Old Blacksmith]";
 mes "Well, let's see...";
 mes "I need something for the evil, that be a Deviruchi Cap,";
 mes "I also need the ears for the base of it, Elven Ears would be OK,";
 mes "Last of all, I need 20,000 Zeny for me troubles.";
	next;
 mes "[Old Blacksmith]";
 mes "Hey, I have to make a living!";
	close;
EX_REQ:
 mes "[Old Blacksmith]";
 mes "Well sorry, but you dont have enough items!";
	next;
	 GOTO EODREQ;
EX_REQ_A:
 mes "[Old Blacksmith]";
 mes "Well sorry, but you dont have enough items!";
	next;
	 GOTO EOAREQ;
EXT:
 mes "[Old Blacksmith]";
 mes "Fair yee well!";
	close;
}