quests_payon.txt 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317
  1. //===== rAthena Script =======================================
  2. //= Quest NPCs related to Payon
  3. //===== By: ==================================================
  4. //= kobra_k88
  5. //===== Current Version: =====================================
  6. //= 1.7
  7. //===== Compatible With: =====================================
  8. //= rAthena Project; 7.15 +
  9. //===== Description: =========================================
  10. //= Pretend Murder, Ear Muffs, Oxygen, Derivuchi Cap, Helm of Angel Quests.
  11. //===== Additional Comments: =================================
  12. //= 1.1 Helm of Angel bug fixed [Lupus]
  13. //= 1.2 Fixed skirt of virgin [Lupus]
  14. //= 1.3 Fixed exploits [Lupus]
  15. //= 1.4 Removed Duplicates [Silent]
  16. //= 1.5 Updated Dialogs from "Pretend Murdered Quest" [Samuray22]
  17. //= 1.5a replaced item "names" with item id. [Lupus]
  18. //= 1.6 Updated Dialogs from "Oxygen Mask Quest" [Samuray22]
  19. //= 1.7 Updated headgear quests. [L0ne_W0lf]
  20. //= 1.8 Updating NPC Position. [JohnnyPlayy]
  21. //============================================================
  22. // 'Pretend Murdered' Quest
  23. //============================================================
  24. payon_in01,99,72,4 script Granny 103,{
  25. if (checkweight(908,1) == 0) {
  26. 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";
  27. close;
  28. }
  29. if (countitem(1049) > 3) {
  30. mes "[Granny]";
  31. mes "I wish I could make some clothing for my grandchildren for the festival season...";
  32. next;
  33. mes "[Granny]";
  34. mes "Oh! Would you give me your ^3355FFSkirt of Virgin^000000? I'd need four of them. Please, I'm begging you.";
  35. next;
  36. switch(select("Alright.:No way!")) {
  37. case 1:
  38. delitem 1049,4; //Skirt_Of_Virgin
  39. mes "[Granny]";
  40. mes "Oh! Thank you so much~ Now I can make some clothes for Kitty Cutty~";
  41. next;
  42. mes "[Granny]";
  43. 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.";
  44. next;
  45. mes "[Granny]";
  46. mes "If it's okay...";
  47. mes "I'd like to give you this.";
  48. next;
  49. getitem 2293,1; //Pretend_Murdered
  50. mes "[Granny]";
  51. mes "Goodbye, adventurer~!";
  52. mes "Thank you for making an old woman so happy...";
  53. close;
  54. case 2:
  55. mes "[Granny]";
  56. 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...";
  57. close;
  58. }
  59. }
  60. else {
  61. mes "[Granny]";
  62. 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.";
  63. next;
  64. mes "[Granny]";
  65. mes "...";
  66. mes "But for that, I need ^3355FF4 Skirt of Virgin^000000...";
  67. next;
  68. mes "[Granny]";
  69. mes "Young traveler, please help me. When you find some ^3355FFSkirt of Virgin^000000, please bring them to me. I'd really appreciate it...";
  70. close;
  71. }
  72. }
  73. // 'Ear Muffs' Quest
  74. //============================================================
  75. payon_in01,18,10,4 script Mystic Lady 76,{
  76. mes "[Mystic Lady]";
  77. 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.";
  78. next;
  79. mes "[Mystic Lady]";
  80. mes "If you plan to travel to colder regions, I suggest that you bring some ^3355FFEar Muffs^000000...";
  81. emotion ET_THINK;
  82. next;
  83. mes "[Mystic Lady]";
  84. 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.";
  85. emotion ET_THINK;
  86. next;
  87. switch(select("Oh Yeah? That sounds good.:No thank you, Ma'am.")) {
  88. case 1:
  89. if ((countitem(724) > 0) && (countitem(949) > 199) && (countitem(5001) > 0) && (Zeny > 4999)) {
  90. mes "[Mystic Lady]";
  91. delitem 724,1; //Cardinal_Jewel_
  92. delitem 949,200; //Feather
  93. delitem 5001,1; //Headset
  94. set Zeny,Zeny-5000;
  95. mes "Here, I will give you this pre-made one.";
  96. getitem 2283,1; //Ear_Mufs
  97. next;
  98. mes "[Mystic Lady]";
  99. mes "Thank you for buying our product. You won't regret purchasing our Ear Muffs: Satisfaction guaranteed~";
  100. emotion ET_THINK;
  101. close;
  102. }
  103. else {
  104. mes "[Mystic Lady]";
  105. mes "Oh dear...";
  106. 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...";
  107. emotion ET_THINK;
  108. close;
  109. }
  110. case 2:
  111. mes "[Mystic Lady]";
  112. mes "That's fine.";
  113. mes "I believe we";
  114. mes "will meet again.";
  115. mes "...One of these days.";
  116. emotion ET_THINK;
  117. close;
  118. }
  119. }
  120. // 'Oxygen Mask' Quest
  121. //============================================================
  122. payon_in02,25,71,4 script Boy 86,{
  123. if (countitem(701) > 4) {
  124. mes "[Young Man]";
  125. mes "ArrrGggghh!";
  126. mes "Ah, No I can't...";
  127. next;
  128. mes "[Young Man]";
  129. mes "*Huk*";
  130. mes "Now even my eyes have gone mad!! Why do these bugs suddenly seem so cute?! Nooooooo~!!!";
  131. next;
  132. switch(select("Show Ora Ora:Give Ora Ora:Cancel")) {
  133. case 1:
  134. mes "[Young Man]";
  135. mes "Oooooohhhh!!!";
  136. mes "Is, is this";
  137. mes "the one?!";
  138. mes "This is...";
  139. mes "Ora Ora!!";
  140. next;
  141. mes "[Young Man]";
  142. mes "I'll make it short! Give it to me, and I will give you my treasure! So how's my idea? Wanna deal?";
  143. close;
  144. case 2:
  145. if (countitem(701) > 4) {
  146. delitem 701,5; //Ora_Ora
  147. }
  148. mes "[Young Man]";
  149. mes "Muhahahahah!!!";
  150. mes "I finally have this!";
  151. mes "Ora Ora!";
  152. mes "Stupid and Disgusting";
  153. mes "Thief Bugs!!";
  154. mes "You will pay!!!";
  155. next;
  156. mes "[Young Man]";
  157. mes "Huk...Huk...";
  158. mes "Sorry, I was out of control with pleasure for a while. Now, I will give my treasure as promised.";
  159. next;
  160. getitem 5004,1; //Oxygen_Mask
  161. mes "[Young Man]";
  162. mes "When you wear this over your mouth and start to breathe, it filters junk out before getting to your lungs.";
  163. next;
  164. mes "[Young Man]";
  165. mes "Kakakakakaka!";
  166. mes "I can't wait";
  167. mes "to use this";
  168. mes "Ora Ora!";
  169. close;
  170. case 3:
  171. mes "[Young Man]";
  172. mes "Huhuhuhuhu...";
  173. mes "What if I can't get rid of all these Thief Bugs? I might even grow to love them... *Huk*";
  174. close;
  175. }
  176. }
  177. else {
  178. mes "[Young Man]";
  179. mes "Wahhhhhh! I, I...";
  180. mes "I can't take it any more!";
  181. mes "You little stinky filthy bastards!";
  182. next;
  183. switch(select("Continue:Cancel")) {
  184. case 1:
  185. mes "[Young Man]";
  186. mes "Oh man...";
  187. 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.";
  188. next;
  189. mes "[Young Man]";
  190. 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.";
  191. next;
  192. mes "[Young Man]";
  193. 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...";
  194. next;
  195. mes "[Young Man]";
  196. mes "Sweet Jesus! Turns out, it's a Heaven for Thief Bugs!!!";
  197. next;
  198. mes "[Young Man]";
  199. 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...!";
  200. next;
  201. mes "[Young Man]";
  202. 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.";
  203. next;
  204. mes "[Young Man]";
  205. mes "If I could afford 5 of them, I won't have to be frustrated with these disgusting bugs any more...";
  206. close;
  207. case 2:
  208. mes "[Young Man]";
  209. mes "This never ending fight with the bugs has really exhausted me. I give up. Do as you wish you scumbags!";
  210. close;
  211. }
  212. }
  213. }
  214. // 'Helm of Angel' and 'Deviruchi Cap' Quest
  215. //============================================================
  216. - script Young man#12 89,{
  217. mes "[Young man]";
  218. mes "...What is it?";
  219. next;
  220. switch(select("Can you make me a special item?:Hey.")) {
  221. case 1:
  222. mes "[Young man]";
  223. 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.";
  224. next;
  225. switch(select("Helm of Angel.:Deviruchi Cap.:I will come next time.")) {
  226. case 1:
  227. mes "[Young man]";
  228. mes "1 Helm (with slot).";
  229. mes "1 Angel Wing.";
  230. mes "5 Fang of Garm.";
  231. mes "That's all I require.";
  232. next;
  233. mes "[Young man]";
  234. mes "Wait! Just so you know, I don't care if the items in your inventory have been upgraded, or have cards attached.";
  235. next;
  236. mes "[Young man]";
  237. 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.";
  238. next;
  239. mes "[Young man]";
  240. mes "Did you gather the items? Then hand them over.";
  241. next;
  242. switch(select("Give him the items.:Don't give him the items.")) {
  243. case 1:
  244. if ((countitem(2229) > 0) && (countitem(2254) > 0) && (countitem(7036) > 4)) {
  245. mes "[Young man]";
  246. mes ".....Hm.";
  247. mes "Fine, here's your Helm of Angel. Take it.";
  248. delitem 2229,1; //Helm_
  249. delitem 2254,1; //Angelic_Chain
  250. delitem 7036,5; //Fang_Of_Garm
  251. close2;
  252. getitem 5025,1; //Helm_Of_Angel
  253. end;
  254. }
  255. else {
  256. mes "[Young man]";
  257. mes "...The number of items is not right. You better double check.";
  258. close;
  259. }
  260. case 2:
  261. mes "[Young man]";
  262. mes "Do as you wish...";
  263. close;
  264. }
  265. case 2:
  266. mes "[Young man]";
  267. mes "600 Little Evil Horn.";
  268. mes "40 Talon of Griffon.";
  269. mes "That's all I require.";
  270. next;
  271. mes "[Young man]";
  272. mes "Wait! Just so you know, I don't care if the items in your inventory have been upgraded, or have cards attached.";
  273. next;
  274. mes "[Young man]";
  275. 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.";
  276. next;
  277. mes "[Young man]";
  278. mes "Did you gather the items? Then hand them over.";
  279. next;
  280. switch(select("Give him the items.:Don't give him the items.")) {
  281. case 1:
  282. if ((countitem(1038) > 599) && (countitem(7048) > 39)) {
  283. mes "[Young man]";
  284. mes ".....Hm. Here's your Deviruchi Hat. Please take it.";
  285. delitem 1038,600; //Petite_DiablOfs_Horn
  286. delitem 7048,40; //Talon_Of_Griffin
  287. close2;
  288. getitem 5038,1; //Deviruchi_Cap
  289. end;
  290. }
  291. else {
  292. mes "[Young man]";
  293. mes "...The number of items isn't right. You better double check.";
  294. close;
  295. }
  296. case 2:
  297. mes "[Young man]";
  298. mes "Do as you wish...";
  299. close;
  300. }
  301. case 3:
  302. mes "[Young man]";
  303. mes "Hm. Alright.";
  304. mes "Then we shall meet again.";
  305. close;
  306. }
  307. case 2:
  308. mes "[Young man]";
  309. mes "Hm.";
  310. mes "Take care.";
  311. close;
  312. }
  313. }