From bd9fefa9d507673f600043170eb9d649fa3b2969 Mon Sep 17 00:00:00 2001 From: Svornost <11434-svornost@users.noreply.gitgud.io> Date: Sun, 7 Jun 2020 09:57:53 -0700 Subject: [PATCH] Sole parents who prefer feminine titles should be called Mom, not Dad, by their offspring. --- src/js/assayJS.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/js/assayJS.js b/src/js/assayJS.js index e2082d7c3c4..3e4d8688912 100644 --- a/src/js/assayJS.js +++ b/src/js/assayJS.js @@ -465,7 +465,8 @@ globalThis.getEnunciation = function(slave) { ret.title = "Mithtreth"; } if (V.allowFamilyTitles === 1) { - if (slave.father === -1) { + const soleParentPrefersMom = slave.father === -1 && slave.mother === -1 && V.PC.title === 0; + if (slave.father === -1 && !soleParentPrefersMom) { if (slave.actualAge < 4 && slave.physicalAge < 4) { ret.title = "Dadda"; } else if (slave.actualAge < 9) { @@ -543,7 +544,8 @@ globalThis.getEnunciation = function(slave) { ret.title = "Mistress"; } if (V.allowFamilyTitles === 1) { - if (slave.father === -1) { + const soleParentPrefersMom = slave.father === -1 && slave.mother === -1 && V.PC.title === 0; + if (slave.father === -1 && !soleParentPrefersMom) { if (slave.actualAge < 4 && slave.physicalAge < 4) { ret.title = "Dadda"; } else if (slave.actualAge < 9) { -- GitLab