Commit 71b118dd authored by KingRainbow44's avatar KingRainbow44
Browse files

Add a start and finish message to resource loading

parent 2dcdb839
......@@ -29,6 +29,7 @@ import emu.grasscutter.game.world.SpawnDataEntry.*;
import it.unimi.dsi.fastutil.ints.Int2ObjectMap;
import static emu.grasscutter.Configuration.*;
import static emu.grasscutter.utils.Language.translate;
public class ResourceLoader {
......@@ -52,6 +53,8 @@ public class ResourceLoader {
}
public static void loadAll() {
Grasscutter.getLogger().info(translate("messages.status.resources.loading"));
// Load ability lists
loadAbilityEmbryos();
loadOpenConfig();
......@@ -68,6 +71,8 @@ public class ResourceLoader {
// Load default home layout
loadHomeworldDefaultSaveData();
loadNpcBornData();
Grasscutter.getLogger().info(translate("messages.status.resources.finish"));
}
public static void loadResources() {
......
......@@ -53,7 +53,11 @@
"create_resources": "Creating resources folder...",
"resources_error": "Place a copy of 'BinOutput' and 'ExcelBinOutput' in the resources folder.",
"version": "Grasscutter version: %s-%s",
"game_version": "Game version: %s"
"game_version": "Game version: %s",
"resources": {
"loading": "Loading resources...",
"finish": "Finished loading resources."
}
}
},
"commands": {
......
......@@ -53,7 +53,11 @@
"create_resources": "Création du dossier ressources...",
"resources_error": "Placez une copie de 'BinOutput' and 'ExcelBinOutput' dans le dossier ressources.",
"version": "Version de Grasscutter: %s-%s",
"game_version": "Version du jeu: %s"
"game_version": "Version du jeu: %s",
"resources": {
"loading": "Loading resources...",
"finish": "Finished loading resources."
}
}
},
"commands": {
......@@ -442,4 +446,3 @@
}
}
}
\ No newline at end of file
......@@ -49,7 +49,11 @@
"create_resources": "Tworzenie folderu resources...",
"resources_error": "Umieść kopię 'BinOutput' i 'ExcelBinOutput' w folderze resources.",
"version": "Grasscutter versión: %s-%s",
"game_version": "Game versión: %s"
"game_version": "Game versión: %s",
"resources": {
"loading": "Loading resources...",
"finish": "Finished loading resources."
}
}
},
"commands": {
......
......@@ -53,7 +53,11 @@
"create_resources": "Создаём папку ресурсов...",
"resources_error": "Поместите копию папок 'BinOutput' и 'ExcelBinOutput' в папку ресурсов.",
"version": "Версия Grasscutter: %s-%s",
"game_version": "Версия игры: %s"
"game_version": "Версия игры: %s",
"resources": {
"loading": "Loading resources...",
"finish": "Finished loading resources."
}
}
},
"commands": {
......
......@@ -53,7 +53,11 @@
"create_resources": "正在创建 resources 目录...",
"resources_error": "请将 BinOutput 和 ExcelBinOutput 复制到 resources 目录。",
"version": "Grasscutter 版本:%s-%s",
"game_version": "游戏版本:%s"
"game_version": "游戏版本:%s",
"resources": {
"loading": "Loading resources...",
"finish": "Finished loading resources."
}
}
},
"commands": {
......
......@@ -53,7 +53,11 @@
"create_resources": "正在建立 resources 資料夾...",
"resources_error": "請將 BinOutput 和 ExcelBinOutput 複製到 resources 資料夾。",
"version": "Grasscutter版本: %s-%s",
"game_version": "遊戲版本:%s"
"game_version": "遊戲版本:%s",
"resources": {
"loading": "Loading resources...",
"finish": "Finished loading resources."
}
}
},
"commands": {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment