From e5826af5941ffcb8cd3692c47ae33aa7a65c9b35 Mon Sep 17 00:00:00 2001 From: lowercasedonkey <lowercasedonkey@gmail.com> Date: Sat, 26 Sep 2020 02:14:54 -0400 Subject: [PATCH] compress --- src/js/birth/birth.js | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/js/birth/birth.js b/src/js/birth/birth.js index 4a30052ceb5..07bcf455130 100644 --- a/src/js/birth/birth.js +++ b/src/js/birth/birth.js @@ -73,6 +73,9 @@ globalThis.birth = function(slave, {birthStorm = false, cSection = false} = {}) if (slaveDead) { removeSlave(slave); + } else if (cSection) { + App.Medicine.Modification.addScar(slave, "belly", "c-section"); + } return el; @@ -4761,7 +4764,6 @@ globalThis.birth = function(slave, {birthStorm = false, cSection = false} = {}) if (birthDamage > 5 || V.universalRulesCSec === 1) { if (V.universalRulesCSec === 1 || (slave.mpreg === 0 && slave.vagina < 0)) { cSection = true; - App.Medicine.Modification.addScar(slave, "belly", "c-section"); if (V.clinic !== 0) { r.push(`${slave.slaveName} is taken to ${V.clinicName} since ${he}`); if (slave.mpreg === 0 && slave.vagina < 0) { @@ -4798,7 +4800,6 @@ globalThis.birth = function(slave, {birthStorm = false, cSection = false} = {}) } if (birthDamage > 10) { cSection = true; - App.Medicine.Modification.addScar(slave, "belly", "c-section"); r.push(`After several hours of intense labor, ${he} is transferred to the surgery wing. Following an emergency c-section, ${he} is returned to the recovery wing to rest.`); } else { r.push(`After several hours,`); @@ -4810,7 +4811,6 @@ globalThis.birth = function(slave, {birthStorm = false, cSection = false} = {}) r.push(`${His} ${childrenAre} promptly taken and ${he} is left under observation to make sure ${he} recovers.`); } else { cSection = true; - App.Medicine.Modification.addScar(slave, "belly", "c-section"); r.push(`${He} is lead to the autosurgery, since ${he} is likely to face complications with childbirth. ${He} is stripped from ${his} clothes and set up on the operating table. ${He} is quickly sedated and subjected to a c-section in order to avoid potential problems. The surgery is quick, and ${he} is moved to a bed to recover. When ${he} awakes, ${his} ${children}`); if (slave.pregType > 1) { r.push(`have`); @@ -5474,7 +5474,6 @@ globalThis.birth = function(slave, {birthStorm = false, cSection = false} = {}) } if (birthDamage > 10) { cSection = true; - App.Medicine.Modification.addScar(slave, "belly", "c-section"); r.push(`After several hours of intense labor, ${he} is transferred to the surgery wing. Following an emergency c-section, ${he} is returned to the recovery wing to rest.`); } else { r.push(`After several hours,`); @@ -5486,7 +5485,6 @@ globalThis.birth = function(slave, {birthStorm = false, cSection = false} = {}) r.push(`${His} ${childrenAre} promptly taken and ${he} is left under observation to make sure ${he} recovers.`); } else { cSection = true; - App.Medicine.Modification.addScar(slave, "belly", "c-section"); r.push(`${He} is carried to the autosurgery, since ${he} is likely to face complications with childbirth. ${He} is stripped from ${his} clothes and set up on the operating table. ${He} is quickly sedated and subjected to a c-section in order to avoid potential problems. The surgery is quick and ${he} is moved to a bed to recover. When ${he} awakes, ${his} ${slave.pregType > 1 ? `children have` : `child has`} already been taking away.`); } } else { -- GitLab