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