1 | //===== eAthena Script ======================================= |
---|
2 | //= Quest NPCs related to Geffen |
---|
3 | //===== By: ================================================== |
---|
4 | //= kobra_k88 & Samuray22 |
---|
5 | //===== Current Version: ===================================== |
---|
6 | //= 1.3a |
---|
7 | //===== Compatible With: ===================================== |
---|
8 | //= eAthena 7.15 + |
---|
9 | //===== Description: ========================================= |
---|
10 | //= Welding Mask and Headset Quests. |
---|
11 | //===== Additional Comments: ================================= |
---|
12 | //= 1.1 Fixed exploits [Lupus] |
---|
13 | //= 1.2 Removed Duplicates [Silent] |
---|
14 | //= 1.3 Updated "Welding Mask" Quest to the Official one. [Samuray22] |
---|
15 | //= 1.3a replaced item "names" with item id. Added missing [] [Lupus] |
---|
16 | //============================================================ |
---|
17 | |
---|
18 | |
---|
19 | |
---|
20 | //==============================================================================================// |
---|
21 | // Blacksmith: 'Welding Mask' Quest |
---|
22 | //==============================================================================================// |
---|
23 | geffen_in,144,166,5 script Blacksmith 63,{ |
---|
24 | mes "[Blacksmith]"; |
---|
25 | mes "I am the best Blacksmith! Do you know that?"; |
---|
26 | mes "I've been working for 30 years in this hot, bloody Hellfire!"; |
---|
27 | mes " I have been a Blacksmith for many years, I invented something really incredible. Wanna Know about it?"; |
---|
28 | next; |
---|
29 | switch( select( "Tip", "Not much help to me though...")) { |
---|
30 | case 1: |
---|
31 | mes "[Blacksmith]"; |
---|
32 | mes "As Blacksmith, we melt steel into various metal product with incredible high temperature."; |
---|
33 | mes "So we have to face the heat and metallic fluid all the time, our face are almost burnt down and sometimes injured during working... "; |
---|
34 | mes "But with this new item... You don't have to worry any more. Introducing ^3355FF' Welding Mask '^000000 !!"; |
---|
35 | next; |
---|
36 | mes "[Blacksmith]"; |
---|
37 | mes "It protect your face from the burning heat."; |
---|
38 | mes "This is the most wanted item for anyone!"; |
---|
39 | mes "So? If you offer me ^2244FF'50 Steel '^000000 and ^4422FF2000 Zeny^000000, I will make it for you right away!"; |
---|
40 | next; |
---|
41 | switch( select( "Not bad! I will take one.", "It doesn't seem useful.")) { |
---|
42 | case 1: |
---|
43 | if (countitem(999) > 49 && Zeny > 1999) { |
---|
44 | mes "[Blacksmith]"; |
---|
45 | mes "Great! I will do it right now!!"; |
---|
46 | next; |
---|
47 | delitem 999, 50; |
---|
48 | set Zeny, Zeny-2000; |
---|
49 | getitem 2292, 1; |
---|
50 | mes "[Blacksmith]"; |
---|
51 | mes "Now you can enjoy the heat!"; |
---|
52 | mes "Good bye..."; |
---|
53 | close; |
---|
54 | } |
---|
55 | mes "[Blacksmith]"; |
---|
56 | mes "Look! You don't have enough steel and zeny. I can't do it!"; |
---|
57 | mes "Do you know about alchemy? It is wHat you need now!"; |
---|
58 | mes "Find the steel and zeny quickly then you can do alchemy."; |
---|
59 | close; |
---|
60 | case 2: |
---|
61 | mes "[Blacksmith]"; |
---|
62 | mes "Uh-uh... You don't know wHat you have missed!"; |
---|
63 | mes "Young man, you should take good care of your face before it gets shrinking."; |
---|
64 | close; |
---|
65 | } |
---|
66 | case 2: |
---|
67 | mes "[Blacksmith]"; |
---|
68 | mes "Never mind... I am not ganna waste any more my time talking to you! Leave now! "; |
---|
69 | close; |
---|
70 | } |
---|
71 | } |
---|
72 | |
---|
73 | |
---|
74 | |
---|
75 | //=============================================================================================// |
---|
76 | // Eric: Headset Quest |
---|
77 | //=============================================================================================// |
---|
78 | geffen_in,30,71,4 script Eric 83,{ |
---|
79 | mes "[Eric]"; |
---|
80 | mes "Please listen to the story of my blessed grand father..."; |
---|
81 | emotion e_sob; |
---|
82 | next; |
---|
83 | menu "Listen.",-, "Ask about Items needed.",M_Ask, "Make.",M_Make, "End Conversation.",M_End; |
---|
84 | |
---|
85 | mes "[Eric]"; |
---|
86 | mes "My grand father passed away few years ago.... he was very special to me....."; |
---|
87 | next; |
---|
88 | mes "[Eric]"; |
---|
89 | mes "For as long as I can remember, he was always there for me."; |
---|
90 | mes "He even took better care of me than did my own father, who was always busy with work."; |
---|
91 | next; |
---|
92 | mes "[Eric]"; |
---|
93 | mes "To me, my grand father's library was always like a 'Fairyland'."; |
---|
94 | mes "I spent most of my time there and I learned a lot of things from his vast collection of books"; |
---|
95 | next; |
---|
96 | mes "[Eric]"; |
---|
97 | mes "Grand father was interested in alchemy and music, so his library was filled with many books on these subjects."; |
---|
98 | next; |
---|
99 | mes "[Eric]"; |
---|
100 | mes "One day while I was in grand fathers library, I discovered an interesting design sheet....."; |
---|
101 | mes "It was a design for what look liked 'Ear Muffs'.... underneath the drawing was a description that read:"; |
---|
102 | next; |
---|
103 | mes "[Eric]"; |
---|
104 | mes "'When worn on over the ears, anything from music to the faintest whispers can be heard."; |
---|
105 | mes "The sounds are transmitted to the ears through a thin wire. Project Name: ^5555FFHeadset^000000"; |
---|
106 | next; |
---|
107 | mes "[Eric]"; |
---|
108 | mes "It was a project that my grand father was working on before he passed away.... unfortunately he was never able to finish it....."; |
---|
109 | next; |
---|
110 | mes "[Eric]"; |
---|
111 | mes "That's why I made up my mind to pick up where he left off and finish his beloved project!"; |
---|
112 | mes "I met with a few Alchemists and asked them to create a working prototype based on his plans."; |
---|
113 | next; |
---|
114 | mes "[Eric]"; |
---|
115 | mes "But they were not able to understand my grand fathers concepts and therefore could not help me."; |
---|
116 | next; |
---|
117 | mes "[Eric]"; |
---|
118 | mes "Even so I did not give up and decided to make it myself. So I studied and researched for many years...."; |
---|
119 | mes "And now I have a full working knowledge of my grand fathers invention, the ^5555FFHeadset^000000!!"; |
---|
120 | next; |
---|
121 | mes "[Eric]"; |
---|
122 | mes "Yet there is still one obsticale that is keeping me from making it.... I do not have the materials necessary to make my grand fathers invention!"; |
---|
123 | next; |
---|
124 | mes "[Eric]"; |
---|
125 | mes "My only goal in life is to realize my grand fathers ideas and pay tribute to the man I hold so dear to my heart......."; |
---|
126 | emotion e_sob; |
---|
127 | next; |
---|
128 | mes "[Eric]"; |
---|
129 | mes "If only I had those materials.... Hmm... would you be iterested in this project? All I ask is that you gather the right items for me...."; |
---|
130 | emotion e_hmm; |
---|
131 | close; |
---|
132 | |
---|
133 | M_Ask: |
---|
134 | mes "[Eric]"; |
---|
135 | mes "These are items needed for grand father's Headset:"; |
---|
136 | mes "^3355FFSteel^000000 ^FF555540^000000"; |
---|
137 | mes "^3355FFOridecon^000000 ^FF55551^000000"; |
---|
138 | mes "^3355FFAlcohol^000000 ^FF55551^000000"; |
---|
139 | mes "^3355FFCoal^000000 ^FF55551^000000"; |
---|
140 | close; |
---|
141 | |
---|
142 | M_Make: |
---|
143 | mes "[Eric]"; |
---|
144 | if(countitem(999) < 40 || countitem(984) < 1 || countitem(970)<1 || countitem(1003) < 1) goto L_NotEnuf; |
---|
145 | delitem 999,40; |
---|
146 | delitem 984,1; |
---|
147 | delitem 970,1; |
---|
148 | delitem 1003,1; |
---|
149 | mes "Oh this is GREAT!! You have all of the materials I need to make my grandfather's Headset!"; |
---|
150 | emotion e_ic; |
---|
151 | next; |
---|
152 | mes "[Eric]"; |
---|
153 | mes "Give me a few minutes to assemble it..............."; |
---|
154 | next; |
---|
155 | getitem 5001,1; |
---|
156 | mes "[Eric]"; |
---|
157 | mes "FINALLY!! It's complete! My grand father's Headset! Please take them... without your help this wouldn't have been possible."; |
---|
158 | emotion e_gasp; |
---|
159 | next; |
---|
160 | mes "[Eric]"; |
---|
161 | mes "Thank so very much! Because of you, I could fullfill my grand father's wish. I just know he's smiling down on me from Heaven....."; |
---|
162 | emotion e_thx; |
---|
163 | close; |
---|
164 | |
---|
165 | L_NotEnuf: |
---|
166 | mes "Thank you for trying to help me but..... you don't seem to have all of the items I need....."; |
---|
167 | emotion e_swt; |
---|
168 | close; |
---|
169 | M_End: |
---|
170 | mes "[Eric]"; |
---|
171 | mes "Farewell..... boo hoo...."; |
---|
172 | emotion e_sob; |
---|
173 | close; |
---|
174 | } |
---|