//===== eAthena Script =======================================
//= X-mas Event
//===== By: ==================================================
//=
//===== Current Version: =====================================
//= 1.0
//===== Compatible With: =====================================
//=
//===== Description: =========================================
//= Beat up Antonios and grab his socks.  Get at least 3 and
//= give them to Santa Claus Claus in exchange for a present.
//= Includes X-mas mobs.
//= This npc will disable, the current Santa Claus Claus npc.
//===== Additional Comments: =================================
//=
//============================================================


xmas_in.gat,100,96,4	script	Father Christmas::Santa2	718,{
	mes "[Santa Claus]";
	mes "I'm having a bit of a problem...";
	mes "Do you care to listen?";
	next;
	menu "Listen to Santa Claus.",M_0, "Give Santa Claus Proof.",M_1, "Cancel.",M_End;

	M_0:
		mes "[Santa Claus]";
		mes "My problem is this.";
		mes "There seems to be a man out there";
		mes "that is impersonating me and spreading";
		mes "terror throughout the land.";
		next;
		mes "[Santa Claus]";
		mes "Like the Grinch of legend, he's taking";
		mes "all the children's toys and keeping them";
		mes "for himself.";
		next;
		mes "[Santa Claus]";
		mes "I'm too busy here creating my batch of ";
		mes "toys for next year, so I can't go";
		mes "out and find him myself.";
		mes "So I would like you to go out and";
		mes "Destroy this man for me.";
		next;
		mes "[Santa Claus]";
		mes "He has in his posession one of my";
		mes "magic sacks, however, so he will";
		mes "escape into it into another place when";
		mes "you attack him each time.";
		next;
		mes "[Santa Claus]";
		mes "However,";
		mes "In his haste, he tends to drop things.";
		mes "If by chance he drops one of his stockings";
		mes "with holes that he uses to steal the";
		mes "poor children's toys, pick it up.";
		next;
		mes "[Santa Claus]";
		mes "If you collect 3 of these, I will give";
		mes "you a prototype mystery box that";
		mes "I've been keeping around the";
		mes "lab.  It spits out random presents";
		mes "and saves me a ton of work.";
		close;
	M_1:
		mes "[Santa Claus]";
		if(countitem(7034) < 3) goto L_NotEnuf;
		mes "Seems you've been doing a";
		mes "good job of taking down those";
		mes "fake Santas.  Keep it up!";
		next;
		delitem 7034,3;
		getitem 644,1;
		mes "[Santa Claus]";
		mes "There's your reward.";
		mes "If you get 3 more, I'll give you another.";
		mes "Hope you get a good item.";
		close;
	
		L_NotEnuf:
			mes "You don't have enough socks as proof.";
			mes "Go take down those evil Santas";
			mes "and get more for me and I'll";
			mes "reward you.";
			close;
	M_End:
		mes "[Santa Claus]";
		mes "I see.  Well, at the very least";
		mes "we shall meet again on Chirstmas morning.";
		close;

OnInit:
	disablenpc "Santa1";
	end;
}


//========================================================
// X-mas Mobs
//========================================================
gef_fild00.gat,0,0,0,0	monster	Antonio	1062,5,0,0,0
gef_fild00.gat,0,0,0,0	monster	Santa Poring	1062,35,0,0,0
gef_fild01.gat,0,0,0,0	monster	Antonio	1062,5,0,0,0
gef_fild01.gat,0,0,0,0	monster	Santa Poring	1062,35,0,0,0
gef_fild02.gat,0,0,0,0	monster	Antonio	1062,5,0,0,0
gef_fild02.gat,0,0,0,0	monster	Gobline Xmas	1245,5,0,0,0
gef_fild02.gat,0,0,0,0	monster	Santa Poring	1062,35,0,0,0
gef_fild03.gat,0,0,0,0	monster	Antonio	1062,5,0,0,0
gef_fild03.gat,0,0,0,0	monster	Santa Poring	1062,35,0,0,0
gef_fild04.gat,0,0,0,0	monster	Antonio	1062,5,0,0,0
gef_fild04.gat,0,0,0,0	monster	Santa Poring	1062,35,0,0,0
gef_fild05.gat,0,0,0,0	monster	Antonio	1062,5,0,0,0
gef_fild05.gat,0,0,0,0	monster	Santa Poring	1062,35,0,0,0
gef_fild07.gat,0,0,0,0	monster	Antonio	1062,5,0,0,0
gef_fild07.gat,0,0,0,0	monster	Santa Poring	1062,35,0,0,0
gef_fild08.gat,0,0,0,0	monster	Antonio	1062,5,0,0,0
gef_fild08.gat,0,0,0,0	monster	Santa Poring	1062,35,0,0,0
gef_fild09.gat,0,0,0,0	monster	Antonio	1062,5,0,0,0
gef_fild09.gat,0,0,0,0	monster	Santa Poring	1062,35,0,0,0
gef_fild10.gat,0,0,0,0	monster	Antonio	1062,5,0,0,0
gef_fild10.gat,0,0,0,0	monster	Santa Poring	1062,35,0,0,0
gef_fild11.gat,0,0,0,0	monster	Antonio	1062,5,0,0,0
gef_fild11.gat,0,0,0,0	monster	Gobline Xmas	1245,5,0,0,0
gef_fild11.gat,0,0,0,0	monster	Santa Poring	1062,35,0,0,0

glast_01.gat,0,0,0,0	monster	Antonio	1062,5,0,0,0
glast_01.gat,0,0,0,0	monster	Santa Poring	1062,35,0,0,0

mjolnir_01.gat,0,0,0,0	monster	Antonio	1062,5,0,0,0
mjolnir_01.gat,0,0,0,0	monster	Santa Poring	1062,35,0,0,0
mjolnir_02.gat,0,0,0,0	monster	Antonio	1062,5,0,0,0
mjolnir_02.gat,0,0,0,0	monster	Santa Poring	1062,35,0,0,0
mjolnir_03.gat,0,0,0,0	monster	Antonio	1062,5,0,0,0
mjolnir_03.gat,0,0,0,0	monster	Santa Poring	1062,35,0,0,0
mjolnir_04.gat,0,0,0,0	monster	Antonio	1062,5,0,0,0
mjolnir_04.gat,0,0,0,0	monster	Santa Poring	1062,35,0,0,0
mjolnir_05.gat,0,0,0,0	monster	Antonio	1062,5,0,0,0
mjolnir_05.gat,0,0,0,0	monster	Santa Poring	1062,35,0,0,0
mjolnir_06.gat,0,0,0,0	monster	Antonio	1062,5,0,0,0
mjolnir_06.gat,0,0,0,0	monster	Santa Poring	1062,35,0,0,0
mjolnir_07.gat,0,0,0,0	monster	Antonio	1062,5,0,0,0
mjolnir_07.gat,0,0,0,0	monster	Santa Poring	1062,35,0,0,0
mjolnir_08.gat,0,0,0,0	monster	Santa Poring	1062,35,0,0,0
mjolnir_08.gat,0,0,0,0	monster	Antonio	1062,5,0,0,0
mjolnir_08.gat,0,0,0,0	monster	Santa Poring	1062,35,0,0,0
mjolnir_09.gat,0,0,0,0	monster	Antonio	1062,5,0,0,0
mjolnir_09.gat,0,0,0,0	monster	Santa Poring	1062,35,0,0,0
mjolnir_10.gat,0,0,0,0	monster	Antonio	1062,5,0,0,0
mjolnir_10.gat,0,0,0,0	monster	Santa Poring	1062,35,0,0,0
mjolnir_11.gat,0,0,0,0	monster	Antonio	1062,5,0,0,0
mjolnir_11.gat,0,0,0,0	monster	Santa Poring	1062,35,0,0,0
mjolnir_12.gat,0,0,0,0	monster	Antonio	1062,5,0,0,0
mjolnir_12.gat,0,0,0,0	monster	Santa Poring	1062,35,0,0,0

moc_fild01.gat,0,0,0,0	monster	Antonio	1062,5,0,0,0
moc_fild01.gat,0,0,0,0	monster	Santa Poring	1062,35,0,0,0
moc_fild02.gat,0,0,0,0	monster	Antonio	1062,5,0,0,0
moc_fild02.gat,0,0,0,0	monster	Santa Poring	1062,35,0,0,0
moc_fild03.gat,0,0,0,0	monster	Antonio	1062,5,0,0,0
moc_fild03.gat,0,0,0,0	monster	Santa Poring	1062,35,0,0,0
moc_fild04.gat,0,0,0,0	monster	Antonio	1062,5,0,0,0
moc_fild04.gat,0,0,0,0	monster	Santa Poring	1062,35,0,0,0
moc_fild05.gat,0,0,0,0	monster	Antonio	1062,5,0,0,0
moc_fild05.gat,0,0,0,0	monster	Santa Poring	1062,35,0,0,0
moc_fild06.gat,0,0,0,0	monster	Antonio	1062,5,0,0,0
moc_fild06.gat,0,0,0,0	monster	Santa Poring	1062,35,0,0,0
moc_fild07.gat,0,0,0,0	monster	Antonio	1062,5,0,0,0
moc_fild07.gat,0,0,0,0	monster	Santa Poring	1062,35,0,0,0
moc_fild08.gat,0,0,0,0	monster	Antonio	1062,5,0,0,0
moc_fild08.gat,0,0,0,0	monster	Santa Poring	1062,35,0,0,0
moc_fild09.gat,0,0,0,0	monster	Antonio	1062,5,0,0,0
moc_fild09.gat,0,0,0,0	monster	Santa Poring	1062,35,0,0,0
moc_fild10.gat,0,0,0,0	monster	Antonio	1062,5,0,0,0
moc_fild10.gat,0,0,0,0	monster	Santa Poring	1062,35,0,0,0
moc_fild11.gat,0,0,0,0	monster	Antonio	1062,5,0,0,0
moc_fild11.gat,0,0,0,0	monster	Santa Poring	1062,35,0,0,0
moc_fild12.gat,0,0,0,0	monster	Antonio	1062,5,0,0,0
moc_fild12.gat,0,0,0,0	monster	Santa Poring	1062,35,0,0,0
moc_fild13.gat,0,0,0,0	monster	Antonio	1062,5,0,0,0
moc_fild13.gat,0,0,0,0	monster	Santa Poring	1062,35,0,0,0
moc_fild14.gat,0,0,0,0	monster	Antonio	1062,5,0,0,0
moc_fild14.gat,0,0,0,0	monster	Santa Poring	1062,35,0,0,0
moc_fild15.gat,0,0,0,0	monster	Antonio	1062,5,0,0,0
moc_fild15.gat,0,0,0,0	monster	Santa Poring	1062,35,0,0,0
moc_fild16.gat,0,0,0,0	monster	Antonio	1062,5,0,0,0
moc_fild16.gat,0,0,0,0	monster	Santa Poring	1062,35,0,0,0
moc_fild17.gat,0,0,0,0	monster	Antonio	1062,5,0,0,0
moc_fild17.gat,0,0,0,0	monster	Santa Poring	1062,35,0,0,0
moc_fild18.gat,0,0,0,0	monster	Antonio	1062,5,0,0,0
moc_fild18.gat,0,0,0,0	monster	Santa Poring	1062,35,0,0,0

pay_fild01.gat,0,0,0,0	monster	Antonio	1062,5,0,0,0
pay_fild01.gat,0,0,0,0	monster	Santa Poring	1062,35,0,0,0
pay_fild02.gat,0,0,0,0	monster	Antonio	1062,5,0,0,0
pay_fild02.gat,0,0,0,0	monster	Santa Poring	1062,35,0,0,0
pay_fild03.gat,0,0,0,0	monster	Antonio	1062,5,0,0,0
pay_fild03.gat,0,0,0,0	monster	Santa Poring	1062,35,0,0,0
pay_fild04.gat,0,0,0,0	monster	Antonio	1062,5,0,0,0
pay_fild04.gat,0,0,0,0	monster	Santa Poring	1062,35,0,0,0
pay_fild05.gat,0,0,0,0	monster	Antonio	1062,5,0,0,0
pay_fild05.gat,0,0,0,0	monster	Santa Poring	1062,35,0,0,0
pay_fild06.gat,0,0,0,0	monster	Antonio	1062,5,0,0,0
pay_fild06.gat,0,0,0,0	monster	Santa Poring	1062,35,0,0,0
pay_fild07.gat,0,0,0,0	monster	Antonio	1062,5,0,0,0
pay_fild07.gat,0,0,0,0	monster	Santa Poring	1062,35,0,0,0
pay_fild08.gat,0,0,0,0	monster	Antonio	1062,5,0,0,0
pay_fild08.gat,0,0,0,0	monster	Santa Poring	1062,35,0,0,0
pay_fild09.gat,0,0,0,0	monster	Antonio	1062,5,0,0,0
pay_fild09.gat,0,0,0,0	monster	Santa Poring	1062,35,0,0,0
pay_fild10.gat,0,0,0,0	monster	Antonio	1062,5,0,0,0
pay_fild10.gat,0,0,0,0	monster	Santa Poring	1062,35,0,0,0
pay_fild11.gat,0,0,0,0	monster	Antonio	1062,5,0,0,0
pay_fild11.gat,0,0,0,0	monster	Santa Poring	1062,35,0,0,0

prt_fild00.gat,0,0,0,0	monster	Antonio	1062,5,0,0,0
prt_fild00.gat,0,0,0,0	monster	Santa Poring	1062,35,0,0,0
prt_fild01.gat,0,0,0,0	monster	Antonio	1062,5,0,0,0
prt_fild01.gat,0,0,0,0	monster	Santa Poring	1062,35,0,0,0
prt_fild02.gat,0,0,0,0	monster	Antonio	1062,5,0,0,0
prt_fild02.gat,0,0,0,0	monster	Santa Poring	1062,35,0,0,0
prt_fild03.gat,0,0,0,0	monster	Antonio	1062,5,0,0,0
prt_fild03.gat,0,0,0,0	monster	Santa Poring	1062,35,0,0,0
prt_fild04.gat,0,0,0,0	monster	Antonio	1062,5,0,0,0
prt_fild04.gat,0,0,0,0	monster	Santa Poring	1062,35,0,0,0
prt_fild05.gat,0,0,0,0	monster	Antonio	1062,5,0,0,0
prt_fild05.gat,0,0,0,0	monster	Santa Poring	1062,35,0,0,0
prt_fild06.gat,0,0,0,0	monster	Antonio	1062,5,0,0,0
prt_fild06.gat,0,0,0,0	monster	Santa Poring	1062,35,0,0,0
prt_fild07.gat,0,0,0,0	monster	Antonio	1062,5,0,0,0
prt_fild07.gat,0,0,0,0	monster	Santa Poring	1062,35,0,0,0
prt_fild08.gat,0,0,0,0	monster	Antonio	1062,5,0,0,0
prt_fild08.gat,0,0,0,0	monster	Santa Poring	1062,35,0,0,0
prt_fild09.gat,0,0,0,0	monster	Antonio	1062,5,0,0,0
prt_fild09.gat,0,0,0,0	monster	Santa Poring	1062,35,0,0,0
prt_fild10.gat,0,0,0,0	monster	Antonio	1062,5,0,0,0
prt_fild10.gat,0,0,0,0	monster	Santa Poring	1062,35,0,0,0
prt_fild11.gat,0,0,0,0	monster	Antonio	1062,5,0,0,0
prt_fild11.gat,0,0,0,0	monster	Santa Poring	1062,35,0,0,0
gef_fild12.gat,0,0,0,0	monster	Antonio	1062,5,0,0,0
gef_fild13.gat,0,0,0,0	monster	Antonio	1062,5,0,0,0
gef_fild14.gat,0,0,0,0	monster	Antonio	1062,5,0,0,0

cmd_fild01.gat,0,0,0,0	monster	Antonio	1062,5,0,0,0
cmd_fild02.gat,0,0,0,0	monster	Antonio	1062,5,0,0,0
cmd_fild03.gat,0,0,0,0	monster	Antonio	1062,5,0,0,0
cmd_fild04.gat,0,0,0,0	monster	Antonio	1062,5,0,0,0
cmd_fild05.gat,0,0,0,0	monster	Antonio	1062,5,0,0,0
cmd_fild06.gat,0,0,0,0	monster	Antonio	1062,5,0,0,0
cmd_fild07.gat,0,0,0,0	monster	Antonio	1062,5,0,0,0
cmd_fild08.gat,0,0,0,0	monster	Antonio	1062,5,0,0,0
cmd_fild09.gat,0,0,0,0	monster	Antonio	1062,5,0,0,0
