- update preview image.

- solved (#2 Upgrade for Tool Pouch) for not dectecting if the player get it through lady challange.
This commit is contained in:
Alba6rek 2025-10-08 20:55:06 +03:00
commit 65470bdef2
7 changed files with 22 additions and 2 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 354 KiB

After

Width:  |  Height:  |  Size: 130 KiB

Before After
Before After

View file

@ -1050,6 +1050,15 @@ function CheckIfDataTrue(section, dataObject, playerData, worldData = []) {
(playerData[i] === 3) ? SetIconGreen(section, i): SetIconRed(section, i);
break;
// This for Tool Pouch Upgrades for laddybug (check if he finished the challange or get the item from pickup in act 3)
case "ladybugCraftPickupToolPouch":
let scenel = worldData.serializedList;
let CraftPickupToolitem = scenel.find(scenel => scenel.SceneName === dataObject[i].sceneName && scenel.ID === dataObject[i].id);
((CraftPickupToolitem !== undefined && CraftPickupToolitem.Value === true)
|| playerData.pinGalleriesCompleted >= 1) ? SetIconGreen(section, i): SetIconRed(section, i);
break;
//World Scene
default:
let sceneList = worldData.serializedList;
@ -1057,6 +1066,8 @@ function CheckIfDataTrue(section, dataObject, playerData, worldData = []) {
(sceneInfo !== undefined && sceneInfo.Value === true) ? SetIconGreen(section, i): SetIconRed(section, i);
break;
}
}
else