diff --git a/src/facilities/nursery/widgets/infants/infantSummary.js b/src/facilities/nursery/widgets/infants/infantSummary.js index a6f68416c85863fcb3a32fb093622bab4e9b7964..0f6cf94454084d90d1eca726d39d39a905481b61 100644 --- a/src/facilities/nursery/widgets/infants/infantSummary.js +++ b/src/facilities/nursery/widgets/infants/infantSummary.js @@ -1598,11 +1598,12 @@ App.Facilities.Nursery.InfantSummary = function(child) { } function shortExtendedFamily() { + const + { daughter, sister } = getPronouns(slave); + let handled = 0, - r = ``, - daughter = getPronouns(slave).daughter, - sister = getPronouns(slave).sister; + r = ``; if (child.mother > 0) { const _ssj = V.slaves.findIndex(function(s) { diff --git a/src/facilities/nursery/widgets/reports/nurseryReport.js b/src/facilities/nursery/widgets/reports/nurseryReport.js index e23ca32d7859ce3de60d0555d082c6d49565760b..5c7fd32151d00a3594d35ea7f8bf171d31393c11 100644 --- a/src/facilities/nursery/widgets/reports/nurseryReport.js +++ b/src/facilities/nursery/widgets/reports/nurseryReport.js @@ -102,11 +102,11 @@ App.Facilities.Nursery.nurseryReport = function nurseryReport() { let seed = jsRandom(1, 10) + ((V.nursery - NL) * (jsRandom(150, 170) + (idleBonus * 10))); cashX(seed, "nursery", Matron); - r.push(`<br> Since ${he} doesn't have enough children to occupy all ${his} time, ${V.nurseryName} takes in citizens' children on a contract basis and ${he} cares for them too, earning <span class='yellowgreen'>${cashFormat(seed)}.</span>`); + r.push(`<p class="indent">Since ${he} doesn't have enough children to occupy all ${his} time, ${V.nurseryName} takes in citizens' children on a contract basis and ${he} cares for them too, earning <span class='yellowgreen'>${cashFormat(seed)}.</span></p>`); } if (arcology.FSRepopulationFocus > 0 && V.nurseryBabies > 0) { - r += `Society <span class='green'>loves</span> the way you are raising more children for ${arcology.name}. `; + r.push(`Society <span class='green'>loves</span> the way you are raising more children for ${arcology.name}. `); FSChange("Repopulationist", 2); } }