diff --git a/src/pregmod/artificialInsemination.tw b/src/pregmod/artificialInsemination.tw index fc541bbf742ad565e3b81d91256dba25c8d88d36..8c33d8b0c4512331db5b198129c0b9a6189dbb89 100644 --- a/src/pregmod/artificialInsemination.tw +++ b/src/pregmod/artificialInsemination.tw @@ -2,7 +2,7 @@ <<set $nextButton = "Back", $nextLink = "Remote Surgery", $impregnatrix = 0, _eligibility = 0, _eligibilityI = 0>> -//$activeSlave.slaveName is prepped for fertilization; now you must select a target to harvest sperm from.// +//getSlave($AS).slaveName is prepped for fertilization; now you must select a target to harvest sperm from.// <br><br> @@ -12,9 +12,9 @@ __Select an eligible slave to serve as the semen donatrix:__ <<for _ai = 0; _ai < $slaves.length; _ai++>> <<capture _ai>> - <<if $slaves[_ai].balls > 0 && $slaves[_ai].pubertyXY == 1 && canBreed($activeSlave, $slaves[_ai])>> + <<if $slaves[_ai].balls > 0 && $slaves[_ai].pubertyXY == 1 && canBreed(getSlave($AS), $slaves[_ai])>> <<set _name = SlaveFullName($slaves[_ai])>> - <br>[[_name|Surgery Degradation][$impregnatrix = $slaves[_ai], cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $surgeryType = "insemination"]] + <br>[[_name|Surgery Degradation][$impregnatrix = $slaves[_ai], cashX(forceNeg($surgeryCost), "slaveSurgery", getSlave($AS)), $surgeryType = "insemination"]] <<set _eligibility = 1>> <</if>> <</capture>> @@ -31,8 +31,8 @@ __Select an eligible slave to serve as the semen donatrix:__ <br> <<for _ai = 0; _ai < $tanks.length; _ai++>> <<capture _ai>> - <<if $tanks[_ai].balls > 0 && $tanks[_ai].dick > 0 && canBreed($activeSlave, $tanks[_ai])>> - <br>[[$tanks[_ai].slaveName|Surgery Degradation][$impregnatrix = $tanks[_ai], cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $surgeryType = "insemination"]] + <<if $tanks[_ai].balls > 0 && $tanks[_ai].dick > 0 && canBreed(getSlave($AS), $tanks[_ai])>> + <br>[[$tanks[_ai].slaveName|Surgery Degradation][$impregnatrix = $tanks[_ai], cashX(forceNeg($surgeryCost), "slaveSurgery", getSlave($AS)), $surgeryType = "insemination"]] <<set _eligibilityI = 1>> <</if>> <</capture>> @@ -44,9 +44,9 @@ __Select an eligible slave to serve as the semen donatrix:__ <<if $PC.balls != 0>> <br> - [[Use your own|Surgery Degradation][$impregnatrix = $PC, cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $surgeryType = "insemination"]] + [[Use your own|Surgery Degradation][$impregnatrix = $PC, cashX(forceNeg($surgeryCost), "slaveSurgery", getSlave($AS)), $surgeryType = "insemination"]] <<elseif $PC.storedCum > 0>> <br> - [[Use a vial of your own|Surgery Degradation][$impregnatrix = $PC, cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $surgeryType = "insemination", $PC.storedCum--]] + [[Use a vial of your own|Surgery Degradation][$impregnatrix = $PC, cashX(forceNeg($surgeryCost), "slaveSurgery", getSlave($AS)), $surgeryType = "insemination", $PC.storedCum--]] //You have enough sperm stored away to inseminate $PC.storedCum more slave<<if $PC.storedCum > 1>>s<</if>>.// <</if>> \ No newline at end of file diff --git a/src/uncategorized/surgeryDegradation.tw b/src/uncategorized/surgeryDegradation.tw index 6610cbb8a14d3b564196700bdc996d79fc85d920..c8228cdf7a26b9d2b073d27b4739ef579cbc68cc 100644 --- a/src/uncategorized/surgeryDegradation.tw +++ b/src/uncategorized/surgeryDegradation.tw @@ -3,9 +3,8 @@ <<set $nextButton = "Continue", $nextLink = "Remote Surgery">> <<setPlayerPronouns>> -<<set $AS = $activeSlave.ID>> -<<setLocalPronouns $activeSlave>> -<<run Enunciate($activeSlave)>> +<<setLocalPronouns getSlave($AS)>> +<<run Enunciate(getSlave($AS))>> /* disallow surgery for slaves on certain assignments */ <<switch getSlave($AS).assignment>> @@ -565,7 +564,7 @@ As the remote surgery's long recovery cycle completes, You simply take $him on the spot, using $him to your liking and shooting a load deep into $his receptive pussy. The implant rewards $him upon successful fertilization, so $his moans of pleasure as you pull out of $him inform you $he'll soon <<if getSlave($AS).broodmother == 2>>be greatly swollen<<else>>grow heavy<</if>> with @@.lime;your brood.@@ <<set getSlave($AS).pregSource = -1>> <<set WombImpregnate(getSlave($AS), 1, -1, 1)>> /* to ensure player paternity we need actual fetus here */ - <<= VCheck.Vaginal($activeSlave, 1)>> + <<= VCheck.Vaginal(getSlave($AS), 1)>> <</replace>> <</link>> </span>