diff --git a/devNotes/twine JS.txt b/devNotes/twine JS.txt index 955ecfd751daba1078b3a6a1bf41f9dd0e9053b9..f89d720a58270a57da5cd84fe57eee0a74ef3697 100644 --- a/devNotes/twine JS.txt +++ b/devNotes/twine JS.txt @@ -12912,7 +12912,7 @@ window.saRest = function saRest(slave) { if (V.showVignettes == 1 && slave.assignment === Job.REST) { var _vignette = GetVignette(slave); - t += ` __This week__ ${_vignette.text} ` + t += ` __This week__ ${_vignette.text} `; if (_vignette.type == "cash") { if (_vignette.effect > 0) { t += `<span class='yellowgreen'>making you an extra ${cashFormat(Math.trunc(V.FResult*_vignette.effect))}.</span>`; @@ -13102,7 +13102,7 @@ window.saServant = function saServant(slave) { if (V.showVignettes == 1 && (slave.assignment === Job.SERVANT || slave.assignment === Job.SERVER)) { var _vignette = GetVignette(slave); - t += ` __This week__ ${_vignette.text} ` + t += ` __This week__ ${_vignette.text} `; if (_vignette.type == "cash") { if (_vignette.effect > 0) { t += `<span class='yellowgreen'>making you an extra ${cashFormat(Math.trunc(V.FResult*_vignette.effect))}.</span>`; @@ -13186,69 +13186,69 @@ window.saServant = function saServant(slave) { window.saStayConfined = function saStayConfined(slave) { - var pronouns = getPronouns(slave) - var he = pronouns.pronoun, him = pronouns.object, his = pronouns.possessive, hers = pronouns.possessivePronoun, himself = pronouns.objectReflexive, boy = pronouns.noun - var He = capFirstChar(he), His = capFirstChar(his) - var V = State.variables + var pronouns = getPronouns(slave); + var he = pronouns.pronoun, him = pronouns.object, his = pronouns.possessive, hers = pronouns.possessivePronoun, himself = pronouns.objectReflexive, boy = pronouns.noun; + var He = capFirstChar(he), His = capFirstChar(his); + var V = State.variables; - var t = "" + var t = ""; if (slave.fetish != "mindbroken") { if (slave.devotion < -50) { - t += `is kept in solitary confinement whenever ${he} is not being forced to do something else. ${He} still hates ${his} place in the world, but being forced to rely on slave life as ${his} only human contact <span class='hotpink'>grinds down ${his} resistance.</span>` - slave.devotion += 2 + t += `is kept in solitary confinement whenever ${he} is not being forced to do something else. ${He} still hates ${his} place in the world, but being forced to rely on slave life as ${his} only human contact <span class='hotpink'>grinds down ${his} resistance.</span>`; + slave.devotion += 2; } else if (slave.devotion <= 20) { - t += `is kept in solitary confinement whenever ${he} is not being forced to do something else. With nothing to do but look forward to the next time ${he}'s let out to serve, <span class='hotpink'>${he} begins to rely on servitude.</span>` - slave.devotion += 1 + t += `is kept in solitary confinement whenever ${he} is not being forced to do something else. With nothing to do but look forward to the next time ${he}'s let out to serve, <span class='hotpink'>${he} begins to rely on servitude.</span>`; + slave.devotion += 1; } else if (slave.devotion <= 50) { - t += `accepts solitary confinement whenever ${he} is not being forced to do something else. Since ${he} is obedient, the mental torture neither breaks ${him} further nor causes ${him} to hate you.` + t += `accepts solitary confinement whenever ${he} is not being forced to do something else. Since ${he} is obedient, the mental torture neither breaks ${him} further nor causes ${him} to hate you.`; } else { - t += `accepts solitary confinement whenever ${he} is not being forced to do something else. ${He} spends ${his} time wondering hopelessly how ${he} has failed you, <span class='mediumorchid'>damaging ${his} devotion to you.</span>` - slave.devotion -= 2 + t += `accepts solitary confinement whenever ${he} is not being forced to do something else. ${He} spends ${his} time wondering hopelessly how ${he} has failed you, <span class='mediumorchid'>damaging ${his} devotion to you.</span>`; + slave.devotion -= 2; } if (slave.trust < -50) { - t += ` ${He} is so terrified of you that this confinement does not make ${him} fear you any more.` + t += ` ${He} is so terrified of you that this confinement does not make ${him} fear you any more.`; } else if (slave.trust < -20) { - t += ` ${He} is already afraid of you, but this confinement makes ${him} <span class='gold'>fear you even more.</span>` - slave.trust -= 2 + t += ` ${He} is already afraid of you, but this confinement makes ${him} <span class='gold'>fear you even more.</span>`; + slave.trust -= 2; } else if (slave.trust <= 20) { - t += ` This confinement makes ${him} <span class='gold'>fear your power</span> over ${him}.` - slave.trust -= 4 + t += ` This confinement makes ${him} <span class='gold'>fear your power</span> over ${him}.`; + slave.trust -= 4; } else { - t += ` This confinement makes ${him} <span class='gold'>trust you less,</span> and fear you more.` - slave.trust -= 5 + t += ` This confinement makes ${him} <span class='gold'>trust you less,</span> and fear you more.`; + slave.trust -= 5; } if (slave.assignment == "be confined in the cellblock") { if ((slave.hears == -1 && slave.earwear != "hearing aids") || (slave.hears == 0 && slave.earwear == "muffling ear plugs") || (slave.hears == -2)) { - t += ` ${His} hearing impairment spares ${him} the sounds of ${his} peers getting punished, lightening the impact of ${his} imprisonment.` + t += ` ${His} hearing impairment spares ${him} the sounds of ${his} peers getting punished, lightening the impact of ${his} imprisonment.`; } } - t += ` The stress of confinement <span class='red'>damages ${his} health.</span>` - slave.health -= 10 + t += ` The stress of confinement <span class='red'>damages ${his} health.</span>`; + slave.health -= 10; } else { - t += `is oblivious to ${his} confinement.` + t += `is oblivious to ${his} confinement.`; } if (slave.sentence == 0 && (slave.devotion > 20 || (slave.devotion >= -20 && slave.trust < -20) || (slave.devotion >= -50 && slave.trust < -50) || slave.fetish == "mindbroken")) { if (slave.fetish == "mindbroken") { - t += ` ${His} broken mind hinges entirely on other's guidance,` + t += ` ${His} broken mind hinges entirely on other's guidance,`; } else { - t += ` ${He} is now willing to <span class='hotpink'>do as ${he}'s told,</span>` + t += ` ${He} is now willing to <span class='hotpink'>do as ${he}'s told,</span>`; } - t += ` so <span class='yellow'>${his} assignment has defaulted to rest.</span>` + t += ` so <span class='yellow'>${his} assignment has defaulted to rest.</span>`; if (slave.assignment == "be confined in the cellblock") { - State.temporary.brokenSlaves++ - State.temporary.DL-- - State.temporary.dI-- + State.temporary.brokenSlaves++; + State.temporary.DL--; + State.temporary.dI--; } - removeJob(slave, slave.assignment) + removeJob(slave, slave.assignment); } - return t -} + return t; +}; /* Displays assistant images. Currently passage-based. @@ -26466,7 +26466,7 @@ window.getHighestPorn = function(slave) { } return max; -} +}; /*:: Art JS [script]*/ diff --git a/src/endWeek/saPornJS.tw b/src/endWeek/saPornJS.tw index 23ac9d5ad52eee752ca2cb3c5e62b267bc0817c4..a8d5b27c92eb9a170a4ba96d35479e8f7c253aab 100644 --- a/src/endWeek/saPornJS.tw +++ b/src/endWeek/saPornJS.tw @@ -113,4 +113,4 @@ window.getHighestPorn = function(slave) { } return max; -} \ No newline at end of file +}; diff --git a/src/endWeek/saRest.tw b/src/endWeek/saRest.tw index dab12e8b5aa0439d62ae824654fe3a1a0bef6ffe..747068ea1f9e7530d86ca6ced4912102d143b9ac 100644 --- a/src/endWeek/saRest.tw +++ b/src/endWeek/saRest.tw @@ -55,7 +55,7 @@ window.saRest = function saRest(slave) { if (V.showVignettes == 1 && slave.assignment === Job.REST) { var _vignette = GetVignette(slave); - t += ` __This week__ ${_vignette.text} ` + t += ` __This week__ ${_vignette.text} `; if (_vignette.type == "cash") { if (_vignette.effect > 0) { t += `<span class='yellowgreen'>making you an extra ${cashFormat(Math.trunc(V.FResult*_vignette.effect))}.</span>`; @@ -133,4 +133,4 @@ window.saRest = function saRest(slave) { } return t; -} \ No newline at end of file +}; diff --git a/src/endWeek/saServant.tw b/src/endWeek/saServant.tw index 5718e528e0e4e806c9620c04a7bb9323d10d482b..4b12c87a3ff8e45f9ba6725c5ee78c4793d64424 100644 --- a/src/endWeek/saServant.tw +++ b/src/endWeek/saServant.tw @@ -108,7 +108,7 @@ window.saServant = function saServant(slave) { if (V.showVignettes == 1 && (slave.assignment === Job.SERVANT || slave.assignment === Job.SERVER)) { var _vignette = GetVignette(slave); - t += ` __This week__ ${_vignette.text} ` + t += ` __This week__ ${_vignette.text} `; if (_vignette.type == "cash") { if (_vignette.effect > 0) { t += `<span class='yellowgreen'>making you an extra ${cashFormat(Math.trunc(V.FResult*_vignette.effect))}.</span>`; @@ -186,4 +186,4 @@ window.saServant = function saServant(slave) { } return t; -}; \ No newline at end of file +}; diff --git a/src/endWeek/saStayConfined.tw b/src/endWeek/saStayConfined.tw index c3b6f3fbabb5f38a0fe4ed3b4127baa612a9bd1f..717146baa7376fe9a040f179e657b17abe46c53c 100644 --- a/src/endWeek/saStayConfined.tw +++ b/src/endWeek/saStayConfined.tw @@ -2,66 +2,66 @@ window.saStayConfined = function saStayConfined(slave) { - var pronouns = getPronouns(slave) - var he = pronouns.pronoun, him = pronouns.object, his = pronouns.possessive, hers = pronouns.possessivePronoun, himself = pronouns.objectReflexive, boy = pronouns.noun - var He = capFirstChar(he), His = capFirstChar(his) - var V = State.variables + var pronouns = getPronouns(slave); + var he = pronouns.pronoun, him = pronouns.object, his = pronouns.possessive, hers = pronouns.possessivePronoun, himself = pronouns.objectReflexive, boy = pronouns.noun; + var He = capFirstChar(he), His = capFirstChar(his); + var V = State.variables; - var t = "" + var t = ""; if (slave.fetish != "mindbroken") { if (slave.devotion < -50) { - t += `is kept in solitary confinement whenever ${he} is not being forced to do something else. ${He} still hates ${his} place in the world, but being forced to rely on slave life as ${his} only human contact <span class='hotpink'>grinds down ${his} resistance.</span>` - slave.devotion += 2 + t += `is kept in solitary confinement whenever ${he} is not being forced to do something else. ${He} still hates ${his} place in the world, but being forced to rely on slave life as ${his} only human contact <span class='hotpink'>grinds down ${his} resistance.</span>`; + slave.devotion += 2; } else if (slave.devotion <= 20) { - t += `is kept in solitary confinement whenever ${he} is not being forced to do something else. With nothing to do but look forward to the next time ${he}'s let out to serve, <span class='hotpink'>${he} begins to rely on servitude.</span>` - slave.devotion += 1 + t += `is kept in solitary confinement whenever ${he} is not being forced to do something else. With nothing to do but look forward to the next time ${he}'s let out to serve, <span class='hotpink'>${he} begins to rely on servitude.</span>`; + slave.devotion += 1; } else if (slave.devotion <= 50) { - t += `accepts solitary confinement whenever ${he} is not being forced to do something else. Since ${he} is obedient, the mental torture neither breaks ${him} further nor causes ${him} to hate you.` + t += `accepts solitary confinement whenever ${he} is not being forced to do something else. Since ${he} is obedient, the mental torture neither breaks ${him} further nor causes ${him} to hate you.`; } else { - t += `accepts solitary confinement whenever ${he} is not being forced to do something else. ${He} spends ${his} time wondering hopelessly how ${he} has failed you, <span class='mediumorchid'>damaging ${his} devotion to you.</span>` - slave.devotion -= 2 + t += `accepts solitary confinement whenever ${he} is not being forced to do something else. ${He} spends ${his} time wondering hopelessly how ${he} has failed you, <span class='mediumorchid'>damaging ${his} devotion to you.</span>`; + slave.devotion -= 2; } if (slave.trust < -50) { - t += ` ${He} is so terrified of you that this confinement does not make ${him} fear you any more.` + t += ` ${He} is so terrified of you that this confinement does not make ${him} fear you any more.`; } else if (slave.trust < -20) { - t += ` ${He} is already afraid of you, but this confinement makes ${him} <span class='gold'>fear you even more.</span>` - slave.trust -= 2 + t += ` ${He} is already afraid of you, but this confinement makes ${him} <span class='gold'>fear you even more.</span>`; + slave.trust -= 2; } else if (slave.trust <= 20) { - t += ` This confinement makes ${him} <span class='gold'>fear your power</span> over ${him}.` - slave.trust -= 4 + t += ` This confinement makes ${him} <span class='gold'>fear your power</span> over ${him}.`; + slave.trust -= 4; } else { - t += ` This confinement makes ${him} <span class='gold'>trust you less,</span> and fear you more.` - slave.trust -= 5 + t += ` This confinement makes ${him} <span class='gold'>trust you less,</span> and fear you more.`; + slave.trust -= 5; } if (slave.assignment == "be confined in the cellblock") { if ((slave.hears == -1 && slave.earwear != "hearing aids") || (slave.hears == 0 && slave.earwear == "muffling ear plugs") || (slave.hears == -2)) { - t += ` ${His} hearing impairment spares ${him} the sounds of ${his} peers getting punished, lightening the impact of ${his} imprisonment.` + t += ` ${His} hearing impairment spares ${him} the sounds of ${his} peers getting punished, lightening the impact of ${his} imprisonment.`; } } - t += ` The stress of confinement <span class='red'>damages ${his} health.</span>` - slave.health -= 10 + t += ` The stress of confinement <span class='red'>damages ${his} health.</span>`; + slave.health -= 10; } else { - t += `is oblivious to ${his} confinement.` + t += `is oblivious to ${his} confinement.`; } if (slave.sentence == 0 && (slave.devotion > 20 || (slave.devotion >= -20 && slave.trust < -20) || (slave.devotion >= -50 && slave.trust < -50) || slave.fetish == "mindbroken")) { if (slave.fetish == "mindbroken") { - t += ` ${His} broken mind hinges entirely on other's guidance,` + t += ` ${His} broken mind hinges entirely on other's guidance,`; } else { - t += ` ${He} is now willing to <span class='hotpink'>do as ${he}'s told,</span>` + t += ` ${He} is now willing to <span class='hotpink'>do as ${he}'s told,</span>`; } - t += ` so <span class='yellow'>${his} assignment has defaulted to rest.</span>` + t += ` so <span class='yellow'>${his} assignment has defaulted to rest.</span>`; if (slave.assignment == "be confined in the cellblock") { - State.temporary.brokenSlaves++ - State.temporary.DL-- - State.temporary.dI-- + State.temporary.brokenSlaves++; + State.temporary.DL--; + State.temporary.dI--; } - removeJob(slave, slave.assignment) + removeJob(slave, slave.assignment); } - return t -} + return t; +}; diff --git a/src/pregmod/saPorn.tw b/src/pregmod/saPorn.tw index 2e196f91f948716c15a901a702442a771e34de58..5e6bce621897864c8325722f7dd84e5a438fdcb6 100644 --- a/src/pregmod/saPorn.tw +++ b/src/pregmod/saPorn.tw @@ -76,7 +76,7 @@ but viewers are more interested in $his body. <</if>> <<elseif $slaves[$i].face > 95>> - $His unbelievable face siezes the attention of all who see it. + $His unbelievable face seizes the attention of all who see it. <<elseif $slaves[$i].face > 40>> $His gorgeous face draws viewers in and keeps them watching. <<elseif $slaves[$i].face > 10>> @@ -1155,14 +1155,14 @@ <<set $slaves[$i].pornPrestigeDesc = "She has a following in slave pornography. Thousands have enjoyed the sight of her ignoring her own pleasure.">> the sight of $him ignoring $his own pleasure, <<case "cum addiction">> - <<set $slaves[$i].pornPrestigeDesc = "She has a following in slave pornography. Thousands have enjoyed whatching her do anything and everything for cum.">> - whatching $him do anything and everything for cum, + <<set $slaves[$i].pornPrestigeDesc = "She has a following in slave pornography. Thousands have enjoyed watching her do anything and everything for cum.">> + watching $him do anything and everything for cum, <<case "anal addiction">> - <<set $slaves[$i].pornPrestigeDesc = "She has a following in slave pornography. Thousands have enjoyed whatching her do anything for a dick in her ass.">> - whatching $him do anything for a dick in $his ass, + <<set $slaves[$i].pornPrestigeDesc = "She has a following in slave pornography. Thousands have enjoyed watching her do anything for a dick in her ass.">> + watching $him do anything for a dick in $his ass, <<case "exhibition">> - <<set $slaves[$i].pornPrestigeDesc = "She has a following in slave pornography. Thousands have enjoyed whatching her do anything for attention.">> - whatching $him do anything for attention, + <<set $slaves[$i].pornPrestigeDesc = "She has a following in slave pornography. Thousands have enjoyed watching her do anything for attention.">> + watching $him do anything for attention, <<case "breast expansion">> <<set $slaves[$i].pornPrestigeDesc = "She has a following in slave pornography. Thousands have enjoyed charting the growth of her breasts.">> charting the growth of $his breasts, @@ -1355,8 +1355,8 @@ <<case "really perverted">> <<if $slaves[$i].pornTypePervert >= 50000>> <<set $slaves[$i].pornPrestige = 2>> - <<set $slaves[$i].pornPrestigeDesc = "She is well known from her career in slave pornography. Her many fans relish the depths of her pervesions.">> - @@.green;$He has gained a hold in $slaves[$i].pornFameType pornography!@@ $His many fans relish the depths of $his pervesions, so it is now prestigious to own $him. + <<set $slaves[$i].pornPrestigeDesc = "She is well known from her career in slave pornography. Her many fans relish the depths of her perversions.">> + @@.green;$He has gained a hold in $slaves[$i].pornFameType pornography!@@ $His many fans relish the depths of $his perversions, so it is now prestigious to own $him. <<elseif _topFame.value >= $slaves[$i].pornTypePervert*_swapPoint>> <<set _fameSwap = 1>> <<elseif $slaves[$i].pornTypePervert < 5000>> @@ -1623,11 +1623,11 @@ <<case "orgasm denial">> <<set $slaves[$i].pornPrestigeDesc = "She has a following in slave pornography. Thousands have enjoyed the sight of her ignoring her own pleasure.">> <<case "cum addiction">> - <<set $slaves[$i].pornPrestigeDesc = "She has a following in slave pornography. Thousands have enjoyed whatching her do anything and everything for cum.">> + <<set $slaves[$i].pornPrestigeDesc = "She has a following in slave pornography. Thousands have enjoyed watching her do anything and everything for cum.">> <<case "anal addiction">> - <<set $slaves[$i].pornPrestigeDesc = "She has a following in slave pornography. Thousands have enjoyed whatching her do anything for a dick in her ass.">> + <<set $slaves[$i].pornPrestigeDesc = "She has a following in slave pornography. Thousands have enjoyed watching her do anything for a dick in her ass.">> <<case "exhibition">> - <<set $slaves[$i].pornPrestigeDesc = "She has a following in slave pornography. Thousands have enjoyed whatching her do anything for attention.">> + <<set $slaves[$i].pornPrestigeDesc = "She has a following in slave pornography. Thousands have enjoyed watching her do anything for attention.">> <<case "breast expansion">> <<set $slaves[$i].pornPrestigeDesc = "She has a following in slave pornography. Thousands have enjoyed charting the growth of her breasts.">> <<case "abuse">> @@ -1818,8 +1818,8 @@ <<if $slaves[$i].pornTypePervert >= 150000 && $pornStarPervertID == 0>> <<set $slaves[$i].pornPrestige = 3, $slaves[$i].pornTypePervert = 250000, $pornStarPervertID = $slaves[$i].ID>> <<set $slaves[$i].pornFame = $slaves[$i].pornTypePervert>> - <<set $slaves[$i].pornPrestigeDesc = "She is world famous for her career in slave pornography. Millions are intimately familiar with the depths of her pervesions.">> - @@.green;$He has become world famous for $his career in $slaves[$i].pornFameType pornography!@@ Millions are now intimately familiar with the depths of $his pervesions, so it is now extremely prestigious to own $him. + <<set $slaves[$i].pornPrestigeDesc = "She is world famous for her career in slave pornography. Millions are intimately familiar with the depths of her perversions.">> + @@.green;$He has become world famous for $his career in $slaves[$i].pornFameType pornography!@@ Millions are now intimately familiar with the depths of $his perversions, so it is now extremely prestigious to own $him. <<set _desc = "a framed shot from porn starring " + $slaves[$i].slaveName + " showing her doing something perverted">> <<set $trinkets.push(_desc)>> <<elseif $slaves[$i].pornTypePervert < 40000>> @@ -2112,11 +2112,11 @@ <<case "orgasm denial">> <<set $slaves[$i].pornPrestigeDesc = "She has a following in slave pornography. Thousands have enjoyed the sight of her ignoring her own pleasure.">> <<case "cum addiction">> - <<set $slaves[$i].pornPrestigeDesc = "She has a following in slave pornography. Thousands have enjoyed whatching her do anything and everything for cum.">> + <<set $slaves[$i].pornPrestigeDesc = "She has a following in slave pornography. Thousands have enjoyed watching her do anything and everything for cum.">> <<case "anal addiction">> - <<set $slaves[$i].pornPrestigeDesc = "She has a following in slave pornography. Thousands have enjoyed whatching her do anything for a dick in her ass.">> + <<set $slaves[$i].pornPrestigeDesc = "She has a following in slave pornography. Thousands have enjoyed watching her do anything for a dick in her ass.">> <<case "exhibition">> - <<set $slaves[$i].pornPrestigeDesc = "She has a following in slave pornography. Thousands have enjoyed whatching her do anything for attention.">> + <<set $slaves[$i].pornPrestigeDesc = "She has a following in slave pornography. Thousands have enjoyed watching her do anything for attention.">> <<case "breast expansion">> <<set $slaves[$i].pornPrestigeDesc = "She has a following in slave pornography. Thousands have enjoyed charting the growth of her breasts.">> <<case "abuse">> @@ -2610,11 +2610,11 @@ <<case "orgasm denial">> <<set $slaves[$i].pornPrestigeDesc = "She has a following in slave pornography. Thousands have enjoyed the sight of her ignoring her own pleasure.">> <<case "cum addiction">> - <<set $slaves[$i].pornPrestigeDesc = "She has a following in slave pornography. Thousands have enjoyed whatching her do anything and everything for cum.">> + <<set $slaves[$i].pornPrestigeDesc = "She has a following in slave pornography. Thousands have enjoyed watching her do anything and everything for cum.">> <<case "anal addiction">> - <<set $slaves[$i].pornPrestigeDesc = "She has a following in slave pornography. Thousands have enjoyed whatching her do anything for a dick in her ass.">> + <<set $slaves[$i].pornPrestigeDesc = "She has a following in slave pornography. Thousands have enjoyed watching her do anything for a dick in her ass.">> <<case "exhibition">> - <<set $slaves[$i].pornPrestigeDesc = "She has a following in slave pornography. Thousands have enjoyed whatching her do anything for attention.">> + <<set $slaves[$i].pornPrestigeDesc = "She has a following in slave pornography. Thousands have enjoyed watching her do anything for attention.">> <<case "breast expansion">> <<set $slaves[$i].pornPrestigeDesc = "She has a following in slave pornography. Thousands have enjoyed charting the growth of her breasts.">> <<case "abuse">>