diff --git a/src/js/economyJS.js b/src/js/economyJS.js index 61e8197b7277a727ccd1de3d5c3791ad04e5540e..1627b0c52e7d41a8d62d9a0e45fa202f03d6c27e 100644 --- a/src/js/economyJS.js +++ b/src/js/economyJS.js @@ -901,7 +901,7 @@ window.NPCSexSupply = function(LC) { // The function for calculating and storing a slave's sexual interaction with citizens/'the outside' window.slaveJobValues = function() { const V = State.variables; - const slaveJobValues = {arcade: 0, club: 0, clubSP: 0}; let clubSpots = 0; const toTheClubTotal = 0; let DJRepBonus = 0; + const slaveJobValues = {arcade: 0, club: 0, clubSP: 0}; let clubSpots = 0; const toTheClubTotal = 0; V.slavesGettingHelp = 0; // This section is for specific slaves or non-unique slaves adding their values to the whole @@ -938,26 +938,27 @@ window.slaveJobValues = function() { } } if (V.DJ !== 0) { + V.DJRepBonus = 0; if (V.DJ.relationship === -3 && V.DJ.devotion > 50) { - DJRepBonus += 0.1; + V.DJRepBonus += 0.1; // $He tries $his best to be your energetic, cheerful wife. } if (V.DJ.eyes === -2) { - DJRepBonus += 0.15; + V.DJRepBonus += 0.15; } if (V.DJ.skill.entertainment <= 10) { // Though $DJ.slaveName does $his best to lead on the club, with $his lack of skill $he can do little. } else if (V.DJ.skill.entertainment <= 30) { - DJRepBonus += 0.05; + V.DJRepBonus += 0.05; // $DJ.slaveName's basic skills marginally <span class="green">improve</span> the atmosphere in $clubName. } else if (V.DJ.skill.entertainment <= 60) { - DJRepBonus += 0.1; + V.DJRepBonus += 0.1; // $DJ.slaveName's skills <span class="green">improve</span> the atmosphere in $clubName. } else if (V.DJ.skill.entertainment < 100) { - DJRepBonus += 0.15; + V.DJRepBonus += 0.15; // $DJ.slaveName's skills greatly <span class="green">improve</span> the atmosphere in $clubName. } else if (V.DJ.skill.entertainment >= 100) { - DJRepBonus += 0.20; + V.DJRepBonus += 0.20; // $DJ.slaveName's mastery immensely <span class="green">;improves</span> the atmosphere in $clubName. } if (V.DJ.muscles > 5 && V.DJ.muscles <= 95) { @@ -965,18 +966,18 @@ window.slaveJobValues = function() { // $His toned body helps $him lead $his fellow club girls by letting $him dance all night. } if (V.DJ.intelligence + V.DJ.intelligenceImplant > 15) { - DJRepBonus += 0.05 * Math.floor((V.DJ.intelligence + V.DJ.intelligenceImplant) / 32); + V.DJRepBonus += 0.05 * Math.floor((V.DJ.intelligence + V.DJ.intelligenceImplant) / 32); // $He's smart enough to make an actual contribution to the music, greatly enhancing the entire experience. } if (V.DJ.face > 95) { - DJRepBonus += 0.05; + V.DJRepBonus += 0.05; // $His great beauty is a further draw, even when $he's in $his DJ booth, but especially when $he comes out to dance. } if (setup.DJCareers.includes(V.DJ.career)) { - DJRepBonus += 0.05; + V.DJRepBonus += 0.05; // $He has musical experience from $his life before $he was a slave, a grounding that gives $his tracks actual depth. } else if (V.DJ.skill.DJ >= V.masteredXP) { - DJRepBonus += 0.05; + V.DJRepBonus += 0.05; // $He has musical experience from working for you, giving $his tracks actual depth. } @@ -1114,7 +1115,7 @@ window.slaveJobValues = function() { } } if (s.assignment === "serve in the club" || toTheClub === 1) { - beautyMultiplier += DJRepBonus; + beautyMultiplier += V.DJRepBonus; } if (canHear(s) === false) { beautyMultiplier -= 0.15; diff --git a/src/uncategorized/endWeek.tw b/src/uncategorized/endWeek.tw index 2890586bb40fc1bfac4490a630ec9395ef9a788e..f907ebb374607e06de18338dc74f4eba1a034bee 100644 --- a/src/uncategorized/endWeek.tw +++ b/src/uncategorized/endWeek.tw @@ -240,7 +240,7 @@ <<set $PC.pregWeek++>> <</if>> -<<set $HGEnergy = 0, $HGCum = 0, $HGSlaveSuccess = 0, $HeadGirl = 0, $Recruiter = 0, $Madam = 0, $madamCashBonus = 0, $DJ = 0, $unDJ = 0, $Milkmaid = 0, $Farmer = 0, $Collectrix = 0, $Stewardess = 0, $Schoolteacher = 0, $Wardeness = 0, $Concubine = 0, $Attendant = 0, $Matron = 0, $Nurse = 0, $Bodyguard = 0, $fuckSlaves = 0, $freeSexualEnergy = 0, $publicServants = 0, $cumSlaves = 0, $averageDick = 0, $slavesWithWorkingDicks = 0, $slaveJobValues = {}>> +<<set $HGEnergy = 0, $HGCum = 0, $HGSlaveSuccess = 0, $HeadGirl = 0, $Recruiter = 0, $Madam = 0, $madamCashBonus = 0, $DJ = 0, $unDJ = 0, $DJRepBonus = 0, $Milkmaid = 0, $Farmer = 0, $Collectrix = 0, $Stewardess = 0, $Schoolteacher = 0, $Wardeness = 0, $Concubine = 0, $Attendant = 0, $Matron = 0, $Nurse = 0, $Bodyguard = 0, $fuckSlaves = 0, $freeSexualEnergy = 0, $publicServants = 0, $cumSlaves = 0, $averageDick = 0, $slavesWithWorkingDicks = 0, $slaveJobValues = {}>> /* GAMEOVERS */ <<if $slaves.length < 1>>