From 1dc54f8590eaf8dc89a9d55b2b10c580a43c413b Mon Sep 17 00:00:00 2001 From: louis Date: Sat, 12 Sep 2020 03:03:52 -0400 Subject: [PATCH 1/5] master branch tracks beta translations --- .gitmodules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitmodules b/.gitmodules index 1cfb4e8..98bd0e9 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,7 +1,7 @@ [submodule "Js/Translations"] path = Js/Translations url = https://git.poweris.moe/yttt-xdu/xdutranslations.git - branch = . + branch = beta [submodule "CustomData"] path = CustomData url = https://git.poweris.moe/yttt-xdu/customdata.git From 7b43a86b99ad043168f0e40f6c51f393fa800efc Mon Sep 17 00:00:00 2001 From: louis Date: Sat, 12 Sep 2020 16:39:42 -0400 Subject: [PATCH 2/5] master tracks master we're just going to rebuild beta off the most recently pushed branch --- .gitmodules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitmodules b/.gitmodules index 98bd0e9..2ce17f3 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,7 +1,7 @@ [submodule "Js/Translations"] path = Js/Translations url = https://git.poweris.moe/yttt-xdu/xdutranslations.git - branch = beta + branch = master [submodule "CustomData"] path = CustomData url = https://git.poweris.moe/yttt-xdu/customdata.git From 85f2815b6ab92787c5a116d4b5b848e5be562161 Mon Sep 17 00:00:00 2001 From: argoneus Date: Wed, 21 Oct 2020 23:54:33 +0200 Subject: [PATCH 3/5] added player support for new scene images --- Js/Main.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Js/Main.js b/Js/Main.js index 0a8804e..495753a 100644 --- a/Js/Main.js +++ b/Js/Main.js @@ -285,6 +285,10 @@ function sceneDropDownChanged(event) { let name = scene.Name; let summary = scene.SummaryText; + let image = questSceneMstId; + if ("Image" in scene) { + image = scene.Image; + } let credits = ""; let tl_key = utage.sceneTranslations[cust][questSceneMstId]; @@ -307,8 +311,8 @@ function sceneDropDownChanged(event) { chapterSelect += `` } - let detailSrc = `${utage.rootDirectory}${(scene.IsCustom ? "CustomData" : "XDUData")}/Asset/Image/Quest/Snap/Detail/${questSceneMstId}.png`; - let iconSrc = `${utage.rootDirectory}${(scene.IsCustom ? "CustomData" : "XDUData")}/Asset/Image/Quest/Snap/Icon/${questSceneMstId}.png`; + let detailSrc = `${utage.rootDirectory}${(scene.IsCustom ? "CustomData" : "XDUData")}/Asset/Image/Quest/Snap/Detail/${image}.png`; + let iconSrc = `${utage.rootDirectory}${(scene.IsCustom ? "CustomData" : "XDUData")}/Asset/Image/Quest/Snap/Icon/${image}.png`; chapterSelect += ''; cont.innerHTML = `