Skip to content
Snippets Groups Projects
Commit 00ee68b0 authored by corncobman21's avatar corncobman21
Browse files

Check for free tanks

parent 59055b83
No related branches found
No related tags found
No related merge requests found
......@@ -944,9 +944,13 @@ Childbirth has @@.lime;stretched out $possessive vagina.@@
<</link>>
//Will cost <<print cashFormat(500)>> weekly//
<<if $tanks.length < $incubator>>
<<if $tanks.length < $incubator && $freeTanks>>
| <<link $incubatorNameCaps>>
<<replace `"#" + _dispositionId`>>
<<if $freeTanks < _count>>
<<set _count = $freeTanks>>
You only have enough free tanks in $incubatorName for _count of your children.
<</if>>
<<set $slaves[$i].reservedChildren = _count>>
You have decided to send the child<<if _count > 1>>ren<</if>> to $incubatorName, to be grown and eventually trained as <<if _count == 1>>a <</if>>new slave<<if _count > 1>>s<</if>>.
<<set $slaveOrphanageTotal -= _count>>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment