diff --git a/src/cheats/mod_EditSlaveCheatDatatypeCleanupNew.tw b/src/cheats/mod_EditSlaveCheatDatatypeCleanupNew.tw index a5ae1078947a4584ce1f9752af7e8e34c11896e1..20d390f63d3568ec2e9e6c75b284f8ccea491e30 100644 --- a/src/cheats/mod_EditSlaveCheatDatatypeCleanupNew.tw +++ b/src/cheats/mod_EditSlaveCheatDatatypeCleanupNew.tw @@ -20,6 +20,25 @@ <<set $rep = Number($rep) || 0>> <<set $cash = Number($cash) || 0>> <<set $week = Number($week) || 1>> +<<for _tempRoute = 0; _tempRoute < $tempSlave.womb.length;_tempRoute++>> + <<if $tempSlave.womb[_tempRoute].age >= 0>> + <<set $tempSlave.womb[_tempRoute].age = Number($tempSlave.womb[_tempRoute].age) || 0>> + <<else>> + <<set $tempSlave.womb[_tempRoute].age = 0>> + <</if>> + <<set $tempSlave.womb[_tempRoute].genetics.father = Number($tempSlave.womb[_tempRoute].genetics.father) || 0>> + <<set $tempSlave.womb[_tempRoute].genetics.mother = Number($tempSlave.womb[_tempRoute].genetics.mother) || 0>> + <<if $tempSlave.womb[_tempRoute].genetics.intelligence < 101 && $tempSlave.womb[_tempRoute].genetics.intelligence > -101>> + <<set $tempSlave.womb[_tempRoute].genetics.intelligence = Number($tempSlave.womb[_tempRoute].genetics.intelligence) || 0>> + <<else>> + <<set $tempSlave.womb[_tempRoute].genetics.intelligence = 0>> + <</if>> + <<if $tempSlave.womb[_tempRoute].genetics.face < 101 && $tempSlave.womb[_tempRoute].genetics.face > -101>> + <<set $tempSlave.womb[_tempRoute].genetics.face = Number($tempSlave.womb[_tempRoute].genetics.face) || 0>> + <<else>> + <<set $tempSlave.womb[_tempRoute].genetics.face = 0>> + <</if>> +<</for>> <<set WombUpdatePregVars($tempSlave)>> <<set $tempSlave.pregAdaptation = Number($tempSlave.pregAdaptation) || 0>> <<if $tempSlave.pregAdaptation <= 0>>