show save game version
This commit is contained in:
parent
6594632aa0
commit
00edbd9ea3
4 changed files with 6 additions and 1 deletions
|
|
@ -275,6 +275,7 @@ function CheckCompletionPercent(divId, completionPercentage) {
|
|||
function CheckSaveFileVersion(divId) {
|
||||
var saveVersion = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : _hk_database_js__WEBPACK_IMPORTED_MODULE_0__.default.SECTION.intro.entries.saveVersion.spoiler;
|
||||
CurrentDataBlank();
|
||||
divId.entries.saveVersion.spoiler = "".concat(saveVersion);
|
||||
var textFill = "Save Version:".concat(pSpan, "<b>").concat(saveVersion, "</b>").concat(pSpan); // document.getElementById(divId.id).innerHTML += divStart + completionSymbol + textFill + divEnd;
|
||||
}
|
||||
/**
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -353,6 +353,9 @@ function CheckCompletionPercent(divId, completionPercentage) {
|
|||
function CheckSaveFileVersion(divId, saveVersion = HK.SECTION.intro.entries.saveVersion.spoiler) {
|
||||
|
||||
CurrentDataBlank();
|
||||
|
||||
divId.entries.saveVersion.spoiler = `${saveVersion}`;
|
||||
|
||||
let textFill = `Save Version:${pSpan}<b>${saveVersion}</b>${pSpan}`;
|
||||
// document.getElementById(divId.id).innerHTML += divStart + completionSymbol + textFill + divEnd;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -329,6 +329,7 @@ function SingleEntryFill(section, entry) {
|
|||
|
||||
if (entry.name === "Game Completion:") textSuffix = `${entry.spoiler} %`;
|
||||
|
||||
/* Optimized only for the "intro" section! */
|
||||
if (entry.hasOwnProperty("spoilerAfter")) {
|
||||
spoilerAfter = `</b> ${entry.spoilerAfter}`;
|
||||
span[1] = "";
|
||||
|
|
|
|||
Loading…
Reference in a new issue