diff --git a/.gitmodules b/.gitmodules index 11fbc2a..bd25379 100644 --- a/.gitmodules +++ b/.gitmodules @@ -2,3 +2,7 @@ path = Js/Translations url = https://git.poweris.moe/xdutranslations.git branch = . +[submodule "CustomData"] + path = CustomData + url = https://git.poweris.moe/customdata.git + branch = . diff --git a/CustomData b/CustomData new file mode 160000 index 0000000..cbbcd61 --- /dev/null +++ b/CustomData @@ -0,0 +1 @@ +Subproject commit cbbcd61805a9fbfc95fea46b5bf0cb51b7c8b3c1 diff --git a/Js/Main.js b/Js/Main.js index a6848fa..1b02570 100644 --- a/Js/Main.js +++ b/Js/Main.js @@ -192,12 +192,14 @@ function missionDropDownChanged(event) { chapterSelect += `` } } + let detailSrc = `${utage.rootDirectory}${(mis.IsCustom ? "CustomData" : "XDUData")}/Asset/Image/Quest/Snap/Detail/${mis.MstId}.png`; + let iconSrc = `${utage.rootDirectory}${(mis.IsCustom ? "CustomData" : "XDUData")}/Asset/Image/Quest/Snap/Icon/${mis.MstId}.png`; chapterSelect += ''; cont.innerHTML = `