diff --git a/src/cheats/mod_EditSlaveCheatDatatypeCleanupNew.tw b/src/cheats/mod_EditSlaveCheatDatatypeCleanupNew.tw index 6cb6ca3ceab62e4466b10376adec4ec1eeab0de8..2676d914206679cd5acb8b7aa50e76a352155139 100644 --- a/src/cheats/mod_EditSlaveCheatDatatypeCleanupNew.tw +++ b/src/cheats/mod_EditSlaveCheatDatatypeCleanupNew.tw @@ -35,7 +35,14 @@ <<elseif $tempSlave.preg > 0>> <<set $tempSlave.pregKnown = 1>> <</if>> -<<set $tempSlave.pregAdaptation = Number($tempSlave.pregAdaptation) || 50>> +<<set $tempSlave.pregAdaptation = Number($tempSlave.pregAdaptation) || 0>> +<<if $tempSlave.pregAdaptation == 0>> + <<if $tempSlave.genes == "XY">> + <<run generateXYPregAdaptation($tempSlave)>> + <<else>> + <<run generateXXPregAdaptation($tempSlave)>> + <</if>> +<</if>> <<run SlaveDatatypeCleanup($tempSlave)>> /* will break cheated pregnancies if run before the above block of code */ /* Dependency Check */