prontera,147,194,4	script	Santa	4_M_SANTA,{
	disable_items;
	mes("[ "+CStr("Santa","GREEN")+" ]");
	mes("Ho ho ho!!! Merry Christmas!!!");
	mes("Gather those Freezing Snow Powder from Santa Poring for our");
	mes("exchange gift.");
	mes(Itemlink(Ice_Particle));
	next;
	mes("[ "+CStr("Santa","GREEN")+" ]");
	mes("You can choose items below for exchange:");
	mes(" 10x = "+Itemlink(Old_Blue_Box));
	mes(" 20x = "+Itemlink(Light_Blue_Pot));
	mes(" 50x = "+Itemlink(Oridecon));
	mes(" 50x = "+Itemlink(Elunium));
	mes("100x = "+Itemlink(C_Snownow_Hat));
	mes("100x = "+Itemlink(Santa_Hat_2));
	next;
	mes("[ "+CStr("Santa","GREEN")+" ]");
	mes("Or I can offer a 30 minutes buff:");
	mes("25x = ^e57c00+50% EXP Boost^000000");
	mes("25x = ^e57c00+50% DROP Boost^000000");
	next;
	mes("[ "+CStr("Santa","GREEN")+" ]");
	mes("How do you wish to exchange?");
	next;
	switch(select(
		" > Exchange with Items:"+
		" > Exchange with Buffs:"+
		" > ^777777Nevermind^000000"
		)) {
	case 1:
		close2;
		openshop();							
		end;
	case 2:
		mes("[ "+CStr("Santa","GREEN")+" ]");
		mes("Which buffs do you like?.");
		next;
		switch(select(
			" > +50% EXP Boost:"+
			" > +50% DROP Boost:"+
			" > ^777777Nevermind^000000"
			)) {
			case 1:
				if (countitem(Ice_Particle) > 24) {
					if (SC_CASH_PLUSEXP) {
						mes("[ "+CStr("Santa","GREEN")+" ]");
						mes("You still have active EXP Boost Buff .  Do you still wish to exchange?");
						if (select("No, thanks", "Yes, I'm sure") == 2) {
							delitem Ice_Particle,25;
							sc_start SC_CASH_PLUSEXP,1800000,50;
						}
						close();
					} else {		
						delitem Ice_Particle,25;
						sc_start SC_CASH_PLUSEXP,1800000,50;
					}	
					close();
				}
				mes("[ "+CStr("Santa","GREEN")+" ]");
				mes ("Ho ho ho!!! You don't have enought Freezing Snow Powder");
				close();
			case 2:
				if (countitem(Ice_Particle) > 24) {
					if (SC_CASH_RECEIVEITEM) {
						mes("[ "+CStr("Santa","GREEN")+" ]");
						mes("You still have active DROP Boost Buff .  Do you still wish to exchange?");
						if (select("No, thanks", "Yes, I'm sure") == 2) {
							delitem Ice_Particle,25;
							sc_start SC_CASH_RECEIVEITEM,1800000,50;
						}
						close();
					} else {
						delitem Ice_Particle,25;
						sc_start SC_CASH_RECEIVEITEM,1800000,50;
					}
					close();
				}
				mes("[ "+CStr("Santa","GREEN")+" ]");
				mes ("Ho ho ho!!! You don't have enought Freezing Snow Powder");
				close();
			default:
				close();
			}

		close();
	default:
		close();
	}
	close();

OnInit:
	addmonsterdrop(PORING_, Ice_Particle, 1000);


	tradertype(NST_CUSTOM);
	sellitem 603,10;
	sellitem 984,25;
	sellitem 985,25;
	sellitem 11502,20;
	sellitem 5390,100;
	sellitem 20242,100;

	end;	

OnCountFunds:
	setcurrency(countitem(Ice_Particle));
	end;

OnPayFunds:
	if(countitem(Ice_Particle) < @price) end;
	delitem Ice_Particle,@price;
	purchaseok();
	end;
 

}
