prontera,160,126,4	script	Menirva	4_F_NYDHOG,{
	disable_items;
	if (#hal17) {
		mes "[ "+CStr("Menirva","GREEN")+" ]";	
		mes "How is your pet?  I hope you take care of it.";
		close;
	}
	if ((countitem(Pumpkin_Bucket) > 30)) {
		delitem Pumpkin_Bucket,31;
		mes "[ "+CStr("Menirva","GREEN")+" ]";	
		mes "Thank you, take this";
		mes Itemlink(Fire_Bug_Egg);
		mes "The cute pet inside have no special ability but very rare species, please take care of it. I hope we can meet again next year.";
		next;
		set #hal17,1;
		makepet 3027;
		close;
	}
	else {
		mes "[ "+CStr("Menirva","GREEN")+" ]";	
		mes "Oh hi brave adventures, tonight will be my last night here, I have a present:";
		mes Itemlink(Fire_Bug_Egg);
		mes "if you can help me gather ingredients for my research.";
		next;
		mes "[ "+CStr("Menirva","GREEN")+" ]";	
		mes "I need:";
		mes "31x "+Itemlink(Pumpkin_Bucket);
		mes "If you agree, I will teleport you to the place where you can gather it.";
		next;
		if (select("No, thanks", "Yes, I'm sure") == 2) {
			warp "niflheim",21, 153;
			close;
		}
		mes "[ "+CStr("Menirva","GREEN")+" ]";	
		mes "Ok, come back to me when you are ready. But hurry up, my time is very limited here.";
		close;
	}
OnDisable:
	hideonnpc "Menirva";
	end;

OnEnable:
	hideoffnpc "Menirva";
	announce("Happy Halloween!!! Find Menirva at Prontera 160 126 for a great surprise.", bc_all);  
	end;
OnInit:
	donpcevent "Menirva::OnDisable";
	bindatcmd "hal17on","Menirva::OnEnable",99,99;
	bindatcmd "hal17off","Menirva::OnDisable",99,99;
	end;

}
