//@unloadnpc Special Package
//@loadnpc npc/thor/freebies.txt

iz_int,15,30,4	script	Special Package	4_M_KID1,{
	if (starterpack==1) {
		mes .npc$;	
		mes "You already claimed your package.";
		close;
	} else {
		mes .npc$;
		mes "Welcome to "+.serverName$;
		mes "We are happy to see you here.";
		next;
		mes .npc$;
		mes "Please chose carefuly your preferred LVL 3 Rental [7days] Weapon for your future use in the next window.";
		next;
		switch(select("Saber:Arbalest Bow:Two-handed Axe:Damascus:Arc Wand:Fist:Lance:Whip:Guitar:Never Mind")){
			case 1: // Saber [2]		1126
				.@weapon = 1126;
				.@slot = 2;
				break;
			case 2: // Arbalest [1]		1713
				.@weapon = 1713;
				.@slot = 1;
				break;
			case 3: // Two-handed Axe[0] 	1362
				.@weapon = 1362;
				.@slot = 0;
				break;
			case 4: // Damascus [0]		13048
				.@weapon = 13048;
				.@slot = 0;
				break;
			case 5: // Arc Wand [0]		1612
				.@weapon = 1612;
				.@slot = 0;
				break;
			case 6: // Fist [0]		1807
				.@weapon = 1807;
				.@slot = 0;
				break;
			case 7: // Lance [0]		1410
				.@weapon = 1410;
				.@slot = 0;
				break;
			case 8: // Whip[1] 		1960
				.@weapon = 1960;
				.@slot = 1;
				break;
			case 9: // Guitar[0] 		1907
				.@weapon = 1907;
				.@slot = 0;
				break;
			default:
				mes .npc$;
				mes "Ok, comeback when you are ready";
				close;
		}
		set starterpack,1;
		set reset,1;
		mes .npc$;
		mes "Very well, here you go.  Thank you for joining Free2Play Asia.";
		if(.@slot == 2){
			rentitem2 .@weapon,604800,1,10,0,30013,30013,0,0,4;
		} else if(.@slot == 1){
			rentitem2 .@weapon,604800,1,10,0,30013,0,0,0,4;
		} else {
			rentitem2 .@weapon,604800,1,10,0,0,0,0,0,4;
		}
		getitembound 20307,1,4;	//Hat		
		getitembound 2751,1,4;		//Badge
		getitembound 12252,4,4;
		getitembound 12253,4,4;
		getitembound 12215,30,4;
		getitembound 12216,30,4;
		getitembound 12211,2,4;
		getitembound 7621,2,4;	
		getitembound 30001,50,4;
		getitembound 30002,50,4;
		getitembound 12213,1,4;
		getitembound 6320,1,4;
		equip(20307);
		equip(2751);
		percentheal(100,100);
		close;
	}
	
OnInit:
   .npc$ = "[ Freebies ]";
   .serverName$ = "^FF0000Free2Play Asia^000000";	
   waitingroom "Starter Package",0;
   end;
}	
