quest_creamy.txt 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248
  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. (Dialog is semi-custom)
  12. //= Repeatable EXP Quest (Powder of Butterfly)
  13. //===== Additional Comments: =================================
  14. //= 1.0 First version.
  15. //============================================================
  16. prt_fild04,356,148,3 script Laertes#Creamy_Hunt 798,{
  17. if (checkquest(60122) != -1) {
  18. if (checkquest(60122,HUNTING) != 2 ) {
  19. mes "[Laertes]";
  20. mes "Have you finished hunting the 50 Creamys?";
  21. next;
  22. switch(select("Yes:No:I want to quit")) {
  23. case 1:
  24. mes "[Laertes]";
  25. mes "Hmm, I don't think you've hunted 50 yet...";
  26. close;
  27. case 2:
  28. mes "[Laertes]";
  29. mes "Remember, I need help hunting Creamys so go and hunt 50 of them.";
  30. close;
  31. case 3:
  32. mes "[Laertes]";
  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 "[Laertes]";
  39. mes "Ok then, well come back here if you change your mind.";
  40. erasequest 60122;
  41. close;
  42. case 2:
  43. mes "[Laertes]";
  44. mes "Please kill 50 Creamys.";
  45. close;
  46. }
  47. }
  48. }
  49. else {
  50. mes "[Laertes]";
  51. mes "Amazing, you did that with speed.";
  52. getexp 2950,1125;
  53. erasequest 60122;
  54. close;
  55. }
  56. }
  57. if (checkquest(60123) != -1) {
  58. if (checkquest(60123,HUNTING) != 2 ) {
  59. mes "[Laertes]";
  60. mes "Have you finished hunting the 50 Creamys?";
  61. next;
  62. switch(select("Yes:No:I want to quit")) {
  63. case 1:
  64. mes "[Laertes]";
  65. mes "Hmm, I don't think you've hunted 100 yet...";
  66. close;
  67. case 2:
  68. mes "[Laertes]";
  69. mes "Remember, I need help hunting Creamys so go and hunt 100 of them.";
  70. close;
  71. case 3:
  72. mes "[Laertes]";
  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 "[Laertes]";
  79. mes "Ok then, well come back here if you change your mind.";
  80. erasequest 60123;
  81. close;
  82. case 2:
  83. mes "[Laertes]";
  84. mes "Please kill 100 Creamys.";
  85. close;
  86. }
  87. }
  88. }
  89. else {
  90. mes "[Laertes]";
  91. mes "Amazing, you did that with speed.";
  92. getexp 2950,1125;
  93. getexp 2950,1125;
  94. erasequest 60123;
  95. close;
  96. }
  97. }
  98. if (checkquest(60124) != -1) {
  99. if (checkquest(60124,HUNTING) != 2 ) {
  100. mes "[Laertes]";
  101. mes "Have you finished hunting the 150 Creamys?";
  102. next;
  103. switch(select("Yes:No:I want to quit")) {
  104. case 1:
  105. mes "[Laertes]";
  106. mes "Hmm, I don't think you've hunted 150 yet...";
  107. close;
  108. case 2:
  109. mes "[Laertes]";
  110. mes "Remember, I need help hunting Creamys so go and hunt 150 of them.";
  111. close;
  112. case 3:
  113. mes "[Laertes]";
  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 "[Laertes]";
  120. mes "Ok then, well come back here if you change your mind.";
  121. erasequest 60124;
  122. close;
  123. case 2:
  124. mes "[Laertes]";
  125. mes "Please kill 150 Creamys.";
  126. close;
  127. }
  128. }
  129. }
  130. else {
  131. mes "[Laertes]";
  132. mes "Amazing, you did that with speed.";
  133. getexp 2950,1125;
  134. getexp 2950,1125;
  135. getexp 2950,1125;
  136. erasequest 60124;
  137. close;
  138. }
  139. }
  140. //for minimum level
  141. if (BaseLevel > 14) {
  142. //for maximum level
  143. if (BaseLevel < 45) {
  144. mes "[Laertes]";
  145. mes "Good Morning!";
  146. mes "Perhaps you could help me?";
  147. next;
  148. switch(select("Sure:No")) {
  149. case 1:
  150. mes "[Laertes]";
  151. mes "I work for an apothecary in Prontera.";
  152. mes "I come here to collect materials for medicine.";
  153. next;
  154. switch(select("Gather Items:Hunt Creamys:Cancel")) {
  155. case 1:
  156. // Item turn in
  157. mes "[Laertes]";
  158. mes "I need to have a good supply of ^FF0000Powder of Butterfly^000000";
  159. next;
  160. switch(select("I have Powder of Butterfly:What did you need?")) {
  161. case 1:
  162. /*
  163. if (checkweight(502,5) == 0) {
  164. mes "[Laertes]";
  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(924) > 24) {
  172. mes "[Laertes]";
  173. mes "Hey, thank you again.";
  174. mes "Here you go, as promised.";
  175. delitem 924,25; //Powder_Of_Butterfly
  176. getexp 2950,1125;
  177. //getitem 502,5; //Orange_Potion
  178. close;
  179. }
  180. else {
  181. mes "[Laertes]";
  182. mes "It doesn't look like you have enough.";
  183. next;
  184. mes "[Laertes]";
  185. mes "If you bring me ^FF000025 Powder of Butterfly^000000,";
  186. mes "I will give you some medical supplies.";
  187. close;
  188. }
  189. case 2:
  190. mes "[Laertes]";
  191. mes "If you bring me ^FF000025 Powder of Butterfly^000000,";
  192. mes "I will give you some medical supplies.";
  193. close;
  194. }
  195. case 2:
  196. // Kill Count Quest
  197. mes "[Laertes]";
  198. mes "Ah, ok I think you can help me out by hunting some Creamys.";
  199. mes "How many would you like to hunt?";
  200. next;
  201. switch(select("50 Creamys:100 Creamys:150 Creamys")) {
  202. case 1:
  203. mes "[Laertes]";
  204. mes "Come back when you've finished your task and I will give you a small reward.";
  205. setquest 60122;
  206. close;
  207. case 2:
  208. mes "[Laertes]";
  209. mes "Come back when you've finished your task and I will give you a small reward.";
  210. setquest 60123;
  211. close;
  212. case 3:
  213. mes "[Laertes]";
  214. mes "Come back when you've finished your task and I will give you a small reward.";
  215. setquest 60124;
  216. close;
  217. }
  218. case 3:
  219. mes "[Laertes]";
  220. mes "If you change your mind, please come back.";
  221. close;
  222. }
  223. case 2:
  224. mes "[Laertes]";
  225. mes "If you change your mind, please come back.";
  226. close;
  227. }
  228. }
  229. else {
  230. mes "[Laertes]";
  231. mes "Good Morning!";
  232. next;
  233. mes "[Laertes]";
  234. mes "I work for an apothecary in Prontera";
  235. mes "I come here to collect materials for medicine.";
  236. close;
  237. }
  238. }
  239. else {
  240. mes "[Laertes]";
  241. mes "Your level is too low!";
  242. next;
  243. mes "[Laertes]";
  244. mes "Go kill more Porings!";
  245. close;
  246. }
  247. }