summaryrefslogtreecommitdiff
path: root/npc/functions
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-06-07 08:15:58 -0300
committerJesusaves <cpntb1@ymail.com>2018-06-07 08:15:58 -0300
commiteaa875107e703c79111e76ce9219b27c4b82dada (patch)
tree0122099b64aeeb966406f935181ea1f308436b25 /npc/functions
parent83c0f2fce17acca38ee1804e94c48bd60fe01b11 (diff)
downloadserverdata-eaa875107e703c79111e76ce9219b27c4b82dada.tar.gz
serverdata-eaa875107e703c79111e76ce9219b27c4b82dada.tar.bz2
serverdata-eaa875107e703c79111e76ce9219b27c4b82dada.tar.xz
serverdata-eaa875107e703c79111e76ce9219b27c4b82dada.zip
Delete three languages: VLS, NL_BE and CA.
Diffstat (limited to 'npc/functions')
-rw-r--r--npc/functions/asklanguage.txt20
-rw-r--r--npc/functions/clientversion.txt10
2 files changed, 15 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;
}
diff --git a/npc/functions/clientversion.txt b/npc/functions/clientversion.txt
index 0f1cba4b0..f21ea5a90 100644
--- a/npc/functions/clientversion.txt
+++ b/npc/functions/clientversion.txt
@@ -7,6 +7,16 @@
// Function checking the client version and reports if it is too old.
function script checkclientversion {
+ // Update handler
+ if (Lang > 5 && UPDATE < 1528369855) {
+ UPDATE=gettimetick(2);
+ Lang=0;
+ mesn "Jesus Saves";
+ mes col("Oh, noes! Due lack of translators, some languages were removed from this project.", 9);
+ mes col("You might have been affected. Please, select your desired language.", 9);
+ asklanguage(LANG_IN_SHIP);
+ }
+
if (ClientVersion >= 24) return;
mesn "Narrator";