quest_fabre.txt 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231
  1. //===== eAthena Script =======================================
  2. //= iRO Repeatable EXP Quests.
  3. //===== By: ==================================================
  4. //= L0ne_W0lf
  5. //===== Current Version: =====================================
  6. //= 1.0
  7. //===== Compatible With: =====================================
  8. //= eAthena SVN
  9. //===== Description: =========================================
  10. //= [Aegis Conversion]
  11. //= Added Monster Killing quests.
  12. //= Repeatable EXP Quest (Fluffs)
  13. //===== Additional Comments: =================================
  14. //= 1.0 First version.
  15. //============================================================
  16. gef_fild07,321,193,4 script Langry#Fabre_Hunt 754,{
  17. if (checkquest(60107) != -1) {
  18. if (checkquest(60107,HUNTING) != 2 ) {
  19. mes "[Langry]";
  20. mes "Have you finished hunting the 50 Fabres?";
  21. next;
  22. switch(select("Yes:No:I want to quit")) {
  23. case 1:
  24. mes "[Langry]";
  25. mes "Hmm, I don't think you've hunted 50 yet...";
  26. close;
  27. case 2:
  28. mes "[Langry]";
  29. mes "Remember, I need help hunting Fabres so go and hunt 50 of them.";
  30. close;
  31. case 3:
  32. mes "[Langry]";
  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 "[Langry]";
  39. mes "Ok then, well come back here if you change your mind.";
  40. erasequest 60107;
  41. close;
  42. case 2:
  43. mes "[Langry]";
  44. mes "Please kill 50 Fabres.";
  45. close;
  46. }
  47. }
  48. }
  49. else {
  50. mes "[Langry]";
  51. mes "Amazing, you did that with speed.";
  52. getexp 385,30;
  53. erasequest 60107;
  54. close;
  55. }
  56. }
  57. if (checkquest(60108) != -1) {
  58. if (checkquest(60108,HUNTING) != 2 ) {
  59. mes "[Langry]";
  60. mes "Have you finished hunting the 50 Fabres?";
  61. next;
  62. switch(select("Yes:No:I want to quit")) {
  63. case 1:
  64. mes "[Langry]";
  65. mes "Hmm, I don't think you've hunted 100 yet...";
  66. close;
  67. case 2:
  68. mes "[Langry]";
  69. mes "Remember, I need help hunting Fabres so go and hunt 100 of them.";
  70. close;
  71. case 3:
  72. mes "[Langry]";
  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 "[Langry]";
  79. mes "Ok then, well come back here if you change your mind.";
  80. erasequest 60108;
  81. close;
  82. case 2:
  83. mes "[Langry]";
  84. mes "Please kill 100 Fabres.";
  85. close;
  86. }
  87. }
  88. }
  89. else {
  90. mes "[Langry]";
  91. mes "Amazing, you did that with speed.";
  92. getexp 385,30;
  93. getexp 385,30;
  94. erasequest 60108;
  95. close;
  96. }
  97. }
  98. if (checkquest(60109) != -1) {
  99. if (checkquest(60109,HUNTING) != 2 ) {
  100. mes "[Langry]";
  101. mes "Have you finished hunting the 150 Fabres?";
  102. next;
  103. switch(select("Yes:No:I want to quit")) {
  104. case 1:
  105. mes "[Langry]";
  106. mes "Hmm, I don't think you've hunted 150 yet...";
  107. close;
  108. case 2:
  109. mes "[Langry]";
  110. mes "Remember, I need help hunting Fabres so go and hunt 150 of them.";
  111. close;
  112. case 3:
  113. mes "[Langry]";
  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 "[Langry]";
  120. mes "Ok then, well come back here if you change your mind.";
  121. erasequest 60109;
  122. close;
  123. case 2:
  124. mes "[Langry]";
  125. mes "Please kill 150 Fabres.";
  126. close;
  127. }
  128. }
  129. }
  130. else {
  131. mes "[Langry]";
  132. mes "Amazing, you did that with speed.";
  133. getexp 385,30;
  134. getexp 385,30;
  135. getexp 385,30;
  136. erasequest 60109;
  137. close;
  138. }
  139. }
  140. //for minimum level
  141. if (BaseLevel > 1) {
  142. //for maximum level
  143. if (BaseLevel < 21) {
  144. mes "[Langry]";
  145. mes "Do you think you can help me?";
  146. mes "Please?";
  147. next;
  148. switch(select("Sure:No")) {
  149. case 1:
  150. mes "[Langry]";
  151. mes "Really?!";
  152. mes "That's great!";
  153. next;
  154. switch(select("Gather Items:Hunt Fabres:Cancel")) {
  155. case 1:
  156. // Item turn in
  157. mes "[Langry]";
  158. mes "I need to collect ^0000CE25 Fluff^000000 to";
  159. mes "complete this community service project.";
  160. mes "You know what? I can even reward you a little for helping me.";
  161. next;
  162. switch(select("I have some Fluff:What was that again?")) {
  163. case 1:
  164. if (countitem(914) > 24) {
  165. mes "[Langry]";
  166. mes "Thank you for the Fluff. This helps me out greatly.";
  167. mes "Oh and here you go, this should help you get stronger, faster!";
  168. delitem 914,25; //Fluff
  169. getexp 385,30;
  170. close;
  171. }
  172. else {
  173. mes "[Langry]";
  174. mes "I see no Fluff, wait yea I do it's the lies coming from your mouth.";
  175. close;
  176. }
  177. case 2:
  178. mes "[Langry]";
  179. mes "I need ^00CE0025 Fluff^000000.";
  180. close;
  181. }
  182. case 2:
  183. // Kill Count Quest
  184. mes "[Langry]";
  185. mes "Ah, ok I think you can help me out by hunting some Fabres.";
  186. mes "How many would you like to hunt?";
  187. next;
  188. switch(select("50 Fabres:100 Fabres:150 Fabres")) {
  189. case 1:
  190. mes "[Langry]";
  191. mes "Come back when you've finished your task and I will give you a small reward.";
  192. setquest 60107;
  193. close;
  194. case 2:
  195. mes "[Langry]";
  196. mes "Come back when you've finished your task and I will give you a small reward.";
  197. setquest 60108;
  198. close;
  199. case 3:
  200. mes "[Langry]";
  201. mes "Come back when you've finished your task and I will give you a small reward.";
  202. setquest 60109;
  203. close;
  204. }
  205. case 3:
  206. mes "[Langry]";
  207. mes "If you change your mind, please come back.";
  208. close;
  209. }
  210. case 2:
  211. mes "[Langry]";
  212. mes "If you change your mind, please come back.";
  213. close;
  214. }
  215. }
  216. else {
  217. mes "[Langry]";
  218. mes "Hello, my name is Langry.";
  219. mes "I have to complete this community service, but I am just too lazy.";
  220. close;
  221. }
  222. }
  223. else {
  224. mes "[Langry]";
  225. mes "You may just be the most unlikely person ever, recycle a few Fabres and come back.";
  226. close;
  227. }
  228. }