Skip to content
Snippets Groups Projects
Commit 816ce367 authored by Trinidad's avatar Trinidad :flag_es:
Browse files

modified: src/js/utilsMisc.js

parent 59d03ad2
No related branches found
No related tags found
1 merge request!11514Calculate penetrative social use
...@@ -402,20 +402,20 @@ globalThis.weightedRandom = function(values) { ...@@ -402,20 +402,20 @@ globalThis.weightedRandom = function(values) {
globalThis.penetrativeSocialUse = function(slave = null) { globalThis.penetrativeSocialUse = function(slave = null) {
let total = 0; let total = 0;
if (V.policies.sexualOpenness) { if (V.policies.sexualOpenness) {
total += 40 + 15 * (Math.clamp(V.rep - 5000, 0, 12000) / 12000); // penetrative campaign, related to reputation, (40 to 55) total += 40 + 20 * (Math.clamp(V.rep - 5000, 0, 12000) / 12000); // penetrative campaign, related to reputation, (40 to 60)
} }
total += V.LDE.schoolPresent * 3 + V.TGA.schoolPresent * 3 + V.TFS.schoolPresent * 10; // slave schools focused on penises total += V.LDE.schoolPresent * 3 + V.TGA.schoolPresent * 3 + V.TFS.schoolPresent * 10; // slave schools focused on penises
total += FutureSocieties.isActive("FSGenderRadicalist") ? 20 : 0; total += FutureSocieties.isActive("FSGenderRadicalist") ? 25 : 0;
total += [0, 10, 15, 0, 3][V.arcologies[0].FSGenderRadicalistLawFuta]; // 10 futas, 15 big dicks & balls, 3 small dicks total += [0, 15, 20, 0, 5][V.arcologies[0].FSGenderRadicalistLawFuta]; // 15 futas, 20 big dicks & balls, 5 small dicks
total += FutureSocieties.isActive("FSNull") ? 10 : 0; total += FutureSocieties.isActive("FSNull") ? 15 : 0;
total += V.arcologies[0].FSRepopulationFocusLaw * 5; total += V.arcologies[0].FSRepopulationFocusLaw * 10;
total -= FutureSocieties.isActive("FSGenderFundamentalist") ? 20 : 0; total -= FutureSocieties.isActive("FSGenderFundamentalist") ? 25 : 0;
total -= V.arcologies[0].FSGenderFundamentalistSMR ? 30 : 0; total -= V.arcologies[0].FSGenderFundamentalistSMR ? 30 : 0;
total -= FutureSocieties.isActive("FSEdoRevivalist") ? 10 : 0; total -= FutureSocieties.isActive("FSEdoRevivalist") ? 10 : 0;
total -= FutureSocieties.isActive("FSArabianRevivalist") ? 10 : 0; total -= FutureSocieties.isActive("FSArabianRevivalist") ? 10 : 0;
total -= FutureSocieties.isActive("FSChineseRevivalist") ? 10 : 0; total -= FutureSocieties.isActive("FSChineseRevivalist") ? 10 : 0;
total -= FutureSocieties.isActive("FSRestart") ? 20 : 0; total -= FutureSocieties.isActive("FSRestart") ? 25 : 0;
total -= V.arcologies[0].FSRestartSMR ? 30 : 0; total -= V.arcologies[0].FSRestartSMR ? 30 : 0;
total -= FutureSocieties.isActive("FSAztecRevivalist") ? 10 : 0; total -= FutureSocieties.isActive("FSAztecRevivalist") ? 10 : 0;
total -= FutureSocieties.isActive("FSNeoImperialist") ? 10 : 0; total -= FutureSocieties.isActive("FSNeoImperialist") ? 10 : 0;
...@@ -424,13 +424,13 @@ globalThis.penetrativeSocialUse = function(slave = null) { ...@@ -424,13 +424,13 @@ globalThis.penetrativeSocialUse = function(slave = null) {
total = Math.clamp(total, 0, 100); total = Math.clamp(total, 0, 100);
if (slave && asSlave(slave)) { if (slave && asSlave(slave)) {
total += slave.toyHole === "dick" ? 2 : 0; total += slave.toyHole === "dick" ? 5 : 0;
// total += (slave.skill.penetrative / 10); // total += (slave.skill.penetrative / 10);
if (FutureSocieties.isActive("FSSupremacist")) { if (FutureSocieties.isActive("FSSupremacist")) {
total += V.arcologies[0].FSSupremacistRace === slave.race ? 10 : -20; total += V.arcologies[0].FSSupremacistRace === slave.race ? 10 : -20;
} }
if (FutureSocieties.isActive("FSSubjugationist")) { if (FutureSocieties.isActive("FSSubjugationist")) {
total += V.arcologies[0].FSSubjugationistRace === slave.race ? 15 : 0; total += V.arcologies[0].FSSubjugationistRace === slave.race ? 20 : 0;
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment