From 756b51f2585e620cbffabe3dee7d959db74cc13e Mon Sep 17 00:00:00 2001 From: Svornost <11434-svornost@users.noreply.gitgud.io> Date: Mon, 2 Oct 2023 12:51:10 -0400 Subject: [PATCH] Fix fatherhood information for pregnant slaves acquired from recETS Incest events. --- src/events/recETS/recetsIncestBrotherSister.js | 2 +- src/events/recETS/recetsIncestFatherDaughter.js | 2 +- src/events/recETS/recetsIncestMotherSon.js | 2 +- src/events/recETS/recetsIncestTwinsMixed.js | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/events/recETS/recetsIncestBrotherSister.js b/src/events/recETS/recetsIncestBrotherSister.js index f14ea1a81a4..6bc1ec55b5d 100644 --- a/src/events/recETS/recetsIncestBrotherSister.js +++ b/src/events/recETS/recetsIncestBrotherSister.js @@ -59,9 +59,9 @@ App.Events.recetsIncestBrotherSister = class recetsIncestBrotherSister extends A sis.preg = random(20, 30); sis.pregType = either(1, 1, 1, 1, 1, 2, 2, 3); sis.pregKnown = 1; + sis.pregSource = bro.ID; sis.pregWeek = sis.preg; SetBellySize(sis); - sis.pregSource = bro.ID; WombChangeGene(sis, "fatherName", bro.slaveName); WombChangeGene(sis, "motherName", sis.slaveName); } diff --git a/src/events/recETS/recetsIncestFatherDaughter.js b/src/events/recETS/recetsIncestFatherDaughter.js index 9c7e22cdc6d..7db9a04bbd6 100644 --- a/src/events/recETS/recetsIncestFatherDaughter.js +++ b/src/events/recETS/recetsIncestFatherDaughter.js @@ -67,9 +67,9 @@ App.Events.recetsIncestFatherDaughter = class recetsIncestFatherDaughter extends daughter.preg = random(20, 30); daughter.pregType = either(1, 1, 1, 1, 1, 2, 2, 3); daughter.pregKnown = 1; + daughter.pregSource = father.ID; daughter.pregWeek = daughter.preg; SetBellySize(daughter); - daughter.pregSource = father.ID; WombChangeGene(daughter, "fatherName", father.slaveName); WombChangeGene(daughter, "motherName", daughter.slaveName); } diff --git a/src/events/recETS/recetsIncestMotherSon.js b/src/events/recETS/recetsIncestMotherSon.js index 9c8eed57a57..e5bcd632aae 100644 --- a/src/events/recETS/recetsIncestMotherSon.js +++ b/src/events/recETS/recetsIncestMotherSon.js @@ -74,9 +74,9 @@ App.Events.recetsIncestMotherSon = class recetsIncestMotherSon extends App.Event mother.preg = random(20, 30); mother.pregType = either(1, 1, 1, 1, 1, 2, 2, 3); mother.pregKnown = 1; + mother.pregSource = son.ID; mother.pregWeek = mother.preg; SetBellySize(mother); - mother.pregSource = son.ID; WombChangeGene(mother, "fatherName", son.slaveName); WombChangeGene(mother, "motherName", mother.slaveName); } diff --git a/src/events/recETS/recetsIncestTwinsMixed.js b/src/events/recETS/recetsIncestTwinsMixed.js index 29b0ae079dc..3f75229dc67 100644 --- a/src/events/recETS/recetsIncestTwinsMixed.js +++ b/src/events/recETS/recetsIncestTwinsMixed.js @@ -69,9 +69,9 @@ App.Events.recetsIncestTwinsMixed = class recetsIncestTwinsMixed extends App.Eve sis.preg = random(20, 30); sis.pregType = either(1, 1, 1, 1, 1, 2, 2, 3); sis.pregKnown = 1; + sis.pregSource = bro.ID; sis.pregWeek = sis.preg; SetBellySize(sis); - sis.pregSource = bro.ID; WombChangeGene(sis, "fatherName", bro.slaveName); WombChangeGene(sis, "motherName", sis.slaveName); } -- GitLab