From 9988ebe8bf164adf815224d186468168cc9c4183 Mon Sep 17 00:00:00 2001 From: lowercasedonkey <lowercasedonkey@gmail.com> Date: Mon, 25 May 2020 15:20:17 -0400 Subject: [PATCH] remove connection to chooses own clothing --- src/js/itemAvailability.js | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/src/js/itemAvailability.js b/src/js/itemAvailability.js index 436f5c09235..5925073fd8a 100644 --- a/src/js/itemAvailability.js +++ b/src/js/itemAvailability.js @@ -307,21 +307,13 @@ globalThis.isItemAccessible = (function() { } case "choose own chastity": { if (slave.choosesOwnChastity !== 1 && slave.devotion > 20 && slave.trust > 0) { - if (slave.choosesOwnClothes === 1) { - return "Slave is not choosing own clothing"; - } else { - return true; - } + return true; } return false; } case "revoke choosing own chastity": { if (slave.choosesOwnChastity > 0 && slave.devotion > 20 && slave.trust > 0) { - if (slave.choosesOwnClothes === 1) { - return "Slave is not choosing own clothing"; - } else { - return true; - } + return true; } return false; } -- GitLab