quests_payon.txt 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323
  1. //===== eAthena Script =======================================
  2. //= Quest NPCs related to Payon
  3. //===== By: ==================================================
  4. //= kobra_k88
  5. //===== Current Version: =====================================
  6. //= 1.7
  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. //= 1.7 Updated headgear quests. [L0ne_W0lf]
  21. //============================================================
  22. //==========================================================================================//
  23. // Pretend Murdered quest
  24. //==========================================================================================//
  25. payon_in01,99,72,4 script Granny 103,{
  26. if (checkweight(908,1) == 0) {
  27. mes "^3355FFWait a second! Right now, you're carrying too many items with you. Please come back after putting some of your things into Kafra Storage.^000000";
  28. close;
  29. }
  30. if (countitem(1049) > 3) {
  31. mes "[Granny]";
  32. mes "I wish I could make some clothing for my grandchildren for the festival season...";
  33. next;
  34. mes "[Granny]";
  35. mes "Oh! Would you give me your ^3355FFSkirt of Virgin^000000? I'd need four of them. Please, I'm begging you.";
  36. next;
  37. switch(select("Alright.:No way!")) {
  38. case 1:
  39. delitem 1049,4; //Skirt_Of_Virgin
  40. mes "[Granny]";
  41. mes "Oh! Thank you so much~ Now I can make some clothes for Kitty Cutty~";
  42. next;
  43. mes "[Granny]";
  44. mes "Ah, Wait! I almost forgot. I was quite a popular actress back in my youth. My actor friends gave me a wedding present when I left the Troupe. I've kept it to remind me of those precious times.";
  45. next;
  46. mes "[Granny]";
  47. mes "If it's okay...";
  48. mes "I'd like to give you this.";
  49. next;
  50. getitem 2293,1; // Pretend_Murdered
  51. mes "[Granny]";
  52. mes "Goodbye, adventurer~!";
  53. mes "Thank you for making an old woman so happy...";
  54. close;
  55. case 2:
  56. mes "[Granny]";
  57. mes "*Sigh* How can I get ^3355FFSkirt of Virgin^000000 by myself? I'm just so weak and feeble, even rolling in my rocking chair exhausts me. *Sniff* All I want is to make my grandchildren happy...";
  58. close;
  59. }
  60. }
  61. else {
  62. mes "[Granny]";
  63. mes "I gather Mushrooms on the Mountain of Payon everyday. Time passes and before I know it, it's already fesitval season. I wish I could make clothing for my family this time of the year.";
  64. next;
  65. mes "[Granny]";
  66. mes "...";
  67. mes "But for that, I need ^3355FF4 Skirt of Virgin^000000...";
  68. next;
  69. mes "[Granny]";
  70. mes "Young traveler, please help me. When you find some ^3355FFSkirt of Virgin^000000, please bring them to me. I'd really appreciate it...";
  71. close;
  72. }
  73. }
  74. //========================================================================================//
  75. // Ear Muffs Quest
  76. //========================================================================================//
  77. payon_in01,18,10,4 script Mystic Lady 76,{
  78. mes "[Mystic Lady]";
  79. mes "My family has produced and sold the special Winter product ^3355FFEar Muffs^000000 for many years. We just moved here, but the weather is always warm so we can hardly make a living.";
  80. next;
  81. mes "[Mystic Lady]";
  82. mes "If you plan to travel to colder regions, I suggest that you bring some ^3355FFEar Muffs^000000...";
  83. Emotion e_dots;
  84. next;
  85. mes "[Mystic Lady]";
  86. mes "Ear Muffs are my family's specialty, and we provide it to customers who have ^FF33551 Cursed Ruby^000000, ^3311AA1 Headset,^000000 ^3355FF 200 Feathers^000000 and ^DDDD005000 Zeny^000000.";
  87. Emotion e_dots;
  88. next;
  89. switch(select("Oh Yeah? That sounds good.:No thank you, Ma'am.")) {
  90. case 1:
  91. if ((countitem(724) > 0) && (countitem(949) > 199) && (countitem(5001) > 0) && (Zeny > 4999)) {
  92. mes "[Mystic Lady]";
  93. delitem 724,1; //Cardinal_Jewel_
  94. delitem 949,200; //Feather
  95. delitem 5001,1; //Headset
  96. set Zeny,Zeny-5000;
  97. mes "Here, I will give you this pre-made one.";
  98. getitem 2283,1; // Ear_Mufs
  99. next;
  100. mes "[Mystic Lady]";
  101. mes "Thank you for buying our product. You won't regret purchasing our Ear Muffs: Satisfaction guaranteed~";
  102. Emotion e_dots;
  103. close;
  104. }
  105. else {
  106. mes "[Mystic Lady]";
  107. mes "Oh dear...";
  108. mes "You don't have enough money or items. Unfortunately, we can't give any discounts. Please understand that we have to make a living...";
  109. Emotion e_dots;
  110. close;
  111. }
  112. case 2:
  113. mes "[Mystic Lady]";
  114. mes "That's fine.";
  115. mes "I believe we";
  116. mes "will meet again.";
  117. mes "...One of these days.";
  118. Emotion e_dots;
  119. close;
  120. }
  121. }
  122. //========================================================================================//
  123. // Oxygen Mask Quest
  124. //========================================================================================//
  125. payon_in02,25,71,4 script Boy 86,{
  126. if (countitem(701) > 4) {
  127. mes "[Young Man]";
  128. mes "ArrrGggghh!";
  129. mes "Ah, No I can't...";
  130. next;
  131. mes "[Young Man]";
  132. mes "*Huk*";
  133. mes "Now even my eyes have gone mad!! Why do these bugs suddenly seem so cute?! Nooooooo~!!!";
  134. next;
  135. switch(select("Show Ora Ora:Give Ora Ora:Cancel")) {
  136. case 1:
  137. mes "[Young Man]";
  138. mes "Oooooohhhh!!!";
  139. mes "Is, is this";
  140. mes "the one?!";
  141. mes "This is...";
  142. mes "Ora Ora!!";
  143. next;
  144. mes "[Young Man]";
  145. mes "I'll make it short! Give it to me, and I will give you my treasure! So how's my idea? Wanna deal?";
  146. close;
  147. case 2:
  148. if (countitem(701) > 4) {
  149. delitem 701,5; //Ora_Ora
  150. }
  151. mes "[Young Man]";
  152. mes "Muhahahahah!!!";
  153. mes "I finally have this!";
  154. mes "Ora Ora!";
  155. mes "Stupid and Disgusting";
  156. mes "Thief Bugs!!";
  157. mes "You will pay!!!";
  158. next;
  159. mes "[Young Man]";
  160. mes "Huk...Huk...";
  161. mes "Sorry, I was out of control with pleasure for a while. Now, I will give my treasure as promised.";
  162. next;
  163. getitem 5004,1; // Oxygen_Mask
  164. mes "[Young Man]";
  165. mes "When you wear this over your mouth and start to breathe, it filters junk out before getting to your lungs.";
  166. next;
  167. mes "[Young Man]";
  168. mes "Kakakakakaka!";
  169. mes "I can't wait";
  170. mes "to use this";
  171. mes "Ora Ora!";
  172. close;
  173. case 3:
  174. mes "[Young Man]";
  175. mes "Huhuhuhuhu...";
  176. mes "What if I can't get rid of all these Thief Bugs? I might even grow to love them... *Huk*";
  177. close;
  178. }
  179. }
  180. else {
  181. mes "[Young Man]";
  182. mes "Wahhhhhh! I, I...";
  183. mes "I can't take it any more!";
  184. mes "You little stinky filthy bastards!";
  185. next;
  186. switch(select("Continue:Cancel")) {
  187. case 1:
  188. mes "[Young Man]";
  189. mes "Oh man...";
  190. mes "It all started when my parents passed away when I was a little kid. Early on I had to work for a living, and had a really hard time.";
  191. next;
  192. mes "[Young Man]";
  193. mes "I've worked for 10 years in hopes of buying my dream house where I could find some sense of peace and comfort again. Eventually I thought I had enough zeny to afford my very own sweet home.";
  194. next;
  195. mes "[Young Man]";
  196. mes "Unfortunately I didn't have enough money to buy the nice house that I had my eye on. But then, I found this house, which was bigger and cheaper than the first. I bought it without thinking...";
  197. next;
  198. mes "[Young Man]";
  199. mes "Sweet Jesus! Turns out, it's a Heaven for Thief Bugs!!!";
  200. next;
  201. mes "[Young Man]";
  202. mes "I tried to do everything I could do. I coaxed them, killed them, but it only brought peace for a moment! I even tried to burn this house down...!";
  203. next;
  204. mes "[Young Man]";
  205. mes "*Gasp* I mean, really, do I need ^3355FF Ora Ora^000000 to get rid of them? People say it is very rarely seen in distant countries.";
  206. next;
  207. mes "[Young Man]";
  208. mes "If I could afford 5 of them, I won't have to be frustrated with these disgusting bugs any more...";
  209. close;
  210. case 2:
  211. mes "[Young Man]";
  212. mes "This never ending fight with the bugs has really exhausted me. I give up. Do as you wish you scumbags!";
  213. close;
  214. }
  215. }
  216. }
  217. //========================================================================================//
  218. // Derivuchi Cap(Hat of Petite Diablo), Helm of Angel
  219. //========================================================================================//
  220. payon_in01,56,12,7 script Young man#12 89,{
  221. mes "[Young man]";
  222. mes "...What is it?";
  223. next;
  224. switch(select("Can you make me a special item?:Hey.")) {
  225. case 1:
  226. mes "[Young man]";
  227. mes "Huh? So you already know what I specialize in, eh? I suppose there's no need for the usual secrecy. Tell me what you want.";
  228. next;
  229. switch(select("Helm of Angel.:Deviruchi cap.:I will come next time.")) {
  230. case 1:
  231. mes "[Young man]";
  232. mes "1 Helm (with slot).";
  233. mes "1 Angel Wing.";
  234. mes "5 Fang of Garm.";
  235. mes "That's all I require.";
  236. next;
  237. mes "[Young man]";
  238. mes "Wait! Just so you know, I don't care if the items in your inventory have been upgraded, or have cards attached.";
  239. next;
  240. mes "[Young man]";
  241. mes "I mean, any cards or upgrades in the items I will use to make something for you will be lost once I make the item. So be careful when you hand stuff over to me.";
  242. next;
  243. mes "[Young man]";
  244. mes "Did you gather the items? Then hand them over.";
  245. next;
  246. switch(select("Give him the items.:Don't give him the items.")) {
  247. case 1:
  248. if ((countitem(2229) > 0) && (countitem(2254) > 0) && (countitem(7036) > 4)) {
  249. mes "[Young man]";
  250. mes ".....Hm.";
  251. mes "Fine, here's your Helm of Angel. Take it.";
  252. delitem 2229,1; //Helm_
  253. delitem 2254,1; //Angelic_Chain
  254. delitem 7036,5; //Fang_Of_Garm
  255. close2;
  256. getitem 5025,1; // Helm_Of_Angel
  257. end;
  258. }
  259. else {
  260. mes "[Young man]";
  261. mes "...The number of items is not right. You better double check.";
  262. close;
  263. }
  264. case 2:
  265. mes "[Young man]";
  266. mes "Do as you wish...";
  267. close;
  268. }
  269. case 2:
  270. mes "[Young man]";
  271. mes "600 Little Evil Horn.";
  272. mes "40 Talon of Griffon.";
  273. mes "That's all I require.";
  274. next;
  275. mes "[Young man]";
  276. mes "Wait! Just so you know, I don't care if the items in your inventory have been upgraded, or have cards attached.";
  277. next;
  278. mes "[Young man]";
  279. mes "I mean, any cards or upgrades in the items I will use to make something for you will be lost once I make the item. So be careful when you hand stuff over to me.";
  280. next;
  281. mes "[Young man]";
  282. mes "Did you gather the items? Then hand them over.";
  283. next;
  284. switch(select("Give him the items.:Don't give him the items.")) {
  285. case 1:
  286. if ((countitem(1038) > 599) && (countitem(7048) > 39)) {
  287. mes "[Young man]";
  288. mes ".....Hm. Here's your Deviruchi Hat. Please take it.";
  289. delitem 1038,600; //Petite_DiablOfs_Horn
  290. delitem 7048,40; //Talon_Of_Griffin
  291. close2;
  292. getitem 5038,1; // Deviruchi_Cap
  293. end;
  294. }
  295. else {
  296. mes "[Young man]";
  297. mes "...The number of items isn't right. You better double check.";
  298. close;
  299. }
  300. case 2:
  301. mes "[Young man]";
  302. mes "Do as you wish...";
  303. close;
  304. }
  305. case 3:
  306. mes "[Young man]";
  307. mes "Hm. Alright.";
  308. mes "Then we shall meet again.";
  309. close;
  310. }
  311. case 2:
  312. mes "[Young man]";
  313. mes "Hm.";
  314. mes "Take care.";
  315. close;
  316. }
  317. }