From 12b8d2f6b7a4bd631840d6597e4ebba24965fc33 Mon Sep 17 00:00:00 2001 From: Pregmodder <pregmodder@gmail.com> Date: Wed, 1 Apr 2020 14:54:39 -0400 Subject: [PATCH] Fixed player birth child counting --- src/pregmod/sePlayerBirth.tw | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/pregmod/sePlayerBirth.tw b/src/pregmod/sePlayerBirth.tw index 08ae7a3aac9..81d4b8e19bc 100644 --- a/src/pregmod/sePlayerBirth.tw +++ b/src/pregmod/sePlayerBirth.tw @@ -389,6 +389,7 @@ You arrange yourself to give birth, relaxing until your body urges you to begin <<elseif _curBabies > 1>> + <<set _firstChild = 1>> <<for _p = 0; _p < _curBabies; _p++>> <<set _PCDegree = 0>> @@ -405,7 +406,13 @@ You arrange yourself to give birth, relaxing until your body urges you to begin <<set _PCDegree++>> <</if>> - <<if _p == 0>>Your first<<else>>The next<</if>> little <<if $PC.curBabies[_p].genetics.gender == "XX">>girl<<else>>boy<</if>> + <<if _firstChild == 1>> + Your first + <<set _firstChild = 0>> + <<else>> + The next + <</if>> + little <<if $PC.curBabies[_p].genetics.gender == "XX">>girl<<else>>boy<</if>> <<if _identicalChildGen == 1>> looks exactly like the previous; they're identical twins. <<elseif $PC.pregSource == -1>> -- GitLab