diff --git a/src/js/DefaultRules.js b/src/js/DefaultRules.js index 07f9314097f6c55f4f7b10a6fae12e5f6f3ac9d1..463f113031b1e5f5a1032c5df66d0450720d18cb 100644 --- a/src/js/DefaultRules.js +++ b/src/js/DefaultRules.js @@ -564,8 +564,8 @@ window.DefaultRules = (function() { ProcessAVirginDildos(slave, rule); } else if (slave.vagina > 0) { ProcessNonVirginDildos(slave, rule); - ProcessVaginalAttachments(slave, rule); } + ProcessVaginalAttachments(slave, rule); } /** @param {App.Entity.SlaveState} slave */ @@ -751,7 +751,6 @@ window.DefaultRules = (function() { slave.vaginalAttachment = rule.vaginalAttachment; if (slave.vaginalAccessory !== "none") { switch (slave.vaginalAttachment) { - case "none": r += `<br>${slave.slaveName} has been instructed not to use an attachment for ${his} dildo.`; break; @@ -766,7 +765,6 @@ window.DefaultRules = (function() { } } else { switch (slave.vaginalAttachment) { - case "none": r += `<br>${slave.slaveName} has been instructed not to use any vaginal accessories.`; break; @@ -884,10 +882,12 @@ window.DefaultRules = (function() { /** @param {App.Entity.SlaveState} slave */ function ProcessLegAccessory(slave, rule) { - if (rule.legAccessory !== undefined && rule.legAccessory !== "no default setting" && rule.legAccessory !== slave.legAccessory) { - if (slave.amp !== 1 && slave.legAccessory !== rule.legAccessory) { - slave.legAccessory = rule.legAccessory; - r += `<br>${slave.slaveName}'s leg accessory was set to ${rule.legAccessory}.`; + if (rule.legAccessory !== undefined && rule.legAccessory !== "no default setting") { + if (rule.legAccessory !== slave.legAccessory) { + if (slave.amp !== 1 && slave.legAccessory !== rule.legAccessory) { + slave.legAccessory = rule.legAccessory; + r += `<br>${slave.slaveName}'s leg accessory was set to ${rule.legAccessory}.`; + } } } } @@ -1150,7 +1150,7 @@ window.DefaultRules = (function() { slave.trust -= 10, slave.devotion -= 10; } else if (slave.fetish === "pregnancy") { r += `${he} did not handle it well.`; - let fetishModifier = (slave.fetishStrength / 2); + const fetishModifier = (slave.fetishStrength / 2); slave.devotion -= (1 * fetishModifier), (slave.trust -= 1 * fetishModifier); } else if (slave.devotion <= 20) { r += `${he} did not handle it well.`; @@ -1825,7 +1825,7 @@ window.DefaultRules = (function() { slave.curatives = rule.curatives; } } else { - r += `<br>${slave.slaveName} has been ${rule.curatives > 0 ? "put on preventatives" : "taken off health drugs"}`; + r += `<br>${slave.slaveName} has been ${rule.curatives > 0 ? "put on preventatives" : "taken off health drugs"}.`; slave.curatives = rule.curatives; } } diff --git a/src/js/rulesAssistantOptions.js b/src/js/rulesAssistantOptions.js index 2b61cf819ea041c8828c3563df4443d660adb56c..3de9d95cefa0d2ee1d82591dd64ba5b58333286a 100644 --- a/src/js/rulesAssistantOptions.js +++ b/src/js/rulesAssistantOptions.js @@ -1288,7 +1288,7 @@ window.rulesAssistantOptions = (function() { class LeggingsList extends List { constructor() { const items = [ - ["No default setting"], + ["No default setting", "no default setting"], ["None", "none"], ["Short stockings", "short stockings"], ["Long stockings", "long stockings"],