diff --git a/src/pregmod/widgets/seBirthWidgets.tw b/src/pregmod/widgets/seBirthWidgets.tw index e226b4a03b6579d3dae20156e5f5fb50ffc642ac..461d6603e4de62660908bd9189caca0f47fc21e6 100644 --- a/src/pregmod/widgets/seBirthWidgets.tw +++ b/src/pregmod/widgets/seBirthWidgets.tw @@ -47,7 +47,7 @@ <<elseif $slaves[$i].physicalAge < 13>> <<set $birthDamage += 1>> <</if>> -<<if $slaves[$i].birthsTotal == 0>> +<<if $slaves[$i].laborCount == 0>> <<set $birthDamage += 2>> <</if>> <<if $slaves[$i].mpreg != 1>> @@ -96,7 +96,7 @@ <<if $slaves[$i].intelligenceImplant > 0>> <<set $birthDamage -= 2>> <</if>> -<<if $slaves[$i].birthsTotal > 0>> +<<if $slaves[$i].laborCount > 0>> <<set $birthDamage -= 3>> <</if>> <<if $slaves[$i].mpreg != 1>> @@ -557,7 +557,7 @@ This decriptions can be expanded with more outcomes later. But it's not practica /* I think all this reactions should be showed only if no c'section used too. Setting it up for just in case: */ <<if $csec == 0 && $slaves[$i].assignment != "work in the dairy">> /*if not desired, this check can be easily removed or deactevated with condition set to true.*/ <br> - <<if $slaves[$i].birthsTotal == 0>> + <<if $slaves[$i].laborCount == 0>> <br> $possessiveCap inexperience @@.red;complicated $possessive first birth@@. <<set _compoundCondition = 1>> @@ -644,7 +644,7 @@ This decriptions can be expanded with more outcomes later. But it's not practica $possessiveCap @@.green;moist vagina@@ hastened $possessive <<if _curBabies >1>>children's<<else>>child's<</if>> birth. <</if>> <</if>> - <<if $slaves[$i].birthsTotal > 0>> + <<if $slaves[$i].laborCount > 0>> <br> $pronounCap has @@.green;given birth before@@, so $pronoun knows just what to do. <</if>> diff --git a/src/uncategorized/seBirth.tw b/src/uncategorized/seBirth.tw index f48e8fe31f4c587112411c3e32fec694f91c8153..2ce44efffba2f096055654f89749e0c0b7ad0e0a 100644 --- a/src/uncategorized/seBirth.tw +++ b/src/uncategorized/seBirth.tw @@ -23,6 +23,12 @@ I need to break single passage to several widgets, as it's been overcomplicated <<for $i to 0; $i < $slaves.length; $i++>> <<if $slaves[$i].labor == 1>> + <<if undef $slaves[$i].laborCount>> + <<set $slaves[$i].laborCount = 0>> + <<if $slaves[$i].birthsTotal > 0 && $slaves[$i].laborCount == 0>> + <<set $slaves[$i].laborCount = $slaves[$i].birthsTotal>> /*we do not have a way to know multiples birth count for backward compatibility code. :( */ + <</if>> + <</if>> <<set $dispositionId = _.uniqueId('babyDisposition-')>> Birth report: @@.coral;$slaves[$i].slaveName <<if $slaves[$i].slaveSurname != 0>>$slaves[$i].slaveSurname<</if>>@@ <br> @@ -41,7 +47,7 @@ I need to break single passage to several widgets, as it's been overcomplicated <<seBirthCritical>> <br><br><hr style="margin:0"><br> - + <<set $slaves[$i].laborCount++>> <</if>> <</for>>