//===== rAthena Script =======================================
//= Imitation of Dumpling Festival
//===== By ===================================================
//= Massdriller
//===== Version ==============================================
//= 1.01
//===== Compatible With ======================================
//= rAthena 0.52+
//===== Description ==========================================
//= A complete redering of the Dumpling Festival.
//===== Comments =============================================
//= Ver 1.0- Duplicate of MRO's Dumpling Event
//= 1.01 fixed bugs [Lupus]
//============================================================
  
payon,93,81,4	script	ħʦ 	834,{
	mes "[ħʦ ]";
	mes "ʺʿ,  ħʦ .";
	mes "ұѾ˺ܳʱ.";
	next;
	mes "[ħʦ ]";
	mes "Ҹоһλʿ";
	mes "ʱ. ЩЭ.";
	next;
  	if (select(":, лл")==2) {
		mes "[ħʦ ]";
		mes "ǵ, ףҳɷ.";
		close;
	}
	mes "[ħʦ ]";
	mes " 2 Ʒܶ.";
	next;
	setarray .@item[0],682,683,20000,10000;
	set .@i,select("ۻƾ:")-1;
	mes "[ħʦ ]";
	mes "Ҫٸ?";
	mes "һֻ 5 .";
	mes "ÿ "+ .@item[3+.@i] +"";
	mes "( 0 ȡ)";
	next;
	input @input;
	if (@input == 0) close;
	if (@input > 5) {
		mes "[ħʦ ]";
		mes "㲻ô̰, ӷ.";
		close;
	}
	if (Zeny< @input*.@item[3+.@i]) {
		mes "[ħʦ ]";
		mes "Ǯܹÿ˴, Ҫ֧ԮҵԼ. , ɱħǵĵ.";
		close;
	}
	set Zeny,Zeny-.@item[3+.@i]*@input;
	getitem 682,@input;
	mes "[ħʦ ]";
	mes "㶫, ϣܹɹ.";
	close;
}

// չ
gef_fild00,0,0,0,0	monster	չ	1520,20,60000,66000
gef_fild07,0,0,0,0	monster	չ	1520,20,60000,66000
gef_fild04,0,0,0,0	monster	չ	1520,20,60000,66000
gef_fild00,0,0,0,0	monster	չ	1520,20,60000,66000
prt_fild06,0,0,0,0	monster	չ	1520,20,60000,66000
prt_fild01,0,0,0,0	monster	չ	1520,20,60000,66000
prt_fild05,0,0,0,0	monster	չ	1520,20,60000,66000
prt_fild08,0,0,0,0	monster	չ	1520,20,60000,66000
pay_fild04,0,0,0,0	monster	չ	1520,20,60000,66000
moc_fild02,0,0,0,0	monster	չ	1520,20,60000,66000
pay_fild01,0,0,0,0	monster	չ	1520,20,60000,66000
pay_fild07,0,0,0,0	monster	չ	1520,20,60000,66000
moc_fild03,0,0,0,0	monster	չ	1520,20,60000,66000
pay_fild06,0,0,0,0	monster	չ	1520,20,60000,66000
pay_fild05,0,0,0,0	monster	չ	1520,20,60000,66000
pay_fild02,0,0,0,0	monster	չ	1520,20,60000,66000
pay_fild09,0,0,0,0	monster	չ	1520,20,60000,66000

// 
moc_fild03,0,0,0,0	monster		1518,1,60000,66000

// С
moc_fild03,0,0,0,0	monster	С	1519,1,60000,66000
moc_fild13,0,0,0,0	monster	С	1519,1,60000,66000
pay_fild01,0,0,0,0	monster	С	1519,1,60000,66000
