diff --git a/src/js/slaveSummaryWidgets.js b/src/js/slaveSummaryWidgets.js index 4c7ff1f1563fc2990aeed6ec0e323d478c67630f..a2f01f7d01731168a227445c6f50d10a7f9f5c1a 100644 --- a/src/js/slaveSummaryWidgets.js +++ b/src/js/slaveSummaryWidgets.js @@ -940,7 +940,7 @@ window.SlaveSummaryUncached = (function() { } else if ((slave.preg >= 36) && (slave.broodmother > 0)) { r += `<strong>Perm preg</strong>`; } else if (slave.pregKnown === 1) { - r += `<strong>${capFirstChar(num(slave.pregWeek))} wks preg</strong>`; + r += `<strong>${slave.pregWeek} wks preg</strong>`; } r += `</span> `; if (slave.induce === 1) { @@ -1027,9 +1027,9 @@ window.SlaveSummaryUncached = (function() { r += `May be pregnant.`; } else if (slave.pregKnown === 1) { if (slave.pregType < 2 || slave.broodmother > 0) { - r += `${capFirstChar(num(slave.pregWeek))} weeks pregnant.`; + r += `${slave.pregWeek} weeks pregnant.`; } else { - r += `${capFirstChar(num(slave.pregWeek))} weeks pregnant with `; + r += `${slave.pregWeek} weeks pregnant with `; if (slave.pregType >= 40) { r += `a tremendous brood of offspring.`; } else if (slave.pregType >= 20) { @@ -2424,7 +2424,7 @@ window.SlaveSummaryUncached = (function() { function long_age(slave) { r += `<span class="pink">`; if (V.showAgeDetail === 1) { - r += `Age ` + `${num(slave.actualAge)}` + `.`; + r += `Age ` + `${slave.actualAge}` + `.`; } else if (slave.actualAge >= 40) { r += `Forties.`; } else if (slave.actualAge >= 35) { @@ -2449,10 +2449,10 @@ window.SlaveSummaryUncached = (function() { */ if (((slave.geneMods.NCS === 0) || (slave.visualAge >= slave.physicalAge))) { if (slave.actualAge !== slave.physicalAge) { - r += `${num(slave.physicalAge)}` + ` year old body. `; + r += `${slave.physicalAge}` + ` year old body. `; } if (slave.visualAge !== slave.physicalAge) { - r += `Looks ` + `${num(slave.visualAge)}` + `. `; + r += `Looks ` + `${slave.visualAge}` + `. `; } } else { /* @@ -2464,7 +2464,7 @@ window.SlaveSummaryUncached = (function() { ** say: 'Age 1. 11 year old body.' -- this conflicts with the way NCS works though, because she hasn't ** visually aged, so our change here makes it say 'Age 1. Appears to have a 10 year old body.' */ - r += `Appears to have a ` + `${num(slave.visualAge)}` + ` year old body. `; + r += `Appears to have a ` + `${slave.visualAge}` + ` year old body. `; } if (slave.geneMods.NCS === 1) { r += `(<span class="orange">NCS</span>) `;