summaryrefslogtreecommitdiff
path: root/npc/event1.txt
blob: 7af7a4d98eb49b60be0828c440bbbfcb1106a5c7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
//new_3-1.gat,35,30,0	script	Guard	110,{
	mes "[Guard]";
	mes "Snakes are entering the city, please help us killing them";
	mes "Bring me a proof that you killed at least 50 snakes and you'll be rewarded!";
	next;
	goto check;
check:
	if(countitem(540) >= 50) goto have;
	mes "[Guard]";
	mes "Please hurry and kill some snakes";
	close;
have:
	mes "[Guard]";
	mes "Thank you very much!!";
	delitem 540,50;
	next;
	mes "[Guard]";
	mes "Here it is your reward:";
	mes "an headband and a fresh beer";
	getitem 543,1;
	getitem 539,1;
	close;
}