quest_pecopeco.txt 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251
  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 (Bill of Birds)
  13. //===== Additional Comments: =================================
  14. //= 1.0 First version.
  15. //============================================================
  16. moc_fild02,74,329,3 script Gregor#PecoPeco_Hunt 97,{
  17. if (checkquest(60101) != -1) {
  18. if (checkquest(60101,HUNTING) != 2 ) {
  19. mes "[Gregor]";
  20. mes "Have you finished hunting the 50 Peco Pecos?";
  21. next;
  22. switch(select("Yes:No:I want to quit")) {
  23. case 1:
  24. mes "[Gregor]";
  25. mes "Hmm, I don't think you've hunted 50 yet...";
  26. close;
  27. case 2:
  28. mes "[Gregor]";
  29. mes "Please hurry and kill 50 of those tasty err pesky Peco Pecos.";
  30. close;
  31. case 3:
  32. mes "[Gregor]";
  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 "[Gregor]";
  39. mes "Ok then, well come back here if you change your mind.";
  40. erasequest 60101;
  41. close;
  42. case 2:
  43. mes "[Gregor]";
  44. mes "Please hurry and kill 50 of those tasty err pesky Peco Pecos.";
  45. close;
  46. }
  47. }
  48. }
  49. else {
  50. mes "[Gregor]";
  51. mes "Oh thank you so much!";
  52. mes "I think that I can rest easily now.";
  53. getexp 4000,2000;
  54. erasequest 60101;
  55. close;
  56. }
  57. }
  58. if (checkquest(60102) != -1) {
  59. if (checkquest(60102,HUNTING) != 2 ) {
  60. mes "[Gregor]";
  61. mes "Have you finished hunting the 50 Peco Pecos?";
  62. next;
  63. switch(select("Yes:No:I want to quit")) {
  64. case 1:
  65. mes "[Gregor]";
  66. mes "Hmm, I don't think you've hunted 100 yet...";
  67. close;
  68. case 2:
  69. mes "[Gregor]";
  70. mes "Please hurry and kill 100 of those tasty err pesky Peco Pecos.";
  71. close;
  72. case 3:
  73. mes "[Gregor]";
  74. mes "Are you sure that you want to stop hunting?";
  75. mes "Any progress that you've made will be erased";
  76. next;
  77. switch(select("Yes:No")) {
  78. case 1:
  79. mes "[Gregor]";
  80. mes "Ok then, well come back here if you change your mind.";
  81. erasequest 60102;
  82. close;
  83. case 2:
  84. mes "[Gregor]";
  85. mes "Please hurry and kill 100 of those tasty err pesky Peco Pecos.";
  86. close;
  87. }
  88. }
  89. }
  90. else {
  91. mes "[Gregor]";
  92. mes "Oh thank you so much!";
  93. mes "I think that I can rest easily now.";
  94. getexp 4000,2000;
  95. getexp 4000,2000;
  96. erasequest 60102;
  97. close;
  98. }
  99. }
  100. if (checkquest(60103) != -1) {
  101. if (checkquest(60103,HUNTING) != 2 ) {
  102. mes "[Gregor]";
  103. mes "Have you finished hunting the 150 Peco Pecos?";
  104. next;
  105. switch(select("Yes:No:I want to quit")) {
  106. case 1:
  107. mes "[Gregor]";
  108. mes "Hmm, I don't think you've hunted 150 yet...";
  109. close;
  110. case 2:
  111. mes "[Gregor]";
  112. mes "Please hurry and kill 150 of those tasty err pesky Peco Pecos.";
  113. close;
  114. case 3:
  115. mes "[Gregor]";
  116. mes "Are you sure that you want to stop hunting?";
  117. mes "Any progress that you've made will be erased";
  118. next;
  119. switch(select("Yes:No")) {
  120. case 1:
  121. mes "[Gregor]";
  122. mes "Ok then, well come back here if you change your mind.";
  123. erasequest 60103;
  124. close;
  125. case 2:
  126. mes "[Gregor]";
  127. mes "Please hurry and kill 150 of those tasty err pesky Peco Pecos.";
  128. close;
  129. }
  130. }
  131. }
  132. else {
  133. mes "[Gregor]";
  134. mes "Oh thank you so much!";
  135. mes "I think that I can rest easily now.";
  136. getexp 4000,2000;
  137. getexp 4000,2000;
  138. getexp 4000,2000;
  139. erasequest 60103;
  140. close;
  141. }
  142. }
  143. //for minimum level
  144. if (BaseLevel > 9) {
  145. //for maximum level
  146. if (BaseLevel < 31) {
  147. mes "[Gregor]";
  148. mes "Peco Pecos are fascinating.";
  149. mes "I am still doing my, uh, research...";
  150. mes "But now it is of a different nature.";
  151. next;
  152. mes "[Gregor]";
  153. mes "You see I've been uh, ''researching''";
  154. mes "these animals by collecting their";
  155. mes "Bill of Birds but lately they seem";
  156. mes "to have become hostile towards me.";
  157. next;
  158. mes "[Gregor]";
  159. mes "Can you do me a favor please?";
  160. next;
  161. switch(select("What kind of favor?:No")) {
  162. case 1:
  163. mes "[Gregor]";
  164. mes "I am so afraid that these Peco Pecos will hurt me for my, uh, researching activities.";
  165. next;
  166. mes "[Gregor]";
  167. mes "Can you help protect me by killing them?";
  168. mes "I think I'll feel safer...";
  169. mes "Please...";
  170. next;
  171. switch(select("Gather Items:Hunt Peco Pecos:Cancel")) {
  172. case 1:
  173. // Item turn in
  174. mes "[Gregor]";
  175. mes "I need some ^FF0000Bill of Birds^000000 for my, uh, research...";
  176. next;
  177. switch(select("I have some Bill of Birds:What did you need?")) {
  178. case 1:
  179. if (countitem(925) > 24) {
  180. mes "[Gregor]";
  181. mes "Thank you so much.";
  182. delitem 925,25; //Bill_Of_Birds
  183. getexp 4000,2000;
  184. next;
  185. mes "[Gregor]";
  186. mes "This is gonna be delicious!";
  187. close;
  188. }
  189. else {
  190. mes "[Gregor]";
  191. mes "It doesn't look like you have enough.";
  192. next;
  193. mes "[Gregor]";
  194. mes "Can you help me out and bring me ^FF000025 Bill of Birds^000000?";
  195. close;
  196. }
  197. case 2:
  198. mes "[Gregor]";
  199. mes "Can you help me out and bring me ^FF000025 Bill of Birds^000000?";
  200. close;
  201. }
  202. case 2:
  203. // Kill Count Quest
  204. mes "[Gregor]";
  205. mes "Ah, ok I think you can help me out by hunting some Peco Pecos.";
  206. mes "How many would you like to hunt?";
  207. next;
  208. switch(select("50 Peco Pecos:100 Peco Pecos:150 Peco Pecos")) {
  209. case 1:
  210. mes "[Gregor]";
  211. mes "Come back when you've finished your task and I will give you a small reward.";
  212. setquest 60101;
  213. close;
  214. case 2:
  215. mes "[Gregor]";
  216. mes "Come back when you've finished your task and I will give you a small reward.";
  217. setquest 60102;
  218. close;
  219. case 3:
  220. mes "[Gregor]";
  221. mes "Come back when you've finished your task and I will give you a small reward.";
  222. setquest 60103;
  223. close;
  224. }
  225. case 3:
  226. mes "[Gregor]";
  227. mes "If you change your mind, please come back.";
  228. close;
  229. }
  230. case 2:
  231. mes "[Gregor]";
  232. mes "If you change your mind, please come back.";
  233. close;
  234. }
  235. }
  236. else {
  237. mes "[Gregor]";
  238. mes "Hmmm... you seem to be too strong to be fighting over here.";
  239. close;
  240. }
  241. }
  242. else {
  243. mes "[Gregor]";
  244. mes "Hi there.";
  245. next;
  246. mes "[Gregor]";
  247. mes "Those picky's over there seem to be about your speed.";
  248. close;
  249. }
  250. }