prt_in,171,48,5	script	Library Master#q	1_M_LIBRARYMASTER,{
	disable_items;
	if (Class > 6 ) {
		if (#C02 == 1) {
			mes "[Librarian Master]";
			mes "Here is your progress:";
			if (#mobile) {
				mes  countitem(Worn_Out_Page)+"/100x Worn Out Page";
				mes  countitem(Empty_Cylinder)+"/100x Empty Test Tube";
				mes  countitem(Resin)+"/100x Resins";
				mes  countitem(Wooden_Block)+"/100x Trunk";
				mes  countitem(Daydric_Card)+"/1x Raydric Card";
				mes  countitem(Thara_Frog_Card)+"/1x Thara Frog Card";
				mes  countitem(Pupa_Card)+"/1x Pupa Card";
				mes  countitem(Elder_Wilow_Card)+"/1x Elder Willow Card";
			} else {
				mes  countitem(Worn_Out_Page)+"/100x "+Itemlink(Worn_Out_Page);
				mes  countitem(Empty_Cylinder)+"/100x "+Itemlink(Empty_Cylinder);
				mes  countitem(Resin)+"/100x "+Itemlink(Resin);
				mes  countitem(Wooden_Block)+"/100x "+Itemlink(Wooden_Block);
				mes  countitem(Daydric_Card)+"/1x "+Itemlink(Daydric_Card);
				mes  countitem(Thara_Frog_Card)+"/1x "+Itemlink(Thara_Frog_Card);
				mes  countitem(Pupa_Card)+"/1x "+Itemlink(Pupa_Card);
				mes  countitem(Elder_Wilow_Card)+"/1x "+Itemlink(Elder_Wilow_Card);
			}	
			if ( countitem(Worn_Out_Page) > 99 && countitem(Empty_Cylinder) > 99 && countitem(Resin) > 99 && countitem(Wooden_Block) > 99 && countitem(Daydric_Card) > 0 && countitem(Thara_Frog_Card) > 0 && countitem(Pupa_Card) > 0 && countitem(Elder_Wilow_Card) > 0) {
				next;
				if (select("No, I will do it later:Collect my rewards.") == 2) {
					if (checkweight( Baseball_Cap, 1, C_Green_Foxtail, 1, Old_Card_Album, 2, Bubble_Gum, 3) == 0 ) {
						mes "[Librarian Master]";
						mes "You are carrying too much load. Store some of your item to Kafra before we proceed.";
						close();
					}
					#C02 = 2;
					/* Remove Item Requirements */
					delitem(Worn_Out_Page, 100);
					delitem(Empty_Cylinder,100);
					delitem(Resin,100);
					delitem(Wooden_Block,100);
					delitem(Daydric_Card,1);
					delitem(Thara_Frog_Card,1);
					delitem(Pupa_Card,1);
					delitem(Elder_Wilow_Card,1);
	
					/* Give Rewards */
					getitem(Baseball_Cap,1);
					getitem(C_Green_Foxtail,1);
					getitem(Old_Card_Album,2);
					getitem(Bubble_Gum,3);
					getexp 250000,0;

					mes "[Librarian Master]";
					mes "Here you go!!!";
					close();
				}
				mes "[Librarian Master]";
				mes "Okay, just talk you me when you are ready.";
				close();
			}
			close();
		}
		if (#C02 == 2) {
			mes "[Librarian Master]";
			mes "Thank you for helping me once again.";
			close();
		}	

		mes "[Librarian Master]";
		mes "I see you have lot"; 
		mes "of achivement young";
		mes "adventure";
		next;
		mes "[Librarian Master]";
		mes "I need some rare ingredients";
		mes "to complete my studies";
		mes "on this special old book";
		mes "i found.";
		next;
		mes "[Librarian Master]";
		mes "You can help me gather";
		mes "the things I need for.";
		mes "a special reward.";
		next;
		mes "[Librarian Master]";
		mes "Reward List:";
		if (#mobile) {
			mes  "1x Base Ball Cap [1]";
			mes  "1x Costume Green Fox Tail";
			mes  "2x Old Card Album";
			mes  "3x Bubble Gum";
			mes  "250,000 Base Experience";
		} else {
			mes  "1x "+Itemlink(Baseball_Cap);
			mes  "1x "+Itemlink(C_Green_Foxtail);
			mes  "2x "+Itemlink(Old_Card_Album);
			mes  "3x "+Itemlink(Bubble_Gum);
			mes  "250,000 Base Experience";
		}
		next;
		mes "[Librarian Master]";
		mes "Item Needed:";
		if (#mobile){
			mes  "100x Worn Out Page";
			mes  "100x Empty Test Tube";
			mes  "100x Resin";
			mes  "100x Trunk";
			mes  "1x Raydric Card";
			mes  "1x Thara Frog Card";
			mes  "1x Pupa Card";
			mes  "1x Elder Willow Card";
		} else {
			mes  "100x "+Itemlink(Worn_Out_Page);
			mes  "100x "+Itemlink(Empty_Cylinder);
			mes  "100x "+Itemlink(Resin);
			mes  "100x "+Itemlink(Wooden_Block);
			mes  "1x "+Itemlink(Daydric_Card);
			mes  "1x "+Itemlink(Thara_Frog_Card);
			mes  "1x "+Itemlink(Pupa_Card);
			mes  "1x "+Itemlink(Elder_Wilow_Card);
		}
		next;
		mes "[Librarian Master]";
		mes "Remember you can only do";
		mes "this one (1) time on";
		mes "each account.";
		next;
		mes "[Librarian Master]";
		mes "Hurry!!! my time is limited";
		mes "for I am available until";
		mes "March 17th only.";
		next;
		if (select("No, Im not Interested:Yes please.") == 2) {
			#C02 = 1;
			mes "[Librarian Master]";
			mes "Thank you for helping me.";
			mes "Come back when you have";
			mes "those items already";
			close();
		}
		mes "[Librarian Master]";
		mes "Okay, I was just hoping";
		mes "if someone strong like";
		mes "you can help me.";
		close();
	}
	mes "[Librarian Master]";
	mes "Oh, I was looking for";
	mes "someone strong enough";
	mes "to help me.";
	close();
}
