From 754b8548176172f12821c948b67858291a32d167 Mon Sep 17 00:00:00 2001 From: iisaev Date: Sun, 18 Oct 2026 19:00:24 +0200 Subject: [PATCH] Mod naming rule and engine UI in engine mods Mods are renamed by role (shell2d_base, menu_base, ui_base, live2d_base, editor_tools, cthangover_story, cthangover_murakami, cthangover_party) and every reference follows. Engine UI prefabs (dialog, answers, message, game menu, inventory, map, skills) and their panel entries moved out of the story mod into the subsystem mods; the card_novel and vn_starter_novel collections are removed. --- collections/dev_tools.json | 2 +- collections/novel_editor.json | 6 +++--- locale/ui_en.properties | 4 ++-- locale/ui_ru.properties | 4 ++-- manifest.json | 6 +++--- test_suites/windows/manifest.json | 2 +- test_suites/windows/src/ScenarioPlayReturnCheck.cs | 2 +- 7 files changed, 13 insertions(+), 13 deletions(-) diff --git a/collections/dev_tools.json b/collections/dev_tools.json index 64f8fa7..5c85279 100644 --- a/collections/dev_tools.json +++ b/collections/dev_tools.json @@ -16,7 +16,7 @@ "locale": [ { "lang": "ru", "name": "Редактор сценариев", "description": "Графовые инструменты для создания сценариев и сцен." } ], - "mods": ["tools>=1"] + "mods": ["editor_tools>=1"] }, { "id": "validation", diff --git a/collections/novel_editor.json b/collections/novel_editor.json index 7be3447..3d6dbd9 100644 --- a/collections/novel_editor.json +++ b/collections/novel_editor.json @@ -18,7 +18,7 @@ "role": "tools", "description": "Editor windows and the launcher screen that lists them.", "locale": [ { "lang": "ru", "name": "Редакторы", "description": "Окна редакторов и стартовый экран со списком." } ], - "mods": ["tools>=1"] + "mods": ["editor_tools>=1"] }, { "id": "novel_engine", @@ -26,7 +26,7 @@ "role": "engine", "description": "Scenes, scenarios, dialogs, interactive objects, effects, time and lighting, the world map: what the editors preview and play.", "locale": [ { "lang": "ru", "name": "Движок новеллы", "description": "Сцены, сценарии, диалоги, интерактив, эффекты, время и свет, карта мира: то, что редакторы показывают и проигрывают." } ], - "mods": ["visual_novel_core>=1", "base2d>=1", "dialog_base>=1", "interactive_base>=1", "effects_base>=1", "time_base>=1", "map_base>=1"] + "mods": ["cthangover_story>=1", "shell2d_base>=1", "dialog_base>=1", "interactive_base>=1", "effects_base>=1", "time_base>=1", "map_base>=1"] }, { "id": "story", @@ -35,7 +35,7 @@ "description": "The bundled story content to edit: Murakami's line and the starter party.", "locale": [ { "lang": "ru", "name": "Сюжет", "description": "Встроенный сюжет для правки: линия Мураками и стартовая партия." } ], "optional": true, - "mods": ["murakami>=1", "starter_party>=1"] + "mods": ["cthangover_murakami>=1", "cthangover_party>=1"] }, { "id": "validation", diff --git a/locale/ui_en.properties b/locale/ui_en.properties index cefa27d..9ffc073 100644 --- a/locale/ui_en.properties +++ b/locale/ui_en.properties @@ -1,5 +1,5 @@ -mod_tools_name = Tools -mod_tools_desc = Developer toolbox: scenario graph editor, map editor with zones, scene builder with inspector, interactive and light editors, and the mod catalog export window. +mod_editor_tools_name = Editor Tools +mod_editor_tools_desc = Developer toolbox: scenario graph editor, map editor with zones, scene builder with inspector, interactive and light editors, and the mod catalog export window. tools/common/save = Save tools/common/save_tip = Save the file (Ctrl+S) diff --git a/locale/ui_ru.properties b/locale/ui_ru.properties index 3c90eb3..2f255fc 100644 --- a/locale/ui_ru.properties +++ b/locale/ui_ru.properties @@ -1,5 +1,5 @@ -mod_tools_name = Инструменты -mod_tools_desc = Инструменты разработчика: редактор сценариев (граф), редактор карты с зонами, конструктор сцен с инспектором, редакторы интерактива и света, экспорт каталога модов. +mod_editor_tools_name = Редакторы +mod_editor_tools_desc = Инструменты разработчика: редактор сценариев (граф), редактор карты с зонами, конструктор сцен с инспектором, редакторы интерактива и света, экспорт каталога модов. tools/common/save = Сохранить tools/common/save_tip = Сохранить файл (Ctrl+S) diff --git a/manifest.json b/manifest.json index 9d67590..9ecf5da 100644 --- a/manifest.json +++ b/manifest.json @@ -1,6 +1,6 @@ { - "id": "tools", - "name": "Tools", + "id": "editor_tools", + "name": "Editor Tools", "version": "1.0.0", "author": "ct", "description": "Developer toolbox of ToolBox windows: scenario graph editor, map editor with zones, scene builder with inspector, interactive and light editors, and the mod catalog export window.", @@ -8,7 +8,7 @@ "sources": [ "src/**/*.cs" ], - "depends": ["dialog_base>=1", "interactive_base>=1", "time_base>=1", "map_base>=1", "interface>=1"], + "depends": ["dialog_base>=1", "interactive_base>=1", "time_base>=1", "map_base>=1", "ui_base>=1"], "test_suites": [ {"id": "windows", "activate": ["--itest=tools_windows"]} ] diff --git a/test_suites/windows/manifest.json b/test_suites/windows/manifest.json index a50f4cb..7b7719e 100644 --- a/test_suites/windows/manifest.json +++ b/test_suites/windows/manifest.json @@ -5,6 +5,6 @@ "src/*.cs" ], "depends": [ - "visual_novel_core>=1" + "cthangover_story>=1" ] } diff --git a/test_suites/windows/src/ScenarioPlayReturnCheck.cs b/test_suites/windows/src/ScenarioPlayReturnCheck.cs index e8a422b..4b434ef 100644 --- a/test_suites/windows/src/ScenarioPlayReturnCheck.cs +++ b/test_suites/windows/src/ScenarioPlayReturnCheck.cs @@ -22,7 +22,7 @@ namespace Cthangover.Tools.Tests.Windows /// public class ScenarioPlayReturnCheck { - private const string SuiteModId = "tools__windows"; + private const string SuiteModId = "editor_tools__windows"; private const string ScenarioPath = "scenarios/playtest_return.scenario"; private const int ShellSettleTicks = 3;