1 //===== rAthena Script =======================================
2 //= Blacksmith Skills Quests
3 //===== By: ==================================================
4 //= Lupus, Reddozen, Samuray22
5 //===== Current Version: =====================================
7 //===== Compatible With: =====================================
9 //===== Description: =========================================
10 //= [Official Conversion]
11 //= Quests for skills: Dubious Salesmanship, Greed
12 //===== Additional Comments: =================================
13 //= 1.6 Rescripted to Aegis 10.3 stadards. [L0ne_W0lf]
14 //============================================================
16 geffen,178,72,3 script Akkie#qsk_bs 726,{
17 if (BaseJob == Job_Blacksmith) {
18 if (BLACK_SK == 7 && getskilllv("BS_UNFAIRLYTRICK") == 0) {
20 mes "I see that you've";
21 mes "transcended since the";
22 mes "last time we've met. Oh...";
23 mes "You must have forgotten";
24 mes "everything I've taught you.";
25 mes "Well, let me teach you again~";
28 mes "Actually, let me jog your";
29 mes "memory with this counterfeit";
30 mes "zeny that we made the last time. Do you remember how to perform";
31 mes "Dubious Salesmanship? You";
32 mes "should be able to use it now...";
34 skill "BS_UNFAIRLYTRICK",1,SKILL_PERM;
37 else if (BLACK_SK == 8) {
40 mes "How has the smithing";
41 mes "been coming along? Anyway,";
42 mes "it was really nice of you to";
43 mes "drop by and talk to me~";
46 mes "It can get a little boring";
47 mes "teaching Dubious Salesmanship";
48 mes "to Blacksmiths and Master Smiths, but somebody from our guild has";
49 mes "to do this job. Anyway, farewell and be safe in your travels, okay?";
56 mes "Isn't it such a";
57 mes "wonderful day today?";
58 mes "It's perfect for hunting!";
61 mes "Um, let me introduce myself.";
62 mes "I'm Akkie, a representative of";
63 mes "the Blacksmith Guild that has";
64 mes "been dispatched to teach the";
65 mes "Dubious Salesmanship skill to";
66 mes "Blacksmiths and Master Smiths.";
69 mes "This additional class";
70 mes "skill enables you to reduce";
71 mes "the amount of zeny spent to";
72 mes "cast Mammonite by 10%. This";
73 mes "Passive skill might come in";
74 mes "handy for you, "+ strcharinfo(0) +".";
77 mes "Although I'm new at";
78 mes "this, would you like";
79 mes "for me to teach you";
80 mes "Dubious Salesmanship?";
82 if (select("Sure.:No, thanks.") == 1) {
83 mes "["+ strcharinfo(0) +"]";
84 mes "Sure. I'll try learning this";
85 mes "new skill. Who knows?";
86 mes "It might be really useful.";
89 mes "Oh, that's great!";
90 mes "You won't regret this!";
91 mes "Now, let me explain how";
92 mes "this skill works. Um, now";
93 mes "where did I put that-- Ah.";
94 mes "Let me read these guidelines.";
97 mes "Using Dubious Salesmanship,";
98 mes "we can reduce Mammonite's";
99 mes "zeny cost by 10% by forging";
100 mes "fake zeny to use in the skill.";
101 mes "Since it's against enemies,";
102 mes "we can let the forgery slide.";
105 mes "Now, I need you to bring";
106 mes "some materials so that I can";
107 mes "demonstrate the forging of";
108 mes "counterfeit zeny. Please";
109 mes "bring me 1 Steel, 5 Coal,";
110 mes "1 Iron Hammer and... and...";
113 mes "Um, would you give";
114 mes "me a minute to look";
115 mes "up the information?";
116 mes "I'm sorry about th-this...";
117 mes "^333333(I thought I highlighted this";
118 mes "in the manual. Where is it?)^000000";
121 mes "Oh! Oh, I found it!";
122 mes "L-let me start all";
123 mes "over again. Uh...";
125 mes "["+ strcharinfo(0) +"]";
129 mes "^0000FF1 Steel^000000,";
130 mes "^0000FF5 Coal^000000,";
131 mes "^0000FF1 Iron Hammer^000000,";
132 mes "^0000FF500 zeny^000000 and";
133 mes "^0000FF1 Detrimindexta^000000. Would";
134 mes "you bring those, please?";
136 mes "["+ strcharinfo(0) +"]";
138 mes "But are you actually";
139 mes "able to teach me this";
140 mes "skill? I mean...";
143 mes "Oh no, I knew this was going to";
144 mes "happen! I mean, um, it should";
145 mes "be fine! I've been working here";
146 mes "for 3 months a-and-- Just bring";
147 mes "me the materials and I'll prove";
148 mes "you can learn it e-easily!";
151 mes "You've gotta trust me!";
152 mes "You won't be disappointed,";
153 mes "I promise! This skill is sooo";
154 mes "useful! So just bring me those";
155 mes "materials soon, alright?";
160 mes "Wh-what?! But why not?";
161 mes "A-am I not good enough";
162 mes "for you? Please, I promise";
163 mes "to do my best to teach you.";
164 mes "Besides, I've got to reach";
165 mes "my quota for the guild...";
168 else if (BLACK_SK == 1) {
169 if (countitem(999) > 0 && countitem(1003) > 4 && countitem(971) > 0 && countitem(613) > 0) {
172 mes "Oh, you came back~";
173 mes "Now let me see if you";
174 mes "brought everything we";
175 mes "need to make counterfeit";
176 mes "zeny so that I can teach";
177 mes "you Dubious Salesmanship.";
180 mes "Good job, it looks like";
181 mes "you've got what we need.";
182 mes "Alright, now please wait";
183 mes "while I get these materials";
184 mes "ready for forging, okay?";
185 delitem 1003,5; //Coal
186 delitem 999,1; //Steel
187 delitem 971,1; //Detrimindexta
188 delitem 613,1; //Iron_Hammer
195 mes "Hmm, you have all the";
196 mes "forging materials, but";
197 mes "I still need 500 zeny.";
198 mes "We need that zeny to copy,";
199 mes "or we won't be able to make";
200 mes "convincing counterfeit money.";
206 mes "Oh, you came back~";
207 mes "Now let me see if you";
208 mes "brought everything we";
209 mes "need to make counterfeit";
210 mes "zeny so that I can teach";
211 mes "you Dubious Salesmanship.";
214 mes "Hmm, you're still";
215 mes "missing a few things.";
216 mes "Let me tell you what you";
217 mes "need to bring me once again";
218 mes "so that we can start training";
219 mes "you in the skill right away.";
222 mes "^0000FF1 Steel^000000,";
223 mes "^0000FF5 Coal^000000,";
224 mes "^0000FF1 Iron Hammer^000000,";
225 mes "^0000FF500 zeny^000000 and";
226 mes "^0000FF1 Detrimindexta^000000.";
227 mes "Don't forget, okay?";
231 else if (BLACK_SK == 2) {
233 mes "A-ah! You came";
234 mes "back sooner than";
235 mes "I thought. Um, gee.";
236 mes "Hmm. How should";
237 mes "I tell you this?";
239 mes "["+ strcharinfo(0) +"]";
245 mes "I'm so sorry! I messed";
246 mes "something up while I was";
247 mes "making a counterfeit sample!";
248 mes "I'm so sorry, please d-don't";
249 mes "report me to the Blacksmith";
250 mes "Guild! Give me one more chance!";
253 mes "I promise that next time";
254 mes "I won't mess up! All I need";
255 mes "is 1 Steel and 3 more Coals!";
256 mes "Please d-don't be angry with";
257 mes "me, it was just an accident!";
259 mes "["+ strcharinfo(0) +"]";
261 mes "Are you sure that's";
262 mes "all you need me to get?";
265 mes "Yes, yes! Oh, thank";
266 mes "you for being so generous!";
267 mes "Just bring me ^FF00001 Steel^000000 and";
268 mes "^FF00003 Coals^000000 and we'll try again!";
272 else if (BLACK_SK == 3) {
273 if (countitem(999) > 0 && countitem(1003) > 2) {
275 mes "Oh, thank you so";
276 mes "much for bringing these";
277 mes "materials. Alright, I'll try";
278 mes "really hard to succeed";
279 mes "this time. Just give me";
280 mes "a minute to prepare...";
281 delitem 999,1; //Steel
282 delitem 1003,3; //Coal
288 mes "All I need you to do";
289 mes "is bring me 1 Steel and";
290 mes "3 Coals. Then I should";
291 mes "be able to teach you the";
292 mes "Dubious Salesmanship skill~";
296 else if (BLACK_SK == 4) {
302 mes "["+ strcharinfo(0) +"]";
305 mes "["+ strcharinfo(0) +"]";
307 mes "Did... Did you...";
308 mes "Did something happen?";
311 mes "*Sniff* I b-broke the";
312 mes "Iron Hammer you gave";
313 mes "me! I c-can't finish forging";
314 mes "this without one! Waaah~";
316 mes "["+ strcharinfo(0) +"]";
317 mes "^333333(I guess I should";
318 mes "really bring her a new";
319 mes "^FF0000Iron Hammer^333333, or else";
320 mes "I'll never learn this skill!)^000000";
324 else if (BLACK_SK == 5) {
325 if (countitem(613) > 0) {
327 mes "^333333*Sniff*^000000 Did you";
328 mes "r-really bring this";
329 mes "Iron Hammer for me?";
330 mes "Th-thank you for being so";
331 mes "patient with my screwups...";
334 mes "Okay, would you";
335 mes "give me a moment?";
336 mes "I'm going to try";
337 mes "one more time.";
338 delitem 613,1; //Iron_Hammer
344 mes "Waah~! I can't believe";
345 mes "I broke the Iron Hammer!";
346 mes "Would you please bring me";
347 mes "another one so that I can";
348 mes "finish this counterfeit zeny and teach you Dubious Salesmanship?";
352 else if (BLACK_SK == 6) {
354 mes "Oh, you're back!";
355 mes "Yaaaay, I finally did it!";
356 mes "I finished making a sample";
357 mes "of counterfeit zeny and even";
358 mes "tested it with Mammonite!";
361 mes "Oh, before you learn my";
362 mes "skill, I'm supposed to tell you";
363 mes "that my colleague, Goodman,";
364 mes "can teach you another additional skill known as Greed. So you";
365 mes "may want to look for him later.";
368 mes "Okay, now the first part to";
369 mes "learning Dubious Salesmanship";
370 mes "is making this fake zeny. Watch";
371 mes "this... Isn't it easy? Of course, you can only use this in battle to";
372 mes "reduce Mammonite's zeny cost...";
374 skill "BS_UNFAIRLYTRICK",1,SKILL_PERM;
377 mes "Also, 90% of the cost of";
378 mes "Mammonite has to be real";
379 mes "zeny or the skill will begin";
380 mes "to lose effectiveness. Well,";
381 mes "that's all for the lesson. Now you can use Dubious Salesmanship!";
384 mes "Thanks once again for";
385 mes "putting up with my mistakes,";
386 mes "I know it must have been really";
387 mes "annoying. Anyway, I hope this";
388 mes "skill is really useful for you.";
389 mes "Drop again sometime, okay?";
393 if (rand(1,2) == 1) {
395 mes "Oh, have you spoken with";
396 //mes "Goodman in Einbroch yet?";
397 mes "Goodman in Geffen yet?";
398 mes "He's the representative of";
399 mes "the Blacksmith Guild that";
400 mes "teaches the Greed skill.";
403 mes "If you're serious about";
404 mes "smithing goods, the Greed";
405 mes "skill might be very convenient.";
406 mes "Though, I have to say that the";
407 mes "skill's name is a little... Um.";
408 mes "Hmm... It sounds pretty bad~";
414 mes "How has the smithing";
415 mes "been coming along? Anyway,";
416 mes "it was really nice of you to";
417 mes "drop by and talk to me~";
420 mes "It can get a little boring";
421 mes "teaching Dubious Salesmanship";
422 mes "to Blacksmiths and Master Smiths, but somebody from our guild has";
423 mes "to do this job. Anyway, farewell and be safe in your travels, okay?";
431 mes "Hello, "+ strcharinfo(0) +",";
432 mes "I'm here on behalf of the";
433 mes "Blacksmith Guild to teach you";
434 mes "a new skill. However, your Job";
435 mes "Level is a little low right now";
436 mes "for me to teach you anything...";
439 mes "But practice smithing";
440 mes "a little bit more, and";
441 mes "once you qualify, I'll be";
442 mes "sure to teach you my skill!";
443 mes "Goodbye and good luck~";
446 mes "Hello, I'm Akkie from";
447 mes "the Blacksmith Guild. I'm";
448 mes "here to teach this new skill";
449 mes "to all interested Blacksmiths";
450 mes "and Master Smiths, but it looks";
451 mes "like your Job Level is too low...";
454 mes "I'm sorry, "+ strcharinfo(0) +",";
455 mes "But you'll qualify for the";
456 mes "skill I teach after you";
457 mes "raise your Job Level.";
458 mes "In the meantime, keep";
459 mes "training, alright?";
466 mes "Ah, today seems like";
467 mes "a perfect day for forging.";
468 mes "I just feel like going behind";
469 mes "a beautiful waterfall, getting";
470 mes "some high quality materials,";
471 mes "and just hammering things.";
476 geffen,172,52,1 script Goodman#qsk_bs 826,{
477 if (BaseJob == Job_Blacksmith) {
478 if (BLACK_SK2 == 2 && Upper == 1 && getskilllv("BS_GREED") == 0) {
480 mes "Ah, I see that you have";
481 mes "transcended. It gladdens me";
482 mes "to see Blacksmiths become";
483 mes "Master Smiths for the sake";
484 mes "of improving their craft.";
487 mes "Hm? You've forgotten the";
488 mes "Greed skill? You should";
489 mes "remember how to use it now:";
490 mes "just looking at me should";
491 mes "jog the memories you require";
492 mes "to use this skill once again~";
493 skill "BS_GREED",1,SKILL_PERM;
497 else if (BLACK_SK2 == 3) {
499 mes "How is your forging";
500 mes "technique coming along?";
501 mes "When the craft frustrates you,";
502 mes "traveling will offer a good";
503 mes "opportunity to relax, think,";
504 mes "and collect materials.";
508 if (BLACK_SK2 == 0) {
510 mes "Hey. I'm a Blacksmith";
511 mes "skill master sent from the";
512 mes "Blacksmith Guild. Everyone";
513 mes "calls me Goodman. You're";
515 mes "a Master Smith, aren't you?";
517 mes "a Blackmith, aren't you?";
518 mes "Pffft, rhetorical question.";
521 mes "Good news. I'm in charge of";
522 mes "teaching the skill, developed";
523 mes "by the Blacksmith and Merchant";
524 mes "Guilds, called ^FF0000Greed^000000. It's your";
525 mes "choice whether you learn it,";
526 mes "but I recommend that you do.";
529 mes "If you want, I can start";
530 mes "teaching you the Greed";
531 mes "skill right now. So what";
532 mes "do you say, kid?";
534 if (select("Sounds good!:Maybe later~") == 1) {
536 mes "Heh! Good choice. Now,";
537 mes "the Greed skill automatically";
538 mes "picks up all items in a 5*5";
539 mes "cell area around the caster.";
540 mes "It's handy for picking up clumps of goods from looting monsters.";
543 mes "First thing's first. I need to";
544 mes "test you and see if you qualify";
545 mes "to learn this skill. Go fill your Inventory with any items until";
546 mes "it's so full, you can't put an";
547 mes "item of 500 Weight in it.";
550 mes "When you finish that";
551 mes "task, come back and";
552 mes "talk to me. Alright";
553 mes "then, good luck~";
558 mes "I see. It's good to be";
559 mes "busy with other things,";
560 mes "but remember that time is ";
561 mes "a commodity, and you should";
562 mes "always spend it doing the most";
563 mes "worthwhile stuff. Understand?";
566 else if (BLACK_SK2 == 1) {
567 if (MaxWeight - Weight < 5000) {
569 mes "Back already, eh?";
570 mes "Alright, let me check";
571 mes "the things you're carrying.";
572 mes "Let's see, Inventory, Inventory...";
575 mes "Good work: you pass.";
576 mes "Do you realize now that the";
577 mes "time and experience spent in";
578 mes "gathering these items is worth";
579 mes "more than their prices in zeny?";
583 mes "I believe that Master Smiths";
585 mes "I believe that Blacksmiths";
586 mes "should first and foremost be";
587 mes "artisans. Being rich and famous";
588 mes "is merely a side effect of that.";
590 mes "Honorable Master Smiths know value is in the craftsmanship...";
592 mes "Honorable Blacksmiths know value is in the craftsmanship...";
596 mes "Now, if you don't place too";
597 mes "much importance on an item's";
598 mes "worth in terms of zeny, you'll";
599 mes "be able to let go of them much";
600 mes "more easily. Watch me do this.";
601 mes "See? Now you can do it too.";
605 mes "The skill you learned is";
606 mes "called Greed, but I hope";
607 mes "you use it in a manner that";
608 mes "is different than its name.";
609 mes "Don't forget that, and I hope";
610 mes "you craft true masterpieces.";
611 skill "BS_GREED",1,SKILL_PERM;
617 mes "Hm. You've come back";
618 mes "too early. And you didn't";
619 mes "complete the objective that";
620 mes "I set for you. Listen carefully.";
623 mes "Go fill your Inventory";
624 mes "with any items until it";
625 mes "becomes too full to place";
626 mes "an item of 500 weight into it.";
627 mes "When you finish this task,";
628 mes "come back and report to me.";
634 mes "How have you been using";
635 mes "the Greed skill? Hopefully,";
636 mes "it has been convenient in";
637 mes "your efforts to forge goods";
638 mes "of greater quality for all";
639 mes "of your comrades.";
645 mes "I feel like exploring";
646 mes "the mountains to look for";
647 mes "rare and interesting items";
648 mes "that I can use in forging.";
649 mes "For me, that's the greatest";
650 mes "pleasure of being a Blacksmith.";
654 //============================================================
656 //============================================================
657 //= 1.0 for fully working skills only [Lupus]
658 //= 1.1 Added more new skill quests for more classes [Lupus]
659 //= Somehow eA engine doesn't let you keep learn't skill V_V'
660 //= 1.2 Added to correct locations, correct NPC's, fixed
661 //= some of the items required and made them into real
662 //= quests. [Reddozen]
663 //= 1.3 Fixed bugs and minor typos. Optimized [Lupus]
664 //= 1.3a fixed an item ID typo, thx 2Spiritual Kid
665 //= 1.3b Splitted into different files [DracoRPG]
666 //= 1.3c Inverted the weight check for Greed [DracoRPG]
667 //= 1.4 Updated to the official One [Samuray22]
668 //= 1.5 replaced item "names" with item id. Fixed a bug with
669 //= item deletion [Lupus]
670 //============================================================