quests_prontera.txt 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177
  1. //===== eAthena Script =======================================
  2. //= Quest NPCs related to Prontera
  3. //===== By: ==================================================
  4. //= kobra_k88
  5. //===== Current Version: =====================================
  6. //= 1.4
  7. //===== Compatible With: =====================================
  8. //= eAthena 7.15 +
  9. //===== Description: =========================================
  10. //= Ph.D Hat Quest + Culvert
  11. //===== Additional Comments: =================================
  12. //= Fixed flower name Dreamy -> Illusion
  13. //= 1.2 Fixed exploit [Lupus]
  14. //= 1.3 Removed Duplicates [Silent]
  15. //= 1.4 Moved Culvert from cities/prontera.txt [Evera]
  16. //============================================================
  17. // Ph.D Hat Quest-------------------------------------------------------
  18. prt_in.gat,38,108,4 script Teacher#01 53,{
  19. if(countitem(710) >= 1 && countitem(703) >= 1 && countitem(704) >= 1 && countitem(708) >= 1) goto L_Start;//Items: Illusion Flower, Hinalle, Aloe, Ment,
  20. mes "Don't you think.... ^4444FF'flowers'^000000 are pretty?";
  21. next;
  22. menu "Talk.",-, "End Conversation.",M_End;
  23. mes "[Teacher]";
  24. mes "When I was young, I didn't play with friends like the other children. Instead, I spent time studing by myself.";
  25. next;
  26. mes "[Teacher]";
  27. mes "Sometimes I regret that decision.... but it doesn't really matter now. Through hard work, I was able to finish school earlier than my classmates.";
  28. next;
  29. mes "[Teacher]";
  30. mes "I was very lonely however..... when things got rough I had no one to talk to about my feelings.";
  31. next;
  32. mes "[Teacher]";
  33. mes "Then one day, I found my best friend.";
  34. next;
  35. mes "[Teacher]";
  36. mes "It was when I saw this pretty flower blooming in an abandoned garden.... I realised that it was just like me and in it, I found my best friend.";
  37. next;
  38. mes "[Teacher]";
  39. mes "Even though, to others it was just a common flower.... for me this flower meant much more. This flower gave me the strength to continue my studies.";
  40. mes "I could achieve my goals because of her.";
  41. next;
  42. mes "[Teacher]";
  43. mes "So.. now... I am trying to repay to her. I have started studying Flowers, and It is my goal to cover the whole world in Flowers!";
  44. next;
  45. mes "[Teacher]";
  46. mes "To accomplish my work.. I need a great deal of flowers. Unfortunately because of my studies, I can rarely go outside.";
  47. mes "It is really hard to find as many flowers as I need.";
  48. next;
  49. mes "[Teacher]";
  50. mes "I need 1 ^3355FFIllusion Flower^000000 ,1 ^3355FFHinalle^000000,1 ^3355FFAloe^000000 and 1 ^3355FFMent^000000...";
  51. mes "If you can bring these flowers to me, I would be willing to give you a special item...";
  52. close;
  53. M_End:
  54. mes "[Teacher]";
  55. mes "One of these days I will cover whole world in Flowers!.....";
  56. close;
  57. L_Start:
  58. mes "[Teacher]";
  59. mes "Oh... Those Flowers in your hand are....";
  60. M_Menu:
  61. next;
  62. menu "Show Flowers",-, "Give Flowers",M_Give, "Cancel",M_End;
  63. mes "[Teacher]";
  64. mes "Ah... How wonderful!! These are definately the 4 kinds of Flowers I was looking for ..";
  65. mes "The ^3355FFIllusion Flower, Hinalle, Aloe, and Ment^000000. Would you give them to me?...";
  66. next;
  67. mes "[Teacher]";
  68. mes "If you do I'd be willing to give you a special item.....";
  69. goto M_Menu;
  70. M_Give:
  71. if(countitem(710) < 1 || countitem(703) < 1 || countitem(704) < 1 || countitem(708) < 1) goto L_Cheater;//Items: Illusion Flower, Hinalle, Aloe, Ment,
  72. delitem 710,1;//Items: Illusion Flower,
  73. delitem 703,1;//Items: Hinalle,
  74. delitem 704,1;//Items: Aloe,
  75. delitem 708,1;//Items: Ment,
  76. mes "[Teacher]";
  77. mes "I really, really appreciate what you've done for me!! I trully am grateful! I will give you a very special item as I promised.";
  78. emotion e_thx;
  79. next;
  80. mes "[Teacher]";
  81. mes "This is the hat I wore at my Graduation Ceremony. It is a reminder of my joyfull school days at the University.";
  82. mes "Please take it...";
  83. getitem 5012,1;//Items: Ph.D Hat,
  84. close;
  85. L_Cheater:
  86. mes "[Teacher]";
  87. mes "I won't give a special item to a cheater...";
  88. mes "Now go away!";
  89. emotion e_bzz;
  90. close;
  91. }
  92. // ------------------------------------------------------------------------------------------- Culvert -------------------------------------------------------------------------------\\
  93. // Culvert Guardian ----------------------------------------------------
  94. prt_fild05.gat,270,212,5 script Culvert Guardian 105,{
  95. mes "[Culvert Guardian]";
  96. if(MISC_QUEST & 8) {
  97. mes "Here you are. The entrance of the Culvert. Are you sure you want to Go inside?";
  98. next;
  99. menu "Sure.",-,"Quit.",M_END;
  100. warp "prt_sewb1.gat",131,247;
  101. M_END:
  102. close;
  103. }
  104. mes "Sorry, but only volunteers for the Culvert Campaign can go inside.";
  105. mes "Speak with the ^000077Recruiter^000000 about volunteering. He's located in the ^ff0000Prontera Chivalry^000000.";
  106. close;
  107. }
  108. // Recruiter -----------------------------------------------------------
  109. prt_in.gat,88,105,2 script Recruiter 105,{
  110. mes "[Recruiter]";
  111. if(MISC_QUEST & 8) goto L_WARP;
  112. mes "Let me inform about the official Notice from the Capital Defence Headquarter of Rune-Midgard Kingdom";
  113. next;
  114. mes "[Recruiter]";
  115. mes "We decided to recruit volunteers to deal with the 'issues' that have been plauging our cities' sewers.";
  116. next;
  117. menu "Volunteer.",M_VOL,"Issues...?",-,"Quit",L_END;
  118. mes "[Recruiter]";
  119. mes "Didn't you hear yet? The Culvert is infested with noxious insects. We found bugs, maggots, and other creatures there.";
  120. mes "They've become a huge problem... You've Never heard of this?";
  121. emotion e_what;
  122. next;
  123. mes "[Recruiter]";
  124. mes "Because of the severity of these 'issues',it is forbidden for the people to use the water supply for the time being.";
  125. next;
  126. mes "[Recruiter]";
  127. mes "Needless to say, the people have been greatly inconvenienced by this. If this were to linger on it would cause great ill will among the people of the Prontera.";
  128. next;
  129. mes "[Recruiter]";
  130. mes "The situation is becoming critical! There is restlessness among the people!!";
  131. next;
  132. mes "[Recruiter]";
  133. mes "Mighty Warrior!! The People NEED YOU!! Let's EXPEL these VILE creatures from our land!!!";
  134. emotion e_go;
  135. next;
  136. mes "[Recruiter]";
  137. mes "WILL YOU volunteer????";
  138. next;
  139. menu "Volunteer.",M_VOL,"Quit.",-;
  140. mes "[Recruiter]";
  141. mes "..............";
  142. emotion e_swt;
  143. close;
  144. M_VOL:
  145. mes "[Recruiter]";
  146. mes "Very good!!! Your Registration is confirmed. We will try to maintain peace and order in Rune-Midgard Kingdom.";
  147. mes "I appreciate your support of the Capital Defence Headquarter. Here are some subsidies....";
  148. next;
  149. mes "[Recruiter]";
  150. mes "3 Red Potions, 1 Milk, and 1 Orange Potion for an emergency.";
  151. set MISC_QUEST,MISC_QUEST | 8;
  152. getitem 501,3;
  153. getitem 519,1;
  154. getitem 502,1;
  155. next;
  156. mes "[Recruiter]";
  157. L_WARP:
  158. mes "Are you ready? I will warp you to the Culvert.";
  159. next;
  160. warp "prt_fild05.gat",274,208;
  161. L_END:
  162. close;
  163. }