diff --git a/src/uncategorized/saDiet.tw b/src/uncategorized/saDiet.tw index 3615f2653252c77991f6a6df5f030d01955883fa..7a2e4c05995ea41cd27297d64874ec88469f1ced 100644 --- a/src/uncategorized/saDiet.tw +++ b/src/uncategorized/saDiet.tw @@ -1,7 +1,7 @@ :: SA diet [nobr] /* quirk modifiers */ -<<set _rearQuirk = $slaves[$i].geneticQuirks.rearLipedema == 2 ? 2 : 1>> +<<set _rearQuirk = $slaves[$i].geneticQuirks.rearLipedema == 2 ? 2 : 0>> <<set _gigantomastiaMod = $slaves[$i].geneticQuirks.gigantomastia == 2 ? ($slaves[$i].geneticQuirks.macromastia == 2 ? 3 : 2) : 1>> <<if $slaves[$i].fuckdoll == 0>> @@ -120,7 +120,7 @@ <</if>> <<set _effSize = ($slaves[$i].boobs-$slaves[$i].boobsImplant-$slaves[$i].boobsMilk)>> <<if $slaves[$i].hormoneBalance > 30 && $slaves[$i].geneMods.NCS != 0>> /* 'Expected' breast size based on weight for feminine-bodied slaves */ - <<set _growthgoal = 100 + Math.trunc((($slaves[$i].weight + 100)*5 + 2*$slaves[$i].lactationAdaptation)*(0.85+$slaves[$i].hormoneBalance/400)*_gigantomastiaMod)>> + <<set _growthgoal = Math.trunc((100 + ($slaves[$i].weight + 100)*5 + 2*$slaves[$i].lactationAdaptation)*(0.85+$slaves[$i].hormoneBalance/400)*_gigantomastiaMod)>> <<set _roll = 300>> <<set _target = Math.trunc(Math.clamp(_weightLoss*20 + (_effSize - _growthgoal)/5,0,270))>> <<else>> /* For masculine- and childish-bodied slaves */ @@ -128,21 +128,22 @@ <<set _roll = 75>> <<set _target = Math.trunc(Math.clamp(_weightLoss*2 + (_effSize - _growthgoal)/20,0,68))>> <</if>> - <<set _rollresult = random(1,_roll)>> - <<if _rollresult <= _target/2 && (_gigantomastiaMod != 3 && $slaves[$i].boobs >= 100)>> - @@.orange;$His breasts get smaller.@@ - <<set $slaves[$i].boobs -= 100>> - <<elseif _rollresult <= _target && (_gigantomastiaMod != 3 && $slaves[$i].boobs >= 100)>> - @@.orange;$His breasts get a little smaller.@@ - <<set $slaves[$i].boobs -= 50*(1 + $slaves[$i].geneMods.NCS)>> + <<if random(1,_roll) <= _target && (_gigantomastiaMod != 3 && _effSize >= 100)>> + <<if random(1,2) == 1>> + @@.orange;$His breasts get smaller.@@ + <<set $slaves[$i].boobs -= 100>> + <<else>> + @@.orange;$His breasts get a little smaller.@@ + <<set $slaves[$i].boobs -= 50*(1 + $slaves[$i].geneMods.NCS)>> + <</if>> <</if>> <<set _effSize = ($slaves[$i].butt-$slaves[$i].buttImplant)>> <<if $slaves[$i].hormoneBalance > 30>> /* 'Expected' butt size based on weight for feminine-bodied slaves, scaled up by 1000 */ - <<set _growthgoal = Math.trunc(($slaves[$i].weight + 100)*25*(0.9+$slaves[$i].hormoneBalance/600)*_rearQuirk)>> + <<set _growthgoal = Math.trunc(($slaves[$i].weight + 100)*25*(0.9+$slaves[$i].hormoneBalance/600)*(_rearQuirk/2 + 1))>> <<set _roll = 40000>> <<set _target = Math.trunc(Math.clamp(_weightLoss*1000 + (_effSize*1000 - _growthgoal)*2,0,36000))>> <<else>> /* For masculine- and childish-bodied slaves, likewise scaled up */ - <<set _growthgoal = Math.trunc(($slaves[$i].weight + 100)*12.5)*_rearQuirk>> + <<set _growthgoal = Math.trunc(($slaves[$i].weight + 100)*12.5)*(_rearQuirk/2 + 1)>> <<set _roll = 80000>> <<set _target = Math.trunc(Math.clamp(_weightLoss*1000 + (_effSize*1000 - _growthgoal)*4,0,72000))>> <</if>> @@ -321,7 +322,7 @@ <</if>> <<set _effSize = ($slaves[$i].boobs-$slaves[$i].boobsImplant-$slaves[$i].boobsMilk)>> <<if $slaves[$i].hormoneBalance > 30 && $slaves[$i].geneMods.NCS != 1>> /* 'Expected' breast size based on weight for feminine-bodied slaves */ - <<set _growthgoal = 100 + Math.trunc((($slaves[$i].weight + 100)*5 + 2*$slaves[$i].lactationAdaptation)*(0.85+$slaves[$i].hormoneBalance/400)*_gigantomastiaMod)>> + <<set _growthgoal = Math.trunc((100 + ($slaves[$i].weight + 100)*5 + 2*$slaves[$i].lactationAdaptation)*(0.85+$slaves[$i].hormoneBalance/400)*_gigantomastiaMod)>> <<set _roll = 300>> <<set _target = Math.trunc(Math.clamp(_weightGain*20 - (_effSize - _growthgoal)/5,0,270))>> <<else>> /* For masculine- and childish-bodied slaves */ @@ -333,20 +334,22 @@ <<set _roll = Math.trunc(_roll * 2)>> <</if>> <<set _rollresult = random(1,_roll)>> - <<if _rollresult <= _target/2>> - @@.lime;$His breasts get bigger.@@ - <<set $slaves[$i].boobs += 100/(1 + $slaves[$i].geneMods.NCS)>> - <<elseif _rollresult <= _target>> - @@.lime;$His breasts get a little bigger.@@ - <<set $slaves[$i].boobs += 50/(1 + $slaves[$i].geneMods.NCS)>> + <<if random(1,_roll) <= _target>> + <<if random(1,2) == 1>> + @@.lime;$His breasts get bigger.@@ + <<set $slaves[$i].boobs += 100/(1 + $slaves[$i].geneMods.NCS)>> + <<else>> + @@.lime;$His breasts get a little bigger.@@ + <<set $slaves[$i].boobs += 50/(1 + $slaves[$i].geneMods.NCS)>> + <</if>> <</if>> <<set _effSize = ($slaves[$i].butt-$slaves[$i].buttImplant)>> <<if $slaves[$i].hormoneBalance > 30>> /* 'Expected' butt size based on weight for feminine-bodied slaves, scaled up by 1000 */ - <<set _growthgoal = Math.trunc(($slaves[$i].weight + 100)*25*(0.9+$slaves[$i].hormoneBalance/600)*_rearQuirk)>> + <<set _growthgoal = Math.trunc(($slaves[$i].weight + 100)*25*(0.9+$slaves[$i].hormoneBalance/600)*(_rearQuirk/2 + 1))>> <<set _roll = 40000>> <<set _target = Math.trunc(Math.clamp(_weightGain*1000 - (_effSize*1000 - _growthgoal)*2,0,36000))>> <<else>> /* For masculine- and childish-bodied slaves, likewise scaled up */ - <<set _growthgoal = Math.trunc(($slaves[$i].weight + 100)*12.5)*_rearQuirk>> + <<set _growthgoal = Math.trunc(($slaves[$i].weight + 100)*12.5)*(_rearQuirk/2 + 1)>> <<set _roll = 80000>> <<set _target = Math.trunc(Math.clamp(_weightGain*1000 - (_effSize*1000 - _growthgoal)*4,0,72000))>> <</if>>