1 | //===== eAthena Script ======================================= |
---|
2 | //= Easter Egg Event |
---|
3 | //===== By: ================================================== |
---|
4 | //= kobra_k88 |
---|
5 | //= fixed by Yoshimo |
---|
6 | //===== Current Version: ===================================== |
---|
7 | //= 1.0a |
---|
8 | //===== Compatible With: ===================================== |
---|
9 | //= |
---|
10 | //===== Description: ========================================= |
---|
11 | //= Break easter eggs in towns an cities to find chocolates. |
---|
12 | //= Exchange the chocolates for prizes. |
---|
13 | //= Includes Easter egg and Easter bunny mobs. |
---|
14 | //===== Additional Comments: ================================= |
---|
15 | //= Not sure about "Gold coin" as being one of the prizes. |
---|
16 | //= fixed infinite gifts [Yor] (thanks to Yoshimo from Freya's forum) |
---|
17 | //============================================================ |
---|
18 | |
---|
19 | |
---|
20 | geffen,95,201,3 script Shilo 50,{ |
---|
21 | mes "[Shilo]"; |
---|
22 | if(easter_Q == 1) goto L_Check; |
---|
23 | mes "*Sigh*... Where is my sister!?"; |
---|
24 | next; |
---|
25 | mes "[Shilo]"; |
---|
26 | mes "Oh... Hi there! I'm extremely excited! You know why?"; |
---|
27 | next; |
---|
28 | mes "[Shilo]"; |
---|
29 | mes "My favorite holiday is here... ^D2A200Easter^000000!!"; |
---|
30 | next; |
---|
31 | mes "[Shilo]"; |
---|
32 | mes "I can't wait to go find some easter eggs..."; |
---|
33 | next; |
---|
34 | if(@talked == 1) menu "I want to look for these eggs.",sM_0, "... Eggs? Why?",M_0, "You seriously bore me... *yawn*...",M_End; |
---|
35 | menu "... Eggs? Why?",M_0, "You seriously bore me...*yawn*..",M_End; |
---|
36 | |
---|
37 | M_0: |
---|
38 | mes "[Shilo]"; |
---|
39 | mes "You mean you've never been on an ^5533FFEaster Egg Hunt^000000 before?"; |
---|
40 | next; |
---|
41 | mes "[Shilo]"; |
---|
42 | mes "They're the best! See every year, people from all over hide ^5533FFEaster eggs^000000 through out Rune Midgard."; |
---|
43 | mes "And it's our job to go find as many as possible and collect all of the goodies inside of them."; |
---|
44 | next; |
---|
45 | mes "[Shilo]"; |
---|
46 | mes "See, along time ago, the Peco Peco roamed the land free of any hostilities..."; |
---|
47 | mes "All over Rune Midgard, they did as the pleased, and they reproduced without any fears."; |
---|
48 | next; |
---|
49 | mes "[Shilo]"; |
---|
50 | mes "The Peco Peco population thrived and kept growing... Eventually their numbers got out of hand."; |
---|
51 | mes "The people of Rune Midgard decided that they needed to do something about the overwhelming population of Peco Pecos."; |
---|
52 | next; |
---|
53 | mes "[Shilo]"; |
---|
54 | mes "So they set out to destroy as many of the Peco Peco eggs they could find!!"; |
---|
55 | next; |
---|
56 | mes "[Shilo]"; |
---|
57 | mes "Many children found the destruction of helpless Peco Peco eggs to be unbearable."; |
---|
58 | mes "They were very sad about this and pleaded with their parents to stop."; |
---|
59 | next; |
---|
60 | mes "[Shilo]"; |
---|
61 | mes "Unfortunately they could not stop."; |
---|
62 | mes "If they did nothing the fertile lands of Rune Midard would be destoryed by the Peco Pecos."; |
---|
63 | next; |
---|
64 | mes "[Shilo]"; |
---|
65 | mes "So they decided to try to convince the children that destroying the eggs was a good thing."; |
---|
66 | mes "The parents starting making fake peco peco eggs that had treats in them."; |
---|
67 | next; |
---|
68 | mes "[Shilo]"; |
---|
69 | mes "They hid them all over town and had the children search for them."; |
---|
70 | mes "Once found, the children would break the eggs and find the treats. They would then feel happy about breaking Peco Peco eggs."; |
---|
71 | next; |
---|
72 | mes "[Shilo]"; |
---|
73 | mes "Now the Peco Peco has natural enemies, like desert wolves, which keep the Peco Peco population in check."; |
---|
74 | mes "Therefore the people of Rune Midgard no longer have to destroy defenseless Peco Peco eggs."; |
---|
75 | next; |
---|
76 | mes "[Shilo]"; |
---|
77 | mes "But we still carry on the tradition of hiding fake eggs all over Rune Midgard every year."; |
---|
78 | mes "And that is the story behind Easter in Rune Midgard."; |
---|
79 | next; |
---|
80 | mes "[Shilo]"; |
---|
81 | mes "You know... it looks like I'm going to be here for alonge while. I'll tell you what..."; |
---|
82 | next; |
---|
83 | mes "[Shilo]"; |
---|
84 | mes "If you go out and find some ^5533FFEaster eggs^000000 and bring me back their special 'treats', I will give you something for them..."; |
---|
85 | mes "What do you say?"; |
---|
86 | set @talked, 1; |
---|
87 | next; |
---|
88 | menu "What do I have to do?",sM_0, "Nah, I'm to busy.",sM_End; |
---|
89 | |
---|
90 | sM_0: |
---|
91 | mes "[Shilo]"; |
---|
92 | mes "All you have to do is go hunt for some Easter eggs which can be found in the towns and cities all over Rune Midgard."; |
---|
93 | next; |
---|
94 | mes "[Shilo]"; |
---|
95 | mes "When you find them, break em. If you're lucky, there will be delicious ^D2A200'Chocolates'^000000 inside of them."; |
---|
96 | mes "Find at least ^00950010^000000, and bring them to me and I will give you a ^FF5533prize^000000."; |
---|
97 | next; |
---|
98 | mes "[Shilo]"; |
---|
99 | mes "The more you bring to me, the better my gift to you will be."; |
---|
100 | next; |
---|
101 | mes "[Shilo]"; |
---|
102 | mes "I'll will give you something for:"; |
---|
103 | mes "^00950010 ^D2A200Chocolates"; // 1 gold coin ? |
---|
104 | mes "^5533FF50 ^D2A200Chocolates^000000"; // 1 old blue box |
---|
105 | mes "and ^FF3355150 ^D2A200Chocolates^000000"; // 1 old purple box |
---|
106 | next; |
---|
107 | mes "[Shilo]"; |
---|
108 | mes "So what do you say?"; |
---|
109 | next; |
---|
110 | menu "Sounds fun, I'll do it!",ssM_0, "I have better things to do",ssM_End; |
---|
111 | |
---|
112 | ssM_0: |
---|
113 | mes "[Shilo]"; |
---|
114 | mes "Great! But I must warn you..."; |
---|
115 | next; |
---|
116 | mes "[Shilo]"; |
---|
117 | mes "During your hunt, you may come across the protectors of these eggs..."; |
---|
118 | next; |
---|
119 | mes "[Shilo]"; |
---|
120 | mes "They have a bright, light blue color and are very 'fluffy'..."; |
---|
121 | mes "Though I have never seen one, I've heard many stories about them."; |
---|
122 | next; |
---|
123 | mes "[Shilo]"; |
---|
124 | mes "The have come to be know as... '^FF3355Easter Bunnies^000000'!!"; |
---|
125 | mes "Be safe and good luck. I'll be waiting here."; |
---|
126 | set easter_Q, 1; |
---|
127 | close; |
---|
128 | |
---|
129 | ssM_End: |
---|
130 | mes "[Shilo]"; |
---|
131 | mes "Well it's your loss..."; |
---|
132 | emotion 9; |
---|
133 | close; |
---|
134 | sM_End: |
---|
135 | mes "[Shilo]"; |
---|
136 | mes "Ahh, I understand. Farewell."; |
---|
137 | close; |
---|
138 | M_End: |
---|
139 | mes "[Shilo]"; |
---|
140 | mes "... Well, you're not all that exciting to talk with either..."; |
---|
141 | emotion 9; |
---|
142 | close; |
---|
143 | |
---|
144 | |
---|
145 | //--------------------- |
---|
146 | L_Check: |
---|
147 | //---------- |
---|
148 | mes "Find any ^D2A200Chocolate^000000 yet?"; |
---|
149 | next; |
---|
150 | mes "[Shilo]"; |
---|
151 | if (countitem(558) < 10) goto L_NotEnuf; |
---|
152 | mes "Great. You have " + countitem(558) + " ^D2A200Chocolates^000000. Here is your prize..."; |
---|
153 | if (countitem(558) >= 150) goto L_150; |
---|
154 | if (countitem(558) >= 50) goto L_50; |
---|
155 | |
---|
156 | delitem 558,10; |
---|
157 | getitem 671,1; |
---|
158 | goto L_Cont; |
---|
159 | |
---|
160 | L_50: |
---|
161 | delitem 558,50; |
---|
162 | getitem 603,1; |
---|
163 | goto L_Cont; |
---|
164 | |
---|
165 | L_150: |
---|
166 | delitem 558,150; |
---|
167 | getitem 617,1; |
---|
168 | goto L_Cont; |
---|
169 | |
---|
170 | L_Cont: |
---|
171 | mes "Have fun and happy Easter!"; |
---|
172 | close; |
---|
173 | |
---|
174 | L_NotEnuf: |
---|
175 | mes "You don't have enough ^D2A200Chocolate^000000 for a prize."; |
---|
176 | close; |
---|
177 | } |
---|
178 | |
---|
179 | |
---|
180 | // Easter Eggs |
---|
181 | //===================================================== |
---|
182 | alberta,0,0,0,0 monster Easter Egg 1920,100,0,0,0 |
---|
183 | aldebaran,0,0,0,0 monster Easter Egg 1920,150,0,0,0 |
---|
184 | amatsu,0,0,0,0 monster Easter Egg 1920,100,0,0,0 |
---|
185 | comodo,0,0,0,0 monster Easter Egg 1920,100,0,0,0 |
---|
186 | geffen,0,0,0,0 monster Easter Egg 1920,120,0,0,0 |
---|
187 | gonryun,0,0,0,0 monster Easter Egg 1920,100,0,0,0 |
---|
188 | izlude,0,0,0,0 monster Easter Egg 1920,80,0,0,0 |
---|
189 | louyang,0,0,0,0 monster Easter Egg 1920,200,0,0,0 |
---|
190 | morocc,0,0,0,0 monster Easter Egg 1920,250,0,0,0 |
---|
191 | payon,0,0,0,0 monster Easter Egg 1920,150,0,0,0 |
---|
192 | prontera,0,0,0,0 monster Easter Egg 1920,250,0,0,0 |
---|
193 | umbala,0,0,0,0 monster Easter Egg 1920,100,0,0,0 |
---|
194 | yuno,0,0,0,0 monster Easter Egg 1920,150,0,0,0 |
---|
195 | |
---|
196 | // Easter Bunny |
---|
197 | //====================================================== |
---|
198 | alberta,0,0,0,0 monster Easter Bunny 1921,1,1200000,900000,0 |
---|
199 | geffen,0,0,0,0 monster Easter Bunny 1921,1,1200000,900000,0 |
---|
200 | morocc,0,0,0,0 monster Easter Bunny 1921,2,1200000,900000,0 |
---|
201 | payon,0,0,0,0 monster Easter Bunny 1921,1,1200000,900000,0 |
---|
202 | prontera,0,0,0,0 monster Easter Bunny 1921,2,840000,420000,0 |
---|