diff --git a/src/npc/interaction/fPCImpreg.js b/src/npc/interaction/fPCImpreg.js index 3a611a094d64aa7d4f7a50842f831a2d538ec835..88d1caa54decb7540485368b697a0d0624048a8a 100644 --- a/src/npc/interaction/fPCImpreg.js +++ b/src/npc/interaction/fPCImpreg.js @@ -264,7 +264,7 @@ App.Interact.fPCImpreg = function(slave) { text.push(`is <span class="pregnant">carrying your child.</span>`); } - if (V.arcologies[0].FSRestart !== 'unset' && (!slave.breedingMark || !V.propOutcome) && V.eugenicsFullControl) { + if (V.arcologies[0].FSRestart !== 'unset' && (!slave.breedingMark || V.propOutcome === 0) && V.eugenicsFullControl !== 1) { text.push(`Rumors spread about you fucking your slaves pregnant; the Societal Elite are <span class="reputation dec">very displeased</span> by these rumors.`); V.failedElite += 5; @@ -273,24 +273,18 @@ App.Interact.fPCImpreg = function(slave) { if (V.arcologies[0].FSGenderRadicalist !== 'unset' && slave.mpreg) { text.push(`Society <span class="reputation inc">approves</span> of your fucking your slaves' asses pregnant; this advances the ideal all a slave needs is ${his} rear.`); - // FIXME: The left-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type. repX(V.FSSingleSlaveRep * (V.arcologies[0].FSGenderRadicalist / V.FSLockinLevel), 'futureSocieties', slave); - // FIXME: Operator '+=' cannot be applied to types 'string | number' and 'number'. V.arcologies[0].FSGenderRadicalist += 0.05 * V.FSSingleSlaveRep; } else if (V.arcologies[0].FSGenderFundamentalist !== 'unset') { if (slave.mpreg) { text.push(`Society <span class="reputation inc">approves</span> of your putting a new slave in ${him}; this advances the idea that all slaves should bear their masters' babies.`); - // FIXME: The left-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type. repX(forceNeg(V.FSSingleSlaveRep * (V.arcologies[0].FSGenderFundamentalist / V.FSLockinLevel)), 'futureSocieties', slave); - // FIXME: Operator '+=' cannot be applied to types 'string | number' and 'number'. V.arcologies[0].FSGenderFundamentalist -= 0.05 * V.FSSingleSlaveRep; } else { text.push(`Society <span class="reputation dec">is disgusted</span> by this degenerate form of reproduction.`); - // FIXME: The left-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type. repX(V.FSSingleSlaveRep * (V.arcologies[0].FSGenderFundamentalist / V.FSLockinLevel), 'futureSocieties', slave); - // FIXME: Operator '+=' cannot be applied to types 'string | number' and 'number'. V.arcologies[0].FSGenderFundamentalist += 0.05 * V.FSSingleSlaveRep; } }