86-90.txt 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201
  1. //===== rAthena Script =======================================
  2. //= Eden Group Quests - Mission [86 - 90]
  3. //===== By: ==================================================
  4. //= Chilly
  5. //===== Current Version: =====================================
  6. //= 1.5
  7. //===== Compatible With: =====================================
  8. //= rAthena Project
  9. //===== Description: =========================================
  10. //= Repetable Quests for Players between Baselevel 86 - 90.
  11. //===== Additional Comments: =================================
  12. //= 1.0 First Version. [Chilly]
  13. //= 1.1 Some little improvements here and there. [Masao]
  14. //= 1.2 Optimized. [Euphy]
  15. //= 1.3 Updated to match the official script. [Euphy]
  16. //= 1.4 Added support to Para_Team_Mark_ in Eden Group. [Ragno]
  17. //= 1.5 Added use of F_HasEdenGroupMark function. [Ragno]
  18. //============================================================
  19. moc_para01,48,175,3 script 86-90 Mission Board 857,{
  20. if (!callfunc("F_HasEdenGroupMark")) {
  21. mes "Wait a minute!";
  22. mes "-You need to have an-";
  23. mes "-^4d4dff'Eden Group Mark'^000000-";
  24. mes "-to receive these missions.-";
  25. next;
  26. switch(select("Just walk away.:^0000FFEden Group^000000 missions?:How can I be a member of the ^0000FFEden Group^000000?")) {
  27. case 1:
  28. close;
  29. case 2:
  30. mes "::The Eden Group Missions";
  31. mes "::are basically missions";
  32. mes "::requested by";
  33. mes "::people from all around the kingdom.";
  34. mes "::We just categorize them.";
  35. next;
  36. mes "::In the Eden Group,";
  37. mes "::we sorted out the missions";
  38. mes "::according to the level of difficulty.";
  39. mes "::According to this level,";
  40. mes "::you can find";
  41. mes "::missions that";
  42. mes "::suit you.";
  43. next;
  44. mes "::When you are done,";
  45. mes "::you can come back";
  46. mes "::to the mission board.";
  47. next;
  48. mes "::Then you will be";
  49. mes "::rewarded!!";
  50. mes "::Simple, isn't it!!";
  51. mes "::No commission required!!";
  52. close;
  53. case 3:
  54. mes "::You can become a member";
  55. mes "::of the Eden Group";
  56. mes "::to ^0000FFLaime Evenor^000000,";
  57. mes "::who is waiting on the 1st floor.";
  58. next;
  59. mes "::If you become a member,";
  60. mes "::you will get an";
  61. mes "::\"^006400Eden Group Mark^000000\".";
  62. mes "::Then you will be able";
  63. mes "::to see the mission board.";
  64. close;
  65. }
  66. }
  67. if (BaseLevel < 86 || BaseLevel > 90) {
  68. // Quest IDs: 4167-4180
  69. // Quest cooldown IDs: 4198-4211
  70. setarray .@names$[0],
  71. "Dragon Tail","Spring Rabbit","Pest",
  72. "Bathory","Alarm",
  73. "Baba Yaga","Yao Jun","Firelock Soldier","Zipper Bear",
  74. "Ground Petite","Rafflesia","Venomous","Pitman","Yellow Novus";
  75. setarray .@exp[0],
  76. 76000,82000,82000,
  77. 72000,76000,
  78. 72000,78000,82000,80000,
  79. 72000,72000,72000,86000,80000;
  80. mes "You must be within level 86-90 to accept these missions.";
  81. for(set .@quest,4167; .@quest<=4180; set .@quest,.@quest+1) {
  82. set .@hunting, checkquest(.@quest,HUNTING);
  83. if (.@hunting == 0 || .@hunting == 1) {
  84. next;
  85. mes ":: You cannot proceed in";
  86. mes ":: ^0000FF"+.@names$[.@quest-4167]+" Hunting^000000.";
  87. mes ":: The registration to the mission";
  88. mes ":: is cancelled.";
  89. erasequest .@quest;
  90. close;
  91. } else if (.@hunting == 2) {
  92. next;
  93. mes ":: You added information";
  94. mes ":: about the mission";
  95. mes ":: ^0000FF"+.@names$[.@quest-4167]+" Hunting^000000";
  96. mes ":: on the mission board.";
  97. mes ":: You've got a";
  98. mes ":: salutary experience.";
  99. erasequest .@quest;
  100. getexp .@exp[.@quest-4167],0;
  101. close;
  102. }
  103. }
  104. close;
  105. }
  106. mes "[86-90 Mission Board]";
  107. mes "There are several requests on this board.";
  108. next;
  109. switch(select("^8B4513Turtle Island^000000:^8B4513Clock Tower Dungeon^000000:^8B4513Expansion Towns^000000:^8B4513Other Regions^000000")) {
  110. case 1:
  111. mes "^8B4513Turtle Island^000000.";
  112. mes "Which monster will you hunt or have you finished hunting?";
  113. next;
  114. switch(select("^0000FFDragon Tail^000000:^0000FFSpring Rabbit^000000:^0000FFPest^000000")) {
  115. case 1: callsub L_Quest,4167,"Dragon Tail",76000,"드래곤테일카드","There is a monster that only can be found on ^8B4513Turtle Island^000000.","s";
  116. case 2: callsub L_Quest,4168,"Spring Rabbit",82000,"스프링래빗카드","There is a monster that only can be found on ^8B4513Turtle Island^000000.","s";
  117. case 3: callsub L_Quest,4169,"Pest",82000,"페스트카드","There is a monster that only can be found on ^8B4513Turtle Island^000000.","s";
  118. }
  119. case 2:
  120. mes "^8B4513Clock Tower Dungeon^000000.";
  121. mes "Which monster will you hunt or have you finished hunting?";
  122. next;
  123. switch(select("^0000FFBathory^000000:^0000FFAlarm^000000")) {
  124. case 1: callsub L_Quest,4170,"Bathory",72000,"바소리카드","The Clock Tower Dungeon is full of dangerous monsters.";
  125. case 2: callsub L_Quest,4171,"Alarm",76000,"알람카드","The Clock Tower Dungeon is full of dangerous monsters.";
  126. }
  127. case 3:
  128. mes "^8B4513Expansion Cities^000000";
  129. mes "Which monster will you hunt or have you finished hunting?";
  130. next;
  131. switch(select("^0000FFBaba Yaga^000000:^0000FFYao Jun^000000:^0000FFFirelock Soldier^000000:^0000FFZipper Bear^000000")) {
  132. case 1: callsub L_Quest,4172,"Baba Yaga",72000,"","The witch Baba Yaga can be found in the outskirts of Moscovia.";
  133. case 2: callsub L_Quest,4173,"Yao Jun",117000,"혜군카드","There are human-like monsters that roam around the dungeon in Louyang.";
  134. case 3: callsub L_Quest,4174,"Firelock Soldier",82000,"구식조총병카드","There are human-like monsters that roam around the dungeon in Amatsu.","s";
  135. case 4: callsub L_Quest,4175,"Zipper Bear",120000,"지퍼베어카드","There are bear monsters swarming in the Kunlun dungeon.";
  136. }
  137. case 4:
  138. mes "[86-90 Mission Board]";
  139. mes "Here is a list of random requests to hunt monsters in other regions of Rune Midgard.";
  140. mes "Which monster will you hunt or have you finished hunting?";
  141. next;
  142. switch(select("^0000FFGround Petite^000000:^0000FFRafflesia^000000:^0000FFVenomous^000000:^0000FFPitman^000000:^0000FFYellow Novus^000000")) {
  143. case 1: callsub L_Quest,4176,"Ground Petite",72000,"지상쁘띠카드","There are dragon type monsters swarming the western region of Geffen.";
  144. case 2: callsub L_Quest,4177,"Rafflesia",72000,"라플레시아카드","There are plant type monsters infesting the fields of Lighthalzen.";
  145. case 3: callsub L_Quest,4178,"Venomous",72000,"베노머스","There are formless monsters floating around the fields of Einbroch.";
  146. case 4: callsub L_Quest,4179,"Pitman",86000,"핏맨","There are undead monsters pushing a cart around the fields and dungeons of Einbroch.";
  147. case 5: callsub L_Quest,4180,"Yellow Novus",80000,"옐로우노버스","There are yellow dragon type monsters terrorizing the fields of Hugel.";
  148. }
  149. }
  150. end;
  151. //callsub L_Quest,<quest ID>,"<monster name>",<reward EXP>,"<cutin image>","<description>"{,"s"};
  152. L_Quest:
  153. set .@quest1, getarg(0);
  154. set .@quest2, .@quest1+31;
  155. .@cutin$ = getarg(3);
  156. set .@playtime, checkquest(.@quest2,PLAYTIME);
  157. if (.@playtime == 0 || .@playtime == 1) {
  158. mes "[86-90 Mission Board]";
  159. mes "You need to wait 3 hours before you can take this mission again.";
  160. close;
  161. }
  162. set .@hunting, checkquest(.@quest1,HUNTING);
  163. if (.@hunting == 0 || .@hunting == 1) {
  164. mes "[86-90 Mission Board]";
  165. mes "Have you finished hunting all 30 "+getarg(1)+getarg(5,"")+" yet?";
  166. close;
  167. } else if (.@hunting == 2) {
  168. mes "[86-90 Mission Board]";
  169. mes "You have completed the hunting.";
  170. mes "Please accept this reward as a compensation.";
  171. erasequest .@quest1;
  172. if (.@playtime > -1) erasequest .@quest2;
  173. setquest .@quest2;
  174. getexp getarg(2),0;
  175. close;
  176. }/* else if (.@hunting == 3) {
  177. // recall_completequest .@quest1
  178. erasequest .@quest1;
  179. mes "[86-90 Mission Board]";
  180. mes "You have re-accepted the "+getarg(1)+" Hunting mission.";
  181. close;
  182. }*/ else {
  183. mes "[86-90 Mission Board]";
  184. mes getarg(4);
  185. next;
  186. if (.@cutin$ != "") cutin .@cutin$,3;
  187. mes "[86-90 Mission Board]";
  188. mes "Hunt 30 "+getarg(1)+" monsters there and post your success on this board.";
  189. next;
  190. if (.@cutin$ != "") cutin .@cutin$,255;
  191. if(select("I'll hunt them.:No thanks.") == 1) {
  192. mes "[86-90 Mission Board]";
  193. mes "When you have completed the mission, post it on this board and collect your reward.";
  194. if (.@playtime > -1) erasequest .@quest2;
  195. setquest .@quest1;
  196. }
  197. close;
  198. }
  199. }