diff --git a/src/pregmod/analyzePregnancy.tw b/src/pregmod/analyzePregnancy.tw index 195aae2569dc5cdd1bd20dacaa85a2886d82737c..592b8190a0cc712a819ec7ff72b667409a8a2739 100644 --- a/src/pregmod/analyzePregnancy.tw +++ b/src/pregmod/analyzePregnancy.tw @@ -16,12 +16,14 @@ <br><br> Overall statistics: - <br> Fetal count: $activeSlave.womb.length - <br> Estimated womb volume: <<print num(Math.round($activeSlave.bellyPreg))>> cc + <<set _cc = num(Math.round($activeSlave.bellyPreg))>> + <<set _safecc = num(Math.round($activeSlave.pregAdaptation*2000))>> <<if $geneticMappingUpgrade > 0>> <br> Estimated pregnancy adaptation raiting: <<print num(Math.round($activeSlave.pregAdaptation))>> - <br> Estimated safe womb volume: <<print num(Math.round($activeSlave.pregAdaptation*2000))>> cc + <br> Estimated safe womb volume: _safecc cc <</if>> + <br> Currnet fetal count: $activeSlave.womb.length + <br> Estimated womb volume: <<if _safecc > _cc && $geneticMappingUpgrade > 0>>@@.red;_cc@@<<else>>_cc<</if>> cc <br><br> Furthest developed pregnancy: <br> Fetal development week: $activeSlave.preg