diff --git a/src/endWeek/economics/persBusiness.js b/src/endWeek/economics/persBusiness.js index d7fe098b5a42c658acf19db6fe693aeacd404261..dee87e2f029a657ef9d20a0d21b48498bec8d726 100644 --- a/src/endWeek/economics/persBusiness.js +++ b/src/endWeek/economics/persBusiness.js @@ -1170,7 +1170,7 @@ App.EndWeek.personalBusiness = function() { App.Events.addParagraph(el, r); if (V.SF.Toggle && V.SF.Active >= 1) { - el.append(App.SF.AAR()); + $(el).wiki(App.SF.AAR()); } return el; }; diff --git a/src/npc/generate/generateLeadershipSlave.js b/src/npc/generate/generateLeadershipSlave.js index 583e1be4388e79601e1ee34027998d0e069b01d0..11f45fad4cd8e30681522643861d6cf397e46842 100644 --- a/src/npc/generate/generateLeadershipSlave.js +++ b/src/npc/generate/generateLeadershipSlave.js @@ -6,7 +6,7 @@ globalThis.generateLeadershipSlave = function(input, location) { slave.prostate = prostate; } }; - + const agePenaltyCheck = V.AgePenalty === 1 ? 36 : 20; const isMotherly = V.JFC.role === 'Motherly Attendant'; let ageMin, ageMax; @@ -21,7 +21,7 @@ globalThis.generateLeadershipSlave = function(input, location) { ageMin = 24; } else if (input.contains('Attendant')) { ageMin = isMotherly ? 36 : 26; - } + } ageMax = V.retirementAge-3; break; case "Headgirl": @@ -35,7 +35,7 @@ globalThis.generateLeadershipSlave = function(input, location) { ageMin = 20; ageMax = 36; } - + let slave = GenerateNewSlave("XX", {minAge: ageMin, maxAge: ageMax, ageOverridesPedoMode: 1, disableDisability: 1}); const {his} = getPronouns(slave); slave.devotion = jsRandom(21, 85);