1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
001-1.gat,40,40,6 script EasterBunny 139,{
if (QUEST_Easter08_state > 0) goto L_Finished;
mes "[Easter Bunny]";
mes "Hi handsome! Happy Easter to you.";
next;
set @cond, 0;
if (countitem("RedEasterEgg") > 0) set @cond, @cond + 1;
if (countitem("GreenEasterEgg") > 0) set @cond, @cond + 1;
if (countitem("BlueEasterEgg") > 0) set @cond, @cond + 1;
if (countitem("YellowEasterEgg") > 0) set @cond, @cond + 1;
if (countitem("PinkEasterEgg") > 0) set @cond, @cond + 1;
if (countitem("TealEasterEgg") > 0) set @cond, @cond + 1;
if (@cond == 6) goto L_Give;
L_Message:
mes "[Easter Bunny]";
mes "Do you want to take part in the big easter egg hunt?";
mes "";
mes "There are fluffys all around the world with their magic easter eggs.";
mes "When you catch them and collect 6 different kinds of eggs I will";
mes "give you a special prize!";
if (@cond > 0) mes "You already have found "+@cond+" different eggs!";
close;
L_Give:
delitem "RedEasterEgg", 1;
delitem "GreenEasterEgg", 1;
delitem "BlueEasterEgg", 1;
delitem "YellowEasterEgg", 1;
delitem "PinkEasterEgg", 1;
delitem "TealEasterEgg", 1;
mes "[Easter Bunny]";
mes "Here is your prize:";
mes "The official easter 2008 headgear!";
mes "Have fun!";
getitem "BunnyEars", 1;
set QUEST_Easter08_state, 1;
close;
L_Finished:
mes "[Easter Bunny]";
mes "You already completed the quest.";
mes "But maybe you would like to help others complete it, too?";
close;
}
|