summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
Diffstat (limited to 'npc')
-rw-r--r--npc/000-0/sailors.txt2
-rw-r--r--npc/functions/asklanguage.txt15
-rw-r--r--npc/functions/clientversion.txt1
3 files changed, 5 insertions, 13 deletions
diff --git a/npc/000-0/sailors.txt b/npc/000-0/sailors.txt
index 85fab4553..cceffbc6b 100644
--- a/npc/000-0/sailors.txt
+++ b/npc/000-0/sailors.txt
@@ -22,7 +22,7 @@ OnTouch:
//checkclientversion;
.@lang = requestlang();
- if (.@lang >= 0 && .@lang <= 9) Lang = .@lang;
+ if (.@lang >= 0 && .@lang <= MAX_LANG) Lang = .@lang;
showavatar 3;
diff --git a/npc/functions/asklanguage.txt b/npc/functions/asklanguage.txt
index fad9dd6db..523cb54c6 100644
--- a/npc/functions/asklanguage.txt
+++ b/npc/functions/asklanguage.txt
@@ -17,10 +17,7 @@ function script asklanguage {
"Да я вас слышу... (Русский)", // Russian
"Te oigo... (Español)", // Spanish
"Eu te ouço... (Português)", // Portuguese
- "Ich höre euch... (Deutsch)", // German
- "Słyszę cię... (Polski)", // Polish
- "Vi sento... (Italiano)", // Italian
- "Mi aŭdas vin... (Angle)"; // Esperanto
+ "Ich höre euch... (Deutsch)"; // German
break;
case LANG_IN_SHIP:
setarray .@messages$[0], "I speak English.", // English
@@ -28,10 +25,7 @@ function script asklanguage {
"Я говорю на русском.", // Russian
"Hablo Español.", // Spanish
"Eu falo Português.", // Portuguese
- "Ich spreche Deutsch.", // German
- "Mówię po polsku.", // Polish
- "Parlo Italiano.", // Italian
- "Mi parolas Esperanton."; // Esperanto
+ "Ich spreche Deutsch."; // German
break;
default:
return;
@@ -42,10 +36,7 @@ function script asklanguage {
"flags/ru",
"flags/es",
"flags/pt_BR",
- "flags/de",
- "flags/pl",
- "flags/it",
- "flags/eo";
+ "flags/de";
.@menustr$ = "";
.@separator$ = ":";
diff --git a/npc/functions/clientversion.txt b/npc/functions/clientversion.txt
index 9483e4de8..b674ac833 100644
--- a/npc/functions/clientversion.txt
+++ b/npc/functions/clientversion.txt
@@ -756,6 +756,7 @@ function script clientupdater {
dispbottom l("Lt. Paul unclaimed rewards REDEEMED.");
}
}
+ // TODO: Remove lang > MAX_LANG
// :// End of Regular Update System
////////////////////////////////////