From 2589a27cb55ca9eb94c1ec8ca78851f85ed89262 Mon Sep 17 00:00:00 2001 From: Folker <63218676+GlennFolker@users.noreply.github.com> Date: Mon, 1 Feb 2021 21:27:24 +0700 Subject: [PATCH 1/3] Create FileTreeInitEvent (#4489) * filetree init event * actions do your thing --- core/src/mindustry/game/EventType.java | 2 ++ core/src/mindustry/mod/Mods.java | 1 + 2 files changed, 3 insertions(+) diff --git a/core/src/mindustry/game/EventType.java b/core/src/mindustry/game/EventType.java index 405398c370..73590f3679 100644 --- a/core/src/mindustry/game/EventType.java +++ b/core/src/mindustry/game/EventType.java @@ -68,6 +68,8 @@ public class EventType{ public static class ContentInitEvent{} /** Called when the client game is first loaded. */ public static class ClientLoadEvent{} + /** Called *after* all the modded files have been added into Vars.tree */ + public static class FileTreeInitEvent{} /** Called when a game begins and the world is loaded. */ public static class WorldLoadEvent{} diff --git a/core/src/mindustry/mod/Mods.java b/core/src/mindustry/mod/Mods.java index e73dc85b9c..166de21166 100644 --- a/core/src/mindustry/mod/Mods.java +++ b/core/src/mindustry/mod/Mods.java @@ -347,6 +347,7 @@ public class Mods implements Loadable{ } } } + Events.fire(new FileTreeInitEvent()); //add new keys to each bundle I18NBundle bundle = Core.bundle; From 4fe1457d96c8b93ff2835e722c60dae12a748cb9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BD=AD=E7=91=9E=E6=9A=84?= Date: Mon, 1 Feb 2021 22:29:03 +0800 Subject: [PATCH 2/3] Updated zh-TW translations (#4449) * Update bundle_zh_TW.properties mod sorting & charge * Changed "Charge" A better translation came to mind --- core/assets/bundles/bundle_zh_TW.properties | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/assets/bundles/bundle_zh_TW.properties b/core/assets/bundles/bundle_zh_TW.properties index f3b19078cb..9027c173a9 100644 --- a/core/assets/bundles/bundle_zh_TW.properties +++ b/core/assets/bundles/bundle_zh_TW.properties @@ -45,6 +45,8 @@ mod.featured.dialog.title = 模組瀏覽器 (尚未完成) mods.browser.selected = 已選模組 mods.browser.add = 安裝 mods.github.open = 查看 +mods.browser.sortdate = 以最近篩選 +mods.browser.sortstars = 以星數篩選 schematic = 藍圖 schematic.add = 儲存藍圖…… @@ -693,6 +695,7 @@ stat.lightningchance = 燃燒機率 stat.lightningdamage = 燃燒傷害 stat.flammability = 易燃性 stat.radioactivity = 輻射性 +stat.charge = 蓄電力 stat.heatcapacity = 熱容量 stat.viscosity = 黏度 stat.temperature = 溫度 From 2f9c95afd0cb39897b9258cdd9410e01beb2c764 Mon Sep 17 00:00:00 2001 From: Nikopol <53965568+KirillcraftEX@users.noreply.github.com> Date: Tue, 2 Feb 2021 18:22:54 +0400 Subject: [PATCH 3/3] Moving server to C.A.M.S. (#4497) NikoCHIO now in C.A.M.S. --- servers_v6.json | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/servers_v6.json b/servers_v6.json index 8c6910adf1..80b27b296c 100644 --- a/servers_v6.json +++ b/servers_v6.json @@ -13,7 +13,7 @@ }, { "name": "C.A.M.S.", - "address": ["routerchain.ddns.net", "pandorum.su:8000"] + "address": ["routerchain.ddns.net", "pandorum.su:8000", "nikochio.ddns.net"] }, { "name": "BE6.RUN", @@ -63,10 +63,6 @@ "name": "Korea", "address": ["mindustry.kr"] }, - { - "name": "NikoCHIO", - "address": ["nikochio.ddns.net"] - }, { "name": "HexPvP", "address": ["hexpvp.ddns.net"]