summaryrefslogtreecommitdiff
path: root/npc/functions/asklanguage.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/functions/asklanguage.txt')
-rw-r--r--npc/functions/asklanguage.txt20
1 files changed, 5 insertions, 15 deletions
diff --git a/npc/functions/asklanguage.txt b/npc/functions/asklanguage.txt
index 4bea4bd11..fad9dd6db 100644
--- a/npc/functions/asklanguage.txt
+++ b/npc/functions/asklanguage.txt
@@ -1,12 +1,13 @@
+// TMW2 script
// Evol functions.
// Author:
-// Reid
+// Reid, Jesusalva
// Description:
// Function setting the player language
function script asklanguage {
- .@nb_language = 11;
+ .@nb_language = 8;
switch (getarg(0, 0))
{
@@ -17,11 +18,8 @@ function script asklanguage {
"Te oigo... (Español)", // Spanish
"Eu te ouço... (Português)", // Portuguese
"Ich höre euch... (Deutsch)", // German
- "'k hoar ui wel... (Vlaams)", // Flemish
"Słyszę cię... (Polski)", // Polish
"Vi sento... (Italiano)", // Italian
- "Ik kan je horen... (Nederlands)", // Dutch
- "Et escolto (Català)", // Catalan
"Mi aŭdas vin... (Angle)"; // Esperanto
break;
case LANG_IN_SHIP:
@@ -31,11 +29,8 @@ function script asklanguage {
"Hablo Español.", // Spanish
"Eu falo Português.", // Portuguese
"Ich spreche Deutsch.", // German
- "'k klappe Vloams", // Flemish
"Mówię po polsku.", // Polish
"Parlo Italiano.", // Italian
- "Ik spreek Nederlands.", // Dutch
- "Parlo català.", // Catalan
"Mi parolas Esperanton."; // Esperanto
break;
default:
@@ -48,11 +43,8 @@ function script asklanguage {
"flags/es",
"flags/pt_BR",
"flags/de",
- "flags/vls",
"flags/pl",
"flags/it",
- "flags/nl_BE",
- "flags/ca",
"flags/eo";
.@menustr$ = "";
@@ -60,8 +52,7 @@ function script asklanguage {
for (.@i = 0; .@i <= .@nb_language; .@i++)
{
- if (.@i == .@nb_language)
- {
+ if (.@i == .@nb_language) {
.@separator$ = "";
}
.@menustr$ = .@menustr$ + .@flags$[.@i] + "|" + .@messages$[.@i] + .@separator$;
@@ -71,8 +62,7 @@ function script asklanguage {
.@lang = @menu - 1;
- if (.@lang >= 0 || .@lang <= .@nb_language)
- {
+ if (.@lang >= 0 || .@lang <= .@nb_language) {
Lang = .@lang;
}