diff --git a/js/003-data/slaveMods.js b/js/003-data/slaveMods.js index 1d660eb8e5b9ab782d5065dc817eb4935257eddc..110f77749eaf83eca773b9962cf1d366ac62f235 100644 --- a/js/003-data/slaveMods.js +++ b/js/003-data/slaveMods.js @@ -39,7 +39,7 @@ App.Medicine.Modification.Brands = { FS: { "a racial slur": { displayName: "Racial Slur", - requirements: function() { + requirements: function(slave) { return ( (V.arcologies[0].FSSupremacist !== "unset" && slave.race !== V.arcologies[0].FSSupremacistRace) || (V.arcologies[0].FSSubjugationist !== "unset" && slave.race === V.arcologies[0].FSSubjugationistRace) @@ -48,145 +48,145 @@ App.Medicine.Modification.Brands = { }, "how much sex $he needs per day": { displayName: "Scores", - requirements: function() { + requirements: function(slave) { return (V.arcologies[0].FSIntellectualDependency !== "unset"); } }, "$his average slave aptitude test scores": { displayName: "Scores", - requirements: function() { + requirements: function(slave) { return (V.arcologies[0].FSSlaveProfessionalism !== "unset"); } }, "the number of children $he has birthed": { displayName: "Birth Count", - requirements: function() { + requirements: function(slave) { return (V.arcologies[0].FSRepopulationFocus !== "unset"); } }, "a gender symbol": { displayName: "Gender Symbol", - requirements: function() { + requirements: function(slave) { return ((V.arcologies[0].FSGenderRadicalist !== "unset") || (V.arcologies[0].FSGenderFundamentalist !== "unset")); } }, "$his own personal symbol": { displayName: "Personal Symbol", - requirements: function() { + requirements: function(slave) { return (V.arcologies[0].FSPaternalist !== "unset"); } }, "a chain symbol": { displayName: "Chain Symbol", - requirements: function() { + requirements: function(slave) { return (V.arcologies[0].FSDegradationist !== "unset"); } }, "a Vitruvian man": { displayName: "Vitruvian Man", - requirements: function() { + requirements: function(slave) { return (V.arcologies[0].FSBodyPurist !== "unset"); } }, "a scalpel": { displayName: "Scalpel", - requirements: function() { + requirements: function(slave) { return (V.arcologies[0].FSTransformationFetishist !== "unset"); } }, "$his virginity status": { displayName: "Virginity Status", - requirements: function() { + requirements: function(slave) { return (V.arcologies[0].FSYouthPreferentialist !== "unset"); } }, "$his sexual skills": { displayName: "Sexual Skill Info", - requirements: function() { + requirements: function(slave) { return (V.arcologies[0].FSMaturityPreferentialist !== "unset"); } }, "$his current height": { displayName: "Current height", - requirements: function() { + requirements: function(slave) { return ((V.arcologies[0].FSPetiteAdmiration !== "unset") || (V.arcologies[0].FSStatuesqueGlorification !== "unset")); } }, "$his absolute minimum breast size": { displayName: "Breast Floor", - requirements: function() { + requirements: function(slave) { return (V.arcologies[0].FSSlimnessEnthusiast !== "unset"); } }, "$his absolute maximum breast size": { displayName: "Breast Ceiling", - requirements: function() { + requirements: function(slave) { return (V.arcologies[0].FSAssetExpansionist !== "unset"); } }, "$his highest weigh-in": { displayName: "Weight Record", - requirements: function() { + requirements: function(slave) { return (V.arcologies[0].FSHedonisticDecadence !== "unset"); } }, "a big helping of your favorite food": { displayName: "Favorite Food", - requirements: function() { + requirements: function(slave) { return ((V.arcologies[0].FSHedonisticDecadence !== "unset") && V.PC.refreshmentType === 2); } }, "$his body product quality": { displayName: "Product Quality", - requirements: function() { + requirements: function(slave) { return (V.arcologies[0].FSPastoralist !== "unset"); } }, "$his deadlift record": { displayName: "Deadlift Info", - requirements: function() { + requirements: function(slave) { return (V.arcologies[0].FSPhysicalIdealist !== "unset"); } }, "a religious symbol": { displayName: "Religious Symbol", - requirements: function() { + requirements: function(slave) { return (V.arcologies[0].FSChattelReligionist !== "unset"); } }, "the crest of your Republic": { displayName: "Republican Crest", - requirements: function() { + requirements: function(slave) { return (V.arcologies[0].FSRomanRevivalist !== "unset"); } }, "the symbol of the Aztec gods": { displayName: "Seven Serpents", - requirements: function() { + requirements: function(slave) { return (V.arcologies[0].FSAztecRevivalist !== "unset"); } }, "the sigil of your Dynasty": { displayName: "Dynastic Sigil", - requirements: function() { + requirements: function(slave) { return (V.arcologies[0].FSEgyptianRevivalist !== "unset"); } }, "the Shogunate's mon": { displayName: "Mon", - requirements: function() { + requirements: function(slave) { return (V.arcologies[0].FSEdoRevivalist !== "unset"); } }, "a symbol of the Caliphate": { displayName: "Caliphate Symbol", - requirements: function() { + requirements: function(slave) { return (V.arcologies[0].FSArabianRevivalist !== "unset"); } }, "your Imperial Seal": { displayName: "Imperial Seal", - requirements: function() { + requirements: function(slave) { return (V.arcologies[0].FSChineseRevivalist !== "unset"); } }, diff --git a/src/uncategorized/bodyModification.js b/src/uncategorized/bodyModification.js index 0839bdf7582dc3ddf8e1fa82df37c0f1dee5c796..5d2653964dabd18745ddcc64239ef584b630d0f3 100644 --- a/src/uncategorized/bodyModification.js +++ b/src/uncategorized/bodyModification.js @@ -244,7 +244,7 @@ App.Medicine.Modification.Select.brand = function(slave, cheat = false) { for (const brand in list) { const frag = new DocumentFragment(); if (!cheat && list[brand].hasOwnProperty("requirements")) { - if (!list[brand].requirements()) { + if (!list[brand].requirements(slave)) { continue; } }