diff options
Diffstat (limited to 'world/map')
-rw-r--r-- | world/map/npc/functions/game_rules.txt | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/world/map/npc/functions/game_rules.txt b/world/map/npc/functions/game_rules.txt index e2b9df81..d898b436 100644 --- a/world/map/npc/functions/game_rules.txt +++ b/world/map/npc/functions/game_rules.txt @@ -2,6 +2,21 @@ function|script|GameRules { + requestlang .@cl$; + 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 "[Game Rules]"; mes "Please select a language:"; menu |