quest_frilldora.txt 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240
  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 (Frills)
  13. //===== Additional Comments: =================================
  14. //= 1.0 First version.
  15. //============================================================
  16. moc_fild17,66,273,5 script Lemly#Frilldora_Hunt 725,{
  17. if (checkquest(60134) != -1) {
  18. if (checkquest(60134,HUNTING) != 2 ) {
  19. mes "[Lemly]";
  20. mes "Have you finished hunting the 50 Frilldora?";
  21. next;
  22. switch(select("Yes:No:I want to quit")) {
  23. case 1:
  24. mes "[Lemly]";
  25. mes "Hmm, I don't think you've hunted 50 yet...";
  26. close;
  27. case 2:
  28. mes "[Lemly]";
  29. mes "Remember, I need help hunting Frilldora so go and hunt 50 of them.";
  30. close;
  31. case 3:
  32. mes "[Lemly]";
  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 "[Lemly]";
  39. mes "Ok then, well come back here if you change your mind.";
  40. erasequest 60134;
  41. close;
  42. case 2:
  43. mes "[Lemly]";
  44. mes "Please kill 50 Frilldora.";
  45. close;
  46. }
  47. }
  48. }
  49. else {
  50. mes "[Lemly]";
  51. mes "Amazing, you did that with speed.";
  52. getexp 30000,23000;
  53. erasequest 60134;
  54. close;
  55. }
  56. }
  57. if (checkquest(60135) != -1) {
  58. if (checkquest(60135,HUNTING) != 2 ) {
  59. mes "[Lemly]";
  60. mes "Have you finished hunting the 50 Frilldora?";
  61. next;
  62. switch(select("Yes:No:I want to quit")) {
  63. case 1:
  64. mes "[Lemly]";
  65. mes "Hmm, I don't think you've hunted 100 yet...";
  66. close;
  67. case 2:
  68. mes "[Lemly]";
  69. mes "Remember, I need help hunting Frilldora so go and hunt 100 of them.";
  70. close;
  71. case 3:
  72. mes "[Lemly]";
  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 "[Lemly]";
  79. mes "Ok then, well come back here if you change your mind.";
  80. erasequest 60135;
  81. close;
  82. case 2:
  83. mes "[Lemly]";
  84. mes "Please kill 100 Frilldora.";
  85. close;
  86. }
  87. }
  88. }
  89. else {
  90. mes "[Lemly]";
  91. mes "Amazing, you did that with speed.";
  92. getexp 30000,23000;
  93. getexp 30000,23000;
  94. erasequest 60135;
  95. close;
  96. }
  97. }
  98. if (checkquest(60136) != -1) {
  99. if (checkquest(60136,HUNTING) != 2 ) {
  100. mes "[Lemly]";
  101. mes "Have you finished hunting the 150 Frilldora?";
  102. next;
  103. switch(select("Yes:No:I want to quit")) {
  104. case 1:
  105. mes "[Lemly]";
  106. mes "Hmm, I don't think you've hunted 150 yet...";
  107. close;
  108. case 2:
  109. mes "[Lemly]";
  110. mes "Remember, I need help hunting Frilldora so go and hunt 150 of them.";
  111. close;
  112. case 3:
  113. mes "[Lemly]";
  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 "[Lemly]";
  120. mes "Ok then, well come back here if you change your mind.";
  121. erasequest 60136;
  122. close;
  123. case 2:
  124. mes "[Lemly]";
  125. mes "Please kill 150 Frilldora.";
  126. close;
  127. }
  128. }
  129. }
  130. else {
  131. mes "[Lemly]";
  132. mes "Amazing, you did that with speed.";
  133. getexp 30000,23000;
  134. getexp 30000,23000;
  135. getexp 30000,23000;
  136. erasequest 60136;
  137. close;
  138. }
  139. }
  140. //for minimum level
  141. if (BaseLevel > 29) {
  142. //for maximum level
  143. if (BaseLevel < 66) {
  144. mes "[Lemly]";
  145. mes "Hey there cutie!";
  146. next;
  147. mes "[Lemly]";
  148. mes "Think you could take some time to give me a hand?";
  149. next;
  150. switch(select("Sure:No")) {
  151. case 1:
  152. mes "[Lemly]";
  153. mes "I am looking for lizard ^FF0000Frills^000000.";
  154. next;
  155. mes "[Lemly]";
  156. mes "The lizards around here have a natural stealth, a property that the Assassin's Guild wants to study.";
  157. next;
  158. switch(select("Gather Items:Hunt Frilldora:Cancel")) {
  159. case 1:
  160. // Item turn in
  161. switch(select("I have some Frills:What did you need?")) {
  162. case 1:
  163. if (countitem(1012) > 24) {
  164. mes "[Lemly]";
  165. mes "Hey, thank you.";
  166. mes "These are pretty icky though.";
  167. delitem 1012,25; //Lizard_Scruff
  168. getexp 30000,23000;
  169. close;
  170. }
  171. else {
  172. mes "[Lemly]";
  173. mes "Sigh,";
  174. mes "Please, don't waste my time.";
  175. next;
  176. mes "[Lemly]";
  177. mes "I need ^FF000025 Frills^000000 for the Assassin's Guild.";
  178. close;
  179. }
  180. case 2:
  181. mes "[Lemly]";
  182. mes "I need ^FF000025 Frills^000000 for the Assassin's Guild.";
  183. close;
  184. }
  185. case 2:
  186. // Kill Count Quest
  187. mes "[Lemly]";
  188. mes "Ah, ok I think you can help me out by hunting some Frilldora.";
  189. mes "How many would you like to hunt?";
  190. next;
  191. switch(select("50 Frilldora:100 Frilldora:150 Frilldora")) {
  192. case 1:
  193. mes "[Lemly]";
  194. mes "Come back when you've finished your task and I will give you a small reward.";
  195. setquest 60134;
  196. close;
  197. case 2:
  198. mes "[Lemly]";
  199. mes "Come back when you've finished your task and I will give you a small reward.";
  200. setquest 60135;
  201. close;
  202. case 3:
  203. mes "[Lemly]";
  204. mes "Come back when you've finished your task and I will give you a small reward.";
  205. setquest 60136;
  206. close;
  207. }
  208. case 3:
  209. mes "[Lemly]";
  210. mes "If you change your mind, please come back.";
  211. close;
  212. }
  213. case 2:
  214. mes "[Lemly]";
  215. mes "If you change your mind, please come back.";
  216. close;
  217. }
  218. }
  219. else {
  220. mes "[Lemly]";
  221. mes "Hey there.";
  222. next;
  223. mes "[Lemly]";
  224. mes "These lizards are gross.";
  225. next;
  226. mes "[Lemly]";
  227. mes "I can't believe I am stuck doing this.";
  228. close;
  229. }
  230. }
  231. else {
  232. mes "[Lemly]";
  233. mes "What are you doing here?";
  234. mes "The desert will kill you here!";
  235. close;
  236. }
  237. }