exclude semipersistent items from list

This commit is contained in:
ReznoRMichael 2021-02-19 03:07:42 +01:00
commit 60fe1a3ddd
3 changed files with 4 additions and 3 deletions

View file

@ -1057,7 +1057,7 @@ function CheckAdditionalThings(divId, dataObject, playerData, worldData, sceneDa
if (mode === "notActivated") {
for (var _i11 = 0; _i11 < arrayLength; _i11++) {
if (sceneData.persistentBoolItems[_i11].activated === false) {
if (sceneData.persistentBoolItems[_i11].activated === false && sceneData.persistentBoolItems[_i11].semiPersistent === false) {
countTotal++;
itemsLog.push("#".concat(countTotal, " ").concat(sceneData.persistentBoolItems[_i11].id, " \uD83D\uDDFA\uFE0F ").concat((0,_hk_functions_js__WEBPACK_IMPORTED_MODULE_2__.TranslateMapName)(sceneData.persistentBoolItems[_i11].sceneName), " \u2328\uFE0F ").concat(sceneData.persistentBoolItems[_i11].sceneName));
}

File diff suppressed because one or more lines are too long