diff --git a/src/endWeek/saTakeClasses.js b/src/endWeek/saTakeClasses.js index 49518639d4ed455773b85060c4864b8d70af3164..304e93bb2cbc81861815dfaac4b7b451b581ca43 100644 --- a/src/endWeek/saTakeClasses.js +++ b/src/endWeek/saTakeClasses.js @@ -308,43 +308,53 @@ App.SlaveAssignment.takeClasses = (function() { } for (lessons = 0; lessons < Math.max(1, learning); lessons++) { if (slave.devotion <= 20 && undevoted === 0) { - set.add(` Since ${he} is wanting in basic obedience, ${he} suffers through courses on <span class="devotion inc">${his} place</span> in the Free Cities world.`); + set.add(`Since ${he} is wanting in basic obedience, ${he} suffers through courses on <span class="devotion inc">${his} place</span> in the Free Cities world.`); slave.devotion += 10; undevoted++; } else if (slave.skill.oral <= 10) { - set.add(` Since ${he} is orally incompetent, ${he} is taught basic gag reflex suppression exercises and other simple oral things. ${slaveSkillIncrease('oral', slave, skillIncrease)}`); + set.add(`Since ${he} is orally incompetent, ${he} is taught basic gag reflex suppression exercises and other simple oral things.`); + set.add(slaveSkillIncrease('oral', slave, skillIncrease)); } else if (slave.skill.vaginal <= 10 && slave.vagina > 0 && canDoVaginal(slave)) { - set.add(` Since ${he} is unskilled at using ${his} pussy, ${he} is taught Kegel exercises and other simple vaginal skills. ${slaveSkillIncrease('vaginal', slave, skillIncrease)}`); + set.add(`Since ${he} is unskilled at using ${his} pussy, ${he} is taught Kegel exercises and other simple vaginal skills.`); + set.add(slaveSkillIncrease('vaginal', slave, skillIncrease)); } else if (slave.skill.vaginal <= 10 && slave.vagina >= 0) { - set.add(` Since ${he} is unskilled at using ${his} pussy and not permitted to learn through practice, ${he} is taught Kegel exercises, vaginal basics and several new positions. ${slaveSkillIncrease('vaginal', slave, skillIncrease)}`); + set.add(`Since ${he} is unskilled at using ${his} pussy and not permitted to learn through practice, ${he} is taught Kegel exercises, vaginal basics and several new positions.`); + set.add(slaveSkillIncrease('vaginal', slave, skillIncrease)); } else if (slave.skill.anal <= 10 && slave.anus > 0 && canDoAnal(slave)) { - set.add(` Since ${he} is a novice at taking it up ${his} butt, ${he} is taught relaxation exercises and other simple anal basics. ${slaveSkillIncrease('anal', slave, skillIncrease)}`); + set.add(`Since ${he} is a novice at taking it up ${his} butt, ${he} is taught relaxation exercises and other simple anal basics.`); + set.add(slaveSkillIncrease('anal', slave, skillIncrease)); } else if (slave.skill.anal <= 10 && slave.anus >= 0) { - set.add(` Since ${he} is a novice at taking it up ${his} butt and not permitted to learn through practice, ${he} is taught relaxation exercises and other simple anal basics. ${slaveSkillIncrease('anal', slave, skillIncrease)}`); + set.add(`Since ${he} is a novice at taking it up ${his} butt and not permitted to learn through practice, ${he} is taught relaxation exercises and other simple anal basics.`); + set.add(slaveSkillIncrease('anal', slave, skillIncrease)); } else if (slave.skill.whoring <= 10) { - set.add(` Since ${he} has little idea what's involved in selling ${his} body, ${he} is taught basic safety practices and other simple prostitution skills. ${slaveSkillIncrease('whoring', slave, skillIncrease)}`); + set.add(`Since ${he} has little idea what's involved in selling ${his} body, ${he} is taught basic safety practices and other simple prostitution skills.`); + set.add(slaveSkillIncrease('whoring', slave, skillIncrease)); } else if (slave.skill.entertainment <= 10) { - set.add(` Since ${his} entertainment value is limited to ${his} holes, ${he} is taught simple conversational skills and other courtesan's essentials. ${slaveSkillIncrease('entertainment', slave, skillIncrease)}`); + set.add(`Since ${his} entertainment value is limited to ${his} holes, ${he} is taught simple conversational skills and other courtesan's essentials.`); + set.add(slaveSkillIncrease('entertainment', slave, skillIncrease)); } else if (V.schoolroomUpgradeSkills === 1) { if (slave.skill.oral <= 30) { - set.add(` Having completed the basic sex slave curriculum, ${he} studies more advanced ways to use ${his} lips and tongue to please cocks, cunts, and asses. ${slaveSkillIncrease('oral', slave, skillIncrease)}`); + set.add(`Having completed the basic sex slave curriculum, ${he} studies more advanced ways to use ${his} lips and tongue to please cocks, cunts, and asses.`); + set.add(slaveSkillIncrease('oral', slave, skillIncrease)); } else if (slave.skill.whoring <= 30) { - set.add(` Having completed the basic sex slave curriculum, ${he} studies intermediate prostitution, including how to stay as safe as possible and maximize ${his} efficiency. ${slaveSkillIncrease('whoring', slave, skillIncrease)}`); + set.add(`Having completed the basic sex slave curriculum, ${he} studies intermediate prostitution, including how to stay as safe as possible and maximize ${his} efficiency.`); + set.add(slaveSkillIncrease('whoring', slave, skillIncrease)); } else if (slave.skill.entertainment <= 30) { - set.add(` Having completed the basic sex slave curriculum, ${he} studies courtesanship, including social dynamics and flirtation more subtle than straightforward begging for sex. ${slaveSkillIncrease('entertainment', slave, skillIncrease)}`); + set.add(`Having completed the basic sex slave curriculum, ${he} studies courtesanship, including social dynamics and flirtation more subtle than straightforward begging for sex.`); + set.add(slaveSkillIncrease('entertainment', slave, skillIncrease)); } else if (slave.skill.vaginal <= 30 && slave.vagina >= 0) { - set.add(` Having completed the basic sex slave curriculum, ${he} studies more advanced techniques and exotic positions to make use of ${his} ${(slave.vagina === 0) ? `virgin pussy for use in ${his} first time`:`pussy`}. ${slaveSkillIncrease('vaginal', slave, skillIncrease)}`); + set.add(`Having completed the basic sex slave curriculum, ${he} studies more advanced techniques and exotic positions to make use of ${his} ${(slave.vagina === 0) ? `virgin pussy for use in ${his} first time`:`pussy`}.`); + set.add(slaveSkillIncrease('vaginal', slave, skillIncrease)); } else if (slave.skill.anal <= 30) { - set.add(` Having completed the basic sex slave curriculum, ${he} studies more advanced techniques and exotic positions to make use of ${his} ${(slave.anus === 0) ? `virgin ass for use in ${his} first time` : `ass`}. ${slaveSkillIncrease('anal', slave, skillIncrease)}`); + set.add(`Having completed the basic sex slave curriculum, ${he} studies more advanced techniques and exotic positions to make use of ${his} ${(slave.anus === 0) ? `virgin ass for use in ${his} first time` : `ass`}.`); + set.add(slaveSkillIncrease('anal', slave, skillIncrease)); } } } if (lessons > 1) { r += ` ${He} passed ${num(lessons)} exams this week.`; } - for (const item of set) { - r += item; - } + r += ' ' + [...set].join(' '); } /**