root/npc/cities/niflheim.txt @ 1

Revision 1, 10.8 kB (checked in by jinshiro, 17 years ago)
Line 
1//===== eAthena Script =======================================
2//= Niflheim Script
3//===== By: ==================================================
4//= Fyrien, Dizzy, PKGINGO
5//= Official NPCs translated and re-edited by Celest
6//===== Current Version: =====================================
7//= 1.5
8//===== Compatible With: =====================================
9//= [Aegis Conversion]
10//= eAthena SVN; Niflheim Required
11//===== Description: =========================================
12//= Official NPC's for Niflheim
13//= 1.01 Splitted file(guides, shops). Fixed rand() bugs,
14//= missing labels bugs, optimization [Lupus]
15//= 1.03 fixed end; -> close;
16//= 1.04-1.05 fixed several bugs with missing CLOSE button, wrong var name
17//=     in Piano Keys quest
18//=     fixed zeny/item, exploit in Sairin, some optimizations [Lupus]
19//= 1.06 some typos in some variables fixed (thx 2 Dr.Evil) [Lupus]
20//= 1.07 Fixed typos [Nexon]
21//= 1.08 Commented "Traveler" out as it is not official & we have correct Bungee quest in.
22//=     Also removed TODO, as they are already done. [Vicious_Pucca]
23//= 1.1 Replaced nif_q_done with MISC_QUEST & 32. nif_t -> @nif_t [Lupus]
24//= 1.2 Removed Duplicates [Silent]
25//= 1.3 Moved Book of Devil and Piano quest to quests/quests_niflheim.txt [Evera]
26//= 1.4 Rescripted to Aegis 10.3 standards. [L0ne_W0lf]
27//=     Removed Cursed Spirits as they were custom.
28//= 1.5 Added dummy "OnMyMobDead" event to Cursed Spirit. [L0ne_W0lf]
29//============================================================
30
31niflheim,52,147,3       script  Keedz#nif       796,{
32        mes "[Keedz]";
33        mes "I don't allow any living person";
34        mes "to come in this place!";
35        close;
36}
37
38niflheim,195,211,6      script  Gigantia#nif    796,3,3,{
39        if (isequipped(5038) || isequipped(2257) || isequipped(2256)) {
40                mes "[" + strcharinfo(0) + "]";
41                mes "What's up?";
42                next;
43                mes "[Gigantia]";
44                mes "Just...";
45                mes "Come over here.";
46                mes "I have something";
47                mes "I must do for you.";
48                next;
49                mes "[Gigantia]";
50                mes "Your horn is crooked.";
51                mes "Always make sure your horn";
52                mes "is worn straight and neat.";
53                mes "The Lord of Death is always";
54                mes "looking at you.";
55                close;
56        }
57        mes "[Gigantia]";
58        mes "The Lord of Death knows";
59        mes "and sees all. It's useless";
60        mes "to hide, and escape from";
61        mes "Death's sweet embrace.";
62        close;
63
64OnTouch:
65        if (isequipped(5038) || isequipped(2257) || isequipped(2256)) {
66                mes "[Gigantia]";
67                mes "Hey, wait!";
68                close;
69        }
70        end;
71}
72
73nif_in,16,27,1  script  Undead Chicken#nif      800,{
74        percentheal -5,0;
75        mes "[Undead Chicken]";
76        mes "I lived a peaceful life as a normal chicken. But then came the day I was tragically killed and eaten by humans. Well... Heh heh~! Now it's my turn! *Cackles*";
77        next;
78        mes "["+ strcharinfo(0) +"]";
79        mes "Ouch...!";
80        mes "A chicken...";
81        mes "It bit me!";
82        next;
83        mes "[Undead Chicken]";
84        mes "Ho ho~!";
85        mes "I can talk AND feast";
86        mes "on living humans!";
87        mes "Being a zombie is great!";
88        mes "*Cackles*";
89        close;
90}
91
92nif_in,16,30,4  script  Undead Familiar#nif     799,{
93        percentheal -5,0;
94        mes "[Vatoman]";
95        mes "Oooh, how handy, a living";
96        mes "human~! Fresh blood is";
97        mes "always tasty...! I think I'll just";
98        mes "take a liiittle sip.";
99        next;
100        mes "[" + strcharinfo(0) + "]";
101        mes "Ow! My vein!";
102        mes "Did you just";
103        mes "suck my blood?!";
104        next;
105        mes "[Vatoman]";
106        mes "Mwahahaha~";
107        mes "Foolish mortal!";
108        mes "Beware my powers!";
109        close;
110}
111
112nif_in,156,93,5 script  Child#nifflheim 793,{
113        mes "[Alakina Ann]";
114        mes "Where...where am I...?";
115        mes "I remember I was sleeping";
116        mes "and when I woke up, I was here...";
117        mes "Mommy, have you seen my mommy?";
118        mes "I wanna go home...*Sob*";
119        next;
120        switch(select("About the witch:About the curse:Cancel.")) {
121        case 1:
122                mes "[Alakina Ann]";
123                mes "Witch...? I've never seen a witch, but I've read about them in books. I'm not sure if they exist or not, but it would be so horrifying if they did...";
124                next;
125                mes "[Alakina Ann]";
126                mes "Why is it so cold in here...?";
127                mes "A-aren't you cold, or even scared? I wanna go home... It's warm over there. Could you help me get back... Please...? H-help me...";
128                close;
129        case 2:
130                mes "[Alakina Ann]";
131                mes "A c-curse...?";
132                mes "My grandma says that there are lots of curses in the world. Some of them, you can tell it's a curse. But there are other curses that follow you throughout life...";
133                next;
134                mes "[Alakina Ann]";
135                mes "Grandma says curses can take other forms... Like if someone's always mad at you, and won't forgive you, you can see that as a curse too.";
136                next;
137                mes "[Alakina Ann]";
138                mes "My grandma told me there's only one spell that can break a strong curse that you can't lift with Blessings...";
139                next;
140                mes "[Alakina Ann]";
141                mes "Klaatu...";
142                mes "Verata.....";
143                mes "Ne...ni...umm...?";
144                mes "What was the last part?";
145                mes "I-I can't remember";
146                mes "the last part of the spell!";
147                next;
148                mes "[Alakina Ann]";
149                mes "If you repeat the spell in that order, it will release you from someone's anger and hate. And if you do it near a bad spirit, they might get the curse instead.";
150                next;
151                mes "[Alakina Ann]";
152                mes "Why are you asking me about these scary kind of things...? I just wanna go home...";
153                close;
154        case 3:
155                mes "[Alakina Ann]";
156                mes "It's so cold in here...";
157                mes "I'm freezing...";
158                mes "And I wanna go home and";
159                mes "get away from this scary place...";
160                next;
161                mes "[Alakina Ann]";
162                mes "Please... help me.";
163                mes "Could you take me with you...?";
164                close;
165        }
166}
167
168niflheim,350,258,1      script  Cursed Spirit#nif       802,{
169        killmonster "niflheim","Cursed Spirit#nif::OnMyMobDead";
170        mes "[Ashe Bruce]";
171        mes "I sense you're cursed";
172        mes "by a powerful spell...";
173        mes "Hmm... It's clear what";
174        mes "you must be up to....";
175        next;
176        mes "[Ashe Bruce]";
177        mes "You wish to get";
178        mes "rid of your curse....";
179        mes "By giving it to me!!";
180        next;
181        mes "[Ashe Bruce]";
182        mes "Just because I'm a cursed spirit, you adventurers think you can just dump your curses on me?!";
183        emotion e_an;
184        next;
185        mes "[Ashe Bruce]";
186        mes "I refuse to let";
187        mes "you remain here.....";
188        mes "Leave now, or I will";
189        mes "remove you by force....";
190        next;
191        mes "[Ashe Bruce]";
192        mes "....And...";
193        mes "....Whatever you do...";
194        mes "....Do NOT touch my books...";
195        next;
196        switch(select("Touch the first book.:Touch the second book.:Touch the third book.:Okay, I am leaving.")) {
197        case 1:
198                monster "niflheim",349,259,"Rideword",1478,1,"Cursed Spirit#nif::OnMyMobDead";
199                mes "[Ashe Bruce]";
200                mes "...!...";
201                mes "How dare you touch my books";
202                mes "when I specifically said";
203                mes "'Don't touch my books!'";
204                next;
205                mes "[Ashe Bruce]";
206                mes "....!...Grrrrr!";
207                mes "I shall tear you apart...!";
208                mes "Be bound by an eternal curse...!";
209                close;
210        case 2:
211                mes "[Ashe Bruce]";
212                mes "...!...";
213                mes "You dare touch my books?!";
214                mes "Right after I said not";
215                mes "to touch them...?!";
216                mes "Foolish mortal!";
217                mes "...BEGONE!";
218                close2;
219                warp "niflheim",34,162;
220                end;
221        case 3:
222                mes "[Ashe Bruce]";
223                mes "Muhahahaha....";
224                mes "Stubborn mortal~!";
225                mes "Fine! I will give you";
226                mes "a fighting chance and let";
227                mes "you cast a spell.";
228                next;
229                mes "[Ashe Bruce]";
230                mes "But Blessings won't";
231                mes "work with the curse";
232                mes "that you have...";
233                mes "And the spell to lift";
234                mes "your curse has been";
235                mes "lost to the ages~!";
236                emotion e_gg;
237                next;
238                if (select("Clover:Klaatu:Klaytos") == 2)
239                        set .@spell,.@spell+1;
240                if (select("Verit:Veritas:Verata") == 3)
241                        set .@spell,.@spell+1;
242                if (select("Necktie:Necklace:Nero:^FFFFFFNictu!!!^000000") == 4)
243                        set .@spell,.@spell+1;
244                if (.@spell == 3) {
245                        switch(rand(1,5)) {
246                        case 1:
247                                if (morison_meat < 15) {
248                                        set MISC_QUEST,MISC_QUEST | 1;
249                                        mes "[Ashe Bruce]";
250                                        mes "You... You broke the curse!";
251                                        mes "How did you know that spell?!";
252                                        next;
253                                        mes "[Ashe Bruce]";
254                                        mes "I suppose you expect for me to";
255                                        mes "melt in agony about now, don't";
256                                        mes "you? Well... Sorry to disappoint";
257                                        mes "you, mortal, but I can never die!";
258                                        close;
259                                }
260                                mes "[Ashe Bruce]";
261                                mes "...! You cast the correct spell?!";
262                                mes "...!...";
263                                mes "But...You're still cursed...";
264                                mes "Umhaaaaaaaaaaaaaaaaa.....!";
265                                close;
266                        case 2:
267                                if (thai_head == 1) {
268                                        set thai_head,2;
269                                        mes "[Ashe Bruce]";
270                                        mes "What's...";
271                                        mes "this feeling?";
272                                        next;
273                                        mes "[Ashe Bruce]";
274                                        mes "No...!";
275                                        mes "NOOOOOOOOOOOOOOOO!";
276                                        next;
277                                        mes "[Ashe Bruce]";
278                                        mes "Why did your spell have to work?!";
279                                        close;
280                                }
281                                mes "[Ashe Bruce]";
282                                mes "You...";
283                                mes "cast the correct spell?!";
284                                next;
285                                mes "[Ashe Bruce]";
286                                mes "Hoho~";
287                                mes "But you're still cursed...";
288                                close;
289                        case 3:
290                                if (thai_head == 8) {
291                                        set thai_head,7;
292                                        mes "[Ashe Bruce]";
293                                        mes "You... You broke the curse!";
294                                        mes "Who taught you that spell?!";
295                                        next;
296                                        mes "[Ashe Bruce]";
297                                        mes "I suppose you expect for me to";
298                                        mes "melt in agony about now, don't";
299                                        mes "you? Well... Sorry to disappoint";
300                                        mes "you, mortal, but I can never die!";
301                                        next;
302                                        mes "[Ashe Bruce]";
303                                        mes "So long as I'm...";
304                                        mes "still...";
305                                        mes "cursed.";
306                                        next;
307                                        mes "[Ashe Bruce]";
308                                        mes "NOOOOOOOOOO!";
309                                        close;
310                                }
311                                mes "[Ashe Bruce]";
312                                mes "...! You cast the correct spell?!";
313                                mes "...!...";
314                                mes "But...You're still cursed...";
315                                mes "Umhaaaaaaaaaaaaaaaaa.....!";
316                                close;
317                        case 4:
318                                mes "[Ashe Bruce]";
319                                mes "...! You cast the correct spell?!";
320                                mes "...!...";
321                                mes "But...You're still cursed...";
322                                mes "Mwahahahaaaa.....!";
323                                close;
324                        }
325                }
326                monster "niflheim",345,259,"Orc Skeleton",1462,1,"Cursed Spirit#nif::OnMyMobDead";
327                monster "niflheim",347,261,"Orc Skeleton",1462,1,"Cursed Spirit#nif::OnMyMobDead";
328                monster "niflheim",344,253,"Orc Skeleton",1462,1,"Cursed Spirit#nif::OnMyMobDead";
329                monster "niflheim",346,251,"Orc Skeleton",1462,1,"Cursed Spirit#nif::OnMyMobDead";
330                monster "niflheim",349,249,"Orc Skeleton",1462,1,"Cursed Spirit#nif::OnMyMobDead";
331                monster "niflheim",350,260,"Orc Skeleton",1462,1,"Cursed Spirit#nif::OnMyMobDead";
332                monster "niflheim",353,256,"Orc Skeleton",1462,1,"Cursed Spirit#nif::OnMyMobDead";
333                mes "[Ashe Bruce]";
334                mes "Muhahahahahaha!";
335                mes "That's not the right spell!";
336                mes "Now, death awaits you!";
337                mes "You're eternally bound";
338                mes "to the curse...!";
339                close;
340        case 4:
341                mes "[Ashe Bruce]";
342                mes "...";
343                mes ".....";
344                next;
345                mes "[Ashe Bruce]";
346                mes "Well then.";
347                mes "Try not to trip on";
348                mes "your feet in your";
349                mes "rush to leave.";
350                close;
351        }
352
353OnMyMobDead:
354        end;
355}
Note: See TracBrowser for help on using the browser.