diff --git a/src/js/slaveListing.js b/src/js/slaveListing.js index 060f2a5470eda8f5acd335a2c76a55fdf3dccf71..1a1deadb415dd22e46f29dbd39f40e09f30f83c5 100644 --- a/src/js/slaveListing.js +++ b/src/js/slaveListing.js @@ -574,7 +574,6 @@ App.UI.selectSlaveForPersonalAttention = function(id) { */ App.UI.SlaveList.sortingLinks = function(passage) { const outerDiv = document.createElement("div"); - outerDiv.classList.add("flex-container"); const textify = string => capFirstChar(string.replace(/([A-Z])/g, " $1")); let innerDiv = App.UI.DOM.makeElement("div", "Sort by: ", "indent"); @@ -584,7 +583,7 @@ App.UI.SlaveList.sortingLinks = function(passage) { innerDiv.append(App.UI.DOM.arrayToList(order, " | ", " | ")); outerDiv.append(innerDiv); - innerDiv = App.UI.DOM.makeElement("div", "Sort: ", "indent"); + innerDiv = App.UI.DOM.makeElement("div", "Sort direction: ", "indent"); order = ["descending", "ascending"].map(so => V.sortSlavesOrder !== so ? App.UI.DOM.passageLink(textify(so), passage, () => { V.sortSlavesOrder = so; }) : textify(so)); innerDiv.append(App.UI.DOM.arrayToList(order, " | ", " | ")); diff --git a/src/js/utilsFC.js b/src/js/utilsFC.js index e33d9c8e2e7e349085711420d007cbd300c8869e..0690e3f524b37f3453325f81935f471b3cbfea28 100644 --- a/src/js/utilsFC.js +++ b/src/js/utilsFC.js @@ -2208,15 +2208,15 @@ globalThis.convertCareer = function(slave) { }; /** - * @param {string} targetSkill. Skill to be checked. - * @param {Object} slave. Slave to be checked. + * @param {string} targetSkill - Skill to be checked. + * @param {Object} slave - Slave to be checked. * @param {number} [skillIncrease=1] * @returns {string} */ globalThis.slaveSkillIncrease = function(targetSkill, slave, skillIncrease = 1) { let r = "", skillDec; - const {He, his} = getPronouns(slave), - isleadershipRole = function() { + const {He, his, him} = getPronouns(slave); + const isleadershipRole = function() { if (['headGirl', 'recruiter', 'bodyguard', 'madam', 'DJ', 'nurse', 'teacher', 'attendant', 'matron', 'stewardess', 'milkmaid', 'farmer', 'wardeness'].includes(targetSkill)) { return true; } @@ -2244,9 +2244,9 @@ globalThis.slaveSkillIncrease = function(targetSkill, slave, skillIncrease = 1) case 'oral': r += ` and at least suck a dick without constant gagging.`; break; case 'vaginal': - r += ` and avoid some of the common pitfalls and turnoffs`; break; + r += ` and can avoid some of the common pitfalls and turnoffs.`; break; case 'anal': - r += ` and can accept penetration of ${his} anus without danger`; break; + r += ` and can accept penetration of ${his} anus without danger.`; break; case 'whoring': r += ` and can avoid some potentially dangerous situations.`; break; case 'entertainment': @@ -2304,7 +2304,7 @@ globalThis.slaveSkillIncrease = function(targetSkill, slave, skillIncrease = 1) case 'oral': r += ` and has a delightfully experienced tongue.`; break; case 'vaginal': - r += ` and has the muscular control to massage anything that's inside $him`; break; + r += ` and has the muscular control to massage anything that's inside ${him}.`; break; case 'anal': r += ` and knows how to use ${his} sphincter to please.`; break; case 'whoring': diff --git a/src/uncategorized/saRules.tw b/src/uncategorized/saRules.tw index 5c539518af8a68bdae7ab3440e38bd9b5ec5663b..8a6e9aab602fb4b2fa20adaa8d16de614732f23a 100644 --- a/src/uncategorized/saRules.tw +++ b/src/uncategorized/saRules.tw @@ -1591,7 +1591,7 @@ <<if ($slaves[$i].attrKnown == 0)>> <<if ($week-$slaves[$i].weekAcquired > 4) && $slaves[$i].energy > 20>> <<set $slaves[$i].attrKnown = 1>> - <<= capFirstChar($assistant.name)>> has been monitoring $him choice of entertainment, analyzing $his sexuality. It seems $he is + <<= capFirstChar($assistant.name)>> has been monitoring $his choice of entertainment, analyzing $his sexuality. It seems $he is <<saRulesAttractionDiscovery>> <</if>> <</if>>