- 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

View file

@ -22163,6 +22163,15 @@ function CheckIfDataTrue(section, dataObject, playerData) {
playerData[i] === 3 ? (0,_hk_functions_js__WEBPACK_IMPORTED_MODULE_2__.SetIconGreen)(section, i) : (0,_hk_functions_js__WEBPACK_IMPORTED_MODULE_2__.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":
var scenel = worldData.serializedList;
var CraftPickupToolitem = scenel.find(function (scenel) {
return scenel.SceneName === dataObject[i].sceneName && scenel.ID === dataObject[i].id;
});
CraftPickupToolitem !== undefined && CraftPickupToolitem.Value === true || playerData.pinGalleriesCompleted >= 1 ? (0,_hk_functions_js__WEBPACK_IMPORTED_MODULE_2__.SetIconGreen)(section, i) : (0,_hk_functions_js__WEBPACK_IMPORTED_MODULE_2__.SetIconRed)(section, i);
break;
//World Scene
default:
var sceneList = worldData.serializedList;

File diff suppressed because one or more lines are too long

Binary file not shown.

Before

Width:  |  Height:  |  Size: 354 KiB

After

Width:  |  Height:  |  Size: 130 KiB

Before After
Before After