quest_dryad.txt 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242
  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 (Sharp Leaves)
  13. //===== Additional Comments: =================================
  14. //= 1.0 First version.
  15. //============================================================
  16. um_fild01,34,281,5 script Lilla#Dryad_Hunt 724,{
  17. if (checkquest(60131) != -1) {
  18. if (checkquest(60131,HUNTING) != 2 ) {
  19. mes "[Lilla]";
  20. mes "Have you finished hunting the 50 Dryads?";
  21. next;
  22. switch(select("Yes:No:I want to quit")) {
  23. case 1:
  24. mes "[Lilla]";
  25. mes "Hmm, I don't think you've hunted 50 yet...";
  26. close;
  27. case 2:
  28. mes "[Lilla]";
  29. mes "Remember, I need help hunting Dryads so go and hunt 50 of them.";
  30. close;
  31. case 3:
  32. mes "[Lilla]";
  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 "[Lilla]";
  39. mes "Ok then, well come back here if you change your mind.";
  40. erasequest 60131;
  41. close;
  42. case 2:
  43. mes "[Lilla]";
  44. mes "Please kill 50 Dryads.";
  45. close;
  46. }
  47. }
  48. }
  49. else {
  50. mes "[Lilla]";
  51. mes "Amazing, you did that with speed.";
  52. getexp 262485,141835;
  53. erasequest 60131;
  54. close;
  55. }
  56. }
  57. if (checkquest(60132) != -1) {
  58. if (checkquest(60132,HUNTING) != 2 ) {
  59. mes "[Lilla]";
  60. mes "Have you finished hunting the 50 Dryads?";
  61. next;
  62. switch(select("Yes:No:I want to quit")) {
  63. case 1:
  64. mes "[Lilla]";
  65. mes "Hmm, I don't think you've hunted 100 yet...";
  66. close;
  67. case 2:
  68. mes "[Lilla]";
  69. mes "Remember, I need help hunting Dryads so go and hunt 100 of them.";
  70. close;
  71. case 3:
  72. mes "[Lilla]";
  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 "[Lilla]";
  79. mes "Ok then, well come back here if you change your mind.";
  80. erasequest 60132;
  81. close;
  82. case 2:
  83. mes "[Lilla]";
  84. mes "Please kill 100 Dryads.";
  85. close;
  86. }
  87. }
  88. }
  89. else {
  90. mes "[Lilla]";
  91. mes "Amazing, you did that with speed.";
  92. getexp 262485,141835;
  93. getexp 262485,141835;
  94. erasequest 60132;
  95. close;
  96. }
  97. }
  98. if (checkquest(60133) != -1) {
  99. if (checkquest(60133,HUNTING) != 2 ) {
  100. mes "[Lilla]";
  101. mes "Have you finished hunting the 150 Dryads?";
  102. next;
  103. switch(select("Yes:No:I want to quit")) {
  104. case 1:
  105. mes "[Lilla]";
  106. mes "Hmm, I don't think you've hunted 150 yet...";
  107. close;
  108. case 2:
  109. mes "[Lilla]";
  110. mes "Remember, I need help hunting Dryads so go and hunt 150 of them.";
  111. close;
  112. case 3:
  113. mes "[Lilla]";
  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 "[Lilla]";
  120. mes "Ok then, well come back here if you change your mind.";
  121. erasequest 60133;
  122. close;
  123. case 2:
  124. mes "[Lilla]";
  125. mes "Please kill 150 Dryads.";
  126. close;
  127. }
  128. }
  129. }
  130. else {
  131. mes "[Lilla]";
  132. mes "Amazing, you did that with speed.";
  133. getexp 262485,141835;
  134. getexp 262485,141835;
  135. getexp 262485,141835;
  136. erasequest 60133;
  137. close;
  138. }
  139. }
  140. //for minimum level
  141. if (BaseLevel > 59) {
  142. //for maximum level
  143. if (BaseLevel < 86) {
  144. mes "[Lilla]";
  145. mes "Why hello!";
  146. mes "You look like someone who is willing to help a lil thing like myself out.";
  147. next;
  148. switch(select("Sure:No")) {
  149. case 1:
  150. mes "[Lilla]";
  151. mes "Really?!";
  152. mes "That's great!";
  153. next;
  154. switch(select("Gather Items:Hunt Dryads:Cancel")) {
  155. case 1:
  156. // Item turn in
  157. mes "[Lilla]";
  158. mes "I really need to gather ^00CE0050 Sharp Leafs^000000 for my garden tea party.";
  159. mes "Do you have any?";
  160. next;
  161. switch(select("I have some Sharp Leafs:What did you need?")) {
  162. case 1:
  163. /*
  164. if (checkweight(504,10) == 0) {
  165. mes "[Lilla]";
  166. mes "Hey, it looks like that the weight on";
  167. mes "your back will crush you. Come back";
  168. mes "after you have lost some weight.";
  169. close;
  170. }
  171. */
  172. if (countitem(7100) > 49) {
  173. mes "[Lilla]";
  174. mes "Hey, your a sweet little thing.";
  175. mes "Thanks so much for helping me!";
  176. next;
  177. mes "[Lilla]";
  178. mes "Oh, I almost forgot. I have something for you ^_^";
  179. mes "Thank you so much again for your help.";
  180. delitem 7100,50; //Sharp_Leaf
  181. getexp 262485,141835;
  182. //getitem 504,10; //White_Potion
  183. close;
  184. }
  185. else {
  186. mes "[Lilla]";
  187. mes "Why, I may look cute and silly but please don't play games with me.";
  188. close;
  189. }
  190. case 2:
  191. mes "[Lilla]";
  192. mes "I need ^00CE0050 Sharp Leafs^000000.";
  193. close;
  194. }
  195. case 2:
  196. // Kill Count Quest
  197. mes "[Lilla]";
  198. mes "Ah, ok I think you can help me out by hunting some Dryads.";
  199. mes "How many would you like to hunt?";
  200. next;
  201. switch(select("50 Dryads:100 Dryads:150 Dryads")) {
  202. case 1:
  203. mes "[Lilla]";
  204. mes "Come back when you've finished your task and I will give you a small reward.";
  205. setquest 60131;
  206. close;
  207. case 2:
  208. mes "[Lilla]";
  209. mes "Come back when you've finished your task and I will give you a small reward.";
  210. setquest 60132;
  211. close;
  212. case 3:
  213. mes "[Lilla]";
  214. mes "Come back when you've finished your task and I will give you a small reward.";
  215. setquest 60133;
  216. close;
  217. }
  218. case 3:
  219. mes "[Lilla]";
  220. mes "If you change your mind, please come back.";
  221. close;
  222. }
  223. case 2:
  224. mes "[Lilla]";
  225. mes "If you change your mind, please come back.";
  226. close;
  227. }
  228. }
  229. else {
  230. mes "[Lilla]";
  231. mes "Sorry but you are a little too old and scary to talk to!";
  232. close;
  233. }
  234. }
  235. else {
  236. mes "[Lilla]";
  237. mes "You are way too tiny to be helping me.";
  238. mes "Thank you for your offer though.";
  239. close;
  240. }
  241. }