quests_payon.txt 11 KB

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