diff --git a/src/endWeek/saClothes.js b/src/endWeek/saClothes.js index 6c41a2320895c2650da97cb455c9297a6f743355..0abf5f1e2b96472cc80935c0cbb4f286ccb32cd6 100644 --- a/src/endWeek/saClothes.js +++ b/src/endWeek/saClothes.js @@ -85,7 +85,7 @@ App.SlaveAssignment.clothes = (function() { * */ function clothingEffects(slave) { - if (["body oil", "no clothing"].includes(slave.clothes)) { + if (App.Data.clothes.get(slave.clothes) && getExposure(slave) === 4) { if (slave.devotion >= -20) { if (slave.fetish === "humiliation" && slave.fetishKnown === 0) { r.push(`${He} pretends to be embarrassed by ${his} nudity but seems to get off on it. <span class="lightcoral">${He}'s into humiliation.</span>`); @@ -101,7 +101,20 @@ App.SlaveAssignment.clothes = (function() { slave.devotion += 1; } } - } else if (App.Data.clothes.get(slave.clothes)) { + } + // humiliating clothing effects + if (slave.fetishKnown === 0 || slave.fetish === "none") { + if (getExposure(slave) === 3) { + if (fetishChangeChance(slave) > jsRandom(0, 100)) { + r.push(`Surprisingly, ${he} takes to ${his} extremely revealing clothing, and gets an obvious thrill from it. <span class="lightcoral">${He}'s become a humiliation fetishist!</span>`); + slave.fetish = "humiliation"; + slave.fetishKnown = 1; + slave.fetishStrength = 10; + } + } + } + + if (App.Data.clothes.get(slave.clothes)) { if (App.Data.clothes.get(slave.clothes).harsh) { switch (slave.clothes) { case "a penitent nuns habit": @@ -368,18 +381,6 @@ App.SlaveAssignment.clothes = (function() { } } - // humiliating clothing effects - if (slave.fetishKnown === 0 || slave.fetish === "none") { - if (getExposure(slave) === 3) { - if (fetishChangeChance(slave) > jsRandom(0, 100)) { - r.push(`Surprisingly, ${he} takes to ${his} extremely revealing clothing, and gets an obvious thrill from it. <span class="lightcoral">${He}'s become a humiliation fetishist!</span>`); - slave.fetish = "humiliation"; - slave.fetishKnown = 1; - slave.fetishStrength = 10; - } - } - } - // Chattel Religionist effects if (arcology.FSChattelReligionist !== "unset") { if (slave.behavioralQuirk === "sinful") {