root/npc/custom/quests/umbalian_language.txt @ 1

Revision 1, 7.4 kB (checked in by jinshiro, 17 years ago)
RevLine 
[1]1//===== eAthena Script =======================================
2//= Custom Umbalian Language Quest
3//===== By: ==================================================
4//= sabernet09 & eAthena Team
5//===== Current Version: =====================================
6//= 1.0
7//===== Compatible With: =====================================
8//= eAthena 7.15 +
9//===== Description: =========================================
10//= 1.0 Removed it from offical Umbala Quests [Lupus]
11//============================================================
12
13
14//======================================================================================//
15//                              Custom Umbala Language Quest
16//======================================================================================//
17
18prontera,145,290,5      script  Mason   742,{
19        mes "[Mason]";
20        if(umb_lang==0) goto L_NOT_GOT_QUEST;
21        if(umb_lang==2 || umb_mason==1) goto L_AGAIN;
22
23        mes "Hey there, I came here to Prontera in search of an old lady who can remove cards from slots. Do you know where I can find her?";
24        menu "Yes",-, "No",M_NO;
25
26        mes "Oooo, could you please tell me where she's at? I'd be really appreciative.";
27        menu "Swordsman Association",-, "Sanctuary",M_Boo1,"Prontera Chivalry",M_Boo2,"Trading Post",M_Boo3,"Kit Shop",M_Boo4,"Inn",M_Boo5,"Armory",M_DONE,"Library",M_Boo6,"Job Agency",M_Boo7,"Prontera Castle",M_Boo8,"City Hall",M_Boo9;
28
29        next;
30        mes "[Mason]";
31        mes "Hmm... I dunno why she would be there... guess I'll take a look.";
32        close;
33M_Boo1:
34        next;
35        mes "[Mason]";
36        mes "Wow I never knew she was a religious person... I'll see to it thanks.";
37        close;
38M_Boo2:
39        next;
40        mes "[Mason]";
41        mes "Hmm.... are you sure about that?";
42        close;
43M_Boo3:
44        next;
45        mes "[Mason]";
46        mes "Why would she need to go there? I think you might be mistaken.";
47        close;
48M_Boo4:
49        next;
50        mes "[Mason]";
51        mes "The only thing she'd need at a Kit shop is medicine for her rheumatism. She's probably long gone from there by now.";
52        close;
53M_Boo5:
54        next;
55        mes "[Mason]";
56        mes "I don't think she needs to be there, she LIVES here in Prontera.";
57        close;
58M_Boo6:
59        next;
60        mes "[Mason]";
61        mes "Ah I see, if she's studying then I don't want to bother her. Thanks anyways.";
62        close;
63M_Boo7:
64        next;
65        mes "[Mason]";
66        mes "Job Agency?  I don't think so.  Don't lead me all around Prontera please! She's already a teacher here.";
67        close;
68M_Boo8:
69        next;
70        mes "[Mason]";
71        mes "The castle eh, I don't want to step in there... just doesn't feel like my style. I don't like that noble feeling of importance type of thing.";
72        close;
73M_Boo9:
74        next;
75        mes "[Mason]";
76        mes "O wow, did she become an important part of Prontera? I'd think she's too busy for me to visit. I'll try again later.";
77        close;
78M_DONE:
79        next;
80        mes "[Mason]";
81        mes "Ah, I heard that her class was somewhere around there... thanks a lot! Here's a lil something for your help.";
82        getitem 7117,1;//Items: Torn Spell Book,
83        set umb_mason,1;
84        close;
85
86L_AGAIN:
87        emotion e_thx;
88        mes "Yay, I found her! Thank you very much for you help!";
89        close;
90
91L_NOT_GOT_QUEST:
92        mes "Hi! I came here to Prontera in search of an old lady... But...";
93        close;
94M_NO:
95        mes "Oh.. Ok.. Thanks anyways.";
96        close;
97}
98
99aldebaran,153,212,1     script  Mojo    740,{
100        mes "[Mojo]";
101        if(umb_lang!=1) goto L_NOT_GOT_QUEST;
102        mes "Oh no!  I lost my teacher's ^FF0000old magic book^000000!";
103        mes "What am I going to do... those dumb Bathory...";
104        if(umb_lang==1) set umb_mojo,1;
105        close;
106L_NOT_GOT_QUEST:
107        emotion e_what;
108        mes "I lost my teacher's book!  What am I going to do...";
109        close;
110}
111
112amatsu,267,189,4        script  Marie   744,{
113        mes "[Marie]";
114        if(umb_lang==0) goto L_NOT_GOT_QUEST;
115        if(umb_lang==2 || umb_marie==1) goto L_AGAIN;
116        if(countitem(9001)>0 && countitem(643)>0) goto L_DONE;//Items: Poring Egg, Pet Incubator,
117        mes "Hello, is there something you need?";
118        next;
119        menu "No nothing at all.",M_NO,"Your teacher sent me.",-;
120
121        mes "[Marie]";
122        mes "What does he want from me?";
123        emotion e_what;
124        next;
125        mes "[Marie]";
126        mes "Oh wait, I see... he wants his reference scroll back am I right? Well, I'm kinda still using it buuut... I'll give it back if you can gimme a poring egg and an incubator. Those things are so cute!";
127        close;
128
129L_NOT_GOT_QUEST:
130        emotion e_what;
131        mes "Hi! What do you want from me?";
132        close;
133
134M_NO:
135        mes "[Marie]";
136        mes "Hrrmm okay? Cya then..";
137        close;
138
139L_DONE:
140        mes "Heyyy there, you have a poring egg and the pet incubator to go with it! Are those for me?";
141        menu "Yep!",-, "Sorry, no.",M_DOH;
142
143        mes "[Marie]";
144        if(countitem(9001)==0 && countitem(643)==0) goto M_DOH;//Items: Poring Egg, Pet Incubator,
145        mes "Yatta!  Here's a lil something in return.";
146        delitem 9001,1;//Items: Poring Egg,
147        delitem 643,1;//Items: Pet Incubator,
148        getitem 7118,1;//Items: Torn Scroll,
149        set umb_marie,1; //got Torn Scroll
150        close;
151
152M_DOH:
153        mes "Oh.. pooo... sigh...";
154        close;
155
156L_AGAIN:
157        emotion e_thx;
158        mes "Yay! I love Porings!";
159        close;
160}
161
162yuno,157,366,2  script  Wise Man Fabius 743,{
163        mes "[Fabius]";
164        if(event_umbala >= 3) set umb_lang,2; //You already learnt Umbalian language from Umbalian Chief. So this Quest is disabled
165        if(umb_lang<2) goto L_QUEST;
166        mes "You speak Umbalian fluently! So you will never forget the language of Umbalians!";
167        close;
168L_QUEST:
169        if((countitem(1006) < 1) || (countitem(7118) < 1) || (countitem(7117) < 1)) goto L_DONE;//Items: Old Magic Book, Torn Scroll, Torn Spell Book,
170        delitem 1006,1; //Items: Old Magic Book,
171        delitem 7118,1; //Items: Torn Scroll,
172        delitem 7117,1;//Items: Torn Spell Book,
173        emotion e_thx;
174        mes "Ah, you've done well in retrieving my references. These artifacts holds information about ruins around the world, from the burning hell of the Magma Dungeon, to the strange eerie Hidden Forest of Yggsadril.";
175        next;
176        mes "[Fabius]";
177        mes "But enough talk, you're just eager to get your reward aren't you?  Well it may not sound much, but my reward for you is knowledge...";
178        next;
179        mes "[Fabius]";
180        mes "Actually it is knowledge of the Umbalian people. They are connected to this world of Midgard in some special way, we just can't confirm it yet. There is a theory that they may be like the elves and protect the ancient tree of Yggsadril.";
181        next;
182        mes "[Fabius]";
183        mes "And I, a great wise man of Yuno, will teach you their language!";
184        next;
185        mes "^0000FF Learned the language of Umbalians! ^000000";
186        set umb_lang,2;
187        //clear subquests
188        set umb_marie,0;
189        set umb_mason,0;
190        set umb_mojo,0;
191        //make you understand Umbalian people
192        //it's an alternative way to learn Umbalian Language
193        if(event_umbala < 3) set event_umbala,3;
194        close;
195L_DONE:
196        set umb_lang,1; //got Quest
197        mes "Argh! My three students ran off with my references! Hey you! Can you get them back for me? I'll gladly reward you.";
198        next;
199        mes "[Fabius]";
200        mes "From what I know, they're in different seperate towns making something out of themselves.";
201        if(umb_marie==0 && umb_mason==0 && umb_mojo==0) goto L_NOT_MET;
202        if(umb_marie==1) mes "Oh... You found Marie in Amatsu.";
203        if(umb_mojo==1) mes "You saw Mojo in Aldebaran?";
204        if(umb_mason==1) mes "So... Mason's in Prontera now... Well...";
205        if(umb_marie==0) mes "I wonder where is our sea girl Marie?";
206        if(umb_mojo==0) mes "Mojo should be somewhere near water...";
207        if(umb_mason==0) mes "Where'd Mason go then...";
208        mes "Oh yeah, tell them I sent you";
209        close;
210L_NOT_MET:
211        mes "Oh yeah, tell them I sent you, their names are Marie, Mason and Mojo.";
212        close;
213}
Note: See TracBrowser for help on using the browser.