summaryrefslogtreecommitdiff
path: root/npc/cities/payon.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/cities/payon.txt')
-rw-r--r--npc/cities/payon.txt81
1 files changed, 42 insertions, 39 deletions
diff --git a/npc/cities/payon.txt b/npc/cities/payon.txt
index feea5ed88..5a4bb811d 100644
--- a/npc/cities/payon.txt
+++ b/npc/cities/payon.txt
@@ -1,17 +1,17 @@
//===== Hercules Script ======================================
//= Payon City
-//===== By: ==================================================
+//===== By: ==================================================
//= Muad Dib (1.0) Darkchild (1.1) Muad Dib (1.2)
//= Darkchild (1.3) DracoRPG (1.5) L0ne_W0lf (2.1)
-//===== Current Version: =====================================
-//= 2.1b
-//===== Description: =========================================
+//===== Current Version: =====================================
+//= 2.1c
+//===== Description: =========================================
//= Payon City Npcs
-//===== Additional Comments: =================================
+//===== 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.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]
//= 1.5b2 added adv.classes/baby classes support [Lupus]
//= 1.6 Fixed typos [Nexon]
@@ -20,14 +20,15 @@
//= 1.9 Fixed missing next;'s [Evera]
//= 2.0 fixed some bugs, optimized script, added missing msg [Lupus]
//= 2.1 Rescripted to Aegis 10.3 standards. [L0ne_W0lf]
-//= Moved Gemstone Trader "Jade" to /merchants/gemstone.txt
-//= Moved Fortune Teller to /other/fortune.txt
+//= Moved Gemstone Trader "Jade" to /merchants/gemstone.txt
+//= Moved Fortune Teller to /other/fortune.txt
//= 2.1b Added a missing close in the Monster Scholar. [L0ne_W0lf]
-//============================================================
+//= 2.1c Minor bug fixes. [Euphy]
+//============================================================
// Payon
-//============================================================
-payon,246,154,0 script Lady#payon 90,{
+//============================================================
+payon,246,154,0 script Lady#payon 4_F_01,{
mes "[Lady]";
mes "A long time ago,";
mes "when Payon was still";
@@ -55,7 +56,7 @@ payon,246,154,0 script Lady#payon 90,{
close;
}
-payon,134,211,4 script Young Man#payon 59,{
+payon,134,211,4 script Young Man#payon 1_M_ORIENT01,{
mes "[Young Man]";
mes "From your attire,";
mes "I can see that you";
@@ -76,7 +77,7 @@ payon,134,211,4 script Young Man#payon 59,{
close;
}
-payon,173,82,0 script Young Man#2payon 88,{
+payon,173,82,0 script Young Man#2payon 4_M_ORIENT01,{
mes "[Young Man]";
mes "I remember the story my dearly departed grandfather has told me.";
next;
@@ -109,7 +110,7 @@ payon,173,82,0 script Young Man#2payon 88,{
close;
}
-payon,158,246,3 script Guardsman#payon 708,3,3,{
+payon,158,246,3 script Guardsman#payon 4_M_PAY_SOLDIER,3,3,{
end;
OnTouch:
@@ -124,7 +125,7 @@ OnTouch:
close;
}
-payon,249,156,1 script Woman#payon 66,{
+payon,249,156,1 script Woman#payon 1_F_01,{
mes "[Woman]";
mes "Welcome to Payon.";
mes "You must have had";
@@ -139,7 +140,7 @@ payon,249,156,1 script Woman#payon 66,{
mes " To be honest, things are getting tough because of all those monsters. ^666666*Sigh...*^000000";
next;
mes "[Woman]";
- if (sex == 1)
+ if (Sex == 1)
mes "Whoa~! I just noticed those arms of yours look pretty solid. You look pretty strong, guy. Just how many monsters have you killed?!";
else
mes "Oooh! I didn't notice before, but you look pretty strong beneath all of that feminine charm.";
@@ -176,7 +177,7 @@ payon,249,156,1 script Woman#payon 66,{
close;
}
-payon,246,158,5 script Woman#2payon 66,0,0,{
+payon,246,158,5 script Woman#2payon 1_F_01,0,0,{
mes "[Jim's Mother]";
mes "Oh boy~";
mes "There she goes again.";
@@ -188,7 +189,7 @@ payon,246,158,5 script Woman#2payon 66,0,0,{
mes "of the people living in Payon by her behavior. She's the only loudmouth. I guess she's just too excited about what the fortune teller told her.";
next;
mes "[Jim's Mother]";
- if (sex == 1) {
+ if (Sex == 1) {
mes "Ooh...!";
mes "You've got";
mes "such broad shoulders!";
@@ -223,7 +224,7 @@ payon,246,158,5 script Woman#2payon 66,0,0,{
close;
}
-payon,210,110,1 script Drunkard#payon 120,{
+payon,210,110,1 script Drunkard#payon 2_M_PHARMACIST,{
if (Class != Job_Archer) {
mes "[Drunkard]";
mes "Hey...";
@@ -250,9 +251,9 @@ payon,210,110,1 script Drunkard#payon 120,{
mes "Buy me a drink?!";
}
next;
- switch(select("Alright, but only one drink. :No thanks, pal.:Oh my God! Hell no! ")) {
+ switch(select("Alright, but only one drink.:No thanks, pal.:Oh my God! Hell no!")) {
case 1:
- set zeny,zeny-100;
+ set Zeny, (Zeny < 100)?0:(Zeny - 100);
mes "[Drunkard]";
mes "Thanks...!";
mes "..Brother!";
@@ -295,7 +296,7 @@ payon,210,110,1 script Drunkard#payon 120,{
close;
}
-payon,132,235,3 script Monster Scholar#02 98,{
+payon,132,235,3 script Monster Scholar#02 4W_M_02,{
mes "[Monster Scholar Vuicokk]";
mes "Nice to meet you.";
mes "I am called Vuicokk.";
@@ -369,8 +370,8 @@ payon,132,235,3 script Monster Scholar#02 98,{
}
// Inside Payon
-//============================================================
-payon_in01,180,7,2 script Waitress#payon 90,{
+//============================================================
+payon_in01,180,7,2 script Waitress#payon 4_F_01,{
mes "[Pub Lady]";
mes "This place is always bustling with busy people. Little Novices come and go to become Archers, and everyone else is buying arrows while I have to stay here in this small shop.";
next;
@@ -384,8 +385,8 @@ payon_in01,180,7,2 script Waitress#payon 90,{
mes "And lonely...";
next;
mes "[Pub Lady]";
- if (sex == 1)
- mes "Where I can find the right person, a hot and sexy hunk who can take me away from here? Um, hey mister, are you listening?";
+ if (Sex == 1)
+ mes "Where I can find the right person, a hot and Sexy hunk who can take me away from here? Um, hey mister, are you listening?";
else {
mes "Where I can find the right person, a cute, yet hard-bodied hunk who can take me away from here?";
mes "Um, hey lady, are";
@@ -462,7 +463,7 @@ payon_in01,180,7,2 script Waitress#payon 90,{
close;
}
-payon_in03,96,116,3 script Chief Guardsman#payon 708,3,3,{
+payon_in03,96,116,3 script Chief Guardsman#payon 4_M_PAY_SOLDIER,3,3,{
end;
OnTouch:
@@ -480,7 +481,7 @@ OnTouch:
close;
}
-payon_in01,66,64,5 script Archer Zakk#payon 88,{
+payon_in01,66,64,5 script Archer Zakk#payon 4_M_ORIENT01,{
mes "[Archer Zakk]";
mes "I'm kind of worried";
mes "about one of my pals.";
@@ -535,7 +536,7 @@ payon_in01,66,64,5 script Archer Zakk#payon 88,{
close;
}
-payon_in01,47,59,2 script Archer Wolt#payon 88,{
+payon_in01,47,59,2 script Archer Wolt#payon 4_M_ORIENT01,{
mes "[Archer Wolt]";
mes "Archers should";
mes "practice as much";
@@ -826,7 +827,7 @@ payon_in01,47,59,2 script Archer Wolt#payon 88,{
close;
}
-payon_in03,99,190,4 script Chief#payon 107,2,2,{
+payon_in03,99,190,4 script Chief#payon 1_M_PAY_ELDER,2,2,{
end;
OnTouch:
@@ -953,6 +954,7 @@ OnTouch:
mes "I'd better rest.";
mes "Please, take care";
mes "of yourself.";
+ close;
//This actually never happens on iRO
//if (.@oldman_random == 2) {
@@ -963,30 +965,32 @@ OnTouch:
// mes "coming back later?";
//}
}
- close;
+ end;
}
-payon_in03,102,185,5 script Guard#payon 708,{
+payon_in03,102,185,5 script Guard#payon 4_M_PAY_SOLDIER,{
if (BaseLevel < 30) {
mes "[Guard]";
mes "Hey...!";
mes "You're not";
mes "allowed here!";
mes "Go back outside!";
+ close;
}
- if (Baselevel > 30) {
+ if (BaseLevel > 30) {
mes "[Guard]";
mes "I'm sorry,";
mes "but you're";
mes "not allowed here.";
mes "Please leave.";
+ close;
}
- close;
+ end;
}
// Payon Archer Village
-//============================================================
-pay_arche,77,131,2 script Archer Joe#payon 88,{
+//============================================================
+pay_arche,77,131,2 script Archer Joe#payon 4_M_ORIENT01,{
mes "[Archer Joe]";
mes "Payon!";
mes "Such a wonderful";
@@ -1070,4 +1074,3 @@ pay_arche,77,131,2 script Archer Joe#payon 88,{
}
close;
}
-