diff --git a/src/init/storyInit.tw b/src/init/storyInit.tw index d32802dc7fce45330a32fcf8e6efccc7f8835397..a512af24f9ff0af0b9a91696e53a72ab65ffc193 100644 --- a/src/init/storyInit.tw +++ b/src/init/storyInit.tw @@ -71,6 +71,7 @@ You should have received a copy of the GNU General Public License along with thi <<set $slaves[_i].rivalry = 0, $slaves[_i].rivalryTarget = 0, $slaves[_i].subTarget = 0>> <<else>> <<set _dump = removeSlave(_i), _i--, _SL-->> + <<set $slaveIndices = slaves2indices()>> <</if>> <</for>> <<for _k = 0; _k < _SL; _k++>> diff --git a/src/js/assayJS.tw b/src/js/assayJS.tw index 96248f2c3e535df4682b0c09a81d286311d11f65..875af5ad2091361e7b2dfe36def6eed6f278e0ab 100644 --- a/src/js/assayJS.tw +++ b/src/js/assayJS.tw @@ -221,7 +221,6 @@ window.addSlave = function addSlave(slave) { }; window.removeSlave = function removeSlave(index) { - delete State.variables.slaveIndices[State.variables.slaves[index].ID]; return State.variables.slaves.deleteAt(index); }; diff --git a/src/npc/removeActiveSlave.tw b/src/npc/removeActiveSlave.tw index cf8ee8ab4346d335144e36b10e6c05673bd742a9..167d87d672e99950390e5a40ae1bbcda8ad27c8c 100644 --- a/src/npc/removeActiveSlave.tw +++ b/src/npc/removeActiveSlave.tw @@ -144,6 +144,7 @@ <</if>> <<set _dump = removeSlave(_x), _SL--, $activeSlave = 0>> + <<set $slaveIndices = slaves2indices()>> <<if _missingID == 1>> <<set $missingParentID-->> diff --git a/src/uncategorized/REFI.tw b/src/uncategorized/REFI.tw index d4a392545dde2562f967024d9b0928ccf93c6a10..6d8adc5050ebf9c152a8f62d8127e932738ab9e8 100644 --- a/src/uncategorized/REFI.tw +++ b/src/uncategorized/REFI.tw @@ -98,7 +98,7 @@ <<if $subSlave.belly >= 1500>> You have $subSlave.slaveName lying down on your desk, and are seeing to your own amusement and her masochistic streak at once. She has her body flat on the surface, but is unrestrained, and has been told that she must not rise off it at all, nor tilt her bulk to either side. You then tell her to count strokes and begin to flog her _subBelly belly with a leathern instrument<<if $subSlave.pregKnown == 1>>, taking care not to cause her pregnancy any lasting harm<</if>>. Before long she is experiencing more pain than the human body can support without involuntary movement, and you tell her to go back one count whenever she does. At long last she completes the required number of blows, and lies quivering and sobbing, thanking you over and over, until she stiffens again at the - <<if canDoAnal($subSlave) && subSlave.anus > 0>> + <<if canDoAnal($subSlave) && $subSlave.anus > 0>> burning sensation of a <<if $PC.dick>>cock<<else>>dildo<</if>> stretching her anal sphincter. You are not gentle, and the rough sodomy combined with the burning of her outraged skin as you slap yourself against it maintains her pain high. <<else>> sudden sensation of a <<if $PC.dick>>cock<<else>>dildo<</if>> slamming deep into her pussy. You are not gentle, and the rough fucking combined with the burning of her outraged skin as you slap yourself against it maintains her pain high. @@ -130,7 +130,7 @@ aburdly massive <</if>> ass with a leathern instrument. Before long she is experiencing more pain than the human body can support without involuntary movement, and you tell her to go back one count whenever she does. At long last she completes the required number of blows, and lies quivering and sobbing, thanking you over and over, until she stiffens again at the - <<if canDoAnal($subSlave) && subSlave.anus > 0>> + <<if canDoAnal($subSlave) && $subSlave.anus > 0>> burning sensation of a <<if $PC.dick>>cock<<else>>dildo<</if>> stretching her anal sphincter. You are not gentle, and the rough sodomy combined with the burning of her outraged buttocks as you slap yourself against <<if $subSlave.butt < 2>>it<<else>>them<</if>> maintains her pain high. <<else>> sudden sensation of a <<if $PC.dick>>cock<<else>>dildo<</if>> slamming deep into her pussy. You are not gentle, and the rough fucking combined with the burning of her outraged buttocks as you slap yourself against <<if $subSlave.butt < 2>>it<<else>>them<</if>> maintains her pain high. @@ -194,7 +194,7 @@ It seems she passed by while you were beating $subSlave.slaveName and found the $subSlave.slaveName gets inspected more regularly than your other slaves, since she's quite pregnant. Her pregnancy is progressing acceptably, but having her belly inspected gets her <<if $subSlave.pregSource == -1>> extremely eager to feel more of her <<WrittenMaster $subSlave>>'s seed in her fertile <<if $subSlave.mpreg == 1>>rear<<else>>cunt<</if>>. $subSlave.slaveName has been a good girl, - <<if ($subSlave.mpreg == 1 && canDoAnal($subSlave) && subSlave.anus > 0) || ($subSlave.mpreg == 0 && canDoVaginal($subSlave) && subSlave.vagina > 0)>> + <<if ($subSlave.mpreg == 1 && canDoAnal($subSlave) && $subSlave.anus > 0) || ($subSlave.mpreg == 0 && canDoVaginal($subSlave) && $subSlave.vagina > 0)>> <<if $PC.belly >= 5000>> so you take her <<if $subSlave.belly >= 300000>> @@ -228,7 +228,7 @@ $subSlave.slaveName gets inspected more regularly than your other slaves, since <</if>> <<elseif $PC.dick == 1>> extremely eager for a good fuck and there's no better dick than her <<WrittenMaster $subSlave>>'s. $subSlave.slaveName has been a good girl, - <<if ($subSlave.mpreg == 1 && canDoAnal($subSlave) && subSlave.anus > 0) || ($subSlave.mpreg == 0 && canDoVaginal($subSlave) && subSlave.vagina > 0)>> + <<if ($subSlave.mpreg == 1 && canDoAnal($subSlave) && $subSlave.anus > 0) || ($subSlave.mpreg == 0 && canDoVaginal($subSlave) && $subSlave.vagina > 0)>> <<if $PC.belly >= 5000>> so you take her <<if $subSlave.belly >= 300000>> @@ -262,7 +262,7 @@ $subSlave.slaveName gets inspected more regularly than your other slaves, since <</if>> <<else>> all hot and bothered. $subSlave.slaveName has been a good girl, - <<if ($subSlave.mpreg == 1 && canDoAnal($subSlave) && subSlave.anus > 0) || ($subSlave.mpreg == 0 && canDoVaginal($subSlave) && subSlave.vagina > 0)>> + <<if ($subSlave.mpreg == 1 && canDoAnal($subSlave) && $subSlave.anus > 0) || ($subSlave.mpreg == 0 && canDoVaginal($subSlave) && $subSlave.vagina > 0)>> so you don a strap-on and take her <<if $PC.belly >= 5000>> <<if $subSlave.belly >= 300000>> @@ -270,7 +270,7 @@ $subSlave.slaveName gets inspected more regularly than your other slaves, since <<else>> on the edge of your desk. She doesn't mind the hard surface, not when it means your gravid middle is pushing against her _subBelly own <</if>> - as you lanquidly take her. + as you languidly take her. <<else>> on the couch, spooning so that her <<if $subSlave.belly >= 300000>> diff --git a/src/uncategorized/RETS.tw b/src/uncategorized/RETS.tw index 9ac6bee0ec256ea1e58a963d7db7080c85ac2761..b3ee19fb2ab4f69da260508896f3630d1bf90e85 100644 --- a/src/uncategorized/RETS.tw +++ b/src/uncategorized/RETS.tw @@ -1470,7 +1470,7 @@ she adds impishly. Hearing this, $subSlave.slaveName lets the breast pop free of <<if $PC.dick == 1 && canGetPregnant($activeSlave) && $activeSlave.eggType == "human">> <<KnockMeUp $activeSlave 5 1 -1 1>> <</if>> - <<set $subSlave -= 5, $subSlave.devotion += 5>> + <<set $subSlave.trust -= 5, $subSlave.devotion += 5>> <<set $slaves[$slaveIndices[$subSlave.ID]] = $subSlave>> <</replace>> <</link>>