summaryrefslogblamecommitdiff
path: root/npc/quests/magicalhatquest.txt
blob: 86bb6dfbe958760d5ebc073f7922c455da02812c (plain) (tree)







































                                                                                                                                                                   
geffen.gat,126,107,5	script	Magic Pimp Hat Dude	51,{
	mes "[Magic Pimp Hat Dude]";
	mes "Huh! What do you want?";
        mes "Ohh, I see, you want me to make you something";
	mes "Well if you want this Magican Hat here is a list of the items I need you to go out and get them for me:";
        mes "1 Wizard Hat";
        mes "1 Bathory Card";
        mes "and 200,000z for my efforts"; 
	next;
	mes "[Magic Pimp Hat Dude]";
	mes ". . . . . .";
	mes "Are you ready for me to make this magical item?";
	next;
	menu "Sure am!",LSureAm,"These requirements are unfathomable!",LUnfathomable;

	LSureAm:
		mes "[Magic Pimp Hat Dude]";
		if((countitem(2252) < 1) || (countitem(4119) < 1) || (Zeny < 200000)) goto LNotEnough;
		mes ". . . . .";
		delitem 2252,1;
		delitem 4119,1;
		set Zeny,Zeny-200000;
		mes "Wow!  You are brave indeed!";
		getitem 5045,1;
		mes ". . . . .";
		mes "Enjoy your Magical Hat!";
		close;

		LNotEnough:
			mes ". . . . .";
			mes ". . .I'm sorry .. You don't have enough money and items ..";
			mes "I can't afford to make this if you don't bring all materials needed.  Please understand this is to benefit heroes such as yourself!";
			close;

	LUnfathomable:
		mes ". . . . .";
		mes "What I had to go through was more unfathomable..";
		mes "If you succeed in getting these items, you will have incredible strength!";
		close;
}