From c4e7074d343020c92ebd31c64b49c48fc5e2a217 Mon Sep 17 00:00:00 2001 From: lowercasedonkey <lowercasedonkey@gmail.com> Date: Mon, 9 Aug 2021 13:26:22 -0400 Subject: [PATCH] use isPCCareerInCategory more --- src/js/slaveCostJS.js | 2 +- src/npc/startingGirls/startingGirlsPassage.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/js/slaveCostJS.js b/src/js/slaveCostJS.js index ff0ae0341dc..5572f8928f0 100644 --- a/src/js/slaveCostJS.js +++ b/src/js/slaveCostJS.js @@ -2892,7 +2892,7 @@ globalThis.slaveCostBeauty = (function() { startingSlaveMultiplier = Math.clamp(startingSlaveMultiplier, 0, 10); cost += cost * startingSlaveMultiplier; cost = 500 * Math.trunc(cost / 500); - if (V.PC.career === "slaver" || V.PC.career === "slave overseer" || V.PC.career === "slave tender") { + if (isPCCareerInCategory("slaver")) { cost /= 2; } } diff --git a/src/npc/startingGirls/startingGirlsPassage.js b/src/npc/startingGirls/startingGirlsPassage.js index 6e0fb5b4d5b..0872b6e50f2 100644 --- a/src/npc/startingGirls/startingGirlsPassage.js +++ b/src/npc/startingGirls/startingGirlsPassage.js @@ -11,7 +11,7 @@ App.StartingGirls.passage = function() { if (V.PC.dick !== 0 && V.PC.vagina !== -1 && (V.seeDicks !== 0 || V.makeDicks === 1)) { r.push(`Since you have both a penis and a vagina yourself, you've obviously had access to a source of advanced surgery and organ farming. <span class="skill player">Slaves get a smaller cost increase here for having both penises and vaginas, and for having both testicles and ovaries.</span>`); } - if (V.PC.career === "slaver" || V.PC.career === "slave overseer" || V.PC.career === "slave tender") { + if (isPCCareerInCategory("slaver")) { r.push(`Since you`); if (V.PC.career === "slaver") { r.push(`personally saw to the capture, breaking and or training of`); -- GitLab