root/npc/quests/bunnyband.txt @ 10

Revision 1, 6.3 kB (checked in by jinshiro, 17 years ago)
Line 
1//===== eAthena Script =======================================
2//= Bunny Band Quest
3//===== By: ==================================================
4//= eAthena Dev Team
5//===== Current Version: =====================================
6//= v1.5
7//===== Compatible With: =====================================
8//= eAthena SVN
9//===== Description: =========================================
10//= [Aegis Conversion]
11//= Quest to obtain a Bunny Band headgear.
12//===== Additional Comments: =================================
13//= 1.5 Rescripted to Aegis 10.3 standards. [L0ne_W0lf]
14//      Changed @BUNYBAN back to a BUNYBAND, it hsoudl be this way.
15//      Removed duplicates. NPC is ALberta-only.
16//============================================================
17
18alberta,26,229,0        script  Kafra Employee#bunny    83,{
19        if (BUNYBND == 1) {
20                mes "[Kafra Employee]";
21                mes "Hello there~!";
22                mes "How'd you like to";
23                mes "participate in Kafra";
24                mes "Corporation's special";
25                mes "^529DFFBunny Band Event^000000?";
26                next;
27                switch(select("Sure, I brought the items.:Event Information:Cancel")) {
28                case 1:
29                        mes "[Kafra Employee]";
30                        mes "Alrighty~";
31                        mes "Let me check to";
32                        mes "see if you brought";
33                        mes "all the items...";
34                        next;
35                        if (countitem(949) < 100) {
36                                mes "[Kafra Employee]";
37                                mes "Ooh, I'm sorry";
38                                mes "but you need to";
39                                mes "bring at least";
40                                mes "100 Feathers.";
41                                close;
42                        }
43                        if (countitem(706) == 0) {
44                                mes "[Kafra Employee]";
45                                mes "Ooh, I'm sorry";
46                                mes "but you need to";
47                                mes "bring at least";
48                                mes "1 Four-Leaf Clover.";
49                                close;
50                        }
51                        if (countitem(722) == 0) {
52                                mes "[Kafra Employee]";
53                                mes "Ooh, I'm sorry";
54                                mes "but you need to";
55                                mes "bring at least";
56                                mes "1 Pearl.";
57                                close;
58                        }               
59                        if (countitem(2213) == 0) {
60                                mes "Ooh, I'm sorry";
61                                mes "but you need to";
62                                mes "bring at least";
63                                mes "1 Kitty Band.";
64                                close;
65                        }
66                        mes "[Kafra Employee]";
67                        mes "Great, I see that";
68                        mes "you've gathered";
69                        mes "everything I need to";
70                        mes "make the Bunny Band.";
71                        mes "Please wait a moment";
72                        mes "while I put it together...";
73                        next;
74                        if (countitem(949) < 100) {
75                                mes "[Kafra Employee]";
76                                mes "Hm? I'm sorry,";
77                                mes "but I actually can't";
78                                mes "make this right now.";
79                                mes "You need 100 Feathers";
80                                mes "in order for me to put this";
81                                mes "Bunny Band together...";
82                                close;
83                        }
84                        if (countitem(706) < 1) {
85                                mes "[Kafra Employee]";
86                                mes "Hm? I'm sorry,";
87                                mes "but I actually can't";
88                                mes "make this right now. You";
89                                mes "need 1 Four-Leaf Clover";
90                                mes "in order for me to put this";
91                                mes "Bunny Band together...";
92                                close;
93                        }
94                        if (countitem(722) < 1) {
95                                mes "[Kafra Employee]";
96                                mes "Hm? I'm sorry,";
97                                mes "but I actually can't";
98                                mes "make this right now.";
99                                mes "You need 1 Pearl in";
100                                mes "order for me to put this";
101                                mes "Bunny Band together...";
102                                close;
103                        }
104                        if (countitem(2213) < 1) {
105                                mes "[Kafra Employee]";
106                                mes "Hm? I'm sorry,";
107                                mes "but I actually can't";
108                                mes "make this right now.";
109                                mes "You need 1 Kitty Band";
110                                mes "in order for me to put this";
111                                mes "Bunny Band together...";
112                                close;
113                        }
114                        delitem 949,100; //Feather
115                        delitem 706,1; //Four_Leaf_Clover
116                        delitem 722,1; //Scarlet_Jewel
117                        delitem 2213,1; //Cat_Hairband
118                        mes "[Kafra Employee]";
119                        mes "Ah, here you go~";
120                        mes "The perfect Bunny Band!";
121                        mes "Well, I hope you enjoy it.";
122                        getitem 2214,1; //Bunny_Band
123                        set BUNYBND,0;
124                        next;
125                        mes "[Kafra Employee]";
126                        mes "Thank you for";
127                        mes "participating in this";
128                        mes "special event and your";
129                        mes "continued patronage";
130                        mes "of the Kafra Services~";
131                        close;
132                case 2:
133                        mes "[Kafra Employee]";
134                        mes "To thank our valued";
135                        mes "customers, Kafra Corporation";
136                        mes "has prepared a special event";
137                        mes "where Kafra Employee will assemble";
138                        mes "Bunny Bands for adventurers";
139                        mes "who bring the required items.";
140                        next;
141                        mes "[Kafra Employee]";
142                        mes "For this special,";
143                        mes "one of a kind item,";
144                        mes "bring 100 Feathers,";
145                        mes "1 Four-Leaf Clover,";
146                        mes "1 Kitty Band and";
147                        mes "1 Pearl.";
148                        next;
149                        mes "[Kafra Employee]";
150                        mes "When you're ready,";
151                        mes "come back and bring";
152                        mes "those items to me.";
153                        mes "(Sponsored by the";
154                        mes "Alberta Merchant Guild).";
155                        close;
156                case 3:
157                        close;
158                }
159        }
160        mes "[Kafra Employee]";
161        mes "Hi there~! Would you like";
162        mes "to join our special ^529DFFBunny";
163        mes "Band Event^000000 hosted by the Kafra";
164        mes "Corporation and sponsored by";
165        mes "the Alberta Merchant Guild?";
166        next;
167        switch(select("Join the Event:Event Information:Cancel")) {
168        case 1:
169                set BUNYBND,1;
170                mes "[Kafra Employee]";
171                mes "Great! Thanks for";
172                mes "participating! If you";
173                mes "haven't already heard,";
174                mes "you need to collect these";
175                mes "items if you want me put a";
176                mes "Bunny Band together for you...";
177                next;
178                mes "[Kafra Employee]";
179                mes "100 Feathers,";
180                mes "1 Four-Leaf Clover,";
181                mes "1 Kitty Band and";
182                mes "1 Pearl. That's it!";
183                mes "Good luck and I'll be";
184                mes "waiting for you here~";
185                close;
186        case 2:
187                mes "[Kafra Employee]";
188                mes "To thank our valued";
189                mes "customers, Kafra Corporation";
190                mes "has prepared a special event";
191                mes "where Kafra Employee will assemble";
192                mes "Bunny Bands for adventurers";
193                mes "who bring the required items.";
194                next;
195                mes "[Kafra Employee]";
196                mes "For this special,";
197                mes "one of a kind item,";
198                mes "bring 100 Feathers,";
199                mes "1 Four-Leaf Clover,";
200                mes "1 Kitty Band and";
201                mes "1 Pearl.";
202                next;
203                mes "[Kafra Employee]";
204                mes "When you're ready,";
205                mes "come back and bring";
206                mes "those items to me.";
207                mes "(Sponsored by the";
208                mes "Alberta Merchant Guild).";
209                close;
210        case 3:
211                close;
212        }
213}
214
215//============================================================
216// Old changelog
217//============================================================
218//= 1.1 using duplicate command
219//= 1.2 Fixed NPC location, removed NPC dupes [Lupus]
220//= 1.3 RE-Fixed exploit V_V, also cleared used VAR [Lupus]
221//= 1.4 replaced BUNYBND with @BUNYBND [Lupus]
222//============================================================
Note: See TracBrowser for help on using the browser.