diff --git a/js/003-data/miscData.js b/js/003-data/miscData.js index 4662677c0af368fc42c3f513a32024015380ae0e..3e751a96be9fdb7becb2f508ed4d76ce13e73cf1 100644 --- a/js/003-data/miscData.js +++ b/js/003-data/miscData.js @@ -2289,19 +2289,19 @@ App.Data.misc = { name: "Platforms", value: "platform shoes", fs: "FSStatuesqueGlorification", - rs: "boughtShoes" + rs: "shoesBoughtHeels" }, { name: "Platform heels", value: "platform heels", fs: "FSStatuesqueGlorification", - rs: "boughtShoes" + rs: "shoesBoughtHeels" }, { name: "Painfully extreme platform heels", value: "extreme platform heels", fs: "FSStatuesqueGlorification", - rs: "boughtShoes" + rs: "shoesBoughtHeels" } ], @@ -2314,25 +2314,25 @@ App.Data.misc = { name: "1st Trimester belly", value: "a small empathy belly", fs: "FSRepopulationFocus", - rs: "boughtBelly" + rs: "clothesBoughtBelly" }, { name: "2nd Trimester belly", value: "a medium empathy belly", fs: "FSRepopulationFocus", - rs: "boughtBelly" + rs: "clothesBoughtBelly" }, { name: "3rd Trimester belly", value: "a large empathy belly", fs: "FSRepopulationFocus", - rs: "boughtBelly" + rs: "clothesBoughtBelly" }, { name: "3rd Trimester twins belly", value: "a huge empathy belly", fs: "FSRepopulationFocus", - rs: "boughtBelly" + rs: "clothesBoughtBelly" } ], diff --git a/src/js/itemAvailability.js b/src/js/itemAvailability.js index ba595d9ddffc72d86f0736a0b4fbac43ef52e9dc..b36116bdda11acef82533dd371e29f6fc7be236c 100644 --- a/src/js/itemAvailability.js +++ b/src/js/itemAvailability.js @@ -321,7 +321,7 @@ window.isClothingAccessible = (function() { eitherCheck++; } } else { - if (item.rs.either.nestedRequirement === V.nestedRequirement) { + if (item.rs.either[nestedRequirement] === V[nestedRequirement]) { eitherCheck++; } } diff --git a/src/js/rulesAssistantOptions.js b/src/js/rulesAssistantOptions.js index 7fa48dc20ea9087f572c70380b6edc56998499ba..a37c8a59993005033ada61f50e3d366cfe438465 100644 --- a/src/js/rulesAssistantOptions.js +++ b/src/js/rulesAssistantOptions.js @@ -1831,7 +1831,7 @@ window.rulesAssistantOptions = (function() { shoes.push([acc.name, acc.value]); } else if (acc.fs === "statuesque" && V.arcologies[0].FSStatuesqueGlorification !== "unset") { shoes.push([`${acc.name} (FS)`, acc.value]); - } else if (acc.rs === "boughtShoes" && V.shoesBoughtHeels === 1) { + } else if (acc.rs === "shoesBoughtHeels" && V.shoesBoughtHeels === 1) { shoes.push([`${acc.name} (Purchased)`, acc.value]); } }); @@ -1849,7 +1849,7 @@ window.rulesAssistantOptions = (function() { bellies.push([acc.name, acc.value]); } else if (acc.fs === "repopulation" && V.arcologies[0].FSRepopulationFocus !== "unset") { bellies.push([`${acc.name} (FS)`, acc.value]); - } else if (acc.rs === "boughtBelly" && V.clothesBoughtBelly === 1) { + } else if (acc.rs === "clothesBoughtBelly" && V.clothesBoughtBelly === 1) { bellies.push([`${acc.name} (Purchased)`, acc.value]); } });