From 48e070c1c7ed145e76e15d5def4633912903ba94 Mon Sep 17 00:00:00 2001 From: corncobman21 <corncobman21@hotmail.com> Date: Sat, 23 Dec 2017 04:07:09 -0500 Subject: [PATCH] Change incubator checks --- src/pregmod/sePlayerBirth.tw | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/pregmod/sePlayerBirth.tw b/src/pregmod/sePlayerBirth.tw index 535b10ab1cb..413ced445b1 100644 --- a/src/pregmod/sePlayerBirth.tw +++ b/src/pregmod/sePlayerBirth.tw @@ -554,11 +554,12 @@ You arrange yourself to give birth, relaxing until your body urges you to begin <</if>> <<if $Cash4Babies == 1>> | <<link "Auction Them">><<replace "#choice">><<print "You send the child to be sold at auction amongst other prestigious slaves. The winning bid for your offspring came in at @@.yellowgreen;<<print cashFormat(1000*$seed)>>.@@">><</replace>><<set $cash += 1000*$seed*$PC.pregType>><</link>><</if>> - <<if $tanks.length < $incubator>> + <<if $tanks.length < $incubator && $reservedChildren < $freeTanks>> | <<link $incubatorNameCaps>> <<replace "#choice">> - <<if $freeTanks < _count>> - <<set _count = $freeTanks>> + <<set _count = $PC.pregType>> + <<if $reservedChildren + _count > $freeTanks>> + <<set _count = $freeTanks - $reservedChildren>> You only have enough free tanks in $incubatorName for _count of your children. <</if>> <<set $PC.reservedChildren = _count>> -- GitLab