added player support for new scene images #8
@ -285,6 +285,10 @@ function sceneDropDownChanged(event) {
|
|||||||
|
|
||||||
let name = scene.Name;
|
let name = scene.Name;
|
||||||
let summary = scene.SummaryText;
|
let summary = scene.SummaryText;
|
||||||
|
let image = questSceneMstId;
|
||||||
|
if ("Image" in scene) {
|
||||||
|
image = scene.Image;
|
||||||
|
}
|
||||||
let credits = "";
|
let credits = "";
|
||||||
let tl_key = utage.sceneTranslations[cust][questSceneMstId];
|
let tl_key = utage.sceneTranslations[cust][questSceneMstId];
|
||||||
|
|
||||||
@ -307,8 +311,8 @@ function sceneDropDownChanged(event) {
|
|||||||
chapterSelect += `<option value="${p}">${p}</option>`
|
chapterSelect += `<option value="${p}">${p}</option>`
|
||||||
}
|
}
|
||||||
|
|
||||||
let detailSrc = `${utage.rootDirectory}${(scene.IsCustom ? "CustomData" : "XDUData")}/Asset/Image/Quest/Snap/Detail/${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/${questSceneMstId}.png`;
|
let iconSrc = `${utage.rootDirectory}${(scene.IsCustom ? "CustomData" : "XDUData")}/Asset/Image/Quest/Snap/Icon/${image}.png`;
|
||||||
chapterSelect += '</select></div>';
|
chapterSelect += '</select></div>';
|
||||||
cont.innerHTML = `
|
cont.innerHTML = `
|
||||||
<div id="mission-modal" class="modal">
|
<div id="mission-modal" class="modal">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user