From 30b69943ca984fe1b2a49cbb5773363a43850916 Mon Sep 17 00:00:00 2001 From: Pregmodder <pregmodder@gmail.com> Date: Thu, 28 Sep 2023 14:39:04 -0400 Subject: [PATCH] work --- src/endWeek/reports/personalAttention.js | 29 +++++++++++++++++++++--- 1 file changed, 26 insertions(+), 3 deletions(-) diff --git a/src/endWeek/reports/personalAttention.js b/src/endWeek/reports/personalAttention.js index 5bb98b63915..00c8a296ae5 100644 --- a/src/endWeek/reports/personalAttention.js +++ b/src/endWeek/reports/personalAttention.js @@ -138,7 +138,7 @@ App.PersonalAttention.slaveReport = function(slave) { r.push(`when ${he} isn't otherwise occupied.`); } slave.training = Math.clamp(slave.training, 0, 100); - slave.training += 50 + Math.round((V.PC.intelligence + V.PC.intelligenceImplant) / 4.33) - (slave.intelligence + slave.intelligenceImplant) / 5 + ((slave.devotion + slave.trust) / 10); + slave.training += 50 + Math.trunc((V.PC.intelligence + V.PC.intelligenceImplant) / 4.33) - (slave.intelligence + slave.intelligenceImplant) / 5 + ((slave.devotion + slave.trust) / 10); if (hindranceMod <= .5 && slave.training >= 20) { // .training check to prevent worst case scenarios from going negative here. slave.training -= 10; } @@ -1068,12 +1068,28 @@ App.PersonalAttention.slaveReport = function(slave) { } } break; - case "learn skills": - trainingEfficiency = 10 + Math.trunc(slave.devotion / 30) + Math.floor(slave.intelligence / 32); + case "learn skills": { + trainingEfficiency = 6 + Math.trunc(V.PC.intelligence / 32) + Math.trunc(slave.devotion / 30) + Math.floor(slave.intelligence / 32); + const hindranceModSex = isHinderedDegree(V.PC, true); if (isPCCareerInCategory("escort")) { r.push(`You are well-versed in sexual techniques and how to employ them, giving you an edge in teaching ${him}.`); trainingEfficiency += 10; } + if (pcHorny) { + } else if (pcFrigid) { + r.push(`Needing to teach sex while having no desire to have any complicates matters. You do your best to put up an effort when it comes to practical lessons, but it is far too little to be effective.`); + trainingEfficiency *= .25; + } + trainingEfficiency *= hindranceModSex; + if (hindranceModSex <= .3) { + r.push(`With how difficult it is for you to get around, you end up only taking a fraction of the jobs you would normally consider. That is also not taking into account just how easily identifiable someone with your physique is to the public.`); + } else if (hindranceModSex <= .5) { + r.push(`With how much your body is slowing you down, you end up only taking a fraction of the jobs you would normally consider. Even worse, your hindrances are an increasingly unique characteristic that can be used against you.`); + } else if (hindranceModSex <= .7) { + r.push(`You keep missing out on opportunities between the difficulties getting places with your reduced mobility and the increased risk of your physical hindrances making you identifiable.`); + } + Math.max(1, trainingEfficiency); + if (slave.vagina >= 0) { if (!canDoVaginal(slave) && slave.vagina === 0) { vaginalTrainingEfficiency = Math.trunc(trainingEfficiency / 4); @@ -1098,6 +1114,12 @@ App.PersonalAttention.slaveReport = function(slave) { } else if (slave.intelligence + slave.intelligenceImplant < -15) { r.push(`${His} stupidity makes ${him} absorb ${his} lessons slowly.`); } + if (V.PC.visualAge <= 12 && V.PC.visualAge < V.minimumSlaveAge && !acceptsUnderage(slave)) { + r.push(`${He} is visibly`); + r.push(App.UI.DOM.makeElement("span", `uncomfortable`, ["devotion", "dec"])); + r.push(`being taught sexual techniques by an underage ${girlP}.`); + slave.devotion -= 2; + } if (slave.skill.oral <= 10) { r.push(`Since ${he}'s orally unskilled, you start with ${his} mouth. ${He}`); if (V.PC.dick !== 0) { @@ -1311,6 +1333,7 @@ App.PersonalAttention.slaveReport = function(slave) { currentSlaveValue = 0.1; slave.training = 0; break; + } case "combat training": trainingEfficiency = Math.max(1, Math.round((7 + (slave.devotion / 30) + (slave.intelligence / 32) - (isHindered(slave) ? 2 : 0) - Math.floor(slave.health.tired/ 10)) * hindranceMod * nymphoMod)); r.push(`You focus on passing on your combat skills to ${him}.`); -- GitLab