summaryrefslogtreecommitdiff
path: root/world/map/npc/functions/game_rules.txt
diff options
context:
space:
mode:
Diffstat (limited to 'world/map/npc/functions/game_rules.txt')
-rw-r--r--world/map/npc/functions/game_rules.txt19
1 files changed, 18 insertions, 1 deletions
diff --git a/world/map/npc/functions/game_rules.txt b/world/map/npc/functions/game_rules.txt
index e2b9df81..316ee03f 100644
--- a/world/map/npc/functions/game_rules.txt
+++ b/world/map/npc/functions/game_rules.txt
@@ -2,7 +2,24 @@
function|script|GameRules
{
- mes "[Game Rules]";
+ mes "##BPlease click submit.";
+ requestlang .@cl$; // newer clients will automatically submit and skip ahead
+ clear;
+ title "Game Rules";
+ explode .@l$, .@cl$, "_";
+ if (.@l$[0] == "en") goto L_English;
+ if (.@l$[0] == "nl") goto L_Dutch;
+ if (.@l$[0] == "de") goto L_German;
+ if (.@l$[0] == "da") goto L_Danish;
+ if (.@l$[0] == "fr") goto L_French;
+ if (.@l$[0] == "es") goto L_Spanish;
+ if (.@l$[0] == "sv") goto L_Swedish;
+ if (.@l$[0] == "pt") goto L_Portuguese;
+ if (.@l$[0] == "pl") goto L_Polish;
+ if (.@l$[0] == "it") goto L_Italian;
+ if (.@l$[0] == "zh") goto L_zhHant;
+ if (.@l$[0] == "ru") goto L_Russian;
+
mes "Please select a language:";
menu
"English", L_English,