diff --git a/src/js/itemAvailability.js b/src/js/itemAvailability.js index 2347815d0ffbe8a6fe4de1ea501e11da78ca1df1..cbb74415ff525e0c98f7cb7e6d5b72f850708267 100644 --- a/src/js/itemAvailability.js +++ b/src/js/itemAvailability.js @@ -287,7 +287,7 @@ window.isClothingAccessible = (function() { return array; } function isAvailable(item, category, slave) { - if (!(item.hasOwnProperty("isUnlocked")) && !(item.hasOwnProperty("fs")) && !(item.hasOwnProperty("rs"))) { + if (!(item.hasOwnProperty("fs")) && !(item.hasOwnProperty("rs"))) { // No restriction, this clothing item is available to everyone return true; } @@ -301,9 +301,6 @@ window.isClothingAccessible = (function() { return true; } } - if (item.hasOwnProperty("isUnlocked")) { //Maybe remove - return item.isUnlocked(slave); - } if (slave) { return isAvailableForSlave(item, slave); } @@ -313,9 +310,6 @@ window.isClothingAccessible = (function() { switch (category) { case "clothing": case "clothes": - switch (item.value) { - - } break; case "collar": break;