office,121,23,0	script	Tailoring Shop	4W_F_01,{
disable_items();
mes "[Tailoring Shop]";
mes "What item would you like to purchase?";
next;
	switch(select(

			"Beginner Guide",
			"Intermediate Guide",
			"Advance Guide",
			"Journeyman's Guide",
			//"Artisan's Charm",
			"Materials"
	)) {
	case 1: // Beginner
		getitem 30130,1;
		close;
	case 2:	// Intermediate
		if (tailoring_skill > 9) {
			getitem 30131,1;
		} else {
			mes "[Tailoring Shop]";
			mes "I'm sorry, you can not purchase the item before you've learned everything about tailoring through the Basic Aprentiship level.";
		}	
		close;

	case 3:	// Advance
		if (tailoring_skill > 19) {
			getitem 30132,1;
		} else {
			mes "[Tailoring Shop]";
			mes "I'm sorry, you can not purchase the item before you've learned everything about tailoring through the Intermediate Aprentiship level.";
		}	
		close;

	case 4:	// Journeyman
		if (tailoring_skill > 39 ) {
			dispbottom tailoring_skill;
			getitem 30133,1;
		} else {
			mes "[Tailoring Shop]";
			mes "I'm sorry, you can not purchase the item before you've learned everything about tailoring through the Advance Aprentiship level.";
		}	
		close;
	/*
	case 5:	// Artisan
		mes "[Tailoring Shop]";
		mes "Only those that have attained Jorneyman's status in the guild and who do not currently possess this item may purchase it.";
		close;
	*/

	case 5: // Shop	

		openshop();							
		end;


	default:
		mes "Invalid Menu Selection for Menu. Inform this Message to ^0000FFGame Staffs^000000 immediately !";
		close;	
	}

OnInit:

	tradertype(NST_ZENY);	
	sellitem 30120, 10000;	
	sellitem 30121, 10000;
	sellitem 30122, 10000;
	sellitem 30123, 10000;
	sellitem 30124, 10000;
	sellitem 30125, 10000;
	sellitem 30126, 10000;
	sellitem 30127, 10000;
	sellitem 30128, 10000;
	sellitem 30129, 10000;
	end;

OnCountFunds:
	setcurrency Zeny;
	end;

OnPayFunds:
	if (Zeny < @price)
		end;
	Zeny -= @price;				
	purchaseok();
	end;
}
