quests_payon.txt 9.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268
  1. //===== eAthena Script =======================================
  2. //= Quest NPCs related to Payon
  3. //===== By: ==================================================
  4. //= kobra_k88
  5. //===== Current Version: =====================================
  6. //= 1.6
  7. //===== Compatible With: =====================================
  8. //= eAthena 7.15 +
  9. //===== Description: =========================================
  10. //= Pretend Murder, Ear Muffs, Oxygen, Derivuchi Cap, Helm of Angel Quests.
  11. //===== Additional Comments: =================================
  12. //= Fully working
  13. //= 1.1 Helm of Angel bug fixed [Lupus]
  14. //= 1.2 Fixed skirt of virgin [Lupus]
  15. //= 1.3 Fixed exploits [Lupus]
  16. //= 1.4 Removed Duplicates [Silent]
  17. //= 1.5 Updated Dialogs from "Pretend Murdered Quest" [Samuray22]
  18. //= 1.5a replaced item "names" with item id. [Lupus]
  19. //= 1.6 Updated Dialogs from "Oxygen Mask Quest" [Samuray22]
  20. //============================================================
  21. //==========================================================================================//
  22. // Pretend Murdered quest
  23. //==========================================================================================//
  24. payon,154,170,4 script Granny 78,{
  25. if(countitem(1049) > 3 ) {
  26. mes "[Granny in Payon]";
  27. mes "Hey... Is this the item for Skirt of Virgin tHat my children will wear for the coming festival...";
  28. mes "Could you give me some ^3355FF' Skirt of Virgin '^000000 for young girl... I need four of it... please ?";
  29. mes "I am begging you, please!";
  30. next;
  31. switch(select( "Give it to her.","No way!")) {
  32. case 1:
  33. delitem 1049,4;
  34. mes "[Granny in Payon]";
  35. mes "Uh-uh... Thank you very much! Now I can make Skirt of Virgin for my children.";
  36. mes "Hey... Oh! Yeah! I was in a stage play when I was young...";
  37. mes "This is the overcoat I kept when I left the troupe after I got married...";
  38. next;
  39. mes "[Granny in Payon]";
  40. mes "Take it if you like it... please!";
  41. mes "Good bye! Nice meeting you...";
  42. getitem 2293,1;
  43. close;
  44. case 2:
  45. mes "[Granny in Payon]";
  46. mes "Uh-uh... How can I get ^3355FF'Skirt of Virgin '^000000 by myself... I am so weak and tired.";
  47. mes "It's such a cold world...";
  48. close;
  49. }
  50. }
  51. mes "[Granny in Payon]";
  52. mes "I gather Mushrooms on the Mountain of Payon Everyday for my living. I don't know how I will survive this month.";
  53. mes "... But festive is coming next month!";
  54. mes "My children requested for Skirt of Virgin for this festival.";
  55. mes "For Skirt of Virgin, I need ^3355FF' Skirt of Virgin '^000000 ...";
  56. next;
  57. mes "[Granny in Payon]";
  58. mes "Young man, I have a favor to ask... If you ever find ^3355FF' Skirt of Virgin '^000000... ";
  59. mes "Please come back to me. I will never forget your kindness...";
  60. close;
  61. }
  62. //========================================================================================//
  63. // Ear Muffs Quest
  64. //========================================================================================//
  65. payon_in01,18,10,4 script Mystic Lady 75,{
  66. mes "[Mystic Lady]";
  67. mes "Hi there.";
  68. next;
  69. menu "Hello.",-,"Please make me a pair of Ear Muffs.",M_Muffs, "End",M_End;
  70. mes "[Mystic Lady]";
  71. mes "My family and I recently came to Payon.";
  72. mes "Where we came from the weather was very cold so we started a business hand making a special type of ^5555FF'Ear Muffs'^000000";
  73. next;
  74. mes "[Mystic Lady]";
  75. mes "I have tried to continue the family business here in Payon but it has proven to be difficult because of the warm whether.";
  76. next;
  77. mes "[Mystic Lady]";
  78. mes "Although the 'Ear Muffs' aren't very useful here, if you plan on going somewhere that's cold our 'Ear Muffs' are a must have.";
  79. next;
  80. mes "[Mystic Lady]";
  81. mes "All I need are:";
  82. mes "^5555FF1 Cursed Ruby,";
  83. mes "1 Headset,";
  84. mes "200 Feathers,";
  85. mes "and a 5,000 zeny fee^000000 for my labor.";
  86. next;
  87. mes "[Mystic Lady]";
  88. mes "With those items I can make you a pair of 'Ear Muffs'. Believe me, they are of the highest quality and look good on just about anybody!";
  89. close;
  90. M_Muffs:
  91. if(countitem(724)<1 || countitem(5001)<1 || countitem(949)<200 || zeny<5000) goto sL_NotEnuf;
  92. delitem 724,1;
  93. delitem 5001,1;
  94. delitem 949,200;
  95. set Zeny, Zeny-5000;
  96. mes "[Mystic Lady]";
  97. mes "Oh, I see that you have brought all of the required items. Just a moment please...";
  98. next;
  99. mes "[Mystic Lady]";
  100. mes "... this goes here... that goes there...... some glue here... a couple stitches over there..........";
  101. next;
  102. getitem 2283,1;
  103. mes "[Mystic Lady]";
  104. mes "Ah, there you are! One pair of my familys' specialty Ear Muffs. Enjoy!";
  105. close;
  106. sL_NotEnuf:
  107. mes "[Mystic Lady]";
  108. mes "I'm sorry but you don't have the required items for me to make you a pair of my familys' specialty Ear Muffs.";
  109. close;
  110. M_End:
  111. close;
  112. }
  113. //========================================================================================//
  114. // Oxygen Mask Quest
  115. //========================================================================================//
  116. payon_in02,25,71,3 script Young man#11 86,{
  117. if(countitem(701) > 4) {
  118. mes "[Young man]";
  119. mes "What! Oh! No! No way!";
  120. mes "Huh... You think that guy is cut... No! No way!!";
  121. next;
  122. switch(select( "Show him Ora Ora.","Give him Ora Ora.","Cancel.")) {
  123. case 1:
  124. mes "[Young man]";
  125. mes "Wow! Wow! Wow!";
  126. mes "This is Ora Ora...";
  127. mes "I will speak frankly! If you are giving me this I will give you my treasure!";
  128. mes "How about it? Don't you want it?";
  129. close;
  130. case 2:
  131. delitem 701, 5;
  132. mes "[Young man]";
  133. mes "Ha! Ha! Ha! I finally got it! Ora_Ora!";
  134. mes "Damn Thief Bug!! Now I can kill you all!";
  135. next;
  136. mes "[Young man]";
  137. mes "Ha! Ha! ... Ha! Ha!";
  138. mes "I am sorry! I am too excited... Mm... I will give you my treasure as I promised!";
  139. next;
  140. getitem 5004, 1;
  141. mes "[Young man]";
  142. mes "If you breathe through this mouth piece... you can have fresh air all the time!";
  143. mes "I used to worked by the sea and I brought one back with me.";
  144. mes "I will give it to you for your kindness since I don't need it any more.";
  145. next;
  146. mes "[Young man]";
  147. mes "Hey! Hey! THat's it! I want to try Ora Ora now!";
  148. close;
  149. case 3:
  150. mes "[Young man]";
  151. mes "Uh... If it doesn't work on Thief bug...";
  152. mes "Then I will have no choice but try to like Thief Bug... Hey...";
  153. close;
  154. }
  155. }
  156. mes "[Young man]";
  157. mes "Uh...Ah! I can't take it any more!";
  158. mes "Damn Thief Bug!!";
  159. next;
  160. if( select( "Continue talking.","Cancel.") == 1) {
  161. mes "[Young man]";
  162. mes "My life was really rough.";
  163. mes "My parents died when I was little... I had to work really hard to earn my living.";
  164. next;
  165. mes "[Young man]";
  166. mes "It's been ten years now... I got some saving... I dream to have my own house.";
  167. next;
  168. mes "[Young man]";
  169. mes "I can't afford a nice house even I spend all my saving on it...";
  170. mes "However... I have a big but cheap house now... There weren't many choices for me...";
  171. next;
  172. mes "[Young man]";
  173. mes "And now it is taken over by the damn Thief Bug as their den.";
  174. next;
  175. mes "[Young man]";
  176. mes "I tried anything I could... To hunt them... To drive them away... Nothing really worked. They always come back!";
  177. mes "I even burned my own house.";
  178. next;
  179. mes "[Young man]";
  180. mes "Ah... I really want them to disappear... Do you think^3355FF Ora Ora^000000 is the answer?";
  181. mes "I heard it is possible to find it in other countries...";
  182. mes "If only I got five of it... I can get rid of them forever...";
  183. close;
  184. }
  185. mes "[Young man]";
  186. mes "I just can't make them disappear no matter how... I am so tired of it... I can't take it any more... WHatever...";
  187. close;
  188. }
  189. //========================================================================================//
  190. // Derivuchi Cap(Hat of Petite Diablo), Helm of Angel
  191. //========================================================================================//
  192. payon_in01,56,12,4 script Young Man#12 89,{
  193. mes "[Young Man]";
  194. mes "What is it?............";
  195. next;
  196. menu "Can you make me a special item?",-, "Nothing.",M_End;
  197. mes "[Young Man]";
  198. mes "I see.... so you know about me huh?.... Ok, tell me what you want.";
  199. next;
  200. menu "-Helm of Angel",-, "-Deviruchi Hat",sM_Devir, "-I'll come back later.",M_End;
  201. mes "[Young Man]";
  202. mes "For the Helm of Angel I will need:";
  203. mes "- ^5555FF1 Helm (slotted)^000000.";
  204. mes "- ^5555FF1 Angel Wing^000000.";
  205. mes "- ^5555FF5 Fang of Garm^000000.";
  206. set @HAT, 1;
  207. next;
  208. goto sL_GetHat;
  209. sM_Devir:
  210. mes "[Young Man]";
  211. mes "For the Deviruchi Hat I will need:";
  212. mes "- ^5555FF600 Little Evil Horn^000000.";
  213. mes "- ^5555FF40 Talon of Griffon^000000.";
  214. set @HAT, 2;
  215. sL_GetHat:
  216. mes "[Young Man]";
  217. mes "Wait a moment! Be careful about what items you give me.";
  218. mes "I do not distinguish between equipment that has been forged or has cards attached to them.";
  219. mes "If you don't want to loose a precious card or piece of equipment, make sure you don't have it equiped.";
  220. next;
  221. mes "[Young Man]";
  222. mes "Do you have all of the items needed?";
  223. menu "-Give him the items.",-, "Nevermind.",M_End;
  224. if(@HAT == 2) goto ssL_Devir;
  225. if(countitem(2229)<1 || countitem(2254)<1 || countitem(7036)<5) goto ssL_NotEnuf;
  226. delitem 2229, 1;
  227. delitem 2254, 1;
  228. delitem 7036, 5;
  229. mes "[Young Man]";
  230. mes "Here is your Helm of Angel.";
  231. getitem 5025, 1;
  232. close;
  233. ssL_Devir:
  234. if(countitem(1038)<600 || countitem(7048)<40) goto ssL_NotEnuf;
  235. delitem 1038, 600;
  236. delitem 7048, 40;
  237. mes "[Young Man]";
  238. mes "Here is your Deviruchi Hat.";
  239. getitem 5038, 1;
  240. close;
  241. ssL_NotEnuf:
  242. mes "[Young Man]";
  243. mes "You don't have enough items for me to make what you want.";
  244. close;
  245. M_End:
  246. mes "[Young Man]";
  247. mes "Fine then.....";
  248. close;
  249. }