mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2026-11-12 07:54:52 +09:00
exp_legacy recorded each player's locale in PlayerData statistics which nothing read. The lua side now sends one ipc event with the player's locale when they join and when they change language, the instance forwards it, and the controller stores it on the player record. The Scenario section of the user page shows the language by name with a flag made from regional indicator symbols. Locales with a region use it directly, the rest map to a country through a small table covering Factorio's locale list. Arabic, Catalan, Basque, and Esperanto have no single country and get no flag. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
12 lines
489 B
Lua
12 lines
489 B
Lua
--- This contains a list of all files that will be loaded and the order they are loaded in;
|
|
-- to stop a file from loading add "--" in front of it, remove the "--" to have the file be loaded;
|
|
-- config files should be loaded after all modules are loaded;
|
|
-- core files should be required by modules and not be present in this list;
|
|
-- @config File-Loader
|
|
return {
|
|
"expcore.player_data", -- must be loaded first to register event handlers
|
|
|
|
--- Data
|
|
"modules.data.statistics",
|
|
}
|