Languages now use alternative prefix keys.

Makes radio and language key overlaps possible.
It is possible to configure the default language keys server side.
Pending: The possibility for players to configure their own language keys.
This commit is contained in:
PsiOmegaDelta
2015-08-26 13:17:57 +02:00
parent 51503a9220
commit 5962656c1e
9 changed files with 78 additions and 53 deletions

View File

@@ -213,6 +213,8 @@ var/list/gamemode_cache = list()
var/aggressive_changelog = 0
var/list/language_prefixes = list(",","#","-")//Default language prefixes
/datum/configuration/New()
var/list/L = typesof(/datum/game_mode) - /datum/game_mode
for (var/T in L)
@@ -688,6 +690,9 @@ var/list/gamemode_cache = list()
if("aggressive_changelog")
config.aggressive_changelog = 1
if("default_language_prefixes")
language_prefixes = text2list(value, " ")
else
log_misc("Unknown setting in configuration: '[name]'")