- 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:
parent
a7d947ea09
commit
65470bdef2
7 changed files with 22 additions and 2 deletions
|
|
@ -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 |
Binary file not shown.
|
Before Width: | Height: | Size: 354 KiB After Width: | Height: | Size: 130 KiB |
|
|
@ -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
|
||||
|
|
|
|||
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 |
Loading…
Reference in a new issue