diff --git a/src/gui/Encyclopedia/encyclopedia.tw b/src/gui/Encyclopedia/encyclopedia.tw index bcc5097958f43a09cc5842d8b96fbd1b7a88532a..6049e77de73a072c79644e7af8fca3e44f9ad72d 100644 --- a/src/gui/Encyclopedia/encyclopedia.tw +++ b/src/gui/Encyclopedia/encyclopedia.tw @@ -2824,7 +2824,7 @@ LORE: INTERVIEWS <dl> <dt>Childhood Fertility Induced NCS</dt> <dd> - This uses a designer retrograde virus to set the Genetic markers for the Neotenic Complex Syndrome, a syndrome originally called Syndrome X discovered in the early 2000's. Which in layman's terms @@.gold;suppresses the growth and secondary sexual characteristics of slaves@@; both male and female. The original condition was usually fatal or dangerous. This @@.lime;modified@@ version of the genetic flaw is not dangerous, but in addition to the growth blockage, it permits the slave to continue the @@.lime;development of gonads,@@ albeit at a much slower pace. Even allowing for pregnancies. What it does is to specifically block (and will even reverse) all secondary sexual characteristics. Slaves put on this genetic engineered blend will be permanently changed and will no longer grow in stature or assets without severe chemical assistance, and even then at a reduced rate when compared to non-NCS-Induced slaves, and should their ongoing growth treatments stop they will slowly regress back to the physicallity of a child.<br><br> + This uses a designer retrograde virus to set the Genetic markers for the Neotenic Complex Syndrome, a syndrome originally called Syndrome X discovered in the early 2000's. Which in layman's terms @@.gold;suppresses the growth and secondary sexual characteristics of slaves@@; both male and female. The original condition was usually fatal or dangerous. This @@.lime;modified@@ version of the genetic flaw is not dangerous, but in addition to the growth blockage, it permits the slave to continue the @@.lime;development of gonads,@@ at a slighlty faster than normal pace. Even allowing for pregnancies. What it does is to specifically block (and will even reverse) all secondary sexual characteristics. Slaves put on this genetic engineered blend will be permanently changed and will no longer grow in stature or assets without severe chemical assistance, and even then at a reduced rate when compared to non-NCS-Induced slaves, and should their ongoing growth treatments stop they will slowly regress back to the physicallity of a child.<br><br> @@.red;The genetic tampering is considered illegal,@@ but there is also a @@.yellow;moral question as this abrogates the rights of slaves to ever grow up.@@<br><br> Can only be purchased in [[The Black Market|Encyclopedia][$encyclopedia = "The Black Market"]]. </dd> diff --git a/src/js/quickListJS.tw b/src/js/quickListJS.tw index fc0c7f7ee9d380a48ab0e5411b805585877a2398..4c4dbe3e45caeabd782e9b411102322167505ac5 100644 --- a/src/js/quickListJS.tw +++ b/src/js/quickListJS.tw @@ -1,13 +1,27 @@ :: Quick List [script] -window.sortDomObjects = function (objects, attrName) +window.sortDomObjects = function (objects, attrName, reverse = 0) { + reverse = (reverse) + ? -1 + : 1 + ; var sortingByAttr = function (a, b) { - var aVal = parseInt(a.getAttribute(attrName)) - , bVal = parseInt(b.getAttribute(attrName)) + var aVal = a.getAttribute(attrName) + , bVal = b.getAttribute(attrName) + ; + var aInt = parseInt(aVal) ; - return bVal - aVal; + if (!isNaN(aInt)) + { + return ((parseInt(bVal) - aInt) * reverse); + } + else if (bVal > aVal) + { + return -1 * reverse; + } + return ((aVal == bVal) ? 0 : 1) * reverse; }; return objects.toArray().sort(sortingByAttr); }; @@ -52,3 +66,70 @@ window.quickListBuildLinks = function () }); }; +window.sortIncubatorPossiblesByName = function () +{ + var $sortedIncubatorPossibles = $('#qlIncubator div.possible').detach(); + + $sortedIncubatorPossibles = sortDomObjects($sortedIncubatorPossibles, 'data-name'); + + $($sortedIncubatorPossibles).appendTo($('#qlIncubator')); +}; + +window.sortIncubatorPossiblesByPregnancyWeek = function () +{ + var $sortedIncubatorPossibles = $('#qlIncubator div.possible').detach(); + + $sortedIncubatorPossibles = sortDomObjects($sortedIncubatorPossibles, 'data-preg-week'); + + $($sortedIncubatorPossibles).appendTo($('#qlIncubator')); +}; + +window.sortIncubatorPossiblesByPregnancyCount = function () +{ + var $sortedIncubatorPossibles = $('#qlIncubator div.possible').detach(); + + $sortedIncubatorPossibles = sortDomObjects($sortedIncubatorPossibles, 'data-preg-count'); + + $($sortedIncubatorPossibles).appendTo($('#qlIncubator')); +}; + +window.sortIncubatorPossiblesByReservedSpots = function () +{ + var $sortedIncubatorPossibles = $('#qlIncubator div.possible').detach(); + + $sortedIncubatorPossibles = sortDomObjects($sortedIncubatorPossibles, 'data-reserved-spots'); + + $($sortedIncubatorPossibles).appendTo($('#qlIncubator')); +}; + +window.sortIncubatorPossiblesByPreviousSort = function () +{ + var sort = State.variables.sortIncubatorList + ; +console.log(State.variables); +console.log('sort', sort); + if ('unsorted' != sort) + { +console.log("sort isn't unsorted", sort); + if ('Name' == sort) + { +console.log("sort is name", sort); + sortIncubatorPossiblesByName(); + } + else if ('Reserved Incubator Spots' == sort) + { +console.log("sort is spots", sort); + sortIncubatorPossiblesByReservedSpots(); + } + else if ('Pregnancy Week' == sort) + { +console.log("sort is week", sort); + sortIncubatorPossiblesByPregnancyWeek(); + } + else if ('Number of Children' == sort) + { +console.log("sort is count", sort); + sortIncubatorPossiblesByPregnancyCount(); + } + } +}; diff --git a/src/pregmod/generateChild.tw b/src/pregmod/generateChild.tw index 333ac3521320f903b2d6705b7abc328688fd6569..77353911d204cdc83e25f9d82b7b83e1f09b7617 100644 --- a/src/pregmod/generateChild.tw +++ b/src/pregmod/generateChild.tw @@ -412,6 +412,12 @@ <<set $activeSlave.addict = Math.trunc($mom.addict/2)>> <</if>> <</if>> +/* +* Not sure why, I have this in both generate XX slave and Generate XY slave and it works for slaves +* bought from market, but not slaves born and incubated ... so here we go again. +*/ +<<set $activeSlave.inducedNCS = 0>> +<<set $activeSlave.NCSyouthening = 0>> <<set $activeSlave.actualAge = 0>> <<set $activeSlave.birthWeek = 0>> diff --git a/src/pregmod/incubator.tw b/src/pregmod/incubator.tw index edae128acc77c255436b94cb9802fe3985a3b3d2..94f76266cef71dda26e95683e2614de732232896 100644 --- a/src/pregmod/incubator.tw +++ b/src/pregmod/incubator.tw @@ -31,11 +31,55 @@ $incubatorNameCaps is a clean, cold hall designed to be lined with tanks and the <br><br> Reserve an eligible mother-to-be's child to be placed in a tank upon birth. Of $incubator tanks, <<print $freeTanks>> <<if $freeTanks == 1>>is<<else>>are<</if>> unoccupied. Of those, $reservedChildren <<if $reservedChildren == 1>>tank is<<else>>tanks are<</if>> reserved. +/* +** With hundreds of slaves, navigating the Incubator room was giving me as much of a headache as other lists. +** So, I borrowed the sorting list and dropped a few options here. +*/ +<<if (0 < _SL)>> + <<set $sortIncubatorList = $sortIncubatorList || 'Unsorted'>> + <br/>//Sorting:// ''<span id="qlIncubatorSort">$sortIncubatorList</span>.'' + <<link "Sort by Name">> + <<set $sortIncubatorList = 'Name'>> + <<replace "#qlIncubatorSort">>$sortIncubatorList<</replace>> + <<script>> + sortIncubatorPossiblesByName(); + <</script>> + <</link>> | + <<link "Sort by Reserved Incubator Spots">> + <<set $sortIncubatorList = 'Reserved Incubator Spots'>> + <<replace "#qlIncubatorSort">>$sortIncubatorList<</replace>> + <<script>> + sortIncubatorPossiblesByReservedSpots(); + <</script>> + <</link>> | + <<link "Sort by Pregnancy Week">> + <<set $sortIncubatorList = 'Pregnancy Week'>> + <<replace "#qlIncubatorSort">>$sortIncubatorList<</replace>> + <<script>> + sortIncubatorPossiblesByPregnancyWeek(); + <</script>> + <</link>> | + <<link "Sort by Number of Children">> + <<set $sortIncubatorList = 'Number of Children'>> + <<replace "#qlIncubatorSort">>$sortIncubatorList<</replace>> + <<script>> + sortIncubatorPossiblesByPregnancyCount(); + <</script>> + <</link>> + <br/> +<</if>> +<div id="qlIncubator"> <<for _u = 0; _u < _SL; _u++>> <<if $slaves[_u].preg > 0 && $slaves[_u].broodmother == 0 && $slaves[_u].pregKnown == 1 && $slaves[_u].eggType == "human">> <<if $slaves[_u].assignment == "work in the dairy" && $dairyPregSetting > 0>> <<else>> - <br><<print "[[$slaves[" + _u + "].slaveName|Long Slave Description][$activeSlave = $slaves[" + _u + "], $nextLink = passage()]]">> is $slaves[_u].pregWeek weeks pregnant with + <<set _slaveId = "slave-" + $slaves[_u].ID>> + <<set _pregCount = $slaves[_u].pregType>> + <<set _reservedSpots = $slaves[_u].reservedChildren>> + <<set _pregWeek = $slaves[_u].pregWeek>> + <<set _slaveName = getSlaveDisplayName($slaves[_u])>> + <div class="possible" @id="_slaveId" @data-preg-count="_pregCount" @data-reserved-spots="_reservedSpots" @data-preg-week="_pregWeek" @data-name="_slaveName"> + <<print "[[_slaveName|Long Slave Description][$activeSlave = $slaves[" + _u + "], $nextLink = passage()]]">> is $slaves[_u].pregWeek weeks pregnant with <<if $slaves[_u].pregSource == 0 || $slaves[_u].preg <= 5>>someone's<<if $slaves[_u].preg <= 5>>, though it is too early to tell whose,<</if>> <<elseif $slaves[_u].pregSource == -1>>your <<elseif $slaves[_u].pregSource == -2>>a citizen's @@ -88,9 +132,14 @@ Reserve an eligible mother-to-be's child to be placed in a tank upon birth. Of $ You have @@.red;no room for her offspring.@@ <</if>> <<set _eligibility = 1>> + </div> <</if>> <</if>> <</for>> +</div> +<<script>> + $('div#qlIncubator').ready(sortIncubatorPossiblesByPreviousSort); +<</script>> <<if _eligibility == 0>> <br> //You have no pregnant slaves bearing eligible children.// diff --git a/src/pregmod/incubatorReport.tw b/src/pregmod/incubatorReport.tw index 9e9ea19b9d2c993a89ab05c9405e26ae77ad12a6..50ebec2eb1684996f263c9bde52cb82f0a3ed87b 100644 --- a/src/pregmod/incubatorReport.tw +++ b/src/pregmod/incubatorReport.tw @@ -143,10 +143,11 @@ <<set _heightLimit = Math.trunc(Math.clamp((Height.mean($tanks[_inc].height) * 1.25),0,274))>> <<set _heightLimitAge = Height.forAge($tanks[_inc].height, $tanks[_inc])>> <<if $tanks[_inc].inducedNCS == 1>> - /* NCS should block physical growth beyond that of a toddler, but some players - * might like a little more. So using $minimumSlaveAge or 8, whichever is lesser. + /* + ** NCS should block physical growth beyond that of a toddler, but some players might like + ** a little more or less. So using $minimumSlaveAge or 8, whichever is lesser. */ - <<set _limitAge = Math.min(8, $$minimumSlaveAge)>> + <<set _limitAge = Math.min(8, $minimumSlaveAge)>> <<set _heightLimitAge = Height.forAge($tanks[_inc].height, _limitAge, $tanks[_inc].genes)>> <<set _heightLimit = _heightLimitAge>> <</if>> @@ -155,7 +156,7 @@ <<set $tanks[_inc].height = _heightLimit>> <<elseif $incubatorGrowthStimsSetting == 2>> <<if $tanks[_inc].inducedNCS == 1>> - The monitoring system floods $possessive body with growth stimulants, but $possessive NCS @@.orange;prevents an increase in $possessive growth rate.@@ + The monitoring system floods $possessive body with growth stimulants, but $possessive @@.orange;NCS prevents an increase in $possessive growth rate.@@ <<set $tanks[_inc].height = _heightLimitAge>> <<else>> The monitoring system floods $possessive body with growth stimulants, causing @@.green;a sharp increase in growth rate.@@ @@ -187,7 +188,7 @@ <</if>> <<elseif $incubatorGrowthStimsSetting == 1>> <<if $tanks[_inc].inducedNCS == 1>> - The monitoring system detects $pronoun is near the expected height for $possessive NCS condition, so it carefully regulates stimulants injections to @@.yellow;maintain $possessive current stature.@@ + The monitoring system detects $pronoun is near the expected height for $possessive @@.orange;NCS@@ condition, so it carefully regulates stimulants injections to @@.yellow;maintain $possessive current stature.@@ <<set $tanks[_inc].height = _heightLimitAge>> <<elseif $tanks[_inc].height > _heightLimitAge>> The monitoring system detects $pronoun is near the expected height, so it carefully regulates stimulants injections to @@.yellow;maintain $possessive current stature.@@ @@ -243,7 +244,7 @@ <</if>> <<if $tanks[_inc].inducedNCS == 1>> /* NCS blocks hormonal growth of all secondary sexual characteristics */ - $possesiveCap NCS @@.orange;blocks all growth@@ despite the excess estrogen-laced growth hormones flooding $possessive body. + $possessiveCap @@.orange;NCS blocks all growth@@ despite the excess estrogen-laced growth hormones flooding $possessive body. <<elseif $incubatorUpgradeSpeed == 52>> <<if $tanks[_inc].boobs < 8000>> The excess estrogen-laced growth hormones @@.green;rapidly balloon $possessive breasts.@@ @@ -317,7 +318,7 @@ <</if>> <<if $tanks[_inc].inducedNCS == 1>> /* NCS blocks hormonal growth of all secondary sexual characteristics */ - $possesiveCap NCS @@.orange;blocks all growth@@ despite the excess testosterone-laced growth hormones flooding $possessive body. + $possessiveCap @@.orange;NCS blocks all growth@@ despite the excess testosterone-laced growth hormones flooding $possessive body. <<elseif $incubatorUpgradeSpeed == 52>> <<if $tanks[_inc].balls < 40>> The excess testosterone-laced growth hormones @@.green;cause $possessive balls to balloon for extra cum production.@@ @@ -379,7 +380,7 @@ <</if>> <<if $tanks[_inc].inducedNCS == 1>> /* NCS blocks hormonal growth of all secondary sexual characteristics */ - $possesiveCap NCS @@.orange;blocks all growth@@ despite the excess estrogen-laced growth hormones flooding $possessive body. + $possessiveCap @@.orange;NCS blocks all growth@@ despite the excess estrogen-laced growth hormones flooding $possessive body. <<elseif $incubatorUpgradeSpeed == 52>> <<if $tanks[_inc].boobs < 4000>> The excess estrogen-laced growth hormones @@.green;rapidly balloon $possessive breasts.@@ @@ -453,7 +454,7 @@ <</if>> <<if $tanks[_inc].inducedNCS == 1>> /* NCS blocks hormonal growth of all secondary sexual characteristics */ - $possesiveCap NCS @@.orange;blocks all growth@@ despite the excess testosterone-laced growth hormones flooding $possessive body. + $possessiveCap @@.orange;NCS blocks all growth@@ despite the excess testosterone-laced growth hormones flooding $possessive body. <<elseif $incubatorUpgradeSpeed == 52>> <<if $tanks[_inc].balls < 10>> The excess testosterone-laced growth hormones @@.green;cause $possessive balls to balloon for extra cum production.@@ @@ -515,7 +516,7 @@ <</if>> <<if $tanks[_inc].inducedNCS == 1>> /* NCS blocks hormonal growth of all secondary sexual characteristics */ - $possesiveCap NCS @@.orange;blocks all growth@@ despite the excess estrogen-laced growth hormones flooding $possessive body. + $possessiveCap @@.orange;NCS blocks all growth@@ despite the excess estrogen-laced growth hormones flooding $possessive body. <<elseif $incubatorUpgradeSpeed == 52>> <<if $tanks[_inc].boobs < 2000>> The excess estrogen-laced growth hormones @@.green;rapidly balloon $possessive breasts.@@ @@ -589,7 +590,7 @@ <</if>> <<if $tanks[_inc].inducedNCS == 1>> /* NCS blocks hormonal growth of all secondary sexual characteristics */ - $possesiveCap NCS @@.orange;blocks all growth@@ despite the excess testosterone-laced growth hormones flooding $possessive body. + $possessiveCap @@.orange;NCS blocks all growth@@ despite the excess testosterone-laced growth hormones flooding $possessive body. <<elseif $incubatorUpgradeSpeed == 52>> <<if $tanks[_inc].balls < 6>> The excess testosterone-laced growth hormones @@.green;cause $possessive balls to grow for extra cum production.@@ @@ -645,7 +646,7 @@ <<set $tanks[_inc].hormoneBalance = 250>> <<if $tanks[_inc].inducedNCS == 1>> /* NCS blocks hormonal growth of all secondary sexual characteristics */ - $possesiveCap NCS @@.orange;blocks growth@@ despite the added estrogen. + $possessiveCap @@.orange;NCS blocks growth@@ despite the added estrogen. <<else>> <<if $tanks[_inc].boobs < 400 && random(1,100) > 60>> The added estrogen @@.green;causes $possessive breasts to swell.@@ @@ -665,7 +666,7 @@ <<set $tanks[_inc].hormoneBalance = -250>> <<if $tanks[_inc].inducedNCS == 1>> /* NCS blocks hormonal growth of all secondary sexual characteristics */ - $possesiveCap NCS @@.orange;blocks all growth@@ despite the added testosterone. + $possessiveCap @@.orange;NCS blocks all growth@@ despite the added testosterone. <<else>> <<if $tanks[_inc].balls < 3 && random(1,100) > 80>> The added testosterone @@.green;causes $possessive balls to swell.@@ diff --git a/src/pregmod/incubatorRetrievalWorkaround.tw b/src/pregmod/incubatorRetrievalWorkaround.tw index c6e1e33e1cf5be6cd8e00d0c438a5188d3bb352a..f4213fff66a66f3c40a443436e8c6fbcf099e0d2 100644 --- a/src/pregmod/incubatorRetrievalWorkaround.tw +++ b/src/pregmod/incubatorRetrievalWorkaround.tw @@ -24,4 +24,10 @@ $readySlave.slaveName has been discharged from $incubatorName and is ready for h <</if>> <</for>> <</if>> -<<include "New Child Intro">> \ No newline at end of file +/* +** Not sure why, I have this in both generte XX slave and Generate XY slave and it works for slaves +** bought from market, but not slaves born and incubated ... so here we go again. +*/ +<<set $activeSlave.inducedNCS = 0>> +<<set $activeSlave.NCSyouthening = 0>> +<<include "New Child Intro">> diff --git a/src/pregmod/theBlackMarket.tw b/src/pregmod/theBlackMarket.tw index a3520269e428a02140607b27da8a00719b84b4e2..a86c17c67a102ced52d76161c4116869d88d5f21 100644 --- a/src/pregmod/theBlackMarket.tw +++ b/src/pregmod/theBlackMarket.tw @@ -140,14 +140,14 @@ Of all the wonders present, the thing that catches your eye the most is a shady <<if $arcologies[0].childhoodFertilityInducedNCSResearch == 0>> <<if $cash >= 135000>> "_toydolls _match _norefunds"<br> - [[Purchase childhood fertility induced NCS|The Black Market][$cash -= 135000, $arcologies[0].childhoodFertilityInducedNCSResearch = 1, _dump = $merchantFSWares.delete("childFertilityInducedSyndromeX")]] //@@.yellowgreen;<<print cashFormat(135000)>>.@@//<br> + [[Purchase childhood fertility @@.orange;induced NCS@@|The Black Market][$cash -= 135000, $arcologies[0].childhoodFertilityInducedNCSResearch = 1, _dump = $merchantFSWares.delete("childFertilityInducedSyndromeX")]] //@@.yellowgreen;<<print cashFormat(135000)>>.@@//<br> <<else>> "_toydolls _match _norefunds Or, you know, come back with money."<br> - You cannot afford the asking price of @@.red;<<print cashFormat(135000)>>@@ for the Childhood Fertility Induced NCS (genetic engineering and hormonal blend) research recipe.<br> + You cannot afford the asking price of @@.red;<<print cashFormat(135000)>>@@ for the Childhood Fertility @@.orange;Induced NCS@@ (genetic engineering and hormonal blend) research recipe.<br> <</if>> - He notices your interest and lets you read the information [[Childhood Fertility Induced NCS|Encyclopedia][$encyclopedia = "Childhood Fertility Induced NCS"]]. + He notices your interest and lets you read the information [[Childhood Fertility @@.orange;Induced NCS@@|Encyclopedia][$encyclopedia = "Childhood Fertility Induced NCS"]]. <<else>> - You already possess the Childhood Fertility Induced NCS (genetic engineering and hormonal blend) research recipe.<br> + You already possess the Childhood Fertility @@.orange;Induced NCS@@ (genetic engineering and hormonal blend) research recipe.<br> <<set _dump = $merchantIllegalWares.delete("childhoodFertilityInducedNCS")>> <</if>> </dd> diff --git a/src/pregmod/widgets/slaveSummaryWidgets.tw b/src/pregmod/widgets/slaveSummaryWidgets.tw index 7d010d7eda09791a97002eedb02b22ae772a565e..c6e714fe52fab0ba436e5b6e4b23ed027e5aff79 100644 --- a/src/pregmod/widgets/slaveSummaryWidgets.tw +++ b/src/pregmod/widgets/slaveSummaryWidgets.tw @@ -1521,11 +1521,31 @@ Release rules: _Slave.releaseRules. <<else>> Underage. <</if>> -<<if _Slave.actualAge != _Slave.physicalAge>> - _Slave.physicalAge year old body. -<</if>> -<<if _Slave.visualAge != _Slave.physicalAge>> - Looks _Slave.visualAge. +/* +** No NCS, then do the standard, However because of the wrinkes of Incubators, as long as visual age is greater +** than or equal to physical age, we do the old physical body/Looks for fresh out of the can NCS slaves. +*/ +<<if ((_Slave.inducedNCS == 0) || (_Slave.visualAge >= _Slave.physicalAge))>> + <<if _Slave.actualAge != _Slave.physicalAge>> + _Slave.physicalAge year old body. + <</if>> + <<if _Slave.visualAge != _Slave.physicalAge>> + Looks _Slave.visualAge. + <</if>> +<<else>> + /* + ** Now the rub. The use of physical Age for the year old body above, basically conflicts with the changes + ** that NCS introduces, so here to *distinguish* the changes, we use visual age with the 'year old body' + ** and appears, for example: Slave release from incubator at age 10, Her summary would show, 'Age 0. 10 + ** year old body.' But if she's given NCS a few weeks after release, while she's still before her first + ** birthday, it'll appear the same. But once her birthday fires, if we ran with the above code it would + ** say: 'Age 1. 11 year old body.' -- this conflicts with the way NCS works though, because she hasn't + ** visually aged, so our change here makes it say 'Age 1. Appears to have a 10 year old body.' + */ + Appears to have a _Slave.visualAge year old body. +<</if>> +<<if _Slave.inducedNCS == 1>> + (@@.orange;NCS@@) <</if>> <<if _Slave.face < -95>> @@.red;Very ugly<<if $summaryStats>> [_Slave.face]<</if>>@@ diff --git a/src/uncategorized/nextWeek.tw b/src/uncategorized/nextWeek.tw index 57d7a0d3141c66880319a57023f8fe833a33ee88..d5b4d0143b9157e345124c21ff7242ee2bc4194c 100644 --- a/src/uncategorized/nextWeek.tw +++ b/src/uncategorized/nextWeek.tw @@ -28,8 +28,22 @@ <<if $slaves[_i].birthWeek >= 52>> <<set $slaves[_i].birthWeek = 0>> <<if $seeAge == 1>> - <<set $slaves[_i].physicalAge += 1, $slaves[_i].actualAge += 1, $slaves[_i].visualAge += 1>> - <<set $slaves[_i].ovaryAge += either(.8, .9, .9, 1, 1, 1, 1.1)>> /*Hopefully this works. It is intended, over a slave's lifetime, to cause her menopause to shift.*/ + <<set $slaves[_i].physicalAge += 1, $slaves[_i].actualAge += 1>> + /* + ** Note Induced NCS completely takes over visual aging, so the increment from pre- + ** existing code simply, is trapped behind a *not* NCS test. Additionally, because + ** of the neotony aspects of NCS, ovaries don't age quite as fast. + */ + <<if $slaves[_i].inducedNCS == 0>> + <<set $slaves[_i].visualAge += 1>> + /* + ** (prev comment) Hopefully this works. It is intended, over a slave's + ** lifetime, to cause her menopause to shift. + */ + <<set $slaves[_i].ovaryAge += either(.8, .9, .9, 1, 1, 1, 1.1)>> + <<else>> + <<set $slaves[_i].ovaryAge += either(.5, .6, .7, .7, .8, .9, 1)>> + <</if>> <<if $slaves[_i].broodmother == 1>> <<set $slaves[_i].ovaryAge += .2>> <</if>> diff --git a/src/uncategorized/remoteSurgery.tw b/src/uncategorized/remoteSurgery.tw index 95988b0540661c6b607b952c0be78604b5cca8c0..c41f229ee7aedcb31005ea37b6b168733697b596 100644 --- a/src/uncategorized/remoteSurgery.tw +++ b/src/uncategorized/remoteSurgery.tw @@ -1025,13 +1025,15 @@ $pronounCap has Apply a retro-virus treatment: <br> <<if $activeSlave.inducedNCS == 0>> - <<if $activeSlave.health > 0>> - [[Induced NCS Treatment|Surgery Degradation][$activeSlave.inducedNCS = 1,$cash -= $surgeryCost * 4, $activeSlave.health -= 80,$surgeryType = "retrograde virus injection NCS"]] //This will induce NCS in $possessive genetic code// + <<if ($activeSlave.indentureRestrictions >= 1)>> + //$possessiveCap indenture forbids induced NCS as it is both extreme body modification and elective surgery// + <<elseif $activeSlave.health < 0>> + She's too unhealthy for the Induced @@.orange;NCS@@ Treatment <<else>> - She's too unhealthy for the Induced NCS Treatment + [[Induced NCS Treatment|Surgery Degradation][$activeSlave.inducedNCS = 1,$cash -= $surgeryCost * 4, $activeSlave.health -= 80,$surgeryType = "retrograde virus injection NCS"]] //This will induce @@.orange;NCS@@ in $possessive genetic code// <</if>> <<else>> - //She already has Induced NCS// + //She already has Induced @@.orange;NCS@@// <</if>> <br><br> diff --git a/src/uncategorized/saDiet.tw b/src/uncategorized/saDiet.tw index d471b5088e95e32f97d776d29f30f13a85ac2710..6348a54acbc3aeb3e75bf90b1643d07babb504bb 100644 --- a/src/uncategorized/saDiet.tw +++ b/src/uncategorized/saDiet.tw @@ -530,7 +530,7 @@ Hormonal changes @@.lime;slim her waist.@@ <<set $slaves[$i].waist-->> <</if>> - <<if (($slaves[$i].dick > 1) && ((($slaves[$i].inducedNCS == 0) && (random(1,100) > 95)) || (($slaves[$i].inducedNCS == 1) && (random(1,100) > 43)))>> + <<if (($slaves[$i].dick > 1) && ((($slaves[$i].inducedNCS == 0) && (random(1,100) > 95)) || (($slaves[$i].inducedNCS == 1) && (random(1,100) > 43))))>> <<if (($slaves[$i].inducedNCS == 1) && ($slaves[$i].dick > 2))>> $possessiveCap dick @@.orange;shrinks down@@ due to $possessive body chemistry. <<set $slaves[$i].dick -= 1>> @@ -539,7 +539,7 @@ <</if>> <<set $slaves[$i].dick -= 1>> <</if>> - <<if (($slaves[$i].balls > 1) && ((($slaves[$i].inducedNCS == 0) && (random(1,100) > 95)) || (($slaves[$i].inducedNCS == 1) && (random(1,100) > 43)))>> + <<if (($slaves[$i].balls > 1) && ((($slaves[$i].inducedNCS == 0) && (random(1,100) > 95)) || (($slaves[$i].inducedNCS == 1) && (random(1,100) > 43))))>> <<if (($slaves[$i].inducedNCS == 1) && ($slaves[$i].balls > 2))>> $possessiveCap balls @@.orange;shrink down@@ due to $possessive body chemistry. <<set $slaves[$i].balls -= 1>> @@ -590,7 +590,7 @@ $possessiveCap rear @@.lime;rounds out@@ to fit $possessive developing femininity. <<set $slaves[$i].butt += 1>> <</if>> - <<if (($slaves[$i].dick > 1) && ((($slaves[$i].inducedNCS == 0) && (random(1,100) > 99)) || (($slaves[$i].inducedNCS == 1) && (random(1,100) > 48)))>> + <<if (($slaves[$i].dick > 1) && ((($slaves[$i].inducedNCS == 0) && (random(1,100) > 99)) || (($slaves[$i].inducedNCS == 1) && (random(1,100) > 48))))>> <<if (($slaves[$i].inducedNCS == 1) && ($slaves[$i].dick > 2))>> $possessiveCap dick @@.orange;shrinks down@@ due to $possessive body chemistry. <<set $slaves[$i].dick -= 1>> @@ -599,7 +599,7 @@ <</if>> <<set $slaves[$i].dick -= 1>> <</if>> - <<if (($slaves[$i].balls > 1) && ((($slaves[$i].inducedNCS == 0) && (random(1,100) > 99)) || (($slaves[$i].inducedNCS == 1) && (random(1,100) > 48)))>> + <<if (($slaves[$i].balls > 1) && ((($slaves[$i].inducedNCS == 0) && (random(1,100) > 99)) || (($slaves[$i].inducedNCS == 1) && (random(1,100) > 48))))>> <<if (($slaves[$i].inducedNCS == 1) && ($slaves[$i].balls > 2))>> $possessiveCap balls @@.orange;shrink down@@ due to $possessive body chemistry. <<set $slaves[$i].balls -= 1>> diff --git a/src/uncategorized/saDrugs.tw b/src/uncategorized/saDrugs.tw index f7fae9a232fe6d1c4ea31eda18459fc244506a5d..3d19eb2a40547805894746ba2d98c41afa022e13 100644 --- a/src/uncategorized/saDrugs.tw +++ b/src/uncategorized/saDrugs.tw @@ -110,7 +110,7 @@ <</if>> <<if $slaves[$i].inducedNCS == 1>> <<set _growth = Math.trunc(_growth/2.2)>> - $possessiveCap NCS kicks in fighting the breast growth, converting the excess fat into sexual energy for $object. + $possessiveCap @@.orange;NCS@@ kicks in fighting the breast growth, converting the excess fat into sexual energy for $object. <<set $slaves[$i].energy += _growth>> <</if>> <<set _growth = 25*Math.trunc(_growth*0.8)>> @@ -206,7 +206,7 @@ <</if>> <<if $slaves[$i].inducedNCS == 1>> <<set _growth = Math.trunc(_growth/2.2)>> - $possessiveCap NCS kicks in fighting the breast growth, converting the excess fat into sexual energy for $object. + $possessiveCap @@.orange;NCS@@ kicks in fighting the breast growth, converting the excess fat into sexual energy for $object. <<set $slaves[$i].energy += _growth>> <</if>> <<set _growth = 25*Math.trunc(_growth*0.8)>> @@ -293,7 +293,7 @@ <<set _growth*=0.2>> <<if $slaves[$i].inducedNCS == 1>> <<set _growth = Math.trunc(_growth/2.2)>> - $possessiveCap NCS kicks in fighting the butt + $possessiveCap @@.orange;NCS@@ kicks in fighting the butt growth<<if _growth > 1>>, converting the excess fat into sexual energy for $object<<else>> and no change happens<</if>>. <<set $slaves[$i].energy += _growth>> <</if>> @@ -355,7 +355,7 @@ <</if>> <<if $slaves[$i].inducedNCS == 1>> <<set _growth = Math.trunc(_growth/2.2)>> - $possessiveCap NCS kicks in fighting the butt growth<<if _growth > 1>>, converting the excess fat into sexual energy for $object<<else>> and no change happens<</if>>. + $possessiveCap @@.orange;NCS@@ kicks in fighting the butt growth<<if _growth > 1>>, converting the excess fat into sexual energy for $object<<else>> and no change happens<</if>>. <<set $slaves[$i].energy += _growth>> <</if>> <<if ((_growth > 1) || ($slaves[$i].inducedNCS == 1))>> @@ -509,7 +509,7 @@ /*age modifier*/ <<set _ageMod = 1>> <<if $slaves[$i].inducedNCS == 1>> - $possessiveCap NCS inhibits $possessive body response to the treatment. + $possessiveCap @@.orange;NCS@@ inhibits $possessive body response to the treatment. <<set _ageMod = .25>> <<elseif $slaves[$i].genes == "XY">> <<if $slaves[$i].pubertyXY == 0 && $slaves[$i].physicalAge <= 3>> @@ -668,11 +668,11 @@ <<if $slaves[$i].inducedNCS == 0>> @@.lime;$possessiveCap cock grows painfully,@@ becoming both longer and girthier. <<set $slaves[$i].dick += 1>> - <<elseif random(1,100 - $slaves[$i].dick) > 50>> - @@.lime;$possessiveCap cock grows painfully,@@ becoming both longer and girthier, depsite $possessive NCS. + <<elseif (random(1,(20 - $slaves[$i].dick))) > 12)>> + @@.lime;$possessiveCap cock grows painfully,@@ becoming both longer and girthier, depsite $possessive @@.orange;NCS.@@ <<set $slaves[$i].dick += 1>> <<else>> - The treatment fails to over come $possessive NCS and $possessive cock fails to grow. + The treatment fails to over come $possessive @@.orange;NCS@@ and $possessive cock fails to grow. <</if>> <</if>> <<else>> @@ -685,11 +685,11 @@ <<if $slaves[$i].inducedNCS == 0>> @@.lime;$possessiveCap clit grows painfully,@@ becoming both longer and girthier. <<set $slaves[$i].clit += 1>> - <<elseif random(1,16 - $slaves[$i].clit) > 8>> - @@.lime;$possessiveCap clit grows painfully,@@ becoming both longer and girthier, despite $possessive NCS. + <<elseif (random(1,(16 - $slaves[$i].clit)) > 10)>> + @@.lime;$possessiveCap clit grows painfully,@@ becoming both longer and girthier, despite $possessive @@.orange;NCS.@@ <<set $slaves[$i].clit += 1>> <<else>> - The treatment fails to over come $possessive NCS and $possessive clit fails to grow. + The treatment fails to over come $possessive @@.orange;NCS@@ and $possessive clit fails to grow. <</if>> <</if>> <</if>> @@ -726,10 +726,10 @@ @@.lime;$possessiveCap balls swell painfully.@@ <<set $slaves[$i].balls += 2>> <<elseif random(1,400 - $slaves[$i].balls) > 200>> - @@.lime;$possessiveCap balls swell painfully, despite $possessive NCS.@@ + @@.lime;$possessiveCap balls swell painfully,@@ despite $possessive @@.orange;NCS.@@ <<set $slaves[$i].balls += 1>> <<else>> - The treatment fails to over come $possessive NCS and $possessive balls fail to grow. + The treatment fails to over come $possessive @@.orange;NCS@@ and $possessive balls fail to grow. <</if>> <</if>> @@ -872,7 +872,7 @@ <</if>> <<case "penis atrophiers">> - $pronounCap receives @@.lime;direct injections of atrophiers right into $possessive penis,@@ causing $possessive body to begin pulling resources from it<<if $slaves[$i].inducedNCS == 1>>, $possessive NCS amplifies the effectiveness<</if>>. + $pronounCap receives @@.lime;direct injections of atrophiers right into $possessive penis,@@ causing $possessive body to begin pulling resources from it<<if $slaves[$i].inducedNCS == 1>>, $possessive @@.orange;NCS@@ amplifies the effectiveness<</if>>. <<set _shrinkage = 0>> <<if $slaves[$i].dick == 1>> $possessiveCap penis is now so miniscule that further drug use will fail to shrink it further; @@.yellow;$possessive drug regimen has been ended.@@ @@ -893,7 +893,7 @@ <<set $slaves[$i].dick -= _shrinkage>> <<case "testicle atrophiers">> - $pronounCap receives @@.lime;direct injections of atrophiers right into $possessive testicles,@@ causing $possessive body to begin pulling resources from them<<if $slaves[$i].inducedNCS == 1>>, $possessive NCS amplifies the effectiveness<</if>>. + $pronounCap receives @@.lime;direct injections of atrophiers right into $possessive testicles,@@ causing $possessive body to begin pulling resources from them<<if $slaves[$i].inducedNCS == 1>>, $possessive @@.orange;NCS@@ amplifies the effectiveness<</if>>. <<set _shrinkage = 0>> <<if $slaves[$i].balls == 1>> $possessiveCap balls are now so minuscule that further drug use will fail to shrink them further; @@.yellow;$possessive drug regimen has been ended.@@ @@ -923,7 +923,7 @@ <<set $slaves[$i].balls -= _shrinkage>> <<case "clitoris atrophiers">> - $pronounCap receives @@.lime;direct injections of atrophiers right into $possessive clitoris,@@ causing $possessive body to begin pulling resources from it<<if $slaves[$i].inducedNCS == 1>>, $possessive NCS amplifies the effectiveness<</if>>. + $pronounCap receives @@.lime;direct injections of atrophiers right into $possessive clitoris,@@ causing $possessive body to begin pulling resources from it<<if $slaves[$i].inducedNCS == 1>>, $possessive @@.orange;NCS@@ amplifies the effectiveness<</if>>. <<if $slaves[$i].clit == 0>> $possessiveCap clit is now so minuscule that further drug use will fail to shrink it further; @@.yellow;$possessive drug regimen has been ended.@@ <<set $slaves[$i].drugs = "no drugs">> @@ -936,11 +936,11 @@ <</if>> <<case "labia atrophiers">> - $pronounCap receives @@.lime;direct injections of atrophiers right into $possessive labia majora,@@ causing $possessive body to begin pulling resources from them<<if $slaves[$i].inducedNCS == 1>>, $possessive NCS amplifies the effectiveness<</if>>. + $pronounCap receives @@.lime;direct injections of atrophiers right into $possessive labia majora,@@ causing $possessive body to begin pulling resources from them<<if $slaves[$i].inducedNCS == 1>>, $possessive @@.orange;NCS@@ amplifies the effectiveness<</if>>. <<if $slaves[$i].labia == 0>> $possessiveCap labia are now so minuscule that further drug use will fail to shrink them further; @@.yellow;$possessive drug regimen has been ended.@@ <<set $slaves[$i].drugs = "no drugs">> - <<elseif (($slaves[].inducedNCS == 1) || (random(1,100) > (60-($injectionUpgrade*10)-($slaves[$i].labia*5)))) && ($slaves[$i].labia > 0)>> + <<elseif (($slaves[$i].inducedNCS == 1) || (random(1,100) > (60-($injectionUpgrade*10)-($slaves[$i].labia*5)))) && ($slaves[$i].labia > 0)>> @@.lime;$possessiveCap labia shrink painfully,@@ becoming smaller. <<set $slaves[$i].labia -= 1>> <</if>> @@ -949,20 +949,20 @@ <</if>> <<case "nipple atrophiers">> - $pronounCap receives @@.lime;direct injections of atrophiers right into $possessive nipples,@@ causing $possessive body to begin pulling resources from it<<if $slaves[$i].inducedNCS == 1>>, $possessive NCS amplifies the effectiveness<</if>>. + $pronounCap receives @@.lime;direct injections of atrophiers right into $possessive nipples,@@ causing $possessive body to begin pulling resources from it<<if $slaves[$i].inducedNCS == 1>>, $possessive @@.orange;NCS@@ amplifies the effectiveness<</if>>. <<switch $slaves[$i].nipples>> <<case "huge">> - <<if (($slaves[].inducedNCS == 1) || (random(1,100) > (60-($injectionUpgrade*15))))>> + <<if (($slaves[$i].inducedNCS == 1) || (random(1,100) > (60-($injectionUpgrade*15))))>> @@.lime;$possessiveCap nipples shrink painfully,@@ becoming smaller and puffy. <<set $slaves[$i].nipples = "puffy">> <</if>> <<case "puffy">> - <<if (($slaves[].inducedNCS == 1) || (random(1,100) > (60-($injectionUpgrade*15))))>> + <<if (($slaves[$i].inducedNCS == 1) || (random(1,100) > (60-($injectionUpgrade*15))))>> @@.lime;$possessiveCap nipples shrink painfully,@@ becoming smaller and cuter. <<set $slaves[$i].nipples = "cute">> <</if>> <<case "cute">> - <<if (($slaves[].inducedNCS == 1) || (random(1,100) > (60-($injectionUpgrade*15))))>> + <<if (($slaves[$i].inducedNCS == 1) || (random(1,100) > (60-($injectionUpgrade*15))))>> @@.lime;$possessiveCap nipples shrink painfully,@@ becoming tiny. <<set $slaves[$i].nipples = "tiny">> <</if>> @@ -972,7 +972,7 @@ <</switch>> <<case "lip atrophiers">> - $pronounCap receives @@.lime;direct injections of atrophiers right into $possessive lips,@@ causing $possessive body to begin pulling resources from them<<if $slaves[$i].inducedNCS == 1>>, $possessive NCS amplifies the effectiveness<</if>>. + $pronounCap receives @@.lime;direct injections of atrophiers right into $possessive lips,@@ causing $possessive body to begin pulling resources from them<<if $slaves[$i].inducedNCS == 1>>, $possessive @@.orange;NCS@@ amplifies the effectiveness<</if>>. <<set _shrinkage = 0>> <<if ($slaves[$i].lips-$slaves[$i].lipsImplant) == 0>> $possessiveCap natural lips are now so thin that further drug use will fail to shrink them further; @@.yellow;$possessive drug regimen has been ended.@@ @@ -986,7 +986,7 @@ <<elseif ($slaves[$i].lips-$slaves[$i].lipsImplant) >= 20>> @@.lime;$possessiveCap natural lips shrink painfully,@@ becoming smaller and thinner. <<set _shrinkage = 1>> - <<elseif (($slaves[].inducedNCS == 1) || (random(1,100) > (40-($injectionUpgrade*10)-($slaves[$i].lips-$slaves[$i].lipsImplant)))) && (($slaves[$i].lips-$slaves[$i].lipsImplant) > 0)>> + <<elseif (($slaves[$i].inducedNCS == 1) || (random(1,100) > (40-($injectionUpgrade*10)-($slaves[$i].lips-$slaves[$i].lipsImplant)))) && (($slaves[$i].lips-$slaves[$i].lipsImplant) > 0)>> @@.lime;$possessiveCap natural lips shrink painfully,@@ becoming smaller and thinner. <<set _shrinkage = 1>> <</if>> @@ -996,7 +996,7 @@ <<set $slaves[$i].lips -= _shrinkage>> <<case "breast redistributors">> - $pronounCap receives @@.lime;direct injections of fat redistributors right into $possessive breasts,@@ causing $possessive body to begin moving fatty tissue from them to $possessive core<<if $slaves[$i].inducedNCS == 1>>, $possessive NCS amplifies the effectiveness<</if>>. + $pronounCap receives @@.lime;direct injections of fat redistributors right into $possessive breasts,@@ causing $possessive body to begin moving fatty tissue from them to $possessive core<<if $slaves[$i].inducedNCS == 1>>, $possessive @@.orange;NCS@@ amplifies the effectiveness<</if>>. <<set _factor = 0>> <<if ($slaves[$i].boobs-$slaves[$i].boobsImplant) <= 100>> $possessiveCap natural breast tissue is now so thin that further drug use will fail to shrink it further; @@.yellow;$possessive drug regimen has been ended.@@ @@ -1027,7 +1027,7 @@ <<set $slaves[$i].boobs -= 100*_factor>> <<case "butt redistributors">> - $pronounCap receives @@.lime;direct injections of fat redistributors right into $possessive buttocks,@@ causing $possessive body to begin moving fatty tissue from it to $possessive core<<if $slaves[$i].inducedNCS == 1>>, $possessive NCS amplifies the effectiveness<</if>>. + $pronounCap receives @@.lime;direct injections of fat redistributors right into $possessive buttocks,@@ causing $possessive body to begin moving fatty tissue from it to $possessive core<<if $slaves[$i].inducedNCS == 1>>, $possessive @@.orange;NCS@@ amplifies the effectiveness<</if>>. <<if ($slaves[$i].butt-$slaves[$i].buttImplant) <= 0>> $possessiveCap natural ass flesh is now so thin that further drug use will fail to shrink it further; @@.yellow;$possessive drug regimen has been ended.@@ <<set $slaves[$i].drugs = "no drugs">> diff --git a/src/uncategorized/saHormoneEffects.tw b/src/uncategorized/saHormoneEffects.tw index 8eaac27a8bd1e24f8f68abedd2988a7c6c426bb3..425f851c55615b73e5230d5911b945b9afcd2c5f 100644 --- a/src/uncategorized/saHormoneEffects.tw +++ b/src/uncategorized/saHormoneEffects.tw @@ -78,7 +78,7 @@ <<if ($slaves[$i].inducedNCS == 1)>> <<if ($slaves[$i].shoulders+(Math.abs($slaves[$i].shouldersImplant)) > -1) && ($slaves[$i].shoulders > -2) && (random(1,100) < 40+(20*$hormoneUpgradePower))>> - Feminine hormones team up with $possessive NCS to cause @@.lime;$possessive shoulders to shrink into a more childlike narrowness@@ than before. + Feminine hormones team up with $possessive @@.orange;NCS@@ to cause @@.lime;$possessive shoulders to shrink into a more childlike narrowness@@ than before. <<set $slaves[$i].shoulders-->> <</if>> <<elseif ($slaves[$i].physicalAge < 25)>> @@ -142,7 +142,7 @@ <<set $slaves[$i].butt++>> <</if>> <<else>> - $possessiveCap NCS blocks asset growth despite the fact that $possessive body is swimming in hormones. + $possessiveCap @@.orange;NCS@@ blocks asset growth despite the fact that $possessive body is swimming in hormones. <</if>> <<if $slaves[$i].vagina > -1 && $slaves[$i].ovaries != 0 && $slaves[$i].vaginaLube < 2>> Hormonal effects cause @@.lime;$possessive vagina to produce more copious natural lubricant.@@ @@ -152,7 +152,7 @@ <<if $hormoneUpgradeShrinkage == 0>> <<if $slaves[$i].dick > 1>> <<if (($slaves[$i].inducedNCS == 1) && (random(1,100) > 50) && ($slaves[$i].dick > 2))>> - Hormonal effects work with $possessive NCS and cause @@.orange;$possessive dick to atrophy a lot.@@ + Hormonal effects work with $possessive @@.orange;NCS@@ and cause @@.orange;$possessive dick to atrophy a lot.@@ <<set $slaves[$i].dick -= 1>> <<else>> Hormonal effects cause @@.orange;$possessive dick to atrophy.@@ @@ -161,7 +161,7 @@ <</if>> <<if $slaves[$i].balls > 1>> <<if (($slaves[$i].inducedNCS == 1) && (random(1,100) > 50) && ($slaves[$i].balls > 2))>> - Hormonal effects work with $possessive NCS and cause @@.orange;$possessive testicles to atrophy a lot.@@ + Hormonal effects work with $possessive @@.orange;NCS@@ and cause @@.orange;$possessive testicles to atrophy a lot.@@ <<set $slaves[$i].balls -= 1>> <<else>> Hormonal effects cause @@.orange;$possessive testicles to atrophy.@@ @@ -170,7 +170,7 @@ <</if>> <<if $slaves[$i].clit > 0>> <<if (($slaves[$i].inducedNCS == 1) && (random(1,100) > 50) && ($slaves[$i].clit > 1))>> - Hormonal effects work with $possessive NCS and cause @@.orange;$possessive clit to shring down greatly.@@ + Hormonal effects work with $possessive @@.orange;NCS@@ and cause @@.orange;$possessive clit to shring down greatly.@@ <<set $slaves[$i].clit -= 1>> <<else>> Hormonal effects cause @@.orange;$possessive clit to shrink significantly.@@ @@ -251,7 +251,7 @@ <<if $hormoneUpgradeShrinkage == 0>> <<if $slaves[$i].dick > 1>> <<if (($slaves[$i].inducedNCS == 1) && (random(1,100) > 50) && ($slaves[$i].dick > 2))>> - Hormonal effects work with $possessive NCS and cause @@.orange;$possessive dick to atrophy a lot.@@ + Hormonal effects work with $possessive @@.orange;NCS@@ and cause @@.orange;$possessive dick to atrophy a lot.@@ <<set $slaves[$i].dick -= 1>> <<else>> Hormonal effects cause @@.orange;$possessive dick to atrophy.@@ @@ -260,7 +260,7 @@ <</if>> <<if $slaves[$i].balls > 1>> <<if (($slaves[$i].inducedNCS == 1) && (random(1,100) > 50 ) && ($slaves[$i].balls > 2))>> - Hormonal effects work with $possessive NCS and cause @@.orange;$possessive testicles to atrophy a lot.@@ + Hormonal effects work with $possessive @@.orange;NCS@@ and cause @@.orange;$possessive testicles to atrophy a lot.@@ <<set $slaves[$i].balls -= 1>> <<else>> Hormonal effects cause @@.orange;$possessive testicles to atrophy.@@ @@ -269,7 +269,7 @@ <</if>> <<elseif $slaves[$i].clit > 0>> <<if (($slaves[$i].inducedNCS == 1) && (random(1,100) > 50) && ($slaves[$i].clit > 1))>> - Hormonal effects work with $possessive NCS and cause @@.orange;$possessive clit to shrink down greatly.@@ + Hormonal effects work with $possessive @@.orange;NCS@@ and cause @@.orange;$possessive clit to shrink down greatly.@@ <<set $slaves[$i].clit -= 1>> <<else>> Hormonal effects cause @@.orange;$possessive clit to shrink significantly.@@ @@ -351,7 +351,7 @@ <<if $hormoneUpgradeShrinkage == 0>> <<if $slaves[$i].dick > 2>> <<if (($slaves[$i].inducedNCS == 1) && (random(1,100) > 50))>> - Hormonal effects work with $possessive NCS and cause @@.orange;$possessive dick to atrophy a lot.@@ + Hormonal effects work with $possessive @@.orange;NCS@@ and cause @@.orange;$possessive dick to atrophy a lot.@@ <<set $slaves[$i].dick -= 1>> <<else>> Hormonal effects cause @@.orange;$possessive dick to atrophy.@@ @@ -360,7 +360,7 @@ <</if>> <<if $slaves[$i].balls > 2>> <<if (($slaves[$i].inducedNCS == 1) && (random(1,100) > 50))>> - Hormonal effects work with $possessive NCS and cause @@.orange;$possessive testicles to atrophy a lot.@@ + Hormonal effects work with $possessive @@.orange;NCS@@ and cause @@.orange;$possessive testicles to atrophy a lot.@@ <<set $slaves[$i].balls -= 1>> <<else>> Hormonal effects cause @@.orange;$possessive testicles to atrophy.@@ @@ -369,7 +369,7 @@ <</if>> <<if $slaves[$i].clit > 1>> <<if (($slaves[$i].inducedNCS == 1) && (random(1,100) > 50))>> - Hormonal effects work with $possessive NCS and cause @@.orange;$possessive clit to shring down greatly.@@ + Hormonal effects work with $possessive @@.orange;NCS@@ and cause @@.orange;$possessive clit to shring down greatly.@@ <<set $slaves[$i].clit -= 1>> <<else>> Hormonal effects cause @@.orange;$possessive clit to shrink significantly.@@ @@ -448,7 +448,7 @@ <<if $hormoneUpgradeShrinkage == 0>> <<if $slaves[$i].dick > 3>> <<if (($slaves[$i].inducedNCS == 1) && (random(1,100) > 50))>> - Hormonal effects work with $possessive NCS and cause @@.orange;$possessive dick to atrophy a lot.@@ + Hormonal effects work with $possessive @@.orange;NCS@@ and cause @@.orange;$possessive dick to atrophy a lot.@@ <<set $slaves[$i].dick -= 1>> <<else>> Hormonal effects cause @@.orange;$possessive dick to atrophy.@@ @@ -456,7 +456,7 @@ <</if>> <<if $slaves[$i].balls > 3>> <<if (($slaves[$i].inducedNCS == 1) && (random(1,100) > 50))>> - Hormonal effects work with $possessive NCS and cause @@.orange;$possessive testicles to atrophy a lot.@@ + Hormonal effects work with $possessive @@.orange;NCS@@ and cause @@.orange;$possessive testicles to atrophy a lot.@@ <<set $slaves[$i].balls -= 1>> <<else>> Hormonal effects cause @@.orange;$possessive testicles to atrophy.@@ @@ -465,7 +465,7 @@ <</if>> <<if $slaves[$i].clit > 2>> <<if (($slaves[$i].inducedNCS == 1) && (random(1,100) > 50))>> - Hormonal effects work with $possessive NCS and cause @@.orange;$possessive clit to shring down greatly.@@ + Hormonal effects work with $possessive @@.orange;NCS@@ and cause @@.orange;$possessive clit to shring down greatly.@@ <<set $slaves[$i].clit -= 1>> <<else>> Hormonal effects cause @@.orange;$possessive clit to shrink significantly.@@ @@ -523,7 +523,7 @@ <<elseif $slaves[$i].hormoneBalance <= -350>> <<if ($slaves[$i].inducedNCS == 1)>> <<if ($slaves[$i].hips+(Math.abs($slaves[$i].hipsImplant)) > -1) && ($slaves[$i].hips > -2) && (random(1,100) <= 20+(10*$hormoneUpgradePower))>> - Masculine hormones team up with $possessive NCS to cause @@.lime;$possessive hips to shrink into a more childlike narrowness@@ than before. + Masculine hormones team up with $possessive @@.orange;NCS@@ to cause @@.lime;$possessive hips to shrink into a more childlike narrowness@@ than before. <<set $slaves[$i].hips -= 1>> <</if>> <<elseif ($slaves[$i].physicalAge < 25)>> @@ -559,7 +559,7 @@ <<if ($hormoneUpgradeShrinkage == 0)>> <<if (($slaves[$i].butt-$slaves[$i].buttImplant) > 1)>> <<if (($slaves[$i].inducedNCS == 1) && (random(1,100) > 50) && ($slaves[$i].butt > 2))>> - Hormonal effects work with $possessive NCS and cause @@.orange;$possessive butt to decrease a lot.@@ + Hormonal effects work with $possessive @@.orange;NCS@@ and cause @@.orange;$possessive butt to decrease a lot.@@ <<set $slaves[$i].butt -= 1>> <<else>> Hormonal effects cause @@.orange;the natural size of $possessive butt to decrease.@@ @@ -568,7 +568,7 @@ <</if>> <<if (($slaves[$i].boobs-$slaves[$i].boobsImplant) > 100)>> <<if (($slaves[$i].inducedNCS == 1) && (random(1,100) > 50) && ($slaves[$i].boobsImplant > 200))>> - Hormonal effects work with $possessive NCS and cause @@.orange;$possessive tits to shrink a lot.@@ + Hormonal effects work with $possessive @@.orange;NCS@@ and cause @@.orange;$possessive tits to shrink a lot.@@ <<set $slaves[$i].boobs -= 10+(15*$hormoneUpgradePower)>> <<else>> Hormonal effects cause @@.orange;the natural size of $possessive tits to shrink.@@ @@ -646,7 +646,7 @@ <<if ($hormoneUpgradeShrinkage == 0)>> <<if (($slaves[$i].butt-$slaves[$i].buttImplant) > 1)>> <<if (($slaves[$i].inducedNCS == 1) && (random(1,100) > 50) && ($slaves[$i].butt > 2))>> - Hormonal effects work with $possessive NCS and cause @@.orange;$possessive butt to decrease a lot.@@ + Hormonal effects work with $possessive @@.orange;NCS@@ and cause @@.orange;$possessive butt to decrease a lot.@@ <<set $slaves[$i].butt -= 1>> <<else>> Hormonal effects cause @@.orange;the natural size of $possessive butt to decrease.@@ @@ -655,7 +655,7 @@ <</if>> <<if (($slaves[$i].boobs-$slaves[$i].boobsImplant) > 300)>> <<if (($slaves[$i].inducedNCS == 1) && (random(1,100) > 50))>> - Hormonal effects work with $possessive NCS and cause @@.orange;$possessive tits to shrink a lot.@@ + Hormonal effects work with $possessive @@.orange;NCS@@ and cause @@.orange;$possessive tits to shrink a lot.@@ <<set $slaves[$i].boobs -= 10+(15*$hormoneUpgradePower)>> <<else>> Hormonal effects cause @@.orange;the natural size of $possessive tits to shrink.@@ @@ -730,7 +730,7 @@ <<if ($hormoneUpgradeShrinkage == 0)>> <<if (($slaves[$i].butt-$slaves[$i].buttImplant) > 2)>> <<if (($slaves[$i].inducedNCS == 1) && (random(1,100) > 50))>> - Hormonal effects work with $possessive NCS and cause @@.orange;$possessive butt to decrease a lot.@@ + Hormonal effects work with $possessive @@.orange;NCS@@ and cause @@.orange;$possessive butt to decrease a lot.@@ <<set $slaves[$i].butt -= 1>> <<else>> Hormonal effects cause @@.orange;the natural size of $possessive butt to decrease.@@ @@ -739,7 +739,7 @@ <</if>> <<if (($slaves[$i].boobs-$slaves[$i].boobsImplant) > 400)>> <<if (($slaves[$i].inducedNCS == 1) && (random(1,100) > 50))>> - Hormonal effects work with $possessive NCS and cause @@.orange;$possessive tits to shrink a lot.@@ + Hormonal effects work with $possessive @@.orange;NCS@@ and cause @@.orange;$possessive tits to shrink a lot.@@ <<set $slaves[$i].boobs -= 10+(15*$hormoneUpgradePower)>> <<else>> Hormonal effects cause @@.orange;the natural size of $possessive tits to shrink.@@ @@ -814,7 +814,7 @@ <<if ($hormoneUpgradeShrinkage == 0)>> <<if (($slaves[$i].butt-$slaves[$i].buttImplant) > 3)>> <<if (($slaves[$i].inducedNCS == 1) && (random(1,100) > 50))>> - Hormonal effects work with $possessive NCS and cause @@.orange;$possessive butt to decrease a lot.@@ + Hormonal effects work with $possessive @@.orange;NCS@@ and cause @@.orange;$possessive butt to decrease a lot.@@ <<set $slaves[$i].butt -= 1>> <<else>> Hormonal effects cause @@.orange;the natural size of $possessive butt to decrease.@@ @@ -823,7 +823,7 @@ <</if>> <<if (($slaves[$i].boobs-$slaves[$i].boobsImplant) > 600)>> <<if (($slaves[$i].inducedNCS == 1) && (random(1,100) > 50))>> - Hormonal effects work with $possessive NCS and cause @@.orange;$possessive tits to shrink a lot.@@ + Hormonal effects work with $possessive @@.orange;NCS@@ and cause @@.orange;$possessive tits to shrink a lot.@@ <<set $slaves[$i].boobs -= 10+(15*$hormoneUpgradePower)>> <<else>> Hormonal effects cause @@.orange;the natural size of $possessive tits to shrink.@@ @@ -892,7 +892,7 @@ <<if ($hormoneUpgradeShrinkage == 0)>> <<if (($slaves[$i].butt-$slaves[$i].buttImplant) > 4)>> <<if (($slaves[$i].inducedNCS == 1) && (random(1,100) > 50))>> - Hormonal effects work with $possessive NCS and cause @@.orange;$possessive butt to decrease a lot.@@ + Hormonal effects work with $possessive @@.orange;NCS@@ and cause @@.orange;$possessive butt to decrease a lot.@@ <<set $slaves[$i].butt -= 1>> <<else>> Hormonal effects cause @@.orange;the natural size of $possessive butt to decrease.@@ @@ -901,7 +901,7 @@ <</if>> <<if (($slaves[$i].boobs-$slaves[$i].boobsImplant) > 800)>> <<if (($slaves[$i].inducedNCS == 1) && (random(1,100) > 50))>> - Hormonal effects work with $possessive NCS and cause @@.orange;$possessive tits to shrink a lot.@@ + Hormonal effects work with $possessive @@.orange;NCS@@ and cause @@.orange;$possessive tits to shrink a lot.@@ <<set $slaves[$i].boobs -= 10+(15*$hormoneUpgradePower)>> <<else>> Hormonal effects cause @@.orange;the natural size of $possessive tits to shrink.@@ diff --git a/src/uncategorized/saLongTermEffects.tw b/src/uncategorized/saLongTermEffects.tw index 233df3ebeed3d601935be1f86d2b0ab36d03e218..9903432ed9701d15a524b077c8f3da3209f80831 100644 --- a/src/uncategorized/saLongTermEffects.tw +++ b/src/uncategorized/saLongTermEffects.tw @@ -3421,10 +3421,10 @@ <<if ($slaves[$i].vagina > -1) && ($slaves[$i].ovaries != 0) && ($slaves[$i].vaginaLube < 2)>> <<set _Effects.push("VaginaWetter")>> <</if>> - <<if (($slaves[$i].butt-$slaves[$i].buttImplant) < 2) && (($slaves[$i].inducedNCS == 0) || (random(1,100) > 50))>> + <<if (($slaves[$i].butt-$slaves[$i].buttImplant) < 2) && (($slaves[$i].inducedNCS == 0) || (random(1,100) > 75))>> <<set _Effects.push("ButtBigger")>> <</if>> - <<if (($slaves[$i].boobs-$slaves[$i].boobsImplant) < 500) && (($slaves[$i].inducedNCS == 0) || (random(1,100) > 50))>> + <<if (($slaves[$i].boobs-$slaves[$i].boobsImplant) < 500) && (($slaves[$i].inducedNCS == 0) || (random(1,100) > 75))>> <<set _Effects.push("BoobsBigger")>> <</if>> <<if $slaves[$i].face-$slaves[$i].faceImplant <= 10>> @@ -3452,16 +3452,16 @@ <<set _Effects = _Effects.random()>> <<switch _Effects>> <<case "DickShrink">> - <<if (($slaves[$i].inducedNCS == 1) && (random(1,100) > 50) && ($slaves[$i].dick > 2))>> - Dependence on the hormone-based aphrodisiacs combined with $possessive NCS makes @@.orange;$possessive dick shrink down to be more childlike.@@ + <<if (($slaves[$i].inducedNCS == 1) && ($slaves[$i].dick > 2) && (random(1,100) > 25))>> + Dependence on the hormone-based aphrodisiacs combined with $possessive @@.orange;NCS@@ makes @@.orange;$possessive dick shrink down to be more childlike.@@ <<set $slaves[$i].dick -= 1>> <<else>> Dependence on the hormone-based aphrodisiacs makes @@.orange;$possessive dick atrophy.@@ <</if>> <<set $slaves[$i].dick -= 1>> <<case "BallsShrink">> - <<if (($slaves[$i].inducedNCS == 1) && (random(1,100) > 50) && ($slaves[$i].balls > 2))>> - Dependence on the hormone-based aphrodisiacs combined with $possessive NCS makes @@.orange;$possessive balls shrink down to be more childlike.@@ + <<if (($slaves[$i].inducedNCS == 1) && ($slaves[$i].balls > 2) && (random(1,100) > 25))>> + Dependence on the hormone-based aphrodisiacs combined with $possessive @@.orange;NCS@@ makes @@.orange;$possessive balls shrink down to be more childlike.@@ <<set $slaves[$i].balls -= 1>> <<else>> Dependence on the hormone-based aphrodisiacs makes @@.orange;$possessive testicles atrophy.@@ @@ -3489,8 +3489,8 @@ Dependence on the hormone-based aphrodisiacs makes @@.lime;$possessive face soften into femininity.@@ <<set $slaves[$i].faceShape = "normal">> <<case "ClitSmaller">> - <<if (($slaves[$i].inducedNCS == 1) && (random(1,100) > 50) && ($slaves[$i].clit > 1))>> - Dependence on the hormone-based aphrodisiacs combined with $possessive NCS makes @@.orange;$possessive clit shrink down to be more childlike.@@ + <<if (($slaves[$i].inducedNCS == 1) && ($slaves[$i].clit > 1) && (random(1,100) > 50))>> + Dependence on the hormone-based aphrodisiacs combined with $possessive @@.orange;NCS@@ makes @@.orange;$possessive clit shrink down to be more childlike.@@ <<set $slaves[$i].clit -= 1>> <<else>> Dependence on the hormone-based aphrodisiacs makes @@.orange;$possessive clit shrink significantly.@@ @@ -3714,8 +3714,8 @@ <<elseif ($slaves[$i].drugs == "steroids")>> <<set _precocious += 0.2>> <<if ($slaves[$i].boobs > 100) && (random(1,100) < 30)>> - <<if (($slaves[$i].inducedNCS == 1) && (random(1,100) > 50) && ($slaves[$i].boobs > 300))>> - Hormonal effects work with $possessive NCS and cause @@.orange;$possessive tits to shrink down.@@ + <<if (($slaves[$i].inducedNCS == 1) && ($slaves[$i].boobs > 300) && (random(1,100) > 25))>> + Hormonal effects work with $possessive @@.orange;NCS@@ and cause @@.orange;$possessive tits to shrink down.@@ <<set $slaves[$i].boobs -= 50>> <<set $slaves[$i].energy += 1>> <<else>> @@ -3847,8 +3847,8 @@ <</if>> <</if>> <<if ($slaves[$i].dick > 1) && (random(1,100) < 30)>> - <<if (($slaves[$i].inducedNCS == 1) && (random(1,100) > 50) && ($slaves[$i].dick > 2))>> - Hormonal effects work with $possessive NCS and cause @@.orange;$possessive dick to shrink.@@ + <<if (($slaves[$i].inducedNCS == 1) && ($slaves[$i].dick > 2) && (random(1,100) > 25))>> + Hormonal effects work with $possessive @@.orange;NCS@@ and cause @@.orange;$possessive dick to shrink.@@ <<set $slaves[$i].dick -= 1>> <<else>> $pronounCap feels an @@.orange;unusual lightness@@ in $possessive penis. @@ -3856,8 +3856,8 @@ <<set $slaves[$i].dick -= 1>> <</if>> <<if ($slaves[$i].balls > 1) && (random(1,100) < 30)>> - <<if (($slaves[$i].inducedNCS == 1) && (random(1,100) > 50) && ($slaves[$i].balls > 300))>> - Hormonal effects work with $possessive NCS and cause @@.orange;$possessive balls to shrink.@@ + <<if (($slaves[$i].inducedNCS == 1) && ($slaves[$i].balls > 2) && (random(1,100) > 25))>> + Hormonal effects work with $possessive @@.orange;NCS@@ and cause @@.orange;$possessive balls to shrink.@@ <<set $slaves[$i].balls -= 1>> <<else>> $pronounCap feels an @@.orange;unusual emptiness@@ to $possessive scrotum. @@ -5243,7 +5243,7 @@ <<if $arcologies[0].FSYouthPreferentialist != "unset">> <<if ($slaves[$i].inducedNCS > 0) && ($slaves[$i].visualAge <= 18)>> Society @@.green;strongly approves@@ of you keeping $slaves[$i].slaveName forever young and youthening; this furthers the fashion for young slaves. - <<FSChangePorn "Paternalist" 2>> + <<FSChangePorn "YouthPreferentialist" 2>> <<elseif ($slaves[$i].visualAge < 30)>> Society @@.green;approves@@ of $slaves[$i].slaveName's youthful body; $pronoun furthers the fashion for young slaves. <<set _youth_rep_change = ((30-$slaves[$i].visualAge)/5)>> @@ -6242,98 +6242,202 @@ * when not youthening */ <<if ($slaves[$i].inducedNCS == 1)>> - <<if $slaves[$i].visualAge > 8 && $slaves[$i].physicalAge > 8>> - <<set $slaves[$i].NCSyouthening++>> - <<set _youthDifference = $slaves[$i].physicalAge - 8>> - <<set _youtheningLevel = Math.round(Math.clamp((_youthDifference / 4) + .25, 0, 10))>> - <<set _youtheningRequirement = 11 - _youtheingLevel>> - <<if $slaves[$i].NCSyouthening <= _youtheningRequirement>> - <<if $seeAge == 1>> - $pronounCap has been living under the effects of $possessive NCS for a while and the accumulated effects make @@.lime;$object look younger again.@@ - <</if>> - <<set $slaves[$i].visualAge-->> - <<set $slaves[$i].NCSyouthening = 0>> + <<set _countNCS = 0>> + /* + ** To prevent the NCS from firing on every attribute in one year, this variable counts the + ** number of NCS affects that fire. Most affects will only trigger if one or two other + ** have already fired, but won't fire beyond. There are two exceptions to that, first, + ** massively oversized growth assets, which will fire always, e.g. boobs > 5000, dick > 10, + ** etc. Second, Body structure, hips/shoulders may fire any time, (decreasing random). + ** + ** Youthening (visual age year number reduction) + ** Happens on a sliding scale, the older a slave is, the faster the de-aging goes. + ** Consequently, it goes slower as the visual age approaches an 8 year old loli/shota body. + ** Age 45+ => auto age reduction 1 year per 1 week. + ** Age 41-44 => age reduction 1 year per 2 weeks. + ** Age 37-40 => age reduction 1 year per 3 weeks. + ** Age 33-36 => age reduction 1 year per 4 weeks. + ** Age 29-32 => age reduction 1 year per 5 weeks. + ** Age 25-28 => age reduction 1 year per 6 weeks. + ** Age 21-24 => age reduction 1 year per 7 weeks. + ** Age 17-20 => age reduction 1 year per 8 weeks. + ** Age 13-16 => age reduction 1 year per 9 weeks. + ** Age 9-12 => slowest age reduction 1 year per 10 weeks. + ** + ** To track this, the slave.NCSyouthening field counts the *charge* of youthening the slave + ** currently has, and if it's over the youthening requirements, the slave will become younger. + ** + ** Additionally while years fly off quickly in the beginning for older slaves, and oversized body parts + ** shrink away, other secondary characteristics slowly but surely drop off, but based on the above + ** *charge* of youthening. + ** + ** Note that with this system a 45 year old slave given NCS would be indistinguishable from an 8 year + ** old in a little over 4 years time. + */ + <<if ndef($slaves[$i].NCSyouthening)>><<set $slaves[$i].NCSyouthening = 0>><</if>> + <<set _youthening = 0, $slaves[$i].NCSyouthening++>> + <<set _youtheningLevel = Math.round(Math.clamp((($slaves[$i].physicalAge - 8) / 4) + .25, 0, 10))>> + <<if (($slaves[$i].visualAge > 8) && ($slaves[$i].NCSyouthening >= (11 - _youtheningLevel)))>> + <!-- NCS: youthening fires! --> + <<if $seeAge == 1>> + $pronounCap has been living under the effects of $possessive @@.orange;NCS@@ for a while and the accumulated effects make @@.lime;$object look younger again.@@ <</if>> + <<set $slaves[$i].visualAge--, _countNCS++, _youthening++>> <</if>> - <<if (($slaves[$i].boobs >= 3000) && (random(1,100) > 50))>> - $possessiveCap NCS kicks in and @@.orange;reduces the size of $possessive bouncing breasts.@@ - <<set $slaves[$i].boobs -= Math.round($slaves[$i].boobs * .1)>> - <<elseif (($slaves[$i].NCSyouthening >= 5) && ($slaves[$i].boobs >= 300) && (random(1,100) > 50))>> - $possessiveCap NCS kicks in and @@.orange;reduces the size of $possessive tits.@@ - <<set $slaves[$i].boobs -= Math.round($slaves[$i].boobs * .1)>> - <</if>> - /* height */ + /* + ** height always fires if over 176 cm, + ** also fires if the slave is tall for their visual age + ** also if they are in * NCSyouthening 3-5 (reverse teen years) and + ** over 126 cm + ** or over height (30% chance) + */ <<set _averageHeight = Height.mean($slaves[$i])>> <<set _heightDelta = $slaves[$i].height - _averageHeight>> - <<if (($slaves[$i].height > 176) || (_heightDelta > 5) || (($slaves[$i].NCSyouthening >= 4) && (($slaves[$i].height > 126) || (_heightDelta > 0)) && (random(1,100) > 50)))>> + <<if (($slaves[$i].height > 176) || (_heightDelta > 5) || (($slaves[$i].NCSyouthening >= 6) && (($slaves[$i].height > 126) || (_heightDelta > 0)) && (random(1,100) < 30)))>> <<if _heightDelta > 15>><<set _shrinkage = 5>> <<elseif _heightDelta > 5>><<set _shrinkage = 4>> <<elseif _heightDelta > -5>><<set _shrinkage = 3>> <<elseif _heightDelta > -15>><<set _shrinkage = 2>> <<else>><<set _shrinkage = 1>> <</if>> - $possessiveCap NCS kicks in and @@.orange;reduces $possessive stature, leaving her shorter.@@ - <<set $slaves[$i].height -= _shrinkage>> - <</if>> - <<if (($slaves[$i].hips >= 2) && (random(1,100) > 50))>> - $possessiveCap NCS kicks in and @@.orange;reduces the size of $possessive freakish hips.@@ - <<set $slaves[$i].hips -= 1>> - <<elseif (($slaves[$i].NCSyouthening >= 3) && ($slaves[$i].hips >= -1) && (random(1,100) > 50))>> - $possessiveCap NCS kicks in and @@.orange;reduces the size of $possessive hips making $possessive appear more childlike.@@ - <<set $slaves[$i].hips -= 1>> + $possessiveCap @@.orange;NCS@@ is actively @@.orange;reducing $possessive stature, leaving her shorter.@@ + <<set $slaves[$i].height -= _shrinkage, _countNCS++>> <</if>> - <<if (($slaves[$i].shoulders >= 2) && (random(1,100) > 50))>> - $possessiveCap NCS kicks in and @@.orange;reduces the size of $possessive domineering shoulders.@@ - <<set $slaves[$i].shoulders -= 1>> - <<elseif (($slaves[$i].NCSyouthening >= 3) && ($slaves[$i].shoulders >= -1) && (random(1,100) > 50))>> - $possessiveCap NCS kicks in and @@.orange;reduces the size of $possessive shoulders making $possessive appear more childlike.@@ - <<set $slaves[$i].shoulders -= 1>> + /* + ** Boobs, nipples and areolae. + ** Boobs always fires for over 5000 cc, + ** nipples/areolae shrinkage wil fire for boobs under 5000, + ** where nipples are tiny/cute at 30% chance. + ** anything over 300 will fire if + ** the slave's accumulated youthening is 6 or higher, + ** or by a 50% chance. + */ + <<if (($slaves[$i].boobs >= 5000) && (random(1,100) < 90))>> + $possessiveCap @@.orange;NCS@@ has @@.orange;reduced the size of $possessive bouncing breasts.@@ + <<set $slaves[$i].boobs -= Math.round($slaves[$i].boobs * .11), _countNCS++>> + <<elseif (($slaves[$i].boobs <= 5000) && (!['tiny', 'cute'].includes($slaves[$i].nipples)) && (random(1,100) < 30))>> + <<if ('fuckable' == $slaves[$i].nipples)>><<set _target = 'inverted'>> + <<elseif ('inverted' == $slaves[$i].nipples)>><<set _target = 'partially inverted'>> + <<elseif ('partially inverted' == $slaves[$i].nipples)>><<set _target = 'normal'>> + <<else>><<set _target = either('cute', 'tiny')>> + <</if>> + $possessiveCap @@.orange;NCS@@ has @@.lime;changed $possessive nipples to <<= _target>>.@@ + <<set $slaves[$i].nipples = _target>> + <<if ($slaves[$i].areolae > 1)>> + $possessiveCap areolae also shrink down to a more normal size<<if ($slaves[$i].areolae > 3)>> loosing the surgial shape alteration<</if>>. + <<set $slaves[$i].areolae = 1, _countNCS++>> + <</if>> + <<elseif (($slaves[$i].boobs >= 300) && (($slaves[$i].NCSyouthening >= 6) || (random(1,100) < 50)))>> + $possessiveCap @@.orange;NCS@@ has @@.orange;reduced the size of $possessive tits.@@ + <<set $slaves[$i].boobs -= Math.round($slaves[$i].boobs * .09), _countNCS++>> <</if>> - <<if (($slaves[$i].dick >= 10) && (random(1,100) > 50))>> - $possessiveCap NCS kicks in and @@.orange;reduces the size of $possessive giant dick.@@ - <<set $slaves[$i].dick -= 2>> - <<elseif (($slaves[$i].NCSyouthening >= 3) && ($slaves[$i].dick >= 1) && (random(1,100) > 50))>> - $possessiveCap NCS kicks in and @@.orange;reduces the size of $possessive dick.@@ - <<set $slaves[$i].dick -= 1>> + /* + ** Hips and Shoulders reshaping + ** One or the other can happen per week as long as the hips and shoulders are bigger than the smallest + ** level, though the chances get much more likely for the widest sizes. + */ + <<if (($slaves[$i].hips >= -2) && (random(1,100) < (($slaves[$i].hips + 3) * 18)))>> + $possessiveCap @@.orange;NCS@@ gets busy @@.orange;reducing the size of $possessive + <<if ($slaves[$i].hips >= 2)>>freakish + <<elseif ($slaves[$i].hips >= 0)>>wide + <<elseif ($slaves[$i].hips >= -2)>>already narrow + <</if>> + hips.@@ + <<set $slaves[$i].hips -= 1, _countNCS++>> + <<elseif (($slaves[$i].shoulders >= -2) && (random(1,100) < (($slaves[$i].shoulders + 3) * 18)))>> + $possessiveCap @@.orange;NCS@@ applies and @@.orange;reduces the size of $possessive + <<if ($slaves[$i].shoulders >= 2)>>domineering + <<elseif ($slaves[$i].shoulders >= 0)>> + <<elseif ($slaves[$i].shoulders >= -2)>>already narrow + <</if>> + shoulders.@@ + <<set $slaves[$i].shoulders -= 1, _countNCS++>> <</if>> - <<if (($slaves[$i].clit >= 5) && (random(1,100) > 50))>> - $possessiveCap NCS kicks in and @@.orange;reduces the size of $possessive enourmous clit-dick.@@ - <<set $slaves[$i].clit -= 2>> - <<elseif (($slaves[$i].NCSyouthening >= 3) && ($slaves[$i].clit >= 1) && (random(1,100) > 50))>> - $possessiveCap NCS kicks in and @@.orange;reduces the size of $possessive clit.@@ - <<set $slaves[$i].clit -= 1>> + /* + ** Dick and clit shrinkage + ** Massive 10+ Dicks or 5+ Clits always fire, and at double power. + ** Below that by chance, (reducing chances by current size). In general clits shrink faster. + */ + <<if ($slaves[$i].dick >= 10)>> + $possessiveCap @@.orange;NCS@@ is actively @@.orange;reducing the size of $possessive giant dick.@@ + <<set $slaves[$i].dick -= 2, _countNCS++>> + <<elseif ($slaves[$i].clit >= 5)>> + $possessiveCap @@.orange;NCS@@ has @@.orange;reduced the size of $possessive enourmous clit-dick.@@ + <<set $slaves[$i].clit -= 2, _countNCS++>> + <<elseif ((_countNCS < 3) && ($slaves[$i].dick >= 2) && (random(1,100) < (($slaves[$i].dick + 1) * 9)))>> + $possessiveCap @@.orange;NCS@@ is actively @@.orange;reduceing the size of $possessive dick.@@ + <<set $slaves[$i].dick -= 1, _countNCS++>> + <<elseif ((_countNCS < 3) && ($slaves[$i].clit >= 1) && (random(1,100) < (($slaves[$i].clit + 2) * 16)))>> + $possessiveCap @@.orange;NCS@@ has @@.orange;reduced the size of $possessive clit.@@ + <<set $slaves[$i].clit -= 1, _countNCS++>> <</if>> - <<if (($slaves[$i].balls >= 10) && (random(1,100) > 50))>> - $possessiveCap NCS kicks in and @@.orange;reduces the size of $possessive titanic balls.@@ - <<set $slaves[$i].balls -= 2>> - <<elseif (($slaves[$i].NCSyouthening >= 3) && ($slaves[$i].balls >= 1) && (random(1,100) > 50))>> - $possessiveCap NCS kicks in and @@.orange;reduces the size of $possessive balls.@@ - <<set $slaves[$i].balls -= 1>> + /* + ** Balls. + ** Massive testicals (10+) drop by 2 levels, + ** Others decreace by chance based on current size. + */ + <<if ($slaves[$i].balls >= 10)>> + $possessiveCap @@.orange;NCS@@ gets busy @@.orange;reducing the size of $possessive titanic balls.@@ + <<set $slaves[$i].balls -= 2, _countNCS++>> + <<elseif ((_countNCS < 3) && ($slaves[$i].balls >= 1) && (random(1,100) < (($slaves[$i].balls + 1) * 8)))>> + $possessiveCap @@.orange;NCS@@ gets busy @@.orange;reducing the size of $possessive balls.@@ + <<set $slaves[$i].balls -= 1, _countNCS++>> <</if>> - <<if (($slaves[$i].butt >= 10) && (random(1,100) > 50))>> - $possessiveCap NCS kicks in and @@.orange;reduces the size of $possessive bolbuous butt.@@ - <<set $slaves[$i].butt -= 2>> - <<elseif (($slaves[$i].NCSyouthening >= 6) && ($slaves[$i].butt >= 1) && (random(1,100) > 50))>> - $possessiveCap NCS kicks in and @@.orange;reduces the size of $possessive butt.@@ - <<set $slaves[$i].butt -= 1>> + /* + ** Butt. + ** Tremendous butts burn of by 2 points. + ** Regular butts based on chances, decrease as the size does. + */ + <<if ($slaves[$i].butt >= 10)>> + $possessiveCap @@.orange;NCS@@ applies and @@.orange;reduces the size of $possessive bolbuous butt.@@ + <<set $slaves[$i].butt -= 2, _countNCS++>> + <<elseif ((_countNCS < 3) && ($slaves[$i].butt >= 1) && (random(1,100) < ($slaves[$i].butt * 9)))>> + $possessiveCap @@.orange;NCS@@ applies and @@.orange;reduces the size of $possessive butt.@@ + <<set $slaves[$i].butt -= 1, _countNCS++>> <</if>> - <<if (($slaves[$i].labia >= 5) && (random(1,100) > 50))>> - $possessiveCap NCS kicks in and @@.orange;reduces the size of $possessive sagging labia.@@ - <<set $slaves[$i].labia -= 2>> - <<elseif (($slaves[$i].NCSyouthening >= 6) && ($slaves[$i].labia >= 1) && (random(1,100) > 50))>> - $possessiveCap NCS kicks in and @@.orange;reduces the size of $possessive labia.@@ - <<set $slaves[$i].labia -= 1>> + /* + ** Scrotum and Labia + ** One or the other can fire per week. + ** Pendulous ballsacks or sagging labia will always fire. + ** Otherwise by reducing chance based on current sizes, but labias are a little more likley. + */ + <<if ($slaves[$i].scrotum >= 5)>> + $possessiveCap @@.orange;NCS@@ kicks in and @@.orange;reduces the size of $possessive pendulous scrotum.@@ + <<set $slaves[$i].scrotum -= 2, _countNCS++>> + <<elseif ($slaves[$i].labia >= 5)>> + $possessiveCap @@.orange;NCS@@ kicks in and @@.orange;reduces the size of $possessive sagging labia.@@ + <<set $slaves[$i].labia -= 2, _countNCS++>> + <<elseif ((_countNCS < 3) && ($slaves[$i].labia >= 1) && (random(1,100) < ($slaves[$i].labia * 11)))>> + $possessiveCap @@.orange;NCS@@ kicks in and @@.orange;reduces the size of $possessive labia.@@ + <<set $slaves[$i].labia -= 1, _countNCS++>> + <<elseif ((_countNCS < 3) && ($slaves[$i].scrotum >= 1) && (random(1,100) < ($slaves[$i].scrotum * 8.5)))>> + $possessiveCap @@.orange;NCS@@ kicks in and @@.orange;reduces the size of $possessive scrotum.@@ + <<set $slaves[$i].scrotum -= 1, _countNCS++>> <</if>> - <<if (($slaves[$i].scrotum >= 5) && (random(1,100) > 50))>> - $possessiveCap NCS kicks in and @@.orange;reduces the size of $possessive pendulous scrotum.@@ - <<set $slaves[$i].scrotum -= 2>> - <<elseif (($slaves[$i].NCSyouthening >= 6) && ($slaves[$i].scrotum >= 1) && (random(1,100) > 50))>> - $possessiveCap NCS kicks in and @@.orange;reduces the size of $possessive scrotum.@@ - <<set $slaves[$i].scrotum -= 1>> + /* + ** Voice. + ** Small chance for any non-childlike voice. + */ + <<if ((_countNCS < 3) && ($slaves[$i].voice < 3) && (random(1,100) > ($slaves[$i].voice * 15)))>> + $possessiveCap @@.orange;NCS@@ has @@.lime;raised the pitch of $possessive voice, $pronoun now sounds more <<if $slaves[$i].voice == 1>>feminine<<else>>childlike<</if>>.@@ + <<set $slaves[$i].voice -= 1, _countNCS++>> + <</if>> + /* + * Pussy/Ass-Pussy rejuvination. + * 10% chance of either one rejuvinating per week. (The Child Whore's delight!) + */ + <<if ((_countNCS < 2) && ($slaves[$i].vagina > 1) && (random(1,100) < ($slaves[$i].vagina * 10)))>> + $possessiveCap @@.orange;NCS@@ manages to @@.lime;reverse the stretching in $possessive vagina, $possessive pussy now looks more childlike.@@ + <<set $slaves[$i].vagina -= 1, _countNCS++>> + <<elseif ((_countNCS < 2) && ($slaves[$i].anus > 1) && (random(1,100) < ($slaves[$i].anus * 10)))>> + $possessiveCap @@.orange;NCS@@ effectively @@.lime;reverses the stretching in $possessive anus, $possessive ass-pussy now looks more childlike.@@ + <<set $slaves[$i].anus -= 1, _countNCS++>> <</if>> - <<if (($slaves[$i].voice < 3) && (random(1,100) > 50))>> - $possessiveCap NCS kicks in and @@.orange;raises the pitch of $possessive voice, $possessive now sounds more childlike.@@ - <<set $slaves[$i].voice -= 1>> + /* + ** reset youthening for those that just got younger (see age above) or for already lolified slaves. + */ + <<if ((_youthening > 0) || ($slaves[$i].NCSyouthening > 9))>> + <<set $slaves[$i].NCSyouthening = 0>> <</if>> <</if>> @@ -6453,8 +6557,8 @@ <<if $slaves[$i].physicalAge >= 18>> <<if ($slaves[$i].boobs > 30000+($slaves[$i].muscles*100))>> <<if ($slaves[$i].assignment != "work in the dairy") || ($dairyRestraintsSetting < 2) || $arcologies[0].FSAssetExpansionistResearch == 0>> - <<if ($slaves[$i].drugs != "breast injections" && $slaves[$i].drugs != "intensive breast injections" && $arcologies[0].FSAssetExpansionistResearch == 0)>> - <<if $slaves[$i].bellyPreg < 300000 && $slaves[$i].hormoneBalance < 300>> + <<if (($slaves[$i].drugs != "breast injections") && ($slaves[$i].drugs != "intensive breast injections") && ($arcologies[0].FSAssetExpansionistResearch == 0))>> + <<if (($slaves[$i].bellyPreg < 300000) && ($slaves[$i].hormoneBalance < 300))>> <<if ($slaves[$i].boobs > 30000+($slaves[$i].muscles*100))>> $possessiveCap breasts are larger than $possessive body can possibly sustain without industrial intervention, and they @@.orange;naturally lose mass.@@ <<set $slaves[$i].boobs -= 25>> @@ -6463,8 +6567,8 @@ <<set $slaves[$i].boobs -= 50>> <</if>> <<if (($slaves[$i].inducedNCS == 1) && (random(1,100) > 50))>> - This effect is compounded by $possessive NCS. - <<set $slaves[$i].boobs -= 35>> + This effect is massively compounded by $possessive @@.orange;NCS.@@ + <<set $slaves[$i].boobs -= Math.round($slaves[$i].boobs * .1)>> <</if>> <</if>> <</if>> @@ -6518,15 +6622,15 @@ <<if ($slaves[$i].drugs != "breast injections" && $slaves[$i].drugs != "intensive breast injections" && $arcologies[0].FSAssetExpansionistResearch == 0)>> <<if $slaves[$i].bellyPreg < 300000 && $slaves[$i].hormoneBalance < 300>> <<if ($slaves[$i].boobs > 5000+($slaves[$i].muscles*10))>> - $possesiveCap breasts are larger than $possesive body can possibly sustain without industrial intervention, and they @@.orange;naturally lose mass.@@ + $possessiveCap breasts are larger than $possessive body can possibly sustain without industrial intervention, and they @@.orange;naturally lose mass.@@ <<set $slaves[$i].boobs -= 25>> <<else>> - $possesiveCap breasts are far, far beyond what $possesive body can sustain without industrial intervention, and they @@.orange;naturally lose mass.@@ + $possessiveCap breasts are far, far beyond what $possessive body can sustain without industrial intervention, and they @@.orange;naturally lose mass.@@ <<set $slaves[$i].boobs -= 50>> <</if>> <<if (($slaves[$i].inducedNCS == 1) && (random(1,100) > 50))>> - This effect is compounded by $possesive NCS. - <<set $slaves[$i].boobs -= 35>> + This effect is compounded by $possessive @@.orange;NCS.@@ + <<set $slaves[$i].boobs -= Math.round($slaves[$i].boobs * .1)>> <</if>> <</if>> <</if>> @@ -6596,8 +6700,8 @@ <<set $slaves[$i].boobs -= 50>> <</if>> <<if (($slaves[$i].inducedNCS == 1) && (random(1,100) > 50))>> - This effect is compounded by $possessive NCS. - <<set $slaves[$i].boobs -= 35>> + This effect is compounded by $possessive @@.orange;NCS.@@ + <<set $slaves[$i].boobs -= Math.round($slaves[$i].boobs * .1)>> <</if>> <</if>> <</if>> @@ -6667,8 +6771,8 @@ <<set $slaves[$i].boobs -= 50>> <</if>> <<if (($slaves[$i].inducedNCS == 1) && (random(1,100) > 50))>> - This effect is compounded by $possessive NCS. - <<set $slaves[$i].boobs -= 35>> + This effect is compounded by $possessive @@.orange;NCS.@@ + <<set $slaves[$i].boobs -= Math.round($slaves[$i].boobs * .1)>> <</if>> <</if>> <</if>> diff --git a/src/uncategorized/surgeryDegradation.tw b/src/uncategorized/surgeryDegradation.tw index 5e43c95c812f623721587bec8e955db322ace55b..4d7ac8b99d6fba07c6c4bf0f2a4ce4e7c7e5c4f7 100644 --- a/src/uncategorized/surgeryDegradation.tw +++ b/src/uncategorized/surgeryDegradation.tw @@ -2034,7 +2034,7 @@ As the remote surgery's long recovery cycle completes, <<set $activeSlave.voice += 1>> <</if>> <<if ($activeSlave.devotion > 50)>> - $pronounCap laughs at <<print $object>>self hapily as $pronoun gets used to $posessive voice. + $pronounCap laughs at <<print $object>>self hapily as $pronoun gets used to $possessive voice. <<elseif ($activeSlave.devotion < 20)>> $pronounCap laughs grimly at <<print $object>>self as $pronoun gets used to it. <<elseif ($activeSlave.devotion < 20)>> diff --git a/src/utility/descriptionWidgetsFlesh.tw b/src/utility/descriptionWidgetsFlesh.tw index 106bca7603b710ab816990d464131c053384e462..b4653df991306dc9598fb9f98ec077100859b627 100644 --- a/src/utility/descriptionWidgetsFlesh.tw +++ b/src/utility/descriptionWidgetsFlesh.tw @@ -12172,7 +12172,36 @@ $He has though it is hard to tell the difference from $his actual age. <</if>> <</if>> -<<if $activeSlave.physicalAge != $activeSlave.visualAge>> +/* +** This section replaces the age/therapy texts, giving more details for the NCS condition. +*/ +<<if $activeSlave.inducedNCS == 1>> + <<if ($activeSlave.vagina < 0) && ($activeSlave.dick <= 0)>><<set _bodyNCS = 'childlike'>> + <<elseif ($activeSlave.vagina < 0) && ($activeSlave.dick > 0)>><<set _bodyNCS = 'shota'>> + <<elseif ($activeSlave.vagina > 0) && ($activeSlave.dick <= 0)>><<set _bodyNCS = 'loli'>> + <<else>><<set _bodyNCS = 'loli/shota'>> + <</if>> + + $pronounCap appears to be $activeSlave.visualAge years old + <<if $activeSlave.visualAge <= 8>> + and $pronoun has induced @@.orange;NCS,@@ and will alway have a <<= _bodyNCS>> body, no matter how long $pronoun lives. + <<elseif ($activeSlave.visualAge < 13)>> + and $pronoun has induced @@.orange;NCS@@ and will have a <<= _bodyNCS>> body for the rest of $possessive life. + <<elseif ($activeSlave.visualAge < 20)>> + and $pronoun still has a teen body for now, but with $possessive @@.orange;NCS,@@ $pronoun will eventually regress in age to look like a little girl again. + <<else>> + and $pronoun still has the body of an adult, but $possessive @@.orange;NCS@@ has + <<if ($activeSlave.physicalAge - $activeSlave.visualAge <= 5)>> + not really begun to youthen $possessive appearance yet. + <<elseif ($activeSlave.physicalAge - $activeSlave.visualAge <= 10)>> + clearly been at work on $object, making $possessive appear younger. + <<elseif ($activeSlave.physicalAge -$activeSlave.visualAge <= 20)>> + obviously helped take more than a decade off of $possessive age. + <<else>> + intensely youthened $object. + <</if>> + <</if>> +<<elseif $activeSlave.physicalAge != $activeSlave.visualAge>> <<if $activeSlave.visualAge <= $activeSlave.physicalAge-20 || $activeSlave.visualAge >= $activeSlave.physicalAge+20>> $He has undergone radical age therapy that makes $him look <<elseif $activeSlave.visualAge <= $activeSlave.physicalAge-10 || $activeSlave.visualAge >= $activeSlave.physicalAge+10>>