bunnyband.txt 6.1 KB

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