diff --git a/src/npc/descriptions/longSlave.js b/src/npc/descriptions/longSlave.js index cbb0cf603d8268c185d901942c14c045a4ac01ee..05c28959ad0b5c672576595c0a54192a88e5dbf5 100644 --- a/src/npc/descriptions/longSlave.js +++ b/src/npc/descriptions/longSlave.js @@ -161,9 +161,8 @@ App.Desc.longSlave = function({slave = V.activeSlave, saleDescription = false, s r.push(`${He} currently possesses ${slave.origBodyOwner}'s body.`); } if (slave.fetish !== "mindbroken" && slave.fuckdoll === 0 && slave.origBodyOwnerID > 0) { - let _lsd = V.slaveIndices[slave.origBodyOwnerID]; - if (_lsd) { - r.push(`${He} is fully aware that ${SlaveFullName(V.slaves[_lsd])} is in ${his} old body.`); + if (getSlave(slave.origBodyOwnerID)) { + r.push(`${He} is fully aware that ${SlaveFullName(getSlave(slave.origBodyOwnerID))} is in ${his} old body.`); } } } @@ -385,8 +384,8 @@ App.Desc.longSlave = function({slave = V.activeSlave, saleDescription = false, s } } - const _pubertyAge = Math.min(slave.pubertyAgeXX, slave.pubertyAgeXY); - if (slave.physicalAge < _pubertyAge - 2) { + const pubertyAge = Math.min(slave.pubertyAgeXX, slave.pubertyAgeXY); + if (slave.physicalAge < pubertyAge - 2) { r.push(`${He} is too sexually immature to have armpit hair.`); } else if (slave.underArmHStyle === "hairless") { r.push(`${His} armpits are perfectly smooth and naturally hairless.`); @@ -398,9 +397,9 @@ App.Desc.longSlave = function({slave = V.activeSlave, saleDescription = false, s } else { r.push(`${His} armpits are waxed and smooth.`); } - } else if ((slave.physicalAge < _pubertyAge - 1)) { + } else if ((slave.physicalAge < pubertyAge - 1)) { r.push(`${He} has a few ${slave.underArmHColor} wisps of armpit hair.`); - } else if ((slave.physicalAge < _pubertyAge)) { + } else if ((slave.physicalAge < pubertyAge)) { r.push(`${He} is on the verge of puberty and has a small patch of ${slave.underArmHColor} armpit hair.`); } else if (slave.underArmHStyle === "shaved") { r.push(`${His} armpits appear hairless, but closer inspection reveals light, ${slave.underArmHColor} stubble.`);