From 1db2d036af9da4a9270cfbf244d99550dff7c972 Mon Sep 17 00:00:00 2001 From: lowercasedonkey <lowercasedonkey@gmail.com> Date: Mon, 28 Sep 2020 17:22:27 -0400 Subject: [PATCH] husk fix --- src/pregmod/incubatorRetrievalWorkaround.tw | 7 ++++++- src/pregmod/seHuskSlaveDelivery.tw | 6 +++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/src/pregmod/incubatorRetrievalWorkaround.tw b/src/pregmod/incubatorRetrievalWorkaround.tw index 262a86c4d4e..43676e38f09 100644 --- a/src/pregmod/incubatorRetrievalWorkaround.tw +++ b/src/pregmod/incubatorRetrievalWorkaround.tw @@ -32,7 +32,12 @@ //As expected, $he is a complete vegetable, but that is what you wanted after all. You lack the facilities to care for $him in this state, so you should do what you are planning quickly. Or you could sell $him to the Flesh Heap.// <span id="result"> <<if $cash >= $surgeryCost>> - <br>[[Contact the bodyswap surgeon.|husk Slave Swap Workaround]] //Will significantly increase the selected slave's upkeep.// + <br> + <<link "Contact the bodyswap surgeon.">> + <<set $activeSlave = $readySlave>> + <<goto "husk Slave Swap Workaround">> + <</link>> + //Will significantly increase the selected slave's upkeep.// <br>[[Sell the husk to Flesh Heap.|Main][cashX(Math.trunc(slaveCost($readySlave)/3), "slaveTransfer")]] //This body can be bought by the Flesh Heap for <<print cashFormat(Math.trunc(slaveCost($readySlave)/3))>>//. <<else>> diff --git a/src/pregmod/seHuskSlaveDelivery.tw b/src/pregmod/seHuskSlaveDelivery.tw index 7694f1a2375..9fbaf2ea363 100644 --- a/src/pregmod/seHuskSlaveDelivery.tw +++ b/src/pregmod/seHuskSlaveDelivery.tw @@ -73,7 +73,11 @@ A slave came in fitting the description you provided. <br><br> <span id="result"> <<if $cash >= $surgeryCost>> - [[Accept the offered slave and contact the bodyswap surgeon.|husk Slave Swap Workaround]] //Will significantly increase the selected slave's upkeep.// + <<link "Accept the offered slave and contact the bodyswap surgeon.">> + <<set $activeSlave = _husk>> + <<goto "husk Slave Swap Workaround">> + <</link>> + //Will significantly increase the selected slave's upkeep.// <<else>> //You can't sustain $him and thus must return $him.// <</if>> -- GitLab