From 1d7c8d808e323fab96e0d68dd22fa69cd3ca08ee Mon Sep 17 00:00:00 2001 From: corncobman21 <corncobman21@hotmail.com> Date: Sat, 23 Dec 2017 04:03:47 -0500 Subject: [PATCH] Change incubator checks --- src/uncategorized/seBirth.tw | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/uncategorized/seBirth.tw b/src/uncategorized/seBirth.tw index 147c9fe6453..bb93ca71b78 100644 --- a/src/uncategorized/seBirth.tw +++ b/src/uncategorized/seBirth.tw @@ -944,11 +944,11 @@ Childbirth has @@.lime;stretched out $possessive vagina.@@ <</link>> //Will cost <<print cashFormat(500)>> weekly// - <<if $tanks.length < $incubator && $freeTanks>> + <<if $tanks.length < $incubator && $reservedChildren < $freeTanks>> | <<link $incubatorNameCaps>> <<replace `"#" + _dispositionId`>> - <<if $freeTanks < _count>> - <<set _count = $freeTanks>> + <<if $reservedChildren + _count > $freeTanks>> + <<set _count = $freeTanks - $reservedChildren>> You only have enough free tanks in $incubatorName for _count of her children. <</if>> <<set $slaves[$i].reservedChildren = _count>> -- GitLab