//===== rAthena Script =======================================
//= Ice Cream Maker
//===== By: ==================================================
//= KOOK SWU, Kisuka
//===== Current Version: =====================================
//= 1.5
//===== Compatible With: =====================================
//= rAthena SVN
//===== Description: =========================================
//= A man makes you ice-cream
//===== Additional Comments: =================================
//= 1.1 Optimized, changed overlapping coords in Alberta [Lupus]
//= 1.2 According to the patch, IceCream seller has been removed from Morocc [Lupus]
//= 1.3 No more label menu and updated to match AEGIS script. [Kisuka]
//= 1.4 Duplicates now spawn from floating NPCs. [L0ne_W0lf]
//= 1.5 Fixed small checkweight issue. [Kisuka]
//============================================================

-	script	ܷԱ::IceCreamer	-1,{
	mes "[ܷԱ]";
	mes "ɴѩɵʱܰ";
	mes "ɣʱŶ";
	mes "ÿܽ^3355FF100 ^000000";
	next;
	if(select("Ҫ:") == 2) {
		mes "[ܷԱ]";
		mes "ȷ㲻Ҫô";
		mes "Ҳܾõģ";
		mes "һ뿪ˣҲûˣ";
		close;
	}
	mes "[ܷԱ]";
	mes "ɴѩɵʱܰ";
	mes "ÿ˶Ҫζıܣ";
	mes "ޣ";
	mes "ֻһ50";
	next;
	//while(1) {
		input .@input;
		if(.@input < 1) {
			mes "[ܷԱ]";
			mes "һ";
			mes "λһ˿ôлл";
			close;
		}
		if(.@input > 50) {
			mes "[ܷԱ]";
			mes "Ӵˡ";
			mes "𾴵Ŀˣ";
			mes "˳50ܣ";
			mes "Ρ";
			close;
		}
	//}
	if(Zeny<.@input*100) {
		mes "[ܷԱ]";
		mes "𾴵Ĺ˿, Ǯƺ";
		mes "ÿ^3355FF100 ^000000";
		close;
	}
	if(checkweight(536,.@input) == 0) {
		mes "[ܷԱ]";
		mes "𾴵Ĺ˿ͣƺѾ˺ܶණϡ";
		mes "ܺܺóԣ";
		mes "ڹǰǵĸء";
		close;
	}
	mes "[ܷԱ]";
	mes "գıܣúá";
	mes "뾡ʳãڻӴ~";
	set Zeny,Zeny-100*.@input;
	getitem 536,.@input;	// Ice_Cream
	close;
}

// Geffen
geffen,103,56,5	duplicate(IceCreamer)	ܷԱ#1	85

// Izlude
izlude,127,168,5	duplicate(IceCreamer)	ܷԱ#2	85

// Prontera
prontera,110,97,5	duplicate(IceCreamer)	ܷԱ#3	85

// Alberta
alberta,120,45,2	duplicate(IceCreamer)	ܷԱ#4	85

// Morroc Field
moc_fild16,88,304,4	duplicate(IceCreamer)	ܷԱ#5	85

// Morroc
//morocc,160,144,4	duplicate(IceCreamer)	ܷԱ#6	85
