diff --git a/src/js/sexActsJS.js b/src/js/sexActsJS.js index 4f9aa2be43b0dd24df0f7d8a79ca9f39b8ff077e..c724573d7c0531e3e5e6be454b4b1b1671277342 100644 --- a/src/js/sexActsJS.js +++ b/src/js/sexActsJS.js @@ -14,6 +14,7 @@ window.AnalVCheck = function AnalVCheck(times) { // boy = pronouns.noun; const He = capFirstChar(he); const His = capFirstChar(his); + times = times || 1; let r = ``; if (canDoAnal(slave) && slave.anus === 0) { r += `@@.lime;This breaks in ${slave.slaveName}'s virgin ass.@@ `; @@ -46,13 +47,8 @@ window.AnalVCheck = function AnalVCheck(times) { if (canImpreg(slave, V.PC)) { r += knockMeUp(slave, 10, 1, -1, 1); } - if (!times) { - V.analTotal += 1; - slave.analCount += 1; - } else { - V.analTotal += times; - slave.analCount += times; - } + V.analTotal += times; + slave.analCount += times; } return r; }; @@ -73,6 +69,7 @@ window.VaginalVCheck = function VaginalVCheck(times) { const boy = pronouns.noun; const He = capFirstChar(he); const His = capFirstChar(his); + times = times || 1; let r = ``; if (canDoVaginal(slave) && slave.vagina === 0) { r += `@@.lime;This breaks in ${slave.slaveName}'s virgin pussy.@@ `; @@ -106,15 +103,9 @@ window.VaginalVCheck = function VaginalVCheck(times) { if (canImpreg(slave, V.PC)) { r += knockMeUp(slave, 10, 0, -1, 1); } - if (!times) { - V.vaginalTotal += 1; - slave.vaginalCount += 1; - } else { - V.vaginalTotal += times; - slave.vaginalCount += times; - } + V.vaginalTotal += times; + slave.vaginalCount += times; } - return r; }; @@ -135,6 +126,8 @@ window.BothVCheck = function BothVCheck(analTimes, bothTimes) { const boy = pronouns.noun; const He = capFirstChar(he); const His = capFirstChar(his); + bothTimes = bothTimes || 1; + analTimes = analTimes || 1; let r = ``; if (canDoVaginal(slave)) { if (slave.vagina === 0) { @@ -198,28 +191,16 @@ window.BothVCheck = function BothVCheck(analTimes, bothTimes) { slave.anus = 1; } if (canDoAnal(slave)) { - if (!bothTimes) { - V.vaginalTotal += 1; - V.analTotal += 1; - slave.vaginalCount += 1; - slave.analCount += 1; - } else { - V.vaginalTotal += bothTimes; - V.analTotal += bothTimes; - slave.vaginalCount += bothTimes; - slave.analCount += bothTimes; - } + V.vaginalTotal += bothTimes; + V.analTotal += bothTimes; + slave.vaginalCount += bothTimes; + slave.analCount += bothTimes; if (canImpreg(slave, V.PC)) { r += knockMeUp(slave, 10, 2, -1, 1); } } else { - if (!bothTimes) { - V.vaginalTotal += 1; - slave.vaginalCount += 1; - } else { - V.vaginalTotal += bothTimes; - slave.vaginalCount += bothTimes; - } + V.vaginalTotal += bothTimes; + slave.vaginalCount += bothTimes; if (canImpreg(slave, V.PC)) { r += knockMeUp(slave, 10, 0, -1, 1); } @@ -247,13 +228,8 @@ window.BothVCheck = function BothVCheck(analTimes, bothTimes) { } slave.anus = 1; } - if (!analTimes) { - V.analTotal += 1; - slave.analCount += 1; - } else { - V.analTotal += analTimes; - slave.analCount += analTimes; - } + V.analTotal += analTimes; + slave.analCount += analTimes; if (canImpreg(slave, V.PC)) { r += knockMeUp(slave, 10, 1, -1, 1); } @@ -295,6 +271,8 @@ window.PartnerVCheck = function PartnerVCheck(analTimes, bothTimes) { const boy = pronouns.noun; const He = capFirstChar(he); const His = capFirstChar(his); + bothTimes = bothTimes || 1; + analTimes = analTimes || 1; let r = ``; if (V.partner < 0 || V.partner >= V.slaves.length) { @@ -315,28 +293,16 @@ window.PartnerVCheck = function PartnerVCheck(analTimes, bothTimes) { } if (canDoAnal(partner)) { - if (!bothTimes) { - V.vaginalTotal += 1; - V.analTotal += 1; - partner.vaginalCount += 1; - partner.analCount += 1; - } else { - V.vaginalTotal += bothTimes; - V.analTotal += bothTimes; - partner.vaginalCount += bothTimes; - partner.analCount += bothTimes; - } + V.vaginalTotal += bothTimes; + V.analTotal += bothTimes; + partner.vaginalCount += bothTimes; + partner.analCount += bothTimes; if (canImpreg(partner, V.PC)) { r += knockMeUp(partner, 10, 2, -1); } } else { - if (!bothTimes) { - V.vaginalTotal += 1; - partner.vaginalCount += 1; - } else { - V.vaginalTotal += bothTimes; - partner.vaginalCount += bothTimes; - } + V.vaginalTotal += bothTimes; + partner.vaginalCount += bothTimes; if (canImpreg(partner, V.PC)) { r += knockMeUp(partner, 10, 0, -1); } @@ -346,13 +312,8 @@ window.PartnerVCheck = function PartnerVCheck(analTimes, bothTimes) { r += `Since it's ${partner.slaveName}'s first time, you take your time and gently ease yourself into ${his} butthole before gradually increasing the intensity of your thrusts into ${his} ass. @@.lime;This breaks in ${partner.slaveName}'s virgin ass.@@ `; partner.anus = 1; } - if (!analTimes) { - V.analTotal += 1; - partner.analCount += 1; - } else { - V.analTotal += analTimes; - partner.analCount += analTimes; - } + V.analTotal += analTimes; + partner.analCount += analTimes; if (canImpreg(partner, V.PC)) { r += knockMeUp(partner, 10, 1, -1); } @@ -517,22 +478,14 @@ window.SimpleSlaveSlaveFucking = function SimpleSlaveSlaveFucking(subslave, doms /** @param {App.Entity.SlaveState} slave */ window.SimpleVaginaFuck = function SimpleVaginaFuck(slave, count) { - if (count) { - State.variables.vaginalTotal += count; - slave.vaginalCount += count; - } else { - State.variables.vaginalTotal++; - slave.vaginalCount++; - } + count = count || 1; + State.variables.vaginalTotal += count; + slave.vaginalCount += count; }; /** @param {App.Entity.SlaveState} slave */ window.SimpleAssFuck = function SimpleAssFuck(slave, count) { - if (count) { - State.variables.analTotal += count; - slave.analCount += count; - } else { - State.variables.analTotal++; - slave.analCount++; - } + count = count || 1; + State.variables.analTotal += count; + slave.analCount += count; };