quest_leafcat.txt 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239
  1. //===== rAthena Script =======================================
  2. //= iRO Repeatable EXP Quests.
  3. //===== By: ==================================================
  4. //= L0ne_W0lf
  5. //===== Current Version: =====================================
  6. //= 1.0
  7. //===== Compatible With: =====================================
  8. //= rAthena Project
  9. //===== Description: =========================================
  10. //= [Official Conversion]
  11. //= Added Monster Killing quests.
  12. //= Repeatable EXP Quest (Huge Leaves)
  13. //===== Additional Comments: =================================
  14. //= 1.0 First version.
  15. //============================================================
  16. ayo_fild01,44,241,5 script Lella#LeafCat_Hunt 877,{
  17. if (checkquest(60143) != -1) {
  18. if (checkquest(60143,HUNTING) != 2 ) {
  19. mes "[Lella]";
  20. mes "Have you finished hunting the 50 Leaf Cats?";
  21. next;
  22. switch(select("Yes:No:I want to quit")) {
  23. case 1:
  24. mes "[Lella]";
  25. mes "Hmm, I don't think you've hunted 50 yet...";
  26. close;
  27. case 2:
  28. mes "[Lella]";
  29. mes "Remember, I need help hunting Leaf Cats so go and hunt 50 of them.";
  30. close;
  31. case 3:
  32. mes "[Lella]";
  33. mes "Are you sure that you want to stop hunting?";
  34. mes "Any progress that you've made will be erased";
  35. next;
  36. switch(select("Yes:No")) {
  37. case 1:
  38. mes "[Lella]";
  39. mes "Ok then, well come back here if you change your mind.";
  40. erasequest 60143;
  41. close;
  42. case 2:
  43. mes "[Lella]";
  44. mes "Please kill 50 Leaf Cats.";
  45. close;
  46. }
  47. }
  48. }
  49. else {
  50. mes "[Lella]";
  51. mes "Amazing, you did that with speed.";
  52. getexp 25740,31512;
  53. erasequest 60143;
  54. close;
  55. }
  56. }
  57. if (checkquest(60144) != -1) {
  58. if (checkquest(60144,HUNTING) != 2 ) {
  59. mes "[Lella]";
  60. mes "Have you finished hunting the 50 Leaf Cats?";
  61. next;
  62. switch(select("Yes:No:I want to quit")) {
  63. case 1:
  64. mes "[Lella]";
  65. mes "Hmm, I don't think you've hunted 100 yet...";
  66. close;
  67. case 2:
  68. mes "[Lella]";
  69. mes "Remember, I need help hunting Leaf Cats so go and hunt 100 of them.";
  70. close;
  71. case 3:
  72. mes "[Lella]";
  73. mes "Are you sure that you want to stop hunting?";
  74. mes "Any progress that you've made will be erased";
  75. next;
  76. switch(select("Yes:No")) {
  77. case 1:
  78. mes "[Lella]";
  79. mes "Ok then, well come back here if you change your mind.";
  80. erasequest 60144;
  81. close;
  82. case 2:
  83. mes "[Lella]";
  84. mes "Please kill 100 Leaf Cats.";
  85. close;
  86. }
  87. }
  88. }
  89. else {
  90. mes "[Lella]";
  91. mes "Amazing, you did that with speed.";
  92. getexp 25740,31512;
  93. getexp 25740,31512;
  94. erasequest 60144;
  95. close;
  96. }
  97. }
  98. if (checkquest(60145) != -1) {
  99. if (checkquest(60145,HUNTING) != 2 ) {
  100. mes "[Lella]";
  101. mes "Have you finished hunting the 150 Leaf Cats?";
  102. next;
  103. switch(select("Yes:No:I want to quit")) {
  104. case 1:
  105. mes "[Lella]";
  106. mes "Hmm, I don't think you've hunted 150 yet...";
  107. close;
  108. case 2:
  109. mes "[Lella]";
  110. mes "Remember, I need help hunting Leaf Cats so go and hunt 150 of them.";
  111. close;
  112. case 3:
  113. mes "[Lella]";
  114. mes "Are you sure that you want to stop hunting?";
  115. mes "Any progress that you've made will be erased";
  116. next;
  117. switch(select("Yes:No")) {
  118. case 1:
  119. mes "[Lella]";
  120. mes "Ok then, well come back here if you change your mind.";
  121. erasequest 60145;
  122. close;
  123. case 2:
  124. mes "[Lella]";
  125. mes "Please kill 150 Leaf Cats.";
  126. close;
  127. }
  128. }
  129. }
  130. else {
  131. mes "[Lella]";
  132. mes "Amazing, you did that with speed.";
  133. getexp 25740,31512;
  134. getexp 25740,31512;
  135. getexp 25740,31512;
  136. erasequest 60145;
  137. close;
  138. }
  139. }
  140. //for minimum level
  141. if (BaseLevel > 35) {
  142. //for maximum level
  143. if (BaseLevel < 66) {
  144. mes "[Lella]";
  145. mes "Why hello!";
  146. mes "You look like someone who is willing to help someone who is slowly going mad.";
  147. next;
  148. mes "[Lella]";
  149. switch(select("Sure:No")) {
  150. case 1:
  151. mes "[Lella]";
  152. mes "Thanks! You're a life saver!";
  153. next;
  154. switch(select("Gather Items:Hunt Leaf Cats:Cancel")) {
  155. case 1:
  156. // Item turn in
  157. mes "I really need to gather ^00CE0050 Huge Leafs^000000 for my sanity.";
  158. mes "Do you have any?";
  159. next;
  160. switch(select("I have 50 Huge Leafs:What, sorry I was day dreaming")) {
  161. case 1:
  162. /*
  163. if (checkweight(503,10) == 0) {
  164. mes "[Lella]";
  165. mes "Hey, it looks like that the weight on";
  166. mes "your back will crush you. Come back";
  167. mes "after you have lost some weight.";
  168. close;
  169. }
  170. */
  171. if (countitem(7198) > 49) {
  172. mes "[Lella]";
  173. mes "Wonderful I can tell it is just a little bit quieter around here!";
  174. next;
  175. mes "[Lella]";
  176. mes "The more leafs I collect the quieter it seems around here.";
  177. delitem 7198,50; //Great_Leaf
  178. getexp 25740,31512;
  179. //getitem 503,10; //Yellow_Potion
  180. close;
  181. }
  182. else {
  183. mes "[Lella]";
  184. mes "Meow meow meow meow meow...";
  185. mes "NOOOOOOOOOOOO.";
  186. close;
  187. }
  188. case 2:
  189. mes "[Lella]";
  190. mes "I need ^00CE0050 Huge Leafs^000000.";
  191. close;
  192. }
  193. case 2:
  194. // Kill Count Quest
  195. mes "[Lella]";
  196. mes "Ah, ok I think you can help me out by hunting some Leaf Cats.";
  197. mes "How many would you like to hunt?";
  198. next;
  199. switch(select("50 Leaf Cats:100 Leaf Cats:150 Leaf Cats")) {
  200. case 1:
  201. mes "[Lella]";
  202. mes "Come back when you've finished your task and I will give you a small reward.";
  203. setquest 60143;
  204. close;
  205. case 2:
  206. mes "[Lella]";
  207. mes "Come back when you've finished your task and I will give you a small reward.";
  208. setquest 60144;
  209. close;
  210. case 3:
  211. mes "[Lella]";
  212. mes "Come back when you've finished your task and I will give you a small reward.";
  213. setquest 60145;
  214. close;
  215. }
  216. case 3:
  217. mes "[Lella]";
  218. mes "If you change your mind, please come back.";
  219. close;
  220. }
  221. case 2:
  222. mes "[Lella]";
  223. mes "If you change your mind, please come back.";
  224. close;
  225. }
  226. }
  227. else {
  228. mes "[Lella]";
  229. mes "Not sure why you are here, but I can't offer you a bounty as there would be no effort in it for you!";
  230. close;
  231. }
  232. }
  233. else {
  234. mes "[Lella]";
  235. mes "Quickly escape before they get their claws into your sanity!";
  236. close;
  237. }
  238. }