office,121,23,0	script	Loyalty NPC	4W_F_KAFRA2,{
	if (!race1 && !obt) {
		mes "[Loyalty NPC]";
		mes "Oh!!! A pioneer player!!!";
		next;
		mes "[Loyalty NPC]";
		mes "I'm glad to see";
		mes "your great progress. You";
		mes "deserve a reward for";
		mes "staying here with us.";
		next;
		mes "[Loyalty NPC]";
		mes "Here is your reward:";
		mes Itemlink(Random_Costume);	
		mes "This box contains a";
		mes "random costumes.";
		next;
		mes "[Loyalty NPC]";
		mes "You will get any of these:";
		mes "~ "+CStr("Costume Loyal Servant of Devil Morroc","RED");
		mes "~ "+CStr("Costume Ignis Cap","RED");
		mes "~ "+CStr("Costume Subject Aura","RED");
		mes "~ "+CStr("Costume Rudra Wing","RED");
		mes "~ "+CStr("Costume Ljosalfar","RED");
		next;
		if (BaseLevel < 99 || JobLevel < 50) {
			mes "[Loyalty NPC]";
			mes "You need to be";
			mes "Base Level 99 & Job Level 50";
			mes "to claim your reward";
			close();
		}
		mes "[Loyalty NPC]";
		mes "Do you want to";
		mes "claim now?";
		next;
		if (select("No, Im not Interested:Yes please.") == 2) {
			mes "[Loyalty NPC]";
			mes "There you go";
			mes "good luck on that box";
			obt = 1;
			getitem 30012,1;
			close();
		}
		mes "[Loyalty NPC]";
		mes "Okay, just talk to";
		mes "me when you are ready";		
		close();
	} else {
		if (obt) {
			mes "[Loyalty NPC]";
			mes "I hope you where lucky";
			mes "opening those random box.";
			close();
		} else {
			mes "[Loyalty NPC]";
			mes "I was looking for those";
			mes "pioneer players.";
			close();
		}		
	}
	end;
OnInit:
	waitingroom "OBT Reward",0;
	end;
}

