Skip to content
Snippets Groups Projects
Commit ec1c0638 authored by wierdwierdos's avatar wierdwierdos
Browse files

Update householdLiquidator.tw

parent d88e1898
No related branches found
No related tags found
1 merge request!6622Update householdLiquidator.tw: oppositeSex and fathers
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
<<set $nextButton = "Back", $nextLink = "Buy Slaves", $returnTo = "Buy Slaves", $showEncyclopedia = 1, $encyclopedia = "Household Liquidations">> <<set $nextButton = "Back", $nextLink = "Buy Slaves", $returnTo = "Buy Slaves", $showEncyclopedia = 1, $encyclopedia = "Household Liquidations">>
<<set $introType = "liquidator", $newSlavesDone = 0, $newSlaveIndex = 0, _newSlaves = []>> <<set $introType = "liquidator", $newSlavesDone = 0, $newSlaveIndex = 0, _newSlaves = []>>
<<if random(1,100) > 50>> <<if random(1,100) > 50>>
<<set $oneTimeDisableDisability = 1>> <<set $oneTimeDisableDisability = 1>>
...@@ -16,10 +17,35 @@ ...@@ -16,10 +17,35 @@
<<run setMissingParents($activeSlave)>> <<run setMissingParents($activeSlave)>>
<<set $activeSlave.canRecruit = 0>> <<set $activeSlave.canRecruit = 0>>
/% Create opposite sex chance of relative %/
<<if $seeDicks > 0>>
<<set $femaleSlaveGen = 80>>
<<if $arcologies[0].FSGenderFundamentalistSMR === 1 || $arcologies[0].FSRepopulationFocusSMR === 1>>
<<set $femaleSlaveGen = 90>>
<<else if $arcologies[0].FSGenderRadicalist !== "unset">>
<<set $femaleSlaveGen = 50>>
<</if>>
<<if random(1, 100) > $femaleSlaveGen && random(0, 99) < $seeDicks>>
<<if $activeSlave.genes == "XY">>
<<set $oppositeSex = 0>>
<<else>>
<<set $oppositeSex = 1>>
<</if>>
<<else>>
<<if $activeSlave.genes == "XY">>
<<set $oppositeSex = 1>>
<<else>>
<<set $oppositeSex = 0>>
<</if>>
<</if>>
<<else>>
<<set $oppositeSex = 0>>
<</if>>
The household liquidator is offering a set of siblings for sale. As usual, you will only be permitted to inspect the older, but there is a guarantee that the younger will be similar. The household liquidator is offering a set of siblings for sale. As usual, you will only be permitted to inspect the older, but there is a guarantee that the younger will be similar.
<br><br> <br><br>
<<set _relativeSlave = generateRelatedSlave($activeSlave, "younger sibling")>> <<set _relativeSlave = generateRelatedSlave($activeSlave, "younger sibling", $oppositeSex)>>
<<run _newSlaves.push($activeSlave), _newSlaves.push(_relativeSlave)>> <<run _newSlaves.push($activeSlave), _newSlaves.push(_relativeSlave)>>
<<set _slaveCost = slaveCost($activeSlave)>> <<set _slaveCost = slaveCost($activeSlave)>>
...@@ -47,11 +73,36 @@ The household liquidator is offering a set of siblings for sale. As usual, you w ...@@ -47,11 +73,36 @@ The household liquidator is offering a set of siblings for sale. As usual, you w
<<if $activeSlave.vagina > -1>><<set $activeSlave.counter.birthsTotal = 1>><</if>> <<if $activeSlave.vagina > -1>><<set $activeSlave.counter.birthsTotal = 1>><</if>>
<<set $activeSlave.canRecruit = 0>> <<set $activeSlave.canRecruit = 0>>
/% Create opposite sex chance of relative %/
<<if $seeDicks > 0>>
<<set $femaleSlaveGen = 80>>
<<if $arcologies[0].FSGenderFundamentalistSMR === 1 || $arcologies[0].FSRepopulationFocusSMR === 1>>
<<set $femaleSlaveGen = 90>>
<<else if $arcologies[0].FSGenderRadicalist !== "unset">>
<<set $femaleSlaveGen = 50>>
<</if>>
<<if random(1, 100) > $femaleSlaveGen && random(0, 99) < $seeDicks>>
<<if $activeSlave.genes == "XY">>
<<set $oppositeSex = 0>>
<<else>>
<<set $oppositeSex = 1>>
<</if>>
<<else>>
<<if $activeSlave.genes == "XY">>
<<set $oppositeSex = 1>>
<<else>>
<<set $oppositeSex = 0>>
<</if>>
<</if>>
<<else>>
<<set $oppositeSex = 0>>
<</if>>
<<setLocalPronouns $activeSlave>> <<setLocalPronouns $activeSlave>>
The household liquidator is offering a $mother and $his $daughter for sale. As usual, you will only be permitted to inspect the $mother, but there is a guarantee that the $daughter will be similar. The household liquidator is offering a $mother and $his <<if $slave.genes == "XX" && $oppositeSex == 1>>son<<elseif $slave.genes == "XY" && $oppositeSex == 1>>daughter<<else>>$daughter<</if>> for sale. As usual, you will only be permitted to inspect the $mother, but there is a guarantee that the <<if $slave.genes == "XX" && $oppositeSex == 1>>son<<elseif $slave.genes == "XY" && $oppositeSex == 1>>daughter<<else>>$daughter<</if>> will be similar.
<br><br> <br><br>
<<set _relativeSlave = generateRelatedSlave($activeSlave, "child")>> <<set _relativeSlave = generateRelatedSlave($activeSlave, "child", $oppositeSex)>>
<<run _newSlaves.push($activeSlave), _newSlaves.push(_relativeSlave)>> <<run _newSlaves.push($activeSlave), _newSlaves.push(_relativeSlave)>>
<<set _slaveCost = slaveCost($activeSlave)>> <<set _slaveCost = slaveCost($activeSlave)>>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment