diff --git a/src/npc/interaction/fAbuse.tw b/src/npc/interaction/fAbuse.tw index 5cb7471b4fc346f068dcfc7462fcecf28b5c64ee..502df8cbda3c03f658c4dcc25ec6ec8bb271e66b 100644 --- a/src/npc/interaction/fAbuse.tw +++ b/src/npc/interaction/fAbuse.tw @@ -1,6 +1,6 @@ :: FAbuse [nobr no-history] -<<run App.Utils.setLocalPronouns($activeSlave)>> +<<run App.Utils.setLocalPronouns(getSlave($AS))>> <<if (getSlave($AS).ID == $BodyguardID)>> <<if (getSlave($AS).fetish == "masochist") && (getSlave($AS).fetishKnown == 1) && (getSlave($AS).fetishStrength > 95)>> diff --git a/src/npc/interaction/fAnus.tw b/src/npc/interaction/fAnus.tw index 424a4ad360eb9e24ace3d3c032d36435abf74ce6..cc63e3393747b4056993092817bd5fc997556e73 100644 --- a/src/npc/interaction/fAnus.tw +++ b/src/npc/interaction/fAnus.tw @@ -1,6 +1,6 @@ :: FAnus [nobr no-history] -<<run App.Utils.setLocalPronouns($activeSlave)>> +<<run App.Utils.setLocalPronouns(getSlave($AS))>> <<set getSlave($AS).counter.anal++, $analTotal++>> You call $him over so you can diff --git a/src/npc/interaction/fBellyFuck.tw b/src/npc/interaction/fBellyFuck.tw index 8e101255f791d83e443cbab03c0c11754964db0b..1b4718bcfaa8e531a7943fd3830f761be237ec74 100644 --- a/src/npc/interaction/fBellyFuck.tw +++ b/src/npc/interaction/fBellyFuck.tw @@ -1,6 +1,6 @@ :: FBellyFuck [nobr no-history] -<<run App.Utils.setLocalPronouns($activeSlave)>> +<<run App.Utils.setLocalPronouns(getSlave($AS))>> You have $him brought to you so that you can fuck $his hyperpregnant body. <<if tooBigBelly(getSlave($AS))>> diff --git a/src/npc/interaction/fBoobs.tw b/src/npc/interaction/fBoobs.tw index 373bd98bac24744c8fc522d111bc1ff961055841..0325fa7a6275df707b56fe747df75f12cf79ac29 100644 --- a/src/npc/interaction/fBoobs.tw +++ b/src/npc/interaction/fBoobs.tw @@ -1,6 +1,6 @@ :: FBoobs [nobr no-history] -<<run App.Utils.setLocalPronouns($activeSlave)>> +<<run App.Utils.setLocalPronouns(getSlave($AS))>> <<set getSlave($AS).counter.mammary++, $mammaryTotal++>> You call $him over so you can play with $his diff --git a/src/npc/interaction/fDance.tw b/src/npc/interaction/fDance.tw index 42e952c2aa294cde820d8f23c1b939bdf588f8bd..5f9d8d0dd11ba50e947fb6d33523b29121172608 100644 --- a/src/npc/interaction/fDance.tw +++ b/src/npc/interaction/fDance.tw @@ -1307,10 +1307,10 @@ It's not over yet, though. You tell your slave that it's time to incorporate som <<case "mindbroken">> "Free Slut" <<default>> - <<print App.Desc.inscrip($activeSlave)>> + <<print App.Desc.inscrip(getSlave($AS))>> <</switch>> <<else>> - <<print App.Desc.inscrip($activeSlave)>> + <<print App.Desc.inscrip(getSlave($AS))>> <</if>> <</switch>> is written across $his chest in large, vibrant letters. diff --git a/src/npc/interaction/fRival.tw b/src/npc/interaction/fRival.tw index ae4ab6de929297bdcede51ba842c3673e58a2990..d6578d87f943d01f6a5defbf42094726c7dad5fa 100644 --- a/src/npc/interaction/fRival.tw +++ b/src/npc/interaction/fRival.tw @@ -1,7 +1,7 @@ :: FRival [nobr no-history] <<set _partnerID = getSlave($AS).rivalryTarget>> -<<run App.Utils.setLocalPronouns($activeSlave)>> +<<run App.Utils.setLocalPronouns(getSlave($AS))>> <<setLocalPronouns getSlave(_partnerID) 2>> You call <<= getSlave($AS).slaveName>> to your office and let $him know you'll be abusing <<= getSlave(_partnerID).slaveName>> together. diff --git a/src/npc/interaction/passage/fSlaveSlaveDick.tw b/src/npc/interaction/passage/fSlaveSlaveDick.tw index d97314d7e1c6847c7cd5b0b1082ddc2711c6f180..95cdaf866991c189581420301ba529ed96e7c26e 100644 --- a/src/npc/interaction/passage/fSlaveSlaveDick.tw +++ b/src/npc/interaction/passage/fSlaveSlaveDick.tw @@ -3,22 +3,22 @@ <<set $slaverapistx = 0>> <p class="scene-intro"> - Select a slave that will ride $activeSlave.slaveName. + Select a slave that will ride <<= getSlave($AS).slaveName>>. </p> <h2>Select an eligible slave</h2> -<<set _eligibles = $slaves.filter((s) => (s.ID != $activeSlave.ID) && isSlaveAvailable(s) && canDoVaginal(s) && canStand(s) /* amp-amp scene is not written */)>> +<<set _eligibles = $slaves.filter((s) => (s.ID != getSlave($AS).ID) && isSlaveAvailable(s) && canDoVaginal(s) && canStand(s) /* amp-amp scene is not written */)>> <<for _i = 0; _i < _eligibles.length; _i++>> <div> <<set _name = SlaveFullName(_eligibles[_i])>> <<print "[[_name|FSlaveSlaveDick Consummate][$slaverapistx = _eligibles[" + _i + "]]]">> <<if _eligibles[_i].custom.label>> (@@.yellow;''<<print _eligibles[_i].custom.label>>''@@)<</if>> - <<if (canImpreg(_eligibles[_i], $activeSlave))>> + <<if (canImpreg(_eligibles[_i], getSlave($AS)))>> @@.green;Fertile@@ <</if>> - <<if totalRelatives($activeSlave) > 0>> - <<set _relTerm = relativeTerm($activeSlave, _eligibles[_i])>> + <<if totalRelatives(getSlave($AS)) > 0>> + <<set _relTerm = relativeTerm(getSlave($AS), _eligibles[_i])>> <<if _relTerm != null>> @@.lightgreen;<<= capFirstChar(_relTerm)>>@@ <</if>> diff --git a/src/npc/interaction/passage/fSlaveSlaveVag.tw b/src/npc/interaction/passage/fSlaveSlaveVag.tw index 322dd7590a6fe5b6526ce23802517f2296dc0c6f..f9ba29ce39375df7a271ebfe793f221e6f21f4ed 100644 --- a/src/npc/interaction/passage/fSlaveSlaveVag.tw +++ b/src/npc/interaction/passage/fSlaveSlaveVag.tw @@ -3,23 +3,23 @@ <<set $slaverapistx = 0>> <p class="scene-intro"> - Select a slave that will fuck $activeSlave.slaveName. + Select a slave that will fuck <<= getSlave($AS).slaveName>>. </p> <h2>Select an eligible slave</h2> -<<set _eligibles = $slaves.filter((s) => (s.ID != $activeSlave.ID) && isSlaveAvailable(s) && (canPenetrate(s) || s.clit >= 4))>> +<<set _eligibles = $slaves.filter((s) => (s.ID != getSlave($AS).ID) && isSlaveAvailable(s) && (canPenetrate(s) || s.clit >= 4))>> <<for _i = 0; _i < _eligibles.length; _i++>> <div> <<set _name = SlaveFullName(_eligibles[_i])>> <<print "[[_name|FSlaveSlaveVag Consummate][$slaverapistx = _eligibles[" + _i + "]]]">> <<if _eligibles[_i].custom.label>> (@@.yellow;''<<print _eligibles[_i].custom.label>>''@@)<</if>> - <<if (canImpreg($activeSlave, _eligibles[_i]))>> + <<if (canImpreg(getSlave($AS), _eligibles[_i]))>> @@.green;Virile@@ <</if>> - <<if totalRelatives($activeSlave) > 0>> - <<set _relTerm = relativeTerm($activeSlave, _eligibles[_i])>> + <<if totalRelatives(getSlave($AS)) > 0>> + <<set _relTerm = relativeTerm(getSlave($AS), _eligibles[_i])>> <<if _relTerm != null>> @@.lightgreen;<<= capFirstChar(_relTerm)>>@@ <</if>> diff --git a/src/npc/interaction/passage/matchmaking.tw b/src/npc/interaction/passage/matchmaking.tw index 9ed13bcb75cdd0e18bd079a10387530e0e12a4c8..dcccc4f229bdc2ea734340d84c60ac881fc22473 100644 --- a/src/npc/interaction/passage/matchmaking.tw +++ b/src/npc/interaction/passage/matchmaking.tw @@ -38,7 +38,7 @@ Their relationship would probably be somewhat artificial at first, and they'd ha <br><br>__Put $him with another worshipful <<if getSlave($AS).relationship == -2>>emotionally bonded slave<<else>>emotional slut<</if>>:__ <<includeDOM App.UI.SlaveList.slaveSelectionList( - s => s.devotion >= 100 && s.relationship === $activeSlave.relationship && s.ID !== $activeSlave.ID, + s => s.devotion >= 100 && s.relationship === getSlave($AS).relationship && s.ID !== getSlave($AS).ID, App.UI.SlaveList.SlaveInteract.stdInteract, null, (s) => App.UI.DOM.passageLink('Match them', 'Matchmaking', () => { variables().subSlave = s; }) @@ -183,7 +183,7 @@ Being ordered into a relationship would be difficult for anyone, but they're so <</if>> <<set $subSlave.relationship = 4>> -<<set $subSlave.relationshipTarget = $activeSlave.ID>> +<<set $subSlave.relationshipTarget = getSlave($AS).ID>> <<set $subSlave.devotion -= 20>> <<set getSlave($AS).relationship = 4>> <<set getSlave($AS).relationshipTarget = $subSlave.ID>> @@ -192,5 +192,3 @@ Being ordered into a relationship would be difficult for anyone, but they're so <<set $slaves[$slaveIndices[$subSlave.ID]] = $subSlave>> <</if>> - -<<set $activeSlave = getSlave($AS)>> /* this should be harmless, keyword should */