summaryrefslogtreecommitdiff
path: root/npc/cities
diff options
context:
space:
mode:
Diffstat (limited to 'npc/cities')
-rw-r--r--npc/cities/alberta.txt21
-rw-r--r--npc/cities/aldebaran.txt9
-rw-r--r--npc/cities/comodo.txt27
-rw-r--r--npc/cities/geffen.txt21
-rw-r--r--npc/cities/morocc.txt3
-rw-r--r--npc/cities/payon.txt485
-rw-r--r--npc/cities/prontera.txt9
-rw-r--r--npc/cities/umbala.txt23
-rw-r--r--npc/cities/valkyrie.txt385
-rw-r--r--npc/cities/yuno.txt30
10 files changed, 736 insertions, 277 deletions
diff --git a/npc/cities/alberta.txt b/npc/cities/alberta.txt
index bc1ac9be5..4d2be5730 100644
--- a/npc/cities/alberta.txt
+++ b/npc/cities/alberta.txt
@@ -202,8 +202,7 @@ alberta.gat,131,139,4 script Drunken old man 709,{
}
// Soda Man ----------------------------------------------------
-alberta.gat,90,71,3 script Soda Man 89,
-{
+alberta.gat,90,71,3 script Soda Man 89,{
mes "[Soda Man]";
mes "Ummm.... delicious....";
emotion 33;
@@ -362,8 +361,7 @@ alb2trea.gat,39,50,5 script Sailor 100,{
//<====================================================== Turtle Island ========================================================>\\
// Gotanblue --------------------------------------------------------------------------
-alberta.gat,247,123,5 script Gotanblue 709,
-{
+alberta.gat,247,123,5 script Gotanblue 709,{
if(TURTLE == 1) goto L_Turtle;
mes "[Gotanblue]";
mes "Ha ha! The sea seems endless!! We cannot begin to grasp it's size merely by gazing at it from land....";
@@ -533,8 +531,7 @@ M_Menu:
}
// Turtle Grandpa -------------------------------------------------------------------
-alberta_in.gat,23,104,2 script Turtle Grandpa 120,
-{
+alberta_in.gat,23,104,2 script Turtle Grandpa 120,{
mes "[Turtle Grandpa]";
mes "~Buuurrrpp!!!~ Oops...";
emotion 4;
@@ -646,8 +643,7 @@ alberta_in.gat,23,104,2 script Turtle Grandpa 120,
}
// Letter of an explorer (on Turtle Grandpa's desk)------------------------------------------------------------------
-alberta_in.gat,17,101,1 script Letter of an explorer 111,
-{
+alberta_in.gat,17,101,1 script Letter of an explorer 111,{
mes "~ The letter reads... ~";
mes "- O/X/XOVX -";
mes "If you find this letter, it means that our expidition to Turtle Island has failed. Please inform the others...";
@@ -670,8 +666,7 @@ alberta_in.gat,17,101,1 script Letter of an explorer 111,
}
// Jornadan Niliria ------------------------------------------------------------------------
-alberta.gat,248,90,1 script Jornadan Niliria 121,
-{
+alberta.gat,248,90,1 script Jornadan Niliria 121,{
mes "[Jornadan Niliria]";
mes "Sometimes I think that the world around me is ever changing.";
mes "When I view the land it seems different, when I look up at the sky it too seems different....";
@@ -729,8 +724,7 @@ alberta.gat,248,90,1 script Jornadan Niliria 121,
}
// Jornadan's Voyage Log -------------------------------------------------
-alberta.gat,247,93,1 script A Voyage Log 111,
-{
+alberta.gat,247,93,1 script A Voyage Log 111,{
if(JORNADAN == 1) goto L_Treasure;
mes "[A Voyage Log]";
mes "= 03:20 am =";
@@ -852,8 +846,7 @@ L_Treasure:
}
// Burried treasure --------------------------------------------------------------------
-turn_dun01,160,80,1 script Skull Stone 111,
-{
+turn_dun01,160,80,1 script Skull Stone 111,{
if(SKULLKEY == 1) goto L_OpenBox;
mes "^5555FF(It's a frightening stone tomb with horrible skull on it.)^000000";
close;
diff --git a/npc/cities/aldebaran.txt b/npc/cities/aldebaran.txt
index 450e99ed3..18200e2b5 100644
--- a/npc/cities/aldebaran.txt
+++ b/npc/cities/aldebaran.txt
@@ -670,8 +670,7 @@ aldeba_in.gat,156,179,4 script Master 61,{
}
// RS125 ------------------------------------------------------------------------
-aldeba_in.gat,234,241,4 script RS125 48,
-{
+aldeba_in.gat,234,241,4 script RS125 48,{
mes "[RS125]";
mes "Even if my first name is not human, and my manner of speech is not very eloquent, please don't be afraid of me.";
mes "I'm actually a warm hearted person.";
@@ -834,8 +833,7 @@ aldeba_in.gat,24,245,4 script Kafra Jasmine 115,{
}
// Special Reserve ----------------------------------------------
-aldeba_in.gat,79,161,6 script Kafra 115,
-{
+aldeba_in.gat,79,161,6 script Kafra 115,{
cutin "kafra_03",2;
mes "[Kafra]";
mes "Welcome, ^6666FF" + strcharinfo(0) + "^000000. This is where you can trade in your special reserve points for usefull items and cool prizes.";
@@ -1022,8 +1020,7 @@ M_Menu:
}
// Special Reserve 2 ----------------------------------------------
-aldeba_in.gat,88,161,3 script Kafra 115,
-{
+aldeba_in.gat,88,161,3 script Kafra 115,{
cutin "kafra_03",2;
mes "[Kafra]";
mes "Hello and welcome to the Kafra Corp. Main office.";
diff --git a/npc/cities/comodo.txt b/npc/cities/comodo.txt
index ed7dd3700..2c14e3e48 100644
--- a/npc/cities/comodo.txt
+++ b/npc/cities/comodo.txt
@@ -255,8 +255,7 @@ cmd_in02.gat,48,55,4 script Scoursege 51,{
// Chief Quest (Doomed Swords Part 1)
//============================================================================//
//=======================================================
-comodo.gat,206,310,4 script Rochito 48,
-{
+comodo.gat,206,310,4 script Rochito 48,{
if(dmdswrd_Q == 1) goto L_1;
if(dmdswrd_Q == 2) goto L_2;
if(dmdswrd_Q == 3) goto sL_2;
@@ -385,8 +384,7 @@ L_3:
}
//=======================================================
-comodo.gat,204,310,4 script Rockha 98,
-{
+comodo.gat,204,310,4 script Rockha 98,{
if(dmdswrd_Q == 3) goto L_1;
if(dmdswrd_Q == 4 || dmdswrd_Q==5) goto L_2;
L_0:
@@ -439,8 +437,7 @@ L_2:
}
//=======================================================
-comodo.gat,209,314,4 script Rotute 82,
-{
+comodo.gat,209,314,4 script Rotute 82,{
if(dmdswrd_Q==2 || dmdswrd_Q==3) goto L_1;
if(dmdswrd_Q == 4 || dmdswrd_Q==5) goto L_2;
@@ -556,8 +553,7 @@ comodo.gat,209,305,4 script Emralhandas 70,{
// Chief's House =========================================================//
-cmd_in02.gat,32,140,4 script Chief Tausupa 49,
-{
+cmd_in02.gat,32,140,4 script Chief Tausupa 49,{
if(dmdswrd_Q == 1) goto L_1;
if(dmdswrd_Q == 2) goto sL_1;
if(dmdswrd_Q == 3) goto L_2;
@@ -671,8 +667,7 @@ L_2:
//============================================================================//
//=======================================================
-comodo.gat,88,97,4 script Cheese Expert TORUNA 109,
-{
+comodo.gat,88,97,4 script Cheese Expert TORUNA 109,{
if(dmdswrd_Q == 7) goto sL_2;
mes "[TORUNA]";
mes "I hear that the cheese here is delicious. Everytime I come here to visit, I ask for some of that popular cheese.";
@@ -761,8 +756,7 @@ M_Menu:
}
//=======================================================
-comodo.gat,164,291,2 script Rakusa 73,
-{
+comodo.gat,164,291,2 script Rakusa 73,{
if(dmdswrd_Q == 7) goto L_1;
if(dmdswrd_Q == 8) goto L_2;
@@ -794,8 +788,7 @@ L_2:
}
//=======================================================
-comodo.gat,169,284,4 script Kichiri 99,
-{
+comodo.gat,169,284,4 script Kichiri 99,{
mes "[Kichiri]";
if(dmdswrd_Q == 8) goto L_1;
if(dmdswrd_Q == 9) goto L_2;
@@ -823,8 +816,7 @@ L_2:
}
//=======================================================
-comodo.gat,163,280,4 script Magatu 55,
-{
+comodo.gat,163,280,4 script Magatu 55,{
mes "[Magatu]";
if(dmdswrd_Q == 9) goto L_1;
if(dmdswrd_Q == 10) goto L_2;
@@ -918,8 +910,7 @@ L_2:
}
//=======================================================
-comodo.gat,187,153,4 script Hullaris 701,
-{
+comodo.gat,187,153,4 script Hullaris 701,{
mes "[Hullaris]";
if(dmdswrd_Q == 11) goto L_1;
if(dmdswrd_Q == 12) goto L_2;
diff --git a/npc/cities/geffen.txt b/npc/cities/geffen.txt
index 4f8c32f3b..615f6a806 100644
--- a/npc/cities/geffen.txt
+++ b/npc/cities/geffen.txt
@@ -109,8 +109,7 @@ geffen_in.gat,34,170,0 script "Young man" 47,{
//<============================================ Inn =====================================================>\\
// Waitress ---------------------------------------------------------------------------
-geffen_in.gat,70,67,5 script Waitress 80,
-{
+geffen_in.gat,70,67,5 script Waitress 80,{
mes "[Waitress]";
mes "Ugh!! SO annoying! Why would you drink here when you could drink at the pub!? This is an Inn, not a pub!!";
mes "That man!... everytime he drinks... he gets like that! Ugh!!";
@@ -160,8 +159,7 @@ M_Menu:
}
// Merhcant Daven -------------------------------------------------------------------
-geffen_in.gat,79,75,2 script Merchant Daven 61,
-{
+geffen_in.gat,79,75,2 script Merchant Daven 61,{
mes "[Merchant Daven]";
mes "Back in the day when I frist came to Geffen, the town was a very boring place to live in.";
next;
@@ -223,8 +221,7 @@ M_Menu:
}
// Drunkard -------------------------------------------------------------------
-geffen_in.gat,59,62,2 script Drunkard 120,
-{
+geffen_in.gat,59,62,2 script Drunkard 120,{
mes "[Drunkard]";
mes "Hmm... You're Joshua's friend too??";
next;
@@ -258,8 +255,7 @@ geffen_in.gat,59,62,2 script Drunkard 120,
}
// Schubaltzwald Merchant ----------------------------------------------------------------------
-geffen_in.gat,113,73,4 script Schubaltzwald Merchant 709,
-{
+geffen_in.gat,113,73,4 script Schubaltzwald Merchant 709,{
mes "[Schubaltzwald Merchant]";
mes "How are you, Rune-Midgard young'un? I am Schubaltzwald's one and only Hans Hadenhiem.";
next;
@@ -286,8 +282,7 @@ geffen_in.gat,113,73,4 script Schubaltzwald Merchant 709,
//<============================================== Pub ==================================================>\\
// Waitress -----------------------------------------------------------------
-geffen_in.gat,28,134,4 script Waitress 69,
-{
+geffen_in.gat,28,134,4 script Waitress 69,{
mes "[Waitress]";
mes "Meh! ALWAYS drinking and ALWAYS fighting..... HEY Mister! This is a place of BUSINESS!!";
emotion 6;
@@ -327,8 +322,7 @@ M_Menu:
}
// Drunkard ----------------------------------------------------------------------------
-geffen_in.gat,21,125,5 script Drunkard 52,
-{
+geffen_in.gat,21,125,5 script Drunkard 52,{
mes "[Drunkard]";
mes "You want to be an idiotic magician? Is that why you came here??";
emotion 1;
@@ -336,8 +330,7 @@ geffen_in.gat,21,125,5 script Drunkard 52,
}
// Friend of Youth -----------------------------------------------------------------
-geffen_in.gat,37,124,5 script Friend of Youth 704,
-{
+geffen_in.gat,37,124,5 script Friend of Youth 704,{
set @temp,0;
mes "[Friend of Youth]";
mes "Welcome young one! Are you worrying about something? Tell me all your troubles and I will tell you your fortune with my silver ball of mystery!";
diff --git a/npc/cities/morocc.txt b/npc/cities/morocc.txt
index 409ed7330..33f3eca14 100644
--- a/npc/cities/morocc.txt
+++ b/npc/cities/morocc.txt
@@ -388,8 +388,7 @@ moc_fild16.gat,199,212,4 script Hashisid 48,{
// Assassin Guild Guards
//===================================================
-moc_fild16.gat,195,281,4 script Assassin Guardian#1::SinGuard 707,
-{
+moc_fild16.gat,195,281,4 script Assassin Guardian#1::SinGuard 707,{
mes "[Assassin Guardian]";
if(Class == Job_Assassin) mes "Welcome.";
if(Class == Job_Assassin) close;
diff --git a/npc/cities/payon.txt b/npc/cities/payon.txt
index 6e0008ed5..526f1239b 100644
--- a/npc/cities/payon.txt
+++ b/npc/cities/payon.txt
@@ -1,18 +1,20 @@
//===== eAthena Script =======================================
//= Payon City
//===== By: ==================================================
-//= Muad Dib (1.0)
-//= Darkchild (1.1)
-//= Muad Dib (1.2)
-//= Darkchild (1.3)
+//= Muad Dib (1.0) Darkchild (1.1) Muad Dib (1.2)
+//= Darkchild (1.3) DracoRPG (1.5)
//===== Current Version: =====================================
-//= 1.3
+//= 1.5b
//===== Compatible With: =====================================
//= Any eAthena Mod
//===== Description: =========================================
//= (New) Payon City Npcs
//===== Additional Comments: =================================
//= Most Credits To Muad Dib, Some Stuff By Me
+//= 1.4 - Corrected a few typos
+//= 1.5 - Rescripted old NPCs + scripted new ones (from iRO Sak) [DracoRPG]
+//= 1.5b - Used Dino9021's script for the Gemstone exchanger [DracoRPG]
+//= 1.5b1 fixed Gemstone Exchanger NPC [Lupus]
//============================================================
payon.gat,190,115,0 script Lady 90,{
@@ -51,7 +53,7 @@ payon_in01.gat,177,91,5 script Young Man 88,{
close;
}
-payon.gat,104,62,5 script Young Man 88,{
+payon.gat,104,62,5 script Young Man 88,{
mes "[Young Man]";
mes "I still remember the story my grandfather told me long ago about the Amulet that possessed an Evil Power within it.";
next;
@@ -70,7 +72,7 @@ payon.gat,104,62,5 script Young Man 88,{
close;
}
-payon_in01.gat,180,7,0 script Waitress 90,{
+payon_in01.gat,180,7,0 script Waitress 90,{
mes "[Waitress]";
mes "People in this place seem to be busy all the time, they come and go to be Archers or to buy arrows, I have to stick with this small shop.";
mes "I feell so melancholy and bored.";
@@ -82,23 +84,25 @@ payon_in01.gat,180,7,0 script Waitress 90,{
next;
mes "[Waitress]";
mes "Where can I find the right person who is a really hot, sexy hunk, and who can take me out of this small place?";
- check Gender = 1,-,LStartF;
- mes "[Waitress]";
- mes "Hello, mister?";
+ if(Sex == 0) goto LStartF;
+ mes "[Waitress]";
+ mes "Hello, mister?";
+ goto L_Start;
LStartF:
mes "[Waitress]";
mes "Hello, lady?";
+L_Start:
next;
mes "[Waitress]";
mes "Grandma the fortuneteller told me that I would meet great luck in the near future!";
mes "But look at me, what's wrong with me!! I am leaving a managable life everyday!!";
mes "Oh..boy. What a dumb wishy-washy person I am.";
- emotion 6;
+ emotion 6;
next;
mes "[Waitress]";
mes "I am so sorry, I should haven't said this to you. Now I am acting like i'm stupid.";
mes "I am sorry dear, please forgive my misbehaviour.";
- emotion 4;
+ emotion 4;
next;
mes "[Waitress]";
mes "So, how may I help you? ";
@@ -124,7 +128,7 @@ L_Menu2:
emotion 5;
next;
mes "[Waitress]";
- mes "On the first place, she stayed here to mind her business, but ever since the chief recognized her talent, she's stayed in the central palace."
+ mes "On the first place, she stayed here to mind her business, but ever since the chief recognized her talent, she's stayed in the central palace.";
mes "You'd better go to there if you want to see her.";
close;
L_Menu3:
@@ -147,7 +151,7 @@ L_Menu4:
close;
}
-payon.gat,193,116,1 script Woman 66,{
+payon.gat,193,116,1 script Woman 66,{
mes "[Woman]";
mes "Welcome to Payon. You must have had a hard time getting through the thick forest? I hope you didn't run into too much trouble?";
next;
@@ -165,16 +169,18 @@ payon.gat,193,116,1 script Woman 66,{
mes "Hmm... you look as strong as a Rocker! How many monsters have you killed?";
mes "Let me tell you about a place where you can go train and become even stronger.";
emotion 20;
+ goto L_Start;
LStartF:
mes "Miss, how many monsters have you killed?";
mes "I know a very good place for you to go train and get good monster drops.";
emotion 20;
+L_Start:
next;
mes "[Woman]";
mes "I know of a cave near Archer Village. Just take the exit north of town and follow the path to your left.";
mes "The cave is full of monsters and their spawn rate is very high. Does it sound interesting to you?";
next;
- menu "It sounds dangerous."L_Menu1,"I think I need to fully prepare for that place.",L_Menu2,"Lady, you wear nice clothing~",L_Menu3;
+ menu "It sounds dangerous.",L_Menu1,"I think I need to fully prepare for that place.",L_Menu2,"Lady, you wear nice clothing~",L_Menu3;
L_Menu1:
mes "[Woman]";
mes "Oh don't be such a coward! It's just a simple cave filled with normal monsters. Archer Village is near by so you shouldn't be worried~ hohoho~";
@@ -214,12 +220,14 @@ payon.gat,190,119,5 script Woman 66,{
mes "Anyway, you look like a new face. Are you new in town?";
next;
mes "[Jim's Mother]";
- if(Sex == 0) goto LStartF;
+ if(Sex == 0) goto LStartF;
mes "... Oh, you have broad shoulders ... tehehe! Will you go out with me? I'd like to make you a nice dinner...(bats eyelashes)";
- emotion 30;
+ emotion 30;
+ goto L_Menu;
LStartF:
mes "Don't you think your dress is too lousy?";
mes "I don't like young ladies pounce up.";
+L_Menu:
next;
menu "Fortune Telling?",L_Menu1,"...Good Bye.",L_Menu2;
L_Menu1:
@@ -336,7 +344,7 @@ L_Menu3:
close;
}
-payon_in01.gat,66,64,5 script Archer Wolt 88,{
+payon_in01.gat,66,64,5 script Archer Wolt 88,{
mes "[Archer Wolt]";
mes "Archers should practice as much as they can. Otherwise they won't be an expert.";
mes "Are you new here? Howdy!";
@@ -401,7 +409,7 @@ L_case:
menu "Cave?!",L_para1,"Chief?",L_para2,"Oh man I hate this stupid town~",L_para3;
L_para1:
mes "[Archer Wolt]";
- mes "Head north of town, you can see the cave I told you about."
+ mes "Head north of town, you can see the cave I told you about.";
mes "Inside there, you will encounter lots of ugly monsters such as bastard looking like a bat or the walking dead.";
mes "If we let them out of the place, they would invade our town. We frequently clean up the cave.";
next;
@@ -546,7 +554,7 @@ L_Menu3:
close;
}
-payon_in01.gat,144,9,2 script Monster Scholar 98,{
+payon.gat,132,235,2 script Monster Scholar 98,{
mes "[Monster Scholar Vuicokk]";
mes "Nice to meet you. I am Vuicokk the cholar in the monster research organization of Rune Midgard.";
mes "Do you have any questions about monsters of Rune Midgard?";
@@ -608,20 +616,53 @@ L_End:
close;
}
-payon_in03.gat,100,186,4 script Chief 120,{
- if(BaseLevel > 30) goto L_Menu1;
- set @R_SEL_NUM,rand(2);
- if(@R_SEL_NUM != 0) goto T_TALK0;
- mes "[Palace Guardsman]";
- mes "Hey hey! Show your respect to the chief!";
- close;
-T_TALK0:
- if(@R_SEL_NUM != 1) goto T_TALK2;
- mes "[Palace Guardsman]";
- mes "Hey! I said...";
+payon.gat,158,246,4 script Guardsman 708,{}
+payon.gat,158,245,4 script PayonGuard1TriggerArea 139,3,2,{
+ mes "[Guardsman]";
+ mes "This is the Central Palace of Payon. This place is open to the public, but in accordance with our laws, you must behave in an orderly fashion while inside.";
+ next;
+ mes "[Guardsman]";
+ mes "In the interest of protecting the peace, we will disarm your equipment once you enter.";
+ mes "Your cooperation is";
+ mes "much appreciated.";
+ close;
+}
+
+payon_in03.gat,96,116,4 script Chief Guardsman 708,{}
+payon_in03.gat,96,117,4 script PayonGuard2TriggerArea 139,3,2,{
+ mes "[Chief Guardsman]";
+ mes "What brings";
+ mes "you here?";
+ next;
+ mes "[Chief Guardsman]";
+ mes "I can see you are none of the Payon locals. I would just like to remind you to conduct yourself in an orderly manner. Remember, you are a guest here.";
next;
+ nude;
+ mes "[Chief Guardsman]";
+ mes "In the interest of protecting the public peace, I will disarm your equipment. Thank you for your cooperation.";
+ close;
+}
+
+payon_in03.gat,102,185,4 script Guard 708,{
+ mes "[Guard]";
+ mes "Hey...!";
+ mes "You're not";
+ mes "allowed here!";
+ mes "Go back outside!";
+ close;
+}
+
+payon_in03.gat,99,190,4 script Chief 120,{}
+payon_in03.gat,99,189,4 script PayonChiefAreaTrigger 139,2,1,{
+ if(BaseLevel > 30) goto T_LEVEL; //couldn't test, so left it, but a little bit changed
+ mes "[Guard]";
+ mes "Hey...";
+ mes "Hey...!";
+ mes "Show your respect";
+ mes "to our chief!";
+ close;
+T_LEVEL:
mes "[Chief]";
- mes "That's fine, I am ok. It's been a long time since I talked to such young people.";
next;
menu "Please tell me about Payon.",L_Menu1,"Where the guards come from?",L_Menu2,"Please tell me about the cave.",L_Menu3,"I am wondering what archer does.",L_Menu4,"I am wondering what hunter does.",L_Menu5;
L_Menu1:
@@ -681,136 +722,292 @@ L_Menu5:
mes "Even though it was all the go on the first place, trapping is a really dangerous skill, we hardly approve the youth to be hunters.";
next;
mes "[Chief]";
- mes "People who have enough responsibility on themselves can challange on the class.";
+ mes "People who have enough responsibility on themselves can challenge on the class.";
close;
next;
-T_TALK2:
- if(@R_SEL_NUM != 3) goto T_TALK3;
- mes "[Chief]";
- mes "Tired... I'd better take a rest then. Take care of yourself.";
- close;
-T_TALK3:
- mes "[Palace Guardsman]";
- mes "The Chief is taking a rest. Would you mind if I ask you to come back later?";
- close;
}
-payon.gat,160,246,4 script Palace Guardsman 708,{
- mes "[Place Guardsman]";
- mes "Halt!";
- next;
- mes "[Palace Guardsman]";
- mes "You are about to enter the Royal Palace, home of the Payon Royal Family. You must be at your best behavior at all times while in the palace.";
- next;
- mes "[Palace Guardsman]";
- mes "I will need to disarm you for the time being. If you do not cooperate you will not be able to enter the Palace";
- nude;
-//nude; will disarm you
- next;
- warp "payon_in03.gat",98,118;
- close;
+payon.gat,160,185,0 script Billboard 111,{
+ mes "^993333- The Billboard Reads -^000000";
+ mes "Welcome, and enjoy your stay in";
+ mes "the beautiful town of Payon.";
+ close;
}
-payon.gat,151,246,4 script Palace Guardsman 708,{
- mes "[Palace Guardsman]";
- mes ".............";
- close;
-}
+payon.gat,173,238,5 script Jade 754,{
+mes "[Jade]";
+mes "Bring me two";
+mes "Gemstones of the";
+mes "same color, and I will";
+mes "change them to Gemstones";
+mes "of a different color.";
+next;
-payon_in03.gat,102,116,4 script Palace Guardsman 708,{
- mes "[Place Guardsman]";
- mes "What brings you here?";
- emotion 1;
- next;
- mes "[Palace Guardsman]";
- mes "I can see that you are not from around here. I suggest that you behave yourself while you are here.";
- mes "We will not tolerate any direspectfull or abberant behavior.";
- close;
-}
+menu "Blue Gemstones into Red ones!",L_BlueToRed,"Red Gemstones into Yellow ones!",L_RedToYellow,"Yellow Gemstones into Blue ones!",L_YellowToBlue,"Cancel",L_Cancel;
-payon_in03.gat,95,116,4 script Palace Guardsman 708,{
- mes "[Palace Guardsman]";
- mes ".............";
- close;
-}
+L_BlueToRed:
+ set @SourceGemstones$,"Blue";
+ set @SourceGemstonesID,717;
+ set @TargetGemstones$,"Red";
+ set @TargetGemstonesID,716;
+ goto L_BeginExchange;
-payon_in03.gat,92,157,4 script Palace Guardsman 708,{
- mes "[Palace Guardsman]";
- mes ".............";
- close;
-}
+L_RedToYellow:
+ set @SourceGemstones$,"Red";
+ set @SourceGemstonesID,716;
+ set @TargetGemstones$,"Yellow";
+ set @TargetGemstonesID,715;
+ goto L_BeginExchange;
-payon_in03.gat,107,157,4 script Palace Guard Chief 708,{
- if(BaseLevel < 30) goto L_Less;
- mes "[Palace Guard Chief]";
- mes "I see that you are a well trained warrior. You may have the privalege of speaking with the Elder Chief. But remember to be respectfull to him at all times!!!";
- next;
- mes "[Palace Guard Chief]";
- mes "If NOT......(cracks his nuckles)....!!!";
- emotion 29;
- close;
-L_Less:
- mes "[Palace Guard Chief]";
- mes "Halt. Only mighty warriors are worthy to speak face to face with the Elder Chief. You still need to train more";
- next;
- mes "[Palace Guard Chief]";
- mes "Please leave";
- next;
- warp "payon_in03.gat",99,129;
- close;
-}
+L_YellowToBlue:
+ set @SourceGemstones$,"Yellow";
+ set @SourceGemstonesID,715;
+ set @TargetGemstones$,"Blue";
+ set @TargetGemstonesID,717;
+ goto L_BeginExchange;
-payon.gat,160,185,0 script Billboard 111,{
- mes "^993333- The Billboard Reads -^000000";
- mes "Welcome, and enjoy your stay in";
- mes "the beautiful town of payon.";
- close;
-}
+L_BeginExchange:
+ if(countitem(@SourceGemstonesID) >= 2) goto L_ExchangeOK;
+ mes "[Jade]";
+ mes "Hah...!";
+ mes "You're kidding me, right?";
+ mes "I can't give you "+@TargetGemstones$+" Gemstones";
+ mes "if you don't give me at least";
+ mes "2 "+@SourceGemstones$+" Gemstones!";
+ close;
-// New kRO Npc's
+L_ExchangeOK:
+ set @ExchangeCount,countitem(@SourceGemstonesID)/2;
+ mes "[Jade]";
+ mes "This may Exchange "+@ExchangeCount+" "+@TargetGemstones$+" Gemstones";
+ mes "How many do you want?";
+ next;
+ menu "Exchange all",L_ExchangeAll,"I want to set a number",L_PointCount,"Cancel",L_Cancel;
-payon.gat,173,238,4 script Unknown 740,{
- mes "[Unknown]";
- mes "This is an new kRO Npc";
- mes "This Npc hasn't been translated yet";
- mes "If by accident you know what this npc is and could translate it";
- mes "Please contact Darkchild (eAthena Dev)";
- close;
-}
+L_ExchangeAll:
+ if(countitem(@SourceGemstonesID) < 2) goto L_ExchangeNo;
+ delitem @SourceGemstonesID,@ExchangeCount*2;
+ getitem @TargetGemstonesID,@ExchangeCount;
+ goto L_ExchangeDone;
-payon_in03.gat,75,129,4 script Unknown 704,{
- mes "[Unknown]";
- mes "This is an new kRO Npc";
- mes "This Npc hasn't been translated yet";
- mes "I by excident you know what this npc is and could translate it";
- mes "Please contact Darkchild (eAthena Dev)";
- close;
-}
+L_PointCount:
+ mes "[Jade]";
+ mes "How many do you want?";
+ mes "Limit is '100'";
+ next;
+L_InputPointCount:
+ input @number;
+ if(@number < 0) goto L_ExchangeNo;
+ if(@number > 100) goto L_ExchangeAbove;
+ if(@number > @ExchangeCount) goto L_ExchangeNotEnough;
+ delitem @SourceGemstonesID,@number*2;
+ getitem @TargetGemstonesID,@number;
+ goto L_ExchangeDone;
-payon_in03.gat,117,128,4 script Unknown 704,{
- mes "[Unknown]";
- mes "This is an new kRO Npc";
- mes "This Npc hasn't been translated yet";
- mes "I by excident you know what this npc is and could translate it";
- mes "Please contact Darkchild (eAthena Dev)";
- close;
-}
+L_ExchangeNo:
+ mes "[Jade]";
+ mes "Hmmm... Very funny...";
+ close;
-payon_in03.gat,118,119,8 script Unknown 101,{
- mes "[Unknown]";
- mes "This is an new kRO Npc";
- mes "This Npc hasn't been translated yet";
- mes "I by excident you know what this npc is and could translate it";
- mes "Please contact Darkchild (eAthena Dev)";
- close;
+L_ExchangeAbove:
+ mes "[Jade]";
+ mes "Hmmm... Please don't set a number above '100'";
+ next;
+ goto L_InputPointCount;
+
+L_ExchangeNotEnough:
+ mes "[Jade]";
+ mes "Hmmm... The "+@SourceGemstones$+" Gemstones you have";
+ mes "is not enough for "+@number+" "+@TargetGemstones$+" Gemstones.";
+ mes "Please set a new number";
+ next;
+ goto L_InputPointCount;
+
+L_ExchangeDone:
+ mes "[Jade]";
+ mes "Here, This is the "+@TargetGemstones$+" Gemstones you need...";
+ mes "Come back to me when you need more";
+ mes "...mmm? Is there something on my face?";
+ close;
+
+L_Cancel:
+ mes "[Jade]";
+ mes "OK, Very well... Come back if you need anything.";
+ mes "I'll Exchange it for you anytime.";
+ close;
}
-payon_in03.gat,131,7,4 script Unknown 59,{
- mes "[Unknown]";
- mes "This is an new kRO Npc";
- mes "This Npc hasn't been translated yet";
- mes "I by excident you know what this npc is and could translate it";
- mes "Please contact Darkchild (eAthena Dev)";
+//Need to find out ALL fortunes he can tell for each answer...
+payon_in03.gat,117,128,4 script Fortune Teller 704,{
+ mes "[Lhimetorra]";
+ mes "You're an adventurer of this";
+ mes "world... " + strcharinfo(0) + ", right? So, what can an old person like me do for you?";
+ next;
+ menu "I would like a tarot card reading.",-,"What's a tarot card reading?",L_Info;
+ mes "[Lhimetorra]";
+ mes "Is that so...?";
+ mes "Well, if you want a monster card reading, you must first show me your faith. Otherwise, the spirits will grow angry and place a curse on you.";
+ next;
+ mes "[Lhimetorra]";
+ mes "So, would you like a monster card reading?";
+ next;
+ menu "Yes.",-,"I would like to think over it once more.",L_No;
+ mes "[Lhimetorra]";
+ mes "Then...";
+ mes "Please pay your fee with all of your sincerity.";
+ next;
+ input @fee;
+ if((@fee < 0) || (@fee > Zeny)) goto L_FeeNotOK;
+ if(@fee > 0) goto L_FeeOK;
+ mes "[Lhimetorra]";
+ mes "Ah...?!";
+ mes "You have angered the monster spirits!";
+ close;
+ L_FeeNotOK:
+ mes "[Lhimetorra]";
+ mes "There's no need to overdo it! Just give with all your heart... *Tsk";
+ mes "tsk*";
+ close;
+ L_FeeOK:
+ set Zeny,Zeny-@fee;
+ mes "[Lhimetorra]";
+ mes "I accept your heart and your";
+ mes "devotion with my gratitude.";
+ mes "Thoughts are more important than the amount when paying a fortune teller.";
+ next;
+ mes "[Lhimetorra]";
+ mes "Then, I will begin to tell the";
+ mes "fortune of your wish. Concentrate";
+ mes "on yourself...";
+ next;
+ mes "[Lhimetorra]";
+ mes "...";
+ mes "Clear your mind...";
+ next;
+ mes "[Lhimetorra]";
+ mes "...";
+ mes "Once you have emptied your mind, think of the thing you most wish to know.";
+ next;
+ mes "[Lhimetorra]";
+ menu "(I would like to know my love fortune.)",L_AskLove,"(How rich will I be?)",L_AskMoney,"(I need advice about my future.)",L_AskFuture,"(Can I get a warning of any dangers awaiting?)",L_AskDangers;
+ L_AskLove:
+ mes "[Lhimetorra]";
+ mes "I see it... I see a sign of";
+ mes "love...";
+ next;
+ set @TEMP,rand(5);
+ mes "[Lhimetorra]";
+ if(@TEMP == 0) mes "Can't you hear the cry of the card? It is suffering. Love is like that.";
+ if(@TEMP == 1) mes "His navel is very pretty. You have to meet someone with that type of navel to be happy.";
+ if(@TEMP == 2) mes "Hmm. How about giving a cute puppy as a gift? One with a round nose.";
+ if(@TEMP == 2) mes "Then they will surely be happy.";
+ if(@TEMP == 3) mes "No matter how fearful the bull may be, if it has a nose ring, it has already been tamed by humans. No matter how astonishing that person may be, taming is your resposiblity.";
+ if(@TEMP == 4) mes "Who is he so fiercely gazing at with those grand muscles? He is looking at someone else for sure.";
+ if(@TEMP == 5) mes "They may seem dreary and ominous, but their attire is spotless. They show devotion to the other.";
+ if(@TEMP == 5) mes "Even though you are not satisfied with your love right now, take a look at they attire.";
+ next;
+ mes "[Lhimetorra]";
+ if(@TEMP == 0) mes "So don't be upset about it!";
+ if(@TEMP == 1) mes "Ok? Keep that in mind~";
+ if(@TEMP == 2) mes "But can't help if they don't";
+ if(@TEMP == 2) mes "like puppies.";
+ if(@TEMP == 3) mes "Approach them with more sincerity and consideration.";
+ if(@TEMP == 4) mes "Don't get sidetracked and look elsewhere! You will be cursed!";
+ if(@TEMP == 5) mes "If it is carefully worn, their";
+ if(@TEMP == 5) mes "heart for you can be seen in it as well..";
+ next;
+ mes "[Lhimetorra]";
+ mes "You seeked advice about love.";
+ mes "Even if you may not pleased with it, consider it calmly and make an effort to find true happiness.";
+ next;
+ mes "[Lhimetorra]";
+ mes "Then...";
+ close;
+ L_AskMoney:
+ mes "[Lhimetorra]";
+ mes "Ooh... something about your future is starting to show...";
+ next;
+ set @TEMP,rand(2);
+ mes "[Lhimetorra]";
+ if(@TEMP == 0) mes "Do you know what a joker's specialty is? It is tricking others and making money. Be wary of the joker.";
+ if(@TEMP == 1) mes "The Skeleton says that you can make money by going north. Go north.";
+ if(@TEMP == 2) mes "A knight values honor more than fortune. They consider discussing wealth itself dirty not worthy. How would you be able to as such a knight a fortune about wealth?";
+ next;
+ mes "[Lhimetorra]";
+ if(@TEMP == 0) mes "Jokers do not exist in one form. They will aim for your money in several different ways.";
+ if(@TEMP == 1) mes "There must be great fortune in that direction.";
+ if(@TEMP == 2) mes "The knight says that a new road of life will open once you look away from fortune.";
+ next;
+ mes "[Lhimetorra]";
+ mes "Most people are curious about money.";
+ mes "It is a very humanly and common curiosity. Cards are very stingy about fortunes regarding wealth.";
+ next;
+ mes "[Lhimetorra]";
+ mes "Therefore, getting a fortune like this is considered being lucky. Use this fortune to prosper.";
+ close;
+ L_AskFuture:
+ mes "[Lhimetorra]";
+ mes "Future... the card that sees the future is beginning to speak...... Prepare yourself...";
+ next;
+ set @TEMP,0;
+ mes "[Lhimetorra]";
+ if(@TEMP == 0) mes "Jack says you may be frustrated in the future.";
+ if(@TEMP == 0) mes "He says to overcome the frustration, it is necessary to think of happy thoughts.";
+ next;
+ mes "[Lhimetorra]";
+ if(@TEMP == 0) mes "Meaning your future will become a battle between happiness and frustration...";
+ next;
+ mes "[Lhimetorra]";
+ mes "Speaking of the future is as dangerous act.";
+ mes "Humans may face disaster if speaking of the future carelessly. That's why we ask cards about the future.";
+ next;
+ mes "[Lhimetorra]";
+ mes "Your fortune is a rather good one. There are some in this world who get more horrible fortunes.";
+ mes "Use this fortune as a support in your life. Ok?";
+ close;
+ L_AskDangers:
+ mes "[Lhimetorra]";
+ mes "Someone that knows of the dangers you do not, will warn you in the";
+ mes "form of cards... so listen";
+ mes "carefully-!";
+ next;
+ set @TEMP,0;
+ mes "[Lhimetorra]";
+ if(@TEMP == 0) mes "The pirate is warning you of your beauty. Don't show off your beauty too much. Pirates are very jealous of aparence, as well.";
+ next;
+ mes "[Lhimetorra]";
+ if(@TEMP == 0) mes "A warning is always a useful fortune. You can never lose anything.";
+ next;
+ mes "[Lhimetorra]";
+ mes "I hope you will able to avoid misfortune with this warning.";
+ mes "Then...";
+ close;
+ L_No:
+ mes "[Lhimetorra]";
+ mes "Ok then. Young adventurer, may luck be with you.";
+ close;
+ L_Info:
+ mes "[Lhimetorra]";
+ mes "Monster card reading uses the cards of familiar monsters around us to get advice about our future, love and many other things.";
+ mes "A fortuneteller like me takes a question from a person and asks the card. The card answers and I tell the person.";
+ next;
+ mes "[Lhimetorra]";
+ mes "You should get no more than one card reading a day, and don't get one often since the cards can get angry or confused.";
+ mes "Also, it can have a bad influence on your life, too!";
+ next;
+ mes "[Lhimetorra]";
+ mes "And... one more thing.";
+ mes "A card reading is only a";
+ mes "reading... No matter how";
+ mes "extraordinary the result may be,";
+ mes "don't get too caught up with it.";
+ mes "Bear that in mind.";
close;
}
+payon_in03.gat,131,7,4 script Hunter 59,{
+ mes "[Hunter]";
+ mes "...Can I help you?";
+ mes "I'm here for official business and am busy at the moment. If you'll excuse me...";
+ close;
+} \ No newline at end of file
diff --git a/npc/cities/prontera.txt b/npc/cities/prontera.txt
index 8dc1227eb..52a571ccd 100644
--- a/npc/cities/prontera.txt
+++ b/npc/cities/prontera.txt
@@ -60,8 +60,7 @@ prontera.gat,78,150,3 script Dairenne 90,{
}
// Merideth --------------------------------------------------------------
-prontera.gat,106,117,6 script Merideth 91,
-{
+prontera.gat,106,117,6 script Merideth 91,{
mes "[Merideth]";
mes "The weather was nice on my day off, so my family and I decided to have a picnic.";
mes "We chose to go to a somewhat secluded area and were amazed at what we saw.";
@@ -112,8 +111,7 @@ prontera.gat,160,133,2 script YuPi 102,{
}
// Shuger -------------------------------------------------------------
-prontera.gat,102,287,5 script Shuger 98,
-{
+prontera.gat,102,287,5 script Shuger 98,{
mes "[Shuger]";
mes "In the fields outside of town, there are pink monsters called '^FF8888Porings^000000'.";
mes "Though they are cute and do not harm people, they are notorious looters. They will absorb any item that they find on the ground.";
@@ -388,8 +386,7 @@ prt_church.gat,103,76,2 script Garnet 67,{
// ----------------------------------------------------------------------------------------------- PUB -----------------------------------------------------------------------------------------------------\\
// Sir Michael (West End Pub)
-prt_in.gat,26,30,1 script Sir Michael 54,
-{
+prt_in.gat,26,30,1 script Sir Michael 54,{
mes "[Sir Michael]";
mes "I dunno if you'll ever believe me, but I saw the WEIRDEST thing down in the ^5555FFCulvert Sewers^000000.";
mes "I've been training in the 3rd level of the sewers for a long time now, so there's nothing about that area that I don't know.";
diff --git a/npc/cities/umbala.txt b/npc/cities/umbala.txt
index 27b8e12a0..847a92557 100644
--- a/npc/cities/umbala.txt
+++ b/npc/cities/umbala.txt
@@ -6,7 +6,7 @@
//= Muad Dib (1.2)
//= Darkchild (1.3)
//===== Current Version: =====================================
-//= 1.3
+//= 1.4
//===== Compatible With: =====================================
//= Any eAthena Version; RO Episode XX
//===== Description: =========================================
@@ -26,7 +26,8 @@
//= 1.0 - Done By jAthena (dunno Who)
//= 1.1 - Translated by Fusion Dev Team
//= 1.2 - Fixed Something by Muad Dib
-//= 1.2 - Fixed up For eA by Darkchild
+//= 1.3 - Fixed up For eA by Darkchild
+//= 1.4 fixed some wrong item names [Lupus]
//============================================================
@@ -723,10 +724,10 @@ LStart2:
mes "I intend to teach.";
next;
mes "[Karukatan]";
- mes "I need ^3377FF10x Oily Paper^000000, and ^3377FF5x Smooth Paper^000000.";
+ mes "I need ^3377FF10x Oiled Paper^000000, and ^3377FF5x String Paper^000000.";
mes "I also need something to write with.";
mes "of course.";
- mes "For that, ^3377FF1x India Ink^000000 and ^3377FF1x Bird Feather^000000";
+ mes "For that, ^3377FF1x Squid Ink^000000 and ^3377FF1x Feather of Birds^000000";
mes "will do nicely.";
next;
mes "[Karukatan]";
@@ -773,10 +774,10 @@ LStart3:
mes "teach you the language? You need to gather";
next;
mes "[Karukatan]";
- mes "^3377FF10x Oily Paper^000000,";
- mes "^3377FF5x Smooth Paper^000000,";
- mes "^3377FF1x India Ink^000000, and";
- mes "^3377FF1x Bird Feather^000000.";
+ mes "^3377FF10x Oiled Paper^000000,";
+ mes "^3377FF5x String Paper^000000,";
+ mes "^3377FF1x Squid Ink^000000, and";
+ mes "^3377FF1x Feather of Bird^000000.";
mes "Once you have gathered those, I can teach";
mes "you Utan tribal language.";
close;
@@ -1008,7 +1009,7 @@ L1:
mes "[Putsuchiritan]";
if (@umchange[1]==947) mes "The horn begins to vibrate.";
if (@umchange[1]==904) mes "The tail begins to vibrate.";
- if ((@umchange[1]==1013) && (@umchange[1]==946)) mes "The skin begins to vibrate.";
+ if ((@umchange[1]==1013) && (@umchange[1]==946)) mes "The shell begins to vibrate.";
//End Possible Conversion
mes "I will now chant a holy mantra.";
mes "Imagine the number in your mind";
@@ -1056,7 +1057,7 @@ L1_2e:
mes "Water...You need that which is";
mes "saturated with water. Explore";
mes "the area around here and find";
- mes "^3377FF20x Katashimuri Skin^000000 for the ritual.";
+ mes "^3377FF20x Snails Shell^000000 for the ritual.";
goto L1_empty;
L1_3e:
mes "[Putsuchiritan]";
@@ -1071,7 +1072,7 @@ L1_4e:
mes "Wind...You need that which";
mes "has an easy camaraderie with";
mes "the sky itself.";
- mes "You need ^3377FF25x Radiant Pelt^000000";
+ mes "You need ^3377FF25x Rainbow Shell^000000";
mes "to complete the ritual.";
L1_empty:
next;
diff --git a/npc/cities/valkyrie.txt b/npc/cities/valkyrie.txt
index 6c0c4a67c..8b2602307 100644
--- a/npc/cities/valkyrie.txt
+++ b/npc/cities/valkyrie.txt
@@ -1,7 +1,19 @@
-// Valkyrie Replacement after kRO.
-// The Jobquest from kRO on how to advance to a Reborn class.
-// Made by: Nana
-// 1.01 bugfixex by Lupus
+//===== eAthena Script =======================================
+//= Valkyrie Realm
+//===== By: ==================================================
+//= Nana, fixes by Poki
+//= finished, optimized and tested by Lupus
+//===== Current Version: =====================================
+//= 1.1
+//===== Compatible With: =====================================
+//= eAthena 1.0 +
+//===== Description: =========================================
+//= The Jobquest from kRO on how to advance to a Reborn class.
+//===== Additional Comments: =================================
+//= v1.1 Made all into functions,additional checks,quest skills,
+//= now Valhallana can return you back. She also makes reborn
+//= process only when you got no Zeny/items (as in kRO) [Lupus]
+//============================================================
// -== Warp's needed! ==-
@@ -10,13 +22,13 @@ valkyrie.gat,48,66,0 warp valk01 1,1,valkyrie.gat,48,75,0
// -== Book of Ymir (Heavens Door) ==-
yuno_in02.gat,93,207,0 script Book of Ymir 111,{
- if(valkyrie_Q == 1) goto L_Faded;
- if(valkyrie_Q == 2) goto L_Start;
mes "[Book of Ymir]";
+ if(valkyrie_Q == 1) goto L_FADED;
+ if(valkyrie_Q == 2) goto L_START;
mes ". . . . .";
close;
-L_Faded:
+L_FADED:
mes "[Book of Ymir]";
mes "*The book opens as you aproach it*";
next;
@@ -27,7 +39,7 @@ L_Faded:
mes "*After reading the two first pages you turn the other page, and watches the words fade away as you try to read them...";
close;
-L_Start:
+L_START:
mes "[Book of Ymir]";
mes "*The book opens as you aproach it*";
next;
@@ -44,68 +56,63 @@ L_Start:
mes "[Book of Ymir]";
mes "And only after then, the decended ones will aprove you to the highest obedience.. Into the warmth of Valkyrie, you will be welcomed by the gods themself.";
next;
- mes "[Book og Ymir]";
+ mes "[Book of Ymir]";
mes "*As you close the book a strange ray of light sourounds you and you suddently feel light. Everything around you fades away and all you can see left is white before you pass out.*";
warp "valkyrie",48,9;
- set valkyrie_Q,0;
close;
}
// -== The Librarian that watches the "Book of Ymir" ==-
yuno_in02.gat,91,176,5 script Librarian 754,{
- if(readparam(19) >= 7) goto L_Pay;
mes "[Librarian]";
+ if(valkyrie_Q>0) goto L_DONE;
+ if(Class >= 7) goto L_PAY;
mes "Have a look around, but dont touch the book. Only a few chosen one can read its wise words.";
close;
-L_Pay:
- mes "[Librarian]";
+L_PAY:
mes "You seem like a worthy human.";
mes "I, the 78th Librarian of the secret order sworn to protect this book wont thread lightly on you.";
mes "In order to let me allow you to view into this wonderous book, you have to do two things for me.";
next;
mes "[Librarian]";
- mes "One. You have to pay me 1,285,000 zeny. Remember that you need the accurate amount. Not over or under 1,285,000z.";
+ mes "One. You have to pay me 1,285,000 Zeny. Remember that you need the accurate amount. Not over or under 1,285,000z.";
mes "Two. You have to venture deep inside of Yuno castle, into the Heart of Ymir.";
mes "Remember that you cannot view the book unless you have done this.";
mes "Now go, brave one.";
- menu "Pay now",pay_now,"Close",-;
- close;
+ menu "Pay now",-,"Close",M_EXIT;
-pay_now:
- if(readparam(20) < 1285000) goto accurate_z;
- if(readparam(20) > 1285000) goto accurate_z;
+ if(Zeny != 1285000) goto L_WRONGZ;
mes "[Librarian]";
mes "Go now, into Heart of Ymir";
mes "There, you'll find the last pice of information before you can open the book.";
set valkyrie_Q,1;
- set zeny,zeny-1285000;
+ set Zeny,0;
close;
-accurate_z:
+L_WRONGZ:
mes "[Librarian]";
- mes "You didnt bring me the accurate number of zeny i wanted. Bring me back only 1,285,000 zeny!";
+ mes "You didnt bring me the accurate number of zeny I wanted. Bring me back only 1,285,000 zeny!";
mes "Not more, nor less.";
close;
+
+L_DONE:
+ mes "Why? You have already paid me.";
+ mes "Now go and look for the Book of Ymir.";
+M_EXIT:
+ close;
}
// -== The Heart of Ymir ==-
yuno_in05.gat,80,44,0 script Heart of Ymir 803,{
- if(valkyrie_Q < 1) goto not_applicable;
- if(valkyrie_Q == 1) goto L_Listen;
- if(valkyrie_Q == 2) goto L_Done;
- mes "[Heart of Ymir]";
- mes "The book wont open.";
- close;
-
-not_applicable:
mes "[Heart of Ymir]";
+ if(valkyrie_Q == 1) goto L_LISTEN;
+ if(valkyrie_Q == 2) goto L_DONE;
mes "The book wont open.";
mes "It seems like you have to pay the Librarian to open this book first!";
close;
-L_Listen:
- mes "[Heart of Ymir]";
+L_LISTEN:
mes "Thus upon hard times and our self esteem is at it's lowest, then is when our faith have to be the strongest.";
mes "For aeon's the secret guardians of the path to heaven has protected the sacret gate from evil spirits entering it.";
mes "Thus, the bonds became to weaken over time.. Thats when the Legion of Sages started recruiting and making young, brave, quick minded mages, sages, teaching them the laws and propositions of our world.";
@@ -117,8 +124,7 @@ L_Listen:
set valkyrie_Q,2;
close;
-L_Done:
- mes "[Heart of Ymir]";
+L_DONE:
mes "I have nothing more to teach you, nor to tell you.";
close;
}
@@ -128,22 +134,317 @@ yuno_in02.gat,90,77,4 script Researcher 744,{
mes "[Researcher]";
mes "Argh, where is it!?";
mes "They said that it would be around here somewhere..";
- mes "Maybe i have to look deeper into this castle..";
+ mes "Maybe I have to look deeper into this castle..";
+ emotion 1;
close;
}
// -== Valhallana ==-
+ mes "Please go over there, to the person representing your class.";
+ mes "Good Luck.";
+ mes "You don't belong here yet.";
+}
+
+// -== Valhallana ==-
valkyrie.gat,48,86,6 script Valkyrie 811,{
- if(readparam(19) < 7) goto L_cannot;
+ if(Class == 23) goto L_SN;
+ if(Class >= 24) goto L_ALREADY;
+ if(BaseLevel >= 99 && JobLevel >= 50 && Class >= 7) goto L_CHANGE;
+ if(Class < 7) goto L_NOTHING;
+
+ mes "[Valhallana]";
+ mes "You need 99 Base Level and 50 Job Level.";
+ mes "Also you must get rid of all of your money and items.";
+ next;
+ goto L_NOTHING;
+
+L_SN:
+ mes "[Valhallana]";
+ mes "Welcome to Valkyrie "+strcharinfo(0)+".";
+ mes "I see, you have followed a hard way of Super Novice.";
+ next;
+ mes "[Valhallana]";
+ mes "I am sorry, but I can't help you.";
+ emotion 17;
+ next;
+ goto L_NOTHING;
+
+L_ALREADY:
+ mes "[Valhallana]";
+ mes "You have been reborn already. I can't help you more.";
+ next;
+// goto L_NOTHING;
+
+L_NOTHING:
+ mes "[Valhallana]";
+ mes "Do you wish to go back in Your world?";
+ next;
+ menu "Yes",L_Y,"No",-;
+
+ mes "[Valhallana]";
+ mes "As you wish...";
+ close;
+
+L_Y:
+ mes "[Valhallana]";
+ mes "As you wish...";
+ next;
+ warp "yuno_in02.gat",93,204;
+ close;
+
+L_CHANGE:
mes "[Valhallana]";
mes "Welcome to Valkyrie "+strcharinfo(0)+", from this point of, there is no returning back.";
- mes "Please go over there, to the person representing your class.";
- mes "Good Luck.";
+ next;
+ if(Zeny || Weight) goto L_ZENYITEMS;
+ if(checkcart(0)) goto L_CART;
+ if(checkfalcon(0)) goto L_FALCON;
+ if(checkriding(0)) goto L_PECO;
+ if(skillpoint > 0) goto L_SKILLPNTS;
+
+ mes "[Valhallana]";
+ mes "Let's start your reincarnation ceremony...";
+ next;
+
+ set ADVJOB,Class+4001; //memo the target 3rd Job ID
+
+// callfunc "F_ToHigh",25,"Swordman High",31,"Lord Knight",144,145,146,0;
+// callfunc "F_ToHigh",28,"Acolyte High",32,"High Priest",156,0,0,0;
+// callfunc "F_ToHigh",26,"High Mage",33,"High Wizard",157,0,0,0;
+// callfunc "F_ToHigh",29,"Merchant High",34,"White Smith",153,154,155,0;
+// callfunc "F_ToHigh",27,"High Archer",35,"Sniper",147,148,0,0;
+// callfunc "F_ToHigh",30,"Theif High",36,"Assassin Cross",149,150,151,152;
+// callfunc "F_ToHigh",25,"Swordman High",38,"Paladin",144,145,146,0;
+// callfunc "F_ToHigh",28,"Acolyte High",39,"Champion",156,0,0,0;
+// callfunc "F_ToHigh",26,"High Mage",40,"Professor",157,0,0,0;
+// callfunc "F_ToHigh",30,"Theif High",41,"Stalker",149,150,151,152;
+// callfunc "F_ToHigh",29,"Merchant High",42,"Creator",153,154,155,0;
+// callfunc "F_ToHigh",27,"High Archer",43,"Clown",147,148,0,0;
+// callfunc "F_ToHigh",27,"High Archer",44,"Gypsy",147,148,0,0;
+
+ if( getskilllv(144) || getskilllv(156) || getskilllv(157) || getskilllv(153) || getskilllv(147) || getskilllv(149) ) set QSK1,1;
+ if( getskilllv(145) || getskilllv(154) || getskilllv(148) || getskilllv(150) ) set QSK2,1;
+ if( getskilllv(146) || getskilllv(155) || getskilllv(151) ) set QSK3,1;
+ if( getskilllv(152) ) set QSK4,1;
+ mes "[Valhallana]";
+ mes "Done...";
+ mes "Good luck.";
+ jobchange 24; //Novice High
+ resetlvl(1);
+ next;
+ if(ADVJOB == Job_Assassin + 4001 || ADVJOB == Job_Rogue + 4001 ) goto L_Mor;
+ if(ADVJOB == Job_Blacksmith + 4001 || ADVJOB == Job_Alchem + 4001 ) goto L_Alb;
+ if(ADVJOB == Job_Hunter + 4001 || ADVJOB == Job_Bard + 4001 || ADVJOB == Job_Dancer + 4001 ) goto L_Pay;
+ if(ADVJOB == Job_Knight + 4001 || ADVJOB == Job_Crusader + 4001 ) goto L_Izl;
+ if(ADVJOB == Job_Priest + 4001 || ADVJOB == Job_Monk + 4001 ) goto L_Pro;
+ if(ADVJOB == Job_Wizard + 4001 || ADVJOB == Job_Sage + 4001 ) goto L_Gef;
+ goto L_Pro;
+
+L_ZENYITEMS:
+ mes "[Valhallana]";
+ mes "Your money and items do rope you to your routine life.";
+ mes "You should get rid of them.";
close;
-L_cannot:
+L_CART:
mes "[Valhallana]";
- mes "You don't belong here yet.";
- warp "prontera",100,100;
+ mes "Please, drop your cart. And we'll continue.";
+ close;
+
+L_FALCON:
+ mes "[Valhallana]";
+ mes "Please, free your Falcon. And we'll continue.";
+ close;
+
+L_PECO:
+ mes "[Valhallana]";
+ mes "Please, free your Pecopeco. And we'll continue.";
close;
-} \ No newline at end of file
+
+L_SKILLPNTS:
+ mes "[Valhallana]";
+ mes "You will need to use up all of your skill points if you want me to continue.";
+ close;
+
+L_Mor:
+ savepoint "morocc.gat",160,94;
+ warp "morocc.gat",160,94;
+ close;
+
+L_Alb:
+ savepoint "alberta.gat",116,57;
+ warp "alberta.gat",116,57;
+ close;
+
+L_Pay:
+ savepoint "payon.gat",155,90;
+ warp "payon.gat",155,90;
+ close;
+
+L_Izl:
+ savepoint "izlude.gat",94,103;
+ warp "izlude.gat",94,103;
+ close;
+
+L_Pro:
+ savepoint "prontera.gat",273,354;
+ warp "prontera.gat",273,354;
+ close;
+
+L_Gef:
+ savepoint "geffen.gat",120,100;
+ warp "geffen.gat",120,100;
+ close;
+}
+
+// function HIGH NOVICE -> HIGH 1
+//getarg(0) - High Job ID
+//getarg(1) - High Job Name
+//getarg(2) - 3rd Job ID
+//getarg(3) - 3rd Job Name
+//getarg(4) - Quest Skill N? You can pass 0, if there's no Quest Skill
+//getarg(5) - Quest Skill N?
+//getarg(6) - Quest Skill N?
+//getarg(7) - Quest Skill N?
+//getarg(8) - current NPC's name
+
+function script F_ToHigh {
+ if(Class == 3977+getarg(0) ) goto L_WELCOME; //3rd Job
+ if(Class >= 4008) goto L_ALREADY; //already advanced class
+ if(Class == 4001 && ADVJOB == (3977+getarg(2))) goto L_GETHIGH; //High Novice -> High XXXX
+ return; //this char doesn't want to get HIGH class
+
+L_GETHIGH:
+ mes "["+getarg(8)+"]";
+ if(JobLevel < 10) goto L_NOTREADY;
+ if(checkcart(0)) goto L_CART;
+ if(checkfalcon(0)) goto L_FALCON;
+ if(checkriding(0)) goto L_PECO;
+ if(skillpoint > 0) goto L_SKILLPNTS;
+
+ mes "Hello there "+strcharinfo(0)+"!";
+ mes "You've made a brave choice in coming here to be reborn and stepping forth into the advanced ranks,";
+ mes "Now... close your eyes.";
+ next;
+ mes "["+getarg(8)+"]";
+ mes "Open your eyes.";
+ mes "You have become a "+getarg(1)+".";
+ jobchange getarg(0); //High Class
+ next;
+ if (!(QSK1 || QSK2 || QSK3 || QSK4)) goto L_NO_QSKILL;
+ mes "["+getarg(8)+"]";
+ mes "Let me just add in the missing Quest Skills you lost under the Reborn process, "+strcharinfo(0)+".";
+ next;
+//return learnt quest skills
+ if (getarg(4)) skill getarg(4),QSK1,0;
+ set SQK1,0;
+ if (getarg(5)) skill getarg(5),QSK2,0;
+ set SQK2,0;
+ if (getarg(6)) skill getarg(6),QSK3,0;
+ set SQK3,0;
+ if (getarg(7)) skill getarg(7),QSK4,0;
+ set SQK4,0;
+
+L_NO_QSKILL:
+ mes "["+getarg(8)+"]";
+ mes "I wish you good fortune in the near future!";
+ emotion 46;
+ close;
+
+L_NOTREADY:
+ mes "You are not ready to become a "+getarg(1)+".";
+ mes "You have to raise your Job Level to 10.";
+ emotion 0;
+ close;
+
+L_SKILLPNTS:
+ mes "You will need to use up all of your skill points if you want me to continue.";
+ emotion 20;
+ close;
+
+L_CART:
+ mes "Please, drop your cart. And we'll continue.";
+ emotion 20;
+ close;
+
+L_FALCON:
+ mes "Please, free your Falcon. And we'll continue.";
+ emotion 20;
+ close;
+
+L_PECO:
+ mes "Please, free your Pecopeco. And we'll continue.";
+ emotion 20;
+ close;
+
+L_WELCOME:
+ mes "["+getarg(8)+"]";
+ mes "You are welcome, "+strcharinfo(0)+"!";
+ mes "We always glad to see here a "+getarg(1)+"!";
+ close;
+
+L_ALREADY:
+ mes "["+getarg(8)+"]";
+ mes "It's such a big honor to salute envoys of Valhalla.";
+ mes "Come again.";
+ emotion 2;
+ close;
+}
+
+// function GET 3rd JOB
+//getarg(0) - High Job ID
+//getarg(1) - High Job Name
+//getarg(2) - 3rd Job ID
+//getarg(3) - 3rd Job Name
+function script F_Rebirth {
+ mes "["+getarg(3)+"]";
+ if(Class >= 4008) goto L_ALREADY; //already advanced class
+ if(Class == (3977+getarg(0)) && ADVJOB == (3977+getarg(2))) goto L_GET3RD; //Hight XXXX -> 3rd Job
+ mes "Go talk to either Valhallana or my collegues...";
+ emotion 17;
+ close;
+
+L_GET3RD:
+ if(JobLevel < 45) goto L_NOTREADY;
+ if(checkcart(0)) goto L_CART;
+ if(checkfalcon(0)) goto L_FALCON;
+ if(checkriding(0)) goto L_PECO;
+ if(skillpoint > 0) goto L_SKILLPNTS;
+
+ mes "Congratulations!";
+ mes "You have trained well. Now stroll here as a "+getarg(3)+"!";
+ jobchange getarg(2); //Rebirth Class
+ set ADVJOB,0;
+ close;
+
+L_NOTREADY:
+ mes "You have went so far to get here. But I am sorry, you aren't quite ready to become a "+getarg(3)+".";
+ mes "You need at least Job Level 45 or higher.";
+ emotion 0;
+ close;
+
+L_SKILLPNTS:
+ mes "You will need to use up all of your skill points if you want me to continue.";
+ emotion 20;
+ close;
+
+L_CART:
+ mes "Please, drop your cart. And we'll continue.";
+ emotion 20;
+ close;
+
+L_FALCON:
+ mes "Please, free your Falcon. And we'll continue.";
+ emotion 20;
+ close;
+
+L_PECO:
+ mes "Please, free your Pecopeco. And we'll continue.";
+ emotion 20;
+ close;
+
+L_ALREADY:
+ mes "Well, hello there! You have been reborn once, there is no second chance.";
+ emotion 2;
+ close;
+}
diff --git a/npc/cities/yuno.txt b/npc/cities/yuno.txt
index e6199a54d..b44ce4a43 100644
--- a/npc/cities/yuno.txt
+++ b/npc/cities/yuno.txt
@@ -100,8 +100,7 @@ yuno.gat,158,205,4 script Artisan 54,{
}
//======================================================================================
-yuno.gat,336,227,4 script Yuno Granny 103,
-{
+yuno.gat,336,227,4 script Yuno Granny 103,{
mes "[Granny]";
mes "Here you are......... I am an elderly Sage who can forsee everything before it happens.";
next;
@@ -119,8 +118,7 @@ yuno.gat,336,227,4 script Yuno Granny 103,
}
//========================================================================================
-yuno.gat,329,239,4 script Yuno Fighter 732,
-{
+yuno.gat,329,239,4 script Yuno Fighter 732,{
mes "[Sergiof]";
mes "My name is Sergiof and I am Granny's protector.";
next;
@@ -137,8 +135,7 @@ yuno.gat,329,239,4 script Yuno Fighter 732,
}
//========================================================================================
-yuno.gat,344,68,4 script Yuno Tyrant 730,
-{
+yuno.gat,344,68,4 script Yuno Tyrant 730,{
mes "[Ninno]";
mes "Have you ever heard of an Egyptian king who was once believed to be the son of a god?";
mes "His name was ^5533FF'Pharaoh'^000000";
@@ -173,8 +170,7 @@ yuno.gat,261,98,4 script Ykla 735,{
}
//=========================================================================================
-yuno.gat,306,207,6 script Sage Sykla 735,
-{
+yuno.gat,306,207,6 script Sage Sykla 735,{
mes "[Sykla]";
mes "There is talk about a suspicious man living somewhere here in Yuno.";
mes "Apparently he is a dangerous person who is immersed in some kind of wicked research.";
@@ -196,8 +192,7 @@ yuno.gat,306,207,6 script Sage Sykla 735,
}
//==========================================================================================
-yuno.gat,162,328,4 script Sage Eskla 735,
-{
+yuno.gat,162,328,4 script Sage Eskla 735,{
mes "[Eskla]";
mes "I remember seeing it once........ Yeah... I remember now....... ";
mes "There was this piece of paper floating in the air. I asked myself, 'Hmm... who lost a piece of paper out here?'.";
@@ -288,8 +283,7 @@ yuno.gat,80,150,4 script Young Woman 746,{
//===================================================================================================//
//========================================================================
-yuno_in03.gat,25,39,3 script Metto 709,
-{
+yuno_in03.gat,25,39,3 script Metto 709,{
mes "[Metto]";
if(metto_q == 2 || metto_q == 4 || metto_q == 6) goto L_Check;
if(metto_q == 1) goto L_Stang;
@@ -387,8 +381,7 @@ L_Done:
}
//=====================================================================
-yuno_in01.gat,18,95,5 script Stangckle 99,
-{
+yuno_in01.gat,18,95,5 script Stangckle 99,{
mes "[Stangckle]";
if(metto_q > 2) goto L_Done;
if(metto_q == 2) goto L_Start;
@@ -439,8 +432,7 @@ L_Done:
}
//===================================================================
-yuno_in01.gat,19,182,3 script Kato 55,
-{
+yuno_in01.gat,19,182,3 script Kato 55,{
mes "[Kato]";
if(metto_q > 4) goto L_Done;
if(metto_q == 4) goto L_Start;
@@ -482,8 +474,7 @@ L_Done:
}
//===================================================================
-yuno_in03.gat,179,43,5 script CiCi 121,
-{
+yuno_in03.gat,179,43,5 script CiCi 121,{
mes "[CiCi]";
if(metto_q > 6) goto L_Done;
mes "My name is ^5533FFCiCi^000000. I am one of the ^5533FF3 great scientists^000000 that live in this city.";
@@ -529,8 +520,7 @@ L_Done:
}
//===================================================================
-yuno_in01.gat,18,30,3 script Wagan 85,
-{
+yuno_in01.gat,18,30,3 script Wagan 85,{
mes "[Wagan]";
if(metto_q > 0) goto L_Check;
mes "I'm sure you know that our village has been able to prosper for many years because of the brilliant research done here.";