//@unloadnpc Exit
//@loadnpc npc/thor/guildpack/warps.txt

tournament,49,106,2	script	Exit	4_F_OPERATION,{
	mes(.npc$);
	mes("You are about to exit this room.");
	mes("^ff0000- - - W  A  R  N  I  N  G - - -^000000");
	mes("You can not bring extra equipment outside. ALL items ^ff0000NOT WORN^000000 will be ^ff0000DELETED^000000 upon ^ff0000EXIT^000000. Make ^28bf00SURE^000000 you ^28bf00EQUIP ALL^000000 necessary equipment you need. Are you sure you want to leave?");
	next;
	if (select("^ff0000No, I'm not yet done.^000000", "^28bf00Yes, I am very sure.^000000") == 1) {
		mes(.npc$);
		mes ("Okay, let me know when you are ready.");
		close();		
	}
	
	atcommand("@itemreset");
	getitem Growth_Pack_99,1;
	getitem Light_White_Pot_F,1000;
	getitem Light_Blue_Pot_F,1000;
	getitem Wing_Of_Fly_F,20;
	getitem Wing_Of_Butterfly_F,20;
	getitem Warp_Free_Ticket_F,10;
	if(hasgv) getitem Green_Voucher,60;
	savepoint "payon",73,101;
	warp("payon",73,101); 
	close();

OnInit:
	.npc$ = "[ GM Assistant ]";
	delwaitingroom;
	waitingroom "Exit",0;
	end;
}
