code
stringlengths 0
56.1M
| repo_name
stringclasses 515
values | path
stringlengths 2
147
| language
stringclasses 447
values | license
stringclasses 7
values | size
int64 0
56.8M
|
|---|---|---|---|---|---|
<svg viewBox="0 0 560 1000"><path sodipodi:nodetypes="cccscccsscc" id="path1980" class="lips" d="m 302.96539,160.65056 c -0.1196,-0.44204 0.25784,-0.30456 0.31474,-0.87253 -0.7942,-1.37133 -4.59072,-2.7833 -5.14773,-2.86925 -1.31267,-0.11115 -2.14942,0.69728 -2.95604,0.76856 -0.89941,0.0794 -1.93684,-0.22714 -2.47046,0.0983 -1.93918,1.43279 -2.16833,2.5323 -2.56096,4.21543 0.0977,0.14622 0.13405,0.19158 0.24781,0.28458 0.75568,-0.264 2.00689,0.21311 3.00768,0.33376 1.98351,0.23912 3.718,-0.095 5.34205,-0.70268 1.40459,-0.52557 2.36149,-1.49701 4.2229,-1.25615 z"/></svg>
|
MonsterMate/fc
|
src/art/vector_revamp/layers/Art_Vector_Revamp_Makeup_Mouth_Angry_Thin.svg
|
svg
|
mit
| 577
|
<svg viewBox="0 0 560 1000"><path sodipodi:nodetypes="ccsssccaacc" id="path5687" class="lips" d="m 306.28978,158.87079 c 0.0885,-0.52142 -0.3216,-0.52623 -0.53674,-0.90566 -1.91575,0.17329 -3.20151,-0.89868 -5.59157,-1.19088 -1.55764,-0.19043 -2.11895,0.9562 -2.92556,1.02748 -0.89942,0.0794 -1.58137,-0.68617 -2.52047,-0.32593 -2.30484,0.88413 -2.53398,2.65893 -3.41833,3.18319 -0.1583,0.26089 0.0291,0.23235 -0.12857,0.50599 1.8202,1.45612 2.67687,3.76579 4.73104,4.4486 1.72389,0.57302 3.82179,0.25883 5.41525,-0.61354 2.30811,-1.26363 1.78748,-2.94673 4.97488,-6.12926 z"/></svg>
|
MonsterMate/fc
|
src/art/vector_revamp/layers/Art_Vector_Revamp_Makeup_Mouth_Happy_Big.svg
|
svg
|
mit
| 584
|
<svg viewBox="0 0 560 1000"><path sodipodi:nodetypes="ccsssccaacc" id="path2529" class="lips" d="m 306.23509,158.84735 c 0.0885,-0.52142 -0.26691,-0.50279 -0.48205,-0.88222 -1.16422,-1.16422 -3.20151,-2.47863 -5.59157,-2.77083 -1.55764,-0.19043 -2.11895,0.9562 -2.92556,1.02748 -0.89942,0.0794 -1.58137,-0.68617 -2.52047,-0.32593 -2.30484,0.88413 -3.13392,3.70172 -3.41833,4.76314 -0.1583,0.26089 0.0291,0.23235 -0.12857,0.50599 0.20083,2.39113 2.26583,5.46818 4.73104,6.55887 1.6613,0.73502 3.88904,0.37178 5.41525,-0.61354 2.69315,-1.73869 4.42544,-4.4712 4.92019,-8.26297 z"/></svg>
|
MonsterMate/fc
|
src/art/vector_revamp/layers/Art_Vector_Revamp_Makeup_Mouth_Happy_Enormous.svg
|
svg
|
mit
| 586
|
<svg viewBox="0 0 560 1000"><path d="m 306.28978,158.87079 c 0.0885,-0.52142 -0.3216,-0.52623 -0.53674,-0.90566 -1.91575,0.17329 -3.20151,-1.36272 -5.59157,-1.65492 -1.55764,-0.19043 -2.11895,0.9562 -2.92556,1.02748 -0.89942,0.0794 -1.58137,-0.68617 -2.52047,-0.32593 -2.30484,0.88413 -2.53398,3.12297 -3.41833,3.64723 -0.1583,0.26089 0.0291,0.23235 -0.12857,0.50599 1.8202,1.45612 2.56721,4.24958 4.73104,5.04522 1.70502,0.62693 3.8418,0.29443 5.41525,-0.61354 2.41531,-1.39378 1.78748,-3.54335 4.97488,-6.72588 z" class="lips" id="path5690" sodipodi:nodetypes="ccsssccaacc"/></svg>
|
MonsterMate/fc
|
src/art/vector_revamp/layers/Art_Vector_Revamp_Makeup_Mouth_Happy_Huge.svg
|
svg
|
mit
| 584
|
<svg viewBox="0 0 560 1000"><path sodipodi:nodetypes="ccsssccaacc" id="path1720-1" class="lips" d="m 306.28978,158.87079 c 0.0885,-0.52142 -0.3216,-0.52623 -0.53674,-0.90566 -1.91575,0.17329 -3.20151,-0.14738 -5.59157,-0.43958 -1.55764,-0.19043 -2.11895,0.9562 -2.92556,1.02748 -0.89942,0.0794 -1.58137,-0.68617 -2.52047,-0.32593 -2.30484,0.88413 -2.53398,1.90763 -3.41833,2.43189 -0.1583,0.26089 0.0291,0.23235 -0.12857,0.50599 1.8202,1.45612 2.8805,2.75487 4.73104,3.21116 1.76381,0.43491 3.77546,0.16828 5.41525,-0.61354 2.09929,-1.00089 1.78748,-1.70929 4.97488,-4.89182 z"/></svg>
|
MonsterMate/fc
|
src/art/vector_revamp/layers/Art_Vector_Revamp_Makeup_Mouth_Happy_Normal.svg
|
svg
|
mit
| 586
|
<svg viewBox="0 0 560 1000"><path d="m 306.28978,158.87079 c 0.0885,-0.52142 -0.3216,-0.52623 -0.53674,-0.90566 -1.91575,0.17329 -3.20151,-0.46779 -5.59157,-0.75999 -1.55764,-0.19043 -2.11895,0.9562 -2.92556,1.02748 -0.89942,0.0794 -1.58137,-0.68617 -2.52047,-0.32593 -2.30484,0.88413 -2.53398,2.22804 -3.41833,2.7523 -0.1583,0.26089 0.0291,0.23235 -0.12857,0.50599 1.8202,1.45612 2.7796,3.2797 4.73104,3.85198 1.74322,0.51121 3.80025,0.21828 5.41525,-0.61354 2.20486,-1.13564 1.78748,-2.35011 4.97488,-5.53264 z" class="lips" id="path5684" sodipodi:nodetypes="ccsssccaacc"/></svg>
|
MonsterMate/fc
|
src/art/vector_revamp/layers/Art_Vector_Revamp_Makeup_Mouth_Happy_Plush.svg
|
svg
|
mit
| 582
|
<svg viewBox="0 0 560 1000"><path d="m 306.18781,158.88213 c 0.0885,-0.52142 -0.58722,-0.51842 -0.80236,-0.89785 -2.88644,1.11929 -2.6312,0.82735 -5.02126,0.53515 -1.55764,-0.19043 -2.36895,0.7956 -3.17556,0.86688 -0.89942,0.0794 -1.58137,-0.45961 -2.52047,-0.0994 -2.30484,0.88413 -1.14335,0.781 -3.41833,1.41464 -0.1583,0.26089 0.0291,0.23235 -0.12857,0.50599 1.4452,0.69049 3.04694,1.9423 4.78225,2.22422 1.6634,0.27023 3.45847,0.0544 5.02325,-0.57124 2.0415,-0.81623 2.21831,-2.56046 5.26098,-3.97842 z" class="lips" id="path1714" sodipodi:nodetypes="ccsssccaacc"/></svg>
|
MonsterMate/fc
|
src/art/vector_revamp/layers/Art_Vector_Revamp_Makeup_Mouth_Happy_Thin.svg
|
svg
|
mit
| 576
|
<svg viewBox="0 0 560 1000"><path d="m 278.4,442.4 c 0.2,0.1 0.2,0.4 0.2,0.5 0,1 1.5,4.4 3.3,6 4.8,4.2 10.2,6.1 9.7,3.9 -0.1,-0.4 0.4,-0.5 0.4,-0.7 0.6,-2.1 -2.1,-5.3 -5.6,-8.3 -2.9,-2.5 -3.4,-2.2 -4,-2.7 -0.1,-0.1 -0.3,-0.2 -0.3,-0.5 -0.1,-0.3 0.2,-0.5 0.2,-0.7 0.1,-0.8 -0.9,-1.3 -1.9,-1.8 -0.7,-0.4 -2.2,-0.8 -3,-0.2 -1.7,1.3 -0.7,5.3 0.4,4.7 0.2,-0.1 0.4,-0.3 0.6,-0.2 z" class="shadow" id="XMLID_890_" sodipodi:nodetypes="ssccccccccccs"/><path d="m 278.5,442.5 c 0.2,0.2 0.2,0.4 0.2,0.5 0,0.6 1.6,3.9 4.8,6.6 2.4,2 6.9,5 8.5,3.6 0.3,-0.3 0.4,-0.5 0.4,-0.8 0.7,-2.3 -2.8,-5.2 -3.7,-6.1 -3.3,-2.8 -5.2,-4.5 -6,-5 -0.1,-0.1 -0.4,-0.3 -0.5,-0.6 -0.1,-0.3 0.1,-0.4 0.1,-0.6 0.1,-0.6 -1,-1.3 -1.8,-1.7 -0.6,-0.3 -2,-0.8 -2.8,-0.2 -1.4,1.1 -0.5,4.2 0.2,4.4 0.2,0 0.4,-0.2 0.6,-0.1 z" class="skin penis" id="XMLID_891_" sodipodi:nodetypes="cscccccscsccc"/></svg>
|
MonsterMate/fc
|
src/art/vector_revamp/layers/Art_Vector_Revamp_Penis_0.svg
|
svg
|
mit
| 860
|
<svg viewBox="0 0 560 1000"><path d="m 268,434.4 c 0.4,0.3 0.4,0.8 0.4,1 0,1.8 2.4,7.6 6.3,11.2 9.7,8.8 18.8,11.3 17.9,7.1 -0.2,-0.6 0.8,-1 0.9,-1.3 0.8,-3 -4.1,-10 -10.7,-15.3 -5.5,-4.4 -6,-4.3 -7.3,-5.1 -0.2,-0.1 -0.4,-0.3 -0.5,-0.9 -0.1,-0.4 0.3,-1 0.4,-1.3 0.2,-1.4 -1.8,-2.5 -3.6,-3.4 -1.4,-0.7 -4.2,-1.5 -5.6,-0.4 -3.2,2.6 -1.1,9.7 0.7,8.7 0.3,-0.2 0.7,-0.6 1.1,-0.3 z" class="shadow" id="XMLID_888_" sodipodi:nodetypes="sscccccccsccs"/><path d="m 268,434.6 c 0.4,0.3 0.4,0.9 0.4,1 0,1.2 3,7.3 9,12.4 4.4,3.9 13.1,9.3 16,6.9 0.5,-0.4 0.7,-1.1 0.8,-1.4 1.3,-4.3 -5.1,-9.9 -7,-11.6 -6.2,-5.4 -9.9,-8.5 -11.2,-9.4 -0.2,-0.1 -0.8,-0.5 -1,-1.2 -0.1,-0.5 0.2,-0.8 0.3,-1.2 0.2,-1.2 -1.9,-2.6 -3.4,-3.2 -1.2,-0.4 -3.6,-1.6 -5.3,-0.4 -2.7,2 -1,7.9 0.4,8.1 0.2,0.1 0.7,-0.3 1,0 z" class="skin penis" id="XMLID_889_" sodipodi:nodetypes="csccccccccccc"/></svg>
|
MonsterMate/fc
|
src/art/vector_revamp/layers/Art_Vector_Revamp_Penis_1.svg
|
svg
|
mit
| 856
|
<svg viewBox="0 0 560 1000"><path d="m 251.7,421.6 c 0.5,0.4 0.5,1.3 0.5,1.5 0,2.8 5.5,12.7 10.5,17.6 15,14.6 29.9,18.3 28.4,11.7 -0.2,-1 1.2,-1.5 1.4,-2.1 2,-6.3 -7.5,-15.7 -17.9,-24.4 -8.7,-7.3 -9,-6.9 -10.9,-8.3 -0.3,-0.2 -0.7,-0.5 -0.9,-1.5 -0.2,-0.7 0.4,-1.6 0.5,-2.2 0.4,-2.3 -2.8,-4 -5.6,-5.4 -2.2,-1.2 -6.7,-2.5 -9.1,-0.5 -5.2,4.1 -1.2,15.3 1.2,14 0.6,-0.2 1.3,-0.7 1.9,-0.4 z" class="shadow" id="XMLID_886_" sodipodi:nodetypes="csccccccccccc"/><path d="m 252,422.1 c 0.6,0.4 0.5,1.3 0.5,1.5 0,1.9 4.9,11.6 14.3,19.9 7.1,6.2 21,15 25.6,11.1 0.9,-0.7 1.2,-1.7 1.3,-2.3 2.1,-6.9 -8.2,-15.9 -11.3,-18.6 -10,-8.6 -15.7,-13.7 -17.9,-15.1 -0.3,-0.2 -1.3,-0.8 -1.5,-2 -0.2,-0.8 0.3,-1.2 0.4,-2 0.3,-2 -3,-4.2 -5.3,-5.2 -1.8,-0.8 -5.9,-2.6 -8.6,-0.5 -4.3,3.1 -1.5,12.6 0.5,13 0.5,0.3 1.3,-0.2 2,0.2 z" class="skin penis" id="XMLID_887_" sodipodi:nodetypes="csccccccccccc"/></svg>
|
MonsterMate/fc
|
src/art/vector_revamp/layers/Art_Vector_Revamp_Penis_2.svg
|
svg
|
mit
| 880
|
<svg viewBox="0 0 560 1000"><path d="m 235.8,408.5 c 0.7,0.5 0.8,1.9 0.8,2.1 0,4 7.6,17.9 14.7,24.6 21.1,20.4 41.9,25.7 39.8,16.4 -0.3,-1.4 1.8,-2.1 2,-3 2.7,-8.8 -10.5,-22 -25,-34.2 -12.3,-10.2 -12.5,-9.7 -15.4,-11.6 -0.4,-0.3 -1,-0.7 -1.2,-2 -0.2,-1.1 0.7,-2.2 0.8,-3.1 0.4,-3.2 -3.9,-5.5 -7.9,-7.6 -3.1,-1.6 -9.2,-3.5 -12.6,-0.8 -7.2,5.8 -1.6,21.3 1.6,19.6 0.6,-0.3 1.6,-1 2.4,-0.4 z" class="shadow" id="XMLID_884_" sodipodi:nodetypes="csccccccccccc"/><path d="m 235.7,408.5 c 0.8,0.6 0.8,2 0.8,2.1 0.1,2.7 6.8,16.4 20.3,28.1 10.1,8.8 29.6,21.2 36.2,15.6 1.2,-1 1.6,-2.3 1.9,-3.2 3,-9.8 -11.6,-22.4 -15.9,-26.2 -14,-12.2 -22.2,-19.3 -25.4,-21.3 -0.4,-0.3 -1.9,-1.2 -2.1,-2.7 -0.2,-1.2 0.4,-1.8 0.5,-2.7 0.4,-2.8 -4.3,-5.9 -7.6,-7.3 -2.6,-1.1 -8.3,-3.6 -12.2,-0.8 -6,4.4 -2.1,17.9 0.8,18.4 0.8,0.1 1.9,-0.7 2.7,0 z" class="skin penis" id="XMLID_885_" sodipodi:nodetypes="ccccccccccccc"/></svg>
|
MonsterMate/fc
|
src/art/vector_revamp/layers/Art_Vector_Revamp_Penis_3.svg
|
svg
|
mit
| 896
|
<svg viewBox="0 0 560 1000"><path d="m 218.8,395.4 c 1,0.6 1,2.4 1,2.7 0,5.1 9.7,22.6 18.6,31.2 26.7,25.9 53,32.5 50.4,20.7 -0.4,-1.8 2.2,-2.8 2.6,-3.8 3.5,-11.1 -13.2,-27.9 -31.6,-43.3 -15.5,-12.9 -15.8,-12.3 -19.4,-14.6 -0.5,-0.4 -1.3,-0.9 -1.6,-2.6 -0.3,-1.3 0.9,-2.8 1,-3.9 0.6,-4 -4.9,-7 -10,-9.6 -3.9,-2 -11.7,-4.4 -16,-1 -9.2,7.3 -2,27 2,24.8 0.8,-0.4 2,-1.3 3,-0.6 z" class="shadow" id="XMLID_882_" sodipodi:nodetypes="csccccccccccc"/><path d="m 218.6,395.4 c 1.1,0.7 1.1,2.5 1.1,2.8 0.1,3.5 8.8,21.1 25.9,36 12.9,11.2 37.9,27.2 46.4,20.1 1.5,-1.3 2,-3 2.4,-4.2 3.8,-12.5 -14.8,-28.7 -20.4,-33.6 -18,-15.6 -28.5,-24.7 -32.5,-27.4 -0.5,-0.4 -2.4,-1.5 -2.8,-3.5 -0.3,-1.5 0.5,-2.3 0.7,-3.5 0.4,-3.5 -5.4,-7.5 -9.7,-9.3 -3.3,-1.4 -10.7,-4.6 -15.6,-1.1 -7.7,5.6 -2.8,22.8 1.1,23.5 0.9,0.4 2.3,-0.6 3.4,0.2 z" class="skin penis" id="XMLID_883_" sodipodi:nodetypes="cccccccsccccc"/></svg>
|
MonsterMate/fc
|
src/art/vector_revamp/layers/Art_Vector_Revamp_Penis_4.svg
|
svg
|
mit
| 891
|
<svg viewBox="0 0 560 1000"><path d="m 202.1,382.1 c 1.2,0.8 1.2,2.9 1.2,3.2 0,6.2 11.8,27.5 22.6,38 32.5,31.5 64.6,39.6 61.4,25.2 -0.4,-2.2 2.7,-3.4 3.1,-4.7 4.2,-13.5 -16.1,-34 -38.6,-52.7 -18.8,-15.7 -19.3,-14.9 -23.6,-17.8 -0.6,-0.4 -1.6,-1.1 -1.9,-3.1 -0.3,-1.6 1.1,-3.5 1.2,-4.8 0.8,-4.9 -6,-8.6 -12.1,-11.7 -4.8,-2.4 -14.3,-5.3 -19.5,-1.2 -11.2,8.9 -2.4,32.9 2.5,30.2 1,-0.3 2.6,-1.4 3.7,-0.6 z" class="shadow" id="XMLID_880_" sodipodi:nodetypes="csccccccccccc"/><path d="m 201.9,382.1 c 1.3,0.9 1.3,3 1.3,3.4 0.1,4.2 10.7,25.7 31.6,43.9 15.7,13.6 46.1,33.1 56.5,24.5 1.8,-1.6 2.5,-3.7 2.9,-5.1 4.7,-15.3 -18.1,-35 -24.9,-40.9 -22,-19.1 -34.8,-30.1 -39.6,-33.4 -0.6,-0.4 -2.9,-1.8 -3.4,-4.2 -0.3,-1.8 0.6,-2.8 0.9,-4.2 0.5,-4.2 -6.6,-9.1 -11.8,-11.4 -4,-1.7 -13,-5.6 -19,-1.3 -9.4,6.8 -3.4,27.8 1.3,28.7 1.2,0.3 2.8,-0.9 4.2,0 z" class="skin penis" id="XMLID_881_" sodipodi:nodetypes="ccccccccccccc"/></svg>
|
MonsterMate/fc
|
src/art/vector_revamp/layers/Art_Vector_Revamp_Penis_5.svg
|
svg
|
mit
| 915
|
<svg viewBox="0 0 560 1000"><path d="m 183.2,369.4 c 1.4,0.9 1.4,3.5 1.4,3.9 0,7.5 14.3,33.3 27.4,46 39.3,38.2 78.2,48 74.4,30.6 -0.5,-2.6 3.3,-4.1 3.8,-5.6 5.1,-16.4 -19.5,-41.2 -46.7,-63.9 -22.8,-19 -23.3,-18.1 -28.6,-21.5 -0.8,-0.5 -2,-1.3 -2.4,-3.8 -0.4,-2 1.3,-4.2 1.4,-5.8 0.9,-5.9 -7.2,-10.4 -14.7,-14.2 -5.8,-2.9 -17.3,-6.4 -23.6,-1.4 -13.5,10.8 -2.9,39.9 3,36.6 1.3,-0.6 3.1,-1.9 4.6,-0.9 z" class="shadow" id="XMLID_878_" sodipodi:nodetypes="csccccccccccc"/><path d="m 182.9,369.4 c 1.6,1 1.6,3.7 1.6,4.1 0.1,5.1 13,31.1 38.3,53.1 19,16.5 55.9,40.1 68.5,29.6 2.2,-2 3,-4.5 3.5,-6.2 5.6,-18.5 -21.9,-42.4 -30.2,-49.6 -26.6,-23.1 -42.1,-36.5 -48,-40.4 -0.8,-0.5 -3.5,-2.2 -4.1,-5.1 -0.4,-2.2 0.8,-3.4 1,-5.1 0.7,-5.1 -8,-11 -14.3,-13.8 -4.9,-2.1 -15.7,-6.8 -23,-1.6 -11.4,8.3 -4.1,33.7 1.6,34.8 1.4,0.5 3.4,-1 5.1,0.2 z" class="skin penis" id="XMLID_879_" sodipodi:nodetypes="ccccccccccccc"/></svg>
|
MonsterMate/fc
|
src/art/vector_revamp/layers/Art_Vector_Revamp_Penis_6.svg
|
svg
|
mit
| 907
|
<svg viewBox="0 0 560 1000"><path d="m 290.07972,451.35547 c -5.26522,-8.42781 -6.8522,-25.02276 -6.40057,-24.40984 l -1.97847,0.0413 c -0.0968,0.0277 0.0996,15.01567 6.42775,24.67062 z" id="path4354" class="pubic_hair" sodipodi:nodetypes="ccccc"/></svg>
|
MonsterMate/fc
|
src/art/vector_revamp/layers/Art_Vector_Revamp_Pubic_Hair_Strip.svg
|
svg
|
mit
| 255
|
<svg viewBox="0 0 560 1000"><path style="fill:none;stroke:none" d="m 253.62239,430.50769 c 14.1376,12.59209 60.92413,9.84192 72.85898,-5.2246" id="path4363" sodipodi:nodetypes="cc"/><text xml:space="preserve" id="text4365" style="" x="40.117271" y="19.936554" transform="translate(-3.125,0.875)"><textPath xlink:href="#path4363" id="textPath4369" style="" data-transform="pussy_tattoo_text">placeholder</textPath></text></svg>
|
MonsterMate/fc
|
src/art/vector_revamp/layers/Art_Vector_Revamp_Pussy_Tattoo.svg
|
svg
|
mit
| 427
|
/* eslint-disable camelcase */
globalThis.RevampedVectorArt = function(slave) {
return App.Art.elementToMarkup(App.Art.revampedVectorArtElement(slave));
};
/**
* @param {App.Entity.SlaveState} slave
* @returns {{styleClass: string, styleCSS: string}} style parameters to pass on to the renderer, and CSS string
*/
App.Art.revampedVectorArtStyles = function(slave) {
const displayClass = App.Art.generateDisplayClass();
const styleControl = new ArtStyleControl(displayClass, slave);
const clothingControl = new ClothingControl();
const clothing = clothingControl.clothingForSlave(slave);
if (clothing && clothing.styleSettings) {
for (const attr in clothing.styleSettings) {
if (clothing.styleSettings.hasOwnProperty(attr)) {
Object.assign(styleControl[attr], clothing.styleSettings[attr]);
}
}
}
return {styleClass: displayClass, styleCSS: styleControl.StylesCss};
};
/**
* @param {App.Entity.SlaveState} slave
* @param {string} [displayClass]
* @returns {DocumentFragment}
*/
App.Art.revampedVectorArtElement = function(slave, displayClass) {
const res = document.createDocumentFragment();
if (!displayClass) {
const {styleClass, styleCSS} = App.Art.revampedVectorArtStyles(slave);
displayClass = styleClass;
const style = document.createElement("style");
style.innerHTML = styleCSS;
res.appendChild(style);
}
const revampedVectorArtControl = new RevampedArtControl(displayClass, slave, V.seeVectorArtHighlights, V.showBodyMods);
const layers = revampedVectorArtControl.Layers; // side effects are important, must fetch layers before getting transformRules (FIXME?)
const svgQueue = new App.Art.SvgQueue(revampedVectorArtControl.transformRules, App.Data.Art.VectorRevamp, displayClass);
layers.forEach((l) => svgQueue.add(l));
res.appendChild(svgQueue.output());
return res;
};
class ArtStyleEntry {
constructor(name) {
this.name = name;
}
toString() {
let keys = Object.keys(this);
let styleArray = [];
if (keys !== null && keys !== undefined) {
let styleObj = this;
keys.forEach(function(key) {
if (key !== "name") {
let value = styleObj[key];
styleArray.push(`${key}:${value}`);
}
});
let styleValue = `${styleArray.join(";")};`;
let cssDef = `{ ${styleValue} }`; // not sure if there should be padding here
if (this.name.length > 0) { cssDef = `.${this.name}${cssDef}`; }
return cssDef;
}
return "";
}
}
class ArtStyleControl {
constructor(artDisplayClass, artSlave) {
this.artDisplayClass = artDisplayClass;
this.artSlave = artSlave;
this.styles = [];
this.initDefaultValues();
this.applyMakeup();
this.applyCalcMuscleTone();
this.applyEyeLensStyle();
}
applyMakeup() {
let lipsColor = this.lips.fill;
let lipsOpacity = this.lips["fill-opacity"];
switch (this.artSlave.makeup) {
case 1:
// Nice
lipsColor = "#ff69b4";
lipsOpacity = 0.5;
break;
case 2:
// Gorgeous
lipsColor = "#8b008b";
lipsOpacity = 0.7;
break;
case 3:
// Hair coordinated
lipsColor = this.hair.fill;
lipsOpacity = 0.3;
break;
case 4:
// Slutty
lipsColor = "#ff0000";
lipsOpacity = 1;
break;
case 5:
// Neon
lipsColor = "#DC143C";
lipsOpacity = 1;
break;
case 6:
// Neon hair coordinated
lipsColor = this.hair.fill;
lipsOpacity = 1;
break;
case 7:
// Metallic
lipsColor = "#b22222";
lipsOpacity = 0.7;
break;
case 8:
// Metallic hair coordinated
lipsColor = this.hair.fill;
lipsOpacity = 0.7;
break;
default:
}
this.lips.fill = lipsColor;
this.lips["fill-opacity"] = lipsOpacity;
}
applyCalcMuscleTone() {
let musclesValue = this.artSlave.muscles + 101;
let musclesVisibility = 0.910239 * Math.log(0.02 * musclesValue);
this.muscleTone["fill-opacity"] = musclesVisibility;
}
applyEyeLensStyle() {
if (!hasAnyEyes(this.artSlave)) {
return;
}
let eyeLens = hasLeftEye(this.artSlave) ? getLeftEyePupil(this.artSlave) : getRightEyePupil(this.artSlave);
switch (eyeLens) {
case "demonic":
this.eyeball.fill = this.iris.fill;
break;
case "devilish":
this.eyeball.fill = "#010101";
}
}
/* currently unused, keeping for color reference
let skinPalette = [
["light", "#feebe5"],
["white", "#feebe5"],
["fair", "#feebe5"],
["lightened", "#feebe5"],
["extremely pale", "#fff8f8"],
["pale", "#f9ebf0"],
["tanned", "#e8b693"],
["natural", "#e8b693"],
["olive", "#a46237"],
["light olive", "#d4c6bb"],
["dark", "#a46237"],
["brown", "#845c44"],
["dark brown", "#845c44"],
["black", "#463a3a"],
["camouflage patterned", "#78875a"],
["dyed red", "#bc4949"],
["dyed green", "#A6C373"],
["dyed blue", "#5b8eb7"],
["dyed pink", "#fe62b0"],
["dyed gray", "#bdbdbd"],
["tiger striped", "#e2d75d"]
];
*/
initDefaultValues() {
let colorSlave = skinColorCatcher(this.artSlave);
this.white = new ArtStyleEntry("white");
this.white.fill = "#FFFFFF";
this.skin = new ArtStyleEntry("skin");
this.skin.fill = colorSlave.skinColor;
this.arm = new ArtStyleEntry("arm.skin");
this.arm.fill = this.skin.fill;
this.head = new ArtStyleEntry("head");
this.head.fill = this.skin.fill;
this.torso = new ArtStyleEntry("torso");
this.torso.fill = this.skin.fill;
this.boob = new ArtStyleEntry("boob");
this.boob.fill = this.skin.fill;
this.penis = new ArtStyleEntry("penis");
this.penis.fill = this.skin.fill;
this.scrotum = new ArtStyleEntry("scrotum");
this.scrotum.fill = this.skin.fill;
this.areola = new ArtStyleEntry("areola");
this.areola.fill = colorSlave.areolaColor;
this.labia = new ArtStyleEntry("labia");
this.labia.fill = colorSlave.labiaColor;
this.hair = new ArtStyleEntry("hair");
this.hair.fill = extractColor(this.artSlave.hColor);
this.shoe = new ArtStyleEntry("shoe");
this.shoe.fill = "#3E65B0";
this.smartPiercing = new ArtStyleEntry("smart_piercing");
this.smartPiercing.fill = "#4DB748";
this.steelPiercing = new ArtStyleEntry("steel_piercing");
this.steelPiercing.fill = "#c0c6c7";
this.steelChastity = new ArtStyleEntry("steel_chastity");
this.steelChastity.fill = "#c0c6c7";
this.labiaSkin = new ArtStyleEntry("labia.skin");
this.labiaSkin.fill = this.skin.fill;
this.outfitBase = new ArtStyleEntry("outfit_base");
this.outfitBase.fill = "#515351";
this.shadow = new ArtStyleEntry("shadow");
this.shadow.fill = "#010101";
this.muscleTone = new ArtStyleEntry("muscle_tone");
this.muscleTone.fill = "#010101";
this.muscleTone["fill-opacity"] = 1;
this.glasses = new ArtStyleEntry("glasses");
this.glasses.fill = "#010101";
this.lips = new ArtStyleEntry("lips");
this.lips.fill = colorSlave.lipsColor;
this.lips["fill-opacity"] = 0.6;
this.eyeball = new ArtStyleEntry("eyeball");
this.eyeball.fill = "#dfdfdf";
this.iris = new ArtStyleEntry("iris");
if (hasAnyEyes(this.artSlave)) {
this.iris.fill = extractColor(hasLeftEye(this.artSlave) ? getLeftEyeColor(this.artSlave) : getRightEyeColor(this.artSlave), 1);
} else {
this.iris.fill = extractColor("brown", 1);
}
this.highlight1 = new ArtStyleEntry("highlight1");
this.highlight1.fill = "#ffffff";
this.highlight1["fill-opacity"] = 0.9;
this.highlight1["mix-blend-mode"] = "soft-light";
this.highlight2 = new ArtStyleEntry("highlight2");
this.highlight2.fill = "#ffffff";
this.highlight2["fill-opacity"] = 0.9;
this.highlight2["mix-blend-mode"] = "soft-light";
this.highlightStrong = new ArtStyleEntry("highlightStrong");
this.highlightStrong.fill = "#ffffff";
this.armpitHair = new ArtStyleEntry("armpit_hair");
this.armpitHair.fill = extractColor(this.artSlave.underArmHColor);
this.pubicHair = new ArtStyleEntry("pubic_hair");
this.pubicHair.fill = extractColor(this.artSlave.pubicHColor);
this.bellyDetails = new ArtStyleEntry("belly_details");
this.bellyDetails["fill-opacity"] = 1;
this.bellySkin = new ArtStyleEntry("belly.skin");
this.bellySkin.fill = this.skin.fill;
this.bellyUpperSkin = new ArtStyleEntry("belly_upper.skin");
this.bellyUpperSkin.fill = this.skin.fill;
this.neckSkin = new ArtStyleEntry("neck.skin");
this.neckSkin.fill = this.skin.fill;
this.legsSkin = new ArtStyleEntry("legs.skin");
this.legsSkin.fill = this.skin.fill;
this.buttSkin = new ArtStyleEntry("butt.skin");
this.buttSkin.fill = this.skin.fill;
this.feetSkin = new ArtStyleEntry("feet.skin");
this.feetSkin.fill = this.skin.fill;
this.shadowBoobInnerLowerShadow = new ArtStyleEntry("shadow.boob_inner_lower_shadow");
this.shadowBoobInnerLowerShadow["fill-opacity"] = 1;
this.shadowBoobInnerUpperShadow = new ArtStyleEntry("shadow.boob_inner_upper_shadow");
this.shadowBoobInnerUpperShadow["fill-opacity"] = 1;
this.gag = new ArtStyleEntry("gag");
this.gag.fill = "#bf2126";
}
get StylesCss() {
let mainStyle = new ArtStyleEntry("");
mainStyle.position = "absolute";
mainStyle.height = "100%";
mainStyle["margin-left"] = "auto";
mainStyle["margin-right"] = "auto";
mainStyle.left = "0";
mainStyle.right = "0";
this.styles.push(this.white);
this.styles.push(this.arm);
this.styles.push(this.skin);
this.styles.push(this.head);
this.styles.push(this.torso);
this.styles.push(this.boob);
this.styles.push(this.penis);
this.styles.push(this.scrotum);
this.styles.push(this.areola);
this.styles.push(this.labia);
this.styles.push(this.hair);
this.styles.push(this.shoe);
this.styles.push(this.smartPiercing);
this.styles.push(this.steelPiercing);
this.styles.push(this.steelChastity);
this.styles.push(this.labiaSkin);
this.styles.push(this.outfitBase);
this.styles.push(this.shadow);
this.styles.push(this.muscleTone);
this.styles.push(this.glasses);
this.styles.push(this.lips);
this.styles.push(this.eyeball);
this.styles.push(this.iris);
this.styles.push(this.highlight1);
this.styles.push(this.highlight2);
this.styles.push(this.highlightStrong);
this.styles.push(this.armpitHair);
this.styles.push(this.pubicHair);
this.styles.push(this.bellyDetails);
this.styles.push(this.bellySkin);
this.styles.push(this.bellyUpperSkin);
this.styles.push(this.neckSkin);
this.styles.push(this.legsSkin);
this.styles.push(this.buttSkin);
this.styles.push(this.feetSkin);
this.styles.push(this.shadowBoobInnerLowerShadow);
this.styles.push(this.shadowBoobInnerUpperShadow);
this.styles.push(this.gag);
let stylesValues = [];
let artDisplayClass = this.artDisplayClass;
stylesValues.push(`.${artDisplayClass} ${mainStyle.toString()}`);
this.styles.forEach(function(style) {
stylesValues.push(`.${artDisplayClass} ${style.toString()}`);
});
return stylesValues.join(" ");
}
}
class ClothingControl {
/** @param {App.Entity.SlaveState} slave */
clothingForSlave(slave) {
if (slave.fuckdoll > 0) {
return this.fuckdoll;
}
let clothing = null;
switch (slave.clothes) {
case "a nice maid outfit":
clothing = this.niceMaid;
break;
case "a slutty maid outfit":
clothing = this.sluttyMaid;
break;
case "restrictive latex":
clothing = this.restrictiveLatex;
break;
case "a latex catsuit":
clothing = this.latexCatsuit;
break;
case "body oil":
clothing = this.bodyOil;
break;
case "a comfortable bodysuit":
clothing = this.bodysuit;
break;
case "a leotard":
/* clothing = this.leotard;*/
break;
}
return clothing;
}
get fuckdoll() {
let defaultOutfitColor = "#515351";
let areolaColor = "#383838";
return {
bodySettings: {
showEyes: false,
showPubic: false,
showArmHair: false,
showHair: false,
showLegHighlight: true,
showTorsoHighlight: true,
showBoobsHighlight: true,
showHeadHighlight: true
},
styleSettings: {
skin: {fill: defaultOutfitColor},
arm: {fill: defaultOutfitColor},
penis: {fill: defaultOutfitColor},
legsSkin: {fill: defaultOutfitColor},
feetSkin: {fill: defaultOutfitColor},
torso: {fill: defaultOutfitColor},
buttSkin: {fill: defaultOutfitColor},
head: {fill: defaultOutfitColor},
neckSkin: {fill: defaultOutfitColor},
boob: {fill: defaultOutfitColor},
areola: {fill: areolaColor},
labia: {fill: areolaColor},
bellySkin: {fill: defaultOutfitColor},
bellyUpperSkin: {fill: defaultOutfitColor},
shoe: {fill: defaultOutfitColor},
labiaSkin: {fill: defaultOutfitColor},
lips: {fill: areolaColor}
}
};
}
get niceMaid() {
return {
bodySettings: {
showPubic: false,
showBoobs: false,
showNipples: false,
showPenis: false,
showBalls: false,
showBellyPiercings: false,
showNipplesPiercings: false
},
styleSettings: {
bellySkin: {fill: "#FFFFFF"},
bellyUpperSkin: {fill: "#FFFFFF"},
bellyDetails: {"fill-opacity": 0}
}
};
}
get sluttyMaid() {
return {
bodySettings: {
showBellyPiercings: false
},
styleSettings: {
bellySkin: {fill: "#FFFFFF"},
bellyDetails: {"fill-opacity": 0}
}
};
}
get restrictiveLatex() {
let defaultOutfitColor = "#515351";
let areolaColor = "#383838"; // FIXME: unused variable
return {
bodySettings: {
showEyes: false,
showPubic: false,
showArmHair: false,
showHair: false,
showLegHighlight: true,
showTorsoHighlight: true,
showBoobsHighlight: true,
showHeadHighlight: true,
showHeadPiercings: false,
showBellyPiercings: false
},
styleSettings: {
skin: {fill: defaultOutfitColor},
arm: {fill: defaultOutfitColor},
legsSkin: {fill: defaultOutfitColor},
feetSkin: {fill: defaultOutfitColor},
torso: {fill: defaultOutfitColor},
buttSkin: {fill: defaultOutfitColor},
head: {fill: defaultOutfitColor},
neckSkin: {fill: defaultOutfitColor},
bellySkin: {fill: defaultOutfitColor},
bellyUpperSkin: {fill: defaultOutfitColor},
shoe: {fill: defaultOutfitColor}
}
};
}
get latexCatsuit() {
let defaultOutfitColor = "#515351";
let areolaColor = "#383838";
return {
bodySettings: {
showPubic: false,
showArmHair: false,
showLegHighlight: true,
showTorsoHighlight: true,
showBoobsHighlight: true,
showHeadHighlight: true,
showPussyPiercings: false,
showPenisPiercings: false,
showBellyPiercings: false,
showNipplesPiercings: false
},
styleSettings: {
skin: {fill: defaultOutfitColor},
scrotum: {fill: defaultOutfitColor},
arm: {fill: defaultOutfitColor},
penis: {fill: defaultOutfitColor},
legsSkin: {fill: defaultOutfitColor},
feetSkin: {fill: defaultOutfitColor},
torso: {fill: defaultOutfitColor},
buttSkin: {fill: defaultOutfitColor},
neckSkin: {fill: defaultOutfitColor},
boob: {fill: defaultOutfitColor},
areola: {fill: areolaColor},
labia: {fill: areolaColor},
bellySkin: {fill: defaultOutfitColor},
bellyUpperSkin: {fill: defaultOutfitColor},
shoe: {fill: defaultOutfitColor},
labiaSkin: {fill: defaultOutfitColor}
}
};
}
get bodyOil() {
return {
bodySettings: {
showLegHighlight: true,
showTorsoHighlight: true,
showBoobsHighlight: true,
showHeadHighlight: true,
},
styleSettings: {
}
};
}
get bodysuit() {
let defaultOutfitColor = "#162d50";
return {
bodySettings: {
showPubic: false,
showArmHair: false,
showPussy: false,
showPussyPiercings: false,
showPenisPiercings: false,
showBellyPiercings: false,
showNipplesPiercings: false
},
styleSettings: {
skin: {fill: defaultOutfitColor},
scrotum: {fill: defaultOutfitColor},
arm: {fill: defaultOutfitColor},
penis: {fill: defaultOutfitColor},
legsSkin: {fill: defaultOutfitColor},
feetSkin: {fill: defaultOutfitColor},
torso: {fill: defaultOutfitColor},
buttSkin: {fill: defaultOutfitColor},
boob: {fill: defaultOutfitColor},
areola: {fill: defaultOutfitColor},
bellySkin: {fill: defaultOutfitColor},
bellyUpperSkin: {fill: defaultOutfitColor},
shoe: {fill: defaultOutfitColor},
muscleTone: {"fill-opacity": 0},
bellyDetails: {"fill-opacity": 0}
}
};
}
get leotard() {
let defaultOutfitColor = "#d35f8d";
return {
bodySettings: {
showPubic: false,
showArmHair: false,
showPussy: false,
showPussyPiercings: false,
showPenisPiercings: false,
showBellyPiercings: false,
showNipplesPiercings: false,
showNipples: false
},
styleSettings: {
skin: {fill: defaultOutfitColor},
scrotum: {fill: defaultOutfitColor},
penis: {fill: defaultOutfitColor},
torso: {fill: defaultOutfitColor},
boob: {fill: defaultOutfitColor},
areola: {fill: defaultOutfitColor},
bellySkin: {fill: defaultOutfitColor},
bellyUpperSkin: {fill: defaultOutfitColor},
muscleTone: {"fill-opacity": 0},
bellyDetails: {"fill-opacity": 0}
}
};
}
}
class RevampedArtControl {
constructor(artDisplayClass, artSlave, globalShowHighlights, globalShowBodyMods) {
this.artDisplayClass = artDisplayClass;
this.artSlave = artSlave;
this.boobRightArtTransform = "";
this.boobLeftArtTransform = "";
this.boobOutfitArtTransform = "";
this.showArmHair = true;
this.showHair = true;
this.showPussy = true;
this.showPubic = true;
this.showChastityVaginal = true;
this.showChastityAnal = true;
this.showBalls = true;
this.showPenis = true;
this.showNipples = true;
this.showBoobs = true;
this.showEyes = true;
this.showMouth = true;
this.leftArmType = this.getLeftArmPosition;
this.rightArmType = this.getRightArmPosition;
this.hairLength = this.getHairLength;
this.torsoSize = this.getTorsoSize;
this.bellyLevel = this.getBellyLevel;
this.showLegHighlight = false;
this.showTorsoHighlight = false;
this.showBoobsHighlight = false;
this.showHeadHighlight = false;
this.showPussyPiercings = true;
this.showBellyPiercings = true;
this.showPenisPiercings = true;
this.showNipplesPiercings = true;
this.showHeadPiercings = true;
this.pubicTattooText = "";
const clothingControl = new ClothingControl();
const clothing = clothingControl.clothingForSlave(this.artSlave);
if (clothing && clothing.bodySettings) {
Object.assign(this, clothing.bodySettings);
}
if (!globalShowHighlights) {
this.showLegHighlight = false;
this.showTorsoHighlight = false;
this.showBoobsHighlight = false;
this.showHeadHighlight = false;
}
if (!globalShowBodyMods) {
this.showPussyPiercings = false;
this.showBellyPiercings = false;
this.showPenisPiercings = false;
this.showNipplesPiercings = false;
this.showHeadPiercings = false;
}
}
get getHairLength() {
let result = "Short";
if (this.artSlave.hLength >= 80) {
result = "Long";
} else if (this.artSlave.hLength >= 40) {
result = "Medium";
} else {
result = "Short";
}
return result;
}
get getTorsoSize() {
let torsoSize = "Normal";
if (this.artSlave.waist < -40) {
torsoSize = this.artSlave.weight > 30 ? "Hourglass" : "Unnatural";
} else if (this.artSlave.waist <= 10) {
torsoSize = this.artSlave.weight > 30 ? "Normal" : "Hourglass";
} else {
torsoSize = "Normal";
}
return torsoSize;
}
get getLeftArmPosition() {
let leftArmType = "Low";
if (this.artSlave.devotion > 50) {
leftArmType = "High";
} else if (this.artSlave.trust >= -20) {
if (this.artSlave.devotion <= 20) {
leftArmType = "Low";
} else {
leftArmType = "Mid";
}
} else {
leftArmType = "Mid";
}
if (!hasLeftArm(this.artSlave)) {
leftArmType= "";
}
return leftArmType;
}
get getRightArmPosition() {
let rightArmType = "Low";
if (this.artSlave.devotion > 50) {
rightArmType = "High";
} else if (this.artSlave.trust >= -20) {
if (this.artSlave.devotion <= 20) {
rightArmType = "Low";
} else {
rightArmType = "High";
}
} else {
rightArmType = "Mid";
}
if (!hasRightArm(this.artSlave)) {
rightArmType= "";
}
return rightArmType;
}
get getBellyLevel() {
let bellyLevel = 0;
if (this.artSlave.belly >= 120000) {
bellyLevel = 9;
} else if (this.artSlave.belly >= 90000) {
bellyLevel = 8;
} else if (this.artSlave.belly >= 50000) {
bellyLevel = 7;
} else if (this.artSlave.belly >= 30000) {
bellyLevel = 6;
} else if (this.artSlave.belly >= 15000) {
bellyLevel = 5;
} else if (this.artSlave.belly >= 10000) {
bellyLevel = 4;
} else if (this.artSlave.belly >= 5000) {
bellyLevel = 3;
} else if (this.artSlave.belly >= 1500) {
bellyLevel = 2;
} else if (this.artSlave.belly >= 500) {
bellyLevel = 1;
} else {
bellyLevel = 0;
}
return bellyLevel;
}
get hairBackLayer() {
let result = [];
if (!this.showHair) {
return result;
}
if (this.artSlave.hLength === 0) {
return result;
}
switch (this.artSlave.hStyle) {
case "neat":
result.push(`Art_Vector_Revamp_Hair_Back_Neat_${this.hairLength}`);
break;
case "bun":
case "up":
result.push(`Art_Vector_Revamp_Hair_Back_Bun_${this.hairLength}`);
break;
case "tails":
result.push(`Art_Vector_Revamp_Hair_Back_Tails_${this.hairLength}`);
break;
case "ponytail":
result.push(`Art_Vector_Revamp_Hair_Back_Ponytail_${this.hairLength}`);
break;
case "braided":
result.push(`Art_Vector_Revamp_Hair_Back_Braids_${this.hairLength}`);
break;
case "curled":
result.push(`Art_Vector_Revamp_Hair_Back_Curled_${this.hairLength}`);
break;
case "cornrows":
result.push(`Art_Vector_Revamp_Hair_Back_Cornrows_${this.hairLength}`);
break;
case "strip":
result.push(`Art_Vector_Revamp_Hair_Back_Shaved_Sides_${this.hairLength}`);
break;
case "luxurious":
result.push(`Art_Vector_Revamp_Hair_Back_Luxurious_${this.hairLength}`);
break;
case "afro":
result.push(`Art_Vector_Revamp_Hair_Back_Afro_${this.hairLength}`);
break;
case "permed":
result.push(`Art_Vector_Revamp_Hair_Back_Permed_${this.hairLength}`);
break;
case "dreadlocks":
result.push(`Art_Vector_Revamp_Hair_Back_Dreadlocks_${this.hairLength}`);
break;
default:
result.push(`Art_Vector_Revamp_Hair_Back_Messy_${this.hairLength}`);
}
return result;
}
get armLayer() {
let result = [];
if (!hasAnyArms(this.artSlave)) {
result.push("Art_Vector_Revamp_Arm_Stump");
} else {
if (hasLeftArm(this.artSlave)) {
result.push(`Art_Vector_Revamp_Arm_Left_${this.leftArmType}`);
}
if (hasRightArm(this.artSlave)) {
result.push(`Art_Vector_Revamp_Arm_Right_${this.rightArmType}`);
}
}
if (this.showArmHair && (!hasAnyArms(this.artSlave) || (this.leftArmType === "High"))) {
switch (this.artSlave.underArmHStyle) {
case "bushy":
result.push("Art_Vector_Revamp_Arm_Up_Hair_Bushy");
break;
case "neat":
result.push("Art_Vector_Revamp_Arm_Up_Hair_Neat");
break;
default:
}
}
return result;
}
get buttLayer() {
let result = [];
let buttSize = 0;
if (!hasAnyLegs(this.artSlave)) {
return result;
}
if (this.artSlave.butt > 6) {
buttSize = 3;
} else if (this.artSlave.butt > 4) {
buttSize = 2;
} else if (this.artSlave.butt > 2) {
buttSize = 1;
} else {
buttSize = 0;
}
result.push(`Art_Vector_Revamp_Butt_${buttSize}`);
return result;
}
get legLayer() {
let result = [];
if (!hasAnyLegs(this.artSlave)) {
result.push("Art_Vector_Revamp_Stump");
} else {
let legSize = "Normal";
if (this.artSlave.hips < 0) {
legSize = this.artSlave.weight > 95 ? "Normal" : "Narrow";
} else if (this.artSlave.hips === 0) {
legSize = this.artSlave.weight > 95 ? "Wide" : "Normal";
} else if (this.artSlave.hips > 0) {
legSize = "Wide";
}
result.push(`Art_Vector_Revamp_Leg_${legSize}`);
if (this.showLegHighlight) {
result.push("Art_Vector_Revamp_Leg_Highlights2");
result.push("Art_Vector_Revamp_Leg_Highlights1");
}
}
return result;
}
get feetLayer() {
let result = [];
if (!hasAnyLegs(this.artSlave)) {
return result;
}
switch (this.artSlave.shoes) {
case "heels":
result.push("Art_Vector_Revamp_Shoes_Heel");
break;
case "extreme heels":
result.push("Art_Vector_Revamp_Shoes_Exterme_Heel");
break;
case "boots":
result.push("Art_Vector_Revamp_Shoes_Boot");
break;
case "flats":
result.push("Art_Vector_Revamp_Shoes_Flat");
break;
default:
result.push("Art_Vector_Revamp_Feet");
}
return result;
}
get torsoLayer() {
let result = [];
result.push(`Art_Vector_Revamp_Torso_${this.torsoSize}`);
result.push("Art_Vector_Revamp_Clavicle");
if (this.showTorsoHighlight) {
result.push("Art_Vector_Revamp_Torso_Highlights2");
result.push("Art_Vector_Revamp_Torso_Highlights1");
}
if (this.showArmHair && this.leftArmType !== "High" && hasAnyArms(this.artSlave)) {
switch (this.artSlave.underArmHStyle) {
case "bushy":
result.push("Art_Vector_Revamp_Arm_Down_Hair_Bushy");
break;
case "neat":
result.push("Art_Vector_Revamp_Arm_Down_Hair_Neat");
break;
default:
}
}
return result;
}
get pussyLayer() {
let result = [];
if (this.showPussy && this.artSlave.vagina >= 0) {
result.push("Art_Vector_Revamp_Pussy");
}
return result;
}
get pubicLayer() {
let result = [];
if (!this.showPubic) {
return result;
}
if (this.artSlave.physicalAge < 12) {
return result;
}
if (this.artSlave.vaginaTat === "rude words") {
this.pubicTattooText = this.artSlave.dick !== 0 ? "Useless" : "Fucktoy";
result.push("Art_Vector_Revamp_Pussy_Tattoo");
}
switch (this.artSlave.pubicHStyle) {
case "strip":
case "in a strip":
result.push("Art_Vector_Revamp_Pubic_Hair_Strip");
break;
case "bushy":
case "bushy in the front and neat in the rear":
case "very bushy":
result.push("Art_Vector_Revamp_Pubic_Hair_Bush");
break;
case "neat":
result.push("Art_Vector_Revamp_Pubic_Hair_Neat");
break;
case "waxed":
break;
default:
}
return result;
}
get pussyPiercingsLayer() {
let result = [];
if (!this.showPussyPiercings) {
return result;
}
if (this.artSlave.vaginaPiercing === 1) {
result.push("Art_Vector_Revamp_Pussy_Piercing");
} else if (this.artSlave.vaginaPiercing === 2) {
result.push("Art_Vector_Revamp_Pussy_Piercing_Heavy");
}
if (this.artSlave.clitPiercing === 1) {
result.push("Art_Vector_Revamp_Clit_Piercing");
} else if (this.artSlave.clitPiercing === 2) {
result.push("Art_Vector_Revamp_Clit_Piercing_Heavy");
} else if (this.artSlave.clitPiercing === 3) {
result.push("Art_Vector_Revamp_Clit_Piercing_Smart");
}
return result;
}
get chastityBeltLayer() {
let result = [];
let isChastityAnalWorn = this.artSlave.chastityAnus === 1;
isChastityAnalWorn = isChastityAnalWorn && this.showChastityAnal;
let isChastityVaginalWorn = this.artSlave.chastityVagina === 1;
isChastityVaginalWorn = isChastityVaginalWorn && this.showChastityVaginal;
if (isChastityAnalWorn) {
result.push("Art_Vector_Revamp_Chastity_Anus");
}
if (isChastityVaginalWorn) {
result.push("Art_Vector_Revamp_Chastity_Vagina");
}
if (isChastityAnalWorn || isChastityVaginalWorn) {
result.push("Art_Vector_Revamp_Chastity_Base");
}
return result;
}
get torsoOutfitLayer() {
let result = [];
switch (this.artSlave.clothes) {
case "uncomfortable straps":
result.push(`Art_Vector_Revamp_Torso_Outfit_Straps_${this.torsoSize}`);
break;
case "a nice maid outfit":
result.push(`Art_Vector_Revamp_Torso_Outfit_Maid_${this.torsoSize}`);
break;
case "a slutty maid outfit":
result.push(`Art_Vector_Revamp_Torso_Outfit_Maid_Lewd_${this.torsoSize}`);
break;
default:
}
return result;
}
get ballsLayer() {
let result = [];
if (!this.showBalls || this.artSlave.scrotum <= 0 || this.artSlave.balls <= 0) {
return result;
}
let ballsSize = 0;
if (this.artSlave.scrotum >= 6) {
ballsSize = 4;
} else if (this.artSlave.scrotum >= 4) {
ballsSize = 3;
} else if (this.artSlave.scrotum >= 3) {
ballsSize = 2;
} else if (this.artSlave.scrotum >= 2) {
ballsSize = 1;
} else {
ballsSize = 0;
}
result.push(`Art_Vector_Revamp_Balls_${ballsSize}`);
return result;
}
get bellyLayer() {
let result = [];
if (this.bellyLevel > 0) {
result.push(`Art_Vector_Revamp_Belly_${this.bellyLevel}`);
if (this.showBellyPiercings) {
if (this.artSlave.navelPiercing >= 1) {
result.push(`Art_Vector_Revamp_Belly_${this.bellyLevel}_Piercing`);
}
if (this.artSlave.navelPiercing === 2) {
result.push(`Art_Vector_Revamp_Belly_${this.bellyLevel}_Piercing_Heavy`);
}
}
} else {
if (this.showBellyPiercings) {
if (this.artSlave.navelPiercing >= 1) {
result.push("Art_Vector_Revamp_Navel_Piercing");
}
if (this.artSlave.navelPiercing === 2) {
result.push("Art_Vector_Revamp_Navel_Piercing_Heavy");
}
}
}
return result;
}
get penisLayer() {
let result = [];
if (this.getBellyLevel >= 8) {
return result;
}
let penisSize = -1;
if (this.artSlave.dick >= 8) {
penisSize = 6;
} else if (this.artSlave.dick >= 7) {
penisSize = 5;
} else if (this.artSlave.dick >= 6) {
penisSize = 4;
} else if (this.artSlave.dick >= 5) {
penisSize = 3;
} else if (this.artSlave.dick >= 4) {
penisSize = 2;
} else if (this.artSlave.dick >= 2) {
penisSize = 1;
} else if (this.artSlave.dick >= 1) {
penisSize = 0;
} else {
penisSize = -1;
}
if (!this.showPenis || penisSize < 0) {
return result;
}
if (canAchieveErection(this.artSlave) && (this.artSlave.chastityPenis !== 1)) {
result.push(`Art_Vector_Revamp_Penis_${penisSize}`);
if (!this.showPenisPiercings) {
return result;
}
if (this.artSlave.dickPiercing === 1) {
result.push(`Art_Vector_Revamp_Penis_${penisSize}_Piercing`);
} else if (this.artSlave.dickPiercing === 2) {
result.push(`Art_Vector_Revamp_Penis_${penisSize}_Piercing_Heavy`);
}
} else {
result.push(`Art_Vector_Revamp_Flaccid_${penisSize}`);
if (this.artSlave.chastityPenis === 1) {
result.push(`Art_Vector_Revamp_Chastity_Cage_${penisSize}`);
}
}
return result;
}
get boobLayer() {
let result = [];
let areolaeShape = "Normal";
switch (this.artSlave.areolae) {
case 0:
areolaeShape = "Normal";
break;
case 1:
areolaeShape = "Large";
break;
case 2:
areolaeShape = "Wide";
break;
case 3:
areolaeShape = "Huge";
break;
default:
}
switch (this.artSlave.areolaeShape) {
case "heart":
areolaeShape = "Heart";
break;
case "star":
areolaeShape = "Star";
break;
default:
}
if (this.artSlave.boobs < 300) {
if (this.showNipples) {
result.push(`Art_Vector_Revamp_Boob_None_Areola_${areolaeShape}`);
}
} else {
if (!this.showBoobs) {
return result;
}
let artScaleFactor = 0.804354 * Math.log(0.00577801 * this.artSlave.boobs);
let boobRightArtTranslationX = 270 * ((-1 * artScaleFactor) + 1);
let boobLeftArtTranslationX = 320 * ((-1 * artScaleFactor) + 1);
let artTranslationY = 198 * ((-1 * artScaleFactor) + 1);
let size = "Small";
if (this.artSlave.boobs < 600) {
artScaleFactor = 0.360674 * Math.log(0.0266667 * this.artSlave.boobs);
boobRightArtTranslationX = 240 * ((-1 * artScaleFactor) + 1);
boobLeftArtTranslationX = 300 * ((-1 * artScaleFactor) + 1);
artTranslationY = 250 * ((-1 * artScaleFactor) + 1);
size = "Small";
} else if (this.artSlave.boobs < 15000) {
size = "Medium";
} else {
size = "Huge";
boobRightArtTranslationX = 252 * ((-1 * artScaleFactor) + 1);
boobLeftArtTranslationX = 315 * ((-1 * artScaleFactor) + 1);
}
this.boobRightArtTransform = `matrix(${artScaleFactor},0,0,${artScaleFactor},${boobRightArtTranslationX},${artTranslationY})`;
this.boobLeftArtTransform = `matrix(${artScaleFactor},0,0,${artScaleFactor},${boobLeftArtTranslationX},${artTranslationY})`;
result.push(`Art_Vector_Revamp_Boob_${size}`);
if (this.showNipples) {
result.push(`Art_Vector_Revamp_Boob_${size}_Areolae_${areolaeShape}`);
result.push(`Art_Vector_Revamp_Boob_${size}_Nipples`);
}
if (this.showBoobsHighlight) {
result.push(`Art_Vector_Revamp_Boob_${size}_Highlights2`);
result.push(`Art_Vector_Revamp_Boob_${size}_Highlights1`);
}
}
return result;
}
get boobAddonLayer() {
let result = [];
if (this.showNipplesPiercings) {
let size = "Small";
if (this.artSlave.boobs < 300) {
size = "None";
} else if (this.artSlave.boobs < 600) {
size = "Small";
} else if (this.artSlave.boobs < 15000) {
size = "Medium";
} else {
size = "Huge";
}
if (this.artSlave.nipplesPiercing === 1) {
result.push(`Art_Vector_Revamp_Boob_${size}_Piercing`);
} else if (this.artSlave.nipplesPiercing === 2) {
result.push(`Art_Vector_Revamp_Boob_${size}_Piercing_Heavy`);
}
if (this.artSlave.areolaePiercing === 1) {
result.push(`Art_Vector_Revamp_Boob_${size}_Areola_Piercing`);
} else if (this.artSlave.areolaePiercing === 2) {
result.push(`Art_Vector_Revamp_Boob_${size}_Areola_Piercing_Heavy`);
}
}
switch (this.artSlave.clothes) {
case "uncomfortable straps":
// if (this.artSlave.boobs >= 300)
// result.push("Art_Vector_Revamp_Boob_Outfit_Straps");
break;
case "a nice maid outfit":
if (this.artSlave.boobs >= 300) {
if (this.artSlave.boobs < 600) {
let artScaleFactor = 0.288539 * Math.log(0.106667 * this.artSlave.boobs);
let artTranslationX = 270 * ((-1 * artScaleFactor) + 1);
let artTranslationY = 198 * ((-1 * artScaleFactor) + 1); // -198.438*artScaleFactor+203.274;
let artBoobTransform = `matrix(${artScaleFactor},0,0,${artScaleFactor},${artTranslationX},${artTranslationY})`;
this.boobOutfitArtTransform = artBoobTransform;
result.push("Art_Vector_Revamp_Boob_Small_Outfit_Maid");
} else if (this.artSlave.boobs < 15000) {
let artScaleFactor = 0.155334 * Math.log(1.04167 * this.artSlave.boobs);
let artTranslationX = 270 * ((-1.25 * artScaleFactor) + 1.25);
let artTranslationY = 198 * ((-0.8 * artScaleFactor) + 0.8); // -198.438*artScaleFactor+203.274;
let artBoobTransform = `matrix(${artScaleFactor},0,0,${artScaleFactor},${artTranslationX},${artTranslationY})`;
this.boobOutfitArtTransform = artBoobTransform;
result.push("Art_Vector_Revamp_Boob_Medium_Outfit_Maid");
} else {
let artScaleFactor = 1.56609 * Math.log(0.00017373 * this.artSlave.boobs);
let artTranslationX = 340 * ((-1 * artScaleFactor) + 1);
let artTranslationY = 153 * ((-1 * artScaleFactor) + 1); // -198.438*artScaleFactor+203.274;
let artBoobTransform = `matrix(${artScaleFactor},0,0,${artScaleFactor},${artTranslationX},${artTranslationY})`;
this.boobOutfitArtTransform = artBoobTransform;
result.push("Art_Vector_Revamp_Boob_Huge_Outfit_Maid");
}
}
break;
default:
}
return result;
}
get clavicleLayer() {
let result = [];
result.push("Art_Vector_Revamp_Clavicle");
return result;
}
get collarLayer() {
let result = [];
switch (this.artSlave.collar) {
case "leather with cowbell":
result.push("Art_Vector_Revamp_Collar_Cowbell");
break;
case "heavy gold":
result.push("Art_Vector_Revamp_Collar_Gold_Heavy");
break;
case "neck corset":
result.push("Art_Vector_Revamp_Collar_Neck_Corset");
break;
case "pretty jewelry":
result.push("Art_Vector_Revamp_Collar_Pretty_Jewelry");
break;
case "cruel retirement counter":
result.push("Art_Vector_Revamp_Collar_Retirement_Cruel");
break;
case "nice retirement counter":
result.push("Art_Vector_Revamp_Collar_Retirement_Nice");
break;
case "satin choker":
result.push("Art_Vector_Revamp_Collar_Satin_Choker");
break;
case "shock punishment":
result.push("Art_Vector_Revamp_Collar_Shock_Punishment");
break;
case "stylish leather":
result.push("Art_Vector_Revamp_Collar_Stylish_Leather");
break;
case "tight steel":
result.push("Art_Vector_Revamp_Collar_Tight_Steel");
break;
default:
}
return result;
}
get headLayer() {
let result = [];
result.push("Art_Vector_Revamp_Head");
if (this.showHeadHighlight) {
result.push("Art_Vector_Revamp_Face_Highlights");
}
if (!this.showHeadPiercings) {
return result;
}
if (this.artSlave.earPiercing === 1) {
result.push("Art_Vector_Revamp_Head_Ear_Piercing");
} else if (this.artSlave.earPiercing === 2) {
result.push("Art_Vector_Revamp_Head_Ear_Piercing_Heavy");
}
if (this.artSlave.nosePiercing === 1) {
result.push("Art_Vector_Revamp_Head_Nose_Piercing");
} else if (this.artSlave.nosePiercing === 2) {
result.push("Art_Vector_Revamp_Head_Nose_Piercing_Heavy");
}
return result;
}
get eyesLayer() {
let result = [];
if (!this.showEyes) {
return result;
}
if (this.artSlave.devotion > 50) {
result.push("Art_Vector_Revamp_Eyes_Happy");
result.push("Art_Vector_Revamp_Eyes_Happy_Highlights");
if (this.showHeadPiercings) {
if (this.artSlave.eyebrowPiercing === 1) {
result.push("Art_Vector_Revamp_Head_Eyebrow_Happy_Piercing");
} else if (this.artSlave.eyebrowPiercing === 2) {
result.push("Art_Vector_Revamp_Head_Eyebrow_Happy_Piercing_Heavy");
}
}
} else if (this.artSlave.devotion >= 0) {
result.push("Art_Vector_Revamp_Eyes_Shy");
result.push("Art_Vector_Revamp_Eyes_Shy_Highlights");
if (this.showHeadPiercings) {
if (this.artSlave.eyebrowPiercing === 1) {
result.push("Art_Vector_Revamp_Head_Eyebrow_Shy_Piercing");
} else if (this.artSlave.eyebrowPiercing === 2) {
result.push("Art_Vector_Revamp_Head_Eyebrow_Shy_Piercing_Heavy");
}
}
} else if (this.artSlave.devotion >= -50) {
result.push("Art_Vector_Revamp_Eyes_Closed");
if (this.showHeadPiercings) {
if (this.artSlave.eyebrowPiercing === 1) {
result.push("Art_Vector_Revamp_Head_Eyebrow_Closed_Piercing");
} else if (this.artSlave.eyebrowPiercing === 2) {
result.push("Art_Vector_Revamp_Head_Eyebrow_Closed_Piercing_Heavy");
}
}
} else {
result.push("Art_Vector_Revamp_Eyes_Angry");
result.push("Art_Vector_Revamp_Eyes_Angry_Highlights");
if (this.showHeadPiercings) {
if (this.artSlave.eyebrowPiercing === 1) {
result.push("Art_Vector_Revamp_Head_Eyebrow_Angry_Piercing");
} else if (this.artSlave.eyebrowPiercing === 2) {
result.push("Art_Vector_Revamp_Head_Eyebrow_Angry_Piercing_Heavy");
}
}
}
return result;
}
get mouthLayer() {
let result = [];
let lipsSize = "Normal";
if (!this.showMouth) {
return result;
}
if (this.artSlave.lips > 95) {
lipsSize = "Enormous";
} else if (this.artSlave.lips > 70) {
lipsSize = "Huge";
} else if (this.artSlave.lips > 50) {
lipsSize = "Big";
} else if (this.artSlave.lips > 30) {
lipsSize = "Plush";
} else if (this.artSlave.lips > 10) {
lipsSize = "Normal";
} else {
lipsSize = "Thin";
}
if (this.artSlave.trust > 20) {
result.push(`Art_Vector_Revamp_Makeup_Mouth_Happy_${lipsSize}`);
result.push(`Art_Vector_Revamp_Mouth_Happy_${lipsSize}`);
if (this.showHeadPiercings) {
if (this.artSlave.lipsPiercing === 1) {
result.push("Art_Vector_Revamp_Head_Mouth_Happy_Piercing");
} else if (this.artSlave.lipsPiercing === 2) {
result.push("Art_Vector_Revamp_Head_Mouth_Happy_Piercing_Heavy");
}
}
} else {
result.push(`Art_Vector_Revamp_Makeup_Mouth_Angry_${lipsSize}`);
result.push(`Art_Vector_Revamp_Mouth_Angry_${lipsSize}`);
if (this.showHeadPiercings) {
if (this.artSlave.lipsPiercing === 1) {
result.push("Art_Vector_Revamp_Head_Mouth_Angry_Piercing");
} else if (this.artSlave.lipsPiercing === 2) {
result.push("Art_Vector_Revamp_Head_Mouth_Angry_Piercing_Heavy");
}
}
}
return result;
}
get headAddonLayer() {
let result = [];
if (this.showEyes) {
switch (this.artSlave.eyewear) {
case "corrective glasses":
case "glasses":
case "blurring glasses":
result.push("Art_Vector_Revamp_Glasses");
break;
default:
}
}
if (this.showMouth) {
switch (this.artSlave.mouthAccessory) {
case "dildo gag":
result.push("Art_Vector_Revamp_Dildo_Gag");
break;
case "bit gag":
result.push("Art_Vector_Revamp_Bit_Gag");
break;
case "ball gag":
result.push("Art_Vector_Revamp_Ball_Gag");
break;
default:
}
}
return result;
}
get hairForeLayer() {
let result = [];
if (!this.showHair) {
return result;
}
if (this.artSlave.hLength === 0) {
return result;
}
switch (this.artSlave.hStyle) {
case "neat":
result.push("Art_Vector_Revamp_Hair_Fore_Neat");
break;
case "bun":
case "up":
case "tails":
case "ponytail":
result.push("Art_Vector_Revamp_Hair_Fore_Bun");
break;
case "braided":
result.push("Art_Vector_Revamp_Hair_Fore_Braids");
break;
case "curled":
result.push("Art_Vector_Revamp_Hair_Fore_Curled");
break;
case "cornrows":
result.push("Art_Vector_Revamp_Hair_Fore_Cornrows");
break;
case "strip":
result.push("Art_Vector_Revamp_Hair_Fore_Shaved_Sides");
break;
case "luxurious":
result.push("Art_Vector_Revamp_Hair_Fore_Luxurious");
break;
case "afro":
result.push("Art_Vector_Revamp_Hair_Fore_Afro");
break;
case "permed":
result.push("Art_Vector_Revamp_Hair_Fore_Permed");
break;
case "dreadlocks":
result.push("Art_Vector_Revamp_Hair_Fore_Dreadlocks");
break;
default:
result.push("Art_Vector_Revamp_Hair_Fore_Messy");
}
return result;
}
get Layers() {
let layers = [];
Array.prototype.push.apply(layers, this.hairBackLayer);
Array.prototype.push.apply(layers, this.armLayer);
Array.prototype.push.apply(layers, this.buttLayer);
Array.prototype.push.apply(layers, this.legLayer);
Array.prototype.push.apply(layers, this.feetLayer);
Array.prototype.push.apply(layers, this.torsoLayer);
Array.prototype.push.apply(layers, this.clavicleLayer);
Array.prototype.push.apply(layers, this.pussyLayer);
Array.prototype.push.apply(layers, this.pubicLayer);
Array.prototype.push.apply(layers, this.pussyPiercingsLayer);
Array.prototype.push.apply(layers, this.chastityBeltLayer);
Array.prototype.push.apply(layers, this.torsoOutfitLayer);
Array.prototype.push.apply(layers, this.ballsLayer);
Array.prototype.push.apply(layers, this.bellyLayer);
Array.prototype.push.apply(layers, this.penisLayer);
Array.prototype.push.apply(layers, this.boobLayer);
Array.prototype.push.apply(layers, this.boobAddonLayer);
Array.prototype.push.apply(layers, this.collarLayer);
Array.prototype.push.apply(layers, this.headLayer);
Array.prototype.push.apply(layers, this.eyesLayer);
Array.prototype.push.apply(layers, this.mouthLayer);
Array.prototype.push.apply(layers, this.headAddonLayer);
Array.prototype.push.apply(layers, this.hairForeLayer);
return layers;
}
get transformRules() {
return [
{trigger: "boob_left", action: "transform", value: this.boobLeftArtTransform},
{trigger: "boob_right", action: "transform", value: this.boobRightArtTransform},
{trigger: "boob_outfit", action: "transform", value: this.boobOutfitArtTransform},
{trigger: "pussy_tattoo_text", action: "text-content", value: this.pubicTattooText}
];
}
}
|
MonsterMate/fc
|
src/art/vector_revamp/vectorRevampedArtControl.js
|
JavaScript
|
mit
| 43,802
|
:: PCCheatMenu [nobr]
<<set $nextButton = "Apply", $nextLink = "PCCheatMenuCheatDatatypeCleanup", $encyclopedia = "Design Your Master">>
<<set $tempSlave = clone($PC)>>
''Cheat Editing Player Character'' <<link "[Cancel]" "Manage Personal Affairs">><<unset $tempSlave, $customEvalCode>><</link>>
<br><br>
Title: ''<<if $tempSlave.title == 1>>Master<<else>>Mistress<</if>>''
<br><<radiobutton "$tempSlave.title" 1>> Master
<<radiobutton "$tempSlave.title" 0>> Mistress
<br>
Sex: ''$tempSlave.genes''
<br><<radiobutton "$tempSlave.genes" "XY">> XY
<<radiobutton "$tempSlave.genes" "XX">> XX
<br>''Name'': <<textbox "$tempSlave.slaveName" $tempSlave.slaveName>>
<br>''Birth Name'': <<textbox "$tempSlave.birthName" $tempSlave.birthName>>
<br>''Surname'': <<textbox "$tempSlave.slaveSurname" $tempSlave.slaveSurname>>
<br>''Birth Surname'': <<textbox "$tempSlave.birthSurname" $tempSlave.birthSurname>>
<br>''Custom Title'': <<textbox "$tempSlave.custom.title" $tempSlave.custom.title>>
<br>Nationality: ''$tempSlave.nationality''.
<<textbox "$tempSlave.nationality" $tempSlave.nationality>>
<br>Career: ''$tempSlave.career''.
<br><<radiobutton "$tempSlave.career" "wealth">> Wealth
<<radiobutton "$tempSlave.career" "capitalist">> Capitalist
<<radiobutton "$tempSlave.career" "mercenary">> Mercenary
<<radiobutton "$tempSlave.career" "slaver">> Slaver
<<radiobutton "$tempSlave.career" "engineer">> Engineer
<<radiobutton "$tempSlave.career" "medicine">> Medicine
<<radiobutton "$tempSlave.career" "celebrity">> Celebrity
<<radiobutton "$tempSlave.career" "escort">> Escort
<<radiobutton "$tempSlave.career" "servant">> Servant
<<radiobutton "$tempSlave.career" "gang">> Gang
<<radiobutton "$tempSlave.career" "BlackHat">> BlackHat
<br>Method of acquiring the arcology: ''$tempSlave.rumor''.
<br><<radiobutton "$tempSlave.rumor" "wealth">> Wealth
<<radiobutton "$tempSlave.rumor" "diligence">> Diligence
<<radiobutton "$tempSlave.rumor" "force">> Force
<<radiobutton "$tempSlave.rumor" "social engineering">> Social Engineering
<<radiobutton "$tempSlave.rumor" "luck">> Luck
<br>Preferred refreshment: <<textbox "$tempSlave.refreshment" $tempSlave.refreshment>>
<br><<radiobutton "$tempSlave.refreshment" "cigar">> Cigar
<<radiobutton "$tempSlave.refreshment" "whiskey">> Whiskey
<br>Preferred method of consumption: <<if $tempSlave.refreshmentType == 0>>Smoked<<elseif $tempSlave.refreshmentType == 1>>Drank<<elseif $tempSlave.refreshmentType == 2>>Eaten<<elseif $tempSlave.refreshmentType == 3>>Snorted<<elseif $tempSlave.refreshmentType == 4>>Injected<<elseif $tempSlave.refreshmentType == 5>>Popped<<else>>Orally Dissolved<</if>>
<br><<radiobutton "$tempSlave.refreshmentType" 0>> Smoked
<<radiobutton "$tempSlave.refreshmentType" 1>> Drank
<<radiobutton "$tempSlave.refreshmentType" 2>> Eaten
<<radiobutton "$tempSlave.refreshmentType" 3>> Snorted
<<radiobutton "$tempSlave.refreshmentType" 4>> Injected
<<radiobutton "$tempSlave.refreshmentType" 5>> Popped
<<radiobutton "$tempSlave.refreshmentType" 6>> Orally Dissolved
<br>
<br>''Skin'': <<textbox "$tempSlave.skin" $tempSlave.skin>>
<br>''Genetic Skin'': <<textbox "$tempSlave.origSkin" $tempSlave.origSkin>>
<br>''Race'': <<textbox "$tempSlave.race" $tempSlave.race>>
<br>''Genetic Race'': <<textbox "$tempSlave.origRace" $tempSlave.origRace>>
<br>''Eye Color'': <<textbox "$tempSlave.eye.right.iris" $tempSlave.eye.right.iris>>
<br>''Genetic Eye Color'': <<textbox "$tempSlave.eye.origColor" $tempSlave.eye.origColor>>
<br>''Pupil Shape'': <<textbox "$tempSlave.eye.right.pupil" $tempSlave.eye.right.pupil>>
<br>''Sclera Color'': <<textbox "$tempSlave.eye.right.sclera" $tempSlave.eye.right.sclera>>
<br>''Hair Color'': <<textbox "$tempSlave.hColor" $tempSlave.hColor>>
<br>''Genetic Hair Color'': <<textbox "$tempSlave.origHColor" $tempSlave.origHColor>>
<br>
<br>''Boobs'': <<textbox "$tempSlave.boobs" $tempSlave.boobs>> //100: masculine chest (if title = 1) or flat chested (if title = 0)(WIP), 300+: A cup, 400+: B cup, 500+: C cup, 650+: D cup, 800+: DD cup, 1000+: F cup, 1200+: G cup, 1400+: H cup//
<br>''Boobs Implant'': <<textbox "$tempSlave.boobsImplant" $tempSlave.boobsImplant>> //do you have breast implants - size in CCs//
<br>''Lactation'': <<textbox "$tempSlave.lactation" $tempSlave.lactation>> //are you lactating - 0: no, 1: yes//
<br>
<br>''Butt Size'': <<textbox "$tempSlave.butt" $tempSlave.butt>> //2: normal, 3: big, 4: huge, 5: enormous//
<br>''Butt Implant'': <<textbox "$tempSlave.buttImplant" $tempSlave.buttImplant>> //do you have butt implants - 0: no, 1+: yes//
<br>
<br>''Vagina'': <<textbox "$tempSlave.vagina" $tempSlave.vagina>>
<br>''New Vagina'': <<textbox "$tempSlave.newVag" $tempSlave.newVag>> //0: no, 1: yes//
<br>
<br>''Dick'': <<textbox "$tempSlave.dick" $tempSlave.dick>>
<br>''Balls Size'': <<textbox "$tempSlave.balls" $tempSlave.balls>> //3: normal, 5: big, 9: huge, 14: enormous, 30: monstrous//
<br>''Balls Implant'': <<textbox "$tempSlave.ballsImplant" $tempSlave.ballsImplant>> //0: none, 1+ yes//
<br><br>
__Age__
<br>''Actual Age'': <<textbox "$tempSlave.actualAge" $tempSlave.actualAge>>
<br>''Physical Age'': <<textbox "$tempSlave.physicalAge" $tempSlave.physicalAge>>
<br>''Visual Age'': <<textbox "$tempSlave.visualAge" $tempSlave.visualAge>>
<br>''Ovary Age'': <<textbox "$tempSlave.ovaryAge" $tempSlave.ovaryAge>>
<br>''Age Implant'': <<textbox "$tempSlave.ageImplant" $tempSlave.ageImplant>> //0: no surgery, 1: age altering surgery//
<br>''Player Aging'': <<textbox "$playerAging" $playerAging>> //0: no aging, 1: no aging, but birthdays, 2: aging//
<br><br>
__Pregnancy__
<br>''Pregnancy Length'': <<textbox "$tempSlave.preg" $tempSlave.preg>> //how far along your pregnancy is (pregMood kicks in at 24+ weeks) - -2: infertile, -1: contraceptives, 0: not pregnant, 1 - 42: pregnant, 43+: giving birth//
<br>''Fetus Count'': <<textbox "$tempSlave.pregType" $tempSlave.pregType>> //how many you're having (1-8)//
<br>''PregSource'': <<textbox "$tempSlave.pregSource" $tempSlave.pregSource>> //who knocked you up - 0: unknown, -1: self-impreg, -2: citizen, -3: former Master, -4: male arc owner, -5: client, -6: Societal Elite, -7: designer baby, -9: Futanari Sister//
<br>''PregMood'': <<textbox "$tempSlave.pregMood" $tempSlave.pregMood>> //how you act when heavily pregnant - 0: no change, 1: submissive and motherly, 2: aggressive and dominant//
<br><br>
''Skills:''
<br>
<br>Trading:
''<<if $tempSlave.skill.trading >= 100>>
You are a master at economics and trading.
<<elseif $tempSlave.skill.trading >= 80>>
You are an expert at economics and trading.
<<elseif $tempSlave.skill.trading >= 60>>
You are skilled in economics and trading.
<<elseif $tempSlave.skill.trading >= 40>>
You know some things about economics and trading.
<<elseif $tempSlave.skill.trading >= 20>>
You are a beginner in economics.
<<elseif $tempSlave.skill.trading >= 0>>
You know only the basics of trading.
<<elseif $tempSlave.skill.trading >= -20>>
You know how to haggle a little.
<<elseif $tempSlave.skill.trading >= -40>>
You know how to shop around.
<<elseif $tempSlave.skill.trading >= -60>>
You know not to pay sticker price.
<<elseif $tempSlave.skill.trading >= -80>>
People always give you discounts, but you never save any money.
<<else>>
They said it was a bear market, so where are the bears?
<</if>>''
<br>
<<radiobutton "$tempSlave.skill.trading" 100>> Economics master
<<radiobutton "$tempSlave.skill.trading" 90>> Economics expert
<<radiobutton "$tempSlave.skill.trading" 70>> Skilled in economics
<<radiobutton "$tempSlave.skill.trading" 50>> Amateur economist
<<radiobutton "$tempSlave.skill.trading" 30>> Economics beginner
<<radiobutton "$tempSlave.skill.trading" 0>> Basic trader
<<radiobutton "$tempSlave.skill.trading" -10>> Haggler
<<radiobutton "$tempSlave.skill.trading" -30>> Shopper
<<radiobutton "$tempSlave.skill.trading" -50>> Weak saver
<<radiobutton "$tempSlave.skill.trading" -70>> Money sieve
<<radiobutton "$tempSlave.skill.trading" -90>> What's a trading?
<br>
<br>Warfare:
''<<if $tempSlave.skill.warfare >= 100>>
You are a master of warfare.
<<elseif $tempSlave.skill.warfare >= 80>>
You are an expert at tactics and strategy.
<<elseif $tempSlave.skill.warfare >= 60>>
You are skilled in combat.
<<elseif $tempSlave.skill.warfare >= 40>>
You know some things about combat.
<<elseif $tempSlave.skill.warfare >= 20>>
You are a beginner in tactics and strategy.
<<elseif $tempSlave.skill.warfare >= 0>>
You know only the basics of fighting.
<<elseif $tempSlave.skill.warfare >= -20>>
You know how to hold a gun.
<<elseif $tempSlave.skill.warfare >= -40>>
You know how to stab with a knife.
<<elseif $tempSlave.skill.warfare >= -60>>
Go for the throat?
<<elseif $tempSlave.skill.warfare >= -80>>
Just kick them in the balls, right?
<<else>>
People like you are usually the first raped in a war.
<</if>>''
<br>
<<radiobutton "$tempSlave.skill.warfare" 100>> Warfare master
<<radiobutton "$tempSlave.skill.warfare" 90>> Warfare expert
<<radiobutton "$tempSlave.skill.warfare" 70>> Skilled in warfare
<<radiobutton "$tempSlave.skill.warfare" 50>> Amateur combatant
<<radiobutton "$tempSlave.skill.warfare" 30>> Combat beginner
<<radiobutton "$tempSlave.skill.warfare" 0>> Basic fighter
<<radiobutton "$tempSlave.skill.warfare" -10>> Gun haver
<<radiobutton "$tempSlave.skill.warfare" -30>> Knife holder
<<radiobutton "$tempSlave.skill.warfare" -50>> Throat puncher
<<radiobutton "$tempSlave.skill.warfare" -70>> Groin kicker?
<<radiobutton "$tempSlave.skill.warfare" -90>> Most likely to be raped
<br>
<br>Slaving:
''<<if $tempSlave.skill.slaving >= 100>>
You are a master slaver.
<<elseif $tempSlave.skill.slaving >= 80>>
You are an expert at enslaving.
<<elseif $tempSlave.skill.slaving >= 60>>
You are skilled in slaving.
<<elseif $tempSlave.skill.slaving >= 40>>
You know some things about getting slaves.
<<elseif $tempSlave.skill.slaving >= 20>>
You are a beginner in slaving.
<<elseif $tempSlave.skill.slaving >= 0>>
You know only the basics of slaving.
<<elseif $tempSlave.skill.slaving >= -20>>
You know how to avoid becoming a slave.
<<elseif $tempSlave.skill.slaving >= -40>>
You know to read contracts before you sign them.
<<elseif $tempSlave.skill.slaving >= -60>>
You know to be careful.
<<elseif $tempSlave.skill.slaving >= -80>>
You know better than to trust anyone.
<<else>>
It would be easy to enslave you.
<</if>>''
<br>
<<radiobutton "$tempSlave.skill.slaving" 100>> Master slaver
<<radiobutton "$tempSlave.skill.slaving" 90>> Expert slaver
<<radiobutton "$tempSlave.skill.slaving" 70>> Skilled in slaving
<<radiobutton "$tempSlave.skill.slaving" 50>> Amateur slaver
<<radiobutton "$tempSlave.skill.slaving" 30>> Slaving beginner
<<radiobutton "$tempSlave.skill.slaving" 0>> Basic slaver
<<radiobutton "$tempSlave.skill.slaving" -10>> Can't make me a slave
<<radiobutton "$tempSlave.skill.slaving" -30>> Can read contracts
<<radiobutton "$tempSlave.skill.slaving" -50>> Careful now
<<radiobutton "$tempSlave.skill.slaving" -70>> Don't trust that guy
<<radiobutton "$tempSlave.skill.slaving" -90>> Potential slave
<br>
<br>Engineering:
''<<if $tempSlave.skill.engineering >= 100>>
You are a master engineer.
<<elseif $tempSlave.skill.engineering >= 80>>
You are an expert at engineering.
<<elseif $tempSlave.skill.engineering >= 60>>
You are skilled in engineering.
<<elseif $tempSlave.skill.engineering >= 40>>
You know some things about engineering.
<<elseif $tempSlave.skill.engineering >= 20>>
You are a beginner in engineering.
<<elseif $tempSlave.skill.engineering >= 0>>
You know only the basics of engineering.
<<elseif $tempSlave.skill.engineering >= -20>>
You can build a gingerbread house that doesn't collapse.
<<elseif $tempSlave.skill.engineering >= -40>>
You can tie a tight knot, does that count?
<<elseif $tempSlave.skill.engineering >= -60>>
Glue is your friend; lots of it.
<<elseif $tempSlave.skill.engineering >= -80>>
You know better than to even try to build something.
<<else>>
You can cook; that's sort of like building something, right?
<</if>>''
<br>
<<radiobutton "$tempSlave.skill.engineering" 100>> Master engineer
<<radiobutton "$tempSlave.skill.engineering" 90>> Expert engineer
<<radiobutton "$tempSlave.skill.engineering" 70>> Skilled in engineering
<<radiobutton "$tempSlave.skill.engineering" 50>> Amateur engineer
<<radiobutton "$tempSlave.skill.engineering" 30>> Engineering beginner
<<radiobutton "$tempSlave.skill.engineering" 0>> Basic engineer
<<radiobutton "$tempSlave.skill.engineering" -10>> Gingerbread house
<<radiobutton "$tempSlave.skill.engineering" -30>> Knot tyer
<<radiobutton "$tempSlave.skill.engineering" -50>> You can use glue
<<radiobutton "$tempSlave.skill.engineering" -70>> You aren't handy
<<radiobutton "$tempSlave.skill.engineering" -90>> My hovercraft is full of eels
<br>
<br>Medicine:
''<<if $tempSlave.skill.medicine >= 100>>
You are a master surgeon.
<<elseif $tempSlave.skill.medicine >= 80>>
You are an expert at medicine and surgery.
<<elseif $tempSlave.skill.medicine >= 60>>
You are skilled in surgery.
<<elseif $tempSlave.skill.medicine >= 40>>
You know some things about medicine.
<<elseif $tempSlave.skill.medicine >= 20>>
You are a beginner in medicine.
<<elseif $tempSlave.skill.medicine >= 0>>
You know the basics of treating injuries.
<<elseif $tempSlave.skill.medicine >= -20>>
You can stop a wound from getting infected.
<<elseif $tempSlave.skill.medicine >= -40>>
Gauze is your friend. Just keep wrapping.
<<elseif $tempSlave.skill.medicine >= -60>>
You know how to apply a band-aid.
<<elseif $tempSlave.skill.medicine >= -80>>
Cure-alls are wonderful. Why aren't they sold in stores, though?
<<else>>
Alcohol makes pain go away, right?
<</if>>''
<br>
<<radiobutton "$tempSlave.skill.medicine" 100>> Master surgeon
<<radiobutton "$tempSlave.skill.medicine" 90>> Expert surgeon
<<radiobutton "$tempSlave.skill.medicine" 70>> Skilled in medicine
<<radiobutton "$tempSlave.skill.medicine" 50>> Amateur surgeon
<<radiobutton "$tempSlave.skill.medicine" 30>> Medical beginner
<<radiobutton "$tempSlave.skill.medicine" 0>> Basic medic
<<radiobutton "$tempSlave.skill.medicine" -10>> Can treat wounds
<<radiobutton "$tempSlave.skill.medicine" -30>> First-aid kit user
<<radiobutton "$tempSlave.skill.medicine" -50>> Band-aid applier
<<radiobutton "$tempSlave.skill.medicine" -70>> MEDIC!
<<radiobutton "$tempSlave.skill.medicine" -90>> Give me another beer
<br>
<br>Hacking:
''<<if $tempSlave.skill.hacking >= 100>>
You are a master of hacking.
<<elseif $tempSlave.skill.hacking >= 80>>
You are an expert at hacking.
<<elseif $tempSlave.skill.hacking >= 60>>
You are skilled in hacking.
<<elseif $tempSlave.skill.hacking >= 40>>
You know some things about hacking.
<<elseif $tempSlave.skill.hacking >= 20>>
You are a beginner in hacking.
<<elseif $tempSlave.skill.hacking >= 0>>
You know only the basics of hacking.
<<elseif $tempSlave.skill.hacking >= -20>>
You know how to click a mouse.
<<elseif $tempSlave.skill.hacking >= -40>>
Enter does something?
<<elseif $tempSlave.skill.hacking >= -60>>
Where is the "any" key?
<<elseif $tempSlave.skill.hacking >= -80>>
You can push the power button, good job.
<<else>>
This black box thingy is magical.
<</if>>''
<br>
<<radiobutton "$tempSlave.skill.hacking" 100>> Master hacker
<<radiobutton "$tempSlave.skill.hacking" 90>> Expert hacker
<<radiobutton "$tempSlave.skill.hacking" 70>> Skilled hacker
<<radiobutton "$tempSlave.skill.hacking" 50>> Amateur hacker
<<radiobutton "$tempSlave.skill.hacking" 30>> Hacking beginner
<<radiobutton "$tempSlave.skill.hacking" 0>> Basic hacker
<<radiobutton "$tempSlave.skill.hacking" -10>> Mouse clicker
<<radiobutton "$tempSlave.skill.hacking" -30>> You can press Enter
<<radiobutton "$tempSlave.skill.hacking" -50>> Where's the "any" key?
<<radiobutton "$tempSlave.skill.hacking" -70>> Main screen turn on?
<<radiobutton "$tempSlave.skill.hacking" -90>> Ooh, cool glowy thingy!
<br>
<br>Your mother ID:
<<textbox "$tempSlave.mother" $tempSlave.mother>>
<br>Your father ID:
<<textbox "$tempSlave.father" $tempSlave.father>>
<br>
<br>''Sexual Energy'': <<textbox "$tempSlave.sexualEnergy" $tempSlave.sexualEnergy>>
<br>''Cum Tap'': <<textbox "$tempSlave.skill.cumTap" $tempSlave.skill.cumTap>>
<br>''Stored Cum'': <<textbox "$tempSlave.counter.storedCum" $tempSlave.counter.storedCum>>
<br>''Fertility Drugs'': <<textbox "$tempSlave.fertDrugs" $tempSlave.fertDrugs>> //0: no, 1: yes//
<br>''Forced Fertility Drugs'': <<textbox "$tempSlave.forcedFertDrugs" $tempSlave.forcedFertDrugs>> //time left in body system//
<br>''Stamina Pills'': <<textbox "$tempSlave.staminaPills" $tempSlave.staminaPills>> //0: no, 1: yes//
<br><br>Custom Cheat:
<br><<textarea "$customEvalCode" "">>
<br>//Any JavaScript function will be automatically run using the PC as an argument when "Apply" is clicked. For example, entering "(PC) => PC.slaveName = 'Fancy Name' " will change your name to "Fancy Name".//
|
MonsterMate/fc
|
src/cheats/PCCheatMenu.tw
|
tw
|
mit
| 17,008
|
:: PCCheatMenuCheatDatatypeCleanup [nobr]
<<set $nextButton = "Continue", $nextLink = "Manage Personal Affairs">>
/* Cancel Option Check */
<<if $tempSlave == "unset">>
<<unset $tempSlave>>
<<goto "Manage Personal Affairs">>
<</if>>
<<if $customEvalCode>>
<<if $customEvalCode.charAt(0) != "(" || $nextLink == ")">> /* second condition is only there for sanityCheck */
<<set $customEvalCode = "(" + $customEvalCode + ")">>
<</if>>
<<if typeof eval($customEvalCode) === "function">>
<<run (eval($customEvalCode))($tempSlave)>>
<</if>>
<</if>>
<<unset $customEvalCode>>
<<set $tempSlave.preg = Number($tempSlave.preg) || 0>>
<<set $tempSlave.pregSource = Number($tempSlave.pregSource) || 0>>
<<set $tempSlave.pregType = Number($tempSlave.pregType) || 0>>
<<set WombInit($tempSlave)>> /* just to make sure */
<<set $tempSlave.womb.length = 0>> /* simple way to delete all fetuses */
<<set WombImpregnate($tempSlave, $tempSlave.pregType, $tempSlave.pregSource, $tempSlave.preg)>> /* recreates fetuses */
<<if $tempSlave.preg > 0>>
<<set $tempSlave.belly = WombGetVolume($tempSlave)>>
<<set $tempSlave.pregWeek = $tempSlave.preg>>
<<else>>
<<set $tempSlave.belly = 0>>
<<set $tempSlave.pregWeek = 0>>
<</if>>
<<if $tempSlave.boobs < 300>>
<<set $tempSlave.boobs = 100>>
<<set $tempSlave.boobsImplant = 0>>
<</if>>
<<if $tempSlave.boobsImplant > $tempSlave.boobs>>
<<set $tempSlave.boobsImplant = $tempSlave.boobs>>
<</if>>
<<if $tempSlave.butt < 2>>
<<set $tempSlave.butt = 2>>
<<set $tempSlave.buttImplant = 0>>
<</if>>
<<if $tempSlave.buttImplant > $tempSlave.butt>>
<<set $tempSlave.buttImplant = $tempSlave.butt>>
<</if>>
<<if $tempSlave.dick == 0>>
<<set $tempSlave.balls = 0>>
<<set $tempSlave.ballsImplant = 0>>
<<set $tempSlave.scrotum = 0>>
<<set $tempSlave.prostate = 0>>
<</if>>
<<if $tempSlave.ballsImplant > $tempSlave.balls>>
<<set $tempSlave.ballsImplant = $tempSlave.balls>>
<</if>>
<<if $tempSlave.vagina == -1>>
<<set $tempSlave.newVag = 0>>
<<set $tempSlave.ovaries = 0>>
<<set $tempSlave.vaginaLube = 0>>
<</if>>
<<if $tempSlave.lactation > 0 && $tempSlave.lactationDuration == 0>>
<<set $tempSlave.lactationDuration = 2>>
<<elseif $tempSlave.lactation == 0 && $tempSlave.lactationDuration > 0>>
<<set $tempSlave.lactationDuration = 0>>
<</if>>
<<set $tempSlave.eye.left.iris = $tempSlave.eye.right.iris>>
<<set $tempSlave.eye.left.pupil = $tempSlave.eye.right.pupil>>
<<set $tempSlave.eye.left.sclera = $tempSlave.eye.right.sclera>>
You perform the dark rituals, pray to the dark gods, and sell your soul for the power to reshape your body and life at will. What a cheater!
<<set $PC = clone($tempSlave)>>
<<run ibc.recalculate_coeff_id(-1)>>
<<run PCDatatypeCleanup()>>
<<set $upgradeMultiplierArcology = upgradeMultiplier('engineering')>>
<<set $upgradeMultiplierMedicine = upgradeMultiplier('medicine')>>
<<set $upgradeMultiplierTrade = upgradeMultiplier('trading')>>
<<set $HackingSkillMultiplier = upgradeMultiplier('hacking')>>
<<unset $tempSlave>>
|
MonsterMate/fc
|
src/cheats/PCCheatMenuCheatDatatypeCleanup.tw
|
tw
|
mit
| 3,007
|
:: MOD_Edit Arcology Cheat Datatype Cleanup [nobr]
<<set $nextButton = "Continue">>
<<set $nextLink = "Main">>
<<if $customEvalCode>>
<<if $customEvalCode.charAt(0) != "(" || $nextLink == ")">> /* second condition is only there for sanityCheck */
<<set $customEvalCode = "(" + $customEvalCode + ")">>
<</if>>
<<if typeof eval($customEvalCode) === "function">>
<<run (eval($customEvalCode))($arcologies[0])>>
<</if>>
<</if>>
<<unset $customEvalCode>>
<<run ArcologyDatatypeCleanup()>>
The chanting grows louder and louder, CHEAT! CHEAT! CHEAT!
<br><br>The Arcology morphs and changes shape, CHEAT! CHEAT! CHEAT!
<br><br>The Arcology has been changed forever and you forfeit your CHEATING CHEATY SOUL!
|
MonsterMate/fc
|
src/cheats/mod_EditArcologyCheatDatatypeCleanup.tw
|
tw
|
mit
| 714
|
:: MOD_Edit Child Cheat Datatype Cleanup New [nobr]
<<set $nextButton = "Continue", $nextLink = "Child Interact">>
/* Cancel Option Check */
<<if $tempSlave == "unset">>
<<unset $tempSlave>>
<<goto "Child Interact">>
<</if>>
<<if $customEvalCode>>
<<if $customEvalCode.charAt(0) != "(" || $nextLink == ")">> /* second condition is only there for sanityCheck */
<<set $customEvalCode = "(" + $customEvalCode + ")">>
<</if>>
<<if typeof eval($customEvalCode) === "function">>
<<run (eval($customEvalCode))($tempSlave)>>
<</if>>
<</if>>
<<unset $customEvalCode>>
<<run SlaveDatatypeCleanup($tempSlave)>>
<<set $rep = Number($rep) || 0>>
<<set $cash = Number($cash) || 0>>
<<set $week = Number($week) || 1>>
<<set $tempSlave.preg = Number($tempSlave.preg) || 0>>
<<set $tempSlave.pregType = Number($tempSlave.pregType) || 0>>
<<if $tempSlave.broodmother == 0>>
<<set WombInit($tempSlave)>> /* just to make sure */
<<set $tempSlave.womb.length = 0>> /* simple way to delete all fetuses */
<<set WombImpregnate($tempSlave, $tempSlave.pregType, $tempSlave.pregSource, $tempSlave.preg)>> /* recreates fetuses */
<<else>>
<<set WombNormalizePreg($tempSlave)>>
<</if>>
<<set $tempSlave.pregWeek = Number($tempSlave.pregWeek) || Math.max($tempSlave.preg, 0)>>
<<if $tempSlave.preg <= 0>>
<<set $tempSlave.pregKnown = 0>>
<<elseif $tempSlave.preg > 0>>
<<set $tempSlave.pregKnown = 1>>
<</if>>
/* Dependency Check */
<br>
<<if $tempSlave.indenture == -1>>
<<set $tempSlave.indentureRestrictions = 0>>
<<elseif $tempSlave.indenture < -1>>
<<set $tempSlave.indenture = -1>>
<<print "Indenture was smaller than -1, reset to Fulltime Slave">><br>
<<elseif $tempSlave.indentureRestrictions < 0>>
<<set $tempSlave.indentureRestrictions = 0>>
<<print "Indenture restriction was smaller than 0, reset to no restrictions">><br>
<<elseif $tempSlave.indentureRestrictions > 2>>
<<set $tempSlave.indentureRestrictions = 2>>
<<print "Indenture restrictions was larger than 2, reset to full restrictions">><br>
<</if>>
<<if $tempSlave.weekAcquired < 0>>
<<set $tempSlave.weekAcquired = 0>>
<<print "Week Acquired was negative reset to 0">><br>
<</if>>
<<if ($tempSlave.relationshipTarget == $tempSlave.ID) && ($tempSlave.relationship > 0)>>
<<set $tempSlave.relationshipTarget = 0>>
<<set $tempSlave.relationship = -1>>
<<print "The Slave was in a relation with $himself, reset to emotional Slut">><br>
<</if>>
<<if ($tempSlave.rivalryTarget == $tempSlave.ID) && ($tempSlave.rivalry > 0)>>
<<set $tempSlave.rivalryTarget = 0>>
<<set $tempSlave.rivalry = 0>>
<<print "Slave was $his own rival, reset to no rivalry">><br>
<</if>>
<<if $tempSlave.actualAge < 0>>
<<print "Slave's actual age is set too low, reset to existing actual age">><br>
<<set $tempSlave.actualAge = $activeSlave.actualAge>>
<</if>>
<<if $tempSlave.physicalAge < 0>>
<<print "Slave's physical Age is set too low, reset to existing physical age">><br>
<<set $tempSlave.physicalAge = $activeSlave.actualAge>>
<</if>>
<<if $tempSlave.visualAge < 0>>
<<print "Slave's visual age is set too low, reset to existing visual age">><br>
<<set $tempSlave.visualAge = $activeSlave.actualAge>>
<</if>>
<<if $tempSlave.ovaryAge < 0>>
<<print "Slave's ovary age is set too low, reset to match physical age">><br>
<<set $tempSlave.ovaryAge = $tempSlave.physicalAge>>
<</if>>
<<if $tempSlave.chem < 0>>
<<print "Slave's DNA error is set too low, reset to 0">><br>
<<set $tempSlave.chem = 0>>
<</if>>
<<if $tempSlave.face < -100>>
<<print "Face Beauty was set too low, reset to -100">><br>
<<set $tempSlave.face = -100>>
<<elseif $tempSlave.face > 100>>
<<print "Face Beauty was set too high, reset to 100">><br>
<<set $tempSlave.face = 100>>
<</if>>
<<if $tempSlave.hLength < 0>>
<<print "Slaves Hair length was set too low, reset to 0">><br>
<<set $tempSlave.hLength = 0>>
<</if>>
<<if $tempSlave.lips < 0>>
<<print "Lips size too small, reset to 0">><br>
<<set $tempSlave.lips = 0>>
<<elseif $tempSlave.lips > 100>>
<<print "Lips size too high, reset to 100">><br>
<<set $tempSlave.lips = 100>>
<</if>>
<<if $tempSlave.muscles < -100>>
<<print "Muscle Value too low, reset to -100 (Frail)">><br>
<<set $tempSlave.muscles = 0>>
<<elseif $tempSlave.muscles > 100>>
<<print "Muscle Value too high, reset to 100 (Hugely Muscular)">><br>
<<set $tempSlave.muscles = 100>>
<</if>>
<<if $tempSlave.weight < -100>>
<<print "Weight Value too low, reset to -100 (Emaciated)">><br>
<<set $tempSlave.weight = -100>>
<<elseif $tempSlave.weight > 200 >>
<<print "Weight Value too high, reset to 200 (Extremely Obese)">><br>
<<set $tempSlave.weight = 200>>
<</if>>
<<if $tempSlave.waist < -100>>
<<print "Waist Value too low, reset to -100 (Absurd)">><br>
<<set $tempSlave.waist = -100>>
<<elseif $tempSlave.waist > 100>>
<<print "Waist Value too high, reset to 100 (Masculine)">><br>
<<set $tempSlave.waist = 100>>
<</if>>
<<if $tempSlave.height < 1>>
<<print "Height Value too low, reset to 140 (Seriously its still a Human Being)">><br>
<<set $tempSlave.height = 140>>
<</if>>
<<if $tempSlave.bellySag < 0>>
<<print "Bellysag Value too low, reset 0">><br>
<<set $tempSlave.bellySag = 0>>
<</if>>
<<if $tempSlave.boobs < 0>>
<<print "Breasts Value too low, reset to 200">><br>
<<set $tempSlave.boobs = 200>>
<</if>>
<<if $tempSlave.boobsImplant < 0>>
<<print "Breast Implant Value too low, reset to 0">><br>
<<set $tempSlave.boobsImplant = 0>>
<</if>>
<<if $tempSlave.butt < 0>>
<<print "Butt Value too low, reset to 0">><br>
<<set $tempSlave.butt = 0>>
<</if>>
<<if (ndef $tempSlave.pubertyAgeXX) || ($tempSlave.pubertyAgeXX < 0)>>
<<print "Puberty Age was not set or set too low, reset to Arcology fertility age">><br>
<<set $tempSlave.pubertyAgeXX = $fertilityAge>>
<</if>>
<<if (ndef $tempSlave.pubertyXX) && ($tempSlave.physicalAge >= $tempSlave.pubertyAgeXX)>>
<<set $tempSlave.pubertyXX = 1>>
<<elseif (ndef $tempSlave.pubertyXX) && ($tempSlave.physicalAge < $tempSlave.pubertyAgeXX)>>
<<set $tempSlave.pubertyXX = 0>>
<</if>>
<<if $tempSlave.dick < 0>>
<<print "Slave dick value set too low, reset to 0 (no dick)" >><br>
<<set $tempSlave.dick = 0>>
<</if>>
<<if $tempSlave.dick == 0>>
<<set $tempSlave.dickTat = 0>>
<</if>>
<<if ($tempSlave.vagina == -1) >>
<<set $tempSlave.labia = 0>>
<<set $tempSlave.clit = 0>>
<<set $tempSlave.cervixImplant = 0>>
<<set $tempSlave.ovaries = 0>>
<</if>>
<<if ($tempSlave.clit > 0) && ($tempSlave.dick > 0 )>>
<<print "No giant clit when dick is present, reset clit to 0 (normal)" >><br>
<<set $tempSlave.clit = 0>>
<</if>>
<<if ($tempSlave.ovaries == 0) && ($tempSlave.mpreg == 0) && ($tempSlave.preg > 0)>>
<<print "Slave has no Ovaries and no Analwomb, Pregnancy reset to 0">><br>
<<run WombFlush($tempSlave)>>
<</if>>
<<if ($tempSlave.pubertyXX != 1) && ($tempSlave.physicalAge >= $tempSlave.pubertyAgeXX)>>
<<print "Slaves physical Age is equal or higher than female Puberty Age, Puberty set to 1 (Post Puberty)" >><br>
<<set $tempSlave.pubertyXX = 1>>
<</if>>
<<if ($tempSlave.ovaries == 1) && ($tempSlave.mpreg == 1)>>
<<print "Slave has a working Vagina, Analwomb got removed" >><br>
<<set $tempSlave.mpreg = 0>>
<</if>>
<<if ($tempSlave.pubertyXX == 0) && ($tempSlave.preg > 0)>>
<<print "Slave is not fertile (Pre-Puberty) and has no Anal Womb, pregnancy aborted!">><br>
<<run WombFlush($tempSlave)>>
<</if>>
<<if $tempSlave.balls < 0>>
<<print "Slave Balls Value set too low, reset to 0 (No Balls)">><br>
<<set $tempSlave.balls = 0>>
<</if>>
<<if $tempSlave.foreskin < 0>>
<<print "Slave Foreskin Value set too low, reset to 0 (None)">><br>
<<set $tempSlave.foreskin = 0>>
<</if>>
<<if $tempSlave.scrotum < 0>>
<<print "Slave Scrotum Value set too low, reset to 0 (No Scrotum)">><br>
<<set $tempSlave.scrotum = 0>>
<</if>>
<<if (ndef $tempSlave.pubertyAgeXY) || ($tempSlave.pubertyAgeXY < 0)>>
<<print "XY Puberty Age was not set or set too low, reset to Arcology Puberty Age">><br>
<<set $tempSlave.pubertyAgeXY = $potencyAge>>
<</if>>
<<if (ndef $tempSlave.pubertyXY) && ($tempSlave.physicalAge >= $tempSlave.pubertyAgeXY)>>
<<set $tempSlave.pubertyXY = 1>>
<<elseif (ndef $tempSlave.pubertyXY) && ($tempSlave.physicalAge < $tempSlave.pubertyAgeXY)>>
<<set $tempSlave.pubertyXY = 0>>
<</if>>
<<if ($tempSlave.physicalAge >= $tempSlave.pubertyAgeXY) && ($tempSlave.pubertyXY != 1)>>
<<print "Slaves physical Age is equal or higher than male Puberty Age, Puberty set to 1 (Post Puberty)" >><br>
<<set $tempSlave.pubertyXY = 1>>
<</if>>
<<if $tempSlave.skill.oral < 0>>
<<print "Oral Skill Value set too low, reset to 0">><br>
<<set $tempSlave.skill.oral = 0>>
<<elseif $tempSlave.skill.oral > 100>>
<<print "Oral Skill Value set too high, reset to 100">><br>
<<set $tempSlave.skill.oral = 100>>
<</if>>
<<if $tempSlave.skill.vaginal < 0>>
<<print "Vaginal Skill Value too low, reset to 0">><br>
<<set $tempSlave.skill.vaginal = 0>>
<<elseif $tempSlave.skill.vaginal > 100>>
<<print "Vaginal Skill Value too high, reset to 100">><br>
<<set $tempSlave.skill.vaginal = 100>>
<</if>>
<<if $tempSlave.skill.anal < 0>>
<<print "Anal Skill Value set too low, reset to 0">><br>
<<set $tempSlave.skill.anal = 0>>
<<elseif $tempSlave.skill.anal > 100>>
<<print "Anal Skill Value set too high, reset to 100">><br>
<<set $tempSlave.skill.anal = 100>>
<</if>>
<<if $tempSlave.skill.whoring < 0>>
<<print "Whoring Skill Value set too low, reset to 0">><br>
<<set $tempSlave.skill.whoring = 0>>
<<elseif $tempSlave.skill.whoring > 100>>
<<print "Whoring Skill Value set too high, reset to 100">><br>
<<set $tempSlave.skill.whoring = 100>>
<</if>>
<<if $tempSlave.skill.entertainment < 0>>
<<print "Entertainment Skill Value set too low, reset to 0">><br>
<<set $tempSlave.skill.entertainment = 0>>
<<elseif $tempSlave.skill.entertainment > 100>>
<<print "Entertainment Skill Value set too high, reset to 100">><br>
<<set $tempSlave.skill.entertainment = 100>>
<</if>>
<<if $tempSlave.intelligence < -100>>
<<print "Slave Intelligence Value set too low, reset to -100">><br>
<<set $tempSlave.intelligence = -100>>
<<elseif $tempSlave.intelligence > 100>>
<<print "Slave Intelligence Value set too high, reset to 100">><br>
<<set $tempSlave.intelligence = 100>>
<</if>>
<<if $tempSlave.intelligenceImplant < 0>>
<<print "Slave intelligenceImplant Value set too low, reset to 0">><br>
<<set $tempSlave.intelligenceImplant = 0>>
<<elseif $tempSlave.intelligenceImplant > 30>>
<<print "Slave intelligenceImplant Value set too high, reset to 30">><br>
<<set $tempSlave.intelligenceImplant = 30>>
<</if>>
<<if $tempSlave.fetishStrength < 0>>
<<print "Fetish Strength set too low, reset to 0">><br>
<<set $tempSlave.fetishStrength = 0>>
<<elseif $tempSlave.fetishStrength > 100>>
<<print "Fetish Strength set too high, reset to 100">><br>
<<set $tempSlave.fetishStrength = 100>>
<</if>>
<<if $tempSlave.energy < 0>>
<<print "Sex Drive was set too low, reset to 0">><br>
<<set $tempSlave.energy = 0>>
<<elseif $tempSlave.energy > 100>>
<<print "Sex Drive was set too high, reset to 100">><br>
<<set $tempSlave.energy = 100>>
<</if>>
<<if $tempSlave.counter.penetrative < 0>>
<<print "Penetrative sex Count was set too low, reset to 0">><br>
<<set $tempSlave.counter.penetrative = 0>>
<</if>>
<<if $tempSlave.counter.oral < 0>>
<<print "Oral sex Count set too low, reset to 0">><br>
<<set $tempSlave.counter.oral = 0>>
<</if>>
<<if $tempSlave.counter.vaginal < 0>>
<<print "Vaginal sex Count set too low, reset to 0">><br>
<<set $tempSlave.counter.vaginal = 0>>
<</if>>
<<if $tempSlave.counter.anal < 0>>
<<print "Anal sex Count set too low, reset to 0">><br>
<<set $tempSlave.counter.anal = 0>>
<</if>>
<<if $tempSlave.counter.publicUse < 0>>
<<print "Public sex Count set too low, reset 0">><br>
<<set $tempSlave.counter.publicUse = 0>>
<</if>>
<<if $tempSlave.counter.mammary < 0>>
<<print "Titjobs Count set too low, reset to 0">><br>
<<set $tempSlave.counter.mammary = 0>>
<</if>>
<<if $tempSlave.counter.birthsTotal < 0>>
<<print "Total birth Count set too low, reset to 0">><br>
<<set $tempSlave.counter.birthsTotal = 0>>
<</if>>
<<if $tempSlave.prestige < 0>>
<<print "Prestige set too low, reset to 0">><br>
<<set $tempSlave.prestige = 0>>
<<elseif $tempSlave.prestige > 3>>
<<print "Prestige set too high, reset to 3">><br>
<<set $tempSlave.prestige = 3>>
<</if>>
<<if $tempSlave.lactation > 0 && $tempSlave.lactationDuration == 0>>
<<set $tempSlave.lactationDuration = 2>>
<<elseif $tempSlave.lactation == 0 && $tempSlave.lactationDuration > 0>>
<<set $tempSlave.lactationDuration = 0>>
<</if>>
<<run SetBellySize($tempSlave)>>
<br>
You perform the dark rituals, pray to the dark gods, and sell your soul for the power to change and mold slaves to your will.
<br><br>This slave has been changed forever and you have lost a bit of your soul, YOU CHEATER!
<<set $activeSlave = clone($tempSlave)>>
<<unset $tempSlave>>
<<set _escn = $cribs.findIndex(function(s) { s.ID === $activeSlave.ID; })>>
<<if def _escn>>
<<set $cribs[_escn] = clone($activeSlave)>>
<</if>>
<<run ibc.recalculate_coeff_id($activeSlave.ID)>>
|
MonsterMate/fc
|
src/cheats/mod_EditChildCheatDatatypeCleanupNew.tw
|
tw
|
mit
| 13,136
|
:: MOD_Edit Child Cheat New [nobr]
<<set $nextButton = "Continue", $nextLink = "MOD_Edit Child Cheat Datatype Cleanup New", $tempSlave = clone($activeSlave)>>
<<setLocalPronouns $tempSlave>>
<<widget COptions>>
<<link "[$args[0]]">>
<<replace #career>>
<<set $tempSlave.career = $args[0]>>
<<set _carR = 0>>
<</replace>>
<</link>>
<</widget>>
<<widget NOptions>>
<<link "[$args[0]]">>
<<replace #nation>>
<<set $tempSlave.nationality = $args[0]>>
<<set _natR = 0>>
<</replace>>
<</link>>
<</widget>>
<<widget H1Options>>
<<link "[$args[0]]">>
<<replace #hcol1>>
<<set $tempSlave.hColor = $args[0]>>
<<set _hcol1R = 0>>
<</replace>>
<</link>>
<</widget>>
<<widget H2Options>>
<<link "[$args[0]]">>
<<replace #hcol2>>
<<set $tempSlave.origHColor = $args[0]>>
<<set _hcol2R = 0>>
<</replace>>
<</link>>
<</widget>>
<<widget H3Options>>
<<link "[$args[0]]">>
<<replace #hcol3>>
<<set $tempSlave.pubicHColor = $args[0]>>
<<set _hcol3R = 0>>
<</replace>>
<</link>>
<</widget>>
<<widget H4Options>>
<<link "[$args[0]]">>
<<replace #hcol4>>
<<set $tempSlave.underArmHColor = $args[0]>>
<<set _hcol4R = 0>>
<</replace>>
<</link>>
<</widget>>
<<widget H5Options>>
<<link "[$args[0]]">>
<<replace #hcol5>>
<<set $tempSlave.eyebrowHColor = $args[0]>>
<<set _hcol5R = 0>>
<</replace>>
<</link>>
<</widget>>
<<widget E1Options>>
<<link "[$args[0]]">>
<<replace #ecol1>>
<<set $tempSlave.eyeColor = $args[0]>>
<<set _ecol1R = 0>>
<</replace>>
<</link>>
<</widget>>
<<widget E2Options>>
<<link "[$args[0]]">>
<<replace #ecol2>>
<<set $tempSlave.origEye = $args[0]>>
<<set _ecol2R = 0>>
<</replace>>
<</link>>
<</widget>>
<<widget POptions>>
<<link "[$args[0]]">>
<<replace #ppil>>
<<set $tempSlave.origEye = $args[0]>>
<<set _ppilR = 0>>
<</replace>>
<</link>>
<</widget>>
<<widget ScOptions>>
<<link "[$args[0]]">>
<<replace #sclr>>
<<set $tempSlave.origEye = $args[0]>>
<<set _sclrR = 0>>
<</replace>>
<</link>>
<</widget>>
<<widget NameTab>>
<br>''Legal status:''<br>
<br>''$He is your Slave since Week @@.yellow;$tempSlave.weekAcquired@@ ''<br>
<<textbox "$tempSlave.weekAcquired" $tempSlave.weekAcquired>>
<br>
<br>''Birth Name: ( [first Name] [Surname] 0 for no Surname)''<br>
<<textbox "$tempSlave.birthName" $tempSlave.birthName>>
<<textbox "$tempSlave.birthSurname" $tempSlave.birthSurname>><br>
''Current Name: ( [first Name] [Surname] 0 for no Surname)''<br>
<<textbox "$tempSlave.slaveName" $tempSlave.slaveName>>
<<textbox "$tempSlave.slaveSurname" $tempSlave.slaveSurname>>
<br>
<</widget>>
<<widget FamilyTab>>
<br>
''Active Slaves ID : @@.yellow;$tempSlave.ID@@''
<br><br>
''Enter the IDs for this slave's parents (0: unknown, -1: you, -2: citizen):''
<br>
''mother ID''
<<textbox "$tempSlave.mother" $tempSlave.mother>>
<br>
''father ID''
<<textbox "$tempSlave.father" $tempSlave.father>>
<br><br>
<br><br>
''Relationship (-3:married to you, -2:relationship, -1:emotional slut, 0:none, 1:like, 2:friend, 3:sex friend, 4:lover, 5:married):''
<br>
<<switch $tempSlave.relationship>>
<<case -3>>
@@.green;Married to you@@
<<case -2>>
@@.lightgreen;Emotional bound to you@@
<<case -1>>
@@.hotpink;Emotional Slut@@
<<case 0>>
No Relation
<<case 1>>
@@.yellow;Likes SlaveID $tempSlave.relationshipTarget@@
<<case 2>>
@@.lightgreen;Friends with SlaveID $tempSlave.relationshipTarget@@
<<case 3>>
@@.lightpink;Sex Friend with SlaveID $tempSlave.relationshipTarget@@
<<case 4>>
@@.hotpink;Lover with SlaveID $tempSlave.relationshipTarget@@
<<case 5>>
@@.green;Married to SlaveID $tempSlave.relationshipTarget@@
<</switch>>
<br>
<<radiobutton "$tempSlave.relationship" -3>> Married to You
<<radiobutton "$tempSlave.relationship" -2>> In Relationship with You
<<radiobutton "$tempSlave.relationship" -1>> Emotional Slut
<<radiobutton "$tempSlave.relationship" 0>> None
<<radiobutton "$tempSlave.relationship" 1>> Like
<<radiobutton "$tempSlave.relationship" 2>> Friend
<<radiobutton "$tempSlave.relationship" 3>> Sex Friend
<<radiobutton "$tempSlave.relationship" 4>> Lover
<<radiobutton "$tempSlave.relationship" 5>> Married
<br>
''Relationship Target ID:'' <<textbox "$tempSlave.relationshipTarget" $tempSlave.relationshipTarget>>
<br>
<br>
''Rival (0:none, 1:dislike, 2:Rival, 3:Bitter Rival ): ''
<br>
<<switch $tempSlave.rivalry>>
<<case 0>>
@@.yellow;No Rival@@
<<case 1>>
@@.lightpink;Dislikes SlaveID $tempSlave.rivalryTarget@@
<<case 2>>
@@.red;Rival of SlaveID $tempSlave.rivalryTarget@@
<<case 3>>
@@.red;Bitter rivalry with SlaveID $tempSlave.rivalryTarget@@
<</switch>>
<br>
<<radiobutton "$tempSlave.rivalry" 0>> None
<<radiobutton "$tempSlave.rivalry" 1>> Dislike
<<radiobutton "$tempSlave.rivalry" 2>> Rival
<<radiobutton "$tempSlave.rivalry" 3>> Bitter Rival
<br>
''Rivals Target ID:'' <<textbox "$tempSlave.rivalryTarget" $tempSlave.rivalryTarget>>
<br>
<</widget>>
<<widget NationalTab>>
<br><br>
<<link "Nationality:">>
<<if (ndef _natR) || (_natR == 0) >>
<<replace "#nation">>
<<set _natR =1>>
<br>Current Nationality : @@.yellow;$tempSlave.nationality@@ <br>
<br>Non-Nations<br>
<<NOptions "Slave" >>
<<print " | ">>
<<NOptions "Stateless" >>
<br>
<br>North America<br>
<<NOptions "American" >>
<<print " | ">>
<<NOptions "Antiguan" >>
<<print " | ">>
<<NOptions "Aruban" >>
<<print " | ">>
<<NOptions "Bahamian" >>
<<print " | ">>
<<NOptions "Barbadian" >>
<<print " | ">>
<<NOptions "Belizean" >>
<<print " | ">>
<<NOptions "Bermudian" >>
<<print " | ">>
<<NOptions "Canadian" >>
<<print " | ">>
<<NOptions "Costa Rican" >>
<<print " | ">>
<<NOptions "Cuban" >>
<br>
<<NOptions "Curaçaoan" >>
<<print " | ">>
<<NOptions "Dominican" >>
<<print " | ">>
<<NOptions "Dominiquais" >>
<<print " | ">>
<<NOptions "Greenlandic" >>
<<print " | ">>
<<NOptions "Grenadian" >>
<<print " | ">>
<<NOptions "Guatemalan" >>
<<print " | ">>
<<NOptions "Haitian" >>
<<print " | ">>
<<NOptions "Honduran" >>
<<print " | ">>
<<NOptions "Jamaican" >>
<<print " | ">>
<<NOptions "Kittitian" >>
<br>
<<NOptions "Mexican" >>
<<print " | ">>
<<NOptions "Nicaraguan" >>
<<print " | ">>
<<NOptions "Panamanian" >>
<<print " | ">>
<<NOptions "Puerto Rican" >>
<<print " | ">>
<<NOptions "Saint Lucian" >>
<<print " | ">>
<<NOptions "Salvadoran" >>
<<print " | ">>
<<NOptions "Trinidadian" >>
<<print " | ">>
<<NOptions "Vincentian" >>
<br>
<br>South America<br>
<<NOptions "Argentinian" >>
<<print " | ">>
<<NOptions "Bolivian" >>
<<print " | ">>
<<NOptions "Brazilian" >>
<<print " | ">>
<<NOptions "Chilean" >>
<<print " | ">>
<<NOptions "Colombian" >>
<<print " | ">>
<<NOptions "Ecuadorian" >>
<<print " | ">>
<<NOptions "French Guianan" >>
<<print " | ">>
<<NOptions "Guyanese" >>
<<print " | ">>
<<NOptions "Paraguayan" >>
<<print " | ">>
<<NOptions "Peruvian" >>
<br>
<<NOptions "Peruvian" >>
<<print " | ">>
<<NOptions "Surinamese" >>
<<print " | ">>
<<NOptions "Uruguayan" >>
<<print " | ">>
<<NOptions "Venezuelan" >>
<br>
<br>Europe<br>
<<NOptions "Albanian" >>
<<print " | ">>
<<NOptions "Andorran" >>
<<print " | ">>
<<NOptions "Austrian" >>
<<print " | ">>
<<NOptions "Belarusian" >>
<<print " | ">>
<<NOptions "Belgian" >>
<<print " | ">>
<<NOptions "Bosnian" >>
<<print " | ">>
<<NOptions "British" >>
<<print " | ">>
<<NOptions "Bulgarian" >>
<<print " | ">>
<<NOptions "Catalan" >>
<<print " | ">>
<<NOptions "Croatian" >>
<br>
<<NOptions "Czech" >>
<<print " | ">>
<<NOptions "Danish" >>
<<print " | ">>
<<NOptions "Dutch" >>
<<print " | ">>
<<NOptions "Estonian" >>
<<print " | ">>
<<NOptions "Finnish" >>
<<print " | ">>
<<NOptions "French" >>
<<print " | ">>
<<NOptions "German" >>
<<print " | ">>
<<NOptions "Greek" >>
<<print " | ">>
<<NOptions "Hungarian" >>
<<print " | ">>
<<NOptions "Icelandic" >>
<br>
<<NOptions "Irish" >>
<<print " | ">>
<<NOptions "Italian" >>
<<print " | ">>
<<NOptions "Kosovan" >>
<<print " | ">>
<<NOptions "Latvian" >>
<<print " | ">>
<<NOptions "a Liechtensteiner" >>
<<print " | ">>
<<NOptions "Lithuanian" >>
<<print " | ">>
<<NOptions "Luxembourgian" >>
<<print " | ">>
<<NOptions "Macedonian" >>
<<print " | ">>
<<NOptions "Maltese" >>
<<print " | ">>
<<NOptions "Moldovan" >>
<br>
<<NOptions "Monégasque" >>
<<print " | ">>
<<NOptions "Montenegrin" >>
<<print " | ">>
<<NOptions "Norwegian" >>
<<print " | ">>
<<NOptions "Polish" >>
<<print " | ">>
<<NOptions "Portuguese" >>
<<print " | ">>
<<NOptions "Romanian" >>
<<print " | ">>
<<NOptions "Russian" >>
<<print " | ">>
<<NOptions "Sammarinese" >>
<<print " | ">>
<<NOptions "Scottish" >>
<<print " | ">>
<<NOptions "Serbian" >>
<br>
<<NOptions "Slovak" >>
<<print " | ">>
<<NOptions "Slovene" >>
<<print " | ">>
<<NOptions "Spanish" >>
<<print " | ">>
<<NOptions "Swedish" >>
<<print " | ">>
<<NOptions "Swiss" >>
<<print " | ">>
<<NOptions "Ukrainian" >>
<<print " | ">>
<<NOptions "Vatican" >>
<br>
<br>Asia<br>
<<NOptions "Bangladeshi" >>
<<print " | ">>
<<NOptions "Bhutanese" >>
<<print " | ">>
<<NOptions "Bruneian" >>
<<print " | ">>
<<NOptions "Burmese" >>
<<print " | ">>
<<NOptions "Cambodian" >>
<<print " | ">>
<<NOptions "Chinese" >>
<<print " | ">>
<<NOptions "East Timorese" >>
<<print " | ">>
<<NOptions "Filipina" >>
<<print " | ">>
<<NOptions "Indian" >>
<<print " | ">>
<<NOptions "Indonesian" >>
<br>
<<NOptions "Japanese" >>
<<print " | ">>
<<NOptions "Kazakh" >>
<<print " | ">>
<<NOptions "Korean" >>
<<print " | ">>
<<NOptions "Kyrgyz" >>
<<print " | ">>
<<NOptions "Laotian" >>
<<print " | ">>
<<NOptions "Malaysian" >>
<<print " | ">>
<<NOptions "Maldivian" >>
<<print " | ">>
<<NOptions "Mongolian" >>
<<print " | ">>
<<NOptions "Nepalese" >>
<<print " | ">>
<<NOptions "Pakistani" >>
<br>
<<NOptions "Singaporean" >>
<<print " | ">>
<<NOptions "Sri Lankan" >>
<<print " | ">>
<<NOptions "Taiwanese" >>
<<print " | ">>
<<NOptions "Tajik" >>
<<print " | ">>
<<NOptions "Thai" >>
<<print " | ">>
<<NOptions "Tibetan" >>
<<print " | ">>
<<NOptions "Turkmen" >>
<<print " | ">>
<<NOptions "Uzbek" >>
<<print " | ">>
<<NOptions "Vietnamese" >>
<br>
<br>Middle East<br>
<<NOptions "Afghan" >>
<<print " | ">>
<<NOptions "Armenian" >>
<<print " | ">>
<<NOptions "Azerbaijani" >>
<<print " | ">>
<<NOptions "Bahraini" >>
<<print " | ">>
<<NOptions "Cypriot" >>
<<print " | ">>
<<NOptions "Egyptian" >>
<<print " | ">>
<<NOptions "Emirati" >>
<<print " | ">>
<<NOptions "Georgian" >>
<<print " | ">>
<<NOptions "Iranian" >>
<<print " | ">>
<<NOptions "Iraqi" >>
<br>
<<NOptions "Israeli" >>
<<print " | ">>
<<NOptions "Jordanian" >>
<<print " | ">>
<<NOptions "Kurdish" >>
<<print " | ">>
<<NOptions "Kuwaiti" >>
<<print " | ">>
<<NOptions "Lebanese" >>
<<print " | ">>
<<NOptions "Omani" >>
<<print " | ">>
<<NOptions "Palestinian" >>
<<print " | ">>
<<NOptions "Qatari" >>
<<print " | ">>
<<NOptions "Saudi" >>
<<print " | ">>
<<NOptions "Syrian" >>
<br>
<<NOptions "Turkish" >>
<<print " | ">>
<<NOptions "Yemeni" >>
<br>
<br>Africa<br>
<<NOptions "Algerian" >>
<<print " | ">>
<<NOptions "Angolan" >>
<<print " | ">>
<<NOptions "Beninese" >>
<<print " | ">>
<<NOptions "Bissau-Guinean" >>
<<print " | ">>
<<NOptions "Burkinabé" >>
<<print " | ">>
<<NOptions "Burundian" >>
<<print " | ">>
<<NOptions "Cameroonian" >>
<<print " | ">>
<<NOptions "Cape Verdean" >>
<<print " | ">>
<<NOptions "Central African" >>
<<print " | ">>
<<NOptions "Chadian" >>
<br>
<<NOptions "Comorian" >>
<<print " | ">>
<<NOptions "Congolese" >>
<<print " | ">>
<<NOptions "Djiboutian" >>
<<print " | ">>
<<NOptions "Equatoguinean" >>
<<print " | ">>
<<NOptions "Eritrean" >>
<<print " | ">>
<<NOptions "Ethiopian" >>
<<print " | ">>
<<NOptions "Gabonese" >>
<<print " | ">>
<<NOptions "Gambian" >>
<<print " | ">>
<<NOptions "Ghanan" >>
<<print " | ">>
<<NOptions "Guinean" >>
<br>
<<NOptions "Ivorian" >>
<<print " | ">>
<<NOptions "Kenyan" >>
<<print " | ">>
<<NOptions "Liberian" >>
<<print " | ">>
<<NOptions "Libyan" >>
<<print " | ">>
<<NOptions "Malagasy" >>
<<print " | ">>
<<NOptions "Malawian" >>
<<print " | ">>
<<NOptions "Malian" >>
<<print " | ">>
<<NOptions "Mauritanian" >>
<<print " | ">>
<<NOptions "Mauritian" >>
<<print " | ">>
<<NOptions "Moroccan" >>
<br>
<<NOptions "Mosotho" >>
<<print " | ">>
<<NOptions "Motswana" >>
<<print " | ">>
<<NOptions "Mozambican" >>
<<print " | ">>
<<NOptions "Namibian" >>
<<print " | ">>
<<NOptions "Nigerian" >>
<<print " | ">>
<<NOptions "Nigerien" >>
<<print " | ">>
<<NOptions "Rwandan" >>
<<print " | ">>
<<NOptions "Sahrawi" >>
<<print " | ">>
<<NOptions "São Toméan" >>
<<print " | ">>
<<NOptions "Senegalese" >>
<br>
<<NOptions "Seychellois" >>
<<print " | ">>
<<NOptions "Sierra Leonean" >>
<<print " | ">>
<<NOptions "Somali" >>
<<print " | ">>
<<NOptions "South African" >>
<<print " | ">>
<<NOptions "South Sudanese" >>
<<print " | ">>
<<NOptions "Sudanese" >>
<<print " | ">>
<<NOptions "Swazi" >>
<<print " | ">>
<<NOptions "Tanzanian" >>
<<print " | ">>
<<NOptions "Togolese" >>
<<print " | ">>
<<NOptions "Tunisian" >>
<br>
<<NOptions "Ugandan" >>
<<print " | ">>
<<NOptions "Zairian" >>
<<print " | ">>
<<NOptions "Zambian" >>
<<print " | ">>
<<NOptions "Zimbabwean" >>
<br>
<br>Australia<br>
<<NOptions "Australian" >>
<<print " | ">>
<<NOptions "a Cook Islander" >>
<<print " | ">>
<<NOptions "Fijian" >>
<<print " | ">>
<<NOptions "French Polynesian" >>
<<print " | ">>
<<NOptions "Guamanian" >>
<<print " | ">>
<<NOptions "I-Kiribati" >>
<<print " | ">>
<<NOptions "Marshallese" >>
<<print " | ">>
<<NOptions "Micronesian" >>
<<print " | ">>
<<NOptions "Nauruan" >>
<<print " | ">>
<<NOptions "New Caledonian" >>
<br>
<<NOptions "a New Zealander" >>
<<print " | ">>
<<NOptions "Ni-Vanuatu" >>
<<print " | ">>
<<NOptions "Niuean" >>
<<print " | ">>
<<NOptions "Palauan" >>
<<print " | ">>
<<NOptions "Papua New Guinean" >>
<<print " | ">>
<<NOptions "Samoan" >>
<<print " | ">>
<<NOptions "a Solomon Islander" >>
<<print " | ">>
<<NOptions "Tongan" >>
<<print " | ">>
<<NOptions "Tuvaluan" >>
<br>
<</replace>>
<<else>>
<<replace "#nation">>
<<set _natR = 0>>
<</replace>>
<</if>>
<</link>>
<span id="nation"></span><br>
Custom Nation: <<textbox "$tempSlave.nationality" $tempSlave.nationality>>
//This will not alter name or race//<br>
<br><br>
''Race: (@@.yellow;$tempSlave.race@@)''
<<textbox "$tempSlave.race" $tempSlave.race>>
<br>
<<radiobutton "$tempSlave.race" "white">> White
<<radiobutton "$tempSlave.race" "asian">> Asian
<<radiobutton "$tempSlave.race" "latina">> Latina
<<radiobutton "$tempSlave.race" "middle eastern">> Middle Eastern
<<radiobutton "$tempSlave.race" "black">> Black
<<radiobutton "$tempSlave.race" "semitic">> Semitic
<<radiobutton "$tempSlave.race" "southern european">> Southern European
<<radiobutton "$tempSlave.race" "indo-aryan">> Indo-Aryan
<<radiobutton "$tempSlave.race" "amerindian">> Amerindian
<<radiobutton "$tempSlave.race" "pacific islander">> Pacific Islander
<<radiobutton "$tempSlave.race" "malay">> Malay
<<radiobutton "$tempSlave.race" "mixed race">> Mixed Race
<br>
''Original Race: (@@.yellow;$tempSlave.origRace@@)''
<<textbox "$tempSlave.origRace" $tempSlave.origRace>>
<br>
<<radiobutton "$tempSlave.origRace" "white">> White
<<radiobutton "$tempSlave.origRace" "asian">> Asian
<<radiobutton "$tempSlave.origRace" "latina">> Latina
<<radiobutton "$tempSlave.origRace" "middle eastern">> Middle Eastern
<<radiobutton "$tempSlave.origRace" "black">> Black
<<radiobutton "$tempSlave.origRace" "semitic">> Semitic
<<radiobutton "$tempSlave.origRace" "southern european">> Southern European
<<radiobutton "$tempSlave.origRace" "indo-aryan">> Indo-Aryan
<<radiobutton "$tempSlave.origRace" "amerindian">> Amerindian
<<radiobutton "$tempSlave.origRace" "pacific islander">> Pacific Islander
<<radiobutton "$tempSlave.origRace" "malay">> Malay
<<radiobutton "$tempSlave.origRace" "mixed race">> Mixed Race
<br>
''Skin Color: (@@.yellow;$tempSlave.skin@@)''
<<textbox "$tempSlave.skin" $tempSlave.skin>>
<br>
<<radiobutton "$tempSlave.skin" "pure white">> Pure White
<<radiobutton "$tempSlave.skin" "ivory">> Ivory
<<radiobutton "$tempSlave.skin" "white">> White
<<radiobutton "$tempSlave.skin" "extremely pale">> Extremely Pale
<<radiobutton "$tempSlave.skin" "very pale">> Very Pale
<<radiobutton "$tempSlave.skin" "pale">> Pale
<<radiobutton "$tempSlave.skin" "extremely fair">> Extremely Fair
<<radiobutton "$tempSlave.skin" "very fair">> Very Fair
<<radiobutton "$tempSlave.skin" "fair">> Fair
<<radiobutton "$tempSlave.skin" "light">> Light
<<radiobutton "$tempSlave.skin" "light olive">> Light Olive
<<radiobutton "$tempSlave.skin" "tan">> Tan
<<radiobutton "$tempSlave.skin" "olive">> Olive
<<radiobutton "$tempSlave.skin" "bronze">> Bronze
<<radiobutton "$tempSlave.skin" "dark olive">> Dark Olive
<<radiobutton "$tempSlave.skin" "dark">> Dark
<<radiobutton "$tempSlave.skin" "light beige">> Light Beige
<<radiobutton "$tempSlave.skin" "beige">> Beige
<<radiobutton "$tempSlave.skin" "dark beige">> Dark Beige
<<radiobutton "$tempSlave.skin" "light brown">> Light Brown
<<radiobutton "$tempSlave.skin" "brown">> Brown
<<radiobutton "$tempSlave.skin" "dark brown">> Dark Brown
<<radiobutton "$tempSlave.skin" "black">> Black
<<radiobutton "$tempSlave.skin" "ebony">> Ebony
<<radiobutton "$tempSlave.skin" "pure black">> Pure Black
<br>
''Original Skin Color: (@@.yellow;$tempSlave.origSkin@@)''
<<textbox "$tempSlave.origSkin" $tempSlave.origSkin>>
<br>
<<radiobutton "$tempSlave.origSkin" "pure white">> Pure White
<<radiobutton "$tempSlave.origSkin" "ivory">> Ivory
<<radiobutton "$tempSlave.origSkin" "white">> White
<<radiobutton "$tempSlave.origSkin" "extremely pale">> Extremely Pale
<<radiobutton "$tempSlave.origSkin" "very pale">> Very Pale
<<radiobutton "$tempSlave.origSkin" "pale">> Pale
<<radiobutton "$tempSlave.origSkin" "extremely fair">> Extremely Fair
<<radiobutton "$tempSlave.origSkin" "very fair">> Very Fair
<<radiobutton "$tempSlave.origSkin" "fair">> Fair
<<radiobutton "$tempSlave.origSkin" "light">> Light
<<radiobutton "$tempSlave.origSkin" "light olive">> Light Olive
<<radiobutton "$tempSlave.origSkin" "tan">> Tan
<<radiobutton "$tempSlave.origSkin" "olive">> Olive
<<radiobutton "$tempSlave.origSkin" "bronze">> Bronze
<<radiobutton "$tempSlave.origSkin" "dark olive">> Dark Olive
<<radiobutton "$tempSlave.origSkin" "dark">> Dark
<<radiobutton "$tempSlave.origSkin" "light beige">> Light Beige
<<radiobutton "$tempSlave.origSkin" "beige">> Beige
<<radiobutton "$tempSlave.origSkin" "dark beige">> Dark Beige
<<radiobutton "$tempSlave.origSkin" "light brown">> Light Brown
<<radiobutton "$tempSlave.origSkin" "brown">> Brown
<<radiobutton "$tempSlave.origSkin" "dark brown">> Dark Brown
<<radiobutton "$tempSlave.origSkin" "black">> Black
<<radiobutton "$tempSlave.origSkin" "ebony">> Ebony
<<radiobutton "$tempSlave.origSkin" "pure black">> Pure Black
<br>
<</widget>>
<<widget AgeTab>>
<br>
''Age - Actual:''
<<textbox "$tempSlave.actualAge" $tempSlave.actualAge>>
<br>
''Age - Physical:''
<<textbox "$tempSlave.physicalAge" $tempSlave.physicalAge>>
<br>
''Age - Ovaries:''
<<textbox "$tempSlave.ovaryAge" $tempSlave.ovaryAge>>
<br>
''Age - Visual:''
<<textbox "$tempSlave.visualAge" $tempSlave.visualAge>>
<br>
''Birth week:''
<<textbox "$tempSlave.birthWeek" $tempSlave.birthWeek>>
<br><br>
''Condition (-99 to 100, -100 is death. Condition minus short and long term damage of -100 is also death):''
<<textbox "$tempSlave.health.condition" $tempSlave.health.condition>>
<br>
''Damage - Short Term:''
<<textbox "$tempSlave.health.shortDamage" $tempSlave.health.shortDamage>>
<br>
''Damage - Long Term:''
<<textbox "$tempSlave.health.longDamage" $tempSlave.health.longDamage>>
<br>
''Illness (0 to 5):''
<<textbox "$tempSlave.health.illness" $tempSlave.health.illness>>
<br>
''Tired (0 to 100):''
<<textbox "$tempSlave.health.tired" $tempSlave.health.tired>>
<br>
''DNA Errors (0 to 990):''
<<textbox "$tempSlave.chem" $tempSlave.chem>>
<br>
''Addiction:''
<<textbox "$tempSlave.addict" $tempSlave.addict>>
<br>
<</widget>>
<<widget DevoTab>>
<br>
//Don't set devotion too far away from old devotion otherwise it won't stick//
<br>
''Devotion (-100 to 100):''
<<textbox "$tempSlave.devotion" $tempSlave.devotion>>
<br>
''Old Devotion (-100 to 100):''
<<textbox "$tempSlave.oldDevotion" $tempSlave.oldDevotion>>
<br>
<br>
//Don't set trust too far away from old trust otherwise it won't stick//
<br>
''Trust (-100 to 100):''
<<textbox "$tempSlave.trust" $tempSlave.trust>>
<br>
''Old Trust (-100 to 100):''
<<textbox "$tempSlave.oldTrust" $tempSlave.oldTrust>>
<br>
<</widget>>
<<widget FaceTab>>
<br>
''Face (-100 to 100): ''
<<if $tempSlave.face >= 100>>@@.yellow;Very Beautiful@@
<<elseif $tempSlave.face >= 55>>@@.yellow;Beautiful@@
<<elseif $tempSlave.face >= 15>>@@.yellow;Attractive@@
<<elseif $tempSlave.face >= 0>>@@.yellow;Pretty@@
<<elseif $tempSlave.face >= -15>>@@.yellow;Unattractive@@
<<elseif $tempSlave.face >= -55>>@@.yellow;Ugly@@
<<else>>@@.yellow;Very Ugly@@
<</if>>
<<textbox "$tempSlave.face" $tempSlave.face>>
<br>
<<radiobutton "$tempSlave.face" -100>> Very Ugly
<<radiobutton "$tempSlave.face" -55>> Ugly
<<radiobutton "$tempSlave.face" -15>> Unattractive
<<radiobutton "$tempSlave.face" 0>> Pretty
<<radiobutton "$tempSlave.face" 15>> Attractive
<<radiobutton "$tempSlave.face" 55>> Beautiful
<<radiobutton "$tempSlave.face" 100>> Very Beautiful
<br><br>
''Face Shape: @@.yellow;$tempSlave.faceShape@@ ''
<br>
<<radiobutton "$tempSlave.faceShape" "masculine">> Masculine
<<radiobutton "$tempSlave.faceShape" "androgynous">> Androgynous
<<radiobutton "$tempSlave.faceShape" "normal">> Normal
<<radiobutton "$tempSlave.faceShape" "cute">> Cute
<<radiobutton "$tempSlave.faceShape" "sensual">> Sensual
<<radiobutton "$tempSlave.faceShape" "exotic">> Exotic
<br><br>
''Face Implant (0 to 100):''
<<if $tempSlave.faceImplant < 6>> None
<<elseif $tempSlave.faceImplant > 95>> Uncanny Valley
<<elseif $tempSlave.faceImplant > 60>> Heavily Reworked
<<elseif $tempSlave.faceImplant > 30>> Noticeable Work
<<else>> Subtle Improvements
<</if>>
<br>
<<textbox "$tempSlave.faceImplant" $tempSlave.faceImplant>>
<<radiobutton "$tempSlave.faceImplant" 0>> None
<<radiobutton "$tempSlave.faceImplant" 15>> Subtle Improvements
<<radiobutton "$tempSlave.faceImplant" 35>> Noticeable Work
<<radiobutton "$tempSlave.faceImplant" 65>> Heavily Reworked
<<radiobutton "$tempSlave.faceImplant" 100>> Uncanny Valley
<br><br>
''Natural Skin Distinctiveness: @@.yellow;$tempSlave.markings@@ ''
<br>
<<radiobutton "$tempSlave.markings" "none">> None
<<radiobutton "$tempSlave.markings" "freckles">> Freckles
<<radiobutton "$tempSlave.markings" "heavily freckled">> Heavy Freckles
<<radiobutton "$tempSlave.markings" "beauty mark">> Beauty Mark
<<radiobutton "$tempSlave.markings" "birthmark">> Birth Mark
<br><br>
''Sense of Hearing:''
<<switch $tempSlave.hears>>
<<case -2>>@@.yellow;Deaf@@
<<case -1>>@@.yellow;Hard Of Hearing@@
<<case 0>>@@.yellow;Normal@@
<</switch>>
<br>
<<radiobutton "$tempSlave.hears" 0>> Normal
<<radiobutton "$tempSlave.hears" -1>> Hard Of Hearing
<<radiobutton "$tempSlave.hears" -2>> Deaf
<br>
''Ear Implants (none: 0 | exist: 1):''
<<if $tempSlave.earImplant == 1>>
@@.yellow;exist@@
<<checkbox "$tempSlave.earImplant" 0 1 checked>>
<<else>>
@@.yellow;none@@
<<checkbox "$tempSlave.earImplant" 0 1>>
<</if>>
''Sense of Smell:''
<<switch $tempSlave.smells>>
<<case -1>>@@.yellow;None@@
<<case 0>>@@.yellow;Normal@@
<</switch>>
<br>
<<radiobutton "$tempSlave.smells" 0>> Normal
<<radiobutton "$tempSlave.smells" -1>> None
<br>
<</widget>>
<<widget HairTab>>
<br>
''Can grow hair on the head:''
<<if $tempSlave.bald == 0>>
''@@.yellow;true@@''
<<checkbox "$tempSlave.bald" 0 1>>
<<else>>
''@@.yellow;false@@''
<<checkbox "$tempSlave.bald" 0 1 checked>>
<</if>>
<br>
''Hair length: @@.yellow;$tempSlave.hLength@@''
Custom hair length: <<textbox "$tempSlave.hLength" $tempSlave.hLength>>
<br>
<<switch $tempSlave.hStyle>>
<<case "cornrows" "curled" "dreadlocks" "tails">>
''$His hair is in @@.yellow;$tempSlave.hStyle@@''
<<case "ponytail">>
''$His hair is in a @@.yellow;$tempSlave.hStyle@@''
<<default>>
''$His hair is @@.yellow;$tempSlave.hStyle@@''
<</switch>>
Custom hair description: <<textbox "$tempSlave.hStyle" $tempSlave.hStyle>>
<br>
//For best results, use a short, uncapitalized and unpunctuated description; for example: 'back in a ponytail'//
<br>
<<radiobutton "$tempSlave.hStyle" "neat">> Neat
<<radiobutton "$tempSlave.hStyle" "shaved">> Shaved
<<radiobutton "$tempSlave.hStyle" "trimmed">> Trimmed
<<radiobutton "$tempSlave.hStyle" "buzzcut">> Buzzcut
<<radiobutton "$tempSlave.hStyle" "up">> Up
<<radiobutton "$tempSlave.hStyle" "ponytail">> Ponytail
<<radiobutton "$tempSlave.hStyle" "bun">> Bun
<<radiobutton "$tempSlave.hStyle" "curled">> Curls
<br>
<<radiobutton "$tempSlave.hStyle" "permed">> Permed
<<radiobutton "$tempSlave.hStyle" "luxurious">> Luxurious
<<radiobutton "$tempSlave.hStyle" "dreadlocks">> Dreadlocks
<<radiobutton "$tempSlave.hStyle" "cornrows">> Cornrows
<<radiobutton "$tempSlave.hStyle" "braided">> Braided
<<radiobutton "$tempSlave.hStyle" "tails">> Tails
<<radiobutton "$tempSlave.hStyle" "afro">> Afro
<<radiobutton "$tempSlave.hStyle" "strip">> Strip
<br><br>
$His hair is currently ''@@.yellow;$tempSlave.hColor@@'' in color
<<link "Hair Colors">>
<<if (ndef _hcol1R) || (_hcol1R == 0) >>
<<replace "#hcol1">>
<<set _hcol1R = 1>>
<br>
<<H1Options "blonde" >>
<<H1Options "golden" >>
<<H1Options "platinum blonde" >>
<<H1Options "strawberry-blonde" >>
<<H1Options "copper" >>
<<H1Options "ginger" >>
<<H1Options "red" >>
<<H1Options "green" >>
<<H1Options "pink" >>
<<H1Options "dark brown" >>
<br>
<<H1Options "brown" >>
<<H1Options "auburn" >>
<<H1Options "burgundy" >>
<<H1Options "chocolate brown" >>
<<H1Options "chestnut" >>
<<H1Options "hazel" >>
<<H1Options "jet black" >>
<<H1Options "black" >>
<<H1Options "grey" >>
<<H1Options "silver" >>
<<H1Options "white" >>
<<H1Options "blue-violet" >>
<<H1Options "purple" >>
<<H1Options "dark orchid" >>
<<H1Options "sea green" >>
<<H1Options "green-yellow" >>
<<H1Options "dark blue" >>
<br>
<</replace>>
<<else>>
<<replace "#hcol1">>
<<set _hcol1R = 0>>
<</replace>>
<</if>>
<</link>>
<span id=hcol1></span>
<br>Custom hair color: <<textbox "$tempSlave.hColor" $tempSlave.hColor>>
<br>
//For best results, use a short, uncapitalized and unpunctuated description; for example: 'black with purple highlights'//
<br>
''$His original hair color is @@.yellow;$tempSlave.origHColor@@''
<<link "Hair Colors">>
<<if (ndef _hcol2R) || (_hcol2R == 0) >>
<<replace "#hcol2">>
<<set _hcol2R = 1>>
<br>
<<H2Options "blonde" >>
<<H2Options "golden" >>
<<H2Options "platinum blonde" >>
<<H2Options "strawberry-blonde" >>
<<H2Options "copper" >>
<<H2Options "ginger" >>
<<H2Options "red" >>
<<H2Options "green" >>
<<H2Options "pink" >>
<<H2Options "dark brown" >>
<br>
<<H2Options "brown" >>
<<H2Options "auburn" >>
<<H2Options "burgundy" >>
<<H2Options "chocolate brown" >>
<<H2Options "chestnut" >>
<<H2Options "hazel" >>
<<H2Options "jet black" >>
<<H2Options "black" >>
<<H2Options "grey" >>
<<H2Options "silver" >>
<<H2Options "white" >>
<<H2Options "blue-violet" >>
<<H2Options "purple" >>
<<H2Options "dark orchid" >>
<<H2Options "sea green" >>
<<H2Options "green-yellow" >>
<<H2Options "dark blue" >>
<br>
<</replace>>
<<else>>
<<replace "#hcol2">>
<<set _hcol2R = 0>>
<</replace>>
<</if>>
<</link>>
<span id=hcol2></span>
<br>Custom hair color: <<textbox "$tempSlave.origHColor" $tempSlave.origHColor>>
<br><br>
''$His eyebrows are @@.yellow;$tempSlave.eyebrowHColor@@ in color''
<<link "Hair Colors">>
<<if (ndef _hcol5R) || (_hcol5R == 0) >>
<<replace "#hcol5">>
<<set _hcol5R = 1>>
<br>
<<H5Options "blonde" >>
<<H5Options "golden" >>
<<H5Options "platinum blonde" >>
<<H5Options "strawberry-blonde" >>
<<H5Options "copper" >>
<<H5Options "ginger" >>
<<H5Options "red" >>
<<H5Options "green" >>
<<H5Options "pink" >>
<<H5Options "dark brown" >>
<br>
<<H5Options "brown" >>
<<H5Options "auburn" >>
<<H5Options "burgundy" >>
<<H5Options "chocolate brown" >>
<<H5Options "chestnut" >>
<<H5Options "hazel" >>
<<H5Options "jet black" >>
<<H5Options "black" >>
<<H5Options "grey" >>
<<H5Options "silver" >>
<<H5Options "white" >>
<<H5Options "blue-violet" >>
<<H5Options "purple" >>
<<H5Options "dark orchid" >>
<<H5Options "sea green" >>
<<H5Options "green-yellow" >>
<<H5Options "dark blue" >>
<br>
<</replace>>
<<else>>
<<replace "#hcol5">>
<<set _hcol5R = 0>>
<</replace>>
<</if>>
<</link>>
<span id=hcol5></span>
<br>Custom eyebrow color: <<textbox "$tempSlave.eyebrowHColor" $tempSlave.eyebrowHColor>>
<br>
''Eyebrow Hair Style: (@@.yellow;$tempSlave.eyebrowHStyle@@)''
<<radiobutton "$tempSlave.eyebrowHStyle" "bald">> Bald
<<radiobutton "$tempSlave.eyebrowHStyle" "shaved">> Shaved
<<radiobutton "$tempSlave.eyebrowHStyle" "natural">> Natural
<<radiobutton "$tempSlave.eyebrowHStyle" "rounded">> Rounded
<<radiobutton "$tempSlave.eyebrowHStyle" "straight">> Straight
<<radiobutton "$tempSlave.eyebrowHStyle" "high-arched">> High-Arched
<<radiobutton "$tempSlave.eyebrowHStyle" "curved">> Curved
<<radiobutton "$tempSlave.eyebrowHStyle" "slanted inwards">> Slanted Inwards
<<radiobutton "$tempSlave.eyebrowHStyle" "slanted outwards">> Slanted Outwards
<<radiobutton "$tempSlave.eyebrowHStyle" "elongated">> Elongated
<<radiobutton "$tempSlave.eyebrowHStyle" "shortened">> Shortened
<br>
''Eyebrow Hair Shape: (@@.yellow;$tempSlave.eyebrowFullness@@)''
<<radiobutton "$tempSlave.eyebrowFullness" "pencil-thin">> Pencil-Thin
<<radiobutton "$tempSlave.eyebrowFullness" "thin">> Thin
<<radiobutton "$tempSlave.eyebrowFullness" "threaded">> Threaded
<<radiobutton "$tempSlave.eyebrowFullness" "natural">> Natural
<<radiobutton "$tempSlave.eyebrowFullness" "tapered">> Tapered
<<radiobutton "$tempSlave.eyebrowFullness" "thick">> Thick
<<radiobutton "$tempSlave.eyebrowFullness" "bushy">> Bushy
<br>
''$His pubic hair is @@.yellow;$tempSlave.pubicHColor@@ in color''
<<link "Hair Colors">>
<<if (ndef _hcol3R) || (_hcol3R == 0) >>
<<replace "#hcol3">>
<<set _hcol3R = 1>>
<br>
<<H3Options "blonde" >>
<<H3Options "golden" >>
<<H3Options "platinum blonde" >>
<<H3Options "strawberry-blonde" >>
<<H3Options "copper" >>
<<H3Options "ginger" >>
<<H3Options "red" >>
<<H3Options "green" >>
<<H3Options "pink" >>
<<H3Options "dark brown" >>
<br>
<<H3Options "brown" >>
<<H3Options "auburn" >>
<<H3Options "burgundy" >>
<<H3Options "chocolate brown" >>
<<H3Options "chestnut" >>
<<H3Options "hazel" >>
<<H3Options "jet black" >>
<<H3Options "black" >>
<<H3Options "grey" >>
<<H3Options "silver" >>
<<H3Options "white" >>
<<H3Options "blue-violet" >>
<<H3Options "purple" >>
<<H3Options "dark orchid" >>
<<H3Options "sea green" >>
<<H3Options "green-yellow" >>
<<H3Options "dark blue" >>
<br>
<</replace>>
<<else>>
<<replace "#hcol3">>
<<set _hcol3R = 0>>
<</replace>>
<</if>>
<</link>>
<span id=hcol3></span>
<br>Custom pubic hair color: <<textbox "$tempSlave.pubicHColor" $tempSlave.pubicHColor>>
<br>
''Pubic Hair Style: (@@.yellow;$tempSlave.pubicHStyle@@)''
<<radiobutton "$tempSlave.pubicHStyle" "bald">> Not able to grow
<<radiobutton "$tempSlave.pubicHStyle" "hairless">> Hairless
<<radiobutton "$tempSlave.pubicHStyle" "waxed">> Waxed
<<radiobutton "$tempSlave.pubicHStyle" "in a strip">> Strip
<<radiobutton "$tempSlave.pubicHStyle" "neat">> Neat
<<radiobutton "$tempSlave.pubicHStyle" "bushy">> Bushy
<<radiobutton "$tempSlave.pubicHStyle" "very bushy">> Very Bushy
<br>
''$His underarm hair is @@.yellow;$tempSlave.underArmHColor@@ in color''
<<link "Hair Colors">>
<<if (ndef _hcol4R) || (_hcol4R == 0) >>
<<replace "#hcol4">>
<<set _hcol4R = 1>>
<br>
<<H4Options "blonde" >>
<<H4Options "golden" >>
<<H4Options "platinum blonde" >>
<<H4Options "strawberry-blonde" >>
<<H4Options "copper" >>
<<H4Options "ginger" >>
<<H4Options "red" >>
<<H4Options "green" >>
<<H4Options "pink" >>
<<H4Options "dark brown" >>
<br>
<<H4Options "brown" >>
<<H4Options "auburn" >>
<<H4Options "burgundy" >>
<<H4Options "chocolate brown" >>
<<H4Options "chestnut" >>
<<H4Options "hazel" >>
<<H4Options "jet black" >>
<<H4Options "black" >>
<<H4Options "grey" >>
<<H4Options "silver" >>
<<H4Options "white" >>
<<H4Options "blue-violet" >>
<<H4Options "purple" >>
<<H4Options "dark orchid" >>
<<H4Options "sea green" >>
<<H4Options "green-yellow" >>
<<H4Options "dark blue" >>
<br>
<</replace>>
<<else>>
<<replace "#hcol4">>
<<set _hcol4R = 0>>
<</replace>>
<</if>>
<</link>>
<span id=hcol4></span>
<br>Custom underarm hair color: <<textbox "$tempSlave.underArmHColor" $tempSlave.underArmHColor>>
<br>
''Underarm Hairstyle: (@@.yellow;$tempSlave.underArmHStyle@@)''
<<radiobutton "$tempSlave.underArmHStyle" "bald">> Not able to grow
<<radiobutton "$tempSlave.underArmHStyle" "hairless">> Hairless
<<radiobutton "$tempSlave.underArmHStyle" "waxed">> Waxed
<<radiobutton "$tempSlave.underArmHStyle" "in a strip">> Strip
<<radiobutton "$tempSlave.underArmHStyle" "neat">> Neat
<<radiobutton "$tempSlave.underArmHStyle" "bushy">> Bushy
<br>
<</widget>>
<<widget EyesTab>>
<br>
''$His eyes are currently @@.yellow;$tempSlave.eyeColor@@ in color''
<<link "Eye Colors">>
<<if (ndef _ecol1R) || (_ecol1R == 0) >>
<<replace "#ecol1">>
<<set _ecol1R = 1>>
<br>
<<E1Options "blue" >>
<<E1Options "black" >>
<<E1Options "brown" >>
<<E1Options "green" >>
<<E1Options "turquoise" >>
<<E1Options "sky-blue" >>
<<E1Options "pale-grey" >>
<<E1Options "white" >>
<<E1Options "pink" >>
<<E1Options "amber" >>
<<E1Options "red" >>
<br>
<</replace>>
<<else>>
<<replace "#ecol1">>
<<set _ecol1R = 0>>
<</replace>>
<</if>>
<</link>>
<span id=ecol1></span>
<br>Custom eye color: <<textbox "$tempSlave.eyeColor" $tempSlave.eyeColor>>
<br><br>
''$His original eye color is @@.yellow;$tempSlave.origEye@@''
<<link "Eye Colors">>
<<if (ndef _ecol2R) || (_ecol2R == 0) >>
<<replace "#ecol2">>
<<set _ecol2R = 1>>
<br>
<<E2Options "blue" #ecol2 _ecol2R >>
<<E2Options "black" #ecol2 _ecol2R >>
<<E2Options "brown" #ecol2 _ecol2R >>
<<E2Options "green" #ecol2 _ecol2R >>
<<E2Options "turquoise" #ecol2 _ecol2R >>
<<E2Options "sky-blue" #ecol2 _ecol2R >>
<<E2Options "pale-grey" #ecol2 _ecol2R >>
<<E2Options "white" #ecol2 _ecol2R >>
<<E2Options "pink" #ecol2 _ecol2R >>
<<E2Options "amber" #ecol2 _ecol2R >>
<<E2Options "red" #ecol2 _ecol2R >>
<br>
<</replace>>
<<else>>
<<replace "#ecol2">>
<<set _ecol2R = 0>>
<</replace>>
<</if>>
<</link>>
<span id=ecol2></span>
<br>Custom eye color: <<textbox "$tempSlave.origEye" $tempSlave.origEye>>
<br><br>
''$His pupils are @@.yellow;$tempSlave.pupil@@ in shape''
<<link "Pupil Shape">>
<<if (ndef _ppilR) || (_ppilR == 0) >>
<<replace "#ppil">>
<<set _ppilR = 1>>
<br>
<<POptions "circular" >>
<<POptions "catlike" >>
<<POptions "serpent-like" >>
<<POptions "devilish" >>
<<POptions "demonic" >>
<<POptions "hypnotic" >>
<<POptions "heart-shaped" >>
<<POptions "wide-eyed" >>
<<POptions "almond-shaped" >>
<<POptions "bright" >>
<<POptions "teary" >>
<<POptions "vacant" >>
<<POptions "star-shaped" >>
<br>
<</replace>>
<<else>>
<<replace "#ppil">>
<<set _ppilR = 0>>
<</replace>>
<</if>>
<</link>>
<span id=ppil></span>
<br>Custom pupil shape: <<textbox "$tempSlave.pupil" $tempSlave.pupil>>
<br><br>
''$His sclerae are @@.yellow;$tempSlave.sclerae@@ in color''
<<link "Sclera Colors">>
<<if (ndef _sclrR) || (_sclrR == 0) >>
<<replace "#sclr">>
<<set _sclrR = 1>>
<br>
<<ScOptions "white" >>
<<ScOptions "blue" >>
<<ScOptions "black" >>
<<ScOptions "brown" >>
<<ScOptions "green" >>
<<ScOptions "turquoise" >>
<<ScOptions "sky-blue" >>
<<ScOptions "pale-grey" >>
<<ScOptions "pink" >>
<<ScOptions "amber" >>
<<ScOptions "red" >>
<br>
<</replace>>
<<else>>
<<replace "#sclr">>
<<set _sclrR = 0>>
<</replace>>
<</if>>
<</link>>
<span id=sclr></span>
<br>Custom sclera color: <<textbox "$tempSlave.sclerae" $tempSlave.sclerae>>
<br><br>
''$His vision is :''
<<switch $tempSlave.eyes>>
<<case -2>>@@.yellow;Blind@@
<<case -1>>@@.yellow;Nearsighted@@
<<case 1>>@@.yellow;Normal@@
<</switch>>
<br>
<<radiobutton "$tempSlave.eyes" 1>> Normal
<<radiobutton "$tempSlave.eyes" -1>> Nearsighted
<<radiobutton "$tempSlave.eyes" -2>> Blind
<br>
''$He has ''
<<if $tempSlave.eyesImplant == 0>>normal<<else>>artificial<</if>>eyes.
<br>
<<radiobutton "tempSlave.eyesImplant" 0>> Normal
<<radiobutton "tempSlave.eyesImplant" 1>> Artificial
<br>
<</widget>>
<<widget MouthTab>>
<br>
''Lips (0 to 100): ''
<<if $tempSlave.lips >= 100>> @@.yellow;Enormous facepussy@@
<<elseif $tempSlave.lips >= 85 >>@@.yellow;Huge@@
<<elseif $tempSlave.lips >= 65 >>@@.yellow;Big@@
<<elseif $tempSlave.lips >= 35 >>@@.yellow;Plush@@
<<elseif $tempSlave.lips >= 15 >>@@.yellow;Normal@@
<<else>>@@.yellow;Thin@@
<</if>>
<<textbox "$tempSlave.lips" $tempSlave.lips>>
<br>
<<radiobutton "$tempSlave.lips" 0>> Thin
<<radiobutton "$tempSlave.lips" 15>> Normal
<<radiobutton "$tempSlave.lips" 35>> Plush
<<radiobutton "$tempSlave.lips" 65>> Big
<<radiobutton "$tempSlave.lips" 85>> Huge
<<radiobutton "$tempSlave.lips" 100>> Enormous facepussy
<br>
''Lip Implants (0 to 30): ''
<<switch $tempSlave.lipsImplant >>
<<case 0>> @@.yellow;None@@ |
<<case 10>>@@.yellow;Normal@@ |
<<case 20>>@@.yellow;Large@@ |
<<case 30>>@@.yellow;Enormous@@ |
<</switch>>
<<radiobutton "$tempSlave.lipsImplant" 0>> None
<<radiobutton "$tempSlave.lipsImplant" 10>> Normal
<<radiobutton "$tempSlave.lipsImplant" 20>> Large
<<radiobutton "$tempSlave.lipsImplant" 30>> Enormous
<br><br>
''Teeth: @@.yellow;$tempSlave.teeth@@ ''
<br>
<<if $tempSlave.physicalAge >= 12>>
<<radiobutton "$tempSlave.teeth" "normal">> Normal
<<elseif $tempSlave.physicalAge >= 6>>
<<radiobutton "$tempSlave.teeth" "mixed">> Mixed
<<else>>
<<radiobutton "$tempSlave.teeth" "baby">> Baby
<</if>>
<<radiobutton "$tempSlave.teeth" "pointy">> Pointy
<<radiobutton "$tempSlave.teeth" "crooked">> Crooked
<<radiobutton "$tempSlave.teeth" "gapped">> Gapped
<<radiobutton "$tempSlave.teeth" "straightening braces">> Straightening Braces
<<radiobutton "$tempSlave.teeth" "cosmetic braces">> Cosmetic Braces
<<radiobutton "$tempSlave.teeth" "removable">> Removable
<br><br>
''Voice: ''
<<switch $tempSlave.voice>>
<<case 0>>@@.yellow;Mute@@
<<case 1>>@@.yellow;Deep@@
<<case 2>>@@.yellow;Normal@@
<<case 3>>@@.yellow;High@@
<</switch>>
<br>
<<radiobutton "$tempSlave.voice" 0>> Mute
<<radiobutton "$tempSlave.voice" 1>> Deep
<<radiobutton "$tempSlave.voice" 2>> Normal
<<radiobutton "$tempSlave.voice" 3>> High
<br>
''Accent: ''
<<if $tempSlave.accent == 0>>@@.yellow;None@@
<<elseif $tempSlave.accent == 1>>@@.yellow;Distinctive@@
<<elseif $tempSlave.accent == 2>>@@.yellow;Thick@@
<<else>>@@.yellow;Barely Understands Language@@<</if>>
<br>
<<radiobutton "$tempSlave.accent" 0>> None
<<radiobutton "$tempSlave.accent" 1>> Distinctive
<<radiobutton "$tempSlave.accent" 2>> Thick
<<radiobutton "$tempSlave.accent" 3>> Barely Understands Language
<br>
''Sense of Taste: ''
<<switch $tempSlave.tastes>>
<<case 0>>@@.yellow;Normal@@
<<case -1>>@@.yellow;None@@
<</switch>>
<br>
<<radiobutton "$tempSlave.tastes" 0>> Normal
<<radiobutton "$tempSlave.tastes" -1>> None
<br>
<</widget>>
<<widget BodyTab>>
<br>
''Genes (XX:female, XY:male):'' @@.yellow;$tempSlave.genes@@
<<radiobutton "$tempSlave.genes" "XX">> Female
<<radiobutton "$tempSlave.genes" "XY">> Male
<br>
''Hormone Balance (<-400 to >+400): $tempSlave.hormoneBalance |''
<<textbox "$tempSlave.hormoneBalance" $tempSlave.hormoneBalance>>
<br>
<<radiobutton "$tempSlave.hormoneBalance" -400>> Overwhelmingly masculine
<<radiobutton "$tempSlave.hormoneBalance" -300>> Extremely masculine
<<radiobutton "$tempSlave.hormoneBalance" -200>> Heavily masculine
<<radiobutton "$tempSlave.hormoneBalance" -100>> Very masculine
<<radiobutton "$tempSlave.hormoneBalance" -20>> Masculine
<<radiobutton "$tempSlave.hormoneBalance" 0>> Neutral
<<radiobutton "$tempSlave.hormoneBalance" 20>> Feminine
<<radiobutton "$tempSlave.hormoneBalance" 100>> Very feminine
<<radiobutton "$tempSlave.hormoneBalance" 200>> Heavily feminine
<<radiobutton "$tempSlave.hormoneBalance" 300>> Extremely feminine
<<radiobutton "$tempSlave.hormoneBalance" 400>> Overwhelmingly feminine
<br><br>
''Muscles (-100 to 100):''
<<if $tempSlave.muscles <= -96>>@@.yellow;Frail@@
<<elseif $tempSlave.muscles <= -31>>@@.yellow;Very Weak@@
<<elseif $tempSlave.muscles <= -6>>@@.yellow;Rather Weak@@
<<elseif $tempSlave.muscles <= 5>>@@.yellow;Soft@@
<<elseif $tempSlave.muscles <= 30>>@@.yellow;Well Built@@
<<elseif $tempSlave.muscles <= 95>>@@.yellow;Quite Muscular@@
<<else>>@@.yellow;Extremely Muscular@@ <</if>>
<<textbox "$tempSlave.muscles" $tempSlave.muscles>>
<br>
<<radiobutton "$tempSlave.muscles" -98>> Frail
<<radiobutton "$tempSlave.muscles" -63>> Very Weak
<<radiobutton "$tempSlave.muscles" -18>> Rather Weak
<<radiobutton "$tempSlave.muscles" 0>> Soft
<<radiobutton "$tempSlave.muscles" 17>> Well Built
<<radiobutton "$tempSlave.muscles" 62>> Quite Muscular
<<radiobutton "$tempSlave.muscles" 97>> Extremely Muscular
<br><br>
''Weight (-100 to 200):''
<<if $tempSlave.weight > 190 >>
@@.red;extremely obese@@
<<elseif $tempSlave.weight > 160 >>
@@.red;very obese@@
<<elseif $tempSlave.weight > 130 >>
@@.red;obese@@
<<elseif $tempSlave.weight > 95>>
@@.red;overweight@@
<<elseif $tempSlave.weight > 30>>
@@.red;chubby@@
<<elseif $tempSlave.weight > 10 >>
@@.yellow;pleasingly curvy@@
<<elseif $tempSlave.weight >= -10>>
@@.yellow;neither too fat nor too skinny@@
<<elseif $tempSlave.weight >= -30>>
@@.yellow;pleasingly thin@@
<<elseif $tempSlave.weight >= -95>>
@@.red;too skinny@@
<<else>>
@@.red;emaciated@@
<</if>>
<<textbox "$tempSlave.weight" $tempSlave.weight>>
<br>
<<radiobutton "$tempSlave.weight" -100>> Emaciated
<<radiobutton "$tempSlave.weight" -50>> Skinny
<<radiobutton "$tempSlave.weight" -20>> Thin
<<radiobutton "$tempSlave.weight" 0>> Average
<<radiobutton "$tempSlave.weight" 20>> Curvy
<<radiobutton "$tempSlave.weight" 60>> Chubby
<<radiobutton "$tempSlave.weight" 115>> Overweight
<<radiobutton "$tempSlave.weight" 145>> Obese
<<radiobutton "$tempSlave.weight" 175>> Very Obese
<<radiobutton "$tempSlave.weight" 200>> Extremely Obese
<br>
''Waist (Masculine:100 | Ugly:55 | Unattractive:15 | Average:0 | Feminine:-15 | hourglass:-55 | Absurd:-100): ''
<<if $tempSlave.waist > 95 >>
@@.red;Masculine@@ |
<<elseif $tempSlave.waist > 40 >>
@@.red;Ugly@@ |
<<elseif $tempSlave.waist > 10 >>
@@.red;Unattractive@@ |
<<elseif $tempSlave.waist >= -10>>
@@.yellow;Average@@ |
<<elseif $tempSlave.waist >= -40>>
@@.pink;Feminine@@ |
<<elseif $tempSlave.waist >= -95 >>
@@.pink;Hourglass@@ |
<<else>>
@@.pink;Absurd@@ |
<</if>>
<<textbox "$tempSlave.waist" $tempSlave.waist>>
<br>
<<radiobutton "$tempSlave.waist" 100>> Masculine
<<radiobutton "$tempSlave.waist" 55>> Ugly
<<radiobutton "$tempSlave.waist" 15>> Unattractive
<<radiobutton "$tempSlave.waist" 0>> Average
<<radiobutton "$tempSlave.waist" -15>> Feminine
<<radiobutton "$tempSlave.waist" -55>> Hourglass
<<radiobutton "$tempSlave.waist" -100>> Absurd
<br><br>
''Height:''
<<if $tempSlave.height <= 149>>@@.yellow;Petite@@
<<elseif $tempSlave.height <= 159>>@@.yellow;Short@@
<<elseif $tempSlave.height <= 169>>@@.yellow;Average@@
<<elseif $tempSlave.height <= 184>>@@.yellow;Tall@@
<<else>>@@.yellow;very Tall@@ <</if>>
<<textbox "$tempSlave.height" $tempSlave.height>>
<br>
(149 or lower: Petite, 150-159: Short, 160-169: Average, 170-184: Tall, 185 or higher: Very Tall)
<br><br>
''Shoulders (-2 to 2): ''
<<switch $tempSlave.shoulders>>
<<case -2>>@@.yellow;Very narrow@@
<<case -1>>@@.yellow;Narrow@@
<<case 0>>@@.yellow;Normal@@
<<case 1>>@@.yellow;Broad@@
<<case 2>>@@.yellow;Very broad@@
<</switch>>
<<radiobutton "$tempSlave.shoulders" -2>> Very narrow
<<radiobutton "$tempSlave.shoulders" -1>> Narrow
<<radiobutton "$tempSlave.shoulders" 0>> Normal
<<radiobutton "$tempSlave.shoulders" 1>> Broad
<<radiobutton "$tempSlave.shoulders" 2>> Very broad
<br>
''Hips (-2 to 2): ''
<<switch $tempSlave.hips>>
<<case -2>>@@.yellow;Very narrow@@
<<case -1>>@@.yellow;Narrow@@
<<case 0>>@@.yellow;Normal@@
<<case 1>>@@.yellow;Broad@@
<<case 2>>@@.yellow;Very broad@@
<</switch>>
<<radiobutton "$tempSlave.hips" -2>> Very narrow
<<radiobutton "$tempSlave.hips" -1>> Narrow
<<radiobutton "$tempSlave.hips" 0>> Normal
<<radiobutton "$tempSlave.hips" 1>> Broad
<<radiobutton "$tempSlave.hips" 2>> Very broad
<br>
<</widget>>
<<widget BellyTab>>
<br><br>
''Belly sagging:''@@.yellow;$tempSlave.bellySag@@ <br>
<<textbox "$tempSlave.bellySag" $tempSlave.bellySag>>
<br><br>
<</widget>>
<<widget BreastsTab>>
<br>
''Breasts (200 to 50000):''
<<textbox "$tempSlave.boobs" $tempSlave.boobs>>
<br>
''Breast Implants:''
<<textbox "$tempSlave.boobsImplant" $tempSlave.boobsImplant>>
<br>
''Breast Implant Type: @@.yellow;$tempSlave.boobsImplantType@@''
<<radiobutton "$tempSlave.boobsImplantType" "none">> None
<<radiobutton "$tempSlave.boobsImplantType" "normal">> Normal
<<radiobutton "$tempSlave.boobsImplantType" "string">> String
<<radiobutton "$tempSlave.boobsImplantType" "fillable">> Fillable
<<radiobutton "$tempSlave.boobsImplantType" "advanced fillable">> Advanced Fillable
<<radiobutton "$tempSlave.boobsImplantType" "hyper fillable">> Hyper Fillable
<br>
''Lactation (none:0 | natural:1 | artificial:2):''
<<switch $tempSlave.lactation>>
<<case 0>>@@.yellow;None@@
<<case 1>>@@.yellow;Natural@@
<<case 2>>@@.yellow;Artificial@@
<</switch>>
<br>
<<radiobutton "$tempSlave.lactation" 0>> None
<<radiobutton "$tempSlave.lactation" 1>> Natural
<<radiobutton "$tempSlave.lactation" 2>> Artificial
<br>
''Lactation Adaptation (0 to 100): $tempSlave.lactationAdaptation |''
<<textbox "$tempSlave.lactationAdaptation" $tempSlave.lactationAdaptation>>
<br><br>
''Breast Shape: @@.yellow;$tempSlave.boobShape@@''
<br>
<<radiobutton "$tempSlave.boobShape" "normal">> Normal
<<radiobutton "$tempSlave.boobShape" "perky">> Perky
<<radiobutton "$tempSlave.boobShape" "torpedo-shaped">> Torpedo-Shaped
<<radiobutton "$tempSlave.boobShape" "wide-set">> Wide-Set
<<radiobutton "$tempSlave.boobShape" "downward-facing">> Downward-Facing
<<radiobutton "$tempSlave.boobShape" "saggy">> Saggy
<br>
''Nipples: @@.yellow;$tempSlave.nipples@@ |''
<<radiobutton "$tempSlave.nipples" "tiny">> Tiny
<<radiobutton "$tempSlave.nipples" "cute">> Cute
<<radiobutton "$tempSlave.nipples" "puffy">> Puffy
<<radiobutton "$tempSlave.nipples" "partially inverted">> Partially Inverted
<<radiobutton "$tempSlave.nipples" "inverted">> Inverted
<<radiobutton "$tempSlave.nipples" "huge">> Huge
<<radiobutton "$tempSlave.nipples" "fuckable">> Penetrable
<br>
''Areolae Size (Normal:0 to Massive:4): ''
<<switch $tempSlave.areolae>>
<<case 0>>@@.yellow;Normal@@
<<case 1>>@@.yellow;Large@@
<<case 2>>@@.yellow;Wide@@
<<case 3>>@@.yellow;Huge@@
<<case 4>>@@.yellow;Massive@@
<</switch>>
<br>
<<radiobutton "$tempSlave.areolae" 0>> Normal
<<radiobutton "$tempSlave.areolae" 1>> Large
<<radiobutton "$tempSlave.areolae" 2>> Wide
<<radiobutton "$tempSlave.areolae" 3>> Huge
<<radiobutton "$tempSlave.areolae" 4>> Massive
<br>
''Areolae Shape:''
<<textbox "$tempSlave.areolaeShape" $tempSlave.areolaeShape>>
<br>
<</widget>>
<<widget ButtTab>>
<br>
''Butt Size (1 to 7): ''
<<textbox "$tempSlave.butt" $tempSlave.butt>>
<br>
''Butt Implants (0,1,2,3): |
<<switch $tempSlave.buttImplant>>
<<case 0>>@@.yellow;None@@
<<case 1>>@@.yellow;Normal@@
<<case 2>>@@.yellow;Large@@
<<case 3>>@@.yellow;Huge@@
<</switch>>
<<radiobutton "$tempSlave.buttImplant" 0>> None
<<radiobutton "$tempSlave.buttImplant" 1>> Normal
<<radiobutton "$tempSlave.buttImplant" 2>> Large
<<radiobutton "$tempSlave.buttImplant" 3>> Huge
<br>
''Butt Implant Type: @@.yellow;$tempSlave.buttImplantType@@''
<<radiobutton "$tempSlave.buttImplantType" "None">> None
<<radiobutton "$tempSlave.buttImplantType" "normal">> Normal
<<radiobutton "$tempSlave.buttImplantType" "string">> String
<<radiobutton "$tempSlave.buttImplantType" "fillable">> Fillable
<<radiobutton "$tempSlave.buttImplantType" "advanced fillable">> Advanced Fillable
<<radiobutton "$tempSlave.buttImplantType" "hyper fillable">> Hyper Fillable
<br><br>
''Anus Size:''
<<if $tempSlave.anus == 0>>@@.lime;Virgin.@@
<<elseif $tempSlave.anus == 1>>@@.yellow;Normal@@.
<<elseif $tempSlave.anus == 2>>@@.yellow;Veteran@@.
<<else>>@@.yellow;Gaping@@.
<</if>>
<br>
<<radiobutton "$tempSlave.anus" 0>> Virgin
<<radiobutton "$tempSlave.anus" 1>> Normal
<<radiobutton "$tempSlave.anus" 2>> Veteran
<<radiobutton "$tempSlave.anus" 3>> Gaping
<br>
<</widget>>
<<widget VagTab>>
<br>
''Vagina (no vagina:-1,0,1,2,3):''
<<if $tempSlave.vagina == -1>>
//No vagina.//
<<elseif $tempSlave.vagina == 0>>
@@.lime;Virgin@@.
<<elseif $tempSlave.vagina == 1>>
@@.yellow;Normal@@.
<<elseif $tempSlave.vagina == 2>>
@@.yellow;Veteran@@.
<<else>>
@@.yellow;Gaping@@.
<</if>>
<br>
<<radiobutton "$tempSlave.vagina" -1>> No vagina
<<radiobutton "$tempSlave.vagina" 0>> Virgin
<<radiobutton "$tempSlave.vagina" 1>> Normal
<<radiobutton "$tempSlave.vagina" 2>> Veteran
<<radiobutton "$tempSlave.vagina" 3>> Gaping
<br>
''Vagina Wetness (0,1,2):''
<<if $tempSlave.vaginaLube == 0>>
@@.yellow;Dry@@.
<<elseif $tempSlave.vaginaLube == 1>>
@@.yellow;Normal@@.
<<else>>
@@.yellow;Excessive@@.
<</if>>
<br>
<<radiobutton "$tempSlave.vaginaLube" 0>> Dry
<<radiobutton "$tempSlave.vaginaLube" 1>> Normal
<<radiobutton "$tempSlave.vaginaLube" 2>> Excessive
<br>
''Clit:''
<<if $tempSlave.clit == 0>>
@@.yellow;Normal.@@ |
<<elseif $tempSlave.clit == 1>>
@@.yellow;Big.@@ |
<<elseif $tempSlave.clit == 2>>
@@.yellow;Huge.@@ |
<<elseif $tempSlave.clit == 3>>
@@.yellow;Enormous.@@ |
<<elseif $tempSlave.clit == 4>>
@@.yellow;Dick-like.@@ |
<<else>>
@@.yellow;Might as well be a big dick.@@ |
<</if>>
<<radiobutton "$tempSlave.clit" 0>> Normal
<<radiobutton "$tempSlave.clit" 1>> Large
<<radiobutton "$tempSlave.clit" 2>> Huge
<<radiobutton "$tempSlave.clit" 3>> Enormous
<<radiobutton "$tempSlave.clit" 4>> Dick-like
<<radiobutton "$tempSlave.clit" 5>> Like a huge dick
<br>
''Labia:''
<<if $tempSlave.labia == 0>>
@@.yellow;Minimal.@@ |
<<elseif $tempSlave.labia == 1>>
@@.yellow;Normal.@@ |
<<elseif $tempSlave.labia == 2>>
@@.yellow;Large.@@ |
<<else>>
@@.yellow;Huge.@@ |
<</if>>
<<radiobutton "$tempSlave.labia" 0>> Minimal
<<radiobutton "$tempSlave.labia" 1>> Normal
<<radiobutton "$tempSlave.labia" 2>> Large
<<radiobutton "$tempSlave.labia" 3>> Huge
<br><br>
''Puberty (pre: 0 | post: 1):''
<<if ($tempSlave.pubertyXX == 1)||(ndef $tempSlave.pubertyXX)>>
@@.yellow;Post puberty@@
<<checkbox "$tempSlave.pubertyXX" 0 1 checked>>
<<else>>
@@.yellow;Pre puberty@@
<<checkbox "$tempSlave.pubertyXX" 0 1>>
<</if>>
<br>
''Puberty Age:'' @@.yellow;$tempSlave.pubertyAgeXX@@
<<textbox "$tempSlave.pubertyAgeXX" $tempSlave.pubertyAgeXX>>
<br>
''C-Section scar:''
<<if $tempSlave.scar.hasOwnProperty("belly") && $tempSlave.scar.belly["c-section"] > 0>>
@@.yellow;true@@
<<link "Remove">>
<<run App.Medicine.Modification.removeScar($tempSlave, "belly", "c-section")>>
<</link>>
<<else>>
@@.yellow;false@@
<<link "Add">>
<<run App.Medicine.Modification.addScar($tempSlave, "belly", "c-section")>>
<</link>>
<</if>>
<br>
''Breeding mark (only for Eugenic Societies):''
<<if $tempSlave.breedingMark == 1>>
@@.yellow;true@@
<<checkbox "$tempSlave.breedingMark" 0 1 checked>>
<<else>>
@@.yellow;false@@
<<checkbox "$tempSlave.breedingMark" 0 1>>
<</if>>
<br><br>
''Ovaries (none: 0 | exist: 1):''
<<if $tempSlave.ovaries == 1>>
@@.yellow;exist@@
<<checkbox "$tempSlave.ovaries" 0 1 checked>>
<<else>>
@@.yellow;none@@
<<checkbox "$tempSlave.ovaries" 0 1>>
<</if>>
<br>
''Pregnancy Level (-2: sterile, -1: contraceptives, 0: not pregnant, 1 to 25: pregnant):''
<<if $tempSlave.preg > 20>>
@@.yellow;Advanced@@.
<<elseif $tempSlave.preg > 5>>
@@.yellow;Early@@.
<<elseif $tempSlave.preg == 0>>
@@.yellow;None@@.
<<elseif $tempSlave.preg == -1>>
@@.yellow;Using contraceptives@@.
<<else>>
@@.yellow;Sterile@@.
<</if>>
<<textbox "$tempSlave.preg" $tempSlave.preg>>
<br>
''Pregnancy Week (Literal number of weeks pregnant):''
<<textbox "$tempSlave.pregWeek" $tempSlave.pregWeek>>
<br>
''Number of babies (0: none, 1 - 5):''
<<if $tempSlave.pregType == 1>>
@@.yellow;A single baby@@.
<<elseif $tempSlave.pregType == 2>>
@@.yellow;Twins@@.
<<elseif $tempSlave.pregType == 3>>
@@.yellow;Triplets@@.
<<elseif $tempSlave.pregType == 4>>
@@.yellow;Quadruplets@@.
<<elseif $tempSlave.pregType > 4>>
@@.yellow;Quintuplets@@.
<<else>>
@@.yellow;None@@.
<</if>>
<<textbox "$tempSlave.pregType" $tempSlave.pregType>>
<br>
<<radiobutton "$tempSlave.pregType" 0>> None
<<radiobutton "$tempSlave.pregType" 1>> Single
<<radiobutton "$tempSlave.pregType" 2>> Twins
<<radiobutton "$tempSlave.pregType" 3>> Triplets
<<radiobutton "$tempSlave.pregType" 4>> Quadruplets
<<radiobutton "$tempSlave.pregType" 5>> Quintuplets
<br>
''Father (0: none, -1: you, -2: unknown, slave ID):''
<<textbox "$tempSlave.pregSource" $tempSlave.pregSource>>
<br>
<</widget>>
<<widget PenisTab>>
<br>
''Penis (none:0, 1 to 10):''
<<if $tempSlave.dick == 0>>
@@.yellow;None@@.
<<elseif $tempSlave.dick == 1>>
@@.yellow;Tiny@@.
<<elseif $tempSlave.dick == 2>>
@@.yellow;Small@@.
<<elseif $tempSlave.dick == 3>>
@@.yellow;Normal@@.
<<elseif $tempSlave.dick == 4>>
@@.yellow;Large@@.
<<elseif $tempSlave.dick == 5>>
@@.yellow;Massive@@.
<<elseif $tempSlave.dick == 6>>
@@.yellow;Huger@@
<<elseif $tempSlave.dick == 7>>
@@.yellow;Still huge@@.
<<elseif $tempSlave.dick == 8>>
@@.yellow;Enormous@@.
<<elseif $tempSlave.dick == 9>>
@@.yellow;Monstrous@@.
<<else>>
@@.yellow;Big McLargeHuge@@.
<</if>>
<<textbox "$tempSlave.dick" $tempSlave.dick>>
<br>
<<radiobutton "$tempSlave.dick" 0>> None
<<radiobutton "$tempSlave.dick" 1>> Tiny
<<radiobutton "$tempSlave.dick" 2>> Small
<<radiobutton "$tempSlave.dick" 3>> Normal
<<radiobutton "$tempSlave.dick" 4>> Large
<<radiobutton "$tempSlave.dick" 5>> Massive
<<radiobutton "$tempSlave.dick" 6>> Huge
<<radiobutton "$tempSlave.dick" 7>> More Huge
<<radiobutton "$tempSlave.dick" 8>> Enormous
<<radiobutton "$tempSlave.dick" 9>> Monstrous
<<radiobutton "$tempSlave.dick" 10>> Big McLargeHuge
<br>
''Foreskin also Clithood if there is no Dick (0 to 10):''
<<if $tempSlave.foreskin == 0>> @@.yellow;None@@.
<<elseif $tempSlave.foreskin == 1>> @@.yellow;Tiny@@.
<<elseif $tempSlave.foreskin == 2>> @@.yellow;Small@@.
<<elseif $tempSlave.foreskin == 3>> @@.yellow;Normal@@.
<<elseif $tempSlave.foreskin == 4>> @@.yellow;Large@@.
<<elseif $tempSlave.foreskin == 5>> @@.yellow;Massive@@.
<<elseif $tempSlave.foreskin == 6>> @@.yellow;Huger@@
<<elseif $tempSlave.foreskin == 7>> @@.yellow;Still huge@@.
<<elseif $tempSlave.foreskin == 8>> @@.yellow;Enormous@@.
<<elseif $tempSlave.foreskin == 9>> @@.yellow;Monstrous@@.
<<else>> @@.yellow;Big McLargeHuge@@.
<</if>>
<<textbox "$tempSlave.foreskin" $tempSlave.foreskin>>
<br>
<<radiobutton "$tempSlave.foreskin" 0>> None
<<radiobutton "$tempSlave.foreskin" 1>> Vestigial
<<radiobutton "$tempSlave.foreskin" 2>> Small
<<radiobutton "$tempSlave.foreskin" 3>> Normal
<<radiobutton "$tempSlave.foreskin" 4>> Large
<<radiobutton "$tempSlave.foreskin" 5>> Massive
<<radiobutton "$tempSlave.foreskin" 6>> Huge
<<radiobutton "$tempSlave.foreskin" 7>> More Huge
<<radiobutton "$tempSlave.foreskin" 8>> Enormous
<<radiobutton "$tempSlave.foreskin" 9>> Monstrous
<<radiobutton "$tempSlave.foreskin" 10>> Big McLargeHuge
<br><br>
''Testicles (0 to 6):''
<<if $tempSlave.balls == 0>>
@@.yellow;None@@.
<<elseif $tempSlave.balls == 1>>
@@.yellow;Vestigial@@.
<<elseif $tempSlave.balls == 2>>
@@.yellow;Small@@.
<<elseif $tempSlave.balls == 3>>
@@.yellow;Normal@@.
<<elseif $tempSlave.balls == 4>>
@@.yellow;Large@@.
<<elseif $tempSlave.balls == 5>>
@@.yellow;Huge@@.
<<else>>
@@.yellow;Titanic@@.
<</if>>
<<textbox "$tempSlave.balls" $tempSlave.balls>>
<br>
<<radiobutton "$tempSlave.balls" 0>> None / Invisible
<<radiobutton "$tempSlave.balls" 1>> Vestigial
<<radiobutton "$tempSlave.balls" 2>> Small
<<radiobutton "$tempSlave.balls" 3>> Normal
<<radiobutton "$tempSlave.balls" 4>> Large
<<radiobutton "$tempSlave.balls" 5>> Huge
<<radiobutton "$tempSlave.balls" 6>> Titanic
<br>
''Ballsack (0 to 8):''
<<if $tempSlave.scrotum == 0>>
@@.yellow;None@@.
<<elseif $tempSlave.scrotum == 1>>
@@.yellow;Vestigial@@.
<<elseif $tempSlave.scrotum == 2>>
@@.yellow;Small@@.
<<elseif $tempSlave.scrotum == 3>>
@@.yellow;Normal@@.
<<elseif $tempSlave.scrotum == 4>>
@@.yellow;Large@@.
<<elseif $tempSlave.scrotum == 5>>
@@.yellow;Huge@@.
<<elseif $tempSlave.scrotum == 6>>
@@.yellow;Massive@@.
<<elseif $tempSlave.scrotum == 7>>
@@.yellow;Enormous@@.
<<else>>
@@.yellow;Monstrous@@.
<</if>>
<<textbox "$tempSlave.scrotum" $tempSlave.scrotum>>
<br>
<<radiobutton "$tempSlave.scrotum" 0>> None
<<radiobutton "$tempSlave.scrotum" 1>> Vestigial
<<radiobutton "$tempSlave.scrotum" 2>> Small
<<radiobutton "$tempSlave.scrotum" 3>> Normal
<<radiobutton "$tempSlave.scrotum" 4>> Large
<<radiobutton "$tempSlave.scrotum" 5>> Huge
<<radiobutton "$tempSlave.scrotum" 6>> Massive
<<radiobutton "$tempSlave.scrotum" 7>> Enormous
<<radiobutton "$tempSlave.scrotum" 8>> Monstrous
<br><br>
''Prostate (0: no prostate, 1:prostate, 2:hyperactive, 3:hyperactive-modified):''
<<switch $tempSlave.prostate>>
<<case 0>> @@.yellow;No prostate@@
<<case 1>> @@.yellow;Prostate@@
<<case 2>> @@.yellow;Hyperactive prostate@@
<<case 3>> @@.yellow;Hyperactive modified prostate@@
<</switch>>
<br>
<<radiobutton "$tempSlave.prostate" 0>> No prostate
<<radiobutton "$tempSlave.prostate" 1>> Prostate
<<radiobutton "$tempSlave.prostate" 2>> Hyperactive prostate
<<radiobutton "$tempSlave.prostate" 3>> Hyperactive modified prostate
<br>
''Puberty (pre: 0 | post: 1):''
<<if ($tempSlave.pubertyXY == 1)||(ndef $tempSlave.pubertyXY)>>
@@.yellow;Post puberty@@
<<checkbox "$tempSlave.pubertyXY" 0 1 checked>>
<<else>>
@@.yellow;Pre puberty@@
<<checkbox "$tempSlave.pubertyXY" 0 1>>
<</if>>
<br>
''Puberty Age:'' @@.yellow;$tempSlave.pubertyAgeXY@@
<<textbox "$tempSlave.pubertyAgeXY" $tempSlave.pubertyAgeXY>>
<br>
<</widget>>
<<widget SkillsTab>>
<br>
''Oral sex (0 to 100):''
<<if $tempSlave.skill.oral <= 10>>
@@.yellow;Unskilled@@.
<<elseif $tempSlave.skill.oral <= 30>>
@@.cyan;Basic.@@
<<elseif $tempSlave.skill.oral <= 60>>
@@.cyan;Skilled.@@
<<elseif $tempSlave.skill.oral < 100>>
@@.cyan;Expert.@@
<<else>>
@@.cyan;Masterful.@@
<</if>>
<<textbox "$tempSlave.skill.oral" $tempSlave.skill.oral>>
<br>
<<radiobutton "$tempSlave.skill.oral" 0>> Unskilled
<<radiobutton "$tempSlave.skill.oral" 15>> Basic
<<radiobutton "$tempSlave.skill.oral" 35>> Skilled
<<radiobutton "$tempSlave.skill.oral" 65>> Expert
<<radiobutton "$tempSlave.skill.oral" 100>> Masterful
<<if $tempSlave.vagina > -1>>
<br>
''Vaginal sex (0 to 100):''
<<if $tempSlave.skill.vaginal <= 10>>
@@.yellow;Unskilled@@.
<<elseif $tempSlave.skill.vaginal <= 30>>
@@.cyan;Basic.@@
<<elseif $tempSlave.skill.vaginal <= 60>>
@@.cyan;Skilled.@@
<<elseif $tempSlave.skill.vaginal < 100>>
@@.cyan;Expert.@@
<<else>>
@@.cyan;Masterful.@@
<</if>>
<<textbox "$tempSlave.skill.vaginal" $tempSlave.skill.vaginal>>
<br>
<<radiobutton "$tempSlave.skill.vaginal" 0>> Unskilled
<<radiobutton "$tempSlave.skill.vaginal" 15>> Basic
<<radiobutton "$tempSlave.skill.vaginal" 35>> Skilled
<<radiobutton "$tempSlave.skill.vaginal" 65>> Expert
<<radiobutton "$tempSlave.skill.vaginal" 100>> Masterful
<</if>>
<br>
''Anal sex (0 to 100):''
<<if $tempSlave.skill.anal <= 10>>
@@.yellow;Unskilled@@.
<<elseif $tempSlave.skill.anal <= 30>>
@@.cyan;Basic.@@
<<elseif $tempSlave.skill.anal <= 60>>
@@.cyan;Skilled.@@
<<elseif $tempSlave.skill.anal < 100>>
@@.cyan;Expert.@@
<<else>>
@@.cyan;Masterful.@@
<</if>>
<<textbox "$tempSlave.skill.anal" $tempSlave.skill.anal>>
<br>
<<radiobutton "$tempSlave.skill.anal" 0>> Unskilled
<<radiobutton "$tempSlave.skill.anal" 15>> Basic
<<radiobutton "$tempSlave.skill.anal" 35>> Skilled
<<radiobutton "$tempSlave.skill.anal" 65>> Expert
<<radiobutton "$tempSlave.skill.anal" 100>> Masterful
<br>
''Prostitution (0 to 100):''
<<if $tempSlave.skill.whoring <= 10>>
@@.yellow;Unskilled@@.
<<elseif $tempSlave.skill.whoring <= 30>>
@@.cyan;Basic.@@
<<elseif $tempSlave.skill.whoring <= 60>>
@@.cyan;Skilled.@@
<<elseif $tempSlave.skill.whoring < 100>>
@@.cyan;Expert.@@
<<else>>
@@.cyan;Masterful.@@
<</if>>
<<textbox "$tempSlave.skill.whoring" $tempSlave.skill.whoring>>
<br>
<<radiobutton "$tempSlave.skill.whoring" 0>> Unskilled
<<radiobutton "$tempSlave.skill.whoring" 15>> Basic
<<radiobutton "$tempSlave.skill.whoring" 35>> Skilled
<<radiobutton "$tempSlave.skill.whoring" 65>> Expert
<<radiobutton "$tempSlave.skill.whoring" 100>> Masterful
<br>
''Entertainment (0 to 100):''
<<if $tempSlave.skill.entertainment <= 10>>
@@.yellow;Unskilled@@.
<<elseif $tempSlave.skill.entertainment <= 30>>
@@.cyan;Basic.@@
<<elseif $tempSlave.skill.entertainment <= 60>>
@@.cyan;Skilled.@@
<<elseif $tempSlave.skill.entertainment < 100>>
@@.cyan;Expert.@@
<<else>>
@@.cyan;Masterful.@@
<</if>>
<<textbox "$tempSlave.skill.entertainment" $tempSlave.skill.entertainment>>
<br>
<<radiobutton "$tempSlave.skill.entertainment" 0>> Unskilled
<<radiobutton "$tempSlave.skill.entertainment" 15>> Basic
<<radiobutton "$tempSlave.skill.entertainment" 35>> Skilled
<<radiobutton "$tempSlave.skill.entertainment" 65>> Expert
<<radiobutton "$tempSlave.skill.entertainment" 100>> Masterful
<br>
''Combat (0,1):''
<<if $tempSlave.skill.combat == 0>>
@@.yellow;Unskilled@@.
<<else>>
@@.cyan;Skilled.@@
<</if>>
<<radiobutton "$tempSlave.skill.combat" 0>> Unskilled
<<radiobutton "$tempSlave.skill.combat" 1>> Skilled
<br>
<</widget>>
<<widget InteliTab>>
<br>
''Intelligence (-100 to 100):''
<<if $tempSlave.intelligence > 95>>
@@.deepskyblue;Brilliant.@@
<<elseif $tempSlave.intelligence > 50>>
@@.deepskyblue;Very Smart.@@
<<elseif $tempSlave.intelligence > 15>>
@@.deepskyblue;Smart.@@
<<elseif $tempSlave.intelligence >= -15>>
@@.yellow;Average@@.
<<elseif $tempSlave.intelligence >= -50>>
@@.orangered;Stupid.@@
<<elseif $tempSlave.intelligence >= -95>>
@@.orangered;Very Stupid.@@
<<else>>
@@.orangered;Moronic.@@
<</if>>
<<textbox "$tempSlave.intelligence" $tempSlave.intelligence>>
<br>
<<radiobutton "$tempSlave.intelligence" -100>> Moronic
<<radiobutton "$tempSlave.intelligence" -60>> Very Stupid
<<radiobutton "$tempSlave.intelligence" -30>> Stupid
<<radiobutton "$tempSlave.intelligence" 0>> Average
<<radiobutton "$tempSlave.intelligence" 30>> Smart
<<radiobutton "$tempSlave.intelligence" 60>> Very Smart
<<radiobutton "$tempSlave.intelligence" 100>> Brilliant
<br>
''Education (0 to 30):''
<<if $tempSlave.intelligenceImplant >= 30>>
@@.deepskyblue;Well Educated.@@
<<elseif $tempSlave.intelligenceImplant >= 15>>
@@.deepskyblue;Educated.@@
<<else>>
@@.yellow;Uneducated@@.
<</if>>
<<radiobutton "$tempSlave.intelligenceImplant" 0>> Uneducated
<<radiobutton "$tempSlave.intelligenceImplant" 15>> Educated
<<radiobutton "$tempSlave.intelligenceImplant" 30>> Well Educated
<br>
<</widget>>
<<widget FetSexTab>>
<br>
''Fetish Known: ''
<<if $tempSlave.fetishKnown == 0>>
@@.yellow;Unknown@@
<<checkbox "$tempSlave.fetishKnown" 0 1>>
<<else>>
@@.yellow;Known@@
<<checkbox "$tempSlave.fetishKnown" 0 1 checked>>
<</if>>
<br>
<<if $tempSlave.fetish == "none">>
''Fetish:'' @@.pink;$tempSlave.fetish.@@
<<else>>
''Fetish:'' @@.lightcoral;$tempSlave.fetish.@@
<</if>>
<br>
<<radiobutton "$tempSlave.fetish" "none">> None
<<radiobutton "$tempSlave.fetish" "submissive">> Submissive
<<radiobutton "$tempSlave.fetish" "dom">> Dom
<<radiobutton "$tempSlave.fetish" "cumslut">> Cumslut
<<radiobutton "$tempSlave.fetish" "humiliation">> Humiliation
<<radiobutton "$tempSlave.fetish" "buttslut">> Buttslut
<<radiobutton "$tempSlave.fetish" "boobs">> Boobs
<<radiobutton "$tempSlave.fetish" "pregnancy">> Pregnancy
<<radiobutton "$tempSlave.fetish" "sadist">> Sadist
<<radiobutton "$tempSlave.fetish" "masochist">> Masochist
<br>
''Fetish strength (0 to 100):''
<<if $tempSlave.fetishStrength > 95>>
@@.lightcoral;High.@@
<<elseif $tempSlave.fetishStrength <= 60>>
@@.pink;Low.@@
<<else>>
@@.hotpink;Normal.@@
<</if>>
<<textbox "$tempSlave.fetishStrength" $tempSlave.fetishStrength>>
<br>
<<radiobutton "$tempSlave.fetishStrength" 0>> Low
<<radiobutton "$tempSlave.fetishStrength" 70>> Normal
<<radiobutton "$tempSlave.fetishStrength" 100>> High
<br><br>
''Sexuality (unknown:0 | known:1): ''
<<if $tempSlave.attrKnown == 0>>
@@.yellow;Unknown@@
<<checkbox "$tempSlave.attrKnown" 0 1>>
<<else>>
@@.yellow;Known@@
<<checkbox "$tempSlave.attrKnown" 0 1 checked>>
<</if>>
<br>
''Male Attraction (0 - 100):''
<<if $tempSlave.attrXY <= 5>>
@@.red;Disgusted by guys,@@
<<elseif $tempSlave.attrXY <= 15>>
@@.red;Turned off by guys,@@
<<elseif $tempSlave.attrXY <= 35>>
@@.red;Not attracted to guys,@@
<<elseif $tempSlave.attrXY <= 65>>
Indifferent to guys,
<<elseif $tempSlave.attrXY <= 85>>
@@.green;Attracted to guys,@@
<<elseif $tempSlave.attrXY <= 95>>
@@.green;Aroused by guys,@@
<<else>>
@@.green;Passionate about guys,@@
<</if>>
<<textbox "$tempSlave.attrXY" $tempSlave.attrXY>>
<br>
<<radiobutton "$tempSlave.attrXY" 0>> Disgusted by guys
<<radiobutton "$tempSlave.attrXY" 10>> Turned off by guys
<<radiobutton "$tempSlave.attrXY" 20>> Not attracted to guys
<<radiobutton "$tempSlave.attrXY" 50>> Indifferent to guys
<<radiobutton "$tempSlave.attrXY" 80>> Attracted to guys
<<radiobutton "$tempSlave.attrXY" 90>> Aroused by guys
<<radiobutton "$tempSlave.attrXY" 100>> Passionate about guys
<br>
''Female Attraction (0 - 100):''
<<if $tempSlave.attrXX <= 5>>
@@.red;disgusted by girls.@@
<<elseif $tempSlave.attrXX <= 15>>
@@.red;turned off by girls.@@
<<elseif $tempSlave.attrXX <= 35>>
@@.red;not attracted to girls.@@
<<elseif $tempSlave.attrXX <= 65>>
indifferent to girls.
<<elseif $tempSlave.attrXX <= 85>>
@@.green;attracted to girls.@@
<<elseif $tempSlave.attrXX <= 95>>
@@.green;aroused by girls.@@
<<else>>
@@.green;passionate about girls.@@
<</if>>
<<textbox "$tempSlave.attrXX" $tempSlave.attrXX>>
<br>
<<radiobutton "$tempSlave.attrXX" 0>> Disgusted by girls
<<radiobutton "$tempSlave.attrXX" 10>> Turned off by girls
<<radiobutton "$tempSlave.attrXX" 20>> Not attracted to girls
<<radiobutton "$tempSlave.attrXX" 50>> Indifferent to girls
<<radiobutton "$tempSlave.attrXX" 80>> Attracted to girls
<<radiobutton "$tempSlave.attrXX" 90>> Aroused by girls
<<radiobutton "$tempSlave.attrXX" 100>> Passionate about girls
<br>
''Sex drive (0 - 100):''
<<if $tempSlave.energy == 100>>
@@.green;Nympho!@@
<<elseif $tempSlave.energy > 80>>
@@.green;Sex addict.@@
<<elseif $tempSlave.energy > 60>>
@@.green;Powerful.@@
<<elseif $tempSlave.energy > 40>>
@@.yellow;Average.@@
<<elseif $tempSlave.energy > 20>>
@@.red;Poor.@@
<<else>>
@@.red;Frigid.@@
<</if>>
<<textbox "$tempSlave.energy" $tempSlave.energy>>
<br>
<</widget>>
<<widget StatisticTab>>
<br>
''Penetrative Sex: ''@@.yellow;$tempSlave.counter.penetrative@@ |
<<textbox "$tempSlave.counter.penetrative" $tempSlave.counter.penetrative>><br>
''Oral Sex: ''@@.yellow;$tempSlave.counter.oral@@ |
<<textbox "$tempSlave.counter.oral" $tempSlave.counter.oral>><br>
''Vaginal Sex: ''@@.yellow;$tempSlave.counter.vaginal@@ |
<<textbox "$tempSlave.counter.vaginal" $tempSlave.counter.vaginal>><br>
''Anal Sex: ''@@.yellow;$tempSlave.counter.anal@@ |
<<textbox "$tempSlave.counter.anal" $tempSlave.counter.anal>><br>
''Public Sex: ''@@.yellow;$tempSlave.counter.publicUse@@ |
<<textbox "$tempSlave.counter.publicUse" $tempSlave.counter.publicUse>><br>
''Titjobs: ''@@.yellow;$tempSlave.counter.mammary@@ |
<<textbox "$tempSlave.counter.mammary" $tempSlave.counter.mammary>><br>
<br>
''Total Births: ''@@.yellow;$tempSlave.counter.birthsTotal@@ |
<<textbox "$tempSlave.counter.birthsTotal" $tempSlave.counter.birthsTotal>><br>
<</widget>>
<<widget FlaQuiTab>>
<br>
''Behavioral Flaw:''
<<if $tempSlave.behavioralFlaw == "none">>
//$tempSlave.behavioralFlaw.//
<<else>>
@@.red;$tempSlave.behavioralFlaw.@@
<</if>>
<br>
<<radiobutton "$tempSlave.behavioralFlaw" "none">> None
<<radiobutton "$tempSlave.behavioralFlaw" "arrogant">> Arrogant
<<radiobutton "$tempSlave.behavioralFlaw" "bitchy">> Bitchy
<<radiobutton "$tempSlave.behavioralFlaw" "odd">> Odd
<<radiobutton "$tempSlave.behavioralFlaw" "hates men">> Men
<<radiobutton "$tempSlave.behavioralFlaw" "hates women">> Women
<<radiobutton "$tempSlave.behavioralFlaw" "anorexic">> Anorexic
<<radiobutton "$tempSlave.behavioralFlaw" "gluttonous">> Gluttonous
<<radiobutton "$tempSlave.behavioralFlaw" "devout">> Devout
<<radiobutton "$tempSlave.behavioralFlaw" "liberated">> Liberated
<br><br>
''Behavioral Quirk:''
<<if $tempSlave.behavioralQuirk == "none">>
//$tempSlave.behavioralQuirk.//
<<else>>
@@.green;$tempSlave.behavioralQuirk.@@
<</if>>
<br>
<<radiobutton "$tempSlave.behavioralQuirk" "none">> None
<<radiobutton "$tempSlave.behavioralQuirk" "confident">> Confident
<<radiobutton "$tempSlave.behavioralQuirk" "cutting">> Cutting
<<radiobutton "$tempSlave.behavioralQuirk" "funny">> Funny
<<radiobutton "$tempSlave.behavioralQuirk" "adores women">> Adores Women
<<radiobutton "$tempSlave.behavioralQuirk" "adores men">> Adores Men
<<radiobutton "$tempSlave.behavioralQuirk" "insecure">> Insecure
<<radiobutton "$tempSlave.behavioralQuirk" "fitness">> Fitness
<<radiobutton "$tempSlave.behavioralQuirk" "sinful">> Sinful
<<radiobutton "$tempSlave.behavioralQuirk" "advocate">> Advocate
<<if $tempSlave.behavioralQuirk != "none">>
<<set $tempSlave.behavioralFlaw = "none">>
<</if>>
<br><br>
''Sexual Flaw / Paraphilias:''
<<if $tempSlave.sexualFlaw == "none">>
//$tempSlave.sexualFlaw.//
<<else>>
@@.red;$tempSlave.sexualFlaw.@@
<</if>>
<br>
Flaws:
<<radiobutton "$tempSlave.sexualFlaw" "none">> None
<<radiobutton "$tempSlave.sexualFlaw" "hates oral">> Hates Oral
<<radiobutton "$tempSlave.sexualFlaw" "hates anal">> Hates Anal
<<radiobutton "$tempSlave.sexualFlaw" "hates penetration">> Hates Penetration
<<radiobutton "$tempSlave.sexualFlaw" "repressed">> Repressed
<<radiobutton "$tempSlave.sexualFlaw" "shamefast">> Shamefast
<<radiobutton "$tempSlave.sexualFlaw" "apathetic">> Apathetic
<<radiobutton "$tempSlave.sexualFlaw" "idealistic">> Sexually Idealistic
<<radiobutton "$tempSlave.sexualFlaw" "crude">> Crude
<<radiobutton "$tempSlave.sexualFlaw" "judgemental">> Judgemental
<br>
Paraphilias:
<<radiobutton "$tempSlave.sexualFlaw" "cum addict">> Cum Addict
<<radiobutton "$tempSlave.sexualFlaw" "anal addict">> Anal Addict
<<radiobutton "$tempSlave.sexualFlaw" "attention whore">> Attention Whore
<<radiobutton "$tempSlave.sexualFlaw" "breast growth">> Breast Obsession
<<radiobutton "$tempSlave.sexualFlaw" "abusive">> Abusive
<<radiobutton "$tempSlave.sexualFlaw" "malicious">> Malicious
<<radiobutton "$tempSlave.sexualFlaw" "self hating">> Self Hatred
<<radiobutton "$tempSlave.sexualFlaw" "neglectful">> Self Neglect
<<radiobutton "$tempSlave.sexualFlaw" "breeder">> Breeding Obsession
<br><br>
''Sexual Quirk:''
<<if $tempSlave.sexualQuirk == "none">>
//$tempSlave.sexualQuirk.//
<<else>>
@@.green;$tempSlave.sexualQuirk.@@
<</if>>
<br>
<<radiobutton "$tempSlave.sexualQuirk" "none">> None
<<radiobutton "$tempSlave.sexualQuirk" "gagfuck queen">> Gagfuck Queen
<<radiobutton "$tempSlave.sexualQuirk" "painal queen">> Painal Queen
<<radiobutton "$tempSlave.sexualQuirk" "strugglefuck queen">> Strugglefuck Queen
<<radiobutton "$tempSlave.sexualQuirk" "perverted">> Perverted
<<radiobutton "$tempSlave.sexualQuirk" "tease">> Tease
<<radiobutton "$tempSlave.sexualQuirk" "caring">> Caring
<<radiobutton "$tempSlave.sexualQuirk" "romantic">> Romantic
<<radiobutton "$tempSlave.sexualQuirk" "unflinching">> Unflinching
<<radiobutton "$tempSlave.sexualQuirk" "size queen">> Size Queen
<<if $tempSlave.sexualQuirk != "none">>
<<if !["abusive", "anal addict", "attention whore", "breast growth", "breeder", "cum addict", "malicious", "neglectful", "self hating"].includes($tempSlave.sexualFlaw)>>
<<set $tempSlave.sexualFlaw = "none">>
<</if>>
<</if>>
<br>
<</widget>>
<<widget PrestTab>>
''Change $his custom tattoo:'' <<textbox "$tempSlave.custom.tattoo" $tempSlave.custom.tattoo>>
<br>
//For best results, use complete, capitalized and punctuated sentences; for example: '$He has blue stars tattooed along $his cheekbones, and a blue arrow down each arm.'//
<br>
''Change $his custom description:'' <<textbox "$tempSlave.custom.desc" $tempSlave.custom.desc>>
<br>
//For best results, use complete, capitalized and punctuated sentences; for example: '$He has a beauty mark above $his left nipple.'//
<br>
''Change $his custom label:'' <<textbox "$tempSlave.custom.label" $tempSlave.custom.label>>
<br>
//For best results, use a short phrase; for example: 'Breeder.'//
<br>
''Prestige:''
<<textbox "$tempSlave.prestige" $tempSlave.prestige>>
<<radiobutton "$tempSlave.prestige" 0>> 0
<<radiobutton "$tempSlave.prestige" 1>> 1
<<radiobutton "$tempSlave.prestige" 2>> 2
<<radiobutton "$tempSlave.prestige" 3>> 3
<br>
''Prestige description:''
<<textbox "$tempSlave.prestigeDesc" $tempSlave.prestigeDesc>>
<br>
<</widget>>
<<widget TattooTab>>
<br>
''Full-body Tattoos:''<br>
<<link "[Tribal patterns]">>
<<set $tempSlave.boobsTat = "tribal patterns">><<set $tempSlave.buttTat = "tribal patterns">><<set $tempSlave.vaginaTat = "tribal patterns">>
<<set $tempSlave.dickTat = "tribal patterns">><<set $tempSlave.lipsTat = "tribal patterns">><<set $tempSlave.anusTat = "tribal patterns">>
<<set $tempSlave.shouldersTat = "tribal patterns">><<set $tempSlave.backTat = "tribal patterns">><<set $tempSlave.armsTat = "tribal patterns">>
<<set $tempSlave.legsTat = "tribal patterns">><<set $tempSlave.stampTat = "tribal patterns">>
<</link>>
<<print " | ">>
<<link "[Flowers]">>
<<set $tempSlave.boobsTat = "flowers">><<set $tempSlave.buttTat = "flowers">><<set $tempSlave.vaginaTat = "flowers">>
<<set $tempSlave.dickTat = "flowers">><<set $tempSlave.lipsTat = "flowers">><<set $tempSlave.anusTat = "flowers">>
<<set $tempSlave.shouldersTat = "flowers">><<set $tempSlave.backTat = "flowers">><<set $tempSlave.armsTat = "flowers">>
<<set $tempSlave.legsTat = "flowers">><<set $tempSlave.stampTat = "flowers">>
<</link>>
<<print " | ">>
<<link "[Scenes]">>
<<set $tempSlave.boobsTat = "scenes">><<set $tempSlave.buttTat = "scenes">><<set $tempSlave.vaginaTat = "scenes">>
<<set $tempSlave.dickTat = "scenes">><<set $tempSlave.lipsTat = "permanent makeup">><<set $tempSlave.anusTat = "bleached">>
<<set $tempSlave.shouldersTat = "scenes">><<set $tempSlave.backTat = "scenes">><<set $tempSlave.armsTat = "scenes">>
<<set $tempSlave.legsTat = "scenes">><<set $tempSlave.stampTat = "scenes">>
<</link>>
<<print " | ">>
<<link "[Asian art]">>
<<set $tempSlave.boobsTat = "Asian art">><<set $tempSlave.buttTat = "Asian art">><<set $tempSlave.vaginaTat = "Asian art">>
<<set $tempSlave.dickTat = "Asian art">><<set $tempSlave.lipsTat = "permanent makeup">><<set $tempSlave.anusTat = "bleached">>
<<set $tempSlave.shouldersTat = "Asian art">><<set $tempSlave.backTat = "Asian art">><<set $tempSlave.armsTat = "Asian art">>
<<set $tempSlave.legsTat = "Asian art">><<set $tempSlave.stampTat = "Asian art">>
<</link>>
<<print " | ">>
<<link "[Degradation]">>
<<set $tempSlave.boobsTat = "degradation">><<set $tempSlave.buttTat = "degradation">><<set $tempSlave.vaginaTat = "degradation">>
<<set $tempSlave.dickTat = "degradation">><<set $tempSlave.lipsTat = "degradation">><<set $tempSlave.anusTat = "degradation">>
<<set $tempSlave.shouldersTat = "degradation">><<set $tempSlave.backTat = "degradation">><<set $tempSlave.armsTat = "degradation">>
<<set $tempSlave.legsTat = "degradation">><<set $tempSlave.stampTat = "degradation">>
<</link>>
<<print " | ">>
<<link "[Counting]">>
<<set $tempSlave.boobsTat = "counting">><<set $tempSlave.buttTat = "counting">><<set $tempSlave.vaginaTat = "counting">>
<<set $tempSlave.dickTat = "counting">><<set $tempSlave.lipsTat = "counting">><<set $tempSlave.anusTat = "counting">>
<<set $tempSlave.shouldersTat = "counting">><<set $tempSlave.backTat = "counting">><<set $tempSlave.armsTat = "counting">>
<<set $tempSlave.legsTat = "counting">><<set $tempSlave.stampTat = "counting">>
<</link>>
<<print " | ">>
<<link "[Advertisements]">>
<<set $tempSlave.boobsTat = "advertisements">><<set $tempSlave.buttTat = "advertisements">><<set $tempSlave.vaginaTat = "advertisements">>
<<set $tempSlave.dickTat = "advertisements">><<set $tempSlave.lipsTat = "advertisements">><<set $tempSlave.anusTat = "advertisements">>
<<set $tempSlave.shouldersTat = "advertisements">><<set $tempSlave.backTat = "advertisements">><<set $tempSlave.armsTat = "advertisements">>
<<set $tempSlave.legsTat = "advertisements">><<set $tempSlave.stampTat = "advertisements">>
<</link>>
<<print " | ">>
<<link "[Rude Words]">>
<<set $tempSlave.boobsTat = "rude words">><<set $tempSlave.buttTat = "rude words">><<set $tempSlave.vaginaTat = "rude words">>
<<set $tempSlave.dickTat = "rude words">><<set $tempSlave.lipsTat = "rude words">><<set $tempSlave.anusTat = "rude words">>
<<set $tempSlave.shouldersTat = "rude words">><<set $tempSlave.backTat = "rude words">><<set $tempSlave.armsTat = "rude words">>
<<set $tempSlave.legsTat = "rude words">><<set $tempSlave.stampTat = "rude words">>
<</link>>
<<print " | ">>
<<link "[Cow Pattern]">>
<<set $tempSlave.boobsTat = "bovine patterns">><<set $tempSlave.buttTat = "bovine patterns">><<set $tempSlave.vaginaTat = "bovine patterns">>
<<set $tempSlave.dickTat = "bovine patterns">><<set $tempSlave.lipsTat = "bovine patterns">><<set $tempSlave.anusTat = "bovine patterns">>
<<set $tempSlave.shouldersTat = "bovine patterns">><<set $tempSlave.backTat = "bovine patterns">><<set $tempSlave.armsTat = "bovine patterns">>
<<set $tempSlave.legsTat = "bovine patterns">><<set $tempSlave.stampTat = "bovine patterns">>
<</link>>
<<print " | ">>
<<link "[No Tattoos]">>
<<set $tempSlave.boobsTat = 0>><<set $tempSlave.buttTat = 0>><<set $tempSlave.vaginaTat = 0>>
<<set $tempSlave.dickTat = 0>><<set $tempSlave.lipsTat = 0>><<set $tempSlave.anusTat = 0>>
<<set $tempSlave.shouldersTat = 0>><<set $tempSlave.backTat = 0>><<set $tempSlave.armsTat = 0>>
<<set $tempSlave.legsTat = 0>><<set $tempSlave.stampTat = 0>><<set $tempSlave.bellyTat = 0>>
<</link>>
<br><br>
''__Lips Tattoo__ (
<<if $tempSlave.lipsTat == 0>>@@.yellow;None@@
<<else>>@@.yellow;$tempSlave.lipsTat@@<</if>>
)''
<br>
<<radiobutton "$tempSlave.lipsTat" 0>>None
<<radiobutton "$tempSlave.lipsTat" "tribal patterns">>Tribal Patterns
<<radiobutton "$tempSlave.lipsTat" "flowers">>Flowers
<<radiobutton "$tempSlave.lipsTat" "permanent makeup">>Permanent Makeup
<<radiobutton "$tempSlave.lipsTat" "degradation">>Degradation
<<radiobutton "$tempSlave.lipsTat" "counting">>Counting
<<radiobutton "$tempSlave.lipsTat" "advertisements">>Advertisements
<<radiobutton "$tempSlave.lipsTat" "rude words">>Rude Words
<br>''Custom lips tattoo '' <<textbox "$tempSlave.lipsTat" $tempSlave.lipsTat>>
<br>
''__Shoulders Tattoo__ (
<<if $tempSlave.shouldersTat == 0>>@@.yellow;None@@
<<else>>@@.yellow;$tempSlave.shouldersTat@@<</if>>
)''
<br>
<<radiobutton "$tempSlave.shouldersTat" 0>>None
<<radiobutton "$tempSlave.shouldersTat" "tribal patterns">>Tribal Patterns
<<radiobutton "$tempSlave.shouldersTat" "flowers">>Flowers
<<radiobutton "$tempSlave.shouldersTat" "scenes">>Scenes
<<radiobutton "$tempSlave.shouldersTat" "Asian art">>Asian Art
<<radiobutton "$tempSlave.shouldersTat" "degradation">>Degradation
<<radiobutton "$tempSlave.shouldersTat" "counting">>Counting
<<radiobutton "$tempSlave.shouldersTat" "advertisements">>Advertisements
<<radiobutton "$tempSlave.shouldersTat" "rude words">>Rude Words
<br>''Custom shoulders tattoo '' <<textbox "$tempSlave.shouldersTat" $tempSlave.shouldersTat>>
<br>
''__Back Tattoo__ (
<<if $tempSlave.backTat == 0>>@@.yellow;None@@
<<else>>@@.yellow;$tempSlave.backTat@@<</if>>
)''
<br>
<<radiobutton "$tempSlave.backTat" 0>>None
<<radiobutton "$tempSlave.backTat" "tribal patterns">>Tribal Patterns
<<radiobutton "$tempSlave.backTat" "flowers">>Flowers
<<radiobutton "$tempSlave.backTat" "scenes">>Scenes
<<radiobutton "$tempSlave.backTat" "Asian art">>Asian Art
<<radiobutton "$tempSlave.backTat" "degradation">>Degradation
<<radiobutton "$tempSlave.backTat" "counting">>Counting
<<radiobutton "$tempSlave.backTat" "advertisements">>Advertisements
<<radiobutton "$tempSlave.backTat" "rude words">>Rude Words
<br>''Custom back tattoo '' <<textbox "$tempSlave.backTat" $tempSlave.backTat>>
<br>
''__Belly Tattoo__ (
<<if $tempSlave.bellyTat == 0>>@@.yellow;None@@
<<else>>@@.yellow;$tempSlave.bellyTat@@<</if>>
)''
<br>
<<radiobutton "$tempSlave.bellyTat" 0>>None
<<radiobutton "$tempSlave.bellyTat" "a heart">>Heart
<<radiobutton "$tempSlave.bellyTat" "a star">>Star
<<radiobutton "$tempSlave.bellyTat" "a butterfly">>Butterfly
<br>''Custom belly tattoo '' <<textbox "$tempSlave.bellyTat" $tempSlave.bellyTat>>
<br>
''__Arms Tattoo__ (
<<if $tempSlave.armsTat == 0>>@@.yellow;None@@
<<else>>@@.yellow;$tempSlave.armsTat@@<</if>>
)''
<br>
<<radiobutton "$tempSlave.armsTat" 0>>None
<<radiobutton "$tempSlave.armsTat" "tribal patterns">>Tribal Patterns
<<radiobutton "$tempSlave.armsTat" "flowers">>Flowers
<<radiobutton "$tempSlave.armsTat" "scenes">>Scenes
<<radiobutton "$tempSlave.armsTat" "Asian art">>Asian Art
<<radiobutton "$tempSlave.armsTat" "degradation">>Degradation
<<radiobutton "$tempSlave.armsTat" "counting">>Counting
<<radiobutton "$tempSlave.armsTat" "advertisements">>Advertisements
<<radiobutton "$tempSlave.armsTat" "rude words">>Rude Words
<br>''Custom arms tattoo '' <<textbox "$tempSlave.armsTat" $tempSlave.armsTat>>
<br>
''__Legs Tattoo__ (
<<if $tempSlave.legsTat == 0>>@@.yellow;None@@
<<else>>@@.yellow;$tempSlave.legsTat@@<</if>>
)''
<br>
<<radiobutton "$tempSlave.legsTat" 0>>None
<<radiobutton "$tempSlave.legsTat" "tribal patterns">>Tribal Patterns
<<radiobutton "$tempSlave.legsTat" "flowers">>Flowers
<<radiobutton "$tempSlave.legsTat" "scenes">>Scenes
<<radiobutton "$tempSlave.legsTat" "Asian art">>Asian Art
<<radiobutton "$tempSlave.legsTat" "degradation">>Degradation
<<radiobutton "$tempSlave.legsTat" "counting">>Counting
<<radiobutton "$tempSlave.legsTat" "advertisements">>Advertisements
<<radiobutton "$tempSlave.legsTat" "rude words">>Rude Words
<br>''Custom legs tattoo '' <<textbox "$tempSlave.legsTat" $tempSlave.legsTat>>
<br>
''__Boobs Tattoo__ (
<<if $tempSlave.boobsTat == 0>>@@.yellow;None@@
<<else>>@@.yellow;$tempSlave.boobsTat@@<</if>>
)''
<br>
<<radiobutton "$tempSlave.boobsTat" 0>>None
<<radiobutton "$tempSlave.boobsTat" "tribal patterns">>Tribal Patterns
<<radiobutton "$tempSlave.boobsTat" "flowers">>Flowers
<<radiobutton "$tempSlave.boobsTat" "scenes">>Scenes
<<radiobutton "$tempSlave.boobsTat" "Asian art">>Asian Art
<<radiobutton "$tempSlave.boobsTat" "degradation">>Degradation
<<radiobutton "$tempSlave.boobsTat" "counting">>Counting
<<radiobutton "$tempSlave.boobsTat" "advertisements">>Advertisements
<<radiobutton "$tempSlave.boobsTat" "rude words">>Rude Words
<br>''Custom boobs tattoo '' <<textbox "$tempSlave.boobsTat" $tempSlave.boobsTat>>
<br>
''__Butt Tattoo__ (
<<if $tempSlave.buttTat == 0>>@@.yellow;None@@
<<else>>@@.yellow;$tempSlave.buttTat@@<</if>>
)''
<br>
<<radiobutton "$tempSlave.buttTat" 0>>None
<<radiobutton "$tempSlave.buttTat" "tribal patterns">>Tribal Patterns
<<radiobutton "$tempSlave.buttTat" "flowers">>Flowers
<<radiobutton "$tempSlave.buttTat" "scenes">>Scenes
<<radiobutton "$tempSlave.buttTat" "Asian art">>Asian Art
<<radiobutton "$tempSlave.buttTat" "degradation">>Degradation
<<radiobutton "$tempSlave.buttTat" "counting">>Counting
<<radiobutton "$tempSlave.buttTat" "advertisements">>Advertisements
<<radiobutton "$tempSlave.buttTat" "rude words">>Rude Words
<br>''Custom butt tattoo '' <<textbox "$tempSlave.buttTat" $tempSlave.buttTat>>
<br>
''__Vagina Tattoo__ (
<<if $tempSlave.vaginaTat == 0>>@@.yellow;None@@
<<else>>@@.yellow;$tempSlave.vaginaTat@@<</if>>
)''
<br>
<<radiobutton "$tempSlave.vaginaTat" 0>>None
<<radiobutton "$tempSlave.vaginaTat" "tribal patterns">>Tribal Patterns
<<radiobutton "$tempSlave.vaginaTat" "flowers">>Flowers
<<radiobutton "$tempSlave.vaginaTat" "scenes">>Scenes
<<radiobutton "$tempSlave.vaginaTat" "Asian art">>Asian Art
<<radiobutton "$tempSlave.vaginaTat" "degradation">>Degradation
<<radiobutton "$tempSlave.vaginaTat" "counting">>Counting
<<radiobutton "$tempSlave.vaginaTat" "advertisements">>Advertisements
<<radiobutton "$tempSlave.vaginaTat" "rude words">>Rude Words
<br>''Custom vagina tattoo '' <<textbox "$tempSlave.vaginaTat" $tempSlave.vaginaTat>>
<br>
''__Anus Tattoo__ (
<<if $tempSlave.anusTat == 0>>@@.yellow;None@@
<<else>>@@.yellow;$tempSlave.anusTat@@<</if>>
)''
<br>
<<radiobutton "$tempSlave.anusTat" 0>>None
<<radiobutton "$tempSlave.anusTat" "bleached">>Bleached
<<radiobutton "$tempSlave.anusTat" "tribal patterns">>Tribal Patterns
<<radiobutton "$tempSlave.anusTat" "flowers">>Flowers
<<radiobutton "$tempSlave.anusTat" "degradation">>Degradation
<<radiobutton "$tempSlave.anusTat" "counting">>Counting
<<radiobutton "$tempSlave.anusTat" "advertisements">>Advertisements
<<radiobutton "$tempSlave.anusTat" "rude words">>Rude Words
<br>''Custom anus tattoo '' <<textbox "$tempSlave.anusTat" $tempSlave.anusTat>>
<br>
''__Dick Tattoo__ (
<<if $tempSlave.dickTat == 0>>@@.yellow;None@@
<<else>>@@.yellow;$tempSlave.dickTat@@<</if>>
)''
<br>
<<radiobutton "$tempSlave.dickTat" 0>>None
<<radiobutton "$tempSlave.dickTat" "tribal patterns">>Tribal Patterns
<<radiobutton "$tempSlave.dickTat" "flowers">>Flowers
<<radiobutton "$tempSlave.dickTat" "degradation">>Degradation
<<radiobutton "$tempSlave.dickTat" "counting">>Counting
<<radiobutton "$tempSlave.dickTat" "advertisements">>Advertisements
<<radiobutton "$tempSlave.dickTat" "rude words">>Rude Words
<br>''Custom dick tattoo '' <<textbox "$tempSlave.dickTat" $tempSlave.dickTat>>
<br>
''__Tramp Stamp Tattoo__ (
<<if $tempSlave.stampTat == 0>>@@.yellow;None@@
<<else>>@@.yellow;$tempSlave.stampTat@@<</if>>
)''
<br>
<<radiobutton "$tempSlave.stampTat" 0>>None
<<radiobutton "$tempSlave.stampTat" "tribal patterns">>Tribal Patterns
<<radiobutton "$tempSlave.stampTat" "flowers">>Flowers
<<radiobutton "$tempSlave.stampTat" "scenes">>Scenes
<<radiobutton "$tempSlave.stampTat" "Asian art">>Asian Art
<<radiobutton "$tempSlave.stampTat" "degradation">>Degradation
<<radiobutton "$tempSlave.stampTat" "counting">>Counting
<<radiobutton "$tempSlave.stampTat" "advertisements">>Advertisements
<<radiobutton "$tempSlave.stampTat" "rude words">>Rude Words
<br>''Custom tramp stamp tattoo '' <<textbox "$tempSlave.stampTat" $tempSlave.stampTat>>
<br>
<</widget>>
<<widget BrandTab>>
''Branding:''
<p id="brand-selection"></p>
<script>
App.Medicine.Modification.Select.brand(V.tempSlave, true)
</script>
<</widget>>
<<widget PierceTab>>
<br>
''Lips piercings (0-2): @@.yellow;$tempSlave.lipsPiercing@@''
|
<<radiobutton "$tempSlave.lipsPiercing" 0>> None
<<radiobutton "$tempSlave.lipsPiercing" 1>> Standard
<<radiobutton "$tempSlave.lipsPiercing" 2>> Heavy
<br>
''Tongue piercings (0-2): @@.yellow;$tempSlave.tonguePiercing@@''
|
<<radiobutton "$tempSlave.tonguePiercing" 0>> None
<<radiobutton "$tempSlave.tonguePiercing" 1>> Standard
<<radiobutton "$tempSlave.tonguePiercing" 2>> Heavy
<br>
''Ear piercings (0-2): @@.yellow;$tempSlave.earPiercing@@''
|
<<radiobutton "$tempSlave.earPiercing" 0>> None
<<radiobutton "$tempSlave.earPiercing" 1>> Standard
<<radiobutton "$tempSlave.earPiercing" 2>> Heavy
<br>
''Nose piercings (0-2): @@.yellow;$tempSlave.nosePiercing@@''
|
<<radiobutton "$tempSlave.nosePiercing" 0>> None
<<radiobutton "$tempSlave.nosePiercing" 1>> Standard
<<radiobutton "$tempSlave.nosePiercing" 2>> Heavy
<br>
''Eyebrow piercings (0-2): @@.yellow;$tempSlave.eyebrowPiercing@@''
|
<<radiobutton "$tempSlave.eyebrowPiercing" 0>> None
<<radiobutton "$tempSlave.eyebrowPiercing" 1>> Standard
<<radiobutton "$tempSlave.eyebrowPiercing" 2>> Heavy
<br>
''Navel piercings (0-2): @@.yellow;$tempSlave.navelPiercing@@''
|
<<radiobutton "$tempSlave.navelPiercing" 0>> None
<<radiobutton "$tempSlave.navelPiercing" 1>> Standard
<<radiobutton "$tempSlave.navelPiercing" 2>> Heavy
<br>
''Corset piercings (0-1): @@.yellow;$tempSlave.corsetPiercing@@''
|
<<radiobutton "$tempSlave.corsetPiercing" 0>> None
<<radiobutton "$tempSlave.corsetPiercing" 1>> Pierced
<br>
''Nipples piercings (0-2): @@.yellow;$tempSlave.nipplesPiercing@@''
|
<<radiobutton "$tempSlave.nipplesPiercing" 0>> None
<<radiobutton "$tempSlave.nipplesPiercing" 1>> Standard
<<radiobutton "$tempSlave.nipplesPiercing" 2>> Heavy
<br>
''Areolae piercings (0-2): @@.yellow;$tempSlave.areolaePiercing@@''
|
<<radiobutton "$tempSlave.areolaePiercing" 0>> None
<<radiobutton "$tempSlave.areolaePiercing" 1>> Standard
<<radiobutton "$tempSlave.areolaePiercing" 2>> Heavy
<br>
''Clit/frenulum piercing (0-3): @@.yellow;$tempSlave.clitPiercing@@''
|
<<radiobutton "$tempSlave.clitPiercing" 0>> None
<<radiobutton "$tempSlave.clitPiercing" 1>> Standard
<<radiobutton "$tempSlave.clitPiercing" 2>> Big
<<radiobutton "$tempSlave.clitPiercing" 3>> Smart piercing
<br>
''Pussylips piercings (0-2): @@.yellow;$tempSlave.vaginaPiercing@@''
|
<<radiobutton "$tempSlave.vaginaPiercing" 0>> None
<<radiobutton "$tempSlave.vaginaPiercing" 1>> Standard
<<radiobutton "$tempSlave.vaginaPiercing" 2>> Heavy
<br>
''Anus piercing (0-2): @@.yellow;$tempSlave.anusPiercing@@''
|
<<radiobutton "$tempSlave.anusPiercing" 0>> None
<<radiobutton "$tempSlave.anusPiercing" 1>> Standard
<<radiobutton "$tempSlave.anusPiercing" 2>> Heavy
<br>
''Shaft piercings (0-2): @@.yellow;$tempSlave.dickPiercing@@''
|
<<radiobutton "$tempSlave.dickPiercing" 0>> None
<<radiobutton "$tempSlave.dickPiercing" 1>> Standard
<<radiobutton "$tempSlave.dickPiercing" 2>> Heavy
<br>
<</widget>>
''Cheat Edit Slave '' <<link "[Cancel]" "Slave Interact">><<unset $tempSlave, $customEvalCode>><</link>>
<br>
<br><br>
/*-------------------------------------------------------------------------------------------------------------------------------*/
<<link "__Show All__">>
<<if (ndef _sAllR) || (_sAllR == 0) >>
<<replace "#spot">>
<<set _faceR = 0>><<set _nameR = 0>><<set _famR = 0>><<set _identR = 0>><<set _ageR = 0>><<set _devR = 0>><<set _hairR = 0>>
<<set _descR = 0>><<set _eyesR = 0>><<set _mouthR = 0>><<set _bodyR = 0>><<set _titsR = 0>><<set _buttR = 0>><<set _vagR = 0>>
<<set _dickR = 0>><<set _skillsR = 0>><<set _intR = 0>><<set _sexR = 0>><<set _flawR = 0>><<set _tatsR = 0>><<set _pierceR = 0>>
<<set _sAllR = 1>><<set _natR = 0>><<set _carR = 0>><<set _bellyR = 0>><<set _useR = 0>><<set _brandR = 0>><<set _hcol5R = 0>><<set _hcol4R = 0>>
<<set _hcol3R = 0>><<set _hcol2R = 0>><<set _hcol1R = 0>><<set _ecol1R = 0>><<set _ecol2R = 0>><<set _ppilR = 0>><<set _sclrR = 0>>
<<NameTab>>
<<FamilyTab>>
<<NationalTab>>
<<AgeTab>>
<<DevoTab>>
<<FaceTab>>
<<HairTab>>
<<EyesTab>>
<<MouthTab>>
<<BodyTab>>
<<BellyTab>>
<<BreastsTab>>
<<ButtTab>>
<<VagTab>>
<<PenisTab>>
<<SkillsTab>>
<<InteliTab>>
<<FetSexTab>>
<<FlaQuiTab>>
<<StatisticTab>>
<<PrestTab>>
<<TattooTab>>
<<BrandTab>>
<<PierceTab>>
<</replace>>
<<else>>
<<replace "#spot">>
<<set _sAllR = 0>>
<</replace>>
<</if>>
<</link>>
<br>
/*-------------------------------------------------------------------------------------------------------------------------------*/
<<link "Name & Status ">>
<<if (ndef _nameR) || (_nameR == 0) >>
<<replace "#spot">>
<<set _faceR = 0>><<set _nameR = 1>><<set _famR = 0>><<set _identR = 0>><<set _ageR = 0>><<set _devR = 0>><<set _hairR = 0>>
<<set _descR = 0>><<set _eyesR = 0>><<set _mouthR = 0>><<set _bodyR = 0>><<set _titsR = 0>><<set _buttR = 0>><<set _vagR = 0>>
<<set _dickR = 0>><<set _skillsR = 0>><<set _intR = 0>><<set _sexR = 0>><<set _flawR = 0>><<set _tatsR = 0>><<set _pierceR = 0>>
<<set _sAllR = 0>><<set _natR = 0>><<set _carR = 0>><<set _bellyR = 0>><<set _useR = 0>><<set _brandR = 0>><<set _hcol5R = 0>><<set _hcol4R = 0>>
<<set _hcol3R = 0>><<set _hcol2R = 0>><<set _hcol1R = 0>><<set _ecol1R = 0>><<set _ecol2R = 0>><<set _ppilR = 0>><<set _sclrR = 0>>
<<NameTab>>
<</replace>>
<<else>>
<<replace "#spot">>
<<set _nameR = 0>>
<</replace>>
<</if>>
<</link>>
/*-------------------------------------------------------------------------------------------------------------------------------*/
<<print " | " >>
<<link "Family & Relations">>
<<if (ndef _famR) || (_famR == 0) >>
<<replace "#spot">>
<<set _faceR = 0>><<set _nameR = 0>><<set _famR = 1>><<set _identR = 0>><<set _ageR = 0>><<set _devR = 0>><<set _hairR = 0>>
<<set _descR = 0>><<set _eyesR = 0>><<set _mouthR = 0>><<set _bodyR = 0>><<set _titsR = 0>><<set _buttR = 0>><<set _vagR = 0>>
<<set _dickR = 0>><<set _skillsR = 0>><<set _intR = 0>><<set _sexR = 0>><<set _flawR = 0>><<set _tatsR = 0>><<set _pierceR = 0>>
<<set _sAllR = 0>><<set _natR = 0>><<set _carR = 0>><<set _bellyR = 0>><<set _useR = 0>><<set _brandR = 0>><<set _hcol5R = 0>><<set _hcol4R = 0>>
<<set _hcol3R = 0>><<set _hcol2R = 0>><<set _hcol1R = 0>><<set _ecol1R = 0>><<set _ecol2R = 0>><<set _ppilR = 0>><<set _sclrR = 0>>
<<FamilyTab>>
<</replace>>
<<else>>
<<replace "#spot">>
<<set _famR = 0>>
<</replace>>
<</if>>
<</link>>
/*-------------------------------------------------------------------------------------------------------------------------------*/
<<print " | " >>
<<link "Nationality, Origin & Career">>
<<if (ndef _identR) || (_identR == 0) >>
<<replace "#spot">>
<<set _faceR = 0>><<set _nameR = 0>><<set _famR = 0>><<set _identR = 1>><<set _ageR = 0>><<set _devR = 0>><<set _hairR = 0>>
<<set _descR = 0>><<set _eyesR = 0>><<set _mouthR = 0>><<set _bodyR = 0>><<set _titsR = 0>><<set _buttR = 0>><<set _vagR = 0>>
<<set _dickR = 0>><<set _skillsR = 0>><<set _intR = 0>><<set _sexR = 0>><<set _flawR = 0>><<set _tatsR = 0>><<set _pierceR = 0>>
<<set _sAllR = 0>><<set _natR = 0>><<set _carR = 0>><<set _bellyR = 0>><<set _useR = 0>><<set _brandR = 0>><<set _hcol5R = 0>><<set _hcol4R = 0>>
<<set _hcol3R = 0>><<set _hcol2R = 0>><<set _hcol1R = 0>><<set _ecol1R = 0>><<set _ecol2R = 0>><<set _ppilR = 0>><<set _sclrR = 0>>
<<NationalTab>>
<</replace>>
<<else>>
<<replace "#spot">>
<<set _identR = 0>>
<</replace>>
<</if>>
<</link>>
/*-------------------------------------------------------------------------------------------------------------------------------*/
<<print " | " >>
<<link "Age & Health">>
<<if (ndef _nameR) || (_ageR == 0) >>
<<replace "#spot">>
<<set _faceR = 0>><<set _nameR = 0>><<set _famR = 0>><<set _identR = 0>><<set _ageR = 1>><<set _devR = 0>><<set _hairR = 0>>
<<set _descR = 0>><<set _eyesR = 0>><<set _mouthR = 0>><<set _bodyR = 0>><<set _titsR = 0>><<set _buttR = 0>><<set _vagR = 0>>
<<set _dickR = 0>><<set _skillsR = 0>><<set _intR = 0>><<set _sexR = 0>><<set _flawR = 0>><<set _tatsR = 0>><<set _pierceR = 0>>
<<set _sAllR = 0>><<set _natR = 0>><<set _carR = 0>><<set _bellyR = 0>><<set _useR = 0>><<set _brandR = 0>><<set _hcol5R = 0>><<set _hcol4R = 0>>
<<set _hcol3R = 0>><<set _hcol2R = 0>><<set _hcol1R = 0>><<set _ecol1R = 0>><<set _ecol2R = 0>><<set _ppilR = 0>><<set _sclrR = 0>>
<<AgeTab>>
<</replace>>
<<else>>
<<replace "#spot">>
<<set _ageR = 0>>
<</replace>>
<</if>>
<</link>>
/*-------------------------------------------------------------------------------------------------------------------------------*/
<<print " | " >>
<<link "Devotion & Trust">>
<<if (ndef _devR) || (_devR == 0) >>
<<replace "#spot">>
<<set _faceR = 0>><<set _nameR = 0>><<set _famR = 0>><<set _identR = 0>><<set _ageR = 0>><<set _devR = 1>><<set _hairR = 0>>
<<set _descR = 0>><<set _eyesR = 0>><<set _mouthR = 0>><<set _bodyR = 0>><<set _titsR = 0>><<set _buttR = 0>><<set _vagR = 0>>
<<set _dickR = 0>><<set _skillsR = 0>><<set _intR = 0>><<set _sexR = 0>><<set _flawR = 0>><<set _tatsR = 0>><<set _pierceR = 0>>
<<set _sAllR = 0>><<set _natR = 0>><<set _carR = 0>><<set _bellyR = 0>><<set _useR = 0>><<set _brandR = 0>><<set _hcol5R = 0>><<set _hcol4R = 0>>
<<set _hcol3R = 0>><<set _hcol2R = 0>><<set _hcol1R = 0>><<set _ecol1R = 0>><<set _ecol2R = 0>><<set _ppilR = 0>><<set _sclrR = 0>>
<<DevoTab>>
<</replace>>
<<else>>
<<replace "#spot">>
<<set _devR = 0>>
<</replace>>
<</if>>
<</link>>
/*-------------------------------------------------------------------------------------------------------------------------------*/
<br>
<<link "Face & Skin">>
<<if (ndef _faceR) || (_faceR == 0) >>
<<replace "#spot">>
<<set _faceR = 1>><<set _nameR = 0>><<set _famR = 0>><<set _identR = 0>><<set _ageR = 0>><<set _devR = 0>><<set _hairR = 0>>
<<set _descR = 0>><<set _eyesR = 0>><<set _mouthR = 0>><<set _bodyR = 0>><<set _titsR = 0>><<set _buttR = 0>><<set _vagR = 0>>
<<set _dickR = 0>><<set _skillsR = 0>><<set _intR = 0>><<set _sexR = 0>><<set _flawR = 0>><<set _tatsR = 0>><<set _pierceR = 0>>
<<set _sAllR = 0>><<set _natR = 0>><<set _carR = 0>><<set _bellyR = 0>><<set _useR = 0>><<set _brandR = 0>><<set _hcol5R = 0>><<set _hcol4R = 0>>
<<set _hcol3R = 0>><<set _hcol2R = 0>><<set _hcol1R = 0>><<set _ecol1R = 0>><<set _ecol2R = 0>><<set _ppilR = 0>><<set _sclrR = 0>>
<<FaceTab>>
<</replace>>
<<else>>
<<replace "#spot">>
<<set _faceR = 0>>
<</replace>>
<</if>>
<</link>>
/*-------------------------------------------------------------------------------------------------------------------------------*/
<<print " | " >>
<<link "Hair">>
<<if (ndef _hairR) || (_hairR == 0) >>
<<replace "#spot">>
<<set _faceR = 0>><<set _nameR = 0>><<set _famR = 0>><<set _identR = 0>><<set _ageR = 0>><<set _devR = 0>><<set _hairR = 1>>
<<set _descR = 0>><<set _eyesR = 0>><<set _mouthR = 0>><<set _bodyR = 0>><<set _titsR = 0>><<set _buttR = 0>><<set _vagR = 0>>
<<set _dickR = 0>><<set _skillsR = 0>><<set _intR = 0>><<set _sexR = 0>><<set _flawR = 0>><<set _tatsR = 0>><<set _pierceR = 0>>
<<set _sAllR = 0>><<set _natR = 0>><<set _carR = 0>><<set _bellyR = 0>><<set _useR = 0>><<set _brandR = 0>><<set _hcol5R = 0>><<set _hcol4R = 0>>
<<set _hcol3R = 0>><<set _hcol2R = 0>><<set _hcol1R = 0>><<set _ecol1R = 0>><<set _ecol2R = 0>><<set _ppilR = 0>><<set _sclrR = 0>>
<<HairTab>>
<</replace>>
<<else>>
<<replace "#spot">>
<<set _hairR = 0>>
<</replace>>
<</if>>
<</link>>
/*-------------------------------------------------------------------------------------------------------------------------------*/
<<print " | " >>
<<link "Eyes">>
<<if (ndef _eyesR) || (_eyesR == 0) >>
<<replace "#spot">>
<<set _faceR = 0>><<set _nameR = 0>><<set _famR = 0>><<set _identR = 0>><<set _ageR = 0>><<set _devR = 0>><<set _hairR = 0>>
<<set _descR = 0>><<set _eyesR = 1>><<set _mouthR = 0>><<set _bodyR = 0>><<set _titsR = 0>><<set _buttR = 0>><<set _vagR = 0>>
<<set _dickR = 0>><<set _skillsR = 0>><<set _intR = 0>><<set _sexR = 0>><<set _flawR = 0>><<set _tatsR = 0>><<set _pierceR = 0>>
<<set _sAllR = 0>><<set _natR = 0>><<set _carR = 0>><<set _bellyR = 0>><<set _useR = 0>><<set _brandR = 0>><<set _hcol5R = 0>><<set _hcol4R = 0>>
<<set _hcol3R = 0>><<set _hcol2R = 0>><<set _hcol1R = 0>><<set _ecol1R = 0>><<set _ecol2R = 0>><<set _ppilR = 0>><<set _sclrR = 0>>
<<EyesTab>>
<</replace>>
<<else>>
<<replace "#spot">>
<<set _eyesR = 0>>
<</replace>>
<</if>>
<</link>>
/*-------------------------------------------------------------------------------------------------------------------------------*/
<<print " | " >>
<<link "Mouth">>
<<if (ndef _mouthR) || (_mouthR == 0) >>
<<replace "#spot">>
<<set _faceR = 0>><<set _nameR = 0>><<set _famR = 0>><<set _identR = 0>><<set _ageR = 0>><<set _devR = 0>><<set _hairR = 0>>
<<set _descR = 0>><<set _eyesR = 0>><<set _mouthR = 1>><<set _bodyR = 0>><<set _titsR = 0>><<set _buttR = 0>><<set _vagR = 0>>
<<set _dickR = 0>><<set _skillsR = 0>><<set _intR = 0>><<set _sexR = 0>><<set _flawR = 0>><<set _tatsR = 0>><<set _pierceR = 0>>
<<set _sAllR = 0>><<set _natR = 0>><<set _carR = 0>><<set _bellyR = 0>><<set _useR = 0>><<set _brandR = 0>><<set _hcol5R = 0>><<set _hcol4R = 0>>
<<set _hcol3R = 0>><<set _hcol2R = 0>><<set _hcol1R = 0>><<set _ecol1R = 0>><<set _ecol2R = 0>><<set _ppilR = 0>><<set _sclrR = 0>>
<<MouthTab>>
<</replace>>
<<else>>
<<replace "#spot">>
<<set _mouthR = 0>>
<</replace>>
<</if>>
<</link>>
/*-------------------------------------------------------------------------------------------------------------------------------*/
<<print " | " >>
<<link "Body">>
<<if (ndef _bodyR) || (_bodyR == 0) >>
<<replace "#spot">>
<<set _faceR = 0>><<set _nameR = 0>><<set _famR = 0>><<set _identR = 0>><<set _ageR = 0>><<set _devR = 0>><<set _hairR = 0>>
<<set _descR = 0>><<set _eyesR = 0>><<set _mouthR = 0>><<set _bodyR = 1>><<set _titsR = 0>><<set _buttR = 0>><<set _vagR = 0>>
<<set _dickR = 0>><<set _skillsR = 0>><<set _intR = 0>><<set _sexR = 0>><<set _flawR = 0>><<set _tatsR = 0>><<set _pierceR = 0>>
<<set _sAllR = 0>><<set _natR = 0>><<set _carR = 0>><<set _bellyR = 0>><<set _useR = 0>><<set _brandR = 0>><<set _hcol5R = 0>><<set _hcol4R = 0>>
<<set _hcol3R = 0>><<set _hcol2R = 0>><<set _hcol1R = 0>><<set _ecol1R = 0>><<set _ecol2R = 0>><<set _ppilR = 0>><<set _sclrR = 0>>
<<BodyTab>>
<</replace>>
<<else>>
<<replace "#spot">>
<<set _bodyR = 0>>
<</replace>>
<</if>>
<</link>>
/*-------------------------------------------------------------------------------------------------------------------------------*/
<<print " | " >>
<<link "Belly">>
<<if (ndef _bellyR) || (_bellyR == 0) >>
<<replace "#spot">>
<<set _faceR = 0>><<set _nameR = 0>><<set _famR = 0>><<set _identR = 0>><<set _ageR = 0>><<set _devR = 0>><<set _hairR = 0>>
<<set _descR = 0>><<set _eyesR = 0>><<set _mouthR = 0>><<set _bodyR = 0>><<set _titsR = 0>><<set _buttR = 0>><<set _vagR = 0>>
<<set _dickR = 0>><<set _skillsR = 0>><<set _intR = 0>><<set _sexR = 0>><<set _flawR = 0>><<set _tatsR = 0>><<set _pierceR = 0>>
<<set _sAllR = 0>><<set _natR = 0>><<set _carR = 0>><<set _bellyR = 1>><<set _useR = 0>><<set _brandR = 0>><<set _hcol5R = 0>><<set _hcol4R = 0>>
<<set _hcol3R = 0>><<set _hcol2R = 0>><<set _hcol1R = 0>><<set _ecol1R = 0>><<set _ecol2R = 0>><<set _ppilR = 0>><<set _sclrR = 0>>
<<BellyTab>>
<</replace>>
<<else>>
<<replace "#spot">>
<<set _bellyR = 0>>
<</replace>>
<</if>>
<</link>>
/*-------------------------------------------------------------------------------------------------------------------------------*/
<<print " | " >>
<<link "Breasts">>
<<if (ndef _titsR) || (_titsR == 0) >>
<<replace "#spot">>
<<set _faceR = 0>><<set _nameR = 0>><<set _famR = 0>><<set _identR = 0>><<set _ageR = 0>><<set _devR = 0>><<set _hairR = 0>>
<<set _descR = 0>><<set _eyesR = 0>><<set _mouthR = 0>><<set _bodyR = 0>><<set _titsR = 1>><<set _buttR = 0>><<set _vagR = 0>>
<<set _dickR = 0>><<set _skillsR = 0>><<set _intR = 0>><<set _sexR = 0>><<set _flawR = 0>><<set _tatsR = 0>><<set _pierceR = 0>>
<<set _sAllR = 0>><<set _natR = 0>><<set _carR = 0>><<set _bellyR = 0>><<set _useR = 0>><<set _brandR = 0>><<set _hcol5R = 0>><<set _hcol4R = 0>>
<<set _hcol3R = 0>><<set _hcol2R = 0>><<set _hcol1R = 0>><<set _ecol1R = 0>><<set _ecol2R = 0>><<set _ppilR = 0>><<set _sclrR = 0>>
<<BreastsTab>>
<</replace>>
<<else>>
<<replace "#spot">>
<<set _titsR = 0>>
<</replace>>
<</if>>
<</link>>
/*-------------------------------------------------------------------------------------------------------------------------------*/
<<print " | " >>
<<link "Butt">>
<<if (ndef _buttR) || (_buttR == 0) >>
<<replace "#spot">>
<<set _faceR = 0>><<set _nameR = 0>><<set _famR = 0>><<set _identR = 0>><<set _ageR = 0>><<set _devR = 0>><<set _hairR = 0>>
<<set _descR = 0>><<set _eyesR = 0>><<set _mouthR = 0>><<set _bodyR = 0>><<set _titsR = 0>><<set _buttR = 1>><<set _vagR = 0>>
<<set _dickR = 0>><<set _skillsR = 0>><<set _intR = 0>><<set _sexR = 0>><<set _flawR = 0>><<set _tatsR = 0>><<set _pierceR = 0>>
<<set _sAllR = 0>><<set _natR = 0>><<set _carR = 0>><<set _bellyR = 0>><<set _useR = 0>><<set _brandR = 0>><<set _hcol5R = 0>><<set _hcol4R = 0>>
<<set _hcol3R = 0>><<set _hcol2R = 0>><<set _hcol1R = 0>><<set _ecol1R = 0>><<set _ecol2R = 0>><<set _ppilR = 0>><<set _sclrR = 0>>
<<ButtTab>>
<</replace>>
<<else>>
<<replace "#spot">>
<<set _buttR = 0>>
<</replace>>
<</if>>
<</link>>
/*-------------------------------------------------------------------------------------------------------------------------------*/
<<print " | " >>
<<link "Vagina & Pregnancy">>
<<if (ndef _vagR) || (_vagR == 0) >>
<<replace "#spot">><br>
<<set _faceR = 0>><<set _nameR = 0>><<set _famR = 0>><<set _identR = 0>><<set _ageR = 0>><<set _devR = 0>><<set _hairR = 0>>
<<set _descR = 0>><<set _eyesR = 0>><<set _mouthR = 0>><<set _bodyR = 0>><<set _titsR = 0>><<set _buttR = 0>><<set _vagR = 1>>
<<set _dickR = 0>><<set _skillsR = 0>><<set _intR = 0>><<set _sexR = 0>><<set _flawR = 0>><<set _tatsR = 0>><<set _pierceR = 0>>
<<set _sAllR = 0>><<set _natR = 0>><<set _carR = 0>><<set _bellyR = 0>><<set _useR = 0>><<set _brandR = 0>><<set _hcol5R = 0>><<set _hcol4R = 0>>
<<set _hcol3R = 0>><<set _hcol2R = 0>><<set _hcol1R = 0>><<set _ecol1R = 0>><<set _ecol2R = 0>><<set _ppilR = 0>><<set _sclrR = 0>>
<<VagTab>>
<</replace>>
<<else>>
<<replace "#spot">>
<<set _vagR = 0>>
<</replace>>
<</if>>
<</link>>
/*-------------------------------------------------------------------------------------------------------------------------------*/
<<print " | " >>
<<link "Penis">>
<<if (ndef _dickR) || (_dickR == 0) >>
<<replace "#spot">>
<<set _faceR = 0>><<set _nameR = 0>><<set _famR = 0>><<set _identR = 0>><<set _ageR = 0>><<set _devR = 0>><<set _hairR = 0>>
<<set _descR = 0>><<set _eyesR = 0>><<set _mouthR = 0>><<set _bodyR = 0>><<set _titsR = 0>><<set _buttR = 0>><<set _vagR = 0>>
<<set _dickR = 1>><<set _skillsR = 0>><<set _intR = 0>><<set _sexR = 0>><<set _flawR = 0>><<set _tatsR = 0>><<set _pierceR = 0>>
<<set _sAllR = 0>><<set _natR = 0>><<set _carR = 0>><<set _bellyR = 0>><<set _useR = 0>><<set _brandR = 0>><<set _hcol5R = 0>><<set _hcol4R = 0>>
<<set _hcol3R = 0>><<set _hcol2R = 0>><<set _hcol1R = 0>><<set _ecol1R = 0>><<set _ecol2R = 0>><<set _ppilR = 0>><<set _sclrR = 0>>
<<PenisTab>>
<</replace>>
<<else>>
<<replace "#spot">>
<<set _dickR = 0>>
<</replace>>
<</if>>
<</link>>
/*-------------------------------------------------------------------------------------------------------------------------------*/
<br>
<<link "Skills">>
<<if (ndef _skillsR) || (_skillsR == 0) >>
<<replace "#spot">>
<<set _faceR = 0>><<set _nameR = 0>><<set _famR = 0>><<set _identR = 0>><<set _ageR = 0>><<set _devR = 0>><<set _hairR = 0>>
<<set _descR = 0>><<set _eyesR = 0>><<set _mouthR = 0>><<set _bodyR = 0>><<set _titsR = 0>><<set _buttR = 0>><<set _vagR = 0>>
<<set _dickR = 0>><<set _skillsR = 1>><<set _intR = 0>><<set _sexR = 0>><<set _flawR = 0>><<set _tatsR = 0>><<set _pierceR = 0>>
<<set _sAllR = 0>><<set _natR = 0>><<set _carR = 0>><<set _bellyR = 0>><<set _useR = 0>><<set _brandR = 0>><<set _hcol5R = 0>><<set _hcol4R = 0>>
<<set _hcol3R = 0>><<set _hcol2R = 0>><<set _hcol1R = 0>><<set _ecol1R = 0>><<set _ecol2R = 0>><<set _ppilR = 0>><<set _sclrR = 0>>
<<SkillsTab>>
<</replace>>
<<else>>
<<replace "#spot">>
<<set _skillsR = 0>>
<</replace>>
<</if>>
<</link>>
/*-------------------------------------------------------------------------------------------------------------------------------*/
<<print " | " >>
<<link "Intelligence">>
<<if (ndef _intR) || (_intR == 0) >>
<<replace "#spot">>
<<set _faceR = 0>><<set _nameR = 0>><<set _famR = 0>><<set _identR = 0>><<set _ageR = 0>><<set _devR = 0>><<set _hairR = 0>>
<<set _descR = 0>><<set _eyesR = 0>><<set _mouthR = 0>><<set _bodyR = 0>><<set _titsR = 0>><<set _buttR = 0>><<set _vagR = 0>>
<<set _dickR = 0>><<set _skillsR = 0>><<set _intR = 1>><<set _sexR = 0>><<set _flawR = 0>><<set _tatsR = 0>><<set _pierceR = 0>>
<<set _sAllR = 0>><<set _natR = 0>><<set _carR = 0>><<set _bellyR = 0>><<set _useR = 0>><<set _brandR = 0>><<set _hcol5R = 0>><<set _hcol4R = 0>>
<<set _hcol3R = 0>><<set _hcol2R = 0>><<set _hcol1R = 0>><<set _ecol1R = 0>><<set _ecol2R = 0>><<set _ppilR = 0>><<set _sclrR = 0>>
<<InteliTab>>
<</replace>>
<<else>>
<<replace "#spot">>
<<set _intR = 0>>
<</replace>>
<</if>>
<</link>>
/*-------------------------------------------------------------------------------------------------------------------------------*/
<<print " | " >>
<<link "Fetish & Sexuality">>
<<if (ndef _sexR) || (_sexR == 0) >>
<<replace "#spot">>
<<set _faceR = 0>><<set _nameR = 0>><<set _famR = 0>><<set _identR = 0>><<set _ageR = 0>><<set _devR = 0>><<set _hairR = 0>>
<<set _descR = 0>><<set _eyesR = 0>><<set _mouthR = 0>><<set _bodyR = 0>><<set _titsR = 0>><<set _buttR = 0>><<set _vagR = 0>>
<<set _dickR = 0>><<set _skillsR = 0>><<set _intR = 0>><<set _sexR = 1>><<set _flawR = 0>><<set _tatsR = 0>><<set _pierceR = 0>>
<<set _sAllR = 0>><<set _natR = 0>><<set _carR = 0>><<set _bellyR = 0>><<set _useR = 0>><<set _brandR = 0>><<set _hcol5R = 0>><<set _hcol4R = 0>>
<<set _hcol3R = 0>><<set _hcol2R = 0>><<set _hcol1R = 0>><<set _ecol1R = 0>><<set _ecol2R = 0>><<set _ppilR = 0>><<set _sclrR = 0>>
<<FetSexTab>>
<</replace>>
<<else>>
<<replace "#spot">>
<<set _sexR = 0>>
<</replace>>
<</if>>
<</link>>
/*-------------------------------------------------------------------------------------------------------------------------------*/
<<print " | " >>
<<link "Flaws & Quirks">>
<<if (ndef _flawR) || (_flawR == 0) >>
<<replace "#spot">>
<<set _faceR = 0>><<set _nameR = 0>><<set _famR = 0>><<set _identR = 0>><<set _ageR = 0>><<set _devR = 0>><<set _hairR = 0>>
<<set _descR = 0>><<set _eyesR = 0>><<set _mouthR = 0>><<set _bodyR = 0>><<set _titsR = 0>><<set _buttR = 0>><<set _vagR = 0>>
<<set _dickR = 0>><<set _skillsR = 0>><<set _intR = 0>><<set _sexR = 0>><<set _flawR = 1>><<set _tatsR = 0>><<set _pierceR = 0>>
<<set _sAllR = 0>><<set _natR = 0>><<set _carR = 0>><<set _bellyR = 0>><<set _useR = 0>><<set _brandR = 0>><<set _hcol5R = 0>><<set _hcol4R = 0>>
<<set _hcol3R = 0>><<set _hcol2R = 0>><<set _hcol1R = 0>><<set _ecol1R = 0>><<set _ecol2R = 0>><<set _ppilR = 0>><<set _sclrR = 0>>
<<FlaQuiTab>>
<</replace>>
<<else>>
<<replace "#spot">>
<<set _flawR = 0>>
<</replace>>
<</if>>
<</link>>
/*-------------------------------------------------------------------------------------------------------------------------------*/
<<print " | " >>
<<link "Statistics">>
<<if (ndef _useR) || (_useR == 0) >>
<<replace "#spot">>
<<set _faceR = 0>><<set _nameR = 0>><<set _famR = 0>><<set _identR = 0>><<set _ageR = 0>><<set _devR = 0>><<set _hairR = 0>>
<<set _descR = 0>><<set _eyesR = 0>><<set _mouthR = 0>><<set _bodyR = 0>><<set _titsR = 0>><<set _buttR = 0>><<set _vagR = 0>>
<<set _dickR = 0>><<set _skillsR = 0>><<set _intR = 0>><<set _sexR = 0>><<set _flawR = 0>><<set _tatsR = 0>><<set _pierceR = 0>>
<<set _sAllR = 0>><<set _natR = 0>><<set _carR = 0>><<set _bellyR = 0>><<set _useR = 1>><<set _brandR = 0>><<set _hcol5R = 0>><<set _hcol4R = 0>>
<<set _hcol3R = 0>><<set _hcol2R = 0>><<set _hcol1R = 0>><<set _ecol1R = 0>><<set _ecol2R = 0>><<set _ppilR = 0>><<set _sclrR = 0>>
<<StatisticTab>>
<</replace>>
<<else>>
<<replace "#spot">>
<<set _useR = 0>>
<</replace>>
<</if>>
<</link>>
/*-------------------------------------------------------------------------------------------------------------------------------*/
<br>
<<link "Prestige, Custom Tattoo & Description">>
<<if (ndef _descR) || (_descR == 0) >>
<<replace "#spot">>
<<set _faceR = 0>><<set _nameR = 0>><<set _famR = 0>><<set _identR = 0>><<set _ageR = 0>><<set _devR = 0>><<set _hairR = 0>>
<<set _descR = 1>><<set _eyesR = 0>><<set _mouthR = 0>><<set _bodyR = 0>><<set _titsR = 0>><<set _buttR = 0>><<set _vagR = 0>>
<<set _dickR = 0>><<set _skillsR = 0>><<set _intR = 0>><<set _sexR = 0>><<set _flawR = 0>><<set _tatsR = 0>><<set _pierceR = 0>>
<<set _sAllR = 0>><<set _natR = 0>><<set _carR = 0>><<set _bellyR = 0>><<set _useR = 0>><<set _brandR = 0>><<set _hcol5R = 0>><<set _hcol4R = 0>>
<<set _hcol3R = 0>><<set _hcol2R = 0>><<set _hcol1R = 0>><<set _ecol1R = 0>><<set _ecol2R = 0>><<set _ppilR = 0>><<set _sclrR = 0>>
<br>
<<PrestTab>>
<</replace>>
<<else>>
<<replace "#spot">>
<<set _descR = 0>>
<</replace>>
<</if>>
<</link>>
/*-------------------------------------------------------------------------------------------------------------------------------*/
<<print " | " >>
<<link "Tattoos">>
<<if (ndef _tatsR) || (_tatsR == 0) >>
<<replace "#spot">>
<<set _faceR = 0>><<set _nameR = 0>><<set _famR = 0>><<set _identR = 0>><<set _ageR = 0>><<set _devR = 0>><<set _hairR = 0>>
<<set _descR = 0>><<set _eyesR = 0>><<set _mouthR = 0>><<set _bodyR = 0>><<set _titsR = 0>><<set _buttR = 0>><<set _vagR = 0>>
<<set _dickR = 0>><<set _skillsR = 0>><<set _intR = 0>><<set _sexR = 0>><<set _flawR = 0>><<set _tatsR = 1>><<set _pierceR = 0>>
<<set _sAllR = 0>><<set _natR = 0>><<set _carR = 0>><<set _bellyR = 0>><<set _useR = 0>><<set _brandR = 0>><<set _hcol5R = 0>><<set _hcol4R = 0>>
<<set _hcol3R = 0>><<set _hcol2R = 0>><<set _hcol1R = 0>><<set _ecol1R = 0>><<set _ecol2R = 0>><<set _ppilR = 0>><<set _sclrR = 0>>
<<TattooTab>>
<</replace>>
<<else>>
<<replace "#spot">>
<<set _tatsR = 0>>
<</replace>>
<</if>>
<</link>>
/*-------------------------------------------------------------------------------------------------------------------------------*/
<<print " | " >>
<<link "Branding">>
<<if (ndef _brandR) || (_brandR == 0) >>
<<replace "#spot">>
<<set _faceR = 0>><<set _nameR = 0>><<set _famR = 0>><<set _identR = 0>><<set _ageR = 0>><<set _devR = 0>><<set _hairR = 0>>
<<set _descR = 0>><<set _eyesR = 0>><<set _mouthR = 0>><<set _bodyR = 0>><<set _titsR = 0>><<set _buttR = 0>><<set _vagR = 0>>
<<set _dickR = 0>><<set _skillsR = 0>><<set _intR = 0>><<set _sexR = 0>><<set _flawR = 0>><<set _tatsR = 0>><<set _pierceR = 0>>
<<set _sAllR = 0>><<set _natR = 0>><<set _carR = 0>><<set _bellyR = 0>><<set _useR = 0>><<set _brandR = 1>><<set _hcol5R = 0>><<set _hcol4R = 0>>
<<set _hcol3R = 0>><<set _hcol2R = 0>><<set _hcol1R = 0>><<set _ecol1R = 0>><<set _ecol2R = 0>><<set _ppilR = 0>><<set _sclrR = 0>>
<<BrandTab>>
<</replace>>
<<else>>
<<replace "#spot">>
<<set _brandR = 0>>
<</replace>>
<</if>>
<</link>>
/*-------------------------------------------------------------------------------------------------------------------------------*/
<<print " | " >>
<<link "Piercings">>
<<if (ndef _pierceR) || (_pierceR == 0) >>
<<replace "#spot">>
<<set _faceR = 0>><<set _nameR = 0>><<set _famR = 0>><<set _identR = 0>><<set _ageR = 0>><<set _devR = 0>><<set _hairR = 0>>
<<set _descR = 0>><<set _eyesR = 0>><<set _mouthR = 0>><<set _bodyR = 0>><<set _titsR = 0>><<set _buttR = 0>><<set _vagR = 0>>
<<set _dickR = 0>><<set _skillsR = 0>><<set _intR = 0>><<set _sexR = 0>><<set _flawR = 0>><<set _tatsR = 0>><<set _pierceR = 1>>
<<set _sAllR = 0>><<set _natR = 0>><<set _carR = 0>><<set _bellyR = 0>><<set _useR = 0>><<set _brandR = 0>><<set _hcol5R = 0>><<set _hcol4R = 0>>
<<set _hcol3R = 0>><<set _hcol2R = 0>><<set _hcol1R = 0>><<set _ecol1R = 0>><<set _ecol2R = 0>><<set _ppilR = 0>><<set _sclrR = 0>>
<<PierceTab>>
<</replace>>
<<else>>
<<replace "#spot">>
<<set _pierceR = 0>>
<</replace>>
<</if>>
<</link>>
/*-------------------------------------------------------------------------------------------------------------------------------*/
<br>
<<link "Custom Cheat">>
<<replace "#spot">>
<br><<textarea "$customEvalCode" "">>
<br>//Any JavaScript function will be automatically run using this slave as an argument when "Continue" is clicked. For example, entering "(slave) => slave.slaveName = 'Fancy Name' " will change your slave's name to "Fancy Name".//
<</replace>>
<</link>>
/*-------------------------------------------------------------------------------------------------------------------------------*/
<br><<print "@@.yellow;Refresh through selecting a new or the same passage again for Changes to be seen@@" >><br>
<span id="spot"></span><br>
/* ------------------------------------------------------------------------- Used Variables: ------------------------------------------------------------------------------------------------*/
/*.visualAge .ageImplant .birthWeek .health.condition .health.shortDamage .health.longDamage .health.illness .health.tired .chem .addict .devotion .oldDevotion .trust .oldTrust .face .faceShape .faceImplant .markings .bald .hLength .hStyle .hColor .origHColor*/
/*.eyebrowHColor .pubicHColor .pubicHStyle .underArmHColor .underArmHStyle .eyeColor .origEye .eyes .hears .lips .lipsImplant .teeth .voiceImplant .voice .accent .genes .amp .fuckdoll .muscles .weight*/
/*.waist .height .heightImplant .shoulders .shouldersImplant .hips .hipsImplant .bellyImplant .bellySag .burst .boobs .boobsImplant .boobsImplantType .lactation .boobShape .nipples .areolae*/
/*.butt .buttImplant .anus .mpreg .vagina .vaginaLube .clit .labia .pubertyXX .pubertyAgeXX .cervixImplant .breedingMark .ovaries .preg .pregType .pregSource .dick .foreskin .balls*/
|
MonsterMate/fc
|
src/cheats/mod_EditChildCheatNew.tw
|
tw
|
mit
| 122,232
|
:: MOD_Edit FS Cheat [nobr]
<<set $nextButton = "Continue", $nextLink = "MOD_Edit FS Cheat Datatype Cleanup">>
''Cheating Edit Future Society''
<br>
<<if $arcologies[0].FSSupremacist != "unset" && $arcologies[0].FSSupremacistRace != 0>>
<br>You are ''pursuing'' $arcologies[0].FSSupremacistRace Superiority.
<<else>>
<br>You are ''not pursuing'' Racial Supremacy.
<</if>>
<br>Supremacy (0-100 or unset): <<textbox "$arcologies[0].FSSupremacist" $arcologies[0].FSSupremacist>>
<br>Decoration: $arcologies[0].FSSupremacistDecoration
<br><<radiobutton "$arcologies[0].FSSupremacistDecoration" 20>> 20 (Minimum)
<br><<radiobutton "$arcologies[0].FSSupremacistDecoration" 40>> 40 (Media support.)
<br><<radiobutton "$arcologies[0].FSSupremacistDecoration" 60>> 60 (Decorated public spaces.)
<br><<radiobutton "$arcologies[0].FSSupremacistDecoration" 80>> 80 (Slaves stationed in public spaces.)
<br><<radiobutton "$arcologies[0].FSSupremacistDecoration" 100>> 100 (Remodeled exterior; Fully customized.)
<br>Universal Enslavement: $arcologies[0].FSSupremacistLawME |
<<radiobutton "$arcologies[0].FSSupremacistLawME" 0>> 0 (Not passed.)
| <<radiobutton "$arcologies[0].FSSupremacistLawME" 1>> 1 (Passed.)
<br>Supremacist Race:
<<radiobutton "$arcologies[0].FSSupremacistRace" "white">> White |
<<radiobutton "$arcologies[0].FSSupremacistRace" "asian">> Asian |
<<radiobutton "$arcologies[0].FSSupremacistRace" "latina">> Latina |
<<radiobutton "$arcologies[0].FSSupremacistRace" "middle eastern">> Middle Eastern |
<<radiobutton "$arcologies[0].FSSupremacistRace" "black">> Black |
<<radiobutton "$arcologies[0].FSSupremacistRace" "indo-aryan">> Indo-Aryan |
<<radiobutton "$arcologies[0].FSSupremacistRace" "amerindian">> Amerindian |
<<radiobutton "$arcologies[0].FSSupremacistRace" "pacific islander">> Pacific Islander |
<<radiobutton "$arcologies[0].FSSupremacistRace" "southern european">> Southern European |
<<radiobutton "$arcologies[0].FSSupremacistRace" "semitic">> Semitic |
<<radiobutton "$arcologies[0].FSSupremacistRace" "mixed race">> Mixed Race
<br>[[Apply and reset Racial Subjugationism|MOD_Edit FS Cheat][FutureSocieties.remove("FSSubjugationist")]]
<br><br>
<<if $arcologies[0].FSSubjugationist != "unset" && $arcologies[0].FSSubjugationistRace != 0>>
<br>You are ''pursuing'' $arcologies[0].FSSubjugationistRace Inferiority.
<<else>>
<br>You are ''not pursuing'' Racial Subjugationism.
<</if>>
<br>Subjugationism (0-100 or unset): <<textbox "$arcologies[0].FSSubjugationist" $arcologies[0].FSSubjugationist>>
<br>Decoration: $arcologies[0].FSSubjugationistDecoration
<br><<radiobutton "$arcologies[0].FSSubjugationistDecoration" 20>> 20 (Minimum)
<br><<radiobutton "$arcologies[0].FSSubjugationistDecoration" 40>> 40 (Media support.)
<br><<radiobutton "$arcologies[0].FSSubjugationistDecoration" 60>> 60 (Decorated public spaces.)
<br><<radiobutton "$arcologies[0].FSSubjugationistDecoration" 80>> 80 (Slaves stationed in public spaces.)
<br><<radiobutton "$arcologies[0].FSSubjugationistDecoration" 100>> 100 (Remodeled exterior; Fully customized.)
<br>Universal Enslavement: $arcologies[0].FSSubjugationistLawME |
<<radiobutton "$arcologies[0].FSSubjugationistLawME" 0>> 0 (Not passed.)
| <<radiobutton "$arcologies[0].FSSubjugationistLawME" 1>> 1 (Passed.)
<br>Subjugationist Race:
<<radiobutton "$arcologies[0].FSSubjugationistRace" "white">> White |
<<radiobutton "$arcologies[0].FSSubjugationistRace" "asian">> Asian |
<<radiobutton "$arcologies[0].FSSubjugationistRace" "latina">> Latina |
<<radiobutton "$arcologies[0].FSSubjugationistRace" "middle eastern">> Middle Eastern |
<<radiobutton "$arcologies[0].FSSubjugationistRace" "black">> Black |
<<radiobutton "$arcologies[0].FSSubjugationistRace" "indo-aryan">> Indo-Aryan |
<<radiobutton "$arcologies[0].FSSubjugationistRace" "amerindian">> Amerindian |
<<radiobutton "$arcologies[0].FSSubjugationistRace" "pacific islander">> Pacific Islander |
<<radiobutton "$arcologies[0].FSSubjugationistRace" "southern european">> Southern European |
<<radiobutton "$arcologies[0].FSSubjugationistRace" "semitic">> Semitic |
<<radiobutton "$arcologies[0].FSSubjugationistRace" "mixed race">> Mixed Race
<br>[[Apply and reset Racial Supremacy|MOD_Edit FS Cheat][FutureSocieties.remove("FSSupremacist")]]
<br><br>
<<if $arcologies[0].FSIntellectualDependency != "unset">>
<br>You are ''pursuing'' Intellectual Dependency.
<<else>>
<br>You are ''not pursuing'' Intellectual Dependency.
<</if>>
<br>Intellectual Dependency (0-100 or unset): <<textbox "$arcologies[0].FSIntellectualDependency" $arcologies[0].FSIntellectualDependency>>
<br>Decoration: $arcologies[0].FSIntellectualDependencyDecoration
<br><<radiobutton "$arcologies[0].FSIntellectualDependencyDecoration" 20>> 20 (Minimum)
<br><<radiobutton "$arcologies[0].FSIntellectualDependencyDecoration" 40>> 40 (Media support.)
<br><<radiobutton "$arcologies[0].FSIntellectualDependencyDecoration" 60>> 60 (Decorated public spaces.)
<br><<radiobutton "$arcologies[0].FSIntellectualDependencyDecoration" 80>> 80 (Slaves stationed in public spaces.)
<br><<radiobutton "$arcologies[0].FSIntellectualDependencyDecoration" 100>> 100 (Remodeled exterior; Fully customized.)
<br>Law: $arcologies[0].FSIntellectualDependencySMR |
<<radiobutton "$arcologies[0].FSIntellectualDependencySMR" 0>> 0 (Not passed.)
| <<radiobutton "$arcologies[0].FSIntellectualDependencySMR" 1>> 1 (Passed.)
<br>Law: $arcologies[0].FSIntellectualDependencyLaw |
<<radiobutton "$arcologies[0].FSIntellectualDependencyLaw" 0>> 0 (Not passed.)
| <<radiobutton "$arcologies[0].FSIntellectualDependencyLaw" 1>> 1 (Passed.)
<br>Law: $arcologies[0].FSIntellectualDependencyLawBeauty |
<<radiobutton "$arcologies[0].FSIntellectualDependencyLawBeauty" 0>> 0 (Not passed.)
| <<radiobutton "$arcologies[0].FSIntellectualDependencyLawBeauty" 1>> 1 (Passed.)
<br>[[Apply and reset Slave Professionalism|MOD_Edit FS Cheat][FutureSocieties.remove("FSSlaveProfessionalism")]]
<br><br>
<<if $arcologies[0].FSSlaveProfessionalism != "unset">>
<br>You are ''pursuing'' Slave Professionalism.
<<else>>
<br>You are ''not pursuing'' Slave Professionalism.
<</if>>
<br>Slave Professionalism (0-100 or unset): <<textbox "$arcologies[0].FSSlaveProfessionalism" $arcologies[0].FSSlaveProfessionalism>>
<br>Decoration: $arcologies[0].FSSlaveProfessionalismDecoration
<br><<radiobutton "$arcologies[0].FSSlaveProfessionalismDecoration" 20>> 20 (Minimum)
<br><<radiobutton "$arcologies[0].FSSlaveProfessionalismDecoration" 40>> 40 (Media support.)
<br><<radiobutton "$arcologies[0].FSSlaveProfessionalismDecoration" 60>> 60 (Decorated public spaces.)
<br><<radiobutton "$arcologies[0].FSSlaveProfessionalismDecoration" 80>> 80 (Slaves stationed in public spaces.)
<br><<radiobutton "$arcologies[0].FSSlaveProfessionalismDecoration" 100>> 100 (Remodeled exterior; Fully customized.)
<br>Law: $arcologies[0].FSSlaveProfessionalismSMR |
<<radiobutton "$arcologies[0].FSSlaveProfessionalismSMR" 0>> 0 (Not passed.)
| <<radiobutton "$arcologies[0].FSSlaveProfessionalismSMR" 1>> 1 (Passed.)
<br>Law: $arcologies[0].FSSlaveProfessionalismLaw |
<<radiobutton "$arcologies[0].FSSlaveProfessionalismLaw" 0>> 0 (Not passed.)
| <<radiobutton "$arcologies[0].FSSlaveProfessionalismLaw" 1>> 1 (Passed.)
<br>[[Apply and reset Intellectual Dependency|MOD_Edit FS Cheat][FutureSocieties.remove("FSIntellectualDependency")]]
<br><br>
<<if $arcologies[0].FSGenderRadicalist != "unset">>
<br>You are ''pursuing'' Gender Radicalism.
<<else>>
<br>You are ''not pursuing'' Gender Radicalism.
<</if>>
<br>Gender Radicalism (0-100 or unset): <<textbox "$arcologies[0].FSGenderRadicalist" $arcologies[0].FSGenderRadicalist>>
<br>Decoration: $arcologies[0].FSGenderRadicalistDecoration
<br><<radiobutton "$arcologies[0].FSGenderRadicalistDecoration" 20>> 20 (Minimum)
<br><<radiobutton "$arcologies[0].FSGenderRadicalistDecoration" 40>> 40 (Media support.)
<br><<radiobutton "$arcologies[0].FSGenderRadicalistDecoration" 60>> 60 (Decorated public spaces.)
<br><<radiobutton "$arcologies[0].FSGenderRadicalistDecoration" 80>> 80 (Slaves stationed in public spaces.)
<br><<radiobutton "$arcologies[0].FSGenderRadicalistDecoration" 100>> 100 (Remodeled exterior; Fully customized.)
<br>Law: $arcologies[0].FSGenderRadicalistLawBeauty |
<<radiobutton "$arcologies[0].FSGenderRadicalistLawBeauty" 0>> 0 (Not passed.)
| <<radiobutton "$arcologies[0].FSGenderRadicalistLawBeauty" 1>> 1 (Passed.)
<br>Law: $arcologies[0].FSGenderRadicalistLawFuta |
<<radiobutton "$arcologies[0].FSGenderRadicalistLawFuta" 0>> 0 (Not passed.)
| <<radiobutton "$arcologies[0].FSGenderRadicalistLawFuta" 1>> 1 (Futa pref.)
| <<radiobutton "$arcologies[0].FSGenderRadicalistLawFuta" 2>> 2 (Big dicks and balls pref.)
| <<radiobutton "$arcologies[0].FSGenderRadicalistLawFuta" 3>> 3 (Big butts and skilled buttholes pref.)
| <<radiobutton "$arcologies[0].FSGenderRadicalistLawFuta" 4>> 4 (Trap pref.)
<br>[[Apply and reset Gender Traditionalism|MOD_Edit FS Cheat][FutureSocieties.remove("FSGenderFundamentalist")]]
<br><br>
<<if $arcologies[0].FSGenderFundamentalist != "unset">>
<br>You are ''pursuing'' Gender Traditionalism.
<<else>>
<br>You are ''not pursuing'' Gender Traditionalism.
<</if>>
<br>Gender Traditionalism (0-100 or unset): <<textbox "$arcologies[0].FSGenderFundamentalist" $arcologies[0].FSGenderFundamentalist>>
<br>Decoration: $arcologies[0].FSGenderFundamentalistDecoration
<br><<radiobutton "$arcologies[0].FSGenderFundamentalistDecoration" 20>> 20 (Minimum)
<br><<radiobutton "$arcologies[0].FSGenderFundamentalistDecoration" 40>> 40 (Media support.)
<br><<radiobutton "$arcologies[0].FSGenderFundamentalistDecoration" 60>> 60 (Decorated public spaces.)
<br><<radiobutton "$arcologies[0].FSGenderFundamentalistDecoration" 80>> 80 (Slaves stationed in public spaces.)
<br><<radiobutton "$arcologies[0].FSGenderFundamentalistDecoration" 100>> 100 (Remodeled exterior; Fully customized.)
<br>Law: $arcologies[0].FSGenderFundamentalistSMR |
<<radiobutton "$arcologies[0].FSGenderFundamentalistSMR" 0>> 0 (Not passed.)
| <<radiobutton "$arcologies[0].FSGenderFundamentalistSMR" 1>> 1 (Passed.)
<br>Education Traditions: $arcologies[0].FSGenderFundamentalistLawBimbo |
<<radiobutton "$arcologies[0].FSGenderFundamentalistLawBimbo" 0>> 0 (Not passed.)
| <<radiobutton "$arcologies[0].FSGenderFundamentalistLawBimbo" 1>> 1 (Passed.)
<br>[[Apply and reset Gender Radicalism|MOD_Edit FS Cheat][FutureSocieties.remove("FSGenderRadicalist")]]
<<if $seePreg != 0>>
<br><br>
<<if $arcologies[0].FSRepopulationFocus != "unset">>
<br>You are ''pursuing'' Repopulation Efforts.
<<else>>
<br>You are ''not pursuing'' Repopulation Efforts.
<</if>>
<br>Repopulation Efforts (0-100 or unset): <<textbox "$arcologies[0].FSRepopulationFocus" $arcologies[0].FSRepopulationFocus>>
<br>Decoration: $arcologies[0].FSRepopulationFocusDecoration
<br><<radiobutton "$arcologies[0].FSRepopulationFocusDecoration" 20>> 20 (Minimum)
<br><<radiobutton "$arcologies[0].FSRepopulationFocusDecoration" 40>> 40 (Media support.)
<br><<radiobutton "$arcologies[0].FSRepopulationFocusDecoration" 60>> 60 (Decorated public spaces.)
<br><<radiobutton "$arcologies[0].FSRepopulationFocusDecoration" 80>> 80 (Slaves stationed in public spaces.)
<br><<radiobutton "$arcologies[0].FSRepopulationFocusDecoration" 100>> 100 (Remodeled exterior; Fully customized.)
<br>Law: $arcologies[0].FSRepopulationFocusSMR |
<<radiobutton "$arcologies[0].FSRepopulationFocusSMR" 0>> 0 (Not passed.)
| <<radiobutton "$arcologies[0].FSRepopulationFocusSMR" 1>> 1 (Passed.)
<br>Law: $arcologies[0].FSRepopulationFocusLaw |
<<radiobutton "$arcologies[0].FSRepopulationFocusLaw" 0>> 0 (Not passed.)
| <<radiobutton "$arcologies[0].FSRepopulationFocusLaw" 1>> 1 (Passed.)
<br>[[Apply and reset Eugenics|MOD_Edit FS Cheat][FutureSocieties.remove("FSRestart")]]
<br><br>
<<if $arcologies[0].FSRestart != "unset">>
<br>You are ''pursuing'' Eugenics.
<<else>>
<br>You are ''not pursuing'' Eugenics.
<</if>>
<br>Eugenics (0-100 or unset): <<textbox "$arcologies[0].FSRestart" $arcologies[0].FSRestart>>
<br>Decoration: $arcologies[0].FSRestartDecoration
<br><<radiobutton "$arcologies[0].FSRestartDecoration" 20>> 20 (Minimum)
<br><<radiobutton "$arcologies[0].FSRestartDecoration" 40>> 40 (Media support.)
<br><<radiobutton "$arcologies[0].FSRestartDecoration" 60>> 60 (Decorated public spaces.)
<br><<radiobutton "$arcologies[0].FSRestartDecoration" 80>> 80 (Slaves stationed in public spaces.)
<br><<radiobutton "$arcologies[0].FSRestartDecoration" 100>> 100 (Remodeled exterior; Fully customized; Elite established.)
<br>Law: $arcologies[0].FSRestartSMR |
<<radiobutton "$arcologies[0].FSRestartSMR" 0>> 0 (Not passed.)
| <<radiobutton "$arcologies[0].FSRestartSMR" 1>> 1 (Passed.)
<br>[[Apply and reset Repopulation Efforts|MOD_Edit FS Cheat][FutureSocieties.remove("FSRepopulationFocus")]]
<</if>>
<br><br>
<<if $arcologies[0].FSPaternalist != "unset">>
<br>You are ''pursuing'' Paternalism.
<<else>>
<br>You are not ''pursuing'' Paternalism.
<</if>>
<br>Paternalism (0-100 or unset): <<textbox "$arcologies[0].FSPaternalist" $arcologies[0].FSPaternalist>>
<br>Decoration: $arcologies[0].FSPaternalistDecoration
<br><<radiobutton "$arcologies[0].FSPaternalistDecoration" 20>> 20 (Minimum)
<br><<radiobutton "$arcologies[0].FSPaternalistDecoration" 40>> 40 (Media support.)
<br><<radiobutton "$arcologies[0].FSPaternalistDecoration" 60>> 60 (Decorated public spaces.)
<br><<radiobutton "$arcologies[0].FSPaternalistDecoration" 80>> 80 (Slaves stationed in public spaces.)
<br><<radiobutton "$arcologies[0].FSPaternalistDecoration" 100>> 100 (Remodeled exterior; Fully customized.)
<br>Law: $arcologies[0].FSPaternalistLaw |
<<radiobutton "$arcologies[0].FSPaternalistLaw" 0>> 0 (Not passed.)
| <<radiobutton "$arcologies[0].FSPaternalistLaw" 1>> 1 (Passed.)
<br>[[Apply and reset Degradationism|MOD_Edit FS Cheat][FutureSocieties.remove("FSDegradationist")]]
<br><br>
<<if $arcologies[0].FSDegradationist != "unset">>
<br>You are ''pursuing'' Degradationism.
<<else>>
<br>You are ''not pursuing'' Degradationism.
<</if>>
<br>Degradationism (0-100 or unset): <<textbox "$arcologies[0].FSDegradationist" $arcologies[0].FSDegradationist>>
<br>Decoration: $arcologies[0].FSDegradationistDecoration
<br><<radiobutton "$arcologies[0].FSDegradationistDecoration" 20>> 20 (Minimum)
<br><<radiobutton "$arcologies[0].FSDegradationistDecoration" 40>> 40 (Media support.)
<br><<radiobutton "$arcologies[0].FSDegradationistDecoration" 60>> 60 (Decorated public spaces.)
<br><<radiobutton "$arcologies[0].FSDegradationistDecoration" 80>> 80 (Slaves stationed in public spaces.)
<br><<radiobutton "$arcologies[0].FSDegradationistDecoration" 100>> 100 (Remodeled exterior; Fully customized.)
<br>Law: $arcologies[0].FSDegradationistLaw |
<<radiobutton "$arcologies[0].FSDegradationistLaw" 0>> 0 (Not passed.)
| <<radiobutton "$arcologies[0].FSDegradationistLaw" 1>> 1 (Passed.)
<br>[[Apply and reset Paternalism|MOD_Edit FS Cheat][FutureSocieties.remove("FSPaternalist")]]
<br><br>
<<if $arcologies[0].FSBodyPurist != "unset">>
<br>You are ''pursuing'' Body Purism.
<<else>>
<br>You are ''not pursuing'' Body Purism.
<</if>>
<br>Body Purism (0-100 or unset): <<textbox "$arcologies[0].FSBodyPurist" $arcologies[0].FSBodyPurist>>
<br>Decoration: $arcologies[0].FSBodyPuristDecoration
<br><<radiobutton "$arcologies[0].FSBodyPuristDecoration" 20>> 20 (Minimum)
<br><<radiobutton "$arcologies[0].FSBodyPuristDecoration" 40>> 40 (Media support.)
<br><<radiobutton "$arcologies[0].FSBodyPuristDecoration" 60>> 60 (Decorated public spaces.)
<br><<radiobutton "$arcologies[0].FSBodyPuristDecoration" 80>> 80 (Slaves stationed in public spaces.)
<br><<radiobutton "$arcologies[0].FSBodyPuristDecoration" 100>> 100 (Remodeled exterior; Fully customized.)
<br>Law: $arcologies[0].FSBodyPuristLaw |
<<radiobutton "$arcologies[0].FSBodyPuristLaw" 0>> 0 (Not passed.)
| <<radiobutton "$arcologies[0].FSBodyPuristLaw" 1>> 1 (Passed.)
<br>[[Apply and reset Body Transformationism|MOD_Edit FS Cheat][FutureSocieties.remove("FSTransformationFetishist")]]
<br><br>
<<if $arcologies[0].FSTransformationFetishist != "unset">>
<br>You are ''pursuing'' Body Transformationism.
<<else>>
<br>You are ''not pursuing'' Body Transformationism.
<</if>>
<br>Body Transformationism (0-100 or unset): <<textbox "$arcologies[0].FSTransformationFetishist" $arcologies[0].FSTransformationFetishist>>
<br>Decoration: $arcologies[0].FSTransformationFetishistDecoration
<br><<radiobutton "$arcologies[0].FSTransformationFetishistDecoration" 20>> 20 (Minimum)
<br><<radiobutton "$arcologies[0].FSTransformationFetishistDecoration" 40>> 40 (Media support.)
<br><<radiobutton "$arcologies[0].FSTransformationFetishistDecoration" 60>> 60 (Decorated public spaces.)
<br><<radiobutton "$arcologies[0].FSTransformationFetishistDecoration" 80>> 80 (Slaves stationed in public spaces.)
<br><<radiobutton "$arcologies[0].FSTransformationFetishistDecoration" 100>> 100 (Remodeled exterior; Fully customized.)
<br>Law: $arcologies[0].FSTransformationFetishistSMR |
<<radiobutton "$arcologies[0].FSTransformationFetishistSMR" 0>> 0 (Not passed.)
| <<radiobutton "$arcologies[0].FSTransformationFetishistSMR" 1>> 1 (Passed.)
<br>[[Apply and reset Body Purism|MOD_Edit FS Cheat][FutureSocieties.remove("FSBodyPurist")]]
<br><br>
<<if $arcologies[0].FSYouthPreferentialist != "unset">>
<br>You are ''pursuing'' Youth Preferentialism.
<<else>>
<br>You are ''not pursuing'' Youth Preferentialism.
<</if>>
<br>(Setting resets Maturity Preferentialism)
<br>Youth Preferentialism (0-100 or unset): <<textbox "$arcologies[0].FSYouthPreferentialist" $arcologies[0].FSYouthPreferentialist>>
<br>Decoration: $arcologies[0].FSYouthPreferentialistDecoration
<br><<radiobutton "$arcologies[0].FSYouthPreferentialistDecoration" 20>> 20 (Minimum)
<br><<radiobutton "$arcologies[0].FSYouthPreferentialistDecoration" 40>> 40 (Media support.)
<br><<radiobutton "$arcologies[0].FSYouthPreferentialistDecoration" 60>> 60 (Decorated public spaces.)
<br><<radiobutton "$arcologies[0].FSYouthPreferentialistDecoration" 80>> 80 (Slaves stationed in public spaces.)
<br><<radiobutton "$arcologies[0].FSYouthPreferentialistDecoration" 100>> 100 (Remodeled exterior; Fully customized.)
<br>Law: $arcologies[0].FSYouthPreferentialistLaw |
<<radiobutton "$arcologies[0].FSYouthPreferentialistLaw" 0>> 0 (Not passed.)
| <<radiobutton "$arcologies[0].FSYouthPreferentialistLaw" 1>> 1 (Passed.)
<br>[[Apply and reset Maturity Preferentialism|MOD_Edit FS Cheat][FutureSocieties.remove("FSMaturityPreferentialist")]]
<br><br>
<<if $arcologies[0].FSMaturityPreferentialist != "unset">>
<br>You are ''pursuing'' Maturity Preferentialism.
<<else>>
<br>You are ''not pursuing'' Maturity Preferentialism.
<</if>>
<br>(Setting resets Youth Preferentialism)
<br>Maturity Preferentialism (0-100 or unset): <<textbox "$arcologies[0].FSMaturityPreferentialist" $arcologies[0].FSMaturityPreferentialist>>
<br>Decoration: $arcologies[0].FSMaturityPreferentialistDecoration
<br><<radiobutton "$arcologies[0].FSMaturityPreferentialistDecoration" 20>> 20 (Minimum)
<br><<radiobutton "$arcologies[0].FSMaturityPreferentialistDecoration" 40>> 40 (Media support.)
<br><<radiobutton "$arcologies[0].FSMaturityPreferentialistDecoration" 60>> 60 (Decorated public spaces.)
<br><<radiobutton "$arcologies[0].FSMaturityPreferentialistDecoration" 80>> 80 (Slaves stationed in public spaces.)
<br><<radiobutton "$arcologies[0].FSMaturityPreferentialistDecoration" 100>> 100 (Remodeled exterior; Fully customized.)
<br>Law: $arcologies[0].FSMaturityPreferentialistLaw |
<<radiobutton "$arcologies[0].FSMaturityPreferentialistLaw" 0>> 0 (Not passed.)
| <<radiobutton "$arcologies[0].FSMaturityPreferentialistLaw" 1>> 1 (Passed.)
<br>[[Apply and reset Youth Preferentialism|MOD_Edit FS Cheat][FutureSocieties.remove("FSYouthPreferentialist")]]
<br><br>
<<if $arcologies[0].FSPetiteAdmiration != "unset">>
<br>You are ''pursuing'' Petite Admiration.
<<else>>
<br>You are ''not pursuing'' Petite Admiration.
<</if>>
<br>Petite Admiration (0-100 or unset): <<textbox "$arcologies[0].FSPetiteAdmiration" $arcologies[0].FSPetiteAdmiration>>
<br>Decoration: $arcologies[0].FSPetiteAdmirationDecoration
<br><<radiobutton "$arcologies[0].FSPetiteAdmirationDecoration" 20>> 20 (Minimum)
<br><<radiobutton "$arcologies[0].FSPetiteAdmirationDecoration" 40>> 40 (Media support.)
<br><<radiobutton "$arcologies[0].FSPetiteAdmirationDecoration" 60>> 60 (Decorated public spaces.)
<br><<radiobutton "$arcologies[0].FSPetiteAdmirationDecoration" 80>> 80 (Slaves stationed in public spaces.)
<br><<radiobutton "$arcologies[0].FSPetiteAdmirationDecoration" 100>> 100 (Remodeled exterior; Fully customized.)
<br>Law: $arcologies[0].FSPetiteAdmirationSMR |
<<radiobutton "$arcologies[0].FSPetiteAdmirationSMR" 0>> 0 (Not passed.)
| <<radiobutton "$arcologies[0].FSPetiteAdmirationSMR" 1>> 1 (Passed.)
<br>Law: $arcologies[0].FSPetiteAdmirationLaw |
<<radiobutton "$arcologies[0].FSPetiteAdmirationLaw" 0>> 0 (Not passed.)
| <<radiobutton "$arcologies[0].FSPetiteAdmirationLaw" 1>> 1 (Passed.)
<br>Law: $arcologies[0].FSPetiteAdmirationLaw2 |
<<radiobutton "$arcologies[0].FSPetiteAdmirationLaw2" 0>> 0 (Not passed.)
| <<radiobutton "$arcologies[0].FSPetiteAdmirationLaw2" 1>> 1 (Passed.)
<br>[[Apply and reset Statuesque Glorification|MOD_Edit FS Cheat][FutureSocieties.remove("FSStatuesqueGlorification")]]
<br><br>
<<if $arcologies[0].FSStatuesqueGlorification != "unset">>
<br>You are ''pursuing'' Statuesque Glorification.
<<else>>
<br>You are ''not pursuing'' Statuesque Glorification.
<</if>>
<br>Statuesque Glorification (0-100 or unset): <<textbox "$arcologies[0].FSStatuesqueGlorification" $arcologies[0].FSStatuesqueGlorification>>
<br>Decoration: $arcologies[0].FSStatuesqueGlorificationDecoration
<br><<radiobutton "$arcologies[0].FSStatuesqueGlorificationDecoration" 20>> 20 (Minimum)
<br><<radiobutton "$arcologies[0].FSStatuesqueGlorificationDecoration" 40>> 40 (Media support.)
<br><<radiobutton "$arcologies[0].FSStatuesqueGlorificationDecoration" 60>> 60 (Decorated public spaces.)
<br><<radiobutton "$arcologies[0].FSStatuesqueGlorificationDecoration" 80>> 80 (Slaves stationed in public spaces.)
<br><<radiobutton "$arcologies[0].FSStatuesqueGlorificationDecoration" 100>> 100 (Remodeled exterior; Fully customized.)
<br>Law: $arcologies[0].FSStatuesqueGlorificationSMR |
<<radiobutton "$arcologies[0].FSStatuesqueGlorificationSMR" 0>> 0 (Not passed.)
| <<radiobutton "$arcologies[0].FSStatuesqueGlorificationSMR" 1>> 1 (Passed.)
<br>Law: $arcologies[0].FSStatuesqueGlorificationLaw |
<<radiobutton "$arcologies[0].FSStatuesqueGlorificationLaw" 0>> 0 (Not passed.)
| <<radiobutton "$arcologies[0].FSStatuesqueGlorificationLaw" 1>> 1 (Passed.)
<br>Law: $arcologies[0].FSStatuesqueGlorificationLaw2 |
<<radiobutton "$arcologies[0].FSStatuesqueGlorificationLaw2" 0>> 0 (Not passed.)
| <<radiobutton "$arcologies[0].FSStatuesqueGlorificationLaw2" 1>> 1 (Passed.)
<br>[[Apply and reset Petite Admiration|MOD_Edit FS Cheat][FutureSocieties.remove("FSPetiteAdmiration")]]
<br><br>
<<if $arcologies[0].FSSlimnessEnthusiast != "unset">>
<br>You are ''supporting'' Slimness Enthusiasm.
<<else>>
<br>You are ''not pursuing'' Slimness Enthusiasm.
<</if>>
<br>Slimness Enthusiasm (0-100 or unset): <<textbox "$arcologies[0].FSSlimnessEnthusiast" $arcologies[0].FSSlimnessEnthusiast>>
<br>Decoration: $arcologies[0].FSSlimnessEnthusiastDecoration
<br><<radiobutton "$arcologies[0].FSSlimnessEnthusiastDecoration" 20>> 20 (Minimum)
<br><<radiobutton "$arcologies[0].FSSlimnessEnthusiastDecoration" 40>> 40 (Media support.)
<br><<radiobutton "$arcologies[0].FSSlimnessEnthusiastDecoration" 60>> 60 (Decorated public spaces.)
<br><<radiobutton "$arcologies[0].FSSlimnessEnthusiastDecoration" 80>> 80 (Slaves stationed in public spaces.)
<br><<radiobutton "$arcologies[0].FSSlimnessEnthusiastDecoration" 100>> 100 (Remodeled exterior; Fully customized.)
<br>Market Regulations: $arcologies[0].FSSlimnessEnthusiastSMR |
<<radiobutton "$arcologies[0].FSSlimnessEnthusiastSMR" 0>> 0 (Not passed.)
| <<radiobutton "$arcologies[0].FSSlimnessEnthusiastSMR" 1>> 1 (Passed.)
<br>[[Apply and reset Asset Expansionism|MOD_Edit FS Cheat][FutureSocieties.remove("FSAssetExpansionist")]]
<br><br>
<<if $arcologies[0].FSAssetExpansionist != "unset">>
<br>You are ''pursuing'' Asset Expansionism.
<<else>>
<br>You are ''not pursuing'' Asset Expansionism.
<</if>>
<br>(Setting resets Slimness Enthusiasm)
<br>Asset Expansionism (0-100 or unset): <<textbox "$arcologies[0].FSAssetExpansionist" $arcologies[0].FSAssetExpansionist>>
<br>Decoration: $arcologies[0].FSAssetExpansionistDecoration
<br><<radiobutton "$arcologies[0].FSAssetExpansionistDecoration" 20>> 20 (Minimum)
<br><<radiobutton "$arcologies[0].FSAssetExpansionistDecoration" 40>> 40 (Media support.)
<br><<radiobutton "$arcologies[0].FSAssetExpansionistDecoration" 60>> 60 (Decorated public spaces.)
<br><<radiobutton "$arcologies[0].FSAssetExpansionistDecoration" 80>> 80 (Slaves stationed in public spaces.)
<br><<radiobutton "$arcologies[0].FSAssetExpansionistDecoration" 100>> 100 (Remodeled exterior; Fully customized.)
<br>Market Regulations: $arcologies[0].FSAssetExpansionistSMR |
<<radiobutton "$arcologies[0].FSAssetExpansionistSMR" 0>> 0 (Not passed.)
| <<radiobutton "$arcologies[0].FSAssetExpansionistSMR" 1>> 1 (Passed.)
<br>[[Apply and reset Slimness Enthusiasm|MOD_Edit FS Cheat][FutureSocieties.remove("FSSlimnessEnthusiast")]]
<br><br>
<<if $arcologies[0].FSPastoralist != "unset">>
<br>You are ''pursuing'' Pastoralism.
<<else>>
<br>You are ''not pursuing'' Pastoralism.
<</if>>
<br>Pastoralism (0-100 or unset): <<textbox "$arcologies[0].FSPastoralist" $arcologies[0].FSPastoralist>>
<br>Decoration: $arcologies[0].FSPastoralistDecoration
<br><<radiobutton "$arcologies[0].FSPastoralistDecoration" 20>> 20 (Minimum)
<br><<radiobutton "$arcologies[0].FSPastoralistDecoration" 40>> 40 (Media support.)
<br><<radiobutton "$arcologies[0].FSPastoralistDecoration" 60>> 60 (Decorated public spaces.)
<br><<radiobutton "$arcologies[0].FSPastoralistDecoration" 80>> 80 (Slaves stationed in public spaces.)
<br><<radiobutton "$arcologies[0].FSPastoralistDecoration" 100>> 100 (Remodeled exterior; Fully customized.)
<br>Law: $arcologies[0].FSPastoralistLaw |
<<radiobutton "$arcologies[0].FSPastoralistLaw" 0>> 0 (Not passed.)
| <<radiobutton "$arcologies[0].FSPastoralistLaw" 1>> 1 (Passed.)
<br>[[Apply|MOD_Edit FS Cheat]]
<br><br>
<<if $arcologies[0].FSPhysicalIdealist != "unset">>
<br>You are ''pursuing'' Physical Idealism.
<<else>>
<br>You are ''not pursuing'' Physical Idealism.
<</if>>
<br>Physical Idealism (0-100 or unset): <<textbox "$arcologies[0].FSPhysicalIdealist" $arcologies[0].FSPhysicalIdealist>>
<br>Decoration: $arcologies[0].FSPhysicalIdealistDecoration
<br><<radiobutton "$arcologies[0].FSPhysicalIdealistDecoration" 20>> 20 (Minimum)
<br><<radiobutton "$arcologies[0].FSPhysicalIdealistDecoration" 40>> 40 (Media support.)
<br><<radiobutton "$arcologies[0].FSPhysicalIdealistDecoration" 60>> 60 (Decorated public spaces.)
<br><<radiobutton "$arcologies[0].FSPhysicalIdealistDecoration" 80>> 80 (Slaves stationed in public spaces.)
<br><<radiobutton "$arcologies[0].FSPhysicalIdealistDecoration" 100>> 100 (Remodeled exterior; Fully customized.)
<br>Market Regulations: $arcologies[0].FSPhysicalIdealistSMR |
<<radiobutton "$arcologies[0].FSPhysicalIdealistSMR" 0>> 0 (Not passed.)
| <<radiobutton "$arcologies[0].FSPhysicalIdealistSMR" 1>> 1 (Passed.)
<br>[[Apply and reset Hedonistic Decadence|MOD_Edit FS Cheat][FutureSocieties.remove("FSHedonisticDecadence")]]
<br><br>
<<if $arcologies[0].FSHedonisticDecadence != "unset">>
<br>You are ''pursuing'' Hedonistic Decadence.
<<else>>
<br>You are ''not pursuing'' Hedonistic Decadence.
<</if>>
<br>HedonisticDecadence (0-100 or unset): <<textbox "$arcologies[0].FSHedonisticDecadence" $arcologies[0].FSHedonisticDecadence>>
<br>Decoration: $arcologies[0].FSHedonisticDecadenceDecoration
<br><<radiobutton "$arcologies[0].FSHedonisticDecadenceDecoration" 20>> 20 (Minimum)
<br><<radiobutton "$arcologies[0].FSHedonisticDecadenceDecoration" 40>> 40 (Media support.)
<br><<radiobutton "$arcologies[0].FSHedonisticDecadenceDecoration" 60>> 60 (Decorated public spaces.)
<br><<radiobutton "$arcologies[0].FSHedonisticDecadenceDecoration" 80>> 80 (Slaves stationed in public spaces.)
<br><<radiobutton "$arcologies[0].FSHedonisticDecadenceDecoration" 100>> 100 (Remodeled exterior; Fully customized.)
<br>Law: $arcologies[0].FSHedonisticDecadenceSMR |
<<radiobutton "$arcologies[0].FSHedonisticDecadenceSMR" 0>> 0 (Not passed.)
| <<radiobutton "$arcologies[0].FSHedonisticDecadenceSMR" 1>> 1 (Passed.)
<br>Law: $arcologies[0].FSHedonisticDecadenceLaw |
<<radiobutton "$arcologies[0].FSHedonisticDecadenceLaw" 0>> 0 (Not passed.)
| <<radiobutton "$arcologies[0].FSHedonisticDecadenceLaw" 1>> 1 (Passed.)
<br>Law: $arcologies[0].FSHedonisticDecadenceLaw2 |
<<radiobutton "$arcologies[0].FSHedonisticDecadenceLaw2" 0>> 0 (Not passed.)
| <<radiobutton "$arcologies[0].FSHedonisticDecadenceLaw2" 1>> 1 (Passed.)
<br>[[Apply and reset Physical Idealist|MOD_Edit FS Cheat][FutureSocieties.remove("FSPhysicalIdealist")]]
<br><br>
<<if $arcologies[0].FSChattelReligionist != "unset">>
<br>You are ''pursuing'' Chattel Religionism.
<<else>>
<br>You are ''not pursuing'' Chattel Religionism.
<</if>>
<br>Chattel Religionism (0-100 or unset): <<textbox "$arcologies[0].FSChattelReligionist" $arcologies[0].FSChattelReligionist>>
<br>Decoration: $arcologies[0].FSChattelReligionistDecoration
<br><<radiobutton "$arcologies[0].FSChattelReligionistDecoration" 20>> 20 (Minimum)
<br><<radiobutton "$arcologies[0].FSChattelReligionistDecoration" 40>> 40 (Media support.)
<br><<radiobutton "$arcologies[0].FSChattelReligionistDecoration" 60>> 60 (Decorated public spaces.)
<br><<radiobutton "$arcologies[0].FSChattelReligionistDecoration" 80>> 80 (Slaves stationed in public spaces.)
<br><<radiobutton "$arcologies[0].FSChattelReligionistDecoration" 100>> 100 (Remodeled exterior; Fully customized.)
<br>Law: $arcologies[0].FSChattelReligionistLaw |
<<radiobutton "$arcologies[0].FSChattelReligionistLaw" 0>> 0 (Not passed.)
| <<radiobutton "$arcologies[0].FSChattelReligionistLaw" 1>> 1 (Passed.)
<br>[[Apply|MOD_Edit FS Cheat]]
<br><br>
<<if $arcologies[0].FSRomanRevivalist != "unset">>
<br>You are ''pursuing'' Roman Revivalism.
<<else>>
<br>You are ''not pursuing'' Roman Revivalism.
<</if>>
<br>Roman Revivalism (0-100 or unset): <<textbox "$arcologies[0].FSRomanRevivalist" $arcologies[0].FSRomanRevivalist>>
<br>Decoration: $arcologies[0].FSRomanRevivalistDecoration
<br><<radiobutton "$arcologies[0].FSRomanRevivalistDecoration" 20>> 20 (Minimum)
<br><<radiobutton "$arcologies[0].FSRomanRevivalistDecoration" 40>> 40 (Media support.)
<br><<radiobutton "$arcologies[0].FSRomanRevivalistDecoration" 60>> 60 (Decorated public spaces.)
<br><<radiobutton "$arcologies[0].FSRomanRevivalistDecoration" 80>> 80 (Slaves stationed in public spaces.)
<br><<radiobutton "$arcologies[0].FSRomanRevivalistDecoration" 100>> 100 (Remodeled exterior; Fully customized.)
<br>Law: $arcologies[0].FSRomanRevivalistLaw |
<<radiobutton "$arcologies[0].FSRomanRevivalistLaw" 0>> 0 (Not passed.)
| <<radiobutton "$arcologies[0].FSRomanRevivalistLaw" 1>> 1 (Passed.)
<br>[[Apply and reset other Revivalisms|MOD_Edit FS Cheat][FutureSocieties.remove("FSAztecRevivalist"), FutureSocieties.remove("FSEgyptianRevivalist"), FutureSocieties.remove("FSEdoRevivalist"), FutureSocieties.remove("FSArabianRevivalist"), FutureSocieties.remove("FSChineseRevivalist"), FutureSocieties.remove("FSNeoImperialist")]]
<br><br>
<br><br>
<<if $arcologies[0].FSNeoImperialist != "unset">>
<br>You are ''pursuing'' Neo-Imperialism.
<<else>>
<br>You are ''not pursuing'' Neo-Imperialism.
<</if>>
<br>Neo-Imperialism (0-100 or unset): <<textbox "$arcologies[0].FSNeoImperialist" $arcologies[0].FSNeoImperialist>>
<br>Decoration: $arcologies[0].FSNeoImperialistDecoration
<br><<radiobutton "$arcologies[0].FSNeoImperialistDecoration" 20>> 20 (Minimum)
<br><<radiobutton "$arcologies[0].FSNeoImperialistDecoration" 40>> 40 (Media support.)
<br><<radiobutton "$arcologies[0].FSNeoImperialistDecoration" 60>> 60 (Decorated public spaces.)
<br><<radiobutton "$arcologies[0].FSNeoImperialistDecoration" 80>> 80 (Slaves stationed in public spaces.)
<br><<radiobutton "$arcologies[0].FSNeoImperialistDecoration" 100>> 100 (Remodeled exterior; Fully customized.)
<br><<radiobutton "$arcologies[0].FSNeoImperialistLaw1" 0>> 0 (Not passed.)
| <<radiobutton "$arcologies[0].FSNeoImperialistLaw1" 1>> 1 (Passed.)
<<radiobutton "$arcologies[0].FSNeoImperialistLaw2" 0>> 0 (Not passed.)
| <<radiobutton "$arcologies[0].FSNeoImperialistLaw2" 1>> 1 (Passed.)
<br>[[Apply and reset other Revivalisms|MOD_Edit FS Cheat][FutureSocieties.remove("FSAztecRevivalist"), FutureSocieties.remove("FSEgyptianRevivalist"), FutureSocieties.remove("FSEdoRevivalist"), FutureSocieties.remove("FSArabianRevivalist"), FutureSocieties.remove("FSChineseRevivalist"), FutureSocieties.remove("FSRomanRevivalist")]]
<br><br>
<<if $arcologies[0].FSAztecRevivalist != "unset">>
<br>You are ''pursuing'' Aztec Revivalism.
<<else>>
<br>You are ''not pursuing'' Aztec Revivalism.
<</if>>
<br>Aztec Revivalism (0-100 or unset): <<textbox "$arcologies[0].FSAztecRevivalist" $arcologies[0].FSAztecRevivalist>>
<br>Decoration: $arcologies[0].FSAztecRevivalistDecoration
<br><<radiobutton "$arcologies[0].FSAztecRevivalistDecoration" 20>> 20 (Minimum)
<br><<radiobutton "$arcologies[0].FSAztecRevivalistDecoration" 40>> 40 (Media support.)
<br><<radiobutton "$arcologies[0].FSAztecRevivalistDecoration" 60>> 60 (Decorated public spaces.)
<br><<radiobutton "$arcologies[0].FSAztecRevivalistDecoration" 80>> 80 (Slaves stationed in public spaces.)
<br><<radiobutton "$arcologies[0].FSAztecRevivalistDecoration" 100>> 100 (Remodeled exterior; Fully customized.)
<br>Law: $arcologies[0].FSAztecRevivalistLaw |
<<radiobutton "$arcologies[0].FSAztecRevivalistLaw" 0>> 0 (Not passed.)
| <<radiobutton "$arcologies[0].FSAztecRevivalistLaw" 1>> 1 (Passed.)
<br>[[Apply and reset other Revivalisms|MOD_Edit FS Cheat][FutureSocieties.remove("FSRomanRevivalist"), FutureSocieties.remove("FSEgyptianRevivalist"), FutureSocieties.remove("FSEdoRevivalist"), FutureSocieties.remove("FSArabianRevivalist"), FutureSocieties.remove("FSChineseRevivalist"), FutureSocieties.remove("FSNeoImperialist")]]
<br><br>
<<if $arcologies[0].FSEgyptianRevivalist != "unset">>
<br>You are ''pursuing'' Egyptian Revivalism.
<<else>>
<br>You are ''not pursuing'' Egyptian Revivalism.
<</if>>
<br>Egyptian Revivalism (0-100 or unset): <<textbox "$arcologies[0].FSEgyptianRevivalist" $arcologies[0].FSEgyptianRevivalist>>
<br>Decoration: $arcologies[0].FSEgyptianRevivalistDecoration
<br><<radiobutton "$arcologies[0].FSEgyptianRevivalistDecoration" 20>> 20 (Minimum)
<br><<radiobutton "$arcologies[0].FSEgyptianRevivalistDecoration" 40>> 40 (Media support.)
<br><<radiobutton "$arcologies[0].FSEgyptianRevivalistDecoration" 60>> 60 (Decorated public spaces.)
<br><<radiobutton "$arcologies[0].FSEgyptianRevivalistDecoration" 80>> 80 (Slaves stationed in public spaces.)
<br><<radiobutton "$arcologies[0].FSEgyptianRevivalistDecoration" 100>> 100 (Remodeled exterior; Fully customized.)
<br>Law: $arcologies[0].FSEgyptianRevivalistLaw |
<<radiobutton "$arcologies[0].FSEgyptianRevivalistLaw" 0>> 0 (Not passed.)
| <<radiobutton "$arcologies[0].FSEgyptianRevivalistLaw" 1>> 1 (Passed.)
<br>[[Apply and reset other Revivalisms|MOD_Edit FS Cheat][FutureSocieties.remove("FSRomanRevivalist"), FutureSocieties.remove("FSAztecRevivalist"), FutureSocieties.remove("FSEdoRevivalist"), FutureSocieties.remove("FSArabianRevivalist"), FutureSocieties.remove("FSChineseRevivalist"), FutureSocieties.remove("FSNeoImperialist")]]
<br><br>
<<if $arcologies[0].FSEdoRevivalist != "unset">>
<br>You are ''pursuing'' Edo Revivalism.
<<else>>
<br>You are ''not pursuing'' Edo Revivalism.
<</if>>
<br>Edo Revivalism (0-100 or unset): <<textbox "$arcologies[0].FSEdoRevivalist" $arcologies[0].FSEdoRevivalist>>
<br>Decoration: $arcologies[0].FSEdoRevivalistDecoration
<br><<radiobutton "$arcologies[0].FSEdoRevivalistDecoration" 20>> 20 (Minimum)
<br><<radiobutton "$arcologies[0].FSEdoRevivalistDecoration" 40>> 40 (Media support.)
<br><<radiobutton "$arcologies[0].FSEdoRevivalistDecoration" 60>> 60 (Decorated public spaces.)
<br><<radiobutton "$arcologies[0].FSEdoRevivalistDecoration" 80>> 80 (Slaves stationed in public spaces.)
<br><<radiobutton "$arcologies[0].FSEdoRevivalistDecoration" 100>> 100 (Remodeled exterior; Fully customized.)
<br>Law: $arcologies[0].FSEdoRevivalistLaw |
<<radiobutton "$arcologies[0].FSEdoRevivalistLaw" 0>> 0 (Not passed.)
| <<radiobutton "$arcologies[0].FSEdoRevivalistLaw" 1>> 1 (Passed.)
<br>[[Apply and reset other Revivalisms|MOD_Edit FS Cheat][FutureSocieties.remove("FSRomanRevivalist"), FutureSocieties.remove("FSAztecRevivalist"), FutureSocieties.remove("FSEgyptianRevivalist"), FutureSocieties.remove("FSArabianRevivalist"), FutureSocieties.remove("FSChineseRevivalist"), FutureSocieties.remove("FSNeoImperialist")]]
<br><br>
<<if $arcologies[0].FSArabianRevivalist != "unset">>
<br>You are ''pursuing'' Arabian Revivalism.
<<else>>
<br>You are ''not pursuing'' Arabian Revivalism.
<</if>>
<br>Arabian Revivalism (0-100 or unset): <<textbox "$arcologies[0].FSArabianRevivalist" $arcologies[0].FSArabianRevivalist>>
<br>Decoration: $arcologies[0].FSArabianRevivalistDecoration
<br><<radiobutton "$arcologies[0].FSArabianRevivalistDecoration" 20>> 20 (Minimum)
<br><<radiobutton "$arcologies[0].FSArabianRevivalistDecoration" 40>> 40 (Media support.)
<br><<radiobutton "$arcologies[0].FSArabianRevivalistDecoration" 60>> 60 (Decorated public spaces.)
<br><<radiobutton "$arcologies[0].FSArabianRevivalistDecoration" 80>> 80 (Slaves stationed in public spaces.)
<br><<radiobutton "$arcologies[0].FSArabianRevivalistDecoration" 100>> 100 (Remodeled exterior; Fully customized.)
<br>Law: $arcologies[0].FSArabianRevivalistLaw |
<<radiobutton "$arcologies[0].FSArabianRevivalistLaw" 0>> 0 (Not passed.)
| <<radiobutton "$arcologies[0].FSArabianRevivalistLaw" 1>> 1 (Passed.)
<br>[[Apply and reset other Revivalisms|MOD_Edit FS Cheat][FutureSocieties.remove("FSRomanRevivalist"), FutureSocieties.remove("FSAztecRevivalist"), FutureSocieties.remove("FSEgyptianRevivalist"), FutureSocieties.remove("FSEdoRevivalist"), FutureSocieties.remove("FSChineseRevivalist"), FutureSocieties.remove("FSNeoImperialist")]]
<br><br>
<<if $arcologies[0].FSChineseRevivalist != "unset">>
<br>You are ''pursuing'' Chinese Revivalism.
<<else>>
<br>You are ''not pursuing'' Chinese Revivalism.
<</if>>
<br>Chinese Revivalism (0-100 or unset): <<textbox "$arcologies[0].FSChineseRevivalist" $arcologies[0].FSChineseRevivalist>>
<br>Decoration: $arcologies[0].FSChineseRevivalistDecoration
<br><<radiobutton "$arcologies[0].FSChineseRevivalistDecoration" 20>> 20 (Minimum)
<br><<radiobutton "$arcologies[0].FSChineseRevivalistDecoration" 40>> 40 (Media support.)
<br><<radiobutton "$arcologies[0].FSChineseRevivalistDecoration" 60>> 60 (Decorated public spaces.)
<br><<radiobutton "$arcologies[0].FSChineseRevivalistDecoration" 80>> 80 (Slaves stationed in public spaces.)
<br><<radiobutton "$arcologies[0].FSChineseRevivalistDecoration" 100>> 100 (Remodeled exterior; Fully customized.)
<br>Law: $arcologies[0].FSChineseRevivalistLaw |
<<radiobutton "$arcologies[0].FSChineseRevivalistLaw" 0>> 0 (Not passed.)
| <<radiobutton "$arcologies[0].FSChineseRevivalistLaw" 1>> 1 (Passed.)
<br>[[Apply and reset other Revivalisms|MOD_Edit FS Cheat][FutureSocieties.remove("FSRomanRevivalist"), FutureSocieties.remove("FSAztecRevivalist"), FutureSocieties.remove("FSEgyptianRevivalist"), FutureSocieties.remove("FSEdoRevivalist"), FutureSocieties.remove("FSArabianRevivalist"), FutureSocieties.remove("FSNeoImperialist")]]
|
MonsterMate/fc
|
src/cheats/mod_EditFSCheat.tw
|
tw
|
mit
| 40,790
|
:: MOD_Edit FS Cheat Datatype Cleanup [nobr]
<<set $nextButton = "Continue", $nextLink = "Main", $returnTo = "Main">>
<<= App.Update.FScheatDatatypeCleanup()>>
You perform the dark rituals, pray to the chaos gods, and sell your CHEATING SOUL for the power to change and mold the Future Society to your will.
<br><br>The Future Society has been changed forever and the chaos gods take YOUR CHEATING SOUL as payment YOU CHEATING CHEATER!
|
MonsterMate/fc
|
src/cheats/mod_EditFSCheatDatatypeCleanup.tw
|
tw
|
mit
| 440
|
:: MOD_Edit Infant Cheat New [nobr]
/* TODO: all of this */
<<set $nextButton = "Continue", $nextLink = "MOD_Edit Child Cheat Datatype Cleanup New", $tempSlave = clone($activeChild)>>
<<setLocalPronouns $tempSlave>>
<<widget COptions>>
<<link "[$args[0]]">>
<<replace #career>>
<<set $tempSlave.career = $args[0]>>
<<set _carR = 0>>
<</replace>>
<</link>>
<</widget>>
<<widget NOptions>>
<<link "[$args[0]]">>
<<replace #nation>>
<<set $tempSlave.nationality = $args[0]>>
<<set _natR = 0>>
<</replace>>
<</link>>
<</widget>>
<<widget H1Options>>
<<link "[$args[0]]">>
<<replace #hcol1>>
<<set $tempSlave.hColor = $args[0]>>
<<set _hcol1R = 0>>
<</replace>>
<</link>>
<</widget>>
<<widget H2Options>>
<<link "[$args[0]]">>
<<replace #hcol2>>
<<set $tempSlave.origHColor = $args[0]>>
<<set _hcol2R = 0>>
<</replace>>
<</link>>
<</widget>>
<<widget H3Options>>
<<link "[$args[0]]">>
<<replace #hcol3>>
<<set $tempSlave.pubicHColor = $args[0]>>
<<set _hcol3R = 0>>
<</replace>>
<</link>>
<</widget>>
<<widget H4Options>>
<<link "[$args[0]]">>
<<replace #hcol4>>
<<set $tempSlave.underArmHColor = $args[0]>>
<<set _hcol4R = 0>>
<</replace>>
<</link>>
<</widget>>
<<widget H5Options>>
<<link "[$args[0]]">>
<<replace #hcol5>>
<<set $tempSlave.eyebrowHColor = $args[0]>>
<<set _hcol5R = 0>>
<</replace>>
<</link>>
<</widget>>
<<widget E1Options>>
<<link "[$args[0]]">>
<<replace #ecol1>>
<<set $tempSlave.eyeColor = $args[0]>>
<<set _ecol1R = 0>>
<</replace>>
<</link>>
<</widget>>
<<widget E2Options>>
<<link "[$args[0]]">>
<<replace #ecol2>>
<<set $tempSlave.origEye = $args[0]>>
<<set _ecol2R = 0>>
<</replace>>
<</link>>
<</widget>>
<<widget POptions>>
<<link "[$args[0]]">>
<<replace #ppil>>
<<set $tempSlave.origEye = $args[0]>>
<<set _ppilR = 0>>
<</replace>>
<</link>>
<</widget>>
<<widget ScOptions>>
<<link "[$args[0]]">>
<<replace #sclr>>
<<set $tempSlave.origEye = $args[0]>>
<<set _sclrR = 0>>
<</replace>>
<</link>>
<</widget>>
<<widget NameTab>>
<br>''Legal status:''<br>
<br>''$He is your Slave since Week @@.yellow;$tempSlave.weekAcquired@@ ''<br>
<<textbox "$tempSlave.weekAcquired" $tempSlave.weekAcquired>>
<br>
<br>''Birth Name: ( [first Name] [Surname] 0 for no Surname)''<br>
<<textbox "$tempSlave.birthName" $tempSlave.birthName>>
<<textbox "$tempSlave.birthSurname" $tempSlave.birthSurname>><br>
''Current Name: ( [first Name] [Surname] 0 for no Surname)''<br>
<<textbox "$tempSlave.slaveName" $tempSlave.slaveName>>
<<textbox "$tempSlave.slaveSurname" $tempSlave.slaveSurname>>
<br>
<</widget>>
<<widget FamilyTab>>
<br>
''Active Slaves ID : @@.yellow;$tempSlave.ID@@''
<br><br>
''Enter the IDs for this slave's parents (0: unknown, -1: you, -2: citizen):''
<br>
''mother ID''
<<textbox "$tempSlave.mother" $tempSlave.mother>>
<br>
''father ID''
<<textbox "$tempSlave.father" $tempSlave.father>>
<br><br>
<br><br>
''Relationship (-3:married to you, -2:relationship, -1:emotional slut, 0:none, 1:like, 2:friend, 3:sex friend, 4:lover, 5:married):''
<br>
<<switch $tempSlave.relationship>>
<<case -3>>
@@.green;Married to you@@
<<case -2>>
@@.lightgreen;Emotional bound to you@@
<<case -1>>
@@.hotpink;Emotional Slut@@
<<case 0>>
No Relation
<<case 1>>
@@.yellow;Likes SlaveID $tempSlave.relationshipTarget@@
<<case 2>>
@@.lightgreen;Friends with SlaveID $tempSlave.relationshipTarget@@
<<case 3>>
@@.lightpink;Sex Friend with SlaveID $tempSlave.relationshipTarget@@
<<case 4>>
@@.hotpink;Lover with SlaveID $tempSlave.relationshipTarget@@
<<case 5>>
@@.green;Married to SlaveID $tempSlave.relationshipTarget@@
<</switch>>
<br>
<<radiobutton "$tempSlave.relationship" -3>> Married to You
<<radiobutton "$tempSlave.relationship" -2>> In Relationship with You
<<radiobutton "$tempSlave.relationship" -1>> Emotional Slut
<<radiobutton "$tempSlave.relationship" 0>> None
<<radiobutton "$tempSlave.relationship" 1>> Like
<<radiobutton "$tempSlave.relationship" 2>> Friend
<<radiobutton "$tempSlave.relationship" 3>> Sex Friend
<<radiobutton "$tempSlave.relationship" 4>> Lover
<<radiobutton "$tempSlave.relationship" 5>> Married
<br>
''Relationship Target ID:'' <<textbox "$tempSlave.relationshipTarget" $tempSlave.relationshipTarget>>
<br>
<br>
''Rival (0:none, 1:dislike, 2:Rival, 3:Bitter Rival ): ''
<br>
<<switch $tempSlave.rivalry>>
<<case 0>>
@@.yellow;No Rival@@
<<case 1>>
@@.lightpink;Dislikes SlaveID $tempSlave.rivalryTarget@@
<<case 2>>
@@.red;Rival of SlaveID $tempSlave.rivalryTarget@@
<<case 3>>
@@.red;Bitter rivalry with SlaveID $tempSlave.rivalryTarget@@
<</switch>>
<br>
<<radiobutton "$tempSlave.rivalry" 0>> None
<<radiobutton "$tempSlave.rivalry" 1>> Dislike
<<radiobutton "$tempSlave.rivalry" 2>> Rival
<<radiobutton "$tempSlave.rivalry" 3>> Bitter Rival
<br>
''Rivals Target ID:'' <<textbox "$tempSlave.rivalryTarget" $tempSlave.rivalryTarget>>
<br>
<</widget>>
<<widget NationalTab>>
<br><br>
<<link "Nationality:">>
<<if (ndef _natR) || (_natR == 0) >>
<<replace "#nation">>
<<set _natR =1>>
<br>Current Nationality : @@.yellow;$tempSlave.nationality@@ <br>
<br>Non-Nations<br>
<<NOptions "Slave" >>
<<print " | ">>
<<NOptions "Stateless" >>
<br>
<br>North America<br>
<<NOptions "American" >>
<<print " | ">>
<<NOptions "Antiguan" >>
<<print " | ">>
<<NOptions "Aruban" >>
<<print " | ">>
<<NOptions "Bahamian" >>
<<print " | ">>
<<NOptions "Barbadian" >>
<<print " | ">>
<<NOptions "Belizean" >>
<<print " | ">>
<<NOptions "Bermudian" >>
<<print " | ">>
<<NOptions "Canadian" >>
<<print " | ">>
<<NOptions "Costa Rican" >>
<<print " | ">>
<<NOptions "Cuban" >>
<br>
<<NOptions "Curaçaoan" >>
<<print " | ">>
<<NOptions "Dominican" >>
<<print " | ">>
<<NOptions "Dominiquais" >>
<<print " | ">>
<<NOptions "Greenlandic" >>
<<print " | ">>
<<NOptions "Grenadian" >>
<<print " | ">>
<<NOptions "Guatemalan" >>
<<print " | ">>
<<NOptions "Haitian" >>
<<print " | ">>
<<NOptions "Honduran" >>
<<print " | ">>
<<NOptions "Jamaican" >>
<<print " | ">>
<<NOptions "Kittitian" >>
<br>
<<NOptions "Mexican" >>
<<print " | ">>
<<NOptions "Nicaraguan" >>
<<print " | ">>
<<NOptions "Panamanian" >>
<<print " | ">>
<<NOptions "Puerto Rican" >>
<<print " | ">>
<<NOptions "Saint Lucian" >>
<<print " | ">>
<<NOptions "Salvadoran" >>
<<print " | ">>
<<NOptions "Trinidadian" >>
<<print " | ">>
<<NOptions "Vincentian" >>
<br>
<br>South America<br>
<<NOptions "Argentinian" >>
<<print " | ">>
<<NOptions "Bolivian" >>
<<print " | ">>
<<NOptions "Brazilian" >>
<<print " | ">>
<<NOptions "Chilean" >>
<<print " | ">>
<<NOptions "Colombian" >>
<<print " | ">>
<<NOptions "Ecuadorian" >>
<<print " | ">>
<<NOptions "French Guianan" >>
<<print " | ">>
<<NOptions "Guyanese" >>
<<print " | ">>
<<NOptions "Paraguayan" >>
<<print " | ">>
<<NOptions "Peruvian" >>
<br>
<<NOptions "Peruvian" >>
<<print " | ">>
<<NOptions "Surinamese" >>
<<print " | ">>
<<NOptions "Uruguayan" >>
<<print " | ">>
<<NOptions "Venezuelan" >>
<br>
<br>Europe<br>
<<NOptions "Albanian" >>
<<print " | ">>
<<NOptions "Andorran" >>
<<print " | ">>
<<NOptions "Austrian" >>
<<print " | ">>
<<NOptions "Belarusian" >>
<<print " | ">>
<<NOptions "Belgian" >>
<<print " | ">>
<<NOptions "Bosnian" >>
<<print " | ">>
<<NOptions "British" >>
<<print " | ">>
<<NOptions "Bulgarian" >>
<<print " | ">>
<<NOptions "Catalan" >>
<<print " | ">>
<<NOptions "Croatian" >>
<br>
<<NOptions "Czech" >>
<<print " | ">>
<<NOptions "Danish" >>
<<print " | ">>
<<NOptions "Dutch" >>
<<print " | ">>
<<NOptions "Estonian" >>
<<print " | ">>
<<NOptions "Finnish" >>
<<print " | ">>
<<NOptions "French" >>
<<print " | ">>
<<NOptions "German" >>
<<print " | ">>
<<NOptions "Greek" >>
<<print " | ">>
<<NOptions "Hungarian" >>
<<print " | ">>
<<NOptions "Icelandic" >>
<br>
<<NOptions "Irish" >>
<<print " | ">>
<<NOptions "Italian" >>
<<print " | ">>
<<NOptions "Kosovan" >>
<<print " | ">>
<<NOptions "Latvian" >>
<<print " | ">>
<<NOptions "a Liechtensteiner" >>
<<print " | ">>
<<NOptions "Lithuanian" >>
<<print " | ">>
<<NOptions "Luxembourgian" >>
<<print " | ">>
<<NOptions "Macedonian" >>
<<print " | ">>
<<NOptions "Maltese" >>
<<print " | ">>
<<NOptions "Moldovan" >>
<br>
<<NOptions "Monégasque" >>
<<print " | ">>
<<NOptions "Montenegrin" >>
<<print " | ">>
<<NOptions "Norwegian" >>
<<print " | ">>
<<NOptions "Polish" >>
<<print " | ">>
<<NOptions "Portuguese" >>
<<print " | ">>
<<NOptions "Romanian" >>
<<print " | ">>
<<NOptions "Russian" >>
<<print " | ">>
<<NOptions "Sammarinese" >>
<<print " | ">>
<<NOptions "Scottish" >>
<<print " | ">>
<<NOptions "Serbian" >>
<br>
<<NOptions "Slovak" >>
<<print " | ">>
<<NOptions "Slovene" >>
<<print " | ">>
<<NOptions "Spanish" >>
<<print " | ">>
<<NOptions "Swedish" >>
<<print " | ">>
<<NOptions "Swiss" >>
<<print " | ">>
<<NOptions "Ukrainian" >>
<<print " | ">>
<<NOptions "Vatican" >>
<br>
<br>Asia<br>
<<NOptions "Bangladeshi" >>
<<print " | ">>
<<NOptions "Bhutanese" >>
<<print " | ">>
<<NOptions "Bruneian" >>
<<print " | ">>
<<NOptions "Burmese" >>
<<print " | ">>
<<NOptions "Cambodian" >>
<<print " | ">>
<<NOptions "Chinese" >>
<<print " | ">>
<<NOptions "East Timorese" >>
<<print " | ">>
<<NOptions "Filipina" >>
<<print " | ">>
<<NOptions "Indian" >>
<<print " | ">>
<<NOptions "Indonesian" >>
<br>
<<NOptions "Japanese" >>
<<print " | ">>
<<NOptions "Kazakh" >>
<<print " | ">>
<<NOptions "Korean" >>
<<print " | ">>
<<NOptions "Kyrgyz" >>
<<print " | ">>
<<NOptions "Laotian" >>
<<print " | ">>
<<NOptions "Malaysian" >>
<<print " | ">>
<<NOptions "Maldivian" >>
<<print " | ">>
<<NOptions "Mongolian" >>
<<print " | ">>
<<NOptions "Nepalese" >>
<<print " | ">>
<<NOptions "Pakistani" >>
<br>
<<NOptions "Singaporean" >>
<<print " | ">>
<<NOptions "Sri Lankan" >>
<<print " | ">>
<<NOptions "Taiwanese" >>
<<print " | ">>
<<NOptions "Tajik" >>
<<print " | ">>
<<NOptions "Thai" >>
<<print " | ">>
<<NOptions "Tibetan" >>
<<print " | ">>
<<NOptions "Turkmen" >>
<<print " | ">>
<<NOptions "Uzbek" >>
<<print " | ">>
<<NOptions "Vietnamese" >>
<br>
<br>Middle East<br>
<<NOptions "Afghan" >>
<<print " | ">>
<<NOptions "Armenian" >>
<<print " | ">>
<<NOptions "Azerbaijani" >>
<<print " | ">>
<<NOptions "Bahraini" >>
<<print " | ">>
<<NOptions "Cypriot" >>
<<print " | ">>
<<NOptions "Egyptian" >>
<<print " | ">>
<<NOptions "Emirati" >>
<<print " | ">>
<<NOptions "Georgian" >>
<<print " | ">>
<<NOptions "Iranian" >>
<<print " | ">>
<<NOptions "Iraqi" >>
<br>
<<NOptions "Israeli" >>
<<print " | ">>
<<NOptions "Jordanian" >>
<<print " | ">>
<<NOptions "Kurdish" >>
<<print " | ">>
<<NOptions "Kuwaiti" >>
<<print " | ">>
<<NOptions "Lebanese" >>
<<print " | ">>
<<NOptions "Omani" >>
<<print " | ">>
<<NOptions "Palestinian" >>
<<print " | ">>
<<NOptions "Qatari" >>
<<print " | ">>
<<NOptions "Saudi" >>
<<print " | ">>
<<NOptions "Syrian" >>
<br>
<<NOptions "Turkish" >>
<<print " | ">>
<<NOptions "Yemeni" >>
<br>
<br>Africa<br>
<<NOptions "Algerian" >>
<<print " | ">>
<<NOptions "Angolan" >>
<<print " | ">>
<<NOptions "Beninese" >>
<<print " | ">>
<<NOptions "Bissau-Guinean" >>
<<print " | ">>
<<NOptions "Burkinabé" >>
<<print " | ">>
<<NOptions "Burundian" >>
<<print " | ">>
<<NOptions "Cameroonian" >>
<<print " | ">>
<<NOptions "Cape Verdean" >>
<<print " | ">>
<<NOptions "Central African" >>
<<print " | ">>
<<NOptions "Chadian" >>
<br>
<<NOptions "Comorian" >>
<<print " | ">>
<<NOptions "Congolese" >>
<<print " | ">>
<<NOptions "Djiboutian" >>
<<print " | ">>
<<NOptions "Equatoguinean" >>
<<print " | ">>
<<NOptions "Eritrean" >>
<<print " | ">>
<<NOptions "Ethiopian" >>
<<print " | ">>
<<NOptions "Gabonese" >>
<<print " | ">>
<<NOptions "Gambian" >>
<<print " | ">>
<<NOptions "Ghanan" >>
<<print " | ">>
<<NOptions "Guinean" >>
<br>
<<NOptions "Ivorian" >>
<<print " | ">>
<<NOptions "Kenyan" >>
<<print " | ">>
<<NOptions "Liberian" >>
<<print " | ">>
<<NOptions "Libyan" >>
<<print " | ">>
<<NOptions "Malagasy" >>
<<print " | ">>
<<NOptions "Malawian" >>
<<print " | ">>
<<NOptions "Malian" >>
<<print " | ">>
<<NOptions "Mauritanian" >>
<<print " | ">>
<<NOptions "Mauritian" >>
<<print " | ">>
<<NOptions "Moroccan" >>
<br>
<<NOptions "Mosotho" >>
<<print " | ">>
<<NOptions "Motswana" >>
<<print " | ">>
<<NOptions "Mozambican" >>
<<print " | ">>
<<NOptions "Namibian" >>
<<print " | ">>
<<NOptions "Nigerian" >>
<<print " | ">>
<<NOptions "Nigerien" >>
<<print " | ">>
<<NOptions "Rwandan" >>
<<print " | ">>
<<NOptions "Sahrawi" >>
<<print " | ">>
<<NOptions "São Toméan" >>
<<print " | ">>
<<NOptions "Senegalese" >>
<br>
<<NOptions "Seychellois" >>
<<print " | ">>
<<NOptions "Sierra Leonean" >>
<<print " | ">>
<<NOptions "Somali" >>
<<print " | ">>
<<NOptions "South African" >>
<<print " | ">>
<<NOptions "South Sudanese" >>
<<print " | ">>
<<NOptions "Sudanese" >>
<<print " | ">>
<<NOptions "Swazi" >>
<<print " | ">>
<<NOptions "Tanzanian" >>
<<print " | ">>
<<NOptions "Togolese" >>
<<print " | ">>
<<NOptions "Tunisian" >>
<br>
<<NOptions "Ugandan" >>
<<print " | ">>
<<NOptions "Zairian" >>
<<print " | ">>
<<NOptions "Zambian" >>
<<print " | ">>
<<NOptions "Zimbabwean" >>
<br>
<br>Australia<br>
<<NOptions "Australian" >>
<<print " | ">>
<<NOptions "a Cook Islander" >>
<<print " | ">>
<<NOptions "Fijian" >>
<<print " | ">>
<<NOptions "French Polynesian" >>
<<print " | ">>
<<NOptions "Guamanian" >>
<<print " | ">>
<<NOptions "I-Kiribati" >>
<<print " | ">>
<<NOptions "Marshallese" >>
<<print " | ">>
<<NOptions "Micronesian" >>
<<print " | ">>
<<NOptions "Nauruan" >>
<<print " | ">>
<<NOptions "New Caledonian" >>
<br>
<<NOptions "a New Zealander" >>
<<print " | ">>
<<NOptions "Ni-Vanuatu" >>
<<print " | ">>
<<NOptions "Niuean" >>
<<print " | ">>
<<NOptions "Palauan" >>
<<print " | ">>
<<NOptions "Papua New Guinean" >>
<<print " | ">>
<<NOptions "Samoan" >>
<<print " | ">>
<<NOptions "a Solomon Islander" >>
<<print " | ">>
<<NOptions "Tongan" >>
<<print " | ">>
<<NOptions "Tuvaluan" >>
<br>
<</replace>>
<<else>>
<<replace "#nation">>
<<set _natR = 0>>
<</replace>>
<</if>>
<</link>>
<span id="nation"></span><br>
Custom Nation: <<textbox "$tempSlave.nationality" $tempSlave.nationality>>
//This will not alter name or race//<br>
<br><br>
''Race: (@@.yellow;$tempSlave.race@@)''
<<textbox "$tempSlave.race" $tempSlave.race>>
<br>
<<radiobutton "$tempSlave.race" "white">> White
<<radiobutton "$tempSlave.race" "asian">> Asian
<<radiobutton "$tempSlave.race" "latina">> Latina
<<radiobutton "$tempSlave.race" "middle eastern">> Middle Eastern
<<radiobutton "$tempSlave.race" "black">> Black
<<radiobutton "$tempSlave.race" "semitic">> Semitic
<<radiobutton "$tempSlave.race" "southern european">> Southern European
<<radiobutton "$tempSlave.race" "indo-aryan">> Indo-Aryan
<<radiobutton "$tempSlave.race" "amerindian">> Amerindian
<<radiobutton "$tempSlave.race" "pacific islander">> Pacific Islander
<<radiobutton "$tempSlave.race" "malay">> Malay
<<radiobutton "$tempSlave.race" "mixed race">> Mixed Race
<br>
''Original Race: (@@.yellow;$tempSlave.origRace@@)''
<<textbox "$tempSlave.origRace" $tempSlave.origRace>>
<br>
<<radiobutton "$tempSlave.origRace" "white">> White
<<radiobutton "$tempSlave.origRace" "asian">> Asian
<<radiobutton "$tempSlave.origRace" "latina">> Latina
<<radiobutton "$tempSlave.origRace" "middle eastern">> Middle Eastern
<<radiobutton "$tempSlave.origRace" "black">> Black
<<radiobutton "$tempSlave.origRace" "semitic">> Semitic
<<radiobutton "$tempSlave.origRace" "southern european">> Southern European
<<radiobutton "$tempSlave.origRace" "indo-aryan">> Indo-Aryan
<<radiobutton "$tempSlave.origRace" "amerindian">> Amerindian
<<radiobutton "$tempSlave.origRace" "pacific islander">> Pacific Islander
<<radiobutton "$tempSlave.origRace" "malay">> Malay
<<radiobutton "$tempSlave.origRace" "mixed race">> Mixed Race
<br>
''Skin Color: (@@.yellow;$tempSlave.skin@@)''
<<textbox "$tempSlave.skin" $tempSlave.skin>>
<br>
<<radiobutton "$tempSlave.skin" "pure white">> Pure White
<<radiobutton "$tempSlave.skin" "ivory">> Ivory
<<radiobutton "$tempSlave.skin" "white">> White
<<radiobutton "$tempSlave.skin" "extremely pale">> Extremely Pale
<<radiobutton "$tempSlave.skin" "very pale">> Very Pale
<<radiobutton "$tempSlave.skin" "pale">> Pale
<<radiobutton "$tempSlave.skin" "extremely fair">> Extremely Fair
<<radiobutton "$tempSlave.skin" "very fair">> Very Fair
<<radiobutton "$tempSlave.skin" "fair">> Fair
<<radiobutton "$tempSlave.skin" "light">> Light
<<radiobutton "$tempSlave.skin" "light olive">> Light Olive
<<radiobutton "$tempSlave.skin" "tan">> Tan
<<radiobutton "$tempSlave.skin" "olive">> Olive
<<radiobutton "$tempSlave.skin" "bronze">> Bronze
<<radiobutton "$tempSlave.skin" "dark olive">> Dark Olive
<<radiobutton "$tempSlave.skin" "dark">> Dark
<<radiobutton "$tempSlave.skin" "light beige">> Light Beige
<<radiobutton "$tempSlave.skin" "beige">> Beige
<<radiobutton "$tempSlave.skin" "dark beige">> Dark Beige
<<radiobutton "$tempSlave.skin" "light brown">> Light Brown
<<radiobutton "$tempSlave.skin" "brown">> Brown
<<radiobutton "$tempSlave.skin" "dark brown">> Dark Brown
<<radiobutton "$tempSlave.skin" "black">> Black
<<radiobutton "$tempSlave.skin" "ebony">> Ebony
<<radiobutton "$tempSlave.skin" "pure black">> Pure Black
<br>
''Original Skin Color: (@@.yellow;$tempSlave.origSkin@@)''
<<textbox "$tempSlave.origSkin" $tempSlave.origSkin>>
<br>
<<radiobutton "$tempSlave.origSkin" "pure white">> Pure White
<<radiobutton "$tempSlave.origSkin" "ivory">> Ivory
<<radiobutton "$tempSlave.origSkin" "white">> White
<<radiobutton "$tempSlave.origSkin" "extremely pale">> Extremely Pale
<<radiobutton "$tempSlave.origSkin" "very pale">> Very Pale
<<radiobutton "$tempSlave.origSkin" "pale">> Pale
<<radiobutton "$tempSlave.origSkin" "extremely fair">> Extremely Fair
<<radiobutton "$tempSlave.origSkin" "very fair">> Very Fair
<<radiobutton "$tempSlave.origSkin" "fair">> Fair
<<radiobutton "$tempSlave.origSkin" "light">> Light
<<radiobutton "$tempSlave.origSkin" "light olive">> Light Olive
<<radiobutton "$tempSlave.origSkin" "tan">> Tan
<<radiobutton "$tempSlave.origSkin" "olive">> Olive
<<radiobutton "$tempSlave.origSkin" "bronze">> Bronze
<<radiobutton "$tempSlave.origSkin" "dark olive">> Dark Olive
<<radiobutton "$tempSlave.origSkin" "dark">> Dark
<<radiobutton "$tempSlave.origSkin" "light beige">> Light Beige
<<radiobutton "$tempSlave.origSkin" "beige">> Beige
<<radiobutton "$tempSlave.origSkin" "dark beige">> Dark Beige
<<radiobutton "$tempSlave.origSkin" "light brown">> Light Brown
<<radiobutton "$tempSlave.origSkin" "brown">> Brown
<<radiobutton "$tempSlave.origSkin" "dark brown">> Dark Brown
<<radiobutton "$tempSlave.origSkin" "black">> Black
<<radiobutton "$tempSlave.origSkin" "ebony">> Ebony
<<radiobutton "$tempSlave.origSkin" "pure black">> Pure Black
<br>
<</widget>>
<<widget AgeTab>>
<br>
''Age - Actual:''
<<textbox "$tempSlave.actualAge" $tempSlave.actualAge>>
<br>
''Age - Physical:''
<<textbox "$tempSlave.physicalAge" $tempSlave.physicalAge>>
<br>
''Age - Ovaries:''
<<textbox "$tempSlave.ovaryAge" $tempSlave.ovaryAge>>
<br>
''Age - Visual:''
<<textbox "$tempSlave.visualAge" $tempSlave.visualAge>>
<br>
''Birth week:''
<<textbox "$tempSlave.birthWeek" $tempSlave.birthWeek>>
<br><br>
''Condition (-99 to 100, -100 is death. Condition minus short and long term damage of -100 is also death):''
<<textbox "$tempSlave.health.condition" $tempSlave.health.condition>>
<br>
''Damage - Short Term:''
<<textbox "$tempSlave.health.shortDamage" $tempSlave.health.shortDamage>>
<br>
''Damage - Long Term:''
<<textbox "$tempSlave.health.longDamage" $tempSlave.health.longDamage>>
<br>
''Illness (0 to 5):''
<<textbox "$tempSlave.health.illness" $tempSlave.health.illness>>
<br>
''Tired (0 to 100):''
<<textbox "$tempSlave.health.tired" $tempSlave.health.tired>>
<br>
''DNA Errors (0 to 990):''
<<textbox "$tempSlave.chem" $tempSlave.chem>>
<br>
''Addiction:''
<<textbox "$tempSlave.addict" $tempSlave.addict>>
<br>
<</widget>>
<<widget DevoTab>>
<br>
//Don't set devotion too far away from old devotion otherwise it won't stick//
<br>
''Devotion (-100 to 100):''
<<textbox "$tempSlave.devotion" $tempSlave.devotion>>
<br>
''Old Devotion (-100 to 100):''
<<textbox "$tempSlave.oldDevotion" $tempSlave.oldDevotion>>
<br>
<br>
//Don't set trust too far away from old trust otherwise it won't stick//
<br>
''Trust (-100 to 100):''
<<textbox "$tempSlave.trust" $tempSlave.trust>>
<br>
''Old Trust (-100 to 100):''
<<textbox "$tempSlave.oldTrust" $tempSlave.oldTrust>>
<br>
<</widget>>
<<widget FaceTab>>
<br>
''Face (-100 to 100): ''
<<if $tempSlave.face >= 100>>@@.yellow;Very Beautiful@@
<<elseif $tempSlave.face >= 55>>@@.yellow;Beautiful@@
<<elseif $tempSlave.face >= 15>>@@.yellow;Attractive@@
<<elseif $tempSlave.face >= 0>>@@.yellow;Pretty@@
<<elseif $tempSlave.face >= -15>>@@.yellow;Unattractive@@
<<elseif $tempSlave.face >= -55>>@@.yellow;Ugly@@
<<else>>@@.yellow;Very Ugly@@
<</if>>
<<textbox "$tempSlave.face" $tempSlave.face>>
<br>
<<radiobutton "$tempSlave.face" -100>> Very Ugly
<<radiobutton "$tempSlave.face" -55>> Ugly
<<radiobutton "$tempSlave.face" -15>> Unattractive
<<radiobutton "$tempSlave.face" 0>> Pretty
<<radiobutton "$tempSlave.face" 15>> Attractive
<<radiobutton "$tempSlave.face" 55>> Beautiful
<<radiobutton "$tempSlave.face" 100>> Very Beautiful
<br><br>
''Face Shape: @@.yellow;$tempSlave.faceShape@@ ''
<br>
<<radiobutton "$tempSlave.faceShape" "masculine">> Masculine
<<radiobutton "$tempSlave.faceShape" "androgynous">> Androgynous
<<radiobutton "$tempSlave.faceShape" "normal">> Normal
<<radiobutton "$tempSlave.faceShape" "cute">> Cute
<<radiobutton "$tempSlave.faceShape" "sensual">> Sensual
<<radiobutton "$tempSlave.faceShape" "exotic">> Exotic
<br><br>
''Face Implant (0 to 100):''
<<if $tempSlave.faceImplant < 6>> None
<<elseif $tempSlave.faceImplant > 95>> Uncanny Valley
<<elseif $tempSlave.faceImplant > 60>> Heavily Reworked
<<elseif $tempSlave.faceImplant > 30>> Noticeable Work
<<else>> Subtle Improvements
<</if>>
<br>
<<textbox "$tempSlave.faceImplant" $tempSlave.faceImplant>>
<<radiobutton "$tempSlave.faceImplant" 0>> None
<<radiobutton "$tempSlave.faceImplant" 15>> Subtle Improvements
<<radiobutton "$tempSlave.faceImplant" 35>> Noticeable Work
<<radiobutton "$tempSlave.faceImplant" 65>> Heavily Reworked
<<radiobutton "$tempSlave.faceImplant" 100>> Uncanny Valley
<br><br>
''Natural Skin Distinctiveness: @@.yellow;$tempSlave.markings@@ ''
<br>
<<radiobutton "$tempSlave.markings" "none">> None
<<radiobutton "$tempSlave.markings" "freckles">> Freckles
<<radiobutton "$tempSlave.markings" "heavily freckled">> Heavy Freckles
<<radiobutton "$tempSlave.markings" "beauty mark">> Beauty Mark
<<radiobutton "$tempSlave.markings" "birthmark">> Birth Mark
<br><br>
''Sense of Hearing:''
<<switch $tempSlave.hears>>
<<case -2>>@@.yellow;Deaf@@
<<case -1>>@@.yellow;Hard Of Hearing@@
<<case 0>>@@.yellow;Normal@@
<</switch>>
<br>
<<radiobutton "$tempSlave.hears" 0>> Normal
<<radiobutton "$tempSlave.hears" -1>> Hard Of Hearing
<<radiobutton "$tempSlave.hears" -2>> Deaf
<br>
''Ear Implants (none: 0 | exist: 1):''
<<if $tempSlave.earImplant == 1>>
@@.yellow;exist@@
<<checkbox "$tempSlave.earImplant" 0 1 checked>>
<<else>>
@@.yellow;none@@
<<checkbox "$tempSlave.earImplant" 0 1>>
<</if>>
''Sense of Smell:''
<<switch $tempSlave.smells>>
<<case -1>>@@.yellow;None@@
<<case 0>>@@.yellow;Normal@@
<</switch>>
<br>
<<radiobutton "$tempSlave.smells" 0>> Normal
<<radiobutton "$tempSlave.smells" -1>> None
<br>
<</widget>>
<<widget HairTab>>
<br>
''Can grow hair on the head:''
<<if $tempSlave.bald == 0>>
''@@.yellow;true@@''
<<checkbox "$tempSlave.bald" 0 1>>
<<else>>
''@@.yellow;false@@''
<<checkbox "$tempSlave.bald" 0 1 checked>>
<</if>>
<br>
''Hair length: @@.yellow;$tempSlave.hLength@@''
Custom hair length: <<textbox "$tempSlave.hLength" $tempSlave.hLength>>
<br>
<<switch $tempSlave.hStyle>>
<<case "cornrows" "curled" "dreadlocks" "tails">>
''$His hair is in @@.yellow;$tempSlave.hStyle@@''
<<case "ponytail">>
''$His hair is in a @@.yellow;$tempSlave.hStyle@@''
<<default>>
''$His hair is @@.yellow;$tempSlave.hStyle@@''
<</switch>>
Custom hair description: <<textbox "$tempSlave.hStyle" $tempSlave.hStyle>>
<br>
//For best results, use a short, uncapitalized and unpunctuated description; for example: 'back in a ponytail'//
<br>
<<radiobutton "$tempSlave.hStyle" "neat">> Neat
<<radiobutton "$tempSlave.hStyle" "shaved">> Shaved
<<radiobutton "$tempSlave.hStyle" "trimmed">> Trimmed
<<radiobutton "$tempSlave.hStyle" "buzzcut">> Buzzcut
<<radiobutton "$tempSlave.hStyle" "up">> Up
<<radiobutton "$tempSlave.hStyle" "ponytail">> Ponytail
<<radiobutton "$tempSlave.hStyle" "bun">> Bun
<<radiobutton "$tempSlave.hStyle" "curled">> Curls
<br>
<<radiobutton "$tempSlave.hStyle" "permed">> Permed
<<radiobutton "$tempSlave.hStyle" "luxurious">> Luxurious
<<radiobutton "$tempSlave.hStyle" "dreadlocks">> Dreadlocks
<<radiobutton "$tempSlave.hStyle" "cornrows">> Cornrows
<<radiobutton "$tempSlave.hStyle" "braided">> Braided
<<radiobutton "$tempSlave.hStyle" "tails">> Tails
<<radiobutton "$tempSlave.hStyle" "afro">> Afro
<<radiobutton "$tempSlave.hStyle" "strip">> Strip
<br><br>
$His hair is currently ''@@.yellow;$tempSlave.hColor@@'' in color
<<link "Hair Colors">>
<<if (ndef _hcol1R) || (_hcol1R == 0) >>
<<replace "#hcol1">>
<<set _hcol1R = 1>>
<br>
<<H1Options "blonde" >>
<<H1Options "golden" >>
<<H1Options "platinum blonde" >>
<<H1Options "strawberry-blonde" >>
<<H1Options "copper" >>
<<H1Options "ginger" >>
<<H1Options "red" >>
<<H1Options "green" >>
<<H1Options "pink" >>
<<H1Options "dark brown" >>
<br>
<<H1Options "brown" >>
<<H1Options "auburn" >>
<<H1Options "burgundy" >>
<<H1Options "chocolate brown" >>
<<H1Options "chestnut" >>
<<H1Options "hazel" >>
<<H1Options "jet black" >>
<<H1Options "black" >>
<<H1Options "grey" >>
<<H1Options "silver" >>
<<H1Options "white" >>
<<H1Options "blue-violet" >>
<<H1Options "purple" >>
<<H1Options "dark orchid" >>
<<H1Options "sea green" >>
<<H1Options "green-yellow" >>
<<H1Options "dark blue" >>
<br>
<</replace>>
<<else>>
<<replace "#hcol1">>
<<set _hcol1R = 0>>
<</replace>>
<</if>>
<</link>>
<span id=hcol1></span>
<br>Custom hair color: <<textbox "$tempSlave.hColor" $tempSlave.hColor>>
<br>
//For best results, use a short, uncapitalized and unpunctuated description; for example: 'black with purple highlights'//
<br>
''$His original hair color is @@.yellow;$tempSlave.origHColor@@''
<<link "Hair Colors">>
<<if (ndef _hcol2R) || (_hcol2R == 0) >>
<<replace "#hcol2">>
<<set _hcol2R = 1>>
<br>
<<H2Options "blonde" >>
<<H2Options "golden" >>
<<H2Options "platinum blonde" >>
<<H2Options "strawberry-blonde" >>
<<H2Options "copper" >>
<<H2Options "ginger" >>
<<H2Options "red" >>
<<H2Options "green" >>
<<H2Options "pink" >>
<<H2Options "dark brown" >>
<br>
<<H2Options "brown" >>
<<H2Options "auburn" >>
<<H2Options "burgundy" >>
<<H2Options "chocolate brown" >>
<<H2Options "chestnut" >>
<<H2Options "hazel" >>
<<H2Options "jet black" >>
<<H2Options "black" >>
<<H2Options "grey" >>
<<H2Options "silver" >>
<<H2Options "white" >>
<<H2Options "blue-violet" >>
<<H2Options "purple" >>
<<H2Options "dark orchid" >>
<<H2Options "sea green" >>
<<H2Options "green-yellow" >>
<<H2Options "dark blue" >>
<br>
<</replace>>
<<else>>
<<replace "#hcol2">>
<<set _hcol2R = 0>>
<</replace>>
<</if>>
<</link>>
<span id=hcol2></span>
<br>Custom hair color: <<textbox "$tempSlave.origHColor" $tempSlave.origHColor>>
<br><br>
''$His eyebrows are @@.yellow;$tempSlave.eyebrowHColor@@ in color''
<<link "Hair Colors">>
<<if (ndef _hcol5R) || (_hcol5R == 0) >>
<<replace "#hcol5">>
<<set _hcol5R = 1>>
<br>
<<H5Options "blonde" >>
<<H5Options "golden" >>
<<H5Options "platinum blonde" >>
<<H5Options "strawberry-blonde" >>
<<H5Options "copper" >>
<<H5Options "ginger" >>
<<H5Options "red" >>
<<H5Options "green" >>
<<H5Options "pink" >>
<<H5Options "dark brown" >>
<br>
<<H5Options "brown" >>
<<H5Options "auburn" >>
<<H5Options "burgundy" >>
<<H5Options "chocolate brown" >>
<<H5Options "chestnut" >>
<<H5Options "hazel" >>
<<H5Options "jet black" >>
<<H5Options "black" >>
<<H5Options "grey" >>
<<H5Options "silver" >>
<<H5Options "white" >>
<<H5Options "blue-violet" >>
<<H5Options "purple" >>
<<H5Options "dark orchid" >>
<<H5Options "sea green" >>
<<H5Options "green-yellow" >>
<<H5Options "dark blue" >>
<br>
<</replace>>
<<else>>
<<replace "#hcol5">>
<<set _hcol5R = 0>>
<</replace>>
<</if>>
<</link>>
<span id=hcol5></span>
<br>Custom eyebrow color: <<textbox "$tempSlave.eyebrowHColor" $tempSlave.eyebrowHColor>>
<br>
''Eyebrow Hair Style: (@@.yellow;$tempSlave.eyebrowHStyle@@)''
<<radiobutton "$tempSlave.eyebrowHStyle" "bald">> Bald
<<radiobutton "$tempSlave.eyebrowHStyle" "shaved">> Shaved
<<radiobutton "$tempSlave.eyebrowHStyle" "natural">> Natural
<<radiobutton "$tempSlave.eyebrowHStyle" "rounded">> Rounded
<<radiobutton "$tempSlave.eyebrowHStyle" "straight">> Straight
<<radiobutton "$tempSlave.eyebrowHStyle" "high-arched">> High-Arched
<<radiobutton "$tempSlave.eyebrowHStyle" "curved">> Curved
<<radiobutton "$tempSlave.eyebrowHStyle" "slanted inwards">> Slanted Inwards
<<radiobutton "$tempSlave.eyebrowHStyle" "slanted outwards">> Slanted Outwards
<<radiobutton "$tempSlave.eyebrowHStyle" "elongated">> Elongated
<<radiobutton "$tempSlave.eyebrowHStyle" "shortened">> Shortened
<br>
''Eyebrow Hair Shape: (@@.yellow;$tempSlave.eyebrowFullness@@)''
<<radiobutton "$tempSlave.eyebrowFullness" "pencil-thin">> Pencil-Thin
<<radiobutton "$tempSlave.eyebrowFullness" "thin">> Thin
<<radiobutton "$tempSlave.eyebrowFullness" "threaded">> Threaded
<<radiobutton "$tempSlave.eyebrowFullness" "natural">> Natural
<<radiobutton "$tempSlave.eyebrowFullness" "tapered">> Tapered
<<radiobutton "$tempSlave.eyebrowFullness" "thick">> Thick
<<radiobutton "$tempSlave.eyebrowFullness" "bushy">> Bushy
<br>
''$His pubic hair is @@.yellow;$tempSlave.pubicHColor@@ in color''
<<link "Hair Colors">>
<<if (ndef _hcol3R) || (_hcol3R == 0) >>
<<replace "#hcol3">>
<<set _hcol3R = 1>>
<br>
<<H3Options "blonde" >>
<<H3Options "golden" >>
<<H3Options "platinum blonde" >>
<<H3Options "strawberry-blonde" >>
<<H3Options "copper" >>
<<H3Options "ginger" >>
<<H3Options "red" >>
<<H3Options "green" >>
<<H3Options "pink" >>
<<H3Options "dark brown" >>
<br>
<<H3Options "brown" >>
<<H3Options "auburn" >>
<<H3Options "burgundy" >>
<<H3Options "chocolate brown" >>
<<H3Options "chestnut" >>
<<H3Options "hazel" >>
<<H3Options "jet black" >>
<<H3Options "black" >>
<<H3Options "grey" >>
<<H3Options "silver" >>
<<H3Options "white" >>
<<H3Options "blue-violet" >>
<<H3Options "purple" >>
<<H3Options "dark orchid" >>
<<H3Options "sea green" >>
<<H3Options "green-yellow" >>
<<H3Options "dark blue" >>
<br>
<</replace>>
<<else>>
<<replace "#hcol3">>
<<set _hcol3R = 0>>
<</replace>>
<</if>>
<</link>>
<span id=hcol3></span>
<br>Custom pubic hair color: <<textbox "$tempSlave.pubicHColor" $tempSlave.pubicHColor>>
<br>
''Pubic Hair Style: (@@.yellow;$tempSlave.pubicHStyle@@)''
<<radiobutton "$tempSlave.pubicHStyle" "bald">> Not able to grow
<<radiobutton "$tempSlave.pubicHStyle" "hairless">> Hairless
<<radiobutton "$tempSlave.pubicHStyle" "waxed">> Waxed
<<radiobutton "$tempSlave.pubicHStyle" "in a strip">> Strip
<<radiobutton "$tempSlave.pubicHStyle" "neat">> Neat
<<radiobutton "$tempSlave.pubicHStyle" "bushy">> Bushy
<<radiobutton "$tempSlave.pubicHStyle" "very bushy">> Very Bushy
<br>
''$His underarm hair is @@.yellow;$tempSlave.underArmHColor@@ in color''
<<link "Hair Colors">>
<<if (ndef _hcol4R) || (_hcol4R == 0) >>
<<replace "#hcol4">>
<<set _hcol4R = 1>>
<br>
<<H4Options "blonde" >>
<<H4Options "golden" >>
<<H4Options "platinum blonde" >>
<<H4Options "strawberry-blonde" >>
<<H4Options "copper" >>
<<H4Options "ginger" >>
<<H4Options "red" >>
<<H4Options "green" >>
<<H4Options "pink" >>
<<H4Options "dark brown" >>
<br>
<<H4Options "brown" >>
<<H4Options "auburn" >>
<<H4Options "burgundy" >>
<<H4Options "chocolate brown" >>
<<H4Options "chestnut" >>
<<H4Options "hazel" >>
<<H4Options "jet black" >>
<<H4Options "black" >>
<<H4Options "grey" >>
<<H4Options "silver" >>
<<H4Options "white" >>
<<H4Options "blue-violet" >>
<<H4Options "purple" >>
<<H4Options "dark orchid" >>
<<H4Options "sea green" >>
<<H4Options "green-yellow" >>
<<H4Options "dark blue" >>
<br>
<</replace>>
<<else>>
<<replace "#hcol4">>
<<set _hcol4R = 0>>
<</replace>>
<</if>>
<</link>>
<span id=hcol4></span>
<br>Custom underarm hair color: <<textbox "$tempSlave.underArmHColor" $tempSlave.underArmHColor>>
<br>
''Underarm Hairstyle: (@@.yellow;$tempSlave.underArmHStyle@@)''
<<radiobutton "$tempSlave.underArmHStyle" "bald">> Not able to grow
<<radiobutton "$tempSlave.underArmHStyle" "hairless">> Hairless
<<radiobutton "$tempSlave.underArmHStyle" "waxed">> Waxed
<<radiobutton "$tempSlave.underArmHStyle" "in a strip">> Strip
<<radiobutton "$tempSlave.underArmHStyle" "neat">> Neat
<<radiobutton "$tempSlave.underArmHStyle" "bushy">> Bushy
<br>
<</widget>>
<<widget EyesTab>>
<br>
''$His eyes are currently @@.yellow;$tempSlave.eyeColor@@ in color''
<<link "Eye Colors">>
<<if (ndef _ecol1R) || (_ecol1R == 0) >>
<<replace "#ecol1">>
<<set _ecol1R = 1>>
<br>
<<E1Options "blue" >>
<<E1Options "black" >>
<<E1Options "brown" >>
<<E1Options "green" >>
<<E1Options "turquoise" >>
<<E1Options "sky-blue" >>
<<E1Options "pale-grey" >>
<<E1Options "white" >>
<<E1Options "pink" >>
<<E1Options "amber" >>
<<E1Options "red" >>
<br>
<</replace>>
<<else>>
<<replace "#ecol1">>
<<set _ecol1R = 0>>
<</replace>>
<</if>>
<</link>>
<span id=ecol1></span>
<br>Custom eye color: <<textbox "$tempSlave.eyeColor" $tempSlave.eyeColor>>
<br><br>
''$His original eye color is @@.yellow;$tempSlave.origEye@@''
<<link "Eye Colors">>
<<if (ndef _ecol2R) || (_ecol2R == 0) >>
<<replace "#ecol2">>
<<set _ecol2R = 1>>
<br>
<<E2Options "blue" #ecol2 _ecol2R >>
<<E2Options "black" #ecol2 _ecol2R >>
<<E2Options "brown" #ecol2 _ecol2R >>
<<E2Options "green" #ecol2 _ecol2R >>
<<E2Options "turquoise" #ecol2 _ecol2R >>
<<E2Options "sky-blue" #ecol2 _ecol2R >>
<<E2Options "pale-grey" #ecol2 _ecol2R >>
<<E2Options "white" #ecol2 _ecol2R >>
<<E2Options "pink" #ecol2 _ecol2R >>
<<E2Options "amber" #ecol2 _ecol2R >>
<<E2Options "red" #ecol2 _ecol2R >>
<br>
<</replace>>
<<else>>
<<replace "#ecol2">>
<<set _ecol2R = 0>>
<</replace>>
<</if>>
<</link>>
<span id=ecol2></span>
<br>Custom eye color: <<textbox "$tempSlave.origEye" $tempSlave.origEye>>
<br><br>
''$His pupils are @@.yellow;$tempSlave.pupil@@ in shape''
<<link "Pupil Shape">>
<<if (ndef _ppilR) || (_ppilR == 0) >>
<<replace "#ppil">>
<<set _ppilR = 1>>
<br>
<<POptions "circular" >>
<<POptions "catlike" >>
<<POptions "serpent-like" >>
<<POptions "devilish" >>
<<POptions "demonic" >>
<<POptions "hypnotic" >>
<<POptions "heart-shaped" >>
<<POptions "wide-eyed" >>
<<POptions "almond-shaped" >>
<<POptions "bright" >>
<<POptions "teary" >>
<<POptions "vacant" >>
<<POptions "star-shaped" >>
<br>
<</replace>>
<<else>>
<<replace "#ppil">>
<<set _ppilR = 0>>
<</replace>>
<</if>>
<</link>>
<span id=ppil></span>
<br>Custom pupil shape: <<textbox "$tempSlave.pupil" $tempSlave.pupil>>
<br><br>
''$His sclerae are @@.yellow;$tempSlave.sclerae@@ in color''
<<link "Sclera Colors">>
<<if (ndef _sclrR) || (_sclrR == 0) >>
<<replace "#sclr">>
<<set _sclrR = 1>>
<br>
<<ScOptions "white" >>
<<ScOptions "blue" >>
<<ScOptions "black" >>
<<ScOptions "brown" >>
<<ScOptions "green" >>
<<ScOptions "turquoise" >>
<<ScOptions "sky-blue" >>
<<ScOptions "pale-grey" >>
<<ScOptions "pink" >>
<<ScOptions "amber" >>
<<ScOptions "red" >>
<br>
<</replace>>
<<else>>
<<replace "#sclr">>
<<set _sclrR = 0>>
<</replace>>
<</if>>
<</link>>
<span id=sclr></span>
<br>Custom sclera color: <<textbox "$tempSlave.sclerae" $tempSlave.sclerae>>
<br><br>
''$His vision is :''
<<switch $tempSlave.eyes>>
<<case -2>>@@.yellow;Blind@@
<<case -1>>@@.yellow;Nearsighted@@
<<case 1>>@@.yellow;Normal@@
<</switch>>
<br>
<<radiobutton "$tempSlave.eyes" 1>> Normal
<<radiobutton "$tempSlave.eyes" -1>> Nearsighted
<<radiobutton "$tempSlave.eyes" -2>> Blind
<br>
''$He has ''
<<if $tempSlave.eyesImplant == 0>>normal<<else>>artificial<</if>>eyes.
<br>
<<radiobutton "tempSlave.eyesImplant" 0>> Normal
<<radiobutton "tempSlave.eyesImplant" 1>> Artificial
<br>
<</widget>>
<<widget MouthTab>>
<br>
''Lips (0 to 100): ''
<<if $tempSlave.lips >= 100>> @@.yellow;Enormous facepussy@@
<<elseif $tempSlave.lips >= 85 >>@@.yellow;Huge@@
<<elseif $tempSlave.lips >= 65 >>@@.yellow;Big@@
<<elseif $tempSlave.lips >= 35 >>@@.yellow;Plush@@
<<elseif $tempSlave.lips >= 15 >>@@.yellow;Normal@@
<<else>>@@.yellow;Thin@@
<</if>>
<<textbox "$tempSlave.lips" $tempSlave.lips>>
<br>
<<radiobutton "$tempSlave.lips" 0>> Thin
<<radiobutton "$tempSlave.lips" 15>> Normal
<<radiobutton "$tempSlave.lips" 35>> Plush
<<radiobutton "$tempSlave.lips" 65>> Big
<<radiobutton "$tempSlave.lips" 85>> Huge
<<radiobutton "$tempSlave.lips" 100>> Enormous facepussy
<br>
''Lip Implants (0 to 30): ''
<<switch $tempSlave.lipsImplant >>
<<case 0>> @@.yellow;None@@ |
<<case 10>>@@.yellow;Normal@@ |
<<case 20>>@@.yellow;Large@@ |
<<case 30>>@@.yellow;Enormous@@ |
<</switch>>
<<radiobutton "$tempSlave.lipsImplant" 0>> None
<<radiobutton "$tempSlave.lipsImplant" 10>> Normal
<<radiobutton "$tempSlave.lipsImplant" 20>> Large
<<radiobutton "$tempSlave.lipsImplant" 30>> Enormous
<br><br>
''Teeth: @@.yellow;$tempSlave.teeth@@ ''
<br>
<<if $tempSlave.physicalAge >= 12>>
<<radiobutton "$tempSlave.teeth" "normal">> Normal
<<elseif $tempSlave.physicalAge >= 6>>
<<radiobutton "$tempSlave.teeth" "mixed">> Mixed
<<else>>
<<radiobutton "$tempSlave.teeth" "baby">> Baby
<</if>>
<<radiobutton "$tempSlave.teeth" "pointy">> Pointy
<<radiobutton "$tempSlave.teeth" "crooked">> Crooked
<<radiobutton "$tempSlave.teeth" "gapped">> Gapped
<<radiobutton "$tempSlave.teeth" "straightening braces">> Straightening Braces
<<radiobutton "$tempSlave.teeth" "cosmetic braces">> Cosmetic Braces
<<radiobutton "$tempSlave.teeth" "removable">> Removable
<br><br>
''Voice: ''
<<switch $tempSlave.voice>>
<<case 0>>@@.yellow;Mute@@
<<case 1>>@@.yellow;Deep@@
<<case 2>>@@.yellow;Normal@@
<<case 3>>@@.yellow;High@@
<</switch>>
<br>
<<radiobutton "$tempSlave.voice" 0>> Mute
<<radiobutton "$tempSlave.voice" 1>> Deep
<<radiobutton "$tempSlave.voice" 2>> Normal
<<radiobutton "$tempSlave.voice" 3>> High
<br>
''Accent: ''
<<if $tempSlave.accent == 0>>@@.yellow;None@@
<<elseif $tempSlave.accent == 1>>@@.yellow;Distinctive@@
<<elseif $tempSlave.accent == 2>>@@.yellow;Thick@@
<<else>>@@.yellow;Barely Understands Language@@<</if>>
<br>
<<radiobutton "$tempSlave.accent" 0>> None
<<radiobutton "$tempSlave.accent" 1>> Distinctive
<<radiobutton "$tempSlave.accent" 2>> Thick
<<radiobutton "$tempSlave.accent" 3>> Barely Understands Language
<br>
''Sense of Taste: ''
<<switch $tempSlave.tastes>>
<<case 0>>@@.yellow;Normal@@
<<case -1>>@@.yellow;None@@
<</switch>>
<br>
<<radiobutton "$tempSlave.tastes" 0>> Normal
<<radiobutton "$tempSlave.tastes" -1>> None
<br>
<</widget>>
<<widget BodyTab>>
<br>
''Genes (XX:female, XY:male):'' @@.yellow;$tempSlave.genes@@
<<radiobutton "$tempSlave.genes" "XX">> Female
<<radiobutton "$tempSlave.genes" "XY">> Male
<br>
''Hormone Balance (<-400 to >+400): $tempSlave.hormoneBalance |''
<<textbox "$tempSlave.hormoneBalance" $tempSlave.hormoneBalance>>
<br>
<<radiobutton "$tempSlave.hormoneBalance" -400>> Overwhelmingly masculine
<<radiobutton "$tempSlave.hormoneBalance" -300>> Extremely masculine
<<radiobutton "$tempSlave.hormoneBalance" -200>> Heavily masculine
<<radiobutton "$tempSlave.hormoneBalance" -100>> Very masculine
<<radiobutton "$tempSlave.hormoneBalance" -20>> Masculine
<<radiobutton "$tempSlave.hormoneBalance" 0>> Neutral
<<radiobutton "$tempSlave.hormoneBalance" 20>> Feminine
<<radiobutton "$tempSlave.hormoneBalance" 100>> Very feminine
<<radiobutton "$tempSlave.hormoneBalance" 200>> Heavily feminine
<<radiobutton "$tempSlave.hormoneBalance" 300>> Extremely feminine
<<radiobutton "$tempSlave.hormoneBalance" 400>> Overwhelmingly feminine
<br><br>
''Muscles (-100 to 100):''
<<if $tempSlave.muscles <= -96>>@@.yellow;Frail@@
<<elseif $tempSlave.muscles <= -31>>@@.yellow;Very Weak@@
<<elseif $tempSlave.muscles <= -6>>@@.yellow;Rather Weak@@
<<elseif $tempSlave.muscles <= 5>>@@.yellow;Soft@@
<<elseif $tempSlave.muscles <= 30>>@@.yellow;Well Built@@
<<elseif $tempSlave.muscles <= 95>>@@.yellow;Quite Muscular@@
<<else>>@@.yellow;Extremely Muscular@@ <</if>>
<<textbox "$tempSlave.muscles" $tempSlave.muscles>>
<br>
<<radiobutton "$tempSlave.muscles" -98>> Frail
<<radiobutton "$tempSlave.muscles" -63>> Very Weak
<<radiobutton "$tempSlave.muscles" -18>> Rather Weak
<<radiobutton "$tempSlave.muscles" 0>> Soft
<<radiobutton "$tempSlave.muscles" 17>> Well Built
<<radiobutton "$tempSlave.muscles" 62>> Quite Muscular
<<radiobutton "$tempSlave.muscles" 97>> Extremely Muscular
<br><br>
''Weight (-100 to 200):''
<<if $tempSlave.weight > 190 >>
@@.red;extremely obese@@
<<elseif $tempSlave.weight > 160 >>
@@.red;very obese@@
<<elseif $tempSlave.weight > 130 >>
@@.red;obese@@
<<elseif $tempSlave.weight > 95>>
@@.red;overweight@@
<<elseif $tempSlave.weight > 30>>
@@.red;chubby@@
<<elseif $tempSlave.weight > 10 >>
@@.yellow;pleasingly curvy@@
<<elseif $tempSlave.weight >= -10>>
@@.yellow;neither too fat nor too skinny@@
<<elseif $tempSlave.weight >= -30>>
@@.yellow;pleasingly thin@@
<<elseif $tempSlave.weight >= -95>>
@@.red;too skinny@@
<<else>>
@@.red;emaciated@@
<</if>>
<<textbox "$tempSlave.weight" $tempSlave.weight>>
<br>
<<radiobutton "$tempSlave.weight" -100>> Emaciated
<<radiobutton "$tempSlave.weight" -50>> Skinny
<<radiobutton "$tempSlave.weight" -20>> Thin
<<radiobutton "$tempSlave.weight" 0>> Average
<<radiobutton "$tempSlave.weight" 20>> Curvy
<<radiobutton "$tempSlave.weight" 60>> Chubby
<<radiobutton "$tempSlave.weight" 115>> Overweight
<<radiobutton "$tempSlave.weight" 145>> Obese
<<radiobutton "$tempSlave.weight" 175>> Very Obese
<<radiobutton "$tempSlave.weight" 200>> Extremely Obese
<br>
''Waist (Masculine:100 | Ugly:55 | Unattractive:15 | Average:0 | Feminine:-15 | hourglass:-55 | Absurd:-100): ''
<<if $tempSlave.waist > 95 >>
@@.red;Masculine@@ |
<<elseif $tempSlave.waist > 40 >>
@@.red;Ugly@@ |
<<elseif $tempSlave.waist > 10 >>
@@.red;Unattractive@@ |
<<elseif $tempSlave.waist >= -10>>
@@.yellow;Average@@ |
<<elseif $tempSlave.waist >= -40>>
@@.pink;Feminine@@ |
<<elseif $tempSlave.waist >= -95 >>
@@.pink;Hourglass@@ |
<<else>>
@@.pink;Absurd@@ |
<</if>>
<<textbox "$tempSlave.waist" $tempSlave.waist>>
<br>
<<radiobutton "$tempSlave.waist" 100>> Masculine
<<radiobutton "$tempSlave.waist" 55>> Ugly
<<radiobutton "$tempSlave.waist" 15>> Unattractive
<<radiobutton "$tempSlave.waist" 0>> Average
<<radiobutton "$tempSlave.waist" -15>> Feminine
<<radiobutton "$tempSlave.waist" -55>> Hourglass
<<radiobutton "$tempSlave.waist" -100>> Absurd
<br><br>
''Height:''
<<if $tempSlave.height <= 149>>@@.yellow;Petite@@
<<elseif $tempSlave.height <= 159>>@@.yellow;Short@@
<<elseif $tempSlave.height <= 169>>@@.yellow;Average@@
<<elseif $tempSlave.height <= 184>>@@.yellow;Tall@@
<<else>>@@.yellow;very Tall@@ <</if>>
<<textbox "$tempSlave.height" $tempSlave.height>>
<br>
(149 or lower: Petite, 150-159: Short, 160-169: Average, 170-184: Tall, 185 or higher: Very Tall)
<br><br>
''Shoulders (-2 to 2): ''
<<switch $tempSlave.shoulders>>
<<case -2>>@@.yellow;Very narrow@@
<<case -1>>@@.yellow;Narrow@@
<<case 0>>@@.yellow;Normal@@
<<case 1>>@@.yellow;Broad@@
<<case 2>>@@.yellow;Very broad@@
<</switch>>
<<radiobutton "$tempSlave.shoulders" -2>> Very narrow
<<radiobutton "$tempSlave.shoulders" -1>> Narrow
<<radiobutton "$tempSlave.shoulders" 0>> Normal
<<radiobutton "$tempSlave.shoulders" 1>> Broad
<<radiobutton "$tempSlave.shoulders" 2>> Very broad
<br>
''Hips (-2 to 2): ''
<<switch $tempSlave.hips>>
<<case -2>>@@.yellow;Very narrow@@
<<case -1>>@@.yellow;Narrow@@
<<case 0>>@@.yellow;Normal@@
<<case 1>>@@.yellow;Broad@@
<<case 2>>@@.yellow;Very broad@@
<</switch>>
<<radiobutton "$tempSlave.hips" -2>> Very narrow
<<radiobutton "$tempSlave.hips" -1>> Narrow
<<radiobutton "$tempSlave.hips" 0>> Normal
<<radiobutton "$tempSlave.hips" 1>> Broad
<<radiobutton "$tempSlave.hips" 2>> Very broad
<br>
<</widget>>
<<widget BellyTab>>
<br><br>
''Belly sagging:''@@.yellow;$tempSlave.bellySag@@ <br>
<<textbox "$tempSlave.bellySag" $tempSlave.bellySag>>
<br><br>
<</widget>>
<<widget BreastsTab>>
<br>
''Breasts (200 to 50000):''
<<textbox "$tempSlave.boobs" $tempSlave.boobs>>
<br>
''Breast Implants:''
<<textbox "$tempSlave.boobsImplant" $tempSlave.boobsImplant>>
<br>
''Breast Implant Type: @@.yellow;$tempSlave.boobsImplantType@@''
<<radiobutton "$tempSlave.boobsImplantType" "none">> None
<<radiobutton "$tempSlave.boobsImplantType" "normal">> Normal
<<radiobutton "$tempSlave.boobsImplantType" "string">> String
<<radiobutton "$tempSlave.boobsImplantType" "fillable">> Fillable
<<radiobutton "$tempSlave.boobsImplantType" "advanced fillable">> Advanced Fillable
<<radiobutton "$tempSlave.boobsImplantType" "hyper fillable">> Hyper Fillable
<br>
''Lactation (none:0 | natural:1 | artificial:2):''
<<switch $tempSlave.lactation>>
<<case 0>>@@.yellow;None@@
<<case 1>>@@.yellow;Natural@@
<<case 2>>@@.yellow;Artificial@@
<</switch>>
<br>
<<radiobutton "$tempSlave.lactation" 0>> None
<<radiobutton "$tempSlave.lactation" 1>> Natural
<<radiobutton "$tempSlave.lactation" 2>> Artificial
<br>
''Lactation Adaptation (0 to 100): $tempSlave.lactationAdaptation |''
<<textbox "$tempSlave.lactationAdaptation" $tempSlave.lactationAdaptation>>
<br><br>
''Breast Shape: @@.yellow;$tempSlave.boobShape@@''
<br>
<<radiobutton "$tempSlave.boobShape" "normal">> Normal
<<radiobutton "$tempSlave.boobShape" "perky">> Perky
<<radiobutton "$tempSlave.boobShape" "torpedo-shaped">> Torpedo-Shaped
<<radiobutton "$tempSlave.boobShape" "wide-set">> Wide-Set
<<radiobutton "$tempSlave.boobShape" "downward-facing">> Downward-Facing
<<radiobutton "$tempSlave.boobShape" "saggy">> Saggy
<br>
''Nipples: @@.yellow;$tempSlave.nipples@@ |''
<<radiobutton "$tempSlave.nipples" "tiny">> Tiny
<<radiobutton "$tempSlave.nipples" "cute">> Cute
<<radiobutton "$tempSlave.nipples" "puffy">> Puffy
<<radiobutton "$tempSlave.nipples" "partially inverted">> Partially Inverted
<<radiobutton "$tempSlave.nipples" "inverted">> Inverted
<<radiobutton "$tempSlave.nipples" "huge">> Huge
<<radiobutton "$tempSlave.nipples" "fuckable">> Penetrable
<br>
''Areolae Size (Normal:0 to Massive:4): ''
<<switch $tempSlave.areolae>>
<<case 0>>@@.yellow;Normal@@
<<case 1>>@@.yellow;Large@@
<<case 2>>@@.yellow;Wide@@
<<case 3>>@@.yellow;Huge@@
<<case 4>>@@.yellow;Massive@@
<</switch>>
<br>
<<radiobutton "$tempSlave.areolae" 0>> Normal
<<radiobutton "$tempSlave.areolae" 1>> Large
<<radiobutton "$tempSlave.areolae" 2>> Wide
<<radiobutton "$tempSlave.areolae" 3>> Huge
<<radiobutton "$tempSlave.areolae" 4>> Massive
<br>
''Areolae Shape:''
<<textbox "$tempSlave.areolaeShape" $tempSlave.areolaeShape>>
<br>
<</widget>>
<<widget ButtTab>>
<br>
''Butt Size (1 to 7): ''
<<textbox "$tempSlave.butt" $tempSlave.butt>>
<br>
''Butt Implants (0,1,2,3): |
<<switch $tempSlave.buttImplant>>
<<case 0>>@@.yellow;None@@
<<case 1>>@@.yellow;Normal@@
<<case 2>>@@.yellow;Large@@
<<case 3>>@@.yellow;Huge@@
<</switch>>
<<radiobutton "$tempSlave.buttImplant" 0>> None
<<radiobutton "$tempSlave.buttImplant" 1>> Normal
<<radiobutton "$tempSlave.buttImplant" 2>> Large
<<radiobutton "$tempSlave.buttImplant" 3>> Huge
<br>
''Butt Implant Type: @@.yellow;$tempSlave.buttImplantType@@''
<<radiobutton "$tempSlave.buttImplantType" "None">> None
<<radiobutton "$tempSlave.buttImplantType" "normal">> Normal
<<radiobutton "$tempSlave.buttImplantType" "string">> String
<<radiobutton "$tempSlave.buttImplantType" "fillable">> Fillable
<<radiobutton "$tempSlave.buttImplantType" "advanced fillable">> Advanced Fillable
<<radiobutton "$tempSlave.buttImplantType" "hyper fillable">> Hyper Fillable
<br><br>
''Anus Size:''
<<if $tempSlave.anus == 0>>@@.lime;Virgin.@@
<<elseif $tempSlave.anus == 1>>@@.yellow;Normal@@.
<<elseif $tempSlave.anus == 2>>@@.yellow;Veteran@@.
<<else>>@@.yellow;Gaping@@.
<</if>>
<br>
<<radiobutton "$tempSlave.anus" 0>> Virgin
<<radiobutton "$tempSlave.anus" 1>> Normal
<<radiobutton "$tempSlave.anus" 2>> Veteran
<<radiobutton "$tempSlave.anus" 3>> Gaping
<br>
<</widget>>
<<widget VagTab>>
<br>
''Vagina (no vagina:-1,0,1,2,3):''
<<if $tempSlave.vagina == -1>>
//No vagina.//
<<elseif $tempSlave.vagina == 0>>
@@.lime;Virgin@@.
<<elseif $tempSlave.vagina == 1>>
@@.yellow;Normal@@.
<<elseif $tempSlave.vagina == 2>>
@@.yellow;Veteran@@.
<<else>>
@@.yellow;Gaping@@.
<</if>>
<br>
<<radiobutton "$tempSlave.vagina" -1>> No vagina
<<radiobutton "$tempSlave.vagina" 0>> Virgin
<<radiobutton "$tempSlave.vagina" 1>> Normal
<<radiobutton "$tempSlave.vagina" 2>> Veteran
<<radiobutton "$tempSlave.vagina" 3>> Gaping
<br>
''Vagina Wetness (0,1,2):''
<<if $tempSlave.vaginaLube == 0>>
@@.yellow;Dry@@.
<<elseif $tempSlave.vaginaLube == 1>>
@@.yellow;Normal@@.
<<else>>
@@.yellow;Excessive@@.
<</if>>
<br>
<<radiobutton "$tempSlave.vaginaLube" 0>> Dry
<<radiobutton "$tempSlave.vaginaLube" 1>> Normal
<<radiobutton "$tempSlave.vaginaLube" 2>> Excessive
<br>
''Clit:''
<<if $tempSlave.clit == 0>>
@@.yellow;Normal.@@ |
<<elseif $tempSlave.clit == 1>>
@@.yellow;Big.@@ |
<<elseif $tempSlave.clit == 2>>
@@.yellow;Huge.@@ |
<<elseif $tempSlave.clit == 3>>
@@.yellow;Enormous.@@ |
<<elseif $tempSlave.clit == 4>>
@@.yellow;Dick-like.@@ |
<<else>>
@@.yellow;Might as well be a big dick.@@ |
<</if>>
<<radiobutton "$tempSlave.clit" 0>> Normal
<<radiobutton "$tempSlave.clit" 1>> Large
<<radiobutton "$tempSlave.clit" 2>> Huge
<<radiobutton "$tempSlave.clit" 3>> Enormous
<<radiobutton "$tempSlave.clit" 4>> Dick-like
<<radiobutton "$tempSlave.clit" 5>> Like a huge dick
<br>
''Labia:''
<<if $tempSlave.labia == 0>>
@@.yellow;Minimal.@@ |
<<elseif $tempSlave.labia == 1>>
@@.yellow;Normal.@@ |
<<elseif $tempSlave.labia == 2>>
@@.yellow;Large.@@ |
<<else>>
@@.yellow;Huge.@@ |
<</if>>
<<radiobutton "$tempSlave.labia" 0>> Minimal
<<radiobutton "$tempSlave.labia" 1>> Normal
<<radiobutton "$tempSlave.labia" 2>> Large
<<radiobutton "$tempSlave.labia" 3>> Huge
<br><br>
''Puberty (pre: 0 | post: 1):''
<<if ($tempSlave.pubertyXX == 1)||(ndef $tempSlave.pubertyXX)>>
@@.yellow;Post puberty@@
<<checkbox "$tempSlave.pubertyXX" 0 1 checked>>
<<else>>
@@.yellow;Pre puberty@@
<<checkbox "$tempSlave.pubertyXX" 0 1>>
<</if>>
<br>
''Puberty Age:'' @@.yellow;$tempSlave.pubertyAgeXX@@
<<textbox "$tempSlave.pubertyAgeXX" $tempSlave.pubertyAgeXX>>
<br>
''C-Section scar:''
<<if $tempSlave.scar.hasOwnProperty("belly") && $tempSlave.scar.belly["c-section"] > 0>>
@@.yellow;true@@
<<link "Remove">>
<<run App.Medicine.Modification.removeScar($tempSlave, "belly", "c-section")>>
<</link>>
<<else>>
@@.yellow;false@@
<<link "Add">>
<<run App.Medicine.Modification.addScar($tempSlave, "belly", "c-section")>>
<</link>>
<</if>>
<br>
''Breeding mark (only for Eugenic Societies):''
<<if $tempSlave.breedingMark == 1>>
@@.yellow;true@@
<<checkbox "$tempSlave.breedingMark" 0 1 checked>>
<<else>>
@@.yellow;false@@
<<checkbox "$tempSlave.breedingMark" 0 1>>
<</if>>
<br><br>
''Ovaries (none: 0 | exist: 1):''
<<if $tempSlave.ovaries == 1>>
@@.yellow;exist@@
<<checkbox "$tempSlave.ovaries" 0 1 checked>>
<<else>>
@@.yellow;none@@
<<checkbox "$tempSlave.ovaries" 0 1>>
<</if>>
<br>
''Pregnancy Level (-2: sterile, -1: contraceptives, 0: not pregnant, 1 to 25: pregnant):''
<<if $tempSlave.preg > 20>>
@@.yellow;Advanced@@.
<<elseif $tempSlave.preg > 5>>
@@.yellow;Early@@.
<<elseif $tempSlave.preg == 0>>
@@.yellow;None@@.
<<elseif $tempSlave.preg == -1>>
@@.yellow;Using contraceptives@@.
<<else>>
@@.yellow;Sterile@@.
<</if>>
<<textbox "$tempSlave.preg" $tempSlave.preg>>
<br>
''Pregnancy Week (Literal number of weeks pregnant):''
<<textbox "$tempSlave.pregWeek" $tempSlave.pregWeek>>
<br>
''Number of babies (0: none, 1 - 5):''
<<if $tempSlave.pregType == 1>>
@@.yellow;A single baby@@.
<<elseif $tempSlave.pregType == 2>>
@@.yellow;Twins@@.
<<elseif $tempSlave.pregType == 3>>
@@.yellow;Triples@@.
<<elseif $tempSlave.pregType == 4>>
@@.yellow;Quadruplets@@.
<<elseif $tempSlave.pregType > 4>>
@@.yellow;Quintuplets@@.
<<else>>
@@.yellow;None@@.
<</if>>
<<textbox "$tempSlave.pregType" $tempSlave.pregType>>
<br>
<<radiobutton "$tempSlave.pregType" 0>> None
<<radiobutton "$tempSlave.pregType" 1>> Single
<<radiobutton "$tempSlave.pregType" 2>> Twins
<<radiobutton "$tempSlave.pregType" 3>> Triplets
<<radiobutton "$tempSlave.pregType" 4>> Quadruplets
<<radiobutton "$tempSlave.pregType" 5>> Quintuplets
<br>
''Father (0: none, -1: you, -2: unknown, slave ID):''
<<textbox "$tempSlave.pregSource" $tempSlave.pregSource>>
<br>
<</widget>>
<<widget PenisTab>>
<br>
''Penis (none:0, 1 to 10):''
<<if $tempSlave.dick == 0>>
@@.yellow;None@@.
<<elseif $tempSlave.dick == 1>>
@@.yellow;Tiny@@.
<<elseif $tempSlave.dick == 2>>
@@.yellow;Small@@.
<<elseif $tempSlave.dick == 3>>
@@.yellow;Normal@@.
<<elseif $tempSlave.dick == 4>>
@@.yellow;Large@@.
<<elseif $tempSlave.dick == 5>>
@@.yellow;Massive@@.
<<elseif $tempSlave.dick == 6>>
@@.yellow;Huger@@
<<elseif $tempSlave.dick == 7>>
@@.yellow;Still huge@@.
<<elseif $tempSlave.dick == 8>>
@@.yellow;Enormous@@.
<<elseif $tempSlave.dick == 9>>
@@.yellow;Monstrous@@.
<<else>>
@@.yellow;Big McLargeHuge@@.
<</if>>
<<textbox "$tempSlave.dick" $tempSlave.dick>>
<br>
<<radiobutton "$tempSlave.dick" 0>> None
<<radiobutton "$tempSlave.dick" 1>> Tiny
<<radiobutton "$tempSlave.dick" 2>> Small
<<radiobutton "$tempSlave.dick" 3>> Normal
<<radiobutton "$tempSlave.dick" 4>> Large
<<radiobutton "$tempSlave.dick" 5>> Massive
<<radiobutton "$tempSlave.dick" 6>> Huge
<<radiobutton "$tempSlave.dick" 7>> More Huge
<<radiobutton "$tempSlave.dick" 8>> Enormous
<<radiobutton "$tempSlave.dick" 9>> Monstrous
<<radiobutton "$tempSlave.dick" 10>> Big McLargeHuge
<br>
''Foreskin also Clithood if there is no Dick (0 to 10):''
<<if $tempSlave.foreskin == 0>> @@.yellow;None@@.
<<elseif $tempSlave.foreskin == 1>> @@.yellow;Tiny@@.
<<elseif $tempSlave.foreskin == 2>> @@.yellow;Small@@.
<<elseif $tempSlave.foreskin == 3>> @@.yellow;Normal@@.
<<elseif $tempSlave.foreskin == 4>> @@.yellow;Large@@.
<<elseif $tempSlave.foreskin == 5>> @@.yellow;Massive@@.
<<elseif $tempSlave.foreskin == 6>> @@.yellow;Huger@@
<<elseif $tempSlave.foreskin == 7>> @@.yellow;Still huge@@.
<<elseif $tempSlave.foreskin == 8>> @@.yellow;Enormous@@.
<<elseif $tempSlave.foreskin == 9>> @@.yellow;Monstrous@@.
<<else>> @@.yellow;Big McLargeHuge@@.
<</if>>
<<textbox "$tempSlave.foreskin" $tempSlave.foreskin>>
<br>
<<radiobutton "$tempSlave.foreskin" 0>> None
<<radiobutton "$tempSlave.foreskin" 1>> Vestigial
<<radiobutton "$tempSlave.foreskin" 2>> Small
<<radiobutton "$tempSlave.foreskin" 3>> Normal
<<radiobutton "$tempSlave.foreskin" 4>> Large
<<radiobutton "$tempSlave.foreskin" 5>> Massive
<<radiobutton "$tempSlave.foreskin" 6>> Huge
<<radiobutton "$tempSlave.foreskin" 7>> More Huge
<<radiobutton "$tempSlave.foreskin" 8>> Enormous
<<radiobutton "$tempSlave.foreskin" 9>> Monstrous
<<radiobutton "$tempSlave.foreskin" 10>> Big McLargeHuge
<br><br>
''Testicles (0 to 6):''
<<if $tempSlave.balls == 0>>
@@.yellow;None@@.
<<elseif $tempSlave.balls == 1>>
@@.yellow;Vestigial@@.
<<elseif $tempSlave.balls == 2>>
@@.yellow;Small@@.
<<elseif $tempSlave.balls == 3>>
@@.yellow;Normal@@.
<<elseif $tempSlave.balls == 4>>
@@.yellow;Large@@.
<<elseif $tempSlave.balls == 5>>
@@.yellow;Huge@@.
<<else>>
@@.yellow;Titanic@@.
<</if>>
<<textbox "$tempSlave.balls" $tempSlave.balls>>
<br>
<<radiobutton "$tempSlave.balls" 0>> None / Invisible
<<radiobutton "$tempSlave.balls" 1>> Vestigial
<<radiobutton "$tempSlave.balls" 2>> Small
<<radiobutton "$tempSlave.balls" 3>> Normal
<<radiobutton "$tempSlave.balls" 4>> Large
<<radiobutton "$tempSlave.balls" 5>> Huge
<<radiobutton "$tempSlave.balls" 6>> Titanic
<br>
''Ballsack (0 to 8):''
<<if $tempSlave.scrotum == 0>>
@@.yellow;None@@.
<<elseif $tempSlave.scrotum == 1>>
@@.yellow;Vestigial@@.
<<elseif $tempSlave.scrotum == 2>>
@@.yellow;Small@@.
<<elseif $tempSlave.scrotum == 3>>
@@.yellow;Normal@@.
<<elseif $tempSlave.scrotum == 4>>
@@.yellow;Large@@.
<<elseif $tempSlave.scrotum == 5>>
@@.yellow;Huge@@.
<<elseif $tempSlave.scrotum == 6>>
@@.yellow;Massive@@.
<<elseif $tempSlave.scrotum == 7>>
@@.yellow;Enormous@@.
<<else>>
@@.yellow;Monstrous@@.
<</if>>
<<textbox "$tempSlave.scrotum" $tempSlave.scrotum>>
<br>
<<radiobutton "$tempSlave.scrotum" 0>> None
<<radiobutton "$tempSlave.scrotum" 1>> Vestigial
<<radiobutton "$tempSlave.scrotum" 2>> Small
<<radiobutton "$tempSlave.scrotum" 3>> Normal
<<radiobutton "$tempSlave.scrotum" 4>> Large
<<radiobutton "$tempSlave.scrotum" 5>> Huge
<<radiobutton "$tempSlave.scrotum" 6>> Massive
<<radiobutton "$tempSlave.scrotum" 7>> Enormous
<<radiobutton "$tempSlave.scrotum" 8>> Monstrous
<br><br>
''Prostate (0: no prostate, 1:prostate, 2:hyperactive, 3:hyperactive-modified):''
<<switch $tempSlave.prostate>>
<<case 0>> @@.yellow;No prostate@@
<<case 1>> @@.yellow;Prostate@@
<<case 2>> @@.yellow;Hyperactive prostate@@
<<case 3>> @@.yellow;Hyperactive modified prostate@@
<</switch>>
<br>
<<radiobutton "$tempSlave.prostate" 0>> No prostate
<<radiobutton "$tempSlave.prostate" 1>> Prostate
<<radiobutton "$tempSlave.prostate" 2>> Hyperactive prostate
<<radiobutton "$tempSlave.prostate" 3>> Hyperactive modified prostate
<br>
''Puberty (pre: 0 | post: 1):''
<<if ($tempSlave.pubertyXY == 1)||(ndef $tempSlave.pubertyXY)>>
@@.yellow;Post puberty@@
<<checkbox "$tempSlave.pubertyXY" 0 1 checked>>
<<else>>
@@.yellow;Pre puberty@@
<<checkbox "$tempSlave.pubertyXY" 0 1>>
<</if>>
<br>
''Puberty Age:'' @@.yellow;$tempSlave.pubertyAgeXY@@
<<textbox "$tempSlave.pubertyAgeXY" $tempSlave.pubertyAgeXY>>
<br>
<</widget>>
<<widget SkillsTab>>
<br>
''Oral sex (0 to 100):''
<<if $tempSlave.skill.oral <= 10>>
@@.yellow;Unskilled@@.
<<elseif $tempSlave.skill.oral <= 30>>
@@.cyan;Basic.@@
<<elseif $tempSlave.skill.oral <= 60>>
@@.cyan;Skilled.@@
<<elseif $tempSlave.skill.oral < 100>>
@@.cyan;Expert.@@
<<else>>
@@.cyan;Masterful.@@
<</if>>
<<textbox "$tempSlave.skill.oral" $tempSlave.skill.oral>>
<br>
<<radiobutton "$tempSlave.skill.oral" 0>> Unskilled
<<radiobutton "$tempSlave.skill.oral" 15>> Basic
<<radiobutton "$tempSlave.skill.oral" 35>> Skilled
<<radiobutton "$tempSlave.skill.oral" 65>> Expert
<<radiobutton "$tempSlave.skill.oral" 100>> Masterful
<<if $tempSlave.vagina > -1>>
<br>
''Vaginal sex (0 to 100):''
<<if $tempSlave.skill.vaginal <= 10>>
@@.yellow;Unskilled@@.
<<elseif $tempSlave.skill.vaginal <= 30>>
@@.cyan;Basic.@@
<<elseif $tempSlave.skill.vaginal <= 60>>
@@.cyan;Skilled.@@
<<elseif $tempSlave.skill.vaginal < 100>>
@@.cyan;Expert.@@
<<else>>
@@.cyan;Masterful.@@
<</if>>
<<textbox "$tempSlave.skill.vaginal" $tempSlave.skill.vaginal>>
<br>
<<radiobutton "$tempSlave.skill.vaginal" 0>> Unskilled
<<radiobutton "$tempSlave.skill.vaginal" 15>> Basic
<<radiobutton "$tempSlave.skill.vaginal" 35>> Skilled
<<radiobutton "$tempSlave.skill.vaginal" 65>> Expert
<<radiobutton "$tempSlave.skill.vaginal" 100>> Masterful
<</if>>
<br>
''Anal sex (0 to 100):''
<<if $tempSlave.skill.anal <= 10>>
@@.yellow;Unskilled@@.
<<elseif $tempSlave.skill.anal <= 30>>
@@.cyan;Basic.@@
<<elseif $tempSlave.skill.anal <= 60>>
@@.cyan;Skilled.@@
<<elseif $tempSlave.skill.anal < 100>>
@@.cyan;Expert.@@
<<else>>
@@.cyan;Masterful.@@
<</if>>
<<textbox "$tempSlave.skill.anal" $tempSlave.skill.anal>>
<br>
<<radiobutton "$tempSlave.skill.anal" 0>> Unskilled
<<radiobutton "$tempSlave.skill.anal" 15>> Basic
<<radiobutton "$tempSlave.skill.anal" 35>> Skilled
<<radiobutton "$tempSlave.skill.anal" 65>> Expert
<<radiobutton "$tempSlave.skill.anal" 100>> Masterful
<br>
''Prostitution (0 to 100):''
<<if $tempSlave.skill.whoring <= 10>>
@@.yellow;Unskilled@@.
<<elseif $tempSlave.skill.whoring <= 30>>
@@.cyan;Basic.@@
<<elseif $tempSlave.skill.whoring <= 60>>
@@.cyan;Skilled.@@
<<elseif $tempSlave.skill.whoring < 100>>
@@.cyan;Expert.@@
<<else>>
@@.cyan;Masterful.@@
<</if>>
<<textbox "$tempSlave.skill.whoring" $tempSlave.skill.whoring>>
<br>
<<radiobutton "$tempSlave.skill.whoring" 0>> Unskilled
<<radiobutton "$tempSlave.skill.whoring" 15>> Basic
<<radiobutton "$tempSlave.skill.whoring" 35>> Skilled
<<radiobutton "$tempSlave.skill.whoring" 65>> Expert
<<radiobutton "$tempSlave.skill.whoring" 100>> Masterful
<br>
''Entertainment (0 to 100):''
<<if $tempSlave.skill.entertainment <= 10>>
@@.yellow;Unskilled@@.
<<elseif $tempSlave.skill.entertainment <= 30>>
@@.cyan;Basic.@@
<<elseif $tempSlave.skill.entertainment <= 60>>
@@.cyan;Skilled.@@
<<elseif $tempSlave.skill.entertainment < 100>>
@@.cyan;Expert.@@
<<else>>
@@.cyan;Masterful.@@
<</if>>
<<textbox "$tempSlave.skill.entertainment" $tempSlave.skill.entertainment>>
<br>
<<radiobutton "$tempSlave.skill.entertainment" 0>> Unskilled
<<radiobutton "$tempSlave.skill.entertainment" 15>> Basic
<<radiobutton "$tempSlave.skill.entertainment" 35>> Skilled
<<radiobutton "$tempSlave.skill.entertainment" 65>> Expert
<<radiobutton "$tempSlave.skill.entertainment" 100>> Masterful
<br>
''Combat (0,1):''
<<if $tempSlave.skill.combat == 0>>
@@.yellow;Unskilled@@.
<<else>>
@@.cyan;Skilled.@@
<</if>>
<<radiobutton "$tempSlave.skill.combat" 0>> Unskilled
<<radiobutton "$tempSlave.skill.combat" 1>> Skilled
<br>
<</widget>>
<<widget InteliTab>>
<br>
''Intelligence (-100 to 100):''
<<if $tempSlave.intelligence > 95>>
@@.deepskyblue;Brilliant.@@
<<elseif $tempSlave.intelligence > 50>>
@@.deepskyblue;Very Smart.@@
<<elseif $tempSlave.intelligence > 15>>
@@.deepskyblue;Smart.@@
<<elseif $tempSlave.intelligence >= -15>>
@@.yellow;Average@@.
<<elseif $tempSlave.intelligence >= -50>>
@@.orangered;Stupid.@@
<<elseif $tempSlave.intelligence >= -95>>
@@.orangered;Very Stupid.@@
<<else>>
@@.orangered;Moronic.@@
<</if>>
<<textbox "$tempSlave.intelligence" $tempSlave.intelligence>>
<br>
<<radiobutton "$tempSlave.intelligence" -100>> Moronic
<<radiobutton "$tempSlave.intelligence" -60>> Very Stupid
<<radiobutton "$tempSlave.intelligence" -30>> Stupid
<<radiobutton "$tempSlave.intelligence" 0>> Average
<<radiobutton "$tempSlave.intelligence" 30>> Smart
<<radiobutton "$tempSlave.intelligence" 60>> Very Smart
<<radiobutton "$tempSlave.intelligence" 100>> Brilliant
<br>
''Education (0 to 30):''
<<if $tempSlave.intelligenceImplant >= 30>>
@@.deepskyblue;Well Educated.@@
<<elseif $tempSlave.intelligenceImplant >= 15>>
@@.deepskyblue;Educated.@@
<<else>>
@@.yellow;Uneducated@@.
<</if>>
<<radiobutton "$tempSlave.intelligenceImplant" 0>> Uneducated
<<radiobutton "$tempSlave.intelligenceImplant" 15>> Educated
<<radiobutton "$tempSlave.intelligenceImplant" 30>> Well Educated
<br>
<</widget>>
<<widget FetSexTab>>
<br>
''Fetish Known: ''
<<if $tempSlave.fetishKnown == 0>>
@@.yellow;Unknown@@
<<checkbox "$tempSlave.fetishKnown" 0 1>>
<<else>>
@@.yellow;Known@@
<<checkbox "$tempSlave.fetishKnown" 0 1 checked>>
<</if>>
<br>
<<if $tempSlave.fetish == "none">>
''Fetish:'' @@.pink;$tempSlave.fetish.@@
<<else>>
''Fetish:'' @@.lightcoral;$tempSlave.fetish.@@
<</if>>
<br>
<<radiobutton "$tempSlave.fetish" "none">> None
<<radiobutton "$tempSlave.fetish" "submissive">> Submissive
<<radiobutton "$tempSlave.fetish" "dom">> Dom
<<radiobutton "$tempSlave.fetish" "cumslut">> Cumslut
<<radiobutton "$tempSlave.fetish" "humiliation">> Humiliation
<<radiobutton "$tempSlave.fetish" "buttslut">> Buttslut
<<radiobutton "$tempSlave.fetish" "boobs">> Boobs
<<radiobutton "$tempSlave.fetish" "pregnancy">> Pregnancy
<<radiobutton "$tempSlave.fetish" "sadist">> Sadist
<<radiobutton "$tempSlave.fetish" "masochist">> Masochist
<br>
''Fetish strength (0 to 100):''
<<if $tempSlave.fetishStrength > 95>>
@@.lightcoral;High.@@
<<elseif $tempSlave.fetishStrength <= 60>>
@@.pink;Low.@@
<<else>>
@@.hotpink;Normal.@@
<</if>>
<<textbox "$tempSlave.fetishStrength" $tempSlave.fetishStrength>>
<br>
<<radiobutton "$tempSlave.fetishStrength" 0>> Low
<<radiobutton "$tempSlave.fetishStrength" 70>> Normal
<<radiobutton "$tempSlave.fetishStrength" 100>> High
<br><br>
''Sexuality (unknown:0 | known:1): ''
<<if $tempSlave.attrKnown == 0>>
@@.yellow;Unknown@@
<<checkbox "$tempSlave.attrKnown" 0 1>>
<<else>>
@@.yellow;Known@@
<<checkbox "$tempSlave.attrKnown" 0 1 checked>>
<</if>>
<br>
''Male Attraction (0 - 100):''
<<if $tempSlave.attrXY <= 5>>
@@.red;Disgusted by guys,@@
<<elseif $tempSlave.attrXY <= 15>>
@@.red;Turned off by guys,@@
<<elseif $tempSlave.attrXY <= 35>>
@@.red;Not attracted to guys,@@
<<elseif $tempSlave.attrXY <= 65>>
Indifferent to guys,
<<elseif $tempSlave.attrXY <= 85>>
@@.green;Attracted to guys,@@
<<elseif $tempSlave.attrXY <= 95>>
@@.green;Aroused by guys,@@
<<else>>
@@.green;Passionate about guys,@@
<</if>>
<<textbox "$tempSlave.attrXY" $tempSlave.attrXY>>
<br>
<<radiobutton "$tempSlave.attrXY" 0>> Disgusted by guys
<<radiobutton "$tempSlave.attrXY" 10>> Turned off by guys
<<radiobutton "$tempSlave.attrXY" 20>> Not attracted to guys
<<radiobutton "$tempSlave.attrXY" 50>> Indifferent to guys
<<radiobutton "$tempSlave.attrXY" 80>> Attracted to guys
<<radiobutton "$tempSlave.attrXY" 90>> Aroused by guys
<<radiobutton "$tempSlave.attrXY" 100>> Passionate about guys
<br>
''Female Attraction (0 - 100):''
<<if $tempSlave.attrXX <= 5>>
@@.red;disgusted by girls.@@
<<elseif $tempSlave.attrXX <= 15>>
@@.red;turned off by girls.@@
<<elseif $tempSlave.attrXX <= 35>>
@@.red;not attracted to girls.@@
<<elseif $tempSlave.attrXX <= 65>>
indifferent to girls.
<<elseif $tempSlave.attrXX <= 85>>
@@.green;attracted to girls.@@
<<elseif $tempSlave.attrXX <= 95>>
@@.green;aroused by girls.@@
<<else>>
@@.green;passionate about girls.@@
<</if>>
<<textbox "$tempSlave.attrXX" $tempSlave.attrXX>>
<br>
<<radiobutton "$tempSlave.attrXX" 0>> Disgusted by girls
<<radiobutton "$tempSlave.attrXX" 10>> Turned off by girls
<<radiobutton "$tempSlave.attrXX" 20>> Not attracted to girls
<<radiobutton "$tempSlave.attrXX" 50>> Indifferent to girls
<<radiobutton "$tempSlave.attrXX" 80>> Attracted to girls
<<radiobutton "$tempSlave.attrXX" 90>> Aroused by girls
<<radiobutton "$tempSlave.attrXX" 100>> Passionate about girls
<br>
''Sex drive (0 - 100):''
<<if $tempSlave.energy == 100>>
@@.green;Nympho!@@
<<elseif $tempSlave.energy > 80>>
@@.green;Sex addict.@@
<<elseif $tempSlave.energy > 60>>
@@.green;Powerful.@@
<<elseif $tempSlave.energy > 40>>
@@.yellow;Average.@@
<<elseif $tempSlave.energy > 20>>
@@.red;Poor.@@
<<else>>
@@.red;Frigid.@@
<</if>>
<<textbox "$tempSlave.energy" $tempSlave.energy>>
<br>
<</widget>>
<<widget StatisticTab>>
<br>
''Penetrative Sex: ''@@.yellow;$tempSlave.counter.penetrative@@ |
<<textbox "$tempSlave.counter.penetrative" $tempSlave.counter.penetrative>><br>
''Oral Sex: ''@@.yellow;$tempSlave.counter.oral@@ |
<<textbox "$tempSlave.counter.oral" $tempSlave.counter.oral>><br>
''Vaginal Sex: ''@@.yellow;$tempSlave.counter.vaginal@@ |
<<textbox "$tempSlave.counter.vaginal" $tempSlave.counter.vaginal>><br>
''Anal Sex: ''@@.yellow;$tempSlave.counter.anal@@ |
<<textbox "$tempSlave.counter.anal" $tempSlave.counter.anal>><br>
''Public Sex: ''@@.yellow;$tempSlave.counter.publicUse@@ |
<<textbox "$tempSlave.counter.publicUse" $tempSlave.counter.publicUse>><br>
''Titjobs: ''@@.yellow;$tempSlave.counter.mammary@@ |
<<textbox "$tempSlave.counter.mammary" $tempSlave.counter.mammary>><br>
<br>
''Total Births: ''@@.yellow;$tempSlave.counter.birthsTotal@@ |
<<textbox "$tempSlave.counter.birthsTotal" $tempSlave.counter.birthsTotal>><br>
<</widget>>
<<widget FlaQuiTab>>
<br>
''Behavioral Flaw:''
<<if $tempSlave.behavioralFlaw == "none">>
//$tempSlave.behavioralFlaw.//
<<else>>
@@.red;$tempSlave.behavioralFlaw.@@
<</if>>
<br>
<<radiobutton "$tempSlave.behavioralFlaw" "none">> None
<<radiobutton "$tempSlave.behavioralFlaw" "arrogant">> Arrogant
<<radiobutton "$tempSlave.behavioralFlaw" "bitchy">> Bitchy
<<radiobutton "$tempSlave.behavioralFlaw" "odd">> Odd
<<radiobutton "$tempSlave.behavioralFlaw" "hates men">> Men
<<radiobutton "$tempSlave.behavioralFlaw" "hates women">> Women
<<radiobutton "$tempSlave.behavioralFlaw" "anorexic">> Anorexic
<<radiobutton "$tempSlave.behavioralFlaw" "gluttonous">> Gluttonous
<<radiobutton "$tempSlave.behavioralFlaw" "devout">> Devout
<<radiobutton "$tempSlave.behavioralFlaw" "liberated">> Liberated
<br><br>
''Behavioral Quirk:''
<<if $tempSlave.behavioralQuirk == "none">>
//$tempSlave.behavioralQuirk.//
<<else>>
@@.green;$tempSlave.behavioralQuirk.@@
<</if>>
<br>
<<radiobutton "$tempSlave.behavioralQuirk" "none">> None
<<radiobutton "$tempSlave.behavioralQuirk" "confident">> Confident
<<radiobutton "$tempSlave.behavioralQuirk" "cutting">> Cutting
<<radiobutton "$tempSlave.behavioralQuirk" "funny">> Funny
<<radiobutton "$tempSlave.behavioralQuirk" "adores women">> Adores Women
<<radiobutton "$tempSlave.behavioralQuirk" "adores men">> Adores Men
<<radiobutton "$tempSlave.behavioralQuirk" "insecure">> Insecure
<<radiobutton "$tempSlave.behavioralQuirk" "fitness">> Fitness
<<radiobutton "$tempSlave.behavioralQuirk" "sinful">> Sinful
<<radiobutton "$tempSlave.behavioralQuirk" "advocate">> Advocate
<<if $tempSlave.behavioralQuirk != "none">>
<<set $tempSlave.behavioralFlaw = "none">>
<</if>>
<br><br>
''Sexual Flaw / Paraphilias:''
<<if $tempSlave.sexualFlaw == "none">>
//$tempSlave.sexualFlaw.//
<<else>>
@@.red;$tempSlave.sexualFlaw.@@
<</if>>
<br>
Flaws:
<<radiobutton "$tempSlave.sexualFlaw" "none">> None
<<radiobutton "$tempSlave.sexualFlaw" "hates oral">> Hates Oral
<<radiobutton "$tempSlave.sexualFlaw" "hates anal">> Hates Anal
<<radiobutton "$tempSlave.sexualFlaw" "hates penetration">> Hates Penetration
<<radiobutton "$tempSlave.sexualFlaw" "repressed">> Repressed
<<radiobutton "$tempSlave.sexualFlaw" "shamefast">> Shamefast
<<radiobutton "$tempSlave.sexualFlaw" "apathetic">> Apathetic
<<radiobutton "$tempSlave.sexualFlaw" "idealistic">> Sexually Idealistic
<<radiobutton "$tempSlave.sexualFlaw" "crude">> Crude
<<radiobutton "$tempSlave.sexualFlaw" "judgemental">> Judgemental
<br>
Paraphilias:
<<radiobutton "$tempSlave.sexualFlaw" "cum addict">> Cum Addict
<<radiobutton "$tempSlave.sexualFlaw" "anal addict">> Anal Addict
<<radiobutton "$tempSlave.sexualFlaw" "attention whore">> Attention Whore
<<radiobutton "$tempSlave.sexualFlaw" "breast growth">> Breast Obsession
<<radiobutton "$tempSlave.sexualFlaw" "abusive">> Abusive
<<radiobutton "$tempSlave.sexualFlaw" "malicious">> Malicious
<<radiobutton "$tempSlave.sexualFlaw" "self hating">> Self Hatred
<<radiobutton "$tempSlave.sexualFlaw" "neglectful">> Self Neglect
<<radiobutton "$tempSlave.sexualFlaw" "breeder">> Breeding Obsession
<br><br>
''Sexual Quirk:''
<<if $tempSlave.sexualQuirk == "none">>
//$tempSlave.sexualQuirk.//
<<else>>
@@.green;$tempSlave.sexualQuirk.@@
<</if>>
<br>
<<radiobutton "$tempSlave.sexualQuirk" "none">> None
<<radiobutton "$tempSlave.sexualQuirk" "gagfuck queen">> Gagfuck Queen
<<radiobutton "$tempSlave.sexualQuirk" "painal queen">> Painal Queen
<<radiobutton "$tempSlave.sexualQuirk" "strugglefuck queen">> Strugglefuck Queen
<<radiobutton "$tempSlave.sexualQuirk" "perverted">> Perverted
<<radiobutton "$tempSlave.sexualQuirk" "tease">> Tease
<<radiobutton "$tempSlave.sexualQuirk" "caring">> Caring
<<radiobutton "$tempSlave.sexualQuirk" "romantic">> Romantic
<<radiobutton "$tempSlave.sexualQuirk" "unflinching">> Unflinching
<<radiobutton "$tempSlave.sexualQuirk" "size queen">> Size Queen
<<if $tempSlave.sexualQuirk != "none">>
<<if !["abusive", "anal addict", "attention whore", "breast growth", "breeder", "cum addict", "malicious", "neglectful", "self hating"].includes($tempSlave.sexualFlaw)>>
<<set $tempSlave.sexualFlaw = "none">>
<</if>>
<</if>>
<br>
<</widget>>
<<widget PrestTab>>
''Change $his custom tattoo:'' <<textbox "$tempSlave.custom.tattoo" $tempSlave.custom.tattoo>>
<br>
//For best results, use complete, capitalized and punctuated sentences; for example: '$He has blue stars tattooed along $his cheekbones, and a blue arrow down each arm.'//
<br>
''Change $his custom description:'' <<textbox "$tempSlave.custom.desc" $tempSlave.custom.desc>>
<br>
//For best results, use complete, capitalized and punctuated sentences; for example: '$He has a beauty mark above $his left nipple.'//
<br>
''Change $his custom label:'' <<textbox "$tempSlave.custom.label" $tempSlave.custom.label>>
<br>
//For best results, use a short phrase; for example: 'Breeder.'//
<br>
''Prestige:''
<<textbox "$tempSlave.prestige" $tempSlave.prestige>>
<<radiobutton "$tempSlave.prestige" 0>> 0
<<radiobutton "$tempSlave.prestige" 1>> 1
<<radiobutton "$tempSlave.prestige" 2>> 2
<<radiobutton "$tempSlave.prestige" 3>> 3
<br>
''Prestige description:''
<<textbox "$tempSlave.prestigeDesc" $tempSlave.prestigeDesc>>
<br>
<</widget>>
<<widget TattooTab>>
<br>
''Full-body Tattoos:''<br>
<<link "[Tribal patterns]">>
<<set $tempSlave.boobsTat = "tribal patterns">><<set $tempSlave.buttTat = "tribal patterns">><<set $tempSlave.vaginaTat = "tribal patterns">>
<<set $tempSlave.dickTat = "tribal patterns">><<set $tempSlave.lipsTat = "tribal patterns">><<set $tempSlave.anusTat = "tribal patterns">>
<<set $tempSlave.shouldersTat = "tribal patterns">><<set $tempSlave.backTat = "tribal patterns">><<set $tempSlave.armsTat = "tribal patterns">>
<<set $tempSlave.legsTat = "tribal patterns">><<set $tempSlave.stampTat = "tribal patterns">>
<</link>>
<<print " | ">>
<<link "[Flowers]">>
<<set $tempSlave.boobsTat = "flowers">><<set $tempSlave.buttTat = "flowers">><<set $tempSlave.vaginaTat = "flowers">>
<<set $tempSlave.dickTat = "flowers">><<set $tempSlave.lipsTat = "flowers">><<set $tempSlave.anusTat = "flowers">>
<<set $tempSlave.shouldersTat = "flowers">><<set $tempSlave.backTat = "flowers">><<set $tempSlave.armsTat = "flowers">>
<<set $tempSlave.legsTat = "flowers">><<set $tempSlave.stampTat = "flowers">>
<</link>>
<<print " | ">>
<<link "[Scenes]">>
<<set $tempSlave.boobsTat = "scenes">><<set $tempSlave.buttTat = "scenes">><<set $tempSlave.vaginaTat = "scenes">>
<<set $tempSlave.dickTat = "scenes">><<set $tempSlave.lipsTat = "permanent makeup">><<set $tempSlave.anusTat = "bleached">>
<<set $tempSlave.shouldersTat = "scenes">><<set $tempSlave.backTat = "scenes">><<set $tempSlave.armsTat = "scenes">>
<<set $tempSlave.legsTat = "scenes">><<set $tempSlave.stampTat = "scenes">>
<</link>>
<<print " | ">>
<<link "[Asian art]">>
<<set $tempSlave.boobsTat = "Asian art">><<set $tempSlave.buttTat = "Asian art">><<set $tempSlave.vaginaTat = "Asian art">>
<<set $tempSlave.dickTat = "Asian art">><<set $tempSlave.lipsTat = "permanent makeup">><<set $tempSlave.anusTat = "bleached">>
<<set $tempSlave.shouldersTat = "Asian art">><<set $tempSlave.backTat = "Asian art">><<set $tempSlave.armsTat = "Asian art">>
<<set $tempSlave.legsTat = "Asian art">><<set $tempSlave.stampTat = "Asian art">>
<</link>>
<<print " | ">>
<<link "[Degradation]">>
<<set $tempSlave.boobsTat = "degradation">><<set $tempSlave.buttTat = "degradation">><<set $tempSlave.vaginaTat = "degradation">>
<<set $tempSlave.dickTat = "degradation">><<set $tempSlave.lipsTat = "degradation">><<set $tempSlave.anusTat = "degradation">>
<<set $tempSlave.shouldersTat = "degradation">><<set $tempSlave.backTat = "degradation">><<set $tempSlave.armsTat = "degradation">>
<<set $tempSlave.legsTat = "degradation">><<set $tempSlave.stampTat = "degradation">>
<</link>>
<<print " | ">>
<<link "[Counting]">>
<<set $tempSlave.boobsTat = "counting">><<set $tempSlave.buttTat = "counting">><<set $tempSlave.vaginaTat = "counting">>
<<set $tempSlave.dickTat = "counting">><<set $tempSlave.lipsTat = "counting">><<set $tempSlave.anusTat = "counting">>
<<set $tempSlave.shouldersTat = "counting">><<set $tempSlave.backTat = "counting">><<set $tempSlave.armsTat = "counting">>
<<set $tempSlave.legsTat = "counting">><<set $tempSlave.stampTat = "counting">>
<</link>>
<<print " | ">>
<<link "[Advertisements]">>
<<set $tempSlave.boobsTat = "advertisements">><<set $tempSlave.buttTat = "advertisements">><<set $tempSlave.vaginaTat = "advertisements">>
<<set $tempSlave.dickTat = "advertisements">><<set $tempSlave.lipsTat = "advertisements">><<set $tempSlave.anusTat = "advertisements">>
<<set $tempSlave.shouldersTat = "advertisements">><<set $tempSlave.backTat = "advertisements">><<set $tempSlave.armsTat = "advertisements">>
<<set $tempSlave.legsTat = "advertisements">><<set $tempSlave.stampTat = "advertisements">>
<</link>>
<<print " | ">>
<<link "[Rude Words]">>
<<set $tempSlave.boobsTat = "rude words">><<set $tempSlave.buttTat = "rude words">><<set $tempSlave.vaginaTat = "rude words">>
<<set $tempSlave.dickTat = "rude words">><<set $tempSlave.lipsTat = "rude words">><<set $tempSlave.anusTat = "rude words">>
<<set $tempSlave.shouldersTat = "rude words">><<set $tempSlave.backTat = "rude words">><<set $tempSlave.armsTat = "rude words">>
<<set $tempSlave.legsTat = "rude words">><<set $tempSlave.stampTat = "rude words">>
<</link>>
<<print " | ">>
<<link "[Cow Pattern]">>
<<set $tempSlave.boobsTat = "bovine patterns">><<set $tempSlave.buttTat = "bovine patterns">><<set $tempSlave.vaginaTat = "bovine patterns">>
<<set $tempSlave.dickTat = "bovine patterns">><<set $tempSlave.lipsTat = "bovine patterns">><<set $tempSlave.anusTat = "bovine patterns">>
<<set $tempSlave.shouldersTat = "bovine patterns">><<set $tempSlave.backTat = "bovine patterns">><<set $tempSlave.armsTat = "bovine patterns">>
<<set $tempSlave.legsTat = "bovine patterns">><<set $tempSlave.stampTat = "bovine patterns">>
<</link>>
<<print " | ">>
<<link "[No Tattoos]">>
<<set $tempSlave.boobsTat = 0>><<set $tempSlave.buttTat = 0>><<set $tempSlave.vaginaTat = 0>>
<<set $tempSlave.dickTat = 0>><<set $tempSlave.lipsTat = 0>><<set $tempSlave.anusTat = 0>>
<<set $tempSlave.shouldersTat = 0>><<set $tempSlave.backTat = 0>><<set $tempSlave.armsTat = 0>>
<<set $tempSlave.legsTat = 0>><<set $tempSlave.stampTat = 0>><<set $tempSlave.bellyTat = 0>>
<</link>>
<br><br>
''__Lips Tattoo__ (
<<if $tempSlave.lipsTat == 0>>@@.yellow;None@@
<<else>>@@.yellow;$tempSlave.lipsTat@@<</if>>
)''
<br>
<<radiobutton "$tempSlave.lipsTat" 0>>None
<<radiobutton "$tempSlave.lipsTat" "tribal patterns">>Tribal Patterns
<<radiobutton "$tempSlave.lipsTat" "flowers">>Flowers
<<radiobutton "$tempSlave.lipsTat" "permanent makeup">>Permanent Makeup
<<radiobutton "$tempSlave.lipsTat" "degradation">>Degradation
<<radiobutton "$tempSlave.lipsTat" "counting">>Counting
<<radiobutton "$tempSlave.lipsTat" "advertisements">>Advertisements
<<radiobutton "$tempSlave.lipsTat" "rude words">>Rude Words
<br>''Custom lips tattoo '' <<textbox "$tempSlave.lipsTat" $tempSlave.lipsTat>>
<br>
''__Shoulders Tattoo__ (
<<if $tempSlave.shouldersTat == 0>>@@.yellow;None@@
<<else>>@@.yellow;$tempSlave.shouldersTat@@<</if>>
)''
<br>
<<radiobutton "$tempSlave.shouldersTat" 0>>None
<<radiobutton "$tempSlave.shouldersTat" "tribal patterns">>Tribal Patterns
<<radiobutton "$tempSlave.shouldersTat" "flowers">>Flowers
<<radiobutton "$tempSlave.shouldersTat" "scenes">>Scenes
<<radiobutton "$tempSlave.shouldersTat" "Asian art">>Asian Art
<<radiobutton "$tempSlave.shouldersTat" "degradation">>Degradation
<<radiobutton "$tempSlave.shouldersTat" "counting">>Counting
<<radiobutton "$tempSlave.shouldersTat" "advertisements">>Advertisements
<<radiobutton "$tempSlave.shouldersTat" "rude words">>Rude Words
<br>''Custom shoulders tattoo '' <<textbox "$tempSlave.shouldersTat" $tempSlave.shouldersTat>>
<br>
''__Back Tattoo__ (
<<if $tempSlave.backTat == 0>>@@.yellow;None@@
<<else>>@@.yellow;$tempSlave.backTat@@<</if>>
)''
<br>
<<radiobutton "$tempSlave.backTat" 0>>None
<<radiobutton "$tempSlave.backTat" "tribal patterns">>Tribal Patterns
<<radiobutton "$tempSlave.backTat" "flowers">>Flowers
<<radiobutton "$tempSlave.backTat" "scenes">>Scenes
<<radiobutton "$tempSlave.backTat" "Asian art">>Asian Art
<<radiobutton "$tempSlave.backTat" "degradation">>Degradation
<<radiobutton "$tempSlave.backTat" "counting">>Counting
<<radiobutton "$tempSlave.backTat" "advertisements">>Advertisements
<<radiobutton "$tempSlave.backTat" "rude words">>Rude Words
<br>''Custom back tattoo '' <<textbox "$tempSlave.backTat" $tempSlave.backTat>>
<br>
''__Belly Tattoo__ (
<<if $tempSlave.bellyTat == 0>>@@.yellow;None@@
<<else>>@@.yellow;$tempSlave.bellyTat@@<</if>>
)''
<br>
<<radiobutton "$tempSlave.bellyTat" 0>>None
<<radiobutton "$tempSlave.bellyTat" "a heart">>Heart
<<radiobutton "$tempSlave.bellyTat" "a star">>Star
<<radiobutton "$tempSlave.bellyTat" "a butterfly">>Butterfly
<br>''Custom belly tattoo '' <<textbox "$tempSlave.bellyTat" $tempSlave.bellyTat>>
<br>
''__Arms Tattoo__ (
<<if $tempSlave.armsTat == 0>>@@.yellow;None@@
<<else>>@@.yellow;$tempSlave.armsTat@@<</if>>
)''
<br>
<<radiobutton "$tempSlave.armsTat" 0>>None
<<radiobutton "$tempSlave.armsTat" "tribal patterns">>Tribal Patterns
<<radiobutton "$tempSlave.armsTat" "flowers">>Flowers
<<radiobutton "$tempSlave.armsTat" "scenes">>Scenes
<<radiobutton "$tempSlave.armsTat" "Asian art">>Asian Art
<<radiobutton "$tempSlave.armsTat" "degradation">>Degradation
<<radiobutton "$tempSlave.armsTat" "counting">>Counting
<<radiobutton "$tempSlave.armsTat" "advertisements">>Advertisements
<<radiobutton "$tempSlave.armsTat" "rude words">>Rude Words
<br>''Custom arms tattoo '' <<textbox "$tempSlave.armsTat" $tempSlave.armsTat>>
<br>
''__Legs Tattoo__ (
<<if $tempSlave.legsTat == 0>>@@.yellow;None@@
<<else>>@@.yellow;$tempSlave.legsTat@@<</if>>
)''
<br>
<<radiobutton "$tempSlave.legsTat" 0>>None
<<radiobutton "$tempSlave.legsTat" "tribal patterns">>Tribal Patterns
<<radiobutton "$tempSlave.legsTat" "flowers">>Flowers
<<radiobutton "$tempSlave.legsTat" "scenes">>Scenes
<<radiobutton "$tempSlave.legsTat" "Asian art">>Asian Art
<<radiobutton "$tempSlave.legsTat" "degradation">>Degradation
<<radiobutton "$tempSlave.legsTat" "counting">>Counting
<<radiobutton "$tempSlave.legsTat" "advertisements">>Advertisements
<<radiobutton "$tempSlave.legsTat" "rude words">>Rude Words
<br>''Custom legs tattoo '' <<textbox "$tempSlave.legsTat" $tempSlave.legsTat>>
<br>
''__Boobs Tattoo__ (
<<if $tempSlave.boobsTat == 0>>@@.yellow;None@@
<<else>>@@.yellow;$tempSlave.boobsTat@@<</if>>
)''
<br>
<<radiobutton "$tempSlave.boobsTat" 0>>None
<<radiobutton "$tempSlave.boobsTat" "tribal patterns">>Tribal Patterns
<<radiobutton "$tempSlave.boobsTat" "flowers">>Flowers
<<radiobutton "$tempSlave.boobsTat" "scenes">>Scenes
<<radiobutton "$tempSlave.boobsTat" "Asian art">>Asian Art
<<radiobutton "$tempSlave.boobsTat" "degradation">>Degradation
<<radiobutton "$tempSlave.boobsTat" "counting">>Counting
<<radiobutton "$tempSlave.boobsTat" "advertisements">>Advertisements
<<radiobutton "$tempSlave.boobsTat" "rude words">>Rude Words
<br>''Custom boobs tattoo '' <<textbox "$tempSlave.boobsTat" $tempSlave.boobsTat>>
<br>
''__Butt Tattoo__ (
<<if $tempSlave.buttTat == 0>>@@.yellow;None@@
<<else>>@@.yellow;$tempSlave.buttTat@@<</if>>
)''
<br>
<<radiobutton "$tempSlave.buttTat" 0>>None
<<radiobutton "$tempSlave.buttTat" "tribal patterns">>Tribal Patterns
<<radiobutton "$tempSlave.buttTat" "flowers">>Flowers
<<radiobutton "$tempSlave.buttTat" "scenes">>Scenes
<<radiobutton "$tempSlave.buttTat" "Asian art">>Asian Art
<<radiobutton "$tempSlave.buttTat" "degradation">>Degradation
<<radiobutton "$tempSlave.buttTat" "counting">>Counting
<<radiobutton "$tempSlave.buttTat" "advertisements">>Advertisements
<<radiobutton "$tempSlave.buttTat" "rude words">>Rude Words
<br>''Custom butt tattoo '' <<textbox "$tempSlave.buttTat" $tempSlave.buttTat>>
<br>
''__Vagina Tattoo__ (
<<if $tempSlave.vaginaTat == 0>>@@.yellow;None@@
<<else>>@@.yellow;$tempSlave.vaginaTat@@<</if>>
)''
<br>
<<radiobutton "$tempSlave.vaginaTat" 0>>None
<<radiobutton "$tempSlave.vaginaTat" "tribal patterns">>Tribal Patterns
<<radiobutton "$tempSlave.vaginaTat" "flowers">>Flowers
<<radiobutton "$tempSlave.vaginaTat" "scenes">>Scenes
<<radiobutton "$tempSlave.vaginaTat" "Asian art">>Asian Art
<<radiobutton "$tempSlave.vaginaTat" "degradation">>Degradation
<<radiobutton "$tempSlave.vaginaTat" "counting">>Counting
<<radiobutton "$tempSlave.vaginaTat" "advertisements">>Advertisements
<<radiobutton "$tempSlave.vaginaTat" "rude words">>Rude Words
<br>''Custom vagina tattoo '' <<textbox "$tempSlave.vaginaTat" $tempSlave.vaginaTat>>
<br>
''__Anus Tattoo__ (
<<if $tempSlave.anusTat == 0>>@@.yellow;None@@
<<else>>@@.yellow;$tempSlave.anusTat@@<</if>>
)''
<br>
<<radiobutton "$tempSlave.anusTat" 0>>None
<<radiobutton "$tempSlave.anusTat" "bleached">>Bleached
<<radiobutton "$tempSlave.anusTat" "tribal patterns">>Tribal Patterns
<<radiobutton "$tempSlave.anusTat" "flowers">>Flowers
<<radiobutton "$tempSlave.anusTat" "degradation">>Degradation
<<radiobutton "$tempSlave.anusTat" "counting">>Counting
<<radiobutton "$tempSlave.anusTat" "advertisements">>Advertisements
<<radiobutton "$tempSlave.anusTat" "rude words">>Rude Words
<br>''Custom anus tattoo '' <<textbox "$tempSlave.anusTat" $tempSlave.anusTat>>
<br>
''__Dick Tattoo__ (
<<if $tempSlave.dickTat == 0>>@@.yellow;None@@
<<else>>@@.yellow;$tempSlave.dickTat@@<</if>>
)''
<br>
<<radiobutton "$tempSlave.dickTat" 0>>None
<<radiobutton "$tempSlave.dickTat" "tribal patterns">>Tribal Patterns
<<radiobutton "$tempSlave.dickTat" "flowers">>Flowers
<<radiobutton "$tempSlave.dickTat" "degradation">>Degradation
<<radiobutton "$tempSlave.dickTat" "counting">>Counting
<<radiobutton "$tempSlave.dickTat" "advertisements">>Advertisements
<<radiobutton "$tempSlave.dickTat" "rude words">>Rude Words
<br>''Custom dick tattoo '' <<textbox "$tempSlave.dickTat" $tempSlave.dickTat>>
<br>
''__Tramp Stamp Tattoo__ (
<<if $tempSlave.stampTat == 0>>@@.yellow;None@@
<<else>>@@.yellow;$tempSlave.stampTat@@<</if>>
)''
<br>
<<radiobutton "$tempSlave.stampTat" 0>>None
<<radiobutton "$tempSlave.stampTat" "tribal patterns">>Tribal Patterns
<<radiobutton "$tempSlave.stampTat" "flowers">>Flowers
<<radiobutton "$tempSlave.stampTat" "scenes">>Scenes
<<radiobutton "$tempSlave.stampTat" "Asian art">>Asian Art
<<radiobutton "$tempSlave.stampTat" "degradation">>Degradation
<<radiobutton "$tempSlave.stampTat" "counting">>Counting
<<radiobutton "$tempSlave.stampTat" "advertisements">>Advertisements
<<radiobutton "$tempSlave.stampTat" "rude words">>Rude Words
<br>''Custom tramp stamp tattoo '' <<textbox "$tempSlave.stampTat" $tempSlave.stampTat>>
<br>
<</widget>>
<<widget BrandTab>>
''Branding:''
<p id="brand-selection"></p>
<script>
App.Medicine.Modification.Select.brand(V.tempSlave, true)
</script>
<</widget>>
<<widget PierceTab>>
<br>
''Lips piercings (0-2): @@.yellow;$tempSlave.lipsPiercing@@''
|
<<radiobutton "$tempSlave.lipsPiercing" 0>> None
<<radiobutton "$tempSlave.lipsPiercing" 1>> Standard
<<radiobutton "$tempSlave.lipsPiercing" 2>> Heavy
<br>
''Tongue piercings (0-2): @@.yellow;$tempSlave.tonguePiercing@@''
|
<<radiobutton "$tempSlave.tonguePiercing" 0>> None
<<radiobutton "$tempSlave.tonguePiercing" 1>> Standard
<<radiobutton "$tempSlave.tonguePiercing" 2>> Heavy
<br>
''Ear piercings (0-2): @@.yellow;$tempSlave.earPiercing@@''
|
<<radiobutton "$tempSlave.earPiercing" 0>> None
<<radiobutton "$tempSlave.earPiercing" 1>> Standard
<<radiobutton "$tempSlave.earPiercing" 2>> Heavy
<br>
''Nose piercings (0-2): @@.yellow;$tempSlave.nosePiercing@@''
|
<<radiobutton "$tempSlave.nosePiercing" 0>> None
<<radiobutton "$tempSlave.nosePiercing" 1>> Standard
<<radiobutton "$tempSlave.nosePiercing" 2>> Heavy
<br>
''Eyebrow piercings (0-2): @@.yellow;$tempSlave.eyebrowPiercing@@''
|
<<radiobutton "$tempSlave.eyebrowPiercing" 0>> None
<<radiobutton "$tempSlave.eyebrowPiercing" 1>> Standard
<<radiobutton "$tempSlave.eyebrowPiercing" 2>> Heavy
<br>
''Navel piercings (0-2): @@.yellow;$tempSlave.navelPiercing@@''
|
<<radiobutton "$tempSlave.navelPiercing" 0>> None
<<radiobutton "$tempSlave.navelPiercing" 1>> Standard
<<radiobutton "$tempSlave.navelPiercing" 2>> Heavy
<br>
''Corset piercings (0-1): @@.yellow;$tempSlave.corsetPiercing@@''
|
<<radiobutton "$tempSlave.corsetPiercing" 0>> None
<<radiobutton "$tempSlave.corsetPiercing" 1>> Pierced
<br>
''Nipples piercings (0-2): @@.yellow;$tempSlave.nipplesPiercing@@''
|
<<radiobutton "$tempSlave.nipplesPiercing" 0>> None
<<radiobutton "$tempSlave.nipplesPiercing" 1>> Standard
<<radiobutton "$tempSlave.nipplesPiercing" 2>> Heavy
<br>
''Areolae piercings (0-2): @@.yellow;$tempSlave.areolaePiercing@@''
|
<<radiobutton "$tempSlave.areolaePiercing" 0>> None
<<radiobutton "$tempSlave.areolaePiercing" 1>> Standard
<<radiobutton "$tempSlave.areolaePiercing" 2>> Heavy
<br>
''Clit/frenulum piercing (0-3): @@.yellow;$tempSlave.clitPiercing@@''
|
<<radiobutton "$tempSlave.clitPiercing" 0>> None
<<radiobutton "$tempSlave.clitPiercing" 1>> Standard
<<radiobutton "$tempSlave.clitPiercing" 2>> Big
<<radiobutton "$tempSlave.clitPiercing" 3>> Smart piercing
<br>
''Pussylips piercings (0-2): @@.yellow;$tempSlave.vaginaPiercing@@''
|
<<radiobutton "$tempSlave.vaginaPiercing" 0>> None
<<radiobutton "$tempSlave.vaginaPiercing" 1>> Standard
<<radiobutton "$tempSlave.vaginaPiercing" 2>> Heavy
<br>
''Anus piercing (0-2): @@.yellow;$tempSlave.anusPiercing@@''
|
<<radiobutton "$tempSlave.anusPiercing" 0>> None
<<radiobutton "$tempSlave.anusPiercing" 1>> Standard
<<radiobutton "$tempSlave.anusPiercing" 2>> Heavy
<br>
''Shaft piercings (0-2): @@.yellow;$tempSlave.dickPiercing@@''
|
<<radiobutton "$tempSlave.dickPiercing" 0>> None
<<radiobutton "$tempSlave.dickPiercing" 1>> Standard
<<radiobutton "$tempSlave.dickPiercing" 2>> Heavy
<br>
<</widget>>
''Cheat Edit Slave '' <<link "[Cancel]" "Slave Interact">><<unset $tempSlave, $customEvalCode>><</link>>
<br>
<br><br>
/*-------------------------------------------------------------------------------------------------------------------------------*/
<<link "__Show All__">>
<<if (ndef _sAllR) || (_sAllR == 0) >>
<<replace "#spot">>
<<set _faceR = 0>><<set _nameR = 0>><<set _famR = 0>><<set _identR = 0>><<set _ageR = 0>><<set _devR = 0>><<set _hairR = 0>>
<<set _descR = 0>><<set _eyesR = 0>><<set _mouthR = 0>><<set _bodyR = 0>><<set _titsR = 0>><<set _buttR = 0>><<set _vagR = 0>>
<<set _dickR = 0>><<set _skillsR = 0>><<set _intR = 0>><<set _sexR = 0>><<set _flawR = 0>><<set _tatsR = 0>><<set _pierceR = 0>>
<<set _sAllR = 1>><<set _natR = 0>><<set _carR = 0>><<set _bellyR = 0>><<set _useR = 0>><<set _brandR = 0>><<set _hcol5R = 0>><<set _hcol4R = 0>>
<<set _hcol3R = 0>><<set _hcol2R = 0>><<set _hcol1R = 0>><<set _ecol1R = 0>><<set _ecol2R = 0>><<set _ppilR = 0>><<set _sclrR = 0>>
<<NameTab>>
<<FamilyTab>>
<<NationalTab>>
<<AgeTab>>
<<DevoTab>>
<<FaceTab>>
<<HairTab>>
<<EyesTab>>
<<MouthTab>>
<<BodyTab>>
<<BellyTab>>
<<BreastsTab>>
<<ButtTab>>
<<VagTab>>
<<PenisTab>>
<<SkillsTab>>
<<InteliTab>>
<<FetSexTab>>
<<FlaQuiTab>>
<<StatisticTab>>
<<PrestTab>>
<<TattooTab>>
<<BrandTab>>
<<PierceTab>>
<</replace>>
<<else>>
<<replace "#spot">>
<<set _sAllR = 0>>
<</replace>>
<</if>>
<</link>>
<br>
/*-------------------------------------------------------------------------------------------------------------------------------*/
<<link "Name & Status ">>
<<if (ndef _nameR) || (_nameR == 0) >>
<<replace "#spot">>
<<set _faceR = 0>><<set _nameR = 1>><<set _famR = 0>><<set _identR = 0>><<set _ageR = 0>><<set _devR = 0>><<set _hairR = 0>>
<<set _descR = 0>><<set _eyesR = 0>><<set _mouthR = 0>><<set _bodyR = 0>><<set _titsR = 0>><<set _buttR = 0>><<set _vagR = 0>>
<<set _dickR = 0>><<set _skillsR = 0>><<set _intR = 0>><<set _sexR = 0>><<set _flawR = 0>><<set _tatsR = 0>><<set _pierceR = 0>>
<<set _sAllR = 0>><<set _natR = 0>><<set _carR = 0>><<set _bellyR = 0>><<set _useR = 0>><<set _brandR = 0>><<set _hcol5R = 0>><<set _hcol4R = 0>>
<<set _hcol3R = 0>><<set _hcol2R = 0>><<set _hcol1R = 0>><<set _ecol1R = 0>><<set _ecol2R = 0>><<set _ppilR = 0>><<set _sclrR = 0>>
<<NameTab>>
<</replace>>
<<else>>
<<replace "#spot">>
<<set _nameR = 0>>
<</replace>>
<</if>>
<</link>>
/*-------------------------------------------------------------------------------------------------------------------------------*/
<<print " | " >>
<<link "Family & Relations">>
<<if (ndef _famR) || (_famR == 0) >>
<<replace "#spot">>
<<set _faceR = 0>><<set _nameR = 0>><<set _famR = 1>><<set _identR = 0>><<set _ageR = 0>><<set _devR = 0>><<set _hairR = 0>>
<<set _descR = 0>><<set _eyesR = 0>><<set _mouthR = 0>><<set _bodyR = 0>><<set _titsR = 0>><<set _buttR = 0>><<set _vagR = 0>>
<<set _dickR = 0>><<set _skillsR = 0>><<set _intR = 0>><<set _sexR = 0>><<set _flawR = 0>><<set _tatsR = 0>><<set _pierceR = 0>>
<<set _sAllR = 0>><<set _natR = 0>><<set _carR = 0>><<set _bellyR = 0>><<set _useR = 0>><<set _brandR = 0>><<set _hcol5R = 0>><<set _hcol4R = 0>>
<<set _hcol3R = 0>><<set _hcol2R = 0>><<set _hcol1R = 0>><<set _ecol1R = 0>><<set _ecol2R = 0>><<set _ppilR = 0>><<set _sclrR = 0>>
<<FamilyTab>>
<</replace>>
<<else>>
<<replace "#spot">>
<<set _famR = 0>>
<</replace>>
<</if>>
<</link>>
/*-------------------------------------------------------------------------------------------------------------------------------*/
<<print " | " >>
<<link "Nationality, Origin & Career">>
<<if (ndef _identR) || (_identR == 0) >>
<<replace "#spot">>
<<set _faceR = 0>><<set _nameR = 0>><<set _famR = 0>><<set _identR = 1>><<set _ageR = 0>><<set _devR = 0>><<set _hairR = 0>>
<<set _descR = 0>><<set _eyesR = 0>><<set _mouthR = 0>><<set _bodyR = 0>><<set _titsR = 0>><<set _buttR = 0>><<set _vagR = 0>>
<<set _dickR = 0>><<set _skillsR = 0>><<set _intR = 0>><<set _sexR = 0>><<set _flawR = 0>><<set _tatsR = 0>><<set _pierceR = 0>>
<<set _sAllR = 0>><<set _natR = 0>><<set _carR = 0>><<set _bellyR = 0>><<set _useR = 0>><<set _brandR = 0>><<set _hcol5R = 0>><<set _hcol4R = 0>>
<<set _hcol3R = 0>><<set _hcol2R = 0>><<set _hcol1R = 0>><<set _ecol1R = 0>><<set _ecol2R = 0>><<set _ppilR = 0>><<set _sclrR = 0>>
<<NationalTab>>
<</replace>>
<<else>>
<<replace "#spot">>
<<set _identR = 0>>
<</replace>>
<</if>>
<</link>>
/*-------------------------------------------------------------------------------------------------------------------------------*/
<<print " | " >>
<<link "Age & Health">>
<<if (ndef _nameR) || (_ageR == 0) >>
<<replace "#spot">>
<<set _faceR = 0>><<set _nameR = 0>><<set _famR = 0>><<set _identR = 0>><<set _ageR = 1>><<set _devR = 0>><<set _hairR = 0>>
<<set _descR = 0>><<set _eyesR = 0>><<set _mouthR = 0>><<set _bodyR = 0>><<set _titsR = 0>><<set _buttR = 0>><<set _vagR = 0>>
<<set _dickR = 0>><<set _skillsR = 0>><<set _intR = 0>><<set _sexR = 0>><<set _flawR = 0>><<set _tatsR = 0>><<set _pierceR = 0>>
<<set _sAllR = 0>><<set _natR = 0>><<set _carR = 0>><<set _bellyR = 0>><<set _useR = 0>><<set _brandR = 0>><<set _hcol5R = 0>><<set _hcol4R = 0>>
<<set _hcol3R = 0>><<set _hcol2R = 0>><<set _hcol1R = 0>><<set _ecol1R = 0>><<set _ecol2R = 0>><<set _ppilR = 0>><<set _sclrR = 0>>
<<AgeTab>>
<</replace>>
<<else>>
<<replace "#spot">>
<<set _ageR = 0>>
<</replace>>
<</if>>
<</link>>
/*-------------------------------------------------------------------------------------------------------------------------------*/
<<print " | " >>
<<link "Devotion & Trust">>
<<if (ndef _devR) || (_devR == 0) >>
<<replace "#spot">>
<<set _faceR = 0>><<set _nameR = 0>><<set _famR = 0>><<set _identR = 0>><<set _ageR = 0>><<set _devR = 1>><<set _hairR = 0>>
<<set _descR = 0>><<set _eyesR = 0>><<set _mouthR = 0>><<set _bodyR = 0>><<set _titsR = 0>><<set _buttR = 0>><<set _vagR = 0>>
<<set _dickR = 0>><<set _skillsR = 0>><<set _intR = 0>><<set _sexR = 0>><<set _flawR = 0>><<set _tatsR = 0>><<set _pierceR = 0>>
<<set _sAllR = 0>><<set _natR = 0>><<set _carR = 0>><<set _bellyR = 0>><<set _useR = 0>><<set _brandR = 0>><<set _hcol5R = 0>><<set _hcol4R = 0>>
<<set _hcol3R = 0>><<set _hcol2R = 0>><<set _hcol1R = 0>><<set _ecol1R = 0>><<set _ecol2R = 0>><<set _ppilR = 0>><<set _sclrR = 0>>
<<DevoTab>>
<</replace>>
<<else>>
<<replace "#spot">>
<<set _devR = 0>>
<</replace>>
<</if>>
<</link>>
/*-------------------------------------------------------------------------------------------------------------------------------*/
<br>
<<link "Face & Skin">>
<<if (ndef _faceR) || (_faceR == 0) >>
<<replace "#spot">>
<<set _faceR = 1>><<set _nameR = 0>><<set _famR = 0>><<set _identR = 0>><<set _ageR = 0>><<set _devR = 0>><<set _hairR = 0>>
<<set _descR = 0>><<set _eyesR = 0>><<set _mouthR = 0>><<set _bodyR = 0>><<set _titsR = 0>><<set _buttR = 0>><<set _vagR = 0>>
<<set _dickR = 0>><<set _skillsR = 0>><<set _intR = 0>><<set _sexR = 0>><<set _flawR = 0>><<set _tatsR = 0>><<set _pierceR = 0>>
<<set _sAllR = 0>><<set _natR = 0>><<set _carR = 0>><<set _bellyR = 0>><<set _useR = 0>><<set _brandR = 0>><<set _hcol5R = 0>><<set _hcol4R = 0>>
<<set _hcol3R = 0>><<set _hcol2R = 0>><<set _hcol1R = 0>><<set _ecol1R = 0>><<set _ecol2R = 0>><<set _ppilR = 0>><<set _sclrR = 0>>
<<FaceTab>>
<</replace>>
<<else>>
<<replace "#spot">>
<<set _faceR = 0>>
<</replace>>
<</if>>
<</link>>
/*-------------------------------------------------------------------------------------------------------------------------------*/
<<print " | " >>
<<link "Hair">>
<<if (ndef _hairR) || (_hairR == 0) >>
<<replace "#spot">>
<<set _faceR = 0>><<set _nameR = 0>><<set _famR = 0>><<set _identR = 0>><<set _ageR = 0>><<set _devR = 0>><<set _hairR = 1>>
<<set _descR = 0>><<set _eyesR = 0>><<set _mouthR = 0>><<set _bodyR = 0>><<set _titsR = 0>><<set _buttR = 0>><<set _vagR = 0>>
<<set _dickR = 0>><<set _skillsR = 0>><<set _intR = 0>><<set _sexR = 0>><<set _flawR = 0>><<set _tatsR = 0>><<set _pierceR = 0>>
<<set _sAllR = 0>><<set _natR = 0>><<set _carR = 0>><<set _bellyR = 0>><<set _useR = 0>><<set _brandR = 0>><<set _hcol5R = 0>><<set _hcol4R = 0>>
<<set _hcol3R = 0>><<set _hcol2R = 0>><<set _hcol1R = 0>><<set _ecol1R = 0>><<set _ecol2R = 0>><<set _ppilR = 0>><<set _sclrR = 0>>
<<HairTab>>
<</replace>>
<<else>>
<<replace "#spot">>
<<set _hairR = 0>>
<</replace>>
<</if>>
<</link>>
/*-------------------------------------------------------------------------------------------------------------------------------*/
<<print " | " >>
<<link "Eyes">>
<<if (ndef _eyesR) || (_eyesR == 0) >>
<<replace "#spot">>
<<set _faceR = 0>><<set _nameR = 0>><<set _famR = 0>><<set _identR = 0>><<set _ageR = 0>><<set _devR = 0>><<set _hairR = 0>>
<<set _descR = 0>><<set _eyesR = 1>><<set _mouthR = 0>><<set _bodyR = 0>><<set _titsR = 0>><<set _buttR = 0>><<set _vagR = 0>>
<<set _dickR = 0>><<set _skillsR = 0>><<set _intR = 0>><<set _sexR = 0>><<set _flawR = 0>><<set _tatsR = 0>><<set _pierceR = 0>>
<<set _sAllR = 0>><<set _natR = 0>><<set _carR = 0>><<set _bellyR = 0>><<set _useR = 0>><<set _brandR = 0>><<set _hcol5R = 0>><<set _hcol4R = 0>>
<<set _hcol3R = 0>><<set _hcol2R = 0>><<set _hcol1R = 0>><<set _ecol1R = 0>><<set _ecol2R = 0>><<set _ppilR = 0>><<set _sclrR = 0>>
<<EyesTab>>
<</replace>>
<<else>>
<<replace "#spot">>
<<set _eyesR = 0>>
<</replace>>
<</if>>
<</link>>
/*-------------------------------------------------------------------------------------------------------------------------------*/
<<print " | " >>
<<link "Mouth">>
<<if (ndef _mouthR) || (_mouthR == 0) >>
<<replace "#spot">>
<<set _faceR = 0>><<set _nameR = 0>><<set _famR = 0>><<set _identR = 0>><<set _ageR = 0>><<set _devR = 0>><<set _hairR = 0>>
<<set _descR = 0>><<set _eyesR = 0>><<set _mouthR = 1>><<set _bodyR = 0>><<set _titsR = 0>><<set _buttR = 0>><<set _vagR = 0>>
<<set _dickR = 0>><<set _skillsR = 0>><<set _intR = 0>><<set _sexR = 0>><<set _flawR = 0>><<set _tatsR = 0>><<set _pierceR = 0>>
<<set _sAllR = 0>><<set _natR = 0>><<set _carR = 0>><<set _bellyR = 0>><<set _useR = 0>><<set _brandR = 0>><<set _hcol5R = 0>><<set _hcol4R = 0>>
<<set _hcol3R = 0>><<set _hcol2R = 0>><<set _hcol1R = 0>><<set _ecol1R = 0>><<set _ecol2R = 0>><<set _ppilR = 0>><<set _sclrR = 0>>
<<MouthTab>>
<</replace>>
<<else>>
<<replace "#spot">>
<<set _mouthR = 0>>
<</replace>>
<</if>>
<</link>>
/*-------------------------------------------------------------------------------------------------------------------------------*/
<<print " | " >>
<<link "Body">>
<<if (ndef _bodyR) || (_bodyR == 0) >>
<<replace "#spot">>
<<set _faceR = 0>><<set _nameR = 0>><<set _famR = 0>><<set _identR = 0>><<set _ageR = 0>><<set _devR = 0>><<set _hairR = 0>>
<<set _descR = 0>><<set _eyesR = 0>><<set _mouthR = 0>><<set _bodyR = 1>><<set _titsR = 0>><<set _buttR = 0>><<set _vagR = 0>>
<<set _dickR = 0>><<set _skillsR = 0>><<set _intR = 0>><<set _sexR = 0>><<set _flawR = 0>><<set _tatsR = 0>><<set _pierceR = 0>>
<<set _sAllR = 0>><<set _natR = 0>><<set _carR = 0>><<set _bellyR = 0>><<set _useR = 0>><<set _brandR = 0>><<set _hcol5R = 0>><<set _hcol4R = 0>>
<<set _hcol3R = 0>><<set _hcol2R = 0>><<set _hcol1R = 0>><<set _ecol1R = 0>><<set _ecol2R = 0>><<set _ppilR = 0>><<set _sclrR = 0>>
<<BodyTab>>
<</replace>>
<<else>>
<<replace "#spot">>
<<set _bodyR = 0>>
<</replace>>
<</if>>
<</link>>
/*-------------------------------------------------------------------------------------------------------------------------------*/
<<print " | " >>
<<link "Belly">>
<<if (ndef _bellyR) || (_bellyR == 0) >>
<<replace "#spot">>
<<set _faceR = 0>><<set _nameR = 0>><<set _famR = 0>><<set _identR = 0>><<set _ageR = 0>><<set _devR = 0>><<set _hairR = 0>>
<<set _descR = 0>><<set _eyesR = 0>><<set _mouthR = 0>><<set _bodyR = 0>><<set _titsR = 0>><<set _buttR = 0>><<set _vagR = 0>>
<<set _dickR = 0>><<set _skillsR = 0>><<set _intR = 0>><<set _sexR = 0>><<set _flawR = 0>><<set _tatsR = 0>><<set _pierceR = 0>>
<<set _sAllR = 0>><<set _natR = 0>><<set _carR = 0>><<set _bellyR = 1>><<set _useR = 0>><<set _brandR = 0>><<set _hcol5R = 0>><<set _hcol4R = 0>>
<<set _hcol3R = 0>><<set _hcol2R = 0>><<set _hcol1R = 0>><<set _ecol1R = 0>><<set _ecol2R = 0>><<set _ppilR = 0>><<set _sclrR = 0>>
<<BellyTab>>
<</replace>>
<<else>>
<<replace "#spot">>
<<set _bellyR = 0>>
<</replace>>
<</if>>
<</link>>
/*-------------------------------------------------------------------------------------------------------------------------------*/
<<print " | " >>
<<link "Breasts">>
<<if (ndef _titsR) || (_titsR == 0) >>
<<replace "#spot">>
<<set _faceR = 0>><<set _nameR = 0>><<set _famR = 0>><<set _identR = 0>><<set _ageR = 0>><<set _devR = 0>><<set _hairR = 0>>
<<set _descR = 0>><<set _eyesR = 0>><<set _mouthR = 0>><<set _bodyR = 0>><<set _titsR = 1>><<set _buttR = 0>><<set _vagR = 0>>
<<set _dickR = 0>><<set _skillsR = 0>><<set _intR = 0>><<set _sexR = 0>><<set _flawR = 0>><<set _tatsR = 0>><<set _pierceR = 0>>
<<set _sAllR = 0>><<set _natR = 0>><<set _carR = 0>><<set _bellyR = 0>><<set _useR = 0>><<set _brandR = 0>><<set _hcol5R = 0>><<set _hcol4R = 0>>
<<set _hcol3R = 0>><<set _hcol2R = 0>><<set _hcol1R = 0>><<set _ecol1R = 0>><<set _ecol2R = 0>><<set _ppilR = 0>><<set _sclrR = 0>>
<<BreastsTab>>
<</replace>>
<<else>>
<<replace "#spot">>
<<set _titsR = 0>>
<</replace>>
<</if>>
<</link>>
/*-------------------------------------------------------------------------------------------------------------------------------*/
<<print " | " >>
<<link "Butt">>
<<if (ndef _buttR) || (_buttR == 0) >>
<<replace "#spot">>
<<set _faceR = 0>><<set _nameR = 0>><<set _famR = 0>><<set _identR = 0>><<set _ageR = 0>><<set _devR = 0>><<set _hairR = 0>>
<<set _descR = 0>><<set _eyesR = 0>><<set _mouthR = 0>><<set _bodyR = 0>><<set _titsR = 0>><<set _buttR = 1>><<set _vagR = 0>>
<<set _dickR = 0>><<set _skillsR = 0>><<set _intR = 0>><<set _sexR = 0>><<set _flawR = 0>><<set _tatsR = 0>><<set _pierceR = 0>>
<<set _sAllR = 0>><<set _natR = 0>><<set _carR = 0>><<set _bellyR = 0>><<set _useR = 0>><<set _brandR = 0>><<set _hcol5R = 0>><<set _hcol4R = 0>>
<<set _hcol3R = 0>><<set _hcol2R = 0>><<set _hcol1R = 0>><<set _ecol1R = 0>><<set _ecol2R = 0>><<set _ppilR = 0>><<set _sclrR = 0>>
<<ButtTab>>
<</replace>>
<<else>>
<<replace "#spot">>
<<set _buttR = 0>>
<</replace>>
<</if>>
<</link>>
/*-------------------------------------------------------------------------------------------------------------------------------*/
<<print " | " >>
<<link "Vagina & Pregnancy">>
<<if (ndef _vagR) || (_vagR == 0) >>
<<replace "#spot">><br>
<<set _faceR = 0>><<set _nameR = 0>><<set _famR = 0>><<set _identR = 0>><<set _ageR = 0>><<set _devR = 0>><<set _hairR = 0>>
<<set _descR = 0>><<set _eyesR = 0>><<set _mouthR = 0>><<set _bodyR = 0>><<set _titsR = 0>><<set _buttR = 0>><<set _vagR = 1>>
<<set _dickR = 0>><<set _skillsR = 0>><<set _intR = 0>><<set _sexR = 0>><<set _flawR = 0>><<set _tatsR = 0>><<set _pierceR = 0>>
<<set _sAllR = 0>><<set _natR = 0>><<set _carR = 0>><<set _bellyR = 0>><<set _useR = 0>><<set _brandR = 0>><<set _hcol5R = 0>><<set _hcol4R = 0>>
<<set _hcol3R = 0>><<set _hcol2R = 0>><<set _hcol1R = 0>><<set _ecol1R = 0>><<set _ecol2R = 0>><<set _ppilR = 0>><<set _sclrR = 0>>
<<VagTab>>
<</replace>>
<<else>>
<<replace "#spot">>
<<set _vagR = 0>>
<</replace>>
<</if>>
<</link>>
/*-------------------------------------------------------------------------------------------------------------------------------*/
<<print " | " >>
<<link "Penis">>
<<if (ndef _dickR) || (_dickR == 0) >>
<<replace "#spot">>
<<set _faceR = 0>><<set _nameR = 0>><<set _famR = 0>><<set _identR = 0>><<set _ageR = 0>><<set _devR = 0>><<set _hairR = 0>>
<<set _descR = 0>><<set _eyesR = 0>><<set _mouthR = 0>><<set _bodyR = 0>><<set _titsR = 0>><<set _buttR = 0>><<set _vagR = 0>>
<<set _dickR = 1>><<set _skillsR = 0>><<set _intR = 0>><<set _sexR = 0>><<set _flawR = 0>><<set _tatsR = 0>><<set _pierceR = 0>>
<<set _sAllR = 0>><<set _natR = 0>><<set _carR = 0>><<set _bellyR = 0>><<set _useR = 0>><<set _brandR = 0>><<set _hcol5R = 0>><<set _hcol4R = 0>>
<<set _hcol3R = 0>><<set _hcol2R = 0>><<set _hcol1R = 0>><<set _ecol1R = 0>><<set _ecol2R = 0>><<set _ppilR = 0>><<set _sclrR = 0>>
<<PenisTab>>
<</replace>>
<<else>>
<<replace "#spot">>
<<set _dickR = 0>>
<</replace>>
<</if>>
<</link>>
/*-------------------------------------------------------------------------------------------------------------------------------*/
<br>
<<link "Skills">>
<<if (ndef _skillsR) || (_skillsR == 0) >>
<<replace "#spot">>
<<set _faceR = 0>><<set _nameR = 0>><<set _famR = 0>><<set _identR = 0>><<set _ageR = 0>><<set _devR = 0>><<set _hairR = 0>>
<<set _descR = 0>><<set _eyesR = 0>><<set _mouthR = 0>><<set _bodyR = 0>><<set _titsR = 0>><<set _buttR = 0>><<set _vagR = 0>>
<<set _dickR = 0>><<set _skillsR = 1>><<set _intR = 0>><<set _sexR = 0>><<set _flawR = 0>><<set _tatsR = 0>><<set _pierceR = 0>>
<<set _sAllR = 0>><<set _natR = 0>><<set _carR = 0>><<set _bellyR = 0>><<set _useR = 0>><<set _brandR = 0>><<set _hcol5R = 0>><<set _hcol4R = 0>>
<<set _hcol3R = 0>><<set _hcol2R = 0>><<set _hcol1R = 0>><<set _ecol1R = 0>><<set _ecol2R = 0>><<set _ppilR = 0>><<set _sclrR = 0>>
<<SkillsTab>>
<</replace>>
<<else>>
<<replace "#spot">>
<<set _skillsR = 0>>
<</replace>>
<</if>>
<</link>>
/*-------------------------------------------------------------------------------------------------------------------------------*/
<<print " | " >>
<<link "Intelligence">>
<<if (ndef _intR) || (_intR == 0) >>
<<replace "#spot">>
<<set _faceR = 0>><<set _nameR = 0>><<set _famR = 0>><<set _identR = 0>><<set _ageR = 0>><<set _devR = 0>><<set _hairR = 0>>
<<set _descR = 0>><<set _eyesR = 0>><<set _mouthR = 0>><<set _bodyR = 0>><<set _titsR = 0>><<set _buttR = 0>><<set _vagR = 0>>
<<set _dickR = 0>><<set _skillsR = 0>><<set _intR = 1>><<set _sexR = 0>><<set _flawR = 0>><<set _tatsR = 0>><<set _pierceR = 0>>
<<set _sAllR = 0>><<set _natR = 0>><<set _carR = 0>><<set _bellyR = 0>><<set _useR = 0>><<set _brandR = 0>><<set _hcol5R = 0>><<set _hcol4R = 0>>
<<set _hcol3R = 0>><<set _hcol2R = 0>><<set _hcol1R = 0>><<set _ecol1R = 0>><<set _ecol2R = 0>><<set _ppilR = 0>><<set _sclrR = 0>>
<<InteliTab>>
<</replace>>
<<else>>
<<replace "#spot">>
<<set _intR = 0>>
<</replace>>
<</if>>
<</link>>
/*-------------------------------------------------------------------------------------------------------------------------------*/
<<print " | " >>
<<link "Fetish & Sexuality">>
<<if (ndef _sexR) || (_sexR == 0) >>
<<replace "#spot">>
<<set _faceR = 0>><<set _nameR = 0>><<set _famR = 0>><<set _identR = 0>><<set _ageR = 0>><<set _devR = 0>><<set _hairR = 0>>
<<set _descR = 0>><<set _eyesR = 0>><<set _mouthR = 0>><<set _bodyR = 0>><<set _titsR = 0>><<set _buttR = 0>><<set _vagR = 0>>
<<set _dickR = 0>><<set _skillsR = 0>><<set _intR = 0>><<set _sexR = 1>><<set _flawR = 0>><<set _tatsR = 0>><<set _pierceR = 0>>
<<set _sAllR = 0>><<set _natR = 0>><<set _carR = 0>><<set _bellyR = 0>><<set _useR = 0>><<set _brandR = 0>><<set _hcol5R = 0>><<set _hcol4R = 0>>
<<set _hcol3R = 0>><<set _hcol2R = 0>><<set _hcol1R = 0>><<set _ecol1R = 0>><<set _ecol2R = 0>><<set _ppilR = 0>><<set _sclrR = 0>>
<<FetSexTab>>
<</replace>>
<<else>>
<<replace "#spot">>
<<set _sexR = 0>>
<</replace>>
<</if>>
<</link>>
/*-------------------------------------------------------------------------------------------------------------------------------*/
<<print " | " >>
<<link "Flaws & Quirks">>
<<if (ndef _flawR) || (_flawR == 0) >>
<<replace "#spot">>
<<set _faceR = 0>><<set _nameR = 0>><<set _famR = 0>><<set _identR = 0>><<set _ageR = 0>><<set _devR = 0>><<set _hairR = 0>>
<<set _descR = 0>><<set _eyesR = 0>><<set _mouthR = 0>><<set _bodyR = 0>><<set _titsR = 0>><<set _buttR = 0>><<set _vagR = 0>>
<<set _dickR = 0>><<set _skillsR = 0>><<set _intR = 0>><<set _sexR = 0>><<set _flawR = 1>><<set _tatsR = 0>><<set _pierceR = 0>>
<<set _sAllR = 0>><<set _natR = 0>><<set _carR = 0>><<set _bellyR = 0>><<set _useR = 0>><<set _brandR = 0>><<set _hcol5R = 0>><<set _hcol4R = 0>>
<<set _hcol3R = 0>><<set _hcol2R = 0>><<set _hcol1R = 0>><<set _ecol1R = 0>><<set _ecol2R = 0>><<set _ppilR = 0>><<set _sclrR = 0>>
<<FlaQuiTab>>
<</replace>>
<<else>>
<<replace "#spot">>
<<set _flawR = 0>>
<</replace>>
<</if>>
<</link>>
/*-------------------------------------------------------------------------------------------------------------------------------*/
<<print " | " >>
<<link "Statistics">>
<<if (ndef _useR) || (_useR == 0) >>
<<replace "#spot">>
<<set _faceR = 0>><<set _nameR = 0>><<set _famR = 0>><<set _identR = 0>><<set _ageR = 0>><<set _devR = 0>><<set _hairR = 0>>
<<set _descR = 0>><<set _eyesR = 0>><<set _mouthR = 0>><<set _bodyR = 0>><<set _titsR = 0>><<set _buttR = 0>><<set _vagR = 0>>
<<set _dickR = 0>><<set _skillsR = 0>><<set _intR = 0>><<set _sexR = 0>><<set _flawR = 0>><<set _tatsR = 0>><<set _pierceR = 0>>
<<set _sAllR = 0>><<set _natR = 0>><<set _carR = 0>><<set _bellyR = 0>><<set _useR = 1>><<set _brandR = 0>><<set _hcol5R = 0>><<set _hcol4R = 0>>
<<set _hcol3R = 0>><<set _hcol2R = 0>><<set _hcol1R = 0>><<set _ecol1R = 0>><<set _ecol2R = 0>><<set _ppilR = 0>><<set _sclrR = 0>>
<<StatisticTab>>
<</replace>>
<<else>>
<<replace "#spot">>
<<set _useR = 0>>
<</replace>>
<</if>>
<</link>>
/*-------------------------------------------------------------------------------------------------------------------------------*/
<br>
<<link "Prestige, Custom Tattoo & Description">>
<<if (ndef _descR) || (_descR == 0) >>
<<replace "#spot">>
<<set _faceR = 0>><<set _nameR = 0>><<set _famR = 0>><<set _identR = 0>><<set _ageR = 0>><<set _devR = 0>><<set _hairR = 0>>
<<set _descR = 1>><<set _eyesR = 0>><<set _mouthR = 0>><<set _bodyR = 0>><<set _titsR = 0>><<set _buttR = 0>><<set _vagR = 0>>
<<set _dickR = 0>><<set _skillsR = 0>><<set _intR = 0>><<set _sexR = 0>><<set _flawR = 0>><<set _tatsR = 0>><<set _pierceR = 0>>
<<set _sAllR = 0>><<set _natR = 0>><<set _carR = 0>><<set _bellyR = 0>><<set _useR = 0>><<set _brandR = 0>><<set _hcol5R = 0>><<set _hcol4R = 0>>
<<set _hcol3R = 0>><<set _hcol2R = 0>><<set _hcol1R = 0>><<set _ecol1R = 0>><<set _ecol2R = 0>><<set _ppilR = 0>><<set _sclrR = 0>>
<br>
<<PrestTab>>
<</replace>>
<<else>>
<<replace "#spot">>
<<set _descR = 0>>
<</replace>>
<</if>>
<</link>>
/*-------------------------------------------------------------------------------------------------------------------------------*/
<<print " | " >>
<<link "Tattoos">>
<<if (ndef _tatsR) || (_tatsR == 0) >>
<<replace "#spot">>
<<set _faceR = 0>><<set _nameR = 0>><<set _famR = 0>><<set _identR = 0>><<set _ageR = 0>><<set _devR = 0>><<set _hairR = 0>>
<<set _descR = 0>><<set _eyesR = 0>><<set _mouthR = 0>><<set _bodyR = 0>><<set _titsR = 0>><<set _buttR = 0>><<set _vagR = 0>>
<<set _dickR = 0>><<set _skillsR = 0>><<set _intR = 0>><<set _sexR = 0>><<set _flawR = 0>><<set _tatsR = 1>><<set _pierceR = 0>>
<<set _sAllR = 0>><<set _natR = 0>><<set _carR = 0>><<set _bellyR = 0>><<set _useR = 0>><<set _brandR = 0>><<set _hcol5R = 0>><<set _hcol4R = 0>>
<<set _hcol3R = 0>><<set _hcol2R = 0>><<set _hcol1R = 0>><<set _ecol1R = 0>><<set _ecol2R = 0>><<set _ppilR = 0>><<set _sclrR = 0>>
<<TattooTab>>
<</replace>>
<<else>>
<<replace "#spot">>
<<set _tatsR = 0>>
<</replace>>
<</if>>
<</link>>
/*-------------------------------------------------------------------------------------------------------------------------------*/
<<print " | " >>
<<link "Branding">>
<<if (ndef _brandR) || (_brandR == 0) >>
<<replace "#spot">>
<<set _faceR = 0>><<set _nameR = 0>><<set _famR = 0>><<set _identR = 0>><<set _ageR = 0>><<set _devR = 0>><<set _hairR = 0>>
<<set _descR = 0>><<set _eyesR = 0>><<set _mouthR = 0>><<set _bodyR = 0>><<set _titsR = 0>><<set _buttR = 0>><<set _vagR = 0>>
<<set _dickR = 0>><<set _skillsR = 0>><<set _intR = 0>><<set _sexR = 0>><<set _flawR = 0>><<set _tatsR = 0>><<set _pierceR = 0>>
<<set _sAllR = 0>><<set _natR = 0>><<set _carR = 0>><<set _bellyR = 0>><<set _useR = 0>><<set _brandR = 1>><<set _hcol5R = 0>><<set _hcol4R = 0>>
<<set _hcol3R = 0>><<set _hcol2R = 0>><<set _hcol1R = 0>><<set _ecol1R = 0>><<set _ecol2R = 0>><<set _ppilR = 0>><<set _sclrR = 0>>
<<BrandTab>>
<</replace>>
<<else>>
<<replace "#spot">>
<<set _brandR = 0>>
<</replace>>
<</if>>
<</link>>
/*-------------------------------------------------------------------------------------------------------------------------------*/
<<print " | " >>
<<link "Piercings">>
<<if (ndef _pierceR) || (_pierceR == 0) >>
<<replace "#spot">>
<<set _faceR = 0>><<set _nameR = 0>><<set _famR = 0>><<set _identR = 0>><<set _ageR = 0>><<set _devR = 0>><<set _hairR = 0>>
<<set _descR = 0>><<set _eyesR = 0>><<set _mouthR = 0>><<set _bodyR = 0>><<set _titsR = 0>><<set _buttR = 0>><<set _vagR = 0>>
<<set _dickR = 0>><<set _skillsR = 0>><<set _intR = 0>><<set _sexR = 0>><<set _flawR = 0>><<set _tatsR = 0>><<set _pierceR = 1>>
<<set _sAllR = 0>><<set _natR = 0>><<set _carR = 0>><<set _bellyR = 0>><<set _useR = 0>><<set _brandR = 0>><<set _hcol5R = 0>><<set _hcol4R = 0>>
<<set _hcol3R = 0>><<set _hcol2R = 0>><<set _hcol1R = 0>><<set _ecol1R = 0>><<set _ecol2R = 0>><<set _ppilR = 0>><<set _sclrR = 0>>
<<PierceTab>>
<</replace>>
<<else>>
<<replace "#spot">>
<<set _pierceR = 0>>
<</replace>>
<</if>>
<</link>>
/*-------------------------------------------------------------------------------------------------------------------------------*/
<br>
<<link "Custom Cheat">>
<<replace "#spot">>
<br><<textarea "$customEvalCode" "">>
<br>//Any JavaScript function will be automatically run using this slave as an argument when "Continue" is clicked. For example, entering "(slave) => slave.slaveName = 'Fancy Name' " will change your slave's name to "Fancy Name".//
<</replace>>
<</link>>
/*-------------------------------------------------------------------------------------------------------------------------------*/
<br><<print "@@.yellow;Refresh through selecting a new or the same passage again for Changes to be seen@@" >><br>
<span id="spot"></span><br>
/* ------------------------------------------------------------------------- Used Variables: ------------------------------------------------------------------------------------------------*/
/*.visualAge .ageImplant .birthWeek .health.condition .health.shortDamage .health.longDamage .health.illness .health.tired .chem .addict .devotion .oldDevotion .trust .oldTrust .face .faceShape .faceImplant .markings .bald .hLength .hStyle .hColor .origHColor*/
/*.eyebrowHColor .pubicHColor .pubicHStyle .underArmHColor .underArmHStyle .eyeColor .origEye .eyes .hears .lips .lipsImplant .teeth .voiceImplant .voice .accent .genes .amp .fuckdoll .muscles .weight*/
/*.waist .height .heightImplant .shoulders .shouldersImplant .hips .hipsImplant .bellyImplant .bellySag .burst .boobs .boobsImplant .boobsImplantType .lactation .boobShape .nipples .areolae*/
/*.butt .buttImplant .anus .mpreg .vagina .vaginaLube .clit .labia .pubertyXX .pubertyAgeXX .cervixImplant .breedingMark .ovaries .preg .pregType .pregSource .dick .foreskin .balls*/
|
MonsterMate/fc
|
src/cheats/mod_EditInfantCheatNew.tw
|
tw
|
mit
| 122,257
|
:: MOD_Edit Neighbor Arcology Cheat Datatype Cleanup [nobr]
<<set $nextButton = "Continue", $nextLink = "Main">>
<<= App.Update.neighborArcologyCheatDatatypeCleanup()>>
You have CHEATED your way to influencing the neighboring arcologies. They have been unscrupulously directed according to your CHEAT whims.
<br><br>The Eldritch horrors feast upon your CHEATING soul and look forward to more future dealings with you. The repercussions may be far reaching and the consequences dire.
|
MonsterMate/fc
|
src/cheats/mod_EditNeighborArcologyCheatDatatypeCleanup.tw
|
tw
|
mit
| 487
|
:: MOD_Edit Neighbor Arcology Cheat Widget [widget nobr]
/%
Call as <<EditNeighborCheat>>
%/
<<widget "EditNeighborCheat">>
<<set _i = $args[0]>>
''Arcology _i name:'' $arcologies[_i].name
<br><<textbox "$arcologies[_i].name" $arcologies[_i].name "MOD_Edit Neighbor Arcology Cheat">>
<br>
'' $arcologies[_i].name direction:'' $arcologies[_i].direction
<br><<radiobutton "$arcologies[_i].direction" "north">> north
| <<radiobutton "$arcologies[_i].direction" "northeast">> northeast
| <<radiobutton "$arcologies[_i].direction" "east">> east
| <<radiobutton "$arcologies[_i].direction" "southeast">> southeast
| <<radiobutton "$arcologies[_i].direction" "south">> south
| <<radiobutton "$arcologies[_i].direction" "southwest">> southeast
| <<radiobutton "$arcologies[_i].direction" "west">> west
| <<radiobutton "$arcologies[_i].direction" "northwest">> northwest
<br>
'' $arcologies[_i].name government:'' $arcologies[_i].government
<br><<radiobutton "$arcologies[_i].government" "elected officials">> elected officials
| <<radiobutton "$arcologies[_i].government" "a committee">> a committee
| <<radiobutton "$arcologies[_i].government" "an oligarchy">> an oligarchy
| <<radiobutton "$arcologies[_i].government" "an individual">> an individual
| <<radiobutton "$arcologies[_i].government" "a corporation">> a corporation
| <<radiobutton "$arcologies[_i].government" "direct democracy">> direct democracy
| <<radiobutton "$arcologies[_i].government" "your trustees">> your trustees
| <<radiobutton "$arcologies[_i].government" "your agent">> your agent
<br>
'' $arcologies[_i].name honeymoon:'' $arcologies[_i].honeymoon
<br><<textbox "$arcologies[_i].honeymoon" $arcologies[_i].honeymoon>>
<br>
'' $arcologies[_i].name prosperity:'' $arcologies[_i].prosperity
<br><<textbox "$arcologies[_i].prosperity" $arcologies[_i].prosperity>>
<br>
'' $arcologies[_i].name ownership:'' $arcologies[_i].ownership
<br><<textbox "$arcologies[_i].ownership" $arcologies[_i].ownership>>
<br>
'' $arcologies[_i].name minority ownership:'' $arcologies[_i].minority
<br><<textbox "$arcologies[_i].minority" $arcologies[_i].minority>>
<br>
'' $arcologies[_i].name player ownership:'' $arcologies[_i].PCminority
<br><<textbox "$arcologies[_i].PCminority" $arcologies[_i].PCminority>>
<br>
'' $arcologies[_i].name demand factor:'' $arcologies[_i].demandFactor
<br><<textbox "$arcologies[_i].demandFactor" $arcologies[_i].demandFactor>>
<br>
'' $arcologies[_i].name Supremacist (unset or 1-100):'' $arcologies[_i].FSSupremacist
<br><<textbox "$arcologies[_i].FSSupremacist" $arcologies[_i].FSSupremacist>>
<br>
'' $arcologies[_i].name Supremacist race:'' $arcologies[_i].FSSupremacistRace
<br><<radiobutton "$arcologies[_i].FSSupremacistRace" "white">> White |
<<radiobutton "$arcologies[_i].FSSupremacistRace" "asian">> Asian |
<<radiobutton "$arcologies[_i].FSSupremacistRace" "latina">> Latina |
<<radiobutton "$arcologies[_i].FSSupremacistRace" "middle eastern">> Middle Eastern |
<<radiobutton "$arcologies[_i].FSSupremacistRace" "black">> Black |
<<radiobutton "$arcologies[_i].FSSupremacistRace" "indo-aryan">> Indo-Aryan |
<<radiobutton "$arcologies[_i].FSSupremacistRace" "amerindian">> Amerindian |
<<radiobutton "$arcologies[_i].FSSupremacistRace" "pacific islander">> Pacific Islander |
<<radiobutton "$arcologies[_i].FSSupremacistRace" "southern european">> Southern European |
<<radiobutton "$arcologies[_i].FSSupremacistRace" "semitic">> Semitic |
<<radiobutton "$arcologies[_i].FSSupremacistRace" "mixed race">> Mixed Race
<br>
'' $arcologies[_i].name Subjugationist (unset or 1-100):'' $arcologies[_i].FSSubjugationist
<br><<textbox "$arcologies[_i].FSSubjugationist" $arcologies[_i].FSSubjugationist>>
<br>
'' $arcologies[_i].name Subjugationist race:'' $arcologies[_i].FSSubjugationistRace
<br><<radiobutton "$arcologies[_i].FSSubjugationistRace" "white">> White |
<<radiobutton "$arcologies[_i].FSSubjugationistRace" "asian">> Asian |
<<radiobutton "$arcologies[_i].FSSubjugationistRace" "latina">> Latina |
<<radiobutton "$arcologies[_i].FSSubjugationistRace" "middle eastern">> Middle Eastern |
<<radiobutton "$arcologies[_i].FSSubjugationistRace" "black">> Black |
<<radiobutton "$arcologies[_i].FSSubjugationistRace" "indo-aryan">> Indo-Aryan |
<<radiobutton "$arcologies[_i].FSSubjugationistRace" "amerindian">> Amerindian |
<<radiobutton "$arcologies[_i].FSSubjugationistRace" "pacific islander">> Pacific Islander |
<<radiobutton "$arcologies[_i].FSSubjugationistRace" "southern european">> Southern European |
<<radiobutton "$arcologies[_i].FSSubjugationistRace" "semitic">> Semitic |
<<radiobutton "$arcologies[_i].FSSubjugationistRace" "mixed race">> Mixed Race
<br>
'' $arcologies[_i].name Gender Radicalist (unset or 1-100):'' $arcologies[_i].FSGenderRadicalist
<br><<textbox "$arcologies[_i].FSGenderRadicalist" $arcologies[_i].FSGenderRadicalist>>
<br>
'' $arcologies[_i].name Gender Fundamentalist (unset or 1-100):'' $arcologies[_i].FSGenderFundamentalist
<br><<textbox "$arcologies[_i].FSGenderFundamentalist" $arcologies[_i].FSGenderFundamentalist>>
<br>
'' $arcologies[_i].name Paternalist (unset or 1-100):'' $arcologies[_i].FSPaternalist
<br><<textbox "$arcologies[_i].FSPaternalist" $arcologies[_i].FSPaternalist>>
<br>
'' $arcologies[_i].name Degradationist (unset or 1-100):'' $arcologies[_i].FSDegradationist
<br><<textbox "$arcologies[_i].FSDegradationist" $arcologies[_i].FSDegradationist>>
<br>
'' $arcologies[_i].name Intellectual Dependency (unset or 1-100):'' $arcologies[_i].FSIntellectualDependency
<br><<textbox "$arcologies[_i].FSIntellectualDependency" $arcologies[_i].FSIntellectualDependency>>
<br>
'' $arcologies[_i].name Slave Professionalism (unset or 1-100):'' $arcologies[_i].FSSlaveProfessionalism
<br><<textbox "$arcologies[_i].FSSlaveProfessionalism" $arcologies[_i].FSSlaveProfessionalism>>
<br>
'' $arcologies[_i].name Body Purist (unset or 1-100):'' $arcologies[_i].FSBodyPurist
<br><<textbox "$arcologies[_i].FSBodyPurist" $arcologies[_i].FSBodyPurist>>
<br>
'' $arcologies[_i].name Transformation Fetishist (unset or 1-100):'' $arcologies[_i].FSTransformationFetishist
<br><<textbox "$arcologies[_i].FSTransformationFetishist" $arcologies[_i].FSTransformationFetishist>>
<br>
'' $arcologies[_i].name Youth Preferentialist (unset or 1-100):'' $arcologies[_i].FSYouthPreferentialist
<br><<textbox "$arcologies[_i].FSYouthPreferentialist" $arcologies[_i].FSYouthPreferentialist>>
<br>
'' $arcologies[_i].name Maturity Preferentialist (unset or 1-100):'' $arcologies[_i].FSMaturityPreferentialist
<br><<textbox "$arcologies[_i].FSMaturityPreferentialist" $arcologies[_i].FSMaturityPreferentialist>>
<br>
'' $arcologies[_i].name Petite Admiration (unset or 1-100):'' $arcologies[_i].FSPetiteAdmiration
<br><<textbox "$arcologies[_i].FSPetiteAdmiration" $arcologies[_i].FSPetiteAdmiration>>
<br>
'' $arcologies[_i].name Statuesque Glorification (unset or 1-100):'' $arcologies[_i].FSStatuesqueGlorification
<br><<textbox "$arcologies[_i].FSStatuesqueGlorification" $arcologies[_i].FSStatuesqueGlorification>>
<br>
'' $arcologies[_i].name Slimness Enthusiast (unset or 1-100):'' $arcologies[_i].FSSlimnessEnthusiast
<br><<textbox "$arcologies[_i].FSSlimnessEnthusiast" $arcologies[_i].FSSlimnessEnthusiast>>
<br>
'' $arcologies[_i].name Asset Expansionist (unset or 1-100):'' $arcologies[_i].FSAssetExpansionist
<br><<textbox "$arcologies[_i].FSAssetExpansionist" $arcologies[_i].FSAssetExpansionist>>
<br>
'' $arcologies[_i].name Pastoralist (unset or 1-100):'' $arcologies[_i].FSPastoralist
<br><<textbox "$arcologies[_i].FSPastoralist" $arcologies[_i].FSPastoralist>>
<br>
'' $arcologies[_i].name Physical Idealist (unset or 1-100):'' $arcologies[_i].FSPhysicalIdealist
<br><<textbox "$arcologies[_i].FSPhysicalIdealist" $arcologies[_i].FSPhysicalIdealist>>
<br>
'' $arcologies[_i].name Chattel Religionist (unset or 1-100):'' $arcologies[_i].FSChattelReligionist
<br><<textbox "$arcologies[_i].FSChattelReligionist" $arcologies[_i].FSChattelReligionist>>
<br>
'' $arcologies[_i].name Roman Revivalist (unset or 1-100):'' $arcologies[_i].FSRomanRevivalist
<br><<textbox "$arcologies[_i].FSRomanRevivalist" $arcologies[_i].FSRomanRevivalist>>
<br>
'' $arcologies[_i].name Neo-Imperialism (unset or 1-100):'' $arcologies[_i].FSNeoImperialist
<br><<textbox "$arcologies[_i].FSNeoImperialist" $arcologies[_i].FSNeoImperialist>>
<br>
'' $arcologies[_i].name Aztec Revivalist (unset or 1-100):'' $arcologies[_i].FSAztecRevivalist
<br><<textbox "$arcologies[_i].FSAztecRevivalist" $arcologies[_i].FSAztecRevivalist>>
<br>
'' $arcologies[_i].name Egyptian Revivalist (unset or 1-100):'' $arcologies[_i].FSEgyptianRevivalist
<br><<textbox "$arcologies[_i].FSEgyptianRevivalist" $arcologies[_i].FSEgyptianRevivalist>>
<br>
'' $arcologies[_i].name Edo Revivalist (unset or 1-100):'' $arcologies[_i].FSEdoRevivalist
<br><<textbox "$arcologies[_i].FSEdoRevivalist" $arcologies[_i].FSEdoRevivalist>>
<br>
'' $arcologies[_i].name Arabian Revivalist (unset or 1-100):'' $arcologies[_i].FSArabianRevivalist
<br><<textbox "$arcologies[_i].FSArabianRevivalist" $arcologies[_i].FSArabianRevivalist>>
<br>
'' $arcologies[_i].name Chinese Revivalist (unset or 1-100):'' $arcologies[_i].FSChineseRevivalist
<br><<textbox "$arcologies[_i].FSChineseRevivalist" $arcologies[_i].FSChineseRevivalist>>
<br>
'' $arcologies[_i].name FSNull (unset or 1-100):'' $arcologies[_i].FSNull
<br><<textbox "$arcologies[_i].FSNull" $arcologies[_i].FSNull>>
<br>
'' $arcologies[_i].name Repopulation Focus (unset or 1-100):'' $arcologies[_i].FSRepopulationFocus
<br><<textbox "$arcologies[_i].FSRepopulationFocus" $arcologies[_i].FSRepopulationFocus>>
<br>
'' $arcologies[_i].name FSRestart (unset or 1-100):'' $arcologies[_i].FSRestart
<br><<textbox "$arcologies[_i].FSRestart" $arcologies[_i].FSRestart>>
<br>
'' $arcologies[_i].name embargo (1 to 3):'' $arcologies[_i].embargo
<br><<textbox "$arcologies[_i].embargo" $arcologies[_i].embargo>>
<br>
'' $arcologies[_i].name embargoTarget (0 to 7):'' $arcologies[_i].embargoTarget
<br><<textbox "$arcologies[_i].embargoTarget" $arcologies[_i].embargoTarget>>
<br>
'' $arcologies[_i].name influenceTarget:'' $arcologies[_i].influenceTarget
<br><<textbox "$arcologies[_i].influenceTarget" $arcologies[_i].influenceTarget>>
<br>
'' $arcologies[_i].name influenceBonus:'' $arcologies[_i].influenceBonus
<br><<textbox "$arcologies[_i].influenceBonus" $arcologies[_i].influenceBonus>>
<br>
'' $arcologies[_i].name rival (0 or 1):'' $arcologies[_i].rival
<br><<textbox "$arcologies[_i].rival" $arcologies[_i].rival>>
<br>
'' $arcologies[_i].name CyberEconomic (1 to 3):'' $arcologies[_i].CyberEconomic
<br><<textbox "$arcologies[_i].CyberEconomic" $arcologies[_i].CyberEconomic>>
<br>
'' $arcologies[_i].name CyberEconomicTarget (0 to 7):'' $arcologies[_i].CyberEconomicTarget
<br><<textbox "$arcologies[_i].CyberEconomicTarget" $arcologies[_i].CyberEconomicTarget>>
<br>
'' $arcologies[_i].name CyberReputation (1 to 3):'' $arcologies[_i].CyberReputation
<br><<textbox "$arcologies[_i].CyberReputation" $arcologies[_i].CyberReputation>>
<br>
'' $arcologies[_i].name CyberReputationTarget (0 to 7):'' $arcologies[_i].CyberReputationTarget
<br><<textbox "$arcologies[_i].CyberReputationTarget" $arcologies[_i].CyberReputationTarget>>
<br>
<</widget>>
|
MonsterMate/fc
|
src/cheats/mod_EditNeighborArcologyCheatWidget.tw
|
tw
|
mit
| 11,574
|
:: MOD_Edit Slave Cheat [nobr]
<<set $nextButton = "Continue">>
<<set $nextLink = "MOD_Edit Slave Cheat Datatype Cleanup">>
<<set $tempSlave = clone(getSlave($AS))>>
<<setLocalPronouns $tempSlave>>
''Cheating Edit Slave'' [[ [Cancel] |"Slave Interact"][$tempSlave = "unset"]]
<br><br>
''Birth Name:''
<<textbox "$tempSlave.birthName" $tempSlave.birthName>>
<br>''Birth Surname:''
<<textbox "$tempSlave.birthSurname" $tempSlave.birthSurname>>
<br>''Slave Name (birth name was $tempSlave.birthName):''
<<textbox "$tempSlave.slaveName" $tempSlave.slaveName>>
<br>''Slave Surname (birth surname was $tempSlave.birthSurname):''
<<textbox "$tempSlave.slaveSurname" $tempSlave.slaveSurname>>
<br><br>
''Current Slave ID: ($tempSlave.ID)''
<br>
''Enter the IDs for this slave's parents(0: unknown, -1: you, -2: citizen):''
<br>
''mother ID''
<<textbox "$tempSlave.mother" $tempSlave.mother>>
<br>
''father ID''
<<textbox "$tempSlave.father" $tempSlave.father>>
<br><br>
<br>
''Relationship (-3:married to you, -2:relationship, -1:emotional slut, 0:none, 1:like, 2:friend, 3:sex friend, 4:lover, 5:married): $tempSlave.relationship |''
<<textbox "$tempSlave.relationship" $tempSlave.relationship>>
<br>
<<radiobutton "$tempSlave.relationship" -3>> Married to You
<<radiobutton "$tempSlave.relationship" -2>> In Relationship with You
<<radiobutton "$tempSlave.relationship" -1>> Emotional Slut
<<radiobutton "$tempSlave.relationship" 0>> None
<<radiobutton "$tempSlave.relationship" 1>> Like
<<radiobutton "$tempSlave.relationship" 2>> Friend
<<radiobutton "$tempSlave.relationship" 3>> Sex Friend
<<radiobutton "$tempSlave.relationship" 4>> Lover
<<radiobutton "$tempSlave.relationship" 5>> Married
<br>
''Relationship Target ID:'' <<textbox "$tempSlave.relationshipTarget" $tempSlave.relationshipTarget>>
<br><br>
''Career ($tempSlave.career)''
<<textbox "$tempSlave.career" $tempSlave.career>> //Slave variables documentation is your friend. Will tell you exactly what to put here//
<br>
''Origin ($tempSlave.origin)''
<<textbox "$tempSlave.origin" $tempSlave.origin>>
<br>
''Legal status: (-1: slave, 0 or more: indentured for x weeks)''
<<textbox "$tempSlave.indenture" $tempSlave.indenture>>
<br>
''Fuckdoll: (0-100)''
<<textbox "$tempSlave.fuckdoll" $tempSlave.fuckdoll>>
<br>
<<radiobutton "$tempSlave.fuckdoll" 0>> Not a Fuckdoll
<<radiobutton "$tempSlave.fuckdoll" 15>> Barely a Fuckdoll
<<radiobutton "$tempSlave.fuckdoll" 25>> Slight Fuckdoll
<<radiobutton "$tempSlave.fuckdoll" 45>> Basic Fuckdoll
<<radiobutton "$tempSlave.fuckdoll" 65>> Intermediate Fuckdoll
<<radiobutton "$tempSlave.fuckdoll" 85>> Advanced Fuckdoll
<<radiobutton "$tempSlave.fuckdoll" 100>> Total Fuckdoll
<br>
''Nationality: ($tempSlave.nationality)''
<<textbox "$tempSlave.nationality" $tempSlave.nationality>>
//This will not alter name or race//
<br>
''Race: ($tempSlave.race)''
<<textbox "$tempSlave.race" $tempSlave.race>>
<br>
<<radiobutton "$tempSlave.race" "white">> White
<<radiobutton "$tempSlave.race" "asian">> Asian
<<radiobutton "$tempSlave.race" "latina">> Latina
<<radiobutton "$tempSlave.race" "middle eastern">> Middle Eastern
<<radiobutton "$tempSlave.race" "black">> Black
<<radiobutton "$tempSlave.race" "semitic">> Semitic
<<radiobutton "$tempSlave.race" "southern european">> Southern European
<<radiobutton "$tempSlave.race" "indo-aryan">> Indo-Aryan
<<radiobutton "$tempSlave.race" "amerindian">> Amerindian
<<radiobutton "$tempSlave.race" "pacific islander">> Pacific Islander
<<radiobutton "$tempSlave.race" "malay">> Malay
<<radiobutton "$tempSlave.race" "mixed race">> Mixed race
<br>
''Original Race: ($tempSlave.origRace)''
<<textbox "$tempSlave.origRace" $tempSlave.origRace>>
<br>
<<radiobutton "$tempSlave.origRace" "white">> White
<<radiobutton "$tempSlave.origRace" "asian">> Asian
<<radiobutton "$tempSlave.origRace" "latina">> Latina
<<radiobutton "$tempSlave.origRace" "middle eastern">> Middle Eastern
<<radiobutton "$tempSlave.origRace" "black">> Black
<<radiobutton "$tempSlave.origRace" "semitic">> Semitic
<<radiobutton "$tempSlave.origRace" "southern european">> Southern European
<<radiobutton "$tempSlave.origRace" "indo-aryan">> Indo-Aryan
<<radiobutton "$tempSlave.origRace" "amerindian">> Amerindian
<<radiobutton "$tempSlave.origRace" "pacific islander">> Pacific Islander
<<radiobutton "$tempSlave.origRace" "malay">> Malay
<<radiobutton "$tempSlave.origRace" "mixed race">> Mixed race
<br>
''Skin color: ($tempSlave.skin)''
<<textbox "$tempSlave.skin" $tempSlave.skin>>
<br>
<<radiobutton "$tempSlave.skin" "pure white">> Pure White
<<radiobutton "$tempSlave.skin" "ivory">> Ivory
<<radiobutton "$tempSlave.skin" "white">> White
<<radiobutton "$tempSlave.skin" "extremely pale">> Extremely Pale
<<radiobutton "$tempSlave.skin" "very pale">> Very Pale
<<radiobutton "$tempSlave.skin" "pale">> Pale
<<radiobutton "$tempSlave.skin" "extremely fair">> Extremely Fair
<<radiobutton "$tempSlave.skin" "very fair">> Very Fair
<<radiobutton "$tempSlave.skin" "fair">> Fair
<<radiobutton "$tempSlave.skin" "light">> Light
<<radiobutton "$tempSlave.skin" "light olive">> Light Olive
<<radiobutton "$tempSlave.skin" "tan">> Tan
<<radiobutton "$tempSlave.skin" "olive">> Olive
<<radiobutton "$tempSlave.skin" "bronze">> Bronze
<<radiobutton "$tempSlave.skin" "dark olive">> Dark Olive
<<radiobutton "$tempSlave.skin" "dark">> Dark
<<radiobutton "$tempSlave.skin" "light beige">> Light Beige
<<radiobutton "$tempSlave.skin" "beige">> Beige
<<radiobutton "$tempSlave.skin" "dark beige">> Dark Beige
<<radiobutton "$tempSlave.skin" "light brown">> Light Brown
<<radiobutton "$tempSlave.skin" "brown">> Brown
<<radiobutton "$tempSlave.skin" "dark brown">> Dark Brown
<<radiobutton "$tempSlave.skin" "black">> Black
<<radiobutton "$tempSlave.skin" "ebony">> Ebony
<<radiobutton "$tempSlave.skin" "pure black">> Pure Black
<br>
''Original Skin Color: ($tempSlave.origSkin)''
<<textbox "$tempSlave.origSkin" $tempSlave.origSkin>>
<br>
<<radiobutton "$tempSlave.origSkin" "pure white">> Pure White
<<radiobutton "$tempSlave.origSkin" "ivory">> Ivory
<<radiobutton "$tempSlave.origSkin" "white">> White
<<radiobutton "$tempSlave.origSkin" "extremely pale">> Extremely Pale
<<radiobutton "$tempSlave.origSkin" "very pale">> Very Pale
<<radiobutton "$tempSlave.origSkin" "pale">> Pale
<<radiobutton "$tempSlave.origSkin" "extremely fair">> Extremely Fair
<<radiobutton "$tempSlave.origSkin" "very fair">> Very Fair
<<radiobutton "$tempSlave.origSkin" "fair">> Fair
<<radiobutton "$tempSlave.origSkin" "light">> Light
<<radiobutton "$tempSlave.origSkin" "light olive">> Light Olive
<<radiobutton "$tempSlave.origSkin" "tan">> Tan
<<radiobutton "$tempSlave.origSkin" "olive">> Olive
<<radiobutton "$tempSlave.origSkin" "bronze">> Bronze
<<radiobutton "$tempSlave.origSkin" "dark olive">> Dark Olive
<<radiobutton "$tempSlave.origSkin" "dark">> Dark
<<radiobutton "$tempSlave.origSkin" "light beige">> Light Beige
<<radiobutton "$tempSlave.origSkin" "beige">> Beige
<<radiobutton "$tempSlave.origSkin" "dark beige">> Dark Beige
<<radiobutton "$tempSlave.origSkin" "light brown">> Light Brown
<<radiobutton "$tempSlave.origSkin" "brown">> Brown
<<radiobutton "$tempSlave.origSkin" "dark brown">> Dark Brown
<<radiobutton "$tempSlave.origSkin" "black">> Black
<<radiobutton "$tempSlave.origSkin" "ebony">> Ebony
<<radiobutton "$tempSlave.origSkin" "pure black">> Pure Black
<br>
''Accent: ($tempSlave.accent)''
<<textbox "$tempSlave.accent" $tempSlave.accent>>
<br>
<<radiobutton "$tempSlave.accent" 0>> None
<<radiobutton "$tempSlave.accent" 1>> Distinctive
<<radiobutton "$tempSlave.accent" 2>> Thick
<<radiobutton "$tempSlave.accent" 3>> Barely Understands Language
<br><br>
''Age - Actual:''
<<textbox "$tempSlave.actualAge" $tempSlave.actualAge>>
<br>
''Age - Physical:''
<<textbox "$tempSlave.physicalAge" $tempSlave.physicalAge>>
<br>
''Age - Visual:''
<<textbox "$tempSlave.visualAge" $tempSlave.visualAge>>
<br>
''Age - Ovary:''
<<textbox "$tempSlave.ovaryAge" $tempSlave.ovaryAge>>
<br>
''Birth week:''
<<textbox "$tempSlave.birthWeek" $tempSlave.birthWeek>>
''Age Implant (0 or 1):''
<<textbox "$tempSlave.ageImplant" $tempSlave.ageImplant>>
<br>
''Condition (-99 to 100, -100 is death. Condition minus short and long term damage of -100 is also death):''
<<textbox "$tempSlave.health.condition" $tempSlave.health.condition>>
<br>
''Damage - Short Term:''
<<textbox "$tempSlave.health.shortDamage" $tempSlave.health.shortDamage>>
<br>
''Damage - Long Term:''
<<textbox "$tempSlave.health.longDamage" $tempSlave.health.longDamage>>
<br>
''Illness (0 to 5):''
<<textbox "$tempSlave.health.illness" $tempSlave.health.illness>>
<br>
''Tired (0 to 100):''
<<textbox "$tempSlave.health.tired" $tempSlave.health.tired>>
<br>
''Addiction:''
<<textbox "$tempSlave.addict" $tempSlave.addict>>
<br>
''DNA Damage:''
<<textbox "$tempSlave.chem" $tempSlave.chem>>
<br><br>
//Don't set devotion too far away from old devotion otherwise it won't stick//
<br>
''Devotion (-100 to 100):''
<<textbox "$tempSlave.devotion" $tempSlave.devotion>>
<br>
''Old Devotion (-100 to 100):''
<<textbox "$tempSlave.oldDevotion" $tempSlave.oldDevotion>>
<br>
//Don't set trust too far away from old trust otherwise it won't stick//
<br>
''Trust (-100 to 100):''
<<textbox "$tempSlave.trust" $tempSlave.trust>>
<br>
''Old Trust (-100 to 100):''
<<textbox "$tempSlave.oldTrust" $tempSlave.oldTrust>>
<br><br>
<<switch $tempSlave.hStyle>>
<<case "cornrows" "dreadlocks" "tails">>
''$His hair is in $tempSlave.hStyle''
<<case "ponytail">>
''$His hair is in a $tempSlave.hStyle''
<<default>>
''$His hair is $tempSlave.hStyle''
<</switch>>
Custom hair description: <<textbox "$tempSlave.hStyle" $tempSlave.hStyle>>
<br>
//For best results, use a short, uncapitalized and unpunctuated description; for example: 'back in a ponytail'//
<br>
''Hair length: $tempSlave.hLength''
Custom hair length: <<textbox "$tempSlave.hLength" $tempSlave.hLength>>
<br>
''$His hair is $tempSlave.hColor in color''
Custom hair color: <<textbox "$tempSlave.hColor" $tempSlave.hColor>>
<br>
//For best results, use a short, uncapitalized and unpunctuated description; for example: 'black with purple highlights', also see <<= App.Encyclopedia.Dialog.linkSC("Dyes", "Dyes")>>.//
<br>
''$His eyebrows are $tempSlave.eyebrowHColor in color''
Custom eyebrow hair color: <<textbox "$tempSlave.eyebrowHColor" $tempSlave.eyebrowHColor>>
<br>
''$His pubic hair is $tempSlave.pubicHColor in color''
Custom pubic hair color: <<textbox "$tempSlave.pubicHColor" $tempSlave.pubicHColor>>
<br>
''Pubic Hair Style: ($tempSlave.pubicHStyle)''
<<textbox "$tempSlave.pubicHStyle" $tempSlave.pubicHStyle>>
<br>
<<radiobutton "$tempSlave.pubicHStyle" "neat">> Neat
<<radiobutton "$tempSlave.pubicHStyle" "waxed">> Waxed
<<radiobutton "$tempSlave.pubicHStyle" "in a strip">> Strip
<<radiobutton "$tempSlave.pubicHStyle" "bushy">> Bushy
<<radiobutton "$tempSlave.pubicHStyle" "bald">> Bald
<<radiobutton "$tempSlave.pubicHStyle" "hairless">> Hairless
<br><br>
<br>
''$His armpit hair is $tempSlave.underArmHColor in color''
Custom armpit hair color: <<textbox "$tempSlave.underArmHColor" $tempSlave.underArmHColor>>
<br>
''$His eyes are currently $tempSlave.eyeColor in color''
Custom eye color: <<textbox "$tempSlave.eyeColor" $tempSlave.eyeColor>>
<br>
''$His eyes are originally $tempSlave.origEye in color''
Custom eye color: <<textbox "$tempSlave.origEye" $tempSlave.origEye>>
<br>
''$His pupils are $tempSlave.pupil in shape''
Custom pupil shape: <<textbox "$tempSlave.pupil" $tempSlave.pupil>>
<br>
''$His sclerae are $tempSlave.sclerae in color''
Custom sclera color: <<textbox "$tempSlave.sclerae" $tempSlave.sclerae>>
<br>
''$His vision is (-1: nearsighted, 1: normal): $tempSlave.eyes''
<br>Eyes: <<textbox "$tempSlave.eyes" $tempSlave.eyes>>
<<radiobutton "$tempSlave.eyes" 1>> Normal
<<radiobutton "$tempSlave.eyes" -1>> Nearsighted
<<if $seeExtreme == 1>>
<<radiobutton "$tempSlave.eyes" -2>> Blind
<</if>>
<br>
''$His eyes are (0: normal, 1: artificial): $tempSlave.eyesImplant''
<br>Eyes: <<textbox "$tempSlave.eyesImplant" $tempSlave.eyesImplant>>
<<radiobutton "$tempSlave.eyesImplant" 0>> Normal
<<radiobutton "$tempSlave.eyesImplant" 1>> Artificial
<br><br>
''$His hearing is (-1: impaired, 0: normal): $tempSlave.hears''
<br>Ears: <<textbox "$tempSlave.hears" $tempSlave.hears>>
<<radiobutton "$tempSlave.hears" 0>> Normal
<<radiobutton "$tempSlave.hears" -1>> Hard Of Hearing
<<if $seeExtreme == 1>>
<<radiobutton "$tempSlave.hears" -2>> Deaf
<</if>>
<br><br>
<<if $seeExtreme == 1>>
''$His sense of smell is (-1: disabled, 0: normal): $tempSlave.smells''
<br>Ears: <<textbox "$tempSlave.smells" $tempSlave.smells>>
<<radiobutton "$tempSlave.smells" 0>> Normal
<<radiobutton "$tempSlave.smells" -1>> None
<br><br>
''$His sense of taste is (-1: disabled, 0: normal): $tempSlave.tastes''
<br>Ears: <<textbox "$tempSlave.tastes" $tempSlave.tastes>>
<<radiobutton "$tempSlave.tastes" 0>> Normal
<<radiobutton "$tempSlave.tastes" -1>> None
<br><br>
<</if>>
''Change $his custom tattoo:'' <<textbox "$tempSlave.custom.tattoo" $tempSlave.custom.tattoo>>
<br>
//For best results, use complete, capitalized and punctuated sentences; for example: '$He has blue stars tattooed along $his cheekbones, and a blue arrow down each arm.'//
<br>
''Change $his custom description:'' <<textbox "$tempSlave.custom.desc" $tempSlave.custom.desc>>
<br>
//For best results, use complete, capitalized and punctuated sentences; for example: '$He has a beauty mark above $his left nipple.'//
<br>
''Change $his custom label:'' <<textbox "$tempSlave.custom.label" $tempSlave.custom.label>>
<br>
//For best results, use a short phrase; for example: 'Breeder.'//
<br><br>
''Face (-100 to 100): $tempSlave.face |''
<<textbox "$tempSlave.face" $tempSlave.face>>
<br>
<<radiobutton "$tempSlave.face" -100>> Very ugly
<<radiobutton "$tempSlave.face" -55>> Ugly
<<radiobutton "$tempSlave.face" -15>> Unattractive
<<radiobutton "$tempSlave.face" 0>> Pretty
<<radiobutton "$tempSlave.face" 15>> Attractive
<<radiobutton "$tempSlave.face" 55>> Beautiful
<<radiobutton "$tempSlave.face" 100>> Very beautiful
<br>
''Face Shape: $tempSlave.faceShape |''
<<textbox "$tempSlave.faceShape" $tempSlave.faceShape>>
<br>
<<radiobutton "$tempSlave.faceShape" "masculine">> Masculine
<<radiobutton "$tempSlave.faceShape" "androgynous">> Androgynous
<<radiobutton "$tempSlave.faceShape" "normal">> Normal
<<radiobutton "$tempSlave.faceShape" "cute">> Cute
<<radiobutton "$tempSlave.faceShape" "sensual">> Sensual
<<radiobutton "$tempSlave.faceShape" "exotic">> Exotic
<br>
''Facial Artificiality (0 to 100): $tempSlave.faceImplant |''
<<textbox "$tempSlave.faceImplant" $tempSlave.faceImplant>>
<br>
<<radiobutton "$tempSlave.faceImplant" 0>> None
<<radiobutton "$tempSlave.faceImplant" 15>> Subtle Improvements
<<radiobutton "$tempSlave.faceImplant" 35>> Noticeable Work
<<radiobutton "$tempSlave.faceImplant" 65>> Heavily Reworked
<<radiobutton "$tempSlave.faceImplant" 100>> Uncanny Valley
<br>
''Natural Skin Distinctiveness: $tempSlave.markings |''
<<textbox "$tempSlave.markings" $tempSlave.markings>>
<br>
<<radiobutton "$tempSlave.markings" "none">> None
<<radiobutton "$tempSlave.markings" "freckles">> Freckles
<<radiobutton "$tempSlave.markings" "heavily freckled">> Heavy Freckles
<<radiobutton "$tempSlave.markings" "beauty mark">> Beauty Mark
<<radiobutton "$tempSlave.markings" "birthmark">> Birth Mark
<br>
''Oral sex (0 to 100):''
<<if $tempSlave.skill.oral <= 10>>
Unskilled.
<<elseif $tempSlave.skill.oral <= 30>>
@@.cyan;Basic.@@
<<elseif $tempSlave.skill.oral <= 60>>
@@.cyan;Skilled.@@
<<elseif $tempSlave.skill.oral < 100>>
@@.cyan;Expert.@@
<<else>>
@@.cyan;Masterful.@@
<</if>>
<<textbox "$tempSlave.skill.oral" $tempSlave.skill.oral>>
<br>
<<radiobutton "$tempSlave.skill.oral" 0>> Unskilled
<<radiobutton "$tempSlave.skill.oral" 15>> Basic
<<radiobutton "$tempSlave.skill.oral" 35>> Skilled
<<radiobutton "$tempSlave.skill.oral" 65>> Expert
<<radiobutton "$tempSlave.skill.oral" 100>> Masterful
<br>
''Prestige:''
<<textbox "$tempSlave.prestige" $tempSlave.prestige>>
<<radiobutton "$tempSlave.prestige" 0>> 0
<<radiobutton "$tempSlave.prestige" 1>> 1
<<radiobutton "$tempSlave.prestige" 2>> 2
<<radiobutton "$tempSlave.prestige" 3>> 3
<br>
''Prestige description:''
<<textbox "$tempSlave.prestigeDesc" $tempSlave.prestigeDesc>>
<br><br>
''Muscles (-100 to 100): $tempSlave.muscles |''
<<textbox "$tempSlave.muscles" $tempSlave.muscles>>
<br>
<<radiobutton "$tempSlave.muscles" -98>> Frail
<<radiobutton "$tempSlave.muscles" -46>> Very Weak
<<radiobutton "$tempSlave.muscles" -16>> Weak
<<radiobutton "$tempSlave.muscles" 0>> Soft
<<radiobutton "$tempSlave.muscles" 15>> Toned
<<radiobutton "$tempSlave.muscles" 45>> Well Built
<<radiobutton "$tempSlave.muscles" 62>> Quite Muscular
<<radiobutton "$tempSlave.muscles" 97>> Extremely Muscular
<br>
''Height: $tempSlave.height |''
<<textbox "$tempSlave.height" $tempSlave.height>>
<br>
(149 or lower: Petite, 150-159: Short, 160-169: Average, 170-184: Tall, 185 or higher: Very Tall)
<br>
''Height Implant (-1 to 1): $tempSlave.heightImplant |''
<<textbox "$tempSlave.heightImplant" $tempSlave.heightImplant>>
<br>
<<radiobutton "$tempSlave.heightImplant" -1>> Artificially Shortened
<<radiobutton "$tempSlave.heightImplant" 0>> Normal
<<radiobutton "$tempSlave.heightImplant" 1>> Artificially Lengthened
<br><br>
''Lips (0 to 100): $tempSlave.lips |''
<<textbox "$tempSlave.lips" $tempSlave.lips>>
<br>
<<radiobutton "$tempSlave.lips" 0>> Thin
<<radiobutton "$tempSlave.lips" 15>> Normal
<<radiobutton "$tempSlave.lips" 35>> Plush
<<radiobutton "$tempSlave.lips" 65>> Big
<<radiobutton "$tempSlave.lips" 85>> Huge
<<radiobutton "$tempSlave.lips" 100>> Enormous Facepussy
<br>
''Lip Implants (0 to 30): $tempSlave.lipsImplant |''
<<radiobutton "$tempSlave.lipsImplant" 0>> None
<<radiobutton "$tempSlave.lipsImplant" 10>> Normal
<<radiobutton "$tempSlave.lipsImplant" 20>> Large
<<radiobutton "$tempSlave.lipsImplant" 30>> Enormous
<br>
''Teeth: $tempSlave.teeth |''
<<textbox "$tempSlave.teeth" $tempSlave.teeth>>
<br>
<<if $tempSlave.physicalAge >= 12>>
<<radiobutton "$tempSlave.teeth" "normal">> Normal
<<elseif $tempSlave.physicalAge >= 6>>
<<radiobutton "$tempSlave.teeth" "mixed">> Mixed
<<else>>
<<radiobutton "$tempSlave.teeth" "baby">> Baby
<</if>>
<<radiobutton "$tempSlave.teeth" "pointy">> Pointy
<<radiobutton "$tempSlave.teeth" "fangs">> Fangs
<<radiobutton "$tempSlave.teeth" "fang">> Fang
<<radiobutton "$tempSlave.teeth" "crooked">> Crooked
<<radiobutton "$tempSlave.teeth" "gapped">> Gapped
<<radiobutton "$tempSlave.teeth" "straightening braces">> Straightening Braces
<<radiobutton "$tempSlave.teeth" "cosmetic braces">> Cosmetic Braces
<<radiobutton "$tempSlave.teeth" "removable">> Removable
<br>
''Voice (0,1,2,3): $tempSlave.voice |''
<<textbox "$tempSlave.voice" $tempSlave.voice>>
<br>
<<radiobutton "$tempSlave.voice" 0>> Mute
<<radiobutton "$tempSlave.voice" 1>> Deep
<<radiobutton "$tempSlave.voice" 2>> Normal
<<radiobutton "$tempSlave.voice" 3>> High
<br>
''Sense of Taste (0,-1): $tempSlave.tastes |''
<<textbox "$tempSlave.tastes" $tempSlave.tastes>>
<br>
<<radiobutton "$tempSlave.tastes" 0>> Normal
<<radiobutton "$tempSlave.tastes" -1>> None
<br><br>
''Weight (-100 to 100):''
<<if $tempSlave.weight < -95>>
@@.red;Emaciated.@@
<<elseif $tempSlave.weight < -30>>
@@.red;Skinny.@@
<<elseif $tempSlave.weight < -10>>
Thin.
<<elseif $tempSlave.weight <= 10 >>
Average.
<<elseif $tempSlave.weight <= 30>>
Plush.
<<elseif $tempSlave.weight <= 95>>
@@.red;Chubby.@@
<<else>>
@@.red;Fat.@@
<</if>>
<<textbox "$tempSlave.weight" $tempSlave.weight>>
<br>
<<radiobutton "$tempSlave.weight" -100>> Emaciated
<<radiobutton "$tempSlave.weight" -50>> Skinny
<<radiobutton "$tempSlave.weight" -20>> Thin
<<radiobutton "$tempSlave.weight" 0>> Average
<<radiobutton "$tempSlave.weight" 20>> Plush
<<radiobutton "$tempSlave.weight" 50>> Chubby
<<radiobutton "$tempSlave.weight" 100>> Fat
<br>
''Waist (Masculine:100 | Ugly:55 | Unattractive:15 | Average:0 | Feminine:-15 | hourglass:-55 | Absurd:-100): "$tempSlave.waist" |''
<<textbox "$tempSlave.waist" $tempSlave.waist>>
<br>
<<radiobutton "$tempSlave.waist" 100>> Masculine
<<radiobutton "$tempSlave.waist" 55>> Ugly
<<radiobutton "$tempSlave.waist" 15>> Unattractive
<<radiobutton "$tempSlave.waist" 0>> Average
<<radiobutton "$tempSlave.waist" -15>> Feminine
<<radiobutton "$tempSlave.waist" -55>> Hourglass
<<radiobutton "$tempSlave.waist" -100>> Absurd
<br><br>
''Shoulders (-2 to 2): $tempSlave.shoulders |''
<<textbox "$tempSlave.shoulders" $tempSlave.shoulders>>
<br>
<<radiobutton "$tempSlave.shoulders" -2>> Very narrow
<<radiobutton "$tempSlave.shoulders" -1>> Narrow
<<radiobutton "$tempSlave.shoulders" 0>> Normal
<<radiobutton "$tempSlave.shoulders" 1>> Broad
<<radiobutton "$tempSlave.shoulders" 2>> Very broad
<br>
''Shoulder Surgery (-2 to 2): $tempSlave.shouldersImplant |''
<<textbox "$tempSlave.shouldersImplant" $tempSlave.shouldersImplant>>
<br>
<<radiobutton "$tempSlave.shouldersImplant" -2>> Adv. Narrowed
<<radiobutton "$tempSlave.shouldersImplant" -1>> Narrowed
<<radiobutton "$tempSlave.shouldersImplant" 0>> None
<<radiobutton "$tempSlave.shouldersImplant" 1>> Broadened
<<radiobutton "$tempSlave.shouldersImplant" 2>> Adv. Broadened
<br>
''Hips (-2 to 3): $tempSlave.hips |''
<<textbox "$tempSlave.hips" $tempSlave.hips>>
<br>
<<radiobutton "$tempSlave.hips" -2>> Very narrow
<<radiobutton "$tempSlave.hips" -1>> Narrow
<<radiobutton "$tempSlave.hips" -0>> Normal
<<radiobutton "$tempSlave.hips" 1>> Broad
<<radiobutton "$tempSlave.hips" 2>> Very broad
<<radiobutton "$tempSlave.hips" 3>> Unnaturally broad
<br>
''Hip Surgery(-2 to 2): $tempSlave.hipsImplant |''
<<textbox "$tempSlave.hipsImplant" $tempSlave.hipsImplant>>
<br>
<<radiobutton "$tempSlave.hipsImplant" -2>> Adv. Narrowed
<<radiobutton "$tempSlave.hipsImplant" -1>> Narrowed
<<radiobutton "$tempSlave.hipsImplant" 0>> None
<<radiobutton "$tempSlave.hipsImplant" 1>> Broadened
<<radiobutton "$tempSlave.hipsImplant" 2>> Adv. Broadened
<br><br>
// Limbs cannot be modified currently. //
/* TODO convert */
/*
''Amputated (0:normal, 1: amputated, -1 to -5 prosthetic limbs):'' $tempSlave.amp
<<textbox "$tempSlave.amp" $tempSlave.amp>>
<br>
<<radiobutton "$tempSlave.amp" 0>> Normal
<<radiobutton "$tempSlave.amp" 1>> Amputated
<<radiobutton "$tempSlave.amp" -1>> Basic prosthetic limbs
<<radiobutton "$tempSlave.amp" -2>> Sexy prosthetic limbs
<<radiobutton "$tempSlave.amp" -3>> Beauty prosthetic limbs
<<radiobutton "$tempSlave.amp" -4>> Combat prosthetic limbs
<<radiobutton "$tempSlave.amp" -5>> Cybernetic limbs
*/
<br><br>
''Genes (XX:female, XY:male):'' $tempSlave.genes
<<textbox "$tempSlave.genes" $tempSlave.genes>>
<br>
<<radiobutton "$tempSlave.genes" "XX">> Female
<<radiobutton "$tempSlave.genes" "XY">> Male
<br><br>
''Hormone Balance (<-400 to >+400): $tempSlave.hormoneBalance |''
<<textbox "$tempSlave.hormoneBalance" $tempSlave.hormoneBalance>>
<br>
<<radiobutton "$tempSlave.hormoneBalance" -400>> Overwhelmingly masculine
<<radiobutton "$tempSlave.hormoneBalance" -300>> Extremely masculine
<<radiobutton "$tempSlave.hormoneBalance" -200>> Heavily masculine
<<radiobutton "$tempSlave.hormoneBalance" -100>> Very masculine
<<radiobutton "$tempSlave.hormoneBalance" -20>> Masculine
<<radiobutton "$tempSlave.hormoneBalance" 0>> Neutral
<<radiobutton "$tempSlave.hormoneBalance" 20>> Feminine
<<radiobutton "$tempSlave.hormoneBalance" 100>> Very feminine
<<radiobutton "$tempSlave.hormoneBalance" 200>> Heavily feminine
<<radiobutton "$tempSlave.hormoneBalance" 300>> Extremely feminine
<<radiobutton "$tempSlave.hormoneBalance" 400>> Overwhelmingly feminine
<br><br>
''Breasts (200 to 50000):''
<<textbox "$tempSlave.boobs" $tempSlave.boobs>>
<br>
''Breast Implants:''
<<textbox "$tempSlave.boobsImplant" $tempSlave.boobsImplant>>
<br>
''Breast Implant Type:'' // Nonsensical things will be corrected. //
<<radiobutton "$tempSlave.boobsImplantType" "none">> None
<<radiobutton "$tempSlave.boobsImplantType" "normal">> Normal
<<radiobutton "$tempSlave.boobsImplantType" "string">> String
<<radiobutton "$tempSlave.boobsImplantType" "fillable">> Fillable
<<radiobutton "$tempSlave.boobsImplantType" "advanced fillable">> Advanced Fillable
<<radiobutton "$tempSlave.boobsImplantType" "hyper fillable">> Hyper Fillable
<br>
''Lactation (none:0 | natural:1 | artificial:2): $tempSlave.lactation |''
<<textbox "$tempSlave.lactation" $tempSlave.lactation>>
<br>
<<radiobutton "$tempSlave.lactation" 0>> None
<<radiobutton "$tempSlave.lactation" 1>> Natural
<<radiobutton "$tempSlave.lactation" 2>> Artificial
''Lactation Adaptation (0 to 100): $tempSlave.lactationAdaptation |''
<<textbox "$tempSlave.lactationAdaptation" $tempSlave.lactationAdaptation>>
<br><br>
''Breast Shape: $tempSlave.boobShape |''
<<textbox "$tempSlave.boobShape" $tempSlave.boobShape>>
<br>
<<radiobutton "$tempSlave.boobShape" "perky">> Perky
<<radiobutton "$tempSlave.boobShape" "torpedo-shaped">> Torpedo-Shaped
<<radiobutton "$tempSlave.boobShape" "wide-set">> Wide-Set
<<radiobutton "$tempSlave.boobShape" "downward-facing">> Downward-Facing
<<radiobutton "$tempSlave.boobShape" "saggy">> Saggy
<br>
''Nipples: $tempSlave.nipples |''
<<textbox "$tempSlave.nipples" $tempSlave.nipples>>
<br>
<<radiobutton "$tempSlave.nipples" "tiny">> Tiny
<<radiobutton "$tempSlave.nipples" "cute">> Cute
<<radiobutton "$tempSlave.nipples" "puffy">> Puffy
<<radiobutton "$tempSlave.nipples" "inverted">> Inverted
<<radiobutton "$tempSlave.nipples" "huge">> Huge
<<radiobutton "$tempSlave.nipples" "fuckable">> Penetrable
<br>
''Areolae (Normal:0 to Massive:4): $tempSlave.areolae |''
<<textbox "$tempSlave.areolae" $tempSlave.areolae>>
<br>
<<radiobutton "$tempSlave.areolae" 0>> Normal
<<radiobutton "$tempSlave.areolae" 1>> Large
<<radiobutton "$tempSlave.areolae" 2>> Wide
<<radiobutton "$tempSlave.areolae" 3>> Huge
<<radiobutton "$tempSlave.areolae" 4>> Massive
<br><br>
''Butt Size (1 to 7): ''
<<textbox "$tempSlave.butt" $tempSlave.butt>>
<br>
''Butt Implants (0,1,2,3): $tempSlave.buttImplant'' |
<<radiobutton "$tempSlave.buttImplant" 0>> None
<<radiobutton "$tempSlave.buttImplant" 1>> Normal
<<radiobutton "$tempSlave.buttImplant" 2>> Large
<<radiobutton "$tempSlave.buttImplant" 3>> Huge
<br>
''Butt Implant Type: @@.yellow;$tempSlave.buttImplantType@@''
<<radiobutton "$tempSlave.buttImplantType" "None">> None
<<radiobutton "$tempSlave.buttImplantType" "normal">> Normal
<<radiobutton "$tempSlave.buttImplantType" "string">> String
<<radiobutton "$tempSlave.buttImplantType" "fillable">> Fillable
<<radiobutton "$tempSlave.buttImplantType" "advanced fillable">> Advanced Fillable
<<radiobutton "$tempSlave.buttImplantType" "hyper fillable">> Hyper Fillable
<br><br>
''Anus Size:''
<<if $tempSlave.anus == 0>>@@.lime;Virgin@@
<<elseif $tempSlave.anus == 1>>Normal
<<elseif $tempSlave.anus == 2>>Veteran
<<else>>Gaping.
<</if>>
<br>
<<radiobutton "$tempSlave.anus" 0>> Virgin
<<radiobutton "$tempSlave.anus" 1>> Normal
<<radiobutton "$tempSlave.anus" 2>> Veteran
<<radiobutton "$tempSlave.anus" 3>> Gaping
<br>
''Anal sex (0 to 100):''
<<if $tempSlave.skill.anal <= 10>>
Unskilled.
<<elseif $tempSlave.skill.anal <= 30>>
@@.cyan;Basic.@@
<<elseif $tempSlave.skill.anal <= 60>>
@@.cyan;Skilled.@@
<<elseif $tempSlave.skill.anal < 100>>
@@.cyan;Expert.@@
<<else>>
@@.cyan;Masterful.@@
<</if>>
<<textbox "$tempSlave.skill.anal" $tempSlave.skill.anal>>
<br>
<<radiobutton "$tempSlave.skill.anal" 0>> Unskilled
<<radiobutton "$tempSlave.skill.anal" 15>> Basic
<<radiobutton "$tempSlave.skill.anal" 35>> Skilled
<<radiobutton "$tempSlave.skill.anal" 65>> Expert
<<radiobutton "$tempSlave.skill.anal" 100>> Masterful
<br><br>
''Vagina (no vagina:-1,0,1,2,3):''
<<if $tempSlave.vagina == -1>>
//No vagina.//
<<elseif $tempSlave.vagina == 0>>
@@.lime;Virgin.@@
<<elseif $tempSlave.vagina == 1>>
Normal.
<<elseif $tempSlave.vagina == 2>>
Veteran.
<<else>>
Gaping.
<</if>>
<<textbox "$tempSlave.vagina" $tempSlave.vagina>>
<br>
<<radiobutton "$tempSlave.vagina" -1>> No vagina
<<radiobutton "$tempSlave.vagina" 0>> Virgin
<<radiobutton "$tempSlave.vagina" 1>> Normal
<<radiobutton "$tempSlave.vagina" 2>> Veteran
<<radiobutton "$tempSlave.vagina" 3>> Gaping
<br>
''Vagina Wetness (0,1,2):''
<<if $tempSlave.vaginaLube == 0>>
Dry.
<<elseif $tempSlave.vaginaLube == 1>>
Normal.
<<else>>
Excessive.
<</if>>
<<textbox "$tempSlave.vaginaLube" $tempSlave.vaginaLube>>
<br>
<<radiobutton "$tempSlave.vaginaLube" 0>> Dry
<<radiobutton "$tempSlave.vaginaLube" 1>> Normal
<<radiobutton "$tempSlave.vaginaLube" 2>> Excessive
<br>
''Ovaries (none: 0 | exist: 1): $tempSlave.ovaries''
<<textbox "$tempSlave.ovaries" $tempSlave.ovaries>>
<<if $tempSlave.ovaries == 1>>
<<checkbox "$tempSlave.ovaries" 0 1 checked>>
<<else>>
<<checkbox "$tempSlave.ovaries" 0 1>>
<</if>>
<br>
''Vaginal sex (0 to 100):''
<<if $tempSlave.skill.vaginal <= 10>>
Unskilled.
<<elseif $tempSlave.skill.vaginal <= 30>>
@@.cyan;Basic.@@
<<elseif $tempSlave.skill.vaginal <= 60>>
@@.cyan;Skilled.@@
<<elseif $tempSlave.skill.vaginal < 100>>
@@.cyan;Expert.@@
<<else>>
@@.cyan;Masterful.@@
<</if>>
<<textbox "$tempSlave.skill.vaginal" $tempSlave.skill.vaginal>>
<br>
<<radiobutton "$tempSlave.skill.vaginal" 0>> Unskilled
<<radiobutton "$tempSlave.skill.vaginal" 15>> Basic
<<radiobutton "$tempSlave.skill.vaginal" 35>> Skilled
<<radiobutton "$tempSlave.skill.vaginal" 65>> Expert
<<radiobutton "$tempSlave.skill.vaginal" 100>> Masterful
<br>
''Clit:''
<<if $tempSlave.clit == 0>>
Normal. |
<<elseif $tempSlave.clit == 1>>
Big. |
<<elseif $tempSlave.clit == 2>>
Huge. |
<<elseif $tempSlave.clit == 3>>
Enormous. |
<<else>>
Dick-like. |
<</if>>
<<textbox "$tempSlave.clit" $tempSlave.clit>>
<br>
<<radiobutton "$tempSlave.clit" 0>> Normal
<<radiobutton "$tempSlave.clit" 1>> Large
<<radiobutton "$tempSlave.clit" 2>> Huge
<<radiobutton "$tempSlave.clit" 3>> Enormous
<<radiobutton "$tempSlave.clit" 4>> Gigantic
<<radiobutton "$tempSlave.clit" 5>> That's no dick!
<br>
''Labia:''
<<if $tempSlave.labia == 0>>
Minimal. |
<<elseif $tempSlave.labia == 1>>
Normal. |
<<elseif $tempSlave.labia == 2>>
Large. |
<<else>>
Huge. |
<</if>>
<<textbox "$tempSlave.labia" $tempSlave.labia>>
<br>
<<radiobutton "$tempSlave.labia" 0>> Minimal
<<radiobutton "$tempSlave.labia" 1>> Normal
<<radiobutton "$tempSlave.labia" 2>> Large
<<radiobutton "$tempSlave.labia" 3>> Huge
<br>
''Pregnancy Level (-2: sterile, -1: contraceptives, 0: not pregnant, 1 to 25: pregnant):''
<<if $tempSlave.preg > 20>>
Advanced.
<<elseif $tempSlave.preg > 5>>
Early.
<<elseif $tempSlave.preg == 0>>
None.
<<elseif $tempSlave.preg == -1>>
Using contraceptives.
<<else>>
Sterile.
<</if>>
<<textbox "$tempSlave.preg" $tempSlave.preg>>
<br>
''Pregnancy adaptation rating (5: prepubescent loli, 20: adult male, 50: adult female, 51+: practiced):''
<<if $tempSlave.pregAdaptation < 10>>
Critically poor.
<<elseif $tempSlave.pregAdaptation < 30>>
Very poor.
<<elseif $tempSlave.pregAdaptation < 50>>
Poor.
<<elseif $tempSlave.pregAdaptation < 60>>
Normal.
<<elseif $tempSlave.pregAdaptation < 100>>
Well-adapted.
<<elseif $tempSlave.pregAdaptation < 300>>
Astonishingly well-adapted.
<<else>>
Unshakeable broodmother.
<</if>>
<<textbox "$tempSlave.pregAdaptation" $tempSlave.pregAdaptation>>
<br>
''Number of babies (0: none, 1 - 5):''
<<if $tempSlave.pregType == 1>>
A single baby.
<<elseif $tempSlave.pregType == 2>>
Twins.
<<elseif $tempSlave.pregType == 3>>
Triplets.
<<elseif $tempSlave.pregType == 4>>
Quadruplets.
<<elseif $tempSlave.pregType > 4>>
Quintuplets.
<<else>>
None.
<</if>>
<<textbox "$tempSlave.pregType" $tempSlave.pregType>>
<br>
<<radiobutton "$tempSlave.pregType" 0>> None
<<radiobutton "$tempSlave.pregType" 1>> Single
<<radiobutton "$tempSlave.pregType" 2>> Twins
<<radiobutton "$tempSlave.pregType" 3>> Triplets
<<radiobutton "$tempSlave.pregType" 4>> Quadruplets
<<radiobutton "$tempSlave.pregType" 5>> Quintuplets
<br>
''Father (0: none, -1: you, -2: unknown, slave ID):''
<<textbox "$tempSlave.pregSource" $tempSlave.pregSource>>
<br><br>
''Penis (none:0, 1 to 10):''
<<if $tempSlave.dick == 0>>
None.
<<elseif $tempSlave.dick == 1>>
Tiny.
<<elseif $tempSlave.dick == 2>>
Small.
<<elseif $tempSlave.dick == 3>>
Normal.
<<elseif $tempSlave.dick == 4>>
Large.
<<elseif $tempSlave.dick == 5>>
Massive.
<<elseif $tempSlave.dick == 6>>
Huger.
<<elseif $tempSlave.dick == 7>>
Still huge.
<<elseif $tempSlave.dick == 8>>
Enormous.
<<else>>
Monstrous.
<</if>>
<<textbox "$tempSlave.dick" $tempSlave.dick>>
<br>
<<radiobutton "$tempSlave.dick" 0>> None
<<radiobutton "$tempSlave.dick" 1>> Tiny
<<radiobutton "$tempSlave.dick" 2>> Small
<<radiobutton "$tempSlave.dick" 3>> Normal
<<radiobutton "$tempSlave.dick" 4>> Large
<<radiobutton "$tempSlave.dick" 5>> Massive
<<radiobutton "$tempSlave.dick" 6>> Huge
<<radiobutton "$tempSlave.dick" 7>> More Huge
<<radiobutton "$tempSlave.dick" 8>> Enormous
<<radiobutton "$tempSlave.dick" 9>> Monstrous
<<radiobutton "$tempSlave.dick" 10>> Big McLargeHuge
<br>
''Foreskin (0 to 5):''
<<if $tempSlave.foreskin == 0>> None
<<elseif $tempSlave.foreskin == 1>> Tiny
<<elseif $tempSlave.foreskin == 2>> Small
<<elseif $tempSlave.foreskin == 3>> Normal
<<elseif $tempSlave.foreskin == 4>> Large
<<else>>Massive.<</if>>
<<textbox "$tempSlave.foreskin" $tempSlave.foreskin>>
<br>
<<radiobutton "$tempSlave.foreskin" 0>> None
<<radiobutton "$tempSlave.foreskin" 1>> Vestigial
<<radiobutton "$tempSlave.foreskin" 2>> Small
<<radiobutton "$tempSlave.foreskin" 3>> Normal
<<radiobutton "$tempSlave.foreskin" 4>> Large
<<radiobutton "$tempSlave.foreskin" 5>> Massive
<br>
''Testicles (0 to 6):''
<<if $tempSlave.balls == 0>>
None.
<<elseif $tempSlave.balls == 1>>
Vestigial.
<<elseif $tempSlave.balls == 2>>
Small.
<<elseif $tempSlave.balls == 3>>
Normal.
<<elseif $tempSlave.balls == 4>>
Large.
<<elseif $tempSlave.balls == 5>>
Huge.
<<else>>
Titanic.
<</if>>
<<textbox "$tempSlave.balls" $tempSlave.balls>>
<br>
<<radiobutton "$tempSlave.balls" 0>> None / Invisible
<<radiobutton "$tempSlave.balls" 1>> Vestigial
<<radiobutton "$tempSlave.balls" 2>> Small
<<radiobutton "$tempSlave.balls" 3>> Normal
<<radiobutton "$tempSlave.balls" 4>> Large
<<radiobutton "$tempSlave.balls" 5>> Massive
<<radiobutton "$tempSlave.balls" 6>> Huge
<<radiobutton "$tempSlave.balls" 7>> More Huge
<<radiobutton "$tempSlave.balls" 8>> Enormous
<<radiobutton "$tempSlave.balls" 9>> Monstrous
<<radiobutton "$tempSlave.balls" 10>> Big McLargeHuge
<br>
''Ballsack (0 to 8):''
<<if $tempSlave.scrotum == 0>>
None.
<<elseif $tempSlave.scrotum == 1>>
Vestigial.
<<elseif $tempSlave.scrotum == 2>>
Small.
<<elseif $tempSlave.scrotum == 3>>
Normal.
<<elseif $tempSlave.scrotum == 4>>
Large.
<<elseif $tempSlave.scrotum == 5>>
Huge.
<<elseif $tempSlave.scrotum == 6>>
Massive.
<<elseif $tempSlave.scrotum == 7>>
Enormous.
<<else>>
Monstrous.
<</if>>
<<textbox "$tempSlave.scrotum" $tempSlave.scrotum>>
<br>
<<radiobutton "$tempSlave.scrotum" 0>> None
<<radiobutton "$tempSlave.scrotum" 1>> Vestigial
<<radiobutton "$tempSlave.scrotum" 2>> Small
<<radiobutton "$tempSlave.scrotum" 3>> Normal
<<radiobutton "$tempSlave.scrotum" 4>> Large
<<radiobutton "$tempSlave.scrotum" 5>> Huge
<<radiobutton "$tempSlave.scrotum" 6>> Massive
<<radiobutton "$tempSlave.scrotum" 7>> Enormous
<<radiobutton "$tempSlave.scrotum" 8>> Monstrous
<br>
''Prostate (0: no prostate, 1:prostate, 2:hyperactive, 3:hyperactive-modified):'' $tempSlave.prostate
<<textbox "$tempSlave.prostate" $tempSlave.prostate>>
<br>
<<radiobutton "$tempSlave.prostate" 0>> No prostate
<<radiobutton "$tempSlave.prostate" 1>> Prostate
<<radiobutton "$tempSlave.prostate" 2>> Hyperactive prostate
<<radiobutton "$tempSlave.prostate" 3>> Hyperactive modified prostate
<br><br>
''Prostitution (0 to 100):''
<<if $tempSlave.skill.whoring <= 10>>
Unskilled.
<<elseif $tempSlave.skill.whoring <= 30>>
@@.cyan;Basic.@@
<<elseif $tempSlave.skill.whoring <= 60>>
@@.cyan;Skilled.@@
<<elseif $tempSlave.skill.whoring < 100>>
@@.cyan;Expert.@@
<<else>>
@@.cyan;Masterful.@@
<</if>>
<<textbox "$tempSlave.skill.whoring" $tempSlave.skill.whoring>>
<br>
<<radiobutton "$tempSlave.skill.whoring" 0>> Unskilled
<<radiobutton "$tempSlave.skill.whoring" 15>> Basic
<<radiobutton "$tempSlave.skill.whoring" 35>> Skilled
<<radiobutton "$tempSlave.skill.whoring" 65>> Expert
<<radiobutton "$tempSlave.skill.whoring" 100>> Masterful
<br>
''Entertainment (0 to 100):''
<<if $tempSlave.skill.entertainment <= 10>>
Unskilled.
<<elseif $tempSlave.skill.entertainment <= 30>>
@@.cyan;Basic.@@
<<elseif $tempSlave.skill.entertainment <= 60>>
@@.cyan;Skilled.@@
<<elseif $tempSlave.skill.entertainment < 100>>
@@.cyan;Expert.@@
<<else>>
@@.cyan;Masterful.@@
<</if>>
<<textbox "$tempSlave.skill.entertainment" $tempSlave.skill.entertainment>>
<br>
<<radiobutton "$tempSlave.skill.entertainment" 0>> Unskilled
<<radiobutton "$tempSlave.skill.entertainment" 15>> Basic
<<radiobutton "$tempSlave.skill.entertainment" 35>> Skilled
<<radiobutton "$tempSlave.skill.entertainment" 65>> Expert
<<radiobutton "$tempSlave.skill.entertainment" 100>> Masterful
<br>
''Combat (0,1):''
<<if $tempSlave.skill.combat == 0>>
Unskilled.
<<else>>
@@.cyan;Skilled.@@
<</if>>
<<textbox "$tempSlave.skill.combat" $tempSlave.skill.combat>>
<br>
<<radiobutton "$tempSlave.skill.combat" 0>> Unskilled
<<radiobutton "$tempSlave.skill.combat" 1>> Skilled
<br><br>
''Intelligence (-100 to 100):''
<<if $tempSlave.intelligence > 95>>
@@.deepskyblue;Brilliant.@@
<<elseif $tempSlave.intelligence > 50>>
@@.deepskyblue;Very Smart.@@
<<elseif $tempSlave.intelligence > 15>>
@@.deepskyblue;Smart.@@
<<elseif $tempSlave.intelligence >= -15>>
@@.yellow;Average@@.
<<elseif $tempSlave.intelligence >= -50>>
@@.orangered;Stupid.@@
<<elseif $tempSlave.intelligence >= -95>>
@@.orangered;Very Stupid.@@
<<else>>
@@.orangered;Moronic.@@
<</if>>
<<textbox "$tempSlave.intelligence" $tempSlave.intelligence>>
<br>
<<radiobutton "$tempSlave.intelligence" -100>> Moronic
<<radiobutton "$tempSlave.intelligence" -60>> Very Stupid
<<radiobutton "$tempSlave.intelligence" -30>> Stupid
<<radiobutton "$tempSlave.intelligence" 0>> Average
<<radiobutton "$tempSlave.intelligence" 30>> Smart
<<radiobutton "$tempSlave.intelligence" 60>> Very Smart
<<radiobutton "$tempSlave.intelligence" 100>> Brilliant
<br>
''Education (0 to 30):''
<<if $tempSlave.intelligenceImplant >= 30>>
@@.deepskyblue;Well educated.@@
<<elseif $tempSlave.intelligenceImplant >= 15>>
@@.deepskyblue;Educated.@@
<<else>>
@@.yellow;Uneducated@@.
<</if>>
<<textbox "$tempSlave.intelligenceImplant" $tempSlave.intelligenceImplant>>
<br>
<<radiobutton "$tempSlave.intelligenceImplant" 0>> Uneducated
<<radiobutton "$tempSlave.intelligenceImplant" 15>> Educated
<<radiobutton "$tempSlave.intelligenceImplant" 30>> Well Educated
<br><br>
''Fetish Known (Unknown:0 | Known:1): $tempSlave.fetishKnown |''
<<textbox "$tempSlave.fetishKnown" $tempSlave.fetishKnown>>
<br>
<<radiobutton "$tempSlave.fetishKnown" 0>> Unknown
<<radiobutton "$tempSlave.fetishKnown" 1>> Known
<br>
<<if $tempSlave.fetish == "none">>
''Fetish:'' @@.pink;$tempSlave.fetish.@@
<<else>>
''Fetish:'' @@.lightcoral;$tempSlave.fetish.@@
<</if>>
<<textbox "$tempSlave.fetish" $tempSlave.fetish>>
<br>
<<radiobutton "$tempSlave.fetish" "none">> None
<<radiobutton "$tempSlave.fetish" "submissive">> Submissive
<<radiobutton "$tempSlave.fetish" "dom">> Dom
<<radiobutton "$tempSlave.fetish" "cumslut">> Cumslut
<<radiobutton "$tempSlave.fetish" "humiliation">> Humiliation
<<radiobutton "$tempSlave.fetish" "buttslut">> Buttslut
<<radiobutton "$tempSlave.fetish" "boobs">> Boobs
<<radiobutton "$tempSlave.fetish" "pregnancy">> Pregnancy
<<radiobutton "$tempSlave.fetish" "sadist">> Sadist
<<radiobutton "$tempSlave.fetish" "masochist">> Masochist
<br>
''Fetish strength (0 to 100):''
<<if $tempSlave.fetishStrength > 95>>
@@.lightcoral;High.@@
<<elseif $tempSlave.fetishStrength <= 60>>
@@.pink;Low.@@
<<else>>
@@.hotpink;Normal.@@
<</if>>
<<textbox "$tempSlave.fetishStrength" $tempSlave.fetishStrength>>
<br>
<<radiobutton "$tempSlave.fetishStrength" 0>> Low
<<radiobutton "$tempSlave.fetishStrength" 70>> Normal
<<radiobutton "$tempSlave.fetishStrength" 100>> High
<br><br>
''Sexuality (unknown:0 | known:1):'' $tempSlave.attrKnown
<<textbox "$tempSlave.attrKnown" $tempSlave.attrKnown>>
<br>
<<radiobutton "$tempSlave.attrKnown" 0>> Unknown
<<radiobutton "$tempSlave.attrKnown" 1>> Known
<br>
''Male Attraction (0 - 100):''
<<if $tempSlave.attrXY <= 5>>
@@.red;Disgusted by guys,@@
<<elseif $tempSlave.attrXY <= 15>>
@@.red;Turned off by guys,@@
<<elseif $tempSlave.attrXY <= 35>>
@@.red;Not attracted to guys,@@
<<elseif $tempSlave.attrXY <= 65>>
Indifferent to guys,
<<elseif $tempSlave.attrXY <= 85>>
@@.green;Attracted to guys,@@
<<elseif $tempSlave.attrXY <= 95>>
@@.green;Aroused by guys,@@
<<else>>
@@.green;Passionate about guys,@@
<</if>>
<<textbox "$tempSlave.attrXY" $tempSlave.attrXY>>
<br>
<<radiobutton "$tempSlave.attrXY" 0>> Disgusted by guys
<<radiobutton "$tempSlave.attrXY" 10>> Turned off by guys
<<radiobutton "$tempSlave.attrXY" 20>> Not attracted to guys
<<radiobutton "$tempSlave.attrXY" 50>> Indifferent to guys
<<radiobutton "$tempSlave.attrXY" 80>> Attracted to guys
<<radiobutton "$tempSlave.attrXY" 90>> Aroused by guys
<<radiobutton "$tempSlave.attrXY" 100>> Passionate about guys
<br>
''Female Attraction (0 - 100):''
<<if $tempSlave.attrXX <= 5>>
@@.red;disgusted by girls.@@
<<elseif $tempSlave.attrXX <= 15>>
@@.red;turned off by girls.@@
<<elseif $tempSlave.attrXX <= 35>>
@@.red;not attracted to girls.@@
<<elseif $tempSlave.attrXX <= 65>>
indifferent to girls.
<<elseif $tempSlave.attrXX <= 85>>
@@.green;attracted to girls.@@
<<elseif $tempSlave.attrXX <= 95>>
@@.green;aroused by girls.@@
<<else>>
@@.green;passionate about girls.@@
<</if>>
<<textbox "$tempSlave.attrXX" $tempSlave.attrXX>>
<br>
<<radiobutton "$tempSlave.attrXX" 0>> Disgusted by girls
<<radiobutton "$tempSlave.attrXX" 10>> Turned off by girls
<<radiobutton "$tempSlave.attrXX" 20>> Not attracted to girls
<<radiobutton "$tempSlave.attrXX" 50>> Indifferent to girls
<<radiobutton "$tempSlave.attrXX" 80>> Attracted to girls
<<radiobutton "$tempSlave.attrXX" 90>> Aroused by girls
<<radiobutton "$tempSlave.attrXX" 100>> Passionate about girls
<br>
''Sex drive (0 - 100):''
<<if $tempSlave.energy == 100>>
@@.green;Nympho!@@
<<elseif $tempSlave.energy > 80>>
@@.green;Sex addict.@@
<<elseif $tempSlave.energy > 60>>
@@.green;Powerful.@@
<<elseif $tempSlave.energy > 40>>
@@.yellow;Average.@@
<<elseif $tempSlave.energy > 20>>
@@.red;Poor.@@
<<else>>
@@.red;Frigid.@@
<</if>>
<<textbox "$tempSlave.energy" $tempSlave.energy>>
<br><br>
''Behavioral Flaw:''
<<if $tempSlave.behavioralFlaw == "none">>
//$tempSlave.behavioralFlaw.//
<<else>>
@@.red;$tempSlave.behavioralFlaw.@@
<</if>>
<<textbox "$tempSlave.behavioralFlaw" $tempSlave.behavioralFlaw>>
<br>
<<radiobutton "$tempSlave.behavioralFlaw" "none">> None
<<radiobutton "$tempSlave.behavioralFlaw" "arrogant">> Arrogant
<<radiobutton "$tempSlave.behavioralFlaw" "bitchy">> Bitchy
<<radiobutton "$tempSlave.behavioralFlaw" "odd">> Odd
<<radiobutton "$tempSlave.behavioralFlaw" "hates men">> Men
<<radiobutton "$tempSlave.behavioralFlaw" "hates women">> Women
<<radiobutton "$tempSlave.behavioralFlaw" "anorexic">> Anorexic
<<radiobutton "$tempSlave.behavioralFlaw" "gluttonous">> Gluttonous
<<radiobutton "$tempSlave.behavioralFlaw" "devout">> Devout
<<radiobutton "$tempSlave.behavioralFlaw" "liberated">> Liberated
<br><br>
''Behavioral Quirk:''
<<if $tempSlave.behavioralQuirk == "none">>
//$tempSlave.behavioralQuirk.//
<<else>>
@@.green;$tempSlave.behavioralQuirk.@@
<</if>>
<<textbox "$tempSlave.behavioralQuirk" $tempSlave.behavioralQuirk>>
<br>
<<radiobutton "$tempSlave.behavioralQuirk" "none">> None
<<radiobutton "$tempSlave.behavioralQuirk" "confident">> Confident
<<radiobutton "$tempSlave.behavioralQuirk" "cutting">> Cutting
<<radiobutton "$tempSlave.behavioralQuirk" "funny">> Funny
<<radiobutton "$tempSlave.behavioralQuirk" "adores women">> Adores Women
<<radiobutton "$tempSlave.behavioralQuirk" "adores men">> Adores Men
<<radiobutton "$tempSlave.behavioralQuirk" "insecure">> Insecure
<<radiobutton "$tempSlave.behavioralQuirk" "fitness">> Fitness
<<radiobutton "$tempSlave.behavioralQuirk" "sinful">> Sinful
<<radiobutton "$tempSlave.behavioralQuirk" "advocate">> Advocate
<<if $tempSlave.behavioralQuirk != "none">>
<<set $tempSlave.behavioralFlaw = "none">>
<</if>>
<br><br>
''Sexual Flaw / Paraphilias:''
<<if $tempSlave.sexualFlaw == "none">>
//$tempSlave.sexualFlaw.//
<<else>>
@@.red;$tempSlave.sexualFlaw.@@
<</if>>
<<textbox "$tempSlave.sexualFlaw" $tempSlave.sexualFlaw>>
<br>
Flaws:
<<radiobutton "$tempSlave.sexualFlaw" "none">> None
<<radiobutton "$tempSlave.sexualFlaw" "hates oral">> Hates Oral
<<radiobutton "$tempSlave.sexualFlaw" "hates anal">> Hates Anal
<<radiobutton "$tempSlave.sexualFlaw" "hates penetration">> Hates Penetration
<<radiobutton "$tempSlave.sexualFlaw" "repressed">> Repressed
<<radiobutton "$tempSlave.sexualFlaw" "shamefast">> Shamefast
<<radiobutton "$tempSlave.sexualFlaw" "apathetic">> Apathetic
<<radiobutton "$tempSlave.sexualFlaw" "idealistic">> Sexually Idealistic
<<radiobutton "$tempSlave.sexualFlaw" "crude">> Crude
<<radiobutton "$tempSlave.sexualFlaw" "judgemental">> Judgemental
<br>
Paraphilias:
<<radiobutton "$tempSlave.sexualFlaw" "cum addict">> Cum Addict
<<radiobutton "$tempSlave.sexualFlaw" "anal addict">> Anal Addict
<<radiobutton "$tempSlave.sexualFlaw" "attention whore">> Attention Whore
<<radiobutton "$tempSlave.sexualFlaw" "breast growth">> Breast Obsession
<<radiobutton "$tempSlave.sexualFlaw" "abusive">> Abusive
<<radiobutton "$tempSlave.sexualFlaw" "malicious">> Malicious
<<radiobutton "$tempSlave.sexualFlaw" "self hating">> Self Hatred
<<radiobutton "$tempSlave.sexualFlaw" "neglectful">> Self Neglect
<<radiobutton "$tempSlave.sexualFlaw" "breeder">> Breeding Obsession
<br><br>
''Sexual Quirk:''
<<if $tempSlave.sexualQuirk == "none">>
//$tempSlave.sexualQuirk.//
<<else>>
@@.green;$tempSlave.sexualQuirk.@@
<</if>>
<<textbox "$tempSlave.sexualQuirk" $tempSlave.sexualQuirk>>
<br>
<<radiobutton "$tempSlave.sexualQuirk" "none">> None
<<radiobutton "$tempSlave.sexualQuirk" "gagfuck queen">> Gagfuck Queen
<<radiobutton "$tempSlave.sexualQuirk" "painal queen">> Painal Queen
<<radiobutton "$tempSlave.sexualQuirk" "strugglefuck queen">> Strugglefuck Queen
<<radiobutton "$tempSlave.sexualQuirk" "perverted">> Perverted
<<radiobutton "$tempSlave.sexualQuirk" "tease">> Tease
<<radiobutton "$tempSlave.sexualQuirk" "caring">> Caring
<<radiobutton "$tempSlave.sexualQuirk" "romantic">> Romantic
<<radiobutton "$tempSlave.sexualQuirk" "unflinching">> Unflinching
<<radiobutton "$tempSlave.sexualQuirk" "size queen">> Size Queen
<<if $tempSlave.sexualQuirk != "none">>
<<if !["abusive", "anal addict", "attention whore", "breast growth", "breeder", "cum addict", "malicious", "neglectful", "self hating"].includes($tempSlave.sexualFlaw)>>
<<set $tempSlave.sexualFlaw = "none">>
<</if>>
<</if>>
<br><br>
''Lips Tattoo ($tempSlave.lipsTat)''
<<textbox "$tempSlave.lipsTat" $tempSlave.lipsTat>>
<br>
''Shoulders Tattoo ($tempSlave.shouldersTat)''
<<textbox "$tempSlave.shouldersTat" $tempSlave.shouldersTat>>
<br>
''Arms Tattoo ($tempSlave.armsTat)''
<<textbox "$tempSlave.armsTat" $tempSlave.armsTat>>
<br>
''Legs Tattoo ($tempSlave.legsTat)''
<<textbox "$tempSlave.legsTat" $tempSlave.legsTat>>
<br>
''Boobs Tattoo ($tempSlave.boobsTat)''
<<textbox "$tempSlave.boobsTat" $tempSlave.boobsTat>>
<br>
''Back Tattoo ($tempSlave.backTat)''
<<textbox "$tempSlave.backTat" $tempSlave.backTat>>
<br>
''Butt Tattoo ($tempSlave.buttTat)''
<<textbox "$tempSlave.buttTat" $tempSlave.buttTat>>
<br>
''Vagina Tattoo ($tempSlave.vaginaTat)''
<<textbox "$tempSlave.vaginaTat" $tempSlave.vaginaTat>>
<br>
''Anus Tattoo ($tempSlave.anusTat)''
<<textbox "$tempSlave.anusTat" $tempSlave.anusTat>>
<br>
''Tramp Stamp Tattoo ($tempSlave.stampTat)''
<<textbox "$tempSlave.stampTat" $tempSlave.stampTat>>
<br><br>
''Lips piercings (0-2): $tempSlave.lipsPiercing''
|
<<radiobutton "$tempSlave.lipsPiercing" 0>> None
<<radiobutton "$tempSlave.lipsPiercing" 1>> Standard
<<radiobutton "$tempSlave.lipsPiercing" 2>> Heavy
<br>
''Tongue piercings (0-2): $tempSlave.tonguePiercing''
|
<<radiobutton "$tempSlave.tonguePiercing" 0>> None
<<radiobutton "$tempSlave.tonguePiercing" 1>> Standard
<<radiobutton "$tempSlave.tonguePiercing" 2>> Heavy
<br>
''Ear piercings (0-2): $tempSlave.earPiercing''
|
<<radiobutton "$tempSlave.earPiercing" 0>> None
<<radiobutton "$tempSlave.earPiercing" 1>> Standard
<<radiobutton "$tempSlave.earPiercing" 2>> Heavy
<br>
''Nose piercings (0-2): $tempSlave.nosePiercing''
|
<<radiobutton "$tempSlave.nosePiercing" 0>> None
<<radiobutton "$tempSlave.nosePiercing" 1>> Standard
<<radiobutton "$tempSlave.nosePiercing" 2>> Heavy
<br>
''Eyebrow piercings (0-2): $tempSlave.eyebrowPiercing''
|
<<radiobutton "$tempSlave.eyebrowPiercing" 0>> None
<<radiobutton "$tempSlave.eyebrowPiercing" 1>> Standard
<<radiobutton "$tempSlave.eyebrowPiercing" 2>> Heavy
<br>
''Navel piercings (0-2): $tempSlave.navelPiercing''
|
<<radiobutton "$tempSlave.navelPiercing" 0>> None
<<radiobutton "$tempSlave.navelPiercing" 1>> Standard
<<radiobutton "$tempSlave.navelPiercing" 2>> Heavy
<br>
''Corset piercings (0-1): $tempSlave.corsetPiercing''
|
<<radiobutton "$tempSlave.corsetPiercing" 0>> None
<<radiobutton "$tempSlave.corsetPiercing" 1>> Pierced
<br>
''Nipples piercings (0-2): $tempSlave.nipplesPiercing''
|
<<radiobutton "$tempSlave.nipplesPiercing" 0>> None
<<radiobutton "$tempSlave.nipplesPiercing" 1>> Standard
<<radiobutton "$tempSlave.nipplesPiercing" 2>> Heavy
<br>
''Areolae piercings (0-2): $tempSlave.areolaePiercing''
|
<<radiobutton "$tempSlave.areolaePiercing" 0>> None
<<radiobutton "$tempSlave.areolaePiercing" 1>> Standard
<<radiobutton "$tempSlave.areolaePiercing" 2>> Heavy
<br>
''Clit/frenulum piercing (0-3): $tempSlave.clitPiercing''
|
<<radiobutton "$tempSlave.clitPiercing" 0>> None
<<radiobutton "$tempSlave.clitPiercing" 1>> Standard
<<radiobutton "$tempSlave.clitPiercing" 2>> Big
<<radiobutton "$tempSlave.clitPiercing" 3>> Smart Piercing
<br>
''Pussylips piercings (0-2): $tempSlave.vaginaPiercing''
|
<<radiobutton "$tempSlave.vaginaPiercing" 0>> None
<<radiobutton "$tempSlave.vaginaPiercing" 1>> Standard
<<radiobutton "$tempSlave.vaginaPiercing" 2>> Heavy
<br>
''Anus piercing (0-2): $tempSlave.anusPiercing''
|
<<radiobutton "$tempSlave.anusPiercing" 0>> None
<<radiobutton "$tempSlave.anusPiercing" 1>> Standard
<<radiobutton "$tempSlave.anusPiercing" 2>> Heavy
<br>
''Shaft piercings (0-2): $tempSlave.dickPiercing''
|
<<radiobutton "$tempSlave.dickPiercing" 0>> None
<<radiobutton "$tempSlave.dickPiercing" 1>> Standard
<<radiobutton "$tempSlave.dickPiercing" 2>> Heavy
|
MonsterMate/fc
|
src/cheats/mod_EditSlaveCheat.tw
|
tw
|
mit
| 51,431
|
:: MOD_Edit Slave Cheat Datatype Cleanup [nobr]
<<set $nextButton = "Continue", $nextLink = "AS Dump", $returnTo = "Slave Interact">>
/* Cancel Option Check */
<<if $tempSlave == "unset">>
<<unset $tempSlave>>
<<goto "Slave Interact">>
<</if>>
<<set $rep = Number($rep) || 0>>
<<set $cash = Number($cash) || 0>>
<<set $week = Number($week) || 1>>
<<set $tempSlave.preg = Number($tempSlave.preg) || 0>>
<<set $tempSlave.pregType = Number($tempSlave.pregType) || 0>>
<<if $tempSlave.broodmother == 0>>
<<set WombInit($tempSlave)>> /* just to make sure */
<<set $tempSlave.womb.length = 0>> /* simple way to delete all fetuses */
<<set WombImpregnate($tempSlave, $tempSlave.pregType, $tempSlave.pregSource, $tempSlave.preg)>> /* recreates fetuses */
<<else>>
<<set WombNormalizePreg($tempSlave)>>
<</if>>
<<if $tempSlave.preg > 0>>
<<set $tempSlave.pregKnown = 1, $tempSlave.pregWeek = $tempSlave.preg>>
<<else>>
<<set $tempSlave.pregKnown = 0, $tempSlave.pregWeek = 0>>
<</if>>
<<if $tempSlave.lactation > 0 && $tempSlave.lactationDuration == 0>>
<<set $tempSlave.lactationDuration = 2>>
<<elseif $tempSlave.lactation == 0 && $tempSlave.lactationDuration > 0>>
<<set $tempSlave.lactationDuration = 0>>
<</if>>
<<set $tempSlave.pregAdaptation = Number($tempSlave.pregAdaptation) || 0>>
<<if $tempSlave.pregAdaptation <= 0>>
<<if $tempSlave.genes === "XY">> /* copied from GenerateXYPregAdaptation */
<<if slave.physicalAge <= 6>>
<<set $tempSlave.pregAdaptation = 5>>
<<elseif $tempSlave.physicalAge <= 11>>
<<set $tempSlave.pregAdaptation = $tempSlave.physicalAge - 1>>
<<elseif $tempSlave.physicalAge <= 15>>
<<set $tempSlave.pregAdaptation = 2 * ($tempSlave.physicalAge - 12) + 12>>
<<else>>
<<set $tempSlave.pregAdaptation = 20>>
<</if>>
<<else>> /* copied from GenerateXXPregAdaptation */
<<if $tempSlave.physicalAge <= 6>>
<<set $tempSlave.pregAdaptation = 5>>
<<elseif $tempSlave.physicalAge <= 11>>
<<set $tempSlave.pregAdaptation = $tempSlave.physicalAge - 1>>
<<elseif $tempSlave.physicalAge <= 14>>
<<set $tempSlave.pregAdaptation = 4 * ($tempSlave.physicalAge - 12) + 14>>
<<elseif $tempSlave.physicalAge <= 15>>
<<set $tempSlave.pregAdaptation = 28>>
<<elseif $tempSlave.physicalAge <= 16>>
<<set $tempSlave.pregAdaptation = 34>>
<<elseif $tempSlave.physicalAge <= 17>>
<<set $tempSlave.pregAdaptation = 42>>
<<else>>
<<set $tempSlave.pregAdaptation = 50>>
<</if>>
<</if>>
<</if>>
<<if $tempSlave.eyes === 2>>
<<set $tempSlave.eye.left.vision = 2, $tempSlave.eye.right.vision = 2>>
<<elseif $tempSlave.eyes === 1>>
<<set $tempSlave.eye.left.vision = 1, $tempSlave.eye.right.vision = 1>>
<<elseif $tempSlave.eyes === -1>>
<<set $tempSlave.eye.left.vision = 0, $tempSlave.eye.right.vision = 0>>
<</if>>
<<if $tempSlave.eyesImplant === 1>>
<<set $tempSlave.eye.left.type = 3, $tempSlave.eye.right.type = 3>>
<</if>>
<<run SlaveDatatypeCleanup($tempSlave)>> /* will break cheated pregnancies if run before the above block of code */
You perform the dark rituals, pray to the dark gods, and sell your soul for the power to change and mold slaves to your will.
<br><br>This slave has been changed forever and you have lost a bit of your soul, YOU CHEATER!
<<set $activeSlave = clone($tempSlave)>>
<<unset $tempSlave>>
<<set _escdc = $slaveIndices[$activeSlave.ID]>>
<<if def _escdc>>
<<set $slaves[_escdc] = $activeSlave>>
<</if>>
<<run ibc.recalculate_coeff_id($activeSlave.ID)>>
|
MonsterMate/fc
|
src/cheats/mod_EditSlaveCheatDatatypeCleanup.tw
|
tw
|
mit
| 3,467
|
:: MOD_Edit Slave Cheat Datatype Cleanup New [nobr]
<<set $nextButton = "Continue", $nextLink = "AS Dump", $returnTo = "Slave Interact">>
/* Cancel Option Check */
<<if $tempSlave == "unset">>
<<unset $tempSlave>>
<<goto "Slave Interact">>
<</if>>
<<if $customEvalCode>>
<<if $customEvalCode.charAt(0) != "(" || $nextLink == ")">> /* second condition is only there for sanityCheck */
<<set $customEvalCode = "(" + $customEvalCode + ")">>
<</if>>
<<if typeof eval($customEvalCode) === "function">>
<<run (eval($customEvalCode))($tempSlave)>>
<</if>>
<</if>>
<<unset $customEvalCode>>
<<set $rep = Number($rep) || 0>>
<<set $cash = Number($cash) || 0>>
<<set $week = Number($week) || 1>>
<<set $tempSlave.preg = Number($tempSlave.preg) || 0>>
<<set $tempSlave.pregType = Number($tempSlave.pregType) || 0>>
<<if $tempSlave.broodmother == 0>>
<<set WombInit($tempSlave)>> /* just to make sure */
<<set $tempSlave.womb.length = 0>> /* simple way to delete all fetuses */
<<set WombImpregnate($tempSlave, $tempSlave.pregType, $tempSlave.pregSource, $tempSlave.preg)>> /* recreates fetuses */
<<else>>
<<set WombNormalizePreg($tempSlave)>>
<</if>>
<<set $tempSlave.pregWeek = Number($tempSlave.pregWeek) || Math.max($tempSlave.preg, 0)>>
<<if $tempSlave.preg <= 0>>
<<set $tempSlave.pregKnown = 0>>
<<elseif $tempSlave.preg > 0>>
<<set $tempSlave.pregKnown = 1>>
<</if>>
<<set $tempSlave.pregAdaptation = Number($tempSlave.pregAdaptation) || 0>>
<<if $tempSlave.pregAdaptation <= 0>>
<<if $tempSlave.genes === "XY">> /* copied from GenerateXYPregAdaptation */
<<if slave.physicalAge <= 6>>
<<set $tempSlave.pregAdaptation = 5>>
<<elseif $tempSlave.physicalAge <= 11>>
<<set $tempSlave.pregAdaptation = $tempSlave.physicalAge - 1>>
<<elseif $tempSlave.physicalAge <= 15>>
<<set $tempSlave.pregAdaptation = 2 * ($tempSlave.physicalAge - 12) + 12>>
<<else>>
<<set $tempSlave.pregAdaptation = 20>>
<</if>>
<<else>> /* copied from GenerateXXPregAdaptation */
<<if $tempSlave.physicalAge <= 6>>
<<set $tempSlave.pregAdaptation = 5>>
<<elseif $tempSlave.physicalAge <= 11>>
<<set $tempSlave.pregAdaptation = $tempSlave.physicalAge - 1>>
<<elseif $tempSlave.physicalAge <= 14>>
<<set $tempSlave.pregAdaptation = 4 * ($tempSlave.physicalAge - 12) + 14>>
<<elseif $tempSlave.physicalAge <= 15>>
<<set $tempSlave.pregAdaptation = 28>>
<<elseif $tempSlave.physicalAge <= 16>>
<<set $tempSlave.pregAdaptation = 34>>
<<elseif $tempSlave.physicalAge <= 17>>
<<set $tempSlave.pregAdaptation = 42>>
<<else>>
<<set $tempSlave.pregAdaptation = 50>>
<</if>>
<</if>>
<</if>>
<<run SlaveDatatypeCleanup($tempSlave)>> /* will break cheated pregnancies if run before the above block of code */
/* Dependency Check */
<br>
<<if ($tempSlave.relationshipTarget == $tempSlave.ID) && ($tempSlave.relationship > 0)>>
<<set $tempSlave.relationshipTarget = 0>>
<<set $tempSlave.relationship = -1>>
<<print "Slave was in a relation with $himself, reset to emotional slut">><br>
<</if>>
<<if ($tempSlave.rivalryTarget == $tempSlave.ID) && ($tempSlave.rivalry > 0)>>
<<set $tempSlave.rivalryTarget = 0>>
<<set $tempSlave.rivalry = 0>>
<<print "Slave was $his own rival, reset to no rivalry">><br>
<</if>>
<<if ($tempSlave.ageImplant == 1) && ($tempSlave.visualAge < 25)>>
<<print "Slave's visual age is smaller than 25, reset to no lifting">><br>
<<set $tempSlave.ageImplant = 0>>
<</if>>
<<if ($tempSlave.voice == 0) && ($tempSlave.voiceImplant != 0)>>
<<print "Slave is mute, voice surgery reset" >><br>
<<set $tempSlave.voiceImplant = 0>>
<</if>>
<<if ($tempSlave.voice == 3) && ($tempSlave.voiceImplant < 0)>>
<<print "Voice surgery too low, voice surgery reset" >><br>
<<set $tempSlave.voiceImplant = 0>>
<</if>>
<<if ($tempSlave.voice == 1) && ($tempSlave.voiceImplant > 0)>>
<<print "Voice surgery too high, voice surgery reset" >><br>
<<set $tempSlave.voiceImplant = 0>>
<</if>>
<<if $tempSlave.earImplant == 1 && !isProstheticAvailable($tempSlave, "cochlear")>><<run addProsthetic($tempSlave, "cochlear")>><</if>>
<<if $tempSlave.electrolarynx == 1 && !isProstheticAvailable($tempSlave, "electrolarynx")>><<run addProsthetic($tempSlave, "electrolarynx")>><</if>>
<<if $tempSlave.eye.right != null>>
<<if $tempSlave.eye.right.type == 3 && !isProstheticAvailable($tempSlave, "ocular")>><<run addProsthetic($tempSlave, "ocular")>><</if>>
<</if>>
<<if $tempSlave.eye.left != null>>
<<if $tempSlave.eye.left.type == 3 && !isProstheticAvailable($tempSlave, "ocular")>><<run addProsthetic($tempSlave, "ocular")>><</if>>
<</if>>
<<if $tempSlave.arm.left != null >>
<<run configureLimbs($tempSlave, "left arm", $tempSlave.arm.left.type)>>
<</if>>
<<if $tempSlave.arm.right != null >>
<<run configureLimbs($tempSlave, "right arm", $tempSlave.arm.right.type)>>
<</if>>
<<if $tempSlave.leg.left != null >>
<<run configureLimbs($tempSlave, "left leg", $tempSlave.leg.left.type)>>
<</if>>
<<if $tempSlave.leg.right != null >>
<<run configureLimbs($tempSlave, "right leg", $tempSlave.leg.right.type)>>
<</if>>
<<if $tempSlave.PLimb == 2 && !isProstheticAvailable($tempSlave, "interfaceP2")>><<run addProsthetic($tempSlave, "interfaceP2")>>
<<elseif $tempSlave.PLimb == 1 && !isProstheticAvailable($tempSlave, "interfaceP1")>><<run addProsthetic($tempSlave, "interfaceP1")>>
<</if>>
<<if hasAllNaturalLimbs($tempSlave) && ($tempSlave.PLimb > 0)>>
<<print "Slave has normal limbs, limb interface reset to 0 (no interface)">><br>
<<set $tempSlave.PLimb = 0>>
<</if>>
<<if $tempSlave.PLimb === 0 && hasAnyProstheticLimbs($tempSlave)>>
<<print "Slave has no prosthetic limb interface, remove all prosthetic limbs">>
<<if getLeftArmID($tempSlave) > 1>>
<<run removeLimbs($tempSlave, "left arm")>>
<</if>>
<<if getRightArmID($tempSlave) > 1>>
<<run removeLimbs($tempSlave, "right arm")>>
<</if>>
<<if getLeftLegID($tempSlave) > 1>>
<<run removeLimbs($tempSlave, "left leg")>>
<</if>>
<<if getRightLegID($tempSlave) > 1>>
<<run removeLimbs($tempSlave, "right leg")>>
<</if>>
<</if>>
<<if !hasAnyLegs($tempSlave)>>
<<set $tempSlave.heels = 0>>
<</if>>
<<if !hasAnyArms($tempSlave)>>
<<set $tempSlave.nails = 0>>
<</if>>
<<if $tempSlave.PTail == 1 && !isProstheticAvailable($tempSlave, "interfaceTail")>><<run addProsthetic($tempSlave, "interfaceTail")>><</if>>
<<if $tempSlave.PTail == 0 && $tempSlave.tail != "none">><br>
<<print "No tail interface installed: Tail got removed">><br>
<<set $tempSlave.tail = "none">>
<<elseif $tempSlave.tail == "sex" && !isProstheticAvailable($tempSlave, "sexT")>><<run addProsthetic($tempSlave, "sexT")>>
<<elseif $tempSlave.tail == "combat" && !isProstheticAvailable($tempSlave, "combatT")>><<run addProsthetic($tempSlave, "combatT")>>
<<elseif $tempSlave.tail == "mod">>
<<if !isProstheticAvailable($tempSlave, "modT")>><<run addProsthetic($tempSlave, "modT")>><</if>>
<<if $tempSlave.tailShape == "none">><<print "Tail shape was missing: set to Cat">><<set $tempSlave.tailShape = "neko">><br><</if>>
<<if $tempSlave.tailColor == "none">><<print "Tail color was missing: set to original hair color">><<set $tempSlave.tailColor = $tempSlave.origHColor>><br><</if>>
<</if>>
<<if (ndef $tempSlave.pubertyXX) && ($tempSlave.physicalAge >= $tempSlave.pubertyAgeXX)>>
<<set $tempSlave.pubertyXX = 1>>
<<elseif (ndef $tempSlave.pubertyXX) && ($tempSlave.physicalAge < $tempSlave.pubertyAgeXX)>>
<<set $tempSlave.pubertyXX = 0>>
<</if>>
<<if $tempSlave.dick == 0>>
<<set $tempSlave.dickTat = 0>>
<</if>>
<<if ($tempSlave.vagina == -1) >>
<<set $tempSlave.labia = 0>>
<<set $tempSlave.clit = 0>>
<<set $tempSlave.cervixImplant = 0>>
<<set $tempSlave.ovaries = 0>>
<</if>>
<<if ($tempSlave.cervixImplant == 1) && ($tempSlave.ovaries == 0)>>
<<print "Slave has no ovaries, cervix implant reset to 0 (not implanted)">><br>
<<set $tempSlave.cervixImplant = 0>>
<</if>>
<<if ($tempSlave.cervixImplant == 1) && ($tempSlave.preg == -2)>>
<<print "Slave is sterile, cervix implant reset to 0 (not implanted)">><br>
<<set $tempSlave.cervixImplant = 0>>
<</if>>
<<if ($tempSlave.clit > 0) && ($tempSlave.dick > 0 )>>
<<print "No giant clit when dick is present, reset clit to 0 (normal)">><br>
<<set $tempSlave.clit = 0>>
<</if>>
<<if ($tempSlave.ovaries == 0) && ($tempSlave.mpreg == 0) && ($tempSlave.preg > 0)>>
<<print "Slave has no ovaries and no anal womb, pregnancy reset to 0">><br>
<<run WombFlush($tempSlave)>>
<</if>>
<<if ($tempSlave.pubertyXX != 1) && ($tempSlave.physicalAge >= $tempSlave.pubertyAgeXX)>>
<<print "Slave's physical age is equal to or higher than female puberty age, puberty set to 1 (post-puberty)">><br>
<<set $tempSlave.pubertyXX = 1>>
<</if>>
<<if ($tempSlave.ovaries == 1) && ($tempSlave.mpreg == 1)>>
<<print "Slave has a working vagina, anal womb removed">><br>
<<set $tempSlave.mpreg = 0>>
<</if>>
<<if ($tempSlave.pubertyXX == 0) && ($tempSlave.preg > 0)>>
<<print "Slave is not fertile (pre-puberty) and has no anal womb, pregnancy aborted">><br>
<<run WombFlush($tempSlave)>>
<</if>>
<<if (ndef $tempSlave.pubertyXY) && ($tempSlave.physicalAge >= $tempSlave.pubertyAgeXY)>>
<<set $tempSlave.pubertyXY = 1>>
<<elseif (ndef $tempSlave.pubertyXY) && ($tempSlave.physicalAge < $tempSlave.pubertyAgeXY)>>
<<set $tempSlave.pubertyXY = 0>>
<</if>>
<<if ($tempSlave.physicalAge >= $tempSlave.pubertyAgeXY) && ($tempSlave.pubertyXY != 1)>>
<<print "Slave's physical age is equal to or higher than male puberty age, puberty set to 1 (post-puberty)" >><br>
<<set $tempSlave.pubertyXY = 1>>
<</if>>
<<if $tempSlave.breedingMark == 1 && $propOutcome == 1 && $eugenicsFullControl != 1 && $arcologies[0].FSRestart != "unset" && ["be a subordinate slave", "be confined in the arcade", "be the DJ", "be the Madam", "live with your Head Girl", "serve in the club", "serve the public", "whore", "work a glory hole", "work in the brothel", "work in the dairy"].includes($tempSlave.assignment)>>
<<print "Eugenics breeding marked slave detected in questionable use, defaulting slave assignment to 'rest'">><br>
<<= assignJob($tempSlave, "rest")>>
<</if>>
<<if $tempSlave.lactation > 0 && $tempSlave.lactationDuration == 0>>
<<set $tempSlave.lactationDuration = 2>>
<<elseif $tempSlave.lactation == 0 && $tempSlave.lactationDuration > 0>>
<<set $tempSlave.lactationDuration = 0>>
<</if>>
<<run SetBellySize($tempSlave)>>
<<if $tempSlave.geneticQuirks.albinism === 2 && $activeSlave.albinismOverride === null>>
<<run induceAlbinism($tempSlave, 2)>>
<</if>>
<br>
You perform the dark rituals, pray to the dark gods, and sell your soul for the power to change and mold slaves to your will.
<br><br>This slave has been changed forever and you have lost a bit of your soul, YOU CHEATER!
<<set $activeSlave = clone($tempSlave)>>
<<unset $tempSlave>>
<<set _escn = $slaveIndices[$activeSlave.ID]>>
<<if def _escn>>
<<set $slaves[_escn] = clone($activeSlave)>>
<</if>>
<<run ibc.recalculate_coeff_id($activeSlave.ID)>>
|
MonsterMate/fc
|
src/cheats/mod_EditSlaveCheatDatatypeCleanupNew.tw
|
tw
|
mit
| 10,953
|
:: MOD_Edit Slave Cheat New [nobr]
<<set $nextButton = "Continue">>
<<set $nextLink = "MOD_Edit Slave Cheat Datatype Cleanup New">>
<<set $tempSlave = clone(getSlave($AS))>>
<<setLocalPronouns $tempSlave>>
/* args[0] = new Value, arg[1] = Variable to be set, args[2] = Flip Variable to hide the section again, args[3] = Spotname */
<<widget setVar>>
<<link "[$args[0]]">>
<<replace $args[3]>>
<<print '<<set ' + $args[1] + ' to $args[0]>>'>>
<<print '<<set ' + $args[2] + ' to 0>>'>>
<</replace>>
<</link>>
<</widget>>
<<widget NameTab>>
<br>''Legal status:''<br>
<<if $tempSlave.indenture == -1>>
@@.green;Fulltime Slave@@
<<else>>
@@<<print Number($tempSlave.indenture)>>@@ Weeks left
<</if>><br>
<<link "[Full Slave]">>
<<set $tempSlave.indenture = -1>>
<<set $tempSlave.indentureRestrictions = 0>>
<<replace "#indstat">>
<</replace>>
<</link>>
<<print " | ">>
<<link "[Indenture]">>
<<replace "#indstat">>
<br>
''Weeks left (Must be 0 or bigger)''<<textbox "$tempSlave.indenture" $tempSlave.indenture>><br>
''Indenture Restriction (0: no protection, 1: some protection, 2: full protection): @@.green;$tempSlave.indentureRestrictions@@<br>
<<textbox "$tempSlave.indentureRestrictions" $tempSlave.indentureRestrictions>><br>
<</replace>>
<</link>>
<span id="indstat"></span><br>
<br>''$He is your Slave since Week @@.yellow;$tempSlave.weekAcquired@@ ''<br>
<<textbox "$tempSlave.weekAcquired" $tempSlave.weekAcquired>>
<br>
<br>''Birth Name: ( [first Name] [Surname] 0 for no Surname)''<br>
<<textbox "$tempSlave.birthName" $tempSlave.birthName>>
<<textbox "$tempSlave.birthSurname" $tempSlave.birthSurname>><br>
''Current Name: ( [first Name] [Surname] 0 for no Surname)''<br>
<<textbox "$tempSlave.slaveName" $tempSlave.slaveName>>
<<textbox "$tempSlave.slaveSurname" $tempSlave.slaveSurname>>
<br>
<</widget>>
<<widget FamilyTab>>
<br>
''Active Slaves ID : @@.yellow;$tempSlave.ID@@''
<br><br>
''Enter the IDs for this slave's parents (0: unknown, -1: you, -2: citizen):''
<br>
''mother ID''
<<textbox "$tempSlave.mother" $tempSlave.mother>>
<br>
''father ID''
<<textbox "$tempSlave.father" $tempSlave.father>>
<br><br>
<br><br>
''Relationship (-3:married to you, -2:relationship, -1:emotional slut, 0:none, 1:like, 2:friend, 3:sex friend, 4:lover, 5:married):''
<br>
<<switch $tempSlave.relationship>>
<<case -3>>
@@.green;Married to you@@
<<case -2>>
@@.lightgreen;Emotional bound to you@@
<<case -1>>
@@.hotpink;Emotional Slut@@
<<case 0>>
No Relation
<<case 1>>
@@.yellow;Likes SlaveID $tempSlave.relationshipTarget@@
<<case 2>>
@@.lightgreen;Friends with SlaveID $tempSlave.relationshipTarget@@
<<case 3>>
@@.lightpink;Sex Friend with SlaveID $tempSlave.relationshipTarget@@
<<case 4>>
@@.hotpink;Lover with SlaveID $tempSlave.relationshipTarget@@
<<case 5>>
@@.green;Married to SlaveID $tempSlave.relationshipTarget@@
<</switch>>
<br>
<<radiobutton "$tempSlave.relationship" -3>> Married to You
<<radiobutton "$tempSlave.relationship" -2>> In Relationship with You
<<radiobutton "$tempSlave.relationship" -1>> Emotional Slut
<<radiobutton "$tempSlave.relationship" 0>> None
<<radiobutton "$tempSlave.relationship" 1>> Like
<<radiobutton "$tempSlave.relationship" 2>> Friend
<<radiobutton "$tempSlave.relationship" 3>> Sex Friend
<<radiobutton "$tempSlave.relationship" 4>> Lover
<<radiobutton "$tempSlave.relationship" 5>> Married
<br>
''Relationship Target ID:'' <<textbox "$tempSlave.relationshipTarget" $tempSlave.relationshipTarget>>
<br>
<br>
''Rival (0:none, 1:dislike, 2:Rival, 3:Bitter Rival ): ''
<br>
<<switch $tempSlave.rivalry>>
<<case 0>>
@@.yellow;No Rival@@
<<case 1>>
@@.lightpink;Dislikes SlaveID $tempSlave.rivalryTarget@@
<<case 2>>
@@.red;Rival of SlaveID $tempSlave.rivalryTarget@@
<<case 3>>
@@.red;Bitter rivalry with SlaveID $tempSlave.rivalryTarget@@
<</switch>>
<br>
<<radiobutton "$tempSlave.rivalry" 0>> None
<<radiobutton "$tempSlave.rivalry" 1>> Dislike
<<radiobutton "$tempSlave.rivalry" 2>> Rival
<<radiobutton "$tempSlave.rivalry" 3>> Bitter Rival
<br>
''Rivals Target ID:'' <<textbox "$tempSlave.rivalryTarget" $tempSlave.rivalryTarget>>
<br>
<</widget>>
<<widget NationalTab>>
<br>
''Origin: (@@.yellow;$tempSlave.origin@@)''<br>
<<textbox "$tempSlave.origin" $tempSlave.origin>>
<br><br>
<<link "Career:">>
<<if (ndef _carR) || (_carR == 0) >>
<<replace "#career">>
<<set _carR = 1>>
<br>''Current Career: (@@.yellow;$tempSlave.career@@)''<br>
<br>Grateful Careers<br>
<<setVar "a beggar" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a drug mule" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a peddler" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a pick-pocket" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a prisoner" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a refugee" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a shut-in" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a street urchin" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a student from a boarding school" "$tempSlave.career" "_carR" "#career">>
<br>
<<setVar "a sweatshop worker" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a thief" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "an orphan" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "from a lower class family" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "homeless" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "unemployed" "$tempSlave.career" "_carR" "#career">>
<br>
<br>Menial Careers<br>
<<setVar "a baker" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a blacksmith" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a bus driver" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a butcher" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a candlestick maker" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a carpenter" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a cashier" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a chauffeur" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a cobbler" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a construction worker" "$tempSlave.career" "_carR" "#career">>
<br>
<<setVar "a courier" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a croupier" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a delivery woman" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a driller" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a dropout" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a factory worker" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a farm laborer" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a firefighter" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a fisherwoman" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a florist" "$tempSlave.career" "_carR" "#career">>
<br>
<<setVar "a gardener" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a gravedigger" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a janitor" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a launderer" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a lumberjack" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a mail carrier" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a mechanic" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a messenger" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a miner" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a nun" "$tempSlave.career" "_carR" "#career">>
<br>
<<setVar "a paper girl" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a part-time farm laborer" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a pilot" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a plumber" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a private" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a programmer" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a receptionist" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a referee" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a repairman" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a ride attendant" "$tempSlave.career" "_carR" "#career">>
<br>
<<setVar "a roadie" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a sailor" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a seamstress" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a service worker" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a street vendor" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a student" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a student from a private school" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a student from a public school" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a switchboard operator" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a tailor" "$tempSlave.career" "_carR" "#career">>
<br>
<<setVar "a taxi driver" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a terrorist" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a tour guide" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a train conductor" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a truck driver" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a welder" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a whaler" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "an apprentice" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "an arcade attendant" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "an electrician" "$tempSlave.career" "_carR" "#career">>
<br>
<<setVar "an engineer" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "an exterminator" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "an installation technician" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "an intern" "$tempSlave.career" "_carR" "#career">>
<br>
<br>Entertainment Careers<br>
<<setVar "a ballerina" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a blogger" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a camgirl" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a camwhore" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a cheerleader" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a child actress" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a clown" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a cocktail waitress" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a comedian" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a gymnast" "$tempSlave.career" "_carR" "#career">>
<br>
<<setVar "a journalist" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a local news anchor" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a magician's assistant" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a medium" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a mime" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a painter" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a party girl" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a photographer" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a poet" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a racing driver" "$tempSlave.career" "_carR" "#career">>
<br>
<<setVar "a sculptor" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a stage magician" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a street performer" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a student athlete" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a stuntwoman" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a video game streamer" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a waitress" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a weathergirl" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a wrestler" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a writer" "$tempSlave.career" "_carR" "#career">>
<br>
<<setVar "an acrobat" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "an actress" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "an animator" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "an artist" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "an athlete" "$tempSlave.career" "_carR" "#career">>
<br>
<br>Whore Careers<br>
<<setVar "a child prostitute" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a criminal" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a cum dump" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a Futanari Sister" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a juvenile delinquent" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a mail-order bride" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a meat toilet" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a mistress" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a model" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a pageant star" "$tempSlave.career" "_carR" "#career">>
<br>
<<setVar "a pirate" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a porn star" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a prostitute" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a reality show star" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a saleswoman" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a serial divorcee" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a stripper" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a trophy wife" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "an escort" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "an exotic dancer" "$tempSlave.career" "_carR" "#career">>
<br>
<br>Servant Careers<br>
<<setVar "a butler" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a cook" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a handmaiden" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a housewife" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a maid" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a shrine maiden" "$tempSlave.career" "_carR" "#career">>
<br>
<br>HeadGirl Careers<br>
<<setVar "a captain" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a corporate executive" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a director" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a dominatrix" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a gang leader" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a judge" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a lawyer" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a leading arcology citizen" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a military officer" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a model-UN star" "$tempSlave.career" "_carR" "#career">>
<br>
<<setVar "a noblewoman" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a politician" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a Queen" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a slaver" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a student council president" "$tempSlave.career" "_carR" "#career">>
<br>
<br>Madam Careers<br>
<<setVar "a banker" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a business owner" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a businessman" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a camp counselor" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a club manager" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a hotel manager" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a landlady" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a madam" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a manager" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a park ranger" "$tempSlave.career" "_carR" "#career">>
<br>
<<setVar "a pimp" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a procuress" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a stockbroker" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "an innkeeper" "$tempSlave.career" "_carR" "#career">>
<br>
<br>DJ Careers<br>
<<setVar "a classical dancer" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a classical musician" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a dancer" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a house DJ" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a marching band leader" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a musician" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a radio show host" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "an aspiring pop star" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "an idol" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "an orchestra conductor" "$tempSlave.career" "_carR" "#career">>
<br>
<br>Bodyguard Careers<br>
<<setVar "a bodyguard" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a boxer" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a bully hunter" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a child soldier" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a hitman" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a kunoichi" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a law enforcement officer" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a military brat" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a prince" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a revolutionary" "$tempSlave.career" "_carR" "#career">>
<br>
<<setVar "a sniper" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a soldier" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a transporter" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "an assassin" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "an MS pilot" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "captain of the kendo club" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "in a militia" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "spec ops" "$tempSlave.career" "_carR" "#career">>
<br>
<br>Wardeness Careers<br>
<<setVar "a bouncer" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a bounty hunter" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a bully" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a chief of police" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a gang member" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a hall monitor" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a mercenary" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a police detective" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a police officer" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a prison guard" "$tempSlave.career" "_carR" "#career">>
<br>
<<setVar "a prison warden" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a private detective" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a security guard" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a street thug" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "an enforcer" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "an orderly" "$tempSlave.career" "_carR" "#career">>
<br>
<br>Nurse Careers<br>
<<setVar "a chemist" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a chiropractor" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a coroner" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a dentist" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a doctor" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a hospital volunteer" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a medic" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a medical student" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a midwife" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a mortician" "$tempSlave.career" "_carR" "#career">>
<br>
<<setVar "a nurse" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a paramedic" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a pharmacist" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a physician" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a school nurse" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a school nurse's assistant" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a surgeon" "$tempSlave.career" "_carR" "#career">>
<br>
<br>Attendant Careers<br>
<<setVar "a barber" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a cosmetologist" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a counselor" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a dispatch officer" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a fortune teller" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a groomer" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a latchkey kid" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a lifeguard" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a masseuse" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a mediator" "$tempSlave.career" "_carR" "#career">>
<br>
<<setVar "a personal trainer" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a police negotiator" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a psychologist" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a therapist" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a yoga instructor" "$tempSlave.career" "_carR" "#career">>
<br>
<br>Matron Careers<br>
<<setVar "a babysitter" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a nanny" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a practitioner" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a wet nurse" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "an au pair" "$tempSlave.career" "_carR" "#career">>
<br>
<br>Milkmaid Careers<br>
<<setVar "a cowgirl" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a dairy worker" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a farmer's daughter" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a milkmaid" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a rancher" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a shepherd" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a veterinarian" "$tempSlave.career" "_carR" "#career">>
<br>
<br>Farmer Careers<br>
<<setVar "a beekeeper" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a bullfighter" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a farmer" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a farmhand" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a rancher" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a rodeo star" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a zookeeper" "$tempSlave.career" "_carR" "#career">>
<br>
<br>Stewardess Careers<br>
<<setVar "a barista" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a bartender" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a brewer" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a bureaucrat" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a caregiver" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a charity worker" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a club treasurer" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a concierge" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a housekeeper" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a housesitter" "$tempSlave.career" "_carR" "#career">>
<br>
<<setVar "a lemonade stand operator" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a personal assistant" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a professional bartender" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a secretary" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a wedding planner" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "an air hostess" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "an architect" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "an editor" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "an estate agent" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "an investor" "$tempSlave.career" "_carR" "#career">>
<br>
<<setVar "an office worker" "$tempSlave.career" "_carR" "#career">>
<br>
<br>Schoolteacher Careers<br>
<<setVar "a child prodigy" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a coach" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a dean" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a historian" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a librarian" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a principal" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a private instructor" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a professor" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a scholar" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a scientist" "$tempSlave.career" "_carR" "#career">>
<br>
<<setVar "a teacher" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a teacher's pet" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a teaching assistant" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "an archaeologist" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "an astronaut" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "an economist" "$tempSlave.career" "_carR" "#career">>
<br>
<br>Recruiter Careers<br>
<<setVar "a club recruiter" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a college scout" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a con artist" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a cult leader" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a girl scout" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a military recruiter" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a missionary" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a political activist" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a princess" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a spy" "$tempSlave.career" "_carR" "#career">>
<br>
<<setVar "a talent scout" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "retired" "$tempSlave.career" "_carR" "#career">>
<br>
<br>Others<br>
<<setVar "a bioreactor" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a breeder" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a breeding bull" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a dairy cow" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a dairy slave" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a Fuckdoll" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a producer" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a slave" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "a slave since birth" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "being homeschooled by her parents" "$tempSlave.career" "_carR" "#career">>
<br>
<<setVar "from a middle class family" "$tempSlave.career" "_carR" "#career">>
<<print " | ">>
<<setVar "from an upper class family" "$tempSlave.career" "_carR" "#career">>
<br>
<</replace>>
<<else>>
<<replace "#career">>
<<set _carR = 0>>
<</replace>>
<</if>>
<</link>>
<span id="career"></span><br>
''Current Career:(@@.yellow;$tempSlave.career@@)''
<<textbox "$tempSlave.career" $tempSlave.career>> //Slave variables documentation is your friend. Will tell you exactly what to put here//
<br><br>
<<link "Nationality:">>
<<if (ndef _natR) || (_natR == 0) >>
<<replace "#nation">>
<<set _natR =1>>
<br>Current Nationality : @@.yellow;$tempSlave.nationality@@ <br>
<br>Non-Nations<br>
<<setVar "Slave" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Stateless" "$tempSlave.nationality" "_natR" "#nation">>
<br>
<br>North America<br>
<<setVar "American" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Antiguan" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Aruban" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Bahamian" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Barbadian" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Belizean" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Bermudian" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Canadian" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Costa Rican" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Cuban" "$tempSlave.nationality" "_natR" "#nation">>
<br>
<<setVar "Curaçaoan" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Dominican" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Dominiquais" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Greenlandic" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Grenadian" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Guatemalan" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Haitian" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Honduran" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Jamaican" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Kittitian" "$tempSlave.nationality" "_natR" "#nation">>
<br>
<<setVar "Mexican" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Nicaraguan" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Panamanian" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Puerto Rican" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Saint Lucian" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Salvadoran" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Trinidadian" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Vincentian" "$tempSlave.nationality" "_natR" "#nation">>
<br>
<br>South America<br>
<<setVar "Argentinian" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Bolivian" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Brazilian" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Chilean" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Colombian" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Ecuadorian" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "French Guianan" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Guyanese" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Paraguayan" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Peruvian" "$tempSlave.nationality" "_natR" "#nation">>
<br>
<<setVar "Peruvian" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Surinamese" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Uruguayan" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Venezuelan" "$tempSlave.nationality" "_natR" "#nation">>
<br>
<br>Europe<br>
<<setVar "Albanian" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Andorran" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Austrian" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Belarusian" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Belgian" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Bosnian" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "British" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Bulgarian" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Catalan" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Croatian" "$tempSlave.nationality" "_natR" "#nation">>
<br>
<<setVar "Czech" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Danish" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Dutch" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Estonian" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Finnish" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "French" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "German" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Greek" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Hungarian" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Icelandic" "$tempSlave.nationality" "_natR" "#nation">>
<br>
<<setVar "Irish" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Italian" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Kosovan" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Latvian" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "a Liechtensteiner" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Lithuanian" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Luxembourgian" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Macedonian" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Maltese" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Moldovan" "$tempSlave.nationality" "_natR" "#nation">>
<br>
<<setVar "Monégasque" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Montenegrin" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Norwegian" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Polish" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Portuguese" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Romanian" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Russian" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Sammarinese" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Scottish" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Serbian" "$tempSlave.nationality" "_natR" "#nation">>
<br>
<<setVar "Slovak" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Slovene" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Spanish" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Swedish" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Swiss" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Ukrainian" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Vatican" "$tempSlave.nationality" "_natR" "#nation">>
<br>
<br>Asia<br>
<<setVar "Bangladeshi" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Bhutanese" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Bruneian" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Burmese" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Cambodian" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Chinese" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "East Timorese" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Filipina" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Indian" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Indonesian" "$tempSlave.nationality" "_natR" "#nation">>
<br>
<<setVar "Japanese" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Kazakh" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Korean" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Kyrgyz" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Laotian" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Malaysian" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Maldivian" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Mongolian" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Nepalese" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Pakistani" "$tempSlave.nationality" "_natR" "#nation">>
<br>
<<setVar "Singaporean" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Sri Lankan" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Taiwanese" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Tajik" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Thai" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Tibetan" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Turkmen" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Uzbek" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Vietnamese" "$tempSlave.nationality" "_natR" "#nation">>
<br>
<br>Middle East<br>
<<setVar "Afghan" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Armenian" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Azerbaijani" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Bahraini" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Cypriot" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Egyptian" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Emirati" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Georgian" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Iranian" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Iraqi" "$tempSlave.nationality" "_natR" "#nation">>
<br>
<<setVar "Israeli" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Jordanian" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Kurdish" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Kuwaiti" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Lebanese" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Omani" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Palestinian" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Qatari" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Saudi" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Syrian" "$tempSlave.nationality" "_natR" "#nation">>
<br>
<<setVar "Turkish" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Yemeni" "$tempSlave.nationality" "_natR" "#nation">>
<br>
<br>Africa<br>
<<setVar "Algerian" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Angolan" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Beninese" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Bissau-Guinean" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Burkinabé" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Burundian" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Cameroonian" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Cape Verdean" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Central African" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Chadian" "$tempSlave.nationality" "_natR" "#nation">>
<br>
<<setVar "Comorian" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Congolese" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Djiboutian" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Equatoguinean" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Eritrean" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Ethiopian" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Gabonese" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Gambian" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Ghanan" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Guinean" "$tempSlave.nationality" "_natR" "#nation">>
<br>
<<setVar "Ivorian" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Kenyan" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Liberian" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Libyan" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Malagasy" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Malawian" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Malian" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Mauritanian" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Mauritian" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Moroccan" "$tempSlave.nationality" "_natR" "#nation">>
<br>
<<setVar "Mosotho" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Motswana" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Mozambican" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Namibian" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Nigerian" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Nigerien" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Rwandan" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Sahrawi" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "São Toméan" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Senegalese" "$tempSlave.nationality" "_natR" "#nation">>
<br>
<<setVar "Seychellois" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Sierra Leonean" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Somali" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "South African" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "South Sudanese" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Sudanese" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Swazi" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Tanzanian" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Togolese" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Tunisian" "$tempSlave.nationality" "_natR" "#nation">>
<br>
<<setVar "Ugandan" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Zairian" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Zambian" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Zimbabwean" "$tempSlave.nationality" "_natR" "#nation">>
<br>
<br>Australia<br>
<<setVar "Australian" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "a Cook Islander" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Fijian" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "French Polynesian" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Guamanian" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "I-Kiribati" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Marshallese" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Micronesian" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Nauruan" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "New Caledonian" "$tempSlave.nationality" "_natR" "#nation">>
<br>
<<setVar "a New Zealander" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Ni-Vanuatu" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Niuean" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Palauan" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Papua New Guinean" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Samoan" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "a Solomon Islander" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Tongan" "$tempSlave.nationality" "_natR" "#nation">>
<<print " | ">>
<<setVar "Tuvaluan" "$tempSlave.nationality" "_natR" "#nation">>
<br>
<</replace>>
<<else>>
<<replace "#nation">>
<<set _natR = 0>>
<</replace>>
<</if>>
<</link>>
<span id="nation"></span><br>
Custom Nation: <<textbox "$tempSlave.nationality" $tempSlave.nationality>>
//This will not alter name or race//<br>
<br><br>
''Race: (@@.yellow;$tempSlave.race@@)''
<<textbox "$tempSlave.race" $tempSlave.race>>
<br>
<<radiobutton "$tempSlave.race" "white">> White
<<radiobutton "$tempSlave.race" "asian">> Asian
<<radiobutton "$tempSlave.race" "latina">> Latina
<<radiobutton "$tempSlave.race" "middle eastern">> Middle Eastern
<<radiobutton "$tempSlave.race" "black">> Black
<<radiobutton "$tempSlave.race" "semitic">> Semitic
<<radiobutton "$tempSlave.race" "southern european">> Southern European
<<radiobutton "$tempSlave.race" "indo-aryan">> Indo-Aryan
<<radiobutton "$tempSlave.race" "amerindian">> Amerindian
<<radiobutton "$tempSlave.race" "pacific islander">> Pacific Islander
<<radiobutton "$tempSlave.race" "malay">> Malay
<<radiobutton "$tempSlave.race" "mixed race">> Mixed Race
<br>
''Original Race: (@@.yellow;$tempSlave.origRace@@)''
<<textbox "$tempSlave.origRace" $tempSlave.origRace>>
<br>
<<radiobutton "$tempSlave.origRace" "white">> White
<<radiobutton "$tempSlave.origRace" "asian">> Asian
<<radiobutton "$tempSlave.origRace" "latina">> Latina
<<radiobutton "$tempSlave.origRace" "middle eastern">> Middle Eastern
<<radiobutton "$tempSlave.origRace" "black">> Black
<<radiobutton "$tempSlave.origRace" "semitic">> Semitic
<<radiobutton "$tempSlave.origRace" "southern european">> Southern European
<<radiobutton "$tempSlave.origRace" "indo-aryan">> Indo-Aryan
<<radiobutton "$tempSlave.origRace" "amerindian">> Amerindian
<<radiobutton "$tempSlave.origRace" "pacific islander">> Pacific Islander
<<radiobutton "$tempSlave.origRace" "malay">> Malay
<<radiobutton "$tempSlave.origRace" "mixed race">> Mixed Race
<br>
''Skin Color: (@@.yellow;$tempSlave.skin@@)''
<<textbox "$tempSlave.skin" $tempSlave.skin>>
<br>
<<radiobutton "$tempSlave.skin" "pure white">> Pure White
<<radiobutton "$tempSlave.skin" "ivory">> Ivory
<<radiobutton "$tempSlave.skin" "white">> White
<<radiobutton "$tempSlave.skin" "extremely pale">> Extremely Pale
<<radiobutton "$tempSlave.skin" "very pale">> Very Pale
<<radiobutton "$tempSlave.skin" "pale">> Pale
<<radiobutton "$tempSlave.skin" "extremely fair">> Extremely Fair
<<radiobutton "$tempSlave.skin" "very fair">> Very Fair
<<radiobutton "$tempSlave.skin" "fair">> Fair
<<radiobutton "$tempSlave.skin" "light">> Light
<<radiobutton "$tempSlave.skin" "light olive">> Light Olive
<<radiobutton "$tempSlave.skin" "tan">> Tan
<<radiobutton "$tempSlave.skin" "olive">> Olive
<<radiobutton "$tempSlave.skin" "bronze">> Bronze
<<radiobutton "$tempSlave.skin" "dark olive">> Dark Olive
<<radiobutton "$tempSlave.skin" "dark">> Dark
<<radiobutton "$tempSlave.skin" "light beige">> Light Beige
<<radiobutton "$tempSlave.skin" "beige">> Beige
<<radiobutton "$tempSlave.skin" "dark beige">> Dark Beige
<<radiobutton "$tempSlave.skin" "light brown">> Light Brown
<<radiobutton "$tempSlave.skin" "brown">> Brown
<<radiobutton "$tempSlave.skin" "dark brown">> Dark Brown
<<radiobutton "$tempSlave.skin" "black">> Black
<<radiobutton "$tempSlave.skin" "ebony">> Ebony
<<radiobutton "$tempSlave.skin" "pure black">> Pure Black
<br>
''Original Skin Color: (@@.yellow;$tempSlave.origSkin@@)''
<<textbox "$tempSlave.origSkin" $tempSlave.origSkin>>
<br>
<<radiobutton "$tempSlave.origSkin" "pure white">> Pure White
<<radiobutton "$tempSlave.origSkin" "ivory">> Ivory
<<radiobutton "$tempSlave.origSkin" "white">> White
<<radiobutton "$tempSlave.origSkin" "extremely pale">> Extremely Pale
<<radiobutton "$tempSlave.origSkin" "very pale">> Very Pale
<<radiobutton "$tempSlave.origSkin" "pale">> Pale
<<radiobutton "$tempSlave.origSkin" "extremely fair">> Extremely Fair
<<radiobutton "$tempSlave.origSkin" "very fair">> Very Fair
<<radiobutton "$tempSlave.origSkin" "fair">> Fair
<<radiobutton "$tempSlave.origSkin" "light">> Light
<<radiobutton "$tempSlave.origSkin" "light olive">> Light Olive
<<radiobutton "$tempSlave.origSkin" "tan">> Tan
<<radiobutton "$tempSlave.origSkin" "olive">> Olive
<<radiobutton "$tempSlave.origSkin" "bronze">> Bronze
<<radiobutton "$tempSlave.origSkin" "dark olive">> Dark Olive
<<radiobutton "$tempSlave.origSkin" "dark">> Dark
<<radiobutton "$tempSlave.origSkin" "light beige">> Light Beige
<<radiobutton "$tempSlave.origSkin" "beige">> Beige
<<radiobutton "$tempSlave.origSkin" "dark beige">> Dark Beige
<<radiobutton "$tempSlave.origSkin" "light brown">> Light Brown
<<radiobutton "$tempSlave.origSkin" "brown">> Brown
<<radiobutton "$tempSlave.origSkin" "dark brown">> Dark Brown
<<radiobutton "$tempSlave.origSkin" "black">> Black
<<radiobutton "$tempSlave.origSkin" "ebony">> Ebony
<<radiobutton "$tempSlave.origSkin" "pure black">> Pure Black
<br>
<</widget>>
<<widget AgeTab>>
<br>
''Age - Actual:''
<<textbox "$tempSlave.actualAge" $tempSlave.actualAge>>
<br>
''Age - Physical:''
<<textbox "$tempSlave.physicalAge" $tempSlave.physicalAge>>
<br>
''Age - Ovaries:''
<<textbox "$tempSlave.ovaryAge" $tempSlave.ovaryAge>>
<br>
''Age - Visual:''
<<textbox "$tempSlave.visualAge" $tempSlave.visualAge>>
<br>
''Age lifting: ''
<<if $tempSlave.ageImplant == 1>>
@@.yellow;true@@
<<checkbox "$tempSlave.ageImplant" 0 1 checked>>
<<else>>
@@.yellow;false@@
<<checkbox "$tempSlave.ageImplant" 0 1>>
<</if>>
<br>
''Birth week:''
<<textbox "$tempSlave.birthWeek" $tempSlave.birthWeek>>
<br><br>
''Condition (-99 to 100, -100 is death. Condition minus short and long term damage of -100 is also death):''
<<textbox "$tempSlave.health.condition" $tempSlave.health.condition>>
<br>
''Damage - Short Term:''
<<textbox "$tempSlave.health.shortDamage" $tempSlave.health.shortDamage>>
<br>
''Damage - Long Term:''
<<textbox "$tempSlave.health.longDamage" $tempSlave.health.longDamage>>
<br>
''Illness (0 to 5):''
<<textbox "$tempSlave.health.illness" $tempSlave.health.illness>>
<br>
''Tired (0 to 100):''
<<textbox "$tempSlave.health.tired" $tempSlave.health.tired>>
<br>
''DNA Errors (0 to 990):''
<<textbox "$tempSlave.chem" $tempSlave.chem>>
<br>
''Addiction:''
<<textbox "$tempSlave.addict" $tempSlave.addict>>
<br>
<</widget>>
<<widget DevoTab>>
<br>
//Don't set devotion too far away from old devotion otherwise it won't stick//
<br>
''Devotion (-100 to 100):''
<<textbox "$tempSlave.devotion" $tempSlave.devotion>>
<br>
''Old Devotion (-100 to 100):''
<<textbox "$tempSlave.oldDevotion" $tempSlave.oldDevotion>>
<br>
<br>
//Don't set trust too far away from old trust otherwise it won't stick//
<br>
''Trust (-100 to 100):''
<<textbox "$tempSlave.trust" $tempSlave.trust>>
<br>
''Old Trust (-100 to 100):''
<<textbox "$tempSlave.oldTrust" $tempSlave.oldTrust>>
<br>
<</widget>>
<<widget FaceTab>>
<br>
''Face (-100 to 100): ''
<<if $tempSlave.face >= 96>>@@.yellow;Mind blowing@@
<<elseif $tempSlave.face >= 41>>@@.yellow;Gorgeous@@
<<elseif $tempSlave.face >= 11>>@@.yellow;Very pretty@@
<<elseif $tempSlave.face >= -10>>@@.yellow;Attractive@@
<<elseif $tempSlave.face >= -41>>@@.yellow;Unattractive@@
<<elseif $tempSlave.face >= -95>>@@.yellow;Ugly@@
<<else>>@@.yellow;Very Ugly@@
<</if>>
<<textbox "$tempSlave.face" $tempSlave.face>>
<br>
<<radiobutton "$tempSlave.face" -100>> Very Ugly
<<radiobutton "$tempSlave.face" -65>> Ugly
<<radiobutton "$tempSlave.face" -35>> Unattractive
<<radiobutton "$tempSlave.face" 0>> Attractive
<<radiobutton "$tempSlave.face" 35>> Very pretty
<<radiobutton "$tempSlave.face" 65>> Gorgeous
<<radiobutton "$tempSlave.face" 100>> Mind blowing
<br>
''Face Shape: @@.yellow;$tempSlave.faceShape@@ ''
<br>
<<radiobutton "$tempSlave.faceShape" "masculine">> Masculine
<<radiobutton "$tempSlave.faceShape" "androgynous">> Androgynous
<<radiobutton "$tempSlave.faceShape" "normal">> Normal
<<radiobutton "$tempSlave.faceShape" "cute">> Cute
<<radiobutton "$tempSlave.faceShape" "sensual">> Sensual
<<radiobutton "$tempSlave.faceShape" "exotic">> Exotic
<br>
''Face Implant (0 to 100):''
<<if $tempSlave.faceImplant == 100 >> Uncanny Valley
<<elseif $tempSlave.faceImplant >= 65 >> Heavily Reworked
<<elseif $tempSlave.faceImplant >= 35 >> Noticeable Work
<<elseif $tempSlave.faceImplant >= 15 >> Subtle Improvements
<<else>> None
<</if>>
<br>
<<textbox "$tempSlave.faceImplant" $tempSlave.faceImplant>>
<<radiobutton "$tempSlave.faceImplant" 0>> None
<<radiobutton "$tempSlave.faceImplant" 15>> Subtle Improvements
<<radiobutton "$tempSlave.faceImplant" 35>> Noticeable Work
<<radiobutton "$tempSlave.faceImplant" 65>> Heavily Reworked
<<radiobutton "$tempSlave.faceImplant" 100>> Uncanny Valley
<br><br>
''Natural Skin Distinctiveness: @@.yellow;$tempSlave.markings@@ ''
<br>
<<radiobutton "$tempSlave.markings" "none">> None
<<radiobutton "$tempSlave.markings" "freckles">> Freckles
<<radiobutton "$tempSlave.markings" "heavily freckled">> Heavy Freckles
<<radiobutton "$tempSlave.markings" "beauty mark">> Beauty Mark
<<radiobutton "$tempSlave.markings" "birthmark">> Birth Mark
<br>
''Horn Type: @@.yellow;$tempSlave.horn@@ ''
<br>
<<radiobutton "$tempSlave.horn" "none">> None
<<radiobutton "$tempSlave.horn" "curved succubus horns">> Succubus
<<radiobutton "$tempSlave.horn" "backswept horns">> Backswept
<<radiobutton "$tempSlave.horn" "one long oni horn">> One Oni Horn
<<radiobutton "$tempSlave.horn" "two long oni horns">> Two Oni Horns
<<radiobutton "$tempSlave.horn" "small horns">> Small Horns
<<radiobutton "$tempSlave.horn" "cow horns">> Bovine
<br><br>
''Sense of Hearing:''
<<switch $tempSlave.hears>>
<<case -2>>@@.yellow;Deaf@@
<<case -1>>@@.yellow;Hard Of Hearing@@
<<case 0>>@@.yellow;Normal@@
<</switch>>
<br>
<<radiobutton "$tempSlave.hears" 0>> Normal
<<radiobutton "$tempSlave.hears" -1>> Hard Of Hearing
<<radiobutton "$tempSlave.hears" -2>> Deaf
<br>
''Cochlear implant (none: 0 | exist: 1):''
<<if $tempSlave.earImplant == 1>>
@@.yellow;exist@@
<<checkbox "$tempSlave.earImplant" 0 1 checked>>
<<else>>
@@.yellow;none@@
<<checkbox "$tempSlave.earImplant" 0 1>>
<</if>>
<br>
''Ear Shape: @@.yellow;$tempSlave.earShape@@ ''
<br>
<<radiobutton "$tempSlave.earShape" "none">> None
<<radiobutton "$tempSlave.earShape" "damaged">> Damaged
<<radiobutton "$tempSlave.earShape" "normal">> Normal
<<radiobutton "$tempSlave.earShape" "pointy">> Small Elf Ears
<<radiobutton "$tempSlave.earShape" "elven">> Long Elf Ears
<<radiobutton "$tempSlave.earShape" "ushi">> Bovine
<br>
''Kemonomimi Ear Type: @@.yellow;$tempSlave.earT@@ ''
<br>
<<radiobutton "$tempSlave.earT" "none">> None
<<radiobutton "$tempSlave.earT" "neko">> Cat
<<radiobutton "$tempSlave.earT" "inu">> Dog
<<radiobutton "$tempSlave.earT" "kit">> Fox
<<radiobutton "$tempSlave.earT" "tanuki">> Tanuki
<<radiobutton "$tempSlave.earT" "usagi">> Rabbit
<br><br>
''Sense of Smell:''
<<switch $tempSlave.smells>>
<<case -1>>@@.yellow;None@@
<<case 0>>@@.yellow;Normal@@
<</switch>>
<br>
<<radiobutton "$tempSlave.smells" 0>> Normal
<<radiobutton "$tempSlave.smells" -1>> None
<br><br>
<</widget>>
<<widget HairTab>>
<br>
''Can grow hair on the head:''
<<if $tempSlave.bald == 0>>
''@@.yellow;true@@''
<<checkbox "$tempSlave.bald" 0 1>>
<<else>>
''@@.yellow;false@@''
<<checkbox "$tempSlave.bald" 0 1 checked>>
<</if>>
<br>
''Hair length: @@.yellow;$tempSlave.hLength@@''
Custom hair length: <<textbox "$tempSlave.hLength" $tempSlave.hLength>>
<br>
<<switch $tempSlave.hStyle>>
<<case "cornrows" "curled" "dreadlocks" "tails">>
''$His hair is in @@.yellow;$tempSlave.hStyle@@''
<<case "ponytail">>
''$His hair is in a @@.yellow;$tempSlave.hStyle@@''
<<default>>
''$His hair is @@.yellow;$tempSlave.hStyle@@''
<</switch>>
Custom hair description: <<textbox "$tempSlave.hStyle" $tempSlave.hStyle>>
<br>
//For best results, use a short, uncapitalized and unpunctuated description; for example: 'back in a ponytail'//
<br>
<<radiobutton "$tempSlave.hStyle" "neat">> Neat
<<radiobutton "$tempSlave.hStyle" "shaved">> Shaved
<<radiobutton "$tempSlave.hStyle" "trimmed">> Trimmed
<<radiobutton "$tempSlave.hStyle" "buzzcut">> Buzzcut
<<radiobutton "$tempSlave.hStyle" "up">> Up
<<radiobutton "$tempSlave.hStyle" "ponytail">> Ponytail
<<radiobutton "$tempSlave.hStyle" "bun">> Bun
<<radiobutton "$tempSlave.hStyle" "curled">> Curls
<br>
<<radiobutton "$tempSlave.hStyle" "permed">> Permed
<<radiobutton "$tempSlave.hStyle" "luxurious">> Luxurious
<<radiobutton "$tempSlave.hStyle" "dreadlocks">> Dreadlocks
<<radiobutton "$tempSlave.hStyle" "cornrows">> Cornrows
<<radiobutton "$tempSlave.hStyle" "braided">> Braided
<<radiobutton "$tempSlave.hStyle" "tails">> Tails
<<radiobutton "$tempSlave.hStyle" "afro">> Afro
<<radiobutton "$tempSlave.hStyle" "strip">> Strip
<br><br>
$His hair is currently ''@@.yellow;$tempSlave.hColor@@'' in color
<<link "Hair Colors">>
<<if (ndef _hcol1R) || (_hcol1R == 0) >>
<<replace "#hcol1">>
<<set _hcol1R = 1>>
<br>
<<setVar "blonde" "$tempSlave.hColor" "_hcol1R" "#hcol1">>
<<setVar "golden" "$tempSlave.hColor" "_hcol1R" "#hcol1">>
<<setVar "platinum blonde" "$tempSlave.hColor" "_hcol1R" "#hcol1">>
<<setVar "strawberry-blonde" "$tempSlave.hColor" "_hcol1R" "#hcol1">>
<<setVar "copper" "$tempSlave.hColor" "_hcol1R" "#hcol1">>
<<setVar "ginger" "$tempSlave.hColor" "_hcol1R" "#hcol1">>
<<setVar "red" "$tempSlave.hColor" "_hcol1R" "#hcol1">>
<<setVar "green" "$tempSlave.hColor" "_hcol1R" "#hcol1">>
<<setVar "pink" "$tempSlave.hColor" "_hcol1R" "#hcol1">>
<<setVar "dark brown" "$tempSlave.hColor" "_hcol1R" "#hcol1">>
<br>
<<setVar "brown" "$tempSlave.hColor" "_hcol1R" "#hcol1">>
<<setVar "auburn" "$tempSlave.hColor" "_hcol1R" "#hcol1">>
<<setVar "burgundy" "$tempSlave.hColor" "_hcol1R" "#hcol1">>
<<setVar "chocolate brown" "$tempSlave.hColor" "_hcol1R" "#hcol1">>
<<setVar "chestnut" "$tempSlave.hColor" "_hcol1R" "#hcol1">>
<<setVar "hazel" "$tempSlave.hColor" "_hcol1R" "#hcol1">>
<<setVar "jet black" "$tempSlave.hColor" "_hcol1R" "#hcol1">>
<<setVar "black" "$tempSlave.hColor" "_hcol1R" "#hcol1">>
<<setVar "grey" "$tempSlave.hColor" "_hcol1R" "#hcol1">>
<<setVar "silver" "$tempSlave.hColor" "_hcol1R" "#hcol1">>
<<setVar "white" "$tempSlave.hColor" "_hcol1R" "#hcol1">>
<<setVar "blue-violet" "$tempSlave.hColor" "_hcol1R" "#hcol1">>
<<setVar "purple" "$tempSlave.hColor" "_hcol1R" "#hcol1">>
<<setVar "dark orchid" "$tempSlave.hColor" "_hcol1R" "#hcol1">>
<<setVar "sea green" "$tempSlave.hColor" "_hcol1R" "#hcol1">>
<<setVar "green-yellow" "$tempSlave.hColor" "_hcol1R" "#hcol1">>
<<setVar "dark blue" "$tempSlave.hColor" "_hcol1R" "#hcol1">>
<br>
<</replace>>
<<else>>
<<replace "#hcol1">>
<<set _hcol1R = 0>>
<</replace>>
<</if>>
<</link>>
<span id=hcol1></span>
<br>Custom hair color: <<textbox "$tempSlave.hColor" $tempSlave.hColor>>
<br>
//For best results, use a short, uncapitalized and unpunctuated description; for example: 'black with purple highlights'//
<br>
''$His original hair color is @@.yellow;$tempSlave.origHColor@@''
<<link "Hair Colors">>
<<if (ndef _hcol2R) || (_hcol2R == 0) >>
<<replace "#hcol2">>
<<set _hcol2R = 1>>
<br>
<<setVar "blonde" "$tempSlave.origHColor" "_hcol2R" "#hcol2">>
<<setVar "golden" "$tempSlave.origHColor" "_hcol2R" "#hcol2">>
<<setVar "platinum blonde" "$tempSlave.origHColor" "_hcol2R" "#hcol2">>
<<setVar "strawberry-blonde" "$tempSlave.origHColor" "_hcol2R" "#hcol2">>
<<setVar "copper" "$tempSlave.origHColor" "_hcol2R" "#hcol2">>
<<setVar "ginger" "$tempSlave.origHColor" "_hcol2R" "#hcol2">>
<<setVar "red" "$tempSlave.origHColor" "_hcol2R" "#hcol2">>
<<setVar "green" "$tempSlave.origHColor" "_hcol2R" "#hcol2">>
<<setVar "pink" "$tempSlave.origHColor" "_hcol2R" "#hcol2">>
<<setVar "dark brown" "$tempSlave.origHColor" "_hcol2R" "#hcol2">>
<br>
<<setVar "brown" "$tempSlave.origHColor" "_hcol2R" "#hcol2">>
<<setVar "auburn" "$tempSlave.origHColor" "_hcol2R" "#hcol2">>
<<setVar "burgundy" "$tempSlave.origHColor" "_hcol2R" "#hcol2">>
<<setVar "chocolate brown" "$tempSlave.origHColor" "_hcol2R" "#hcol2">>
<<setVar "chestnut" "$tempSlave.origHColor" "_hcol2R" "#hcol2">>
<<setVar "hazel" "$tempSlave.origHColor" "_hcol2R" "#hcol2">>
<<setVar "jet black" "$tempSlave.origHColor" "_hcol2R" "#hcol2">>
<<setVar "black" "$tempSlave.origHColor" "_hcol2R" "#hcol2">>
<<setVar "grey" "$tempSlave.origHColor" "_hcol2R" "#hcol2">>
<<setVar "silver" "$tempSlave.origHColor" "_hcol2R" "#hcol2">>
<<setVar "white" "$tempSlave.origHColor" "_hcol2R" "#hcol2">>
<<setVar "blue-violet" "$tempSlave.origHColor" "_hcol2R" "#hcol2">>
<<setVar "purple" "$tempSlave.origHColor" "_hcol2R" "#hcol2">>
<<setVar "dark orchid" "$tempSlave.origHColor" "_hcol2R" "#hcol2">>
<<setVar "sea green" "$tempSlave.origHColor" "_hcol2R" "#hcol2">>
<<setVar "green-yellow" "$tempSlave.origHColor" "_hcol2R" "#hcol2">>
<<setVar "dark blue" "$tempSlave.origHColor" "_hcol2R" "#hcol2">>
<br>
<</replace>>
<<else>>
<<replace "#hcol2">>
<<set _hcol2R = 0>>
<</replace>>
<</if>>
<</link>>
<span id=hcol2></span>
<br>Custom hair color: <<textbox "$tempSlave.origHColor" $tempSlave.origHColor>>
<br><br>
''$His eyebrows are @@.yellow;$tempSlave.eyebrowHColor@@ in color''
<<link "Hair Colors">>
<<if (ndef _hcol5R) || (_hcol5R == 0) >>
<<replace "#hcol5">>
<<set _hcol5R = 1>>
<br>
<<setVar "blonde" "$tempSlave.eyebrowHColor" "_hcol5R" "#hcol5">>
<<setVar "golden" "$tempSlave.eyebrowHColor" "_hcol5R" "#hcol5">>
<<setVar "platinum blonde" "$tempSlave.eyebrowHColor" "_hcol5R" "#hcol5">>
<<setVar "strawberry-blonde" "$tempSlave.eyebrowHColor" "_hcol5R" "#hcol5">>
<<setVar "copper" "$tempSlave.eyebrowHColor" "_hcol5R" "#hcol5">>
<<setVar "ginger" "$tempSlave.eyebrowHColor" "_hcol5R" "#hcol5">>
<<setVar "red" "$tempSlave.eyebrowHColor" "_hcol5R" "#hcol5">>
<<setVar "green" "$tempSlave.eyebrowHColor" "_hcol5R" "#hcol5">>
<<setVar "pink" "$tempSlave.eyebrowHColor" "_hcol5R" "#hcol5">>
<<setVar "dark brown" "$tempSlave.eyebrowHColor" "_hcol5R" "#hcol5">>
<br>
<<setVar "brown" "$tempSlave.eyebrowHColor" "_hcol5R" "#hcol5">>
<<setVar "auburn" "$tempSlave.eyebrowHColor" "_hcol5R" "#hcol5">>
<<setVar "burgundy" "$tempSlave.eyebrowHColor" "_hcol5R" "#hcol5">>
<<setVar "chocolate brown" "$tempSlave.eyebrowHColor" "_hcol5R" "#hcol5">>
<<setVar "chestnut" "$tempSlave.eyebrowHColor" "_hcol5R" "#hcol5">>
<<setVar "hazel" "$tempSlave.eyebrowHColor" "_hcol5R" "#hcol5">>
<<setVar "jet black" "$tempSlave.eyebrowHColor" "_hcol5R" "#hcol5">>
<<setVar "black" "$tempSlave.eyebrowHColor" "_hcol5R" "#hcol5">>
<<setVar "grey" "$tempSlave.eyebrowHColor" "_hcol5R" "#hcol5">>
<<setVar "silver" "$tempSlave.eyebrowHColor" "_hcol5R" "#hcol5">>
<<setVar "white" "$tempSlave.eyebrowHColor" "_hcol5R" "#hcol5">>
<<setVar "blue-violet" "$tempSlave.eyebrowHColor" "_hcol5R" "#hcol5">>
<<setVar "purple" "$tempSlave.eyebrowHColor" "_hcol5R" "#hcol5">>
<<setVar "dark orchid" "$tempSlave.eyebrowHColor" "_hcol5R" "#hcol5">>
<<setVar "sea green" "$tempSlave.eyebrowHColor" "_hcol5R" "#hcol5">>
<<setVar "green-yellow" "$tempSlave.eyebrowHColor" "_hcol5R" "#hcol5">>
<<setVar "dark blue" "$tempSlave.eyebrowHColor" "_hcol5R" "#hcol5">>
<br>
<</replace>>
<<else>>
<<replace "#hcol5">>
<<set _hcol5R = 0>>
<</replace>>
<</if>>
<</link>>
<span id=hcol5></span>
<br>Custom eyebrow color: <<textbox "$tempSlave.eyebrowHColor" $tempSlave.eyebrowHColor>>
<br>
''Eyebrow Hair Style: (@@.yellow;$tempSlave.eyebrowHStyle@@)''
<<radiobutton "$tempSlave.eyebrowHStyle" "bald">> Bald
<<radiobutton "$tempSlave.eyebrowHStyle" "shaved">> Shaved
<<radiobutton "$tempSlave.eyebrowHStyle" "natural">> Natural
<<radiobutton "$tempSlave.eyebrowHStyle" "rounded">> Rounded
<<radiobutton "$tempSlave.eyebrowHStyle" "straight">> Straight
<<radiobutton "$tempSlave.eyebrowHStyle" "high-arched">> High-Arched
<<radiobutton "$tempSlave.eyebrowHStyle" "curved">> Curved
<<radiobutton "$tempSlave.eyebrowHStyle" "slanted inwards">> Slanted Inwards
<<radiobutton "$tempSlave.eyebrowHStyle" "slanted outwards">> Slanted Outwards
<<radiobutton "$tempSlave.eyebrowHStyle" "elongated">> Elongated
<<radiobutton "$tempSlave.eyebrowHStyle" "shortened">> Shortened
<br>
''Eyebrow Hair Shape: (@@.yellow;$tempSlave.eyebrowFullness@@)''
<<radiobutton "$tempSlave.eyebrowFullness" "pencil-thin">> Pencil-Thin
<<radiobutton "$tempSlave.eyebrowFullness" "thin">> Thin
<<radiobutton "$tempSlave.eyebrowFullness" "threaded">> Threaded
<<radiobutton "$tempSlave.eyebrowFullness" "natural">> Natural
<<radiobutton "$tempSlave.eyebrowFullness" "tapered">> Tapered
<<radiobutton "$tempSlave.eyebrowFullness" "thick">> Thick
<<radiobutton "$tempSlave.eyebrowFullness" "bushy">> Bushy
<br>
''$His pubic hair is @@.yellow;$tempSlave.pubicHColor@@ in color''
<<link "Hair Colors">>
<<if (ndef _hcol3R) || (_hcol3R == 0) >>
<<replace "#hcol3">>
<<set _hcol3R = 1>>
<br>
<<setVar "blonde" "$tempSlave.pubicHColor" "_hcol3R" "#hcol3">>
<<setVar "golden" "$tempSlave.pubicHColor" "_hcol3R" "#hcol3">>
<<setVar "platinum blonde" "$tempSlave.pubicHColor" "_hcol3R" "#hcol3">>
<<setVar "strawberry-blonde" "$tempSlave.pubicHColor" "_hcol3R" "#hcol3">>
<<setVar "copper" "$tempSlave.pubicHColor" "_hcol3R" "#hcol3">>
<<setVar "ginger" "$tempSlave.pubicHColor" "_hcol3R" "#hcol3">>
<<setVar "red" "$tempSlave.pubicHColor" "_hcol3R" "#hcol3">>
<<setVar "green" "$tempSlave.pubicHColor" "_hcol3R" "#hcol3">>
<<setVar "pink" "$tempSlave.pubicHColor" "_hcol3R" "#hcol3">>
<<setVar "dark brown" "$tempSlave.pubicHColor" "_hcol3R" "#hcol3">>
<br>
<<setVar "brown" "$tempSlave.pubicHColor" "_hcol3R" "#hcol3">>
<<setVar "auburn" "$tempSlave.pubicHColor" "_hcol3R" "#hcol3">>
<<setVar "burgundy" "$tempSlave.pubicHColor" "_hcol3R" "#hcol3">>
<<setVar "chocolate brown" "$tempSlave.pubicHColor" "_hcol3R" "#hcol3">>
<<setVar "chestnut" "$tempSlave.pubicHColor" "_hcol3R" "#hcol3">>
<<setVar "hazel" "$tempSlave.pubicHColor" "_hcol3R" "#hcol3">>
<<setVar "jet black" "$tempSlave.pubicHColor" "_hcol3R" "#hcol3">>
<<setVar "black" "$tempSlave.pubicHColor" "_hcol3R" "#hcol3">>
<<setVar "grey" "$tempSlave.pubicHColor" "_hcol3R" "#hcol3">>
<<setVar "silver" "$tempSlave.pubicHColor" "_hcol3R" "#hcol3">>
<<setVar "white" "$tempSlave.pubicHColor" "_hcol3R" "#hcol3">>
<<setVar "blue-violet" "$tempSlave.pubicHColor" "_hcol3R" "#hcol3">>
<<setVar "purple" "$tempSlave.pubicHColor" "_hcol3R" "#hcol3">>
<<setVar "dark orchid" "$tempSlave.pubicHColor" "_hcol3R" "#hcol3">>
<<setVar "sea green" "$tempSlave.pubicHColor" "_hcol3R" "#hcol3">>
<<setVar "green-yellow" "$tempSlave.pubicHColor" "_hcol3R" "#hcol3">>
<<setVar "dark blue" "$tempSlave.pubicHColor" "_hcol3R" "#hcol3">>
<br>
<</replace>>
<<else>>
<<replace "#hcol3">>
<<set _hcol3R = 0>>
<</replace>>
<</if>>
<</link>>
<span id=hcol3></span>
<br>Custom pubic hair color: <<textbox "$tempSlave.pubicHColor" $tempSlave.pubicHColor>>
<br>
''Pubic Hair Style: (@@.yellow;$tempSlave.pubicHStyle@@)''
<<radiobutton "$tempSlave.pubicHStyle" "bald">> Not able to grow
<<radiobutton "$tempSlave.pubicHStyle" "hairless">> Hairless
<<radiobutton "$tempSlave.pubicHStyle" "waxed">> Waxed
<<radiobutton "$tempSlave.pubicHStyle" "in a strip">> Strip
<<radiobutton "$tempSlave.pubicHStyle" "neat">> Neat
<<radiobutton "$tempSlave.pubicHStyle" "bushy">> Bushy
<<radiobutton "$tempSlave.pubicHStyle" "very bushy">> Very Bushy
<br>
''$His underarm hair is @@.yellow;$tempSlave.underArmHColor@@ in color''
<<link "Hair Colors">>
<<if (ndef _hcol4R) || (_hcol4R == 0) >>
<<replace "#hcol4">>
<<set _hcol4R = 1>>
<br>
<<setVar "blonde" "$tempSlave.underArmHColor" "_hcol4R" "#hcol4">>
<<setVar "golden" "$tempSlave.underArmHColor" "_hcol4R" "#hcol4">>
<<setVar "platinum blonde" "$tempSlave.underArmHColor" "_hcol4R" "#hcol4">>
<<setVar "strawberry-blonde" "$tempSlave.underArmHColor" "_hcol4R" "#hcol4">>
<<setVar "copper" "$tempSlave.underArmHColor" "_hcol4R" "#hcol4">>
<<setVar "ginger" "$tempSlave.underArmHColor" "_hcol4R" "#hcol4">>
<<setVar "red" "$tempSlave.underArmHColor" "_hcol4R" "#hcol4">>
<<setVar "green" "$tempSlave.underArmHColor" "_hcol4R" "#hcol4">>
<<setVar "pink" "$tempSlave.underArmHColor" "_hcol4R" "#hcol4">>
<<setVar "dark brown" "$tempSlave.underArmHColor" "_hcol4R" "#hcol4">>
<br>
<<setVar "brown" "$tempSlave.underArmHColor" "_hcol4R" "#hcol4">>
<<setVar "auburn" "$tempSlave.underArmHColor" "_hcol4R" "#hcol4">>
<<setVar "burgundy" "$tempSlave.underArmHColor" "_hcol4R" "#hcol4">>
<<setVar "chocolate brown" "$tempSlave.underArmHColor" "_hcol4R" "#hcol4">>
<<setVar "chestnut" "$tempSlave.underArmHColor" "_hcol4R" "#hcol4">>
<<setVar "hazel" "$tempSlave.underArmHColor" "_hcol4R" "#hcol4">>
<<setVar "jet black" "$tempSlave.underArmHColor" "_hcol4R" "#hcol4">>
<<setVar "black" "$tempSlave.underArmHColor" "_hcol4R" "#hcol4">>
<<setVar "grey" "$tempSlave.underArmHColor" "_hcol4R" "#hcol4">>
<<setVar "silver" "$tempSlave.underArmHColor" "_hcol4R" "#hcol4">>
<<setVar "white" "$tempSlave.underArmHColor" "_hcol4R" "#hcol4">>
<<setVar "blue-violet" "$tempSlave.underArmHColor" "_hcol4R" "#hcol4">>
<<setVar "purple" "$tempSlave.underArmHColor" "_hcol4R" "#hcol4">>
<<setVar "dark orchid" "$tempSlave.underArmHColor" "_hcol4R" "#hcol4">>
<<setVar "sea green" "$tempSlave.underArmHColor" "_hcol4R" "#hcol4">>
<<setVar "green-yellow" "$tempSlave.underArmHColor" "_hcol4R" "#hcol4">>
<<setVar "dark blue" "$tempSlave.underArmHColor" "_hcol4R" "#hcol4">>
<br>
<</replace>>
<<else>>
<<replace "#hcol4">>
<<set _hcol4R = 0>>
<</replace>>
<</if>>
<</link>>
<span id=hcol4></span>
<br>Custom underarm hair color: <<textbox "$tempSlave.underArmHColor" $tempSlave.underArmHColor>>
<br>
''Underarm Hairstyle: (@@.yellow;$tempSlave.underArmHStyle@@)''
<<radiobutton "$tempSlave.underArmHStyle" "bald">> Not able to grow
<<radiobutton "$tempSlave.underArmHStyle" "hairless">> Hairless
<<radiobutton "$tempSlave.underArmHStyle" "waxed">> Waxed
<<radiobutton "$tempSlave.underArmHStyle" "in a strip">> Strip
<<radiobutton "$tempSlave.underArmHStyle" "neat">> Neat
<<radiobutton "$tempSlave.underArmHStyle" "bushy">> Bushy
<br>
<</widget>>
<<widget EyesTab>>
<br>
''Right Eye: ''<br>
<<if $tempSlave.eye.right == null>>''There is no right eye''<br>
<<link "[Add a new Eye]">>
<<replace "#spot">>
<<set $tempSlave.eye.right = {iris: $tempSlave.eye.origColor, pupil: "circular", sclera: "white", type: 1, vision: 2}>>
<<set _ecol1RR = 0>><<set _ecol1RL = 0>><<set _ecol2R = 0>><<set _ppilRR = 0>><<set _ppilRL = 0>><<set _sclrRR = 0>><<set _sclrRL = 0>>
<<set _eyesR = 0>>
<</replace>>
<</link>><br><br>
<<else>>
''$His right eye is currently @@.yellow;$tempSlave.eye.right.iris@@ in color''
<<link "Eye Colors">>
<<if (ndef _ecol1RR) || (_ecol1RR == 0) >>
<<replace "#ecol1RR">>
<<set _ecol1RR = 1>>
<br>
<<setVar "blue" "$tempSlave.eye.right.iris" "_ecolRR" "#ecol1RR">>
<<setVar "black" "$tempSlave.eye.right.iris" "_ecolRR" "#ecol1RR">>
<<setVar "brown" "$tempSlave.eye.right.iris" "_ecolRR" "#ecol1RR">>
<<setVar "green" "$tempSlave.eye.right.iris" "_ecolRR" "#ecol1RR">>
<<setVar "turquoise" "$tempSlave.eye.right.iris" "_ecolRR" "#ecol1RR">>
<<setVar "sky-blue" "$tempSlave.eye.right.iris" "_ecolRR" "#ecol1RR">>
<<setVar "hazel" "$tempSlave.eye.right.iris" "_ecolRR" "#ecol1RR">>
<<setVar "pale-grey" "$tempSlave.eye.right.iris" "_ecolRR" "#ecol1RR">>
<<setVar "white" "$tempSlave.eye.right.iris" "_ecolRR" "#ecol1RR">>
<<setVar "pink" "$tempSlave.eye.right.iris" "_ecolRR" "#ecol1RR">>
<<setVar "amber" "$tempSlave.eye.right.iris" "_ecolRR" "#ecol1RR">>
<<setVar "red" "$tempSlave.eye.right.iris" "_ecolRR" "#ecol1RR">>
<</replace>>
<<else>>
<<replace "#ecol1RR">>
<<set _ecol1RR = 0>>
<</replace>>
<</if>>
<</link>>
<span id=ecol1RR></span>
<br>Custom eye color: <<textbox "$tempSlave.eye.right.iris" $tempSlave.eye.right.iris>>
<br>
''$His right pupil is @@.yellow;$tempSlave.eye.right.pupil@@ in shape''
<<link "Pupil Shape">>
<<if (ndef _ppilRR) || (_ppilRR == 0) >>
<<replace "#ppilRR">>
<<set _ppilRR = 1>>
<br>
<<setVar "circular" "$tempSlave.eye.right.pupil" "_ppilRR" "#ppilRR">>
<<setVar "catlike" "$tempSlave.eye.right.pupil" "_ppilRR" "#ppilRR">>
<<setVar "serpent-like" "$tempSlave.eye.right.pupil" "_ppilRR" "#ppilRR">>
<<setVar "devilish" "$tempSlave.eye.right.pupil" "_ppilRR" "#ppilRR">>
<<setVar "demonic" "$tempSlave.eye.right.pupil" "_ppilRR" "#ppilRR">>
<<setVar "hypnotic" "$tempSlave.eye.right.pupil" "_ppilRR" "#ppilRR">>
<<setVar "heart-shaped" "$tempSlave.eye.right.pupil" "_ppilRR" "#ppilRR">>
<<setVar "wide-eyed" "$tempSlave.eye.right.pupil" "_ppilRR" "#ppilRR">>
<<setVar "almond-shaped" "$tempSlave.eye.right.pupil" "_ppilRR" "#ppilRR">>
<<setVar "bright" "$tempSlave.eye.right.pupil" "_ppilRR" "#ppilRR">>
<<setVar "teary" "$tempSlave.eye.right.pupil" "_ppilRR" "#ppilRR">>
<<setVar "vacant" "$tempSlave.eye.right.pupil" "_ppilRR" "#ppilRR">>
<<setVar "star-shaped" "$tempSlave.eye.right.pupil" "_ppilRR" "#ppilRR">>
<<setVar "goat-like" "$tempSlave.eye.right.pupil" "_ppilRR" "#ppilRR">>
<</replace>>
<<else>>
<<replace "#ppilRR">>
<<set _ppilRR = 0>>
<</replace>>
<</if>>
<</link>>
<span id=ppilRR></span>
<br>Custom pupil shape: <<textbox "$tempSlave.eye.right.pupil" $tempSlave.eye.right.pupil>>
<br>
''$His right sclera is @@.yellow;$tempSlave.eye.right.sclera@@ in color''
<<link "Sclera Colors">>
<<if (ndef _sclrRR) || (_sclrRR == 0) >>
<<replace "#sclrRR">>
<<set _sclrRR = 1>>
<br>
<<setVar "white" "$tempSlave.eye.right.sclera" "_sclrRR" "#sclrRR">>
<<setVar "blue" "$tempSlave.eye.right.sclera" "_sclrRR" "#sclrRR">>
<<setVar "black" "$tempSlave.eye.right.sclera" "_sclrRR" "#sclrRR">>
<<setVar "brown" "$tempSlave.eye.right.sclera" "_sclrRR" "#sclrRR">>
<<setVar "green" "$tempSlave.eye.right.sclera" "_sclrRR" "#sclrRR">>
<<setVar "turquoise" "$tempSlave.eye.right.sclera" "_sclrRR" "#sclrRR">>
<<setVar "sky-blue" "$tempSlave.eye.right.sclera" "_sclrRR" "#sclrRR">>
<<setVar "hazel" "$tempSlave.eye.right.iris" "_ecolRR" "#ecol1RR">>
<<setVar "pale-grey" "$tempSlave.eye.right.sclera" "_sclrRR" "#sclrRR">>
<<setVar "pink" "$tempSlave.eye.right.sclera" "_sclrRR" "#sclrRR">>
<<setVar "amber" "$tempSlave.eye.right.sclera" "_sclrRR" "#sclrRR">>
<<setVar "red" "$tempSlave.eye.right.sclera" "_sclrRR" "#sclrRR">>
<<setVar "yellow" "$tempSlave.eye.right.sclera" "_sclrRR" "#sclrRR">>
<<setVar "orange" "$tempSlave.eye.right.sclera" "_sclrRR" "#sclrRR">>
<</replace>>
<<else>>
<<replace "#sclrRR">>
<<set _sclrRR = 0>>
<</replace>>
<</if>>
<</link>>
<span id=sclrRR></span>
<br>Custom sclera color: <<textbox "$tempSlave.eye.right.sclera" $tempSlave.eye.right.sclera>>
<br><br>
''$His vision on the right eye is :''
<<switch $tempSlave.eye.right.vision>>
<<case 0>>@@.yellow;Blind@@
<<case 1>>@@.yellow;Nearsighted@@
<<case 2>>@@.yellow;Normal@@
<</switch>>
<br>
<<radiobutton "$tempSlave.eye.right.vision" 2>> Normal
<<radiobutton "$tempSlave.eye.right.vision" 1>> Nearsighted
<<radiobutton "$tempSlave.eye.right.vision" 0>> Blind
<br>
''$He has a ''
<<if $tempSlave.eye.right.type == 1>>@@.yellow;normal@@
<<elseif $tempSlave.eye.right.type == 2>>@@.yellow;glass@@
<<else>>@@.yellow;cybernetic@@
<</if>> right eye.
<br>
<<radiobutton "$tempSlave.eye.right.type" 1>> Normal
<<radiobutton "$tempSlave.eye.right.type" 2>> Glass
<<radiobutton "$tempSlave.eye.right.type" 3>> Cybernetic
<br>
<<link "[Remove the eye]">>
<<replace "#spot">>
<<set $tempSlave.eye.right = null>>
<<set _ecol1RR = 0>><<set _ecol1RL = 0>><<set _ecol2R = 0>><<set _ppilRR = 0>><<set _ppilRL = 0>><<set _sclrRR = 0>><<set _sclrRL = 0>>
<<set _eyesR = 0>>
<</replace>>
<</link>>
<br><br><</if>>
''Left Eye: '' <br>
<<if $tempSlave.eye.left == null>>''There is no left eye''<br>
<<link "[Add a new Eye]">>
<<replace "#spot">>
<<set $tempSlave.eye.left = {iris: $tempSlave.eye.origColor, pupil: "circular", sclera: "white", type: 1, vision: 2}>>
<<set _ecol1RR = 0>><<set _ecol1RL = 0>><<set _ecol2R = 0>><<set _ppilRR = 0>><<set _ppilRL = 0>><<set _sclrRR = 0>><<set _sclrRL = 0>>
<<set _eyesR = 0>>
<</replace>>
<</link>><br>
<br><br>
<<else>>
''$His left eye is currently @@.yellow;$tempSlave.eye.left.iris@@ in color''
<<link "Eye Colors">>
<<if (ndef _ecol1RL) || (_ecol1RL == 0) >>
<<replace "#ecol1RL">>
<<set _ecol1RL = 1>>
<br>
<<setVar "blue" "$tempSlave.eye.left.iris" "_ecol1RL" "#ecol1RL">>
<<setVar "black" "$tempSlave.eye.left.iris" "_ecol1RL" "#ecol1RL">>
<<setVar "brown" "$tempSlave.eye.left.iris" "_ecol1RL" "#ecol1RL">>
<<setVar "green" "$tempSlave.eye.left.iris" "_ecol1RL" "#ecol1RL">>
<<setVar "turquoise" "$tempSlave.eye.left.iris" "_ecol1RL" "#ecol1RL">>
<<setVar "sky-blue" "$tempSlave.eye.left.iris" "_ecol1RL" "#ecol1RL">>
<<setVar "hazel" "$tempSlave.eye.left.iris" "_ecol1RL" "#ecol1RL">>
<<setVar "pale-grey" "$tempSlave.eye.left.iris" "_ecol1RL" "#ecol1RL">>
<<setVar "white" "$tempSlave.eye.left.iris" "_ecol1RL" "#ecol1RL">>
<<setVar "pink" "$tempSlave.eye.left.iris" "_ecol1RL" "#ecol1RL">>
<<setVar "amber" "$tempSlave.eye.left.iris" "_ecol1RL" "#ecol1RL">>
<<setVar "red" "$tempSlave.eye.left.iris" "_ecol1RL" "#ecol1RL">>
<</replace>>
<<else>>
<<replace "#ecol1RL">>
<<set _ecol1RL = 0>>
<</replace>>
<</if>>
<</link>>
<span id=ecol1RL></span>
<br>Custom eye color: <<textbox "$tempSlave.eye.left.iris" $tempSlave.eye.left.iris>>
<br>
''$His left pupil is @@.yellow;$tempSlave.eye.left.pupil@@ in shape''
<<link "Pupil Shape">>
<<if (ndef _ppilRL) || (_ppilRL == 0) >>
<<replace "#ppilRL">>
<<set _ppilRL = 1>>
<br>
<<setVar "circular" "$tempSlave.eye.left.pupil" "_ppilRL" "#ppilRL">>
<<setVar "catlike" "$tempSlave.eye.left.pupil" "_ppilRL" "#ppilRL">>
<<setVar "serpent-like" "$tempSlave.eye.left.pupil" "_ppilRL" "#ppilRL">>
<<setVar "devilish" "$tempSlave.eye.left.pupil" "_ppilRL" "#ppilRL">>
<<setVar "demonic" "$tempSlave.eye.left.pupil" "_ppilRL" "#ppilRL">>
<<setVar "hypnotic" "$tempSlave.eye.left.pupil" "_ppilRL" "#ppilRL">>
<<setVar "heart-shaped" "$tempSlave.eye.left.pupil" "_ppilRL" "#ppilRL">>
<<setVar "wide-eyed" "$tempSlave.eye.left.pupil" "_ppilRL" "#ppilRL">>
<<setVar "almond-shaped" "$tempSlave.eye.left.pupil" "_ppilRL" "#ppilRL">>
<<setVar "bright" "$tempSlave.eye.left.pupil" "_ppilRL" "#ppilRL">>
<<setVar "teary" "$tempSlave.eye.left.pupil" "_ppilRL" "#ppilRL">>
<<setVar "vacant" "$tempSlave.eye.left.pupil" "_ppilRL" "#ppilRL">>
<<setVar "star-shaped" "$tempSlave.eye.left.pupil" "_ppilRL" "#ppilRL">>
<<setVar "goat-like" "$tempSlave.eye.left.pupil" "_ppilRL" "#ppilRL">>
<</replace>>
<<else>>
<<replace "#ppilRL">>
<<set _ppilRL = 0>>
<</replace>>
<</if>>
<</link>>
<span id=ppilRL></span>
<br>Custom pupil shape: <<textbox "$tempSlave.eye.left.pupil" $tempSlave.eye.left.pupil>>
<br>
''$His left sclerae is @@.yellow;$tempSlave.eye.left.sclera@@ in color''
<<link "Sclera Colors">>
<<if (ndef _sclrRL) || (_sclrRL == 0) >>
<<replace "#sclrRL">>
<<set _sclrRL = 1>>
<br>
<<setVar "white" "$tempSlave.eye.left.sclera" "_sclrRL" "#sclrRL">>
<<setVar "blue" "$tempSlave.eye.left.sclera" "_sclrRL" "#sclrRL">>
<<setVar "black" "$tempSlave.eye.left.sclera" "_sclrRL" "#sclrRL">>
<<setVar "brown" "$tempSlave.eye.left.sclera" "_sclrRL" "#sclrRL">>
<<setVar "green" "$tempSlave.eye.left.sclera" "_sclrRL" "#sclrRL">>
<<setVar "turquoise" "$tempSlave.eye.left.sclera" "_sclrRL" "#sclrRL">>
<<setVar "sky-blue" "$tempSlave.eye.left.sclera" "_sclrRL" "#sclrRL">>
<<setVar "pale-grey" "$tempSlave.eye.left.sclera" "_sclrRL" "#sclrRL">>
<<setVar "pink" "$tempSlave.eye.left.sclera" "_sclrRL" "#sclrRL">>
<<setVar "amber" "$tempSlave.eye.left.sclera" "_sclrRL" "#sclrRL">>
<<setVar "red" "$tempSlave.eye.left.sclera" "_sclrRL" "#sclrRL">>
<<setVar "yellow" "$tempSlave.eye.left.sclera" "_sclrRL" "#sclrRL">>
<<setVar "orange" "$tempSlave.eye.left.sclera" "_sclrRL" "#sclrRL">>
<</replace>>
<<else>>
<<replace "#sclrRL">>
<<set _sclrRL = 0>>
<</replace>>
<</if>>
<</link>>
<span id=sclrRL></span>
<br>Custom sclera color: <<textbox "$tempSlave.eye.left.sclera" $tempSlave.eye.left.sclera>>
<br><br>
''$His vision on the left eye is :''
<<switch $tempSlave.eye.left.vision>>
<<case 0>>@@.yellow;Blind@@
<<case 1>>@@.yellow;Nearsighted@@
<<case 2>>@@.yellow;Normal@@
<</switch>>
<br>
<<radiobutton "$tempSlave.eye.left.vision" 2>> Normal
<<radiobutton "$tempSlave.eye.left.vision" 1>> Nearsighted
<<radiobutton "$tempSlave.eye.left.vision" 0>> Blind
<br>
''$He has a ''
<<if $tempSlave.eye.left.type == 1>>@@.yellow;normal@@
<<elseif $tempSlave.eye.left.type == 2>>@@.yellow;glass@@
<<else>>@@.yellow;cybernetic@@
<</if>> left eye.
<br>
<<radiobutton "$tempSlave.eye.left.type" 1>> Normal
<<radiobutton "$tempSlave.eye.left.type" 2>> Glass
<<radiobutton "$tempSlave.eye.left.type" 3>> Cybernetic
<br>
<<link "[Remove the eye]">>
<<replace "#spot">>
<<set $tempSlave.eye.left = null>>
<<set _ecol1RR = 0>><<set _ecol1RL = 0>><<set _ecol2R = 0>><<set _ppilRR = 0>><<set _ppilRL = 0>><<set _sclrRR = 0>><<set _sclrRL = 0>>
<<set _eyesR = 0>>
<</replace>>
<</link>>
<br><br>
<</if>>
''$His original eye color is @@.yellow;$tempSlave.eye.origColor@@''
<<link "Eye Colors">>
<<if (ndef _ecol2R) || (_ecol2R == 0) >>
<<replace "#ecol2">>
<<set _ecol2R = 1>>
<br>
<<setVar "blue" "$tempSlave.eye.origColor" "_ecol2R" "#ecol2">>
<<setVar "black" "$tempSlave.eye.origColor" "_ecol2R" "#ecol2">>
<<setVar "brown" "$tempSlave.eye.origColor" "_ecol2R" "#ecol2">>
<<setVar "green" "$tempSlave.eye.origColor" "_ecol2R" "#ecol2">>
<<setVar "turquoise" "$tempSlave.eye.origColor" "_ecol2R" "#ecol2">>
<<setVar "sky-blue" "$tempSlave.eye.origColor" "_ecol2R" "#ecol2">>
<<setVar "hazel" "$tempSlave.eye.origColor" "_ecol2R" "#ecol2">>
<<setVar "pale-grey" "$tempSlave.eye.origColor" "_ecol2R" "#ecol2">>
<<setVar "white" "$tempSlave.eye.origColor" "_ecol2R" "#ecol2">>
<<setVar "pink" "$tempSlave.eye.origColor" "_ecol2R" "#ecol2">>
<<setVar "amber" "$tempSlave.eye.origColor" "_ecol2R" "#ecol2">>
<<setVar "red" "$tempSlave.eye.origColor" "_ecol2R" "#ecol2">>
<</replace>>
<<else>>
<<replace "#ecol2">>
<<set _ecol2R = 0>>
<</replace>>
<</if>>
<</link>>
<span id=ecol2></span>
<br>Custom eye color: <<textbox "$tempSlave.eye.origColor" $tempSlave.eye.origColor>>
<br><br>
<</widget>>
<<widget MouthTab>>
<br>
''Lips (0 to 100): ''
<<if $tempSlave.lips >= 96>> @@.yellow;Enormous facepussy@@
<<elseif $tempSlave.lips >= 71 >>@@.yellow;Huge@@
<<elseif $tempSlave.lips >= 41 >>@@.yellow;Plush@@
<<elseif $tempSlave.lips >= 21 >>@@.yellow;Pretty@@
<<elseif $tempSlave.lips >= 11 >>@@.yellow;Normal@@
<<else>>@@.yellow;Thin@@
<</if>>
<<textbox "$tempSlave.lips" $tempSlave.lips>>
<br>
<<radiobutton "$tempSlave.lips" 5>> Thin
<<radiobutton "$tempSlave.lips" 15>> Normal
<<radiobutton "$tempSlave.lips" 30>> Pretty
<<radiobutton "$tempSlave.lips" 55>> Plush
<<radiobutton "$tempSlave.lips" 85>> Huge
<<radiobutton "$tempSlave.lips" 100>> Enormous facepussy
<br>
''Lip Implants (0 to 30): ''
<<switch $tempSlave.lipsImplant >>
<<case 0>> @@.yellow;None@@ |
<<case 10>>@@.yellow;Normal@@ |
<<case 20>>@@.yellow;Large@@ |
<<case 30>>@@.yellow;Enormous@@ |
<</switch>>
<<radiobutton "$tempSlave.lipsImplant" 0>> None
<<radiobutton "$tempSlave.lipsImplant" 10>> Normal
<<radiobutton "$tempSlave.lipsImplant" 20>> Large
<<radiobutton "$tempSlave.lipsImplant" 30>> Enormous
<br><br>
''Teeth: @@.yellow;$tempSlave.teeth@@ ''
<br>
<<if $tempSlave.physicalAge >= 12>>
<<radiobutton "$tempSlave.teeth" "normal">> Normal
<<elseif $tempSlave.physicalAge >= 6>>
<<radiobutton "$tempSlave.teeth" "mixed">> Mixed
<<else>>
<<radiobutton "$tempSlave.teeth" "baby">> Baby
<</if>>
<<radiobutton "$tempSlave.teeth" "pointy">> Pointy
<<radiobutton "$tempSlave.teeth" "fangs">> Fangs
<<radiobutton "$tempSlave.teeth" "fang">> Fang
<<radiobutton "$tempSlave.teeth" "crooked">> Crooked
<<radiobutton "$tempSlave.teeth" "gapped">> Gapped
<<radiobutton "$tempSlave.teeth" "straightening braces">> Straightening Braces
<<radiobutton "$tempSlave.teeth" "cosmetic braces">> Cosmetic Braces
<<radiobutton "$tempSlave.teeth" "removable">> Removable
<br><br>
''Voice : ''
<<switch $tempSlave.voice>>
<<case 0>>@@.yellow;Mute@@
<<case 1>>@@.yellow;Deep@@
<<case 2>>@@.yellow;Normal@@
<<case 3>>@@.yellow;High@@
<</switch>>
<br>
<<radiobutton "$tempSlave.voice" 0>> Mute
<<radiobutton "$tempSlave.voice" 1>> Deep
<<radiobutton "$tempSlave.voice" 2>> Normal
<<radiobutton "$tempSlave.voice" 3>> High
<br>
''Accent: ''
<<if $tempSlave.accent == 0>>@@.yellow;None@@
<<elseif $tempSlave.accent == 1>>@@.yellow;Distinctive@@
<<elseif $tempSlave.accent == 2>>@@.yellow;Thick@@
<<else>>@@.yellow;Barely Understands Language@@<</if>>
<br>
<<radiobutton "$tempSlave.accent" 0>> None
<<radiobutton "$tempSlave.accent" 1>> Distinctive
<<radiobutton "$tempSlave.accent" 2>> Thick
<<radiobutton "$tempSlave.accent" 3>> Barely Understands Language
<br>
''Voice Implant: ''
<<if $tempSlave.voiceImplant == -1>>@@.yellow;Low@@
<<elseif $tempSlave.voiceImplant == 0>>@@.yellow;None@@
<<else>>@@.yellow;High@@
<</if>>
<br>
<<radiobutton "$tempSlave.voiceImplant" 0>> None
<<radiobutton "$tempSlave.voiceImplant" 1>> High
<<radiobutton "$tempSlave.voiceImplant" -1>> Low
<br>
''Cybernetic Voicebox: ''
<<if $tempSlave.electrolarynx == 0>>@@.yellow;None@@
<<else>>@@.yellow;Implanted@@
<</if>>
<br>
<<radiobutton "$tempSlave.electrolarynx" 0>> None
<<radiobutton "$tempSlave.electrolarynx" 1>> Implanted
<br><br>
''Sense of Taste: ''
<<switch $tempSlave.tastes>>
<<case 0>>@@.yellow;Normal@@
<<case -1>>@@.yellow;None@@
<</switch>>
<br>
<<radiobutton "$tempSlave.tastes" 0>> Normal
<<radiobutton "$tempSlave.tastes" -1>> None
<br>
<</widget>>
<<widget BodyTab>>
<br>
''Genes (XX:female, XY:male):'' @@.yellow;$tempSlave.genes@@
<<radiobutton "$tempSlave.genes" "XX">> Female
<<radiobutton "$tempSlave.genes" "XY">> Male
<br>
''Hormone Balance (<-400 to >+400): $tempSlave.hormoneBalance |''
<<textbox "$tempSlave.hormoneBalance" $tempSlave.hormoneBalance>>
<br>
<<radiobutton "$tempSlave.hormoneBalance" -400>> Overwhelmingly masculine
<<radiobutton "$tempSlave.hormoneBalance" -300>> Extremely masculine
<<radiobutton "$tempSlave.hormoneBalance" -200>> Heavily masculine
<<radiobutton "$tempSlave.hormoneBalance" -100>> Very masculine
<<radiobutton "$tempSlave.hormoneBalance" -20>> Masculine
<<radiobutton "$tempSlave.hormoneBalance" 0>> Neutral
<<radiobutton "$tempSlave.hormoneBalance" 20>> Feminine
<<radiobutton "$tempSlave.hormoneBalance" 100>> Very feminine
<<radiobutton "$tempSlave.hormoneBalance" 200>> Heavily feminine
<<radiobutton "$tempSlave.hormoneBalance" 300>> Extremely feminine
<<radiobutton "$tempSlave.hormoneBalance" 400>> Overwhelmingly feminine
<br><br>
''Prostetic limb interface:''
<<if $tempSlave.PLimb == 0>>@@.yellow;No Interface@@
<<elseif $tempSlave.PLimb == 1>>@@.yellow;Basic Interface@@
<<else>>@@.yellow;Advanced Interface@@<</if>>
<br>
<<radiobutton "$tempSlave.PLimb" 0>> No Interface
<<radiobutton "$tempSlave.PLimb" 1>> Basic Interface
<<radiobutton "$tempSlave.PLimb" 2>> Advanced Interface
<br>
''$Her left arm is currently: ''
<<if $tempSlave.arm.left == null>>
<<print "None">><br>
<<link "[add an arm]">>
<<replace "#spot">>
<<set $tempSlave.arm.left = {type: 1}>>
<<set _bodyR = 0>>
<</replace>>
<</link>>
<br>
<<else>>
<<switch $tempSlave.arm.left.type>>
<<case 1>>@@.yellow;Natural@@
<<case 2>>@@.yellow;Basic@@
<<case 3>>@@.yellow;Sex@@
<<case 4>>@@.yellow;Beauty@@
<<case 5>>@@.yellow;Combat@@
<<case 6>>@@.yellow;Cybernetic@@
<</switch>>
<br>
<<radiobutton "$tempSlave.arm.left.type" 1>> Natural
<<radiobutton "$tempSlave.arm.left.type" 2>> Basic
<<radiobutton "$tempSlave.arm.left.type" 3>> Sex
<<radiobutton "$tempSlave.arm.left.type" 4>> Beauty
<<radiobutton "$tempSlave.arm.left.type" 5>> Combat
<<radiobutton "$tempSlave.arm.left.type" 6>> Cybernetic
<br>
<<link "[Remove the arm]">>
<<replace "#spot">>
<<set $tempSlave.arm.left = null>>
<<set _bodyR = 0>>
<</replace>>
<</link>>
<br>
<</if>>
''$Her right arm is currently: ''
<<if $tempSlave.arm.right == null>>
<<print "None">><br>
<<link "[add an arm]">>
<<replace "#spot">>
<<set $tempSlave.arm.right = {type: 1}>>
<<set _bodyR = 0>>
<</replace>>
<</link>>
<br>
<<else>>
<<switch $tempSlave.arm.right.type>>
<<case 1>>@@.yellow;Natural@@
<<case 2>>@@.yellow;Basic@@
<<case 3>>@@.yellow;Sex@@
<<case 4>>@@.yellow;Beauty@@
<<case 5>>@@.yellow;Combat@@
<<case 6>>@@.yellow;Cybernetic@@
<</switch>>
<br>
<<radiobutton "$tempSlave.arm.right.type" 1>> Natural
<<radiobutton "$tempSlave.arm.right.type" 2>> Basic
<<radiobutton "$tempSlave.arm.right.type" 3>> Sex
<<radiobutton "$tempSlave.arm.right.type" 4>> Beauty
<<radiobutton "$tempSlave.arm.right.type" 5>> Combat
<<radiobutton "$tempSlave.arm.right.type" 6>> Cybernetic
<br>
<<link "[Remove the arm]">>
<<replace "#spot">>
<<set $tempSlave.arm.right = null >>
<<set _bodyR = 0>>
<</replace>>
<</link>>
<br>
<</if>>
''$Her left leg is currently: ''
<<if $tempSlave.leg.left == null>>
<<print "None">><br>
<<link "[add a leg]">>
<<replace "#spot">>
<<set $tempSlave.leg.left = {type: 1}>>
<<set _bodyR = 0>>
<</replace>>
<</link>>
<br>
<<else>>
<<switch $tempSlave.leg.left.type>>
<<case 1>>@@.yellow;Natural@@
<<case 2>>@@.yellow;Basic@@
<<case 3>>@@.yellow;Sex@@
<<case 4>>@@.yellow;Beauty@@
<<case 5>>@@.yellow;Combat@@
<<case 6>>@@.yellow;Cybernetic@@
<</switch>>
<br>
<<radiobutton "$tempSlave.leg.left.type" 1>> Natural
<<radiobutton "$tempSlave.leg.left.type" 2>> Basic
<<radiobutton "$tempSlave.leg.left.type" 3>> Sex
<<radiobutton "$tempSlave.leg.left.type" 4>> Beauty
<<radiobutton "$tempSlave.leg.left.type" 5>> Combat
<<radiobutton "$tempSlave.leg.left.type" 6>> Cybernetic
<br>
<<link "[Remove the leg]">>
<<replace "#spot">>
<<set $tempSlave.leg.left = null >>
<<set _bodyR = 0>>
<</replace>>
<</link>>
<br>
<</if>>
''$Her right leg is currently: ''
<<if $tempSlave.leg.right == null>>
<<print "None">><br>
<<link "[add a leg]">>
<<replace "#spot">>
<<set $tempSlave.leg.right = {type: 1}>>
<<set _bodyR = 0>>
<</replace>>
<</link>>
<br>
<<else>>
<<switch $tempSlave.leg.right.type>>
<<case 1>>@@.yellow;Natural@@
<<case 2>>@@.yellow;Basic@@
<<case 3>>@@.yellow;Sex@@
<<case 4>>@@.yellow;Beauty@@
<<case 5>>@@.yellow;Combat@@
<<case 6>>@@.yellow;Cybernetic@@
<</switch>>
<br>
<<radiobutton "$tempSlave.leg.right.type" 1>> Natural
<<radiobutton "$tempSlave.leg.right.type" 2>> Basic
<<radiobutton "$tempSlave.leg.right.type" 3>> Sex
<<radiobutton "$tempSlave.leg.right.type" 4>> Beauty
<<radiobutton "$tempSlave.leg.right.type" 5>> Combat
<<radiobutton "$tempSlave.leg.right.type" 6>> Cybernetic
<br>
<<link "[Remove the leg]">>
<<replace "#spot">>
<<set $tempSlave.leg.right = null >>
<<set _bodyR = 0>>
<</replace>>
<</link>>
<br>
<</if>>
<br>
''Prostetic tail interface:''
<<if $tempSlave.PTail == 1>>@@.yellow;Installed@@
<<else>>@@.yellow;Not Installed@@<</if>>
<br>
<<radiobutton "$tempSlave.PTail" 0>> Not Installed
<<radiobutton "$tempSlave.PTail" 1>> Installed
<br>
''Tail currently installed: ''
<<switch $tempSlave.tail>>
<<case "none">>@@.yellow;No tail@@
<<case "mod">>@@.yellow;Modular@@
<<case "sex">>@@.yellow;Sex@@
<<case "combat">>@@.yellow;Combat@@
<</switch>>
<br>
<<radiobutton "$tempSlave.tail" "none">> None
<<radiobutton "$tempSlave.tail" "mod">> Modular
<<radiobutton "$tempSlave.tail" "combat">> Combat
<<radiobutton "$tempSlave.tail" "sex">> Pleasure
<br>
''Kemonomimi Tail Shape: ''
<<switch $tempSlave.tailShape>>
<<case "none">>@@.yellow;None@@
<<case "neko">>@@.yellow;Cat@@
<<case "inu">>@@.yellow;Dog@@
<<case "kit">>@@.yellow;Fox@@
<<case "kitsune">>@@.yellow;3 Tailed fox@@
<<case "tanuki">>@@.yellow;Tanuki@@
<<case "ushi">>@@.yellow;Bovine@@
<<case "usagi">>@@.yellow;Rabbit@@
<<case "risu">>@@.yellow;Squirrel@@
<<case "uma">>@@.yellow;Horse@@
<</switch>>
@@.yellow;$tempSlave.tailShape@@ ''
<br>
//Set current tail to Modular before changing this//
<<radiobutton "$tempSlave.tailShape" "none">> None
<<radiobutton "$tempSlave.tailShape" "neko">> Cat
<<radiobutton "$tempSlave.tailShape" "inu">> Dog
<<radiobutton "$tempSlave.tailShape" "kit">> Fox
<<radiobutton "$tempSlave.tailShape" "kitsune">> 3 Fox Tails
<<radiobutton "$tempSlave.tailShape" "tanuki">> Tanuki
<<radiobutton "$tempSlave.tailShape" "ushi">> Bovine
<<radiobutton "$tempSlave.tailShape" "usagi">> Rabbit
<<radiobutton "$tempSlave.tailShape" "risu">> Squirrel
<<radiobutton "$tempSlave.tailShape" "uma">> Horse
<br>
''Tail Color: ''@@.yellow;$tempSlave.tailColor@@<br>
<<textbox "$tempSlave.tailColor" $tempSlave.tailColor>>
<br><br>
''Fuckdoll: (0-100)''
<<if $tempSlave.fuckdoll < 15>>@@.yellow;Not a Fuckdoll@@
<<elseif $tempSlave.fuckdoll < 25>>@@.yellow;Barely a Fuckdoll@@
<<elseif $tempSlave.fuckdoll < 45>>@@.yellow;Slight Fuckdoll@@
<<elseif $tempSlave.fuckdoll < 65>>@@.yellow;Basic Fuckdoll@@
<<elseif $tempSlave.fuckdoll < 85>>@@.yellow;Intermediate Fuckdoll@@
<<elseif $tempSlave.fuckdoll < 100>>@@.yellow;Advanced Fuckdoll@@
<<else>>@@.yellow;Total Fuckdoll@@<</if>>
<<textbox "$tempSlave.fuckdoll" $tempSlave.fuckdoll>>
<br>
<<radiobutton "$tempSlave.fuckdoll" 0>> Not a Fuckdoll
<<radiobutton "$tempSlave.fuckdoll" 15>> Barely a Fuckdoll
<<radiobutton "$tempSlave.fuckdoll" 25>> Slight Fuckdoll
<<radiobutton "$tempSlave.fuckdoll" 45>> Basic Fuckdoll
<<radiobutton "$tempSlave.fuckdoll" 65>> Intermediate Fuckdoll
<<radiobutton "$tempSlave.fuckdoll" 85>> Advanced Fuckdoll
<<radiobutton "$tempSlave.fuckdoll" 100>> Total Fuckdoll
<br><br>
''Muscles (-100 to 100):''
<<if $tempSlave.muscles <= -96>>@@.yellow;Frail@@
<<elseif $tempSlave.muscles <= -31>>@@.yellow;Very Weak@@
<<elseif $tempSlave.muscles <= -6>>@@.yellow;Weak@@
<<elseif $tempSlave.muscles <= 5>>@@.yellow;None@@
<<elseif $tempSlave.muscles <= 30>>@@.yellow;Toned@@
<<elseif $tempSlave.muscles <= 50>>@@.yellow;Fit@@
<<elseif $tempSlave.muscles <= 95>>@@.yellow;Quite Muscular@@
<<else>>@@.yellow;Extremely Muscular@@ <</if>>
<<textbox "$tempSlave.muscles" $tempSlave.muscles>>
<br>
<<radiobutton "$tempSlave.muscles" -98>> Frail
<<radiobutton "$tempSlave.muscles" -63>> Very Weak
<<radiobutton "$tempSlave.muscles" -18>> Weak
<<radiobutton "$tempSlave.muscles" 0>> None
<<radiobutton "$tempSlave.muscles" 17>> Toned
<<radiobutton "$tempSlave.muscles" 40>> Fit
<<radiobutton "$tempSlave.muscles" 70>> Muscular
<<radiobutton "$tempSlave.muscles" 100>> Extremely Muscular
<br><br>
''Weight (-100 to 200):''
<<if $tempSlave.weight > 190 >>
@@.red;extremely obese@@
<<elseif $tempSlave.weight > 160 >>
@@.red;very obese@@
<<elseif $tempSlave.weight > 130 >>
@@.red;obese@@
<<elseif $tempSlave.weight > 95>>
@@.red;overweight@@
<<elseif $tempSlave.weight > 30>>
@@.red;chubby@@
<<elseif $tempSlave.weight > 10 >>
@@.yellow;pleasingly curvy@@
<<elseif $tempSlave.weight >= -10>>
@@.yellow;neither too fat nor too skinny@@
<<elseif $tempSlave.weight >= -30>>
@@.yellow;pleasingly thin@@
<<elseif $tempSlave.weight >= -95>>
@@.red;too skinny@@
<<else>>
@@.red;emaciated@@
<</if>>
<<textbox "$tempSlave.weight" $tempSlave.weight>>
<br>
<<radiobutton "$tempSlave.weight" -100>> Emaciated
<<radiobutton "$tempSlave.weight" -50>> Skinny
<<radiobutton "$tempSlave.weight" -20>> Thin
<<radiobutton "$tempSlave.weight" 0>> Average
<<radiobutton "$tempSlave.weight" 20>> Curvy
<<radiobutton "$tempSlave.weight" 60>> Chubby
<<radiobutton "$tempSlave.weight" 115>> Overweight
<<radiobutton "$tempSlave.weight" 145>> Obese
<<radiobutton "$tempSlave.weight" 175>> Very Obese
<<radiobutton "$tempSlave.weight" 200>> Extremely Obese
<br>
''Waist (Masculine:100 | Ugly:55 | Unattractive:15 | Average:0 | Feminine:-15 | hourglass:-55 | Absurd:-100): ''
<<if $tempSlave.waist > 95 >>
@@.red;Masculine@@ |
<<elseif $tempSlave.waist > 40 >>
@@.red;Ugly@@ |
<<elseif $tempSlave.waist > 10 >>
@@.red;Unattractive@@ |
<<elseif $tempSlave.waist >= -10>>
@@.yellow;Average@@ |
<<elseif $tempSlave.waist >= -40>>
@@.pink;Feminine@@ |
<<elseif $tempSlave.waist >= -95 >>
@@.pink;Hourglass@@ |
<<else>>
@@.pink;Absurd@@ |
<</if>>
<<textbox "$tempSlave.waist" $tempSlave.waist>>
<br>
<<radiobutton "$tempSlave.waist" 100>> Masculine
<<radiobutton "$tempSlave.waist" 55>> Ugly
<<radiobutton "$tempSlave.waist" 15>> Unattractive
<<radiobutton "$tempSlave.waist" 0>> Average
<<radiobutton "$tempSlave.waist" -15>> Feminine
<<radiobutton "$tempSlave.waist" -55>> Hourglass
<<radiobutton "$tempSlave.waist" -100>> Absurd
<br><br>
''Height:''
<<if $tempSlave.height <= 149>>@@.yellow;Petite@@
<<elseif $tempSlave.height <= 159>>@@.yellow;Short@@
<<elseif $tempSlave.height <= 169>>@@.yellow;Average@@
<<elseif $tempSlave.height <= 184>>@@.yellow;Tall@@
<<else>>@@.yellow;very Tall@@ <</if>>
<<textbox "$tempSlave.height" $tempSlave.height>>
<br>
(149 or lower: Petite, 150-159: Short, 160-169: Average, 170-184: Tall, 185 or higher: Very Tall)
<br>
''Height Implant (-1 to 1):''
<<if $tempSlave.heightImplant == -1>>@@.yellow;Artificially Shortened@@
<<elseif $tempSlave.heightImplant == 0>>@@.yellow;Normal@@
<<else>>@@.yellow;Artificially Lengthened@@<</if>>
<br>
<<radiobutton "$tempSlave.heightImplant" -1>> Artificially Shortened
<<radiobutton "$tempSlave.heightImplant" 0>> Normal
<<radiobutton "$tempSlave.heightImplant" 1>> Artificially Lengthened
<br>
''Shorten tendons:''
<<if $tempSlave.heels == 0>>
''@@.yellow;false@@''
<<checkbox "$tempSlave.heels" 0 1>>
<<else>>
''@@.yellow;true@@''
<<checkbox "$tempSlave.heels" 0 1 checked>>
<</if>>
<br><br>
''Shoulders (-2 to 2): ''
<<switch $tempSlave.shoulders>>
<<case -2>>@@.yellow;Very narrow@@
<<case -1>>@@.yellow;Narrow@@
<<case 0>>@@.yellow;Normal@@
<<case 1>>@@.yellow;Broad@@
<<case 2>>@@.yellow;Very broad@@
<</switch>>
<<radiobutton "$tempSlave.shoulders" -2>> Very narrow
<<radiobutton "$tempSlave.shoulders" -1>> Narrow
<<radiobutton "$tempSlave.shoulders" 0>> Normal
<<radiobutton "$tempSlave.shoulders" 1>> Broad
<<radiobutton "$tempSlave.shoulders" 2>> Very broad
<br>
''Shoulder Surgery (-2 to 2): ''
<<switch $tempSlave.shouldersImplant>>
<<case -2>>@@.yellow;Adv. Narrowed@@
<<case -1>>@@.yellow;Narrowed@@
<<case 0>>@@.yellow;None@@
<<case 1>>@@.yellow;Broadened@@
<<case 2>>@@.yellow;Adv. Broadened@@
<</switch>>
<<radiobutton "$tempSlave.shouldersImplant" -2>> Adv. Narrowed
<<radiobutton "$tempSlave.shouldersImplant" -1>> Narrowed
<<radiobutton "$tempSlave.shouldersImplant" 0>> None
<<radiobutton "$tempSlave.shouldersImplant" 1>> Broadened
<<radiobutton "$tempSlave.shouldersImplant" 2>> Adv. Broadened
<br>
''Hips (-2 to 3): ''
<<switch $tempSlave.hips>>
<<case -2>>@@.yellow;Very narrow@@
<<case -1>>@@.yellow;Narrow@@
<<case 0>>@@.yellow;Normal@@
<<case 1>>@@.yellow;Broad@@
<<case 2>>@@.yellow;Very broad@@
<<case 3>>@@.yellow;Unnaturally broad@@
<</switch>>
<<radiobutton "$tempSlave.hips" -2>> Very narrow
<<radiobutton "$tempSlave.hips" -1>> Narrow
<<radiobutton "$tempSlave.hips" 0>> Normal
<<radiobutton "$tempSlave.hips" 1>> Broad
<<radiobutton "$tempSlave.hips" 2>> Very broad
<<radiobutton "$tempSlave.hips" 3>> Unnaturally broad
<br>
''Hip Surgery(-2 to 2): ''
<<switch $tempSlave.hipsImplant>>
<<case -2>>@@.yellow;Adv. Narrowed@@
<<case -1>>@@.yellow;Narrowed@@
<<case 0>>@@.yellow;None@@
<<case 1>>@@.yellow;Broadened@@
<<case 2>>@@.yellow;Adv. Broadened@@
<</switch>>
<<radiobutton "$tempSlave.hipsImplant" -2>> Adv. Narrowed
<<radiobutton "$tempSlave.hipsImplant" -1>> Narrowed
<<radiobutton "$tempSlave.hipsImplant" 0>> None
<<radiobutton "$tempSlave.hipsImplant" 1>> Broadened
<<radiobutton "$tempSlave.hipsImplant" 2>> Adv. Broadened
<br>
<</widget>>
<<widget BellyTab>>
<br><br>
''Belly Implant( 0= No Implant, 1-700000 = Capacity of the Implant ):''
<<if $tempSlave.bellyImplant >= 300000>> @@.yellow;hyperpregnant@@
<<elseif $tempSlave.bellyImplant >= 150000>> @@.yellow;inhumanly pregnant@@
<<elseif $tempSlave.bellyImplant >= 15000>> @@.yellow;looks full term@@
<<elseif $tempSlave.bellyImplant >= 10000>> @@.yellow;looks hugely pregnant@@
<<elseif $tempSlave.bellyImplant >= 5000>> @@.yellow;looks pregnant@@
<<elseif $tempSlave.bellyImplant >= 1500>> @@.yellow;looks like early pregnancy@@
<<elseif $tempSlave.bellyImplant >= 0 >> @@.yellow;Implanted but unfilled@@
<<elseif $tempSlave.bellyImplant == 1 >> @@.yellow;No Implant@@
<</if>>
<br>
<<textbox "$tempSlave.bellyImplant" $tempSlave.bellyImplant>>
<br><br>
''Belly sagging:''@@.yellow;$tempSlave.bellySag@@ <br>
<<textbox "$tempSlave.bellySag" $tempSlave.bellySag>>
<br>
''Ruptured Internals:''
<<if $tempSlave.burst == 0>>
@@.yellow;false@@
<<checkbox "$tempSlave.burst" 0 1>>
<<else>>
@@.yellow;true@@
<<checkbox "$tempSlave.burst" 0 1 checked>>
<</if>>
<br><br>
<</widget>>
<<widget BreastsTab>>
<br>
''Breasts (200 to 50000):''
<<textbox "$tempSlave.boobs" $tempSlave.boobs>>
<br>
''Breast Implants:''
<<textbox "$tempSlave.boobsImplant" $tempSlave.boobsImplant>>
<br>
''Breast Implant Type: @@.yellow;$tempSlave.boobsImplantType@@''
<<radiobutton "$tempSlave.boobsImplantType" "none">> None
<<radiobutton "$tempSlave.boobsImplantType" "normal">> Normal
<<radiobutton "$tempSlave.boobsImplantType" "string">> String
<<radiobutton "$tempSlave.boobsImplantType" "fillable">> Fillable
<<radiobutton "$tempSlave.boobsImplantType" "advanced fillable">> Advanced Fillable
<<radiobutton "$tempSlave.boobsImplantType" "hyper fillable">> Hyper Fillable
<br>
''Lactation (none:0 | natural:1 | artificial:2):''
<<switch $tempSlave.lactation>>
<<case 0>>@@.yellow;None@@
<<case 1>>@@.yellow;Natural@@
<<case 2>>@@.yellow;Artificial@@
<</switch>>
<br>
<<radiobutton "$tempSlave.lactation" 0>> None
<<radiobutton "$tempSlave.lactation" 1>> Natural
<<radiobutton "$tempSlave.lactation" 2>> Artificial
<br>
''Lactation Adaptation (0 to 100): $tempSlave.lactationAdaptation |''
<<textbox "$tempSlave.lactationAdaptation" $tempSlave.lactationAdaptation>>
<br><br>
''Breast Shape: @@.yellow;$tempSlave.boobShape@@''
<br>
<<radiobutton "$tempSlave.boobShape" "normal">> Normal
<<radiobutton "$tempSlave.boobShape" "perky">> Perky
<<radiobutton "$tempSlave.boobShape" "torpedo-shaped">> Torpedo-Shaped
<<radiobutton "$tempSlave.boobShape" "wide-set">> Wide-Set
<<radiobutton "$tempSlave.boobShape" "downward-facing">> Downward-Facing
<<radiobutton "$tempSlave.boobShape" "saggy">> Saggy
<br>
''Nipples: @@.yellow;$tempSlave.nipples@@ |''
<<radiobutton "$tempSlave.nipples" "tiny">> Tiny
<<radiobutton "$tempSlave.nipples" "cute">> Cute
<<radiobutton "$tempSlave.nipples" "puffy">> Puffy
<<radiobutton "$tempSlave.nipples" "partially inverted">> Partially Inverted
<<radiobutton "$tempSlave.nipples" "inverted">> Inverted
<<radiobutton "$tempSlave.nipples" "huge">> Huge
<<radiobutton "$tempSlave.nipples" "fuckable">> Penetrable
<br>
''Areolae Size (Normal:0 to Huge:3): ''
<<switch $tempSlave.areolae>>
<<case 0>>@@.yellow;Normal@@
<<case 1>>@@.yellow;Large@@
<<case 2>>@@.yellow;Wide@@
<<case 3>>@@.yellow;Huge@@
<<case 4>>@@.yellow;Massive@@
<</switch>>
<br>
<<radiobutton "$tempSlave.areolae" 0>> Normal
<<radiobutton "$tempSlave.areolae" 1>> Large
<<radiobutton "$tempSlave.areolae" 2>> Wide
<<radiobutton "$tempSlave.areolae" 3>> Huge
<<radiobutton "$tempSlave.areolae" 4>> Massive
<br>
''Areolae Shape:''
<<textbox "$tempSlave.areolaeShape" $tempSlave.areolaeShape>>
<br>
<</widget>>
<<widget ButtTab>>
<br>
''Butt Size (1 to 7): ''
<<textbox "$tempSlave.butt" $tempSlave.butt>>
<br>
''Butt Implants (0,1,2,3): |
<<switch $tempSlave.buttImplant>>
<<case 0>>@@.yellow;None@@
<<case 1>>@@.yellow;Normal@@
<<case 2>>@@.yellow;Large@@
<<case 3>>@@.yellow;Huge@@
<</switch>>
<<radiobutton "$tempSlave.buttImplant" 0>> None
<<radiobutton "$tempSlave.buttImplant" 1>> Normal
<<radiobutton "$tempSlave.buttImplant" 2>> Large
<<radiobutton "$tempSlave.buttImplant" 3>> Huge
<br>
''Butt Implant Type: @@.yellow;$tempSlave.buttImplantType@@''
<<radiobutton "$tempSlave.buttImplantType" "None">> None
<<radiobutton "$tempSlave.buttImplantType" "normal">> Normal
<<radiobutton "$tempSlave.buttImplantType" "string">> String
<<radiobutton "$tempSlave.buttImplantType" "fillable">> Fillable
<<radiobutton "$tempSlave.buttImplantType" "advanced fillable">> Advanced Fillable
<<radiobutton "$tempSlave.buttImplantType" "hyper fillable">> Hyper Fillable
<br><br>
''Anus Size:''
<<if $tempSlave.anus == 0>>@@.lime;Virgin.@@
<<elseif $tempSlave.anus == 1>>@@.yellow;Normal@@.
<<elseif $tempSlave.anus == 2>>@@.yellow;Veteran@@.
<<else>>@@.yellow;Gaping@@.
<</if>>
<br>
<<radiobutton "$tempSlave.anus" 0>> Virgin
<<radiobutton "$tempSlave.anus" 1>> Normal
<<radiobutton "$tempSlave.anus" 2>> Veteran
<<radiobutton "$tempSlave.anus" 3>> Gaping
<br>
<</widget>>
<<widget VagTab>>
<br>
''Vagina (no vagina:-1,0,1,2,3):''
<<if $tempSlave.vagina == -1>>
//No vagina.//
<<elseif $tempSlave.vagina == 0>>
@@.lime;Virgin@@.
<<elseif $tempSlave.vagina == 1>>
@@.yellow;Normal@@.
<<elseif $tempSlave.vagina == 2>>
@@.yellow;Veteran@@.
<<else>>
@@.yellow;Gaping@@.
<</if>>
<br>
<<radiobutton "$tempSlave.vagina" -1>> No vagina
<<radiobutton "$tempSlave.vagina" 0>> Virgin
<<radiobutton "$tempSlave.vagina" 1>> Normal
<<radiobutton "$tempSlave.vagina" 2>> Veteran
<<radiobutton "$tempSlave.vagina" 3>> Gaping
<br>
''Vagina Wetness (0,1,2):''
<<if $tempSlave.vaginaLube == 0>>
@@.yellow;Dry@@.
<<elseif $tempSlave.vaginaLube == 1>>
@@.yellow;Normal@@.
<<else>>
@@.yellow;Excessive@@.
<</if>>
<br>
<<radiobutton "$tempSlave.vaginaLube" 0>> Dry
<<radiobutton "$tempSlave.vaginaLube" 1>> Normal
<<radiobutton "$tempSlave.vaginaLube" 2>> Excessive
<br>
''Clit:''
<<if $tempSlave.clit == 0>>
@@.yellow;Normal.@@ |
<<elseif $tempSlave.clit == 1>>
@@.yellow;Big.@@ |
<<elseif $tempSlave.clit == 2>>
@@.yellow;Huge.@@ |
<<elseif $tempSlave.clit == 3>>
@@.yellow;Enormous.@@ |
<<elseif $tempSlave.clit == 4>>
@@.yellow;Dick-like.@@ |
<<else>>
@@.yellow;Might as well be a big dick.@@ |
<</if>>
<<radiobutton "$tempSlave.clit" 0>> Normal
<<radiobutton "$tempSlave.clit" 1>> Large
<<radiobutton "$tempSlave.clit" 2>> Huge
<<radiobutton "$tempSlave.clit" 3>> Enormous
<<radiobutton "$tempSlave.clit" 4>> Dick-like
<<radiobutton "$tempSlave.clit" 5>> Like a huge dick
<br>
''Labia:''
<<if $tempSlave.labia == 0>>
@@.yellow;Minimal.@@ |
<<elseif $tempSlave.labia == 1>>
@@.yellow;Normal.@@ |
<<elseif $tempSlave.labia == 2>>
@@.yellow;Large.@@ |
<<else>>
@@.yellow;Huge.@@ |
<</if>>
<<radiobutton "$tempSlave.labia" 0>> Minimal
<<radiobutton "$tempSlave.labia" 1>> Normal
<<radiobutton "$tempSlave.labia" 2>> Large
<<radiobutton "$tempSlave.labia" 3>> Huge
<br>
<</widget>>
<<widget PregTab>>
<br>
<<= App.Desc.pregnancy($tempSlave)>>
<br><br>
<<= App.Desc.belly($tempSlave)>>
<br><br>
''Ovaries (none: 0 | exist: 1):''
<<if $tempSlave.ovaries == 1>>
@@.yellow;exist@@
<<checkbox "$tempSlave.ovaries" 0 1 checked>>
<<else>>
@@.yellow;none@@
<<checkbox "$tempSlave.ovaries" 0 1>>
<</if>>
<br>
''Analwomb:''
<<if $tempSlave.mpreg == 0>>
@@.yellow;not implanted@@
<<checkbox "$tempSlave.mpreg" 0 1>>
<<else>>
@@.yellow;Implanted@@
<<checkbox "$tempSlave.mpreg" 0 1 checked>>
<</if>>
''Puberty (pre: 0 | post: 1):''
<<if ($tempSlave.pubertyXX == 1)||(ndef $tempSlave.pubertyXX)>>
@@.yellow;Post puberty@@
<<checkbox "$tempSlave.pubertyXX" 0 1 checked>>
<<else>>
@@.yellow;Pre puberty@@
<<checkbox "$tempSlave.pubertyXX" 0 1>>
<</if>>
<br>
''Puberty Age:'' @@.yellow;$tempSlave.pubertyAgeXX@@
<<textbox "$tempSlave.pubertyAgeXX" $tempSlave.pubertyAgeXX>>
<br>
''Cervix Implant:''
<<if $tempSlave.cervixImplant == 0>>
@@.yellow;None@@
<<checkbox "$tempSlave.cervixImplant" 0 1>>
<<else>>
@@.yellow;Implanted@@
<<checkbox "$tempSlave.cervixImplant" 0 1 checked>>
<</if>>
<br>
''C-Section scar:''
<<if $tempSlave.scar.hasOwnProperty("belly") && $tempSlave.scar.belly["c-section"] > 0>>
@@.yellow;true@@
<<link "Remove">>
<<run App.Medicine.Modification.removeScar($tempSlave, "belly", "c-section")>>
<</link>>
<<else>>
@@.yellow;false@@
<<link "Add">>
<<run App.Medicine.Modification.addScar($tempSlave, "belly", "c-section")>>
<</link>>
<</if>>
<br>
''Breeding mark (only for Eugenic Societies):''
<<if $tempSlave.breedingMark == 1>>
@@.yellow;true@@
<<checkbox "$tempSlave.breedingMark" 0 1 checked>>
<<else>>
@@.yellow;false@@
<<checkbox "$tempSlave.breedingMark" 0 1>>
<</if>>
<br>
''Pregnancy Level (-2: sterile, -1: contraceptives, 0: not pregnant, 1 to 25: pregnant):''
<<if $tempSlave.preg > 20>>
@@.yellow;Advanced@@.
<<elseif $tempSlave.preg > 5>>
@@.yellow;Early@@.
<<elseif $tempSlave.preg == 0>>
@@.yellow;None@@.
<<elseif $tempSlave.preg == -1>>
@@.yellow;Using contraceptives@@.
<<else>>
@@.yellow;Sterile@@.
<</if>>
<br>
''Pregnancy Week (Literal number of weeks pregnant):''
<<textbox "$tempSlave.pregWeek" $tempSlave.pregWeek>>
<br>
''Pregnancy adaptation rating (5: prepubescent loli, 20: adult male, 50: adult female, 51+: practiced):''
<<if $tempSlave.pregAdaptation < 10>>
@@.yellow;Critically poor@@.
<<elseif $tempSlave.pregAdaptation < 30>>
@@.yellow;Very poor@@.
<<elseif $tempSlave.pregAdaptation < 50>>
@@.yellow;Poor@@.
<<elseif $tempSlave.pregAdaptation < 60>>
@@.yellow;Normal@@.
<<elseif $tempSlave.pregAdaptation < 100>>
@@.yellow;Well-adapted@@.
<<elseif $tempSlave.pregAdaptation < 300>>
@@.yellow;Astonishingly well-adapted@@.
<<else>>
@@.yellow;Unshakeable broodmother@@.
<</if>>
<<textbox "$tempSlave.pregAdaptation" $tempSlave.pregAdaptation>>
<br><br>
<<if $tempSlave.womb.length === 0>>
Not pregnant.
<<else>>
<<= $tempSlave.womb.length>> fetuses with estimated womb CC of <<= $tempSlave.bellyPreg>>.
<</if>>
<br>
<<link "Add Fetus">><<run WombImpregnate($tempSlave, 1, 0, 1)>><</link>>
<br>
<<for _cep = 0; _cep < $tempSlave.womb.length; _cep++>>
<hr style="margin:0">
<p>
<<capture _cep>>
<div class="indent">
Ova Name: <<textbox "$tempSlave.womb[_cep].genetics.name" $tempSlave.womb[_cep].genetics.name>>
</div>
<div class="indent">
Age: <<textbox "$tempSlave.womb[_cep].age" $tempSlave.womb[_cep].age>>
</div>
<div class="indent">
Volume: <<= $tempSlave.womb[_cep].volume>>
</div>
<div class="indent">
Gender: <<= $tempSlave.womb[_cep].genetics.gender>>
<<radiobutton "$tempSlave.womb[_cep].genetics.gender" "XX">> Female
<<radiobutton "$tempSlave.womb[_cep].genetics.gender" "XY">> Male
</div>
<div class="indent">
Father ID: <<textbox "$tempSlave.womb[_cep].genetics.father" $tempSlave.womb[_cep].genetics.father>>
</div>
<div class="indent">
Father Name: <<textbox "$tempSlave.womb[_cep].genetics.fatherName" $tempSlave.womb[_cep].genetics.fatherName>>
</div>
<div class="indent">
Mother ID: <<textbox "$tempSlave.womb[_cep].genetics.mother" $tempSlave.womb[_cep].genetics.mother>>
</div>
<div class="indent">
Mother Name: <<textbox "$tempSlave.womb[_cep].genetics.motherName" $tempSlave.womb[_cep].genetics.motherName>>
</div>
<div class="indent">
Nationality: <<textbox "$tempSlave.womb[_cep].genetics.nationality" $tempSlave.womb[_cep].genetics.nationality>>
</div>
<div class="indent">
Race: <<textbox "$tempSlave.womb[_cep].genetics.race" $tempSlave.womb[_cep].genetics.race>>
</div>
<div class="indent">
Skin tone: <<textbox "$tempSlave.womb[_cep].genetics.skin" $tempSlave.womb[_cep].genetics.skin>>
</div>
<div class="indent">
Intelligence index: <<textbox "$tempSlave.womb[_cep].genetics.intelligence" $tempSlave.womb[_cep].genetics.intelligence>>
</div>
<div class="indent">
Face index: <<textbox "$tempSlave.womb[_cep].genetics.face" $tempSlave.womb[_cep].genetics.face>>
</div>
<div class="indent">
Eye Color: <<textbox "$tempSlave.womb[_cep].genetics.eyeColor" $tempSlave.womb[_cep].genetics.eyeColor>>
</div>
<div class="indent">
Hair Color: <<textbox "$tempSlave.womb[_cep].genetics.hColor" $tempSlave.womb[_cep].genetics.hColor>>
</div>
<div class="indent">
Underarm Hair: <<textbox "$tempSlave.womb[_cep].genetics.underArmHStyle" $tempSlave.womb[_cep].genetics.underArmHStyle>>
</div>
<div class="indent">
Pubic Hair: <<textbox "$tempSlave.womb[_cep].genetics.pubicHStyle" $tempSlave.womb[_cep].genetics.pubicHStyle>>
</div>
<div class="indent">
Markings: <<textbox "$tempSlave.womb[_cep].genetics.markings" $tempSlave.womb[_cep].genetics.markings>>
</div>
<div class="indent">
Albinism: <<= $tempSlave.womb[_cep].genetics.geneticQuirks.albinism>>
<<radiobutton "$tempSlave.womb[_cep].genetics.geneticQuirks.albinism" 0>> Does not have
<<radiobutton "$tempSlave.womb[_cep].genetics.geneticQuirks.albinism" 1>> Has (carrier)
<<radiobutton "$tempSlave.womb[_cep].genetics.geneticQuirks.albinism" 2>> Has (active)
</div>
<div class="indent">
Gigantism: <<= $tempSlave.womb[_cep].genetics.geneticQuirks.gigantism>>
<<radiobutton "$tempSlave.womb[_cep].genetics.geneticQuirks.gigantism" 0>> Does not have
<<radiobutton "$tempSlave.womb[_cep].genetics.geneticQuirks.gigantism" 1>> Has (carrier)
<<radiobutton "$tempSlave.womb[_cep].genetics.geneticQuirks.gigantism" 2>> Has (active)
</div>
<div class="indent">
Dwarfism: <<= $tempSlave.womb[_cep].genetics.geneticQuirks.dwarfism>>
<<radiobutton "$tempSlave.womb[_cep].genetics.geneticQuirks.dwarfism" 0>> Does not have
<<radiobutton "$tempSlave.womb[_cep].genetics.geneticQuirks.dwarfism" 1>> Has (carrier)
<<radiobutton "$tempSlave.womb[_cep].genetics.geneticQuirks.dwarfism" 2>> Has (active)
</div>
<div class="indent">
Neoteny: <<= $tempSlave.womb[_cep].genetics.geneticQuirks.neoteny>>
<<radiobutton "$tempSlave.womb[_cep].genetics.geneticQuirks.neoteny" 0>> Does not have
<<radiobutton "$tempSlave.womb[_cep].genetics.geneticQuirks.neoteny" 1>> Has (carrier)
<<radiobutton "$tempSlave.womb[_cep].genetics.geneticQuirks.neoteny" 3>> Has (inactive)
</div>
<div class="indent">
Progeria: <<= $tempSlave.womb[_cep].genetics.geneticQuirks.progeria>>
<<radiobutton "$tempSlave.womb[_cep].genetics.geneticQuirks.progeria" 0>> Does not have
<<radiobutton "$tempSlave.womb[_cep].genetics.geneticQuirks.progeria" 1>> Has (carrier)
<<radiobutton "$tempSlave.womb[_cep].genetics.geneticQuirks.progeria" 3>> Has (inactive)
</div>
<div class="indent">
Heterochromia: <<= $tempSlave.womb[_cep].genetics.geneticQuirks.dwarfism>>
<<radiobutton "$tempSlave.womb[_cep].genetics.geneticQuirks.heterochromia" 0>> Does not have
<<radiobutton "$tempSlave.womb[_cep].genetics.geneticQuirks.heterochromia" 1>> Has (carrier)
<<textbox "$tempSlave.womb[_cep].genetics.geneticQuirks.heterochromia" $tempSlave.womb[_cep].genetics.geneticQuirks.heterochromia>>
</div>
<div class="indent">
Androgyny: <<= $tempSlave.womb[_cep].genetics.geneticQuirks.androgyny>>
<<radiobutton "$tempSlave.womb[_cep].genetics.geneticQuirks.androgyny" 0>> Does not have
<<radiobutton "$tempSlave.womb[_cep].genetics.geneticQuirks.androgyny" 1>> Has (carrier)
<<radiobutton "$tempSlave.womb[_cep].genetics.geneticQuirks.androgyny" 2>> Has (active)
</div>
<div class="indent">
Facial Perfection: <<= $tempSlave.womb[_cep].genetics.geneticQuirks.pFace>>
<<radiobutton "$tempSlave.womb[_cep].genetics.geneticQuirks.pFace" 0>> Does not have
<<radiobutton "$tempSlave.womb[_cep].genetics.geneticQuirks.pFace" 1>> Has (carrier)
<<radiobutton "$tempSlave.womb[_cep].genetics.geneticQuirks.pFace" 2>> Has (active)
</div>
<div class="indent">
Facial Hideousness: <<= $tempSlave.womb[_cep].genetics.geneticQuirks.uFace>>
<<radiobutton "$tempSlave.womb[_cep].genetics.geneticQuirks.uFace" 0>> Does not have
<<radiobutton "$tempSlave.womb[_cep].genetics.geneticQuirks.uFace" 1>> Has (carrier)
<<radiobutton "$tempSlave.womb[_cep].genetics.geneticQuirks.uFace" 2>> Has (active)
</div>
<div class="indent">
Fertility: <<= $tempSlave.womb[_cep].genetics.geneticQuirks.fertility>>
<<radiobutton "$tempSlave.womb[_cep].genetics.geneticQuirks.fertility" 0>> Does not have
<<radiobutton "$tempSlave.womb[_cep].genetics.geneticQuirks.fertility" 1>> Has (carrier)
<<radiobutton "$tempSlave.womb[_cep].genetics.geneticQuirks.fertility" 2>> Has (active)
</div>
<div class="indent">
Hyper Fertility: <<= $tempSlave.womb[_cep].genetics.geneticQuirks.hyperFertility>>
<<radiobutton "$tempSlave.womb[_cep].genetics.geneticQuirks.hyperFertility" 0>> Does not have
<<radiobutton "$tempSlave.womb[_cep].genetics.geneticQuirks.hyperFertility" 1>> Has (carrier)
<<radiobutton "$tempSlave.womb[_cep].genetics.geneticQuirks.hyperFertility" 2>> Has (active)
</div>
<div class="indent">
Superfetation: <<= $tempSlave.womb[_cep].genetics.geneticQuirks.superfetation>>
<<radiobutton "$tempSlave.womb[_cep].genetics.geneticQuirks.superfetation" 0>> Does not have
<<radiobutton "$tempSlave.womb[_cep].genetics.geneticQuirks.superfetation" 1>> Has (carrier)
<<radiobutton "$tempSlave.womb[_cep].genetics.geneticQuirks.superfetation" 2>> Has (active)
</div>
<<if $dangerousPregnancy == 1>>
<div class="indent">
Polyhydramnios: <<= $tempSlave.womb[_cep].genetics.geneticQuirks.polyhydramnios>>
<<radiobutton "$tempSlave.womb[_cep].genetics.geneticQuirks.polyhydramnios" 0>> Does not have
<<radiobutton "$tempSlave.womb[_cep].genetics.geneticQuirks.polyhydramnios" 1>> Has (carrier)
<<radiobutton "$tempSlave.womb[_cep].genetics.geneticQuirks.polyhydramnios" 2>> Has (active)
</div>
<</if>>
<div class="indent">
Uterine Hypersensitivity: <<= $tempSlave.womb[_cep].genetics.geneticQuirks.uterineHypersensitivity>>
<<radiobutton "$tempSlave.womb[_cep].genetics.geneticQuirks.uterineHypersensitivity" 0>> Does not have
<<radiobutton "$tempSlave.womb[_cep].genetics.geneticQuirks.uterineHypersensitivity" 1>> Has (carrier)
<<radiobutton "$tempSlave.womb[_cep].genetics.geneticQuirks.uterineHypersensitivity" 2>> Has (active)
</div>
<div class="indent">
Macromastia: <<= $tempSlave.womb[_cep].genetics.geneticQuirks.macromastia>>
<<radiobutton "$tempSlave.womb[_cep].genetics.geneticQuirks.macromastia" 0>> Does not have
<<radiobutton "$tempSlave.womb[_cep].genetics.geneticQuirks.macromastia" 1>> Has (carrier)
<<radiobutton "$tempSlave.womb[_cep].genetics.geneticQuirks.macromastia" 3>> Has (inactive)
</div>
<div class="indent">
Gigantomastia: <<= $tempSlave.womb[_cep].genetics.geneticQuirks.gigantomastia>>
<<radiobutton "$tempSlave.womb[_cep].genetics.geneticQuirks.gigantomastia" 0>> Does not have
<<radiobutton "$tempSlave.womb[_cep].genetics.geneticQuirks.gigantomastia" 1>> Has (carrier)
<<radiobutton "$tempSlave.womb[_cep].genetics.geneticQuirks.gigantomastia" 3>> Has (inactive)
</div>
<div class="indent">
Galactorrhea: <<= $tempSlave.womb[_cep].genetics.geneticQuirks.galactorrhea>>
<<radiobutton "$tempSlave.womb[_cep].genetics.geneticQuirks.galactorrhea" 0>> Does not have
<<radiobutton "$tempSlave.womb[_cep].genetics.geneticQuirks.galactorrhea" 1>> Has (carrier)
<<radiobutton "$tempSlave.womb[_cep].genetics.geneticQuirks.galactorrhea" 3>> Has (inactive)
</div>
<div class="indent">
Well Hung: <<= $tempSlave.womb[_cep].genetics.geneticQuirks.wellHung>>
<<radiobutton "$tempSlave.womb[_cep].genetics.geneticQuirks.wellHung" 0>> Does not have
<<radiobutton "$tempSlave.womb[_cep].genetics.geneticQuirks.wellHung" 1>> Has (carrier)
<<radiobutton "$tempSlave.womb[_cep].genetics.geneticQuirks.wellHung" 2>> Has (active)
</div>
<div class="indent">
Rear Lipedema: <<= $tempSlave.womb[_cep].genetics.geneticQuirks.rearLipedema>>
<<radiobutton "$tempSlave.womb[_cep].genetics.geneticQuirks.rearLipedema" 0>> Does not have
<<radiobutton "$tempSlave.womb[_cep].genetics.geneticQuirks.rearLipedema" 1>> Has (carrier)
<<radiobutton "$tempSlave.womb[_cep].genetics.geneticQuirks.rearLipedema" 2>> Has (active)
</div>
<div class="indent">
Hyperleptinemia: <<= $tempSlave.womb[_cep].genetics.geneticQuirks.wGain>>
<<radiobutton "$tempSlave.womb[_cep].genetics.geneticQuirks.wGain" 0>> Does not have
<<radiobutton "$tempSlave.womb[_cep].genetics.geneticQuirks.wGain" 1>> Has (carrier)
<<radiobutton "$tempSlave.womb[_cep].genetics.geneticQuirks.wGain" 2>> Has (active)
</div>
<div class="indent">
Hypoleptinemia: <<= $tempSlave.womb[_cep].genetics.geneticQuirks.wLoss>>
<<radiobutton "$tempSlave.womb[_cep].genetics.geneticQuirks.wLoss" 0>> Does not have
<<radiobutton "$tempSlave.womb[_cep].genetics.geneticQuirks.wLoss" 1>> Has (carrier)
<<radiobutton "$tempSlave.womb[_cep].genetics.geneticQuirks.wLoss" 2>> Has (active)
</div>
<div class="indent">
Myotonic Hypertrophy: <<= $tempSlave.womb[_cep].genetics.geneticQuirks.mGain>>
<<radiobutton "$tempSlave.womb[_cep].genetics.geneticQuirks.mGain" 0>> Does not have
<<radiobutton "$tempSlave.womb[_cep].genetics.geneticQuirks.mGain" 1>> Has (carrier)
<<radiobutton "$tempSlave.womb[_cep].genetics.geneticQuirks.mGain" 2>> Has (active)
</div>
<div class="indent">
Myotonic Dystrophy: <<= $tempSlave.womb[_cep].genetics.geneticQuirks.mLoss>>
<<radiobutton "$tempSlave.womb[_cep].genetics.geneticQuirks.mLoss" 0>> Does not have
<<radiobutton "$tempSlave.womb[_cep].genetics.geneticQuirks.mLoss" 1>> Has (carrier)
<<radiobutton "$tempSlave.womb[_cep].genetics.geneticQuirks.mLoss" 2>> Has (active)
</div>
<div class="indent">
<<link "Remove Fetus">><<run $tempSlave.womb.deleteAt(_cep)>><</link>>
</div>
<</capture>>
</p>
<</for>>
<br>
<<link "Validate pregnancy">><<run WombUpdatePregVars($tempSlave)>><<run SetBellySize($tempSlave)>><</link>>
<br>
<</widget>>
<<widget PenisTab>>
<br>
''Penis (none:0, 1 to 10):''
<<if $tempSlave.dick == 0>>
@@.yellow;None@@.
<<elseif $tempSlave.dick == 1>>
@@.yellow;Tiny@@.
<<elseif $tempSlave.dick == 2>>
@@.yellow;Small@@.
<<elseif $tempSlave.dick == 3>>
@@.yellow;Normal@@.
<<elseif $tempSlave.dick == 4>>
@@.yellow;Large@@.
<<elseif $tempSlave.dick == 5>>
@@.yellow;Massive@@.
<<elseif $tempSlave.dick == 6>>
@@.yellow;Huger@@
<<elseif $tempSlave.dick == 7>>
@@.yellow;Still huge@@.
<<elseif $tempSlave.dick == 8>>
@@.yellow;Enormous@@.
<<elseif $tempSlave.dick == 9>>
@@.yellow;Monstrous@@.
<<else>>
@@.yellow;Big McLargeHuge@@.
<</if>>
<<textbox "$tempSlave.dick" $tempSlave.dick>>
<br>
<<radiobutton "$tempSlave.dick" 0>> None
<<radiobutton "$tempSlave.dick" 1>> Tiny
<<radiobutton "$tempSlave.dick" 2>> Small
<<radiobutton "$tempSlave.dick" 3>> Normal
<<radiobutton "$tempSlave.dick" 4>> Large
<<radiobutton "$tempSlave.dick" 5>> Massive
<<radiobutton "$tempSlave.dick" 6>> Huge
<<radiobutton "$tempSlave.dick" 7>> More Huge
<<radiobutton "$tempSlave.dick" 8>> Enormous
<<radiobutton "$tempSlave.dick" 9>> Monstrous
<<radiobutton "$tempSlave.dick" 10>> Big McLargeHuge
<br>
''Foreskin also Clithood if there is no Dick (0 to 10):''
<<if $tempSlave.foreskin == 0>> @@.yellow;None@@.
<<elseif $tempSlave.foreskin == 1>> @@.yellow;Tiny@@.
<<elseif $tempSlave.foreskin == 2>> @@.yellow;Small@@.
<<elseif $tempSlave.foreskin == 3>> @@.yellow;Normal@@.
<<elseif $tempSlave.foreskin == 4>> @@.yellow;Large@@.
<<elseif $tempSlave.foreskin == 5>> @@.yellow;Massive@@.
<<elseif $tempSlave.foreskin == 6>> @@.yellow;Huger@@
<<elseif $tempSlave.foreskin == 7>> @@.yellow;Still huge@@.
<<elseif $tempSlave.foreskin == 8>> @@.yellow;Enormous@@.
<<elseif $tempSlave.foreskin == 9>> @@.yellow;Monstrous@@.
<<else>> @@.yellow;Big McLargeHuge@@.
<</if>>
<<textbox "$tempSlave.foreskin" $tempSlave.foreskin>>
<br>
<<radiobutton "$tempSlave.foreskin" 0>> None
<<radiobutton "$tempSlave.foreskin" 1>> Vestigial
<<radiobutton "$tempSlave.foreskin" 2>> Small
<<radiobutton "$tempSlave.foreskin" 3>> Normal
<<radiobutton "$tempSlave.foreskin" 4>> Large
<<radiobutton "$tempSlave.foreskin" 5>> Massive
<<radiobutton "$tempSlave.foreskin" 6>> Huge
<<radiobutton "$tempSlave.foreskin" 7>> More Huge
<<radiobutton "$tempSlave.foreskin" 8>> Enormous
<<radiobutton "$tempSlave.foreskin" 9>> Monstrous
<<radiobutton "$tempSlave.foreskin" 10>> Big McLargeHuge
<br><br>
''Testicles (0 to 6):''
<<if $tempSlave.balls == 0>>
@@.yellow;None@@.
<<elseif $tempSlave.balls == 1>>
@@.yellow;Vestigial@@.
<<elseif $tempSlave.balls == 2>>
@@.yellow;Small@@.
<<elseif $tempSlave.balls == 3>>
@@.yellow;Normal@@.
<<elseif $tempSlave.balls == 4>>
@@.yellow;Large@@.
<<elseif $tempSlave.balls == 5>>
@@.yellow;Huge@@.
<<else>>
@@.yellow;Titanic@@.
<</if>>
<<textbox "$tempSlave.balls" $tempSlave.balls>>
<br>
<<radiobutton "$tempSlave.balls" 0>> None / Invisible
<<radiobutton "$tempSlave.balls" 1>> Vestigial
<<radiobutton "$tempSlave.balls" 2>> Small
<<radiobutton "$tempSlave.balls" 3>> Normal
<<radiobutton "$tempSlave.balls" 4>> Large
<<radiobutton "$tempSlave.balls" 5>> Huge
<<radiobutton "$tempSlave.balls" 6>> Titanic
<br>
''Ballsack (0 to 8):''
<<if $tempSlave.scrotum == 0>>
@@.yellow;None@@.
<<elseif $tempSlave.scrotum == 1>>
@@.yellow;Vestigial@@.
<<elseif $tempSlave.scrotum == 2>>
@@.yellow;Small@@.
<<elseif $tempSlave.scrotum == 3>>
@@.yellow;Normal@@.
<<elseif $tempSlave.scrotum == 4>>
@@.yellow;Large@@.
<<elseif $tempSlave.scrotum == 5>>
@@.yellow;Huge@@.
<<elseif $tempSlave.scrotum == 6>>
@@.yellow;Massive@@.
<<elseif $tempSlave.scrotum == 7>>
@@.yellow;Enormous@@.
<<else>>
@@.yellow;Monstrous@@.
<</if>>
<<textbox "$tempSlave.scrotum" $tempSlave.scrotum>>
<br>
<<radiobutton "$tempSlave.scrotum" 0>> None
<<radiobutton "$tempSlave.scrotum" 1>> Vestigial
<<radiobutton "$tempSlave.scrotum" 2>> Small
<<radiobutton "$tempSlave.scrotum" 3>> Normal
<<radiobutton "$tempSlave.scrotum" 4>> Large
<<radiobutton "$tempSlave.scrotum" 5>> Huge
<<radiobutton "$tempSlave.scrotum" 6>> Massive
<<radiobutton "$tempSlave.scrotum" 7>> Enormous
<<radiobutton "$tempSlave.scrotum" 8>> Monstrous
<br><br>
''Prostate (0: no prostate, 1:prostate, 2:hyperactive, 3:hyperactive-modified):''
<<switch $tempSlave.prostate>>
<<case 0>> @@.yellow;No prostate@@
<<case 1>> @@.yellow;Prostate@@
<<case 2>> @@.yellow;Hyperactive prostate@@
<<case 3>> @@.yellow;Hyperactive modified prostate@@
<</switch>>
<br>
<<radiobutton "$tempSlave.prostate" 0>> No prostate
<<radiobutton "$tempSlave.prostate" 1>> Prostate
<<radiobutton "$tempSlave.prostate" 2>> Hyperactive prostate
<<radiobutton "$tempSlave.prostate" 3>> Hyperactive modified prostate
<br>
''Puberty (pre: 0 | post: 1):''
<<if ($tempSlave.pubertyXY == 1)||(ndef $tempSlave.pubertyXY)>>
@@.yellow;Post puberty@@
<<checkbox "$tempSlave.pubertyXY" 0 1 checked>>
<<else>>
@@.yellow;Pre puberty@@
<<checkbox "$tempSlave.pubertyXY" 0 1>>
<</if>>
<br>
''Puberty Age:'' @@.yellow;$tempSlave.pubertyAgeXY@@
<<textbox "$tempSlave.pubertyAgeXY" $tempSlave.pubertyAgeXY>>
<br>
<</widget>>
<<widget SkillsTab>>
<br>
''Oral sex (0 to 100):''
<<if $tempSlave.skill.oral <= 10>>
@@.yellow;Unskilled@@.
<<elseif $tempSlave.skill.oral <= 30>>
@@.cyan;Basic.@@
<<elseif $tempSlave.skill.oral <= 60>>
@@.cyan;Skilled.@@
<<elseif $tempSlave.skill.oral < 100>>
@@.cyan;Expert.@@
<<else>>
@@.cyan;Masterful.@@
<</if>>
<<textbox "$tempSlave.skill.oral" $tempSlave.skill.oral>>
<br>
<<radiobutton "$tempSlave.skill.oral" 0>> Unskilled
<<radiobutton "$tempSlave.skill.oral" 15>> Basic
<<radiobutton "$tempSlave.skill.oral" 35>> Skilled
<<radiobutton "$tempSlave.skill.oral" 65>> Expert
<<radiobutton "$tempSlave.skill.oral" 100>> Masterful
<<if $tempSlave.vagina > -1>>
<br>
''Vaginal sex (0 to 100):''
<<if $tempSlave.skill.vaginal <= 10>>
@@.yellow;Unskilled@@.
<<elseif $tempSlave.skill.vaginal <= 30>>
@@.cyan;Basic.@@
<<elseif $tempSlave.skill.vaginal <= 60>>
@@.cyan;Skilled.@@
<<elseif $tempSlave.skill.vaginal < 100>>
@@.cyan;Expert.@@
<<else>>
@@.cyan;Masterful.@@
<</if>>
<<textbox "$tempSlave.skill.vaginal" $tempSlave.skill.vaginal>>
<br>
<<radiobutton "$tempSlave.skill.vaginal" 0>> Unskilled
<<radiobutton "$tempSlave.skill.vaginal" 15>> Basic
<<radiobutton "$tempSlave.skill.vaginal" 35>> Skilled
<<radiobutton "$tempSlave.skill.vaginal" 65>> Expert
<<radiobutton "$tempSlave.skill.vaginal" 100>> Masterful
<</if>>
<br>
''Anal sex (0 to 100):''
<<if $tempSlave.skill.anal <= 10>>
@@.yellow;Unskilled@@.
<<elseif $tempSlave.skill.anal <= 30>>
@@.cyan;Basic.@@
<<elseif $tempSlave.skill.anal <= 60>>
@@.cyan;Skilled.@@
<<elseif $tempSlave.skill.anal < 100>>
@@.cyan;Expert.@@
<<else>>
@@.cyan;Masterful.@@
<</if>>
<<textbox "$tempSlave.skill.anal" $tempSlave.skill.anal>>
<br>
<<radiobutton "$tempSlave.skill.anal" 0>> Unskilled
<<radiobutton "$tempSlave.skill.anal" 15>> Basic
<<radiobutton "$tempSlave.skill.anal" 35>> Skilled
<<radiobutton "$tempSlave.skill.anal" 65>> Expert
<<radiobutton "$tempSlave.skill.anal" 100>> Masterful
<br>
''Prostitution (0 to 100):''
<<if $tempSlave.skill.whoring <= 10>>
@@.yellow;Unskilled@@.
<<elseif $tempSlave.skill.whoring <= 30>>
@@.cyan;Basic.@@
<<elseif $tempSlave.skill.whoring <= 60>>
@@.cyan;Skilled.@@
<<elseif $tempSlave.skill.whoring < 100>>
@@.cyan;Expert.@@
<<else>>
@@.cyan;Masterful.@@
<</if>>
<<textbox "$tempSlave.skill.whoring" $tempSlave.skill.whoring>>
<br>
<<radiobutton "$tempSlave.skill.whoring" 0>> Unskilled
<<radiobutton "$tempSlave.skill.whoring" 15>> Basic
<<radiobutton "$tempSlave.skill.whoring" 35>> Skilled
<<radiobutton "$tempSlave.skill.whoring" 65>> Expert
<<radiobutton "$tempSlave.skill.whoring" 100>> Masterful
<br>
''Entertainment (0 to 100):''
<<if $tempSlave.skill.entertainment <= 10>>
@@.yellow;Unskilled@@.
<<elseif $tempSlave.skill.entertainment <= 30>>
@@.cyan;Basic.@@
<<elseif $tempSlave.skill.entertainment <= 60>>
@@.cyan;Skilled.@@
<<elseif $tempSlave.skill.entertainment < 100>>
@@.cyan;Expert.@@
<<else>>
@@.cyan;Masterful.@@
<</if>>
<<textbox "$tempSlave.skill.entertainment" $tempSlave.skill.entertainment>>
<br>
<<radiobutton "$tempSlave.skill.entertainment" 0>> Unskilled
<<radiobutton "$tempSlave.skill.entertainment" 15>> Basic
<<radiobutton "$tempSlave.skill.entertainment" 35>> Skilled
<<radiobutton "$tempSlave.skill.entertainment" 65>> Expert
<<radiobutton "$tempSlave.skill.entertainment" 100>> Masterful
<br>
''Combat (0,1):''
<<if $tempSlave.skill.combat == 0>>
@@.yellow;Unskilled@@.
<<else>>
@@.cyan;Skilled.@@
<</if>>
<<radiobutton "$tempSlave.skill.combat" 0>> Unskilled
<<radiobutton "$tempSlave.skill.combat" 1>> Skilled
<br>
<</widget>>
<<widget InteliTab>>
<br>
''Intelligence (-100 to 100):''
<<if $tempSlave.intelligence > 95>>
@@.deepskyblue;Brilliant.@@
<<elseif $tempSlave.intelligence > 50>>
@@.deepskyblue;Very Smart.@@
<<elseif $tempSlave.intelligence > 15>>
@@.deepskyblue;Smart.@@
<<elseif $tempSlave.intelligence >= -15>>
@@.yellow;Average@@.
<<elseif $tempSlave.intelligence >= -50>>
@@.orangered;Stupid.@@
<<elseif $tempSlave.intelligence >= -95>>
@@.orangered;Very Stupid.@@
<<else>>
@@.orangered;Moronic.@@
<</if>>
<<textbox "$tempSlave.intelligence" $tempSlave.intelligence>>
<br>
<<radiobutton "$tempSlave.intelligence" -100>> Moronic
<<radiobutton "$tempSlave.intelligence" -60>> Very Stupid
<<radiobutton "$tempSlave.intelligence" -30>> Stupid
<<radiobutton "$tempSlave.intelligence" 0>> Average
<<radiobutton "$tempSlave.intelligence" 30>> Smart
<<radiobutton "$tempSlave.intelligence" 60>> Very Smart
<<radiobutton "$tempSlave.intelligence" 100>> Brilliant
<br><br>
''Education (0 to 30):''
<<if $tempSlave.intelligenceImplant >= 30>>
@@.deepskyblue;Well Educated.@@
<<elseif $tempSlave.intelligenceImplant >= 15>>
@@.deepskyblue;Educated.@@
<<else>>
@@.yellow;Uneducated@@.
<</if>>
<<radiobutton "$tempSlave.intelligenceImplant" 0>> Uneducated
<<radiobutton "$tempSlave.intelligenceImplant" 15>> Educated
<<radiobutton "$tempSlave.intelligenceImplant" 30>> Well Educated
<br>
<</widget>>
<<widget FetSexTab>>
<br>
''Fetish Known: ''
<<if $tempSlave.fetishKnown == 0>>
@@.yellow;Unknown@@
<<checkbox "$tempSlave.fetishKnown" 0 1>>
<<else>>
@@.yellow;Known@@
<<checkbox "$tempSlave.fetishKnown" 0 1 checked>>
<</if>>
<br>
<<if $tempSlave.fetish == "none">>
''Fetish:'' @@.pink;$tempSlave.fetish.@@
<<else>>
''Fetish:'' @@.lightcoral;$tempSlave.fetish.@@
<</if>>
<br>
<<radiobutton "$tempSlave.fetish" "none">> None
<<radiobutton "$tempSlave.fetish" "submissive">> Submissive
<<radiobutton "$tempSlave.fetish" "dom">> Dom
<<radiobutton "$tempSlave.fetish" "cumslut">> Cumslut
<<radiobutton "$tempSlave.fetish" "humiliation">> Humiliation
<<radiobutton "$tempSlave.fetish" "buttslut">> Buttslut
<<radiobutton "$tempSlave.fetish" "boobs">> Boobs
<<radiobutton "$tempSlave.fetish" "pregnancy">> Pregnancy
<<radiobutton "$tempSlave.fetish" "sadist">> Sadist
<<radiobutton "$tempSlave.fetish" "masochist">> Masochist
<br>
''Fetish strength (0 to 100):''
<<if $tempSlave.fetishStrength > 95>>
@@.lightcoral;High.@@
<<elseif $tempSlave.fetishStrength <= 60>>
@@.pink;Low.@@
<<else>>
@@.hotpink;Normal.@@
<</if>>
<<textbox "$tempSlave.fetishStrength" $tempSlave.fetishStrength>>
<br>
<<radiobutton "$tempSlave.fetishStrength" 0>> Low
<<radiobutton "$tempSlave.fetishStrength" 70>> Normal
<<radiobutton "$tempSlave.fetishStrength" 100>> High
<br><br>
''Sexuality (unknown:0 | known:1): ''
<<if $tempSlave.attrKnown == 0>>
@@.yellow;Unknown@@
<<checkbox "$tempSlave.attrKnown" 0 1>>
<<else>>
@@.yellow;Known@@
<<checkbox "$tempSlave.attrKnown" 0 1 checked>>
<</if>>
<br>
''Male Attraction (0 - 100):''
<<if $tempSlave.attrXY <= 5>>
@@.red;Disgusted by guys,@@
<<elseif $tempSlave.attrXY <= 15>>
@@.red;Turned off by guys,@@
<<elseif $tempSlave.attrXY <= 35>>
@@.red;Not attracted to guys,@@
<<elseif $tempSlave.attrXY <= 65>>
Indifferent to guys,
<<elseif $tempSlave.attrXY <= 85>>
@@.green;Attracted to guys,@@
<<elseif $tempSlave.attrXY <= 95>>
@@.green;Aroused by guys,@@
<<else>>
@@.green;Passionate about guys,@@
<</if>>
<<textbox "$tempSlave.attrXY" $tempSlave.attrXY>>
<br>
<<radiobutton "$tempSlave.attrXY" 0>> Disgusted by guys
<<radiobutton "$tempSlave.attrXY" 10>> Turned off by guys
<<radiobutton "$tempSlave.attrXY" 20>> Not attracted to guys
<<radiobutton "$tempSlave.attrXY" 50>> Indifferent to guys
<<radiobutton "$tempSlave.attrXY" 80>> Attracted to guys
<<radiobutton "$tempSlave.attrXY" 90>> Aroused by guys
<<radiobutton "$tempSlave.attrXY" 100>> Passionate about guys
<br>
''Female Attraction (0 - 100):''
<<if $tempSlave.attrXX <= 5>>
@@.red;disgusted by girls.@@
<<elseif $tempSlave.attrXX <= 15>>
@@.red;turned off by girls.@@
<<elseif $tempSlave.attrXX <= 35>>
@@.red;not attracted to girls.@@
<<elseif $tempSlave.attrXX <= 65>>
indifferent to girls.
<<elseif $tempSlave.attrXX <= 85>>
@@.green;attracted to girls.@@
<<elseif $tempSlave.attrXX <= 95>>
@@.green;aroused by girls.@@
<<else>>
@@.green;passionate about girls.@@
<</if>>
<<textbox "$tempSlave.attrXX" $tempSlave.attrXX>>
<br>
<<radiobutton "$tempSlave.attrXX" 0>> Disgusted by girls
<<radiobutton "$tempSlave.attrXX" 10>> Turned off by girls
<<radiobutton "$tempSlave.attrXX" 20>> Not attracted to girls
<<radiobutton "$tempSlave.attrXX" 50>> Indifferent to girls
<<radiobutton "$tempSlave.attrXX" 80>> Attracted to girls
<<radiobutton "$tempSlave.attrXX" 90>> Aroused by girls
<<radiobutton "$tempSlave.attrXX" 100>> Passionate about girls
<br>
''Sex drive (0 - 100):''
<<if $tempSlave.energy == 100>>
@@.green;Nympho!@@
<<elseif $tempSlave.energy > 80>>
@@.green;Sex addict.@@
<<elseif $tempSlave.energy > 60>>
@@.green;Powerful.@@
<<elseif $tempSlave.energy > 40>>
@@.yellow;Average.@@
<<elseif $tempSlave.energy > 20>>
@@.red;Poor.@@
<<else>>
@@.red;Frigid.@@
<</if>>
<<textbox "$tempSlave.energy" $tempSlave.energy>>
<br>
<</widget>>
<<widget StatisticTab>>
<br>
''Milk Lactated: ''@@.yellow;$tempSlave.counter.milk@@ |
<<textbox "$tempSlave.counter.milk" $tempSlave.counter.milk>><br>
''Cum Ejaculated: ''@@.yellow;$tempSlave.counter.cum@@ |
<<textbox "$tempSlave.counter.cum" $tempSlave.counter.cum>><br>
<br>
''Penetrative Sex: ''@@.yellow;$tempSlave.counter.penetrative@@ |
<<textbox "$tempSlave.counter.penetrative" $tempSlave.counter.penetrative>><br>
''Oral Sex: ''@@.yellow;$tempSlave.counter.oral@@ |
<<textbox "$tempSlave.counter.oral" $tempSlave.counter.oral>><br>
''Vaginal Sex: ''@@.yellow;$tempSlave.counter.vaginal@@ |
<<textbox "$tempSlave.counter.vaginal" $tempSlave.counter.vaginal>><br>
''Anal Sex: ''@@.yellow;$tempSlave.counter.anal@@ |
<<textbox "$tempSlave.counter.anal" $tempSlave.counter.anal>><br>
''Public Sex: ''@@.yellow;$tempSlave.counter.publicUse@@ |
<<textbox "$tempSlave.counter.publicUse" $tempSlave.counter.publicUse>><br>
''Titjobs: ''@@.yellow;$tempSlave.counter.mammary@@ |
<<textbox "$tempSlave.counter.mammary" $tempSlave.counter.mammary>><br>
<br>
''Births in Arcology: ''@@.yellow;$tempSlave.counter.births@@ |
<<textbox "$tempSlave.counter.births" $tempSlave.counter.births>><br>
''Total Births: ''@@.yellow;$tempSlave.counter.birthsTotal@@ |
<<textbox "$tempSlave.counter.birthsTotal" $tempSlave.counter.birthsTotal>><br>
''Kills in the Pit: ''@@.yellow;$tempSlave.counter.pitKills@@ |
<<textbox "$tempSlave.counter.pitKills" $tempSlave.counter.pitKills>><br>
<br>
''Times Impregnated Other Slaves: ''@@.yellow;$tempSlave.counter.slavesKnockedUp@@ |
<<textbox "$tempSlave.counter.slavesKnockedUp" $tempSlave.counter.slavesKnockedUp>><br>
''Times Impregnated You: ''@@.yellow;$tempSlave.counter.PCKnockedUp@@ |
<<textbox "$tempSlave.counter.PCKnockedUp" $tempSlave.counter.PCKnockedUp>><br>
''Times Fathered Slaves' Children: ''@@.yellow;$tempSlave.counter.slavesFathered@@ |
<<textbox "$tempSlave.counter.slavesFathered" $tempSlave.counter.slavesFathered>><br>
''Times Fathered Your Children: ''@@.yellow;$tempSlave.counter.PCChildrenFathered@@ |
<<textbox "$tempSlave.counter.PCChildrenFathered" $tempSlave.counter.PCChildrenFathered>><br>
<</widget>>
<<widget FlaQuiTab>>
<br>
''Behavioral Flaw:''
<<if $tempSlave.behavioralFlaw == "none">>
//$tempSlave.behavioralFlaw.//
<<else>>
@@.red;$tempSlave.behavioralFlaw.@@
<</if>>
<br>
<<radiobutton "$tempSlave.behavioralFlaw" "none">> None
<<radiobutton "$tempSlave.behavioralFlaw" "arrogant">> Arrogant
<<radiobutton "$tempSlave.behavioralFlaw" "bitchy">> Bitchy
<<radiobutton "$tempSlave.behavioralFlaw" "odd">> Odd
<<radiobutton "$tempSlave.behavioralFlaw" "hates men">> Men
<<radiobutton "$tempSlave.behavioralFlaw" "hates women">> Women
<<radiobutton "$tempSlave.behavioralFlaw" "anorexic">> Anorexic
<<radiobutton "$tempSlave.behavioralFlaw" "gluttonous">> Gluttonous
<<radiobutton "$tempSlave.behavioralFlaw" "devout">> Devout
<<radiobutton "$tempSlave.behavioralFlaw" "liberated">> Liberated
<br><br>
''Behavioral Quirk:''
<<if $tempSlave.behavioralQuirk == "none">>
//$tempSlave.behavioralQuirk.//
<<else>>
@@.green;$tempSlave.behavioralQuirk.@@
<</if>>
<br>
<<radiobutton "$tempSlave.behavioralQuirk" "none">> None
<<radiobutton "$tempSlave.behavioralQuirk" "confident">> Confident
<<radiobutton "$tempSlave.behavioralQuirk" "cutting">> Cutting
<<radiobutton "$tempSlave.behavioralQuirk" "funny">> Funny
<<radiobutton "$tempSlave.behavioralQuirk" "adores women">> Adores Women
<<radiobutton "$tempSlave.behavioralQuirk" "adores men">> Adores Men
<<radiobutton "$tempSlave.behavioralQuirk" "insecure">> Insecure
<<radiobutton "$tempSlave.behavioralQuirk" "fitness">> Fitness
<<radiobutton "$tempSlave.behavioralQuirk" "sinful">> Sinful
<<radiobutton "$tempSlave.behavioralQuirk" "advocate">> Advocate
<<if $tempSlave.behavioralQuirk != "none">>
<<set $tempSlave.behavioralFlaw = "none">>
<</if>>
<br><br>
''Sexual Flaw / Paraphilias:''
<<if $tempSlave.sexualFlaw == "none">>
//$tempSlave.sexualFlaw.//
<<else>>
@@.red;$tempSlave.sexualFlaw.@@
<</if>>
<br>
Flaws:
<<radiobutton "$tempSlave.sexualFlaw" "none">> None
<<radiobutton "$tempSlave.sexualFlaw" "hates oral">> Hates Oral
<<radiobutton "$tempSlave.sexualFlaw" "hates anal">> Hates Anal
<<radiobutton "$tempSlave.sexualFlaw" "hates penetration">> Hates Penetration
<<radiobutton "$tempSlave.sexualFlaw" "repressed">> Repressed
<<radiobutton "$tempSlave.sexualFlaw" "shamefast">> Shamefast
<<radiobutton "$tempSlave.sexualFlaw" "apathetic">> Apathetic
<<radiobutton "$tempSlave.sexualFlaw" "idealistic">> Sexually Idealistic
<<radiobutton "$tempSlave.sexualFlaw" "crude">> Crude
<<radiobutton "$tempSlave.sexualFlaw" "judgemental">> Judgemental
<br>
Paraphilias:
<<radiobutton "$tempSlave.sexualFlaw" "cum addict">> Cum Addict
<<radiobutton "$tempSlave.sexualFlaw" "anal addict">> Anal Addict
<<radiobutton "$tempSlave.sexualFlaw" "attention whore">> Attention Whore
<<radiobutton "$tempSlave.sexualFlaw" "breast growth">> Breast Obsession
<<radiobutton "$tempSlave.sexualFlaw" "abusive">> Abusive
<<radiobutton "$tempSlave.sexualFlaw" "malicious">> Malicious
<<radiobutton "$tempSlave.sexualFlaw" "self hating">> Self Hatred
<<radiobutton "$tempSlave.sexualFlaw" "neglectful">> Self Neglect
<<radiobutton "$tempSlave.sexualFlaw" "breeder">> Breeding Obsession
<br><br>
''Sexual Quirk:''
<<if $tempSlave.sexualQuirk == "none">>
//$tempSlave.sexualQuirk.//
<<else>>
@@.green;$tempSlave.sexualQuirk.@@
<</if>>
<br>
<<radiobutton "$tempSlave.sexualQuirk" "none">> None
<<radiobutton "$tempSlave.sexualQuirk" "gagfuck queen">> Gagfuck Queen
<<radiobutton "$tempSlave.sexualQuirk" "painal queen">> Painal Queen
<<radiobutton "$tempSlave.sexualQuirk" "strugglefuck queen">> Strugglefuck Queen
<<radiobutton "$tempSlave.sexualQuirk" "perverted">> Perverted
<<radiobutton "$tempSlave.sexualQuirk" "tease">> Tease
<<radiobutton "$tempSlave.sexualQuirk" "caring">> Caring
<<radiobutton "$tempSlave.sexualQuirk" "romantic">> Romantic
<<radiobutton "$tempSlave.sexualQuirk" "unflinching">> Unflinching
<<radiobutton "$tempSlave.sexualQuirk" "size queen">> Size Queen
<<if $tempSlave.sexualQuirk != "none">>
<<if !["abusive", "anal addict", "attention whore", "breast growth", "breeder", "cum addict", "malicious", "neglectful", "self hating"].includes($tempSlave.sexualFlaw)>>
<<set $tempSlave.sexualFlaw = "none">>
<</if>>
<</if>>
<br>
<</widget>>
<<widget GenQuiTab>>
<br>
''Macromastia: ''
<<switch $tempSlave.geneticQuirks.macromastia >>
<<case 0 >>
@@.yellow;none@@ |
<<case 1 >>
@@.yellow;carrier@@ |
<<case 2 >>
@@.yellow;active@@ |
<<case 3 >>
@@.yellow;inactive@@ |
<</switch>>
<<radiobutton "$tempSlave.geneticQuirks.macromastia" 0>> None
<<radiobutton "$tempSlave.geneticQuirks.macromastia" 1>> Carrier
<<radiobutton "$tempSlave.geneticQuirks.macromastia" 2>> Active
<<radiobutton "$tempSlave.geneticQuirks.macromastia" 3>> Inactive
<br>
''Gigantomastia: ''
<<switch $tempSlave.geneticQuirks.gigantomastia >>
<<case 0 >>
@@.yellow;none@@ |
<<case 1 >>
@@.yellow;carrier@@ |
<<case 2 >>
@@.yellow;active@@ |
<<case 3 >>
@@.yellow;inactive@@ |
<</switch>>
<<radiobutton "$tempSlave.geneticQuirks.gigantomastia" 0>> None
<<radiobutton "$tempSlave.geneticQuirks.gigantomastia" 1>> Carrier
<<radiobutton "$tempSlave.geneticQuirks.gigantomastia" 2>> Active
<<radiobutton "$tempSlave.geneticQuirks.gigantomastia" 3>> Inactive
<br>
''Fertility: ''
<<switch $tempSlave.geneticQuirks.fertility >>
<<case 0 >>
@@.yellow;none@@ |
<<case 1 >>
@@.yellow;carrier@@ |
<<case 2 >>
@@.yellow;active@@ |
<<case 3 >>
@@.yellow;inactive@@ |
<</switch>>
<<radiobutton "$tempSlave.geneticQuirks.fertility" 0>> None
<<radiobutton "$tempSlave.geneticQuirks.fertility" 1>> Carrier
<<radiobutton "$tempSlave.geneticQuirks.fertility" 2>> Active
<br>
''Hyperfertility: ''
<<switch $tempSlave.geneticQuirks.hyperFertility >>
<<case 0 >>
@@.yellow;none@@ |
<<case 1 >>
@@.yellow;carrier@@ |
<<case 2 >>
@@.yellow;active@@ |
<<case 3 >>
@@.yellow;inactive@@ |
<</switch>>
<<radiobutton "$tempSlave.geneticQuirks.hyperFertility" 0>> None
<<radiobutton "$tempSlave.geneticQuirks.hyperFertility" 1>> Carrier
<<radiobutton "$tempSlave.geneticQuirks.hyperFertility" 2>> Active
<br>
''Superfetation: ''
<<switch $tempSlave.geneticQuirks.superfetation >>
<<case 0 >>
@@.yellow;none@@ |
<<case 1 >>
@@.yellow;carrier@@ |
<<case 2 >>
@@.yellow;active@@ |
<<case 3 >>
@@.yellow;inactive@@ |
<</switch>>
<<radiobutton "$tempSlave.geneticQuirks.superfetation" 0>> None
<<radiobutton "$tempSlave.geneticQuirks.superfetation" 1>> Carrier
<<radiobutton "$tempSlave.geneticQuirks.superfetation" 2>> Active
<br>
''Polyhydramnios: ''
<<switch $tempSlave.geneticQuirks.polyhydramnios >>
<<case 0 >>
@@.yellow;none@@ |
<<case 1 >>
@@.yellow;carrier@@ |
<<case 2 >>
@@.yellow;carrier@@ |
<</switch>>
<<radiobutton "$tempSlave.geneticQuirks.polyhydramnios" 0>> None
<<radiobutton "$tempSlave.geneticQuirks.polyhydramnios" 1>> Carrier
<<radiobutton "$tempSlave.geneticQuirks.polyhydramnios" 2>> Carrier (had it)
<br>
''Uterine Hypersensitivity: ''
<<switch $tempSlave.geneticQuirks.uterineHypersensitivity >>
<<case 0 >>
@@.yellow;none@@ |
<<case 1 >>
@@.yellow;carrier@@ |
<<case 2 >>
@@.yellow;active@@ |
<</switch>>
<<radiobutton "$tempSlave.geneticQuirks.uterineHypersensitivity" 0>> None
<<radiobutton "$tempSlave.geneticQuirks.uterineHypersensitivity" 1>> Carrier
<<radiobutton "$tempSlave.geneticQuirks.uterineHypersensitivity" 2>> Active
<br>
''Galactorrhea: ''
<<switch $tempSlave.geneticQuirks.galactorrhea >>
<<case 0 >>
@@.yellow;none@@ |
<<case 1 >>
@@.yellow;carrier@@ |
<<case 2 >>
@@.yellow;active@@ |
<<case 3 >>
@@.yellow;inactive@@ |
<</switch>>
<<radiobutton "$tempSlave.geneticQuirks.galactorrhea" 0>> None
<<radiobutton "$tempSlave.geneticQuirks.galactorrhea" 1>> Carrier
<<radiobutton "$tempSlave.geneticQuirks.galactorrhea" 2>> Active
<<radiobutton "$tempSlave.geneticQuirks.galactorrhea" 3>> Inactive
<br>
''Gigantism: ''
<<switch $tempSlave.geneticQuirks.gigantism >>
<<case 0 >>
@@.yellow;none@@ |
<<case 1 >>
@@.yellow;carrier@@ |
<<case 2 >>
@@.yellow;active@@ |
<<case 3 >>
@@.yellow;inactive@@ |
<</switch>>
<<radiobutton "$tempSlave.geneticQuirks.gigantism" 0>> None
<<radiobutton "$tempSlave.geneticQuirks.gigantism" 1>> Carrier
<<radiobutton "$tempSlave.geneticQuirks.gigantism" 2>> Active
<br>
''Dwarfism: ''
<<switch $tempSlave.geneticQuirks.dwarfism >>
<<case 0 >>
@@.yellow;none@@ |
<<case 1 >>
@@.yellow;carrier@@ |
<<case 2 >>
@@.yellow;active@@ |
<<case 3 >>
@@.yellow;inactive@@ |
<</switch>>
<<radiobutton "$tempSlave.geneticQuirks.dwarfism" 0>> None
<<radiobutton "$tempSlave.geneticQuirks.dwarfism" 1>> Carrier
<<radiobutton "$tempSlave.geneticQuirks.dwarfism" 2>> Active
<br>
''Neoteny: ''
<<switch $tempSlave.geneticQuirks.neoteny >>
<<case 0 >>
@@.yellow;none@@ |
<<case 1 >>
@@.yellow;carrier@@ |
<<case 2 >>
@@.yellow;active@@ |
<<case 3 >>
@@.yellow;inactive@@ |
<</switch>>
<<radiobutton "$tempSlave.geneticQuirks.neoteny" 0>> None
<<radiobutton "$tempSlave.geneticQuirks.neoteny" 1>> Carrier
<<radiobutton "$tempSlave.geneticQuirks.neoteny" 2>> Active
<<radiobutton "$tempSlave.geneticQuirks.neoteny" 3>> Inactive
<br>
''Progeria: ''
<<switch $tempSlave.geneticQuirks.progeria >>
<<case 0 >>
@@.yellow;none@@ |
<<case 1 >>
@@.yellow;carrier@@ |
<<case 2 >>
@@.yellow;active@@ |
<<case 3 >>
@@.yellow;inactive@@ |
<</switch>>
<<radiobutton "$tempSlave.geneticQuirks.progeria" 0>> None
<<radiobutton "$tempSlave.geneticQuirks.progeria" 1>> Carrier
<<radiobutton "$tempSlave.geneticQuirks.progeria" 2>> Active
<<radiobutton "$tempSlave.geneticQuirks.progeria" 3>> Inactive
<br>
''Pretty Face: ''
<<switch $tempSlave.geneticQuirks.pFace >>
<<case 0 >>
@@.yellow;none@@ |
<<case 1 >>
@@.yellow;carrier@@ |
<<case 2 >>
@@.yellow;active@@ |
<<case 3 >>
@@.yellow;inactive@@ |
<</switch>>
<<radiobutton "$tempSlave.geneticQuirks.pFace" 0>> None
<<radiobutton "$tempSlave.geneticQuirks.pFace" 1>> Carrier
<<radiobutton "$tempSlave.geneticQuirks.pFace" 2>> Active
<br>
''Ugly Face: ''
<<switch $tempSlave.geneticQuirks.uFace >>
<<case 0 >>
@@.yellow;none@@ |
<<case 1 >>
@@.yellow;carrier@@ |
<<case 2 >>
@@.yellow;active@@ |
<<case 3 >>
@@.yellow;inactive@@ |
<</switch>>
<<radiobutton "$tempSlave.geneticQuirks.uFace" 0>> None
<<radiobutton "$tempSlave.geneticQuirks.uFace" 1>> Carrier
<<radiobutton "$tempSlave.geneticQuirks.uFace" 2>> Active
<br>
''Albinism: ''
<<switch $tempSlave.geneticQuirks.albinism >>
<<case 0 >>
@@.yellow;none@@ |
<<case 1 >>
@@.yellow;carrier@@ |
<<case 2 >>
@@.yellow;active@@ |
<<case 3 >>
@@.yellow;inactive@@ |
<</switch>>
<<radiobutton "$tempSlave.geneticQuirks.albinism" 0>> None
<<radiobutton "$tempSlave.geneticQuirks.albinism" 1>> Carrier
<<radiobutton "$tempSlave.geneticQuirks.albinism" 2>> Active
<br>
''Heterochromia: ''
<<if $tempSlave.geneticQuirks.heterochromia == 0>>
@@.yellow;none@@ |
<<elseif $tempSlave.geneticQuirks.heterochromia == 1>>
@@.yellow;carrier@@ |
<<else>>
@@.yellow;$tempSlave.geneticQuirks.heterochromia@@ |
<</if>>
<<radiobutton "$tempSlave.geneticQuirks.heterochromia" 0>> None |
<<radiobutton "$tempSlave.geneticQuirks.heterochromia" 1>> Carrier |
<<link "Eye Colors">>
<<if (ndef _ecol3R) || (_ecol3R == 0) >>
<<replace "#ecol3">>
<<set _ecol3R = 1>>
<br>
<<setVar "blue" "$tempSlave.geneticQuirks.heterochromia" "_ecol3R" "#ecol3">>
<<setVar "black" "$tempSlave.geneticQuirks.heterochromia" "_ecol3R" "#ecol3">>
<<setVar "brown" "$tempSlave.geneticQuirks.heterochromia" "_ecol3R" "#ecol3">>
<<setVar "green" "$tempSlave.geneticQuirks.heterochromia" "_ecol3R" "#ecol3">>
<<setVar "turquoise" "$tempSlave.geneticQuirks.heterochromia" "_ecol3R" "#ecol3">>
<<setVar "sky-blue" "$tempSlave.geneticQuirks.heterochromia" "_ecol3R" "#ecol3">>
<<setVar "pale-grey" "$tempSlave.geneticQuirks.heterochromia" "_ecol3R" "#ecol3">>
<<setVar "white" "$tempSlave.geneticQuirks.heterochromia" "_ecol3R" "#ecol3">>
<<setVar "pink" "$tempSlave.geneticQuirks.heterochromia" "_ecol3R" "#ecol3">>
<<setVar "amber" "$tempSlave.geneticQuirks.heterochromia" "_ecol3R" "#ecol3">>
<<setVar "red" "$tempSlave.geneticQuirks.heterochromia" "_ecol3R" "#ecol3">>
<br>
<</replace>>
<<else>>
<<replace "#ecol3">>
<<set _ecol3R = 0>>
<</replace>>
<</if>>
<</link>>
/* <<textbox "$tempSlave.geneticQuirks.heterochromia" $tempSlave.geneticQuirks.heterochromia>> */
<span id=ecol3></span>
<br>
''Rear Lipedema: ''
<<switch $tempSlave.geneticQuirks.rearLipedema>>
<<case 0 >>
@@.yellow;none@@ |
<<case 1 >>
@@.yellow;carrier@@ |
<<case 2 >>
@@.yellow;active@@ |
<<case 3 >>
@@.yellow;inactive@@ |
<</switch>>
<<radiobutton "$tempSlave.geneticQuirks.rearLipedema" 0>> None
<<radiobutton "$tempSlave.geneticQuirks.rearLipedema" 1>> Carrier
<<radiobutton "$tempSlave.geneticQuirks.rearLipedema" 2>> Active
<br>
''Well Hung: ''
<<switch $tempSlave.geneticQuirks.wellHung>>
<<case 0 >>
@@.yellow;none@@ |
<<case 1 >>
@@.yellow;carrier@@ |
<<case 2 >>
@@.yellow;active@@ |
<<case 3 >>
@@.yellow;inactive@@ |
<</switch>>
<<radiobutton "$tempSlave.geneticQuirks.wellHung" 0>> None
<<radiobutton "$tempSlave.geneticQuirks.wellHung" 1>> Carrier
<<radiobutton "$tempSlave.geneticQuirks.wellHung" 2>> Active
<br>
''Weight Gain: ''
<<switch $tempSlave.geneticQuirks.wGain>>
<<case 0 >>
@@.yellow;none@@ |
<<case 1 >>
@@.yellow;carrier@@ |
<<case 2 >>
@@.yellow;active@@ |
<<case 3 >>
@@.yellow;inactive@@ |
<</switch>>
<<radiobutton "$tempSlave.geneticQuirks.wGain" 0>> None
<<radiobutton "$tempSlave.geneticQuirks.wGain" 1>> Carrier
<<radiobutton "$tempSlave.geneticQuirks.wGain" 2>> Active
<br>
''Weight Loss: ''
<<switch $tempSlave.geneticQuirks.wLoss>>
<<case 0 >>
@@.yellow;none@@ |
<<case 1 >>
@@.yellow;carrier@@ |
<<case 2 >>
@@.yellow;active@@ |
<<case 3 >>
@@.yellow;inactive@@ |
<</switch>>
<<radiobutton "$tempSlave.geneticQuirks.wLoss" 0>> None
<<radiobutton "$tempSlave.geneticQuirks.wLoss" 1>> Carrier
<<radiobutton "$tempSlave.geneticQuirks.wLoss" 2>> Active
<br>
''Muscle Gain: ''
<<switch $tempSlave.geneticQuirks.mGain>>
<<case 0 >>
@@.yellow;none@@ |
<<case 1 >>
@@.yellow;carrier@@ |
<<case 2 >>
@@.yellow;active@@ |
<<case 3 >>
@@.yellow;inactive@@ |
<</switch>>
<<radiobutton "$tempSlave.geneticQuirks.mGain" 0>> None
<<radiobutton "$tempSlave.geneticQuirks.mGain" 1>> Carrier
<<radiobutton "$tempSlave.geneticQuirks.mGain" 2>> Active
<br>
''Muscle Loss: ''
<<switch $tempSlave.geneticQuirks.mLoss>>
<<case 0 >>
@@.yellow;none@@ |
<<case 1 >>
@@.yellow;carrier@@ |
<<case 2 >>
@@.yellow;active@@ |
<<case 3 >>
@@.yellow;inactive@@ |
<</switch>>
<<radiobutton "$tempSlave.geneticQuirks.mLoss" 0>> None
<<radiobutton "$tempSlave.geneticQuirks.mLoss" 1>> Carrier
<<radiobutton "$tempSlave.geneticQuirks.mLoss" 2>> Active
<br>
''Androgyny: ''
<<switch $tempSlave.geneticQuirks.androgyny>>
<<case 0 >>
@@.yellow;none@@ |
<<case 1 >>
@@.yellow;carrier@@ |
<<case 2 >>
@@.yellow;active@@ |
<<case 3 >>
@@.yellow;inactive@@ |
<</switch>>
<<radiobutton "$tempSlave.geneticQuirks.androgyny" 0>> None
<<radiobutton "$tempSlave.geneticQuirks.androgyny" 1>> Carrier
<<radiobutton "$tempSlave.geneticQuirks.androgyny" 2>> Active
<br>
<</widget>>
<<widget PrestTab>>
''Change $his custom tattoo:'' <<textbox "$tempSlave.custom.tattoo" $tempSlave.custom.tattoo>>
<br>
//For best results, use complete, capitalized and punctuated sentences; for example: '$He has blue stars tattooed along $his cheekbones, and a blue arrow down each arm.'//
<br>
''Change $his custom description:'' <<textbox "$tempSlave.custom.desc" $tempSlave.custom.desc>>
<br>
//For best results, use complete, capitalized and punctuated sentences; for example: '$He has a beauty mark above $his left nipple.'//
<br>
''Change $his custom label:'' <<textbox "$tempSlave.custom.label" $tempSlave.custom.label>>
<br>
//For best results, use a short phrase; for example: 'Breeder.'//
<br>
''Prestige:''
<<textbox "$tempSlave.prestige" $tempSlave.prestige>>
<<radiobutton "$tempSlave.prestige" 0>> 0
<<radiobutton "$tempSlave.prestige" 1>> 1
<<radiobutton "$tempSlave.prestige" 2>> 2
<<radiobutton "$tempSlave.prestige" 3>> 3
<br>
''Prestige description:''
<<textbox "$tempSlave.prestigeDesc" $tempSlave.prestigeDesc>>
<br>
<</widget>>
<<widget TattooTab>>
<br>
''Full-body Tattoos:''<br>
<<link "[Tribal patterns]">>
<<set $tempSlave.boobsTat = "tribal patterns">><<set $tempSlave.buttTat = "tribal patterns">><<set $tempSlave.vaginaTat = "tribal patterns">>
<<set $tempSlave.dickTat = "tribal patterns">><<set $tempSlave.lipsTat = "tribal patterns">><<set $tempSlave.anusTat = "tribal patterns">>
<<set $tempSlave.shouldersTat = "tribal patterns">><<set $tempSlave.backTat = "tribal patterns">><<set $tempSlave.armsTat = "tribal patterns">>
<<set $tempSlave.legsTat = "tribal patterns">><<set $tempSlave.stampTat = "tribal patterns">>
<</link>>
<<print " | ">>
<<link "[Flowers]">>
<<set $tempSlave.boobsTat = "flowers">><<set $tempSlave.buttTat = "flowers">><<set $tempSlave.vaginaTat = "flowers">>
<<set $tempSlave.dickTat = "flowers">><<set $tempSlave.lipsTat = "flowers">><<set $tempSlave.anusTat = "flowers">>
<<set $tempSlave.shouldersTat = "flowers">><<set $tempSlave.backTat = "flowers">><<set $tempSlave.armsTat = "flowers">>
<<set $tempSlave.legsTat = "flowers">><<set $tempSlave.stampTat = "flowers">>
<</link>>
<<print " | ">>
<<link "[Scenes]">>
<<set $tempSlave.boobsTat = "scenes">><<set $tempSlave.buttTat = "scenes">><<set $tempSlave.vaginaTat = "scenes">>
<<set $tempSlave.dickTat = "scenes">><<set $tempSlave.lipsTat = "permanent makeup">><<set $tempSlave.anusTat = "bleached">>
<<set $tempSlave.shouldersTat = "scenes">><<set $tempSlave.backTat = "scenes">><<set $tempSlave.armsTat = "scenes">>
<<set $tempSlave.legsTat = "scenes">><<set $tempSlave.stampTat = "scenes">>
<</link>>
<<print " | ">>
<<link "[Asian art]">>
<<set $tempSlave.boobsTat = "Asian art">><<set $tempSlave.buttTat = "Asian art">><<set $tempSlave.vaginaTat = "Asian art">>
<<set $tempSlave.dickTat = "Asian art">><<set $tempSlave.lipsTat = "permanent makeup">><<set $tempSlave.anusTat = "bleached">>
<<set $tempSlave.shouldersTat = "Asian art">><<set $tempSlave.backTat = "Asian art">><<set $tempSlave.armsTat = "Asian art">>
<<set $tempSlave.legsTat = "Asian art">><<set $tempSlave.stampTat = "Asian art">>
<</link>>
<<print " | ">>
<<link "[Degradation]">>
<<set $tempSlave.boobsTat = "degradation">><<set $tempSlave.buttTat = "degradation">><<set $tempSlave.vaginaTat = "degradation">>
<<set $tempSlave.dickTat = "degradation">><<set $tempSlave.lipsTat = "degradation">><<set $tempSlave.anusTat = "degradation">>
<<set $tempSlave.shouldersTat = "degradation">><<set $tempSlave.backTat = "degradation">><<set $tempSlave.armsTat = "degradation">>
<<set $tempSlave.legsTat = "degradation">><<set $tempSlave.stampTat = "degradation">>
<</link>>
<<print " | ">>
<<link "[Counting]">>
<<set $tempSlave.boobsTat = "counting">><<set $tempSlave.buttTat = "counting">><<set $tempSlave.vaginaTat = "counting">>
<<set $tempSlave.dickTat = "counting">><<set $tempSlave.lipsTat = "counting">><<set $tempSlave.anusTat = "counting">>
<<set $tempSlave.shouldersTat = "counting">><<set $tempSlave.backTat = "counting">><<set $tempSlave.armsTat = "counting">>
<<set $tempSlave.legsTat = "counting">><<set $tempSlave.stampTat = "counting">>
<</link>>
<<print " | ">>
<<link "[Advertisements]">>
<<set $tempSlave.boobsTat = "advertisements">><<set $tempSlave.buttTat = "advertisements">><<set $tempSlave.vaginaTat = "advertisements">>
<<set $tempSlave.dickTat = "advertisements">><<set $tempSlave.lipsTat = "advertisements">><<set $tempSlave.anusTat = "advertisements">>
<<set $tempSlave.shouldersTat = "advertisements">><<set $tempSlave.backTat = "advertisements">><<set $tempSlave.armsTat = "advertisements">>
<<set $tempSlave.legsTat = "advertisements">><<set $tempSlave.stampTat = "advertisements">>
<</link>>
<<print " | ">>
<<link "[Rude Words]">>
<<set $tempSlave.boobsTat = "rude words">><<set $tempSlave.buttTat = "rude words">><<set $tempSlave.vaginaTat = "rude words">>
<<set $tempSlave.dickTat = "rude words">><<set $tempSlave.lipsTat = "rude words">><<set $tempSlave.anusTat = "rude words">>
<<set $tempSlave.shouldersTat = "rude words">><<set $tempSlave.backTat = "rude words">><<set $tempSlave.armsTat = "rude words">>
<<set $tempSlave.legsTat = "rude words">><<set $tempSlave.stampTat = "rude words">>
<</link>>
<<print " | ">>
<<link "[Cow Pattern]">>
<<set $tempSlave.boobsTat = "bovine patterns">><<set $tempSlave.buttTat = "bovine patterns">><<set $tempSlave.vaginaTat = "bovine patterns">>
<<set $tempSlave.dickTat = "bovine patterns">><<set $tempSlave.lipsTat = "bovine patterns">><<set $tempSlave.anusTat = "bovine patterns">>
<<set $tempSlave.shouldersTat = "bovine patterns">><<set $tempSlave.backTat = "bovine patterns">><<set $tempSlave.armsTat = "bovine patterns">>
<<set $tempSlave.legsTat = "bovine patterns">><<set $tempSlave.stampTat = "bovine patterns">>
<</link>>
<<print " | ">>
<<link "[No Tattoos]">>
<<set $tempSlave.boobsTat = 0>><<set $tempSlave.buttTat = 0>><<set $tempSlave.vaginaTat = 0>>
<<set $tempSlave.dickTat = 0>><<set $tempSlave.lipsTat = 0>><<set $tempSlave.anusTat = 0>>
<<set $tempSlave.shouldersTat = 0>><<set $tempSlave.backTat = 0>><<set $tempSlave.armsTat = 0>>
<<set $tempSlave.legsTat = 0>><<set $tempSlave.stampTat = 0>><<set $tempSlave.bellyTat = 0>>
<</link>>
<br><br>
''__Lips Tattoo__ (
<<if $tempSlave.lipsTat == 0>>@@.yellow;None@@
<<else>>@@.yellow;$tempSlave.lipsTat@@<</if>>
)''
<br>
<<radiobutton "$tempSlave.lipsTat" 0>>None
<<radiobutton "$tempSlave.lipsTat" "tribal patterns">>Tribal Patterns
<<radiobutton "$tempSlave.lipsTat" "flowers">>Flowers
<<radiobutton "$tempSlave.lipsTat" "permanent makeup">>Permanent Makeup
<<radiobutton "$tempSlave.lipsTat" "degradation">>Degradation
<<radiobutton "$tempSlave.lipsTat" "counting">>Counting
<<radiobutton "$tempSlave.lipsTat" "advertisements">>Advertisements
<<radiobutton "$tempSlave.lipsTat" "rude words">>Rude Words
<br>''Custom lips tattoo '' <<textbox "$tempSlave.lipsTat" $tempSlave.lipsTat>>
<br>
''__Shoulders Tattoo__ (
<<if $tempSlave.shouldersTat == 0>>@@.yellow;None@@
<<else>>@@.yellow;$tempSlave.shouldersTat@@<</if>>
)''
<br>
<<radiobutton "$tempSlave.shouldersTat" 0>>None
<<radiobutton "$tempSlave.shouldersTat" "tribal patterns">>Tribal Patterns
<<radiobutton "$tempSlave.shouldersTat" "flowers">>Flowers
<<radiobutton "$tempSlave.shouldersTat" "scenes">>Scenes
<<radiobutton "$tempSlave.shouldersTat" "Asian art">>Asian Art
<<radiobutton "$tempSlave.shouldersTat" "degradation">>Degradation
<<radiobutton "$tempSlave.shouldersTat" "counting">>Counting
<<radiobutton "$tempSlave.shouldersTat" "advertisements">>Advertisements
<<radiobutton "$tempSlave.shouldersTat" "rude words">>Rude Words
<br>''Custom shoulders tattoo '' <<textbox "$tempSlave.shouldersTat" $tempSlave.shouldersTat>>
<br>
''__Back Tattoo__ (
<<if $tempSlave.backTat == 0>>@@.yellow;None@@
<<else>>@@.yellow;$tempSlave.backTat@@<</if>>
)''
<br>
<<radiobutton "$tempSlave.backTat" 0>>None
<<radiobutton "$tempSlave.backTat" "tribal patterns">>Tribal Patterns
<<radiobutton "$tempSlave.backTat" "flowers">>Flowers
<<radiobutton "$tempSlave.backTat" "scenes">>Scenes
<<radiobutton "$tempSlave.backTat" "Asian art">>Asian Art
<<radiobutton "$tempSlave.backTat" "degradation">>Degradation
<<radiobutton "$tempSlave.backTat" "counting">>Counting
<<radiobutton "$tempSlave.backTat" "advertisements">>Advertisements
<<radiobutton "$tempSlave.backTat" "rude words">>Rude Words
<br>''Custom back tattoo '' <<textbox "$tempSlave.backTat" $tempSlave.backTat>>
<br>
''__Belly Tattoo__ (
<<if $tempSlave.bellyTat == 0>>@@.yellow;None@@
<<else>>@@.yellow;$tempSlave.bellyTat@@<</if>>
)''
<br>
<<radiobutton "$tempSlave.bellyTat" 0>>None
<<radiobutton "$tempSlave.bellyTat" "a heart">>Heart
<<radiobutton "$tempSlave.bellyTat" "a star">>Star
<<radiobutton "$tempSlave.bellyTat" "a butterfly">>Butterfly
<br>''Custom belly tattoo '' <<textbox "$tempSlave.bellyTat" $tempSlave.bellyTat>>
<br>
''__Arms Tattoo__ (
<<if $tempSlave.armsTat == 0>>@@.yellow;None@@
<<else>>@@.yellow;$tempSlave.armsTat@@<</if>>
)''
<br>
<<radiobutton "$tempSlave.armsTat" 0>>None
<<radiobutton "$tempSlave.armsTat" "tribal patterns">>Tribal Patterns
<<radiobutton "$tempSlave.armsTat" "flowers">>Flowers
<<radiobutton "$tempSlave.armsTat" "scenes">>Scenes
<<radiobutton "$tempSlave.armsTat" "Asian art">>Asian Art
<<radiobutton "$tempSlave.armsTat" "degradation">>Degradation
<<radiobutton "$tempSlave.armsTat" "counting">>Counting
<<radiobutton "$tempSlave.armsTat" "advertisements">>Advertisements
<<radiobutton "$tempSlave.armsTat" "rude words">>Rude Words
<br>''Custom arms tattoo '' <<textbox "$tempSlave.armsTat" $tempSlave.armsTat>>
<br>
''__Legs Tattoo__ (
<<if $tempSlave.legsTat == 0>>@@.yellow;None@@
<<else>>@@.yellow;$tempSlave.legsTat@@<</if>>
)''
<br>
<<radiobutton "$tempSlave.legsTat" 0>>None
<<radiobutton "$tempSlave.legsTat" "tribal patterns">>Tribal Patterns
<<radiobutton "$tempSlave.legsTat" "flowers">>Flowers
<<radiobutton "$tempSlave.legsTat" "scenes">>Scenes
<<radiobutton "$tempSlave.legsTat" "Asian art">>Asian Art
<<radiobutton "$tempSlave.legsTat" "degradation">>Degradation
<<radiobutton "$tempSlave.legsTat" "counting">>Counting
<<radiobutton "$tempSlave.legsTat" "advertisements">>Advertisements
<<radiobutton "$tempSlave.legsTat" "rude words">>Rude Words
<br>''Custom legs tattoo '' <<textbox "$tempSlave.legsTat" $tempSlave.legsTat>>
<br>
''__Boobs Tattoo__ (
<<if $tempSlave.boobsTat == 0>>@@.yellow;None@@
<<else>>@@.yellow;$tempSlave.boobsTat@@<</if>>
)''
<br>
<<radiobutton "$tempSlave.boobsTat" 0>>None
<<radiobutton "$tempSlave.boobsTat" "tribal patterns">>Tribal Patterns
<<radiobutton "$tempSlave.boobsTat" "flowers">>Flowers
<<radiobutton "$tempSlave.boobsTat" "scenes">>Scenes
<<radiobutton "$tempSlave.boobsTat" "Asian art">>Asian Art
<<radiobutton "$tempSlave.boobsTat" "degradation">>Degradation
<<radiobutton "$tempSlave.boobsTat" "counting">>Counting
<<radiobutton "$tempSlave.boobsTat" "advertisements">>Advertisements
<<radiobutton "$tempSlave.boobsTat" "rude words">>Rude Words
<br>''Custom boobs tattoo '' <<textbox "$tempSlave.boobsTat" $tempSlave.boobsTat>>
<br>
''__Butt Tattoo__ (
<<if $tempSlave.buttTat == 0>>@@.yellow;None@@
<<else>>@@.yellow;$tempSlave.buttTat@@<</if>>
)''
<br>
<<radiobutton "$tempSlave.buttTat" 0>>None
<<radiobutton "$tempSlave.buttTat" "tribal patterns">>Tribal Patterns
<<radiobutton "$tempSlave.buttTat" "flowers">>Flowers
<<radiobutton "$tempSlave.buttTat" "scenes">>Scenes
<<radiobutton "$tempSlave.buttTat" "Asian art">>Asian Art
<<radiobutton "$tempSlave.buttTat" "degradation">>Degradation
<<radiobutton "$tempSlave.buttTat" "counting">>Counting
<<radiobutton "$tempSlave.buttTat" "advertisements">>Advertisements
<<radiobutton "$tempSlave.buttTat" "rude words">>Rude Words
<br>''Custom butt tattoo '' <<textbox "$tempSlave.buttTat" $tempSlave.buttTat>>
<br>
''__Vagina Tattoo__ (
<<if $tempSlave.vaginaTat == 0>>@@.yellow;None@@
<<else>>@@.yellow;$tempSlave.vaginaTat@@<</if>>
)''
<br>
<<radiobutton "$tempSlave.vaginaTat" 0>>None
<<radiobutton "$tempSlave.vaginaTat" "tribal patterns">>Tribal Patterns
<<radiobutton "$tempSlave.vaginaTat" "flowers">>Flowers
<<radiobutton "$tempSlave.vaginaTat" "scenes">>Scenes
<<radiobutton "$tempSlave.vaginaTat" "Asian art">>Asian Art
<<radiobutton "$tempSlave.vaginaTat" "degradation">>Degradation
<<radiobutton "$tempSlave.vaginaTat" "counting">>Counting
<<radiobutton "$tempSlave.vaginaTat" "advertisements">>Advertisements
<<radiobutton "$tempSlave.vaginaTat" "rude words">>Rude Words
<br>''Custom vagina tattoo '' <<textbox "$tempSlave.vaginaTat" $tempSlave.vaginaTat>>
<br>
''__Anus Tattoo__ (
<<if $tempSlave.anusTat == 0>>@@.yellow;None@@
<<else>>@@.yellow;$tempSlave.anusTat@@<</if>>
)''
<br>
<<radiobutton "$tempSlave.anusTat" 0>>None
<<radiobutton "$tempSlave.anusTat" "bleached">>Bleached
<<radiobutton "$tempSlave.anusTat" "tribal patterns">>Tribal Patterns
<<radiobutton "$tempSlave.anusTat" "flowers">>Flowers
<<radiobutton "$tempSlave.anusTat" "degradation">>Degradation
<<radiobutton "$tempSlave.anusTat" "counting">>Counting
<<radiobutton "$tempSlave.anusTat" "advertisements">>Advertisements
<<radiobutton "$tempSlave.anusTat" "rude words">>Rude Words
<br>''Custom anus tattoo '' <<textbox "$tempSlave.anusTat" $tempSlave.anusTat>>
<br>
''__Dick Tattoo__ (
<<if $tempSlave.dickTat == 0>>@@.yellow;None@@
<<else>>@@.yellow;$tempSlave.dickTat@@<</if>>
)''
<br>
<<radiobutton "$tempSlave.dickTat" 0>>None
<<radiobutton "$tempSlave.dickTat" "tribal patterns">>Tribal Patterns
<<radiobutton "$tempSlave.dickTat" "flowers">>Flowers
<<radiobutton "$tempSlave.dickTat" "degradation">>Degradation
<<radiobutton "$tempSlave.dickTat" "counting">>Counting
<<radiobutton "$tempSlave.dickTat" "advertisements">>Advertisements
<<radiobutton "$tempSlave.dickTat" "rude words">>Rude Words
<br>''Custom dick tattoo '' <<textbox "$tempSlave.dickTat" $tempSlave.dickTat>>
<br>
''__Tramp Stamp Tattoo__ (
<<if $tempSlave.stampTat == 0>>@@.yellow;None@@
<<else>>@@.yellow;$tempSlave.stampTat@@<</if>>
)''
<br>
<<radiobutton "$tempSlave.stampTat" 0>>None
<<radiobutton "$tempSlave.stampTat" "tribal patterns">>Tribal Patterns
<<radiobutton "$tempSlave.stampTat" "flowers">>Flowers
<<radiobutton "$tempSlave.stampTat" "scenes">>Scenes
<<radiobutton "$tempSlave.stampTat" "Asian art">>Asian Art
<<radiobutton "$tempSlave.stampTat" "degradation">>Degradation
<<radiobutton "$tempSlave.stampTat" "counting">>Counting
<<radiobutton "$tempSlave.stampTat" "advertisements">>Advertisements
<<radiobutton "$tempSlave.stampTat" "rude words">>Rude Words
<br>''Custom tramp stamp tattoo '' <<textbox "$tempSlave.stampTat" $tempSlave.stampTat>>
<br>
<</widget>>
<<widget BrandTab>>
''Branding:''
<p id="brand-selection"></p>
<script>
App.Medicine.Modification.Select.brand(V.tempSlave, true)
</script>
<</widget>>
<<widget PierceTab>>
<br>
''Lips piercings (0-2): @@.yellow;$tempSlave.lipsPiercing@@''
|
<<radiobutton "$tempSlave.lipsPiercing" 0>> None
<<radiobutton "$tempSlave.lipsPiercing" 1>> Standard
<<radiobutton "$tempSlave.lipsPiercing" 2>> Heavy
<br>
''Tongue piercings (0-2): @@.yellow;$tempSlave.tonguePiercing@@''
|
<<radiobutton "$tempSlave.tonguePiercing" 0>> None
<<radiobutton "$tempSlave.tonguePiercing" 1>> Standard
<<radiobutton "$tempSlave.tonguePiercing" 2>> Heavy
<br>
''Ear piercings (0-2): @@.yellow;$tempSlave.earPiercing@@''
|
<<radiobutton "$tempSlave.earPiercing" 0>> None
<<radiobutton "$tempSlave.earPiercing" 1>> Standard
<<radiobutton "$tempSlave.earPiercing" 2>> Heavy
<br>
''Nose piercings (0-2): @@.yellow;$tempSlave.nosePiercing@@''
|
<<radiobutton "$tempSlave.nosePiercing" 0>> None
<<radiobutton "$tempSlave.nosePiercing" 1>> Standard
<<radiobutton "$tempSlave.nosePiercing" 2>> Heavy
<br>
''Eyebrow piercings (0-2): @@.yellow;$tempSlave.eyebrowPiercing@@''
|
<<radiobutton "$tempSlave.eyebrowPiercing" 0>> None
<<radiobutton "$tempSlave.eyebrowPiercing" 1>> Standard
<<radiobutton "$tempSlave.eyebrowPiercing" 2>> Heavy
<br>
''Navel piercings (0-2): @@.yellow;$tempSlave.navelPiercing@@''
|
<<radiobutton "$tempSlave.navelPiercing" 0>> None
<<radiobutton "$tempSlave.navelPiercing" 1>> Standard
<<radiobutton "$tempSlave.navelPiercing" 2>> Heavy
<br>
''Corset piercings (0-1): @@.yellow;$tempSlave.corsetPiercing@@''
|
<<radiobutton "$tempSlave.corsetPiercing" 0>> None
<<radiobutton "$tempSlave.corsetPiercing" 1>> Pierced
<br>
''Nipples piercings (0-2): @@.yellow;$tempSlave.nipplesPiercing@@''
|
<<radiobutton "$tempSlave.nipplesPiercing" 0>> None
<<radiobutton "$tempSlave.nipplesPiercing" 1>> Standard
<<radiobutton "$tempSlave.nipplesPiercing" 2>> Heavy
<br>
''Areolae piercings (0-2): @@.yellow;$tempSlave.areolaePiercing@@''
|
<<radiobutton "$tempSlave.areolaePiercing" 0>> None
<<radiobutton "$tempSlave.areolaePiercing" 1>> Standard
<<radiobutton "$tempSlave.areolaePiercing" 2>> Heavy
<br>
''Clit/frenulum piercing (0-3): @@.yellow;$tempSlave.clitPiercing@@''
|
<<radiobutton "$tempSlave.clitPiercing" 0>> None
<<radiobutton "$tempSlave.clitPiercing" 1>> Standard
<<radiobutton "$tempSlave.clitPiercing" 2>> Big
<<radiobutton "$tempSlave.clitPiercing" 3>> Smart piercing
<br>
''Pussylips piercings (0-2): @@.yellow;$tempSlave.vaginaPiercing@@''
|
<<radiobutton "$tempSlave.vaginaPiercing" 0>> None
<<radiobutton "$tempSlave.vaginaPiercing" 1>> Standard
<<radiobutton "$tempSlave.vaginaPiercing" 2>> Heavy
<br>
''Anus piercing (0-2): @@.yellow;$tempSlave.anusPiercing@@''
|
<<radiobutton "$tempSlave.anusPiercing" 0>> None
<<radiobutton "$tempSlave.anusPiercing" 1>> Standard
<<radiobutton "$tempSlave.anusPiercing" 2>> Heavy
<br>
''Shaft piercings (0-2): @@.yellow;$tempSlave.dickPiercing@@''
|
<<radiobutton "$tempSlave.dickPiercing" 0>> None
<<radiobutton "$tempSlave.dickPiercing" 1>> Standard
<<radiobutton "$tempSlave.dickPiercing" 2>> Heavy
<br>
<</widget>>
''Cheat Edit Slave '' <<link "[Cancel]" "Slave Interact">><<unset $tempSlave, $customEvalCode>><</link>>
<br>
<br><br>
/*-------------------------------------------------------------------------------------------------------------------------------*/
<<link "__Show All__">>
<<if (ndef _sAllR) || (_sAllR == 0) >>
<<replace "#spot">>
<<set _faceR = 0>><<set _nameR = 0>><<set _famR = 0>><<set _identR = 0>><<set _ageR = 0>><<set _devR = 0>><<set _hairR = 0>>
<<set _descR = 0>><<set _eyesR = 0>><<set _mouthR = 0>><<set _bodyR = 0>><<set _titsR = 0>><<set _buttR = 0>><<set _vagR = 0>><<set _pregR = 0>><<set _genqR = 0>>
<<set _dickR = 0>><<set _skillsR = 0>><<set _intR = 0>><<set _sexR = 0>><<set _flawR = 0>><<set _tatsR = 0>><<set _pierceR = 0>><<set _ecol3R = 0>>
<<set _sAllR = 1>><<set _natR = 0>><<set _carR = 0>><<set _bellyR = 0>><<set _useR = 0>><<set _brandR = 0>><<set _hcol5R = 0>><<set _hcol4R = 0>>
<<set _hcol3R = 0>><<set _hcol2R = 0>><<set _hcol1R = 0>><<set _ecol1RR = 0>><<set _ecol1RL = 0>><<set _ecol2R = 0>><<set _ppilRR = 0>><<set _ppilRL = 0>>
<<set _sclrRR = 0>><<set _sclrRL = 0>>
<<NameTab>>
<<FamilyTab>>
<<NationalTab>>
<<AgeTab>>
<<DevoTab>>
<<FaceTab>>
<<HairTab>>
<<EyesTab>>
<<MouthTab>>
<<BodyTab>>
<<BellyTab>>
<<BreastsTab>>
<<ButtTab>>
<<VagTab>>
<<PregTab>>
<<PenisTab>>
<<SkillsTab>>
<<InteliTab>>
<<FetSexTab>>
<<FlaQuiTab>>
<<GenQuiTab>>
<<StatisticTab>>
<<PrestTab>>
<<TattooTab>>
<<BrandTab>>
<<PierceTab>>
<</replace>>
<<else>>
<<replace "#spot">>
<<set _sAllR = 0>>
<</replace>>
<</if>>
<</link>>
<br>
/*-------------------------------------------------------------------------------------------------------------------------------*/
<<link "Name & Status ">>
<<if (ndef _nameR) || (_nameR == 0) >>
<<replace "#spot">>
<<set _faceR = 0>><<set _nameR = 1>><<set _famR = 0>><<set _identR = 0>><<set _ageR = 0>><<set _devR = 0>><<set _hairR = 0>>
<<set _descR = 0>><<set _eyesR = 0>><<set _mouthR = 0>><<set _bodyR = 0>><<set _titsR = 0>><<set _buttR = 0>><<set _vagR = 0>><<set _pregR = 0>><<set _genqR = 0>>
<<set _dickR = 0>><<set _skillsR = 0>><<set _intR = 0>><<set _sexR = 0>><<set _flawR = 0>><<set _tatsR = 0>><<set _pierceR = 0>><<set _ecol3R = 0>>
<<set _sAllR = 0>><<set _natR = 0>><<set _carR = 0>><<set _bellyR = 0>><<set _useR = 0>><<set _brandR = 0>><<set _hcol5R = 0>><<set _hcol4R = 0>>
<<set _hcol3R = 0>><<set _hcol2R = 0>><<set _hcol1R = 0>><<set _ecol1RR = 0>><<set _ecol1RL = 0>><<set _ecol2R = 0>><<set _ppilRR = 0>><<set _ppilRL = 0>>
<<set _sclrRR = 0>><<set _sclrRL = 0>>
<<NameTab>>
<</replace>>
<<else>>
<<replace "#spot">>
<<set _nameR = 0>>
<</replace>>
<</if>>
<</link>>
/*-------------------------------------------------------------------------------------------------------------------------------*/
<<print " | " >>
<<link "Family & Relations">>
<<if (ndef _famR) || (_famR == 0) >>
<<replace "#spot">>
<<set _faceR = 0>><<set _nameR = 0>><<set _famR = 1>><<set _identR = 0>><<set _ageR = 0>><<set _devR = 0>><<set _hairR = 0>>
<<set _descR = 0>><<set _eyesR = 0>><<set _mouthR = 0>><<set _bodyR = 0>><<set _titsR = 0>><<set _buttR = 0>><<set _vagR = 0>><<set _pregR = 0>><<set _genqR = 0>>
<<set _dickR = 0>><<set _skillsR = 0>><<set _intR = 0>><<set _sexR = 0>><<set _flawR = 0>><<set _tatsR = 0>><<set _pierceR = 0>><<set _ecol3R = 0>>
<<set _sAllR = 0>><<set _natR = 0>><<set _carR = 0>><<set _bellyR = 0>><<set _useR = 0>><<set _brandR = 0>><<set _hcol5R = 0>><<set _hcol4R = 0>>
<<set _hcol3R = 0>><<set _hcol2R = 0>><<set _hcol1R = 0>><<set _ecol1RR = 0>><<set _ecol1RL = 0>><<set _ecol2R = 0>><<set _ppilRR = 0>><<set _ppilRL = 0>>
<<set _sclrRR = 0>><<set _sclrRL = 0>>
<<FamilyTab>>
<</replace>>
<<else>>
<<replace "#spot">>
<<set _famR = 0>>
<</replace>>
<</if>>
<</link>>
/*-------------------------------------------------------------------------------------------------------------------------------*/
<<print " | " >>
<<link "Nationality, Origin & Career">>
<<if (ndef _identR) || (_identR == 0) >>
<<replace "#spot">>
<<set _faceR = 0>><<set _nameR = 0>><<set _famR = 0>><<set _identR = 1>><<set _ageR = 0>><<set _devR = 0>><<set _hairR = 0>>
<<set _descR = 0>><<set _eyesR = 0>><<set _mouthR = 0>><<set _bodyR = 0>><<set _titsR = 0>><<set _buttR = 0>><<set _vagR = 0>><<set _pregR = 0>><<set _genqR = 0>>
<<set _dickR = 0>><<set _skillsR = 0>><<set _intR = 0>><<set _sexR = 0>><<set _flawR = 0>><<set _tatsR = 0>><<set _pierceR = 0>><<set _ecol3R = 0>>
<<set _sAllR = 0>><<set _natR = 0>><<set _carR = 0>><<set _bellyR = 0>><<set _useR = 0>><<set _brandR = 0>><<set _hcol5R = 0>><<set _hcol4R = 0>>
<<set _hcol3R = 0>><<set _hcol2R = 0>><<set _hcol1R = 0>><<set _ecol1RR = 0>><<set _ecol1RL = 0>><<set _ecol2R = 0>><<set _ppilRR = 0>><<set _ppilRL = 0>>
<<set _sclrRR = 0>><<set _sclrRL = 0>>
<<NationalTab>>
<</replace>>
<<else>>
<<replace "#spot">>
<<set _identR = 0>>
<</replace>>
<</if>>
<</link>>
/*-------------------------------------------------------------------------------------------------------------------------------*/
<<print " | " >>
<<link "Age & Health">>
<<if (ndef _nameR) || (_ageR == 0) >>
<<replace "#spot">>
<<set _faceR = 0>><<set _nameR = 0>><<set _famR = 0>><<set _identR = 0>><<set _ageR = 1>><<set _devR = 0>><<set _hairR = 0>>
<<set _descR = 0>><<set _eyesR = 0>><<set _mouthR = 0>><<set _bodyR = 0>><<set _titsR = 0>><<set _buttR = 0>><<set _vagR = 0>><<set _pregR = 0>><<set _genqR = 0>>
<<set _dickR = 0>><<set _skillsR = 0>><<set _intR = 0>><<set _sexR = 0>><<set _flawR = 0>><<set _tatsR = 0>><<set _pierceR = 0>><<set _ecol3R = 0>>
<<set _sAllR = 0>><<set _natR = 0>><<set _carR = 0>><<set _bellyR = 0>><<set _useR = 0>><<set _brandR = 0>><<set _hcol5R = 0>><<set _hcol4R = 0>>
<<set _hcol3R = 0>><<set _hcol2R = 0>><<set _hcol1R = 0>><<set _ecol1RR = 0>><<set _ecol1RL = 0>><<set _ecol2R = 0>><<set _ppilRR = 0>><<set _ppilRL = 0>>
<<set _sclrRR = 0>><<set _sclrRL = 0>>
<<AgeTab>>
<</replace>>
<<else>>
<<replace "#spot">>
<<set _ageR = 0>>
<</replace>>
<</if>>
<</link>>
/*-------------------------------------------------------------------------------------------------------------------------------*/
<<print " | " >>
<<link "Devotion & Trust">>
<<if (ndef _devR) || (_devR == 0) >>
<<replace "#spot">>
<<set _faceR = 0>><<set _nameR = 0>><<set _famR = 0>><<set _identR = 0>><<set _ageR = 0>><<set _devR = 1>><<set _hairR = 0>>
<<set _descR = 0>><<set _eyesR = 0>><<set _mouthR = 0>><<set _bodyR = 0>><<set _titsR = 0>><<set _buttR = 0>><<set _vagR = 0>><<set _pregR = 0>><<set _genqR = 0>>
<<set _dickR = 0>><<set _skillsR = 0>><<set _intR = 0>><<set _sexR = 0>><<set _flawR = 0>><<set _tatsR = 0>><<set _pierceR = 0>><<set _ecol3R = 0>>
<<set _sAllR = 0>><<set _natR = 0>><<set _carR = 0>><<set _bellyR = 0>><<set _useR = 0>><<set _brandR = 0>><<set _hcol5R = 0>><<set _hcol4R = 0>>
<<set _hcol3R = 0>><<set _hcol2R = 0>><<set _hcol1R = 0>><<set _ecol1RR = 0>><<set _ecol1RL = 0>><<set _ecol2R = 0>><<set _ppilRR = 0>><<set _ppilRL = 0>>
<<set _sclrRR = 0>><<set _sclrRL = 0>>
<<DevoTab>>
<</replace>>
<<else>>
<<replace "#spot">>
<<set _devR = 0>>
<</replace>>
<</if>>
<</link>>
/*-------------------------------------------------------------------------------------------------------------------------------*/
<br>
<<link "Face & Skin">>
<<if (ndef _faceR) || (_faceR == 0) >>
<<replace "#spot">>
<<set _faceR = 1>><<set _nameR = 0>><<set _famR = 0>><<set _identR = 0>><<set _ageR = 0>><<set _devR = 0>><<set _hairR = 0>>
<<set _descR = 0>><<set _eyesR = 0>><<set _mouthR = 0>><<set _bodyR = 0>><<set _titsR = 0>><<set _buttR = 0>><<set _vagR = 0>><<set _pregR = 0>><<set _genqR = 0>>
<<set _dickR = 0>><<set _skillsR = 0>><<set _intR = 0>><<set _sexR = 0>><<set _flawR = 0>><<set _tatsR = 0>><<set _pierceR = 0>><<set _ecol3R = 0>>
<<set _sAllR = 0>><<set _natR = 0>><<set _carR = 0>><<set _bellyR = 0>><<set _useR = 0>><<set _brandR = 0>><<set _hcol5R = 0>><<set _hcol4R = 0>>
<<set _hcol3R = 0>><<set _hcol2R = 0>><<set _hcol1R = 0>><<set _ecol1RR = 0>><<set _ecol1RL = 0>><<set _ecol2R = 0>><<set _ppilRR = 0>><<set _ppilRL = 0>>
<<set _sclrRR = 0>><<set _sclrRL = 0>>
<<FaceTab>>
<</replace>>
<<else>>
<<replace "#spot">>
<<set _faceR = 0>>
<</replace>>
<</if>>
<</link>>
/*-------------------------------------------------------------------------------------------------------------------------------*/
<<print " | " >>
<<link "Hair">>
<<if (ndef _hairR) || (_hairR == 0) >>
<<replace "#spot">>
<<set _faceR = 0>><<set _nameR = 0>><<set _famR = 0>><<set _identR = 0>><<set _ageR = 0>><<set _devR = 0>><<set _hairR = 1>>
<<set _descR = 0>><<set _eyesR = 0>><<set _mouthR = 0>><<set _bodyR = 0>><<set _titsR = 0>><<set _buttR = 0>><<set _vagR = 0>><<set _pregR = 0>><<set _genqR = 0>>
<<set _dickR = 0>><<set _skillsR = 0>><<set _intR = 0>><<set _sexR = 0>><<set _flawR = 0>><<set _tatsR = 0>><<set _pierceR = 0>><<set _ecol3R = 0>>
<<set _sAllR = 0>><<set _natR = 0>><<set _carR = 0>><<set _bellyR = 0>><<set _useR = 0>><<set _brandR = 0>><<set _hcol5R = 0>><<set _hcol4R = 0>>
<<set _hcol3R = 0>><<set _hcol2R = 0>><<set _hcol1R = 0>><<set _ecol1RR = 0>><<set _ecol1RL = 0>><<set _ecol2R = 0>><<set _ppilRR = 0>><<set _ppilRL = 0>>
<<set _sclrRR = 0>><<set _sclrRL = 0>>
<<HairTab>>
<</replace>>
<<else>>
<<replace "#spot">>
<<set _hairR = 0>>
<</replace>>
<</if>>
<</link>>
/*-------------------------------------------------------------------------------------------------------------------------------*/
<<print " | " >>
<<link "Eyes">>
<<if (ndef _eyesR) || (_eyesR == 0) >>
<<replace "#spot">>
<<set _faceR = 0>><<set _nameR = 0>><<set _famR = 0>><<set _identR = 0>><<set _ageR = 0>><<set _devR = 0>><<set _hairR = 0>>
<<set _descR = 0>><<set _eyesR = 1>><<set _mouthR = 0>><<set _bodyR = 0>><<set _titsR = 0>><<set _buttR = 0>><<set _vagR = 0>><<set _pregR = 0>><<set _genqR = 0>>
<<set _dickR = 0>><<set _skillsR = 0>><<set _intR = 0>><<set _sexR = 0>><<set _flawR = 0>><<set _tatsR = 0>><<set _pierceR = 0>><<set _ecol3R = 0>>
<<set _sAllR = 0>><<set _natR = 0>><<set _carR = 0>><<set _bellyR = 0>><<set _useR = 0>><<set _brandR = 0>><<set _hcol5R = 0>><<set _hcol4R = 0>>
<<set _hcol3R = 0>><<set _hcol2R = 0>><<set _hcol1R = 0>><<set _ecol1RR = 0>><<set _ecol1RL = 0>><<set _ecol2R = 0>><<set _ppilRR = 0>><<set _ppilRL = 0>>
<<set _sclrRR = 0>><<set _sclrRL = 0>>
<<EyesTab>>
<</replace>>
<<else>>
<<replace "#spot">>
<<set _eyesR = 0>>
<</replace>>
<</if>>
<</link>>
/*-------------------------------------------------------------------------------------------------------------------------------*/
<<print " | " >>
<<link "Mouth">>
<<if (ndef _mouthR) || (_mouthR == 0) >>
<<replace "#spot">>
<<set _faceR = 0>><<set _nameR = 0>><<set _famR = 0>><<set _identR = 0>><<set _ageR = 0>><<set _devR = 0>><<set _hairR = 0>>
<<set _descR = 0>><<set _eyesR = 0>><<set _mouthR = 1>><<set _bodyR = 0>><<set _titsR = 0>><<set _buttR = 0>><<set _vagR = 0>><<set _pregR = 0>><<set _genqR = 0>>
<<set _dickR = 0>><<set _skillsR = 0>><<set _intR = 0>><<set _sexR = 0>><<set _flawR = 0>><<set _tatsR = 0>><<set _pierceR = 0>><<set _ecol3R = 0>>
<<set _sAllR = 0>><<set _natR = 0>><<set _carR = 0>><<set _bellyR = 0>><<set _useR = 0>><<set _brandR = 0>><<set _hcol5R = 0>><<set _hcol4R = 0>>
<<set _hcol3R = 0>><<set _hcol2R = 0>><<set _hcol1R = 0>><<set _ecol1RR = 0>><<set _ecol1RL = 0>><<set _ecol2R = 0>><<set _ppilRR = 0>><<set _ppilRL = 0>>
<<set _sclrRR = 0>><<set _sclrRL = 0>>
<<MouthTab>>
<</replace>>
<<else>>
<<replace "#spot">>
<<set _mouthR = 0>>
<</replace>>
<</if>>
<</link>>
/*-------------------------------------------------------------------------------------------------------------------------------*/
<<print " | " >>
<<link "Body">>
<<if (ndef _bodyR) || (_bodyR == 0) >>
<<replace "#spot">>
<<set _faceR = 0>><<set _nameR = 0>><<set _famR = 0>><<set _identR = 0>><<set _ageR = 0>><<set _devR = 0>><<set _hairR = 0>>
<<set _descR = 0>><<set _eyesR = 0>><<set _mouthR = 0>><<set _bodyR = 1>><<set _titsR = 0>><<set _buttR = 0>><<set _vagR = 0>><<set _pregR = 0>><<set _genqR = 0>>
<<set _dickR = 0>><<set _skillsR = 0>><<set _intR = 0>><<set _sexR = 0>><<set _flawR = 0>><<set _tatsR = 0>><<set _pierceR = 0>><<set _ecol3R = 0>>
<<set _sAllR = 0>><<set _natR = 0>><<set _carR = 0>><<set _bellyR = 0>><<set _useR = 0>><<set _brandR = 0>><<set _hcol5R = 0>><<set _hcol4R = 0>>
<<set _hcol3R = 0>><<set _hcol2R = 0>><<set _hcol1R = 0>><<set _ecol1RR = 0>><<set _ecol1RL = 0>><<set _ecol2R = 0>><<set _ppilRR = 0>><<set _ppilRL = 0>>
<<set _sclrRR = 0>><<set _sclrRL = 0>>
<<BodyTab>>
<</replace>>
<<else>>
<<replace "#spot">>
<<set _bodyR = 0>>
<</replace>>
<</if>>
<</link>>
/*-------------------------------------------------------------------------------------------------------------------------------*/
<<print " | " >>
<<link "Belly">>
<<if (ndef _bellyR) || (_bellyR == 0) >>
<<replace "#spot">>
<<set _faceR = 0>><<set _nameR = 0>><<set _famR = 0>><<set _identR = 0>><<set _ageR = 0>><<set _devR = 0>><<set _hairR = 0>>
<<set _descR = 0>><<set _eyesR = 0>><<set _mouthR = 0>><<set _bodyR = 0>><<set _titsR = 0>><<set _buttR = 0>><<set _vagR = 0>><<set _pregR = 0>><<set _genqR = 0>>
<<set _dickR = 0>><<set _skillsR = 0>><<set _intR = 0>><<set _sexR = 0>><<set _flawR = 0>><<set _tatsR = 0>><<set _pierceR = 0>><<set _ecol3R = 0>>
<<set _sAllR = 0>><<set _natR = 0>><<set _carR = 0>><<set _bellyR = 1>><<set _useR = 0>><<set _brandR = 0>><<set _hcol5R = 0>><<set _hcol4R = 0>>
<<set _hcol3R = 0>><<set _hcol2R = 0>><<set _hcol1R = 0>><<set _ecol1RR = 0>><<set _ecol1RL = 0>><<set _ecol2R = 0>><<set _ppilRR = 0>><<set _ppilRL = 0>>
<<set _sclrRR = 0>><<set _sclrRL = 0>>
<<BellyTab>>
<</replace>>
<<else>>
<<replace "#spot">>
<<set _bellyR = 0>>
<</replace>>
<</if>>
<</link>>
/*-------------------------------------------------------------------------------------------------------------------------------*/
<<print " | " >>
<<link "Breasts">>
<<if (ndef _titsR) || (_titsR == 0) >>
<<replace "#spot">>
<<set _faceR = 0>><<set _nameR = 0>><<set _famR = 0>><<set _identR = 0>><<set _ageR = 0>><<set _devR = 0>><<set _hairR = 0>>
<<set _descR = 0>><<set _eyesR = 0>><<set _mouthR = 0>><<set _bodyR = 0>><<set _titsR = 1>><<set _buttR = 0>><<set _vagR = 0>><<set _pregR = 0>><<set _genqR = 0>>
<<set _dickR = 0>><<set _skillsR = 0>><<set _intR = 0>><<set _sexR = 0>><<set _flawR = 0>><<set _tatsR = 0>><<set _pierceR = 0>><<set _ecol3R = 0>>
<<set _sAllR = 0>><<set _natR = 0>><<set _carR = 0>><<set _bellyR = 0>><<set _useR = 0>><<set _brandR = 0>><<set _hcol5R = 0>><<set _hcol4R = 0>>
<<set _hcol3R = 0>><<set _hcol2R = 0>><<set _hcol1R = 0>><<set _ecol1RR = 0>><<set _ecol1RL = 0>><<set _ecol2R = 0>><<set _ppilRR = 0>><<set _ppilRL = 0>>
<<set _sclrRR = 0>><<set _sclrRL = 0>>
<<BreastsTab>>
<</replace>>
<<else>>
<<replace "#spot">>
<<set _titsR = 0>>
<</replace>>
<</if>>
<</link>>
/*-------------------------------------------------------------------------------------------------------------------------------*/
<<print " | " >>
<<link "Butt">>
<<if (ndef _buttR) || (_buttR == 0) >>
<<replace "#spot">>
<<set _faceR = 0>><<set _nameR = 0>><<set _famR = 0>><<set _identR = 0>><<set _ageR = 0>><<set _devR = 0>><<set _hairR = 0>>
<<set _descR = 0>><<set _eyesR = 0>><<set _mouthR = 0>><<set _bodyR = 0>><<set _titsR = 0>><<set _buttR = 1>><<set _vagR = 0>><<set _pregR = 0>><<set _genqR = 0>>
<<set _dickR = 0>><<set _skillsR = 0>><<set _intR = 0>><<set _sexR = 0>><<set _flawR = 0>><<set _tatsR = 0>><<set _pierceR = 0>><<set _ecol3R = 0>>
<<set _sAllR = 0>><<set _natR = 0>><<set _carR = 0>><<set _bellyR = 0>><<set _useR = 0>><<set _brandR = 0>><<set _hcol5R = 0>><<set _hcol4R = 0>>
<<set _hcol3R = 0>><<set _hcol2R = 0>><<set _hcol1R = 0>><<set _ecol1RR = 0>><<set _ecol1RL = 0>><<set _ecol2R = 0>><<set _ppilRR = 0>><<set _ppilRL = 0>>
<<set _sclrRR = 0>><<set _sclrRL = 0>>
<<ButtTab>>
<</replace>>
<<else>>
<<replace "#spot">>
<<set _buttR = 0>>
<</replace>>
<</if>>
<</link>>
/*-------------------------------------------------------------------------------------------------------------------------------*/
<<print " | " >>
<<link "Vagina">>
<<if (ndef _vagR) || (_vagR == 0) >>
<<replace "#spot">><br>
<<set _faceR = 0>><<set _nameR = 0>><<set _famR = 0>><<set _identR = 0>><<set _ageR = 0>><<set _devR = 0>><<set _hairR = 0>>
<<set _descR = 0>><<set _eyesR = 0>><<set _mouthR = 0>><<set _bodyR = 0>><<set _titsR = 0>><<set _buttR = 0>><<set _vagR = 1>><<set _pregR = 0>><<set _genqR = 0>>
<<set _dickR = 0>><<set _skillsR = 0>><<set _intR = 0>><<set _sexR = 0>><<set _flawR = 0>><<set _tatsR = 0>><<set _pierceR = 0>><<set _ecol3R = 0>>
<<set _sAllR = 0>><<set _natR = 0>><<set _carR = 0>><<set _bellyR = 0>><<set _useR = 0>><<set _brandR = 0>><<set _hcol5R = 0>><<set _hcol4R = 0>>
<<set _hcol3R = 0>><<set _hcol2R = 0>><<set _hcol1R = 0>><<set _ecol1RR = 0>><<set _ecol1RL = 0>><<set _ecol2R = 0>><<set _ppilRR = 0>><<set _ppilRL = 0>>
<<set _sclrRR = 0>><<set _sclrRL = 0>>
<<VagTab>>
<</replace>>
<<else>>
<<replace "#spot">>
<<set _vagR = 0>>
<</replace>>
<</if>>
<</link>>
/*-------------------------------------------------------------------------------------------------------------------------------*/
<<print " | " >>
<<link "Pregnancy">>
<<if (ndef _pregR) || (_pregR == 0) >>
<<replace "#spot">><br>
<<set _faceR = 0>><<set _nameR = 0>><<set _famR = 0>><<set _identR = 0>><<set _ageR = 0>><<set _devR = 0>><<set _hairR = 0>>
<<set _descR = 0>><<set _eyesR = 0>><<set _mouthR = 0>><<set _bodyR = 0>><<set _titsR = 0>><<set _buttR = 0>><<set _vagR = 0>><<set _pregR = 1>><<set _genqR = 0>>
<<set _dickR = 0>><<set _skillsR = 0>><<set _intR = 0>><<set _sexR = 0>><<set _flawR = 0>><<set _tatsR = 0>><<set _pierceR = 0>><<set _ecol3R = 0>>
<<set _sAllR = 0>><<set _natR = 0>><<set _carR = 0>><<set _bellyR = 0>><<set _useR = 0>><<set _brandR = 0>><<set _hcol5R = 0>><<set _hcol4R = 0>>
<<set _hcol3R = 0>><<set _hcol2R = 0>><<set _hcol1R = 0>><<set _ecol1RR = 0>><<set _ecol1RL = 0>><<set _ecol2R = 0>><<set _ppilRR = 0>><<set _ppilRL = 0>>
<<set _sclrRR = 0>><<set _sclrRL = 0>>
<<PregTab>>
<</replace>>
<<else>>
<<replace "#spot">>
<<set _pregR = 0>>
<</replace>>
<</if>>
<</link>>
/*-------------------------------------------------------------------------------------------------------------------------------*/
<<print " | " >>
<<link "Penis">>
<<if (ndef _dickR) || (_dickR == 0) >>
<<replace "#spot">>
<<set _faceR = 0>><<set _nameR = 0>><<set _famR = 0>><<set _identR = 0>><<set _ageR = 0>><<set _devR = 0>><<set _hairR = 0>>
<<set _descR = 0>><<set _eyesR = 0>><<set _mouthR = 0>><<set _bodyR = 0>><<set _titsR = 0>><<set _buttR = 0>><<set _vagR = 0>><<set _pregR = 0>><<set _genqR = 0>>
<<set _dickR = 1>><<set _skillsR = 0>><<set _intR = 0>><<set _sexR = 0>><<set _flawR = 0>><<set _tatsR = 0>><<set _pierceR = 0>><<set _ecol3R = 0>>
<<set _sAllR = 0>><<set _natR = 0>><<set _carR = 0>><<set _bellyR = 0>><<set _useR = 0>><<set _brandR = 0>><<set _hcol5R = 0>><<set _hcol4R = 0>>
<<set _hcol3R = 0>><<set _hcol2R = 0>><<set _hcol1R = 0>><<set _ecol1RR = 0>><<set _ecol1RL = 0>><<set _ecol2R = 0>><<set _ppilRR = 0>><<set _ppilRL = 0>>
<<set _sclrRR = 0>><<set _sclrRL = 0>>
<<PenisTab>>
<</replace>>
<<else>>
<<replace "#spot">>
<<set _dickR = 0>>
<</replace>>
<</if>>
<</link>>
/*-------------------------------------------------------------------------------------------------------------------------------*/
<br>
<<link "Skills">>
<<if (ndef _skillsR) || (_skillsR == 0) >>
<<replace "#spot">>
<<set _faceR = 0>><<set _nameR = 0>><<set _famR = 0>><<set _identR = 0>><<set _ageR = 0>><<set _devR = 0>><<set _hairR = 0>>
<<set _descR = 0>><<set _eyesR = 0>><<set _mouthR = 0>><<set _bodyR = 0>><<set _titsR = 0>><<set _buttR = 0>><<set _vagR = 0>><<set _pregR = 0>><<set _genqR = 0>>
<<set _dickR = 0>><<set _skillsR = 1>><<set _intR = 0>><<set _sexR = 0>><<set _flawR = 0>><<set _tatsR = 0>><<set _pierceR = 0>><<set _ecol3R = 0>>
<<set _sAllR = 0>><<set _natR = 0>><<set _carR = 0>><<set _bellyR = 0>><<set _useR = 0>><<set _brandR = 0>><<set _hcol5R = 0>><<set _hcol4R = 0>>
<<set _hcol3R = 0>><<set _hcol2R = 0>><<set _hcol1R = 0>><<set _ecol1RR = 0>><<set _ecol1RL = 0>><<set _ecol2R = 0>><<set _ppilRR = 0>><<set _ppilRL = 0>>
<<set _sclrRR = 0>><<set _sclrRL = 0>>
<<SkillsTab>>
<</replace>>
<<else>>
<<replace "#spot">>
<<set _skillsR = 0>>
<</replace>>
<</if>>
<</link>>
/*-------------------------------------------------------------------------------------------------------------------------------*/
<<print " | " >>
<<link "Intelligence">>
<<if (ndef _intR) || (_intR == 0) >>
<<replace "#spot">>
<<set _faceR = 0>><<set _nameR = 0>><<set _famR = 0>><<set _identR = 0>><<set _ageR = 0>><<set _devR = 0>><<set _hairR = 0>>
<<set _descR = 0>><<set _eyesR = 0>><<set _mouthR = 0>><<set _bodyR = 0>><<set _titsR = 0>><<set _buttR = 0>><<set _vagR = 0>><<set _pregR = 0>><<set _genqR = 0>>
<<set _dickR = 0>><<set _skillsR = 0>><<set _intR = 1>><<set _sexR = 0>><<set _flawR = 0>><<set _tatsR = 0>><<set _pierceR = 0>><<set _ecol3R = 0>>
<<set _sAllR = 0>><<set _natR = 0>><<set _carR = 0>><<set _bellyR = 0>><<set _useR = 0>><<set _brandR = 0>><<set _hcol5R = 0>><<set _hcol4R = 0>>
<<set _hcol3R = 0>><<set _hcol2R = 0>><<set _hcol1R = 0>><<set _ecol1RR = 0>><<set _ecol1RL = 0>><<set _ecol2R = 0>><<set _ppilRR = 0>><<set _ppilRL = 0>>
<<set _sclrRR = 0>><<set _sclrRL = 0>>
<<InteliTab>>
<</replace>>
<<else>>
<<replace "#spot">>
<<set _intR = 0>>
<</replace>>
<</if>>
<</link>>
/*-------------------------------------------------------------------------------------------------------------------------------*/
<<print " | " >>
<<link "Fetish & Sexuality">>
<<if (ndef _sexR) || (_sexR == 0) >>
<<replace "#spot">>
<<set _faceR = 0>><<set _nameR = 0>><<set _famR = 0>><<set _identR = 0>><<set _ageR = 0>><<set _devR = 0>><<set _hairR = 0>>
<<set _descR = 0>><<set _eyesR = 0>><<set _mouthR = 0>><<set _bodyR = 0>><<set _titsR = 0>><<set _buttR = 0>><<set _vagR = 0>><<set _pregR = 0>><<set _genqR = 0>>
<<set _dickR = 0>><<set _skillsR = 0>><<set _intR = 0>><<set _sexR = 1>><<set _flawR = 0>><<set _tatsR = 0>><<set _pierceR = 0>><<set _ecol3R = 0>>
<<set _sAllR = 0>><<set _natR = 0>><<set _carR = 0>><<set _bellyR = 0>><<set _useR = 0>><<set _brandR = 0>><<set _hcol5R = 0>><<set _hcol4R = 0>>
<<set _hcol3R = 0>><<set _hcol2R = 0>><<set _hcol1R = 0>><<set _ecol1RR = 0>><<set _ecol1RL = 0>><<set _ecol2R = 0>><<set _ppilRR = 0>><<set _ppilRL = 0>>
<<set _sclrRR = 0>><<set _sclrRL = 0>>
<<FetSexTab>>
<</replace>>
<<else>>
<<replace "#spot">>
<<set _sexR = 0>>
<</replace>>
<</if>>
<</link>>
/*-------------------------------------------------------------------------------------------------------------------------------*/
<<print " | " >>
<<link "Flaws & Quirks">>
<<if (ndef _flawR) || (_flawR == 0) >>
<<replace "#spot">>
<<set _faceR = 0>><<set _nameR = 0>><<set _famR = 0>><<set _identR = 0>><<set _ageR = 0>><<set _devR = 0>><<set _hairR = 0>>
<<set _descR = 0>><<set _eyesR = 0>><<set _mouthR = 0>><<set _bodyR = 0>><<set _titsR = 0>><<set _buttR = 0>><<set _vagR = 0>><<set _pregR = 0>><<set _genqR = 0>>
<<set _dickR = 0>><<set _skillsR = 0>><<set _intR = 0>><<set _sexR = 0>><<set _flawR = 1>><<set _tatsR = 0>><<set _pierceR = 0>><<set _ecol3R = 0>>
<<set _sAllR = 0>><<set _natR = 0>><<set _carR = 0>><<set _bellyR = 0>><<set _useR = 0>><<set _brandR = 0>><<set _hcol5R = 0>><<set _hcol4R = 0>>
<<set _hcol3R = 0>><<set _hcol2R = 0>><<set _hcol1R = 0>><<set _ecol1RR = 0>><<set _ecol1RL = 0>><<set _ecol2R = 0>><<set _ppilRR = 0>><<set _ppilRL = 0>>
<<set _sclrRR = 0>><<set _sclrRL = 0>>
<<FlaQuiTab>>
<</replace>>
<<else>>
<<replace "#spot">>
<<set _flawR = 0>>
<</replace>>
<</if>>
<</link>>
/*-------------------------------------------------------------------------------------------------------------------------------*/
<<print " | " >>
<<link "Genetic Quirks">>
<<if (ndef _genqR) || (_genqR == 0) >>
<<replace "#spot">>
<<set _faceR = 0>><<set _nameR = 0>><<set _famR = 0>><<set _identR = 0>><<set _ageR = 0>><<set _devR = 0>><<set _hairR = 0>>
<<set _descR = 0>><<set _eyesR = 0>><<set _mouthR = 0>><<set _bodyR = 0>><<set _titsR = 0>><<set _buttR = 0>><<set _vagR = 0>><<set _pregR = 0>><<set _genqR = 1>>
<<set _dickR = 0>><<set _skillsR = 0>><<set _intR = 0>><<set _sexR = 0>><<set _flawR = 0>><<set _tatsR = 0>><<set _pierceR = 0>><<set _ecol3R = 0>>
<<set _sAllR = 0>><<set _natR = 0>><<set _carR = 0>><<set _bellyR = 0>><<set _useR = 0>><<set _brandR = 0>><<set _hcol5R = 0>><<set _hcol4R = 0>>
<<set _hcol3R = 0>><<set _hcol2R = 0>><<set _hcol1R = 0>><<set _ecol1RR = 0>><<set _ecol1RL = 0>><<set _ecol2R = 0>><<set _ppilRR = 0>><<set _ppilRL = 0>>
<<set _sclrRR = 0>><<set _sclrRL = 0>>
<<GenQuiTab>>
<</replace>>
<<else>>
<<replace "#spot">>
<<set _genqR = 0>>
<</replace>>
<</if>>
<</link>>
/*-------------------------------------------------------------------------------------------------------------------------------*/
<<print " | " >>
<<link "Statistics">>
<<if (ndef _useR) || (_useR == 0) >>
<<replace "#spot">>
<<set _faceR = 0>><<set _nameR = 0>><<set _famR = 0>><<set _identR = 0>><<set _ageR = 0>><<set _devR = 0>><<set _hairR = 0>>
<<set _descR = 0>><<set _eyesR = 0>><<set _mouthR = 0>><<set _bodyR = 0>><<set _titsR = 0>><<set _buttR = 0>><<set _vagR = 0>><<set _pregR = 0>><<set _genqR = 0>>
<<set _dickR = 0>><<set _skillsR = 0>><<set _intR = 0>><<set _sexR = 0>><<set _flawR = 0>><<set _tatsR = 0>><<set _pierceR = 0>><<set _ecol3R = 0>>
<<set _sAllR = 0>><<set _natR = 0>><<set _carR = 0>><<set _bellyR = 0>><<set _useR = 1>><<set _brandR = 0>><<set _hcol5R = 0>><<set _hcol4R = 0>>
<<set _hcol3R = 0>><<set _hcol2R = 0>><<set _hcol1R = 0>><<set _ecol1RR = 0>><<set _ecol1RL = 0>><<set _ecol2R = 0>><<set _ppilRR = 0>><<set _ppilRL = 0>>
<<set _sclrRR = 0>><<set _sclrRL = 0>>
<<StatisticTab>>
<</replace>>
<<else>>
<<replace "#spot">>
<<set _useR = 0>>
<</replace>>
<</if>>
<</link>>
/*-------------------------------------------------------------------------------------------------------------------------------*/
<br>
<<link "Prestige, Custom Tattoo & Description">>
<<if (ndef _descR) || (_descR == 0) >>
<<replace "#spot">>
<<set _faceR = 0>><<set _nameR = 0>><<set _famR = 0>><<set _identR = 0>><<set _ageR = 0>><<set _devR = 0>><<set _hairR = 0>>
<<set _descR = 1>><<set _eyesR = 0>><<set _mouthR = 0>><<set _bodyR = 0>><<set _titsR = 0>><<set _buttR = 0>><<set _vagR = 0>><<set _pregR = 0>><<set _genqR = 0>>
<<set _dickR = 0>><<set _skillsR = 0>><<set _intR = 0>><<set _sexR = 0>><<set _flawR = 0>><<set _tatsR = 0>><<set _pierceR = 0>><<set _ecol3R = 0>>
<<set _sAllR = 0>><<set _natR = 0>><<set _carR = 0>><<set _bellyR = 0>><<set _useR = 0>><<set _brandR = 0>><<set _hcol5R = 0>><<set _hcol4R = 0>>
<<set _hcol3R = 0>><<set _hcol2R = 0>><<set _hcol1R = 0>><<set _ecol1RR = 0>><<set _ecol1RL = 0>><<set _ecol2R = 0>><<set _ppilRR = 0>><<set _ppilRL = 0>>
<<set _sclrRR = 0>><<set _sclrRL = 0>>
<br>
<<PrestTab>>
<</replace>>
<<else>>
<<replace "#spot">>
<<set _descR = 0>>
<</replace>>
<</if>>
<</link>>
/*-------------------------------------------------------------------------------------------------------------------------------*/
<<print " | " >>
<<link "Tattoos">>
<<if (ndef _tatsR) || (_tatsR == 0) >>
<<replace "#spot">>
<<set _faceR = 0>><<set _nameR = 0>><<set _famR = 0>><<set _identR = 0>><<set _ageR = 0>><<set _devR = 0>><<set _hairR = 0>>
<<set _descR = 0>><<set _eyesR = 0>><<set _mouthR = 0>><<set _bodyR = 0>><<set _titsR = 0>><<set _buttR = 0>><<set _vagR = 0>><<set _pregR = 0>><<set _genqR = 0>>
<<set _dickR = 0>><<set _skillsR = 0>><<set _intR = 0>><<set _sexR = 0>><<set _flawR = 0>><<set _tatsR = 1>><<set _pierceR = 0>><<set _ecol3R = 0>>
<<set _sAllR = 0>><<set _natR = 0>><<set _carR = 0>><<set _bellyR = 0>><<set _useR = 0>><<set _brandR = 0>><<set _hcol5R = 0>><<set _hcol4R = 0>>
<<set _hcol3R = 0>><<set _hcol2R = 0>><<set _hcol1R = 0>><<set _ecol1RR = 0>><<set _ecol1RL = 0>><<set _ecol2R = 0>><<set _ppilRR = 0>><<set _ppilRL = 0>>
<<set _sclrRR = 0>><<set _sclrRL = 0>>
<<TattooTab>>
<</replace>>
<<else>>
<<replace "#spot">>
<<set _tatsR = 0>>
<</replace>>
<</if>>
<</link>>
/*-------------------------------------------------------------------------------------------------------------------------------*/
<<print " | " >>
<<link "Branding">>
<<if (ndef _brandR) || (_brandR == 0) >>
<<replace "#spot">>
<<set _faceR = 0>><<set _nameR = 0>><<set _famR = 0>><<set _identR = 0>><<set _ageR = 0>><<set _devR = 0>><<set _hairR = 0>>
<<set _descR = 0>><<set _eyesR = 0>><<set _mouthR = 0>><<set _bodyR = 0>><<set _titsR = 0>><<set _buttR = 0>><<set _vagR = 0>><<set _pregR = 0>><<set _genqR = 0>>
<<set _dickR = 0>><<set _skillsR = 0>><<set _intR = 0>><<set _sexR = 0>><<set _flawR = 0>><<set _tatsR = 0>><<set _pierceR = 0>><<set _ecol3R = 0>>
<<set _sAllR = 0>><<set _natR = 0>><<set _carR = 0>><<set _bellyR = 0>><<set _useR = 0>><<set _brandR = 1>><<set _hcol5R = 0>><<set _hcol4R = 0>>
<<set _hcol3R = 0>><<set _hcol2R = 0>><<set _hcol1R = 0>><<set _ecol1RR = 0>><<set _ecol1RL = 0>><<set _ecol2R = 0>><<set _ppilRR = 0>><<set _ppilRL = 0>>
<<set _sclrRR = 0>><<set _sclrRL = 0>>
<<BrandTab>>
<</replace>>
<<else>>
<<replace "#spot">>
<<set _brandR = 0>>
<</replace>>
<</if>>
<</link>>
/*-------------------------------------------------------------------------------------------------------------------------------*/
<<print " | " >>
<<link "Piercings">>
<<if (ndef _pierceR) || (_pierceR == 0) >>
<<replace "#spot">>
<<set _faceR = 0>><<set _nameR = 0>><<set _famR = 0>><<set _identR = 0>><<set _ageR = 0>><<set _devR = 0>><<set _hairR = 0>>
<<set _descR = 0>><<set _eyesR = 0>><<set _mouthR = 0>><<set _bodyR = 0>><<set _titsR = 0>><<set _buttR = 0>><<set _vagR = 0>><<set _pregR = 0>><<set _genqR = 0>>
<<set _dickR = 0>><<set _skillsR = 0>><<set _intR = 0>><<set _sexR = 0>><<set _flawR = 0>><<set _tatsR = 0>><<set _pierceR = 1>><<set _ecol3R = 0>>
<<set _sAllR = 0>><<set _natR = 0>><<set _carR = 0>><<set _bellyR = 0>><<set _useR = 0>><<set _brandR = 0>><<set _hcol5R = 0>><<set _hcol4R = 0>>
<<set _hcol3R = 0>><<set _hcol2R = 0>><<set _hcol1R = 0>><<set _ecol1RR = 0>><<set _ecol1RL = 0>><<set _ecol2R = 0>><<set _ppilRR = 0>><<set _ppilRL = 0>>
<<set _sclrRR = 0>><<set _sclrRL = 0>>
<<PierceTab>>
<</replace>>
<<else>>
<<replace "#spot">>
<<set _pierceR = 0>>
<</replace>>
<</if>>
<</link>>
/*-------------------------------------------------------------------------------------------------------------------------------*/
<br>
<<link "Custom Cheat">>
<<replace "#spot">>
<br><<textarea "$customEvalCode" "">>
<br>//Any JavaScript function will be automatically run using this slave as an argument when "Continue" is clicked. For example, entering "(slave) => slave.slaveName = 'Fancy Name' " will change your slave's name to "Fancy Name".//
<</replace>>
<</link>>
/*-------------------------------------------------------------------------------------------------------------------------------*/
<br><<print "@@.yellow;Refresh through selecting a new or the same passage again for Changes to be seen@@" >><br>
<span id="spot"></span><br>
/* ------------------------------------------------------------------------- Used Variables: ------------------------------------------------------------------------------------------------*/
/*.visualAge .ageImplant .birthWeek .health.condition .health.shortDamage .health.longDamage .health.illness .health.tired .chem .addict .devotion .oldDevotion .trust .oldTrust .face .faceShape .faceImplant .markings .bald .hLength .hStyle .hColor .origHColor*/
/*.eyebrowHColor .pubicHColor .pubicHStyle .underArmHColor .underArmHStyle .eyeColor .origEye .eye .hears .lips .lipsImplant .teeth .voiceImplant .voice .accent .genes .fuckdoll .muscles .weight .earShape .earT */
/*.waist .height .heightImplant .shoulders .shouldersImplant .hips .hipsImplant .bellyImplant .bellySag .burst .boobs .boobsImplant .boobsImplantType .lactation .boobShape .nipples .areolae .PTail .tail .tailShape .tailColor */
/*.butt .buttImplant .anus .mpreg .vagina .vaginaLube .clit .labia .pubertyXX .pubertyAgeXX .cervixImplant .breedingMark .ovaries .preg .pregType .pregSource .dick .foreskin .balls .PLimb .earImplant .arm .leg .electrolarynx */
|
MonsterMate/fc
|
src/cheats/mod_editSlaveCheatNew.tw
|
tw
|
mit
| 216,814
|
:: Backwards Compatibility [nobr]
<<set $nextButton = "Continue", $nextLink = "Main", $returnTo = "Main">>
<<run App.Update.setNonexistentProperties(V, App.Data.defaultGameStateVariables)>>
/* resetOnNGPlus contains half of the variables we need, but we use it politely here instead of forcing it so it fills in holes instead of overwriting data */
<<run App.Update.setNonexistentProperties(V, App.Data.resetOnNGPlus)>>
<span id="backwards-compatibility"></span>
<script>
App.Update.backwardsCompatibility();
</script>
|
MonsterMate/fc
|
src/data/backwardsCompatibility/BackwardsCompatibility.tw
|
tw
|
mit
| 522
|
// @ts-nocheck
/* eslint-disable no-lone-blocks */
App.Update.autoshred = function(node) {
const set = new Set(
Object.getOwnPropertyNames(App.Data.defaultGameStateVariables).concat(
Object.getOwnPropertyNames(App.Data.resetOnNGPlus)
)
);
let extraCount = 0;
for (const v in V) {
if (!set.has(v)) {
if (V.debugMode) {
if (!App.Data.ignoreGameStateVariables.includes(v)) {
console.log("Not on whitelist, removed:", "V."+v+":", V[v]);
} else {
extraCount++;
}
}
delete V[v];
}
}
if (extraCount !== 0) {
console.log(`and ${extraCount} more`);
}
node.append(`Done!`);
};
App.Update.setNonexistentProperties = function(obj, props) {
let count = 0;
for (const p of Object.getOwnPropertyNames(props)) {
if (typeof obj[p] === "undefined") {
if (obj[p] !== props[p]) {
console.log("setting V." + p + " to ", props[p]);
}
obj[p] = clone(props[p]);
count++;
}
}
return console.log(`Set up ${count} variables.`);
};
App.Update.setExistentProperties = function(obj, array) {
for (let p in array) {
if (Array.isArray(array[p])){
obj[p] = Array.from(array[p]);
} else if (typeof array[p] === "object" && typeof array[p] !== undefined && array[p] !== null) {
console.log("forcing V." + p + " to ", array[p]);
obj[p] = {};
Object.assign(obj[p], array[p]);
} else {
obj[p] = array[p];
}
}
};
App.Update.backwardsCompatibility = function() {
let div;
jQuery('#backwards-compatibility').empty();
try {
div = document.createElement('div');
div.append(`Check for old version... `);
jQuery('#backwards-compatibility').append(div);
App.Update.oldVersions(div);
div = document.createElement('div');
div.append(`Updating gene pool records... `);
jQuery('#backwards-compatibility').append(div);
App.Update.genePoolRecords(div);
div = document.createElement('div');
div.append(`Updating global variables... `);
jQuery('#backwards-compatibility').append(div);
App.Update.globalVariables(div);
div = document.createElement('div');
div.append(`Updating slave variables... `);
jQuery('#backwards-compatibility').append(div);
App.Update.slaveVariables(div);
div = document.createElement('div');
div.append(`Updating slave records... `);
jQuery('#backwards-compatibility').append(div);
App.Update.slaveRecords(div);
div = document.createElement('div');
div.append(`Updating Rule Assistant data... `);
jQuery('#backwards-compatibility').append(div);
App.Update.RAassistantData(div);
div = document.createElement('div');
div.append(`Checking for old arcology locations... `);
jQuery('#backwards-compatibility').append(div);
App.Update.arcologyLocation(div);
// Sec Exp
div = document.createElement('div');
div.append(`Updating Security Expansion... `);
jQuery('#backwards-compatibility').append(div);
App.SecExp.generalBC();
if (V.secExpEnabled > 0) {
div.append(App.UI.DOM.renderPassage("SecExpBackwardCompatibility"));
}
div = document.createElement('div');
div.append(`Checking for old variables... `);
jQuery('#backwards-compatibility').append(div);
App.Update.autoshred(div);
// leave this at the bottom of BC
div = document.createElement('div');
div.append(`Cleaning up... `);
jQuery('#backwards-compatibility').append(div);
App.Update.cleanUp(div);
App.UI.SlaveSummary.settingsChanged();
} catch (error) {
div = document.createElement('p');
div.className = "red";
div.textContent = `Backwards compatibility has failed for your save. Please upload your save to https://gitgud.io/pregmodfan/fc-pregmod/ with notes on what went wrong so that we can fix the backwards compatibility process for everyone. Thank you!`;
jQuery('#backwards-compatibility').append(div);
State.restore();
throw (error); // rethrow the exception to SugarCube so we get a fancy stack trace
}
};
App.Update.globalVariables = function(node) {
if (Array.isArray(V.nationalities)) {
V.nationalities = weightedArray2HashMap(V.nationalities);
}
// Records
if (jQuery.isEmptyObject(V.lastWeeksCashIncome)) {
setupLastWeeksCash();
}
if (jQuery.isEmptyObject(V.lastWeeksRepIncome)) {
setupLastWeeksRep();
}
// Slave mods/surgery
{
if (typeof V.brandTarget === "string") {
V.brandTarget = {primary: V.brandTarget, secondary: "buttock", local: "buttock"};
} else if (typeof V.brandTarget !== "object") {
V.brandTarget = {primary: "buttock", secondary: "buttock", local: "buttock"};
}
if (typeof V.brandDesign === "string") {
V.brandDesign = {primary: V.brandDesign, official: V.brandDesign, local: V.brandDesign};
} else if (typeof V.brandDesign !== "object") {
V.brandDesign = {primary: "your initials", official: "your initials", local: "your initials"};
}
if (typeof V.brandDesign.official === "undefined") {
V.brandDesign.official = "your personal symbol";
}
if (jQuery.isEmptyObject(V.scarTarget)) {
V.scarTarget = {primary: "left cheek", secondary: "left cheek", local: "left cheek"};
}
if (jQuery.isEmptyObject(V.scarDesign)) {
V.scarDesign = {primary: "generic", local: "generic"};
}
}
// Reminders
{
if (!Array.isArray(V.reminders)) {
let r = V.reminders;
V.reminders = [];
for (let i = 0; i < r.entries.length; i++) {
App.Reminders.add(r.entries[i], V.week + Number(r.weeks[i]));
}
for (let i = 0; i < r.overdue.length; i++) {
let s = r.overdue[i].split(" ");
s.splice(s.length - 5, 5);
s = s.join(" ");
App.Reminders.add(s, V.week - 1);
}
}
}
// Display
{
if (typeof V.sideBarOptions.roomPop === "undefined") {
V.sideBarOptions.roomPop = 1;
}
if (typeof V.sideBarOptions.confirmWeekEnd === "undefined") {
V.sideBarOptions.confirmWeekEnd = 0;
}
if (V.sortSlavesBy === "income" || V.sortSlavesBy === "lastWeeksCashIncome") {
V.sortSlavesBy = "weeklyIncome";
}
if (typeof V.abbreviateClothes === "number") {
V.UI.slaveSummary = App.UI.SlaveSummary.makeNewState();
for (const key of ["clothes", "devotion", "diet", "drugs", "genitalia", "health", "hormoneBalance",
"mental", "nationality", "origins", "physicals", "race", "rules", "rulesets", "skills"]) {
V.UI.slaveSummary.abbreviation[key] = V["abbreviate" + capFirstChar(key)] || V.UI.slaveSummary.abbreviation[key];
}
}
}
if (typeof V.taitorWeeks !== "undefined") {
V.traitorWeeks = V.taitorWeeks;
}
// Orphanages
if ((typeof V.DefaultBirthDestination === "undefined") || (V.DefaultBirthDestination === "") || (V.DefaultBirthDestination === "anywhere")) {
V.DefaultBirthDestination = "individually decided fates";
}
// Rent
{
if (typeof V.LCRent !== "undefined") {
V.rent.lowerClass = V.LCRent;
}
if (typeof V.MCRent !== "undefined") {
V.rent.middleClass = V.MCRent;
}
if (typeof V.UCRent !== "undefined") {
V.rent.upperClass = V.UCRent;
}
if (typeof V.TCRent !== "undefined") {
V.rent.topClass = V.TCRent;
}
}
// PC
{
PCDatatypeCleanup();
V.enduringTrust = Number(V.enduringTrust) || 0;
V.enduringDevotion = Number(V.enduringDevotion) || 0;
V.averageTrust = Number(V.averageTrust) || 0;
V.averageDevotion = Number(V.averageDevotion) || 0;
if (typeof V.trainingRegimen !== "undefined") {
if (typeof V.personalAttention === "number") {
V.personalAttention = [{ID: V.personalAttention, trainingRegimen: V.trainingRegimen}];
}
}
V.HackingSkillMultiplier = upgradeMultiplier('hacking');
V.upgradeMultiplierArcology = upgradeMultiplier('engineering');
V.upgradeMultiplierMedicine = upgradeMultiplier('medicine');
V.upgradeMultiplierTrade = upgradeMultiplier('trading');
V.AgeEffectOnTrainerPricingPC = 1;
V.AgeEffectOnTrainerEffectivenessPC = 1;
V.AgeTrainingUpperBoundPC = 14;
V.AgeTrainingLowerBoundPC = 12;
V.IsInPrimePC = 3;
V.IsPastPrimePC = 5000;
}
// Menials
{
if (typeof V.AMenials !== "undefined") {
V.ASlaves += Math.trunc(V.AMenials / 2);
}
if (typeof V.helots !== "undefined") {
V.menials = V.helots;
}
if (typeof V.TradeShowHelots !== "undefined") {
V.TradeShowMenials = V.TradeShowHelots;
}
}
// Items/upgrades purchased
{
if (V.merchantFSWares.length === 0) {
V.merchantFSWares = Array.from(App.Data.FSWares);
}
if (V.merchantIllegalWares.length === 0) {
V.merchantIllegalWares = Array.from(App.Data.illegalWares);
}
if (typeof V.arcologies[0].childhoodFertilityInducedNCSResearch === "undefined") {
V.arcologies[0].childhoodFertilityInducedNCSResearch = 0;
}
delete V.arcologies[0].childFertilityInducedNCSResearch;
}
// Shopping for slaves
if (jQuery.isEmptyObject(V.huskSlave)) {
V.huskSlave = new App.Entity.CustomSlaveOrder();
}
if (V.prisonCircuit.length === 0) {
V.prisonCircuit = ["low tier criminals", "gangs and smugglers", "white collar", "military prison"];
V.prisonCircuitIndex = random(0, V.prisonCircuit.length - 1);
}
App.Update.CustomSlaveOrder(V.huskSlave);
App.Update.CustomSlaveOrder(V.customSlave);
if (V.heroSlavesPuchased) { // fix typo
V.heroSlavesPurchased = Array.from(V.heroSlavesPuchased);
}
// Farmyard
const animalsBought = ["abbysinians", "beagles", "bengals", "birmans", "bulldogs", "bulls", "canines", "cougars", "dingos", "felines", "foxes", "frenchBulldogs", "germanShepherds", "goldenRetrievers", "hooved", "horses", "jackals", "jaguars", "labradorRetrievers", "leopards", "lions", "lynx", "maineCoons", "orientalShorthairs", "persians", "pigs", "poodles", "pumas", "ragdolls", "rottweilers", "russianBlues", "siameses", "siberianHuskies", "sphynxes", "tigers", "wolves", "yorkshireTerriers", "zebras"];
animalsBought.forEach(function(species) { V.animalsBought[species] = V.animalsBought[species] || 0; });
if (typeof V.farmyardUpgrades !== "object") {
V.farmyardUpgrades = {
pump: 0, fertilizer: 0, hydroponics: 0, machinery: 0, seeds: 0
};
}
// Pit
if (typeof V.pit === "number") {
V.pit = V.pit ? {} : null;
}
if (V.pit) {
V.pit.name = V.pit.name || V.pitName || "the Pit";
V.pit.virginities = V.pit.virginities || V.pitVirginities || "neither";
if (typeof V.pit.virginities !== "string") {
const virginities = ["neither", "vaginal", "anal", "all"];
V.pit.virginities = virginities[V.pit.virginities];
}
V.pit.bodyguardFights = V.pit.bodyguardFights || V.pitBG || false;
V.pit.fighterIDs = V.pit.fighterIDs || V.fighterIDs || [];
if (V.pit.bodyguardFights && V.pit.fighterIDs.includes(V.BodyguardID)) {
V.pit.fighterIDs.delete(V.BodyguardID);
}
if (V.farmyard) {
V.pit.animal = V.pit.animal || V.pitAnimalType || null;
}
V.pit.audience = V.pit.audience || V.pitAudience || "none";
V.pit.lethal = V.pit.lethal || V.pitLethal || false;
V.pit.fought = V.pit.fought || V.pitFought || false;
}
if (V.slaveFightingBG) {
V.pit.slaveFightingBodyguard = V.slaveFightingBG;
delete V.slaveFightingBG;
}
if (V.killChoice) {
delete V.killChoice;
}
// Incubator
if (V.incubatorImprintSetting === 0) { V.incubatorImprintSetting = "trust"; }
// SF
App.SF.BC();
// FS
{
if (V.FSGotRepCredits === 0) {
if (V.FSGotRepCreditSix === 1) {
V.FSGotRepCredits = 7;
} else if (V.FSGotRepCreditFive === 1) {
V.FSGotRepCredits = 6;
} else if (V.FSGotRepCreditFour === 1) {
V.FSGotRepCredits = 5;
} else if (V.FSGotRepCreditThree === 1) {
V.FSGotRepCredits = 4;
} else if (V.FSGotRepCreditTwo === 1) {
V.FSGotRepCredits = 3;
} else if (V.FSGotRepCreditOne === 1) {
V.FSGotRepCredits = 2;
} else if (V.FSAnnounced === 1) {
V.FSGotRepCredits = 1;
}
}
if (typeof V.arcologies[0].FSAztecRevivalist === "undefined") {
for (let bci = 0; bci < V.arcologies.length; bci++) {
V.arcologies[bci].FSAztecRevivalist = "unset";
V.arcologies[bci].FSAztecRevivalistDecoration = 0;
}
V.arcologies[0].FSAztecRevivalistLaw = 0;
V.arcologies[0].FSAztecRevivalistSMR = 0;
}
if (typeof V.arcologies[0].FSHedonisticDecadence === "undefined") {
for (let bci = 0; bci < V.arcologies.length; bci++) {
V.arcologies[bci].FSHedonisticDecadence = "unset";
V.arcologies[bci].FSHedonisticDecadenceDecoration = 0;
}
V.arcologies[0].FSHedonisticDecadenceLaw = 0;
V.arcologies[0].FSHedonisticDecadenceLaw2 = 0;
V.arcologies[0].FSHedonisticDecadenceSMR = 0;
V.arcologies[0].FSHedonisticDecadenceResearch = 0;
}
if (typeof V.arcologies[0].FSHedonisticDecadenceDietResearch === "undefined") {
V.arcologies[0].FSHedonisticDecadenceDietResearch = 0;
}
if (typeof V.arcologies[0].FSPhysicalIdealistStrongFat === "undefined") {
V.arcologies[0].FSPhysicalIdealistStrongFat = 0;
}
if (typeof V.arcologies[0].FSHedonisticDecadenceStrongFat === "undefined") {
V.arcologies[0].FSHedonisticDecadenceStrongFat = 0;
}
if (typeof V.arcologies[0].FSIntellectualDependency === "undefined") {
for (let bci = 0; bci < V.arcologies.length; bci++) {
V.arcologies[bci].FSIntellectualDependency = "unset";
V.arcologies[bci].FSIntellectualDependencyDecoration = 0;
}
V.arcologies[0].FSIntellectualDependencyLaw = 0;
V.arcologies[0].FSIntellectualDependencyLawBeauty = 0;
V.arcologies[0].FSIntellectualDependencySMR = 0;
V.arcologies[0].FSIntellectualDependencyResearch = 0;
}
if (typeof V.arcologies[0].FSSlaveProfessionalism === "undefined") {
for (let bci = 0; bci < V.arcologies.length; bci++) {
V.arcologies[bci].FSSlaveProfessionalism = "unset";
V.arcologies[bci].FSSlaveProfessionalismDecoration = 0;
}
V.arcologies[0].FSSlaveProfessionalismLaw = 0;
V.arcologies[0].FSSlaveProfessionalismSMR = 0;
V.arcologies[0].FSSlaveProfessionalismResearch = 0;
}
if (typeof V.arcologies[0].FSPetiteAdmiration === "undefined") {
for (let bci = 0; bci < V.arcologies.length; bci++) {
V.arcologies[bci].FSPetiteAdmiration = "unset";
V.arcologies[bci].FSPetiteAdmirationDecoration = 0;
}
V.arcologies[0].FSPetiteAdmirationLaw = 0;
V.arcologies[0].FSPetiteAdmirationLaw2 = 0;
V.arcologies[0].FSPetiteAdmirationSMR = 0;
V.arcologies[0].FSPetiteAdmirationResearch = 0;
}
if (typeof V.arcologies[0].FSStatuesqueGlorification === "undefined") {
for (let bci = 0; bci < V.arcologies.length; bci++) {
V.arcologies[bci].FSStatuesqueGlorification = "unset";
V.arcologies[bci].FSStatuesqueGlorificationDecoration = 0;
}
V.arcologies[0].FSStatuesqueGlorificationLaw = 0;
V.arcologies[0].FSStatuesqueGlorificationLaw2 = 0;
V.arcologies[0].FSStatuesqueGlorificationSMR = 0;
V.arcologies[0].FSStatuesqueGlorificationResearch = 0;
}
if (typeof V.arcologies[0].FSCummunism === "undefined") {
for (let bci = 0; bci < V.arcologies.length; bci++) {
V.arcologies[bci].FSCummunism = "unset";
V.arcologies[bci].FSCummunismDecoration = 0;
}
V.arcologies[0].FSCummunismResearch = 0;
}
if (typeof V.arcologies[0].FSIncestFetishist === "undefined") {
for (let bci = 0; bci < V.arcologies.length; bci++) {
V.arcologies[bci].FSIncestFetishist = "unset";
V.arcologies[bci].FSIncestFetishistDecoration = 0;
}
V.arcologies[0].FSIncestFetishistResearch = 0;
}
for (let bci = 0; bci < V.arcologies.length; bci++) {
if (V.arcologies[bci].FSHedonisticDecadence === 0) {
V.arcologies[bci].FSHedonisticDecadence = "unset";
V.arcologies[bci].FSHedonisticDecadenceDecoration = 0;
}
}
if (typeof V.arcologies[0].FSPhysicalIdealistLaw === "undefined") {
V.arcologies[0].FSPhysicalIdealistLaw = 0;
}
}
// Arcologies
{
if (jQuery.isEmptyObject(V.arcologies)) {
V.arcologies = [];
V.arcologies[0] = {
name: "Arcology X-",
direction: 0,
government: 1,
honeymoon: 0,
prosperity: 50,
FSSupremacist: "unset",
FSSupremacistRace: 0,
FSSubjugationist: "unset",
FSSubjugationistRace: 0,
FSGenderRadicalist: "unset",
FSGenderFundamentalist: "unset",
FSPaternalist: "unset",
FSDegradationist: "unset",
FSBodyPurist: "unset",
FSTransformationFetishist: "unset",
FSYouthPreferentialist: "unset",
FSMaturityPreferentialist: "unset",
FSSlimnessEnthusiast: "unset",
FSAssetExpansionist: "unset",
FSPastoralist: "unset",
FSPhysicalIdealist: "unset",
FSChattelReligionist: "unset",
FSRomanRevivalist: "unset",
FSNeoImperialist: "unset",
FSEgyptianRevivalist: "unset",
FSEdoRevivalist: "unset",
FSArabianRevivalist: "unset",
FSChineseRevivalist: "unset",
FSNull: "unset",
FSRepopulationFocus: "unset",
FSRestart: "unset",
FSHedonisticDecadence: "unset",
FSIntellectualDependency: "unset",
FSSlaveProfessionalism: "unset",
FSPetiteAdmiration: "unset",
FSStatuesqueGlorification: "unset",
embargo: 1,
embargoTarget: -1,
influenceTarget: -1,
influenceBonus: 0,
rival: 0
};
}
}
// Player Arcology: object
{
if (typeof V.arcologyName !== "undefined") {
V.arcologies[0].name = V.arcologyName;
} else if (typeof V.arcologies[0].name === "undefined") {
V.arcologies[0].name = "Arcology X-4";
}
if (typeof V.arcologies[0].ownership === "undefined") {
V.arcologies[0].ownership = 50;
}
if (typeof V.arcologies[0].minority === "undefined") {
V.arcologies[0].minority = 20;
}
if (typeof V.arcologies[0].embargo === "undefined") {
V.arcologies[0].embargo = 1;
}
if (typeof V.arcologies[0].embargoTarget === "undefined") {
V.arcologies[0].embargoTarget = -1;
}
if (typeof V.arcologies[0].hackingEconomic === "undefined") {
V.arcologies[0].hackingEconomic = 1;
}
if (typeof V.arcologies[0].hackingEconomicTarget === "undefined") {
V.arcologies[0].hackingEconomicTarget = -1;
}
if (typeof V.arcologies[0].hackingReputationTarget === "undefined") {
V.arcologies[0].hackingReputationTarget = -1;
}
if (typeof V.arcologies[0].hackingReputation === "undefined") {
V.arcologies[0].hackingReputation = 1;
}
if (typeof V.arcologies[0].influenceTarget === "undefined") {
V.arcologies[0].influenceTarget = -1;
}
if (typeof V.arcologies[0].influenceBonus === "undefined") {
V.arcologies[0].influenceBonus = -1;
}
if (typeof V.arcologies[0].CyberEconomic === "undefined") {
V.arcologies[0].CyberEconomic = 1;
}
if (typeof V.arcologies[0].CyberEconomicTarget === "undefined") {
V.arcologies[0].CyberEconomicTarget = -1;
}
if (typeof V.arcologies[0].CyberReputation === "undefined") {
V.arcologies[0].CyberReputation = 1;
}
if (typeof V.arcologies[0].CyberReputationTarget === "undefined") {
V.arcologies[0].CyberReputationTarget = -1;
}
if (typeof V.arcologies[0].rival === "undefined") {
V.arcologies[0].rival = 0;
}
if (typeof V.arcologies[0].FSNull === "undefined") {
V.arcologies[0].FSNull = "unset";
}
if (typeof V.arcologies[0].FSRepopulationFocus === "undefined") {
V.arcologies[0].FSRepopulationFocus = "unset";
}
if (typeof V.arcologies[0].FSRepopulationFocusPregPolicy === "undefined") {
V.arcologies[0].FSRepopulationFocusPregPolicy = 0;
}
if (typeof V.arcologies[0].FSRepopulationFocusMilfPolicy === "undefined") {
V.arcologies[0].FSRepopulationFocusMilfPolicy = 0;
}
if (typeof V.arcologies[0].FSRepopulationFocusInterest === "undefined") {
V.arcologies[0].FSRepopulationFocusInterest = 0;
}
if (typeof V.arcologies[0].FSRestart === "undefined") {
V.arcologies[0].FSRestart = "unset";
}
if (typeof V.arcologies[0].FSEugenicsChastityPolicy === "undefined") {
V.arcologies[0].FSEugenicsChastityPolicy = 0;
}
if (typeof V.arcologies[0].FSEugenicsSterilizationPolicy === "undefined") {
V.arcologies[0].FSEugenicsSterilizationPolicy = 0;
}
if (typeof V.arcologies[0].FSEugenicsInterest === "undefined") {
V.arcologies[0].FSEugenicsInterest = 0;
}
if (typeof V.arcologies[0].PCminority === "undefined") {
V.arcologies[0].PCminority = 0;
}
if (typeof V.arcologies[0].demandFactor === "undefined") {
V.arcologies[0].demandFactor = 250;
}
if (typeof V.arcologies[0].leaderID === "undefined") {
V.arcologies[0].leaderID = 0;
}
// FS
{
if ((typeof V.FSSupremacist !== "undefined") && V.FSSupremacist !== "unset") {
V.arcologies[0].FSSupremacist = V.FSSupremacist;
V.arcologies[0].FSSupremacistRace = V.FSSupremacistRace;
} else if (typeof V.arcologies[0].FSSupremacist === "undefined") {
V.arcologies[0].FSSupremacist = "unset";
}
if ((typeof V.FSSupremacistLawME !== "undefined") && V.FSSupremacistLawME !== 0) {
V.arcologies[0].FSSupremacistLawME = V.FSSupremacistLawME;
} else if (typeof V.arcologies[0].FSSupremacistLawME === "undefined") {
V.arcologies[0].FSSupremacistLawME = 0;
}
if (V.arcologies[0].FSSupremacistRace === "middle") {
V.arcologies[0].FSSupremacistRace = "middle eastern";
} else if (V.arcologies[0].FSSupremacistRace === "pacific") {
V.arcologies[0].FSSupremacistRace = "pacific islander";
} else if (V.arcologies[0].FSSupremacistRace === "southern") {
V.arcologies[0].FSSupremacistRace = "southern european";
} else if (V.arcologies[0].FSSupremacistRace === "mixed") {
V.arcologies[0].FSSupremacistRace = "mixed race";
}
if ((typeof V.FSSubjugationist !== "undefined") && V.FSSubjugationist !== "unset") {
V.arcologies[0].FSSubjugationist = V.FSSubjugationist;
V.arcologies[0].FSSubjugationistRace = V.FSSubjugationistRace;
} else if (typeof V.arcologies[0].FSSubjugationist === "undefined") {
V.arcologies[0].FSSubjugationist = "unset";
}
if ((typeof V.FSSubjugationistLawME !== "undefined") && V.FSSubjugationistLawME !== 0) {
V.arcologies[0].FSSubjugationistLawME = V.FSSubjugationistLawME;
} else if (typeof V.arcologies[0].FSSubjugationistLawME === "undefined") {
V.arcologies[0].FSSubjugationistLawME = 0;
}
if (V.arcologies[0].FSSubjugationistRace === "middle") {
V.arcologies[0].FSSubjugationistRace = "middle eastern";
} else if (V.arcologies[0].FSSubjugationistRace === "pacific") {
V.arcologies[0].FSSubjugationistRace = "pacific islander";
} else if (V.arcologies[0].FSSubjugationistRace === "southern") {
V.arcologies[0].FSSubjugationistRace = "southern european";
} else if (V.arcologies[0].FSSubjugationistRace === "mixed") {
V.arcologies[0].FSSubjugationistRace = "mixed race";
}
if ((typeof V.FSDegradationist !== "undefined") && V.FSDegradationist !== "unset") {
V.arcologies[0].FSDegradationist = V.FSDegradationist;
} else if (typeof V.arcologies[0].FSDegradationist === "undefined") {
V.arcologies[0].FSDegradationist = "unset";
}
if ((typeof V.FSDegradationistLaw !== "undefined") && V.FSDegradationistLaw !== 0) {
V.arcologies[0].FSDegradationistLaw = V.FSDegradationistLaw;
} else if (typeof V.arcologies[0].FSDegradationistLaw === "undefined") {
V.arcologies[0].FSDegradationistLaw = 0;
}
if ((typeof V.FSPaternalist !== "undefined") && V.FSPaternalist !== "unset") {
V.arcologies[0].FSPaternalist = V.FSPaternalist;
} else if (typeof V.arcologies[0].FSPaternalist === "undefined") {
V.arcologies[0].FSPaternalist = "unset";
}
if ((typeof V.FSPaternalistLaw !== "undefined") && V.FSPaternalistLaw !== 0) {
V.arcologies[0].FSPaternalistLaw = V.FSPaternalistLaw;
} else if (typeof V.arcologies[0].FSPaternalistLaw === "undefined") {
V.arcologies[0].FSPaternalistLaw = 0;
}
if ((typeof V.FSGenderFundamentalist !== "undefined") && V.FSGenderFundamentalist !== "unset") {
V.arcologies[0].FSGenderFundamentalist = V.FSGenderFundamentalist;
} else if (typeof V.arcologies[0].FSGenderFundamentalist === "undefined") {
V.arcologies[0].FSGenderFundamentalist = "unset";
}
if ((typeof V.FSGenderFundamentalistSMR !== "undefined") && V.FSGenderFundamentalistSMR !== 0) {
V.arcologies[0].FSGenderFundamentalistSMR = V.FSGenderFundamentalistSMR;
} else if (typeof V.arcologies[0].FSGenderFundamentalistSMR === "undefined") {
V.arcologies[0].FSGenderFundamentalistSMR = 0;
}
delete V.arcologies[0].FSGenderFundamentalistLaw;
if ((typeof V.FSGenderRadicalist !== "undefined") && V.FSGenderRadicalist !== "unset") {
V.arcologies[0].FSGenderRadicalist = V.FSGenderRadicalist;
} else if (typeof V.arcologies[0].FSGenderRadicalist === "undefined") {
V.arcologies[0].FSGenderRadicalist = "unset";
}
if (typeof V.arcologies[0].FSGenderRadicalistLawBeauty === "undefined") {
V.arcologies[0].FSGenderRadicalistLawBeauty = 0;
}
if (typeof V.arcologies[0].FSGenderRadicalistLawFuta === "undefined") {
V.arcologies[0].FSGenderRadicalistLawFuta = 0;
}
delete V.arcologies[0].FSGenderRadicalistLawDicks;
delete V.arcologies[0].FSGenderRadicalistSMR;
if ((typeof V.FSBodyPurist !== "undefined") && V.FSBodyPurist !== "unset") {
V.arcologies[0].FSBodyPurist = V.FSBodyPurist;
} else if (typeof V.arcologies[0].FSBodyPurist === "undefined") {
V.arcologies[0].FSBodyPurist = "unset";
}
if ((typeof V.FSBodyPuristLaw !== "undefined") && V.FSBodyPuristLaw !== 0) {
V.arcologies[0].FSBodyPuristLaw = V.FSBodyPuristLaw;
} else if (typeof V.arcologies[0].FSBodyPuristLaw === "undefined") {
V.arcologies[0].FSBodyPuristLaw = 0;
}
if ((typeof V.FSPhysicalIdealist !== "undefined") && V.FSPhysicalIdealist !== "unset") {
V.arcologies[0].FSPhysicalIdealist = V.FSPhysicalIdealist;
} else if (typeof V.arcologies[0].FSPhysicalIdealist === "undefined") {
V.arcologies[0].FSPhysicalIdealist = "unset";
}
if ((typeof V.FSPhysicalIdealistSMR !== "undefined") && V.FSPhysicalIdealistSMR !== 0) {
V.arcologies[0].FSPhysicalIdealistSMR = V.FSPhysicalIdealistSMR;
} else if (typeof V.arcologies[0].FSPhysicalIdealistSMR === "undefined") {
V.arcologies[0].FSPhysicalIdealistSMR = 0;
}
if ((typeof V.FSTransformationFetishist !== "undefined") && V.FSTransformationFetishist !== "unset") {
V.arcologies[0].FSTransformationFetishist = V.FSTransformationFetishist;
} else if (typeof V.arcologies[0].FSTransformationFetishist === "undefined") {
V.arcologies[0].FSTransformationFetishist = "unset";
}
if ((typeof V.FSTransformationFetishistSMR !== "undefined") && V.FSTransformationFetishistSMR !== 0) {
V.arcologies[0].FSTransformationFetishistSMR = V.FSTransformationFetishistSMR;
} else if (typeof V.arcologies[0].FSTransformationFetishistSMR === "undefined") {
V.arcologies[0].FSTransformationFetishistSMR = 0;
}
delete V.arcologies[0].FSTransformationFetishistLaw;
if ((typeof V.FSAssetExpansionist !== "undefined") && V.FSAssetExpansionist !== "unset") {
V.arcologies[0].FSAssetExpansionist = V.FSAssetExpansionist;
} else if (typeof V.arcologies[0].FSAssetExpansionist === "undefined") {
V.arcologies[0].FSAssetExpansionist = "unset";
}
if ((typeof V.FSAssetExpansionistSMR !== "undefined") && V.FSAssetExpansionistSMR !== 0) {
V.arcologies[0].FSAssetExpansionistSMR = V.FSAssetExpansionistSMR;
} else if (typeof V.arcologies[0].FSAssetExpansionistSMR === "undefined") {
V.arcologies[0].FSAssetExpansionistSMR = 0;
}
delete V.arcologies[0].FSAssetExpansionistLaw;
if ((typeof V.FSSlimnessEnthusiast !== "undefined") && V.FSSlimnessEnthusiast !== "unset") {
V.arcologies[0].FSSlimnessEnthusiast = V.FSSlimnessEnthusiast;
} else if (typeof V.arcologies[0].FSSlimnessEnthusiast === "undefined") {
V.arcologies[0].FSSlimnessEnthusiast = "unset";
}
if ((typeof V.FSSlimnessEnthusiastSMR !== "undefined") && V.FSSlimnessEnthusiastSMR !== 0) {
V.arcologies[0].FSSlimnessEnthusiastSMR = V.FSSlimnessEnthusiastSMR;
} else if (typeof V.arcologies[0].FSSlimnessEnthusiastSMR === "undefined") {
V.arcologies[0].FSSlimnessEnthusiastSMR = 0;
}
if ((typeof V.FSMaturityPreferentialist !== "undefined") && V.FSMaturityPreferentialist !== "unset") {
V.arcologies[0].FSMaturityPreferentialist = V.FSMaturityPreferentialist;
} else if (typeof V.arcologies[0].FSMaturityPreferentialist === "undefined") {
V.arcologies[0].FSMaturityPreferentialist = "unset";
}
if ((typeof V.FSMaturityPreferentialistLaw !== "undefined") && V.FSMaturityPreferentialistLaw !== 0) {
V.arcologies[0].FSMaturityPreferentialistLaw = V.FSMaturityPreferentialistLaw;
} else if (typeof V.arcologies[0].FSMaturityPreferentialistLaw === "undefined") {
V.arcologies[0].FSMaturityPreferentialistLaw = 0;
}
if ((typeof V.FSYouthPreferentialist !== "undefined") && V.FSYouthPreferentialist !== "unset") {
V.arcologies[0].FSYouthPreferentialist = V.FSYouthPreferentialist;
} else if (typeof V.arcologies[0].FSYouthPreferentialist === "undefined") {
V.arcologies[0].FSYouthPreferentialist = "unset";
}
if ((typeof V.FSYouthPreferentialistLaw !== "undefined") && V.FSYouthPreferentialistLaw !== 0) {
V.arcologies[0].FSYouthPreferentialistLaw = V.FSYouthPreferentialistLaw;
} else if (typeof V.arcologies[0].FSYouthPreferentialistLaw === "undefined") {
V.arcologies[0].FSYouthPreferentialistLaw = 0;
}
if ((typeof V.FSPastoralist !== "undefined") && V.FSPastoralist !== "unset") {
V.arcologies[0].FSPastoralist = V.FSPastoralist;
} else if (typeof V.arcologies[0].FSPastoralist === "undefined") {
V.arcologies[0].FSPastoralist = "unset";
}
if ((typeof V.FSPastoralistLaw !== "undefined") && V.FSPastoralistLaw !== 0) {
V.arcologies[0].FSPastoralistLaw = V.FSPastoralistLaw;
} else if (typeof V.arcologies[0].FSPastoralistLaw === "undefined") {
V.arcologies[0].FSPastoralistLaw = 0;
}
if ((typeof V.FSChattelReligionist !== "undefined") && V.FSChattelReligionist !== "unset") {
V.arcologies[0].FSChattelReligionist = V.FSChattelReligionist;
} else if (typeof V.arcologies[0].FSChattelReligionist === "undefined") {
V.arcologies[0].FSChattelReligionist = "unset";
}
if ((typeof V.FSChattelReligionistLaw !== "undefined") && V.FSChattelReligionistLaw !== 0) {
V.arcologies[0].FSChattelReligionistLaw = V.FSChattelReligionistLaw;
} else if (typeof V.arcologies[0].FSChattelReligionistLaw === "undefined") {
V.arcologies[0].FSChattelReligionistLaw = 0;
}
if ((typeof V.FSRomanRevivalist !== "undefined") && V.FSRomanRevivalist !== "unset") {
V.arcologies[0].FSRomanRevivalist = V.FSRomanRevivalist;
} else if (typeof V.arcologies[0].FSRomanRevivalist === "undefined") {
V.arcologies[0].FSRomanRevivalist = "unset";
}
if ((typeof V.FSRomanRevivalistLaw !== "undefined") && V.FSRomanRevivalistLaw !== 0) {
V.arcologies[0].FSRomanRevivalistLaw = V.FSRomanRevivalistLaw;
} else if (typeof V.arcologies[0].FSRomanRevivalistLaw === "undefined") {
V.arcologies[0].FSRomanRevivalistLaw = 0;
}
if ((typeof V.FSNeoImperialist !== "undefined") && V.FSNeoImperialist !== "unset") {
V.arcologies[0].FSNeoImperialist = V.FSNeoImperialist;
} else if (typeof V.arcologies[0].FSNeoImperialist === "undefined") {
V.arcologies[0].FSNeoImperialist = "unset";
}
if ((typeof V.FSNeoImperialistLaw1 !== "undefined") && V.FSNeoImperialistLaw1 !== 0) {
V.arcologies[0].FSNeoImperialistLaw1 = V.FSNeoImperialistLaw1;
} else if (typeof V.arcologies[0].FSNeoImperialistLaw1 === "undefined") {
V.arcologies[0].FSNeoImperialistLaw1 = 0;
}
if ((typeof V.FSNeoImperialistLaw2 !== "undefined") && V.FSNeoImperialistLaw2 !== 0) {
V.arcologies[0].FSNeoImperialistLaw2 = V.FSNeoImperialistLaw2;
} else if (typeof V.arcologies[0].FSNeoImperialistLaw2 === "undefined") {
V.arcologies[0].FSNeoImperialistLaw2 = 0;
}
if ((typeof V.FSEgyptianRevivalist !== "undefined") && V.FSEgyptianRevivalist !== "unset") {
V.arcologies[0].FSEgyptianRevivalist = V.FSEgyptianRevivalist;
} else if (typeof V.arcologies[0].FSEgyptianRevivalist === "undefined") {
V.arcologies[0].FSEgyptianRevivalist = "unset";
}
if ((typeof V.FSEgyptianRevivalistLaw !== "undefined") && V.FSEgyptianRevivalistLaw !== 0) {
V.arcologies[0].FSEgyptianRevivalistLaw = V.FSEgyptianRevivalistLaw;
} else if (typeof V.arcologies[0].FSEgyptianRevivalistLaw === "undefined") {
V.arcologies[0].FSEgyptianRevivalistLaw = 0;
}
if (typeof V.arcologies[0].FSEgyptianRevivalistIncestPolicy === "undefined") {
V.arcologies[0].FSEgyptianRevivalistIncestPolicy = 0;
}
if (typeof V.arcologies[0].FSEgyptianRevivalistInterest === "undefined") {
V.arcologies[0].FSEgyptianRevivalistInterest = 0;
}
if ((typeof V.FSEdoRevivalist !== "undefined") && V.FSEdoRevivalist !== "unset") {
V.arcologies[0].FSEdoRevivalist = V.FSEdoRevivalist;
} else if (typeof V.arcologies[0].FSEdoRevivalist === "undefined") {
V.arcologies[0].FSEdoRevivalist = "unset";
}
if ((typeof V.FSEdoRevivalistLaw !== "undefined") && V.FSEdoRevivalistLaw !== 0) {
V.arcologies[0].FSEdoRevivalistLaw = V.FSEdoRevivalistLaw;
} else if (typeof V.arcologies[0].FSEdoRevivalistLaw === "undefined") {
V.arcologies[0].FSEdoRevivalistLaw = 0;
}
if ((typeof V.FSArabianRevivalist !== "undefined") && V.FSArabianRevivalist !== "unset") {
V.arcologies[0].FSArabianRevivalist = V.FSArabianRevivalist;
} else if (typeof V.arcologies[0].FSArabianRevivalist === "undefined") {
V.arcologies[0].FSArabianRevivalist = "unset";
}
if ((typeof V.FSArabianRevivalistLaw !== "undefined") && V.FSArabianRevivalistLaw !== 0) {
V.arcologies[0].FSArabianRevivalistLaw = V.FSArabianRevivalistLaw;
} else if (typeof V.arcologies[0].FSArabianRevivalistLaw === "undefined") {
V.arcologies[0].FSArabianRevivalistLaw = 0;
}
if ((typeof V.FSChineseRevivalist !== "undefined") && V.FSChineseRevivalist !== "unset") {
V.arcologies[0].FSChineseRevivalist = V.FSChineseRevivalist;
} else if (typeof V.arcologies[0].FSChineseRevivalist === "undefined") {
V.arcologies[0].FSChineseRevivalist = "unset";
}
if ((typeof V.FSChineseRevivalistLaw !== "undefined") && V.FSChineseRevivalistLaw !== 0) {
V.arcologies[0].FSChineseRevivalistLaw = V.FSChineseRevivalistLaw;
} else if (typeof V.arcologies[0].FSChineseRevivalistLaw === "undefined") {
V.arcologies[0].FSChineseRevivalistLaw = 0;
}
delete V.arcologies[0].FSNullLaw;
if (V.arcologies[0].FSSubjugationist !== "unset" && !Number.isFinite(V.arcologies[0].FSSubjugationist)) {
V.arcologies[0].FSSubjugationist = 10;
App.UI.DOM.appendNewElement("div", node, `Fixed NaN FS value for FSSubjugationist`);
}
if (V.arcologies[0].FSGenderRadicalist !== "unset" && !Number.isFinite(V.arcologies[0].FSGenderRadicalist)) {
V.arcologies[0].FSGenderRadicalist = 10;
App.UI.DOM.appendNewElement("div", node, `Fixed NaN FS value for FSGenderRadicalist`);
}
if (V.arcologies[0].FSRestart !== "unset" && !Number.isFinite(V.arcologies[0].FSRestart)) {
V.arcologies[0].FSRestart = 10;
App.UI.DOM.appendNewElement("div", node, `Fixed NaN FS value for FSRestart`);
}
if (V.arcologies[0].FSRepopulationFocus !== "unset" && !Number.isFinite(V.arcologies[0].FSRepopulationFocus)) {
V.arcologies[0].FSRepopulationFocus = 10;
App.UI.DOM.appendNewElement("div", node, `Fixed NaN FS value for FSRepopulationFocus`);
}
if (V.arcologies[0].FSSupremacist !== "unset" && !Number.isFinite(V.arcologies[0].FSSupremacist)) {
V.arcologies[0].FSSupremacist = 10;
App.UI.DOM.appendNewElement("div", node, `Fixed NaN FS value for FSSupremacist`);
}
if (V.arcologies[0].FSBodyPurist !== "unset" && !Number.isFinite(V.arcologies[0].FSBodyPurist)) {
V.arcologies[0].FSBodyPurist = 10;
App.UI.DOM.appendNewElement("div", node, `Fixed NaN FS value for FSBodyPurist`);
}
if (V.arcologies[0].FSPaternalist !== "unset" && !Number.isFinite(V.arcologies[0].FSPaternalist)) {
V.arcologies[0].FSPaternalist = 10;
App.UI.DOM.appendNewElement("div", node, `Fixed NaN FS value for FSPaternalist`);
}
if (V.arcologies[0].FSSlimnessEnthusiast !== "unset" && !Number.isFinite(V.arcologies[0].FSSlimnessEnthusiast)) {
V.arcologies[0].FSSlimnessEnthusiast = 10;
App.UI.DOM.appendNewElement("div", node, `Fixed NaN FS value for FSSlimnessEnthusiast`);
}
if (V.arcologies[0].FSGenderFundamentalist !== "unset" && !Number.isFinite(V.arcologies[0].FSGenderFundamentalist)) {
V.arcologies[0].FSGenderFundamentalist = 10;
App.UI.DOM.appendNewElement("div", node, `Fixed NaN FS value for FSGenderFundamentalist`);
}
if (V.arcologies[0].FSMaturityPreferentialist !== "unset" && !Number.isFinite(V.arcologies[0].FSMaturityPreferentialist)) {
V.arcologies[0].FSMaturityPreferentialist = 10;
App.UI.DOM.appendNewElement("div", node, `Fixed NaN FS value for FSMaturityPreferentialist`);
}
if (V.arcologies[0].FSYouthPreferentialist !== "unset" && !Number.isFinite(V.arcologies[0].FSYouthPreferentialist)) {
V.arcologies[0].FSYouthPreferentialist = 10;
App.UI.DOM.appendNewElement("div", node, `Fixed NaN FS value for FSYouthPreferentialist`);
}
if (V.arcologies[0].FSTransformationFetishist !== "unset" && !Number.isFinite(V.arcologies[0].FSTransformationFetishist)) {
V.arcologies[0].FSTransformationFetishist = 10;
App.UI.DOM.appendNewElement("div", node, `Fixed NaN FS value for FSTransformationFetishist`);
}
if (V.arcologies[0].FSHedonisticDecadence !== "unset" && !Number.isFinite(V.arcologies[0].FSHedonisticDecadence)) {
V.arcologies[0].FSHedonisticDecadence = 10;
App.UI.DOM.appendNewElement("div", node, `Fixed NaN FS value for FSHedonisticDecadence`);
}
if (V.arcologies[0].FSPhysicalIdealist !== "unset" && !Number.isFinite(V.arcologies[0].FSPhysicalIdealist)) {
V.arcologies[0].FSPhysicalIdealist = 10;
App.UI.DOM.appendNewElement("div", node, `Fixed NaN FS value for FSPhysicalIdealist`);
}
if (V.arcologies[0].FSPastoralist !== "unset" && !Number.isFinite(V.arcologies[0].FSPastoralist)) {
V.arcologies[0].FSPastoralist = 10;
App.UI.DOM.appendNewElement("div", node, `Fixed NaN FS value for FSPastoralist`);
}
if (V.arcologies[0].FSAssetExpansionist !== "unset" && !Number.isFinite(V.arcologies[0].FSAssetExpansionist)) {
V.arcologies[0].FSAssetExpansionist = 10;
App.UI.DOM.appendNewElement("div", node, `Fixed NaN FS value for FSAssetExpansionist`);
}
if (V.arcologies[0].FSDegradationist !== "unset" && !Number.isFinite(V.arcologies[0].FSDegradationist)) {
V.arcologies[0].FSDegradationist = 10;
App.UI.DOM.appendNewElement("div", node, `Fixed NaN FS value for FSDegradationist`);
}
if (V.arcologies[0].FSRomanRevivalist !== "unset" && !Number.isFinite(V.arcologies[0].FSRomanRevivalist)) {
V.arcologies[0].FSRomanRevivalist = 10;
App.UI.DOM.appendNewElement("div", node, `Fixed NaN FS value for FSRomanRevivalist`);
}
if (V.arcologies[0].FSNeoImperialist !== "unset" && !Number.isFinite(V.arcologies[0].FSNeoImperialist)) {
V.arcologies[0].FSNeoImperialist = 10;
App.UI.DOM.appendNewElement("div", node, `Fixed NaN FS value for FSNeoImperialist`);
}
if (V.arcologies[0].FSChattelReligionist !== "unset" && !Number.isFinite(V.arcologies[0].FSChattelReligionist)) {
V.arcologies[0].FSChattelReligionist = 10;
App.UI.DOM.appendNewElement("div", node, `Fixed NaN FS value for FSChattelReligionist`);
}
if (V.arcologies[0].FSChineseRevivalist !== "unset" && !Number.isFinite(V.arcologies[0].FSChineseRevivalist)) {
V.arcologies[0].FSChineseRevivalist = 10;
App.UI.DOM.appendNewElement("div", node, `Fixed NaN FS value for FSChineseRevivalist`);
}
if (V.arcologies[0].FSArabianRevivalist !== "unset" && !Number.isFinite(V.arcologies[0].FSArabianRevivalist)) {
V.arcologies[0].FSArabianRevivalist = 10;
App.UI.DOM.appendNewElement("div", node, ``);
App.UI.DOM.appendNewElement("div", node, `Fixed NaN FS value for FSArabianRevivalist`);
}
if (V.arcologies[0].FSEdoRevivalist !== "unset" && !Number.isFinite(V.arcologies[0].FSEdoRevivalist)) {
V.arcologies[0].FSEdoRevivalist = 10;
App.UI.DOM.appendNewElement("div", node, `Fixed NaN FS value for FSEdoRevivalist`);
}
if (V.arcologies[0].FSEgyptianRevivalist !== "unset" && !Number.isFinite(V.arcologies[0].FSEgyptianRevivalist)) {
V.arcologies[0].FSEgyptianRevivalist = 10;
App.UI.DOM.appendNewElement("div", node, `Fixed NaN FS value for FSEgyptianRevivalist`);
}
if (V.arcologies[0].FSAztecRevivalist !== "unset" && !Number.isFinite(V.arcologies[0].FSAztecRevivalist)) {
V.arcologies[0].FSAztecRevivalist = 10;
App.UI.DOM.appendNewElement("div", node, `Fixed NaN FS value for FSAztecRevivalist`);
}
if (V.arcologies[0].FSIntellectualDependency !== "unset" && !Number.isFinite(V.arcologies[0].FSIntellectualDependency)) {
V.arcologies[0].FSIntellectualDependency = 10;
App.UI.DOM.appendNewElement("div", node, `Fixed NaN FS value for FSIntellectualDependency`);
}
if (V.arcologies[0].FSSlaveProfessionalism !== "unset" && !Number.isFinite(V.arcologies[0].FSSlaveProfessionalism)) {
V.arcologies[0].FSSlaveProfessionalism = 10;
App.UI.DOM.appendNewElement("div", node, `Fixed NaN FS value for FSSlaveProfessionalism`);
}
if (V.arcologies[0].FSPetiteAdmiration !== "unset" && !Number.isFinite(V.arcologies[0].FSPetiteAdmiration)) {
V.arcologies[0].FSPetiteAdmiration = 10;
App.UI.DOM.appendNewElement("div", node, `Fixed NaN FS value for FSPetiteAdmiration`);
}
if (V.arcologies[0].FSStatuesqueGlorification !== "unset" && !Number.isFinite(V.arcologies[0].FSStatuesqueGlorification)) {
V.arcologies[0].FSStatuesqueGlorification = 10;
App.UI.DOM.appendNewElement("div", node, `Fixed NaN FS value for FSStatuesqueGlorification`);
}
// Clean up FS in player arcology
App.Update.FScheatDatatypeCleanup();
}
}
App.Update.policies();
// Player Arcology
{
if (typeof V.assistant === "number") {
assistant.BC();
} else {
assistant.object();
}
App.Update.FCTV();
if (jQuery.isEmptyObject(V.FSPromenade)) {
V.FSPromenade = {
Subjugationist: 0,
Supremacist: 0,
GenderRadicalist: 0,
GenderFundamentalist: 0,
Paternalist: 0,
Degradationist: 0,
BodyPurist: 0,
TransformationFetishist: 0,
YouthPreferentialist: 0,
MaturityPreferentialist: 0,
SlimnessEnthusiast: 0,
AssetExpansionist: 0,
Pastoralist: 0,
PhysicalIdealist: 0,
ChattelReligionist: 0,
RomanRevivalist: 0,
NeoImperialist: 0,
AztecRevivalist: 0,
EgyptianRevivalist: 0,
EdoRevivalist: 0,
ArabianRevivalist: 0,
ChineseRevivalist: 0,
Repopulationist: 0,
Eugenics: 0,
Hedonism: 0,
IntellectualDependency: 0,
SlaveProfessionalism: 0,
PetiteAdmiration: 0,
StatuesqueGlorification: 0
};
}
if (jQuery.isEmptyObject(V.arcologyUpgrade)) {
V.arcologyUpgrade = {
drones: 0,
hydro: 0,
apron: 0,
grid: 0,
spire: 0
};
V.arcologyUpgrade.drones = (V.AProsperityCap > 60) ? 1 : 0;
V.arcologyUpgrade.hydro = (V.AProsperityCap > 80) ? 1 : 0;
V.arcologyUpgrade.apron = (V.AProsperityCap > 100) ? 1 : 0;
V.arcologyUpgrade.grid = (V.AProsperityCap > 120) ? 1 : 0;
V.arcologyUpgrade.spire = (V.AProsperityCap > 240) ? 1 : 0;
}
if (jQuery.isEmptyObject(V.building)) {
if (typeof V.sectors !== "undefined") {
App.Update.sectorsToBuilding();
} else {
V.building = App.Arcology.defaultBuilding();
}
}
if (V.arcologyUpgrade.spire === 1 && !V.building.usedUpgrades.includes("spire")) {
V.building.usedUpgrades.push("spire");
}
if (!V.building.sections.map(s => s.id).includes("penthouse")) {
V.building.sections.push(new App.Arcology.Section("penthouse", [[new App.Arcology.Cell.Penthouse()]]));
}
if (jQuery.isEmptyObject(V.trinkets)) {
V.trinkets = [];
if (V.PC.career === "wealth") {
V.trinkets.push("a collection of diplomas from expensive schools");
} else if (V.PC.career === "capitalist") {
V.trinkets.push("a framed low denomination piece of paper money from your native country");
} else if (V.PC.career === "mercenary") {
V.trinkets.push("a battered old assault rifle");
} else if (V.PC.career === "slaver") {
V.trinkets.push("a framed picture of a slave with her sale price scrawled across the bottom");
} else if (V.PC.career === "engineer") {
V.trinkets.push("an artist's impression of an early arcology design");
} else if (V.PC.career === "medicine") {
V.trinkets.push("a framed postsurgical x-ray");
} else if (V.PC.career === "celebrity") {
V.trinkets.push("a framed copy of the first news story featuring yourself");
} else if (V.PC.career === "arcology owner") {
V.trinkets.push("a miniature model of your first arcology");
} else if (V.PC.career === "escort") {
V.trinkets.push("a copy of the first porno you starred in");
} else if (V.PC.career === "servant") {
V.trinkets.push("a framed picture of your late Master");
} else if (V.PC.career === "gang") {
V.trinkets.push("your favorite handgun, whose sight has instilled fear in many");
} else if (V.PC.career === "BlackHat") {
V.trinkets.push("a news clipping of your first successful live hack");
}
}
}
// Clean up neighbor's arcologies
App.Update.neighborArcologyCheatDatatypeCleanup();
// Corp
{
// move from "V.corpDivArcade" format to "V.corp.DivArcade" (put corp into one object)
for (let variable in State.variables) {
if (variable.startsWith('corp') && variable !== "corp") {
console.log("Corp: moving V." + variable, V[variable], "to V.corp." + variable.slice(4));
if (Array.isArray(V[variable])){
V.corp[variable.slice(4)] = Array.from(V[variable]);
} else if (typeof V[variable] === "object" && typeof V[variable] !== undefined) {
V.corp[variable.slice(4)] = {};
Object.assign(V.corp[variable.slice(4)], V[variable]);
} else {
V.corp[variable.slice(4)] = V[variable];
}
}
}
App.Corporate.Backcompat();
/* Corporation variables added*/
if (V.corp.ExpandToken > 1) {
V.corp.ExpandToken = 1;
}
V.dividendTimer = V.dividendTimer || 13;
if (V.corp.SpecNationality === 0) {
delete V.corp.SpecNationality;
}
/* Removing the old Corp from save*/
if (V.corp.Value) {
cashX(Math.min(Math.trunc((V.corp.Value / (V.publicShares + V.personalShares)) * V.personalShares), 1000000), "stocksTraded");
/* Paying the player for his old corporation, so they can get the new one started with haste. It should perhaps have a message going with it*/
if (typeof V.sectors !== "undefined") {
for (let i = 0; i < V.sectors.length; i++) {
if (V.sectors[i].type === "CorporateMarket") {
V.sectors[i].type = "Markets";
break;
}
}
}
}
/* if we managed to end up in a state where the corp isn't properly defined, forcefully reset it to starting conditions */
if (typeof V.corp.Incorporated === "undefined") {
V.corp = clone(App.Data.CorpInitData);
}
}
// Organs
{
let newOrgans = [];
V.organs.forEach(o => {
if (o.type === "eyes") {
newOrgans.push({type: "leftEye", weeksToCompletion: o.weeksToCompletion, ID: o.ID});
newOrgans.push({type: "rightEye", weeksToCompletion: o.weeksToCompletion, ID: o.ID});
} else {
newOrgans.push(o);
}
});
V.organs = newOrgans;
newOrgans = [];
V.completedOrgans.forEach(o => {
if (o.type === "eyes") {
newOrgans.push({type: "leftEye", ID: o.ID});
newOrgans.push({type: "rightEye", ID: o.ID});
} else {
newOrgans.push(o);
}
});
V.completedOrgans = newOrgans;
}
FacilityDatatypeCleanup();
if (typeof V.TFS.compromiseWeek === "undefined") {
V.TFS.compromiseWeek = 0;
}
// Pornstars
{
/* migrate to new genre-driven pornstar object */
if (typeof V.pornStars === "number") {
const oldPornStars = V.pornStars;
V.pornStars = {};
V.pornStars.general = {p1count: oldPornStars, p3ID: V.pornStarID};
V.pornStars.fuckdoll = {p1count: V.pornStarFuckdolls, p3ID: V.pornStarFuckdollID};
V.pornStars.rape = {p1count: V.pornStarRapees, p3ID: V.pornStarRapeID};
V.pornStars.preggo = {p1count: V.pornStarPreggos, p3ID: V.pornStarPreggoID};
V.pornStars.BBW = {p1count: V.pornStarBBWs, p3ID: V.pornStarBBWID};
V.pornStars.gainer = {p1count: V.pornStarGainers, p3ID: V.pornStarGainerID};
V.pornStars.stud = {p1count: V.pornStarStuds, p3ID: V.pornStarStudID};
V.pornStars.loli = {p1count: V.pornStarLolis, p3ID: V.pornStarLoliID};
V.pornStars.deepThroat = {p1count: V.pornStarDeepThroats, p3ID: V.pornStarDeepThroatID};
V.pornStars.struggleFuck = {p1count: V.pornStarStruggleFucks, p3ID: V.pornStarStruggleFuckID};
V.pornStars.painal = {p1count: V.pornStarPainals, p3ID: V.pornStarPainalID};
V.pornStars.tease = {p1count: V.pornStarTeases, p3ID: V.pornStarTeaseID};
V.pornStars.romantic = {p1count: V.pornStarRomantics, p3ID: V.pornStarRomanticID};
V.pornStars.pervert = {p1count: V.pornStarPerverts, p3ID: V.pornStarPervertID};
V.pornStars.caring = {p1count: V.pornStarCarings, p3ID: V.pornStarCaringID};
V.pornStars.unflinching = {p1count: V.pornStarUnflinchings, p3ID: V.pornStarUnflinchingID};
V.pornStars.sizeQueen = {p1count: V.pornStarSizeQueens, p3ID: V.pornStarSizeQueenID};
V.pornStars.neglectful = {p1count: V.pornStarNeglectfuls, p3ID: V.pornStarNeglectfulID};
V.pornStars.cumAddict = {p1count: V.pornStarCumAddicts, p3ID: V.pornStarCumAddictID};
V.pornStars.analAddict = {p1count: V.pornStarAnalAddicts, p3ID: V.pornStarAnalAddictID};
V.pornStars.attentionWhore = {p1count: V.pornStarAttentionWhores, p3ID: V.pornStarAttentionWhoreID};
V.pornStars.breastGrowth = {p1count: V.pornStarBreastGrowths, p3ID: V.pornStarBreastGrowthID};
V.pornStars.abusive = {p1count: V.pornStarAbusives, p3ID: V.pornStarAbusiveID};
V.pornStars.malicious = {p1count: V.pornStarMalicious, p3ID: V.pornStarMaliciousID};
V.pornStars.selfHating = {p1count: V.pornStarSelfHatings, p3ID: V.pornStarSelfHatingID};
V.pornStars.breeder = {p1count: V.pornStarBreeders, p3ID: V.pornStarBreederID};
V.pornStars.sub = {p1count: V.pornStarSubs, p3ID: V.pornStarSubID};
V.pornStars.cumSlut = {p1count: V.pornStarCumSluts, p3ID: V.pornStarCumSlutID};
V.pornStars.anal = {p1count: V.pornStarAnals, p3ID: V.pornStarAnalID};
V.pornStars.humiliation = {p1count: V.pornStarHumiliations, p3ID: V.pornStarHumiliationID};
V.pornStars.boobs = {p1count: V.pornStarBoobs, p3ID: V.pornStarBoobsID};
V.pornStars.dom = {p1count: V.pornStarDoms, p3ID: V.pornStarDomID};
V.pornStars.sadist = {p1count: V.pornStarSadists, p3ID: V.pornStarSadistID};
V.pornStars.masochist = {p1count: V.pornStarMasochists, p3ID: V.pornStarMasochistID};
V.pornStars.pregnancy = {p1count: V.pornStarPregnancySluts, p3ID: V.pornStarPregnancyID};
}
/* make sure that any new genres get added correctly (and populate V.pornStars for very old games) */
const pornGenres = App.Porn.getAllGenres();
for (let genre in pornGenres) {
if (V.pornStars[pornGenres[genre].fameVar] === undefined) {
V.pornStars[pornGenres[genre].fameVar] = {p1count: 0, p3ID: 0};
}
}
if (V.PCSlutContacts === 0) {
V.PCSlutContacts = 1;
}
}
// Slave services and goods variables
{
if (typeof V.lowerClassSatisfied !== "undefined") {
V.classSatisfied.lowerClass = V.lowerClassSatisfied;
}
if (typeof V.sexSubsidiesLC !== "undefined") {
V.sexSubsidies.lowerClass = V.sexSubsidiesLC;
}
if (typeof V.sexSupplyBarriersLC !== "undefined") {
V.sexSupplyBarriers.lowerClass = V.sexSupplyBarriersLC;
}
V.food = Math.max(+V.food, 0) || 12500;
if (V.foodConsumption === 0) {
V.foodConsumption = ((V.lowerClass * V.foodRate.lower) + (V.middleClass * V.foodRate.middle) + (V.upperClass * V.foodRate.upper) + (V.topClass * V.foodRate.top)); /* total amount food consumed per week */
}
}
// Recalculate finished prosthetics
V.adjustProstheticsCompleted = 0;
for (const prosthetic of V.adjustProsthetics) {
if (prosthetic.workLeft <= 0) {
V.adjustProstheticsCompleted++;
}
}
// Nicaea
if (!(typeof V.nicaea === 'object' && V.nicaea !== null)) { // Taking over the old V.nicaea which defaulted to 0 and was unused.
V.nicaea = {};
}
V.nicaea.announceable = V.nicaea.announceable || V.nicaea.announceable || 0;
V.nicaea.announced = V.nicaea.announced || V.nicaea.announced || 0;
V.nicaea.preparation = V.nicaea.preparation || V.nicaea.preparation|| 0;
V.nicaea.involvement = V.nicaea.involvement || V.nicaea.involvement|| -2;
V.nicaea.power = V.nicaea.power || V.nicaea.power || 0;
V.nicaea.held = V.nicaea.held || V.nicaea.held || 0;
V.nicaea.focus = V.nicaea.focus || V.nicaea.focus || "";
V.nicaea.assignment = V.nicaea.assignment || V.nicaea.assignment || "";
V.nicaea.achievement = V.nicaea.achievement || V.nicaea.achievement || "";
V.nicaea.name = V.nicaea.name || V.nicaea.name || "";
V.nicaea.influence = V.nicaea.influence || V.nicaea.influence || 0;
EconomyDatatypeCleanup();
ArcologyDatatypeCleanup();
// Job Fulfillment Center (JFC)
V.JFC.order = V.JFC.order || V.JFCOrder || 0;
if (V.JFCReorder) { // Property removed if not in use
V.JFC.reorder = V.JFCReorder;
}
if (jsDef(V.JFC.role) && V.JFC.role === "") {
delete V.JFC.role;
}
// eventResults
V.eventResults.shoot = V.eventResults.shoot || V.PShoot || 0;
V.eventResults.snatch = V.eventResults.snatch || V.PSnatch || 0;
V.eventResults.raid = V.eventResults.raid || V.PRaid || 0;
V.eventResults.raidTarget = V.eventResults.raidTarget || V.PRaidTarget || 0;
V.eventResults.aid = V.eventResults.aid || V.PAid || 0;
V.eventResults.aidTarget = V.eventResults.aidTarget || V.PAidTarget || "";
V.eventResults.pit = V.eventResults.pit || V.PPit || 0;
V.eventResults.slaveMedic = V.eventResults.slaveMedic || V.slaveMedic || 0;
V.eventResults.strip = V.eventResults.strip || V.PStrip || 0;
// item purchase records
V.boughtItem.clothing.bunny = V.boughtItem.clothing.bunny || V.clothesBoughtBunny || 0;
V.boughtItem.clothing.conservative = V.boughtItem.clothing.conservative || V.clothesBoughtConservative || 0;
V.boughtItem.clothing.chains = V.boughtItem.clothing.chains || V.clothesBoughtChains || 0;
V.boughtItem.clothing.western = V.boughtItem.clothing.western || V.clothesBoughtWestern || 0;
V.boughtItem.clothing.oil = V.boughtItem.clothing.oil || V.clothesBoughtOil || 0;
V.boughtItem.clothing.habit = V.boughtItem.clothing.habit || V.clothesBoughtHabit || 0;
V.boughtItem.clothing.toga = V.boughtItem.clothing.toga || V.clothesBoughtToga || 0;
V.boughtItem.clothing.huipil = V.boughtItem.clothing.huipil || V.clothesBoughtHuipil || 0;
V.boughtItem.clothing.kimono = V.boughtItem.clothing.kimono || V.clothesBoughtKimono || 0;
V.boughtItem.clothing.harem = V.boughtItem.clothing.harem || V.clothesBoughtHarem || 0;
V.boughtItem.clothing.qipao = V.boughtItem.clothing.qipao || V.clothesBoughtQipao || 0;
V.boughtItem.clothing.egypt = V.boughtItem.clothing.egypt || V.clothesBoughtEgypt || 0;
V.boughtItem.clothing.belly = V.boughtItem.clothing.belly || V.clothesBoughtBelly || 0;
V.boughtItem.clothing.maternityDress = V.boughtItem.clothing.maternityDress || V.clothesBoughtMaternityDress || 0;
V.boughtItem.clothing.maternityLingerie = V.boughtItem.clothing.maternityLingerie || V.clothesBoughtMaternityLingerie || 0;
V.boughtItem.clothing.lazyClothes = V.boughtItem.clothing.lazyClothes || V.clothesBoughtLazyClothes || 0;
V.boughtItem.clothing.bimbo = V.boughtItem.clothing.bimbo || V.clothesBoughtBimbo || 0;
V.boughtItem.clothing.courtesan = V.boughtItem.clothing.courtesan || V.clothesBoughtCourtesan || 0;
V.boughtItem.shoes.heels = V.boughtItem.shoes.heels || V.shoesBoughtHeels || 0;
V.boughtItem.clothing.petite = V.boughtItem.clothing.petite || V.clothesBoughtPetite || 0;
// non-fs
V.boughtItem.clothing.military = V.boughtItem.clothing.military || V.clothesBoughtMilitary || 0;
V.boughtItem.clothing.cultural = V.boughtItem.clothing.cultural || V.clothesBoughtCultural || 0;
V.boughtItem.clothing.middleEastern = V.boughtItem.clothing.middleEastern || V.clothesBoughtMiddleEastern || 0;
V.boughtItem.clothing.pol = V.boughtItem.clothing.pol || V.clothesBoughtPol || 0;
V.boughtItem.clothing.costume = V.boughtItem.clothing.costume || V.clothesBoughtCostume || 0;
V.boughtItem.clothing.pantsu = V.boughtItem.clothing.pantsu || V.clothesBoughtPantsu || 0;
V.boughtItem.clothing.career = V.boughtItem.clothing.career || V.clothesBoughtCareer || 0;
V.boughtItem.clothing.dresses = V.boughtItem.clothing.dresses || V.clothesBoughtDresses || 0;
V.boughtItem.clothing.bodysuits = V.boughtItem.clothing.bodysuits || V.clothesBoughtBodysuits || 0;
V.boughtItem.clothing.casual = V.boughtItem.clothing.casual || V.clothesBoughtCasual || 0;
V.boughtItem.clothing.underwear = V.boughtItem.clothing.underwear || V.clothesBoughtUnderwear || 0;
V.boughtItem.clothing.boughtSports = V.boughtItem.clothing.boughtSports || V.clothesBoughtSports || 0;
V.boughtItem.clothing.boughtPony = V.boughtItem.clothing.boughtPony || V.clothesBoughtPony || 0;
V.boughtItem.clothing.boughtSwimwear = V.boughtItem.clothing.boughtSwimwear || V.clothesBoughtSwimwear || 0;
V.boughtItem.toys.dildos = V.boughtItem.toys.dildos || V.toysBoughtDildos || 0;
V.boughtItem.toys.smartVibes = V.boughtItem.toys.smartVibes || V.toysBoughtSmartVibes || 0;
V.boughtItem.toys.vaginalAttachments = V.boughtItem.toys.vaginalAttachments || V.toysBoughtVaginalAttachments || 0;
V.boughtItem.toys.smartVaginalAttachments = V.boughtItem.toys.smartVaginalAttachments || 0;
V.boughtItem.toys.buttPlugs = V.boughtItem.toys.buttPlugs || V.toysBoughtButtPlugs || 0;
V.boughtItem.toys.buttPlugTails = V.boughtItem.toys.buttPlugTails || V.toysBoughtButtPlugTails || 0;
V.boughtItem.toys.buckets = V.boughtItem.toys.buckets || V.buckets || 0;
V.boughtItem.toys.enema = V.boughtItem.toys.enema || V.enema || 0;
V.boughtItem.toys.medicalEnema = V.boughtItem.toys.medicalEnema || V.medicalEnema || 0;
V.FSPromenade.Hedonism = V.FSPromenade.Hedonism || V.FSPromenade.HedonisticDecadence || 0;
V.building.findCells(cell => cell instanceof App.Arcology.Cell.Shop && cell.type === "Hedonistic Decadence").forEach(cell => cell.type = "Hedonism");
node.append(`Done!`);
};
App.Update.slaveVariables = function(node) {
/* Adding a new variable? Consider putting it in datatypeCleanupJS.tw instead of here */
for (let bci = 0; bci < V.slaves.length; bci++) {
let Slave = V.slaves[bci];
if (typeof Slave !== "object") {
V.slaves.deleteAt(bci);
bci--;
continue;
}
App.Update.Slave(Slave);
V.slaves[bci] = Slave;
}
V.slaveIndices = slaves2indices();
node.append(`Done!`);
};
App.Update.slaveRecords = function(node) {
V.slaves.forEach((slave) => {
App.Entity.Utils.SlaveDataSchemeCleanup(slave);
SlaveDatatypeCleanup(slave);
});
if (V.hostage !== 0) {
App.Update.Slave(V.hostage);
App.Entity.Utils.SlaveDataSchemeCleanup(V.hostage);
SlaveDatatypeCleanup(V.hostage);
}
if (typeof V.slaveAfterRA !== "undefined") {
App.Update.Slave(V.slaveAfterRA);
App.Entity.Utils.SlaveDataSchemeCleanup(V.slaveAfterRA);
SlaveDatatypeCleanup(V.slaveAfterRA);
}
if (V.boomerangSlave !== 0) {
App.Update.Slave(V.boomerangSlave);
App.Entity.Utils.SlaveDataSchemeCleanup(V.boomerangSlave);
SlaveDatatypeCleanup(V.boomerangSlave);
}
if (V.traitor !== 0) {
App.Update.Slave(V.traitor);
App.Entity.Utils.SlaveDataSchemeCleanup(V.traitor);
SlaveDatatypeCleanup(V.traitor);
}
node.append(`Done!`);
if (V.tanks.length > 0) {
let incubatorDiv = document.createElement("div");
node.append(incubatorDiv);
incubatorDiv.append(`Checking and fixing records for incubator tanks... `);
V.tanks.forEach((slave) => {
App.Update.Slave(slave);
App.Entity.Utils.SlaveDataSchemeCleanup(slave);
SlaveDatatypeCleanup(slave, true);
/* pass second argument as true so that slaveAgeDatatypeCleanup is not run */
});
incubatorDiv.append(`Done!`);
}
if (V.cribs.length > 0) {
let nurseryDiv = document.createElement("div");
node.append(nurseryDiv);
nurseryDiv.append(`Checking and fixing records for nursery cribs... `);
V.cribs.forEach((child) => {
if (child.actualAge < 3) {
// infants are not slaves, they need their own update code (but there isn't much yet)
// note that some infants have been *converted into* corrupted slaves by bad old BCs...no attempt is made to fix them here
if (child.spermY === undefined) {
child.spermY = normalRandInt(50, 5);
}
App.Facilities.Nursery.InfantDatatypeCleanup(child);
child.inbreedingCoeff = ibc.coeff(child);
} else {
App.Update.Slave(child);
App.Entity.Utils.SlaveDataSchemeCleanup(child);
App.Facilities.Nursery.ChildDatatypeCleanup(child);
}
});
V.cribsIndices = App.Facilities.Nursery.cribsToIndices();
nurseryDiv.append(`Done!`);
}
// if we updated from legacy to extended family mode, reset the EFM controllers
if (V.relationLinks) {
resetFamilyCounters();
}
// Jobs
{
V.JobIDMap = makeJobIdMap();
}
};
App.Update.genePoolRecords = function(node) {
Object.values(V.missingTable).forEach(s => {
if (!jsDef(s.mother)) {
s.mother = 0;
}
if (!jsDef(s.father)) {
s.father = 0;
}
if (!jsDef(s.inbreedingCoeff)) {
s.inbreedingCoeff = 0;
}
});
let ibCoeff = ibc.coeff_slaves(V.genePool);
V.genePool.forEach(g => { g.inbreedingCoeff = ibCoeff[g.ID]; });
V.slaveIndices = slaves2indices(); // we're going to need to compare to active slaves, if they exist
for (let bci = 0; bci < V.genePool.length; bci++) {
App.Update.Slave(V.genePool[bci], true);
let slave = V.genePool[bci];
if (V.genePool.map(function(s) { return s.ID; }).count(slave.ID) > 1) {
/* first check for duplicate IDs, keep the first entry and delete the others */
for (let bci2 = bci + 1; bci2 < V.genePool.length; bci2++) {
if (V.genePool[bci2].ID === slave.ID) {
V.genePool.deleteAt(bci2);
bci2--;
}
}
}
let dontDeleteMe = 0;
if (typeof V.slaveIndices[slave.ID] !== "undefined") {
/* are we still in the V.slaves array? */
dontDeleteMe = 1;
}
if (V.traitor !== 0) {
if (isImpregnatedBy(V.traitor, slave, true) || V.traitor.ID === slave.ID) {
/* did we impregnate the traitor, or are we the traitor? */
dontDeleteMe = 1;
}
}
if (V.boomerangSlave !== 0) {
if (isImpregnatedBy(V.boomerangSlave, slave, true) || V.boomerangSlave.ID === slave.ID) {
/* did we impregnate the boomerang, or are we the boomerang? */
dontDeleteMe = 1;
}
}
if (isImpregnatedBy(V.PC, slave, true)) {
/* did we impregnate the PC */
dontDeleteMe = 1;
}
if (dontDeleteMe === 0) {
/* avoid going through this loop if possible */
for (let bci2 = 0; bci2 < V.slaves.length; bci2++) {
if (isImpregnatedBy(V.slaves[bci2], slave, true)) {
/* have we impregnated a slave on the slaves array? */
dontDeleteMe = 1;
break;
}
}
}
if (dontDeleteMe === 0) {
V.genePool.deleteAt(bci);
bci--;
continue;
}
if (typeof slave.origSkin === "undefined") {
slave.origSkin = slave.skin;
}
if (typeof slave.origRace === "undefined") {
slave.origRace = slave.race;
}
if (V.releaseID < 1059) {
if (typeof slave.eyesImplant === "undefined") {
slave.eyesImplant = 0;
}
let oldEyes;
if (slave.origEye === "implant") {
slave.eyesImplant = 1;
oldEyes = V.genePool.find(function(s) { return s.ID === slave.ID; });
slave.origEye = oldEyes.origEye;
}
if (slave.origEye === "none") {
slave.eyes = -3;
oldEyes = V.genePool.find(function(s) { return s.ID === slave.ID; });
slave.origEye = oldEyes.origEye;
}
if (slave.eyeColor === "empty") {
slave.eyeColor = slave.origEye;
slave.eyes = -4;
}
}
App.Entity.Utils.GenePoolRecordCleanup(slave);
V.genePool[bci] = slave;
// if a genepool entry doesn't have specific parent information, but the "live" copy of the same slave does, copy it into the genepool
const liveSlave = getSlave(V.genePool[bci].ID);
if (liveSlave) {
if (liveSlave.mother && V.genePool[bci].mother === 0) {
V.genePool[bci].mother = liveSlave.mother;
}
if (liveSlave.father && V.genePool[bci].father === 0) {
V.genePool[bci].father = liveSlave.father;
}
}
}
node.append(`Done!`);
};
App.Update.RAassistantData = function(node) {
const ruleIDs = V.defaultRules.map(rule => rule.ID);
const slaveIDs = V.slaves.map(slave => slave.ID);
V.defaultRules = V.defaultRules.map(rule => App.Entity.Utils.RARuleDatatypeCleanup(rule));
for (const ruleID of Object.keys(V.rulesToApplyOnce)) {
if (!ruleIDs.includes(ruleID)) {
delete V.rulesToApplyOnce[ruleID];
} else {
for (const slaveID of V.rulesToApplyOnce[ruleID]) {
if (!slaveIDs.includes(slaveID)) {
V.rulesToApplyOnce[ruleID].delete(slaveID);
}
}
}
}
node.append(`Done!`);
};
App.Update.arcologyLocation = function(node) {
if (V.continent === "Europe") {
const prompt = App.UI.DOM.appendNewElement('div', node);
prompt.id = "location-prompt"; // so we can replace the whole prompt later after the user clicks a link
V.continent = "Central Europe"; // picks a valid default right now in case the user doesn't interact
const altLocations = [
"Southern Europe",
"Western Europe",
"Eastern Europe",
"Scandinavia",
"Central Europe"
];
function makeLinkForLocation(l) {
return App.UI.DOM.link(l, () => {
V.continent = l;
App.UI.DOM.replace("#location-prompt", `Arcology location specified at ${l}.`);
});
};
prompt.append(`General Arcology location detected: Europe. Please specify exact location of arcology. Currently selected: ${V.continent}. Other Possibilities: `,
App.UI.DOM.generateLinksStrip(altLocations.map(l => makeLinkForLocation(l))));
}
else {
node.append(`Done!`); }
};
App.Update.oldVersions = function(node) {
if (V.releaseID === 1021 || V.releaseID === 1020 || V.releaseID === 1019 || V.releaseID === 2022) {
V.releaseID = 1022;
}
if (V.releaseID === 1043) {
V.slaves.forEach(s => {
if (s.skill && s.skill.whore) {
s.skill.whoring = s.skill.whore / 2;
}
});
V.tanks.forEach(s => {
if (s.skill && s.skill.whore) {
s.skill.whoring = s.skill.whore / 2;
}
});
V.cribs.forEach(s => {
if (s.skill && s.skill.whore) {
s.skill.whoring = s.skill.whore / 2;
}
});
}
/* unify cybermod & vanilla */
/* limbs */
if (V.releaseID < 1045) {
if (typeof V.limbs !== "undefined") {
V.adjustProsthetics = [];
V.limbs.forEach((l) => {
switch (l.type) {
case "simple":
V.adjustProsthetics.push({id: "basicL", workLeft: l.weeksToCompletion * 10, slaveID: l.ID});
break;
case "sex":
V.adjustProsthetics.push({id: "sexL", workLeft: l.weeksToCompletion * 10, slaveID: l.ID});
break;
case "beauty":
V.adjustProsthetics.push({id: "beautyL", workLeft: l.weeksToCompletion * 10, slaveID: l.ID});
break;
case "combat":
V.adjustProsthetics.push({id: "combatL", workLeft: l.weeksToCompletion * 10, slaveID: l.ID});
break;
case "cyber":
V.adjustProsthetics.push({id: "cyberneticL", workLeft: l.weeksToCompletion * 10, slaveID: l.ID});
break;
}
});
}
if (typeof V.limbsCompleted !== "undefined") {
V.adjustProstheticsCompleted = V.limbsCompleted;
}
/* lab */
if (typeof V.researchLab.level === "undefined") {
V.researchLab.level = 0;
if (typeof V.researchLab.built !== "undefined") {
if (V.researchLab.built === "true") {
V.researchLab.level = 1;
if (V.prostheticsUpgrade === 0) {
V.prostheticsUpgrade = 1;
}
}
delete V.researchLab.built;
}
}
if (typeof V.researchLab.speed === "undefined") {
V.researchLab.speed = ((V.researchLab.hired * 3) + V.researchLab.menials) * V.researchLab.aiModule;
}
if (typeof V.researchLab.tasks === "undefined") {
V.researchLab.tasks = [];
}
if (typeof V.researchLab.research !== "undefined") {
if (V.researchLab.research !== "none") {
let id;
switch (V.researchLab.research) {
case "Basic prosthetics interface":
id = "interfaceP1";
break;
case "Advanced prosthetics interface":
id = "interfaceP2";
break;
case "Basic prosthetic limbs":
id = "basicL";
break;
case "Advanced sex limbs":
id = "sexL";
break;
case "Advanced beauty limbs":
id = "beautyL";
break;
case "Advanced combat limbs":
id = "combatL";
break;
case "Cybernetic limbs":
id = "cyberneticL";
break;
case "Ocular implants":
id = "ocular";
break;
case "Cochlear implants":
id = "cochlear";
break;
case "Electrolarynx":
id = "electrolarynx";
break;
}
V.researchLab.tasks.push({type: "research", id: id, workLeft: V.researchLab.productionTime});
}
delete V.researchLab.research;
}
if (typeof V.researchLab.manufacture !== "undefined") {
if (V.researchLab.manufacture !== "none") {
let id;
switch (V.researchLab.manufacture) {
case "Basic prosthetics interface":
id = "interfaceP1";
break;
case "Advanced prosthetics interface":
id = "interfaceP2";
break;
case "Basic prosthetic limbs":
id = "basicL";
break;
case "Advanced sex limbs":
id = "sexL";
break;
case "Advanced beauty limbs":
id = "beautyL";
break;
case "Advanced combat limbs":
id = "combatL";
break;
case "Cybernetic limbs":
id = "cyberneticL";
break;
case "Ocular implants":
id = "ocular";
break;
case "Cochlear implants":
id = "cochlear";
break;
case "Electrolarynx":
id = "electrolarynx";
break;
}
V.researchLab.tasks.push({type: "craft", id: id, workLeft: V.researchLab.productionTime});
}
delete V.researchLab.manufacture;
}
delete V.researchLab.productionTime;
/* stockpile */
if (jQuery.isEmptyObject(V.prosthetics)) {
if (jQuery.isEmptyObject(V.stockpile)) {
V.prosthetics = {};
setup.prostheticIDs.forEach(function(id) {
V.prosthetics[id] = {amount: 0, research: 0};
});
} else {
if (typeof V.stockpile.cochlearImplant === "undefined") {
V.stockpile.cochlearImplant = 0;
}
if (typeof V.stockpile.electrolarynx === "undefined") {
V.stockpile.electrolarynx = 0;
}
if (typeof V.stockpile.interfacePTail === "undefined") {
V.stockpile.interfacePTail = 0;
}
if (typeof V.stockpile.modPTail === "undefined") {
V.stockpile.modPTail = 0;
}
if (typeof V.stockpile.warPTail === "undefined") {
V.stockpile.warPTail = 0;
}
if (typeof V.stockpile.sexPTail === "undefined") {
V.stockpile.sexPTail = 0;
}
V.prosthetics = {
interfaceP1: {amount: V.stockpile.basicPLimbInterface, research: V.researchLab.basicPLimbInterface},
interfaceP2: {amount: V.stockpile.advPLimbInterface, research: V.researchLab.advPLimbInterface},
basicL: {amount: V.stockpile.basicPLimb, research: V.researchLab.basicPLimb},
sexL: {amount: V.stockpile.advSexPLimb, research: V.researchLab.advSexPLimb},
beautyL: {amount: V.stockpile.advGracePLimb, research: V.researchLab.advGracePLimb},
combatL: {amount: V.stockpile.advCombatPLimb, research: V.researchLab.advCombatPLimb},
cyberneticL: {amount: V.stockpile.cyberneticPLimb, research: V.researchLab.cyberneticPLimb},
ocular: {amount: V.stockpile.ocularImplant, research: V.researchLab.ocularImplant},
cochlear: {amount: V.stockpile.cochlearImplant, research: V.researchLab.cochlearImplant},
electrolarynx: {amount: V.stockpile.electrolarynx, research: V.researchLab.electrolarynx},
interfaceTail: {amount: V.stockpile.interfacePTail, research: 0},
modT: {amount: V.stockpile.modPTail, research: 0},
combatT: {amount: V.stockpile.warPTail, research: 0},
sexT: {amount: V.stockpile.sexPTail, research: 0},
erectile: {amount: V.stockpile.erectileImplant, research: V.researchLab.erectileImplant}
};
delete V.researchLab.basicPLimbInterface;
delete V.researchLab.advPLimbInterface;
delete V.researchLab.basicPLimb;
delete V.researchLab.advSexPLimb;
delete V.researchLab.advGracePLimb;
delete V.researchLab.advCombatPLimb;
delete V.researchLab.cyberneticPLimb;
delete V.researchLab.ocularImplant;
delete V.researchLab.cochlearImplant;
delete V.researchLab.electrolarynx;
delete V.researchLab.erectileImplant;
}
}
}
if (V.releaseID < 1047) {
if (V.loliGrow > 0) {
V.loliGrow = 1;
} else {
V.loliGrow = 0;
}
}
if (V.releaseID < 1055) {
if (V.disableLisping === 0) {
V.disableLisping = 1;
} else {
V.disableLisping = 0;
}
}
if (V.releaseID < 1057) {
node.append(`Standardizing player object... `);
if (typeof V.PC.actualAge === "undefined") {
if (V.PC.age === 1) {
V.PC.actualAge = 20;
} else if (V.PC.age === 3) {
V.PC.actualAge = 50;
} else {
V.PC.actualAge = 35;
}
}
if (typeof V.PC.markings === "undefined") {
V.PC.markings = "none";
}
if (typeof V.PC.pronoun === "undefined") {
generatePlayerPronouns(V.PC);
}
if (typeof V.PC.pregKnown === "undefined") {
if (V.PC.preg > 0) {
V.PC.pregKnown = 1;
} else {
V.PC.pregKnown = 0;
}
}
if (typeof V.PC.pregWeek === "undefined") {
if (V.PC.preg > 0) {
V.PC.pregWeek = V.PC.preg;
} else {
V.PC.pregWeek = 0;
}
}
if (typeof V.PC.pregType === "undefined") {
if (V.PC.preg > 0) {
V.PC.pregType = 1;
} else {
V.PC.pregType = 0;
}
}
if (typeof V.PC.belly === "undefined") {
if (V.PC.preg > 0) {
V.PC.belly = getPregBellySize(V.PC);
} else {
V.PC.belly = 0;
}
}
if (typeof V.PC.skin === "undefined") {
V.PC.skin = "light";
}
if (typeof V.PC.origSkin === "undefined") {
V.PC.origSkin = V.PC.skin;
}
if (typeof V.PC.eyeColor === "undefined") {
V.PC.eyeColor = "blue";
}
if (typeof V.PC.origEye === "undefined") {
V.PC.origEye = V.PC.eyeColor;
}
if (typeof V.PC.pupil === "undefined") {
if (V.PC.eyeColor === "catlike") {
V.PC.pupil = "catlike";
V.PC.eyeColor = "blue";
} else if (V.PC.eyeColor === "serpent-like") {
V.PC.pupil = "serpent-like";
V.PC.eyeColor = "blue";
} else if (V.PC.eyeColor === "devilish") {
V.PC.pupil = "devilish";
V.PC.eyeColor = "blue";
} else if (V.PC.eyeColor === "demonic") {
V.PC.pupil = "demonic";
V.PC.eyeColor = "blue";
} else if (V.PC.eyeColor === "hypnotic") {
V.PC.pupil = "hypnotic";
V.PC.eyeColor = "blue";
} else if (V.PC.eyeColor === "heart-shaped") {
V.PC.pupil = "heart-shaped";
V.PC.eyeColor = "blue";
} else if (V.PC.eyeColor === "wide-eyed") {
V.PC.pupil = "wide-eyed";
V.PC.eyeColor = "blue";
} else if (V.PC.eyeColor === "almond-shaped") {
V.PC.pupil = "almond-shaped";
V.PC.eyeColor = "blue";
} else if (V.PC.eyeColor === "bright") {
V.PC.pupil = "bright";
V.PC.eyeColor = "blue";
} else if (V.PC.eyeColor === "teary") {
V.PC.pupil = "teary";
V.PC.eyeColor = "blue";
} else if (V.PC.eyeColor === "vacant") {
V.PC.pupil = "vacant";
V.PC.eyeColor = "blue";
} else {
V.PC.pupil = "circular";
}
}
if (typeof V.PC.sclerae === "undefined") {
V.PC.sclerae = "white";
}
if (typeof V.PC.race === "undefined") {
V.PC.race = "white";
}
if (typeof V.PC.origRace === "undefined") {
V.PC.origRace = V.PC.race;
}
if (typeof V.PC.hColor === "undefined") {
V.PC.hColor = "blonde";
}
if (typeof V.PC.origHColor === "undefined") {
V.PC.origHColor = V.PC.hColor;
}
if (typeof V.PC.nationality === "undefined") {
V.PC.nationality = "Stateless";
}
if (V.PC.boobsBonus === -0.5) {
V.PC.boobsBonus = -1;
}
if (typeof V.PC.sclerae === "undefined") {
V.PC.sclerae = "white";
}
if (typeof V.PC.fetish === "undefined") {
V.PC.fetish = "none";
}
if (typeof V.PC.behavioralFlaw === "undefined") {
V.PC.behavioralFlaw = "none";
}
if (typeof V.PC.behavioralQuirk === "undefined") {
V.PC.behavioralQuirk = "none";
}
if (typeof V.PC.sexualFlaw === "undefined") {
V.PC.sexualFlaw = "none";
}
if (typeof V.PC.sexualQuirk === "undefined") {
V.PC.sexualQuirk = "none";
}
if (typeof V.PC.pubicHStyle === "undefined") {
V.PC.pubicHStyle = "hairless";
}
if (typeof V.PC.underArmHStyle === "undefined") {
V.PC.underArmHStyle = "hairless";
}
if (typeof V.PC.eggType === "undefined") {
V.PC.eggType = "human";
}
if (typeof V.PC.ballType === "undefined") {
V.PC.ballType = "human";
}
if (typeof V.PC.geneticQuirks === "undefined") {
V.PC.geneticQuirks = {
macromastia: 0,
gigantomastia: 0,
fertility: 0,
hyperFertility: 0,
superfetation: 0,
uterineHypersensitivity: 0,
gigantism: 0,
dwarfism: 0,
pFace: 0,
uFace: 0,
albinism: 0,
heterochromia: 0,
rearLipedema: 0,
wellHung: 1,
wGain: 0,
wLoss: 0,
mGain: 0,
mLoss: 0,
androgyny: 0,
girlsOnly: 0
};
if (V.PC.birthMaster > 0) {
V.PC.geneticQuirks.fertility = 2;
} else if (V.PC.career === "servant") {
V.PC.geneticQuirks.fertility = 1;
}
} else {
if (typeof V.PC.geneticQuirks.heterochromia === "undefined") {
V.PC.geneticQuirks.heterochromia = 0;
}
if (typeof V.PC.geneticQuirks.girlsOnly === "undefined") {
V.PC.geneticQuirks.girlsOnly = 0;
}
if (typeof V.PC.geneticQuirks.mGain === "undefined") {
V.PC.geneticQuirks.mGain = 0;
}
if (typeof V.PC.geneticQuirks.mLoss === "undefined") {
V.PC.geneticQuirks.mLoss = 0;
}
if (typeof V.PC.geneticQuirks.uterineHypersensitivity === "undefined") {
V.PC.geneticQuirks.uterineHypersensitivity = 0;
}
}
if (V.releaseID < 1032) {
if (V.PC.pregSource === -1) {
V.PC.pregSource = -6;
} else if (V.PC.pregSource === -2) {
V.PC.pregSource = -5;
} else if (V.PC.pregSource === -6) {
V.PC.pregSource = -1;
} else if (V.PC.pregSource === -5) {
V.PC.pregSource = -2;
}
}
if (typeof V.PC.genes === "undefined") {
if (V.PC.title === 1) {
V.PC.genes = "XY";
} else {
V.PC.genes = "XX";
}
}
/* player object converter */
let newPC = basePlayer();
newPC.slaveName = V.PC.name;
newPC.slaveSurname = V.PC.surname;
newPC.birthName = V.PC.name;
if (V.PC.slaveSurname) {
newPC.birthSurname = V.PC.surname;
} else {
newPC.birthSurname = "";
}
newPC.title = V.PC.title;
newPC.genes = V.PC.genes;
newPC.career = V.PC.career;
newPC.rumor = V.PC.rumor;
newPC.birthWeek = V.PC.birthWeek;
newPC.refreshment = V.PC.refreshment;
newPC.refreshmentType = V.PC.refreshmentType;
newPC.actualAge = V.PC.actualAge;
newPC.physicalAge = V.PC.physicalAge;
newPC.visualAge = V.PC.visualAge;
newPC.ovaryAge = V.PC.ovaryAge;
newPC.ageImplant = V.PC.ageImplant;
newPC.nationality = V.PC.nationality;
newPC.race = V.PC.race;
newPC.origRace = V.PC.origRace;
newPC.skin = V.PC.skin;
newPC.origSkin = V.PC.origSkin;
newPC.markings = V.PC.markings;
newPC.hColor = V.PC.hColor;
newPC.origHColor = V.PC.origHColor;
newPC.origEye = V.PC.origEye;
/* needed for compatibility currently */
newPC.eye.origColor = V.PC.origEye;
newPC.eye.left.iris = V.PC.eyeColor;
newPC.eye.left.pupil = V.PC.pupil;
newPC.eye.left.sclera = V.PC.sclerae;
newPC.eye.right.iris = V.PC.eyeColor;
newPC.eye.right.pupil = V.PC.pupil;
newPC.eye.right.sclera = V.PC.sclerae;
newPC.faceShape = V.PC.faceShape;
newPC.skill.trading = V.PC.trading;
newPC.skill.warfare = V.PC.warfare;
newPC.skill.hacking = V.PC.hacking;
newPC.skill.slaving = V.PC.slaving;
newPC.skill.engineering = V.PC.engineering;
newPC.skill.medicine = V.PC.medicine;
newPC.skill.cumTap = V.PC.cumTap;
newPC.father = V.PC.father;
newPC.mother = V.PC.mother;
newPC.sisters = V.PC.sisters;
newPC.daughters = V.PC.daughters;
newPC.counter.birthsTotal = V.PC.births;
newPC.counter.birthElite = V.PC.birthElite;
newPC.counter.birthMaster = V.PC.birthMaster;
newPC.counter.birthDegenerate = V.PC.birthDegenerate;
newPC.counter.birthClient = V.PC.birthClient;
newPC.counter.birthArcOwner = V.PC.birthArcOwner;
newPC.counter.birthCitizen = V.PC.birthCitizen;
newPC.counter.birthFutaSis = V.PC.birthFutaSis;
newPC.counter.birthSelf = V.PC.birthSelf;
newPC.counter.birthLab = V.PC.birthLab;
newPC.counter.birthOther = V.PC.birthOther;
if (typeof V.PC.laborCount !== "undefined") {
newPC.counter.laborCount = V.PC.laborCount;
}
newPC.counter.slavesFathered = V.PC.slavesFathered;
newPC.counter.slavesKnockedUp = V.PC.slavesKnockedUp;
newPC.sexualEnergy = V.PC.sexualEnergy;
newPC.staminaPills = V.PC.staminaPills;
newPC.preg = V.PC.preg;
newPC.pregType = V.PC.pregType;
newPC.pregWeek = V.PC.pregWeek;
newPC.pregKnown = V.PC.pregKnown;
newPC.fertKnown = V.PC.fertKnown;
newPC.fertPeak = V.PC.fertPeak;
newPC.fertDrugs = V.PC.fertDrugs;
newPC.forcedFertDrugs = V.PC.forcedFertDrugs;
newPC.belly = V.PC.belly;
newPC.bellyPreg = V.PC.bellyPreg;
newPC.pregSource = V.PC.pregSource;
newPC.pregMood = V.PC.pregMood;
newPC.labor = V.PC.labor;
newPC.degeneracy = V.PC.degeneracy;
newPC.pubicHStyle = V.PC.pubicHStyle;
newPC.underArmHStyle = V.PC.underArmHStyle;
if (V.PC.dick === 1) {
newPC.dick = 4;
newPC.prostate = 1;
if (V.PC.ballsImplant === 4 || V.PC.balls === 4) {
newPC.balls = 30;
newPC.scrotum = 7;
} else if (V.PC.ballsImplant === 3 || V.PC.balls === 3) {
newPC.balls = 14;
newPC.scrotum = 6;
} else if (V.PC.ballsImplant === 2 || V.PC.balls === 2) {
newPC.balls = 9;
newPC.scrotum = 5;
} else if (V.PC.ballsImplant === 1 || V.PC.balls === 1) {
newPC.balls = 5;
newPC.scrotum = 4;
} else {
newPC.balls = 3;
newPC.scrotum = 3;
}
if (V.PC.ballsImplant > 0) {
newPC.ballsImplant = newPC.balls - 3;
}
} else {
newPC.dick = 0;
newPC.prostate = 0;
newPC.balls = 0;
newPC.scrotum = 0;
}
newPC.newVag = V.PC.newVag;
if (V.PC.vagina === 1) {
newPC.ovaries = 1;
newPC.vaginaLube = 1;
if (V.PC.newVag === 1) {
newPC.vagina = 1;
} else if (V.PC.career === "escort" || V.PC.birthsTotal >= 10 || V.PC.career === "servant") {
newPC.vagina = 4;
} else if (V.PC.birthsTotal > 2) {
newPC.vagina = 3;
} else if (V.PC.career === "gang" || V.PC.career === "celebrity" || V.PC.career === "wealth" || V.PC.birthsTotal > 0) {
newPC.vagina = 2;
} else {
newPC.vagina = 1;
}
}
if (V.PC.boobs === 1) {
if (V.PC.boobsBonus === -3) {
newPC.boobs = 400;
} else if (V.PC.boobsBonus === -2) {
newPC.boobs = 500;
} else if (V.PC.boobsBonus === -1) {
newPC.boobs = 700;
} else if (V.PC.boobsBonus === 1) {
newPC.boobs = 1100;
} else if (V.PC.boobsBonus === 2) {
newPC.boobs = 1300;
} else if (V.PC.boobsBonus === 3) {
newPC.boobs = 1500;
} else {
newPC.boobs = 900;
}
} else if (V.PC.genes === "XX") {
newPC.boobs = 200;
} else {
newPC.boobs = 100;
}
if (V.PC.boobsImplant === 1) {
newPC.boobsImplant = newPC.boobs - 900;
}
newPC.lactation = V.PC.lactation;
newPC.lactationDuration = V.PC.lactationDuration;
newPC.genes = V.PC.genes;
if (V.PC.butt === 3) {
newPC.butt = 5;
} else if (V.PC.butt === 2) {
newPC.butt = 4;
} else if (V.PC.butt === 1) {
newPC.butt = 3;
} else {
newPC.butt = 2;
}
if (V.PC.buttImplant === 1) {
newPC.buttImplant = newPC.butt - 2;
}
newPC.reservedChildren = V.PC.reservedChildren;
newPC.reservedChildrenNursery = V.PC.reservedChildrenNursery;
newPC.geneticQuirks = clone(V.PC.geneticQuirks);
if (V.arcologies[0].FSPhysicalIdealist !== "unset") {
newPC.muscles = 100;
} else if (V.PC.title === 1) {
newPC.muscles = 50;
} else {
newPC.muscles = 30;
}
if (V.PC.title === 0) {
newPC.hLength = 15;
newPC.waist = -20;
newPC.voice = 2;
newPC.shoulders = -1;
newPC.hips = 1;
}
if (V.PC.career === "escort") {
newPC.anus = 1;
newPC.clothes = "a slutty outfit";
newPC.intelligenceImplant = 15;
} else if (V.PC.career === "servant") {
newPC.clothes = "a nice maid outfit";
newPC.intelligenceImplant = 0;
}
if (typeof V.PCWounded !== "undefined") {
newPC.majorInjury = V.PCWounded;
}
if (typeof V.girls !== "undefined") {
if (V.girls === 1) {
newPC.rules.living = "spare";
} else if (V.girls === 2) {
newPC.rules.living = "normal";
} else {
newPC.rules.living = "luxurious";
}
}
if (typeof V.playerGetsMilked !== "undefined") {
if (V.playerGetsMilked === 2) {
newPC.rules.lactation = "sell";
} else if (V.playerGetsMilked === 1) {
newPC.rules.lactation = "maintain";
}
}
WombInit(newPC);
V.PC = clone(newPC);
if (typeof V.PC.name === "undefined") {
if (typeof V.PCName !== "undefined") {
V.PC.name = V.PCName;
}
}
if (typeof V.PC.surname === "undefined") {
V.PC.surname = 0;
}
if (typeof V.PC.faceShape === "undefined") {
V.PC.faceShape = "normal";
}
}
if (typeof V.PC.spermY === "undefined") {
V.PC.spermY = 50; // exactly
}
if ((typeof V.familyTesting === "undefined") && V.releaseID < 1065) {
// possibly vanilla FC; compel V.familyTesting to 0 so that the family upgrade will run on slaves
V.familyTesting = 0;
}
if (V.familyTesting === 0) {
V.limitFamilies = 1;
V.relationLinks = {}; // init temp structure for mapping relationships from legacy to extended family mode
}
node.append(`Done!`);
};
App.Update.cleanUp = function(node) {
/* leave this at the bottom of BC */
if (V.releaseID < App.Version.release) {
V.releaseID = App.Version.release;
}
/* reset NaNArray after BC is run */
V.NaNArray = findNaN();
node.append(`Done!`);
};
App.Update.sectorsToBuilding = function() {
V.building = new App.Arcology.Building(V.terrain, []);
const B = V.building;
const S = V.sectors;
B.sections.push(new App.Arcology.Section("penthouse", [
[new App.Arcology.Cell.Penthouse()]
]));
if (V.arcologyUpgrade.spire === 1) {
B.sections.push(new App.Arcology.Section("spire", [
[
sectorToApartment(S[1]), sectorToApartment(S[2])
],
[
sectorToApartment(S[3]), sectorToApartment(S[4])
]
]));
}
B.sections.push(new App.Arcology.Section("apartments",
[
[sectorToApartment(S[8]), sectorToApartment(S[9]), sectorToApartment(S[10]), sectorToApartment(S[11])],
[sectorToApartment(S[12]), sectorToApartment(S[13]), sectorToApartment(S[14]), sectorToApartment(S[15])],
[sectorToApartment(S[16]), sectorToApartment(S[17]), sectorToApartment(S[18]), sectorToApartment(S[19])],
]));
function sectorToApartment(sector) {
const a = new App.Arcology.Cell.Apartment(sector.ownership);
if (sector.type === "LuxuryApartments") {
a.type = 1;
} else if (sector.type === "DenseApartments") {
a.type = 3;
}
return a;
}
B.sections.push(new App.Arcology.Section("shops", [
[sectorToShop(S[5]), sectorToShop(S[6]), sectorToShop(S[7])]
]));
function sectorToShop(sector) {
return new App.Arcology.Cell.Shop(sector.ownership, sector.type);
}
B.sections.push(new App.Arcology.Section("markets",
[
[sectorToMarket(S[20]), sectorToMarket(S[21]), sectorToMarket(S[22]), sectorToMarket(S[23]), sectorToMarket(S[24])]
]));
function sectorToMarket(sector) {
const m = new App.Arcology.Cell.Market(sector.ownership);
if (sector.type === "transportHub") {
m.type = "Transport Hub";
} else if (sector.type === "CorporateMarket") {
m.type = "Corporate Market";
} else {
m.type = sector.type;
}
return m;
}
B.sections.push(new App.Arcology.Section("manufacturing",
[
[sectorToManu(S[25]), sectorToManu(S[26]), sectorToManu(S[27]), sectorToManu(S[28]), sectorToManu(S[29])]
]));
function sectorToManu(sector) {
const m = new App.Arcology.Cell.Manufacturing(sector.ownership);
if (sector.type === "weapManu") {
m.type = "Weapon Manufacturing";
} else {
m.type = sector.type;
}
return m;
}
};
|
MonsterMate/fc
|
src/data/backwardsCompatibility/backwardsCompatibility.js
|
JavaScript
|
mit
| 88,095
|
/**
* Applies data scheme updates to the slave object
*
* This function only handles data scheme changes (attribute renaming, other reorganizations)
* and in general pays no attention to the property values unless they need to be changed due
* to the schema change.
*/
App.Entity.Utils.SlaveDataSchemeCleanup = (function() {
"use strict";
return SlaveDataSchemeCleanup;
/**
* @param {App.Entity.SlaveState} slave
*/
function SlaveDataSchemeCleanup(slave) {
migrateRules(slave);
migrateReleaseRules(slave.rules);
migratePorn(slave);
migrateSkills(slave);
migrateCounters(slave);
migrateCustomProperties(slave);
migrateBrand(slave);
migrateScars(slave);
migrateHealth(slave);
App.Entity.Utils.migratePronouns(slave);
if (slave.hasOwnProperty("assignmentVisible")) {
delete slave.assignmentVisible;
}
if (slave.hasOwnProperty("tired")) {
delete slave.tired;
}
}
/**
* @param {App.Entity.SlaveState} slave
*/
function migrateHealth(slave) {
if (typeof slave.health === "number") {
const condition = slave.health;
slave.health = {
condition: condition,
shortDamage: 0,
longDamage: 0,
illness: 0,
tired: 0,
health: condition
};
}
}
/**
* @param {App.Entity.SlaveState} slave
*/
function migrateRules(slave) {
if (!slave.hasOwnProperty("rules")) {
slave.rules = new App.Entity.RuleState();
slave.rules.lactation = slave.lactationRules;
delete slave.lactationRules;
slave.rules.living = slave.livingRules;
delete slave.livingRules;
slave.rules.relationship = slave.relationshipRules;
delete slave.relationshipRules;
slave.rules.release = slave.releaseRules;
delete slave.releaseRules;
slave.rules.speech = slave.speechRules;
delete slave.speechRules;
slave.rules.punishment = slave.standardPunishment;
delete slave.standardPunishment;
slave.rules.reward = slave.standardReward;
delete slave.standardReward;
}
}
/**
* Must be run AFTER migrateRules
* @param {App.Entity.RuleState} rulestate
*/
function migrateReleaseRules(rulestate) {
if (typeof rulestate.release === "string") {
let newRule = new App.Entity.ReleaseRulesState();
switch (rulestate.release) {
case "chastity":
newRule.masturbation = 0;
newRule.partner = 0;
newRule.facilityLeader = 0;
newRule.family = 0;
newRule.slaves = 0;
newRule.master = 0;
break;
case "restrictive":
newRule.masturbation = 0;
newRule.partner = 1;
newRule.facilityLeader = 1;
newRule.family = 0;
newRule.slaves = 0;
newRule.master = 1;
break;
case "masturbation":
newRule.masturbation = 1;
newRule.partner = 0;
newRule.facilityLeader = 1;
newRule.family = 0;
newRule.slaves = 0;
newRule.master = 1;
break;
case "sapphic":
newRule.masturbation = 0;
newRule.partner = 1;
newRule.facilityLeader = 1;
newRule.family = 1;
newRule.slaves = 1;
newRule.master = 1;
break;
case "permissive":
newRule.masturbation = 1;
newRule.partner = 1;
newRule.facilityLeader = 1;
newRule.family = 1;
newRule.slaves = 1;
newRule.master = 1;
break;
}
rulestate.release = newRule;
} else if (typeof rulestate.release !== "object" || rulestate.release === null) {
rulestate.release = new App.Entity.ReleaseRulesState();
} else if (typeof rulestate.release.facilityLeader !== "number") {
rulestate.release.facilityLeader = 1;
}
}
/**
* @param {App.Entity.SlaveState} slave
*/
function migratePorn(slave) {
if (!slave.hasOwnProperty("porn")) {
slave.porn = new App.Entity.SlavePornPerformanceState();
const pornType = "pornType";
const pornTypeLength = pornType.length;
for (let prop in slave) {
if (prop.startsWith("pornType")) {
let fameName = prop.substr(pornTypeLength);
// lowercase first character
fameName = fameName.charAt(0).toLowerCase() + fameName.substr(1);
slave.porn.fame[fameName] = slave[prop];
delete slave[prop];
}
}
if (slave.hasOwnProperty("pornFameType")) {
slave.porn.fameType = slave.pornFameType;
delete slave.pornFameType;
}
if (slave.hasOwnProperty("pornFocus")) {
slave.porn.focus = slave.pornFocus;
delete slave.pornFocus;
}
}
if (slave.hasOwnProperty("pornFeed")) {
slave.porn.feed = slave.pornFeed;
delete slave.pornFeed;
}
if (slave.hasOwnProperty("pornFame")) {
slave.porn.viewerCount = slave.pornFame;
delete slave.pornFame;
}
if (slave.hasOwnProperty("pornFameSpending")) {
slave.porn.spending = slave.pornFameSpending;
delete slave.pornFameSpending;
}
if (slave.hasOwnProperty("pornPrestige")) {
slave.porn.prestige = slave.pornPrestige;
delete slave.pornPrestige;
}
if (slave.hasOwnProperty("pornPrestigeDesc")) {
slave.porn.prestigeDesc = slave.pornPrestigeDesc;
delete slave.pornPrestigeDesc;
}
}
/**
* @param {App.Entity.SlaveState} slave
*/
function migrateSkills(slave) {
if (!slave.hasOwnProperty("skill")) {
slave.skill = new App.Entity.SlaveSkillsState();
slave.skill.anal = slave.analSkill;
slave.skill.combat = slave.combatSkill;
slave.skill.entertainment = slave.entertainSkill;
slave.skill.oral = slave.oralSkill;
slave.skill.vaginal = slave.vaginalSkill;
slave.skill.whoring = slave.whoreSkill;
delete slave.analSkill;
delete slave.combatSkill;
delete slave.entertainSkill;
delete slave.oralSkill;
delete slave.vaginalSkill;
delete slave.whoreSkill;
const nameMap = {
"HG": "headGirl",
"RC": "recruiter",
"BG": "bodyguard",
"MD": "madam",
"DJ": "DJ",
"NU": "nurse",
"TE": "teacher",
"AT": "attendant",
"MT": "matron",
"ST": "stewardess",
"MM": "milkmaid",
"FA": "farmer",
"WA": "wardeness",
"S": "servant",
"E": "entertainer",
"W": "whore"
};
for (let prop in slave) {
const skillStr = "skill";
if (prop.length > skillStr.length && prop.startsWith(skillStr)) {
let skillName = prop.substr(skillStr.length);
slave.skill[nameMap[skillName]] = slave[prop];
delete slave[prop];
}
}
}
}
/**
* @param {App.Entity.SlaveState} slave
*/
function migrateCounters(slave) {
if (!slave.hasOwnProperty("counter")) {
slave.counter = new App.Entity.SlaveActionsCountersState();
let c = slave.counter;
const nameMap = { // old => new
analCount: "anal",
mammaryCount: "mammary",
oralCount: "oral",
penetrativeCount: "penetrative",
vaginalCount: "vaginal",
publicCount: "publicUse",
pitKills: "pitKills",
milk: "milk",
cum: "cum",
births: "births",
birthsTotal: "birthsTotal",
laborCount: "laborCount",
slavesFathered: "slavesFathered",
PCChildrenFathered: "PCChildrenFathered",
slavesKnockedUp: "slavesKnockedUp",
PCKnockedUp: "PCKnockedUp",
};
for (let prop in slave) {
if (nameMap.hasOwnProperty(prop)) {
c[nameMap[prop]] = slave[prop];
delete slave[prop];
}
}
}
}
/**
* @param {App.Entity.SlaveState} slave
*/
function migrateCustomProperties(slave) {
if (!slave.hasOwnProperty("custom")) {
slave.custom = new App.Entity.SlaveCustomAddonsState();
const c = slave.custom;
// custom image and format compose an object together
if (slave.customImage !== "" && slave.customImage !== undefined) {
const fileType = slave.customImageFormat || "png";
c.image = {
filename: slave.customImage,
format: fileType
};
}
delete slave.customImageFormat;
delete slave.customImage;
const nameMap = { // old => new
customTat: "tattoo",
customLabel: "label",
customDesc: "desc",
customTitle: "title",
customTitleLisp: "titleLisp",
customHairVector: "hairVector"
};
for (let prop in slave) {
if (nameMap.hasOwnProperty(prop)) {
c[nameMap[prop]] = slave[prop];
delete slave[prop];
}
}
}
}
/**
* @param {App.Entity.SlaveState} slave
*/
function migrateBrand(slave) {
if (typeof slave.brand !== "object") {
let brand = {};
if (slave.brand !== 0) {
brand["left buttock"] = slave.brand;
}
slave.brand = brand;
} else if (typeof slave.brand === "object") { // Make sure key and value are strings
for (let [key, value] of Object.entries(slave.brand)) {
if (typeof key !== "string" || typeof value !== "string") {
delete slave.brand[key];
}
}
}
/* Head */
if (slave.brand.cheeks) {
slave.brand["left cheek"] = slave.brand.cheeks;
slave.brand["right cheek"] = slave.brand.cheeks;
delete slave.brand.cheeks;
}
if (slave.brand.ears) {
slave.brand["left ear"] = slave.brand.ears;
slave.brand["right ear"] = slave.brand.ears;
delete slave.brand.ears;
}
/* Torso */
if (slave.brand.breasts) {
slave.brand["left breast"] = slave.brand.breasts;
slave.brand["right breast"] = slave.brand.breasts;
delete slave.brand.breasts;
}
/* Arms */
if (slave.brand.shoulders) {
slave.brand["left shoulder"] = slave.brand.shoulders;
slave.brand["right shoulder"] = slave.brand.shoulders;
delete slave.brand.shoulders;
}
if (slave.brand["upper arms"]) {
slave.brand["left upper arm"] = slave.brand["upper arms"];
slave.brand["right upper arm"] = slave.brand["upper arms"];
delete slave.brand["upper arms"];
}
if (slave.brand["lower arms"]) {
slave.brand["left lower arm"] = slave.brand["lower arms"];
slave.brand["right lower arm"] = slave.brand["lower arms"];
delete slave.brand["lower arms"];
}
if (slave.brand.wrists) {
slave.brand["left wrist"] = slave.brand.wrists;
slave.brand["right wrist"] = slave.brand.wrists;
delete slave.brand.wrists;
}
if (slave.brand.hands) {
slave.brand["left hand"] = slave.brand.hands;
slave.brand["right hand"] = slave.brand.hands;
delete slave.brand.hands;
}
/* Legs */
if (slave.brand.buttocks) {
slave.brand["left buttock"] = slave.brand.buttocks;
slave.brand["right buttock"] = slave.brand.buttocks;
delete slave.brand.buttocks;
}
if (slave.brand.thighs) {
slave.brand["left thigh"] = slave.brand.thighs;
slave.brand["right thigh"] = slave.brand.thighs;
delete slave.brand.thigh;
}
if (slave.brand.calves) {
slave.brand["left calf"] = slave.brand.calves;
slave.brand["right calf"] = slave.brand.calves;
delete slave.brand.calves;
}
if (slave.brand.ankles) {
slave.brand["left ankle"] = slave.brand.ankles;
slave.brand["right ankle"] = slave.brand.ankles;
delete slave.brand.ankles;
}
if (slave.brand.feet) {
slave.brand["left foot"] = slave.brand.feet;
slave.brand["right foot"] = slave.brand.feet;
delete slave.brand.feet;
}
}
/**
* @param {App.Entity.SlaveState} slave
*/
function migrateScars(slave) {
if (!slave.hasOwnProperty("scar")) {
slave.scar = {}; // switching to singular to match .brand and someday others.
}
if (slave.hasOwnProperty("scars")) { // even if it's 0
if (slave.scars === 5) {
App.Medicine.Modification.addScar(slave, "left cheek", "menacing"); // old location was not defined, but surgery described it as facial. Putting it on left cheek for a default.
} else if (slave.scars === 6) {
App.Medicine.Modification.addScar(slave, "left cheek", "exotic");
} else if (slave.scars) { // not 0
App.Medicine.Modification.addScar(slave, "left cheek", "generic");
}
delete slave.scars;
}
if (slave.hasOwnProperty("cSec")) { // if it's not 0
if (slave.cSec) { // not 0
App.Medicine.Modification.addScar(slave, "belly", "c-section");
}
delete slave.cSec; // delete even if 0
}
}
})();
/*
This function does not ensure values make sense. For example, it does not fix weird relations/relationships/rivalries/pregnancies/prosthetics.
It only makes sure most datatypes are correct, and sets to default if not. Number values are clamped to the correct bounds.
Any values that are supposed to be objects or arrays are not handled (yet).
A tutorial on how to add to this passage:
The || operator can be very useful for setting default values. To be precise,
x = y || z
is the same thing as
if (y) {x = y}
else {x = z}
This means that if z is the default value, in the ideal case you could write x = x || z. If x is already in use, this won't change it, and if x is not defined it will set it to z.
However, for example, if x is 0 but the default is -1 this will actually set x to -1! So care must be taken.
Let's say you want to add slave.value to this function, and you want it to be a number.
First, you need to take whatever slave.value currently is, and turn it into a number. You can use either +slave.value or Number(slave.value) to do this.
Second, you need to determine what range to restrict slave.value to. You'll either use Math.max, Math.min, Math.clamp, or none of them.
Finally, you need to consider the default value if the .max/.min/.clamp returned 0 (or NaN). To make a long story short,
Use slave.value = Math.max(+slave.value, a) || default; if you need slave.value >= a.
Use slave.value = Math.min(+slave.value, a) || default; if you need slave.value <= a.
Use slave.value = Math.clamp(+slave.value, a, b) || default; if you need a <= slave.value <= b.
Use slave.value = +slave.value || default; if slave.value can be any number.
The exception to this is if the default !== 0. In this case, it's usually good enough to just check if slave.value !== 0 first. The strict equality is important!
If you want slave.value to be a string, there's no easy tricks to make sure it's already an accepted value. The simplest way is the following
if (typeof slave.value !== "string") slave.value = default;
*/
globalThis.SlaveDatatypeCleanup = (function SlaveDatatypeCleanup() {
"use strict";
return SlaveDatatypeCleanup;
/**
* @param {App.Entity.SlaveState} slave
* @param {boolean} [isIncubatorSlave]
*/
function SlaveDatatypeCleanup(slave, isIncubatorSlave = false) {
if (!isIncubatorSlave && !slave.tankBaby) {
slaveAgeDatatypeCleanup(slave);
}
slavePhysicalDatatypeCleanup(slave);
slaveFaceDatatypeCleanup(slave);
slaveHairDatatypeCleanup(slave);
slaveBoobsDatatypeCleanup(slave);
slaveButtDatatypeCleanup(slave);
slaveNekoDatatypeCleanup(slave);
slavePregnancyDatatypeCleanup(slave);
slaveBellyDatatypeCleanup(slave);
slaveGenitaliaDatatypeCleanup(slave);
slaveImplantsDatatypeCleanup(slave);
slavePiercingsDatatypeCleanup(slave);
slaveTattooDatatypeCleanup(slave);
slaveCosmeticsDatatypeCleanup(slave);
slaveDietDatatypeCleanup(slave);
slavePornDatatypeCleanup(slave);
slaveRelationDatatypeCleanup(slave);
slaveSkillsDatatypeCleanup(slave);
slaveStatCountDatatypeCleanup(slave);
slavePreferencesDatatypeCleanup(slave);
slaveRulesDatatypeCleanup(slave);
slaveCustomStatsDatatypeCleanup(slave);
slaveMiscellaneousDatatypeCleanup(slave);
generatePronouns(slave);
}
/**
* @param {App.Entity.SlaveState} slave
*/
function slaveAgeDatatypeCleanup(slave) {
slave.birthWeek = Math.clamp(+slave.birthWeek, 0, 51) || 0;
if (slave.age > 0) {
slave.actualAge = Math.clamp(+slave.actualAge, V.minimumSlaveAge, Infinity) || slave.age; /* if undefined, this sets to slave.age */
delete slave.age;
} else {
slave.actualAge = Math.clamp(+slave.actualAge, V.minimumSlaveAge, Infinity) || 18;
}
slave.visualAge = Math.max(+slave.visualAge, 0) || slave.actualAge;
slave.physicalAge = Math.max(+slave.physicalAge, 0) || slave.actualAge;
slave.ovaryAge = Math.max(+slave.ovaryAge, 0) || slave.physicalAge;
slave.pubertyAgeXX = Math.max(+slave.pubertyAgeXX, 0) || V.fertilityAge;
slave.pubertyAgeXY = Math.max(+slave.pubertyAgeXY, 0) || V.potencyAge;
slave.ageAdjust = Math.clamp(+slave.ageAdjust, -40, 40) || 0;
slave.NCSyouthening = Math.max(+slave.NCSyouthening, 0) || 0;
slave.health.shortDamage = Math.max(+slave.health.shortDamage, 0) || 0;
slave.health.longDamage = Math.max(+slave.health.longDamage, 0) || 0;
slave.health.illness = Math.max(+slave.health.illness, 0) || 0;
slave.health.tired = Math.clamp(+slave.health.tired, 0, 100) || 0;
slave.health.health = Math.clamp(slave.health.health, -100, 200) || 0;
slave.health.condition = Math.clamp(slave.health.condition, -100, 200) || 0;
}
/**
* @param {App.Entity.SlaveState} slave
*/
function slavePhysicalDatatypeCleanup(slave) {
if (typeof slave.nationality !== "string") {
slave.nationality = "slave";
}
if (typeof slave.race !== "string") {
nationalityToRace(slave);
}
if (typeof slave.origRace !== "string") {
slave.origRace = slave.race;
}
if (typeof slave.skin !== "string") {
slave.skin = "light";
}
if (typeof slave.origSkin !== "string") {
slave.origSkin = slave.skin;
}
if (typeof slave.minorInjury !== "string") {
slave.minorInjury = 0;
}
slave.health.condition = Math.clamp(slave.health.condition, -100, 100) || 0;
slave.health.shortDamage = Math.max(+slave.health.shortDamage, 0) || 0;
slave.health.longDamage = Math.max(+slave.health.longDamage, 0) || 0;
slave.health.illness = Math.max(+slave.health.illness, 0) || 0;
slave.health.tired = Math.clamp(+slave.health.tired, 0, 100) || 0;
slave.health.health = Math.clamp(slave.health.condition - slave.health.shortDamage - slave.health.longDamage, -100, 100) || 0;
slave.muscles = Math.clamp(+slave.muscles, -100, 100) || 0;
slave.weight = Math.clamp(+slave.weight, -100, 200) || 0;
slave.waist = Math.clamp(+slave.waist, -100, 100) || 0;
slave.height = Math.round(Math.max(+slave.height, 0)) || Math.round(Height.mean(slave));
slave.shoulders = Math.clamp(+slave.shoulders, -2, 2) || 0;
slave.hips = Math.clamp(+slave.hips, -2, 3) || 0;
}
/**
* @param {App.Entity.SlaveState} slave
*/
function slaveFaceDatatypeCleanup(slave) {
slave.face = Math.clamp(+slave.face, -100, 100) || 0;
if (typeof slave.faceShape !== "string") {
slave.faceShape = "normal";
}
if (slave.lips !== 0) {
slave.lips = Math.clamp(+slave.lips, 0, 100) || 15;
}
}
/**
* @param {App.Entity.SlaveState} slave
*/
function slaveHairDatatypeCleanup(slave) {
if (typeof slave.hColor !== "string") {
slave.hColor = "brown";
}
if (typeof slave.origHColor !== "string") {
slave.origHColor = slave.hColor;
}
if (slave.hLength !== 0) {
slave.hLength = Math.clamp(+slave.hLength, 0, 300) || 60;
}
if (typeof slave.hStyle !== "string") {
slave.hStyle = "long";
}
slave.haircuts = Math.clamp(+slave.haircuts, 0, 1) || 0;
slave.bald = Math.clamp(+slave.bald, 0, 1) || 0;
if (typeof slave.pubicHColor !== "string") {
slave.pubicHColor = slave.hColor;
}
if (typeof slave.pubicHStyle !== "string") {
slave.pubicHStyle = "neat";
}
if (typeof slave.underArmHColor !== "string") {
slave.underArmHColor = slave.hColor;
}
if (typeof slave.underArmHStyle !== "string") {
slave.underArmHStyle = "waxed";
}
if (typeof slave.eyebrowHColor !== "string") {
slave.eyebrowHColor = slave.hColor;
}
if (typeof slave.eyebrowHStyle !== "string") {
slave.eyebrowHStyle = "natural";
}
if (typeof slave.eyebrowFullness !== "string") {
slave.eyebrowFullness = "natural";
}
}
/**
* @param {App.Entity.SlaveState} slave
*/
function slaveBoobsDatatypeCleanup(slave) {
slave.boobs = Math.max(+slave.boobs, 100) || 200;
if (typeof slave.boobShape !== "string") {
slave.boobShape = "normal";
}
if (typeof slave.nipples !== "string") {
slave.nipples = "cute";
}
if (typeof slave.nipplesAccessory !== "string") {
slave.nipplesAccessory = "none";
}
slave.areolae = Math.clamp(+slave.areolae, 0, 4) || 0;
if (typeof slave.areolaeShape !== "string") {
slave.areolaeShape = "circle";
}
slave.lactation = Math.clamp(+slave.lactation, 0, 2) || 0;
slave.boobsMilk = Math.max(+slave.boobsMilk, 0) || 0;
slave.lactationAdaptation = Math.clamp(+slave.lactationAdaptation, 0, 100) || 0;
}
/**
* @param {App.Entity.SlaveState} slave
*/
function slaveButtDatatypeCleanup(slave) {
if (slave.butt !== 0) {
slave.butt = Math.clamp(+slave.butt, 0, 20) || 1;
}
slave.anus = Math.clamp(+slave.anus, 0, 4) || 0;
slave.analArea = Math.max(+slave.analArea, 0) || 0;
}
/**
* @param {App.Entity.SlaveState} slave
*/
function slaveNekoDatatypeCleanup(slave) {
if (typeof slave.earShape !== "string") {
slave.earShape = "normal";
}
if (typeof slave.earT !== "string") {
slave.earT = "none";
}
if (typeof slave.earTColor !== "string") {
slave.earTColor = "none";
}
if (typeof slave.horn !== "string") {
slave.horn = "none";
}
if (typeof slave.hornColor !== "string") {
slave.hornColor = "none";
}
if (typeof slave.tail !== "string") {
slave.tail = "none";
}
if (typeof slave.tailShape !== "string") {
slave.tailShape = "none";
}
if (typeof slave.tailColor !== "string") {
slave.tailColor = "none";
}
}
/**
* @param {App.Entity.SlaveState} slave
*/
function slavePregnancyDatatypeCleanup(slave) {
slave.induce = Math.clamp(+slave.induce, 0, 1) || 0;
slave.labor = Math.clamp(+slave.labor, 0, 1) || 0;
slave.prematureBirth = Math.clamp(+slave.prematureBirth, 0, 1) || 0;
slave.ovaries = Math.clamp(+slave.ovaries, 0, 1) || 0;
slave.vasectomy = Math.clamp(+slave.vasectomy, 0, 1) || 0;
slave.mpreg = Math.clamp(+slave.mpreg, 0, 1) || 0;
if (slave.pregAdaptation !== 0) {
slave.pregAdaptation = Math.max(+slave.pregAdaptation, 0) || 50;
}
if (typeof slave.ovaImplant !== "string") {
slave.ovaImplant = 0;
}
if (slave.pubertyXX === 0 && slave.ovaries > 0 && slave.preg === -1) {
slave.preg = 0; // no contraceptives for prepubescent slaves
}
slave.fertPeak = Math.clamp(+slave.fertPeak, 0, 4) || 0;
slave.broodmother = Math.clamp(+slave.broodmother, 0, 3) || 0;
slave.broodmotherFetuses = Math.max(+slave.broodmotherFetuses, 0) || 0;
slave.broodmotherOnHold = Math.clamp(+slave.broodmotherOnHold, 0, 1) || 0;
slave.pregSource = +slave.pregSource || 0;
if (typeof slave.pregControl !== "string") {
slave.pregControl = "none";
}
WombNormalizePreg(slave);
}
/**
* @param {App.Entity.SlaveState} slave
*/
function slaveBellyDatatypeCleanup(slave) {
slave.inflation = Math.clamp(+slave.inflation, 0, 3) || 0;
if (typeof slave.inflationType !== "string") {
slave.inflationType = "none";
}
slave.inflationMethod = Math.clamp(+slave.inflationMethod, 0, 3) || 0;
slave.milkSource = Math.max(+slave.milkSource, 0) || 0;
slave.cumSource = Math.max(+slave.cumSource, 0) || 0;
slave.burst = Math.clamp(+slave.burst, 0, 1) || 0;
if (slave.bellyImplant !== 0) {
slave.bellyImplant = Math.max(+slave.bellyImplant, -1) || -1;
}
slave.cervixImplant = Math.clamp(+slave.cervixImplant, 0, 3) || 0;
slave.bellySag = Math.max(+slave.bellySag, 0) || 0;
slave.bellySagPreg = Math.max(+slave.bellySagPreg, 0) || slave.bellySag;
slave.bellyPain = Math.clamp(+slave.bellyPain, 0, 2) || 0;
SetBellySize(slave);
}
/**
* @param {App.Entity.SlaveState} slave
*/
function slaveGenitaliaDatatypeCleanup(slave) {
slave.vagina = Math.clamp(+slave.vagina, -1, 10) || 0;
slave.vaginaLube = Math.clamp(+slave.vaginaLube, 0, 2) || 0;
slave.labia = Math.clamp(+slave.labia, 0, 3) || 0;
slave.clit = Math.clamp(+slave.clit, 0, 5) || 0;
slave.foreskin = Math.max(+slave.foreskin, 0) || 0;
slave.dick = Math.max(+slave.dick, 0) || 0;
if (slave.dick && slave.prostate !== 0) {
slave.prostate = Math.clamp(+slave.prostate, 0, 3) || 1;
} else {
slave.prostate = Math.clamp(+slave.prostate, 0, 3) || 0;
}
slave.balls = Math.max(+slave.balls, 0) || 0;
if (slave.scrotum !== 0) {
slave.scrotum = Math.max(+slave.scrotum, 0) || slave.balls;
}
}
/**
* @param {App.Entity.SlaveState} slave
*/
function slaveImplantsDatatypeCleanup(slave) {
slave.ageImplant = Math.clamp(+slave.ageImplant, 0, 1) || 0;
slave.faceImplant = Math.clamp(+slave.faceImplant, 0, 100) || 0;
slave.lipsImplant = Math.clamp(+slave.lipsImplant, 0, 100) || 0;
slave.voiceImplant = Math.clamp(+slave.voiceImplant, -1, 1) || 0;
slave.boobsImplant = Math.max(+slave.boobsImplant, 0) || 0;
if (slave.boobsImplant === 0) {
slave.boobsImplantType = "none";
} else if (slave.boobsImplant > 0) {
slave.boobsImplantType = "normal";
}
slave.breastMesh = Math.clamp(+slave.breastMesh, 0, 1) || 0;
slave.buttImplant = Math.clamp(+slave.buttImplant, 0, 20) || 0;
if (typeof slave.buttImplantType !== "string") {
if (slave.buttImplant === 0) {
slave.buttImplantType = "none";
} else if (slave.buttImplant > 0) {
slave.buttImplantType = "normal";
}
}
slave.heightImplant = Math.clamp(+slave.heightImplant, -10, 10) || 0;
slave.earImplant = Math.clamp(+slave.earImplant, 0, 1) || 0;
slave.shouldersImplant = Math.clamp(+slave.shouldersImplant, -1, 1) || 0;
slave.hipsImplant = Math.clamp(+slave.hipsImplant, -1, 1) || 0;
}
/**
* @param {App.Entity.SlaveState} slave
*/
function slavePiercingsDatatypeCleanup(slave) {
slave.earPiercing = Math.clamp(+slave.earPiercing, 0, 2) || 0;
slave.nosePiercing = Math.clamp(+slave.nosePiercing, 0, 2) || 0;
slave.eyebrowPiercing = Math.clamp(+slave.eyebrowPiercing, 0, 2) || 0;
slave.lipsPiercing = Math.clamp(+slave.lipsPiercing, 0, 2) || 0;
slave.tonguePiercing = Math.clamp(+slave.tonguePiercing, 0, 2) || 0;
slave.nipplesPiercing = Math.clamp(+slave.nipplesPiercing, 0, 2) || 0;
slave.areolaePiercing = Math.clamp(+slave.areolaePiercing, 0, 2) || 0;
slave.corsetPiercing = Math.clamp(+slave.corsetPiercing, 0, 1) || 0;
slave.navelPiercing = Math.clamp(+slave.navelPiercing, 0, 2) || 0;
slave.clitPiercing = Math.clamp(+slave.clitPiercing, 0, 3) || 0;
slave.vaginaPiercing = Math.clamp(+slave.vaginaPiercing, 0, 2) || 0;
slave.dickPiercing = Math.clamp(+slave.dickPiercing, 0, 2) || 0;
slave.anusPiercing = Math.clamp(+slave.anusPiercing, 0, 2) || 0;
}
/**
* @param {App.Entity.SlaveState} slave
*/
function slaveTattooDatatypeCleanup(slave) {
if (typeof slave.shouldersTat !== "string") {
slave.shouldersTat = 0;
}
if (typeof slave.lipsTat !== "string") {
slave.lipsTat = 0;
}
if (typeof slave.boobsTat !== "string") {
slave.boobsTat = 0;
}
if (typeof slave.armsTat !== "string") {
slave.armsTat = 0;
}
if (typeof slave.backTat !== "string") {
slave.backTat = 0;
}
if (typeof slave.stampTat !== "string") {
slave.stampTat = 0;
}
if (typeof slave.buttTat !== "string") {
slave.buttTat = 0;
}
if (typeof slave.vaginaTat !== "string") {
slave.vaginaTat = 0;
}
if (typeof slave.dickTat !== "string") {
slave.dickTat = 0;
}
if (typeof slave.anusTat !== "string") {
slave.anusTat = 0;
}
if (typeof slave.legsTat !== "string") {
slave.legsTat = 0;
}
if (typeof slave.bellyTat !== "string") {
slave.bellyTat = 0;
}
if (typeof slave.custom.tattoo !== "string" || slave.custom.tattoo === " ") {
slave.custom.tattoo = "";
}
}
/**
* @param {App.Entity.SlaveState} slave
*/
function slaveCosmeticsDatatypeCleanup(slave) {
slave.makeup = Math.clamp(+slave.makeup, 0, 8) || 0;
slave.nails = Math.clamp(+slave.nails, 0, 9) || 0;
slave.chastityAnus = Math.clamp(+slave.chastityAnus, 0, 1) || 0;
slave.chastityPenis = Math.clamp(+slave.chastityPenis, 0, 1) || 0;
slave.chastityVagina = Math.clamp(+slave.chastityVagina, 0, 1) || 0;
slave.choosesOwnClothes = Math.clamp(+slave.choosesOwnClothes, 0, 1) || 0;
if (typeof slave.clothes !== "string") {
slave.clothes = "no clothing";
}
if (typeof slave.collar !== "string") {
slave.collar = "none";
}
if (typeof slave.shoes !== "string") {
slave.shoes = "none";
}
if (typeof slave.eyewear !== "string") {
slave.eyewear = "none";
}
if (typeof slave.markings !== "string") {
slave.markings = "none";
}
if (typeof slave.bellyAccessory !== "string") {
slave.bellyAccessory = "none";
}
if (typeof slave.vaginalAccessory !== "string") {
slave.vaginalAccessory = "none";
}
if (typeof slave.vaginalAttachment !== "string") {
slave.vaginalAttachment = "none";
}
if (typeof slave.dickAccessory !== "string") {
slave.dickAccessory = "none";
}
if (typeof slave.armAccessory !== "string") {
slave.armAccessory = "none";
}
if (typeof slave.legAccessory !== "string") {
slave.legAccessory = "none";
}
if (typeof slave.buttplug !== "string") {
slave.buttplug = "none";
}
if (typeof slave.buttplugAttachment !== "string") {
slave.buttplugAttachment = "none";
}
if (typeof slave.headAccessory !== "string") {
slave.headAccessory = "none";
}
if (typeof slave.rearAccessory !== "string") {
slave.rearAccessory = "none";
}
if (typeof slave.backAccessory !== "string") {
slave.backAccessory = "none";
}
if (typeof slave.faceAccessory !== "string") {
slave.faceAccessory = "none";
}
if (typeof slave.mouthAccessory !== "string") {
slave.mouthAccessory = "none";
}
switch(slave.collar) {
case "porcelain mask":
slave.faceAccessory = slave.collar;
slave.collar = "none";
break;
case "bit gag":
case "dildo gag":
case "massive dildo gag":
case "ball gag":
case "ring gag":
slave.mouthAccessory = slave.collar;
slave.collar = "none";
break;
}
}
/**
* @param {App.Entity.SlaveState} slave
*/
function slaveDietDatatypeCleanup(slave) {
if (typeof slave.diet !== "string") {
slave.diet = "healthy";
}
slave.dietCum = Math.clamp(+slave.dietCum, 0, 2) || 0;
slave.dietMilk = Math.clamp(+slave.dietMilk, 0, 2) || 0;
slave.onDiet = Math.clamp(+slave.onDiet, 0, 1) || 0;
slave.hormones = Math.clamp(+slave.hormones, -2, 2) || 0;
slave.hormoneBalance = Math.clamp(+slave.hormoneBalance, -400, 400) || 0;
if (typeof slave.drugs !== "string" || slave.drugs === "none") {
slave.drugs = "no drugs";
}
slave.aphrodisiacs = Math.clamp(+slave.aphrodisiacs, 0, 2) || 0;
slave.curatives = Math.clamp(+slave.curatives, 0, 2) || 0;
}
/**
* @param {App.Entity.SlaveState} slave
*/
function slavePornDatatypeCleanup(slave) {
slave.porn.feed = Math.clamp(+slave.porn.feed, 0, 1) || 0;
slave.porn.viewerCount = Math.max(+slave.porn.viewerCount, 0) || 0;
slave.porn.spending = Math.max(+slave.porn.spending, 0) || 0;
slave.porn.prestige = Math.clamp(+slave.porn.prestige, 0, 3) || 0;
if (typeof slave.porn.prestigeDesc !== "string") {
slave.porn.prestigeDesc = 0;
}
if (typeof slave.porn.fameType !== "string") {
slave.porn.fameType = "none";
}
if (typeof slave.porn.focus !== "string") {
slave.porn.focus = "none";
}
for (const genre of App.Porn.getAllGenres()) {
slave.porn.fame[genre.fameVar] = Math.max(+slave.porn.fame[genre.fameVar], 0) || 0;
}
// there was a bug where the ui would set focus to "well hung" instead of "stud" for the "big dick" genre.
if (slave.porn.focus === "well hung") {
slave.porn.focus = "stud";
}
}
/**
* @param {App.Entity.SlaveState} slave
*/
function slaveRelationDatatypeCleanup(slave) {
slave.mother = +slave.mother || 0;
slave.father = +slave.father || 0;
slave.canRecruit = Math.clamp(+slave.canRecruit, 0, 1) || 0;
slave.relationship = Math.clamp(+slave.relationship, -3, 5) || 0;
slave.relationshipTarget = Math.max(+slave.relationshipTarget, 0) || 0;
slave.rivalryTarget = Math.max(+slave.rivalryTarget, 0) || 0;
slave.rivalry = Math.clamp(+slave.rivalry, 0, 3) || 0;
slave.cloneID = +slave.cloneID || 0;
}
/**
* @param {App.Entity.SlaveState} slave
*/
function slaveSkillsDatatypeCleanup(slave) {
slave.skill.oral = Math.clamp(+slave.skill.oral, 0, 100) || 0;
slave.skill.vaginal = Math.clamp(+slave.skill.vaginal, 0, 100) || 0;
slave.skill.anal = Math.clamp(+slave.skill.anal, 0, 100) || 0;
slave.skill.whoring = Math.clamp(+slave.skill.whoring, 0, 100) || 0;
slave.skill.entertainment = Math.clamp(+slave.skill.entertainment, 0, 100) || 0;
slave.skill.combat = Math.clamp(+slave.skill.combat, 0, 1) || 0;
slave.skill.headGirl = Math.clamp(+slave.skill.headGirl, 0, 200) || 0;
slave.skill.recruiter = Math.clamp(+slave.skill.recruiter, 0, 200) || 0;
slave.skill.bodyguard = Math.clamp(+slave.skill.bodyguard, 0, 200) || 0;
slave.skill.madam = Math.clamp(+slave.skill.madam, 0, 200) || 0;
slave.skill.DJ = Math.clamp(+slave.skill.DJ, 0, 200) || 0;
slave.skill.nurse = Math.clamp(+slave.skill.nurse, 0, 200) || 0;
slave.skill.teacher = Math.clamp(+slave.skill.teacher, 0, 200) || 0;
slave.skill.attendant = Math.clamp(+slave.skill.attendant, 0, 200) || 0;
slave.skill.matron = Math.clamp(+slave.skill.matron, 0, 200) || 0;
slave.skill.stewardess = Math.clamp(+slave.skill.stewardess, 0, 200) || 0;
slave.skill.milkmaid = Math.clamp(+slave.skill.milkmaid, 0, 200) || 0;
slave.skill.farmer = Math.clamp(+slave.skill.farmer, 0, 200) || 0;
slave.skill.wardeness = Math.clamp(+slave.skill.wardeness, 0, 200) || 0;
slave.skill.servant = Math.clamp(+slave.skill.servant, 0, 200) || 0;
slave.skill.entertainer = Math.clamp(+slave.skill.entertainer, 0, 200) || 0;
slave.skill.whore = Math.clamp(+slave.skill.whore, 0, 200) || 0;
}
/**
* @param {App.Entity.SlaveState} slave
*/
function slaveStatCountDatatypeCleanup(slave) {
slave.counter.oral = Math.max(+slave.counter.oral, 0) || 0;
slave.counter.vaginal = Math.max(+slave.counter.vaginal, 0) || 0;
slave.counter.anal = Math.max(+slave.counter.anal, 0) || 0;
slave.counter.publicUse = Math.max(+slave.counter.publicUse, 0) || 0;
slave.counter.mammary = Math.max(+slave.counter.mammary, 0) || 0;
slave.counter.penetrative = Math.max(+slave.counter.penetrative, 0) || 0;
slave.counter.pitKills = Math.max(+slave.counter.pitKills, 0) || 0;
slave.counter.pitWins = Math.max(+slave.counter.pitWins, 0) || 0;
slave.counter.pitLosses = Math.max(+slave.counter.pitLosses, 0) || 0;
slave.counter.milk = Math.max(+slave.counter.milk, 0) || 0;
slave.counter.cum = Math.max(+slave.counter.cum, 0) || 0;
slave.counter.births = Math.max(+slave.counter.births, 0) || 0;
slave.counter.birthsTotal = Math.max(+slave.counter.birthsTotal, 0) || slave.counter.births;
slave.counter.abortions = Math.max(+slave.counter.abortions, 0) || 0;
slave.counter.miscarriages = Math.max(+slave.counter.miscarriages, 0) || 0;
slave.counter.laborCount = Math.max(+slave.counter.laborCount, 0) || slave.counter.birthsTotal;
slave.counter.slavesFathered = Math.max(+slave.counter.slavesFathered, 0) || 0;
slave.counter.PCChildrenFathered = Math.max(+slave.counter.PCChildrenFathered, 0) || 0;
slave.counter.slavesKnockedUp = Math.max(+slave.counter.slavesKnockedUp, 0) || 0;
slave.counter.PCKnockedUp = Math.max(+slave.counter.PCKnockedUp, 0) || 0;
slave.bodySwap = Math.max(+slave.bodySwap, 0) || 0;
}
/**
* @param {App.Entity.SlaveState} slave
*/
function slavePreferencesDatatypeCleanup(slave) {
slave.energy = Math.clamp(+slave.energy, 0, 100) || 0;
slave.need = Math.max(+slave.need, 0) || 0;
slave.attrXY = Math.clamp(+slave.attrXY, 0, 100) || 0;
slave.attrXX = Math.clamp(+slave.attrXX, 0, 100) || 0;
slave.attrKnown = Math.clamp(+slave.attrKnown, 0, 1) || 0;
slave.fetishStrength = Math.clamp(+slave.fetishStrength, 0, 100) || 0;
slave.fetishKnown = Math.clamp(+slave.fetishKnown, 0, 1) || 0;
}
/**
* @param {App.Entity.SlaveState} slave
*/
function slaveRulesDatatypeCleanup(slave) {
if (slave.useRulesAssistant !== 0) {
slave.useRulesAssistant = 1;
}
slave.choosesOwnAssignment = Math.clamp(+slave.choosesOwnAssignment, 0, 1) || 0;
slave.PCExclude = Math.clamp(+slave.PCExclude, 0, 1) || 0;
slave.HGExclude = Math.clamp(+slave.HGExclude, 0, 1) || 0;
slave.StudExclude = Math.clamp(+slave.StudExclude, 0, 1) || 0;
slave.choosesOwnChastity = Math.clamp(+slave.choosesOwnChastity, 0, 1) || 0;
slave.breedingMark = Math.clamp(+slave.breedingMark, 0, 1) || 0;
slave.rudeTitle = Math.clamp(+slave.rudeTitle, 0, 1) || 0;
if (typeof slave.rules.mobility !== "string") {
slave.rules.mobility = "restrictive";
}
if (typeof slave.rules.punishment !== "string" || slave.rules.punishment === "orgasm" /* fix SI bug */) {
slave.rules.punishment = "situational";
}
if (typeof slave.rules.reward !== "string") {
slave.rules.reward = "situational";
}
}
/**
* @param {App.Entity.SlaveState} slave
*/
function slaveCustomStatsDatatypeCleanup(slave) {
if (typeof slave.custom.label !== "string") {
slave.custom.label = "";
}
if (typeof slave.custom.desc !== "string") {
slave.custom.desc = "";
}
if (typeof slave.custom.title !== "string") {
slave.custom.title = "";
}
if (typeof slave.custom.titleLisp !== "string") {
slave.custom.titleLisp = "";
}
if (slave.custom.image !== null) {
if (typeof slave.custom.image.filename !== "string") {
slave.custom.image = null;
}
}
}
/**
* @param {App.Entity.SlaveState} slave
*/
function slaveMiscellaneousDatatypeCleanup(slave) {
slave.weekAcquired = Math.max(+slave.weekAcquired, 0) || 0;
slave.newGamePlus = Math.clamp(+slave.newGamePlus, 0, 1) || 0;
slave.prestige = Math.clamp(+slave.prestige, 0, 3) || 0;
slave.devotion = Math.clamp(+slave.devotion, -100, 100) || 0;
slave.oldDevotion = Math.clamp(+slave.oldDevotion, -100, 100) || 0;
slave.trust = Math.clamp(+slave.trust, -100, 100) || 0;
slave.oldTrust = Math.clamp(+slave.oldTrust, -100, 100) || 0;
slave.fuckdoll = Math.clamp(+slave.fuckdoll, 0, 100) || 0;
slave.chem = Math.max(+slave.chem, 0) || 0;
slave.addict = Math.max(+slave.addict, 0) || 0;
slave.intelligence = Math.clamp(+slave.intelligence, -100, 100) || 0;
slave.intelligenceImplant = Math.clamp(+slave.intelligenceImplant, 0, 30) || 0;
slave.premature = Math.clamp(+slave.premature, 0, 1) || 0;
slave.tankBaby = Math.clamp(+slave.tankBaby, 0, 2) || 0;
slave.subTarget = Math.max(+slave.subTarget, 0) || 0;
slave.sentence = Math.max(+slave.sentence, 0) || 0;
slave.training = Math.clamp(+slave.training, 0, 150) || 0;
if (slave.indenture !== 0) {
slave.indenture = Math.max(+slave.indenture, -1) || -1;
}
slave.indentureRestrictions = Math.clamp(+slave.indentureRestrictions, 0, 2) || 0;
slave.hears = Math.clamp(+slave.hears, -2, 0) || 0;
slave.smells = Math.clamp(+slave.smells, -1, 0) || 0;
slave.tastes = Math.clamp(+slave.tastes, -1, 0) || 0;
if (typeof slave.earwear !== "string") {
slave.earwear = "none";
}
slave.heels = Math.clamp(+slave.heels, 0, 1) || 0;
slave.PLimb = Math.clamp(+slave.PLimb, 0, 2) || 0;
if (slave.voice !== 0) {
slave.voice = Math.clamp(+slave.voice, 0, 3) || 1;
}
slave.electrolarynx = Math.clamp(+slave.electrolarynx, 0, 1) || 0;
slave.accent = Math.clamp(+slave.accent, 0, 4) || 0;
if (typeof slave.ballType !== "string") {
slave.ballType = "human";
}
if (typeof slave.eggType !== "string") {
slave.eggType = "human";
}
if (typeof slave.origBodyOwner !== "string") {
slave.origBodyOwner = "";
}
slave.origBodyOwnerID = Math.max(+slave.origBodyOwnerID, 0) || 0;
if (typeof slave.death !== "string") {
slave.death = "";
}
if (slave.slaveCost !== 0) {
slave.slaveCost = Math.min(+slave.slaveCost, 1) || 1;
}
slave.lifetimeCashExpenses = Math.min(+slave.lifetimeCashExpenses, 0) || 0;
slave.lifetimeCashIncome = Math.max(+slave.lifetimeCashIncome, 0) || 0;
slave.lastWeeksCashIncome = Math.max(+slave.lastWeeksCashIncome, 0) || 0;
slave.lifetimeRepExpenses = Math.min(+slave.lifetimeRepExpenses, 0) || 0;
slave.lifetimeRepIncome = Math.max(+slave.lifetimeRepIncome, 0) || 0;
slave.lastWeeksRepExpenses = Math.min(+slave.lastWeeksRepExpenses, 0) || 0;
slave.lastWeeksRepIncome = Math.max(+slave.lastWeeksRepIncome, 0) || 0;
slave.sexAmount = Math.max(+slave.sexAmount, 0) || 0;
slave.sexQuality = Math.max(+slave.sexQuality, 0) || 0;
slave.whoreClass = Math.max(+slave.whoreClass, 0) || 0;
slave.effectiveWhoreClass = Math.max(+slave.effectiveWhoreClass, effectiveWhoreClass(slave)) || 0;
if (!Object.values(Job).includes(slave.assignment)) {
slave.assignment = Job.REST;
}
}
})();
/* Make sure any new PC variables put into use are added to this! */
globalThis.PCDatatypeCleanup = function() {
const PC = V.PC;
if (PC.title !== 0) {
PC.title = Math.clamp(+PC.title, 0, 1) || 1;
}
if (PC.dick !== 0) {
PC.dick = Math.clamp(+PC.dick, 0, 5) || 4;
}
if (PC.vagina !== -1) {
PC.vagina = Math.clamp(+PC.vagina, 0, 5) || 0;
}
if (typeof PC.genes !== "string") {
PC.genes = "XY";
}
if (typeof PC.nationality !== "string") {
PC.nationality = "Stateless";
}
if (typeof PC.race !== "string") {
PC.race = "white";
}
if (typeof PC.skin !== "string") {
PC.skin = "light";
}
if (typeof PC.markings !== "string") {
PC.markings = "none";
}
if (typeof PC.hColor !== "string") {
PC.hColor = "blonde";
}
if (typeof PC.eye.origColor !== "string") {
PC.eye.origColor = "blue";
}
PC.belly = Math.max(+PC.belly, 0) || 0;
PC.fertPeak = Math.clamp(+PC.fertPeak, 0, 4) || 0;
PC.pregMood = Math.clamp(+PC.pregMood, 0, 2) || 0;
PC.boobs = Math.clamp(+PC.boobs, 100, 1500) || 100;
PC.boobsImplant = Math.clamp(+PC.boobsImplant, 0, 1000) || 0;
PC.butt = Math.clamp(+PC.butt, 0, 5) || 2;
PC.buttImplant = Math.clamp(+PC.buttImplant, 0, 5) || 0;
PC.balls = Math.clamp(+PC.balls, 0, 100) || 0;
PC.ballsImplant = Math.clamp(+PC.ballsImplant, 0, 100) || 0;
PC.prostate = Math.clamp(+PC.prostate, 0, 1) || 0;
PC.degeneracy = Math.max(+PC.degeneracy, 0) || 0;
PC.birthWeek = Math.clamp(+PC.birthWeek, 0, 51) || 0;
if (PC.sexualEnergy !== 0) {
PC.sexualEnergy = +PC.sexualEnergy || 4;
}
if (typeof PC.refreshment !== "string") {
PC.refreshment = "cigar";
}
if (!(V.ver.startsWith("0.10"))) {
if (V.PC.refreshment === "cigar") {
V.PC.refreshmentType = 0;
} else {
V.PC.refreshmentType = 1;
}
}
PC.refreshmentType = Math.clamp(+PC.refreshmentType, 0, 6) || 0;
PC.skill.trading = Math.clamp(+PC.skill.trading, -100, 100) || 0;
PC.skill.warfare = Math.clamp(+PC.skill.warfare, -100, 100) || 0;
PC.skill.slaving = Math.clamp(+PC.skill.slaving, -100, 100) || 0;
PC.skill.engineering = Math.clamp(+PC.skill.engineering, -100, 100) || 0;
PC.skill.medicine = Math.clamp(+PC.skill.medicine, -100, 100) || 0;
PC.skill.hacking = Math.clamp(+PC.skill.hacking, -100, 100) || 0;
PC.skill.cumTap = Math.max(+PC.skill.cumTap, 0) || 0;
PC.mother = +PC.mother || 0;
PC.father = +PC.father || 0;
PC.labor = Math.clamp(+PC.labor, 0, 1) || 0;
PC.counter.birthsTotal = Math.max(+PC.counter.birthsTotal, 0) || 0;
PC.counter.birthElite = Math.max(+PC.counter.birthElite, 0) || 0;
PC.counter.birthMaster = Math.max(+PC.counter.birthMaster, 0) || 0;
PC.counter.birthDegenerate = Math.max(+PC.counter.birthDegenerate, 0) || 0;
PC.counter.birthClient = Math.max(+PC.counter.birthClient, 0) || 0;
PC.counter.birthOther = Math.max(+PC.counter.birthOther, 0) || 0;
PC.counter.birthArcOwner = Math.max(+PC.counter.birthArcOwner, 0) || 0;
PC.counter.birthCitizen = Math.max(+PC.counter.birthCitizen, 0) || 0;
PC.counter.birthSelf = Math.max(+PC.counter.birthSelf, 0) || 0;
PC.counter.birthLab = Math.max(+PC.counter.birthLab, 0) || 0;
PC.counter.birthFutaSis = Math.max(+PC.counter.birthFutaSis, 0) || 0;
PC.counter.slavesFathered = Math.max(+PC.counter.slavesFathered, 0) || 0;
PC.counter.slavesKnockedUp = Math.max(+PC.counter.slavesKnockedUp, 0) || 0;
PC.intelligence = 100;
PC.face = 100;
PC.actualAge = Math.clamp(+PC.actualAge, 14, 80) || 35;
PC.physicalAge = Math.clamp(+PC.physicalAge, 14, 80) || PC.actualAge;
PC.visualAge = Math.clamp(+PC.visualAge, 14, 80) || PC.actualAge;
PC.ovaryAge = Math.clamp(+PC.ovaryAge, 14, 80) || PC.physicalAge;
if (V.playerAging !== 0) {
V.playerAging = Math.clamp(+V.playerAging, 0, 2) || 2;
}
PC.newVag = Math.clamp(+PC.newVag, 0, 1) || 0;
PC.fertDrugs = Math.clamp(+PC.fertDrugs, 0, 1) || 0;
PC.forcedFertDrugs = Math.max(+PC.forcedFertDrugs, 0) || 0;
PC.staminaPills = Math.clamp(+PC.staminaPills, 0, 1) || 0;
PC.storedCum = Math.max(+PC.storedCum, 0) || 0;
PC.mpreg = 0; /* So knockMeUp() may be used with the PC */
PC.lactation = Math.max(+PC.lactation, 0) || 0;
PC.lactationDuration = Math.max(+PC.lactationDuration, 0) || 0;
PC.muscles = Math.clamp(+PC.muscles, -100, 100) || 50;
PC.hLength = Math.clamp(+PC.hLength, 0, 150) || 2;
PC.voice = Math.clamp(+PC.voice, 1, 3) || 1;
if (typeof PC.health === "number") {
const condition = PC.health;
PC.health = {};
PC.health.condition = condition;
}
PC.health.condition = Math.clamp(PC.health.condition, -100, 100) || 0;
if (PC.majorInjury !== undefined) {
if (PC.majorInjury > 0) {
PC.health.shortDamage = Math.max(PC.majorInjury * 20, 30);
} else {
PC.health.shortDamage = 0;
}
delete PC.majorInjury;
} else {
PC.health.shortDamage = Math.max(+PC.health.shortDamage, 0) || 0;
}
PC.health.longDamage = Math.max(+PC.health.longDamage, 0) || 0;
PC.health.illness = Math.max(+PC.health.illness, 0) || 0;
PC.health.tired = Math.clamp(+PC.health.tired, 0, 100) || 0;
PC.health.health = Math.clamp(PC.health.condition - PC.health.shortDamage - PC.health.longDamage, -100, 100) || 0;
if (typeof PC.rules.living !== "string") {
PC.rules.living = "normal";
}
if (typeof PC.rules.lactation !== "string") {
PC.rules.lactation = "none";
}
if (typeof PC.rules.rest !== "string") {
PC.rules.rest = "permissive";
}
App.Entity.Utils.migratePronouns(PC);
generatePlayerPronouns(PC);
if (PC.age !== undefined) {
delete PC.age;
}
if (PC.indenture !== undefined) {
delete PC.indenture;
}
if (PC.indentureRestrictions !== undefined) {
delete PC.indentureRestrictions;
}
if (PC.boobsImplant > 0) {
PC.boobsImplantType = "normal";
} else {
PC.boobsImplantType = "none";
}
if (PC.buttImplant > 0) {
PC.buttImplantType = "normal";
} else {
PC.buttImplantType = "none";
}
if (V.PC.customTitle === "") {
V.PC.customTitle = undefined, V.PC.customTitleLisp = undefined;
}
if (typeof V.PC.counter.oral === "undefined") {
V.PC.counter.oral = 0;
}
if (typeof V.PC.counter.vaginal === "undefined") {
V.PC.counter.vaginal = 0;
}
if (typeof V.PC.counter.anal === "undefined") {
V.PC.counter.anal = 0;
}
if (typeof V.PC.counter.mammary === "undefined") {
V.PC.counter.mammary = 0;
}
if (typeof V.PC.counter.penetrative === "undefined") {
V.PC.counter.penetrative = 0;
}
WombInit(V.PC);
if (typeof V.PC.ID === "undefined") {
V.PC.ID = -1;
}
/* None of these are in use */
PC.bellyPreg = PC.belly;
PC.ageImplant = 0;
PC.voiceImplant = 0;
PC.accent = 0;
};
globalThis.EconomyDatatypeCleanup = function() {
V.arcologies[0].prosperity = Math.clamp(+V.arcologies[0].prosperity, 1, V.AProsperityCap) || 1;
V.AProsperityCap = Math.max(+V.AProsperityCap, 0) || 0;
V.economy = Math.max(+V.economy, 20) || 100;
if (V.economy === 0.5) {
V.economy = 200;
} else if (V.economy === 1) {
V.economy = 100;
} else if (V.economy === 1.5) {
V.economy = 67;
}
V.difficultySwitch = Math.clamp(+V.difficultySwitch, 0, 1) || 0;
if (V.baseDifficulty) {
V.baseDifficulty = Math.clamp(+V.baseDifficulty, 1, 5) || 3;
} else if (V.economy > 125) {
V.baseDifficulty = 1;
} else if (V.economy > 100) {
V.baseDifficulty = 2;
} else if (V.economy > 80) {
V.baseDifficulty = 3;
} else if (V.economy > 67) {
V.baseDifficulty = 4;
} else {
V.baseDifficulty = 5;
}
V.localEcon = Math.max(+V.localEcon, 20) || V.economy;
V.econRate = Math.clamp(+V.econRate, 1, 4) || 2;
V.slaveCostFactor = Math.max(+V.slaveCostFactor, 0) || 1;
if (V.menialSupplyFactor !== 0) {
V.menialSupplyFactor = Math.clamp(+V.menialSupplyFactor, -50000, 50000) || (1 - V.slaveCostFactor) * 400 * 1000 * 0.5; /* (1 - slaveCostFactor) * price elasticity * base price * 0.5 */
}
if (V.menialDemandFactor !== 0) {
V.menialDemandFactor = Math.clamp(+V.menialDemandFactor, -50000, 50000) || -V.menialSupplyFactor;
}
V.slaveCostRandom = Math.clamp(+V.slaveCostRandom, -3, 3) || 0;
V.demandTimer = Math.max(+V.demandTimer, 0) || 0;
V.elapsedDemandTimer = Math.max(+V.elapsedDemandTimer, 0) || 0;
V.supplyTimer = Math.max(+V.supplyTimer, 0) || 0;
V.elapsedSupplyTimer = Math.max(+V.elapsedSupplyTimer, 0) || 0;
V.deltaSupply = Math.clamp(+V.deltaSupply, -6500, 6500) || 0;
V.deltaDemand = Math.clamp(+V.deltaDemand, -6500, 6500) || 0;
V.deltaSupplyOld = Math.clamp(+V.deltaSupply, -6500, 6500) || 0;
V.deltaDemandOld = Math.clamp(+V.deltaDemand, -6500, 6500) || 0;
V.sexSubsidies.lowerClass = Math.clamp(+V.sexSubsidies.lowerClass, 0, 4) || 0;
V.sexSubsidies.middleClass = Math.clamp(+V.sexSubsidies.middleClass, 0, 4) || 0;
V.sexSubsidies.upperClass = Math.clamp(+V.sexSubsidies.upperClass, 0, 4) || 0;
V.sexSubsidies.topClass = Math.clamp(+V.sexSubsidies.topClass, 0, 4) || 0;
V.sexSupplyBarriers.lowerClass = Math.clamp(+V.sexSupplyBarriers.lowerClass, 0, 4) || 0;
V.sexSupplyBarriers.middleClass = Math.clamp(+V.sexSupplyBarriers.middleClass, 0, 4) || 0;
V.sexSupplyBarriers.upperClass = Math.clamp(+V.sexSupplyBarriers.upperClass, 0, 4) || 0;
V.sexSupplyBarriers.topClass = Math.clamp(+V.sexSupplyBarriers.topClass, 0, 4) || 0;
V.NPCSexSupply.lowerClass = Math.max(+V.NPCSexSupply.lowerClass, 500) || 3000;
V.NPCSexSupply.middleClass = Math.max(+V.NPCSexSupply.middleClass, 500) || 3000;
V.NPCSexSupply.upperClass = Math.max(+V.NPCSexSupply.upperClass, 500) || 3000;
V.NPCSexSupply.topClass = Math.max(+V.NPCSexSupply.topClass, 500) || 3000;
V.rentDefaults.lowerClass = Math.max(+V.rentDefaults.lowerClass, 0) || 20; /* nowhere modified */
V.rentDefaults.middleClass = Math.max(+V.rentDefaults.middleClass, 0) || 50; /* nowhere modified */
V.rentDefaults.upperClass = Math.max(+V.rentDefaults.upperClass, 0) || 180; /* nowhere modified */
V.rentDefaults.topClass = Math.max(+V.rentDefaults.topClass, 0) || 650; /* nowhere modified */
if (!V.whoreBudget) {
V.whoreBudget = {};
}
if (V.whoreBudget.lowerClass) {
V.whoreBudget.lowerClass = Math.max(+V.whoreBudget.lowerClass, 8) || 10;
} else {
V.whoreBudget.lowerClass = (0.8 + (V.rent.lowerClass / V.rentDefaults.lowerClass) / 5) * 7;
}
if (V.whoreBudget.middleClass) {
V.whoreBudget.middleClass = Math.max(+V.whoreBudget.middleClass, 40) || 50;
} else {
V.whoreBudget.middleClass = (0.8 + (V.rent.middleClass / V.rentDefaults.middleClass) / 5) * 40;
}
if (V.whoreBudget.upperClass) {
V.whoreBudget.upperClass = Math.max(+V.whoreBudget.upperClass, 200) || 250;
} else {
V.whoreBudget.upperClass = (0.8 + (V.rent.upperClass / V.rentDefaults.upperClass) / 5) * 200;
}
if (V.whoreBudget.topClass) {
V.whoreBudget.topClass = Math.max(+V.whoreBudget.topClass, 1200) || 1500;
} else {
V.whoreBudget.topClass = (0.8 + (V.rent.topClass / V.rentDefaults.topClass) / 5) * 1500;
}
if (!V.NPCMarketShare) {
V.NPCMarketShare = {};
}
// fixing potential massive oversupply
if (V.NPCSexSupply.lowerClass > V.lowerClass * V.whoreBudget.lowerClass) {
V.NPCSexSupply.lowerClass = V.lowerClass * V.whoreBudget.lowerClass;
}
V.NPCMarketShare.lowerClass = Math.clamp(+V.NPCMarketShare.lowerClass, 0, 1000) || 0;
V.NPCMarketShare.middleClass = Math.clamp(+V.NPCMarketShare.middleClass, 0, 1000) || 0;
V.NPCMarketShare.upperClass = Math.clamp(+V.NPCMarketShare.upperClass, 0, 1000) || 0;
V.NPCMarketShare.topClass = Math.clamp(+V.NPCMarketShare.topClass, 0, 1000) || 0;
V.econWeatherDamage = Math.max(+V.econWeatherDamage, 0) || 0;
V.disasterResponse = Math.clamp(+V.disasterResponse, 0, 2) || 0;
V.antiWeatherFreeze = Math.clamp(+V.antiWeatherFreeze, 0, 2) || 0;
V.GDP = Math.max(+V.GDP, 1) || 278.6;
V.NPCSlaves = Math.max(+V.NPCSlaves, 0) || 0;
V.visitors = Math.max(+V.visitors, 0) || 0;
V.LSCBase = Math.max(+V.LSCBase, 0) || 800; /* nowhere modified */
V.rentEffectL = Math.max(+V.rentEffectL, 0) || 1;
if (V.lowerClass !== 0) {
V.lowerClass = Math.max(+V.lowerClass, 0) || 3120;
}
V.MCBase = Math.max(+V.MCBase, 0) || 200; /* nowhere modified */
V.rentEffectM = Math.max(+V.rentEffectM, 0) || 1;
if (V.middleClass !== 0) {
V.middleClass = Math.max(+V.middleClass, 0) || 890;
}
V.UCBase = Math.max(+V.UCBase, 0) || 40; /* nowhere modified */
V.rentEffectU = Math.max(+V.rentEffectU, 0) || 1;
if (V.upperClass !== 0) {
V.upperClass = Math.max(+V.upperClass, 0) || 200;
}
V.TCBase = Math.max(+V.TCBase, 0) || 20; /* nowhere modified */
V.rentEffectT = Math.max(+V.rentEffectT, 0) || 1;
if (V.topClass !== 0) {
V.topClass = Math.max(+V.topClass, 0) || 40;
}
};
globalThis.ArcologyDatatypeCleanup = function() {
V.arcologies[0].ownership = Math.clamp(+V.arcologies[0].ownership, 0, 100) || 0;
V.arcologies[0].minority = Math.clamp(+V.arcologies[0].minority, 0, 100) || 0;
V.menials = Math.max(+V.menials, 0) || 0;
V.fuckdolls = Math.max(+V.fuckdolls, 0) || 0;
V.menialBioreactors = Math.max(+V.menialBioreactors, 0) || 0;
V.ACitizens = Math.max(+V.ACitizens, 0) || 0;
V.ASlaves = Math.max(+V.ASlaves, 0) || V.NPCSlaves + V.menials + V.fuckdolls + V.menialBioreactors;
V.shelterAbuse = Math.max(+V.shelterAbuse, 0) || 0;
if (V.localEcon > 100) {
V.farmyardFoodCost = Math.max(5 / (1 + (Math.trunc(1000-100000/V.localEcon)/10)/100), 3.125);
} else if (V.localEcon === 100) {
V.farmyardFoodCost = 5;
} else {
V.farmyardFoodCost = Math.min(5 * (1 + 1.5 * Math.sqrt(Math.trunc(100000/V.localEcon-1000)/10)/100), 6.5);
}
V.foodCost = Math.trunc(2500 / V.localEcon);
V.drugsCost = Math.trunc(10000 / V.localEcon);
V.rulesCost = Math.trunc(10000 / V.localEcon);
V.modCost = Math.trunc(5000 / V.localEcon);
V.surgeryCost = Math.trunc(30000 / (V.localEcon * (V.PC.career === "medicine" ? 2 : 1)));
V.facilityCost = +V.facilityCost || 100;
for (const school of App.Data.misc.schools.keys()) {
V[school].studentsBought = Math.max(+V[school].studentsBought, 0) || 0;
V[school].schoolProsperity = Math.clamp(+V[school].schoolProsperity, -10, 10) || 0;
}
};
globalThis.FacilityDatatypeCleanup = (function() {
"use strict";
return FacilityDatatypeCleanup;
function replaceSlaveStateWithId(stateVar, idVar) {
idVar = idVar || `${stateVar}ID`;
if (V[stateVar] !== undefined) {
V[idVar] = V[stateVar] === 0 ? 0 : V[stateVar].ID;
}
}
/**
* @param {function(App.Entity.SlaveState):boolean} predicate
* @returns {number} ID of the first matched slave or 0 if no match was found
*/
function findSlaveId(predicate) {
const s = V.slaves.find(predicate);
return s ? s.ID : 0;
}
function FacilityDatatypeCleanup() {
/* common variables */
FutureSocieties.DecorationCleanup();
FacilityNameCleanup();
/* facility specific variables */
BrothelDatatypeCleanup();
DairyDatatypeCleanup();
FarmyardDatatypeCleanup();
ClubDatatypeCleanup();
ServantsQuartersDatatypeCleanup();
SchoolroomDatatypeCleanup();
SpaDatatypeCleanup();
ClinicDatatypeCleanup();
ArcadeDatatypeCleanup();
CellblockDatatypeCleanup();
MasterSuiteDatatypeCleanup();
HeadGirlSuiteDatatypeCleanup();
NurseryDatatypeCleanup();
V.RecruiterID = findSlaveId(s => s.assignment === Job.RECRUITER);
V.BodyguardID = findSlaveId(s => s.assignment === Job.BODYGUARD);
replaceSlaveStateWithId("Lurcher");
replaceSlaveStateWithId("Stud");
}
function FacilityNameCleanup() {
V.arcologies[0].name = V.arcologies[0].name || "Arcology X-4";
V.brothelName = V.brothelName || "the Brothel";
V.dairyName = V.dairyName || "the Dairy";
V.clubName = V.clubName || "the Club";
V.servantsQuartersName = V.servantsQuartersName || "the Servants' Quarters";
V.schoolroomName = V.schoolroomName || "the Schoolroom";
V.spaName = V.spaName || "the Spa";
V.nurseryName = V.nurseryName || "the Nursery";
V.clinicName = V.clinicName || "the Clinic";
V.arcadeName = V.arcadeName || "the Arcade";
V.cellblockName = V.cellblockName || "the Cellblock";
V.masterSuiteName = V.masterSuiteName || "the Master Suite";
V.HGSuiteName = V.HGSuiteName || "the Head Girl Suite";
V.incubatorName = V.incubatorName || "the Incubator";
V.farmyardName = V.farmyardName || "the Farmyard";
}
function BrothelDatatypeCleanup() {
/* ads */
V.brothelAdsSpending = Math.clamp(+V.brothelAdsSpending, 0, 5000) || 0;
V.brothelAdsStacked = Math.clamp(+V.brothelAdsStacked, -1, 1) || 0;
V.brothelAdsImplanted = Math.clamp(+V.brothelAdsImplanted, -1, 1) || 0;
V.brothelAdsModded = Math.clamp(+V.brothelAdsModded, -1, 1) || 0;
V.brothelAdsPreg = Math.clamp(+V.brothelAdsPreg, -1, 1) || 0;
V.brothelAdsOld = Math.clamp(+V.brothelAdsOld, -3, 1) || 0;
V.brothelAdsXX = Math.clamp(+V.brothelAdsXX, -1, 1) || 0;
/* upgrades */
V.brothel = Math.max(+V.brothel, 0) || 0;
V.brothelUpgradeDrugs = Math.clamp(+V.brothelUpgradeDrugs, 0, 2) || 0;
V.brothelBoost.selected = Math.clamp(+V.brothelBoost.selected, 0, 10) || 0;
if (typeof V.brothelBoost.eligable !== "undefined") { // FFS, spell it right...
V.brothelBoost.eligible = V.brothelBoost.eligable;
delete V.brothelBoost.eligable;
}
V.brothelBoost.eligible = Math.clamp(+V.brothelBoost.eligible, 0, 10) || 0;
/* madam */
V.MadamID = findSlaveId(s => s.assignment === Job.MADAM);
V.MadamIgnoresFlaws = Math.clamp(+V.MadamIgnoresFlaws, 0, 1) || 0;
}
function DairyDatatypeCleanup() {
/* upgrades */
V.dairy = Math.max(+V.dairy, 0) || 0;
V.dairyFeedersUpgrade = Math.clamp(+V.dairyFeedersUpgrade, 0, 1) || 0;
V.dairyFeedersSetting = Math.clamp(+V.dairyFeedersSetting, 0, 2) || 0;
V.dairyPregUpgrade = Math.clamp(+V.dairyPregUpgrade, 0, 1) || 0;
V.dairyPregSetting = Math.clamp(+V.dairyPregSetting, 0, 3) || 0;
V.dairyStimulatorsUpgrade = Math.clamp(+V.dairyStimulatorsUpgrade, 0, 1) || 0;
V.dairyStimulatorsSetting = Math.clamp(+V.dairyStimulatorsSetting, 0, 2) || 0;
V.dairyRestraintsUpgrade = Math.clamp(+V.dairyRestraintsUpgrade, 0, 1) || 0;
V.dairyRestraintsSetting = Math.clamp(+V.dairyRestraintsSetting, 0, 2) || 0;
V.dairySlimMaintainUpgrade = Math.clamp(+V.dairySlimMaintainUpgrade, 0, 1) || 0;
V.dairySlimMaintain = Math.clamp(+V.dairySlimMaintain, 0, 1) || 0;
V.dairyPrepUpgrade = Math.clamp(+V.dairyPrepUpgrade, 0, 1) || 0;
V.dairyHyperPregRemodel = Math.clamp(+V.dairyHyperPregRemodel, 0, 1) || 0;
V.dairyImplantsSetting = Math.clamp(+V.dairyImplantsSetting, 0, 3) || 0;
V.dairyWeightSetting = Math.clamp(+V.dairyWeightSetting, -1, 4) || 0;
V.dairyHormonesSetting = Math.clamp(+V.dairyHormonesSetting, -1, 2) || 0;
/* bioreactors */
V.bioreactorsAnnounced = Math.clamp(+V.bioreactorsAnnounced, 0, 1) || 0;
V.createBioreactors = Math.clamp(+V.createBioreactors, 0, 1) || 0;
V.dairyUpgradeMenials = Math.clamp(+V.dairyUpgradeMenials, 0, 1) || 0;
V.bioreactorsHerm = Math.max(+V.bioreactorsHerm, 0) || 0;
V.bioreactorsXX = Math.max(+V.bioreactorsXX, 0) || 0;
V.bioreactorsXY = Math.max(+V.bioreactorsXY, 0) || 0;
V.bioreactorsBarren = Math.max(+V.bioreactorsBarren, 0) || 0;
/* milkmaid */
V.MilkmaidID = findSlaveId(s => s.assignment === Job.MILKMAID);
V.milkmaidImpregnates = Math.clamp(+V.milkmaidImpregnates, 0, 1) || 0;
}
function FarmyardDatatypeCleanup() {
V.farmyard = Math.max(+V.farmyard, 0) || 0;
V.farmyardBreeding = Math.clamp(+V.farmyardBreeding, 0, 1) || 0;
V.farmyardShows = Math.clamp(+V.farmyardShows, 0, 1) || 0;
/* farmer */
V.FarmerID = findSlaveId(s => s.assignment === Job.FARMER);
}
function ClubDatatypeCleanup() {
/* ads */
V.clubAdsSpending = Math.clamp(+V.clubAdsSpending, 0, 5000) || 0;
V.clubAdsStacked = Math.clamp(+V.clubAdsStacked, -1, 1) || 0;
V.clubAdsImplanted = Math.clamp(+V.clubAdsImplanted, -1, 1) || 0;
V.clubAdsModded = Math.clamp(+V.clubAdsModded, -1, 1) || 0;
V.clubAdsPreg = Math.clamp(+V.clubAdsPreg, -1, 1) || 0;
V.clubAdsOld = Math.clamp(+V.clubAdsOld, -3, 1) || 0;
V.clubAdsXX = Math.clamp(+V.clubAdsXX, -1, 1) || 0;
/* upgrades */
V.club = Math.max(+V.club, 0) || 0;
V.clubUpgradePDAs = Math.clamp(+V.clubUpgradePDAs, 0, 1) || 0;
/* madam */
V.djID = findSlaveId(s => s.assignment === Job.DJ);
V.DJignoresFlaws = Math.clamp(+V.DJignoresFlaws, 0, 1) || 0;
}
function ServantsQuartersDatatypeCleanup() {
/* upgrades */
V.servantsQuarters = Math.max(+V.servantsQuarters, 0) || 0;
V.servantsQuartersUpgradeMonitoring = Math.clamp(+V.servantsQuartersUpgradeMonitoring, 0, 1) || 0;
/* stewardess */
V.StewardessID = findSlaveId(s => s.assignment === Job.STEWARD);
V.stewardessImpregnates = Math.clamp(+V.stewardessImpregnates, 0, 1) || 0;
}
function SchoolroomDatatypeCleanup() {
/* upgrades */
V.schoolroom = Math.max(+V.schoolroom, 0) || 0;
V.schoolroomUpgradeSkills = Math.clamp(+V.schoolroomUpgradeSkills, 0, 1) || 0;
V.schoolroomUpgradeLanguage = Math.clamp(+V.schoolroomUpgradeLanguage, 0, 1) || 0;
V.schoolroomUpgradeRemedial = Math.clamp(+V.schoolroomUpgradeRemedial, 0, 1) || 0;
/* schoolteacher */
V.SchoolteacherID = findSlaveId(s => s.assignment === Job.TEACHER);
}
function SpaDatatypeCleanup() {
/* upgrades */
V.spa = Math.max(+V.spa, 0) || 0;
V.spaUpgrade = Math.clamp(+V.spaUpgrade, 0, 1) || 0;
/* attendant */
V.AttendantID = findSlaveId(s => s.assignment === Job.ATTENDANT);
V.spaFix = Math.clamp(+V.spaFix, 0, 2) || 0;
}
function ClinicDatatypeCleanup() {
/* upgrades */
V.clinic = Math.max(+V.clinic, 0) || 0;
V.clinicUpgradeScanner = Math.clamp(+V.clinicUpgradeScanner, 0, 1) || 0;
V.clinicUpgradeFilters = Math.clamp(+V.clinicUpgradeFilters, 0, 1) || 0;
V.clinicUpgradePurge = Math.clamp(+V.clinicUpgradePurge, 0, 3) || 0;
V.clinicObservePregnancy = Math.clamp(+V.clinicObservePregnancy, 0, 1) || 1;
V.clinicInflateBelly = Math.clamp(+V.clinicInflateBelly, 0, 1) || 0;
V.clinicSpeedGestation = Math.clamp(+V.clinicSpeedGestation, 0, 1) || 0;
/* nurse */
V.NurseID = findSlaveId(s => s.assignment === Job.NURSE);
}
function ArcadeDatatypeCleanup() {
/* upgrades */
V.arcade = Math.max(+V.arcade, 0) || 0;
V.arcadeUpgradeInjectors = Math.clamp(+V.arcadeUpgradeInjectors, 0, 1) || 0;
V.arcadeUpgradeCollectors = Math.clamp(+V.arcadeUpgradeCollectors, 0, 1.5) || 0;
V.arcadeUpgradeFuckdolls = Math.clamp(+V.arcadeUpgradeFuckdolls, 0, 2) || 0;
V.arcadeUpgradeHealth = Math.clamp(+V.arcadeUpgradeHealth, -1, 2) || 0;
}
function CellblockDatatypeCleanup() {
/* upgrades */
V.cellblock = Math.max(+V.cellblock, 0) || 0;
V.cellblockUpgrade = Math.clamp(+V.cellblockUpgrade, 0, 1) || 0;
/* wardeness */
V.WardenessID = findSlaveId(s => s.assignment === Job.WARDEN);
V.cellblockWardenCumsInside = Math.clamp(+V.cellblockWardenCumsInside, 0, 1) || 0;
}
function MasterSuiteDatatypeCleanup() {
/* upgrades */
V.masterSuite = Math.max(+V.masterSuite, 0) || 0;
V.masterSuiteUpgradeLuxury = Math.clamp(+V.masterSuiteUpgradeLuxury, 0, 2) || 0;
V.masterSuiteUpgradePregnancy = Math.clamp(+V.masterSuiteUpgradePregnancy, 0, 1) || 0;
V.masterSuitePregnancyFertilitySupplements = Math.clamp(+V.masterSuitePregnancyFertilitySupplements, 0, 1) || 0;
V.masterSuitePregnancySlaveLuxuries = Math.clamp(+V.masterSuitePregnancySlaveLuxuries, 0, 1) || 0;
V.masterSuitePregnancyFertilityDrugs = Math.clamp(+V.masterSuitePregnancyFertilityDrugs, 0, 1) || 0;
V.masterSuiteHyperPregnancy = Math.clamp(+V.masterSuiteHyperPregnancy, 0, 1) || 0;
/* concubine */
V.ConcubineID = findSlaveId(s => s.assignment === Job.CONCUBINE);
}
function HeadGirlSuiteDatatypeCleanup() {
/* headgirl */
V.HeadGirlID = findSlaveId(s => s.assignment === Job.HEADGIRL);
V.HGSuiteEquality = Math.clamp(+V.HGSuiteEquality, 0, 1) || 0;
if (V.HGSuiteSurgery !== 0) {
V.HGSuiteSurgery = 1;
}
if (V.HGSuiteDrugs !== 0) {
V.HGSuiteDrugs = 1;
}
if (V.HGSuiteHormones !== 0) {
V.HGSuiteHormones = 1;
}
}
function NurseryDatatypeCleanup() {
/* matron */
V.MatronID = findSlaveId(s => s.assignment === Job.MATRON);
}
})();
/**
* Cleans up a slave record assuming it is used for the gene pool.
*
* It removes all the unneeded properties for the gene pool attributes.
* @todo remove after refactoring the slave state class
*/
App.Entity.Utils.GenePoolRecordCleanup = (function() {
"use strict";
return GenePoolRecordCleanup;
/**
* @param {App.Entity.SlaveState} slave
*/
function GenePoolRecordCleanup(slave) {
App.Entity.Utils.SlaveDataSchemeCleanup(slave);
// the following attributes are unneeded for gene pool records
[
"counter", "custom", "porn",
"prestige", "prestigeDesc",
"subTarget", "relationship", "relationshipTarget", "rivalry", "rivalryTarget",
"weekAcquired", "PCExclude", "HGExclude", "StudExclude",
"daughters", "sisters", "origin",
"canRecruit",
"choosesOwnAssignment", "assignment",
"sentence", "training", "toyHole",
"indenture", "indentureRestrictions",
"minorInjury",
"oldTrust", "oldDevotion",
"eyewear", "earwear",
"preg", "pregSource", "pregType", "pregAdaptation", "labor",
"bellyAccessory",
"breedingMark",
"clitSetting",
"rules",
"useRulesAssistant",
"diet", "dietCum", "dietMilk",
"drugs", "curatives", "aphrodisiacs",
"choosesOwnClothes", "clothes", "collar", "mouthAccessory", "faceAccessory", "shoes",
"makeup", "nails",
"vaginalAccessory", "vaginalAttachment", "dickAccessory", "nipplesAccessory", "armAccessory", "legAccessory",
"buttplug", "buttplugAttachment",
"fetishKnown", "attrKnown",
"rudeTitle",
"currentRules",
"induce",
"induceLactation", "boobsMilk", "lactation", "lactationAdaptation", "lactationDuration",
"mpreg",
"inflation", "inflationType", "inflationMethod", "milkSource", "cumSource",
"burst",
"pregKnown", "pregWeek",
"belly", "bellyPreg", "bellyFluid", "bellyImplant", "bellySag", "bellySagPreg", "bellyPain",
"cervixImplant",
"scar",
"choosesOwnChastity",
"pregControl",
"death",
"onDiet", "weightDirection",
"prematureBirth",
"slaveCost",
"NCSyouthening",
"lastWeeksCashIncome", "lastWeeksRepIncome", "lastWeeksRepExpenses",
"lifetimeCashIncome", "lifetimeCashExpenses", "lifetimeRepIncome", "lifetimeRepExpenses"
].forEach((s) => delete slave[s]);
}
})();
App.Entity.Utils.RARuleDatatypeCleanup = function() {
"use strict";
return ruleCleanup;
/** @param {FC.RA.Rule} rule */
function ruleCleanup(rule) {
// ensure rule has all required properties
let newRule = App.RA.ruleDeepAssign(emptyDefaultRule(), rule);
cleanupConditions(newRule.condition);
cleanupSetters(newRule.set);
return newRule;
}
/** @param {FC.RA.RuleConditions} cond */
function cleanupConditions(cond) {
if (cond.excludeSpecialSlaves !== undefined) {
if (cond.excludeSpecialSlaves) {
cond.specialSlaves = 0;
} else {
cond.specialSlaves = -1;
}
delete cond.excludeSpecialSlaves;
}
if (cond.specialSlaves !== undefined) {
const f = App.Data.Facilities;
// facilities with heads
/** @type {FC.Data.FacilityDesc[]} */
const fwh = [
f.brothel,
f.cellblock,
f.clinic,
f.club,
f.dairy,
f.farmyard,
f.headGirlSuite,
f.masterSuite,
f.nursery,
f.schoolroom,
f.servantsQuarters,
f.spa
];
// migrate .specialSlaves to assignments list
if (cond.specialSlaves === -1) { // include: duplicate regular assignments
for (const f of fwh) {
if (cond.assignment.includes(f.jobs[f.defaultJob].assignment)) {
cond.assignment.push(f.manager.assignment);
}
}
} else if (cond.specialSlaves === 1) { // only: replace regular assignments
let newAssignments = [];
for (const a of cond.assignment) {
let found = false;
for (const f of fwh) {
if (a === f.jobs[f.defaultJob].assignment) {
newAssignments.push(f.manager.assignment);
found = true;
break;
}
}
if (!found) {
newAssignments.push(a);
}
}
// now if newAssignments is empty, we add all facility heads and special slaves
if (newAssignments.length === 0) {
fwh.forEach(f => newAssignments.push(f.manager.assignment));
newAssignments.push(Job.RECRUITER);
newAssignments.push(Job.BODYGUARD);
}
cond.assignment = newAssignments;
}
delete cond.specialSlaves;
}
}
/** @param {object} o */
function replaceDefaultValues(o) {
for (const [k, v] of Object.entries(o)) {
if (v === "no default setting" || v === "no default change" || Number.isNaN(v) || v === undefined) {
o[k] = null;
} else if (v !== null && typeof v === 'object') {
replaceDefaultValues(v);
}
}
}
/** @param {FC.RA.RuleSetters} set */
function settersSchemeCleanup(set) {
/**
* Moves properties of the given object, whose names start with prefix to the subject newProp
* @param {object} obj
* @param {string} prefix
* @param {string} newProp
*/
function moveProperties(obj, prefix, newProp) {
if (!obj.hasOwnProperty(newProp)) {
obj[newProp] = {};
}
let dest = obj[newProp];
for (const p of Object.keys(obj)) {
if (p.startsWith(prefix)) {
dest[p.slice(prefix.length)] = obj[p];
delete obj[p];
}
}
}
moveProperties(set, 'growth_', 'growth');
moveProperties(set, 'surgery_', 'surgery');
}
/**
* @param {FC.RA.RuleSetters} set
*/
function correctStringValues(set) {
for (const [k, v] of Object.entries(set)) {
if (typeof v !== 'string') {
continue;
}
if (["XX", "XY", "XXY"].includes(v)) {
continue;
}
if (v === "null") {
set[k] = null;
}
if (k === 'assignment' || k === 'clothes' || k === 'label' || k === 'removeLabel' ) {
continue;
}
if (v[0] === undefined) {
continue;
}
if (v[0].toLowerCase() !== v[0]) {
set[k] = v.charAt(0).toLowerCase() + v.substr(1);
}
}
}
/**
* @param {FC.RA.RuleSetters} set
*/
function migrateReleaseRules(set) {
if (typeof set.releaseRules === 'string') {
let newRule = {};
switch (set.releaseRules) {
case "chastity":
newRule.masturbation = 0;
newRule.partner = 0;
newRule.family = 0;
newRule.slaves = 0;
newRule.master = 0;
break;
case "restrictive":
newRule.masturbation = 0;
newRule.partner = 1;
newRule.family = 0;
newRule.slaves = 0;
newRule.master = 1;
break;
case "masturbation":
newRule.masturbation = 1;
newRule.partner = 0;
newRule.family = 0;
newRule.slaves = 0;
newRule.master = 1;
break;
case "sapphic":
newRule.masturbation = 0;
newRule.partner = 1;
newRule.family = 1;
newRule.slaves = 1;
newRule.master = 1;
break;
case "permissive":
newRule.masturbation = 1;
newRule.partner = 1;
newRule.family = 1;
newRule.slaves = 1;
newRule.master = 1;
break;
}
set.releaseRules = newRule;
}
}
/** @param {FC.RA.RuleSetters} set */
function cleanupSetters(set) {
settersSchemeCleanup(set);
migrateReleaseRules(set);
replaceDefaultValues(set);
function transformValues(obj, props, cb) {
props.forEach(p => {
let v = obj[p];
if (v !== null) {
obj[p] = cb(v);
}
});
}
function ensureNumTarget(val) {
switch (typeof val) {
case 'number':
return Number.isNaN(val) ? null : App.RA.makeTarget('==', val);
case 'string':
return App.RA.makeTarget('==', parseInt(val));
case 'object':
if (val.hasOwnProperty('val') && (val.val === null || Number.isNaN(val.val))) {
return null;
}
return val;
default:
return val;
}
}
if (!([true, false, null].includes(set.preg))) {
set.preg = (set.preg === -1);
}
if (set.pornFameSpending === undefined || set.pornFameSpending === -1) {
set.pornFameSpending = null;
}
transformValues(set.growth,
['boobs', 'butt', 'lips', 'dick', 'balls'],
ensureNumTarget
);
transformValues(set, ['muscles'], ensureNumTarget);
transformValues(set.surgery, ['butt', 'boobs', 'lips'], ensureNumTarget);
set.growth.intensity = Math.clamp(+set.growth.intensity, 0, 1) || 0;
correctStringValues(set);
// moving numeric diets to the 'weight' attribute
if (typeof set.diet === 'number') {
set.weight = App.RA.makeRange(set.diet, set.diet);
set.diet = null;
}
// Fix particular rules where a setting might no longer be valid
if (set.drug === "none") {
set.drug = "no drugs";
}
if (set.brandDesign === "") {
set.brandDesign = null;
}
if (set.label === "") {
set.label = null;
}
if (set.removeLabel === "") {
set.removeLabel = null;
}
if (typeof (set.abortion) === "string") {
set.abortion = [set.abortion];
}
switch(set.collar) {
case "porcelain mask":
set.faceAccessory = set.collar;
set.collar = null;
break;
case "bit gag":
case "dildo gag":
case "massive dildo gag":
case "ball gag":
case "ring gag":
set.mouthAccessory = set.collar;
set.collar = null;
break;
}
delete set.eyeColor;
}
}();
App.Entity.Utils.validateRules = function() {
const rules = V.defaultRules;
function testObject(o, path) {
for (const p in o) {
const v = o[p];
if (v === undefined) {
throw `Property ${path}.${p} is undefined`;
}
if (v !== null && typeof v === 'object') {
testObject(v, `${path}.${p}`);
}
}
}
for (const rule of rules) {
try {
testObject(rule.set, "set");
} catch (e) {
// eslint-disable-next-line no-console
console.error(`Error in rule ${rule.name}: ${e}`);
}
}
};
/** @param {object} subject */
App.Entity.Utils.migratePronouns = function(subject) {
if (subject.pronoun === undefined || typeof subject.pronoun === 'number') {
return;
}
switch (subject.pronoun) {
case "she":
subject.pronoun = App.Data.Pronouns.Kind.female;
break;
case "he":
subject.pronoun = App.Data.Pronouns.Kind.male;
break;
case "it":
subject.pronoun = App.Data.Pronouns.Kind.neutral;
break;
default:
throw `Unrecognized custom pronoun "${subject.pronoun}"`;
}
/* eslint-disable dot-notation */
delete subject["possessive"];
delete subject["possessivePronoun"];
delete subject["possessivePronoun"];
delete subject["objectReflexive"];
delete subject["object"];
delete subject["noun"];
/* eslint-enable dot-notation */
};
App.Update.FScheatDatatypeCleanup = function() {
if (V.arcologies[0].FSSupremacist !== "unset") {
V.arcologies[0].FSSupremacist = Number(V.arcologies[0].FSSupremacist) || "unset";
V.arcologies[0].FSSupremacistDecoration = Number(V.arcologies[0].FSSupremacistDecoration) || 0;
V.arcologies[0].FSSupremacistLawME = Number(V.arcologies[0].FSSupremacistLawME) || 0;
}
if (V.arcologies[0].FSSubjugationist !== "unset") {
V.arcologies[0].FSSubjugationist = Number(V.arcologies[0].FSSubjugationist) || "unset";
V.arcologies[0].FSSubjugationistDecoration = Number(V.arcologies[0].FSSubjugationistDecoration) || 0;
V.arcologies[0].FSSubjugationistLawME = Number(V.arcologies[0].FSSubjugationistLawME) || 0;
}
if (V.arcologies[0].FSGenderRadicalist !== "unset") {
V.arcologies[0].FSGenderRadicalist = Number(V.arcologies[0].FSGenderRadicalist) || "unset";
V.arcologies[0].FSGenderRadicalistDecoration = Number(V.arcologies[0].FSGenderRadicalistDecoration) || 0;
V.arcologies[0].FSGenderRadicalistLawBeauty = Number(V.arcologies[0].FSGenderRadicalistLawBeauty) || 0;
V.arcologies[0].FSGenderRadicalistLawFuta = Number(V.arcologies[0].FSGenderRadicalistLawFuta) || 0;
}
if (V.arcologies[0].FSRepopulationFocus !== "unset") {
V.arcologies[0].FSRepopulationFocus = Number(V.arcologies[0].FSRepopulationFocus) || "unset";
V.arcologies[0].FSRepopulationFocusDecoration = Number(V.arcologies[0].FSRepopulationFocusDecoration) || 0;
V.arcologies[0].FSRepopulationFocusSMR = Number(V.arcologies[0].FSRepopulationFocusSMR) || 0;
V.arcologies[0].FSRepopulationFocusLaw = Number(V.arcologies[0].FSRepopulationFocusLaw) || 0;
}
if (V.arcologies[0].FSRestart !== "unset") {
V.arcologies[0].FSRestart = Number(V.arcologies[0].FSRestart) || "unset";
V.arcologies[0].FSRestartDecoration = Number(V.arcologies[0].FSRestartDecoration) || 0;
V.arcologies[0].FSRestartSMR = Number(V.arcologies[0].FSRestartSMR) || 0;
V.arcologies[0].FSRestartLaw = Number(V.arcologies[0].FSRestartLaw) || 0;
}
if (V.arcologies[0].FSHedonisticDecadence !== "unset") {
V.arcologies[0].FSHedonisticDecadence = Number(V.arcologies[0].FSHedonisticDecadence) || "unset";
V.arcologies[0].FSHedonisticDecadenceDecoration = Number(V.arcologies[0].FSHedonisticDecadenceDecoration) || 0;
V.arcologies[0].FSHedonisticDecadenceSMR = Number(V.arcologies[0].FSHedonisticDecadenceSMR) || 0;
V.arcologies[0].FSHedonisticDecadenceLaw = Number(V.arcologies[0].FSHedonisticDecadenceLaw) || 0;
V.arcologies[0].FSHedonisticDecadenceLaw2 = Number(V.arcologies[0].FSHedonisticDecadenceLaw2) || 0;
V.arcologies[0].FSHedonisticDecadenceStrongFat = Number(V.arcologies[0].FSHedonisticDecadenceStrongFat) || 0;
}
if (V.arcologies[0].FSIntellectualDependency !== "unset") {
V.arcologies[0].FSIntellectualDependency = Number(V.arcologies[0].FSIntellectualDependency) || "unset";
V.arcologies[0].FSIntellectualDependencyDecoration = Number(V.arcologies[0].FSIntellectualDependencyDecoration) || 0;
V.arcologies[0].FSIntellectualDependencySMR = Number(V.arcologies[0].FSIntellectualDependencySMR) || 0;
V.arcologies[0].FSIntellectualDependencyLaw = Number(V.arcologies[0].FSIntellectualDependencyLaw) || 0;
V.arcologies[0].FSIntellectualDependencyLawBeauty = Number(V.arcologies[0].FSIntellectualDependencyLawBeauty) || 0;
}
if (V.arcologies[0].FSSlaveProfessionalism !== "unset") {
V.arcologies[0].FSSlaveProfessionalism = Number(V.arcologies[0].FSSlaveProfessionalism) || "unset";
V.arcologies[0].FSSlaveProfessionalismDecoration = Number(V.arcologies[0].FSSlaveProfessionalismDecoration) || 0;
V.arcologies[0].FSSlaveProfessionalismSMR = Number(V.arcologies[0].FSSlaveProfessionalismSMR) || 0;
V.arcologies[0].FSSlaveProfessionalismLaw = Number(V.arcologies[0].FSSlaveProfessionalismLaw) || 0;
}
if (V.arcologies[0].FSPetiteAdmiration !== "unset") {
V.arcologies[0].FSPetiteAdmiration = Number(V.arcologies[0].FSPetiteAdmiration) || "unset";
V.arcologies[0].FSPetiteAdmirationDecoration = Number(V.arcologies[0].FSPetiteAdmirationDecoration) || 0;
V.arcologies[0].FSPetiteAdmirationSMR = Number(V.arcologies[0].FSPetiteAdmirationSMR) || 0;
V.arcologies[0].FSPetiteAdmirationLaw = Number(V.arcologies[0].FSPetiteAdmirationLaw) || 0;
V.arcologies[0].FSPetiteAdmirationLaw2 = Number(V.arcologies[0].FSPetiteAdmirationLaw2) || 0;
}
if (V.arcologies[0].FSStatuesqueGlorification !== "unset") {
V.arcologies[0].FSStatuesqueGlorification = Number(V.arcologies[0].FSStatuesqueGlorification) || "unset";
V.arcologies[0].FSStatuesqueGlorificationDecoration = Number(V.arcologies[0].FSStatuesqueGlorificationDecoration) || 0;
V.arcologies[0].FSStatuesqueGlorificationSMR = Number(V.arcologies[0].FSStatuesqueGlorificationSMR) || 0;
V.arcologies[0].FSStatuesqueGlorificationLaw = Number(V.arcologies[0].FSStatuesqueGlorificationLaw) || 0;
V.arcologies[0].FSStatuesqueGlorificationLaw2 = Number(V.arcologies[0].FSStatuesqueGlorificationLaw2) || 0;
}
if (V.arcologies[0].FSGenderFundamentalist !== "unset") {
V.arcologies[0].FSGenderFundamentalist = Number(V.arcologies[0].FSGenderFundamentalist) || "unset";
V.arcologies[0].FSGenderFundamentalistDecoration = Number(V.arcologies[0].FSGenderFundamentalistDecoration) || 0;
V.arcologies[0].FSGenderFundamentalistLawBeauty = Number(V.arcologies[0].FSGenderFundamentalistLawBeauty) || 0;
V.arcologies[0].FSGenderFundamentalistLawBimbo = Number(V.arcologies[0].FSGenderFundamentalistLawBimbo) || 0;
V.arcologies[0].FSGenderFundamentalistSMR = Number(V.arcologies[0].FSGenderFundamentalistSMR) || 0;
}
if (V.arcologies[0].FSPaternalist !== "unset") {
V.arcologies[0].FSPaternalist = Number(V.arcologies[0].FSPaternalist) || "unset";
V.arcologies[0].FSPaternalistDecoration = Number(V.arcologies[0].FSPaternalistDecoration) || 0;
V.arcologies[0].FSPaternalistLaw = Number(V.arcologies[0].FSPaternalistLaw) || 0;
}
if (V.arcologies[0].FSDegradationist !== "unset") {
V.arcologies[0].FSDegradationist = Number(V.arcologies[0].FSDegradationist) || "unset";
V.arcologies[0].FSDegradationistDecoration = Number(V.arcologies[0].FSDegradationistDecoration) || 0;
V.arcologies[0].FSDegradationistLaw = Number(V.arcologies[0].FSDegradationistLaw) || 0;
}
if (V.arcologies[0].FSBodyPurist !== "unset") {
V.arcologies[0].FSBodyPurist = Number(V.arcologies[0].FSBodyPurist) || "unset";
V.arcologies[0].FSBodyPuristDecoration = Number(V.arcologies[0].FSBodyPuristDecoration) || 0;
V.arcologies[0].FSBodyPuristLaw = Number(V.arcologies[0].FSBodyPuristLaw) || 0;
}
if (V.arcologies[0].FSTransformationFetishist !== "unset") {
V.arcologies[0].FSTransformationFetishist = Number(V.arcologies[0].FSTransformationFetishist) || "unset";
V.arcologies[0].FSTransformationFetishistDecoration = Number(V.arcologies[0].FSTransformationFetishistDecoration) || 0;
V.arcologies[0].FSTransformationFetishistSMR = Number(V.arcologies[0].FSTransformationFetishistSMR) || 0;
}
if (V.arcologies[0].FSYouthPreferentialist !== "unset") {
V.arcologies[0].FSYouthPreferentialist = Number(V.arcologies[0].FSYouthPreferentialist) || "unset";
V.arcologies[0].FSYouthPreferentialistDecoration = Number(V.arcologies[0].FSYouthPreferentialistDecoration) || 0;
V.arcologies[0].FSYouthPreferentialistLaw = Number(V.arcologies[0].FSYouthPreferentialistLaw) || 0;
}
if (V.arcologies[0].FSMaturityPreferentialist !== "unset") {
V.arcologies[0].FSMaturityPreferentialist = Number(V.arcologies[0].FSMaturityPreferentialist) || "unset";
V.arcologies[0].FSMaturityPreferentialistDecoration = Number(V.arcologies[0].FSMaturityPreferentialistDecoration) || 0;
V.arcologies[0].FSMaturityPreferentialistLaw = Number(V.arcologies[0].FSMaturityPreferentialistLaw) || 0;
}
if (V.arcologies[0].FSSlimnessEnthusiast !== "unset") {
V.arcologies[0].FSSlimnessEnthusiast = Number(V.arcologies[0].FSSlimnessEnthusiast) || "unset";
V.arcologies[0].FSSlimnessEnthusiastDecoration = Number(V.arcologies[0].FSSlimnessEnthusiastDecoration) || 0;
V.arcologies[0].FSSlimnessEnthusiastSMR = Number(V.arcologies[0].FSSlimnessEnthusiastSMR) || 0;
V.arcologies[0].FSSlimnessEnthusiastLaw = Number(V.arcologies[0].FSSlimnessEnthusiastLaw) || 0;
}
if (V.arcologies[0].FSAssetExpansionist !== "unset") {
V.arcologies[0].FSAssetExpansionist = Number(V.arcologies[0].FSAssetExpansionist) || "unset";
V.arcologies[0].FSAssetExpansionistDecoration = Number(V.arcologies[0].FSAssetExpansionistDecoration) || 0;
V.arcologies[0].FSAssetExpansionistSMR = Number(V.arcologies[0].FSAssetExpansionistSMR) || 0;
}
if (V.arcologies[0].FSPastoralist !== "unset") {
V.arcologies[0].FSPastoralist = Number(V.arcologies[0].FSPastoralist) || "unset";
V.arcologies[0].FSPastoralistDecoration = Number(V.arcologies[0].FSPastoralistDecoration) || 0;
V.arcologies[0].FSPastoralistLaw = Number(V.arcologies[0].FSPastoralistLaw) || 0;
}
if (V.arcologies[0].FSPhysicalIdealist !== "unset") {
V.arcologies[0].FSPhysicalIdealist = Number(V.arcologies[0].FSPhysicalIdealist) || "unset";
V.arcologies[0].FSPhysicalIdealistDecoration = Number(V.arcologies[0].FSPhysicalIdealistDecoration) || 0;
V.arcologies[0].FSPhysicalIdealistLaw = Number(V.arcologies[0].FSPhysicalIdealistLaw) || 0;
V.arcologies[0].FSPhysicalIdealistSMR = Number(V.arcologies[0].FSPhysicalIdealistSMR) || 0;
V.arcologies[0].FSPhysicalIdealistStrongFat = Number(V.arcologies[0].FSPhysicalIdealistStrongFat) || 0;
}
if (V.arcologies[0].FSChattelReligionist !== "unset") {
V.arcologies[0].FSChattelReligionist = Number(V.arcologies[0].FSChattelReligionist) || "unset";
V.arcologies[0].FSChattelReligionistDecoration = Number(V.arcologies[0].FSChattelReligionistDecoration) || 0;
V.arcologies[0].FSChattelReligionistLaw = Number(V.arcologies[0].FSChattelReligionistLaw) || 0;
V.arcologies[0].FSChattelReligionistCreed = Number(V.arcologies[0].FSChattelReligionistCreed) || 0;
}
if (V.arcologies[0].FSEdoRevivalist !== "unset") {
V.arcologies[0].FSEdoRevivalist = Number(V.arcologies[0].FSEdoRevivalist) || "unset";
V.arcologies[0].FSEdoRevivalistDecoration = Number(V.arcologies[0].FSEdoRevivalistDecoration) || 0;
V.arcologies[0].FSEdoRevivalistLaw = Number(V.arcologies[0].FSEdoRevivalistLaw) || 0;
}
if (V.arcologies[0].FSRomanRevivalist !== "unset") {
V.arcologies[0].FSRomanRevivalist = Number(V.arcologies[0].FSRomanRevivalist) || "unset";
V.arcologies[0].FSRomanRevivalistDecoration = Number(V.arcologies[0].FSRomanRevivalistDecoration) || 0;
V.arcologies[0].FSRomanRevivalistLaw = Number(V.arcologies[0].FSRomanRevivalistLaw) || 0;
}
if (V.arcologies[0].FSNeoImperialist !== "unset") {
V.arcologies[0].FSNeoImperialist = Number(V.arcologies[0].FSNeoImperialist) || "unset";
V.arcologies[0].FSNeoImperialistDecoration = Number(V.arcologies[0].FSNeoImperialistDecoration) || 0;
V.arcologies[0].FSNeoImperialistLaw1 = Number(V.arcologies[0].FSNeoImperialistLaw1) || 0;
V.arcologies[0].FSNeoImperialistLaw2 = Number(V.arcologies[0].FSNeoImperialistLaw2) || 0;
}
if (V.arcologies[0].FSAztecRevivalist !== "unset") {
V.arcologies[0].FSAztecRevivalist = Number(V.arcologies[0].FSAztecRevivalist) || "unset";
V.arcologies[0].FSAztecRevivalistDecoration = Number(V.arcologies[0].FSAztecRevivalistDecoration) || 0;
V.arcologies[0].FSAztecRevivalistLaw = Number(V.arcologies[0].FSAztecRevivalistLaw) || 0;
}
if (V.arcologies[0].FSEgyptianRevivalist !== "unset") {
V.arcologies[0].FSEgyptianRevivalist = Number(V.arcologies[0].FSEgyptianRevivalist) || "unset";
V.arcologies[0].FSEgyptianRevivalistDecoration = Number(V.arcologies[0].FSEgyptianRevivalistDecoration) || 0;
V.arcologies[0].FSEgyptianRevivalistLaw = Number(V.arcologies[0].FSEgyptianRevivalistLaw) || 0;
}
if (V.arcologies[0].FSEdoRevivalist !== "unset") {
V.arcologies[0].FSEdoRevivalist = Number(V.arcologies[0].FSEdoRevivalist) || "unset";
V.arcologies[0].FSEdoRevivalistDecoration = Number(V.arcologies[0].FSEdoRevivalistDecoration) || 0;
V.arcologies[0].FSEdoRevivalistLaw = Number(V.arcologies[0].FSEdoRevivalistLaw) || 0;
}
if (V.arcologies[0].FSArabianRevivalist !== "unset") {
V.arcologies[0].FSArabianRevivalist = Number(V.arcologies[0].FSArabianRevivalist) || "unset";
V.arcologies[0].FSArabianRevivalistDecoration = Number(V.arcologies[0].FSArabianRevivalistDecoration) || 0;
V.arcologies[0].FSArabianRevivalistLaw = Number(V.arcologies[0].FSArabianRevivalistLaw) || 0;
}
if (V.arcologies[0].FSChineseRevivalist !== "unset") {
V.arcologies[0].FSChineseRevivalist = Number(V.arcologies[0].FSChineseRevivalist) || "unset";
V.arcologies[0].FSChineseRevivalistDecoration = Number(V.arcologies[0].FSChineseRevivalistDecoration) || 0;
V.arcologies[0].FSChineseRevivalistLaw = Number(V.arcologies[0].FSChineseRevivalistLaw) || 0;
}
for (let _fscdc = 0; _fscdc < setup.FutureSocieties.length; _fscdc++) {
if (!(V.arcologies[0][setup.FutureSocieties[_fscdc]] > 0)) {
FutureSocieties.remove(setup.FutureSocieties[_fscdc]);
}
}
};
App.Update.neighborArcologyCheatDatatypeCleanup = function() {
let _l = V.arcologies.length;
for (let _i = 1; _i < _l; _i++) {
if (typeof V.arcologies[_i].government !== 'string') {
V.arcologies[_i].government = "an individual";
}
V.arcologies[_i].honeymoon = Number(V.arcologies[_i].honeymoon) || 0;
V.arcologies[_i].prosperity = Number(V.arcologies[_i].prosperity) || 0;
V.arcologies[_i].ownership = Number(V.arcologies[_i].ownership) || 0;
V.arcologies[_i].minority = Number(V.arcologies[_i].minority) || 0;
V.arcologies[_i].PCminority = Number(V.arcologies[_i].PCminority) || 0;
V.arcologies[_i].demandFactor = Number(V.arcologies[_i].demandFactor) || 0;
if (V.arcologies[_i].FSSupremacist !== "unset") {
V.arcologies[_i].FSSupremacist = Number(V.arcologies[_i].FSSupremacist) || "unset";
}
if (V.arcologies[_i].FSSupremacist !== "unset" && !setup.filterRacesLowercase.includes(V.arcologies[_i].FSSupremacistRace)) {
V.arcologies[_i].FSSupremacistRace = setup.filterRacesLowercase.random();
}
if (V.arcologies[_i].FSSubjugationist !== "unset") {
V.arcologies[_i].FSSubjugationist = Number(V.arcologies[_i].FSSubjugationist) || "unset";
}
if (V.arcologies[_i].FSSubjugationist !== "unset" && !setup.filterRacesLowercase.includes(V.arcologies[_i].FSSubjugationistRace)) {
V.arcologies[_i].FSSubjugationistRace = setup.filterRacesLowercase.random();
}
if (V.arcologies[_i].FSGenderRadicalist !== "unset") {
V.arcologies[_i].FSGenderRadicalist = Number(V.arcologies[_i].FSGenderRadicalist) || "unset";
V.arcologies[_i].FSGenderFundamentalist = "unset";
}
if (V.arcologies[_i].FSGenderFundamentalist !== "unset") {
V.arcologies[_i].FSGenderFundamentalist = Number(V.arcologies[_i].FSGenderFundamentalist) || "unset";
V.arcologies[_i].FSGenderRadicalist = "unset";
}
if (V.arcologies[_i].FSPaternalist !== "unset") {
V.arcologies[_i].FSPaternalist = Number(V.arcologies[_i].FSPaternalist) || "unset";
V.arcologies[_i].FSDegradationist = "unset";
}
if (V.arcologies[_i].FSDegradationist !== "unset") {
V.arcologies[_i].FSDegradationist = Number(V.arcologies[_i].FSDegradationist) || "unset";
V.arcologies[_i].FSPaternalist = "unset";
}
if (V.arcologies[_i].FSBodyPurist !== "unset") {
V.arcologies[_i].FSBodyPurist = Number(V.arcologies[_i].FSBodyPurist) || "unset";
V.arcologies[_i].FSTransformationFetishist = "unset";
}
if (V.arcologies[_i].FSTransformationFetishist !== "unset") {
V.arcologies[_i].FSTransformationFetishist = Number(V.arcologies[_i].FSTransformationFetishist) || "unset";
V.arcologies[_i].FSBodyPurist = "unset";
}
if (V.arcologies[_i].FSYouthPreferentialist !== "unset") {
V.arcologies[_i].FSYouthPreferentialist = Number(V.arcologies[_i].FSYouthPreferentialist) || "unset";
V.arcologies[_i].FSMaturityPreferentialist = "unset";
}
if (V.arcologies[_i].FSMaturityPreferentialist !== "unset") {
V.arcologies[_i].FSMaturityPreferentialist = Number(V.arcologies[_i].FSMaturityPreferentialist) || "unset";
V.arcologies[_i].FSYouthPreferentialist = "unset";
}
if (V.arcologies[_i].FSSlimnessEnthusiast !== "unset") {
V.arcologies[_i].FSSlimnessEnthusiast = Number(V.arcologies[_i].FSSlimnessEnthusiast) || "unset";
V.arcologies[_i].FSAssetExpansionist = "unset";
}
if (V.arcologies[_i].FSAssetExpansionist !== "unset") {
V.arcologies[_i].FSAssetExpansionist = Number(V.arcologies[_i].FSAssetExpansionist) || "unset";
V.arcologies[_i].FSSlimnessEnthusiast = "unset";
}
if (V.arcologies[_i].FSPastoralist !== "unset") {
V.arcologies[_i].FSPastoralist = Number(V.arcologies[_i].FSPastoralist) || "unset";
}
if (V.arcologies[_i].FSPhysicalIdealist !== "unset") {
V.arcologies[_i].FSPhysicalIdealist = Number(V.arcologies[_i].FSPhysicalIdealist) || "unset";
V.arcologies[_i].FSHedonisticDecadence = "unset";
}
if (V.arcologies[_i].FSHedonisticDecadence !== "unset") {
V.arcologies[_i].FSHedonisticDecadence = Number(V.arcologies[_i].FSHedonisticDecadence) || "unset";
V.arcologies[_i].FSPhysicalIdealist = "unset";
}
if (V.arcologies[_i].FSChattelReligionist !== "unset") {
V.arcologies[_i].FSChattelReligionist = Number(V.arcologies[_i].FSChattelReligionist) || "unset";
}
if (V.arcologies[_i].FSRomanRevivalist !== "unset") {
V.arcologies[_i].FSRomanRevivalist = Number(V.arcologies[_i].FSRomanRevivalist) || "unset";
V.arcologies[_i].FSNeoImperialist = V.arcologies[_i].FSArabianRevivalist = V.arcologies[_i].FSAztecRevivalist = V.arcologies[_i].FSChineseRevivalist = V.arcologies[_i].FSEdoRevivalist = V.arcologies[_i].FSEgyptianRevivalist = "unset";
}
if (V.arcologies[_i].FSNeoImperialist !== "unset") {
V.arcologies[_i].FSNeoImperialist = Number(V.arcologies[_i].FSNeoImperialist) || "unset";
V.arcologies[_i].FSRomanRevivalist = V.arcologies[_i].FSArabianRevivalist = V.arcologies[_i].FSAztecRevivalist = V.arcologies[_i].FSChineseRevivalist = V.arcologies[_i].FSEdoRevivalist = V.arcologies[_i].FSEgyptianRevivalist = "unset";
}
if (V.arcologies[_i].FSAztecRevivalist !== "unset") {
V.arcologies[_i].FSAztecRevivalist = Number(V.arcologies[_i].FSAztecRevivalist) || "unset";
V.arcologies[_i].FSNeoImperialist = V.arcologies[_i].FSArabianRevivalist = V.arcologies[_i].FSChineseRevivalist = V.arcologies[_i].FSEdoRevivalist = V.arcologies[_i].FSEgyptianRevivalist = V.arcologies[_i].FSRomanRevivalist = "unset";
}
if (V.arcologies[_i].FSEgyptianRevivalist !== "unset") {
V.arcologies[_i].FSEgyptianRevivalist = Number(V.arcologies[_i].FSEgyptianRevivalist) || "unset";
V.arcologies[_i].FSNeoImperialist = V.arcologies[_i].FSArabianRevivalist = V.arcologies[_i].FSAztecRevivalist = V.arcologies[_i].FSChineseRevivalist = V.arcologies[_i].FSEdoRevivalist = V.arcologies[_i].FSRomanRevivalist = "unset";
}
if (V.arcologies[_i].FSEdoRevivalist !== "unset") {
V.arcologies[_i].FSEdoRevivalist = Number(V.arcologies[_i].FSEdoRevivalist) || "unset";
V.arcologies[_i].FSNeoImperialist = V.arcologies[_i].FSArabianRevivalist = V.arcologies[_i].FSAztecRevivalist = V.arcologies[_i].FSChineseRevivalist = V.arcologies[_i].FSEgyptianRevivalist = V.arcologies[_i].FSRomanRevivalist = "unset";
}
if (V.arcologies[_i].FSArabianRevivalist !== "unset") {
V.arcologies[_i].FSArabianRevivalist = Number(V.arcologies[_i].FSArabianRevivalist) || "unset";
V.arcologies[_i].FSNeoImperialist = V.arcologies[_i].FSAztecRevivalist = V.arcologies[_i].FSChineseRevivalist = V.arcologies[_i].FSEdoRevivalist = V.arcologies[_i].FSEgyptianRevivalist = V.arcologies[_i].FSRomanRevivalist = "unset";
}
if (V.arcologies[_i].FSChineseRevivalist !== "unset") {
V.arcologies[_i].FSChineseRevivalist = Number(V.arcologies[_i].FSChineseRevivalist) || "unset";
V.arcologies[_i].FSNeoImperialist = V.arcologies[_i].FSArabianRevivalist = V.arcologies[_i].FSAztecRevivalist = V.arcologies[_i].FSEdoRevivalist = V.arcologies[_i].FSEgyptianRevivalist = V.arcologies[_i].FSRomanRevivalist = "unset";
}
if (V.arcologies[_i].FSNull !== "unset") {
V.arcologies[_i].FSNull = Number(V.arcologies[_i].FSNull) || "unset";
}
if (V.arcologies[_i].FSRepopulationFocus !== "unset") {
V.arcologies[_i].FSRepopulationFocus = Number(V.arcologies[_i].FSRepopulationFocus) || "unset";
V.arcologies[_i].FSRestart = "unset";
}
if (V.arcologies[_i].FSRestart !== "unset") {
V.arcologies[_i].FSRestart = Number(V.arcologies[_i].FSRestart) || "unset";
V.arcologies[_i].FSRepopulationFocus = "unset";
}
if (V.arcologies[_i].FSIntellectualDependency !== "unset") {
V.arcologies[_i].FSIntellectualDependency = Number(V.arcologies[_i].FSIntellectualDependency) || "unset";
V.arcologies[_i].FSSlaveProfessionalism = "unset";
}
if (V.arcologies[_i].FSSlaveProfessionalism !== "unset") {
V.arcologies[_i].FSSlaveProfessionalism = Number(V.arcologies[_i].FSSlaveProfessionalism) || "unset";
V.arcologies[_i].FSIntellectualDependency = "unset";
}
if (V.arcologies[_i].FSPetiteAdmiration !== "unset") {
V.arcologies[_i].FSPetiteAdmiration = Number(V.arcologies[_i].FSPetiteAdmiration) || "unset";
V.arcologies[_i].FSStatuesqueGlorification = "unset";
}
if (V.arcologies[_i].FSStatuesqueGlorification !== "unset") {
V.arcologies[_i].FSStatuesqueGlorification = Number(V.arcologies[_i].FSStatuesqueGlorification) || "unset";
V.arcologies[_i].FSPetiteAdmiration = "unset";
}
if (V.arcologies[_i].FSCummunism !== "unset") {
V.arcologies[_i].FSCummunism = Number(V.arcologies[_i].FSCummunism) || "unset";
}
if (V.arcologies[_i].FSIncestFetishist !== "unset") {
V.arcologies[_i].FSIncestFetishist = Number(V.arcologies[_i].FSIncestFetishist) || "unset";
}
V.arcologies[_i].embargo = Number(V.arcologies[_i].embargo) || 0;
V.arcologies[_i].embargoTarget = Number(V.arcologies[_i].embargoTarget) || 0;
V.arcologies[_i].CyberEconomic = Number(V.arcologies[_i].CyberEconomic) || 0;
V.arcologies[_i].CyberEconomicTarget = Number(V.arcologies[_i].CyberEconomicTarget) || 0;
V.arcologies[_i].CyberReputation = Number(V.arcologies[_i].CyberReputation) || 0;
V.arcologies[_i].CyberReputationTarget = Number(V.arcologies[_i].CyberReputationTarget) || 0;
V.arcologies[_i].influenceTarget = Number(V.arcologies[_i].influenceTarget) || 0;
V.arcologies[_i].influenceBonus = Number(V.arcologies[_i].influenceBonus) || 0;
V.arcologies[_i].rival = Number(V.arcologies[_i].rival) || 0;
}
};
|
MonsterMate/fc
|
src/data/backwardsCompatibility/datatypeCleanup.js
|
JavaScript
|
mit
| 96,777
|
// @ts-nocheck
App.Update.policies = function() {
function convertMain(variable, pro, anti) {
if (V[pro]) {
V.policies[variable] = 1;
} else if (V[anti]) {
V.policies[variable] = -1;
}
}
function convertRetirement(variable, retireType, amountRequired) {
if (V[retireType] && V[amountRequired]) {
V.policies.retirement[variable] = V[amountRequired];
}
}
if(V.policies.gumjobFetishism == null) {
V.policies.gumjobFetishism = 0;
}
if(V.policies.gumjobFetishismSMR == null) {
V.policies.gumjobFetishismSMR = 0;
}
// Spelling fixes:
V.policies.sexualOpenness = V.policies.sexualOpenness || V.policies.sexualOpeness || 0;
V.policies.bestialityOpenness = V.policies.bestialityOpenness || V.policies.bestialityOpeness || 0;
V.policies.immigrationCash = V.policies.immigrationCash || V.policies.immmigrationCash || 0;
V.policies.immigrationRep = V.policies.immigrationRep || V.policies.immmigrationRep || 0;
if (V.releaseID < 1069) {
V.policies.childProtectionAct = V.childProtectionAct;
V.policies.culturalOpenness = V.CulturalOpenness;
V.policies.sexualOpenness = V.sexualOpenness || V.sexualOpeness;
V.policies.proRefugees = V.ProRefugees;
V.policies.publicFuckdolls = V.publicFuckdolls;
V.policies.proRecruitment = V.ProRecruitment;
V.policies.cash4Babies = V.Cash4Babies;
V.policies.regularParties = V.RegularParties;
V.policies.publicPA = V.PAPublic;
V.policies.coursingAssociation = V.CoursingAssociation;
V.policies.raidingMercenaries = V.RaidingMercenaries;
V.policies.mixedMarriage = V.MixedMarriage;
V.policies.goodImageCampaign = V.goodImageCampaign;
V.policies.alwaysSubsidizeRep = V.alwaysSubsidizeRep;
V.policies.alwaysSubsidizeGrowth = V.alwaysSubsidizeGrowth;
convertMain('immigrationCash', 'ProImmigrationCash', 'AntiImmigrationCash');
convertMain('immigrationRep', 'ProImmigrationRep', 'AntiImmigrationRep');
convertMain('enslavementCash', 'ProEnslavementCash', 'AntiEnslavementCash');
convertMain('enslavementRep', 'ProEnslavementRep', 'AntiEnslavementRep');
convertMain('cashForRep', 'CashForRep', 'RepForCash');
convertMain('oralAppeal', 'OralEncouragement', 'OralDiscouragement');
convertMain('vaginalAppeal', 'VaginalEncouragement', 'VaginalDiscouragement');
convertMain('analAppeal', 'AnalEncouragement', 'AnalDiscouragement');
convertRetirement('sex', 'SexMilestoneRetirement', 'retirementSex');
convertRetirement('milk', 'MilkMilestoneRetirement', 'retirementMilk');
convertRetirement('cum', 'CumMilestoneRetirement', 'retirementCum');
convertRetirement('births', 'BirthsMilestoneRetirement', 'retirementBirths');
convertRetirement('kills', 'KillsMilestoneRetirement', 'retirementKills');
if (V.BioreactorRetirement) {
V.policies.retirement.fate = "bioreactor";
} else if (V.ArcadeRetirement) {
V.policies.retirement.fate = "arcade";
} else if (V.CitizenRetirement) {
V.policies.retirement.fate = "citizen";
}
V.policies.retirement.menial2Citizen = V.citizenRetirementMenials;
V.policies.retirement.customAgePolicy = V.policies.retirement.customAgePolicySet || V.CustomRetirementAgePolicy;
V.policies.retirement.physicalAgePolicy = V.PhysicalRetirementAgePolicy;
V.policies.SMR.basicSMR = V.BasicSMR;
V.policies.SMR.healthInspectionSMR = V.HealthInspectionSMR;
V.policies.SMR.educationSMR = V.EducationSMR;
V.policies.SMR.frigiditySMR = V.FrigiditySMR;
V.policies.SMR.weightSMR = V.BasicWeightSMR;
V.policies.SMR.honestySMR = V.HonestySMR;
V.policies.SMR.beauty.basicSMR = V.BasicBeautySMR;
V.policies.SMR.beauty.qualitySMR = V.QualityBeautySMR;
V.policies.SMR.height.basicSMR = V.BasicHeightSMR;
V.policies.SMR.height.advancedSMR = V.AdvancedHeightSMR;
V.policies.SMR.intelligence.basicSMR = V.BasicIntelligenceSMR;
V.policies.SMR.intelligence.qualitySMR = V.QualityIntelligenceSMR;
V.policies.SMR.eugenics.faceSMR = V.FaceEugenicsSMR;
V.policies.SMR.eugenics.heightSMR = V.HeightEugenicsSMR;
V.policies.SMR.eugenics.intelligenceSMR = V.IntelligenceEugenicsSMR;
}
};
|
MonsterMate/fc
|
src/data/backwardsCompatibility/policiesBC.js
|
JavaScript
|
mit
| 4,051
|
/** Update custom slave orders (customSlave/huskSlave).
* @param {App.Entity.CustomSlaveOrder} customSlaveOrder
*/
App.Update.CustomSlaveOrder = function(customSlaveOrder) {
if (!customSlaveOrder.hasOwnProperty("leg")) {
if (jsDef(customSlaveOrder.amp) && customSlaveOrder.amp === 1) {
customSlaveOrder.leg = {left: null, right: null};
} else {
customSlaveOrder.leg = {left: new App.Entity.LimbState(), right: new App.Entity.LimbState()};
}
}
if (!customSlaveOrder.hasOwnProperty("arm")) {
if (jsDef(customSlaveOrder.amp) && customSlaveOrder.amp === 1) {
customSlaveOrder.arm = {left: null, right: null};
} else {
customSlaveOrder.arm = {left: new App.Entity.LimbState(), right: new App.Entity.LimbState()};
}
}
if (customSlaveOrder.hasOwnProperty("amp")) {
delete customSlaveOrder.amp;
}
if (!customSlaveOrder.hasOwnProperty("skill")) {
customSlaveOrder.skill = {whore: 15, combat: 0};
}
if (customSlaveOrder.hasOwnProperty("whoreSkills")) {
customSlaveOrder.skill.whore = customSlaveOrder.whoreSkills;
delete customSlaveOrder.whoreSkills;
}
if (customSlaveOrder.hasOwnProperty("combatSkills")) {
customSlaveOrder.skill.combat = customSlaveOrder.combatSkills;
delete customSlaveOrder.combatSkills;
}
if (V.releaseID < 1059) {
customSlaveOrder.eye = new App.Entity.EyeState();
delete customSlaveOrder.eyes;
}
};
|
MonsterMate/fc
|
src/data/backwardsCompatibility/updateCustomSlaveOrder.js
|
JavaScript
|
mit
| 1,374
|
App.Update.Slave = function(slave, genepool = false) {
slave.geneticQuirks = Object.assign({
macromastia: 0, gigantomastia: 0, fertility: 0, hyperFertility: 0, superfetation: 0, polyhydramnios: 0, uterineHypersensitivity: 0, galactorrhea: 0, gigantism: 0, dwarfism: 0, neoteny: 0, progeria: 0, pFace: 0, uFace: 0, albinism: 0, heterochromia: 0, rearLipedema: 0, wellHung: 0, wGain: 0, wLoss: 0, mGain: 0, mLoss: 0, androgyny: 0, girlsOnly: 0
}, slave.geneticQuirks);
if (slave.earShape === undefined) { slave.earShape = "normal"; }
if (slave.earT === undefined) { slave.earT = "none"; }
if (slave.earTColor === undefined) { slave.earTColor = "hairless"; }
if (slave.horn === undefined) { slave.horn = "none"; }
if (slave.hornColor === undefined) { slave.hornColor = "none"; }
if (slave.tail === undefined) { slave.tail = "none"; }
if (slave.tailShape === undefined) { slave.tailShape = "none"; }
if (slave.tailColor === undefined) { slave.tailColor = "none"; }
if (slave.prostateImplant !== undefined) {
if (slave.prostateImplant === 1) {
slave.prostate = 3;
}
delete slave.prostateImplant;
}
if (slave.daughters === undefined) { slave.daughters = 0; }
if (slave.sisters === undefined) { slave.sisters = 0; }
if (slave.pregGenerator !== undefined) { delete slave.pregGenerator; }
if (slave.pregAdaptation === undefined) {
if (slave.physicalAge <= 3) {
slave.pregAdaptation = 10;
} else if (slave.physicalAge <= 12 || slave.genes === "XY") {
slave.pregAdaptation = 20;
} else if (slave.physicalAge <= 17) {
slave.pregAdaptation = 30;
} else {
slave.pregAdaptation = 50;
}
}
if (slave.pregKnown === undefined) {
if (slave.preg > 0) {
slave.pregKnown = 1;
} else {
slave.pregKnown = 0;
}
}
if (slave.pregWeek === undefined) {
if (slave.preg > 0) {
slave.pregWeek = slave.preg;
} else {
slave.pregWeek = 0;
}
}
if (slave.pubertyXX === undefined) {
if (slave.physicalAge >= slave.pubertyAgeXX) {
slave.pubertyXX = 1;
slave.fertKnown = 1;
} else {
slave.pubertyXX = 0;
slave.fertKnown = 0;
}
}
if (slave.pubertyXY === undefined) {
if (slave.physicalAge >= slave.pubertyAgeXY) {
slave.pubertyXY = 1;
} else {
slave.pubertyXY = 0;
}
}
if (slave.genetics !== undefined) { delete slave.genetics; }
slave.geneMods = Object.assign({NCS: 0, rapidCellGrowth: 0, immortality: 0}, slave.geneMods);
if (slave.inducedNCS !== undefined) {
slave.geneMods.NCS = slave.inducedNCS;
delete slave.inducedNCS;
}
if (slave.PCSlutContacts !== undefined) { delete slave.PCSlutContacts; }
if (slave.wombImplant === undefined) { slave.wombImplant = "none"; }
if (slave.superfetation !== undefined) { delete slave.superfetation; }
if (slave.lactationDuration === undefined) {
if (slave.lactation === 0) {
slave.lactationDuration = 0;
} else {
slave.lactationDuration = 2;
}
}
if (slave.induceLactation === undefined) { slave.induceLactation = 0; }
if (slave.weightDirection === undefined) { slave.weightDirection = 0; }
if (slave.clone === undefined) { slave.clone = 0; }
if (slave.abortionTat === undefined) { slave.abortionTat = -1; }
if (slave.birthsTat === undefined) { slave.birthsTat = -1; }
if (slave.reservedChildren !== undefined) { delete slave.reservedChildren; }
if (slave.origin !== undefined && slave.origin !== 0) { slave.origin = pronounReplacer(slave.origin); }
if (slave.custom !== undefined) {
if (slave.custom.desc !== undefined && slave.custom.desc !== "") {
slave.custom.desc = pronounReplacer(slave.custom.desc);
}
if (slave.custom.tattoo !== undefined && slave.custom.tattoo !== "") {
slave.custom.tattoo = pronounReplacer(slave.custom.tattoo);
}
}
if (slave.prestigeDesc !== undefined && slave.prestigeDesc !== 0) { slave.prestigeDesc = pronounReplacer(slave.prestigeDesc); }
if (slave.pornPrestigeDesc !== undefined && slave.pornPrestigeDesc !== 0) { // This must be defined first, hence the previous line.
if (V.releaseID < 1050 && slave.prestigeDesc !== undefined && slave.prestigeDesc !== 0) { /* BC absolutely FUCKED this */
const genre = App.Porn.getGenreByFameName(slave.pornFameType);
if (jsDef(genre)) {
if (slave.pornPrestige === 1) {
slave.pornPrestigeDesc = `$He has a following in slave pornography. ${genre.prestigeDesc1}.`;
} else if (slave.pornPrestige === 2) {
slave.pornPrestigeDesc = `$He is well known from $his career in slave pornography. ${genre.prestigeDesc2}.`;
} else if (slave.pornPrestige === 3) {
slave.pornPrestigeDesc = `$He is world famous for $his career in slave pornography. ${genre.prestigeDesc3}.`;
} else {
slave.pornPrestigeDesc = 0;
}
} else {
slave.pornPrestigeDesc = 0;
}
} else {
slave.pornPrestigeDesc = pronounReplacer(slave.pornPrestigeDesc);
}
}
if (slave.amp !== undefined) {
if (slave.amp === 1) {
slave.arm = {left: null, right: null};
slave.leg = {left: null, right: null};
} else {
const newID = ((slave.amp * -1) + 1);
slave.arm = {
left: new App.Entity.LimbState(),
right: new App.Entity.LimbState()
};
slave.leg = {
left: new App.Entity.LimbState(),
right: new App.Entity.LimbState()
};
slave.arm.left.type = newID;
slave.arm.right.type = newID;
slave.leg.left.type = newID;
slave.leg.right.type = newID;
/* no need to check partial amputation, since it is not possible to create prior to this */
}
delete slave.amp;
delete slave.missingLegs;
delete slave.missingArms;
} else if (slave.arm === undefined) {
slave.arm = {
left: new App.Entity.LimbState(),
right: new App.Entity.LimbState()
};
slave.leg = {
left: new App.Entity.LimbState(),
right: new App.Entity.LimbState()
};
}
if (hasAnyProstheticLimbs(slave)) {
slave.PLimb = 1;
if (getLimbCount(slave, 6) > 0) {
slave.PLimb = 2;
}
}
if (slave.eyeball !== undefined) { delete slave.eyeball; }
if (slave.auricle !== undefined) { delete slave.auricle; }
if (slave.readyProsthetics === undefined) { slave.readyProsthetics = []; }
if (slave.readyLimbs !== undefined) {
for (let k = 0; k < slave.readyLimbs.length; k++) {
switch (slave.readyLimbs[k].type) {
case -1:
addProsthetic(slave, "basicL");
break;
case -2:
addProsthetic(slave, "sexL");
break;
case -3:
addProsthetic(slave, "beautyL");
break;
case -4:
addProsthetic(slave, "combatL");
break;
case -5:
addProsthetic(slave, "cyberneticL");
break;
}
}
}
if (slave.hStyle === "Salon") { slave.hStyle = "trimmed"; }
if (V.releaseID < 1052) {
const prosthetics = slave.readyProsthetics;
slave.readyProsthetics = [];
for (const p of prosthetics) {
addProsthetic(slave, p.id);
}
}
if (V.releaseID < 1058) {
if (slave.albinism === 2) {
let temp;
temp = slave.origSkin;
slave.origSkin = slave.albinismOverride.skin;
slave.albinismOverride.skin = temp;
temp = slave.origEye;
slave.origEye = slave.albinismOverride.eyeColor;
slave.albinismOverride.eyeColor = temp;
temp = slave.origHColor;
slave.origHColor = slave.albinismOverride.hColor;
slave.albinismOverride.hColor = temp;
}
}
if (V.releaseID < 1059 || !(slave.eye)) {
slave.eye = new App.Entity.EyeState();
const origEye = slave.origEye || "brown";
setGeneticEyeColor(slave, origEye);
if (slave.eyes === -4) {
eyeSurgery(slave, "both", "remove");
} else {
if (slave.eyesImplant === 1) {
eyeSurgery(slave, "both", "cybernetic");
}
if (slave.eyes === -3) {
eyeSurgery(slave, "both", "glass");
} else if (slave.eyes === -2) {
eyeSurgery(slave, "both", "blind");
} else if (slave.eyes === -1) {
eyeSurgery(slave, "both", "blur");
}
const eyeColor = slave.eyeColor || "brown";
const pupil = slave.pupil || "circular";
const sclerae = slave.sclerae || "white";
setEyeColorFull(slave, eyeColor, pupil, sclerae, "both");
if (typeof slave.geneticQuirks.heterochromia === "string") {
setEyeColor(slave.geneticQuirks.heterochromia, "left");
}
}
}
if (slave.eyes !== undefined) { delete slave.eyes; }
if (slave.eyeColor !== undefined) { delete slave.eyeColor; }
if (slave.eyesImplant !== undefined) { delete slave.eyesImplant; }
if (slave.origEye !== undefined) { delete slave.origEye; }
if (slave.pupil !== undefined) { delete slave.pupil; }
if (slave.sclerae !== undefined) { delete slave.sclerae; }
if (slave.origin === "Shortly after birth, $he was sealed in an aging tank until $he was of age. $He knows only of the terror that awaits $him should $he not obey $his master.") {
slave.tankBaby = 2;
} else if (slave.origin === "Shortly after birth, $he was sealed in an aging tank until $he was of age. $He knows nothing of the world outside of what the tank imprinted $him with.") {
slave.tankBaby = 1;
} else if (slave.tankBaby === undefined) {
slave.tankBaby = 0;
}
if (slave.origin === "$He sold $himself into slavery to feed $himself and $his growing brood.") {
if (slave.pregAdaptation < 750) {
slave.pregAdaptation = 750;
}
}
let backwardsCompatibility;
if (slave.rivalry !== 0) {
backwardsCompatibility = V.slaveIndices[slave.rivalryTarget];
if (backwardsCompatibility === undefined) {
slave.rivalry = 0;
slave.rivalryTarget = 0;
}
}
if (slave.relationship > 0) {
backwardsCompatibility = V.slaveIndices[slave.relationshipTarget];
if (backwardsCompatibility === undefined) {
slave.relationship = 0;
slave.relationshipTarget = 0;
}
}
if (slave.race === "surgically altered to look amerindian") {
slave.race = "amerindian";
} else if (slave.race === "surgically altered to look asian") {
slave.race = "asian";
} else if (slave.race === "surgically altered to look black") {
slave.race = "black";
} else if (slave.race === "surgically altered to look indo-aryan") {
slave.race = "indo-aryan";
} else if (slave.race === "surgically altered to look latina") {
slave.race = "latina";
} else if (slave.race === "surgically altered to look malay") {
slave.race = "malay";
} else if (slave.race === "surgically altered to look middle eastern") {
slave.race = "middle eastern";
} else if (slave.race === "surgically altered to look mixed race" || slave.race === "surgically altered to look mixed") {
slave.race = "mixed race";
} else if (slave.race === "surgically altered to look pacific islander" || slave.race === "surgically altered to look like a pacific islander") {
slave.race = "pacific islander";
} else if (slave.race === "surgically altered to look southern european" || slave.race === "southern European") {
slave.race = "southern european";
} else if (slave.race === "surgically altered to look semitic") {
slave.race = "semitic";
} else if (slave.race === "surgically altered to look white") {
slave.race = "white";
}
/* eslint-disable camelcase */
if (slave.override_Race === undefined) { slave.override_Race = 0; }
if (slave.override_Skin === undefined) { slave.override_Skin = 0; }
if (slave.override_Eye_Color === undefined) { slave.override_Eye_Color = 0; }
if (slave.override_H_Color === undefined) { slave.override_H_Color = 0; }
if (slave.override_Pubic_H_Color === undefined) { slave.override_Pubic_H_Color = 0; }
if (slave.override_Arm_H_Color === undefined) { slave.override_Arm_H_Color = 0; }
/* eslint-enable camelcase */
switch (slave.skin) {
case "red dyed":
slave.skin = "dyed red";
break;
case "green dyed":
slave.skin = "dyed green";
break;
case "blue dyed":
slave.skin = "dyed blue";
break;
case "tanned":
slave.skin = "tan";
break;
case "lightened":
slave.skin = "light";
break;
case "bronzed":
slave.skin = "bronze";
break;
case "darkened":
slave.skin = "dark";
break;
}
switch (slave.origSkin) {
case "blue dyed":
case "dyed blue":
case "dyed green":
case "dyed red":
case "green dyed":
case "red dyed":
slave.origSkin = randomRaceSkin(slave.origRace);
break;
case "tanned":
slave.origSkin = "tan";
break;
case "lightened":
slave.origSkin = "light";
break;
case "bronzed":
slave.origSkin = "bronze";
break;
case "darkened":
slave.origSkin = "dark";
break;
}
if (slave.markings === "heavily") {
slave.markings = "heavily freckled";
} else if (slave.markings === "beauty") {
slave.markings = "beauty mark";
}
if (slave.underArmHColor === "slave.hColor") {
slave.underArmHColor === slave.hColor;
}
if (slave.eyebrowHColor === "slave.hColor") {
slave.eyebrowHColor === slave.hColor;
}
if (slave.genes === undefined) {
if (slave.ovaries === 1) {
slave.genes = "XX";
} else {
slave.genes = "XY";
}
}
if (V.releaseID < 1000) {
if (slave.face === -3) {
slave.face = -100;
} else if (slave.face === -2) {
slave.face = -50;
} else if (slave.face === -1) {
slave.face = -20;
} else if (slave.face === 0) {
slave.face = 0;
} else if (slave.face === 1) {
slave.face = 20;
} else if (slave.face === 2) {
slave.face = 50;
} else {
slave.face = 100;
}
}
if (V.releaseID < 1031) {
if (slave.intelligence === -3) {
slave.intelligence = -100;
} else if (slave.intelligence === -2) {
slave.intelligence = -60;
} else if (slave.intelligence === -1) {
slave.intelligence = -30;
} else if (slave.intelligence === 0) {
slave.intelligence = 0;
} else if (slave.intelligence === 1) {
slave.intelligence = 30;
} else if (slave.intelligence === 2) {
slave.intelligence = 60;
} else {
slave.intelligence = 99;
}
if (slave.intelligenceImplant === 1) {
slave.intelligenceImplant = 30;
}
}
if (slave.teeth === 0) {
slave.teeth = "normal";
} else if (slave.teeth === "straightening") {
slave.teeth = "straightening braces";
} else if (slave.teeth === "cosmetic") {
slave.teeth = "cosmetic braces";
}
if (slave.areolaeShape === undefined) {
if (slave.areolae === 4) {
slave.areolaeShape = "heart";
slave.areolae = 3;
} else if (slave.areolae === 5) {
slave.areolaeShape = "star";
slave.areolae = 3;
} else {
slave.areolaeShape = "circle";
}
}
if (V.releaseID < 1061) {
if (slave.boobsImplantType === 1) {
slave.boobsImplantType = "string";
} else if (slave.boobsImplant >= 10000) {
slave.boobsImplantType = "hyper fillable";
} else if (slave.boobsImplant >= 2000) {
slave.boobsImplantType = "advanced fillable";
} else if (slave.boobsImplant >= 800) {
slave.boobsImplantType = "fillable";
} else if (slave.boobsImplant > 0) {
slave.boobsImplantType = "normal";
} else {
slave.boobsImplantType = "none";
}
if (slave.buttImplantType === 1) {
slave.buttImplantType = "string";
} else if (slave.buttImplant > 7) {
slave.buttImplantType = "hyper fillable";
} else if (slave.buttImplant >= 5) {
slave.buttImplantType = "advanced fillable";
} else if (slave.buttImplant >= 3) {
slave.buttImplantType = "fillable";
} else if (slave.buttImplant > 0) {
slave.buttImplantType = "normal";
} else {
slave.buttImplantType = "none";
}
}
if (V.releaseID < 1059) {
if (slave.eyeColor === undefined) {
slave.eyeColor = slave.eyes;
slave.eyes = 1;
if (slave.eyeColor === undefined) {
slave.eyeColor = "brown";
}
}
if (slave.pupil === undefined) {
if (slave.eyeColor === "catlike") {
slave.pupil = "catlike";
slave.eyeColor = "brown";
} else if (slave.eyeColor === "serpent-like") {
slave.pupil = "serpent-like";
slave.eyeColor = "brown";
} else if (slave.eyeColor === "devilish") {
slave.pupil = "devilish";
slave.eyeColor = "brown";
} else if (slave.eyeColor === "demonic") {
slave.pupil = "demonic";
slave.eyeColor = "brown";
} else if (slave.eyeColor === "hypnotic") {
slave.pupil = "hypnotic";
slave.eyeColor = "brown";
} else if (slave.eyeColor === "heart-shaped") {
slave.pupil = "heart-shaped";
slave.eyeColor = "brown";
} else if (slave.eyeColor === "wide-eyed") {
slave.pupil = "wide-eyed";
slave.eyeColor = "brown";
} else if (slave.eyeColor === "almond-shaped") {
slave.pupil = "almond-shaped";
slave.eyeColor = "brown";
} else if (slave.eyeColor === "bright") {
slave.pupil = "bright";
slave.eyeColor = "brown";
} else if (slave.eyeColor === "teary") {
slave.pupil = "teary";
slave.eyeColor = "brown";
} else if (slave.eyeColor === "vacant") {
slave.pupil = "vacant";
slave.eyeColor = "brown";
} else {
slave.pupil = "circular";
}
}
}
if (slave.pitkills !== undefined) { delete slave.pitkills; }
if (slave.penetrationCount !== undefined) { delete slave.penetrationCount; }
if (slave.oralTotal !== undefined) { delete slave.oralTotal; }
if (slave.vaginaCount !== undefined) { delete slave.vaginaCount; }
if (((V.ver.startsWith("0.6") && !V.ver.startsWith("10.6")) || (V.ver.startsWith("0.7")) || (V.ver.startsWith("0.8"))) && (!V.ver.startsWith("0.8.9")) && (!V.ver.startsWith("0.8.10")) && (!V.ver.startsWith("0.8.11")) && (!V.ver.startsWith("0.8.12"))) {
if (slave.attrXX === 2) {
slave.attrXX = 90;
} else if (slave.attrXX === 1) {
slave.attrXX = 70;
} else if (slave.attrXX === 0) {
slave.attrXX = 50;
} else if (slave.attrXX === -1) {
slave.attrXX = 30;
} else {
slave.attrXX = 10;
}
if (slave.attrXY === 2) {
slave.attrXY = 90;
} else if (slave.attrXY === 1) {
slave.attrXY = 70;
} else if (slave.attrXY === 0) {
slave.attrXY = 50;
} else if (slave.attrXY === -1) {
slave.attrXY = 30;
} else {
slave.attrXY = 10;
}
}
if ((V.ver.startsWith("0.6") && !V.ver.startsWith("10.6")) || (V.ver.startsWith("0.7")) || (V.ver.startsWith("0.8"))) {
if (slave.health <= -9) {
slave.health = -90;
} else if (slave.health <= -7) {
slave.health = jsRandom(-89, -70);
} else if (slave.health <= -5) {
slave.health = jsRandom(-69, -50);
} else if (slave.health <= -3) {
slave.health = jsRandom(-49, -30);
} else if (slave.health <= -1) {
slave.health = jsRandom(-29, -10);
} else if (slave.health <= 1) {
slave.health = jsRandom(-9, 10);
} else if (slave.health <= 3) {
slave.health = jsRandom(11, 30);
} else if (slave.health <= 5) {
slave.health = jsRandom(31, 50);
} else if (slave.health <= 7) {
slave.health = jsRandom(51, 70);
} else if (slave.health <= 8) {
slave.health = jsRandom(71, 80);
} else if (slave.health <= 9) {
slave.health = jsRandom(81, 90);
} else if (slave.health <= 10) {
slave.health = jsRandom(91, 100);
} else if (slave.health <= 15) {
slave.health = jsRandom(101, 150);
} else if (slave.health <= 20) {
slave.health = jsRandom(151, 200);
} else if (slave.health >= 50) {
slave.health = 500;
} else if (slave.health > 20) {
slave.health = 205;
}
slave.devotion = (slave.devotion * 5);
slave.oldDevotion = (slave.oldDevotion * 5);
slave.trust = (slave.trust * 5);
slave.oldTrust = (slave.oldTrust * 5);
if (slave.fetishStrength === 0) {
slave.fetishStrength = jsRandom(0, 60);
} else if (slave.fetishStrength === 1) {
slave.fetishStrength = jsRandom(61, 80);
} else if (slave.fetishStrength === 2) {
slave.fetishStrength = jsRandom(96, 100);
}
if (slave.weight === -3) {
slave.weight = jsRandom(-110, -96);
} else if (slave.weight === -2) {
slave.weight = jsRandom(-95, -31);
} else if (slave.weight === -1) {
slave.weight = jsRandom(-30, -11);
} else if (slave.weight === 0) {
slave.weight = jsRandom(-11, 10);
} else if (slave.weight === 1) {
slave.weight = jsRandom(11, 30);
} else if (slave.weight === 2) {
slave.weight = jsRandom(31, 95);
} else if (slave.weight === 3) {
slave.weight = jsRandom(96, 110);
}
if (slave.lips !== 0) {
if (slave.lips === 3) {
slave.lips = 85;
} else if (slave.lips === 2) {
slave.lips = 55;
} else if (slave.lips === 1) {
slave.lips = 35;
}
}
}
if (((V.ver.startsWith("0.6") && !V.ver.startsWith("10.6")) || (V.ver.startsWith("0.7")) || (V.ver.startsWith("0.8")) || (V.ver.startsWith("0.9"))) && (!V.ver.startsWith("0.9.5")) && (!V.ver.startsWith("0.9.6")) && (!V.ver.startsWith("0.9.7")) && (!V.ver.startsWith("0.9.8")) && (!V.ver.startsWith("0.9.9")) && (!V.ver.startsWith("0.9.10"))) {
if (slave.skill === undefined) {
if (slave.oralSkill > 0) {
if (slave.oralSkill === 3) {
slave.oralSkill = 100;
} else if (slave.oralSkill === 2) {
slave.oralSkill = 65;
} else {
slave.oralSkill = 35;
}
}
if (slave.vaginalSkill > 0) {
if (slave.vaginalSkill === 3) {
slave.vaginalSkill = 100;
} else if (slave.vaginalSkill === 2) {
slave.vaginalSkill = 65;
} else {
slave.vaginalSkill = 35;
}
}
if (slave.analSkill > 0) {
if (slave.analSkill === 3) {
slave.analSkill = 100;
} else if (slave.analSkill === 2) {
slave.analSkill = 65;
} else {
slave.analSkill = 35;
}
}
if (slave.whoreSkill > 0) {
if (slave.whoreSkill === 3) {
slave.whoreSkill = 100;
} else if (slave.whoreSkill === 2) {
slave.whoreSkill = 65;
} else {
slave.whoreSkill = 35;
}
}
if (slave.entertainSkill > 0) {
if (slave.entertainSkill === 3) {
slave.entertainSkill = 100;
} else if (slave.entertainSkill === 2) {
slave.entertainSkill = 65;
} else {
slave.entertainSkill = 35;
}
}
}
if (V.ver !== "0.9.4") {
slave.aphrodisiacs = 0;
if (slave.drugs === "curatives") {
slave.curatives = 2;
slave.drugs = "no drugs";
} else if (slave.drugs === "preventatives") {
slave.curatives = 1;
slave.drugs = "no drugs";
} else if (slave.drugs === "aphrodisiacs") {
slave.aphrodisiacs = 1;
slave.drugs = "no drugs";
} else if (slave.drugs === "extreme aphrodisiacs") {
slave.aphrodisiacs = 2;
slave.drugs = "no drugs";
}
if (slave.muscles >= 3) {
slave.muscles = 100;
} else if (slave.muscles >= 2) {
slave.muscles = 50;
} else if (slave.muscles >= 1) {
slave.muscles = 20;
} else {
slave.muscles = 0;
}
}
}
switch (slave.boobsTat) {
case "floral designs":
slave.boobsTat = "flowers";
break;
case "demeaning inscriptions":
slave.boobsTat = "rude words";
break;
case "lewd scenes":
slave.boobsTat = "scenes";
break;
case "degrading language":
slave.boobsTat = "degradation";
break;
case "slutty advertisements":
slave.boobsTat = "advertisements";
break;
}
switch (slave.buttTat) {
case "floral designs":
slave.buttTat = "flowers";
break;
case "demeaning inscriptions":
slave.buttTat = "rude words";
break;
case "lewd scenes":
slave.buttTat = "scenes";
break;
case "degrading language":
slave.buttTat = "degradation";
break;
case "slutty advertisements":
slave.buttTat = "advertisements";
break;
}
switch (slave.vaginaTat) {
case "floral designs":
slave.vaginaTat = "flowers";
break;
case "demeaning inscriptions":
slave.vaginaTat = "rude words";
break;
case "lewd scenes":
slave.vaginaTat = "scenes";
break;
case "degrading language":
slave.vaginaTat = "degradation";
break;
case "slutty advertisements":
slave.vaginaTat = "advertisements";
break;
}
switch (slave.dickTat) {
case "floral designs":
slave.dickTat = "flowers";
break;
case "demeaning inscriptions":
slave.dickTat = "rude words";
break;
case "lewd scenes":
slave.dickTat = "scenes";
break;
case "degrading language":
slave.dickTat = "degradation";
break;
case "slutty advertisements":
slave.dickTat = "advertisements";
break;
}
switch (slave.anusTat) {
case "floral designs":
slave.anusTat = "flowers";
break;
case "demeaning inscriptions":
slave.anusTat = "rude words";
break;
case "lewd scenes":
slave.anusTat = "scenes";
break;
case "degrading language":
slave.anusTat = "degradation";
break;
case "slutty advertisements":
slave.anusTat = "advertisements";
break;
}
switch (slave.backTat) {
case "floral designs":
slave.backTat = "flowers";
break;
case "demeaning inscriptions":
slave.backTat = "rude words";
break;
case "lewd scenes":
slave.backTat = "scenes";
break;
case "degrading language":
slave.backTat = "degradation";
break;
case "slutty advertisements":
slave.backTat = "advertisements";
break;
}
switch (slave.shouldersTat) {
case "floral designs":
slave.shouldersTat = "flowers";
break;
case "demeaning inscriptions":
slave.shouldersTat = "rude words";
break;
case "lewd scenes":
slave.shouldersTat = "scenes";
break;
case "degrading language":
slave.shouldersTat = "degradation";
break;
case "slutty advertisements":
slave.shouldersTat = "advertisements";
break;
}
switch (slave.armsTat) {
case "floral designs":
slave.armsTat = "flowers";
break;
case "demeaning inscriptions":
slave.armsTat = "rude words";
break;
case "lewd scenes":
slave.armsTat = "scenes";
break;
case "degrading language":
slave.armsTat = "degradation";
break;
case "slutty advertisements":
slave.armsTat = "advertisements";
break;
}
switch (slave.legsTat) {
case "floral designs":
slave.legsTat = "flowers";
break;
case "demeaning inscriptions":
slave.legsTat = "rude words";
break;
case "lewd scenes":
slave.legsTat = "scenes";
break;
case "degrading language":
slave.legsTat = "degradation";
break;
case "slutty advertisements":
slave.legsTat = "advertisements";
break;
}
switch (slave.stampTat) {
case "floral designs":
slave.stampTat = "flowers";
break;
case "demeaning inscriptions":
slave.stampTat = "rude words";
break;
case "lewd scenes":
slave.stampTat = "scenes";
break;
case "degrading language":
slave.stampTat = "degradation";
break;
case "slutty advertisements":
slave.stampTat = "advertisements";
break;
}
switch (slave.lipsTat) {
case "floral designs":
slave.lipsTat = "flowers";
break;
case "demeaning inscriptions":
slave.lipsTat = "rude words";
break;
case "lewd scenes":
slave.lipsTat = "scenes";
break;
case "degrading language":
slave.lipsTat = "degradation";
break;
case "slutty advertisements":
slave.lipsTat = "advertisements";
break;
}
if (slave.currentRules === undefined || slave.currentRules.length < 1) {
slave.currentRules = [];
}
if (slave.height < -1) {
slave.height = jsRandom(140, 149);
} else if (slave.height < 0) {
slave.height = jsRandom(150, 159);
} else if (slave.height < 1) {
slave.height = jsRandom(160, 169);
} else if (slave.height < 2) {
slave.height = jsRandom(170, 184);
} else if (slave.height <= 3) {
slave.height = jsRandom(185, 200);
}
if (V.releaseID < 1059) {
if (slave.eyeColor === "no default value") {
slave.eyeColor = slave.origEye;
}
}
if (slave.birthSurname === undefined) { slave.birthSurname = 0; }
if (slave.slaveSurname === undefined) { slave.slaveSurname = 0; }
if (slave.faceImplant === 1) {
slave.faceImplant = 15;
} else if (slave.faceImplant === 2) {
slave.faceImplant = 65;
}
if (slave.areoleaPiercing !== undefined) { delete slave.areoleaPiercing; }
if (slave.pregControl === undefined) { slave.pregControl = "none"; }
if (slave.pregControl === "labor supressors") {
slave.pregControl = "labor suppressors";
}
if (slave.chastityAnus === undefined || slave.chastityPenis === undefined || slave.chastityVagina === undefined) {
if (slave.dickAccessory === "combined chastity") {
slave.chastityAnus = 1;
slave.chastityPenis = 1;
slave.dickAccessory = "none";
} else if (slave.vaginalAccessory === "combined chastity") {
slave.chastityAnus = 1;
slave.chastityVagina = 1;
slave.vaginalAccessory = "none";
} else if (slave.dickAccessory === "anal chastity" || slave.vaginalAccessory === "anal chastity") {
slave.chastityAnus = 1;
slave.dickAccessory = "none";
slave.vaginalAccessory = "none";
} else if (slave.dickAccessory === "chastity") {
slave.chastityPenis = 1;
slave.dickAccessory = "none";
} else if (slave.vaginalAccessory === "chastity belt") {
slave.chastityVagina = 1;
slave.vaginalAccessory = "none";
} else {
slave.chastityAnus = 0;
slave.chastityPenis = 0;
slave.chastityVagina = 0;
}
}
if (slave.rules !== undefined && slave.rules.rest === undefined) {
slave.rules.rest = "restrictive";
}
// migrate to extended family mode if we detected it was needed
if (V.relationLinks !== undefined) {
let link = V.relationLinks[slave.ID];
if (link) {
// we already know who your parents are
slave.mother = link.mother;
slave.father = link.father;
} else {
if (slave.relationTarget > 0) {
switch (slave.relation) {
case "sister":
case "twin": {
const otherLink = V.relationLinks[slave.relationTarget];
if (otherLink) {
// we don't know your parents, but we DO know your sister's parents
// this shouldn't happen but might sometimes, and there's an obviously correct thing to do - use your sister's parents for you too
slave.mother = otherLink.mother;
slave.father = otherLink.father;
} else {
// don't know your parents, generate new IDs for them
setMissingParents(slave);
}
V.relationLinks[slave.ID] = {mother: slave.mother, father: slave.father};
// your sister's parents are the same as your parents
if (!V.relationLinks[slave.relationTarget]) {
V.relationLinks[slave.relationTarget] = V.relationLinks[slave.ID];
}
break;
}
case "mother":
// we know your mother. that's easy.
slave.mother = slave.relationTarget;
V.relationLinks[slave.ID] = {mother: slave.mother, father: 0};
break;
case "daughter":
// we know you are your daughter's mother. keep track of that in case she's forgotten somehow.
if (!V.relationLinks[slave.relationTarget]) {
V.relationLinks[slave.relationTarget] = {mother: slave.ID, father: 0};
}
break;
default:
throw `Unrecognized relation for ${SlaveFullName(slave)}.`;
}
}
}
// if the slave still had a valid recruitment target, allow her to recruit, otherwise don't
slave.canRecruit = (slave.recruiter === 0) ? 0 : 1;
}
delete slave.relation;
delete slave.relationTarget;
delete slave.recruiter;
if (slave.spermY === undefined) {
slave.spermY = normalRandInt(50, 3); // narrower range to avoid surprises
}
if (slave.geneticQuirks.albinism === 2 && !slave.albinismOverride) {
induceAlbinism(slave, 2);
}
if (genepool) {
slave.womb = [];
} else {
WombInit(slave);
}
if (V.releaseID < 1036) {
for (let pmw = 0; pmw < slave.womb.length; pmw++) {
if (slave.womb[pmw].genetics.mother !== slave.womb[pmw].motherID || slave.womb[pmw].genetics.father !== slave.womb[pmw].fatherID) {
slave.womb[pmw].genetics = generateGenetics(slave, slave.womb[pmw].fatherID, pmw);
}
}
}
if (!jsDef(slave.inbreedingCoeff)) {
slave.inbreedingCoeff = ibc.coeff(slave);
slave.womb.forEach(f => {
// Use null as the ID, since fetuses are missing it
f.genetics.inbreedingCoeff = ibc.coeff(
{ID: null, mother: f.genetics.mother, father: f.genetics.father}
);
});
}
};
|
MonsterMate/fc
|
src/data/backwardsCompatibility/updateSlaveObject.js
|
JavaScript
|
mit
| 31,398
|
App.Data.NewGamePlus = (function() {
const NGPOffset = 1200000;
function ngpSlaveID(id, preserveSpecial=false) {
const minID = preserveSpecial ? -20 : -1;
if (id > 0) {
id += NGPOffset;
} else if (V.freshPC === 1 && id === -1) {
id = -NGPOffset;
} else if (id < minID) {
id -= NGPOffset;
}
return id;
}
function slaveOrZero(id) {
if (id > 0 && !getSlave(id)) {
return 0;
}
return id;
}
function PCInit() {
if (V.freshPC === 0) {
cashX(V.ngpParams.prosperity, "personalBusiness");
const oldCash = V.cash;
V.cash = 0;
V.cashLastWeek = 0;
cashX((Math.clamp(1000*Math.trunc(oldCash/100000), 5000, 1000000)), "personalBusiness");
if (V.retainCareer === 0) {
V.PC.career = "arcology owner";
V.PC.skill.trading = 100;
V.PC.skill.warfare = 100;
V.PC.skill.hacking = 100;
V.PC.skill.slaving = 100;
V.PC.skill.engineering = 100;
V.PC.skill.medicine = 100;
}
V.PC.mother = ngpSlaveID(V.PC.mother);
V.PC.father = ngpSlaveID(V.PC.father);
V.PC.pregSource = slaveOrZero(ngpSlaveID(V.PC.pregSource, true));
for (let fetus of V.PC.womb) {
fetus.fatherID = ngpSlaveID(fetus.fatherID, true);
fetus.genetics.father = ngpSlaveID(fetus.genetics.father, true);
fetus.genetics.mother = ngpSlaveID(fetus.genetics.mother, true);
}
} else {
V.PC = basePlayer();
WombInit(V.PC);
V.cheater = 0;
V.cash = 0;
cashX(10000, "personalBusiness");
}
}
function slaveLoopInit() {
const ngUpdateGenePool = function(genePool = []) {
const transferredSlaveIds = (V.slaves || [])
.filter(s => s.ID >= NGPOffset)
.map(s => s.ID - NGPOffset);
return genePool
.filter(s => (transferredSlaveIds.includes(s.ID)))
.map(function(s) {
const result = jQuery.extend(true, {}, s);
result.ID += NGPOffset;
return result;
});
};
const ngUpdateMissingTable = function(missingTable) {
const newTable = {};
let needed = [];
(V.slaves || [])
.forEach(s => ([s.pregSource + NGPOffset, s.mother + NGPOffset, s.father + NGPOffset]
.filter(i => (i in missingTable))
.forEach(i => {
if (needed.indexOf(i) === -1) {
needed.push(i);
}
})));
(V.slaves || []).forEach(s => (s.womb
.forEach(f => ([f.fatherID, f.genetics.father, f.genetics.mother]
.filter(i => (i in missingTable))
.forEach(i => {
if (needed.indexOf(i) === -1) {
needed.push(i);
}
})))));
while (needed.length > 0) {
let i = needed.shift();
let s = missingTable[i];
newTable[i - NGPOffset] = s;
s.ID -= NGPOffset;
if (s.mother in missingTable) {
s.mother -= NGPOffset;
if (!(s.mother in newTable) && needed.indexOf(s.mother + NGPOffset) === -1) {
needed.push(s.mother + NGPOffset);
}
}
if (s.father in missingTable) {
s.father -= NGPOffset;
if (!(s.father in newTable) && needed.indexOf(s.father + NGPOffset) === -1) {
needed.push(s.father + NGPOffset);
}
}
}
return newTable;
};
if (typeof V.missingTable !== undefined) {
let oldMissingParentID = Math.min(-10000, ...Object.keys(V.missingTable)) - 1;
V.slaves.filter(s => (s.assignment !== Job.IMPORTED)).forEach(s => {
V.missingTable[oldMissingParentID] = {
slaveName: s.slaveName,
slaveSurname: s.slaveSurname,
fullName: SlaveFullName(s),
dick: s.dick,
vagina: s.vagina,
ID: oldMissingParentID,
mother: s.mother,
father: s.father,
inbreedingCoeff: s.inbreedingCoeff
};
Object.values(V.missingTable).forEach(so => {
if (so.mother === s.ID) {
so.mother = oldMissingParentID;
}
if (so.father === s.ID) {
so.father = oldMissingParentID;
}
});
V.slaves.concat([V.PC]).forEach(so => {
if (so.mother === s.ID) {
so.mother = oldMissingParentID;
}
if (so.father === s.ID) {
so.father = oldMissingParentID;
}
if (so.assignment === Job.IMPORTED || so.ID === -1) {
WombChangeID(so, s.ID, oldMissingParentID);
WombChangeGeneID(so, s.ID, oldMissingParentID);
}
});
oldMissingParentID--;
});
}
V.slaves.deleteWith((s) => s.assignment !== Job.IMPORTED);
for (let slave of V.slaves) {
slave.ID += NGPOffset;
slave.assignment = Job.REST;
slave.weekAcquired = 0;
slave.newGamePlus = 1;
slave.mother = ngpSlaveID(slave.mother);
slave.father = ngpSlaveID(slave.father);
slave.canRecruit = 0;
slave.breedingMark = 0;
if (typeof V.ngpParams.nationality === 'string') {
slave.nationality = V.ngpParams.nationality;
}
slave.relationshipTarget = ngpSlaveID(slave.relationshipTarget);
slave.cloneID = ngpSlaveID(slave.cloneID);
slave.pregSource = ngpSlaveID(slave.pregSource, true);
for (let fetus of slave.womb) {
fetus.fatherID = ngpSlaveID(fetus.fatherID, true);
fetus.genetics.father = ngpSlaveID(fetus.genetics.father, true);
fetus.genetics.mother = ngpSlaveID(fetus.genetics.mother, true);
}
slave.rivalry = 0;
slave.rivalryTarget = 0;
slave.subTarget = 0;
slave.drugs = "no drugs";
slave.porn.spending = 0;
slave.rules.living = "spare";
slave.diet = "healthy";
slave.pregControl = "none";
}
V.slaveIndices = slaves2indices();
for (let slave of V.slaves) {
slave.pregSource = slaveOrZero(slave.pregSource);
slave.cloneID = slaveOrZero(slave.cloneID);
slave.relationshipTarget = slaveOrZero(slave.relationshipTarget);
}
V.genePool = ngUpdateGenePool(V.genePool);
V.missingTable = ngUpdateMissingTable(V.missingTable);
let validRelationship = (s) => (s.relationshipTarget !== 0 && getSlave(s.relationshipTarget).relationshipTarget === s.ID);
for (let slave of V.slaves) {
if ((slave.relationship < 0 && V.freshPC === 1) || (slave.relationship > 0 && !validRelationship(slave))) {
slave.relationship = 0;
slave.relationshipTarget = 0;
}
slave.counter.milk = 0;
slave.counter.cum = 0;
slave.counter.births = 0;
slave.counter.mammary = 0;
slave.counter.penetrative = 0;
slave.counter.oral = 0;
slave.counter.anal = 0;
slave.counter.vaginal = 0;
slave.lifetimeCashExpenses = 0;
slave.lifetimeCashIncome = 0;
slave.lastWeeksCashIncome = 0;
slave.lifetimeRepExpenses = 0;
slave.lifetimeRepIncome = 0;
slave.lastWeeksRepExpenses = 0;
slave.lastWeeksRepIncome = 0;
}
}
function doNGPSetup() {
slaveLoopInit();
PCInit();
resetFamilyCounters();
V.ngpParams = {};
}
return doNGPSetup;
})();
|
MonsterMate/fc
|
src/data/newGamePlus.js
|
JavaScript
|
mit
| 6,537
|
App.Data.Pronouns = {};
/**
* @readonly
* @enum {number}
*/
App.Data.Pronouns.Kind = Object.freeze({
female: 0,
male: 1,
neutral: 2,
toy: 2,
epicene: 3,
plural: 3,
ai: 4,
custom: 1000
});
/**
* @param {string} pronoun
* @param {string} possessive
* @param {string} possessivePronoun
* @param {string} object
* @param {string} objectReflexive
* @param {string} noun
* @returns {FC.Data.Pronouns.Definition}
*/
App.Data.Pronouns.makePronounsData = function(
pronoun, possessive, possessivePronoun, object, objectReflexive, noun) {
return {
pronoun: pronoun,
possessive: possessive,
possessivePronoun: possessivePronoun,
object: object,
objectReflexive: objectReflexive,
noun: noun
};
};
App.Data.Pronouns.Std = {
0: App.Data.Pronouns.makePronounsData("she", "her", "hers", "her", "herself", "girl"),
1: App.Data.Pronouns.makePronounsData("he", "his", "his", "him", "himself", "boy"),
2: App.Data.Pronouns.makePronounsData("it", "its", "its", "it", "itself", "toy"),
3: App.Data.Pronouns.makePronounsData("they", "their", "theirs", "them", "themselves", "toys"),
4: App.Data.Pronouns.makePronounsData("it", "its", "its", "it", "itself", "program"),
};
|
MonsterMate/fc
|
src/data/utility/pronounsUtils.js
|
JavaScript
|
mit
| 1,191
|
/* eslint-disable no-empty */
/* eslint-disable no-var */
/*
Given an object, this will return an array where for each property of the original object, we include the object
{variable: property, oldVal: _oldDiff.property, newVal: _newDiff.property}
*/
globalThis.generateDiffArray = function(obj) {
let diffArray = Object.keys(obj).map(function(key) {
return {variable: key, oldVal: State.temporary.oldDiff[key], newVal: State.temporary.newDiff[key]};
});
return diffArray;
};
/*
Shamelessly copied from https://codereview.stackexchange.com/a/11580
Finds and returns the difference between two objects. Potentially will have arbitrary nestings of objects.
*/
globalThis.difference = function(o1, o2) {
let k, kDiff, diff = {};
for (k in o1) {
if (!o1.hasOwnProperty(k)) {
} else if (typeof o1[k] !== 'object' || typeof o2[k] !== 'object') {
if (!(k in o2) || o1[k] !== o2[k]) {
diff[k] = o2[k];
}
} else {
kDiff = difference(o1[k], o2[k]);
if (kDiff) {
diff[k] = kDiff;
}
}
}
for (k in o2) {
if (o2.hasOwnProperty(k) && !(k in o1)) {
diff[k] = o2[k];
}
}
for (k in diff) {
if (diff.hasOwnProperty(k)) {
return diff;
}
}
return false;
};
/*
Shamelessly copied from https://stackoverflow.com/a/19101235
Flattens an object while concatenating property names.
For example {id: {number: 4, name: "A"}} --> {id.number: 4, id.name: "A"}
*/
globalThis.diffFlatten = function(data) {
let result = {};
function recurse(cur, prop) {
if (Object(cur) !== cur) {
result[prop] = cur;
} else if (Array.isArray(cur)) {
// eslint-disable-next-line no-var
for (var i=0, l=cur.length; i<l; i++) { // don't change the "var" to "let"
recurse(cur[i], prop + "[" + i + "]");
}
// eslint-disable-next-line block-scoped-var
if (l === 0) { result[prop] = []; }
} else {
let isEmpty = true;
for (let p in cur) {
isEmpty = false;
recurse(cur[p], prop ? prop+"."+p : p);
}
if (isEmpty && prop) { result[prop] = {}; }
}
}
recurse(data, "");
return result;
};
/*
Finds all NaN values anywhere in the State.variables object. Returns an array with the names of the NaNed variables.
*/
globalThis.findNaN = function() {
const flatV = diffFlatten(State.variables);
let result = [];
for (let key in flatV) {
if (Number.isNaN(flatV[key])) {
result.push('$$'+key); /* double dollar signs to escape SugarCube markup */
}
}
return result;
};
/* no-usedOnce*/
/**
* Dumps game save as a readable JSON to the browser for saving in a file
*/
App.Debug.dumpGameState = function() {
// helper to download a blob
// borrowed from stackexchange
function downloadToFile(content, fileName, contentType) {
let a = document.createElement("a");
let file = new Blob([content], {
type: contentType
});
a.href = URL.createObjectURL(file);
a.download = fileName;
a.click();
}
// we will replace SugarCube onSave handler
let oldHandler = SugarCube.Config.saves.onSave;
try {
SugarCube.Config.saves.onSave = function(save, details) {
if (oldHandler) {
oldHandler(save, details);
}
downloadToFile(JSON.stringify(save, null, 2), save.id + ".json", "text/plain");
};
SugarCube.Save.serialize();
} finally {
SugarCube.Config.saves.onSave = oldHandler;
}
};
App.Debug.slaveSummaryText = function(idx) {
let span = document.createElement("span");
span.appendChild(App.UI.SlaveSummary.render(V.slaves[idx]));
return span.outerHTML;
};
|
MonsterMate/fc
|
src/debugging/debugJS.js
|
JavaScript
|
mit
| 3,450
|
:: Debug Widgets [widget nobr]
/*
This widget will find which properties were changed in a specific passage (State.bottom.title to be precise), and display their original values and current values.
It's somewhat awkward if a stored variable changes types to/from an object or array.
The included "Go Back" link is intended to replace the usual NextButton.
*/
<<widget "displayDifferences">>
<<set _oldVariables = clone(State.bottom.variables)>>
<<set _newVariables = clone(State.variables)>>
<<set _newDiff = diffFlatten(difference(_oldVariables,_newVariables))>> /* Returns a flattened object containing the names of the changed variables, and the new values of those variables. */
<<set _oldDiff = diffFlatten(difference(_newVariables,_oldVariables))>> /* Returns a flattened object containing the names of the changed variables, and the old values of those variables. */
<<set _diffArrayFromNew = generateDiffArray(_newDiff)>> /* This function requires the existence of the specific variables _newDiff AND _oldDiff to work. */
<<set _diffArrayFromOld = generateDiffArray(_oldDiff)>>
<<link "Go Back">>
<<script>>
Engine.backward(); /* Moves the save state one state backwards. */
State.history.splice(-1,1); /* Removes the latest save state. Necessary to allow the option of displaying the changed variables again immediately without screwing everything up. */
Config.history.maxStates = 1; /* Reset the max number of states so as not to explode save file sizes. */
<</script>>
<</link>>
<br>
Differences:
<<if _diffArrayFromNew.length > 0>>
<<for _i = 0; _i < _diffArrayFromNew.length; _i++>> /* Print variable names, and changed values. Will output the new values correctly, may not output old values correctly */
<<if _diffArrayFromNew[_i].variable != "nextButton" && _diffArrayFromNew[_i].variable != "nextLink" && _diffArrayFromNew[_i].variable != "args">>
<br> Variable: <<print _diffArrayFromNew[_i].variable>>, Original Value: <<print _diffArrayFromNew[_i].oldVal>>, New Value: <<print _diffArrayFromNew[_i].newVal>>
<</if>>
<</for>><br>
<span id="extra-info">
<<link "Show more">>
<<replace "#extra-info">>
Alternate display:
<<for _i = 0; _i < _diffArrayFromOld.length; _i++>> /* Print variable names, and changed values. Will output the old values correctly, may not output new values correctly */
<<if _diffArrayFromOld[_i].variable != "nextButton" && _diffArrayFromOld[_i].variable != "nextLink" && _diffArrayFromOld[_i].variable != "args">>
<br> Variable: <<print _diffArrayFromOld[_i].variable>>, Original Value: <<print _diffArrayFromOld[_i].oldVal>>, New Value: <<print _diffArrayFromOld[_i].newVal>>
<</if>>
<</for>>
<</replace>>
<</link>>// This should only be necessary if a variable changes type to/from an object or array. In that case this will display the correct original value, but incorrect current value.//
</span><br>
<<else>>
<br> Nothing changed!<br>
<</if>>
<<link "Go Back">>
<<script>>
Engine.backward(); /* Moves the save state one state backwards. */
State.history.splice(-1,1); /* Removes the latest save state. Necessary to allow the option of displaying the changed variables again immediately without screwing everything up. */
Config.history.maxStates = 1; /* Reset the max number of states so as not to explode save file sizes. */
<</script>>
<</link>>
<</widget>>
|
MonsterMate/fc
|
src/debugging/debugWidgets.tw
|
tw
|
mit
| 3,436
|
/* This is a terrible hack, but it actually seems to yield decent results, so...yay? */
globalThis.ProfileInclude = (function() {
let stack = [];
let tally = new Map();
let builtinIncludeHandler = null;
class TallyElement {
constructor(passage) {
this.passage = passage;
this.cumulativeTime = 0.0;
this.calls = 0;
this.children = new Map();
}
get totalChildTime() {
return Array.from(this.children.values(), (x) => x.cumulativeTime).reduce((sum, current) => { return sum + current; }, 0.0);
}
outputBreakdown() {
if (this.children.size === 0) {
// no breakdown needed if there are no children, so return an empty fragment
return document.createDocumentFragment();
}
const selfTime = this.cumulativeTime - this.totalChildTime;
const selfTimePercent = (selfTime / this.cumulativeTime) * 100;
const selfTimePerCall = selfTime / this.calls;
let childList = document.createElement("ul");
let selfListItem = document.createElement("li");
childList.appendChild(selfListItem);
selfListItem.appendChild(document.createTextNode(`<self>: ${selfTime.toFixed(0)}ms (${selfTimePercent.toFixed(2)}%); ${selfTimePerCall.toFixed(0)}ms per call over ${this.calls.toFixed(0)} calls`));
for (const [, child] of this.children) {
const childTimePercent = (child.cumulativeTime / this.cumulativeTime) * 100;
const childTimePerCall = child.cumulativeTime / child.calls;
let childListItem = document.createElement("li");
childListItem.appendChild(document.createTextNode(`${child.passage}: ${child.cumulativeTime.toFixed(0)}ms (${childTimePercent.toFixed(2)}%); ${childTimePerCall.toFixed(0)}ms per call over ${child.calls.toFixed(0)} calls`));
childListItem.appendChild(child.outputBreakdown());
childList.appendChild(childListItem);
}
return childList;
}
}
class StackElement {
constructor(passage) {
this.passage = passage;
this.startTime = Date.now();
}
}
function Push(passage) {
stack.push(new StackElement(passage));
}
function PopAndTally() {
const el = stack.pop();
const stopTime = Date.now();
/* traverse the tally tree, ensuring that it has nodes for every frame still in the stack */
let parentMap = tally;
for (const child of stack) {
if (!parentMap.has(child.passage)) {
parentMap.set(child.passage, new TallyElement(child.passage));
}
parentMap = parentMap.get(child.passage).children;
}
/* add the popped stack frame's time to the correct child of the tally tree node corresponding with the top of the stack */
if (!parentMap.has(el.passage)) {
parentMap.set(el.passage, new TallyElement(el.passage));
}
let tallyEl = parentMap.get(el.passage);
tallyEl.cumulativeTime += stopTime - el.startTime;
tallyEl.calls++;
}
function IncludeBegins(passage) {
Push(passage);
}
function IncludeEnds() {
PopAndTally();
}
$(document).on(':passagestart', function() {
if (V.profiler && !ProfileInclude.IsEnabled()) {
ProfileInclude.Start();
} else if (!V.profiler && ProfileInclude.IsEnabled()) {
ProfileInclude.Stop();
}
tally.clear();
if (ProfileInclude.IsEnabled()) {
Push(passage()); // put the "host" passage at the bottom of the stack
}
});
$(document).on(':passagedisplay', function() {
if (ProfileInclude.IsEnabled()) {
PopAndTally(); // tally the "host" passage too
let header = document.createElement("h2");
header.appendChild(document.createTextNode("Profile Data:"));
let rootList = document.createElement("ul");
let rootItem = document.createElement("li");
let rootData = tally.values().next().value; // should be just the one item in the map at this level
rootItem.appendChild(document.createTextNode(`${rootData.passage}: ${rootData.cumulativeTime.toFixed(0)}ms (100.00%)`));
rootItem.appendChild(rootData.outputBreakdown());
rootList.appendChild(rootItem);
$("#passages").append(header).append(rootList);
}
});
return {
Start: function() {
/* save off the builtin handler for the include macro, delete said macro, then re-register it with instrumentation */
if (!this.IsEnabled() && Macro.has('include')) {
builtinIncludeHandler = Macro.get('include').handler;
Macro.delete('include');
Macro.add('include', {handler() {
IncludeBegins(this.args[0]);
builtinIncludeHandler.call(this);
IncludeEnds();
}});
}
},
IsEnabled: function() {
return (builtinIncludeHandler !== null);
},
Stop: function() {
/* restore the original include macro handler */
if (this.IsEnabled()) {
Macro.delete('include');
Macro.add('include', {handler: builtinIncludeHandler});
builtinIncludeHandler = null;
}
},
IncludeBegins: IncludeBegins,
IncludeEnds: IncludeEnds
};
})();
|
MonsterMate/fc
|
src/debugging/profileInclude.js
|
JavaScript
|
mit
| 4,768
|
:: Variable Difference [nobr]
<<set $nextButton = " ">> /* disable the nextButton. Forces the user to use the "Go Back" option contained in the widget */
<<displayDifferences>>
|
MonsterMate/fc
|
src/debugging/variableDifference.tw
|
tw
|
mit
| 179
|
/**
* @param {DocumentFragment} [lastElement] will go on the same line as the last line
* @returns {DocumentFragment}
*/
App.Desc.playerArcology = function(lastElement) {
const A = V.arcologies[0];
const fragment = document.createDocumentFragment();
/**
* @param {(string|HTMLElement|DocumentFragment)[]} contents
*/
function addParagraph(...contents) {
if (contents.every(s => !s)) {
return; // don't bother adding blank divs
}
const para = App.UI.DOM.appendNewElement("div", fragment, '', "indent");
para.append(...App.Events.spaceSentences(contents));
}
/**
* @returns {DocumentFragment}
*/
function location() {
const fragment = document.createDocumentFragment();
fragment.append(App.UI.DOM.makeElement("span", A.name, "name"),
`, your arcology, is located in a Free City in ${V.terrain === "oceanic" ? "the middle of the ocean" : V.continent}. It is a huge structure whose${V.arcologyUpgrade.apron === 1 ? " solar-paneled" : ""} skin gleams in the sunshine${V.arcologyUpgrade.hydro === 1 ? ", while verdant exterior hydroponics bays lend it an air of growth" : ""}. `);
let buffer = [];
if (V.weatherCladding === 1) {
buffer.push(`Much of its beautiful exterior is now hidden behind dull panels of weather cladding${V.arcologyUpgrade.spire === 1 ? ", though its highest point is capped by a tall, elegant spire" : ""}.`);
} else if (V.weatherCladding === 2) {
buffer.push(`The entirety of its once dull exterior has been retrofitted with breathtaking golden sheets in eye catching designs${V.arcologyUpgrade.spire === 1 ? ", its highest point capped by a tall, magnificent spire" : ""}.`);
}
buffer.push(`Its${V.weatherCladding === 2 ? " glorious" : V.weatherCladding > 0 ? " dull" : V.arcologyUpgrade.apron === 1 ? " shining" : ""} bulk`);
if (V.terrain === "urban") {
buffer.push(`towers above the city around it; it is part of a cluster of arcologies that form a Free City in the midst of an old world urban area.`);
} else if (V.terrain === "rural") {
buffer.push(`rises above the buildings around it; it is part of a cluster of arcologies and smaller structures that form a Free City in the middle of a barren wilderness.`);
} else if (V.terrain === "ravine") {
buffer.push(`just barely peaks above the cliffs of its home valley; it is part of a cluster of arcologies and smaller structures that form a Free City in the depths of a deep ravine.`);
} else if (V.terrain === "marine") {
buffer.push(`rises above the shallow water all around it; it is part of a cluster of arcologies that form a Free City near the seashore.`);
} else {
buffer.push(`rises above the blue water all around it; it is part of a cluster of arcologies that form a Free City anchored over a seamount.`);
}
fragment.append(buffer.join(" "));
return fragment;
}
function weather() {
let buffer = [];
buffer.push(`You briefly glance out a large glass window of your penthouse to observe an open-air section of ${A.name}. `);
if (V.weatherToday.name === "Sunny") {
buffer.push(`Today is a stunningly perfect day. The ${V.terrain === "oceanic" ? "seagulls are squawking" : "birds are singing"}, the sun is shining, and the marketplace is bustling with the sounds of trade and laughter.`);
} else if (V.weatherToday.name === "Heavy Rain") {
buffer.push(`It's a downpour today, but that hasn't stopped your citizens from donning hats and umbrellas and heading to the market regardless. Citizens and slaves alike cluster under awnings and each other's umbrellas.`);
} else if (V.weatherToday.name === "Gentle Snow") {
buffer.push(`It's a beautiful snowy day outside. The arcology has a gorgeous sheet of pure white snow and you can see a few jolly-looking snowmen built in the brisk chill. Citizens are wearing light furs and drinking hot coffee in the lovely weather.`);
} else if (V.weatherToday.severity === 1 && V.weatherType === 1) {
buffer.push(`It's a lovely, warm day today and plenty of people are outside enjoying the nice weather while it lasts in skimpier clothing than usual.`);
} else if (V.weatherToday.severity === 1 && V.weatherType === 5) {
buffer.push(`It's a cozy, brisk day today, and many citizens are carrying cups of steaming coffee, hot chocolate, and more esoteric drinks to warm themselves while they're out and about.`);
} else if (V.weatherToday.severity === 1) {
buffer.push(`It's a nice day out today despite everything going on in the world, and plenty of citizens are outside enjoying the pleasant weather while it's here.`);
} else if (V.weatherToday.name === "Light T-Storms") {
buffer.push(`It's a thundering downpour today. The cracks of loud thunder occasionally make someone jump with surprise, but people still soldier on in raincoats and umbrellas.`);
} else if (V.weatherToday.name === "Acid Rain") {
buffer.push(`Acidic rain splashes down today with an intimidating sizzle. Beyond how disgusting the toxic rain is, it's not actually particularly dangerous though, and most people are still out in the streets.`);
} else if (V.weatherToday.severity === 2 && V.weatherType === 1) {
buffer.push(`It's an especially hot day out today, but that hasn't stopped the flow of commerce. Your industrious citizens are donning headscarves and hats to protect themselves from the heat as they trade and work in the streets, slick with sweat.`);
} else if (V.weatherToday.severity === 2 && V.weatherType === 2) {
buffer.push(`It's a particularly windy day today but the wind isn't bothering anyone too much. The breeze is almost refreshing, walking through the arcology's streets.`);
} else if (V.weatherToday.severity === 2 && V.weatherType === 3) {
buffer.push(`There's a gentle haze of smog hanging in the air that fogs up the arcology, but the smoke isn't too bad.`);
} else if (V.weatherToday.severity === 2 && V.weatherType === 4) {
buffer.push(`It's a nice day today, save for the slight haze of corruptive toxicity hanging in the air. The miasma is light enough that you can barely notice it, but it makes you turn up your nose in disgust when you do.`);
} else if (V.weatherToday.severity === 2 && V.weatherType === 5) {
buffer.push(`It's an especially cold day today and many citizens are opting to do their business in the warm confines of their homes and shops. This is the perfect kind of weather for curling up with a couple of slaves on your bed.`);
} else if (V.weatherToday.severity === 2 && V.weatherType === 6) {
buffer.push(`It's a nice day out today, and citizens are trading and speaking in the bustling marketplace as usual.`);
} else if (V.weatherToday.name === "Extreme T-Storms") {
buffer.push(`It's a torrent of rain and thunder today. Lightning angrily flashes through the air and the streets are watery and clogged, the cracks of terrifying thunder threatening to smash against the walls of the arcology. Many citizesn are staying inside due to the awful storm.`);
} else if (V.weatherToday.name === "Heavy Acid Rain") {
buffer.push(`Intense acidic rain splashes down from the skies, sizzling and popping against the arcology walls. The acid rain today is bad enough to be painful on bare skin, and it slowly rusts away metal like a toxic miasma. Many citizens are staying inside to avoid the horrific, polluted rain.`);
} else if (V.weatherToday.severity === 3 && V.weatherType === 1) {
buffer.push(`It's a scorching day outside and many citizens have retreated indoors to escape from the oppressive heat; those who haven't are wearing dusters and headscarves to protect themselves. The rustle of sand whips at the exterior of the arcology, and a haze of heat shimmers in the air.`);
} else if (V.weatherToday.severity === 3 && V.weatherType === 2) {
buffer.push(`It's an extremely windy day, riling up the waters and winds around the arcology into a chaotic frenzy. Fear of flooding and tornado damage is nearly omnipresent. The winds howl outside the arcology's walls.`);
} else if (V.weatherToday.severity === 3 && V.weatherType === 3) {
buffer.push(`A fog of smoke hangs in the air, clouding up the outdoors with ecological pollution. Many citizens have donned masks out today to protect themselves from the ash and smoke drifting through.`);
} else if (V.weatherToday.severity === 3 && V.weatherType === 4) {
buffer.push(`A cloud of corrupt, polluted miasma hangs over the arcology from the fires of industry roaring all around it. Many citizens have donned masks to walk outside today, hopefully free of the pollutive smog.`);
} else if (V.weatherToday.severity === 3 && V.weatherType === 5) {
buffer.push(`It's a freezing day outside today, and citizens are wearing thick fur jackets and dusters to protect themselves from the bitter cold. Snow bites at the exterior of the arcology, dusting everything in a fine white layer, and many citizens have retreating inside the escape the chill.`);
} else if (V.weatherToday.severity === 3 && V.weatherType === 6) {
buffer.push(`The arcology rumbles with the dangerous instability of the earth underneath its feet. Every so often, the arcology shakes, but its powerful supporting beams keep it locked securely in place.`);
} else if (V.weatherToday.severity === 4 && V.weatherType === 1) {
buffer.push(`The fury of the sun descends upon the arcology. Sand and stone roar outside the gates, and a brutal haze of raw heat shimmers through every inch of the city. Metal and rubber are melting in the open air, the lands around the arcology are scorched into a burnt wasteland, and only the shielding protection of powerful weather cladding could possibly enable any sort of outside conduct or trade today.`);
} else if (V.weatherToday.severity === 4 && V.weatherType === 2) {
buffer.push(`The rage of the wind descends upon the arcology. Horrific tornados whip furiously at the arcology's walls, the crack of thunder and lightning strikes down to every side, and less stable buildings outside the gilded walls are ripped and shattered by the angry winds. Only the shielding protection of powerful weather cladding could possibly enable any sort of outside conduct or trade today.`);
} else if (V.weatherToday.severity === 4 && V.weatherType === 3) {
buffer.push(`A suffocating cloud of ash and smoke descends upon the arcology. The smoky ash is so thick it blots out windows and glasses, and even bulky masks aren't immune to the choking grasp of the smoky haze. Only the shielding protection of powerful weather cladding could possibly enable any sort of outside conduct or trade today.`);
} else if (V.weatherToday.severity === 4 && V.weatherType === 4) {
buffer.push(`A horrific fog of corruption descends upon the arcology. The pollution in the air is practically visible, blurring the air with the thick, smelly fog of mankind's arrogant industry. Waters outside the arcology are turning unnatural greens and reds, and the drift of deadly radiation lingers poisonously nearby. Only the shielding protection of powerful weather cladding could possibly enable any sort of outside conduct or trade today.`);
} else if (V.weatherToday.severity === 4 && V.weatherType === 5) {
buffer.push(`The frenzy of winter descends upon the arcology. Terrible whips of snow smash against the arcology's walls and coat everything in a deep white, absorbing all into a howling vortex of ice and snow. Even the thickest furs seem to offer little protection against this arctic chill. Only the shielding protection of powerful weather cladding could possibly enable any sort of outside conduct or trade today.`);
} else if (V.weatherToday.severity === 4 && V.weatherType === 6) {
buffer.push(`The anger of the earth has come up towards the arcology. The whole city rumbles and quivers with the force of shifting tectonic plates underneath, sending mud crashing against the arcology's walls and violently shaking the whole arcology every so often with enough force to throw things off shelves and send them crashing to the ground. Only the shielding protection of powerful weather cladding could possibly enable any sort of outside conduct or trade today.`);
}
return buffer.join(" ");
}
function deco100() {
if (FutureSocieties.HighestDecoration() < 100) {
return "";
}
let buffer = [];
if (A.FSChattelReligionistDecoration >= 100) {
buffer.push(`The uppermost point on the arcology is capped by a massive religious icon.`);
}
if (A.FSRomanRevivalistDecoration >= 100) {
buffer.push(`The entrances of the arcology are built of white stone, with graceful columns bringing Rome immediately to mind.`);
} else if (A.FSNeoImperialistDecoration >= 100) {
buffer.push(`The entrances of the arcology are built with marble, most of it hidden under hanging banners marked with your family crest.`);
} else if (A.FSAztecRevivalistDecoration >= 100) {
buffer.push(`The entrances of the arcology are built of obsidian, giving them a nice sheen as they absorb the sun's rays.`);
} else if (A.FSEgyptianRevivalistDecoration >= 100) {
buffer.push(`The entrances of the arcology are built of sandstone, with richly carved columns bringing ancient Egypt immediately to mind.`);
} else if (A.FSEdoRevivalistDecoration >= 100) {
buffer.push(`The entrances of the arcology are built of close fitted stone topped with the white walls of a feudal Japanese castle.`);
} else if (A.FSArabianRevivalistDecoration >= 100) {
buffer.push(`The entrances of the arcology are built of warm stone and crowded with the busy commerce of an Arabian revival.`);
} else if (A.FSChineseRevivalistDecoration >= 100) {
buffer.push(`The entrances of the arcology are guarded by bronze statues of traditional Chinese guardian spirits.`);
}
const {he: heP, his: hisP} = getPronouns(V.PC);
let statue;
if (V.PC.dick !== 0) {
if (V.PC.vagina !== -1) {
statue = "futanari";
} else if (V.PC.boobs >= 300) {
statue = "shemale";
} else {
statue = "male";
}
} else {
statue = "female";
}
buffer.push(`Outside the main entrance, there is an enormous statue of an idealized figure with several statues of nude slaves at its feet.`);
if (A.FSStatuesqueGlorification === 100) {
buffer.push(`The central ${statue} figure towers over the area.`);
}
if (A.FSSupremacistDecoration === 100) {
buffer.push(`The central ${statue} figure has distinctly ${A.FSSupremacistRace} features.`);
}
if (A.FSSubjugationistDecoration === 100) {
buffer.push(`The slaves have exaggerated ${A.FSSubjugationistRace} features.`);
}
if (A.FSGenderRadicalistDecoration === 100) {
buffer.push(`The slaves are all hermaphrodites.`);
}
if (A.FSGenderFundamentalistDecoration === 100) {
buffer.push(`The slaves are all perfectly female.`);
}
if (A.FSPaternalistDecoration === 100) {
buffer.push(`The slaves are gazing adoringly up at the central ${statue} figure.`);
}
if (A.FSDegradationistDecoration === 100) {
buffer.push(`The slaves are cowering, and are wearing chains.`);
}
if (A.FSBodyPuristDecoration === 100) {
buffer.push(`The slaves' bodies are idealized, too.`);
}
if (A.FSTransformationFetishistDecoration === 100) {
buffer.push(`The slaves have unnaturally narrow waists and big breasts.`);
}
if (A.FSYouthPreferentialistDecoration === 100) {
if (V.minimumSlaveAge < 13) {
buffer.push(`The slaves are cute lolis with round, innocent faces.`);
} else {
buffer.push(`The slaves are young, with smooth, innocent faces.`);
}
}
if (A.FSMaturityPreferentialistDecoration === 100) {
buffer.push(`The slaves are mature, with motherly bodies.`);
}
if (A.FSSlimnessEnthusiastDecoration === 100) {
buffer.push(`The slaves have pretty, girlish figures.`);
}
if (A.FSPetiteAdmirationDecoration === 100) {
buffer.push(`The slaves are quite short.`);
}
if (A.FSAssetExpansionistDecoration === 100) {
buffer.push(`The slaves' breasts are unrealistically huge, almost as large as the rest of their bodies.`);
}
if (A.FSRepopulationFocusDecoration === 100) { /* Can this be made one line? */
if (V.PC.vagina !== -1) {
buffer.push(`The slaves are heavily pregnant, as is the central ${V.PC.dick !== 0 ? "futanari" : "female"} figure.`);
} else {
buffer.push(`The slaves are heavily pregnant.`);
}
}
if (A.FSRestartDecoration === 100) {
buffer.push(`The central`);
if (V.PC.dick > 0) {
if (V.PC.vagina >= 0) {
buffer.push(`futanari figure's balls are oversized and ${hisP} stomach slightly rounded,`);
} else if (V.PC.boobs >= 300) {
buffer.push(`shemale figure's balls are swollen with virile seed,`);
} else {
buffer.push(`male figure's balls are swollen with virile seed,`);
}
} else {
buffer.push(`female figure's stomach is slightly rounded,`);
}
buffer.push(`announcing its fertility, while the slaves wear chastity devices.`);
}
if (A.FSPastoralistDecoration === 100) {
buffer.push(`The statuary is located in the middle of a fountain; the slaves' nipples pour water into the pool beneath.`);
}
if (A.FSPhysicalIdealistDecoration === 100) {
buffer.push(`Both the central ${statue} figure and the slaves are ${A.FSPhysicalIdealistLaw === 1 ? "quite fit" : "very muscular"}.`);
}
if (A.FSHedonisticDecadenceDecoration === 100) {
buffer.push(`The central ${statue} figure has a distinct softness to its body, while the slaves are delightfully rotund.`);
}
if (A.FSIntellectualDependencyDecoration === 100) {
buffer.push(`The slaves are visibly aroused.`);
}
if (A.FSSlaveProfessionalismDecoration === 100) {
buffer.push(`The slaves have flawless posture.`);
}
if (A.FSChattelReligionistDecoration === 100) {
buffer.push(`The central ${statue} figure has a halo behind ${hisP} head, and the slaves are in attitudes of worship.`);
}
if (A.FSRomanRevivalistDecoration === 100) {
buffer.push(`The central ${statue} figure is wearing a toga; ${heP} has a laurel wreath about ${hisP} brow.`);
}
if (A.FSNeoImperialistDecoration === 100) {
buffer.push(`The central ${statue} figure is wearing a suit of tight-fitting, advanced battle armor that clearly defines ${hisP} musculature, and a magnificent Emperor's crown atop ${hisP} head.`);
}
if (A.FSAztecRevivalistDecoration === 100) {
buffer.push(`The central ${statue} figure is wearing a feathered cloak, ornamented with jewels; ${heP} has a giant headdress on ${hisP} head.`);
}
if (A.FSEgyptianRevivalistDecoration === 100) {
buffer.push(`The central ${statue} figure is wearing a pharaoh's crown.`);
}
if (A.FSEdoRevivalistDecoration === 100) {
buffer.push(`The central ${statue} figure has a hand resting confidently on the hilts of the sheathed katana and wakizashi ${heP} has thrust through the sash about ${hisP} waist.`);
}
if (A.FSArabianRevivalistDecoration === 100) {
buffer.push(`The central ${statue} figure is wearing a turban and flowing robes.`);
}
if (A.FSChineseRevivalistDecoration === 100) {
buffer.push(`The central ${statue} figure is wearing the robes of an ancient Chinese ${V.PC.title === 1 ? "Emperor" : "Empress"}.`);
}
return buffer.join(" ");
}
addParagraph(location(), weather(), deco100());
/**
* @returns {string}
*/
function deco40() {
if (FutureSocieties.HighestDecoration() < 40) {
return "";
}
let buffer = [];
buffer.push(`The entryway features the first of ${A.name}'s many banks of public screens.`);
if (A.FSSupremacistDecoration >= 40) {
buffer.push(`Some are showing talk shows and documentaries supporting ${A.FSSupremacistRace} supremacy.`);
}
if (A.FSSubjugationistDecoration >= 40) {
buffer.push(`Some are showing long pseudoscientific programs explaining ${A.FSSubjugationistRace} degeneracy.`);
}
if (A.FSDegradationistDecoration >= 40) {
buffer.push(`Some are showing abusive pornography involving slaves being beaten, sodomized, and modified against their will.`);
}
if (A.FSIntellectualDependencyDecoration >= 40) {
buffer.push(`Some are showing simple, colorful, and very sexual programs made to excite slow slaves.`);
}
if (A.FSSlaveProfessionalismDecoration >= 40) {
buffer.push(`Some are showing self-improvement shows on how to be a better slave for one's owner.`);
}
if (A.FSRepopulationFocusDecoration >= 40) {
buffer.push(`Some are showing medical programs about pregnancy, interspersed with pornography starring slaves with big pregnant bellies.`);
}
if (A.FSRestartDecoration >= 40) {
buffer.push(`Some are showing propaganda discouraging slave pregnancy, while encouraging the Elite to interbreed. Others urge free citizens to join the Societal Elite today.`);
}
if (A.FSGenderFundamentalistDecoration >= 40) {
buffer.push(`Some are showing pornography starring women with perfect tits, tight asses and nice pussies.`);
}
if (A.FSPaternalistDecoration >= 40) {
buffer.push(`Some are showing educational programs for the edification of slaves, and news programs featuring slave accomplishments.`);
}
if (A.FSDegradationistDecoration >= 40) {
buffer.push(`Some are showing abusive pornography involving slaves being beaten, sodomized, and modified against their will.`);
}
if (A.FSBodyPuristDecoration >= 40) {
buffer.push(`Some are showing sports programs, the latest games, and self-improvement videos.`);
}
if (A.FSTransformationFetishistDecoration >= 40) {
buffer.push(`Some are showing medical programs about surgical transformation, interspersed with pornography starring slaves with fake tits.`);
}
if (A.FSYouthPreferentialist >= 40) {
buffer.push(`Most of the girls featured are just over the age of majority.`);
}
if (A.FSMaturityPreferentialist >= 40) {
buffer.push(`Most of the ladies featured are nice and mature.`);
}
if (A.FSStatuesqueGlorificationDecoration >= 40) {
buffer.push(`Some are showing infomercials on how to appear taller, interspersed with pornography starring tall slaves.`);
}
if (A.FSPetiteAdmirationDecoration >= 40) {
buffer.push(`Some are showing infomercials for accommodating short slaves, interspersed with pornography focusing on the size differences between owners and slaves.`);
}
if (A.FSSlimnessEnthusiastDecoration >= 40) {
buffer.push(`Some are showing workout videos interspersed with pornography starring slim slaves.`);
}
if (A.FSAssetExpansionistDecoration >= 40) {
buffer.push(`Some are playing pornography starring slaves with huge assets, interspersed with pharmaceutical advertisements.`);
}
if (A.FSPastoralistDecoration >= 40) {
buffer.push(`Some are showing informational agricultural programs interspersed with pornography starring slaves who are lactating heavily${V.seePreg === 1 ? ", hugely pregnant, or often both" : ""}.`);
}
if (A.FSPhysicalIdealistDecoration >= 40) {
buffer.push(`Some are showing`);
if (A.FSPhysicalIdealistLaw === 1) {
buffer.push(`athletic competitions, advertisements for supplements, and pornography starring physically fit slaves.`);
} else {
buffer.push(`bodybuilding competitions, advertisements for supplements, and pornography starring hugely muscular slaves.`);
}
}
if (A.FSHedonisticDecadenceDecoration >= 40) {
buffer.push(`Some are showing pampering spas, advertisements for various eateries, and pornography starring corpulent slaves and food.`);
}
if (A.FSChattelReligionistDecoration >= 40) {
buffer.push(`Some are showing religious services interspersed with serious programs on the compatibility of sexual slavery with the faith.`);
}
if (A.FSRomanRevivalistDecoration >= 40) {
buffer.push(`Some are showing announcements on ${A.name}'s progress prepared by the state media for the edification of citizens.`);
} else if (A.FSNeoImperialistDecoration >= 40) {
buffer.push(`Some are showing glorified videos of Imperial Knights dominating futuristic battlefields; others show formal debates on the importance of hierarchy.`);
} else if (A.FSAztecRevivalistDecoration >= 40) {
buffer.push(`Some are glorifying the Five Suns and the role of sacrifice and bloodletting.`);
} else if (A.FSEgyptianRevivalistDecoration >= 40) {
buffer.push(`Some are showing educational and scientific programs interspersed with multicultural features.`);
} else if (A.FSEdoRevivalistDecoration >= 40) {
buffer.push(`Some are showing historical dramas set in Edo Japan.`);
} else if (A.FSArabianRevivalistDecoration >= 40) {
buffer.push(`Some are showing dramatic retellings of traditional Bedouin fables.`);
} else if (A.FSChineseRevivalistDecoration >= 40) {
buffer.push(`Some are showing ancient Chinese operas.`);
}
if (V.arcologyUpgrade.grid === 1) {
buffer.push(`The programming is constantly updated to suit the individual viewer.`);
if (V.brothelAdsSpending > 0) {
buffer.push(`Pornographic advertisements for the brothel are interspersed with the programming.`);
if (V.brothelAdsOld === 1) {
buffer.push(`The featured slave actresses are all MILFs.`);
} else if (V.brothelAdsOld === -1) {
buffer.push(`The featured slave actresses are all nice and young.`);
} else if (V.brothelAdsOld === -2) {
buffer.push(`The featured slave actresses are all teenagers.`);
} else if (V.brothelAdsOld === -3) {
buffer.push(`The featured slave actresses are all lolis.`);
} else {
buffer.push(`The featured slave actresses vary in age.`);
}
if (V.brothelAdsStacked === 1) {
buffer.push(`Lots of bouncing breasts and butts`);
} else if (V.brothelAdsStacked === -1) {
buffer.push(`Lots of trim breasts and shapely butts`);
} else {
buffer.push(`A variety of breast and butt sizes and shapes`);
}
buffer.push(`are on display, and`);
if (V.brothelAdsImplanted === 1) {
buffer.push(`most of these are augmented by implants.`);
} else if (V.brothelAdsImplanted === -1) {
buffer.push(`they're all natural.`);
} else {
buffer.push(`some are augmented by implants.`);
}
if (V.seePreg === 1) {
if (V.brothelAdsPreg === 1) {
buffer.push(`Most of the slaves have firm, rounded bellies.`);
} else if (V.brothelAdsPreg === -1) {
buffer.push(`Most of the slaves have firm, flat bellies.`);
} else {
buffer.push(`Some of the slaves are pregnant.`);
}
}
if (V.brothelAdsModded === 1) {
buffer.push(`Everything is heavily pierced and tattooed.`);
} else if (V.brothelAdsModded === -1) {
buffer.push(`Everything is free of tattoos and piercings.`);
} else {
buffer.push(`Some of these assets are tattooed and pierced, and some aren't.`);
}
buffer.push(`The slaves in the ads are`);
if (V.brothelAdsXX === 1) {
buffer.push(`sucking dick and taking cock in their pussies and asses.`);
} else if (V.brothelAdsXX === -1) {
buffer.push(`sucking cock and being assfucked while their dicks flop around.`);
} else {
buffer.push(`sucking dick and taking anal, and the ones that have pussies are being fucked there, too.`);
}
const t = `As a result, ${V.brothelName} is known as the place to go if you want to rent`;
if (V.brothelAdsXX === 1) {
if (V.brothelAdsImplanted === 1 && V.brothelAdsStacked === 1) {
buffer.push(`${t} a${V.brothelAdsPreg === 1 ? " pregnant" : ""} bimbo's pussy.`);
} else if (V.brothelAdsOld === 1) {
buffer.push(`${t} a${V.brothelAdsPreg === 1 ? " pregnant" : ""} MILF's tits.`);
} else if (V.brothelAdsOld === -3) {
buffer.push(`${t} ${addA(`${V.brothelAdsPreg === 1 ? "pregnant " : ""}${V.brothelAdsStacked === 1 ? "oppai " : ""}loli.`)}`);
} else if (V.brothelAdsPreg === 1) {
buffer.push(`${t} a pregnant girl.`);
}
} else if (V.brothelAdsXX === -1) {
if (V.brothelAdsStacked === 1) {
buffer.push(`${t} a shemale's asspussy.`);
} else if (V.brothelAdsStacked === -1) {
buffer.push(`${t} a trap's tight ass.`);
}
}
}
if (V.clubAdsSpending > 0) {
buffer.push(`Music videos set in ${V.clubName} are also shown frequently.`);
if (V.clubAdsOld === 1) {
buffer.push(`The featured strippers are all MILFs.`);
} else if (V.clubAdsOld === -1) {
buffer.push(`The featured strippers are all nice and young.`);
} else if (V.clubAdsOld === -2) {
buffer.push(`The featured strippers are all teenagers.`);
} else if (V.clubAdsOld === -3) {
buffer.push(`The featured strippers are all lolis.`);
} else {
buffer.push(`The featured strippers vary in age.`);
}
if (V.clubAdsStacked === 1) {
buffer.push(`Lots of bouncing breasts and butts`);
} else if (V.clubAdsStacked === -1) {
buffer.push(`Lots of trim breasts and shapely butts`);
} else {
buffer.push(`A variety of breast and butt sizes and shapes`);
}
buffer.push(`are on display, and`);
if (V.clubAdsImplanted === 1) {
buffer.push(`most of these are augmented by implants.`);
} else if (V.clubAdsImplanted === -1) {
buffer.push(`they're all natural.`);
} else {
buffer.push(`some are augmented by implants.`);
}
if (V.seePreg === 1) {
if (V.clubAdsPreg === 1) {
buffer.push(`Most of strippers have firm, rounded bellies.`);
} else if (V.clubAdsPreg === -1) {
buffer.push(`Most of the strippers have firm, flat bellies.`);
} else {
buffer.push(`Some of the strippers are pregnant.`);
}
}
if (V.clubAdsModded === 1) {
buffer.push(`Everything is heavily pierced and tattooed.`);
} else if (V.clubAdsModded === -1) {
buffer.push(`Everything is free of tattoos and piercings.`);
} else {
buffer.push(`Some of these assets are tattooed and pierced, and some aren't.`);
}
buffer.push(`The strippers get naked quickly, and show off`);
if (V.clubAdsXX === 1) {
buffer.push(`their pussies and assholes.`);
} else if (V.clubAdsXX === -1) {
buffer.push(`their assholes.`);
} else {
buffer.push(`their holes.`);
}
buffer.push(`The music videos are very popular.`);
const t = `As a result, ${V.clubName} is known as the place to spend a night partying with`;
if (V.clubAdsXX === 1) {
if (V.clubAdsImplanted === 1 && V.clubAdsStacked === 1) {
buffer.push(`${t}${V.clubAdsPreg === 1 ? " pregnant" : ""} bimbos.`);
} else if (V.clubAdsOld === 1) {
buffer.push(`${t}${V.clubAdsPreg === 1 ? " pregnant" : ""} MILFs.`);
} else if (V.clubAdsOld === -3) {
buffer.push(`${t}${V.clubAdsPreg === 1 ? " pregnant" : ""}${V.brothelAdsStacked === 1 ? " oppai" : ""} lolis.`);
} else if (V.clubAdsPreg === 1) {
buffer.push(`${t} with pregnant sluts.`);
}
} else if (V.clubAdsXX === -1) {
if (V.clubAdsStacked === 1) {
buffer.push(`${t} with shemales.`);
} else if (V.clubAdsStacked === -1) {
buffer.push(`${t} traps.`);
}
}
}
}
return buffer.join(" ");
}
addParagraph(deco40());
/**
* @returns {string}
*/
function secExp() {
if (V.secExpEnabled === 0) {
return "";
}
let buffer = [];
if (V.SecExp.buildings.propHub) {
buffer.push(`A small street hides a surprisingly inconspicuous building, whose task is to manage your public image, protection and population control.`);
}
if (V.SecExp.buildings.secHub) {
buffer.push(`In a secure corner of the penthouse, the Security HQ silently works to build a safe and prosperous arcology.`);
}
if (V.SecExp.buildings.barracks) {
buffer.push(`At the center of the structure the barracks can be found filling the halls with the noise of ballistic weapons and training troops.`);
}
if (V.SecExp.buildings.weapManu) {
buffer.push(`Down in the lower levels of the arcology the weapons manufacturing facility dominates the environment; there, armaments of all kind are produced and shipped away.`);
}
if (V.SecExp.buildings.riotCenter) {
buffer.push(`Near the penthouse the riot control center can be found. Here dissidents and dangerous political forces of ${A.name} are carefully monitored and managed.`);
}
if (V.SecExp.buildings.transportHub) {
buffer.push(`The transport hub, in the commercial section of the arcology, deals with new arrivals to ${A.name} via ${V.terrain === "oceanic" || V.terrain === "marine" ? "sea" : "land"} in addition to air.`);
}
return buffer.join(" ");
}
addParagraph(secExp());
function deco60() {
if (FutureSocieties.HighestDecoration() < 60) {
return "";
}
let buffer = [];
buffer.push(`The central plaza is a large open atrium lined with banners.`);
if (A.FSSupremacistDecoration >= 60) {
buffer.push(`Some depict great achievements in ${A.FSSupremacistRace} history.`);
}
if (A.FSSubjugationistDecoration >= 60) {
buffer.push(`Some depict crushing defeats in ${A.FSSubjugationistRace} history.`);
}
if (A.FSGenderRadicalistDecoration >= 60) {
buffer.push(`Some are split horizontally in three: one part depicts penetration of a woman's pussy, another depicts penetration of a shemale's anus, and the third depicts simultaneous penetration of a hermaphrodite's pussy and anus. The order in which they appear, top to bottom, varies from banner to banner.`);
}
if (A.FSGenderFundamentalistDecoration >= 60) {
buffer.push(`Some lovingly depict close-ups of pussies, a different one on each banner, in all their beauty and variation.`);
}
if (A.FSPaternalistDecoration >= 60) {
buffer.push(`Some feature respectful portraits of some of the arcology's most talented slaves doing what they're best at.`);
}
if (A.FSRepopulationFocusDecoration >= 60) {
buffer.push(`Some feature respectful portraits of happy pregnant women.`);
}
if (A.FSRestartDecoration >= 60) {
buffer.push(`Some feature respectful portraits of society's finest.`);
}
if (A.FSBodyPuristDecoration >= 60) {
buffer.push(`Some feature portraits of pristine nude bodies without a blemish or marking.`);
}
if (A.FSTransformationFetishistDecoration >= 60) {
buffer.push(`Some depict sex featuring some of the arcology's most heavily implanted slaves.`);
}
if (A.FSYouthPreferentialistDecoration >= 60) {
buffer.push(`Some depict idealized outlines of youthful bodies, with trim hips and pure faces.`);
}
if (A.FSMaturityPreferentialistDecoration >= 60) {
buffer.push(`Some depict idealized outlines of mature bodies, with motherly hips and knowing faces.`);
}
if (A.FSPetiteAdmirationDecoration >= 60) {
buffer.push(`Some depict sex between bodies of vastly different sizes.`);
}
if (A.FSStatuesqueGlorificationDecoration >= 60) {
buffer.push(`Some depict idealized outlines of statuesque bodies.`);
}
if (A.FSSlimnessEnthusiastDecoration >= 60) {
buffer.push(`Some feature artistic depictions of slender girls, running, dancing, and in the midst of the act of love.`);
}
if (A.FSAssetExpansionistDecoration >= 60) {
buffer.push(`Some feature lewd close-ups of enormous breasts and giant asses.`);
}
if (A.FSPastoralistDecoration >= 60) {
buffer.push(`Some feature prizewinning cows.`);
}
if (A.FSPhysicalIdealistDecoration >= 60) {
buffer.push(`Some feature`);
if (A.FSPhysicalIdealistLaw === 1) {
buffer.push(`athletic portraits of the arcology's fastest, strongest, and healthiest girls.`);
} else {
buffer.push(`some of the arcology's most swole ladies.`);
}
}
if (A.FSHedonisticDecadenceDecoration >= 60) {
buffer.push(`Many feature the most popular entertainment options your arcology has to offer.`);
}
if (A.FSChattelReligionistDecoration >= 60) {
buffer.push(`Many include religious iconography.`);
}
if (A.FSSlaveProfessionalismDecoration >= 60) {
buffer.push(`Most were handcrafted by the local chattel.`);
}
if (A.FSDegradationistDecoration >= 60) {
buffer.push(`There are cages hanging from the ceiling of the central plaza; a naked slave occupies each one.`);
}
if (A.FSRomanRevivalistDecoration >= 60) {
buffer.push(`The central plaza is decorated to look like a thriving Roman forum on market day.`);
} else if (A.FSNeoImperialistDecoration >= 60) {
buffer.push(`The central plaza is a brightly-colored mix between an Imperial marketplace and a crowded, futuristic forum, with street peddlers advertising fine nanolinens and advanced medicinal syringes between granite statues of stoic, proud Knights.`);
} else if (A.FSAztecRevivalistDecoration >= 60) {
buffer.push(`The central plaza is decorated to look like a tribute to the gods, with huge statues, all looking in awe at the central temple. Many merchants peddle the goods of the new millennium.`);
} else if (A.FSEgyptianRevivalistDecoration >= 60) {
buffer.push(`The central plaza is decorated to look like a thriving ancient Egyptian market on a festival day.`);
} else if (A.FSEdoRevivalistDecoration >= 60) {
buffer.push(`The central plaza is decorated to look like a vision of urban Edo Japan, with strings of lanterns crisscrossing the space and the petals from cherry blossoms floating gently through the air.`);
} else if (A.FSArabianRevivalistDecoration >= 60) {
buffer.push(`The central plaza is decorated to look like a thriving Arabian slave market.`);
} else if (A.FSChineseRevivalistDecoration >= 60) {
buffer.push(`The central plaza is constructed as a Chinese water market, with stalls set up to serve customers passing by on boats riding on shallow canals.`);
}
return buffer.join(" ");
}
const d60 = deco60();
let drones = "";
if (V.arcologyUpgrade.drones === 1) {
if (d60 !== "") {
drones = `A security drone occasionally flies across the open space.`;
} else {
drones = `The central plaza is a large atrium; a security drone occasionally flies across the open space.`;
}
}
addParagraph(deco60(), drones);
function deco80part1() {
if (FutureSocieties.HighestDecoration() < 80) {
return "";
}
let buffer = [];
buffer.push(` There are numerous slaves stationed down on the plaza to greet visitors.`);
if (A.FSSlaveProfessionalismDecoration >= 80) {
buffer.push(`They're intelligent and articulate.`);
}
if (A.FSPaternalistDecoration >= 80) {
buffer.push(`All are healthy and happy.`);
}
if (A.FSBodyPuristDecoration >= 80) {
buffer.push(`Most are pretty and unspoiled.`);
}
if (A.FSStatuesqueGlorificationDecoration >= 80) {
buffer.push(`Plenty are tall for their age.`);
}
if (A.FSTransformationFetishistDecoration >= 80) {
if (A.FSTransformationFetishistResearch === 1) {
buffer.push(`Most have absolutely enormous fake tits, lips and asses. Some even have breasts and butts larger than their entire bodies.`);
} else {
buffer.push(`Most have enormous fake tits, lips and asses.`);
}
}
if (A.FSYouthPreferentialistDecoration >= 80) {
buffer.push(`Most are quite young, and a fair amount of energetic giggling can be heard.`);
}
if (A.FSMaturityPreferentialistDecoration >= 80) {
buffer.push(`Most are quite mature, and very experienced; they see nothing unusual about offering visitors public sex as a way to welcome them to ${A.name}.`);
}
if (A.FSSlimnessEnthusiastDecoration >= 80) {
buffer.push(`Many are girlish and energetic.`);
}
if (A.FSIntellectualDependencyDecoration >= 80) {
buffer.push(`More than few are getting a little hands-on with the visitors.`);
}
if (A.FSAssetExpansionistDecoration >= 80) {
if (A.FSAssetExpansionistResearch === 1) {
buffer.push(`Many are using wheeled stands to permit them to stand despite their titanic breasts${V.seeDicks > 0 ? ", massive asses, trunk-like cocks and boulder-sized balls" : " and massive asses"}.`);
} else {
buffer.push(`Many are wearing custom bras to manage their enormous breasts.`);
}
}
if (A.FSRepopulationFocusDecoration >= 80) {
buffer.push(`Most have large pregnant bellies.`);
}
if (A.FSRestartDecoration >= 80) {
buffer.push(`All are either wearing chastity or are infertile.`);
}
if (A.FSPetiteAdmirationDecoration >= 80) {
buffer.push(`Most are making use of raised platforms to give guests a better view of their short figures.`);
}
if (A.FSPastoralistDecoration >= 80) {
buffer.push(`Many of them can offer visitors a sample of ${A.name}'s pride and joy, straight from the nipple.`);
}
if (A.FSPhysicalIdealistDecoration >= 80) {
if (A.FSPhysicalIdealistLaw === 1) {
buffer.push(`Their bodies are uniformly fit and healthy${A.FSRomanRevivalist > 0 ? " in the Hellenistic tradition" : ""}.`);
} else {
buffer.push(`Their musculature is uniformly stunning. Swole acceptance is high here.`);
}
}
if (A.FSHedonisticDecadenceDecoration >= 80) {
buffer.push(`Most are quite plush and often carry trays for visitors to sample the local pleasures.`);
}
if (A.FSRomanRevivalistDecoration >= 80) {
buffer.push(`Many are wearing authentic ancient Roman stolas and maintaining composed and dignified attitudes.`);
} else if (A.FSNeoImperialistDecoration >= 80) {
buffer.push(`Many are wearing high-tech, tight-fitting bodysuits, all of which bear crests marking their noble owners.`);
} else if (A.FSAztecRevivalistDecoration >= 80) {
buffer.push(`Many are wearing authentic Aztec huipils, woven specifically to draw the attention of the visitors.`);
} else if (A.FSEgyptianRevivalistDecoration >= 80) {
buffer.push(`Many are wearing authentic ancient Egyptian dresses, and are dancing and making merry when they aren't assisting people.`);
} else if (A.FSEdoRevivalistDecoration >= 80) {
buffer.push(`Many are wearing daring kimonos, and politely greet visitors by their proper titles.`);
} else if (A.FSArabianRevivalistDecoration >= 80) {
buffer.push(`Many are wearing beguiling harem girl outfits, and dance to set the little bells attached to the fabric jingling.`);
} else if (A.FSChineseRevivalistDecoration >= 80) {
buffer.push(`Many are wearing qipaos cut very short, and jostle and chatter in the throng that packs the plaza.`);
}
if (A.FSGenderRadicalistDecoration >= 80) {
if (A.FSGenderRadicalistResearch === 1) {
buffer.push(`On several raised stands around the plaza, girls with dicks are stripping for the pleasure of passersby. Some of them are noticeably pregnant, despite lacking vaginas.`);
} else {
buffer.push(`On several raised stands around the plaza, girls with dicks are stripping for the pleasure of passersby.`);
}
}
if (A.FSGenderFundamentalistDecoration >= 80) {
buffer.push(`On several raised stands around the plaza, female slaves are stripping for the pleasure of passersby.`);
}
if (A.FSChattelReligionistDecoration >= 80) {
buffer.push(`A handful of slaves are in religious attire, praying. They help if asked, and will even lead brief religious services if requested.`);
}
if (A.FSDegradationistDecoration >= 80) {
buffer.push(`Numerous downtrodden slaves are working on the plaza at menial tasks. Some are even carrying citizens in sedan chairs.`);
}
if (A.FSSupremacistDecoration >= 80) {
buffer.push(`Here and there around the plaza, slaves of every race besides ${A.FSSupremacistRace} people can be seen carrying things, cleaning, and even shining shoes.`);
}
if (A.FSSubjugationistDecoration >= 80) {
buffer.push(`In the center of the plaza, an auction of a large group of frightened ${A.FSSubjugationistRace} slaves is taking place.`);
}
if (V.assistant.power > 0) {
buffer.push(`The plaza is packed with citizens doing business.`);
}
return buffer.join(" ");
}
addParagraph(deco80part1());
function deco80part2() {
if (FutureSocieties.HighestDecoration() < 80) {
return "";
}
let buffer = [];
if (A.FSSupremacistDecoration >= 80) {
buffer.push(`The chanted sounds of indoctrination can faintly be heard in the plaza.`);
}
if (A.FSSubjugationistDecoration >= 80) {
buffer.push(`Judging by the sound of leather on flesh, a whipping is happening somewhere close by the plaza.`);
}
if (A.FSGenderRadicalistDecoration >= 80) {
buffer.push(`A slave is being sodomized in a parlor off the plaza, to go by the pained moaning.`);
}
if (A.FSGenderFundamentalistDecoration >= 80) {
buffer.push(`A slave is being fucked in a parlor off the plaza, to go by the gasps of pleasure.`);
}
if (A.FSPaternalistDecoration >= 80) {
buffer.push(`The sounds of orgasm are drifting out of a hallway off the plaza.`);
}
if (A.FSDegradationistDecoration >= 80) {
buffer.push(`Agonized screaming is drifting out of a hallway off the plaza.`);
}
if (A.FSPetiteAdmirationDecoration >= 80) {
buffer.push(`The squeals of a slave being whisked off their feet somewhere off the plaza.`);
}
if (A.FSBodyPuristDecoration >= 80) {
buffer.push(`Splashing water in a swimming pool can be heard from below the plaza.`);
}
if (A.FSRepopulationFocusDecoration >= 80) {
buffer.push(`The sound of a woman in labor can be heard from somewhere off the plaza.`);
}
if (A.FSTransformationFetishistDecoration >= 80) {
buffer.push(`The heavy beat of club music can be heard on the plaza.`);
}
if (A.FSSlaveProfessionalismDecoration >= 80) {
buffer.push(`A deep discussion over sexual technique can be heard from a nearby balcony.`);
}
if (A.FSIntellectualDependencyDecoration >= 80) {
buffer.push(`Giggles and moans are drifting out of a hallway off the plaza.`);
}
if (A.FSRestartDecoration >= 80) {
buffer.push(`The sound of a fertile slave being viciously beaten can be heard from a side hall.`);
}
if (A.FSYouthPreferentialistDecoration >= 80) {
buffer.push(`The squeals of a young slave taking cock in a tight hole are coming from somewhere off the plaza.`);
}
if (A.FSMaturityPreferentialistDecoration >= 80) {
buffer.push(`The throaty laughter of an amused older woman is coming from somewhere off the plaza.`);
}
if (A.FSSlimnessEnthusiastDecoration >= 80) {
buffer.push(`The quiet murmur of feet on a running track can be heard from the club above the plaza.`);
}
if (A.FSAssetExpansionistDecoration >= 80) {
buffer.push(`Stereotypical bimbo giggling can be heard from the club above the plaza.`);
}
if (A.FSStatuesqueGlorification >= 80) {
buffer.push(`The sound of a short slave being bullied can be heard from somewhere off the plaza.`);
}
if (A.FSPastoralistDecoration >= 80) {
buffer.push(`An indistinct gushing noise is coming from somewhere below the plaza.`);
}
if (A.FSPhysicalIdealistDecoration >= 80) {
buffer.push(`The clash of a deadlift bar being racked can be heard from a nearby gym.`);
}
if (A.FSHedonisticDecadenceDecoration >= 80) {
buffer.push(`The sound of a rather heavy orgy can be heard from somewhere off the plaza.`);
}
if (A.FSChattelReligionistDecoration >= 80) {
buffer.push(`A lovely hymn is drifting through the air.`);
}
if (A.FSRomanRevivalistDecoration >= 80 && A.FSRomanRevivalistSMR === 1) {
buffer.push(`Faintly, the sound of cheering can be heard as`);
if (A.FSPaternalist !== "unset") {
buffer.push(`a slave achieves sexual victory over their partner`);
} else if (V.pitKillsTotal > 0) {
buffer.push(`a slave dies`);
} else {
buffer.push(`a slave successfully rapes`);
}
buffer.push(`in gladiatorial combat.`);
} else if (A.FSAztecRevivalistDecoration >= 80) {
buffer.push(`The sound of prayer and chanting echoes across the space, briefly accompanied by a sacrifice's ${A.FSPaternalist !== "unset" ? "moaning" : "last scream"} as the rite completes.`);
} else if (A.FSNeoImperialistDecoration >= 80) {
buffer.push(`The constant noise of trade and revelry echoes across every inch of the crowded plaza, kept under control by stern-looking guards in armor painted your colors, holding holographic halberds and standing at attention.`);
} else if (A.FSEgyptianRevivalistDecoration >= 80) {
buffer.push(`To the side of the plaza is a huge stone entryway heading down: the entrance to the tomb you have prepared for yourself.`);
} else if (A.FSEdoRevivalistDecoration >= 80) {
buffer.push(`Everyone maintains a certain air of decorum, and whenever two citizens meet they perform a polite ceremony of respectful greeting.`);
} else if (A.FSArabianRevivalistDecoration >= 80) {
buffer.push(`The throng packing the busy plaza must periodically give way before a new train of fresh slaves chained together at the neck, being led into the market by one of the arcology's many prosperous slavers.`);
} else if (A.FSChineseRevivalistDecoration >= 80) {
buffer.push(`The noise in the thriving open space is almost oppressive, with the sounds of drunken merriment, traditional music, and distant intercourse forming an omnipresent hum.`);
}
return buffer.join(" ");
}
const citizenCount = `${num(V.ACitizens)} citizens and ${num(V.ASlaves + V.slaves.length)} slaves live in ${A.name}.`;
function fsLaws() {
let buffer = [];
if (A.FSSupremacistLawME === 1) {
buffer.push(`The citizenry is entirely ${A.FSSupremacistRace}.`);
}
if (A.FSRomanRevivalistLaw === 1) {
buffer.push(`Every citizen has military responsibilities, which are a point of pride to many, with most opting to wear utilitarian clothing even when off duty.`);
}
if (A.FSNeoImperialistLaw1 === 1) {
buffer.push(`Occasionally, an Imperial Knight in expensive battle armor wanders through the plaza, often accompaned by a small group of lesser soldiers with battle armor painted in the same fashion as the Knight's.`);
}
if (A.FSNeoImperialistLaw2 === 1) {
buffer.push(`You can see a Baron off in the distance, wearing a bright gold headband that shimmers in the dim neon light of the plaza, dictating some edict of yours down to a street merchant who scribbles down their words furiously.`);
}
if (A.FSAztecRevivalistLaw === 1) {
buffer.push(`Most citizens wear satin loincloths and cloaks, distinguished from those of slaves by the richness of their adornments.`);
}
if (A.FSMaturityPreferentialistLaw === 1) {
buffer.push(`Most citizens are at least middle-aged, and graying hair on a citizen is considered attractive here.`);
} else if (A.FSYouthPreferentialistLaw === 1) {
buffer.push(`Most citizens shine with youth and enthusiasm.`);
}
if (A.FSGenderRadicalistDecoration === 100) {
buffer.push(`Every single one of the slaves is female by virtue of her fuckable asshole.`);
} else if (A.FSGenderFundamentalistSMR === 1) {
buffer.push(`Almost every prominent citizen is an upstanding man, while the slave population is almost completely female.`);
}
if (A.FSEgyptianRevivalistLaw === 1) {
buffer.push(`Close relationships between citizens and slaves, especially slave siblings, are common.`);
} else if (A.FSEgyptianRevivalistIncestPolicy === 1) {
buffer.push(`Close relationships between citizens, slaves and siblings are common.`);
}
if (A.FSSubjugationistLawME === 1) {
buffer.push(`${capFirstChar(A.FSSubjugationistRace)} subhumans form a majority of the slaves.`);
}
if (A.FSChattelReligionistLaw === 1) {
buffer.push(`The slave population as a whole is unusually accepting of its station.`);
}
if (A.FSPaternalistLaw === 1) {
buffer.push(`The slaves are well cared for, and it can sometimes be difficult to tell slaves from citizens.`);
} else if (A.FSDegradationistLaw === 1) {
buffer.push(`Most of the slaves are recent captures, since the vicious society that's taken root here uses people up quickly.`);
}
if (A.FSBodyPuristLaw === 1) {
buffer.push(`The average slave is quite healthy.`);
} else if (A.FSTransformationFetishistSMR === 1) {
if (A.FSTransformationFetishistResearch === 1) {
buffer.push(`Breast implants are almost universal; ${A.FSSlimnessEnthusiast === "unset" ? "an M-cup bust is below average among the slave population" : "even the most lithe slave sports a pair of overly round chest balloons"}.`);
} else {
buffer.push(`Breast implants are almost universal; ${A.FSSlimnessEnthusiast === "unset" ? "a D-cup bust is below average among the slave population" : "even the most lithe slave sports a pair of overly round chest balloons"}.`);
}
}
if (A.FSIntellectualDependencySMR === 1) {
buffer.push(`The average slave is entirely dependent on its master.`);
} else if (A.FSSlaveProfessionalismSMR === 1) {
buffer.push(`The average slave is entirely capable of acting on its master's behalf.`);
}
if (A.FSSlimnessEnthusiastSMR === 1) {
buffer.push(`Most of the slave population is quite slim and physically fit.`);
} else if (A.FSAssetExpansionistSMR === 1) {
buffer.push(`${A.name}'s consumption of pharmaceuticals is impressive, since slave growth hormones are nearly ubiquitous.`);
}
if (A.FSPetiteAdmirationSMR === 1) {
buffer.push(`Slaves are both easy to identify, but hard to find in a crowd given their short stature.`);
} else if (A.FSStatuesqueGlorificationSMR === 1) {
buffer.push(`${A.name}'s ${A.FSStatuesqueGlorificationLaw === 1 ? "entire" : "slave"} population stands taller than most visitors.`);
}
if (A.FSRepopulationFocusSMR === 1) {
buffer.push(`Most of the slaves in the arcology are sporting pregnant bellies.`);
} else if (A.FSRestartSMR === 1) {
buffer.push(`Most of the slaves in the arcology are infertile.`);
}
if (A.FSRestartLaw === 1) {
if (V.ACitizens < 600) {
buffer.push(`Nearly every free woman is a member of the Elite and some degree pregnant.`);
} else {
buffer.push(`It isn't uncommon to see a free woman pregnant and proudly bearing the insignia of the Elite.`);
}
}
if (A.FSRepopulationFocusLaw === 1) {
buffer.push(`It isn't uncommon to see free women proudly sporting waist sizes over 100cm either.`);
}
if (A.FSPastoralistLaw === 1) {
buffer.push(`Much of the menial slave labor force works to service ${A.name}'s hundreds of human cattle.`);
}
if (A.FSPhysicalIdealistSMR === 1) {
buffer.push(`${A.name} must import a very large quantity of nutritive protein to nourish its slaves.`);
}
if (A.FSHedonisticDecadenceSMR === 1) {
buffer.push(`${A.name} must import a very large quantity of fattening food to plump up its slaves.`);
}
return buffer.join(" ");
}
addParagraph(deco80part2(), citizenCount, fsLaws(), `Its lingua franca is ${V.language}.`);
/**
* @returns {DocumentFragment}
*/
function peacekeepers() {
const frag = document.createDocumentFragment();
if (V.plot) {
if (V.peacekeepers === 0) {
if (V.invasionVictory) {
frag.append(`The area previously occupied by the little old world country whose collapse led to a failed invasion of the Free City is a lawless wilderness.`);
} else if (V.week > 29) {
frag.append(`A small old world country near the arcology is in the process of collapse${V.nationHate ? ", and your opportunistic behavior towards it has caused hatred there" : ""}.`);
} else {
frag.append(`There is nothing notable about the decaying old world countries ${V.terrain === "oceanic" ? "on the shoreline nearest" : "near"} the arcology.`);
}
} else {
if (V.peacekeepers.strength >= 50) {
frag.append(`General ${V.peacekeepers.generalName} now governs an area near the Free City as a warlord, using the men and women of his former peacekeeping forces to rule.`);
if (V.peacekeepers.attitude >= 100) {
frag.append(` The area is a de facto client state of your arcology.`);
} else {
frag.append(` He considers himself indebted to you, and delivers periodic tributes of menial slaves.`);
}
} else {
// TODO create an actual framework for this behavior (only refreshing a specific element)
const undermine = function undermine() {
const fragment = document.createDocumentFragment();
fragment.append(`There's a peacekeeping force led by General ${V.peacekeepers.generalName} in the troubled area near the Free City.`);
if (V.peacekeepers.undermining > 0) {
fragment.append(` You are spending ¤`,
App.UI.DOM.makeTextBox(V.peacekeepers.undermining, v => {
V.peacekeepers.undermining = Math.clamp(Math.ceil(v / 1000) * 1000, 0, 10000);
refresh();
}, true),
` each week to promote misinformation in the old world that undermines the peacekeepers.`);
} else {
fragment.append(` You are not undermining the peacekeepers. `,
App.UI.DOM.link("Start a misinformation campaign", () => {
V.peacekeepers.undermining = 1000;
refresh();
}));
}
return fragment;
function refresh() {
span.innerHTML = "";
span.append(undermine());
}
};
const span = document.createElement("span");
span.append(undermine());
frag.append(span);
}
}
}
return frag;
}
addParagraph(peacekeepers(), lastElement);
return fragment;
};
|
MonsterMate/fc
|
src/descriptions/arcologyDescription.js
|
JavaScript
|
mit
| 56,985
|
App.Desc.family = (function() {
/** From a list of slaves, return their names, comma-separated and appended with "and" if necessary
* @param {Array<App.Entity.SlaveState>} slaveList
* @returns {string}
*/
function slaveListToText(slaveList) {
return slaveList.map(s => s.slaveName).reduce((res, ch, i, arr) => res + (i === arr.length - 1 ? ' and ' : ', ') + ch);
}
/** See if an ID refers to a valid, active slave. This will return false for slaves that no longer exist or have not yet been created.
* @param {number} slaveID
* @returns {boolean}
*/
function validSlaveID(slaveID) {
return slaveID > 0 && _.isObject(getSlave(slaveID));
}
/** From a slave ID, return text describing that slave (even if they aren't currently your slave) to use in place of their name
* @param {number} slaveID
* @returns {string}
*/
function knownSlave(slaveID) {
if (validSlaveID(slaveID)) {
return getSlave(slaveID).slaveName;
} else if (slaveID in V.missingTable) {
return "your former slave " + V.missingTable[slaveID].slaveName;
} else {
return "another slave";
}
}
/** Splits an array of slaves by sex (nieces/nephews, aunts/uncles, brothers/sisters, etc)
* @param {Array<App.Entity.SlaveState>} slaves
* @returns {{m: Array<App.Entity.SlaveState>, f: Array<App.Entity.SlaveState>}}
*/
function splitBySex(slaves) {
let r = {m: [], f: []};
for (const s of slaves) {
if (s.genes === "XX") {
r.f.push(s);
} else {
r.m.push(s);
}
}
return r;
}
/** Describe the members of a character's family.
* @param {FC.HumanState} character (pass V.PC to get the PC's special family summary)
* @returns {string}
*/
function familySummary(character) {
if (character === V.PC) {
return PCFamilySummary();
} else {
return slaveFamilySummary(character);
}
}
/** Describe the members of a slave's family.
* @param {App.Entity.SlaveState} slave
* @returns {string}
*/
function slaveFamilySummary(slave) {
let r = [];
const {He, His, he, him, himself, his, sister} = getPronouns(slave);
/* PC parentage */
if (slave.ID === V.PC.mother && slave.ID === V.PC.father) {
r.push(`${He} is <span class="lightgreen">both your mother and father;</span> ${he} impregnated ${himself} with you.`);
} else if (slave.ID === V.PC.mother) {
r.push(`${He} is <span class="lightgreen">your mother.</span>`);
} else if (slave.ID === V.PC.father) {
r.push(`${He} is <span class="lightgreen">your father.</span>`);
}
if (slave.father === -1 && slave.mother === -1) {
r.push(`${He}'s <span class="lightgreen">your child;</span> you knocked yourself up and gave birth to ${him}.`);
} else if (slave.father === slave.mother && (slave.father > 0 || (slave.father in V.missingTable && V.showMissingSlaves))) {
r.push(`${He} was <span class="lightgreen">both fathered and mothered by ${knownSlave(slave.father)}.</span>`);
}
if (slave.father === -1 && slave.mother !== -1) {
r.push(`${He}'s <span class="lightgreen">your child;</span> you knocked ${his} mother up.`);
} else if ((slave.father > 0 || (slave.father in V.missingTable && V.showMissingSlaves)) && slave.father !== slave.mother) {
r.push(`${He} was <span class="lightgreen">fathered by ${knownSlave(slave.father)}'s</span> virile dick.`);
}
if (slave.father !== -1 && slave.mother === -1) {
r.push(`${He}'s <span class="lightgreen">your child;</span> you gave birth to ${him}.`);
} else if ((slave.mother > 0 || (slave.mother in V.missingTable && V.showMissingSlaves)) && slave.father !== slave.mother) {
r.push(`${He} was <span class="lightgreen">born from ${knownSlave(slave.mother)}'s</span> fertile womb.`);
}
let children = V.slaves.filter((s) => slave.ID === s.father && slave.ID === s.mother);
const isSoleParent = children.length > 0;
if (children.length > 2) {
r.push(`${He} <span class="lightgreen">is the sole parent of ${slaveListToText(children)}.</span>`);
} else if (children.length > 1) {
r.push(`${He} <span class="lightgreen">is the sole parent of a pair of your slaves: ${slaveListToText(children)}.</span>`);
} else if (children.length > 0) {
r.push(`${He} <span class="lightgreen">is the sole parent of a single slave of yours: ${slaveListToText(children)}.</span>`);
}
children = V.slaves.filter((s) => slave.ID === s.father && slave.ID !== s.mother);
if (children.length > 2) {
r.push(`${He} <span class="lightgreen">fathered ${slaveListToText(children)}${isSoleParent ? " with other mothers" : ""}.</span>`);
} else if (children.length > 1) {
r.push(`${He} <span class="lightgreen">fathered a pair of your slaves${isSoleParent ? " with other mothers" : ""}: ${slaveListToText(children)}.</span>`);
} else if (children.length > 0) {
r.push(`${He} <span class="lightgreen">fathered a single slave of yours${isSoleParent ? " with another mother" : ""}: ${slaveListToText(children)}.</span>`);
}
children = V.slaves.filter((s) => slave.ID === s.mother && slave.ID !== s.father);
if (children.length > 2) {
r.push(`${He} <span class="lightgreen">gave birth to ${slaveListToText(children)}${isSoleParent ? " with other fathers" : ""}.</span>`);
} else if (children.length > 1) {
r.push(`${He} <span class="lightgreen">gave birth to a pair of your slaves${isSoleParent ? " with other fathers" : ""}: ${slaveListToText(children)}.</span>`);
} else if (children.length > 0) {
r.push(`${He} <span class="lightgreen">gave birth to a single slave of yours${isSoleParent ? " with another father" : ""}: ${slaveListToText(children)}.</span>`);
}
function getParentIndices(slaveID) {
if (slaveID === V.PC.ID) {
return {mi: V.slaveIndices[V.PC.mother], fi: V.slaveIndices[V.PC.father]};
} else {
const target = getSlave(slaveID);
if (target) {
return {mi: V.slaveIndices[target.mother], fi: V.slaveIndices[target.father]};
}
}
return {mi: undefined, fi: undefined};
}
if (V.showDistantRelatives) {
/* grandparents */
const mi = V.slaveIndices[slave.mother];
const fi = V.slaveIndices[slave.father];
const {mi: mmi, fi: fmi} = getParentIndices(slave.mother);
const {mi: mfi, fi: ffi} = getParentIndices(slave.father);
if ((jsDef(mi) || jsDef(fi)) && !jsDef(mmi) && !jsDef(fmi) && !jsDef(mfi) && !jsDef(ffi)) {
if (jsDef(mi)) {
if ((jsDef(fi)) && mi === fi) {
if (V.PC.ID === V.slaves[mi].mother && V.PC.ID === V.slaves[fi].father) {
r.push(`${He} is <span class="lightgreen">your grandchild.</span> You impregnated yourself with ${his} sole biological parent.`);
} else if (V.PC.ID === V.slaves[mi].mother) {
r.push(`${He} is <span class="lightgreen">your grandchild.</span> You gave birth to ${his} sole biological parent.`);
} else if (V.PC.ID === V.slaves[fi].father) {
r.push(`${He} is <span class="lightgreen">your grandchild.</span> You fathered ${his} sole biological parent.`);
}
} else if ((jsDef(fi)) && V.PC.ID === V.slaves[mi].mother && V.PC.ID === V.slaves[fi].mother) {
r.push(`${He} is <span class="lightgreen">your grandchild.</span> You gave birth to both of ${his} parents.`);
} else if ((jsDef(fi)) && V.PC.ID === V.slaves[mi].father && V.PC.ID === V.slaves[fi].father) {
r.push(`${He} is <span class="lightgreen">your grandchild.</span> You fathered both of ${his} parents.`);
} else if (V.PC.ID === V.slaves[mi].mother) {
r.push(`${He} is <span class="lightgreen">your grandchild.</span> You gave birth to ${his} mother.`);
} else if (V.PC.ID === V.slaves[mi].father) {
r.push(`${He} is <span class="lightgreen">your grandchild.</span> You fathered ${his} mother.`);
}
} else if (jsDef(fi)) {
if (V.PC.ID === V.slaves[fi].mother) {
r.push(`${He} is <span class="lightgreen">your grandchild.</span> You gave birth to ${his} father.`);
} else if (V.PC.ID === V.slaves[fi].father) {
r.push(`${He} is <span class="lightgreen">your grandchild.</span> You fathered ${his} father.`);
}
}
} else {
if ((jsDef(mmi)) && (jsDef(ffi)) && mmi === ffi) {
r.push(`${His} sole <span class="lightgreen">grandparent is ${V.slaves[mmi].slaveName}.</span>`);
} else {
if ((jsDef(mmi)) && (jsDef(mfi)) && mmi === mfi) {
r.push(`${His} sole <span class="lightgreen">grandmother is ${V.slaves[mmi].slaveName}.</span>`);
} else {
if (jsDef(mmi)) {
r.push(`${His} maternal <span class="lightgreen">grandmother is ${V.slaves[mmi].slaveName}.</span>`);
}
if (jsDef(mfi)) {
r.push(`${His} paternal <span class="lightgreen">grandmother is ${V.slaves[mfi].slaveName}.</span>`);
}
}
if ((jsDef(fmi)) && (jsDef(ffi)) && fmi === ffi) {
r.push(`${His} sole <span class="lightgreen">grandfather is ${V.slaves[ffi].slaveName}.</span>`);
} else {
if (jsDef(fmi)) {
r.push(`${His} maternal <span class="lightgreen">grandfather is ${V.slaves[fmi].slaveName}.</span>`);
}
if (ffi) {
r.push(`${His} paternal <span class="lightgreen">grandfather is ${V.slaves[ffi].slaveName}.</span>`);
}
}
}
}
/* PC grandparents - determines if the current slave is your grandparent */
const pcMother = getSlave(V.PC.mother);
const pcFather = getSlave(V.PC.father);
if (jsDef(pcMother)) {
if ((jsDef(pcFather)) && pcMother === pcFather) {
if (slave.ID === pcMother.mother && slave.ID === pcFather.father) {
r.push(`${He} is <span class="lightgreen">your sole grandparent.</span> ${He} impregnated ${himself} with your sole parent ${pcMother.slaveName} who in turn impregnated themselves with you.`);
} else if (slave.ID === pcMother.mother) {
r.push(`${He} is <span class="lightgreen">your sole grandmother.</span> ${He} gave birth to ${pcMother.slaveName} who in turn impregnated themselves with you.`);
} else if (slave.ID === pcFather.father) {
r.push(`${He} is <span class="lightgreen">your sole grandfather.</span> ${He} fathered ${pcFather.slaveName} who in turn impregnated themselves with you.`);
}
} else if ((jsDef(pcFather)) && slave.ID === pcMother.mother && slave.ID === pcFather.mother) {
r.push(`${He} is <span class="lightgreen">your sole grandmother.</span> ${He} gave birth to both of your parents, ${pcMother.slaveName} and ${pcFather.slaveName}.`);
} else if ((jsDef(pcFather)) && slave.ID === pcMother.father && slave.ID === pcFather.father) {
r.push(`${He} is <span class="lightgreen">your sole grandfather.</span> ${He} fathered both of your parents, ${pcFather.slaveName} and ${pcMother.slaveName}.`);
} else if (slave.ID === pcMother.mother) {
r.push(`${He} is <span class="lightgreen">your maternal grandmother.</span>`);
} else if (slave.ID === pcMother.father) {
r.push(`${He} is <span class="lightgreen">your maternal grandfather.</span>`);
}
} else if (jsDef(pcFather)) {
if (slave.ID === pcFather.mother) {
r.push(`${He} is <span class="lightgreen">your paternal grandmother.</span>`);
} else if (slave.ID === pcFather.father) {
r.push(`${He} is <span class="lightgreen">your paternal grandfather.</span>`);
}
}
/* grandchild - determines how many grandchildren the current slave has */
children = V.slaves.filter((s) => isGrandparentP(s, slave));
if (children.length > 0) {
r.push(`${He} has`);
if (children.length > 2) {
r.push(`<span class="lightgreen">many grandchildren, ${slaveListToText(children)}, amongst your slaves.</span>`);
} else if (children.length > 1) {
r.push(`<span class="lightgreen">two grandchildren, ${slaveListToText(children)}, amongst your slaves.</span>`);
} else {
r.push(`a <span class="lightgreen">grandchild, ${slaveListToText(children)}, as your slave.</span>`);
}
}
/* PC aunt and uncle - determines how many aunts and uncles you have */
if (isAunt(V.PC, slave)) {
const {m: uncles, f: aunts} = splitBySex(V.slaves.filter((s) => s.ID !== slave.ID && isAunt(V.PC, s)));
r.push(`${He} is`);
if (slave.genes === "XX") {
if (aunts.length > 0) {
r.push(`<span class="lightgreen">your aunt along with ${slaveListToText(aunts)}.</span>`);
} else {
r.push(`<span class="lightgreen">your aunt.</span>`);
}
} else {
if (uncles.length > 0) {
r.push(`<span class="lightgreen">your uncle along with ${slaveListToText(uncles)}.</span>`);
} else {
r.push(`<span class="lightgreen">your uncle.</span>`);
}
}
}
/* aunt and uncle - determines how many aunts and uncles a slave has*/
const {m: uncles, f: aunts} = splitBySex(V.slaves.filter((s) => isAunt(slave, s)));
if (aunts.length > 0) {
r.push(`${He} has`);
if (aunts.length > 2) {
r.push(`<span class="lightgreen">many aunts, ${slaveListToText(aunts)}.</span>`);
} else if (aunts.length > 1) {
r.push(`<span class="lightgreen">two aunts, ${slaveListToText(aunts)}.</span>`);
} else {
r.push(`<span class="lightgreen">an aunt, ${slaveListToText(aunts)}.</span>`);
}
}
if (uncles.length > 0) {
r.push(`${He} has`);
if (uncles.length > 2) {
r.push(`<span class="lightgreen">many uncles, ${slaveListToText(uncles)}.</span>`);
} else if (uncles.length > 1) {
r.push(`<span class="lightgreen">two uncles, ${slaveListToText(uncles)}.</span>`);
} else {
r.push(`<span class="lightgreen">an uncle, ${slaveListToText(uncles)}.</span>`);
}
}
/* PC niece and nephew - determines how many nieces and nephews you have*/
if (isAunt(slave, V.PC)) {
const {m: nephews, f: nieces} = splitBySex(V.slaves.filter((s) => s.ID !== slave.ID && isAunt(s, V.PC)));
r.push(`${He} is`);
if (slave.genes === "XX") {
if (nieces.length > 0) {
r.push(`<span class="lightgreen">your niece along with ${slaveListToText(nieces)}.</span>`);
} else {
r.push(`<span class="lightgreen">your niece.</span>`);
}
} else {
if (nephews.length > 0) {
r.push(`<span class="lightgreen">your nephew along with ${slaveListToText(nephews)}.</span>`);
} else {
r.push(`<span class="lightgreen">your nephew.</span>`);
}
}
}
/* niece and nephew - determines how many nieces and nephews a slave has*/
const {m: nephews, f: nieces} = splitBySex(V.slaves.filter((s) => isAunt(s, slave)));
if (nieces.length > 0) {
r.push(`${He} has`);
if (nieces.length > 2) {
r.push(`<span class="lightgreen">many nieces, ${slaveListToText(nieces)}, who are your slaves.</span>`);
} else if (nieces.length > 1) {
r.push(`<span class="lightgreen">two nieces, ${slaveListToText(nieces)}, who are your slaves.</span>`);
} else {
r.push(`<span class="lightgreen">a niece, ${slaveListToText(nieces)}, who is your slave.</span>`);
}
}
if (nephews.length > 0) {
r.push(`${He} has`);
if (nephews.length > 2) {
r.push(`<span class="lightgreen">many nephews, ${slaveListToText(nephews)}, who are your slaves.</span>`);
} else if (nephews.length > 1) {
r.push(`<span class="lightgreen">two nephews, ${slaveListToText(nephews)}, who are your slaves.</span>`);
} else {
r.push(`<span class="lightgreen">a nephew, ${slaveListToText(nephews)}, who is your slave.</span>`);
}
}
} /* end distant relatives toggle check */
let twins = [];
let sisters = [];
let brothers = [];
let halfSisters = [];
let halfBrothers = [];
let cousins = [];
for (const s of V.slaves) {
let sisterCheck = areSisters(s, slave);
if (sisterCheck === 1) {
twins.push(s);
}
if (sisterCheck === 2) {
(s.genes === "XX" ? sisters : brothers).push(s);
}
if (sisterCheck === 3) {
(s.genes === "XX" ? halfSisters : halfBrothers).push(s);
}
if (V.showDistantRelatives) {
if (areCousins(s, slave)) {
cousins.push(s);
}
}
}
/* PC twin - determines how many twins you have */
if (areSisters(slave, V.PC) === 1) {
r.push(He);
if (twins.length > 1) {
r.push(`<span class="lightgreen">shared a cramped womb with you, ${slaveListToText(twins)}.</span>`);
} else if (twins.length > 0) {
r.push(`is <span class="lightgreen">your twin along with ${slaveListToText(twins)}.</span>`);
} else {
r.push(`is <span class="lightgreen">your twin.</span>`);
}
twins = []; // clear it so we don't output it a second time
}
/* PC sister - determines how many sisters you have*/
if (areSisters(slave, V.PC) === 2 && slave.genes === "XX") {
r.push(`${He} is`);
if (sisters.length > 0) {
r.push(`<span class="lightgreen">your ${sister} along with ${slaveListToText(sisters)}.</span>`);
} else {
r.push(`<span class="lightgreen">your ${sister}.</span>`);
}
sisters = []; // clear it so we don't output it a second time
}
/* PC brother - determines how many brothers you have*/
if (areSisters(slave, V.PC) === 2 && slave.genes === "XY") {
r.push(`${He} is`);
if (brothers.length > 0) {
r.push(`<span class="lightgreen">your ${sister} along with ${slaveListToText(brothers)}.</span>`);
} else {
r.push(`<span class="lightgreen">your ${sister}.</span>`);
}
brothers = []; // clear it so we don't output it a second time
}
/* PC half-sister - determines how many half-sisters you have*/
if (areSisters(slave, V.PC) === 3 && slave.genes === "XX") {
r.push(`${He} is`);
if (halfSisters.length > 0) {
r.push(`<span class="lightgreen">is your half-${sister} along with ${slaveListToText(halfSisters)}.</span>`);
} else {
r.push(`<span class="lightgreen">your half-${sister}.</span>`);
}
halfSisters = []; // clear it so we don't output it a second time
}
/* PC half-brother - determines how many half-brothers you have*/
if (areSisters(slave, V.PC) === 3 && slave.genes === "XY") {
r.push(`${He} is`);
if (halfBrothers.length > 0) {
r.push(`<span class="lightgreen">is your half-${sister} along with ${slaveListToText(halfBrothers)})>>.</span>`);
} else {
r.push(`<span class="lightgreen">your half-${sister}.</span>`);
}
halfBrothers = []; // clear it so we don't output it a second time
}
/* twins? - determines how many twins a slave has*/
if (twins.length > 0) {
r.push(`${He}`);
if (twins.length > 2) {
r.push(`<span class="lightgreen">shared a cramped womb with ${slaveListToText(twins)}.</span>`);
} else if (twins.length > 1) {
r.push(`is <span class="lightgreen">one of a set of triplets; ${slaveListToText(twins)}</span> complete the trio.`);
} else {
r.push(`is <span class="lightgreen">twins with ${twins[0].slaveName}.</span>`);
}
}
/* sister - determines how many sisters a slave has*/
if (sisters.length > 0) {
const sister2 = getPronouns(sisters[0]).sister;
if (sisters.length > 1) {
r.push(`<span class="lightgreen">${slaveListToText(sisters)} are ${his} ${sister2}s.</span>`);
} else {
r.push(`<span class="lightgreen">${sisters[0].slaveName} is ${his} ${sister2}.</span>`);
}
}
/* brother - determines how many brothers a slave has*/
if (brothers.length > 0) {
const sister2 = getPronouns(brothers[0]).sister;
if (brothers.length > 1) {
r.push(`<span class="lightgreen">${slaveListToText(brothers)} are ${his} ${sister2}s.</span>`);
} else {
r.push(`<span class="lightgreen">${brothers[0].slaveName} is ${his} ${sister2}.</span>`);
}
}
/* half-sister - determines how many half-sisters a slave has*/
if (halfSisters.length > 0) {
const sister2 = getPronouns(halfSisters[0]).sister;
if (halfSisters.length > 1) {
r.push(`<span class="lightgreen">${slaveListToText(halfSisters)} are half-${sister2}s to ${him}.</span>`);
} else {
r.push(`<span class="lightgreen">${halfSisters[0].slaveName} is a half-${sister2} to ${him}.</span>`);
}
}
/* half-brother - determines how many half-brothers a slave has*/
if (halfBrothers.length > 0) {
const sister2 = getPronouns(halfBrothers[0]).sister;
if (halfBrothers.length > 1) {
r.push(`<span class="lightgreen">${slaveListToText(halfBrothers)} are half-${sister2}s to ${him}.</span>`);
} else if (halfBrothers.length > 0) {
r.push(`<span class="lightgreen">${halfBrothers[0].slaveName} is a half-${sister2} to ${him}.</span>`);
}
}
if (V.showDistantRelatives) {
/* PC cousin - determines how many cousins you have*/
if (areCousins(slave, V.PC)) {
const PCcousins = V.slaves.filter((s) => s.ID !== slave.ID && areCousins(V.PC, s));
r.push(`${He} is`);
if (PCcousins.length > 0) {
r.push(`<span class="lightgreen">your cousin along with ${slaveListToText(PCcousins)}.</span>`);
} else {
r.push(`<span class="lightgreen">your cousin.</span>`);
}
}
/* cousin - determines how many cousins a slave has*/
if (cousins.length > 1) {
r.push(`<span class="lightgreen">${slaveListToText(cousins)} are cousins to ${him}.</span>`);
} else if (cousins.length > 0) {
r.push(`<span class="lightgreen">${cousins[0].slaveName} is a cousin to ${him}.</span>`);
}
}
if (slave.clone) {
r.push(`${He} is`);
if (slave.cloneID === -1) {
r.push(`your clone.`);
} else {
r.push(`a clone of ${slave.clone}.`);
}
}
if (V.cheatMode) {
r.push(`${He} has ${numberWithPlural(slave.sisters, "sister")} and ${numberWithPlural(slave.daughters, "daughter")}.`);
}
if (V.inbreeding && slave.inbreedingCoeff > 0) {
r.push(`${He} is`);
if (slave.inbreedingCoeff >= 0.5) {
r.push("extremely");
} else if (slave.inbreedingCoeff >= 0.25) {
r.push("very");
} else if (slave.inbreedingCoeff >= 0.125) {
} else if (slave.inbreedingCoeff >= 0.0625) {
r.push("somewhat");
} else {
r.push("slightly");
}
r.push(`inbred, with a CoI of ${slave.inbreedingCoeff}.`);
}
return r.join(" ");
}
/** Describe the members of the PC's family.
* @returns {string}
*/
function PCFamilySummary() {
let r = [];
r.push(`<br>Your family records show that:`);
/* Player parents, lists both your parents, or just one. */
let parents = [];
if (V.showMissingSlaves) {
if (V.PC.mother in V.missingTable) {
parents.push(V.missingTable[V.PC.mother]);
}
if (V.PC.father in V.missingTable && (V.PC.father !== V.PC.mother)) {
parents.push(V.missingTable[V.PC.father]);
}
}
parents.concat(V.slaves.filter((s) => isParentP(V.PC, s)));
if (parents.length > 1) {
r.push(`<br>Your parents are <span class="lightgreen">${knownSlave(parents[0].ID)} and ${knownSlave(parents[1].ID)}.</span>`);
} else if (parents.length > 0) {
if (V.PC.father === V.PC.mother) {
/* apparently we don't keep pronoun records in the missing parents table??? */
const himself = jsDef(parents[0].pronoun) ? getPronouns(parents[0]).himself : "herself";
r.push(`<br>Your parent is <span class="lightgreen">${knownSlave(parents[0].ID)},</span> who impregnated ${himself} with you.`);
} else {
r.push(`<br>You know one of your parents, <span class="lightgreen">${knownSlave(parents[0].ID)}.</span>`);
}
}
/* Player aunts and uncles */
if (V.showDistantRelatives) {
const {m: uncles, f: aunts} = splitBySex(V.slaves.filter((s) => isAunt(V.PC, s)));
if (aunts.length > 0) {
r.push(`<br>You have`);
if (aunts.length > 2) {
r.push(`<span class="lightgreen">many aunts, ${slaveListToText(aunts)}.</span>`);
} else if (aunts.length > 1) {
r.push(`<span class="lightgreen">two aunts, ${slaveListToText(aunts)}.</span>`);
} else {
r.push(`<span class="lightgreen">an aunt, ${slaveListToText(aunts)}.</span>`);
}
}
if (uncles.length > 0) {
r.push(`<br>You have`);
if (uncles.length > 2) {
r.push(`<span class="lightgreen">many uncles, ${slaveListToText(uncles)}.</span>`);
} else if (uncles.length > 1) {
r.push(`<span class="lightgreen">two uncles, ${slaveListToText(uncles)}.</span>`);
} else {
r.push(`<span class="lightgreen">an uncle, ${slaveListToText(uncles)}.</span>`);
}
}
}
let twins = [];
let sisters = [];
let brothers = [];
let halfSisters = [];
let halfBrothers = [];
let cousins = [];
for (const s of V.slaves) {
let sisterCheck = areSisters(s, V.PC);
if (sisterCheck === 1) {
twins.push(s);
}
if (sisterCheck === 2) {
(s.genes === "XX" ? sisters : brothers).push(s);
}
if (sisterCheck === 3) {
(s.genes === "XX" ? halfSisters : halfBrothers).push(s);
}
if (V.showDistantRelatives) {
if (areCousins(s, V.PC)) {
cousins.push(s);
}
}
}
if (twins.length > 1) {
r.push(`<br>You are <span class="lightgreen">twins with ${slaveListToText(twins)}.</span>`);
} else if (twins.length > 0) {
r.push(`<br>Your twin is <span class="lightgreen">${twins[0].slaveName}.</span>`);
}
if (sisters.length > 1) {
r.push(`<br><span class="lightgreen">${slaveListToText(sisters)}</span> are your sisters.`);
} else if (sisters.length > 0) {
const {sister} = getPronouns(sisters[0]);
r.push(`<br>Your ${sister} is <span class="lightgreen">${sisters[0].slaveName}.</span>`);
}
if (brothers.length > 1) {
r.push(`<br><span class="lightgreen">${slaveListToText(brothers)}</span> are your brothers.`);
} else if (brothers.length > 0) {
const {sister} = getPronouns(brothers[0]);
r.push(`<br>Your ${sister} is <span class="lightgreen">${brothers[0].slaveName}.</span>`);
}
if (halfSisters.length > 1) {
r.push(`<br><span class="lightgreen">${slaveListToText(halfSisters)}</span> are your half-sisters.`);
} else if (halfSisters.length > 0) {
const {sister} = getPronouns(halfSisters[0]);
r.push(`<br>You have one half-${sister}, <span class="lightgreen">${halfSisters[0].slaveName}.</span>`);
}
if (halfBrothers.length > 1) {
r.push(`<br><span class="lightgreen">${slaveListToText(halfBrothers)}</span> are your half-brothers.`);
} else if (halfBrothers.length > 0) {
const {sister} = getPronouns(halfBrothers[0]);
r.push(`<br>You have one half-${sister}, <span class="lightgreen">${halfBrothers[0].slaveName}.</span>`);
}
if (V.showDistantRelatives) {
if (cousins.length > 1) {
r.push(`<br><span class="lightgreen">${slaveListToText(cousins)}</span> are your cousins.`);
} else if (cousins.length > 0) {
r.push(`<br>You have one cousin, <span class="lightgreen">${cousins[0].slaveName}.</span>`);
}
}
/* Player nieces and nephews */
if (V.showDistantRelatives) {
const {m: nephews, f: nieces} = splitBySex(V.slaves.filter((s) => isAunt(s, V.PC)));
if (nieces.length > 0) {
r.push(`<br>You have`);
if (nieces.length > 2) {
r.push(`<span class="lightgreen">many nieces, ${slaveListToText(nieces)}, who are your slaves.</span>`);
} else if (nieces.length > 1) {
r.push(`<span class="lightgreen">two nieces, ${slaveListToText(nieces)}, who are your slaves.</span>`);
} else {
r.push(`<span class="lightgreen">a niece, ${slaveListToText(nieces)}, who is your slave.</span>`);
}
}
if (nephews.length > 0) {
r.push(`<br>You have`);
if (nephews.length > 2) {
r.push(`<span class="lightgreen">many nephews, ${slaveListToText(nephews)}, who are your slaves.</span>`);
} else if (nephews.length > 1) {
r.push(`<span class="lightgreen">two nephews, ${slaveListToText(nephews)}, who are your slaves.</span>`);
} else {
r.push(`<span class="lightgreen">a nephew, ${slaveListToText(nephews)}, who is your slave.</span>`);
}
}
}
/* Player is sole parent */
let children = V.slaves.filter((s) => s.father === V.PC.ID && s.mother === V.PC.ID);
if (children.length > 0) {
r.push(`<br>You are the sole parent of ${num(children.length)} of your slaves, <span class="lightgreen">${slaveListToText(children)}.</span>`);
}
const isSoleParent = children.length > 0;
/* Player is Father, lists children you fathered */
children = V.slaves.filter((s) => s.father === V.PC.ID && s.mother !== V.PC.ID);
if (children.length > 0) {
r.push(`<br>You fathered ${num(children.length)} of your slaves${isSoleParent ? " with other mothers" : ''}, <span class="lightgreen">${slaveListToText(children)}.</span>`);
}
/* Player is Mother, lists birthed children */
children = V.slaves.filter((s) => s.mother === V.PC.ID && s.father !== V.PC.ID);
if (children.length > 0) {
r.push(`<br>You gave birth to ${num(children.length)} of your slaves${isSoleParent ? " who had other fathers" : ''}, <span class="lightgreen">${slaveListToText(children)}.</span>`);
}
/* Player is grandparent */
if (V.showDistantRelatives) {
children = V.slaves.filter((s) => isGrandparentP(s, V.PC));
if (children.length > 0) {
r.push(`<br>You have ${num(children.length)} grandchildren as your slaves, <span class="lightgreen">${slaveListToText(children)}.</span>`);
}
}
if (V.cheatMode) {
r.push(`<br>You have ${numberWithPlural(V.PC.sisters, "sister")} and ${numberWithPlural(V.PC.daughters, "daughter")}.`);
}
if (V.inbreeding && V.PC.inbreedingCoeff > 0) {
r.push(`You are`);
if (V.PC.inbreedingCoeff >= 0.5) {
r.push("extremely");
} else if (V.PC.inbreedingCoeff >= 0.25) {
r.push("very");
} else if (V.PC.inbreedingCoeff >= 0.125) { // No adjective in this case
} else if (V.PC.inbreedingCoeff >= 0.0625) {
r.push("somewhat");
} else {
r.push("slightly");
}
r.push(`inbred, with a CoI of ${V.PC.inbreedingCoeff}.`);
}
return r.join(" ");
}
return familySummary;
})();
|
MonsterMate/fc
|
src/descriptions/familySummaries.js
|
JavaScript
|
mit
| 29,624
|
App.EndWeek.clinicReport = function() {
let frag = document.createDocumentFragment();
const slaves = App.Utils.sortedEmployees(App.Entity.facilities.clinic);
let devBonus = (V.clinicDecoration !== "standard") ? 1 : 0;
let healthBonus = 0;
V.flSex = App.EndWeek.getFLSex(App.Entity.facilities.clinic); // FIXME: should be local, passed as a parameter to saRules
function nurseText() {
let r = [];
let FLsFetish = 0;
let idleBonus = 0;
if (S.Nurse) {
if (S.Nurse.health.condition < 100) {
improveCondition(S.Nurse, 20);
}
if (S.Nurse.devotion <= 60) {
S.Nurse.devotion++;
}
if (S.Nurse.trust < 60) {
S.Nurse.trust++;
}
if (S.Nurse.rules.living !== "luxurious") {
S.Nurse.rules.living = "luxurious";
}
if (S.Nurse.rules.rest !== "restrictive") {
S.Nurse.rules.rest = "restrictive";
}
S.Nurse.devotion += devBonus;
if (S.Nurse.fetishStrength <= 95) {
if (S.Nurse.fetish !== "dom") {
if (fetishChangeChance(S.Nurse) > jsRandom(0, 100)) {
FLsFetish = 1;
S.Nurse.fetishKnown = 1;
S.Nurse.fetish = "dom";
}
} else if (S.Nurse.fetishKnown === 0) {
FLsFetish = 1;
S.Nurse.fetishKnown = 1;
} else {
FLsFetish = 2;
S.Nurse.fetishStrength += 4;
}
}
const {He, he, His, his, him, wife} = getPronouns(S.Nurse);
r.push(`${SlaveFullName(S.Nurse)} is serving as the clinical nurse.`);
if (S.Nurse.relationship === -3 && S.Nurse.devotion > 50) {
r.push(`${He} does ${his} best to be a caring and nurturing ${wife}.`);
healthBonus += 2;
}
if (FLsFetish === 1) {
r.push(`${His} job involves giving naked sex slaves orders for their own good. Even though most of these commands are medical rather than sexual, ${he} can be forgiven for not always seeing the difference, and <span class="fetish inc">becomes more dominant.</span>`);
} else if (FLsFetish === 2) {
r.push(`Every new patient in the clinic is a new target for ${his} authority. <span class="fetish inc">${He} becomes more dominant.</span>`);
}
if (setup.nurseCareers.includes(S.Nurse.career)) {
r.push(`${He} has experience with medicine from ${his} life before ${he} was a slave, and can often recognize conditions before even the medical scanners can.`);
idleBonus++;
healthBonus++;
} else if (S.Nurse.skill.nurse >= V.masteredXP) {
r.push(`${He} has experience with medicine from working for you, and can often recognize conditions before even the medical scanners can.`);
idleBonus++;
healthBonus++;
} else {
S.Nurse.skill.nurse += jsRandom(1, Math.ceil((S.Nurse.intelligence+S.Nurse.intelligenceImplant)/15) + 8);
}
if (S.Nurse.fetish === "dom") {
r.push(`${He} raps out commands with the confidence of long and partly sexual experience, so patients are inclined to follow even unpleasant medical instructions.`);
idleBonus++;
healthBonus++;
}
if (S.Nurse.muscles > 5) {
r.push(`${He}'s strong enough to gently but firmly restrain resistant slaves, allowing ${him} to be sparing with the inescapable but less healthy restraints.`);
idleBonus++;
healthBonus++;
}
if (S.Nurse.intelligence+S.Nurse.intelligenceImplant > 50) {
r.push(`The diagnostic equipment is state-of-the-art, but ${he}'s smart and perceptive enough that on occasion, ${he} can add meaningfully to its medical scans.`);
idleBonus++;
healthBonus++;
}
if (S.Nurse.face > 40) {
r.push(`Patients rarely object to seeing ${his} gorgeous face hovering over them.`);
idleBonus++;
devBonus++;
}
if (S.Nurse.devotion >= 60) {
healthBonus++;
}
for (const slave of slaves) {
const {He2, His2, he2, his2, him2} = getPronouns(slave).appendSuffix('2');
if (S.Nurse.rivalryTarget === slave.ID) {
r.push(`${He} purposefully neglects the needs of ${his} ${rivalryTerm(S.Nurse)}, ${slave.slaveName}, <span class="health dec">hindering ${his2} recovery</span> and deepening their dislike for each other.`);
slave.devotion--;
slave.trust--;
healthDamage(slave, 3);
if (jsRandom(1, 100) > 65) {
S.Nurse.rivalry++;
slave.rivalry++;
}
} else if (S.Nurse.relationshipTarget === slave.ID) {
r.push(`${He} dedicates most of ${his} attention to ${his} ${relationshipTerm(S.Nurse)}, ${slave.slaveName}, making sure ${he2} has everything ${he2} needs and more. This lavish attention detracts from ${his} overall effectiveness.`);
idleBonus -= 3;
slave.devotion++;
slave.trust++;
improveCondition(slave, 3);
} else if (areRelated(S.Nurse, slave)) {
r.push(`${He} makes sure to spend extra time caring for ${his} ${relativeTerm(S.Nurse, slave)}, ${slave.slaveName}.`);
slave.trust++;
improveCondition(slave, 1);
}
switch (slave.prestigeDesc) {
case "$He is a famed Free Cities whore, and commands top prices.":
r.push(`${He} does ${his} best to aid the famous whore, ${slave.slaveName}, making sure to pay special attention to ${his2} worn holes.`);
improveCondition(slave, 2);
break;
case "$He is a famed Free Cities slut, and can please anyone.":
r.push(`${He} does ${his} best to aid the famous entertainer, ${slave.slaveName}, making sure ${he2} can show off as soon as possible.`);
improveCondition(slave, 2);
break;
case "$He is remembered for winning best in show as a cockmilker.":
if ((slave.balls > 4) && (slave.dick !== 0)) {
r.push(`${He} does ${his} best to aid the dribbling ${slave.slaveName}, paying special attention to ${his2} huge cock and balls as well as making sure to milk ${his2}`);
if (canAchieveErection(slave)) {
r.push(`erect`);
}
r.push(`dick hourly.`);
improveCondition(slave, 4);
if (jsRandom(1, 100) > 65) {
if (S.Nurse.fetish === "none") {
S.Nurse.fetish = "cumslut"; // FIXME: no player notification on fetish acquisition?
} else if (S.Nurse.fetish === "cumslut") {
S.Nurse.fetishStrength += 4;
}
}
}
break;
case "$He is remembered for winning best in show as a dairy cow.":
if ((slave.lactation > 0) && ((slave.boobs-slave.boobsImplant) > 6000)) {
r.push(`${He} does ${his} best to aid the leaking ${slave.slaveName}, paying special attention to ${his2} huge breasts as well as making sure to milk ${him2} hourly.`);
improveCondition(slave, 4);
slave.lactationDuration = 2;
if (jsRandom(1, 100) > 65) {
if (S.Nurse.fetish === "none") {
S.Nurse.fetish = "boobs"; // FIXME: no player notification on fetish acquisition?
} else if (S.Nurse.fetish === "boobs") {
S.Nurse.fetishStrength += 4;
}
}
}
break;
case "$He is remembered for winning best in show as a breeder.":
if (slave.bellyPreg >= 1500) {
r.push(`${He} does ${his} best to aid the pregnant ${slave.slaveName}, paying special attention to ${his2} swollen belly and the welfare of the life within.`);
improveCondition(slave, 6);
} else if (slave.ovaries === 1 || slave.mpreg === 1) {
r.push(`${He} does ${his} best to aid the breeder ${slave.slaveName}, paying special attention to ${his2} fertility and reproductive organs.`);
improveCondition(slave, 4);
} else {
r.push(`${He} lays out plans on how to restore the breeder ${slave.slaveName} to ${his2} former gravid glory.`);
}
break;
}
if (slave.bellyImplant > -1 && V.clinicInflateBelly === 1) {
r.push(`<div class="indent"><span class="slave-name">${slave.slaveName}</span> spent a lot of time during the week under IV-like stands with bags of inert filler steadily flowing into ${his2} belly implant, slowly pushing ${his2} belly further and further out. Careful attention, along with several drug injections, were used to make sure ${his2} body was able to safely adjust to the implant's rapid growth.`);
healthDamage(slave, 10);
slave.bellyImplant += 5000;
if (slave.devotion > 50) {
slave.devotion += 4;
slave.trust += 3;
} else if ((slave.devotion >= -20)) {
slave.trust -= 5;
} else {
slave.devotion -= 5;
slave.trust -= 10;
}
if (slave.bellyImplant > (V.arcologies[0].FSTransformationFetishistResearch ? 800000 : 130000)) {
slave.bellyImplant = (V.arcologies[0].FSTransformationFetishistResearch ? 800000 : 130000);
r.push(`${He2} is filled to the maximum that ${his2} implant can stand.`);
}
r.push(`</div>`);
}
if (slave.pregKnown === 1 && slave.preg < slave.pregData.normalBirth && slave.pregControl === "speed up") {
r.push(`<div class="indent"><span class="slave-name">${slave.slaveName}</span> spends most of ${his2} time on bedrest being filled with rapid gestation agents and concentrated slave food. All ${he2} can do is`);
if (hasAnyArms(slave) && canSee(slave)) {
r.push(`watch and feel ${his2} belly pushing further and further out with life.`);
} else if (canSee(slave)) {
r.push(`watch ${his2} belly bulging further and further out with life.`);
} else if (hasAnyArms(slave)) {
r.push(`feel ${his2} belly pushing further and further out with life beneath ${his2} fingers.`);
} else {
r.push(`feel the every growing pressure inside ${his2} abdomen.`);
}
r.push(`Careful attention, along with numerous drug injections, are used to make sure ${his2} body is able to safely adjust to ${his2} pregnancy's rapid growth.`);
healthDamage(slave, 10);
if (slave.devotion > 50) {
slave.devotion += 2;
slave.trust += 1;
} else if ((slave.devotion >= -20)) {
slave.trust -= 5;
} else {
slave.devotion -= 5;
slave.trust -= 10;
}
if (slave.preg >= slave.pregData.normalBirth && slave.pregControl === "speed up") {
slave.pregControl = "none";
r.push(`${His2} child is ready to pop out of ${his2} womb; <span class="yellow">${his2} course of rapid gestation agents is finished.</span>`);
}
r.push(`</div>`);
} else if (slave.preg > 2 && slave.pregKnown === 0) {
r.push(`During ${his} tests, ${he} discovers that ${slave.slaveName} <span class="lime">is pregnant.</span>`);
slave.pregKnown = 1;
}
}
if (slaves.length < V.clinic && !slaveResting(S.Nurse)) {
const _idlePay = jsRandom(1, 10) + ((V.clinic - slaves.length) * (jsRandom(150, 170) + (idleBonus * 10)));
cashX(_idlePay, "clinic", S.Nurse);
r.push(`<div class="indent">Since ${he} doesn't have enough patients to occupy all of ${his} time, ${V.clinicName} takes in citizens' slaves on a contract basis and ${he} helps them too, earning <span class="cash inc">${cashFormat(_idlePay)}.</span></div>`);
}
}
return r.join(" ");
}
const nurseEffects = App.UI.DOM.appendNewElement("p", frag, '', "indent");
$(nurseEffects).append(nurseText());
if (slaves.length > 0) {
const intro = App.UI.DOM.appendNewElement("p", frag, '', "indent");
if (slaves.length > 1) {
$(intro).append(`<strong>There are ${slaves.length} slaves receiving treatment in the clinic.</strong>`);
} else {
$(intro).append(`<strong>There is one slave receiving treatment in the clinic.</strong>`);
}
}
if (S.Nurse) {
const slave = S.Nurse;
V.i = V.slaveIndices[slave.ID];
App.Utils.setLocalPronouns(slave); // need this for the includes
/* apply following SA passages to facility leader */
if (V.showEWD !== 0) {
const nurseEntry = App.UI.DOM.appendNewElement("div", frag, '', "slave-report");
if (V.seeImages && V.seeReportImages) {
App.UI.DOM.appendNewElement("div", nurseEntry, App.Art.SlaveArtElement(slave, 0, 0), ["imageRef", "tinyImg"]);
}
nurseEntry.append(App.EndWeek.favoriteIcon(slave), " ");
$(nurseEntry).append(`<span class='slave-name'>${SlaveFullName(slave)}</span> is serving as the clinical nurse.`);
$(nurseEntry).append(App.SlaveAssignment.standardSlaveReport(slave, false));
} else {
App.SlaveAssignment.standardSlaveReport(slave, true);
}
}
let restedSlaves = 0;
for (const slave of slaves) {
V.i = V.slaveIndices[slave.ID];
if (slave.devotion < 45) {
slave.devotion += 4;
}
slave.devotion += devBonus;
if (slave.health.condition < -80) {
improveCondition(slave, 20 + (V.curativeUpgrade * 10) + healthBonus);
} else if (slave.health.condition < -40) {
improveCondition(slave, 10 + (V.curativeUpgrade * 10) + healthBonus);
} else if (slave.health.condition < 0) {
improveCondition(slave, 7 + (V.curativeUpgrade * 10) + healthBonus);
} else if (slave.health.condition < 90) {
improveCondition(slave, 3 + (V.curativeUpgrade * 10) + healthBonus);
}
/* the clinic is a well-equipped medical facility and can allow the Nurse or player to
* directly cure serious wounds caused by injury and surgery with minimal side effects */
if (slave.health.shortDamage >= 10) {
if (S.Nurse) {
healthCure(slave, 5 + healthBonus);
} else {
healthCure(slave, V.PC.skill.medicine / 15); /* maximum of 6...even a bad full-time nurse will be better than a player doctor */
}
}
switch (V.clinicDecoration) {
case "Eugenics":
case "Gender Fundamentalist":
case "Gender Radicalist":
case "Hedonistic":
case "Intellectual Dependency":
case "Maturity Preferentialist":
case "Paternalist":
case "Petite Admiration":
case "Repopulation Focus":
case "Slimness Enthusiast":
case "Statuesque Glorification":
case "Youth Preferentialist":
slave.rules.living = "luxurious";
break;
case "Arabian Revivalist":
case "Aztec Revivalist":
case "Chattel Religionist":
case "Chinese Revivalist":
case "Edo Revivalist":
case "Egyptian Revivalist":
case "Roman Revivalist":
slave.rules.living = "normal";
break;
default:
slave.rules.living = "spare";
}
if (S.Nurse) {
if ((V.clinicSpeedGestation === 1) && (slave.pregKnown === 1)) {
slave.pregControl = "speed up";
}
if ((slave.chem > 10) && (V.clinicUpgradeFilters >= 1)) {
if (slave.health.health > -50 && (V.clinicUpgradePurge > 0)) {
slave.chem -= 100 * V.clinicUpgradePurge;
healthDamage(slave, 15);
}
slave.chem = Math.max(slave.chem - 5, 0);
}
if (slave.lactation > 0) {
slave.boobs -= slave.boobsMilk;
slave.boobsMilk = 0;
}
}
/* Evaluate why the slave even needs to be here, and eject her if she doesn't */
const {He, he, his} = getPronouns(slave);
let remainReason = "";
if (slave.health.illness > 0) {
remainReason = `${He} stays in the clinic since ${he} is still sick.`;
} else if (slave.health.shortDamage >= 20) {
remainReason = `${He} stays in the clinic to recover from ${his} injuries.`;
} else if (slave.health.condition <= 40) {
remainReason = `${He} stays in the clinic since ${his} health is still poor.`;
} else if (S.Nurse && (slave.chem > 15) && (V.clinicUpgradeFilters === 1)) {
remainReason = `${He} stays in the clinic as unhealthy chemicals are still being flushed from ${his} system.`;
} else if (S.Nurse && (slave.pregKnown === 1) && (V.clinicSpeedGestation > 0 || slave.pregControl === "speed up")) {
remainReason = `${He} stays in the clinic to hurry ${his} pregnancy along safely.`;
} else if (S.Nurse && (V.clinicObservePregnancy === 1) && (slave.pregAdaptation * 1000 < slave.bellyPreg || slave.preg > slave.pregData.normalBirth / 1.33)) {
remainReason = `${He} stays in the clinic waiting for the child to be born.`;
} else if (S.Nurse && (V.clinicInflateBelly > 0) && (slave.bellyImplant >= 0) && (slave.bellyImplant <= (V.arcologies[0].FSTransformationFetishistResearch ? 800000 : 130000))) {
remainReason = `${He} stays in the clinic as ${his} implants can still receive more filling.`;
} else {
const reassignment = App.UI.DOM.appendNewElement("p", frag, '');
const {he, his} = getPronouns(slave);
let r = [];
r.push(`<span class="slave-name">${slave.slaveName}</span> has been cured${(S.Nurse && V.clinicUpgradeFilters > 0) ? ' and purified' : ''},`);
r.push(`<span class="noteworthy">`);
if (V.assignmentRecords[slave.ID]) {
const oldJob = V.assignmentRecords[slave.ID];
assignJobSafely(slave, oldJob);
if (slave.choosesOwnAssignment === 1) {
r.push(`and ${he} is resting before choosing another task.`);
} else if (slave.assignment === "rest") {
if (oldJob !== "rest") {
r.push(`and since ${he} was unable to return to ${his} old task to ${oldJob}, ${his} assignment has defaulted to rest.`);
} else {
r.push(`so ${he} has returned to rest.`);
}
} else {
r.push(`so ${he} goes back to ${slave.assignment}.`);
}
} else {
r.push(`so ${his} assignment has defaulted to rest.`);
removeJob(slave, "get treatment in the clinic");
}
r.push(`</span>`);
restedSlaves++;
$(reassignment).append(r.join(" "));
continue;
}
App.Utils.setLocalPronouns(slave); // need this for the includes
if (V.showEWD !== 0) {
const slaveEntry = App.UI.DOM.appendNewElement("div", frag, '', "slave-report");
if (V.seeImages && V.seeReportImages) {
App.UI.DOM.appendNewElement("div", slaveEntry, App.Art.SlaveArtElement(slave, 0, 0), ["imageRef", "tinyImg"]);
}
slaveEntry.append(App.EndWeek.favoriteIcon(slave), " ");
$(slaveEntry).append(`<span class='slave-name'>${SlaveFullName(slave)}</span> `);
if (slave.choosesOwnAssignment === 2) {
$(slaveEntry).append(App.SlaveAssignment.choosesOwnJob(slave));
} else {
$(slaveEntry).append(`is receiving treatment in ${V.clinicName}.`);
}
const patientContent = App.UI.DOM.appendNewElement("div", slaveEntry, '', "indent");
$(patientContent).append(`${He} ${App.SlaveAssignment.rest(slave)} `);
$(patientContent).append(remainReason);
$(slaveEntry).append(App.SlaveAssignment.standardSlaveReport(slave, false));
} else {
// discard return values silently
App.SlaveAssignment.choosesOwnJob(slave);
App.SlaveAssignment.rest(slave);
App.SlaveAssignment.standardSlaveReport(slave, true);
}
}
if (restedSlaves > 0) {
const rested = App.UI.DOM.appendNewElement("p", frag, '', "indent");
rested.append((restedSlaves === 1) ? `One slave has` : `${restedSlaves} slaves have`, " been returned to ");
App.UI.DOM.appendNewElement("span", rested, `health${(S.Nurse && V.clinicUpgradeFilters > 0) ? ' and purity' : ''}`, "green");
rested.append(` and will be released from the clinic before the end of the week.`);
if (V.clinicDecoration !== "standard") {
const decorationEffects = App.UI.DOM.appendNewElement("p", frag, '', "indent");
$(decorationEffects).append(`${capFirstChar(V.clinicName)}'s ${V.clinicDecoration} atmosphere <span class="hotpink">had an impact on them</span> while they were getting treatment.`);
}
}
return frag;
};
|
MonsterMate/fc
|
src/endWeek/clinicReport.js
|
JavaScript
|
mit
| 18,917
|
globalThis.arcmgmt = function() {
const el = new DocumentFragment();
let r;
let _enslaved;
let _crime;
let _terrain;
let _transportHub;
let _honeymoon;
let _LCD;
let _SCD;
let _LSCD;
let _MCD;
let _UCD;
let _TCD;
let _percACitizens;
let _percMiddleClass;
let _percLowerClass;
let _percTopClass;
let _percUpperClass;
let _percASlaves;
let _rentMultiplier;
let _AWeekGrowth;
let _econMult;
if (V.useTabs === 0) {
App.UI.DOM.appendNewElement("h2", el, "Arcology Management");
}
const _schools = App.Utils.schoolCounter();
App.UI.DOM.appendNewElement("p", el, ownershipReport(false));
/* Sexual Satisfaction */
if (V.arcologies[0].FSDegradationist !== "unset") {
if (V.arcadeDemandDegResult === 1) {
appendDiv(`Your endeavors to see slaves as less than human are hampered as citizens find that there are too few slaves ready to be treated as sexual objects around. <span class="red">Development towards a degradationist society is damaged</span> as a result.`);
} else if (V.arcadeDemandDegResult === 2) {
appendDiv(`Your endeavors to see slaves as less than human are slightly hampered as citizens find that there are not quite enough slaves ready to be treated as sexual objects around. <span class="red">Development towards a degradationist society is lightly damaged</span> as a result.`);
} else if (V.arcadeDemandDegResult === 3) {
appendDiv(`Your citizens were expecting to see more slaves available as sexual objects, but there aren't enough complaints to damage your societal development at this time.`);
} else if (V.arcadeDemandDegResult === 4) {
appendDiv(`Your citizens find themselves surrounded by slaves ready to be degraded and used as sexual objects, this <span class="green">helps to establish your degradationist society</span>.`);
} else if (V.arcadeDemandDegResult === 5) {
appendDiv(`You are providing your citizens with an adequate amount of slaves to be used as sexual objects, as is expected in your degradationist society.`);
}
}
$(el).append(supplyPoliciesReport("lower"));
$(el).append(supplyPoliciesReport("middle"));
$(el).append(supplyPoliciesReport("upper"));
$(el).append(supplyPoliciesReport("top"));
/* New Population
Populations depend on the 'demand' for them. People flock to the Free City when there are jobs. Jobs for lower class people depend on prosperity and the need for labor from other classes. They compete with slaves for work.
More elite citizens require their own slaves and will cause the population of slaves to increase as they move in. FS and policies will impact how many slaves they desire and how productive they are. The PC's menials also compete for labor within the arcology. Slaves can now 'expire', speed depends on FS and policies. Default lifespan for menials is an average of ~4 years. */
V.oldACitizens = V.ACitizens;
let _FSScore = 0; /* FS progress for tourism */
let _slaveDemandU = 1; /* Changes to upperClass slave demand */
let _slaveDemandT = 1; /* Changes to topClass slave demand */
let _expirationFS = 0.005; /* Changes to likelihood of slave death */
let _expirationLC = 0.003; /* Changes to likelihood of lowerClass death */
let _expirationMC = 0.002; /* Changes to likelihood of middleClass death */
let _expirationUC = 0.001; /* Changes to likelihood of upperClass death */
let _expirationTC = 0.001; /* Changes to likelihood of topClass death */
let _slaveProductivity = 0.8; /* Changes to slave productivity*/
let _lowerClass = 0; /* Fixed amount of changes to lowerClass interest to move in*/
let _lowerClassP = 1; /* Scaling changes to lowerClass interest ("stacking bonus")*/
let _welfareFS = 0.004; /* Changes to likelihood of lowerClass getting enslaved*/
let _middleClass = 0; /* See lowerClass examples for the rest of these*/
let _middleClassP = 1;
let _upperClass = 0;
let _upperClassP = 1;
let _topClass = 0;
let _topClassP = 1;
el.append(fsImpact());
el.append(policiesImpact());
const schoolSubsidy = Array.from(App.Data.misc.schools.keys()).reduce((acc, current) => acc + V[current].subsidize, 0);
_middleClass += (schoolSubsidy) * 40;
_middleClassP *= 1 + (schoolSubsidy) * 0.005;
r = [];
r.push(slaveRetirement());
r.push(expiration());
r.push(denseApartments());
App.Events.addParagraph(el, r);
citizenToSlave();
V.GDP = Math.trunc(((V.NPCSlaves + V.menials) * 0.35 * _slaveProductivity) + (V.lowerClass * 0.35) + (V.middleClass * 0.75) + (V.upperClass * 2) + (V.topClass * 10)) / 10;
/* formula to calculate localEcon effect */
if (V.localEcon >= 100) {
_econMult = (1 + 1.15 * (Math.trunc(1000-100000/200)/8.5)/100);
} else {
_econMult = (1/(1 + 5 * Math.sqrt(Math.trunc(100000/50-1000)/8.5)/100));
}
if (!isFrozen()) {
transport();
} else {
/* enslavement happens even if there's no traffic due to weather */
enslavement();
}
V.ASlaves = V.NPCSlaves + V.menials + V.fuckdolls + V.menialBioreactors;
if (V.secExpEnabled > 0) {
V.ASlaves += (V.SecExp.buildings.secHub ? V.SecExp.buildings.secHub.menials : 0) + App.SecExp.Manpower.employedSlave;
}
V.ACitizens = V.lowerClass + V.middleClass + V.upperClass + V.topClass;
_percACitizens = Math.trunc((V.ACitizens / (V.ACitizens + V.ASlaves)) * 1000) / 10;
_percASlaves = Math.trunc((V.ASlaves / (V.ACitizens + V.ASlaves)) * 1000) / 10;
_percLowerClass = Math.trunc((V.lowerClass / (V.ACitizens + V.ASlaves)) * 1000) / 10;
_percMiddleClass = Math.trunc((V.middleClass / (V.ACitizens + V.ASlaves)) * 1000) / 10;
_percUpperClass = Math.trunc((V.upperClass / (V.ACitizens + V.ASlaves)) * 1000) / 10;
_percTopClass = Math.trunc((V.topClass / (V.ACitizens + V.ASlaves)) * 1000) / 10;
if (V.cheatMode === 1 || V.debugMode === 1) {
appendDiv(`${V.arcologies[0].prosperity} Prosperity | ${_FSScore} FS Score | ${_honeymoon} Honeymoon | ${_transportHub} Transporthub | ${_terrain} Terrain | ${_crime} Crime`);
appendDiv(`${_LSCD} Lower + Slave Class Demand | ${_SCD} Slave Class Demand | ${_slaveProductivity} Slave Productivity`);
appendDiv(`${_LCD} Lower Class Demand | ${_lowerClassP} LC Multiplier`);
appendDiv(`${_MCD} Middle Class Demand | ${_middleClassP} MC Multiplier`);
appendDiv(`${_UCD} Upper Class Demand | ${_upperClassP} UC Multiplier`);
appendDiv(`${_TCD} Top Class Demand | ${_topClassP} TC Multiplier`);
}
appendDiv(`${V.arcologies[0].name} is home to the following:`);
appendDiv(`Citizens | ${V.ACitizens} | ${_percACitizens}%`);
appendDiv(`Lower Class Citizens | ${V.lowerClass} | ${_percLowerClass}%`);
appendDiv(`Middle Class Citizens | ${V.middleClass} | ${_percMiddleClass}%`);
appendDiv(`Upper Class Citizens | ${V.upperClass} | ${_percUpperClass}%`);
appendDiv(`Millionaires | ${V.topClass} | ${_percTopClass}%`);
appendDiv(`Slaves | ${V.ASlaves} | ${_percASlaves}%`);
r = [];
if (V.arcologies[0].FSSupremacistLawME === 1) {
r.push(`The citizenry is entirely ${V.arcologies[0].FSSupremacistRace}.`);
}
if (V.arcologies[0].FSRomanRevivalistLaw === 1) {
r.push(`The citizens take pride in their martial duties, preferring to wear utilitarian clothing even when off duty.`);
}
if (V.arcologies[0].FSNeoImperialistLaw1 === 1) {
r.push(`You can occasionally see an Imperial Knight in full, noble battle-dress coordinating groups of organized citizen's militias, dressed in uniform liveries. Your citizens take pride in their fighting abilities.`);
}
if (V.arcologies[0].FSGenderRadicalistDecoration === 100) {
r.push(`Every single one of the slaves is female by virtue of her fuckable asshole.`);
} else if (V.arcologies[0].FSGenderFundamentalistSMR === 1) {
r.push(`Almost every prominent citizen is an upstanding man, while the slave population is almost completely female.`);
}
if (V.arcologies[0].FSEgyptianRevivalistLaw === 1) {
r.push(`Close relationships between citizens and slaves, especially slave siblings, are common.`);
} else if (V.arcologies[0].FSEgyptianRevivalistIncestPolicy === 1) {
r.push(`Close relationships between citizens, slaves and siblings are common.`);
}
if (V.arcologies[0].FSSubjugationistLawME === 1) {
r.push(`${capFirstChar(V.arcologies[0].FSSubjugationistRace)} subhumans form a majority of the slaves.`);
}
if (V.arcologies[0].FSChattelReligionistLaw === 1) {
r.push(`The slave population as a whole is unusually accepting of its station.`);
}
if (V.arcologies[0].FSPaternalistLaw === 1) {
r.push(`The slaves are well cared for, and it can sometimes be difficult to tell slaves from citizens.`);
} else if (V.arcologies[0].FSDegradationistLaw === 1) {
r.push(`Most of the slaves are recent captures, since the vicious society that's taken root here uses people up quickly.`);
}
if (V.arcologies[0].FSBodyPuristLaw === 1) {
r.push(`The average slave is quite healthy.`);
} else if (V.arcologies[0].FSTransformationFetishistSMR === 1) {
if (V.arcologies[0].FSTransformationFetishistResearch === 1) {
r.push(`Breast implants are almost universal;`);
if (V.arcologies[0].FSSlimnessEnthusiast === "unset") {
r.push(`an M-cup bust is below average among the slave population.`);
} else {
r.push(`even the most lithe slave sports a pair of overly round chest balloons.`);
}
} else {
r.push(`Breast implants are almost universal;`);
if (V.arcologies[0].FSSlimnessEnthusiast === "unset") {
r.push(`a D-cup bust is below average among the slave population.`);
} else {
r.push(`even the most lithe slave sports a pair of overly round chest balloons.`);
}
}
}
if (V.arcologies[0].FSIntellectualDependencySMR === 1) {
r.push(`The average slave is entirely dependent on its master.`);
} else if (V.arcologies[0].FSSlaveProfessionalismSMR === 1) {
r.push(`The average slave is entirely capable of acting on its master's behalf.`);
}
if (V.arcologies[0].FSSlimnessEnthusiastSMR === 1) {
r.push(`Most of the slave population is quite slim and physically fit.`);
} else if (V.arcologies[0].FSAssetExpansionistSMR === 1) {
r.push(`The arcology's consumption of pharmaceuticals is impressive, since slave growth hormones are nearly ubiquitous.`);
}
if (V.arcologies[0].FSPetiteAdmirationSMR === 1) {
r.push(`Slaves are both easy to identify, but hard to find in a crowd given their short stature.`);
} else if (V.arcologies[0].FSStatuesqueGlorificationSMR === 1) {
r.push(`${V.arcologies[0].name}'s`);
if (V.arcologies[0].FSStatuesqueGlorificationLaw === 1) {
r.push(`entire`);
} else {
r.push(`slave`);
}
r.push(`population stands taller than most visitors.`);
}
if (V.arcologies[0].FSRepopulationFocusLaw === 1) {
r.push(`Many of the women in the arcology are pregnant.`);
} else if (V.arcologies[0].FSRepopulationFocusSMR === 1) {
r.push(`Most of the slaves in the arcology are pregnant.`);
} else if (V.arcologies[0].FSRestartLaw === 1) {
r.push(`Many of your civilians have agreed to be sterilized.`);
} else if (V.arcologies[0].FSRestartSMR === 1) {
r.push(`Many of slave slaves in your arcology are infertile.`);
}
if (V.arcologies[0].FSPastoralistLaw === 1) {
r.push(`Much of the menial slave labor force works to service the arcology's hundreds of human cattle.`);
}
if (V.arcologies[0].FSPhysicalIdealistSMR === 1) {
r.push(`The arcology must import a very large quantity of nutritive protein to nourish its slaves.`);
}
if (V.arcologies[0].FSHedonisticDecadenceSMR === 1) {
r.push(`The arcology must import a very large quantity of fattening food to plump up its slaves.`);
}
if (V.ACitizens > V.ASlaves * 2) { /* This will need to go away Eventually*/
r.push(`Since most citizens do not own sex slaves, <span class="yellowgreen">demand for sexual services is intense.</span>`);
} else if (V.ACitizens > V.ASlaves) {
r.push(`Since many citizens do not own sex slaves, <span class="yellowgreen">demand for sexual services is healthy.</span>`);
} else if (V.ACitizens > V.ASlaves * 0.5) {
r.push(`Since many citizens keep a personal sex slave, <span class="yellow">demand for sexual services is only moderate.</span>`);
} else if (V.ACitizens > V.ASlaves * 0.25) {
r.push(`Since most citizens keep at least one sex slave, <span class="gold">local demand for sexual services is low,</span> though visitors to the arcology will always keep it above a certain minimum.`);
} else {
r.push(`Since most of your citizens now keep private harems of sex slaves, <span class="gold">local demand for sexual services is very low,</span> though visitors to the arcology will always keep it above a certain minimum.`);
}
App.Events.addParagraph(el, r);
r = [];
_rentMultiplier = 1;
if (V.arcologies[0].FSPaternalistLaw === 1) {
_rentMultiplier *= 0.95;
r.push(`Tenants who can prove that they abstain from certain practices are given a reduction to their rent.`);
}
if (V.arcologies[0].FSYouthPreferentialistLaw === 1) {
_rentMultiplier *= 0.95;
r.push(`Younger citizens are offered subsidized rent to encourage young people to join the free population of your arcology.`);
} else if (V.arcologies[0].FSMaturityPreferentialistLaw === 1) {
_rentMultiplier *= 0.95;
r.push(`Older citizens are offered subsidized rent to encourage mature people to join the free population of your arcology.`);
}
if (V.arcologies[0].FSPetiteAdmirationLaw === 1) {
_rentMultiplier *= 0.95;
r.push(`Citizens are offered subsidized rent to take drastically shorter partners and harem members.`);
} else if (V.arcologies[0].FSStatuesqueGlorificationLaw === 1) {
_rentMultiplier *= 0.95;
r.push(`Tall citizens are offered rent subsidies, at the expense of short citizens, to encourage more statuesque individuals to join the free population of your arcology.`);
}
if (V.arcologies[0].FSRepopulationFocusLaw === 1) {
_rentMultiplier *= 0.95;
r.push(`Pregnant citizens are offered subsidized rent to encourage free women to become pregnant and pregnant women to join the free population of your arcology.`);
} else if (V.arcologies[0].FSRestartLaw === 1) {
_rentMultiplier *= 1.05;
r.push(`Non-Elite citizens who refuse to be sterilized face a moderate tax and the looming possibility of expulsion or enslavement.`);
}
if (V.arcologies[0].FSHedonisticDecadenceLaw === 1) {
_rentMultiplier *= 0.95;
r.push(`Food vendors are offered subsidized rent and operating expenses to set up shop in your arcology.`);
}
if (V.secExpEnabled > 0) {
if (V.SecExp.edicts.alternativeRents === 1) {
/* A silly policy*/
r.push(`Your citizens are allowed to pay their rents in slaves rather than cash and a few financially challenged individuals make use of this.`);
_rentMultiplier *= 0.95;
const _movement = random(0, 3);
V.menials += _movement;
V.NPCSlaves -= _movement;
}
if (V.SecExp.edicts.defense.discountMercenaries === 1) {
r.push(`Mercenaries willing to come to your arcology are given a discount on rent.`);
_rentMultiplier *= 0.98;
}
if (V.SecExp.edicts.defense.privilege.militiaSoldier === 1) {
r.push(`Citizens in the militia are exempt from rent payment.`);
_rentMultiplier *= 0.98;
}
}
if (V.arcologies[0].FSArabianRevivalistLaw === 1) {
_rentMultiplier *= 1.05;
r.push(`Those of your citizens who have not yet subscribed to the society you are building are permitted to live and do business here, but must pay a moderate jizya tax for the privilege as part of their rent.`);
}
if (V.arcologies[0].FSNeoImperialistLaw2 === 1) {
_rentMultiplier *= 1.05;
r.push(`Your Barons, equipped with golden bands as a symbol of office, flit about their assigned sections of the arcology to personally check up on businesses and punish petty criminals. They make any evasion of your rent extraordinarily difficult, and consistently earn you more than they take.`);
}
App.Events.addParagraph(el, r);
r = [];
_rentMultiplier *= 1 + (5 - V.baseDifficulty) / 20;
const _rents = Math.trunc((V.lowerClass * V.rent.lowerClass + V.middleClass * V.rent.middleClass + V.upperClass * V.rent.upperClass + V.topClass * V.rent.topClass) * _rentMultiplier / 25);
if (!Number.isInteger(_rents)) {
appendDiv(`<span class="red">Error: rents is outside accepted range, please report this issue</span>`);
} else {
cashX(_rents, "rents");
}
r.push(`This week, rents from ${V.arcologies[0].name} came to <span class="yellowgreen"> ${cashFormat(_rents)}.</span>`);
if (V.difficultySwitch === 0) {
if (V.localEcon < 100) {
let _bribes = (V.week * 100) + random(-100, 100);
if (V.cash > 1000) {
_bribes += Math.trunc(V.cash * 0.02);
}
r.push(`The <span class="red">degenerating world economy</span> makes supplying and maintaining ${V.arcologies[0].name} extremely difficult. This week, bribes and other costs to keep it running came to <span class="yellowgreen">${cashFormat(_bribes)}.</span>`);
cashX(forceNeg(_bribes), "rents");
}
}
if (V.menials + V.menialBioreactors + V.fuckdolls > 0) {
let _menialEarnings = 0;
let _bioreactorEarnings = 0;
let _fuckdollsEarnings = 0;
r.push(`You own`);
if (V.menials > 0) {
if (V.menials > Math.trunc(_LSCD / _slaveProductivity - _SCD)) {
_menialEarnings += Math.trunc(_LSCD / _slaveProductivity - _SCD) * 10;
r.push(`<span class="red">more menial slaves than there was work,</span> consider selling some.<br> You own`);
} else {
_menialEarnings = V.menials * 10;
if (V.Sweatshops > 0) {
if (V.Sweatshops * 500 <= V.menials) {
_menialEarnings += V.Sweatshops * 7000;
_menialEarnings += (V.menials - V.Sweatshops * 500) * 10;
} else {
_menialEarnings += V.menials * 14;
}
}
}
if (V.illegalDeals.menialDrug === 1) {
_menialEarnings = Math.trunc(_menialEarnings * 1.5);
}
if (V.menials > 1) {
r.push(`${num(V.menials)} menial slaves${((V.menialBioreactors > 0) && (V.fuckdolls === 0)) ? ` and` : `,`}`);
} else {
r.push(`one menial slave${((V.menialBioreactors > 0) && (V.fuckdolls === 0)) ? ` and` : `,`}`);
}
cashX(_menialEarnings, "menialTrades");
}
if (V.menialBioreactors > 0) {
_bioreactorEarnings = V.menialBioreactors * (10 + (10 * V.arcologies[0].FSPastoralistLaw));
if (V.dairy && V.dairyUpgradeMenials) {
_bioreactorEarnings += V.menialBioreactors * 5;
}
if (V.menialBioreactors > 1) {
r.push(`${num(V.menialBioreactors)} standard bioreactors,`);
} else {
r.push(`one standard bioreactor,`);
}
if (V.fuckdolls > 0) {
r.push(`and`);
}
cashX(_bioreactorEarnings, "menialBioreactors");
}
if (V.fuckdolls > 0) {
const arcadeFreeSpace = V.arcade - App.Entity.facilities.arcade.employeesIDs().size;
const _fuckdollsArcade = arcadeFreeSpace > 0 ? Math.min(arcadeFreeSpace, V.fuckdolls) : 0;
let _arcadeUpgradeInjectors;
if (V.arcadeUpgradeInjectors === 0) {
_arcadeUpgradeInjectors = 0;
} else if (V.arcadeUpgradeInjectors === 1) {
_arcadeUpgradeInjectors = 1;
} else {
_arcadeUpgradeInjectors = 1.5;
}
_fuckdollsEarnings = Math.trunc(((V.fuckdolls - _fuckdollsArcade) * 140 + _fuckdollsArcade * (175 + 35 * _arcadeUpgradeInjectors)) * (V.arcadePrice - 0.5) / 10);
/* The "/ 10" at the end is just there to keep the price in line with other current prices, hopefully prices will get to a spot where this can be dropped*/
if (V.fuckdolls > 1) {
r.push(`${num(V.fuckdolls)} standard Fuckdolls,`);
} else if (V.fuckdolls === 1) {
r.push(`one Fuckdoll,`);
}
if (_fuckdollsArcade > 1) {
r.push(`${num(_fuckdollsArcade)} of which are stationed in the arcade,`);
} else if (_fuckdollsArcade === 1 && V.fuckdolls > 1) {
r.push(`one of which is stationed in the arcade,`);
} else if (_fuckdollsArcade === 1) {
r.push(`which is stationed in the arcade,`);
}
if (V.policies.publicFuckdolls === 1) {
repX(_fuckdollsEarnings / 5, "fuckdolls");
_fuckdollsEarnings = Math.trunc(V.fuckdolls * -0.5);
/* The upkeep of a Fuckdoll*/
}
cashX(_fuckdollsEarnings, "fuckdolls");
}
if (_menialEarnings + _bioreactorEarnings + _fuckdollsEarnings > 0) {
r.push(`earning you <span class="yellowgreen">${cashFormat(_menialEarnings + _bioreactorEarnings + _fuckdollsEarnings)}.</span>`);
} else {
r.push(`costing you <span class="red">${cashFormat(_menialEarnings + _bioreactorEarnings + _fuckdollsEarnings)}</span> on account of your free Fuckdoll policy.`);
}
if (V.illegalDeals.menialDrug === 1) {
r.push(`Your menial slave productivity has been boosted by performance enhancing drugs.`);
}
}
_AWeekGrowth = V.AGrowth;
if (_AWeekGrowth + V.arcologies[0].prosperity > V.AProsperityCap) {
r.push(`<span class="yellow">${V.arcologies[0].name} is at its maximum prosperity, so rents will not increase until it is improved.</span>`);
} else if ((2 * _AWeekGrowth) + V.arcologies[0].prosperity >= V.AProsperityCap) {
r.push(`<span class="yellow">Your arcology is nearly at its maximum prosperity.</span>`);
V.arcologies[0].prosperity += _AWeekGrowth;
} else {
if (V.arcologies[0].ownership >= 100) {
r.push(`Your controlling interest in ${V.arcologies[0].name} allows you to lead it economically, <span class="green">supercharging growth.</span>`);
_AWeekGrowth += 3;
} else if (V.arcologies[0].ownership >= random(40, 100)) {
r.push(`Your interest in ${V.arcologies[0].name} allows you to lead it economically, <span class="green">boosting growth.</span>`);
_AWeekGrowth++;
}
if (V.arcologies[0].prosperity < (V.rep / 100)) {
r.push(`Your impressive reputation relative to ${V.arcologies[0].name}'s prosperity <span class="green">drives an increase in business.</span>`);
_AWeekGrowth++;
} else if (V.rep > 18000) {
/* no growth penalty if PC is at high rep, no matter how high prosperity goes */
} else if (V.arcologies[0].prosperity > (V.rep / 60)) {
r.push(`Your low reputation relative to ${V.arcologies[0].name}'s prosperity <span class="red">seriously impedes business growth.</span>`);
_AWeekGrowth -= 2;
} else if (V.arcologies[0].prosperity > (V.rep / 80)) {
r.push(`Your unimpressive reputation relative to ${V.arcologies[0].name}'s prosperity <span class="yellow">slows business growth.</span>`);
_AWeekGrowth--;
}
if (V.secExpEnabled > 0) {
if (V.SecExp.core.trade <= 20) {
_AWeekGrowth += 1;
} else if (V.SecExp.core.trade <= 40) {
_AWeekGrowth += 2;
} else if (V.SecExp.core.trade <= 60) {
_AWeekGrowth += 3;
} else if (V.SecExp.core.trade <= 80) {
_AWeekGrowth += 4;
} else {
_AWeekGrowth += 5;
}
if (V.SecExp.smilingMan.progress === 10) {
r.push(`The ex-criminal known to the world as The Smiling Man puts her impressive skills to work, improving the financial situation of the arcology with ease.`);
_AWeekGrowth++;
}
}
if (V.personalAttention === "business") {
if ((V.PC.skill.trading >= 100) || (V.PC.career === "arcology owner")) {
r.push(`Your <span class="springgreen">business focus and your experience</span> allow you to greatly assist in advancing the arcology's prosperity.`);
_AWeekGrowth += 2;
} else {
r.push(`Your business focus allows you to help improve the arcology's prosperity.`);
_AWeekGrowth++;
}
if (V.PC.actualAge >= 50) {
if (V.arcologies[0].FSMaturityPreferentialistLaw === 1) {
r.push(`You are able to leverage your long seniority in the business community using the arcology's favorable laws to further advance prosperity.`);
_AWeekGrowth++;
}
} else if (V.PC.actualAge < 35) {
if (V.arcologies[0].FSYouthPreferentialistLaw === 1) {
r.push(`You are able to leverage your freshness in the business community using the arcology's favorable laws to further advance prosperity.`);
_AWeekGrowth++;
}
}
}
if (V.arcologies[0].FSNull !== "unset") {
r.push(`Your cultural openness is a powerful driver of economic activity.`);
_AWeekGrowth += Math.max(1, Math.trunc(V.arcologies[0].FSNull / 25));
}
if (V.arcologies[0].FSRestart !== "unset") {
r.push(`Your powerful connections open many avenues of economic expansion.`);
_AWeekGrowth += Math.max(1, Math.trunc(V.arcologies[0].FSRestart / 10));
}
if (V.arcologies[0].FSPaternalist >= random(1, 100)) {
r.push(`This week, the careful attention to slave welfare your new society emphasizes has been a driver of prosperity.`);
_AWeekGrowth++;
}
if (V.arcologies[0].FSHedonisticDecadence >= random(1, 100)) {
r.push(`This week, several new businesses opened local branches or broke ground, greatly increasing prosperity.`);
_AWeekGrowth += 2;
}
if (V.arcologies[0].FSChattelReligionistCreed === 1) {
if (V.nicaea.focus === "owners") {
r.push(`The focus on slaveowners' whims in the creed of ${V.nicaea.name} interests the rich and powerful, increasing prosperity.`);
_AWeekGrowth += V.nicaea.power;
}
}
if (V.arcologies[0].FSSlaveProfessionalismLaw === 1) {
r.push(`The concentrated intelligence of the free population finds innovative ways to spur prosperity.`);
_AWeekGrowth++;
}
if (V.arcologies[0].FSRomanRevivalist >= random(1, 100)) {
r.push(`This week, intense interest in your project to revive Roman values has driven prosperity.`);
_AWeekGrowth++;
} else if (V.arcologies[0].FSNeoImperialist >= random(1, 100)) {
r.push(`This week, your tightly hierarchical Imperial society's efficient organization has attracted traders and increased prosperity.`);
_AWeekGrowth++;
} else if (V.arcologies[0].FSChineseRevivalist !== "unset") {
if ((V.HeadGirlID !== 0) && (V.RecruiterID !== 0) && (V.BodyguardID !== 0)) {
r.push(`This week, your imperial administration, staffed with a Head Girl, a Recruiter, and a Bodyguard, has improved prosperity.`);
_AWeekGrowth += 2;
}
}
if (V.PC.skill.trading >= 100) {
r.push(`Your <span class="springgreen">business skills</span> drive increased prosperity.`);
_AWeekGrowth++;
} else if (V.PC.career === "arcology owner") {
r.push(`Your <span class="springgreen">experience in the Free Cities</span> helps increase prosperity.`);
_AWeekGrowth++;
}
if (_schools === 1) {
r.push(`The presence of a slave school in the arcology improves the local economy.`);
} else if (_schools > 0) {
r.push(`The presence of slave schools in the arcology greatly improves the local economy.`);
} else if (V.arcologies[0].prosperity > 80) {
r.push(`The lack of a branch campus from a reputable slave school is slowing further development of the local economy.`);
_AWeekGrowth--;
}
_AWeekGrowth += _schools;
if (V.arcologies[0].FSDegradationistLaw === 1) {
r.push(`Requiring menials to be given time to fuck human sex toys in the arcade reduces labor efficiency, slowing growth and costs money for each menial slave you own.`);
_AWeekGrowth--;
cashX(forceNeg(V.menials * 3 * V.arcadePrice), "fuckdolls");
}
if (V.arcologies[0].FSBodyPuristLaw === 1) {
r.push(`The drug surcharge used to fund the purity regime reduces growth.`);
_AWeekGrowth--;
}
if (V.arcologies[0].FSPastoralistLaw === 1) {
r.push(`Prosperity improvement is slowed by the regulations on animal products.`);
_AWeekGrowth--;
}
if (V.arcologies[0].FSPaternalistSMR === 1) {
r.push(`Your slave market regulations slow the flow of chattel through the arcology.`);
_AWeekGrowth--;
}
/* deactivated with sec Exp as they are modifiers for the trade mechanic */
if (V.secExpEnabled === 0) {
if (V.terrain === "urban") {
r.push(`Since your arcology is located in the heart of an urban area, its commerce is naturally vibrant.`);
_AWeekGrowth++;
}
if (V.terrain === "ravine") {
r.push(`Since your arcology is located in the heart of a ravine, its commerce is hindered by a lack of accessibility.`);
_AWeekGrowth--;
}
}
if (V.arcologies[0].embargoTarget && V.arcologies[0].embargoTarget !== -1) {
r.push(`The local economy is hurt by the double edged sword of your economic warfare.`);
_AWeekGrowth -= V.arcologies[0].embargo * 2;
}
let _desc = [];
let _descNeg = [];
for (let i = 1; i < V.arcologies.length; i++) {
const _opinion = App.Neighbor.opinion(0, i);
if (_opinion >= 100) {
_desc.push(V.arcologies[i].name);
} else if (_opinion <= -100) {
_descNeg.push(V.arcologies[i].name);
}
}
if (_desc.length > 0) {
r.push(`Your arcology's economy benefits from close social alignment with`);
if (_descNeg.length > 0) {
r.push(`${arrayToSentence(_desc)}, but`);
} else {
r.push(`${arrayToSentence(_desc)}.`);
}
_AWeekGrowth += _desc.length;
}
if (_descNeg.length > 0) {
if (_desc.length === 0) {
r.push(`Your arcology's economy is hindered by social conflicts with ${arrayToSentence(_descNeg)}.`);
_AWeekGrowth -= _descNeg.length;
}
}
if (V.policies.alwaysSubsidizeGrowth === 1) {
r.push(`Growth was subsidized as planned.`);
_AWeekGrowth++;
}
if (V.secExpEnabled > 0) {
App.Events.addParagraph(el, r);
r = [];
if (V.SecExp.core.authority > 18000) {
r.push(`Your authority is so high it discourages new business, slowing down the economic growth of the arcology.`);
_AWeekGrowth--;
}
if (V.SecExp.core.security > 80) {
r.push(`Your arcology is extremely safe and stable. Many businesses are attracted to it because of this.`);
_AWeekGrowth++;
} else if (V.SecExp.core.security < 20) {
r.push(`Your arcology's low security is an instability factor simply too dangerous to be ignored. Many businesses avoid your arcology because of this.`);
_AWeekGrowth--;
}
if (V.SecExp.edicts.weaponsLaw === 3) {
r.push(`The free flow of weapons in your arcology has a positive impact on its economy.`);
_AWeekGrowth++;
} else if (V.SecExp.edicts.weaponsLaw === 2) {
r.push(`The fairly liberal flow of weapons in your arcology has a positive impact on its economy.`);
_AWeekGrowth++;
}
if (V.SecExp.buildings.propHub && V.SecExp.buildings.propHub.upgrades.controlLeaks > 0) {
r.push(`The authenticity department prepares extremely accurate, but false financial reports, misleading many of your competitors, allowing your arcology more space to grow undisturbed.`);
_AWeekGrowth++;
}
if (V.SecExp.smilingMan.progress >= 2) {
if (V.SecExp.smilingMan.globalCrisisWeeks && V.SecExp.smilingMan.globalCrisisWeeks > 0) {
r.push(`The great global crisis ignited by The Smiling Man plan is a great weight on the shoulders of everyone, causing great harm to the prosperity of the arcology.`);
_AWeekGrowth -= random(2, 4);
V.SecExp.smilingMan.globalCrisisWeeks--;
} else if (V.SecExp.smilingMan.progress >= 3) {
r.push(`With the global economy recovering from the great crisis unleashed by the Smiling Man, there is plenty of room to grow. Your arcology's prosperity benefits from this greatly.`);
_AWeekGrowth++;
}
if ((V.SecExp.smilingMan.globalCrisisWeeks) && V.SecExp.smilingMan.globalCrisisWeeks === 0) {
delete V.SecExp.smilingMan.globalCrisisWeeks;
}
}
if (V.garrison.reactorTime > 0) {
r.push(`The damage to the reactor caused by the last rebellion is extensive. Businesses and private citizens struggle to operate with the unreliable and limited energy production offered by the auxiliary generators.`);
r.push(`It will still take`);
if (V.garrison.reactorTime > 1) {
r.push(`${V.garrison.reactorTime} weeks`);
} else {
r.push(`a week`);
}
r.push(`to finish repair works.`);
_AWeekGrowth -= random(1, 2);
V.garrison.reactorTime--;
IncreasePCSkills('engineering', 0.1);
}
const secExpTrade = App.SecExp.tradeReport();
r.push(secExpTrade.text);
_AWeekGrowth += secExpTrade.bonus;
App.Events.addParagraph(el, r);
r = [];
}
_AWeekGrowth = Math.trunc(0.5 * _AWeekGrowth);
if (_AWeekGrowth > 0) {
r.push(`Since ${V.arcologies[0].name} can support more citizens and more activity, <span class="green">its prosperity improved this week.</span>`);
} else if (_AWeekGrowth === 0) {
r.push(`Though ${V.arcologies[0].name} can support more citizens and more activity, <span class="yellow">growth was moribund this week.</span>`);
} else {
r.push(`Though ${V.arcologies[0].name} can support more citizens and more activity, <span class="red">it lost prosperity this week.</span>`);
}
App.Events.addNode(el, r);
r = [];
if (isNaN(_AWeekGrowth)) {
r.push(App.UI.DOM.makeElement("div", `Error: AWeekGrowth is NaN`, "red"));
} else {
V.arcologies[0].prosperity += _AWeekGrowth;
}
if (_schools > 0) {
el.append(schools());
}
if (V.assistant.market && V.assistant.market.limit > 0) {
let _popCap = menialPopCap();
let _menialSlaveValue = menialSlaveCost();
const {HeM, heM} = getPronouns(assistant.pronouns().market).appendSuffix('M');
// <br>
r.push(`Your <span class="bold">business assistant</span> manages the menial slave market.`);
if (_menialSlaveValue <= 900 + V.assistant.market.aggressiveness) { /* BUY */
let _bulkMax = _popCap.value - V.menials - V.fuckdolls - V.menialBioreactors;
if (_bulkMax <= 0) {
r.push(`There is no room in the parts of your arcology you own for more menial slaves.`);
} else {
if (V.cash > V.assistant.market.limit + _menialSlaveValue) {
let _menialBulkPremium = Math.trunc(1 + Math.clamp((V.cash - V.assistant.market.limit) / _menialSlaveValue, 0, _bulkMax) / 400);
r.push(`${HeM} acquires more chattel, since it's a buyers' market.`);
if ((V.arcologies[0].FSPastoralist !== "unset") && (V.arcologies[0].FSPaternalist === "unset")) {
V.menialBioreactors += Math.trunc(Math.clamp((V.cash - V.assistant.market.limit) / (_menialSlaveValue + _menialBulkPremium - 100), 0, _bulkMax));
V.menialSupplyFactor -= Math.trunc(Math.clamp((V.cash - V.assistant.market.limit) / (_menialSlaveValue + _menialBulkPremium - 100), 0, _bulkMax));
cashX(forceNeg(Math.trunc(Math.clamp((V.cash - V.assistant.market.limit) / (_menialSlaveValue + _menialBulkPremium - 100), 0, _bulkMax)) * (_menialSlaveValue + _menialBulkPremium - 100)), "menialBioreactorsTransferA");
} else if ((V.arcologies[0].FSDegradationist !== "unset")) {
V.fuckdolls += Math.trunc(Math.clamp((V.cash - V.assistant.market.limit) / ((_menialSlaveValue + _menialBulkPremium) * 2), 0, _bulkMax));
V.menialSupplyFactor -= Math.trunc(Math.clamp((V.cash - V.assistant.market.limit) / ((_menialSlaveValue + _menialBulkPremium) * 2), 0, _bulkMax));
cashX(forceNeg(Math.trunc(Math.clamp((V.cash - V.assistant.market.limit) / ((_menialSlaveValue + _menialBulkPremium) * 2), 0, _bulkMax)) * ((_menialSlaveValue + _menialBulkPremium) * 2)), "fuckdollsTransferA");
} else {
V.menials += Math.trunc(Math.clamp((V.cash - V.assistant.market.limit) / (_menialSlaveValue + _menialBulkPremium), 0, _bulkMax));
V.menialSupplyFactor -= Math.trunc(Math.clamp((V.cash - V.assistant.market.limit) / (_menialSlaveValue + _menialBulkPremium), 0, _bulkMax));
cashX(forceNeg(Math.trunc(Math.clamp((V.cash - V.assistant.market.limit) / (_menialSlaveValue + _menialBulkPremium), 0, _bulkMax) * (_menialSlaveValue + _menialBulkPremium))), "menialTransferA");
}
}
}
} else if (_menialSlaveValue >= 1100 - V.assistant.market.aggressiveness) { /* SELL */
if (V.menials + V.fuckdolls + V.menialBioreactors > 0) {
r.push(`${HeM} liquidates your chattel holdings, since it's a sellers' market.`);
}
let _cashX;
if (V.menials > 0) {
_cashX = V.menials * (menialSlaveCost(-V.menials));
V.menialDemandFactor -= V.menials;
V.menials = 0;
cashX(_cashX, "menialTransferA");
}
if (V.fuckdolls > 0) {
_cashX = V.fuckdolls * (menialSlaveCost(-V.fuckdolls) * 2);
V.menialDemandFactor -= V.fuckdolls;
V.fuckdolls = 0;
cashX(_cashX, "fuckdollsTransferA");
}
if (V.menialBioreactors > 0) {
_cashX = V.menialBioreactors * (menialSlaveCost(-V.menialBioreactors) - 100);
V.menialDemandFactor -= V.menialBioreactors;
V.menialBioreactors = 0;
cashX(_cashX, "menialBioreactorsTransferA");
}
} else {
r.push(`Prices are average, so ${heM} does not make any significant moves.`);
}
App.Events.addParagraph(el, r);
r = [];
}
const food = document.createElement("span");
food.id = "food";
if (V.foodMarket > 0) {
food.append(App.UI.DOM.renderPassage("Food Report"));
}
el.append(food);
}
App.Events.addNode(el, r);
return el;
function fsImpact() {
const el = new DocumentFragment();
const r = [];
if (V.arcologies[0].FSSupremacist !== "unset") {
_FSScore += Math.min(V.arcologies[0].FSSupremacist, 100);
_slaveDemandU *= 1 + Math.trunc(Math.min(V.arcologies[0].FSSupremacist, 100) / 20) * 0.04;
_slaveDemandT *= 1 + Math.trunc(Math.min(V.arcologies[0].FSSupremacist, 100) / 20) * 0.05;
_lowerClass += Math.trunc(Math.min(V.arcologies[0].FSSupremacist, 100) / 20) * -80;
_lowerClassP *= 1 + Math.trunc(Math.min(V.arcologies[0].FSSupremacist, 100) / 20) * -0.004;
_middleClass += Math.trunc(Math.min(V.arcologies[0].FSSupremacist, 100) / 20) * -16;
_middleClassP *= 1 + Math.trunc(Math.min(V.arcologies[0].FSSupremacist, 100) / 20) * -0.002;
_upperClass += Math.trunc(Math.min(V.arcologies[0].FSSupremacist, 100) / 20) * 5.4;
_upperClassP *= 1 + Math.trunc(Math.min(V.arcologies[0].FSSupremacist, 100) / 20) * 0.002;
_topClass += Math.trunc(Math.min(V.arcologies[0].FSSupremacist, 100) / 20) * 2;
_topClassP *= 1 + Math.trunc(Math.min(V.arcologies[0].FSSupremacist, 100) / 20) * 0.004;
r.push(`Your racial policies are concentrating power in the hands of ${V.arcologies[0].FSSupremacistRace} people.`); /* perhaps too obvious to bother with printing? */
}
if (V.arcologies[0].FSSubjugationist !== "unset") {
_FSScore += Math.min(V.arcologies[0].FSSubjugationist, 100);
_slaveDemandU *= 1 + Math.trunc(Math.min(V.arcologies[0].FSSubjugationist, 100) / 20) * 0.04;
_slaveDemandT *= 1 + Math.trunc(Math.min(V.arcologies[0].FSSubjugationist, 100) / 20) * 0.05;
_lowerClass += Math.trunc(Math.min(V.arcologies[0].FSSubjugationist, 100) / 20) * -80;
_lowerClassP *= 1 + Math.trunc(Math.min(V.arcologies[0].FSSubjugationist, 100) / 20) * -0.004;
_middleClass += Math.trunc(Math.min(V.arcologies[0].FSSubjugationist, 100) / 20) * -16;
_middleClassP *= 1 + Math.trunc(Math.min(V.arcologies[0].FSSubjugationist, 100) / 20) * -0.002;
_upperClass += Math.trunc(Math.min(V.arcologies[0].FSSubjugationist, 100) / 20) * 5.4;
_upperClassP *= 1 + Math.trunc(Math.min(V.arcologies[0].FSSubjugationist, 100) / 20) * 0.002;
_topClass += Math.trunc(Math.min(V.arcologies[0].FSSubjugationist, 100) / 20) * 2;
_topClassP *= 1 + Math.trunc(Math.min(V.arcologies[0].FSSubjugationist, 100) / 20) * 0.004;
r.push(`Your racial policies are stripping all power from the ${V.arcologies[0].FSSubjugationistRace} people.`); /* perhaps too obvious to bother with printing? */
}
if (V.arcologies[0].FSGenderRadicalist !== "unset") {
_FSScore += Math.min(V.arcologies[0].FSGenderRadicalist, 100);
_slaveDemandU *= 1 + Math.trunc(Math.min(V.arcologies[0].FSGenderRadicalist, 100) / 20) * 0.02;
_slaveDemandT *= 1 + Math.trunc(Math.min(V.arcologies[0].FSGenderRadicalist, 100) / 20) * 0.025;
_lowerClass += Math.trunc(Math.min(V.arcologies[0].FSGenderRadicalist, 100) / 20) * -40;
_lowerClassP *= 1 + Math.trunc(Math.min(V.arcologies[0].FSGenderRadicalist, 100) / 20) * -0.002;
_topClass += Math.trunc(Math.min(V.arcologies[0].FSGenderRadicalist, 100) / 20);
_topClassP *= 1 + Math.trunc(Math.min(V.arcologies[0].FSGenderRadicalist, 100) / 20) * 0.002;
r.push(`Your radical views on gender are scaring away the more traditionally minded.`);
}
if (V.arcologies[0].FSGenderFundamentalist !== "unset") {
_FSScore += Math.min(V.arcologies[0].FSGenderFundamentalist, 100);
_lowerClass += Math.trunc(Math.min(V.arcologies[0].FSGenderFundamentalist, 100) / 20) * 40;
_lowerClassP *= 1 + Math.trunc(Math.min(V.arcologies[0].FSGenderFundamentalist, 100) / 20) * 0.002;
_topClass += Math.trunc(Math.min(V.arcologies[0].FSGenderFundamentalist, 100) / 20) * -1;
_topClassP *= 1 + Math.trunc(Math.min(V.arcologies[0].FSGenderFundamentalist, 100) / 20) * -0.002;
r.push(`Your traditional views on gender are comforting to many, unimaginative to some.`);
}
if (V.arcologies[0].FSPaternalist !== "unset") {
_FSScore += Math.min(V.arcologies[0].FSPaternalist, 100);
_slaveDemandU *= 1 + Math.trunc(Math.min(V.arcologies[0].FSPaternalist, 100) / 20) * -0.04;
_slaveDemandT *= 1 + Math.trunc(Math.min(V.arcologies[0].FSPaternalist, 100) / 20) * -0.05;
_expirationFS *= 1 + Math.trunc(Math.min(V.arcologies[0].FSPaternalist, 100) / 20) * -0.15;
_slaveProductivity += Math.trunc(Math.min(V.arcologies[0].FSPaternalist, 100) / 20) * 0.02;
_lowerClass += Math.trunc(Math.min(V.arcologies[0].FSPaternalist, 100) / 20) * 80;
_lowerClassP *= 1 + Math.trunc(Math.min(V.arcologies[0].FSPaternalist, 100) / 20) * 0.004;
_welfareFS *= 1 + Math.trunc(Math.min(V.arcologies[0].FSPaternalist, 100) / 20) * -0.1;
_middleClass += Math.trunc(Math.min(V.arcologies[0].FSPaternalist, 100) / 20) * 16;
_middleClassP *= 1 + Math.trunc(Math.min(V.arcologies[0].FSPaternalist, 100) / 20) * 0.002;
_upperClass += Math.trunc(Math.min(V.arcologies[0].FSPaternalist, 100) / 20) * -5.4;
_upperClassP *= 1 + Math.trunc(Math.min(V.arcologies[0].FSPaternalist, 100) / 20) * -0.002;
_topClass += Math.trunc(Math.min(V.arcologies[0].FSPaternalist, 100) / 20) * -2;
_topClassP *= 1 + Math.trunc(Math.min(V.arcologies[0].FSPaternalist, 100) / 20) * -0.002;
r.push(`Poor citizens can rely on their better-off peers in ${V.arcologies[0].name}.`);
}
if (V.arcologies[0].FSDegradationist !== "unset") {
_FSScore += Math.min(V.arcologies[0].FSDegradationist, 100);
_slaveDemandU *= 1 + Math.trunc(Math.min(V.arcologies[0].FSDegradationist, 100) / 20) * 0.04;
_slaveDemandT *= 1 + Math.trunc(Math.min(V.arcologies[0].FSDegradationist, 100) / 20) * 0.05;
_expirationFS *= 1 + Math.trunc(Math.min(V.arcologies[0].FSDegradationist, 100) / 20) * 0.2;
_slaveProductivity += Math.trunc(Math.min(V.arcologies[0].FSDegradationist, 100) / 20) * 0.01;
_lowerClass += Math.trunc(Math.min(V.arcologies[0].FSDegradationist, 100) / 20) * -80;
_lowerClassP *= 1 + Math.trunc(Math.min(V.arcologies[0].FSDegradationist, 100) / 20) * -0.004;
_welfareFS *= 1 + Math.trunc(Math.min(V.arcologies[0].FSDegradationist, 100) / 20) * 0.1;
_middleClass += Math.trunc(Math.min(V.arcologies[0].FSDegradationist, 100) / 20) * -16;
_middleClassP *= 1 + Math.trunc(Math.min(V.arcologies[0].FSDegradationist, 100) / 20) * -0.002;
_upperClass += Math.trunc(Math.min(V.arcologies[0].FSDegradationist, 100) / 20) * 5.4;
_upperClassP *= 1 + Math.trunc(Math.min(V.arcologies[0].FSDegradationist, 100) / 20) * 0.002;
_topClass += Math.trunc(Math.min(V.arcologies[0].FSDegradationist, 100) / 20) * 2;
_topClassP *= 1 + Math.trunc(Math.min(V.arcologies[0].FSDegradationist, 100) / 20) * 0.004;
r.push(`The arcology is a cutthroat place in which falling into slavery is very easy.`);
}
if (V.arcologies[0].FSIntellectualDependency !== "unset") {
_FSScore += Math.min(V.arcologies[0].FSIntellectualDependency, 100);
_slaveDemandU *= 1 + Math.trunc(Math.min(V.arcologies[0].FSIntellectualDependency, 100) / 20) * 0.03;
_slaveDemandT *= 1 + Math.trunc(Math.min(V.arcologies[0].FSIntellectualDependency, 100) / 20) * 0.04;
_expirationFS *= 1 + Math.trunc(Math.min(V.arcologies[0].FSIntellectualDependency, 100) / 20) * 0.05;
_lowerClass += Math.trunc(Math.min(V.arcologies[0].FSIntellectualDependency, 100) / 20) * 20;
_lowerClassP *= 1 + Math.trunc(Math.min(V.arcologies[0].FSIntellectualDependency, 100) / 20) * 0.002;
_middleClass += Math.trunc(Math.min(V.arcologies[0].FSIntellectualDependency, 100) / 20) * 10;
_middleClassP *= 1 + Math.trunc(Math.min(V.arcologies[0].FSIntellectualDependency, 100) / 20) * 0.003;
_topClass += Math.trunc(Math.min(V.arcologies[0].FSIntellectualDependency, 100) / 20) * -3;
_topClassP *= 1 + Math.trunc(Math.min(V.arcologies[0].FSIntellectualDependency, 100) / 20) * -0.020;
r.push(`It's always a party in ${V.arcologies[0].name}, giving it a strong appeal to those unable to host such an event.`);
}
if (V.arcologies[0].FSSlaveProfessionalism !== "unset") {
_FSScore += Math.min(V.arcologies[0].FSSlaveProfessionalism, 100);
_slaveDemandU *= 1 + Math.trunc(Math.min(V.arcologies[0].FSSlaveProfessionalism, 100) / 20) * -0.1;
_slaveDemandT *= 1 + Math.trunc(Math.min(V.arcologies[0].FSSlaveProfessionalism, 100) / 20) * -0.125;
_lowerClass += Math.trunc(Math.min(V.arcologies[0].FSSlaveProfessionalism, 100) / 20) * -20;
_lowerClassP *= 1 + Math.trunc(Math.min(V.arcologies[0].FSSlaveProfessionalism, 100) / 20) * -0.002;
_upperClass += Math.trunc(Math.min(V.arcologies[0].FSSlaveProfessionalism, 100) / 20) * 2.7;
_upperClassP *= 1 + Math.trunc(Math.min(V.arcologies[0].FSSlaveProfessionalism, 100) / 20) * 0.001;
_topClass += Math.trunc(Math.min(V.arcologies[0].FSSlaveProfessionalism, 100) / 20) * 0.5;
_topClassP *= 1 + Math.trunc(Math.min(V.arcologies[0].FSSlaveProfessionalism, 100) / 20) * 0.001;
r.push(`The intelligent atmosphere of ${V.arcologies[0].name} makes it an attractive place for those with the brains to define their place in the world.`);
}
if (V.arcologies[0].FSBodyPurist !== "unset") {
_FSScore += Math.min(V.arcologies[0].FSBodyPurist, 100);
_lowerClass += Math.trunc(Math.min(V.arcologies[0].FSBodyPurist, 100) / 20) * 40;
_lowerClassP *= 1 + Math.trunc(Math.min(V.arcologies[0].FSBodyPurist, 100) / 20) * 0.002;
_upperClass += Math.trunc(Math.min(V.arcologies[0].FSBodyPurist, 100) / 20) * -2.7;
_upperClassP *= 1 + Math.trunc(Math.min(V.arcologies[0].FSBodyPurist, 100) / 20) * -0.001;
_topClass += Math.trunc(Math.min(V.arcologies[0].FSBodyPurist, 100) / 20) * -0.5;
_topClassP *= 1 + Math.trunc(Math.min(V.arcologies[0].FSBodyPurist, 100) / 20) * -0.001;
r.push(`Body purist fashion standards comfort the poor as they stand out less from their more fortunate neighbors.`);
}
if (V.arcologies[0].FSTransformationFetishist !== "unset") {
_FSScore += Math.min(V.arcologies[0].FSTransformationFetishist, 100);
_slaveDemandU *= 1 + Math.trunc(Math.min(V.arcologies[0].FSTransformationFetishist, 100) / 20) * 0.02;
_slaveDemandT *= 1 + Math.trunc(Math.min(V.arcologies[0].FSTransformationFetishist, 100) / 20) * 0.025;
_lowerClass += Math.trunc(Math.min(V.arcologies[0].FSTransformationFetishist, 100) / 20) * -40;
_lowerClassP *= 1 + Math.trunc(Math.min(V.arcologies[0].FSTransformationFetishist, 100) / 20) * -0.002;
_upperClass += Math.trunc(Math.min(V.arcologies[0].FSTransformationFetishist, 100) / 20) * 2.7;
_upperClassP *= 1 + Math.trunc(Math.min(V.arcologies[0].FSTransformationFetishist, 100) / 20) * 0.001;
_topClass += Math.trunc(Math.min(V.arcologies[0].FSTransformationFetishist, 100) / 20) * 0.5;
_topClassP *= 1 + Math.trunc(Math.min(V.arcologies[0].FSTransformationFetishist, 100) / 20) * 0.001;
r.push(`The lower class fear the kind of transformations could be forced on them if they ever end up enslaved, whereas the rich enjoy wielding such power.`);
}
if (V.arcologies[0].FSYouthPreferentialist !== "unset") {
_FSScore += Math.min(V.arcologies[0].FSYouthPreferentialist, 100);
_slaveDemandU *= 1 + Math.trunc(Math.min(V.arcologies[0].FSYouthPreferentialist, 100) / 20) * 0.02;
_slaveDemandT *= 1 + Math.trunc(Math.min(V.arcologies[0].FSYouthPreferentialist, 100) / 20) * 0.025;
_lowerClass += Math.trunc(Math.min(V.arcologies[0].FSYouthPreferentialist, 100) / 20) * 40;
_lowerClassP *= 1 + Math.trunc(Math.min(V.arcologies[0].FSYouthPreferentialist, 100) / 20) * 0.002;
_middleClass += Math.trunc(Math.min(V.arcologies[0].FSYouthPreferentialist, 100) / 20) * -8;
_middleClassP *= 1 + Math.trunc(Math.min(V.arcologies[0].FSYouthPreferentialist, 100) / 20) * -0.002;
r.push(`Preference for youth makes the young poor in your arcology feel appreciated despite their lack of wealth.`);
}
if (V.arcologies[0].FSMaturityPreferentialist !== "unset") {
_FSScore += Math.min(V.arcologies[0].FSMaturityPreferentialist, 100);
_slaveDemandU *= 1 + Math.trunc(Math.min(V.arcologies[0].FSMaturityPreferentialist, 100) / 20) * 0.02;
_slaveDemandT *= 1 + Math.trunc(Math.min(V.arcologies[0].FSMaturityPreferentialist, 100) / 20) * 0.025;
_lowerClass += Math.trunc(Math.min(V.arcologies[0].FSMaturityPreferentialist, 100) / 20) * -40;
_lowerClassP *= 1 + Math.trunc(Math.min(V.arcologies[0].FSMaturityPreferentialist, 100) / 20) * -0.002;
_middleClass += Math.trunc(Math.min(V.arcologies[0].FSMaturityPreferentialist, 100) / 20) * 8;
_middleClassP *= 1 + Math.trunc(Math.min(V.arcologies[0].FSMaturityPreferentialist, 100) / 20) * 0.002;
r.push(`Preference for maturity makes the middle class of your arcology feel like their experience is finally properly appreciated.`);
}
if (V.arcologies[0].FSPetiteAdmiration !== "unset") {
_FSScore += Math.min(V.arcologies[0].FSPetiteAdmiration, 100);
_slaveDemandU *= 1 + Math.trunc(Math.min(V.arcologies[0].FSPetiteAdmiration, 100) / 20) * 0.02;
_slaveDemandT *= 1 + Math.trunc(Math.min(V.arcologies[0].FSPetiteAdmiration, 100) / 20) * 0.025;
}
if (V.arcologies[0].FSStatuesqueGlorification !== "unset") {
_FSScore += Math.min(V.arcologies[0].FSStatuesqueGlorification, 100);
_slaveDemandU *= 1 + Math.trunc(Math.min(V.arcologies[0].FSStatuesqueGlorification, 100) / 20) * 0.02;
_slaveDemandT *= 1 + Math.trunc(Math.min(V.arcologies[0].FSStatuesqueGlorification, 100) / 20) * 0.025;
}
if (V.arcologies[0].FSSlimnessEnthusiast !== "unset") {
_FSScore += Math.min(V.arcologies[0].FSSlimnessEnthusiast, 100);
}
if (V.arcologies[0].FSAssetExpansionist !== "unset") {
_FSScore += Math.min(V.arcologies[0].FSAssetExpansionist, 100);
if (V.arcologies[0].FSBodyPurist !== "unset") {
_expirationFS *= 1 + (Math.trunc(Math.min(V.arcologies[0].FSAssetExpansionist, 100) / 20) * 0.05) * (1 + (Math.trunc(Math.min(V.arcologies[0].FSBodyPurist, 100) / 20) * -0.1));
} else {
_expirationFS *= 1 + Math.trunc(Math.min(V.arcologies[0].FSAssetExpansionist, 100) / 20) * 0.05;
}
}
if (V.arcologies[0].FSPastoralist !== "unset") {
_FSScore += Math.min(V.arcologies[0].FSPastoralist, 100);
_slaveDemandU *= 1 + Math.trunc(Math.min(V.arcologies[0].FSPastoralist, 100) / 20) * 0.04;
_slaveDemandT *= 1 + Math.trunc(Math.min(V.arcologies[0].FSPastoralist, 100) / 20) * 0.05;
if (V.arcologies[0].FSPaternalist !== "unset") {
_expirationFS *= 1 + (Math.trunc(Math.min(V.arcologies[0].FSPastoralist, 100) / 20) * 0.05) * (1 + (Math.trunc(Math.min(V.arcologies[0].FSPaternalist, 100) / 20) * -0.1));
} else {
_expirationFS *= 1 + Math.trunc(Math.min(V.arcologies[0].FSPastoralist, 100) / 20) * 0.05;
}
_lowerClass += Math.trunc(Math.min(V.arcologies[0].FSPastoralist, 100) / 20) * -80;
_lowerClassP *= 1 + Math.trunc(Math.min(V.arcologies[0].FSPastoralist, 100) / 20) * -0.004;
_middleClass += Math.trunc(Math.min(V.arcologies[0].FSPastoralist, 100) / 20) * 16;
_middleClassP *= 1 + Math.trunc(Math.min(V.arcologies[0].FSPastoralist, 100) / 20) * 0.002;
_upperClass += Math.trunc(Math.min(V.arcologies[0].FSPastoralist, 100) / 20) * 2.7;
_upperClassP *= 1 + Math.trunc(Math.min(V.arcologies[0].FSPastoralist, 100) / 20) * 0.001;
_topClass += Math.trunc(Math.min(V.arcologies[0].FSPastoralist, 100) / 20) * 0.5;
_topClassP *= 1 + Math.trunc(Math.min(V.arcologies[0].FSPastoralist, 100) / 20) * 0.001;
r.push(`The pastoralization of ${V.arcologies[0].name} spurs a whole industry around human produce.`);
}
if (V.arcologies[0].FSPhysicalIdealist !== "unset") {
_FSScore += Math.min(V.arcologies[0].FSPhysicalIdealist, 100);
_slaveDemandU *= 1 + Math.trunc(Math.min(V.arcologies[0].FSPhysicalIdealist, 100) / 20) * 0.02;
_slaveDemandT *= 1 + Math.trunc(Math.min(V.arcologies[0].FSPhysicalIdealist, 100) / 20) * 0.025;
_slaveProductivity += Math.trunc(Math.min(V.arcologies[0].FSPhysicalIdealist, 100) / 20) * 0.01;
_lowerClass += Math.trunc(Math.min(V.arcologies[0].FSPhysicalIdealist, 100) / 20) * -40;
_lowerClassP *= 1 + Math.trunc(Math.min(V.arcologies[0].FSPhysicalIdealist, 100) / 20) * -0.002;
_upperClass += Math.trunc(Math.min(V.arcologies[0].FSPhysicalIdealist, 100) / 20) * 2.7;
_upperClassP *= 1 + Math.trunc(Math.min(V.arcologies[0].FSPhysicalIdealist, 100) / 20) * 0.001;
_topClass += Math.trunc(Math.min(V.arcologies[0].FSPhysicalIdealist, 100) / 20) * 0.5;
_topClassP *= 1 + Math.trunc(Math.min(V.arcologies[0].FSPhysicalIdealist, 100) / 20) * 0.001;
r.push(`Fit slaves and citizens are more productive! However, your arcology's poor do not look forward to even more toil and sweat.`);
}
if (V.arcologies[0].FSChattelReligionist !== "unset") {
_FSScore += Math.min(V.arcologies[0].FSChattelReligionist, 100);
_slaveDemandU *= 1 + Math.trunc(Math.min(V.arcologies[0].FSChattelReligionist, 100) / 20) * 0.02;
_slaveDemandT *= 1 + Math.trunc(Math.min(V.arcologies[0].FSChattelReligionist, 100) / 20) * 0.025;
_lowerClass += Math.trunc(Math.min(V.arcologies[0].FSChattelReligionist, 100) / 20) * -40;
_lowerClassP *= 1 + Math.trunc(Math.min(V.arcologies[0].FSChattelReligionist, 100) / 20) * -0.002;
_upperClass += Math.trunc(Math.min(V.arcologies[0].FSChattelReligionist, 100) / 20) * 2.7;
_upperClassP *= 1 + Math.trunc(Math.min(V.arcologies[0].FSChattelReligionist, 100) / 20) * 0.001;
_topClass += Math.trunc(Math.min(V.arcologies[0].FSChattelReligionist, 100) / 20) * 0.5;
_topClassP *= 1 + Math.trunc(Math.min(V.arcologies[0].FSChattelReligionist, 100) / 20) * 0.001;
r.push(`Chattel Religionism helps some poor citizens see slavery as a spiritually pure fate.`);
}
if (V.arcologies[0].FSRomanRevivalist !== "unset") {
_FSScore += Math.min(V.arcologies[0].FSRomanRevivalist, 100);
_slaveDemandU *= 1 + Math.trunc(Math.min(V.arcologies[0].FSRomanRevivalist, 100) / 20) * 0.02;
_slaveDemandT *= 1 + Math.trunc(Math.min(V.arcologies[0].FSRomanRevivalist, 100) / 20) * 0.025;
_expirationFS *= 1 + Math.trunc(Math.min(V.arcologies[0].FSRomanRevivalist, 100) / 20) * -0.1;
_welfareFS *= 1 + Math.trunc(Math.min(V.arcologies[0].FSRomanRevivalist, 100) / 20) * -0.05;
_lowerClass += Math.trunc(Math.min(V.arcologies[0].FSRomanRevivalist, 100) / 20) * 40;
_lowerClassP *= 1 + Math.trunc(Math.min(V.arcologies[0].FSRomanRevivalist, 100) / 20) * 0.00;
_topClass += Math.trunc(Math.min(V.arcologies[0].FSRomanRevivalist, 100) / 20);
_topClassP *= 1 + Math.trunc(Math.min(V.arcologies[0].FSRomanRevivalist, 100) / 20) * -0.002;
r.push(`Your citizens take pride in looking after each other.`);
}
if (V.arcologies[0].FSNeoImperialist !== "unset") {
_FSScore += Math.min(V.arcologies[0].FSNeoImperialist, 100);
_slaveDemandU *= 1 + Math.trunc(Math.min(V.arcologies[0].FSNeoImperialist, 100) / 20) * 0.05;
_slaveDemandT *= 1 + Math.trunc(Math.min(V.arcologies[0].FSNeoImperialist, 100) / 20) * 0.030;
_expirationFS *= 1 + Math.trunc(Math.min(V.arcologies[0].FSNeoImperialist, 100) / 20) * -0.06;
_welfareFS *= 1 + Math.trunc(Math.min(V.arcologies[0].FSNeoImperialist, 100) / 20) * -0.025;
_lowerClass += Math.trunc(Math.min(V.arcologies[0].FSNeoImperialist, 100) / 20) * -20;
_lowerClassP *= 1 + Math.trunc(Math.min(V.arcologies[0].FSNeoImperialist, 100) / 20) * -0.002;
_middleClass += Math.trunc(Math.min(V.arcologies[0].FSNeoImperialist, 100) / 20) * 16;
_middleClassP *= 1 + Math.trunc(Math.min(V.arcologies[0].FSNeoImperialist, 100) / 20) * 0.004;
_upperClass += Math.trunc(Math.min(V.arcologies[0].FSNeoImperialist, 100) / 20) * 5.4;
_upperClassP *= 1 + Math.trunc(Math.min(V.arcologies[0].FSNeoImperialist, 100) / 20) * 0.002;
_topClass += Math.trunc(Math.min(V.arcologies[0].FSNeoImperialist, 100) / 20) * 0.5;
_topClassP *= 1 + Math.trunc(Math.min(V.arcologies[0].FSNeoImperialist, 100) / 20) * 0.002;
r.push(`Your new Imperium creates a staunchly hierarchical society, and while your elites and soldiers enjoy social prestige and luxury, the lower classes are often unhappy about being made to grovel.`);
}
if (V.arcologies[0].FSEgyptianRevivalist !== "unset") {
_FSScore += Math.min(V.arcologies[0].FSEgyptianRevivalist, 100);
_slaveDemandU *= 1 + Math.trunc(Math.min(V.arcologies[0].FSEgyptianRevivalist, 100) / 20) * 0.02;
_slaveDemandT *= 1 + Math.trunc(Math.min(V.arcologies[0].FSEgyptianRevivalist, 100) / 20) * 0.025;
_welfareFS *= 1 + Math.trunc(Math.min(V.arcologies[0].FSEgyptianRevivalist, 100) / 20) * -0.05;
_lowerClass += Math.trunc(Math.min(V.arcologies[0].FSEgyptianRevivalist, 100) / 20) * 40;
_lowerClassP *= 1 + Math.trunc(Math.min(V.arcologies[0].FSEgyptianRevivalist, 100) / 20) * 0.002;
_topClass += Math.trunc(Math.min(V.arcologies[0].FSEgyptianRevivalist, 100) / 20);
_topClassP *= 1 + Math.trunc(Math.min(V.arcologies[0].FSEgyptianRevivalist, 100) / 20) * -0.002;
r.push(`Egyptian Revivalism is benevolent in some ways, and charity is common here.`);
}
if (V.arcologies[0].FSEdoRevivalist !== "unset") {
_FSScore += Math.min(V.arcologies[0].FSEdoRevivalist, 100);
_slaveDemandU *= 1 + Math.trunc(Math.min(V.arcologies[0].FSEdoRevivalist, 100) / 20) * 0.02;
_slaveDemandT *= 1 + Math.trunc(Math.min(V.arcologies[0].FSEdoRevivalist, 100) / 20) * 0.025;
}
if (V.arcologies[0].FSArabianRevivalist !== "unset") {
_FSScore += Math.min(V.arcologies[0].FSArabianRevivalist, 100);
_slaveDemandU *= 1 + Math.trunc(Math.min(V.arcologies[0].FSArabianRevivalist, 100) / 20) * 0.02;
_slaveDemandT *= 1 + Math.trunc(Math.min(V.arcologies[0].FSArabianRevivalist, 100) / 20) * 0.025;
}
if (V.arcologies[0].FSChineseRevivalist !== "unset") {
_FSScore += Math.min(V.arcologies[0].FSChineseRevivalist, 100);
_slaveDemandU *= 1 + Math.trunc(Math.min(V.arcologies[0].FSChineseRevivalist, 100) / 20) * 0.02;
_slaveDemandT *= 1 + Math.trunc(Math.min(V.arcologies[0].FSChineseRevivalist, 100) / 20) * 0.025;
}
if (V.arcologies[0].FSAztecRevivalist !== "unset") {
_FSScore += Math.min(V.arcologies[0].FSAztecRevivalist, 100);
_slaveDemandU *= 1 + Math.trunc(Math.min(V.arcologies[0].FSAztecRevivalist, 100) / 20) * 0.02;
_slaveDemandT *= 1 + Math.trunc(Math.min(V.arcologies[0].FSAztecRevivalist, 100) / 20) * 0.025;
}
if (V.arcologies[0].FSNull !== "unset") {
_FSScore += Math.min(V.arcologies[0].FSNull, 100);
_slaveDemandU *= 1 + Math.trunc(Math.min(V.arcologies[0].FSNull, 100) / 20) * -0.1;
_slaveDemandT *= 1 + Math.trunc(Math.min(V.arcologies[0].FSNull, 100) / 20) * -0.125;
_lowerClass += Math.trunc(Math.min(V.arcologies[0].FSNull, 100) / 20) * 400;
_lowerClassP *= 1 + Math.trunc(Math.min(V.arcologies[0].FSNull, 100) / 20) * 0.016;
_middleClass += Math.trunc(Math.min(V.arcologies[0].FSNull, 100) / 20) * 64;
_middleClassP *= 1 + Math.trunc(Math.min(V.arcologies[0].FSNull, 100) / 20) * 0.008;
_upperClass += Math.trunc(Math.min(V.arcologies[0].FSNull, 100) / 20) * -21.6;
_upperClassP *= 1 + Math.trunc(Math.min(V.arcologies[0].FSNull, 100) / 20) * -0.008;
_topClass += Math.trunc(Math.min(V.arcologies[0].FSNull, 100) / 20) * -8;
_topClassP *= 1 + Math.trunc(Math.min(V.arcologies[0].FSNull, 100) / 20) * -0.016;
r.push(`Your arcology's vibrant, open culture helps everyone succeed, preventing many struggling citizens from falling into slavery.`);
}
if (V.arcologies[0].FSRepopulationFocus !== "unset") {
_FSScore += Math.min(V.arcologies[0].FSRepopulationFocus, 100);
_slaveDemandU *= 1 + Math.trunc(Math.min(V.arcologies[0].FSRepopulationFocus, 100) / 20) * 0.04;
_slaveDemandT *= 1 + Math.trunc(Math.min(V.arcologies[0].FSRepopulationFocus, 100) / 20) * 0.05;
_slaveProductivity += Math.trunc(Math.min(V.arcologies[0].FSRepopulationFocus, 100) / 20) * -0.01;
if (V.arcologies[0].FSPaternalist !== "unset") {
_expirationFS *= 1 + (Math.trunc(Math.min(V.arcologies[0].FSRepopulationFocus, 100) / 20) * 0.05) * (1 + (Math.trunc(Math.min(V.arcologies[0].FSPaternalist, 100) / 20) * -0.1));
} else {
_expirationFS *= 1 + Math.trunc(Math.min(V.arcologies[0].FSRepopulationFocus, 100) / 20) * 0.05;
}
_lowerClass += Math.trunc(Math.min(V.arcologies[0].FSRepopulationFocus, 100) / 20) * 80;
_lowerClassP *= 1 + Math.trunc(Math.min(V.arcologies[0].FSRepopulationFocus, 100) / 20) * 0.004;
_middleClass += Math.trunc(Math.min(V.arcologies[0].FSRepopulationFocus, 100) / 20) * 16;
_middleClassP *= 1 + Math.trunc(Math.min(V.arcologies[0].FSRepopulationFocus, 100) / 20) * 0.002;
_upperClass += Math.trunc(Math.min(V.arcologies[0].FSRepopulationFocus, 100) / 20) * -5.4;
_upperClassP *= 1 + Math.trunc(Math.min(V.arcologies[0].FSRepopulationFocus, 100) / 20) * -0.002;
_topClass += Math.trunc(Math.min(V.arcologies[0].FSRepopulationFocus, 100) / 20) * -2;
_topClassP *= 1 + Math.trunc(Math.min(V.arcologies[0].FSRepopulationFocus, 100) / 20) * -0.004;
r.push(`You've made repopulation a priority and the less fortunate hope all these new children will make their lives easier in the future, but the wealthy are wary.`);
}
if (V.arcologies[0].FSRestart !== "unset") {
_FSScore += Math.min(V.arcologies[0].FSRestart, 100);
_slaveDemandU *= 1 + Math.trunc(Math.min(V.arcologies[0].FSRestart, 100) / 20) * 0.04;
_slaveDemandT *= 1 + Math.trunc(Math.min(V.arcologies[0].FSRestart, 100) / 20) * 0.05;
_lowerClass += Math.trunc(Math.min(V.arcologies[0].FSRestart, 100) / 20) * -80;
_lowerClassP *= 1 + Math.trunc(Math.min(V.arcologies[0].FSRestart, 100) / 20) * -0.004;
_middleClass += Math.trunc(Math.min(V.arcologies[0].FSRestart, 100) / 20) * -16;
_middleClassP *= 1 + Math.trunc(Math.min(V.arcologies[0].FSRestart, 100) / 20) * -0.002;
_upperClass += Math.trunc(Math.min(V.arcologies[0].FSRestart, 100) / 20) * 5.4;
_upperClassP *= 1 + Math.trunc(Math.min(V.arcologies[0].FSRestart, 100) / 20) * 0.002;
_topClass += Math.trunc(Math.min(V.arcologies[0].FSRestart, 100) / 20) * 2;
_topClassP *= 1 + Math.trunc(Math.min(V.arcologies[0].FSRestart, 100) / 20) * 0.004;
r.push(`Highly restricted breeding pleases the powerful, but the less fortunate may seek reproductive freedom elsewhere.`);
}
if (V.arcologies[0].FSHedonisticDecadence !== "unset") {
_FSScore += Math.min(V.arcologies[0].FSHedonisticDecadence, 100);
_slaveDemandU *= 1 + Math.trunc(Math.min(V.arcologies[0].FSHedonisticDecadence, 100) / 20) * 0.02;
_slaveDemandT *= 1 + Math.trunc(Math.min(V.arcologies[0].FSHedonisticDecadence, 100) / 20) * 0.025;
_slaveProductivity += Math.trunc(Math.min(V.arcologies[0].FSHedonisticDecadence, 100) / 20) * -0.01;
_expirationFS *= 1 + Math.trunc(Math.min(V.arcologies[0].FSHedonisticDecadence, 100) / 20) * 0.1; /* too high?*/
_lowerClass += Math.trunc(Math.min(V.arcologies[0].FSHedonisticDecadence, 100) / 20) * 40;
_lowerClassP *= 1 + Math.trunc(Math.min(V.arcologies[0].FSHedonisticDecadence, 100) / 20) * 0.002;
_middleClass += Math.trunc(Math.min(V.arcologies[0].FSHedonisticDecadence, 100) / 20) * -16;
_middleClassP *= 1 + Math.trunc(Math.min(V.arcologies[0].FSHedonisticDecadence, 100) / 20) * -0.002;
_upperClass += Math.trunc(Math.min(V.arcologies[0].FSHedonisticDecadence, 100) / 20) * -5.4;
_upperClassP *= 1 + Math.trunc(Math.min(V.arcologies[0].FSHedonisticDecadence, 100) / 20) * -0.002;
_topClass += Math.trunc(Math.min(V.arcologies[0].FSHedonisticDecadence, 100) / 20);
_topClassP *= 1 + Math.trunc(Math.min(V.arcologies[0].FSHedonisticDecadence, 100) / 20) * 0.002;
r.push(`Your citizens enjoy the pleasures of life to their fullest, but some prefer to earn these pleasures.`);
}
if (r.length > 0) {
App.UI.DOM.appendNewElement("h3", el, "Future Societies");
}
App.Events.addNode(el, r);
return el;
}
function policiesImpact() {
const el = new DocumentFragment();
const r = [];
if (V.policies.retirement.menial2Citizen === 1) {
_slaveDemandU *= 0.8;
_slaveDemandT *= 0.75;
_slaveProductivity += 0.05;
_expirationFS *= 0.8;
_lowerClass += 200;
_lowerClassP *= 1.01;
_middleClass += 80;
_middleClassP *= 1.01;
_upperClass += -27;
_upperClassP *= 0.99;
_topClass += -5;
_topClassP *= 0.99;
}
if (V.policies.proRefugees === 1) {
_slaveDemandU *= 1.1;
_slaveDemandT *= 1.125;
r.push(`Some desperate people filtered into the arcology during the week: as owner, you were able to enslave a handful of them.`);
}
if (V.policies.immigrationCash === 1) {
_lowerClass += 200;
_lowerClassP *= 1.01;
_middleClass += 40;
_middleClassP *= 1.005;
_upperClass += -13.5;
_upperClassP *= 0.995;
_topClass += -5;
_topClass *= 0.99;
r.push(`The rent promotion for new immigrants brings new citizens to the arcology.`);
}
if (V.policies.immigrationRep === 1) {
_lowerClass += 200;
_lowerClassP *= 1.01;
_middleClass += 40;
_middleClassP *= 1.005;
_upperClass += -13.5;
_upperClassP *= 0.995;
_topClass += -5;
_topClass *= 0.99;
r.push(`Your welcome program for new citizens helps encourage wealthy people from the old world to immigrate, but <span class="red">annoys some longstanding citizens.</span>`);
repX(forceNeg(100), "policies");
}
if (V.policies.immigrationCash === -1) {
_lowerClass += -200;
_lowerClassP *= 0.99;
_middleClass += -40;
_middleClassP *= 0.995;
_upperClass += 13.5;
_upperClassP *= 1.005;
_topClass += 5;
_topClass *= 1.01;
r.push(`You covertly <span class="yellowgreen">sell</span> the private information of potential arcology immigrants on the old world black market.`);
cashX(random(500, 1500), "policies");
}
if (V.policies.immigrationRep === -1) {
_lowerClass += -200;
_lowerClassP *= 0.99;
_middleClass += -40;
_middleClassP *= 0.995;
_upperClass += 13.5;
_upperClassP *= 1.005;
_topClass += 5;
_topClass *= 1.01;
r.push(`You allow citizens input on potential immigrants, a <span class="green">popular</span> program.`);
repX(100, "policies");
}
if (V.policies.enslavementCash === 1) {
_slaveDemandU *= 1.1;
_slaveDemandT *= 1.125;
_lowerClass += -200;
_lowerClassP *= .99;
_topClass += 5;
_topClass *= 1.01;
r.push(`You <span class="yellowgreen">take kickbacks</span> for ignoring enslavement of citizens.`);
cashX(random(500, 1500), "policies");
}
if (V.policies.enslavementRep === 1) {
_slaveDemandU *= 1.1;
_slaveDemandT *= 1.125;
_lowerClass += -200;
_lowerClassP *= 0.99;
_topClass += 5;
_topClass *= 1.01;
r.push(`You <span class="green">make friends</span> by tacitly supporting enslavement of upstart citizens.`);
repX(100, "policies");
}
if (V.policies.enslavementCash === -1) {
_slaveDemandU *= 0.9;
_slaveDemandT *= 0.875;
_lowerClass += 200;
_lowerClassP *= 1.02;
_topClass += -5;
_topClass *= 0.98;
r.push(`Your charity purse prevents a few citizens from falling into slavery.`);
}
if (V.policies.enslavementRep === -1) {
_slaveDemandU *= 0.9;
_slaveDemandT *= 0.875;
_lowerClass += 200;
_lowerClassP *= 1.01;
_topClass += -5;
_topClass *= 0.99;
r.push(`You use your personal influence to help struggling citizens.`);
repX(forceNeg(100), "policies");
}
if (V.arcologies[0].FSSupremacistLawME === 1) {
_slaveDemandU *= 2.2;
_slaveDemandT *= 2.5;
_lowerClass += -400;
_lowerClassP *= 0.98;
_middleClass += -80;
_middleClassP *= 0.99;
_upperClass += 27;
_upperClassP *= 1.01;
_topClass += 10;
_topClassP *= 1.02;
if (V.FSSupLawTrigger === 1) {
const _slavesSupLaw = Math.trunc((V.lowerClass + V.middleClass + V.upperClass) * 0.65);
V.NPCSlaves += Math.trunc(_slavesSupLaw * 0.7);
V.menials += Math.trunc(_slavesSupLaw * 0.2);
V.lowerClass = Math.trunc(V.lowerClass * 0.35);
V.middleClass = Math.trunc(V.middleClass * 0.35);
V.upperClass = Math.trunc(V.upperClass * 0.35);
V.FSSupLawTrigger = 2;
}
}
if (V.arcologies[0].FSSubjugationistLawME === 1) {
_slaveDemandU *= 1.24;
_slaveDemandT *= 1.3;
_lowerClass += -200;
_lowerClassP *= 0.99;
_middleClass += -40;
_middleClassP *= 0.995;
_upperClass += 13.5;
_upperClassP *= 1.005;
_topClass += 5;
_topClassP *= 1.01;
if (V.FSSubLawTrigger === 1) {
const _slavesSubLaw = Math.trunc((V.lowerClass + V.middleClass + V.upperClass) * 0.2);
V.NPCSlaves += Math.trunc(_slavesSubLaw * 0.7);
V.menials += Math.trunc(_slavesSubLaw * 0.2);
V.lowerClass = Math.trunc(V.lowerClass * 0.8);
V.middleClass = Math.trunc(V.middleClass * 0.8);
V.upperClass = Math.trunc(V.upperClass * 0.8);
V.FSSubLawTrigger = 2;
}
}
if (V.arcologies[0].FSRepopulationFocusLaw === 1) {
_lowerClass += 100;
_lowerClassP *= 1.005;
_topClass += -2.5;
_topClassP *= 0.995;
r.push(`The rent promotion for pregnant women attracts several gravid ladies and a few girls eager to become mothers to enroll as citizens in your arcology.`);
}
if (V.arcologies[0].FSRestartLaw === 1) {
_lowerClass += -100;
_lowerClassP *= 0.99;
_topClass += 2.5;
_topClassP *= 1.01;
r.push(`Your sterilization program drives several disloyal citizens out of the arcology.`);
}
if (V.arcologies[0].FSHedonisticDecadenceLaw === 1) {
_middleClass += 80;
_middleClassP *= 1.01;
}
if (V.arcologies[0].FSDegradationistLaw === 1) {
_slaveProductivity += -0.05;
}
if (V.arcologies[0].FSPaternalistLaw === 1) {
_slaveDemandU *= 0.9;
_slaveDemandT *= 0.875;
_upperClass += -13.5;
_upperClassP *= 1.005;
_topClass += -2.5;
_topClassP *= 1.005;
}
if (V.arcologies[0].FSYouthPreferentialistLaw === 1) {
_lowerClass += 200;
_lowerClassP *= 1.01;
_middleClass += -80;
_middleClassP *= 0.99;
}
if (V.arcologies[0].FSMaturityPreferentialistLaw === 1) {
_lowerClass += -200;
_lowerClassP *= 0.99;
_middleClass += 80;
_middleClassP *= 1.01;
}
if (V.arcologies[0].FSPetiteAdmirationLaw === 1) {
_lowerClass += -200;
_lowerClassP *= 0.99;
_middleClass += 80;
_middleClassP *= 1.01;
}
if (V.arcologies[0].FSStatuesqueGlorificationLaw === 1) {
_lowerClass += -400;
_lowerClassP *= 0.95;
_middleClass += 40;
_middleClassP *= 1.01;
_upperClass += -10;
_upperClassP *= .99;
}
if (V.arcologies[0].FSIntellectualDependencyLaw === 1) {
_slaveDemandU *= 1.24;
_slaveDemandT *= 1.3;
_lowerClass += -50;
_lowerClassP *= 0.90;
_middleClass += -40;
_middleClassP *= 0.90;
_upperClass += -1;
_upperClassP *= .99;
}
if (V.arcologies[0].FSSlaveProfessionalismLaw === 1) {
_slaveDemandU *= 1.4;
_slaveDemandT *= 1.5;
_lowerClass += -300;
_lowerClassP *= 0.95;
_middleClass += -40;
_middleClassP *= 0.995;
_upperClass += -5;
_upperClassP *= .99;
_topClass += 7;
_topClassP *= 1.05;
if (V.FSSlaveProfLawTrigger === 1) {
V.lowerClass = Math.trunc(V.lowerClass * 0.8);
V.middleClass = Math.trunc(V.middleClass * 0.8);
V.upperClass = Math.trunc(V.upperClass * 0.8);
V.FSSlaveProfLawTrigger = 2;
}
}
if (V.arcologies[0].FSChattelReligionistCreed === 1) {
if (V.nicaea.focus === "slaves") {
_slaveDemandU *= 1 + V.nicaea.power * -0.05;
_slaveDemandT *= 1 + V.nicaea.power * -0.0625;
_slaveProductivity += V.nicaea.power * 0.025;
_expirationFS *= 1 + V.nicaea.power * -0.125;
_lowerClass += V.nicaea.power * 100;
_lowerClassP *= 1 + V.nicaea.power * 0.005;
_topClass += V.nicaea.power * -2.5;
_topClassP *= 1 + V.nicaea.power * -0.005;
} else if (V.nicaea.focus === "owners") {
_slaveDemandU *= 1 + V.nicaea.power * 0.05;
_slaveDemandT *= 1 + V.nicaea.power * 0.0625;
_lowerClass += V.nicaea.power * -100;
_lowerClassP *= 1 + V.nicaea.power * -0.005;
_middleClass += V.nicaea.power * -20;
_middleClassP *= 1 + V.nicaea.power * -0.0025;
_upperClass += V.nicaea.power * 6.75;
_upperClassP *= 1 + V.nicaea.power * 0.0025;
_topClass += V.nicaea.power * 2.5;
_topClassP *= 1 + V.nicaea.power * 0.005;
}
if (V.nicaea.assignment === "whore") {
_upperClass += V.nicaea.power * 6.75;
_upperClassP *= 1 + V.nicaea.power * 0.0025;
_topClass += V.nicaea.power * 1.25;
_topClassP *= 1 + V.nicaea.power * 0.0025;
} else if (V.nicaea.assignment === "serve the public") {
_lowerClass += V.nicaea.power * 50;
_lowerClassP *= 1 + V.nicaea.power * 0.0025;
_middleClass += V.nicaea.power * 20;
_middleClassP *= 1 + V.nicaea.power * 0.0025;
} else {
_slaveDemandU *= 1 + V.nicaea.power * 0.05;
_slaveDemandT *= 1 + V.nicaea.power * 0.0625;
_lowerClass += V.nicaea.power * -50;
_lowerClassP *= 1 + V.nicaea.power * -0.0025;
_middleClass += V.nicaea.power * -20;
_middleClassP *= 1 + V.nicaea.power * -0.0025;
_upperClass += V.nicaea.power * 13.5;
_upperClassP *= 1 + V.nicaea.power * 0.005;
_topClass += V.nicaea.power * 2.5;
_topClassP *= 1 + V.nicaea.power * 0.005;
}
if (V.nicaea.achievement === "slaves") {
_slaveDemandU *= 1 + V.nicaea.power * 0.2;
_slaveDemandT *= 1 + V.nicaea.power * 0.25;
_lowerClass += V.nicaea.power * -200;
_lowerClassP *= 1 + V.nicaea.power * -0.01;
}
}
if (V.arcologies[0].FSAztecRevivalistLaw === 1) {
_lowerClass += 200;
_lowerClassP *= 1.01;
_middleClass += -40;
_middleClassP *= 0.995;
_upperClass += -13.5;
_upperClassP *= 0.995;
}
if (r.length > 0) {
App.UI.DOM.appendNewElement("h3", el, "Policies");
}
App.Events.addNode(el, r);
return el;
}
function schools() {
const el = document.createElement("p");
for (const [SCH, schObj] of App.Data.misc.schools) {
if (V[SCH].schoolPresent !== 1) {
continue;
}
const r = [];
r.push(`${capFirstChar(schObj.title)} has a`);
if (V[SCH].schoolProsperity > 4) {
r.push(`very prosperous`);
} else if (V[SCH].schoolProsperity < -4) {
r.push(`struggling`);
} else {
r.push(`thriving`);
}
r.push(`${schObj.branchName} in ${V.arcologies[0].name}.`);
if (V[SCH].schoolProsperity >= 10) {
switch (SCH) {
case "GRI":
r.push(`It is one of the finest research facilities in the world`);
break;
case "TFS":
r.push(`They are one of the most renowned futa societies in the world`);
break;
case "HA":
r.push(`It is one of the most famous schools in the world`);
break;
default:
r.push(`It is one of the finest slave schools in the world`);
}
if (V.rep > 19000) {
r.push(r.pop() + `.`);
} else {
r.push(r.pop() + `, <span class="green">improving your reputation.</span>`);
repX(200, "policies");
}
V[SCH].subsidize = 0;
V[SCH].schoolProsperity = 10;
}
if (V[SCH].subsidize === 1) {
r.push(`You have a policy of subsidizing them.`);
V[SCH].schoolProsperity++;
} else if (V[SCH].subsidize === -1) {
r.push(`You have a policy of covertly undermining them.`);
V[SCH].schoolProsperity--;
}
App.Events.addNode(el, r, "div");
}
return el;
}
function isFrozen() {
/* during bad weather and without appropriate upgrades, transport (including visitors and immigration/emigration) will be halted */
let _weatherFreeze = 0;
if (V.weatherToday.severity > 3) {
if (V.secExpEnabled > 0 && V.SecExp.buildings.transportHub) {
if (V.SecExp.buildings.transportHub.surfaceTransport < 4) {
_weatherFreeze = 1;
}
} else if (V.antiWeatherFreeze < 2) {
_weatherFreeze = 1;
}
} else if (V.weatherToday.severity > 2) {
if (V.secExpEnabled > 0 && V.SecExp.buildings.transportHub) {
if (V.SecExp.buildings.transportHub.surfaceTransport < 3) {
_weatherFreeze = 1;
}
} else if (V.antiWeatherFreeze < 1) {
_weatherFreeze = 1;
}
}
if (_weatherFreeze) {
const warning = App.UI.DOM.combineNodes(`The terrible weather is `, App.UI.DOM.makeElement("span", `preventing people from entering or leaving`, "red"), ` your arcology. Improving your transport infrastructure will prevent this from happening.`);
App.UI.DOM.appendNewElement("div", el, warning, "note");
V.weatherAwareness = 1;
}
return _weatherFreeze;
}
function enslavement() {
if (_enslaved > 0) {
const _enslavedPC = Math.max(Math.trunc(_enslaved / 4), 1);
const _enslavedNPC = _enslaved - _enslavedPC;
V.menials += _enslavedPC;
V.NPCSlaves += _enslavedNPC;
if (_enslaved > 1) {
appendDiv(`In total <span class="green">${_enslaved} lower class citizens</span> were enslaved for failing to pay their debts.`);
appendDiv(`<span class="green">You enslaved ${_enslavedPC}</span> of them while other debtholders in the arcology enslaved the remaining ${_enslavedNPC}.`);
} else {
appendDiv(`<span class="green">As arcology owner you claimed the slave.</span>`);
}
}
}
function transport() {
_FSScore = _FSScore / V.FSCreditCount;
_transportHub = 1;
_crime = 0.8;
if (V.secExpEnabled > 0) {
_transportHub = 0.7;
if (V.SecExp.buildings.transportHub) {
_transportHub += V.SecExp.buildings.transportHub.airport / 10 + V.SecExp.buildings.transportHub.surfaceTransport / 10;
}
_crime = (100 - V.SecExp.core.crimeLow) / 100 + 0.2;
}
if (V.terrain === "urban") {
_terrain = 1.2;
} else if (V.terrain === "rural" || V.terrain === "marine") {
_terrain = 1;
} else {
_terrain = 0.8;
}
_honeymoon = 0;
if (V.arcologies[0].honeymoon > 0) {
_honeymoon = 10 * V.arcologies[0].honeymoon;
}
const _oldVisitors = V.visitors;
V.visitors = Math.trunc(((V.arcologies[0].prosperity + _FSScore * 5 + _honeymoon) * _transportHub * _terrain * _crime) * _econMult);
if (V.visitors < 50) {
V.visitors = normalRandInt(50, 2);
}
if (isNaN(V.visitors)) {
appendDiv(`<span class="red">Visitors is NaN, report this issue!</span>`);
V.visitors = _oldVisitors;
}
appendDiv(`<span class="green">${V.visitors} traders and tourists</span> visited your arcology this week.`);
appendDiv(App.SecExp.propagandaEffects("enslavement").text);
_enslaved += App.SecExp.propagandaEffects("enslavement").effect;
/* slaves*/
/* Slaves getting retired*/
if (V.policies.retirement.menial2Citizen === 1) {
let _weeklyRetiredMenials = V.menials / ((V.customMenialRetirementAge - 15) * 52);
let _weeklyRetiredNPCMenials = V.NPCSlaves / ((V.customMenialRetirementAge - 15) * 52);
/* This implies a minimum menial age of 15. Even if the player sets minimum ages lower, there's no point having a 3 year old menial slave. 15 seems alright while being nice and round. This also implies ages are distributed evenly, no easy way around that.*/
if (_weeklyRetiredMenials > 1) {
_weeklyRetiredMenials = Math.trunc(_weeklyRetiredMenials);
if (_weeklyRetiredMenials > 1) {
appendDiv(`<span class="red">${_weeklyRetiredMenials} of your menial slaves</span> retired as free citizens this week.`);
} else {
appendDiv(`<span class="red">One of your menial slaves</span> retired as a free citizen this week.`);
}
} else {
_weeklyRetiredMenials *= 100;
if (_weeklyRetiredMenials > random(1, 100)) {
_weeklyRetiredMenials = 1;
appendDiv(`<span class="red">One of your menial slaves</span> retired as a free citizen this week.`);
} else {
_weeklyRetiredMenials = 0;
}
}
if (_weeklyRetiredNPCMenials > 1) {
_weeklyRetiredNPCMenials = Math.trunc(_weeklyRetiredNPCMenials);
if (_weeklyRetiredNPCMenials > 1) {
appendDiv(`<span class="red">${_weeklyRetiredNPCMenials} menial slaves</span> were retired as free citizens by other slave owners in your arcology this week.`);
} else {
appendDiv(`<span class="red">One menial slave</span> was retired as a free citizen by another slave owner in your arcology this week.`);
}
} else {
_weeklyRetiredNPCMenials *= 100;
if (_weeklyRetiredNPCMenials > random(1, 100)) {
_weeklyRetiredNPCMenials = 1;
appendDiv(`<span class="red">One menial slave</span> was retired as a free citizen by another slave owner in your arcology this week.`);
} else {
_weeklyRetiredNPCMenials = 0;
}
}
V.menials -= _weeklyRetiredMenials;
V.NPCSlaves -= _weeklyRetiredNPCMenials;
V.lowerClass += _weeklyRetiredMenials + _weeklyRetiredNPCMenials;
}
/* Demand for simple labor*/
_LSCD = Math.trunc((V.LSCBase * _econMult) + (V.arcologies[0].prosperity * 4) + ((V.middleClass + V.visitors * 0.6) * 1.5) + ((V.upperClass + V.visitors * 0.2) * 3.5) + (V.topClass * 18));
/* Demand for owning slaves*/
_SCD = Math.trunc((V.upperClass * (2 + _slaveDemandU)) + (V.topClass * (12 + _slaveDemandT)));
if (isNaN(_LSCD)) {
appendDiv(`<span class="red">LSCD is NaN, report this issue!</span>`);
} else if (isNaN(_SCD)) {
appendDiv(`<span class="red">SCD is NaN, report this issue!</span>`);
} else {
/* More slaves than they know what to do with*/
if (V.NPCSlaves > _SCD * 1.6) {
const _NPCSlavesSold = V.NPCSlaves - Math.trunc(_SCD * 1.6);
V.menialDemandFactor -= _NPCSlavesSold;
V.NPCSlaves = Math.trunc(_SCD * 1.6);
if (_NPCSlavesSold > 1) {
appendDiv(`<span class="red">${_NPCSlavesSold}</span> slaves were sold by your inhabitants. They've got more than enough of them already.`);
} else if (_NPCSlavesSold > 0) {
appendDiv(`<span class="red">One slave</span> was sold by your inhabitants. They've got more than enough of them already.`);
}
/* More slaves than there is work*/
} else if (V.NPCSlaves > (_LSCD / _slaveProductivity) - V.menials + _SCD) {
const _NPCSlavesSold = V.NPCSlaves - Math.trunc(_LSCD / _slaveProductivity - V.menials + _SCD);
V.menialDemandFactor -= _NPCSlavesSold;
V.NPCSlaves = Math.trunc(_LSCD / _slaveProductivity);
if (_NPCSlavesSold > 1) {
appendDiv(`<span class="red">${_NPCSlavesSold}</span> slaves were sold by your inhabitants. There was so little work that they failed to earn their keep.`);
} else if (_NPCSlavesSold > 0) {
appendDiv(`<span class="red">One slave</span> was sold by your inhabitants. There was so little work that it failed to earn its keep.`);
}
/* Cutting back on slaves*/
} else if (V.NPCSlaves > _SCD * 1.4) {
if (V.slaveCostFactor > 0.95) {
const _NPCSlavesSold = Math.trunc((V.NPCSlaves - _SCD) * 0.4);
V.menialDemandFactor -= _NPCSlavesSold;
V.NPCSlaves -= _NPCSlavesSold;
if (_NPCSlavesSold > 1) {
appendDiv(`<span class="red">${_NPCSlavesSold}</span> slaves were sold by your inhabitants. They've got more than enough of them already.`);
} else if (_NPCSlavesSold > 0) {
appendDiv(`<span class="red">One slave</span> was sold by your inhabitants. They've got more than enough of them already.`);
}
}
/* Selling excess slaves for profit*/
} else if (V.NPCSlaves > _SCD * 1.2) {
if (V.slaveCostFactor > 1.1) {
const _NPCSlavesSold = Math.trunc((V.NPCSlaves - _SCD) * 0.4);
V.menialDemandFactor -= _NPCSlavesSold;
V.NPCSlaves -= _NPCSlavesSold;
if (_NPCSlavesSold > 1) {
appendDiv(`<span class="red">${_NPCSlavesSold}</span> were sold by your inhabitants. They saw an opportunity for profit.`);
} else if (_NPCSlavesSold > 0) {
appendDiv(`<span class="red">One slave</span> was sold by your inhabitants. They saw an opportunity for profit.`);
}
}
}
/* Buying slaves because they are really cheap*/
if (V.slaveCostFactor < 0.8) {
if (V.NPCSlaves < _SCD * 1.5) {
const _NPCSlavesBought = Math.trunc(_SCD * 0.05);
V.menialSupplyFactor -= _NPCSlavesBought;
V.NPCSlaves += _NPCSlavesBought;
if (_NPCSlavesBought > 1) {
appendDiv(`<span class="green">${_NPCSlavesBought} slaves</span> were bought by your inhabitants. They were too cheap to pass up on.`);
} /* there's no way this ever ends up needing a 1 slave version*/
}
}
}
/* Lower Class Citizens*/
/* Work left for lower class citizens*/
_LCD = Math.trunc(((V.LSCBase * _econMult) + (V.arcologies[0].prosperity * 4) + _lowerClass + ((V.middleClass + V.visitors * 0.6) * 1.5) + ((V.upperClass + V.visitors * 0.2) * 3.5) + (V.topClass * 18) - (V.NPCSlaves + V.menials) * _slaveProductivity) * V.rentEffectL * _lowerClassP);
if (V.classSatisfied.lowerClass !== 0) {
_LCD *= 1 + V.classSatisfied.lowerClass * 0.06;
}
if (_LCD < 0) {
_LCD = 0;
}
if (isNaN(_LCD)) {
appendDiv(`<span class="red">LCD is NaN, report this issue!</span>`);
} else { /* Changing population depending on work available*/
if (V.classSatisfied.lowerClass < 0) {
appendDiv(`Your lower class is <span class="red">sexually frustrated</span> and would rather live elsewhere.`);
} else if (V.classSatisfied.lowerClass > 0) {
appendDiv(`Your lower class is <span class="green">sexually satiated</span> and their happiness attracts others.`);
}
r = [];
if (V.lowerClass < _LCD) {
let _LCImmigration = Math.trunc((_LCD - V.lowerClass) * (0.3 * _terrain)) + 1 + App.SecExp.propagandaEffects("immigration").effect;
if (V.arcologies[0].FSIntellectualDependencyLaw === 1) { /* Enslaving the dumb lower class immigrants*/
const _intellectualDependencyEnslaved = Math.trunc(_LCImmigration * 0.25);
_LCImmigration -= _intellectualDependencyEnslaved;
_enslaved += _intellectualDependencyEnslaved;
r.push(`<span class="green">${_intellectualDependencyEnslaved} dumb immigrants</span> were enslaved for their own good.`);
}
V.lowerClass += _LCImmigration;
if (_LCImmigration > 1) {
r.push(`<span class="green">${_LCImmigration} lower class citizens</span> moved to your arcology.`);
} else if (_LCImmigration > 0) {
r.push(`<span class="green">One lower class citizen</span> moved to your arcology.`);
}
} else if (V.lowerClass > _LCD) {
let _LCEmigration = Math.trunc((V.lowerClass - _LCD) * 0.4);
const enslaveChance = 0.2;
const _enslavedEmigrants = Math.trunc(_LCEmigration * enslaveChance * (1.0 - getBanishRatio()));
V.lowerClass -= _LCEmigration;
_enslaved += _enslavedEmigrants;
if (_LCEmigration > 1) {
r.push(`<span class="red">${_LCEmigration} lower class citizens</span> had no work and tried to leave your arcology.`);
if (_enslavedEmigrants > 1) {
r.push(`<span class="green">${_enslavedEmigrants} of them were enslaved instead.</span>`);
} else if (_enslavedEmigrants > 0) {
r.push(`<span class="green">One of them was enslaved instead.</span>`);
}
} else if (_LCEmigration > 0) {
r.push(`<span class="red">One lower class citizen</span> left your arcology due to a lack of work.`);
}
}
App.Events.addNode(el, r, "div");
enslavement();
/* Need more slaves still*/
if (V.NPCSlaves < _SCD) {
const _NPCSlavesBought = Math.trunc((_SCD - V.NPCSlaves) * 0.75) + 1;
V.menialSupplyFactor -= _NPCSlavesBought;
V.NPCSlaves += _NPCSlavesBought;
if (_NPCSlavesBought > 1) {
appendDiv(`<span class="green">${_NPCSlavesBought} slaves</span> were bought by your inhabitants. They did not have enough of them to satisfy their needs.`);
} else if (_NPCSlavesBought > 0) {
appendDiv(`<span class="green">One slave</span> was bought by your inhabitants. They did not quite have enough of them to satisfy their needs.`);
}
}
}
/* Middle Class Citizens*/
/* Demand for Middle Class*/
_MCD = Math.trunc(((V.MCBase * _econMult) + V.arcologies[0].prosperity + _middleClass + (V.NPCSlaves * 0.15) + (V.lowerClass * 0.1) + ((V.upperClass + V.visitors * 0.2) * 0.5) + (V.topClass * 2.5)) * V.rentEffectM * _middleClassP);
if (V.classSatisfied.middleClass !== 0) {
_MCD *= 1 + V.classSatisfied.middleClass * 0.06;
}
if (_MCD < 200) {
_MCD = 200;
}
if (isNaN(_MCD)) {
appendDiv(`<span class="red">MCD is NaN, report this issue!</span>`);
} else {
/* Middle Class Citizens immigrating*/
if (V.classSatisfied.middleClass < 0) {
appendDiv(`Your middle class is <span class="red">sexually frustrated</span> and would rather live elsewhere.`);
} else if (V.classSatisfied.middleClass > 0) {
appendDiv(`Your middle class is <span class="green">sexually satiated</span> and their happiness attracts others.`);
}
if (V.middleClass < _MCD) {
let _MCImmigration = Math.trunc((_MCD - V.middleClass) * (0.3 * _terrain)) + 1 + App.SecExp.propagandaEffects("immigration").effect;
V.middleClass += _MCImmigration;
if (_MCImmigration > 1) {
appendDiv(`<span class="green">${_MCImmigration} middle class citizens</span> moved to your arcology.`);
} else if (_MCImmigration > 0) {
appendDiv(`<span class="green">One middle class citizen</span> moved to your arcology.`);
}
/* Middle Class Citizens emigrating*/
} else if (V.middleClass > _MCD) {
let _MCEmigration = Math.trunc((V.middleClass - _MCD) * 0.4);
V.middleClass -= _MCEmigration;
if (_MCEmigration > 1) {
appendDiv(`<span class="red">${_MCEmigration} middle class citizens</span> left your arcology.`);
} else if (_MCEmigration > 0) {
appendDiv(`<span class="red">One middle class citizen</span> left your arcology.`);
}
}
}
/* Upper Class Citizens*/
/* Demand for Upper Class*/
_UCD = Math.trunc(((V.UCBase * _econMult) + (V.arcologies[0].prosperity * 0.2) + _upperClass + (V.NPCSlaves * 0.02) + (V.lowerClass * 0.025) + ((V.middleClass + V.visitors * 0.6) * 0.05) + (V.topClass * 0.3)) * V.rentEffectU * _upperClassP);
if (V.classSatisfied.upperClass !== 0) {
_UCD *= 1 + V.classSatisfied.upperClass * 0.06;
}
if (_UCD < 50) {
_UCD = 50;
}
if (isNaN(_UCD)) {
appendDiv(`<span class="red">UCD is NaN, report this issue!</span>`);
} else {
/* Upper Class Citizens immigrating*/
if (V.classSatisfied.upperClass < 0) {
appendDiv(`Your upper class is <span class="red">sexually frustrated</span> and would rather live elsewhere.`);
} else if (V.classSatisfied.upperClass > 0) {
appendDiv(`Your upper class is <span class="green">sexually satiated</span> and their happiness attracts others.`);
}
if (V.upperClass < _UCD) {
let _UCImmigration = Math.trunc((_UCD - V.upperClass) * (0.3 * _terrain)) + 1 + App.SecExp.propagandaEffects("immigration").effect;
V.upperClass += _UCImmigration;
if (_UCImmigration > 1) {
appendDiv(`<span class="green">${_UCImmigration} upper class citizens</span> moved to your arcology.`);
} else if (_UCImmigration > 0) {
appendDiv(`<span class="green">One upper class citizen</span> moved to your arcology.`);
}
/* Upper Class Citizens Emigrating*/
} else if (V.upperClass > _UCD) {
let _UCEmigration = Math.trunc((V.upperClass - _UCD) * 0.4);
V.upperClass -= _UCEmigration;
if (_UCEmigration > 1) {
appendDiv(`<span class="red">${_UCEmigration} upper class citizens</span> left your arcology.`);
} else if (_UCEmigration > 0) {
appendDiv(`<span class="red">One upper class citizen</span> left your arcology.`);
}
}
}
/* Top Class Citizens*/
/* Top Class Interest in living in your arcology*/
if (V.eliteFailTimer > 0) {
/* when you fail the eugenics Elite and they leave this triggers*/
_TCD = Math.trunc((V.GDP / 15 + _topClass) * V.rentEffectT * _topClassP + V.TCBase - (V.eliteFail / 15 * V.eliteFailTimer));
V.eliteFailTimer -= 1;
} else {
_TCD = Math.trunc((V.GDP / 15 + _topClass) * V.rentEffectT * _topClassP + V.TCBase);
}
if (V.classSatisfied.topClass !== 0) {
_TCD *= 1 + V.classSatisfied.topClass * 0.06;
}
if (_TCD < 15) {
_TCD = 15;
}
if (isNaN(_TCD)) {
appendDiv(`<span class="red">TCD is NaN, report this issue!</span>`);
} else {
/* Top Class Citizens immigrating*/
if (V.classSatisfied.topClass < 0) {
appendDiv(`Your millionaires are <span class="red">sexually frustrated</span> and would rather live elsewhere.`);
} else if (V.classSatisfied.topClass > 0) {
appendDiv(`Your millionaires are <span class="green">sexually satiated</span> and their happiness attracts others.`);
}
if (V.topClass < _TCD) {
let _TCImmigration = Math.trunc((_TCD - V.topClass) * (0.3 * _terrain)) + 1 + App.SecExp.propagandaEffects("immigration").effect;
V.topClass += _TCImmigration;
if (_TCImmigration > 1) {
appendDiv(`<span class="green">${_TCImmigration} millionaires</span> moved to your arcology.`); /* Fat Cat? One-Percenter? */
} else if (_TCImmigration > 0) {
appendDiv(`<span class="green">One millionaire</span> moved to your arcology.`);
}
/* Top Class Citizens emigrating*/
} else if (V.topClass > _TCD) {
let _TCEmigration = Math.trunc((V.topClass - _TCD) * 0.4) + 1;
V.topClass -= _TCEmigration;
if (_TCEmigration > 1) {
appendDiv(`<span class="red">${_TCEmigration} millionaires</span> left your arcology.`);
} else if (_TCEmigration > 0) {
appendDiv(`<span class="red">One millionaire</span> left your arcology.`);
}
}
}
appendDiv(App.SecExp.propagandaEffects("immigration").text);
}
function slaveRetirement() {
const el = new DocumentFragment();
const r = [];
/* Slave retirement trigger pulled (one time only)*/
if (V.citizenRetirementTrigger === 1) {
let _citizenRetirementImpact;
if (V.customMenialRetirementAge >= 65) {
_citizenRetirementImpact = 0.475 - Math.clamp(V.customMenialRetirementAge / 200, 0.325, 0.475);
} else {
_citizenRetirementImpact = 0.9 - Math.clamp(V.customMenialRetirementAge / 100, 0.2, 0.65);
}
if (V.arcologies[0].FSSupremacistLawME + V.arcologies[0].FSSubjugationistLawME > 0) {
_citizenRetirementImpact *= 2 / 3;
}
V.lowerClass += Math.trunc((V.NPCSlaves + V.menials) * (0.05 + _citizenRetirementImpact));
const _menialsRetirement = Math.trunc(V.menials * (0.05 + _citizenRetirementImpact));
V.menials = Math.trunc(V.menials * (0.95 - _citizenRetirementImpact));
const _ASlavesRetirement = Math.trunc(V.NPCSlaves * (0.05 + _citizenRetirementImpact));
V.NPCSlaves = Math.trunc(V.NPCSlaves * (0.95 - _citizenRetirementImpact));
V.citizenRetirementTrigger = 2;
r.push(`You have enacted citizen retirement, the slaves of eligible age are granted freedom.`);
if (_menialsRetirement > 1) {
r.push(`<span class="red">${_menialsRetirement} of your menial slaves</span> were retired.`);
} else if (_menialsRetirement > 0) {
r.push(`<span class="red">One of your menial slaves</span> was retired.`);
}
if (_ASlavesRetirement > 1) {
r.push(`<span class="red">${_ASlavesRetirement} slaves</span> in your arcology were given a citizen retirement.`);
}
/* I could bother with a single slave retirement message, but that's never going to get used*/
}
App.Events.addNode(el, r);
return el;
}
function expiration() {
const el = document.createElement("div");
const r = [];
/* Citizen expiration */
let z = [];
let ret = "";
const _deathsLC = Math.trunc(V.lowerClass * _expirationLC);
const _deathsMC = Math.trunc(V.middleClass * _expirationMC);
const _deathsUC = Math.trunc(V.upperClass * _expirationUC);
const _deathsTC = Math.trunc(V.topClass * _expirationTC);
V.lowerClass -= _deathsLC;
V.middleClass -= _deathsMC;
V.upperClass -= _deathsUC;
V.lowerClass -= _deathsTC;
if (_deathsLC > 0) {
z.push(`<span class="red">${_deathsLC} lower class citizen(s)`);
}
if (_deathsMC > 0) {
z.push(`<span class="red">${_deathsMC} middle class citizen(s)`);
}
if (_deathsUC > 0) {
z.push(`<span class="red">${_deathsUC} upper class citizen(s)`);
}
if (_deathsTC > 0) {
z.push(`<span class="red">${_deathsTC} millionaire(s)`);
}
if (_deathsLC > 0|| _deathsMC > 0|| _deathsUC > 0 || _deathsTC > 0) {
ret += z.reduce(function(res, ch, i, arr) { return res + (i === arr.length - 1 ? ' and ' : ', ') + ch; }) + " passed away due to natural causes.</span>";
r.push(ret);
}
/* Slave expiration*/
const _expirationPC = Math.trunc(V.menials * _expirationFS);
const _expirationFD = Math.trunc(V.fuckdolls * _expirationFS);
const _expirationBR = Math.trunc(V.menialBioreactors * _expirationFS);
const _expirationNPC = Math.trunc(V.NPCSlaves * _expirationFS);
const _expiration = _expirationPC + _expirationNPC + _expirationFD + _expirationBR;
V.NPCSlaves -= _expirationNPC;
V.menials -= _expirationPC;
V.fuckdolls -= _expirationFD;
V.menialBioreactors -= _expirationBR;
if (_expiration > 0) {
if (_expirationFS <= 0.5) {
r.push(`<span class="red">${_expiration} slave(s) passed away</span> due to natural causes.`);
} else {
r.push(`<span class="red">${_expiration} slave(s) died</span> due to the tough working conditions in your arcology.`);
}
if (_expirationPC > 1) {
r.push(`Of which <span class="red">${_expirationPC} were yours.</span>`);
} else if (_expirationPC > 0) {
r.push(`<span class="red">One of them was yours.</span>`);
}
}
App.Events.addNode(el, r);
return el;
}
function denseApartments() {
/* increases lowerclass attraction based on number of dense apartments */
let el = new DocumentFragment();
let r = [];
let _count = 0;
V.building.findCells(cell => !(cell instanceof App.Arcology.Cell.Penthouse))
.forEach(cell => {
if (cell instanceof App.Arcology.Cell.Apartment) {
if (cell.type === 3) {
_count += 1;
_lowerClass += 40;
}
}
});
if (_count > 9) {
r.push(App.UI.DOM.makeElement("span", `A great amount of lower class citizens`, "green"));
r.push(` were attracted by the sectors filled with dense apartments.`);
} else if (_count > 5) {
r.push(App.UI.DOM.makeElement("span", `A large amount of lower class citizens`, "green"));
r.push(` were attracted by your sprawling blocks of dense apartments.`);
} else if (_count > 2) {
r.push(App.UI.DOM.makeElement("span", `A moderate amount of lower class citizens`, "green"));
r.push(` were attracted by your dense apartment complexes`);
} else if (_count > 0) {
r.push(App.UI.DOM.makeElement("span", `A small amount of lower class citizens`, "green"));
r.push(` were attracted by your dense apartments.`);
}
App.Events.addNode(el, r);
return el;
}
function getBanishRatio() {
/* Some proportion of newly-enslaved citizens might instead be banished, if you don't keep old menials.
* This should probably use an actuarial age distribution instead of this piecewise function. */
let _banishedRatio = 0.0;
if (V.policies.retirement.menial2Citizen === 1) {
if (V.customMenialRetirementAge >= 65) {
_banishedRatio = 0.475 - Math.clamp(V.customMenialRetirementAge / 200, 0.325, 0.475);
} else {
_banishedRatio = 0.9 - Math.clamp(V.customMenialRetirementAge / 100, 0.2, 0.65);
}
if (V.arcologies[0].FSSupremacistLawME + V.arcologies[0].FSSubjugationistLawME > 0) {
_banishedRatio *= 2 / 3;
}
_banishedRatio += 0.05; // not sure what the extra 5% is for...
}
return _banishedRatio;
}
function citizenToSlave() {
/* Citizens turning into slaves, or being banished because they can't be */
const _banished = Math.trunc((V.lowerClass * _welfareFS) * getBanishRatio());
_enslaved = Math.trunc(V.lowerClass * _welfareFS) - _banished;
V.lowerClass -= (_enslaved + _banished);
if (_banished > 0) {
appendDiv(`<span class="red">${_banished} citizens were banished</span> from your arcology; they committed enslavable offenses, but were too old to be enslaved.`);
}
}
function appendDiv(text) {
const div = document.createElement("div");
$(div).append(text);
el.append(div);
}
};
|
MonsterMate/fc
|
src/endWeek/economics/arcmgmt.js
|
JavaScript
|
mit
| 100,044
|
globalThis.endWeek = (function() {
function doEndWeek() {
// purge SugarCube's expired state cache
State.expired.length = 0;
// report setup
setupLastWeeksCash();
setupLastWeeksRep();
// globals setup
resetSlaveMarkets();
resetSlaveCounters();
for (const s of V.slaves) {
slavePrep(s);
}
setUseWeights();
saveWeekTotals();
// pass time for objects that need it
weather ();
organs();
prosthetics();
nursery();
food();
PC();
// week end is done, move on to gameover or SA reports
resetMiscGlobals();
advance();
}
function resetSlaveMarkets() {
V.gingering = 0;
V.market = null;
for (const school of App.Data.misc.schools.keys()) {
V[school].schoolSale = 0;
}
}
function resetSlaveCounters() {
V.subSlaves = 0;
}
function slavePrep(s) {
if (s.assignment === Job.SUBORDINATE && s.subTarget === 0) {
V.subSlaves++;
}
s.lastWeeksCashIncome = 0;
s.lastWeeksRepIncome = 0;
s.lastWeeksRepExpenses = 0;
}
function setUseWeights() {
V.oralUseWeight = 5;
V.vaginalUseWeight = 5;
V.analUseWeight = 5;
V.mammaryUseWeight = 1;
V.penetrativeUseWeight = 1;
if (V.policies.oralAppeal === 1) {
V.oralUseWeight += 2;
V.vaginalUseWeight -= 1;
V.analUseWeight -= 1;
} else if (V.policies.vaginalAppeal === 1) {
V.oralUseWeight -= 1;
V.vaginalUseWeight += 2;
V.analUseWeight -= 1;
} else if (V.policies.analAppeal === 1) {
V.oralUseWeight -= 1;
V.vaginalUseWeight -= 1;
V.analUseWeight += 2;
}
if (V.policies.oralAppeal === -1) {
V.oralUseWeight -= 2;
V.vaginalUseWeight += 1;
V.analUseWeight += 1;
}
if (V.policies.vaginalAppeal === -1) {
V.oralUseWeight += 1;
V.vaginalUseWeight -= 2;
V.analUseWeight += 1;
}
if (V.policies.analAppeal === -1) {
V.oralUseWeight += 1;
V.vaginalUseWeight += 1;
V.analUseWeight -= 2;
}
if (V.policies.gumjobFetishism === 1) {
V.oralUseWeight += 2;
}
if (V.policies.sexualOpenness === 1) {
V.penetrativeUseWeight += 1;
}
}
function saveWeekTotals() {
V.cashLastWeek = V.cash;
V.repLastWeek = V.rep;
V.foodLastWeek = V.food;
}
function weather() {
if (V.weatherRemaining > 0) {
V.weatherRemaining -= 1;
}
}
function organs() {
function advanceOrgan(o) {
if (o.weeksToCompletion > 0) {
if (V.organFarmUpgrade === 3) {
o.weeksToCompletion -= 4;
} else if (V.organFarmUpgrade === 2) {
o.weeksToCompletion -= 2;
} else {
o.weeksToCompletion--;
}
}
}
for (const organ of V.organs) {
advanceOrgan(organ);
}
// move completed non-incubator organs to V.completedOrgans
V.organs = V.organs.filter(function(o) {
if (o.weeksToCompletion <= 0) {
V.completedOrgans.push(o);
return false;
}
return true;
});
for (const organ of V.incubatorOrgans) {
advanceOrgan(organ);
}
// TODO: nurseryOrgans too, if those ever exist...
}
function prosthetics() {
for (const p of V.adjustProsthetics) {
if (p.workLeft > 0) {
if (V.prostheticsUpgrade === 3) {
p.workLeft -= 40;
} else if (V.prostheticsUpgrade === 2) {
p.workLeft -= 20;
} else {
p.workLeft -= 10;
}
if (p.workLeft <= 0) {
V.adjustProstheticsCompleted++;
}
}
}
}
function nursery() {
for (const c of V.cribs) {
c.growTime--;
c.birthWeek++;
if (c.birthWeek >= 52) {
c.birthWeek = 0;
c.actualAge++;
}
if (c.actualAge >= 3) {
App.Facilities.Nursery.infantToChild(c);
}
}
}
function food() {
function foodConsumption(s) {
if (s.diet === "restricted") {
return 1.8;
} else if (s.diet === "slimming") {
return 1.9;
} else if (s.diet === "muscle building") {
return 2.1;
} else if (s.diet === "fattening") {
return 2.2;
} else {
return 2;
}
}
if (V.foodMarket > 0) {
V.foodConsumption = ((V.lowerClass*V.foodRate.lower) + (V.middleClass*V.foodRate.middle) + (V.upperClass*V.foodRate.upper) + (V.topClass*V.foodRate.top));
V.foodConsumption += V.slaves.reduce((acc, cur) => acc += foodConsumption(cur), 0);
V.food -= Math.max(V.foodConsumption, V.food);
V.foodConsumption = 0;
}
}
function PC() {
V.PC.sexualEnergy = 4;
if (V.PCSlutContacts === 2) {
V.PC.sexualEnergy -= 3;
}
if (V.personalAttention === "sex") {
V.PC.sexualEnergy += 2;
}
if (V.PC.physicalAge >= 80) {
V.PC.sexualEnergy -= 6;
} else if (V.PC.physicalAge >= 72) {
V.PC.sexualEnergy -= 5;
} else if (V.PC.physicalAge >= 65) {
V.PC.sexualEnergy -= 4;
} else if (V.PC.physicalAge >= 58) {
V.PC.sexualEnergy -= 3;
} else if (V.PC.physicalAge >= 50) {
V.PC.sexualEnergy -= 2;
} else if (V.PC.physicalAge >= 42) {
V.PC.sexualEnergy -= 1;
} else if (V.PC.physicalAge >= 35) {
V.PC.sexualEnergy += 0;
} else if (V.PC.physicalAge >= 31) {
V.PC.sexualEnergy += 1;
} else if (V.PC.physicalAge >= 28) {
V.PC.sexualEnergy += 2;
} else if (V.PC.physicalAge >= 21) {
V.PC.sexualEnergy += 3;
} else if (V.PC.physicalAge >= 13) {
V.PC.sexualEnergy += 4;
} else if (V.PC.physicalAge === 12) {
V.PC.sexualEnergy += 1;
} else if (V.PC.physicalAge === 11) {
V.PC.sexualEnergy -= 2;
} else if (V.PC.physicalAge >= 0) {
V.PC.sexualEnergy -= 6;
}
if (V.PC.balls >= 10) {
V.PC.sexualEnergy += 2;
} else if (V.PC.balls >= 5) {
V.PC.sexualEnergy++;
}
if (V.PC.preg > 20) {
if (V.PC.pregMood === 2) {
V.PC.sexualEnergy += 4;
} else {
V.PC.sexualEnergy -= 3;
}
} else if (V.PC.preg > 0) {
V.PC.sexualEnergy -= 1;
} else {
if (V.PC.fertDrugs === 1) {
V.PC.sexualEnergy++;
}
if (V.PC.forcedFertDrugs > 0) {
V.PC.sexualEnergy += 2;
}
}
if (V.PC.staminaPills > 0) {
V.PC.sexualEnergy += 2;
}
if (V.PC.preg > 0) {
WombProgress(V.PC, 1, 1);
WombNormalizePreg(V.PC);
V.PC.pregWeek = V.PC.preg;
let newBelly = WombGetVolume(V.PC);
if (newBelly >= V.PC.belly) {
V.PC.belly = newBelly;
} else if (V.PC.belly > 500) {
V.PC.belly *= 0.75;
}
V.PC.fertDrugs = 0;
} else if (V.PC.belly > 0) {
if (V.PC.belly < 100) {
V.PC.belly = 0;
} else {
V.PC.belly *= 0.75;
}
}
if (V.PC.pregWeek < 0) {
V.PC.pregWeek++;
}
}
function resetMiscGlobals() {
// if a global is going to be used by the end-of-week reports, it must be reset here instead of in Next Week
V.encyclopedia = "How to Play";
V.expiree = 0;
V.retiree = 0;
V.StudID = 0;
V.fuckSlaves = 0;
V.publicServants = 0;
V.cumSlaves = 0;
}
function advance() {
if (V.slaves.length < 1) {
V.gameover = "no slaves";
Engine.play("Gameover");
} else if (V.arcologies[0].ownership < V.arcologies[0].minority) {
V.gameover = "ownership";
Engine.play("Gameover");
} else {
Engine.play("Slave Assignments Report");
}
}
function confirmEndWeek() {
if (!V.sideBarOptions.confirmWeekEnd || confirm("Are you sure you want to end the week?")) {
App.UI.EndWeekAnim.start();
setTimeout(doEndWeek, 0); // execute immediately, but after the event loop runs, so the loading screen gets shown
}
}
return confirmEndWeek;
})();
|
MonsterMate/fc
|
src/endWeek/endWeek.js
|
JavaScript
|
mit
| 7,148
|
App.UI.EndWeekAnim = (function() {
let loadLockID = -1;
let infoDiv = null;
function makeInfoDiv() {
infoDiv = $(`
<div class="endweek-titleblock">
<div class="endweek-maintitle">Processing week ${V.week}...</div>
<div class="endweek-subtitle">${V.arcologies[0].name} | ${V.slaves.length} slaves</div>
</div>
`);
}
function start() {
if (loadLockID === -1) {
makeInfoDiv();
$("#init-screen").append(infoDiv);
loadLockID = LoadScreen.lock();
}
}
function end() {
if (loadLockID !== -1) {
setTimeout(() => {
LoadScreen.unlock(loadLockID);
infoDiv.remove();
infoDiv = null;
loadLockID = -1;
}, 0);
}
}
return {
start,
end
};
})();
|
MonsterMate/fc
|
src/endWeek/endWeekAnim.js
|
JavaScript
|
mit
| 703
|
/** Get the slave (or player) who's taking care of this patient's sexual needs this week.
* @param {App.Entity.SlaveState} slave
* @returns {{type: "player" | "lover" | "friend" | "family" | "nurse" | null, slave?: App.Entity.SlaveState}}
*/
App.EndWeek.getClinicPartner = function(slave) {
const validVisitingPartner = (/** @type {App.Entity.SlaveState} */ s) => s && canMove(s) && isSlaveAvailable(s) && App.Utils.sexAllowed(slave, s);
if (slave.relationship === -3) { // player visits wife
return {type: "player"};
}
if (slave.relationship > 0) {
const partner = getSlave(slave.relationshipTarget);
if (validVisitingPartner(partner)) {
if (slave.relationship > 2) { // lover
return {type: "lover", slave: partner};
} else { // friend
return {type: "friend", slave: partner};
}
}
}
if (V.seeIncest === 1) { // close family member
const partner = randomRelatedSlave(slave, validVisitingPartner);
if (partner) {
return {type: "family", slave: partner};
}
}
if (S.Nurse && App.Utils.sexAllowed(S.Nurse, slave)) {
return {type: "nurse"};
}
return {type: null};
};
/** Determines which employees a given facility leader is having sex with this week
* @param {App.Entity.Facilities.Facility} facility
* @returns {Set<number>}
*/
App.EndWeek.getFLSex = function(facility) {
/** @type {Set<number>} */
const employeeSex = new Set();
const fl = facility.manager ? facility.manager.currentEmployee : null;
if (fl && App.Data.misc.sexFromDevelopmentLeaders.includes[fl.assignment]) {
facility.employees().filter(s => flWillFuck(s)).forEach(s => employeeSex.add(s.ID));
}
return employeeSex;
/** @param {App.Entity.SlaveState} emp */
function flWillFuck(emp) {
const horny = (s) => s.devotion >= -50 /* not unhappy */ && s.energy > 20 /* not frigid */;
if (fl.assignment === Job.WARDEN && fl.fetish === "mindbroken") {
return true; // mindbroken warden ignores rules, rapes everyone
}
if (fl.assignment === Job.NURSE && App.EndWeek.getClinicPartner(emp).type !== "nurse") {
return false; // nurse is busy, will not have sex with patients who are satisfied by someone else
}
if (fl.assignment === Job.WARDEN && emp.relationship === -3) {
return false; // wardeness will never molest the PC's spouse
}
if (horny(emp) || fl.assignment === Job.WARDEN) { // only the warden will routinely rape frigid/unhappy slaves
if (App.Utils.sexAllowed(emp, fl)) { // no sex with a slave you've forbidden them to fuck
return true;
}
}
return false;
}
};
|
MonsterMate/fc
|
src/endWeek/facilityLeaderSex.js
|
JavaScript
|
mit
| 2,531
|
/* Condition
The current physical condition of the slave.
Any health improvements get added here.
Short term damage reduces it as it degrades.
Short term damage
Anything that hurts a slave gets transferred into this.
At the end of the week 25% of it will be removed and turned into condition damage instead.
Usage of preventatives or curatives reduces the actual condition damage by 50%.
Long term damage
Once ageing beyond 30 years old there is a chance of long term damage that increases with time. Calculated on birthday.
Math.floor((slave.physicalAge - 25 + jsRandom(1, 15)) / 20)
25% of the actual condition damage taken during a week also gets added to the pool (therefore gets reduced by preventatives and curatives if active).
Nothing can reduce this value.
Perhaps the effect can still be reduced through surgical implant with high upkeep.
Carcinogens
Aside from a source of regular short term damage high levels will also increase the chances for severe illnesses
3d6 rolls for illness
illness > 8 -- 1 62.5%
illness > 6 -- 2 21.3%
illness > 5 -- 3 11.6%
illness > 4 -- 4 2.8%
illness = 3 or 4 -- 5 1.8%
Carcinogens subtract Math.trunc(chem / 150) from the dice rolls for a max of -6 at >= 90
There should be a natural decay of carcinogens every week of 10% of the level. But at the price of 0.2 short term damage per point of chem.
Add carcinogen damage to serious medical procedures due to use of potent pharmaceuticals during them.
Illness
There is always a chance a slave gets sick. Often they will just get better on their own, but sometimes it can be more serious and require a stay in the clinic.
Sick slaves work at reduced effectiveness and will see their health lowered.
Tiredness
Depending on various factors (living conditions, assignment, rewards, muscles, health) a slave may become more or less tired.
Once tiredness reached 60 there will be negative effects for productivity and at 90 they become even more extreme.
Being tired or exhausted also reduces a slave's ability to resist the player, increasing devotion and fear.
Health
The aggregate of condition, short term damage and long term damage to provide an indication of the current overall state of the slave. The slave will die once this reached -100.
*/
/* Getting ill depends on the following factors;
- current condition
- long term damage (accumulated through getting old(er) and residual from short term damage)
- short term damage (accumulated through serious illness, chemical carcinogens, damaging surgeries and other health damage sources) 125%
- chemical carcinogens (more serious illness chance with high carcinogen levels)
- age (long term damage takes care of older slaves, the young ones need a specific vulnerability)
- use of curatives
- assignment (rest, clinic, spa and master suite less likely, whoring, slutting and gloryholes more likely.)
- random chance
Can be blocked with preventatives.
*/
/**
* @param {App.Entity.SlaveState} slave
* @returns {string}
*/
globalThis.illness = function(slave) {
const random = jsRandom(1, 100); // high rolls are good
const H = slave.health;
let r = ``;
let assignBonus = 0; // bonus for healthy assignments
// eslint-disable-next-line no-unused-vars
let he, him, his, hers, himself, girl, loli, He, His;
({
// eslint-disable-next-line no-unused-vars
he, him, his, hers, himself, girl, He, His, loli
} = getPronouns(slave));
let sicknessDegree = ["fine", "minor illness", "illness", "bad illness", "severe illness", "life-threatening illness"];
// On the macro side of things disease could also happen to the arcology's population as the arcology becomes crowded, killing citizens and putting slaves at greater risk of getting ill. Again with upgrades/policies to mitigate the issue made available TODO?
if (slave.assignment === Job.AGENTPARTNER || slave.assignment === Job.AGENT) {
if (H.illness !== 0) {
H.illness = 0;
}
return r;
} // Let's make sure agents don't get sick and accidentally die, they should take care of themselves
if (slave.fuckdoll !== 0) {
assignBonus += 50;
} else if (slave.assignment === Job.CLINIC) {
assignBonus += 40;
} else if (slave.assignment === Job.SPA || slave.assignment === Job.REST) {
assignBonus += 20;
} else if ((slave.assignment === Job.MASTERSUITE || slave.assignment === Job.FUCKTOY) && V.PC.skill.medicine >= 40) {
assignBonus += 10;
} else if (setup.nurseCareers.includes(slave.career) || slave.skill.nurse >= 100 || slave.intelligence + slave.intelligenceImplant > 95) { // Let slaves with experience or brains use it
assignBonus += 10;
}
if (random < 6) { // There is always a 5% chance of a slave feeling worse or coming in contact with an illness
if (H.illness > 0) {
H.illness += 1 + Math.trunc((slave.chem / 10 + jsRandom(1, 50) + 15) / 100); // Illness progresses with 1, unless chem > 350, then there's a chance for 2
r += ` <span class="red">${His} sickness has progressed.</span>`;
if (H.illness > 5) {
healthDamage(slave, 20 * (H.illness - 5)); // Condition penalty for going over maximum illness, very dangerous
H.illness = 5;
r += ` ${His} illness <span class="red">makes an attempt to claim ${his} life.</span>`;
}
} else {
getIll(slave);
if (H.illness > 0) {
r += ` ${He} has come down with <span class="red">${addA(sicknessDegree[H.illness])}.</span>`;
}
}
} else if (random > 95 && H.illness > 0) { // There is always a 5% chance of a slave getting better
H.illness -= 1;
if (H.illness < 0) {
H.illness = 0;
improveCondition(slave, 5);
r += ` <span class="green">${His} sickness has waned</span> and ${he} now feels better.`;
} else {
r += ` ${His} immune system <span class="green">fights back</span> against ${his} illness.`;
}
} else {
/* eslint-disable camelcase */
let nurse_effectiveness = nurseEffectiveness(slave);
let health_adjusted = H.condition - H.longDamage - H.shortDamage * 1.25;
let age_modifier = Math.min(Math.trunc((slave.physicalAge - 18) / 3), 0);
let bonus_modifiers = random + assignBonus + nurse_effectiveness;
let curativesBonus = (slave.curatives > 1 || slave.inflationType === "curative") ? 2 : 1;
let industrialDairyImmunoBoost = (V.dairyRestraintsSetting > 1 && slave.assignment === Job.DAIRY) ? 60 : 0;
// When ill, a slave has a 60% chance of getting better the next week at complete default, 70% with a favorable assignment, 80% with curatives, 90% with both measures active and additional benefits depending on the nurse on duty
if (H.illness > 0 && ((health_adjusted + age_modifier + industrialDairyImmunoBoost) / 3) + bonus_modifiers > (30 + (H.illness * 10)) / curativesBonus) {
if (nurse_effectiveness > 30 && (jsRandom(1, 2) === 2 || slave.assignment === Job.CLINIC) && H.illness > 1) { // A particularly effective nurse can improve illness faster
H.illness -= 2;
r += ` ${S.Nurse.slaveName} <span class="green">successfully treats</span> ${his} illness.`;
} else {
H.illness -= 1;
r += ` ${His} body <span class="green">fights back</span> against ${his} illness.`;
}
if (H.illness === 0) {
r += ` ${He} no longer <span class="green">shows any signs</span> of ${his} previous sickness.`;
}
} else if (H.illness === 0) {
if ([Job.BODYGUARD, Job.DJ, Job.MADAM, Job.ARCADE, Job.GLORYHOLE, Job.CLUB, Job.PUBLIC, Job.WHORE, Job.BROTHEL].includes(slave.assignment)) { // Limit to outside jobs only
if (((Math.min(health_adjusted, 50) + age_modifier) / 3) + bonus_modifiers < 30 / Math.min(curativesBonus + 1, 2)) { // Chance of getting ill 30% at complete default, 20% with a favorable assignment, 15% with curatives or preventatives, 10% with both measures active and a small benefit from effective Nurse screening
getIll(slave);
r += ` ${He} has come down with <span class="red">${addA(sicknessDegree[H.illness])}.</span>`;
}
}
} else {
healthDamage(slave, Math.pow(H.illness, 2));
r += ` ${He} <span class="red">suffers under ${his} ${sicknessDegree[H.illness]}.</span>`;
}
/* eslint-enable camelcase */
}
return r;
};
/**
* Once a new illness is rolled this determines how bad it is initially, chem levels seriously increase the chances of a higher initial value. Health also factors in with weakened slaves being more likely to catch ill.
* @param {App.Entity.SlaveState} slave
* @returns {void}
*/
globalThis.getIll = function(slave) {
const H = slave.health;
const illness = jsRandom(1, 6) + jsRandom(1, 6) + jsRandom(1, 6) - Math.trunc(slave.chem / 150) + Math.trunc(H.condition / 20);
if (V.seeIllness !== 0) {
if (slave.curatives !== 1 && slave.inflationType !== "curative") {
if (slave.assignment !== Job.CLINIC) {
if (illness < 4) {
H.illness = 5; // 1.8% chance
} else if (illness < 5) {
H.illness = 4; // 2.8% chance
} else if (illness < 6) {
H.illness = 3; // 11.6% chance
} else if (illness < 8) {
H.illness = 2; // 21.3% chance
} else {
H.illness = 1; // 62.5% chance
}
}
}
}
};
/**
* Attempts to pass illness from slave1 to slave2.
* @param {App.Entity.SlaveState} slave1
* @param {App.Entity.SlaveState} slave2
* @returns {string}
*/
globalThis.passIllness = function(slave1, slave2) {
if (V.seeIllness !== 0) {
if (slave1.curatives !== 1) {
if (slave1.assignment !== Job.CLINIC) {
slave1.health.illness = slave2.health.illness;
}
}
}
return ` ${slave1.slaveName} has caught ${slave2.slaveName}'s sickness.`;
};
/**
* Once a new illness is rolled this determines how bad it is initially, chem levels seriously increase the chances of a higher initial value
* @param {App.Entity.SlaveState} slave
* @returns {void}
*/
globalThis.poorHealthNeedReduction = function(slave) {
// Slave .need reduction if ill or tired
if (slave.energy > 20) {
slave.need = Math.trunc(slave.need * healthPenalty(slave));
}
};
/**
* A better nurse and/or less slaves/patients to look out for makes for a better chance of curing illness
* @param {App.Entity.SlaveState} slave
* @returns {number}
*/
globalThis.nurseEffectiveness = function(slave) {
const H = slave.health;
const clinicUpgrade = 1; // Creating a purchasable upgrade to increase the amount of slaves the nurse can handle -- TODO
const clinicScreening = 1; // Assumes the clinic is set to screening all slaves to improve their chances of staying healthy. Turning it off would allow the nurse to focus on just her patients in the clinic -- TODO
if (S.Nurse) {
const nurseSkill = setup.nurseCareers.includes(S.Nurse.career) ? 200 : S.Nurse.skill.nurse;
let nurseEffectiveness = Math.trunc((nurseSkill * clinicUpgrade / Math.max((App.Entity.facilities.clinic.employeesIDs().size * 10 + (V.slaves.length * 2) * clinicScreening), 1)) * 20);
if (H.illness > 1 && slave.assignment === Job.CLINIC) {
if (nurseEffectiveness < 20) {
return nurseEffectiveness;
} else if (nurseSkill > 80) {
return Math.min(nurseEffectiveness, 40);
} else if (nurseSkill > 40) {
return Math.min(nurseEffectiveness, 30);
} else {
return 20;
}
} else if (H.illness < 2) { // reasonably ill slaves get no benefit from the nurse unless they are in the clinic, otherwise she can provide benefits to prevent illness in the first place and clearing up illnesses of level 1
nurseEffectiveness = Math.trunc(nurseEffectiveness / 4);
if (nurseEffectiveness < 5) {
return nurseEffectiveness;
} else {
return 5;
}
}
} else {
return 0;
}
};
/**
* Run at the end of the week to take care of health changes
* @param {App.Entity.SlaveState} slave
* @returns {void}
*/
globalThis.endWeekHealthDamage = function(slave) {
const H = slave.health;
let chemToShort = 0;
let shortToCondition = 0;
let shortToLong = 0;
// Checking if we are dealing with the player
// Player does not make use of most things slaves deal with, only short to long term damage
if (slave.ID !== -1) {
// dealing with carcinogens
// They decay naturally at a rate of 10%, but at as they decay cause short term damage
if (slave.chem > 0) {
if (slave.chem > 10) {
chemToShort += Math.max(Math.trunc(slave.chem * 0.1), 1);
} else if (slave.chem > jsRandom(0, 9)) {
chemToShort += 1;
}
slave.chem -= chemToShort;
H.shortDamage += Math.max(Math.trunc(chemToShort * 0.1), 2);
}
// dealing with illness
if (H.illness > 0) {
H.shortDamage += Math.trunc(Math.pow(H.illness, 1.52) * 3 + 2); // 5, 10, 17, 26, 36 points of damage per respective level of illness
}
// Long term damage due to age calculated on birthdays only
if (slave.birthWeek === 0 && slave.physicalAge > 29) {
H.longDamage += Math.trunc((slave.physicalAge - 25 + jsRandom(1, 15)) / 20);
}
} else if (H.condition < 100) { // The player gets an automatic 5 condition recovery each weak up to 100
H.condition = Math.min(H.condition + 5, 100);
}
// recovering and transferring short term damage to condition and long term
if (H.shortDamage > 0) {
shortToCondition += Math.max(Math.trunc(H.shortDamage * 0.5), 1); // 50% of short term damage gets transferred
H.shortDamage -= shortToCondition;
if (slave.assignment === Job.CLINIC) {
H.shortDamage = Math.trunc(H.shortDamage * 0.5); // An additional 50% of short term damage reduction (75% total) for getting treatment in the clinic
} else if (slave.assignment === Job.REST || slave.assignment === Job.SPA) {
H.shortDamage = Math.trunc(H.shortDamage * 0.75); // An additional 25% of short term damage reduction (62.5% total) for resting
}
if (slave.curatives > 0 || slave.ID === -1) { // transferred damage is half if on preventatives/curatives or target is the player
shortToCondition = Math.trunc(shortToCondition * 0.5);
}
if (slave.assignment === Job.CLINIC) {
shortToCondition = Math.trunc(shortToCondition * 0.75);
}
shortToLong += Math.trunc(shortToCondition * 0.1); // 10% of transferred damage gets added to long term damage, minimum of 20 short term damage before any long term damage is accumulated
H.longDamage += shortToLong;
}
if (V.baseDifficulty === 1) { // Reducing longDamage up to a certain point depending on the difficulty
if (H.longDamage > 0) {
H.longDamage -= Math.min(Math.trunc(H.longDamage * 0.1), 1);
}
} else if (V.baseDifficulty === 2) {
if (H.longDamage > 20) {
H.longDamage -= Math.min(Math.trunc((H.longDamage - 20) * 0.1), 1);
}
} else if (V.baseDifficulty === 3) {
if (H.longDamage > 40) {
H.longDamage -= Math.min(Math.trunc((H.longDamage - 40) * 0.1), 1);
}
} else if (V.baseDifficulty === 4) {
if (H.longDamage > 60) {
H.longDamage -= Math.min(Math.trunc((H.longDamage - 60) * 0.1), 1);
}
}
if (V.disableLongDamage) {
H.longDamage = 0;
}
// Making sure condition doesn't get too high
if (H.condition > 150) {
H.condition -= Math.trunc(Math.pow(H.condition - 150, 0.5));
}
H.health = H.condition - H.longDamage - H.shortDamage;
};
/**
* Tells if a slave will willingly work to death
* @param {App.Entity.SlaveState} slave
* @returns {boolean}
*/
globalThis.willWorkToDeath = function(slave) {
// More to come in the future
if (slave.trust < -50) { // Maybe lower
return true;
} else if (slave.devotion > 50) {
return true;
} else if (slave.sexualFlaw === "self hating") {
return true;
} else if (slave.fetish === "mindbroken") {
return true;
} else if (V.MadamID !== 0 && (slave.assignment === Job.BROTHEL || (slave.assignment === Job.WHORE && V.brothel > 0 && V.universalRulesFacilityWork === 1 && V.brothelSpots > 0))) {
return true;
} else if (S.DJ && (slave.assignment === Job.CLUB || (slave.assignment === Job.PUBLIC && V.club > 0 && V.universalRulesFacilityWork === 1 && V.clubSpots > 0))) {
return true;
}
return false;
};
/**
* Tells if a slave is taking the week off to rest
* @param {App.Entity.SlaveState} slave
* @returns {boolean}
*/
globalThis.slaveResting = function(slave) {
if (slave.rules.rest === "cruel" && slave.health.tired > 90) {
return true;
} else if (slave.rules.rest === "restrictive" && slave.health.tired > 60) {
return true;
} else if (slave.rules.rest === "permissive" && slave.health.tired > 30) {
return true;
}
return false;
};
/**
* Run at the end of the week to take care of tiredness changes
* @param {App.Entity.SlaveState} slave
* @returns {void}
*/
globalThis.tired = function(slave) {
const H = slave.health;
let livingRules = 0;
let restRules = 0;
let assignment = 0;
let reward = 0;
let punishment = 0;
// let muscles;
// let health;
let tiredChange;
let spaFlag = 0;
let dormPop = V.dormitoryPopulation - V.dormitory;
if (!slave.fuckdoll) {
// Assignment
if ([Job.SPA].includes(slave.assignment)) {
assignment -= 40 * (V.spaUpgrade + 1); // Reduces tired by an average of 40 points while in the spa, double with the upgraded spa
if (S.Attendant) {
let skillBonus;
if (setup.attendantCareers.includes(S.Attendant.career)) {
skillBonus = 200;
} else {
skillBonus = S.Attendant.skill.attendant;
}
assignment -= Math.trunc(skillBonus / 10); // Maximum of 20 extra points of negative tiredness due to attendant skill
}
} else if ([Job.REST, Job.CLINIC].includes(slave.assignment)) {
assignment -= 40; // Major tired reduction due to a solid week of rest
} else if ([Job.BODYGUARD].includes(slave.assignment)) {
assignment += 18; // A tough assignment with a girl that doesn't use her provided room unless it is attached to yours.
} else if ([Job.HEADGIRL].includes(slave.assignment)) {
if (slaveResting(slave)) {
assignment -= 40;
V.slaveUsedRest = 1;
} else {
assignment += 22; // Always busy. Could benefit from a helper...
}
} else if (App.Data.misc.facilityHeads.includes(slave.assignment)) { // Heads are very busy, but always have luxurious conditions, so it balances out, save for the exceptions
if (slaveResting(slave)) {
assignment -= 10;
V.slaveUsedRest = 1;
} else {
assignment += 15;
}
} else if ([Job.ATTENDANT, Job.CONCUBINE].includes(slave.assignment)) { // Cushy head positions
assignment += 5;
} else if ([Job.RECRUITER].includes(slave.assignment)) {
if (H.tired > 80) { // I'll take it easy a week to better recruit the next.
assignment -= 20;
} else {
assignment += 10;
}
} else if ([Job.HEADGIRLSUITE].includes(slave.assignment)) {
if (slave.health.tired > 60) {
assignment += 2;
} else if (slave.devotion > 20) {
assignment += 5;
} else {
assignment += 10;
}
} else if ([Job.SUBORDINATE].includes(slave.assignment)) {
if (slaveResting(slave)) {
assignment -= 20;
V.slaveUsedRest = 1;
} else if (slave.subTarget === -1) {
if (slave.health.tired + 5 >= 90 && !willWorkToDeath(slave)) {
assignment += 1;
} else if (slave.devotion > 20) {
assignment += 3;
} else {
assignment += 5;
}
} else if (slave.subTarget === 0) {
const workload = ((V.dormitoryPopulation + V.roomsPopulation - V.subSlaves) > 5) ? (V.subSlaves / (V.dormitoryPopulation + V.roomsPopulation - V.subSlaves)) : 1;
if (slave.devotion > 20) {
assignment += 7;
} else {
assignment += 10;
}
assignment = Math.ceil(assignment / workload); // 50 if very overloaded, make sure to have enough girls serving!
} else {
if (slave.relationshipTarget === slave.subTarget && slave.health.tired > 60) {
assignment += 2;
} else if (slave.health.tired + 10 >= 90 && !willWorkToDeath(slave)) {
assignment += 1;
} else if (slave.devotion > 20 || slave.relationshipTarget === slave.subTarget) {
assignment += 5;
} else {
assignment += 10;
}
}
} else if ([Job.DAIRY].includes(slave.assignment)) {
if (V.dairyRestraintsSetting > 1) {
assignment -= 100; // Full industrial Dairy is mind dulling (leaving the stupor is devastating)
} else if (V.dairyRestraintsSetting > 0) {
// Restraining while milking is a little stressful
// Additional invasions multiply it
if (slaveResting(slave)) {
assignment -= 20;
V.slaveUsedRest = 1;
} else if (slave.health.tired + 9 >= 90 && !willWorkToDeath(slave)) {
assignment += 2;
} else if (slave.devotion > 20) {
assignment += 4;
} else {
assignment += 9;
}
if (slave.balls > 0) {
assignment += 1;
}
assignment *= 1 + (V.dairyFeedersSetting + V.dairyStimulatorsSetting + V.dairyPregSetting);
} else { // Being a free range cow is relatively relaxing
if (slaveResting(slave)) {
assignment -= 40;
V.slaveUsedRest = 1;
} else if (slave.health.tired + 5 >= 90 && !willWorkToDeath(slave)) {
assignment += 2;
} else if (slave.devotion > 20) {
assignment -= 5;
} else {
assignment += 5;
}
if (slave.balls > 0) {
assignment += 1;
}
}
} else if ([Job.MILKED].includes(slave.assignment)) {
if (slaveResting(slave)) {
assignment -= 5;
V.slaveUsedRest = 1;
} else if (slave.health.tired + 8 >= 90 && !willWorkToDeath(slave)) {
assignment += 1;
} else if (slave.devotion > 20) {
assignment += 2;
} else {
assignment += 8;
}
if (slave.balls > 0) {
assignment += 1;
}
} else if ([Job.CELLBLOCK, Job.CONFINEMENT].includes(slave.assignment)) { // Generally not tiring unless a Wardeness is present, in which case she uses sleep deprivation to break slaves.
if (slave.assignment === Job.CELLBLOCK && V.WardenessID !== 0 && slave.fetish !== "mindbroken") {
if (S.Wardeness.fetish === "mindbroken") {
if (H.tired > 80) {
assignment -= 8;
} else {
assignment += 40;
}
} else if (S.Wardeness.sexualQuirk === "caring") {
assignment += 5;
} else if (S.Wardeness.sexualFlaw === "malicious" || S.Wardeness.sexualFlaw === "abusive") {
if (H.condition > 20) {
assignment += 40;
} else if (H.tired > 80) {
assignment -= 8;
} else {
assignment += 20;
}
} else if (H.tired > 50) {
assignment -= 8;
} else if (H.tired <= 30) {
assignment += 33;
} else {
assignment += 20;
}
} else {
assignment -= 8;
}
} else if ([Job.ARCADE].includes(slave.assignment)) {
assignment += 35;
if (V.arcadeUpgradeHealth === 2) {
assignment -= 60;
} else if (V.arcadeUpgradeHealth === 1) {
assignment -= 30;
}
} else if ([Job.GLORYHOLE, Job.FARMYARD].includes(slave.assignment)) { // Hard assignments
if (slaveResting(slave)) {
assignment -= 20;
V.slaveUsedRest = 1;
} else if (slave.health.tired + 20 >= 90 && !willWorkToDeath(slave)) {
assignment += 1;
} else if (slave.devotion > 20) {
assignment += 15;
} else {
assignment += 20;
}
} else if (App.Data.misc.whoringAssignments.includes(slave.assignment)) { // Moderate assignments
if (slaveResting(slave)) {
assignment -= 20;
V.slaveUsedRest = 1;
} else if (slave.health.tired + 15 >= 90 && !willWorkToDeath(slave)) {
assignment += 1;
} else if (slave.devotion > 20) {
assignment += 10;
} else {
assignment += 15;
}
} else if ([Job.FUCKTOY, Job.HOUSE, Job.QUARTER].includes(slave.assignment)) { // Easy assignments
if (slaveResting(slave)) {
assignment -= 20;
V.slaveUsedRest = 1;
} else if (slave.health.tired + 11 >= 90 && !willWorkToDeath(slave)) {
assignment += 1;
} else if (slave.devotion > 20) {
assignment += 7;
} else {
assignment += 11;
}
} else if ([Job.SCHOOL, Job.CLASSES, Job.MASTERSUITE].includes(slave.assignment)) { // Trivial assignments
if (slave.health.tired > 80) {
assignment += 2;
} else if (slave.devotion > 20) {
assignment += 2;
} else {
assignment += 5;
}
}
// Living Conditions
if ((slave.assignment === Job.BODYGUARD && V.dojo === 2) || (slave.assignment === Job.HEADGIRL && V.HGSuite === 1)) {
livingRules -= 20;
} else if (slave.assignment === Job.BODYGUARD) {
livingRules -= 6; // Remove maybe?
} else if (slave.rules.living === "luxurious") {
livingRules -= 15;
} else if (slave.rules.living === "spare") {
livingRules -= 2; // Barely reduce tiredness while sleeping in spare conditions
if (dormPop > 10) { // Overcrowding penalty
livingRules += 12;
} else if (dormPop > 5) {
livingRules += 7;
}
} else {
livingRules -= 10;
if (dormPop > 10) { // Overcrowding penalty
livingRules += 15;
} else if (dormPop > 5) {
livingRules += 10;
}
}
// Rewards
if (slave.rules.reward === "drugs") {
reward -= 4;
} else if (slave.rules.reward === "relaxation") {
if (V.spaSpots > 0) {
reward -= 7;
spaFlag = 1;
} else {
reward -= 5;
}
} else if (slave.rules.reward === "situational") {
if (V.spaSpots > 0) {
reward -= 4;
spaFlag = 1;
} else {
reward -= 3;
}
}
if (slave.devotion > 50) { // Considering how often the slave gets rewarded
reward *= 3;
} else if (slave.devotion > 20) {
reward *= 2;
} else if (slave.devotion < -20 || slave.trust >= -20) {
reward = 0;
}
if (spaFlag) {
V.spaSpots -= Math.abs(reward); // Reducing the available space in the spa depending on how often the slave can be found there
}
if (reward > 0) {
if (spaFlag) {
reward *= V.spaUpgrade + 1;
}
}
// Punishments
if (slave.rules.reward === "confinement" && V.cellblock !== 0) {
punishment -= 2;
}
if (slave.devotion > 50) { // Considering how often the slave gets punished
punishment = 0;
} else if (slave.devotion >= -20) {
if (slave.trust >= -20) {
punishment *= 2;
}
} else {
if (slave.trust >= -50) {
punishment *= 3;
}
}
/* Disabled for balancing
// Muscles
if (slave.muscles < 0) {
muscles = -Math.trunc((slave.muscles / 10) * (1 + normalRandInt(0, 5) / 100)); // Being weak increases tiredness, building muscles eventually reduces tiredness
} else {
muscles = -Math.trunc(5 * (1 + normalRandInt(0, 5) / 100)); // Muscle benefits max out at 50
}
// Health
health = Math.trunc((H.shortDamage / 2 - H.condition / 10) * (1 + normalRandInt(0, 5) / 100)); // Current condition reduces tiredness, health damage increases tiredness
if (slave.assignment === Job.REST || slave.assignment === Job.CLINIC || slave.assignment === Job.SPA) {
health = Math.max(0, health); // break vicious cycle - no additional tiredness accumulates from bad health for slaves assigned to rest
}
*/
// Add advanced pregnancy/high .bellyPreg (it is either caused by an advanced pregnancy or high multiples, both draining) tiredness gain gated under preg effects
// Add pregnancy speed up effects
// day of rest
if (slave.rules.rest === "mandatory") {
if ([Job.GLORYHOLE, Job.FARMYARD, Job.CLUB, Job.PUBLIC, Job.WHORE, Job.BROTHEL, Job.SUBORDINATE, Job.HOUSE, Job.QUARTER, Job.FUCKTOY, Job.MASTERSUITE, Job.MILKED].includes(slave.assignment) || (V.dairyRestraintsSetting < 2 && slave.assignment === Job.DAIRY)) {
restRules -= 20;
}
}
tiredChange = livingRules + assignment + restRules + reward + punishment; // + muscles + health
H.tired += tiredChange;
// HG special cases
if (slave.assignment === Job.HEADGIRL) {
if (App.EndWeek.saVars.HGSlaveSuccess) {
H.tired -= 5;
}
if (V.personalAttention === PersonalAttention.SUPPORTHG) {
H.tired -= 10;
}
}
} else {
// fuckdolls get a static tiredness drop due to drugs and suit control
H.tired -= 30;
}
H.tired = Math.clamp(H.tired, 0, 100);
};
/**
* @param {App.Entity.SlaveState} slave
* @param {number} [exhaustion=0]
* @returns {number}
*/
globalThis.restEffects = function(slave, exhaustion=0) {
// exhaustion holds the weekly .tired gain from the assignment.
if (!slave.fuckdoll) {
if (slave.rules.rest === "mandatory") {
return 0.86;
} else if (slaveResting(slave)) {
if (slave.assignment === window.Job.HOUSE || slave.assignment === window.Job.QUARTER || window.Job.SUBORDINATE || window.Job.FARMER || window.Job.STEWARD) {
return 0.60;
} else {
return 0.25;
}
} else if (slave.health.tired + exhaustion >= 90 && !willWorkToDeath(slave)) {
return 0.10;
} else {
return healthPenalty(slave);
}
}
return 1;
};
/**
* @param {App.Entity.SlaveState} slave
* @returns {void}
*/
globalThis.tiredFucks = function(slave) {
if (!slave.fuckdoll) {
let acceptance = 0;
acceptance += Math.trunc(slave.energy / 10);
acceptance -= Math.trunc((slave.intelligence + slave.intelligenceImplant) / 10);
if (slave.fetish === "masochist" || slave.fetish === "humiliation") {
acceptance += Math.trunc(slave.fetishStrength / 10);
}
if (slave.assignment === Job.GLORYHOLE) {
if ((acceptance > 20 && slave.devotion > 20) || slave.sexualFlaw === "self hating") {
slave.health.tired += Math.trunc(slave.sexAmount * (1 + normalRandInt(0, 5) / 100) / 100);
} else {
slave.health.tired += Math.trunc(slave.sexAmount * (1 + normalRandInt(0, 5) / 100) / 50);
}
} else {
if ((acceptance > 20 && slave.devotion > 20) || slave.sexualFlaw === "self hating") {
slave.health.tired += Math.trunc(slave.sexAmount * (1 + normalRandInt(0, 5) / 100) / 50);
} else {
slave.health.tired += Math.trunc(slave.sexAmount * (1 + normalRandInt(0, 5) / 100) / 25);
}
}
}
};
|
MonsterMate/fc
|
src/endWeek/healthFunctions.js
|
JavaScript
|
mit
| 29,340
|
App.EndWeek.labReport = function() {
const frag = document.createDocumentFragment();
let r = [];
if (V.researchLab.hired + V.researchLab.menials > 0) {
if (V.researchLab.tasks.length === 0) {
const cash = (V.researchLab.speed * 90);
r.push(`Since the lab is currently not working on any projects it takes contract work and earns you <span class="yellowgreen">${cashFormat(cash)}.</span>`);
cashX(cash, "lab");
} else {
let work = V.researchLab.speed;
while (work > 0) {
const task = V.researchLab.tasks[0];
if (!task) {
const cash = Math.round(work * 90);
work = 0;
r.push(`<br>Your lab has <span class="green">finished all projects.</span> The remaining time is used for contract work earning you <span class="yellowgreen">${cashFormat(cash)}.</span>`);
cashX(cash, "lab");
} else if (work < task.workLeft) {
task.workLeft -= work;
work = 0;
r.push(`The lab continues ${task.type === "research" ? "research" : "work"} on <span class="yellow">${addA(setup.prosthetics[task.id].name)}.</span> It will take approximately ${numberWithPluralNonZero(Math.floor(task.workLeft / V.researchLab.speed) + 1, "week")} to complete.`);
} else {
work -= task.workLeft;
r.push(`Your lab staff have <span class="green">completed</span> their`);
switch (task.type) {
case "research":
V.prosthetics[task.id].research = 1;
r.push(`${setup.prosthetics[task.id].name} research project.`);
break;
case "craft":
V.prosthetics[task.id].amount += 1;
r.push(`${setup.prosthetics[task.id].name} construction project.`);
break;
case "craftFit":
task.workLeft = 0;
V.adjustProsthetics.push(task);
V.adjustProstheticsCompleted++;
r.push(`project to construct ${addA(setup.prosthetics[task.id].name)} for ${SlaveFullName(getSlave(task.slaveID))}.`);
break;
}
V.researchLab.tasks.shift();
}
r.push(`<br>`);
}
}
} else if (V.researchLab.tasks.length > 0) {
r.push(`<span class="note">Without researchers your tasks will never be finished.</span>`);
}
return $(frag).append(r.join(' '))[0];
};
|
MonsterMate/fc
|
src/endWeek/labReport.js
|
JavaScript
|
mit
| 2,171
|
App.EndWeek.masterSuiteReport = function() {
let frag = document.createDocumentFragment();
const slaves = App.Utils.sortedEmployees(App.Entity.facilities.masterSuite);
const msAvg = App.Utils.masterSuiteAverages();
// find a potential legendary abolitionist
const abolitionist = slaves.find((s) => (s.devotion > 95) && (s.prestige === 0) && (
(s.origin === "You sentenced $him to enslavement as a punishment for attempted theft of a slave.") ||
(s.origin === "$He is an enslaved Daughter of Liberty.") ||
(s.origin === "You got $him at the Slave Shelter. $He is an enslaved Daughter of Liberty, caught some weeks after the failed coup. $His previous owner used $him as a punching bag and dart board, then when he was bored of $him tattooed obscenities all over $his body and threw $him away.") ||
(s.origin === "$He is an enslaved member of an anti-slavery extremist group.") ||
(s.career === "an antislavery activist")
));
V.legendaryAbolitionistID = abolitionist ? abolitionist.ID : 0;
const pregnantSlaves = V.masterSuiteUpgradePregnancy ? slaves.filter((s) => s.pregKnown > 0).length : 0;
function concubineText() {
let r = [];
const {He, he, his, him, himself} = getPronouns(S.Concubine);
r.push(`Your concubine <span class='slave-name'>${SlaveFullName(S.Concubine)}</span> is serving you in ${V.masterSuiteName}. More than any other slave, ${his} sexual brilliance and physical appeal are <span class="green">critical</span> to your reputation.`);
if ((S.Concubine.prestigeDesc === "You bankrupted and enslaved $him in revenge for $his part in the attack on your arcology by the Daughters of Liberty.") && (S.Concubine.newGamePlus === 0)) {
r.push(`${He} was once your rival, and your relationship is widely thought to be <span class="green">the perfect modern romance.</span>`);
repX(500, "concubine", S.Concubine);
} else if ((S.Concubine.prestige > 0)) {
repX(500*S.Concubine.prestige, "concubine", S.Concubine);
if (V.verboseDescriptions === 1) {
r.push(`Keeping such a prestigious slave as your concubine <span class="green">adds to your fame.</span>`);
if (S.Concubine.prestigeDesc === "$He is a famed Free Cities whore, and commands top prices.") {
r.push(`When ${he} has a free moment, ${he} refines ${his} flexibility so that ${he} is prepared for any sexual position you can think of, and many more that ${he} researched just for your pleasure.`);
}
if (S.Concubine.prestigeDesc === "$He is a famed Free Cities slut, and can please anyone.") {
r.push(`When ${he} has a free moment, ${he} pretties ${himself} up so that ${he} may be as beautiful as possible to make you look even better.`);
}
if (S.Concubine.prestigeDesc === "$He is remembered for winning best in show as a cockmilker.") {
if (S.Concubine.balls > 10 || S.Concubine.prostate > 1) {
r.push(`${He} does ${his} best to prevent ${himself} from making a mess when you don't want one. When ${he} has free time, ${he} researches new techniques to make use of ${his} huge loads to entertain you.`);
} else if (S.Concubine.balls > 0) {
r.push(`When ${he} has a free moment, ${he} researches ways to increase the size of ${his} loads for you; ${he} dreams of the day ${he} show you just what ${he} was capable of.`);
} else {
r.push(`${He} wishes ${he} could blow huge loads for you, but without balls, there is little ${he} can do.`);
}
}
if (S.Concubine.prestigeDesc === "$He is remembered for winning best in show as a dairy cow.") {
if (S.Concubine.lactation > 1 || S.Concubine.lactationAdaptation > 90) {
r.push(`${He} does ${his} best to prevent ${himself} from making a mess when you don't want one. When ${he} has free time, ${he} researches new techniques to make use of ${his} excessive milk to entertain you.`);
} else if (S.Concubine.lactation > 0) {
r.push(`${He} does ${his} best to prevent ${himself} from making a mess when you don't want one. When ${he} has free time, ${he} researches new techniques to make use of ${his} breast milk to entertain you.`);
} else {
r.push(`${He} wishes ${he} could lactate for you, but ${he} has dried up since ${his} glory days.`);
}
}
if (S.Concubine.prestigeDesc === "$He is remembered for winning best in show as a breeder.") {
if (S.Concubine.bellyPreg >= 5000) {
r.push(`When ${he} has a free moment, ${he} refines ${his} flexibility so that ${he} can perform any sexual position possible for ${him} in ${his} motherly state. ${He} takes the time to look up new positions to work around ${his} growing pregnancy.`);
} else if (isFertile(S.Concubine) || S.Concubine.preg > 0) {
r.push(`When ${he} has a free moment, ${he} refines ${his} flexibility so that ${he} is prepared for any sexual position you can think of, no matter how heavy ${he} becomes with children.`);
} else {
r.push(`When ${he} has a free moment, ${he} researches ways to restore ${his} fertility; ${he} dreams of the day ${he} can carry `);
if (V.PC.dick !== 0) {
r.push(`your children.`);
} else {
r.push(`children for you.`);
}
}
}
}
}
if (S.Concubine.porn.prestige > 2) {
repX(800, "concubine", S.Concubine);
r.push(`Having a porn star as your personal bed warmer <span class="green">reflects on your standing.</span> Your citizens can only wonder at what kinky things happen behind closed doors.`);
} else if (S.Concubine.porn.prestige > 1) {
repX(300, "concubine", S.Concubine);
r.push(`Having a rising porn star as your personal bed warmer <span class="green">reflects on your standing.</span>`);
}
if (S.Concubine.counter.oral + S.Concubine.counter.anal + S.Concubine.counter.vaginal + S.Concubine.counter.mammary + S.Concubine.counter.penetrative > 1000) {
if (V.verboseDescriptions === 1) {
r.push(`Many citizens `);
if (S.Concubine.counter.publicUse > 10) {
r.push(`remember having had ${him} themselves, and`);
}
r.push(`<span class="green">respectfully</span> envy you ${his} exclusive company.`);
}
repX(300, "concubine", S.Concubine);
}
/* Perform facility based rule changes - FIXME - dev/trust living condition changes probably should be in saRules; there's no text reporting these changes here */
if (V.masterSuiteUpgradeLuxury > 0) {
S.Concubine.rules.living = "luxurious";
S.Concubine.devotion += 4;
S.Concubine.trust += 4;
} else {
S.Concubine.rules.living = "normal";
S.Concubine.devotion += 2;
S.Concubine.trust += 2;
}
repX(Beauty(S.Concubine) * 5 + (S.Concubine.skill.vaginal || 0) + (S.Concubine.skill.anal || 0) + (S.Concubine.skill.oral || 0) + (S.Concubine.skill.whoring || 0) + (S.Concubine.skill.entertainment || 0), "concubine", S.Concubine);
return r.join(' ');
}
/** Generate text specific to non-concubine MS slaves
* @param {App.Entity.SlaveState} slave
* @returns {string}
*/
function nonConcubineText(slave) {
let r = [];
r.push(`<span class='slave-name'>${SlaveFullName(slave)}</span>`);
if (slave.choosesOwnAssignment === 2) {
r.push(`${App.SlaveAssignment.choosesOwnJob(slave)}`);
} else {
r.push(`sees to your pleasure in ${V.masterSuiteName}.`);
}
/* Perform facility based rule changes - FIXME - dev/trust living condition changes probably should be in saRules; there's no text reporting these changes here */
if (V.masterSuiteUpgradeLuxury === 1) {
slave.rules.living = "luxurious";
if (slave.devotion <= 95) {
slave.devotion += 2;
}
if (slave.trust < 60) {
slave.trust++;
}
} else if (V.masterSuiteUpgradeLuxury === 2) {
slave.rules.living = "luxurious";
if (slave.energy > 90) {
if (slave.devotion <= 95) {
slave.devotion += 2;
}
if (slave.trust <= 95) {
slave.trust += 2;
}
} else {
if (slave.devotion <= 60) {
slave.devotion++;
}
if (slave.trust < 60) {
slave.trust++;
}
}
} else {
slave.rules.living = "spare";
if ((slave.devotion <= 20) && (slave.trust >= -20)) {
slave.devotion -= 2;
slave.trust -= 5;
} else if ((slave.devotion <= 60)) {
slave.devotion += 2;
} else if ((slave.devotion > 60)) {
slave.devotion -= 2;
}
if (slave.trust < 60) {
slave.trust++;
}
}
// decoration dev bonus (reported at end)
if (V.masterSuiteDecoration !== "standard") {
slave.devotion++;
}
return r.join(' ');
}
/** Generate text shared by concubine and non-concubine MS slaves
* @param {App.Entity.SlaveState} slave
* @returns {DocumentFragment}
*/
function commonText(slave) {
const smallFrag = document.createDocumentFragment();
let r = [];
const {He, he, His, his, him, himself} = getPronouns(slave);
if (V.masterSuiteUpgradeLuxury === 2 && msAvg.energy > random(40, 90)) {
const energy = (Math.ceil(slave.energy / 5) * 7);
SimpleSexAct.Slave(slave, energy);
if (canPenetrate(slave)) {
actX(slave, "penetrative", random(1, 3) * energy);
}
if (slave.nipples === "fuckable" && msAvg.dick > 2) {
actX(slave, "mammary", random(1, 3) * energy);
}
if ((slave.trust >= -20) && (slave.devotion > -10) && (slave.fetishStrength <= 95) && slave.fetish !== "mindbroken") {
const fetishChange = fetishChangeChance(slave);
if ((msAvg.milk > 2000) && (fetishChange > random(0, 50))) {
if (slave.fetish === "boobs") {
if (V.verboseDescriptions === 1) {
r.push(`${His}`);
} else {
r.push(`${slave.slaveName}'s`);
}
r.push(`<span class="lightcoral">boob fetish is strengthened</span> by the constant availability of milky nipples for ${him} to play with.`);
slave.fetishStrength += 4;
} else {
if (V.verboseDescriptions === 1) {
r.push(`${He}`);
} else {
r.push(slave.slaveName);
}
r.push(`<span class="lightcoral">acquires a boob fetish</span> after spending a lot of time in the fuckpit drinking from ${his} fellow fucktoys' tits.`);
slave.fetish = "boobs";
slave.fetishStrength = 65;
}
} else if ((msAvg.dick > 3) && (slave.anus > 0) && (fetishChange > random(0, 50))) {
r.push(`${He}`);
if (slave.fetish === "buttslut") {
r.push(`<span class="lightcoral">sinks farther into anal pleasure,</span> since ${he} spends ${his} time in the fuckpit with at least one of the many available cocks up ${his} butt.`);
slave.fetishStrength += 4;
} else {
r.push(`<span class="lightcoral">acquires an anal fetish</span> after helplessly orgasming at the mercy of your many fucktoys eager to shove their big stiff penises up ${his} ass.`);
slave.fetish = "buttslut";
slave.fetishStrength = 65;
}
} else if ((msAvg.cum > 3) && (fetishChange > random(0, 50))) {
r.push(`${He}`);
if (slave.fetish === "cumslut") {
r.push(`<span class="lightcoral">sinks farther into cum addiction,</span> since ${he} spends ${his} time in the fuckpit eagerly sucking down ejaculate, straight from the many sources.`);
slave.fetishStrength += 4;
} else {
r.push(`<span class="lightcoral">acquires an oral fixation</span> after orally servicing your many fucktoys eager to blow their loads down ${his} throat.`);
slave.fetish = "cumslut";
slave.fetishStrength = 65;
}
} else if ((msAvg.preg > 10) && (fetishChange > random(0, 50))) {
r.push(`${He}`);
if (slave.fetish === "pregnancy") {
r.push(`<span class="lightcoral">sinks farther into pregnancy obsession,</span> since ${he} never wants for a pregnant girl to make love to.`);
slave.fetishStrength += 4;
} else {
r.push(`<span class="lightcoral">acquires a pregnancy fetish,</span> since many of ${his} sexual partners in the fuckpit are heavily pregnant.`);
slave.fetish = "pregnancy";
slave.fetishStrength = 65;
}
} else if ((msAvg.dom < -25) && (fetishChange > random(0, 50))) {
r.push(`${He}`);
if (slave.fetish === "dom") {
r.push(`<span class="lightcoral">becomes more dominant,</span> since there are so many subs in the fuckpit who beg ${him} to fuck them hard.`);
slave.fetishStrength += 4;
} else {
r.push(`<span class="lightcoral">becomes sexually dominant</span> after having fun satisfying the many submissive fucktoys in the fuckpit who beg ${him} to top them.`);
slave.fetish = "dom";
slave.fetishStrength = 65;
}
} else if ((msAvg.dom > 25) && (fetishChange > random(0, 50))) {
r.push(`${He}`);
if (slave.fetish === "submissive") {
r.push(`<span class="lightcoral">becomes even more submissive,</span> since there are so many doms in the fuckpit that ${he}'s often used by more than one at once.`);
slave.fetishStrength += 4;
} else {
r.push(`<span class="lightcoral">becomes sexually submissive</span> after the many dominant slaves in the fuckpit hold ${him} down and use ${him} for their pleasure.`);
slave.fetish = "submissive";
slave.fetishStrength = 65;
}
} else if ((msAvg.sadism < -25) && (fetishChange > random(0, 50))) {
r.push(`${He}`);
if (slave.fetish === "sadist") {
r.push(`<span class="lightcoral">becomes more sadistic,</span> since there are so many sluts in the fuckpit who will do anything for ${him} if ${he}'ll only spank them.`);
slave.fetishStrength += 4;
} else {
r.push(`<span class="lightcoral">becomes a bit of a sadist</span> after ${he} notices that so many of ${his} fellow fucktoys cum harder if ${he} gives them a good slap.`);
slave.fetish = "sadist";
slave.fetishStrength = 65;
}
} else if ((msAvg.sadism > 25) && (fetishChange > random(0, 50))) {
if (slave.fetish === "masochist") {
if (V.verboseDescriptions === 1) {
r.push(`${His}`);
} else {
r.push(`${slave.slaveName}'s`);
}
r.push(`<span class="lightcoral">pain addiction deepens,</span> since the fuckpit is full of ladies happy to fuck ${him} while ${he} screams.`);
slave.fetishStrength += 4;
} else {
if (V.verboseDescriptions === 1) {
r.push(`${He}`);
} else {
r.push(slave.slaveName);
}
r.push(`<span class="lightcoral">learns masochism</span> after experiencing many orgasms under the exquisite sexual torture of the sadists in the fuckpit.`);
slave.fetish = "masochist";
slave.fetishStrength = 65;
}
}
}
// FIXME: fuckpit means servant milkers get no milk at all??
if (slave.lactation > 0) {
slave.lactationDuration = 2;
slave.boobs -= slave.boobsMilk;
slave.boobsMilk = 0;
}
if (slave.energy > 40 && slave.energy < 95) {
r.push(`Being a constant part of the fuckpit orgy <span class="green">greatly heightens ${his} libido.</span>`);
slave.energy += 2;
}
slave.need -= 50;
}
if (V.masterSuiteUpgradePregnancy === 1) {
/* If they're not on fertility drugs and the toggle is active, stick them on (if they can take them). Otherwise take them off. */
if ((V.masterSuitePregnancyFertilityDrugs === 1) && (slave.drugs !== "fertility drugs") && canGetPregnant(slave)) {
slave.drugs = "fertility drugs";
} else if ((V.masterSuiteHyperPregnancy === 1) && (slave.drugs !== "super fertility drugs") && canGetPregnant(slave)) {
slave.drugs = "super fertility drugs";
} else if ((((V.masterSuitePregnancyFertilityDrugs === 0) && (slave.drugs === "fertility drugs")) || ((V.masterSuiteHyperPregnancy === 0) && (slave.drugs === "super fertility drugs"))) || (!canGetPregnant(slave) && ["fertility drugs", "super fertility drugs"].includes(slave.drugs))) {
slave.drugs = "no drugs";
}
/* We don't know they're pregnant for a month or so by game logic */
if (slave.pregKnown === 1) {
/* FIXME: should these effects have associated text? */
/* If they're preggo and in the upgraded suite, give them extra devotion. More if they're being given lighter duties. */
if (slave.devotion <= 100) {
if (V.masterSuitePregnancySlaveLuxuries === 0) {
slave.devotion += 2;
} else {
slave.devotion += 5;
}
}
/* If they're preggo and in the upgraded suite, give them extra trust. More if they're being given lighter duties. */
if (slave.trust <= 100) {
if (V.masterSuitePregnancySlaveLuxuries === 0) {
slave.trust += 2;
} else {
slave.trust += 5;
}
}
/* If they're preggo and in the upgraded suite, give them extra health. More if they're being given lighter duties. */
if (slave.health.condition < 100) {
if (V.masterSuitePregnancySlaveLuxuries === 0) {
improveCondition(slave, 15);
} else {
improveCondition(slave, 25);
}
}
}
}
$(smallFrag).append(r.join(' '));
V.i = V.slaveIndices[slave.ID];
App.Utils.setLocalPronouns(slave); // need this for the includes
if (V.verboseDescriptions === 1) {
const msContent = App.UI.DOM.appendNewElement("div", smallFrag, '', "indent");
$(msContent).append(`${He} ${App.SlaveAssignment.pleaseYou(slave)}`);
if (V.servantMilkers === 1 && slave.lactation > 0 && slave.fuckdoll === 0 && slave.fetish !== "mindbroken" && canMove(slave) && slave.intelligence+slave.intelligenceImplant >= -90) {
const milkingResults = App.SlaveAssignment.getMilked(slave, 0.25);
const milkDiv = App.UI.DOM.appendNewElement("div", smallFrag, `When ${his} breasts begin to feel full and you aren't around, ${he} avails ${himself} to the penthouse milkers and gives ${milkingResults.milk} liters of milk over the week, which is sold for `, "indent");
App.UI.DOM.appendNewElement("span", milkDiv, `${cashFormat(milkingResults.milkSale)}.`, ["cash", "inc"]);
}
const commonContent = App.UI.DOM.appendNewElement("div", smallFrag, '', "indent");
commonContent.append(App.SlaveAssignment.standardSlaveReport(slave, false));
} else {
// discard return values silently
App.SlaveAssignment.choosesOwnJob(slave);
App.SlaveAssignment.pleaseYou(slave);
if (V.servantMilkers === 1 && slave.lactation > 0 && slave.fuckdoll === 0 && slave.fetish !== "mindbroken" && canMove(slave) && slave.intelligence+slave.intelligenceImplant >= -90) {
App.SlaveAssignment.getMilked(slave, 0.25);
}
App.SlaveAssignment.standardSlaveReport(slave, true);
}
if (slave.health.condition < 80) {
if (V.masterSuiteUpgradeLuxury === 1) {
improveCondition(slave, 20);
} else {
improveCondition(slave, 10);
}
}
return smallFrag;
}
if (slaves.length > 0) {
const intro = App.UI.DOM.appendNewElement("p", frag, '', "indent");
let r = [];
if (slaves.length > 1) {
r.push(`<strong>There are ${slaves.length} slaves`);
} else {
r.push(`<strong>There is one slave`);
}
r.push(`seeing to your pleasure in the master suite.</strong> Such sexual opulence <span class="green">improves</span> your reputation.`);
if ((V.arcologies[0].FSEgyptianRevivalist > 0) && (slaves.length >= 5)) {
r.push(`Society <span class="green">approves</span> of your keeping a large number of women. This advances the Egyptian revivalist ideal of multiple concubinage.`);
FutureSocieties.Change("EgyptianRevivalist", 2);
}
if (pregnantSlaves >= 1) {
r.push(`The suite is supporting the pregnancies of the slaves`);
if (V.masterSuitePregnancyFertilityDrugs === 1 || V.masterSuiteHyperPregnancy === 1) {
r.push(`within, and is providing them with fertility drugs`);
if (V.masterSuitePregnancyFertilitySupplements === 1) {
r.push(`and supplements to encourage impregnation.`);
} else {
r.push(`to encourage impregnation.`);
}
} else {
r.push(`within.`);
}
if (V.arcologies[0].FSHedonisticDecadence > 0) {
r.push(`Society <span class="green">approves</span> of the pampering your pregnant harem receives. This advances the ideal that everyone's desires should be fulfilled.`);
FutureSocieties.Change("Hedonistic", 1);
}
}
if (slaves.length > 1) {
r.push(`The level of sexual energy in the suite is`);
if (V.masterSuiteUpgradeLuxury === 1) {
if (msAvg.energy > 90) {
r.push(`intense. When you enter your luxurious retreat, you can set off pent-up orgasms with a touch.`);
} else if (msAvg.energy > 60) {
r.push(`high; there is strong competition for your favors whenever you enter your retreat.`);
} else {
r.push(`relatively normal; the slaves serve your pleasure before their own.`);
}
} else if (V.masterSuiteUpgradeLuxury === 2) {
if (msAvg.energy > 90) {
r.push(`intense. Your slaves spend almost all their time in the fuckpit, having sex in a big pile.`);
} else if (msAvg.energy > 60) {
r.push(`high; your slaves spend much of their time in the fuckpit, having sex with each other.`);
} else {
r.push(`relatively normal; the slaves lounging in the fuckpit get each other off when they feel like it.`);
}
if (msAvg.cum > 4) {
r.push(`Unless it's right after an automated cleaning, everything in the fuckpit is spattered with cum.`);
}
if (msAvg.milk > 4000) {
r.push(`There's so much lactation going on that the lowest level of the fuckpit is a pool of milk.`);
}
} else {
r.push(`relatively normal.`);
}
}
$(intro).append(r.join(' '));
}
if (S.Concubine) {
const slaveEntry = App.UI.DOM.appendNewElement("div", frag, '', "slave-report");
if (V.seeImages && V.seeReportImages) {
App.UI.DOM.appendNewElement("div", slaveEntry, App.Art.SlaveArtElement(S.Concubine, 0, 0), ["imageRef", "tinyImg"]);
}
slaveEntry.append(App.EndWeek.favoriteIcon(S.Concubine), " ");
$(slaveEntry).append(concubineText(), commonText(S.Concubine));
}
for (const slave of slaves) {
const slaveEntry = App.UI.DOM.appendNewElement("div", frag, '', "slave-report");
if (V.seeImages && V.seeReportImages) {
App.UI.DOM.appendNewElement("div", slaveEntry, App.Art.SlaveArtElement(slave, 0, 0), ["imageRef", "tinyImg"]);
}
slaveEntry.append(App.EndWeek.favoriteIcon(slave), " ");
$(slaveEntry).append(nonConcubineText(slave), commonText(slave));
}
if (pregnantSlaves > 0 && V.arcologies[0].FSRestart !== "unset" && V.propOutcome !== 1 && V.eugenicsFullControl !== 1) {
const eliteEffects = App.UI.DOM.appendNewElement("p", frag, '', "indent");
$(eliteEffects).append(`The Societal Elite know what you are doing with your bedslaves. <span class="red">They do not approve.</span>`);
V.failedElite += (5 * pregnantSlaves);
}
if (V.masterSuiteDecoration !== "standard") {
const decorationEffects = App.UI.DOM.appendNewElement("p", frag, '', "indent");
$(decorationEffects).append(`${capFirstChar(V.masterSuiteName)}'s ${V.masterSuiteDecoration} atmosphere <span class="hotpink">has a minor impact on your fucktoys.</span>`);
}
return frag;
};
|
MonsterMate/fc
|
src/endWeek/masterSuiteReport.js
|
JavaScript
|
mit
| 22,839
|
/**
* @param {App.Entity.SlaveState} slave
* @returns {string}
*/
globalThis.minorInjuryResponse = function(slave) {
const arcology = V.arcologies[0];
const arcologyUpgrade = V.arcologyUpgrade;
const {he, himself, He} = getPronouns(slave);
let r = "";
let trackedCategory = "";
switch (slave.assignment) {
case Job.WHORE:
trackedCategory = "slaveAssignmentWhore";
break;
case Job.MADAM:
trackedCategory = "slaveAssignmentMadam";
break;
case Job.BROTHEL:
trackedCategory = "slaveAssignmentBrothel";
break;
case Job.PUBLIC:
trackedCategory = "slaveAssignmentPublic";
break;
case Job.DJ:
trackedCategory = "slaveAssignmentDj";
break;
case Job.CLUB:
trackedCategory = "slaveAssignmentClub";
break;
default:
trackedCategory = "slaveAssignmentUndefined";
break;
}
r = responseWithTracking(slave, trackedCategory);
function responseWithTracking(s, category) {
let o = "";
if (arcology.FSDegradationist > 20) {
o += ` ${He} carries on, knowing that in your degradationist arcology, this is accepted behavior.`;
} else if (arcology.FSPaternalist > 20) {
if (arcologyUpgrade.drones === 1 && jsRandom(1, 100) > 50) {
o += ` The security drones successfully detain him and oblige him to pay significant <span class="yellowgreen">compensation,</span> since abusing slaves is discouraged here.`;
cashX(50, category, slave);
} else if (arcologyUpgrade.grid === 1 && jsRandom(1, 100) > 50) {
o += ` The computer systems successfully detain him and require him to pay significant <span class="yellowgreen">compensation,</span> since abusing slaves is discouraged here.`;
cashX(50, category, slave);
} else if (slave.skill.whoring > jsRandom(1, 100)) {
o += ` ${slave.slaveName} is used to this sort of thing, and convinces him to pay significant <span class="yellowgreen">compensation,</span> since abusing slaves is discouraged here.`;
cashX(50, category, slave);
} else if (slave.skill.combat > 0) {
o += ` ${slave.slaveName} can take care of ${himself}, and ${he} successfully forces him to pay significant <span class="yellowgreen">compensation,</span> since abusing slaves is discouraged here.`;
cashX(50, category, slave);
}
} else {
if (arcologyUpgrade.drones === 1 && jsRandom(1, 100) > 50) {
o += ` The security drones successfully detain him and oblige him to pay minor <span class="yellowgreen">compensation.</span>`;
cashX(10, category, slave);
} else if (arcologyUpgrade.grid === 1 && jsRandom(1, 100) > 50) {
o += ` The computer systems successfully detain him and require him to pay minor <span class="yellowgreen">compensation.</span>`;
cashX(10, category, slave);
} else if (slave.skill.whoring > jsRandom(1, 100)) {
o += ` ${slave.slaveName} is used to this sort of thing, and convinces him to pay minor <span class="yellowgreen">compensation.</span>`;
cashX(10, category, slave);
} else if (slave.skill.combat > 0) {
o += ` ${slave.slaveName} can take care of ${himself}, and ${he} successfully forces him to pay minor <span class="yellowgreen">compensation.</span>`;
cashX(10, category, slave);
}
}
return o;
}
return r;
};
|
MonsterMate/fc
|
src/endWeek/minorInjuryResponse.js
|
JavaScript
|
mit
| 3,209
|
/**
* Details week-to-week changes in children in the Nursery
* @returns {DocumentFragment}
*/
App.Facilities.Nursery.childrenReport = function childrenReport() {
const frag = new DocumentFragment();
const Matron = S.Matron;
const nannies = App.Utils.sortedEmployees(App.Entity.facilities.nursery);
const NL = App.Entity.facilities.nursery.employeesIDs().size;
const CL = V.cribs.length;
const medianNannyIntelligence = NL ? findMedianNannyIntelligence() : null;
const medianNannyIntelligenceImplant = NL ? findMedianNannyIntelligenceImplant() : null;
for (const child of V.cribs) {
const childDiv = App.UI.DOM.appendNewElement("div", frag, '', "child-section");
childDiv.append(childGrowTime(child));
if (child.actualAge >= 3) {
if (Matron) {
if (Matron.fetish !== "none") {
childDiv.append(matronFetishEffects(child));
}
childDiv.append(matronEducationEffects(child));
// childDiv.append(matronFitnessEffects(child));
}
if (NL > 0) {
const randomNanny = NL > 1 ? jsRandom(0, nannies.length - 1) : 0;
const nanny = nannies[randomNanny];
if (nanny.fetish !== "none") {
childDiv.append(nannyFetishEffects(child, nanny));
}
childDiv.append(nannyEducationEffects(child));
// childDiv.append(nannyFitnessEffects(child));
}
if (multipleChildrenOverTargetAge(V.cribs.findIndex(c => c.ID === child.ID))) {
childDiv.append(childFriendshipRivalries(child));
}
// TODO: rework these entirely
if (Matron || nannies) {
childDiv.appendChild(weightRulesEffects(child));
childDiv.appendChild(musclesRulesEffects(child));
}
} else {
// TODO:
}
}
// MARK: Matron Effects
function matronFetishEffects(child) {
const chance = jsRandom(1, 100);
if ((chance > 90 && child.fetish === "none") || chance > 95) {
child.fetish = Matron.fetish;
return `${child.slaveName} has taken a few cues from ${Matron.slaveName}, and ${newChildFetish(child.fetish)}. `;
}
}
function matronEducationEffects(child) {
// TODO: expand this
const { he, him, his } = getPronouns(Matron);
const theChildren = CL > 1 ? `the children` : `${child.slaveName}`;
if (Matron.intelligence + Matron.intelligenceImplant > 65) {
child.intelligenceImplant += 3;
return `${Matron.slaveName} is so intelligent and well-educated that ${he} is able to teach ${theChildren} very effectively, and so ${CL > 1 ? `they gradually grow` : `${child.slaveName} gradually grows`} smarter. `;
} else if (Matron.intelligenceImplant > 20) {
child.intelligenceImplant += 2;
return `${Matron.slaveName}'s education makes up for the fact that ${he} isn't the brightest and allows ${him} to teach ${theChildren} quite effectively, and so ${CL > 1 ? `they grow` : `${child.slaveName} grows`} a bit smarter. `;
} else if (Matron.intelligence > 50) {
child.intelligenceImplant += 2;
return `Though ${Matron.slaveName} has had little to no formal education, ${his} natural brilliance allows ${him} to teach ${theChildren} quite effectively, and so ${CL > 1 ? `they grow` : `${child.slaveName} grows`} a bit smarter. `;
} else {
const totalSpan = App.UI.DOM.makeElement("span", `${Matron.slaveName} isn't the brightest and not well educated, `);
const damageSpan = App.UI.DOM.makeElement("span", `damaging the amount of real education ${theChildren} receive. `, "red");
child.intelligenceImplant--;
totalSpan.appendChild(damageSpan);
return totalSpan;
}
}
// function matronFitnessEffects(child) {
// // TODO:
// return;
// }
// MARK: Nanny Effects
function nannyFetishEffects(child, slave) {
const { he } = getPronouns(child);
const chance = jsRandom(1, 100);
if (chance > 85) {
if (child.fetish === "none") {
child.fetish = slave.fetish;
return `${slave.slaveName} has left quite an impression on ${child.slaveName}, and ${he} ${newChildFetish(child.fetish)}. `;
} else {
if (chance > 90) {
child.fetish = slave.fetish;
return `${child.slaveName} seems to have taken to ${slave.slaveName}'s example, and ${newChildFetish(child.fetish)}. `;
}
}
}
}
function nannyEducationEffects(child) {
// TODO: redo this entire section
// TODO: expand this
const firstNanny = nannies[0];
const theNanniesAre = NL > 1 ? `The nannies are mostly` : `${firstNanny.slaveName} is`;
const theChildren = CL > 1 ? `the children` : child.slaveName;
if (medianNannyIntelligence + medianNannyIntelligenceImplant > 65) {
child.intelligenceImplant += 3;
return `${theNanniesAre} very intelligent and well educated and are able to teach ${theChildren} very effectively. `;
} else if (medianNannyIntelligence > 50) {
child.intelligenceImplant += 2;
return `${theNanniesAre} very intelligent and able to teach ${theChildren} quite effectively. `;
} else if (medianNannyIntelligenceImplant > 25) {
child.intelligenceImplant += 2;
return `${theNanniesAre} very well educated and able to teach ${theChildren} quite effectively. `;
} else if (medianNannyIntelligenceImplant > 15) {
child.intelligenceImplant++;
return `${theNanniesAre} well educated and able to teach ${theChildren} fairly effectively. `;
}
}
// function nannyFitnessEffects(child) {
// // TODO:
// return;
// }
// MARK: Nursery Rules Effects
function weightRulesEffects(child) {
// TODO: redo this entire section
// TODO: double check these classes, make sure they make sense
const span = document.createElement("span");
const {he, He, His} = getPronouns(child);
if (V.nurseryWeight) {
const firstNanny = NL > 0 ? nannies[0] : null;
const caretaker = Matron ? Matron.slaveName : NL > 1 ? `A nanny` : firstNanny.slaveName;
if (V.nurseryWeightSetting === 1) {
const weightSpan = App.UI.DOM.makeElement("span", 'rapid weight gain.', ["health", "dec"]);
if (child.weight < 200) {
child.weight += 5;
}
span.append(`${He} is being fed an excessive amount of food, causing`, weightSpan);
} else if (V.nurseryWeightSetting === 2) {
const weightSpan = App.UI.DOM.makeElement("span", `decreases the amount of food ${he} eats. `, "improvement");
if (child.weight > 10) {
child.weight--;
span.append(`${caretaker} notices ${he} is overweight and `, weightSpan);
} else if (child.weight <= -10) {
const weightSpan = App.UI.DOM.makeElement("span", `increases the amount of food ${he} eats. `, "improvement");
child.weight++;
span.append(`${caretaker} notices ${he} is underweight and `, weightSpan);
} else {
const weightSpan = App.UI.DOM.makeElement("span", 'currently a healthy weight;', ["change", "positive"]);
span.append(`${He} is `, weightSpan, ` efforts will be made to maintain it. `);
}
} else if (V.nurseryWeightSetting === 0) {
if (child.weight > -20) {
const weightSpan = App.UI.DOM.makeElement("span", 'quickly sheds its gained weight.', ["health", "dec"]);
child.weight -= 40;
span.append(`${His} developing body `, weightSpan);
}
}
} else {
if (child.weight > -20) {
const weightSpan = App.UI.DOM.makeElement("span", 'quickly sheds its gained weight. ', ["health", "dec"]);
child.weight -= 40;
span.append(`${His} developing body `, weightSpan);
}
}
return span;
}
function musclesRulesEffects(child) {
const div = document.createElement("div");
// TODO: rewrite these
// FIXME: this entire section needs a rewrite - numbers and text don't line up at all
if (V.nurseryMuscles) {
const firstNanny = NL > 0 ? nannies[0] : null;
const caretaker = Matron ? Matron.slaveName : NL > 1 ? `A nanny` : firstNanny.slaveName;
const { His, He, he } = getPronouns(child);
const muscleSpan = App.UI.DOM.makeElement("div", 'rapid muscle development.', "improvement");
div.append(`${He} is being worked out as often as possible, resulting in `, muscleSpan);
if (V.nurseryMusclesSetting === 2) {
const muscleSpan = App.UI.DOM.makeElement("span", `decreases the amount of exercise ${he} receives. `, "improvement");
if (child.muscles > 100) {
child.muscles -= 5;
}
div.append(`${caretaker} notices ${he} is overly muscular and `, muscleSpan);
} else if (V.nurseryMusclesSetting === 1) {
if (child.muscles < -10) {
const muscleSpan = App.UI.DOM.makeElement("span", `increases the amount of exercise ${he} receives. `, "improvement");
child.muscles--;
div.append(`${caretaker} notices ${he} is weak and `, muscleSpan);
} else if (child.muscles > 10) {
const muscleSpan = App.UI.DOM.makeElement("span", 'a healthy musculature;', ["change", "positive"]);
child.muscles++;
div.append(`${He} has `, muscleSpan, ` efforts will be made to maintain it. `);
} else {
const muscleSpan = App.UI.DOM.makeElement("span", 'quickly loses its gained muscle.', ["health", "dec"]);
div.append(`${His} developing body `, muscleSpan);
}
} else if (V.nurseryMusclesSetting === 0) {
const muscleSpan = App.UI.DOM.makeElement("span", 'quickly loses its gained muscle.', ["health", "dec"]);
if (child.muscles > 100) {
child.muscles -= 40;
div.append(`${His} developing body `, muscleSpan);
}
}
}
return div;
}
// MARK: Miscellaneous Functions
function childFriendshipRivalries(child) {
const cribsCopy = Array.from(V.cribs);
cribsCopy.splice(V.cribs.findIndex(c => c.ID === child.ID));
for (const target of cribsCopy) {
const becomeFriends = () => `${child.slaveName} and ${target.slaveName} have realized that they have more in common that they originally thought, and have become friends. `;
const becomeRivals = () => `${child.slaveName} and ${target.slaveName} have more differences between them than they could put aside and have become rivals. `;
const haveSameFetish = () => child.fetish === target.fetish && child.fetish !== "none";
const haveSameBehavioralQuirk = () => child.behavioralQuirk && child.behavioralQuirk === target.behavioralQuirk && child.behavioralQuirk !== "none";
const haveSameSexualQuirk = () => child.sexualQuirk && child.sexualQuirk === target.sexualQuirk && child.sexualQuirk !== "none";
const div = document.createElement("div");
const { his } = getPronouns(target);
const chance = jsRandom(1, 100);
let friend = 0;
let rival = 0;
if (target.actualAge >= 3) {
if (haveSameFetish()) {
div.append(`${sameFetish(child, target)}, a fact over which they bond. `);
friend++;
}
if (haveSameBehavioralQuirk()) { // TODO:
div.append(`Since ${sameBehavioralQuirk(child, target)}, they learn to get along a bit better. `);
friend++;
}
if (haveSameSexualQuirk()) {
div.append(`Because ${sameSexualQuirk(child, target, haveSameBehavioralQuirk())}, the two grow a bit closer. `);
friend++;
}
if (target.fetish === "sadist" || target.fetish === "dom") {
div.append(`${target.slaveName} is a ${target.fetish}, and ${child.slaveName} is often ${his} target, which ${child.slaveName} doesn't particularly like. `);
rival++;
} else if (child.fetish === "sadist" || child.fetish === "dom") {
div.append(`${child.slaveName} is a ${child.fetish}, and ${target.slaveName} is often ${his} target, which ${target.slaveName} doesn't particularly like. `);
rival++;
}
if (areRelated(child, target) || areCousins(child, target)) {
if (areRelated(child, target)) {
if (rival) {
div.append(`${child.slaveName} and ${target.slaveName} are siblings, and find it difficult to really stay mad at each other, and they make up their differences somewhat. `);
friend += 2;
} else {
div.append(`${child.slaveName} and ${target.slaveName} are siblings, a fact that draws them closer together. `);
friend += 2;
}
} else {
if (rival) {
div.append(`${child.slaveName} and ${target.slaveName} are cousins, and find it difficult to really stay mad at each other, and they make up their differences somewhat. `);
friend++;
} else {
div.append(`${child.slaveName} and ${target.slaveName} are cousins, a fact that draws them closer together. `);
friend++;
}
}
}
if (friend) {
if (rival) {
if (friend > rival && child.relationshipTarget !== target.ID) {
if (chance > 75) {
div.append(becomeFriends());
child.relationship = 1;
child.relationshipTarget = target.ID;
target.relationship = 1;
target.relationshipTarget = child.ID;
}
}
} else {
if (chance > 60) {
div.append(becomeRivals());
child.relationship = 1;
child.relationshipTarget = target.ID;
target.relationship = 1;
target.relationshipTarget = child.ID;
}
}
}
if (rival) {
if (friend) {
if (rival > friend) {
if (chance > 75) {
div.append(becomeRivals());
}
}
} else {
if (chance > 60) {
div.append(becomeFriends());
}
}
}
}
return div;
}
function sameFetish(child, target) {
switch (child.fetish) {
case "submissive":
return `${child.slaveName} and ${target.slaveName} are both sexually submissive`;
case "cumslut":
return `Neither ${child.slaveName} nor ${target.slaveName} can get enough cum`;
case "humiliation":
return `Both ${child.slaveName} and ${target.slaveName} have a fetish for humiliation`;
case "buttslut":
return `Neither ${child.slaveName} nor ${target.slaveName} can get enough assplay`;
case "boobs":
return `${child.slaveName} and ${target.slaveName} both love breastplay`;
case "sadist":
return `Both ${child.slaveName} are ${target.slaveName} are sadists`;
case "masochist":
return `${child.slaveName} and ${target.slaveName} are both masochists`;
case "dom":
return `Both ${child.slaveName} and ${target.slaveName} are sexually dominant`;
case "pregnancy":
return `The idea of pregnancy titillates both ${child.slaveName} and ${target.slaveName}`;
default:
throw `Unexpected value ${child.fetish} in sameFetish(). Please report this.`;
}
}
function sameBehavioralQuirk(child, target) {
switch (child.behavioralQuirk) {
case "confident":
return `${child.slaveName} and ${target.slaveName} are both naturally confident`;
case "cutting":
return `both ${child.slaveName} and ${target.slaveName} have a cutting wit about them`;
case "funny":
return `${child.slaveName} and ${target.slaveName} can both make the other laugh`;
case "fitness":
return `${child.slaveName} and ${target.slaveName} both love to try to stay in shape`;
case "adores women":
return `${child.slaveName} and ${target.slaveName} both adore women`;
case "adores men":
return `both ${child.slaveName} are ${target.slaveName} adore men`;
case "insecure":
return `${child.slaveName} and ${target.slaveName} are both equally insecure`;
case "sinful":
return `both ${child.slaveName} and ${target.slaveName} love breaking cultural and religious mores`;
case "advocate":
return `${child.slaveName} and ${target.slaveName} can both make a strong case for slavery`;
default:
throw `Unexpected value ${child.behavioralQuirk} in sameBehavioralQuirk(). Please report this.`;
}
}
// TODO: incorporate minimumSlaveAge
function sameSexualQuirk(child, target, sameQuirk = false) {
switch (child.sexualQuirk) {
case "gagfuck queen":
return `${sameQuirk ? `the two also` : `${child.slaveName} and ${target.slaveName} both`} love having their little throats fucked`;
case "painal queen":
return `${sameQuirk ? `neither` : `neither ${child.slaveName} nor ${target.slaveName}`} can get enough painal`;
case "strugglefuck queen":
return `${sameQuirk ? `the two also` : `${child.slaveName} and ${target.slaveName} both`} love to put up a struggle during sex`;
case "tease":
return `${sameQuirk ? `the two are also both teases` : `${child.slaveName} and ${target.slaveName} are both teases`}`;
case "romantic":
return `${sameQuirk ? `the two also` : `${child.slaveName} and ${target.slaveName} both`} see the world from under a romantic lens`;
case "perverted":
return `${sameQuirk ? `the two are also` : `${child.slaveName} and ${target.slaveName} are both`} big-time perverts`;
case "caring":
return `${sameQuirk ? `the two also` : `${child.slaveName} and ${target.slaveName} both`} care about their partners`;
case "unflinching":
return `${sameQuirk ? `the two can also` : `${child.slaveName} and ${target.slaveName} can both`} take whatever their partner might throw at them `;
case "size queen":
return `${sameQuirk ? `the two also` : `${child.slaveName} and ${target.slaveName} both`} have a love for huge cock`;
default:
throw `Unexpected value ${child.fetish} in sameSexualQuirk(). Please report this.`;
}
}
}
function newChildFetish(fetish = "none") {
switch (fetish) {
case "submissive":
return `is now sexually submissive`;
case "cumslut":
return `is now a cumslut`;
case "humiliation":
return `now has a fetish for humiliation`;
case "buttslut":
return `is now a buttslut`;
case "boobs":
return `now has a fetish for all things breast-related`;
case "sadist":
return `now gets off on causing pain`;
case "masochist":
return `now gets off on pain`;
case "dom":
return `is now very sexually dominant`;
case "pregnancy":
return `has developed a fascination for all things pregnancy-related`;
default:
throw `<span class="error">Unexpected fetish value of "${fetish}" in newChildFetish(). Please report this.</span>`;
}
}
function childGrowTime(child) {
const nameSpan = App.UI.DOM.makeElement("span", child.slaveName, "pink");
const limeSpan = App.UI.DOM.makeElement("span", 'ready for release.', "lime");
const mainSpan = document.createElement("span");
const {He} = getPronouns(child);
if (child.growTime > 0) {
mainSpan.append(nameSpan, ` is growing steadily. ${He} will be ready for release in about ${years(child.growTime)}. `);
} else {
mainSpan.append(nameSpan, ' is ', limeSpan, ` ${He} will be removed from ${V.nurseryName} upon your approach. `);
}
return mainSpan;
}
function findMedianNannyIntelligence() {
return median(nannies.map(n => n.intelligence));
}
function findMedianNannyIntelligenceImplant() {
return median(nannies.map(n => n.intelligenceImplant));
}
/**
* Checks if there are more than one children over the target age in the Nursery
* @param {number} index
* @param {number} [age=3]
*/
function multipleChildrenOverTargetAge(index, age = 3) {
const cribsCopy = Array.from(V.cribs);
cribsCopy.splice(index, 1);
return V.cribs.length > 1 && cribsCopy.some(c => c.actualAge >= age);
}
return frag;
};
|
MonsterMate/fc
|
src/endWeek/reports/childrenReport.js
|
JavaScript
|
mit
| 19,040
|
/**
* Creates a full report of the Nursery
* @returns {DocumentFragment}
*/
App.Facilities.Nursery.nurseryReport = function nurseryReport() {
const frag = new DocumentFragment();
const slaves = App.Utils.sortedEmployees(App.Entity.facilities.nursery);
const devBonus = (V.nurseryDecoration !== "standard") ? 1 : 0;
const arcology = V.arcologies[0];
let matronBonus = 0;
V.flSex = App.EndWeek.getFLSex(App.Entity.facilities.nursery); // FIXME: should be local, passed as a parameter to saRules
function matronChanges() {
if (S.Matron) {
S.Matron.devotion += devBonus;
if (S.Matron.health.condition < -80) {
improveCondition(S.Matron, 20);
} else if (S.Matron.health.condition < -40) {
improveCondition(S.Matron, 15);
} else if (S.Matron.health.condition < 0) {
improveCondition(S.Matron, 10);
} else if (S.Matron.health.condition < 90) {
improveCondition(S.Matron, 7);
}
if (S.Matron.devotion <= 60) {
S.Matron.devotion++;
}
if (S.Matron.trust < 60) {
S.Matron.trust++;
}
if (S.Matron.rules.living !== "luxurious") {
S.Matron.rules.living = "luxurious";
}
if (S.Matron.rules.rest !== "restrictive") {
S.Matron.rules.rest = "restrictive";
}
}
}
function matronText() {
if (S.Matron) {
const {He, he, His, his, him} = getPronouns(S.Matron);
let r = [];
r.push(`${SlaveFullName(S.Matron)} is serving as your Matron.`);
if (S.Matron.relationship === -3 && S.Matron.devotion > 50) {
r.push(`${He} does ${his} best to ${V.nurseryChildren ?
`properly raise and look after the children in ${V.nurseryName}` :
`look after ${V.nurseryName} and keep it tidy and running smoothly`}.`);
}
if (S.Matron.health.condition < 10) {
r.push(`${He} does ${his} best to take good care of ${V.nurseryChildren ? `the children` : `${V.nurseryName}`}, but ${his} poor health limits ${his} ability to do so.`);
} else if (S.Matron.health.condition < 80) {
r.push(`${His} good health allows ${him} to keep up with the demands of ${V.nurseryName}${V.nurseryNannies ? `and <span class="yellowgreen">work</span> the nannies hard` : ``}.`);
matronBonus += V.nurseryNannies ? 50 : 0;
} else {
r.push(`${His} perfect health allows ${him} to really stay on top of things in ${V.nurseryName}${V.nurseryNannies ? ` and <span class="yellowgreen">really drive</span> the nannies hard.` : ``}`);
matronBonus += V.nurseryNannies ? 75 : 0;
}
if (setup.matronCareers.includes(S.Matron.career)) {
r.push(`${He} has experience with looking after children from ${his} life before ${he} was a slave.`);
matronBonus += 25;
} else if (S.Matron.skill.matron >= V.masteredXP) {
r.push(`${He} has applicable experience with taking care of children from working for you.`);
matronBonus += 25;
} else {
S.Matron.skill.matron += jsRandom(1, Math.ceil((
S.Matron.intelligence + S.Matron.intelligenceImplant
) / 15) + 8);
}
if (S.Matron.actualAge > 35) {
r.push(`${His} age and experience make ${him} more effective.`);
matronBonus += 25;
} else if (!V.AgePenalty) {
matronBonus += 25;
}
if (S.Matron.intelligence + S.Matron.intelligenceImplant > 15) {
r.push(`${He}'s intelligent enough that ${he} is more effectively able to take care of ${V.nurseryName}${V.nurseryChildren ? ` and its children` : ``}.`);
matronBonus += S.Matron.intelligence + S.Matron.intelligenceImplant;
}
if (V.nurseryChildren < V.nursery) {
let seed = jsRandom(1, 10) + ((V.nursery - V.nurseryChildren) * (jsRandom(150, 170) + (matronBonus * 10)));
cashX(seed, "nursery", S.Matron);
r.push(`<p class="indent">Since ${he} doesn't have enough children to occupy all ${his} time, ${V.nurseryName} takes in citizens' children on a contract basis and ${he} cares for them too, earning <span class='yellowgreen'>${cashFormat(seed)}.</span></p>`);
}
if (arcology.FSRepopulationFocus > 0 && V.nurseryChildren > 0) {
r.push(`Society <span class='green'>loves</span> the way you are raising more children for ${arcology.name}. `);
FutureSocieties.Change("Repopulationist", 2);
}
return r.join(' ');
}
}
const matronEffects = App.UI.DOM.appendNewElement("p", frag, '', "indent");
matronChanges();
$(matronEffects).append(matronText());
if (slaves) {
const intro = App.UI.DOM.appendNewElement("p", frag, '', "indent");
let r = [];
r.push(`${slaves.length > 1 ? `There are ${slaves.length} slaves` : `There is one slave`} working in ${V.nurseryName}.</strong>`);
if (arcology.FSRepopulationFocus > 0 && V.nurseryChildren > 0) {
r.push(`Society <span class="green">approves</span> of your bringing more children into this world.`);
} else if (arcology.FSGenderFundamentalist > 0) {
r.push(`Society <span class="green">approves</span> of your assigning slaves to a traditionally feminine role.`);
}
$(intro).append(r.join(' '));
}
if (S.Matron) {
/** @type {App.Entity.SlaveState} */
const slave = S.Matron;
V.i = V.slaveIndices[slave.ID];
App.Utils.setLocalPronouns(slave); // needed for "include"s
if (V.showEWD !== 0) {
const matronEntry = App.UI.DOM.appendNewElement("div", frag, '', "slave-report");
if (V.seeImages && V.seeReportImages) {
App.UI.DOM.appendNewElement("div", matronEntry, App.Art.SlaveArtElement(slave, 0, 0), ["imageRef", "tinyImg"]);
}
matronEntry.append(App.EndWeek.favoriteIcon(slave), " ");
$(matronEntry).append(`<span class="slave-name">${SlaveFullName(slave)}</span> is serving as your Matron.`);
$(matronEntry).append(App.SlaveAssignment.standardSlaveReport(slave, false));
} else {
App.SlaveAssignment.standardSlaveReport(slave, true);
}
}
// FIXME: check these numbers over to make sure they make sense
for (const slave of slaves) {
V.i = V.slaveIndices[slave.ID];
slave.devotion += devBonus;
if (slave.devotion <= 20 && slave.trust >= -20) {
slave.devotion -= 5;
slave.trust -= 5;
} else if (slave.devotion <= 10) {
slave.devotion += 2;
} else if (slave.devotion >= 80) {
slave.devotion -= 2;
}
if (slave.trust < -20) {
slave.trust += 3;
} else if (slave.trust < -50) {
slave.trust += 2;
} else if (slave.trust < -30) {
slave.trust += 1;
}
if (slave.health.condition < -80) {
improveCondition(slave, 20);
} else if (slave.health.condition < -40) {
improveCondition(slave, 10);
} else if (slave.health.condition < 0) {
improveCondition(slave, 7);
} else if (slave.health.condition < 90) {
improveCondition(slave, 3);
}
// TODO: add more cases
switch (V.nurseryDecoration) {
case "Repopulationist":
slave.rules.living = "luxurious";
break;
case "Degradationist":
slave.rules.living = "spare";
break;
default:
slave.rules.living = "normal";
break;
}
App.Utils.setLocalPronouns(slave); // needed for "include"s
if (V.showEWD) {
const {He} = getPronouns(slave);
const slaveEntry = App.UI.DOM.appendNewElement("div", frag, '', "slave-report");
if (V.seeImages && V.seeReportImages) {
App.UI.DOM.appendNewElement("div", slaveEntry, App.Art.SlaveArtElement(slave, 0, 0), ["imageRef", "tinyImg"]);
}
slaveEntry.append(App.EndWeek.favoriteIcon(slave), " ");
$(slaveEntry).append(`<span class="slave-name">${SlaveFullName(slave)}</span> `);
if (slave.choosesOwnAssignment === 2) {
$(slaveEntry).append(App.SlaveAssignment.choosesOwnJob(slave));
} else {
$(slaveEntry).append(`is working out of ${V.nurseryName}.`);
}
const nannyContent = App.UI.DOM.appendNewElement("div", slaveEntry, '', "indent");
$(nannyContent).append(`${He} ${App.SlaveAssignment.nanny(slave, matronBonus)}`); // FIXME: nanny() takes one argument
$(slaveEntry).append(App.SlaveAssignment.standardSlaveReport(slave, false));
} else { // silently discard return values
App.SlaveAssignment.nanny(slave, matronBonus); // FIXME: nanny() takes one argument
App.SlaveAssignment.standardSlaveReport(slave, true);
}
}
if (V.nurseryDecoration !== "standard") {
const decorationEffects = App.UI.DOM.appendNewElement("p", frag, '', "indent");
$(decorationEffects).append(`${capFirstChar(V.nurseryName)}'s ${V.nurseryDecoration} atmosphere <span class="devotion inc">has a minor impact on your servants.</span>`);
}
return frag;
};
|
MonsterMate/fc
|
src/endWeek/reports/nurseryReport.js
|
JavaScript
|
mit
| 8,376
|
globalThis.personalAttention = (function() {
/** @type {{ID: number, trainingRegimen: string}} */
let pa;
/**
* @param {App.Entity.SlaveState} slave
* @returns {DocumentFragment}
*/
function induceFlawAbuseEffects(slave) {
const el = new DocumentFragment();
const {He, His, him, his} = getPronouns(slave);
slave.devotion -= 5;
slave.trust -= 5;
el.append(`${He}'s `);
if (slave.devotion > 20) {
App.UI.DOM.appendNewElement("span", el, `desperately confused`, "mediumorchid");
el.append(` by this treatment, since the effect would be ruined if you explained it to ${him}, and ${his} `);
App.UI.DOM.appendNewElement("span", el, `trust in you is reduced. `, "gold");
} else if (slave.devotion >= -20) {
App.UI.DOM.appendNewElement("span", el, `confused, depressed`, "mediumorchid");
el.append(` and `);
App.UI.DOM.appendNewElement("span", el, `frightened`, "gold");
el.append(` by this treatment, since the effect would be ruined if you explained it to ${him}. `);
} else {
App.UI.DOM.appendNewElement("span", el, `angry`, "mediumorchid");
el.append(` and `);
App.UI.DOM.appendNewElement("span", el, `afraid`, "gold");
el.append(` that you would treat ${him} like this. `);
}
if (slave.energy > 10) {
slave.energy -= 2;
el.append(`${His} `);
App.UI.DOM.appendNewElement("span", el, `appetite for sex is also reduced. `, "red");
}
return el;
}
/**
* @param {App.Entity.SlaveState} slave
* @returns {DocumentFragment}
*/
function induceFlawLenityEffects(slave) {
const el = new DocumentFragment();
if (slave.devotion <= 20) {
const {He, him} = getPronouns(slave);
slave.trust += 5;
el.append(`${He} doesn't understand what you intend by this strange treatment, but it does make ${him} `);
App.UI.DOM.appendNewElement("span", el, `inappropriately trusting. `, "mediumaquamarine");
}
return el;
}
/**
* @param {App.Entity.SlaveState} slave
* @returns {HTMLParagraphElement}
*/
function basicTrainingDefaulter(slave) {
const el = document.createElement("p");
el.classList.add("indent");
const {He, His, his, he} = getPronouns(slave);
if (slave.devotion > 20 && slave.behavioralFlaw !== "none" && slave.behavioralQuirk === "none") {
el.append(`Since ${he}'s obedient, `);
App.UI.DOM.appendNewElement("span", el, `${his} training assignment has defaulted to softening ${his} behavioral flaw. `, "yellow");
pa.trainingRegimen = "soften her behavioral flaw";
} else if ((slave.devotion > 20) && (slave.sexualQuirk === "none") && !["abusive", "anal addict", "attention whore", "breast growth", "breeder", "cum addict", "malicious", "neglectful", "none", "self hating"].includes(slave.sexualFlaw)) {
el.append(`Since ${he}'s obedient, `);
App.UI.DOM.appendNewElement("span", el, `${his} training assignment has defaulted to softening ${his} sexual flaw. `, "yellow");
pa.trainingRegimen = "soften her sexual flaw";
} else if (slave.devotion > 20 && slave.behavioralFlaw !== "none" && slave.behavioralQuirk !== "none") {
el.append(`Since ${he}'s obedient and already has a behavioral quirk, `);
App.UI.DOM.appendNewElement("span", el, `${his} training assignment has defaulted to removing ${his} behavioral flaw. `, "yellow");
pa.trainingRegimen = "fix her behavioral flaw";
} else if ((slave.devotion > 20) && !["abusive", "anal addict", "attention whore", "breast growth", "breeder", "cum addict", "malicious", "neglectful", "none", "self hating"].includes(slave.sexualFlaw)) {
el.append(`Since ${he}'s obedient and already has a sexual quirk, `);
App.UI.DOM.appendNewElement("span", el, `${his} training assignment has defaulted to removing ${his} sexual flaw. `, "yellow");
pa.trainingRegimen = "fix her sexual flaw";
} else if (slave.devotion <= 20 && slave.trust >= -20) {
App.UI.DOM.appendNewElement("span", el, `${His} training assignment has defaulted to breaking ${his} will. `, "yellow");
pa.trainingRegimen = "break her will";
} else {
el.append(`${He} is now fully broken; `);
App.UI.DOM.appendNewElement("span", el, `${his} training assignment has defaulted to fostering devotion. `, "yellow");
pa.trainingRegimen = "build her devotion";
}
slave.training = 0;
return el;
}
/**
* @param {App.Entity.SlaveState} slave
* @returns {Node}
*/
function personalAttention(slave) {
const el = document.createElement("p");
el.classList.add("indent");
if (!Array.isArray(V.personalAttention)) {
throw `Personal attention requested for slave ${SlaveFullName(slave)} but is set to "${V.personalAttention}"`;
}
pa = V.personalAttention.find((s) => s.ID === slave.ID);
const {
He, His,
he, his, him, himself, wife, girl, hers
} = getPronouns(slave);
const {womenP} = getPronouns(V.PC).appendSuffix("P");
let r = [];
let coloredText;
let trainingEfficiency;
let vaginalTrainingEfficiency;
let analTrainingEfficiency;
let seed;
if (pa.trainingRegimen === "look after her") {
r.push(App.UI.DOM.makeElement("span", `You care for`, "bold"));
} else {
r.push(App.UI.DOM.makeElement("span", `You train`, "bold"));
}
r.push(App.UI.DOM.makeElement("span", slave.slaveName, "slave-name"));
r.push(`when ${he} isn't otherwise occupied.`);
slave.training = Math.clamp(slave.training, 0, 100);
const currentSlaveValue = slave.training < 100 ? 0.2 : 0.5;
slave.training += 80 - (slave.intelligence + slave.intelligenceImplant) / 5 + ((slave.devotion + slave.trust) / 10);
if ((V.PC.skill.slaving >= 100) && V.personalAttention.length === 1) {
// negate bonus when splitting focus among slaves
slave.training += 20;
}
switch (pa.trainingRegimen) {
case "build her devotion":
slave.devotion += 6;
if ((slave.fetishKnown === 1) && (slave.fetishStrength > 60) && (slave.fetish === "submissive")) {
r.push(`Since ${slave.slaveName} is a submissive, you`);
r.push(App.UI.DOM.makeElement("span", `build ${his} devotion to you`, "hotpink"));
r.push(`by indulging ${his} need to be dominated. Already smiling to ${himself}, ${he} changes into bondage gear that`);
if (canSee(slave)) {
r.push(`blinds ${him},`);
} else {
r.push(`covers ${his} face,`);
}
if (hasAnyArms(slave)) {
r.push(`forces ${his} ${(hasBothArms(slave)) ? `arms` : `arm`} behind ${his} back,`);
}
if (slave.vagina <= 0 && slave.anus <= 0) {
r.push(`and`);
}
r.push(`forces ${him} to present ${his} breasts`);
if (slave.vagina > 0 || slave.anus > 0) {
r.push(`uncomfortably, and forces a painfully large dildo up ${his}`);
if (slave.vagina > 0) {
r.push(`vagina${(slave.anus > 0) ? ` and anus` : ``}.`);
} else if (slave.anus > 0) {
r.push(`anus.`);
}
} else {
r.push(`uncomfortably.`);
}
r.push(`Thus attired, ${he} is forced to serve you in whatever petty ways occur to you. ${He} holds your tablet for you on ${his} upthrust ass as you work, holds a thin beverage glass for you in ${his} upturned mouth when you eat, and lies still so you can use ${his} tits as a pillow whenever you recline. ${He} loves it.`);
} else if ((slave.fetishKnown === 1) && (slave.fetishStrength > 60) && (slave.fetish === "cumslut") && (V.PC.dick !== 0)) {
r.push(`Since ${slave.slaveName} has an unusual taste for oral sex and cum, you`);
r.push(App.UI.DOM.makeElement("span", `build ${his} devotion to you`, "hotpink"));
r.push(`by indulging ${him}. You allow ${him} to spend ${his} free time following you around. ${He} is permitted to act as your private cum receptacle. If you use another slave, you usually pull out and give ${his} smiling face a facial. When you come inside another slave instead, ${slave.slaveName} is allowed to get your cum anyway, regardless of whether that requires the other slave to spit it into ${his} mouth or ${slave.slaveName} to suck it out of the other slave's vagina or rectum. Either way, ${he} rubs ${his} stomach happily after ${he}'s swallowed it down.`);
seX(slave, "oral", V.PC, "penetrative", 20);
} else if ((slave.fetishKnown === 1) && (slave.fetishStrength > 60) && (slave.fetish === "boobs")) {
r.push(`Since ${slave.slaveName} has an unusual taste for having ${his} tits fondled, you`);
r.push(App.UI.DOM.makeElement("span", `build ${his} devotion to you`, "hotpink"));
r.push(`by indulging ${him}. You keep ${him} near you as a sort of living stress ball. Whenever you have a free hand, whether you're conducting business or buttfucking another slave, you reach over and play with ${him}. ${He} sometimes masturbates while you massage ${his} breasts and`);
if (slave.nipples === "fuckable") {
r.push(`finger`);
} else {
r.push(`pinch`);
}
r.push(`${his} nipples, but often ${he} doesn't even need to.`);
seX(slave, "mammary", V.PC, "penetrative", 10);
} else if ((slave.fetishKnown === 1) && (slave.fetishStrength > 60) && (slave.fetish === "pregnancy")) {
r.push(`Since ${slave.slaveName} has an unusual taste for big pregnant bellies, you`);
r.push(App.UI.DOM.makeElement("span", `build ${his} devotion to you`, "hotpink"));
r.push(`by indulging ${him}. You`);
if (isItemAccessible.entry("a small empathy belly", "bellyAccessory") && slave.belly < 1500 && slave.weight < 130) {
r.push(`strap an enormous sympathy belly onto ${him} and`);
} else if (slave.belly < 1500) {
r.push(`strap a pillow around ${his} middle, give ${him} an oversized shirt and`);
}
r.push(`keep ${him} near you as a sort of living stress ball. Whenever you have a free hand, whether you're conducting business or buttfucking another slave, you reach over and rub ${his} dome of a belly for luck. Occasionally you pay more attention to ${him}, making sure to fondle ${his} rounded middle as you feel up ${his} motherly body. ${He} sometimes masturbates when you aren't groping ${him}, enjoying ${his} gravid figure, but often ${he} doesn't even need to.`);
} else if ((slave.fetishKnown === 1) && (slave.fetishStrength > 60) && (slave.fetish === "humiliation") && ((canDoVaginal(slave) && slave.vagina > 0) || (canDoAnal(slave) && slave.anus > 0))) {
r.push(`Since ${slave.slaveName} has an unusual sexuality, you`);
r.push(App.UI.DOM.makeElement("span", `build ${his} devotion to you`, "hotpink"));
r.push(`by indulging ${his} perversions. Since ${he}'s an absolute slut for humiliation, you let ${him} whore around inside the special camera room whenever possible. When you're going out and feel like putting on a show, you bring ${him} on a leash and fuck ${him} in public. ${He} comes harder than ever when you push ${his} naked body up against the wall of a crowded public arcology elevator and molest ${him}.`);
seX(slave, "oral", V.PC, "penetrative", 4);
r.push(`${VCheck.Both(slave, 4, 2)}`);
} else if ((slave.fetishKnown === 1) && (slave.fetishStrength > 60) && (slave.fetish === "humiliation")) {
r.push(`Since ${slave.slaveName} has an unusual sexuality, you`);
r.push(App.UI.DOM.makeElement("span", `build ${his} devotion to you`, "hotpink"));
r.push(`by indulging ${his} perversions. Since ${he}'s an absolute slut for humiliation, you let ${him} whore around inside the special camera room whenever possible. When you're going out and feel like putting on a show, you`);
if (hasBothLegs(slave)) {
r.push(`bring ${him} on a leash and have ${him} service you in public. ${He} comes harder than ever when you push ${him} down on ${his} knees in a crowded public arcology elevator and facefuck ${him} while ${he}`);
} else {
r.push(`carry ${him} out and have ${him} service you in public. ${He} comes harder than ever when you push ${his} face to your`);
if (V.PC.dick !== 0) {
r.push(`dick`);
} else {
r.push(`pussy`);
}
r.push(`in a crowded public arcology elevator and facefuck ${him} while ${he}`);
}
if (hasAnyArms(slave)) {
r.push(`masturbates fervently.`);
} else {
r.push(`tries ${his} hardest to masturbate.`);
}
seX(slave, "oral", V.PC, "penetrative", 8);
} else if ((slave.anus === 3) && (slave.vagina === 3) && slave.geneMods.rapidCellGrowth !== 1) {
r.push(`${slave.slaveName} is a stretched-out, well-traveled slut. Some like their holes loose, but most prefer cunts and butts that don't make sloppy noises when fucked. So, you spend some quality care time with ${him}, carefully massaging ${his} abused holes with oils and lotions. ${He} comes, of course, but ${his} pussy and asshole do benefit from the treatment. You allow ${him} to service you with ${his} mouth to avoid spoiling your work right away. Afterward, ${he}`);
if (hasAnyArms(slave)) {
r.push(App.UI.DOM.makeElement("span", `hugs you and gives you a kiss.`, "hotpink"));
} else {
r.push(App.UI.DOM.makeElement("span", `gives you a kiss and tries to hug you,`, "hotpink"));
r.push(`but without arms, all ${he} manages is a sort of nuzzle.`);
}
slave.vagina--;
slave.anus--;
seX(slave, "oral", V.PC, "penetrative", 5);
} else if (slave.vagina === 0) {
r.push(`${slave.slaveName}'s accustomed to the slave life, so the experience is almost novel for ${him} and ${he} is`);
r.push(App.UI.DOM.makeElement("span", `touched by the affection.`, "hotpink"));
r.push(`${He} isn't used to being kissed, teased and massaged. ${He}'s almost disappointed when it becomes clear that you don't mean to take ${his} virginity. You gently stimulate ${his}`);
if (slave.dick) {
r.push(`dick`);
} else if (slave.clit) {
r.push(`clit`);
} else {
r.push(`nipples`);
}
r.push(`while ${he} sucks you off, bringing ${him} to a moaning climax as you cum in ${his} mouth.`);
seX(slave, "oral", V.PC, "penetrative", 5);
} else if ((slave.anus === 0) && (slave.vagina < 0)) {
r.push(`You haven't decided to take ${slave.slaveName}'s anus yet, so you let ${him} suck you off and play with ${himself} while ${he} does. You stroke ${his} hair, play with ${his} tits, and generally pamper ${him} while ${he} orally services you. ${He}'s accustomed to the slave life, so the experience of affection is novel for ${him} and ${he} is`);
r.push(App.UI.DOM.makeElement("span", `touched by the affection.`, "hotpink"));
r.push(`${He} isn't used to being kissed, teased and massaged. ${He}'s almost disappointed when it becomes clear that you don't mean to take ${his} virgin hole.`);
seX(slave, "oral", V.PC, "penetrative", 5);
} else if ((slave.anus === 0) && (slave.vagina > 0) && canDoVaginal(slave)) {
r.push(`You fuck ${slave.slaveName}, of course, but you do it slowly and lovingly, and keep well clear of ${his} still-virgin asshole in the process. ${He}'s accustomed to the slave life, so the experience is almost novel for ${him} and ${he} is affectingly`);
r.push(App.UI.DOM.makeElement("span", `touched by the affection.`, "hotpink"));
r.push(`${He} isn't used to being kissed, teased and massaged before ${he} takes cock. Slaves are usually used without regard to their orgasm, so ${he}'s also surprised and gratified when you make meticulous efforts to delay your own orgasm so it can coincide with ${his} own. ${He}'s a puddle on the sheets under your hands.`);
seX(slave, "oral", V.PC, "penetrative", 4);
r.push(`${VCheck.Vaginal(slave, 4)}`);
} else if (slave.anus === 0) {
r.push(`${slave.slaveName}'s accustomed to the slave life, so the experience is almost novel for ${him} and ${he} is`);
r.push(App.UI.DOM.makeElement("span", `touched by the affection.`, "hotpink"));
r.push(`${He} isn't used to being kissed, teased and massaged. ${He}'s almost disappointed when it becomes clear that you don't mean to take ${his} anal virginity. You gently stimulate ${his}`);
if (slave.dick) {
r.push(`dick`);
} else if (slave.clit) {
r.push(`clit`);
} else {
r.push(`nipples`);
}
r.push(`while ${he} sucks you off, bringing ${him} to a moaning climax as you cum in ${his} mouth.`);
seX(slave, "oral", V.PC, "penetrative", 5);
} else {
r.push(`You fuck ${slave.slaveName}, of course, but you do it slowly and lovingly. ${He}'s accustomed to the slave life, so the experience is almost novel for ${him} and ${he} is affectingly`);
r.push(App.UI.DOM.makeElement("span", `touched by the affection.`, "hotpink"));
r.push(`${He} isn't used to being kissed, teased and massaged before ${he} takes cock. Slaves are usually used without regard to their orgasm, so ${he}'s also surprised and gratified when you make meticulous efforts to delay your own orgasm so it can coincide with ${his} own. ${He}'s a puddle on the sheets under your hands.`);
seX(slave, "oral", V.PC, "penetrative", 4);
if (slave.vagina === 0) {
r.push(`${VCheck.Vaginal(slave, 4)}`);
} else {
r.push(`${VCheck.Both(slave, 4, 2)}`);
}
}
if (V.PC.skill.slaving >= 100) {
r.push(`Your`);
r.push(App.UI.DOM.makeElement("span", `slave training experience`, "springgreen"));
r.push(`allows you to`);
r.push(App.UI.DOM.makeElement("span", `bend ${him} to your will`, "hotpink"));
r.push(`more quickly without provoking resistance.`);
slave.devotion += 1;
}
if (slave.trust > 10) {
r.push(`Spending time with you`);
r.push(App.UI.DOM.makeElement("span", `builds ${his} trust in ${his} ${getWrittenTitle(slave)}.`, "mediumaquamarine"));
slave.trust += 4;
} else {
r.push(`Spending time with you`);
r.push(App.UI.DOM.makeElement("span", `reduces ${his} fear towards you.`, "mediumaquamarine"));
slave.trust += 6;
}
r.push(IncreasePCSkills('slaving', 0.2));
slave.training = 0;
break;
case "look after her":
if (slave.relationship === -3 && slave.fetish === "mindbroken") {
r.push(`Since ${slave.slaveName} is your ${wife} and not all there, you keep ${him} under a watchful eye to make sure no harm comes to the broken ${girl}. ${He} almost seems in better spirits under your care, not that it will matter in an hour or two.`);
if (slave.kindness) {
slave.kindness++;
} else {
slave.kindness = 1;
}
}
if (slave.health.condition < 100) {
r.push(`Your close and expert attention improves ${his} health in a way drug treatment or mere medical intervention cannot.`);
r.push(App.UI.DOM.makeElement("span", `${His} health has improved.`, "green"));
improveCondition(slave, 10);
}
if (slave.health.tired > 10) {
r.push(`You watch over ${him} as ${he} sleeps, assuring`);
r.push(App.UI.DOM.makeElement("span", `a proper night's rest.`, "green"));
slave.health.tired = Math.clamp(slave.health.tired - 10, 0, 1000);
}
if (((slave.anus >= 3) || (slave.vagina >= 3)) && slave.geneMods.rapidCellGrowth !== 1) {
r.push(`${slave.slaveName} is a veteran sex slave and has seen hard use. Tightening up a slave is difficult, but with close supervision and attention it can be done. You and your other slaves carefully apply injections, creams, and massage, and ${his} other work is carefully managed to reduce wear and tear.`);
if ((slave.anus >= 3) && (random(1, 100) > 50)) {
r.push(App.UI.DOM.makeElement("span", `${His} anus has recovered and is now merely loose.`, "orange"));
slave.anus--;
} else if ((slave.anus >= 3)) {
r.push(`${His} distended anus does not improve this week.`);
}
if ((slave.vagina >= 3) && (random(1, 100) > 50)) {
r.push(App.UI.DOM.makeElement("span", `${His} pussy has tightened.`, "orange"));
slave.vagina--;
} else if ((slave.vagina >= 3)) {
r.push(`${His} loose pussy does not recover this week.`);
}
}
r.push(IncreasePCSkills('slaving', 0.1));
slave.training = 0;
break;
case "soften her behavioral flaw":
if (slave.behavioralFlaw === "none") {
r.push(`${slave.slaveName} got over ${his} behavioral flaw without you;`);
coloredText = [];
coloredText.push(`${his} training assignment has defaulted to`);
if (["abusive", "anal addict", "attention whore", "breast growth", "breeder", "cum addict", "malicious", "neglectful", "none", "self hating"].includes(slave.sexualFlaw)) {
if ((slave.devotion <= 20) && (slave.trust >= -20)) {
coloredText.push(`breaking ${his} will.`);
pa.trainingRegimen = "break her will";
} else {
coloredText.push(`fostering devotion.`);
pa.trainingRegimen = "build her devotion";
}
} else {
coloredText.push(`softening ${his} sexual flaw.`);
pa.trainingRegimen = "soften her sexual flaw";
}
r.push(App.UI.DOM.makeElement("span", coloredText.join(" "), "yellow"));
} else {
if (slave.behavioralFlaw === "arrogant") {
r.push(`${slave.slaveName} thinks ${he}'s better than everyone else. ${He} has some basis for a high opinion of ${himself}; otherwise you wouldn't be bothering with ${him}. You do your best to maintain ${his} belief that ${he} has something special to offer while training ${him} to offer it to you without objection.`);
} else if ((slave.behavioralFlaw === "bitchy")) {
r.push(`${slave.slaveName} always has a cutting remark ready. Some of them are actually pretty good, and you'd prefer to keep ${his} cutting wit intact. You strike a careful balance with ${him}, punishing the wrong remark at the wrong time, but rewarding appropriately biting comments.`);
} else if ((slave.behavioralFlaw === "odd")) {
r.push(`${slave.slaveName} is odd. ${He}'s usually annoying, but on occasion ${his} oddities can produce great comic relief. You strike a careful balance with ${him}, punishing ${him} when ${he} irritates you, but allowing and even rewarding harmless little idiosyncrasies.`);
} else if ((slave.behavioralFlaw === "hates men")) {
r.push(`${slave.slaveName} does not like men. ${He} desperately needs social contact, though, so you encourage ${him} to rely on women to address ${his} emotional needs. This is easy, since`);
if (V.PC.vagina !== -1) {
r.push(`you've got a pussy yourself.`);
} else {
r.push(`there are several readily available.`);
}
} else if ((slave.behavioralFlaw === "hates women")) {
r.push(`${slave.slaveName} does not like girls. ${He} desperately needs social contact, though, so you encourage ${him} to rely on men to address ${his} emotional needs. This is easy, since`);
if (V.PC.dick === 0) {
r.push(`there are several readily available.`);
} else {
r.push(`you've got a cock yourself.`);
}
} else if ((slave.behavioralFlaw === "anorexic")) {
r.push(`${slave.slaveName} suffers from anorexia. You work with ${him} patiently, applying the very best in modern therapy for this troubling condition. It's usually a product of poor self esteem, and you do your best to build ${hers} up without diminishing ${his} submission to you.`);
} else if ((slave.behavioralFlaw === "gluttonous")) {
r.push(`${slave.slaveName}'s diet is already closely controlled, but the impulse to overeat is strong in ${him} and like most gluttons ${he} manages to be quite cunning. You take a hard line with ${him}, and do your best to replace ${his} addiction to the endorphin release of eating with an addiction to the endorphin release of exercise.`);
} else if ((slave.behavioralFlaw === "liberated")) {
r.push(`${slave.slaveName} can express a decent argument for why it's wrong to use ${him} as a sex slave. With a combination of rote training, discussion, and reinforcement, you do your best to turn this into a sincere belief in the moral rightness of slavery.`);
} else if ((slave.behavioralFlaw === "devout")) {
r.push(`${slave.slaveName} remains devoted to an old world faith that serves ${him} as a reservoir of mental resilience. Like all such beliefs, ${hers} has certain sexual elements; you amuse yourself by forcing ${him} to break them, and rewarding ${him} generously when ${he} does.`);
}
if (slave.training < 100) {
r.push(`You make progress, but ${he}'s the same at the end of the week.`);
} else {
slave.training = 0;
r.push(`By the end of the week,`);
r.push(App.UI.DOM.makeElement("span", `you resolve ${his} flaw into something special.`, "green"));
r.push(App.UI.DOM.makeElement("span", `${His} obedience has increased.`, "hotpink"));
SoftenBehavioralFlaw(slave);
slave.devotion += 4;
}
if (slave.fetishKnown !== 1) {
if (slave.fetish === "submissive") {
r.push(`${He} really takes to your close attention;`);
r.push(App.UI.DOM.makeElement("span", `${he}'s a natural submissive!`, "pink"));
(slave.fetishKnown = 1);
} else if ((slave.fetish === "cumslut")) {
r.push(`While you're giving ${him} personal attention, you discover by chance that`);
r.push(App.UI.DOM.makeElement("span", `${he} has an oral fixation!`, "pink"));
(slave.fetishKnown = 1);
} else if ((slave.fetish === "masochist")) {
r.push(`While you're giving ${him} personal correction, you discover by chance that`);
r.push(App.UI.DOM.makeElement("span", `${he} likes pain!`, "pink"));
(slave.fetishKnown = 1);
} else if ((slave.fetish === "humiliation")) {
r.push(`While you're giving ${him} personal attention in public, you discover by chance that`);
r.push(App.UI.DOM.makeElement("span", `${he} likes humiliation!`, "pink"));
(slave.fetishKnown = 1);
}
}
if (slave.behavioralFlaw === "none") {
r.push(`With ${his} behavioral flaw softened,`);
coloredText = [];
r.push(`${his} training assignment has defaulted to`);
if (slave.sexualFlaw === "none") {
if ((slave.devotion <= 20) && (slave.trust >= -20)) {
coloredText.push(`breaking ${his} will.`);
pa.trainingRegimen = "break her will";
} else {
coloredText.push(`fostering devotion.`);
pa.trainingRegimen = "build her devotion";
}
} else {
coloredText.push(`softening ${his} sexual flaw.`);
pa.trainingRegimen = "soften her sexual flaw";
}
r.push(App.UI.DOM.makeElement("span", coloredText.join(" "), "yellow"));
}
}
r.push(IncreasePCSkills('slaving', currentSlaveValue));
break;
case "soften her sexual flaw":
if (slave.sexualFlaw === "none") {
r.push(`${slave.slaveName} got over ${his} sexual flaw without you,`);
coloredText = [];
coloredText.push(`${his} training assignment has defaulted to`);
if (slave.behavioralFlaw === "none") {
if ((slave.devotion <= 20) && (slave.trust >= -20)) {
coloredText.push(`breaking ${his} will.`);
pa.trainingRegimen = "break her will";
} else {
coloredText.push(`fostering devotion.`);
pa.trainingRegimen = "build her devotion";
}
} else {
coloredText.push(`softening ${his} behavioral flaw.`);
pa.trainingRegimen = "soften her behavioral flaw";
}
r.push(App.UI.DOM.makeElement("span", coloredText.join(" "), "yellow"));
} else {
r.push(`${slave.slaveName}`);
switch (slave.sexualFlaw) {
case "hates oral":
r.push(`has a powerful gag reflex. Though it would be simpler to train ${him} out of it, you do your best to train ${him} to safely take a rough facefuck without losing the fun aspects of forcing a slave to swallow a phallus, like the struggles, the gagging, and the tears.`);
seX(slave, "oral", V.PC, "penetrative", 10);
break;
case "hates anal":
r.push(`does not like it up the butt. Though it would be simpler to train ${him} out of it, you do your best to train ${him} to safely take a rough buttfuck without losing the fun aspects of anal rape, like the struggles, the whining, and the tears.`);
if (canDoAnal(slave)) {
r.push(`${VCheck.Anal(slave, 10)}`);
} else {
r.push(`The inability to actually penetrate ${his} ass hinders your efforts, however.`);
slave.training -= 20;
// more difficult training
}
break;
case "hates penetration":
if ((slave.vagina > -1) && canDoVaginal(slave)) {
r.push(`does not like sex. Though it would be simpler to train ${him} out of it, you do your best to train ${him} to safely take a hard pounding without losing the fun aspects of forced sex, like the struggles, the whining, and the tears.`);
r.push(`${VCheck.Vaginal(slave, 10)}`);
} else if (canDoAnal(slave)) {
r.push(`does not like it up the butt. Though it would be simpler to train ${him} out of it, you do your best to train ${him} to safely take a rough buttfuck without losing the fun aspects of anal rape, like the struggles, the whining, and the tears.`);
r.push(`${VCheck.Anal(slave, 10)}`);
} else {
r.push(`does not dicks in ${his} mouth. Though it would be simpler to train ${him} out of it, you do your best to train ${him} to safely take a rough facefuck without losing the fun aspects of forcing a slave to swallow a phallus, like the struggles, the gagging, and the tears.`);
seX(slave, "oral", V.PC, "penetrative", 10);
}
break;
case "apathetic":
r.push(`doesn't put out much effort when having sex. You do your best to redirect this apathy into caring for ${his} partners; since ${he} obviously doesn't think much of ${himself}, ${he} can spare the effort.`);
seX(slave, "oral", V.PC, "penetrative", 10);
break;
case "crude":
r.push(`does not pay enough attention to standards when having sex, leading to crude comments and unsexy noises. To remedy this, you have ${him} give you oral regularly: a sacrifice, but you make sacrifices for your slaves' improvement. Oral sex can be difficult to make elegant, but you work with ${him} to make it as pretty as possible, even when you require ${him} to apply ${his} mouth to some of the less common erogenous zones. You do your best to retain ${his} sexual openness while making ${him} more sexually presentable.`);
seX(slave, "oral", V.PC, "penetrative", 10);
break;
case "judgemental":
r.push(`has a bad habit of being sexually judgemental, belittling anyone who doesn't live up to ${his} pretensions of standards. You do your best to train ${him} to perform regardless of ${his} partners' endowments, aiming for a delicate balance that will allow ${him} to get off with anyone while permitting ${him} to retain and even build on ${his} appetite for big dicks. You permit ${him} to achieve release only when ${he}'s done well with`);
if (V.PC.dick !== 0) {
r.push(`your thick cock`);
} else {
r.push(`a fat dildo`);
}
if (slave.vagina > 0 && canDoVaginal(slave)) {
r.push(`lodged up ${his} cunt.`);
r.push(`${VCheck.Vaginal(slave, 10)}`);
} else if (slave.anus > 0 && canDoAnal(slave)) {
r.push(`lodged up ${his} butt.`);
r.push(`${VCheck.Anal(slave, 10)}`);
} else {
r.push(`down ${his} throat.`);
seX(slave, "oral", V.PC, "penetrative", 10);
}
break;
case "shamefast":
r.push(`is shamefast. You do your best to train ${him} out of this, but carefully retain the essential core of embarrassment, aiming for a slave that can use ${his} body to titillate the viewer and then offer an authentic blush at ${himself}.`);
seX(slave, "oral", V.PC, "penetrative", 10);
break;
case "idealistic":
r.push(`still sees sex in a naïve light, hoping to be romanced, teased to arousal, and asked permission. Training ${him} directly out of this would shatter the poor ${girl}'s world, so you work with ${him} carefully, doing your best to keep sex special for ${him}.`);
break;
case "repressed":
r.push(`is repressed. You strike a delicate balance with ${him}, doing your best to train ${him} to fuck as a sex slave should, but trying to retain the rush of doing the forbidden that makes ${him} flush, shiver, and moan.`);
seX(slave, "oral", V.PC, "penetrative", 10);
break;
case "abusive":
case "anal addict":
case "attention whore":
case "breast growth":
case "breeder":
case "cum addict":
case "malicious":
case "neglectful":
case "self hating":
r.push(`has a paraphilia. Typical methods will have no effect on this kind of flaw.`);
slave.training = 0;
coloredText = [];
coloredText.push(`${His} training assignment has defaulted to`);
if ((slave.devotion <= 20) && (slave.trust >= -20)) {
coloredText.push(`breaking ${his} will.`);
pa.trainingRegimen = "break her will";
} else {
coloredText.push(`fostering devotion.`);
pa.trainingRegimen = "build her devotion";
}
r.push(App.UI.DOM.makeElement("span", coloredText.join(" "), "yellow"));
break;
default:
r.push(`has something. You should probably report this as nobody knows what is currently happening. ${His} flaw was supposed to be ${slave.sexualFlaw}.`);
}
if (slave.training < 100) {
r.push(`You make progress, but ${he}'s the same at the end of the week.`);
} else {
slave.training = 0;
r.push(`By the end of the week,`);
r.push(App.UI.DOM.makeElement("span", `you resolve ${his} flaw into something special.`, "green"));
r.push(App.UI.DOM.makeElement("span", `${His} obedience has increased.`, "hotpink"));
SoftenSexualFlaw(slave);
slave.devotion += 4;
}
if (slave.fetishKnown !== 1) {
if (slave.fetish === "submissive") {
r.push(`${He} really takes to your close attention;`);
r.push(App.UI.DOM.makeElement("span", `${he}'s a natural submissive!`, "pink"));
(slave.fetishKnown = 1);
} else if ((slave.fetish === "cumslut")) {
r.push(`While you're giving ${him} personal attention, you discover by chance that`);
r.push(App.UI.DOM.makeElement("span", `${he} has an oral fixation!`, "pink"));
(slave.fetishKnown = 1);
} else if ((slave.fetish === "masochist")) {
r.push(`While you're giving ${him} personal correction, you discover by chance that`);
r.push(App.UI.DOM.makeElement("span", `${he} likes pain!`, "pink"));
(slave.fetishKnown = 1);
} else if ((slave.fetish === "humiliation")) {
r.push(`While you're giving ${him} personal attention in public, you discover by chance that`);
r.push(App.UI.DOM.makeElement("span", `${he} likes humiliation!`, "pink"));
(slave.fetishKnown = 1);
}
}
if (slave.sexualFlaw === "none") {
r.push(`With ${his} sexual flaw softened,`);
coloredText = [];
r.push(`${his} training assignment has defaulted to`);
if (slave.behavioralFlaw === "none") {
if ((slave.devotion <= 20) && (slave.trust >= -20)) {
coloredText.push(`breaking ${his} will.`);
pa.trainingRegimen = "break her will";
} else {
coloredText.push(`fostering devotion.`);
pa.trainingRegimen = "build her devotion";
}
} else {
coloredText.push(`softening ${his} behavioral flaw.`);
pa.trainingRegimen = "soften her behavioral flaw";
}
r.push(App.UI.DOM.makeElement("span", coloredText.join(" "), "yellow"));
}
}
r.push(IncreasePCSkills('slaving', currentSlaveValue));
break;
case "learn skills":
trainingEfficiency = 10 + Math.trunc(slave.devotion / 30) + Math.floor(slave.intelligence / 32);
if (V.PC.career === "escort") {
r.push(`You are well-versed in sexual techniques and how to employ them, giving you an edge in teaching ${him}.`);
trainingEfficiency += 10;
}
if (slave.vagina >= 0) {
if (!canDoVaginal(slave) && slave.vagina === 0) {
vaginalTrainingEfficiency = Math.trunc(trainingEfficiency / 4);
} else if (slave.vagina === 0 || !canDoVaginal(slave)) {
vaginalTrainingEfficiency = Math.trunc(trainingEfficiency / 2);
}
}
if (!canDoAnal(slave) && slave.anus === 0) {
analTrainingEfficiency = Math.trunc(trainingEfficiency / 4);
} else if (slave.anus === 0 || !canDoAnal(slave)) {
analTrainingEfficiency = Math.trunc(trainingEfficiency / 2);
}
if (slave.devotion > 50) {
r.push(`${He}'s devoted to you, making sexual training much easier.`);
} else if (slave.devotion > 20) {
r.push(`${He}'s accepted ${his} place as a sex slave, making sexual training easier.`);
} else if (slave.devotion < -20) {
r.push(`${He}'s unhappy being a sex slave, making sexual training harder.`);
}
if (slave.intelligence + slave.intelligenceImplant > 15) {
r.push(`${His} intelligence allows ${him} to absorb ${his} lessons quickly.`);
} else if (slave.intelligence + slave.intelligenceImplant < -15) {
r.push(`${His} stupidity makes ${him} absorb ${his} lessons slowly.`);
}
if (slave.skill.oral <= 10) {
r.push(`Since ${he}'s orally unskilled, you start with ${his} mouth. ${He}`);
if (V.PC.dick !== 0) {
r.push(`sucks your dick,`);
} else {
r.push(`eats you out,`);
}
r.push(`of course, but ${his} training is more creative than just that. You give ${him}`);
if (canTaste(slave)) {
r.push(`delicious`);
} else {
r.push(`sugary`);
}
r.push(`hard candies to suck and feed ${him} phallic fruits and vegetables that ${he} must deepthroat before ${he} can eat. As ${his} skill improves, ${he} wears a gag with an inward-facing dildo, which is swapped out for a bigger size every so often. You only let ${him} orgasm when ${he}'s sucking, and before long ${he}'s associating giving someone oral pleasure with experiencing pleasure ${himself}.`);
r.push(App.UI.DOM.makeElement("span", `${His} oral skills have improved.`, "lime"));
r.push(slaveSkillIncrease('oral', slave, trainingEfficiency));
} else if (slave.skill.vaginal <= 10 && slave.vagina > 0 && canDoVaginal(slave)) {
r.push(`Since ${he}'s vaginally unskilled, and not a virgin, you start with ${his} pussy.`);
r.push(App.UI.DOM.makeElement("span", `${His} vaginal skills have improved.`, "lime"));
r.push(slaveSkillIncrease('vaginal', slave, trainingEfficiency));
} else if (slave.skill.anal <= 10 && slave.anus > 0 && canDoAnal(slave)) {
r.push(`Since ${he}'s anally unskilled, and not an anal virgin, you start with ${his} ass.`);
r.push(App.UI.DOM.makeElement("span", `${His} anal skills have improved.`, "lime"));
r.push(slaveSkillIncrease('anal', slave, trainingEfficiency));
} else if (slave.skill.oral <= 30) {
r.push(`Since ${he}'s sexually experienced, you work with ${him} on the finer points of oral sex.`);
r.push(App.UI.DOM.makeElement("span", `${His} oral skills have improved.`, "lime"));
r.push(slaveSkillIncrease('oral', slave, trainingEfficiency));
} else if ((slave.skill.vaginal <= 30) && (slave.vagina > 0) && canDoVaginal(slave)) {
r.push(`Since ${he}'s sexually experienced, you work with ${him} on the finer points of penetrative sex. ${He} can already fuck pretty well, but ${his} muscular control could be improved. ${He} works ${his} Kegel muscles all week, using fingers, dildos, and your`);
if (V.PC.dick === 0) {
r.push(`strap-on`);
} else {
r.push(`cock`);
}
r.push(`as training tools. ${He} becomes expert enough that ${he} is able to make you cum without any thrusting at all by you or any riding by ${him}; ${he} just flexes ${his} muscles enough to`);
if (V.PC.dick === 0) {
r.push(`grind the fake phallus back against your cunt.`);
} else {
r.push(`stimulate you.`);
}
r.push(App.UI.DOM.makeElement("span", `${His} vaginal skills have improved.`, "lime"));
r.push(slaveSkillIncrease('vaginal', slave, trainingEfficiency));
} else if ((slave.skill.anal <= 30) && (slave.anus > 0) && canDoAnal(slave)) {
r.push(`Since ${he}'s anally experienced, you work with ${him} on the finer points of penetrative sex. ${He} can already take it up ${his} ass, but ${his} muscular control could be improved. ${He} works ${his} Kegel muscles and anal sphincter all week, using fingers, dildos, and your`);
if (V.PC.dick === 0) {
r.push(`strap-on`);
} else {
r.push(`cock`);
}
r.push(`as training tools. ${He} becomes expert enough that ${he} is able to make you cum without any thrusting at all by you or any riding by ${him}; ${he} just flexes ${his} muscles enough to`);
if (V.PC.dick === 0) {
r.push(`squeeze the fake phallus.`);
} else {
r.push(`stimulate you.`);
}
r.push(App.UI.DOM.makeElement("span", `${His} anal skills have improved.`, "lime"));
r.push(slaveSkillIncrease('anal', slave, trainingEfficiency));
} else if (slave.skill.vaginal <= 10 && slave.vagina >= 0) {
r.push(`Since ${he}'s vaginally unskilled,`);
if (slave.vagina === 0 && !canDoVaginal(slave)) {
r.push(`in chastity, and a virgin,`);
} else if ((slave.vagina === 0)) {
r.push(`and a virgin,`);
} else {
r.push(`and in chastity,`);
}
r.push(`you explain the basics of sex to ${him}.`);
r.push(App.UI.DOM.makeElement("span", `${His} vaginal skills have improved.`, "lime"));
r.push(slaveSkillIncrease('vaginal', slave, vaginalTrainingEfficiency));
} else if (slave.skill.anal <= 10) {
r.push(`Since ${he}'s anally unskilled,`);
if (slave.anus === 0 && !canDoAnal(slave)) {
r.push(`an anal virgin, and in chastity,`);
} else if ((slave.anus === 0)) {
r.push(`and an anal virgin,`);
} else {
r.push(`and in anal chastity,`);
}
r.push(`you explain the basics of anal sex to ${him}.`);
r.push(App.UI.DOM.makeElement("span", `${His} anal skills have improved.`, "lime"));
r.push(slaveSkillIncrease('anal', slave, analTrainingEfficiency));
} else if (slave.skill.oral < 100) {
r.push(`${He} is already a skilled oral whore, but ${his} skills can be polished further. You train ${him} in the basics of`);
if (V.seePee === 1) {
r.push(`urine play,`);
}
r.push(`massage, pet play, needle play, and many other niche skills. You also expand ${his} oral endurance, enabling ${him} to deepthroat for extended periods.`);
r.push(App.UI.DOM.makeElement("span", `${His} oral skills have improved.`, "lime"));
r.push(slaveSkillIncrease('oral', slave, trainingEfficiency));
} else if ((slave.skill.vaginal < 100) && (slave.vagina > 0) && canDoVaginal(slave)) {
r.push(`${He} is already a skilled pussy slut, but ${his} skills can be polished further. You train ${him} in the basics of`);
if (V.seePee === 1) {
r.push(`urine play,`);
}
r.push(`massage, pet play, needle play, and many other niche skills. You also work with ${him} to develop a personal regimen of vaginal muscle exercises. This will enable ${him} to squeeze and massage dicks with ${his} practiced vaginal walls.`);
r.push(App.UI.DOM.makeElement("span", `${His} vaginal skills have improved.`, "lime"));
r.push(slaveSkillIncrease('vaginal', slave, trainingEfficiency));
} else if ((slave.skill.anal < 100) && (slave.anus > 0) && canDoAnal(slave)) {
r.push(`${He} is already a skilled anal bitch, but ${his} skills can be polished further. You train ${him} in the basics of`);
if (V.seePee === 1) {
r.push(`urine play,`);
}
r.push(`massage, pet play, needle play, and many other niche skills. You also expand ${his} knowledge of sexual positions. ${He} learns to balance ${himself} on tiptoe for the challenge of standing anal sex without support.`);
r.push(App.UI.DOM.makeElement("span", `${His} sexual skills have improved.`, "lime"));
r.push(slaveSkillIncrease('anal', slave, trainingEfficiency));
} else if (slave.skill.whoring <= 10) {
r.push(`Since ${he}'s dangerously naïve about selling sex, you teach ${him} the basics of self protection and business.`);
r.push(App.UI.DOM.makeElement("span", `${His} prostitution skills have improved.`, "lime"));
r.push(slaveSkillIncrease('whoring', slave, trainingEfficiency));
} else if (slave.skill.entertainment <= 10) {
r.push(`Since ${he}'s rough and unskilled at entertainment, you teach ${him} the basics of polite conversation, music, and dance.`);
r.push(App.UI.DOM.makeElement("span", `${His} entertainment skills have improved.`, "lime"));
r.push(slaveSkillIncrease('entertainment', slave, trainingEfficiency));
} else if (slave.skill.whoring <= 30) {
r.push(`Since ${he} has only basic entertainment skills, you teach ${him} to steer clients to more lucrative sex acts.`);
r.push(App.UI.DOM.makeElement("span", `${His} prostitution skills have improved.`, "lime"));
r.push(slaveSkillIncrease('whoring', slave, trainingEfficiency));
} else if (slave.skill.entertainment <= 30) {
r.push(`Since ${he} has only basic entertainment skills, you teach ${him} more about poise and Free Cities etiquette.`);
r.push(App.UI.DOM.makeElement("span", `${His} entertainment skills have improved.`, "lime"));
r.push(slaveSkillIncrease('entertainment', slave, trainingEfficiency));
} else if (slave.skill.whoring <= 60 && V.PC.career === "escort") {
r.push(`${He} is already a skilled whore, so you teach ${him} some of your personal tricks to squeezing every last drop from a patron.`);
r.push(App.UI.DOM.makeElement("span", `${His} prostitution skills have improved.`, "lime"));
r.push(slaveSkillIncrease('whoring', slave, trainingEfficiency));
} else if (slave.skill.entertainment <= 60 && V.PC.career === "escort") {
r.push(`${He} is already skilled at luring in partners, so you teach ${him} some of your sexual persuasion techniques.`);
r.push(App.UI.DOM.makeElement("span", `${His} entertainment skills have improved.`, "lime"));
r.push(slaveSkillIncrease('entertainment', slave, trainingEfficiency));
} else if (slave.skill.vaginal <= 30 && slave.vagina >= 0) {
r.push(`Since ${he} has only rudimentary vaginal skills,`);
if (slave.vagina === 0 && !canDoVaginal(slave)) {
r.push(`is in chastity, and a virgin on top of that,`);
} else if ((slave.vagina === 0)) {
r.push(`and still a virgin,`);
} else {
r.push(`and is in chastity,`);
}
r.push(`you spend time teaching ${him} sexual positions and how to someday use ${his} pussy to its potential. You have ${him} work ${his} Kegel muscles all week to prepare ${him} for the future.`);
r.push(App.UI.DOM.makeElement("span", `${His} vaginal skills have improved,`, "lime"));
r.push(`but it's a slow process without practical experience.`);
r.push(slaveSkillIncrease('vaginal', slave, vaginalTrainingEfficiency));
} else if (slave.skill.anal <= 30) {
r.push(`Since ${he} has only rudimentary anal skills,`);
if (slave.anus === 0 && !canDoAnal(slave)) {
r.push(`is an anal virgin, and is in chastity to top it off,`);
} else if ((slave.anus === 0)) {
r.push(`and is an anal virgin,`);
} else {
r.push(`and is in anal chastity,`);
}
r.push(`you spend time teaching ${him} sexual positions and how to someday use ${his} asshole to its potential. You have ${him} work ${his} Kegel muscles and anal sphincter all week to prepare ${him} for the future.`);
r.push(App.UI.DOM.makeElement("span", `${His} anal skills have improved,`, "lime"));
r.push(`but it's a slow process without practical experience.`);
r.push(slaveSkillIncrease('anal', slave, analTrainingEfficiency));
} else if (slave.skill.vaginal < 100 && slave.vagina >= 0) {
r.push(`${He} already a skilled pussy slut,`);
if (slave.vagina === 0 && !canDoVaginal(slave)) {
r.push(`despite ${his} chastity and virginity,`);
} else if ((slave.vagina === 0)) {
r.push(`despite still being a virgin,`);
} else {
r.push(`despite ${his} chastity,`);
}
r.push(`but lacks practical experience. You train ${him} in the basics of`);
if (V.seePee === 1) {
r.push(`urine play,`);
}
r.push(`massage, pet play, needle play, and many other niche skills. You also work with ${him} to develop a personal regimen of vaginal muscle exercises. This will enable ${him} to squeeze and massage dicks with ${his} practiced vaginal walls. You spend time expanding ${his} knowledge of sexual positions.`);
r.push(App.UI.DOM.makeElement("span", `${His} vaginal skills have improved,`, "lime"));
r.push(`but it's a slow process without proper training.`);
r.push(slaveSkillIncrease('vaginal', slave, vaginalTrainingEfficiency));
} else if (slave.skill.anal < 100) {
r.push(`${He} already a skilled anal bitch,`);
if (slave.anus === 0 && !canDoAnal(slave)) {
r.push(`despite ${his} anus chastity and virginity,`);
} else if ((slave.anus === 0)) {
r.push(`despite still being an anal virgin,`);
} else {
r.push(`despite ${his} anal chastity,`);
}
r.push(`but lacks practical experience. You train ${him} in the basics of`);
if (V.seePee === 1) {
r.push(`urine play,`);
}
r.push(`massage, pet play, needle play, and many other niche skills. You also expand ${his} knowledge of sexual positions. ${He} learns to balance ${himself} on tiptoe for the challenge of standing anal sex without support.`);
r.push(App.UI.DOM.makeElement("span", `${His} anal skills have improved,`, "lime"));
r.push(`but it's a slow process without proper training.`);
r.push(slaveSkillIncrease('anal', slave, analTrainingEfficiency));
} else {
r.push(`${He}'s learned everything you can teach, and is now a masterful`);
if (slave.skill.vaginal >= 100) {
r.push(`slut;`);
} else if ((slave.vagina === 0)) {
r.push(`virgin slut;`);
} else if (slave.dick === 0 && slave.scrotum === 0 && slave.vagina === -1) {
r.push(`null slave;`);
} else if ((slave.dick > 0) && (slave.balls === 0)) {
r.push(`gelded bitch;`);
} else if (slave.dick > 0 && slave.boobs > 300 && slave.vagina === -1) {
r.push(`shemale slut;`);
} else if ((slave.chastityVagina)) {
r.push(`slut, notwithstanding ${his} chastity belt;`);
} else {
r.push(`slave;`);
}
r.push(App.UI.DOM.makeElement("span", `${his} assignment has defaulted to fostering devotion.`, "yellow"));
pa.trainingRegimen = "build her devotion";
}
r.push(IncreasePCSkills('slaving', 0.01));
slave.training = 0;
break;
case "break her will":
slave.devotion -= 4;
if (slave.trust > 20) {
slave.trust -= 15;
} else {
slave.trust -= 10;
}
if (slave.devotion < -80) {
r.push(`You bind ${him} securely to a special chair in your`);
if (!canDoAnal(slave) || (slave.vagina > -1 && !canDoVaginal(slave))) {
r.push(`office with ${his} holes exposed and vulnerable.`);
} else {
r.push(`office.`);
}
r.push(`Yours is a busy week, with a lot of business interviews, so whenever the interviewee has pleased you, you offer him or her the use of the poor slave's body on the way out. The chair is specially designed so that the seat, back and armrests can rotate vertically relative to the ground, so ${his} body can be spun to make any of ${his} available holes convenient. Fortunately, it also has a pan beneath it to stop the generous stream of ejaculate and lubricant that drips from ${him} from besmirching the floor. ${He} can't help but`);
r.push(App.UI.DOM.makeElement("span", `become used to the abuse`, "gold"));
r.push(`despite ${his}`);
r.push(App.UI.DOM.makeElement("span", `resentment.`, "mediumorchid"));
r.push(`${VCheck.Both(slave, 10, 5)}`);
} else if ((slave.devotion < -60) && (slave.anus !== 0)) {
r.push(`${slave.slaveName} is really wild and stern measures must be taken. So, ${he} is`);
if (!canDoAnal(slave) || (slave.vagina > -1 && !canDoVaginal(slave))) {
r.push(`stripped of ${his} protective chastity and`);
}
r.push(`forced, struggling and screaming, into a latex suit that completely blinds, deafens, and immobilizes ${him}. So attired, the only places where ${he} can feel any sensations at all other than endless latex darkness are ${his}`);
if ((slave.dick !== 0) && (slave.vagina !== -1)) {
r.push(`pussy, and cock`);
} else if ((slave.dick !== 0)) {
r.push(`cock`);
} else {
r.push(`pussy`);
}
r.push(`and backdoor. For ${him}, time becomes a featureless, torturous boredom broken only by occasional rape. Eventually, ${he} becomes so`);
r.push(App.UI.DOM.makeElement("span", `desperate`, "mediumorchid"));
r.push(`for something, anything, to break the monotony that ${he} begins to look forward to the next time a phallus will`);
r.push(App.UI.DOM.makeElement("span", `force`, "gold"));
r.push(`its way into ${him}.`);
r.push(`${VCheck.Both(slave, 6, 3)}`);
} else if ((slave.devotion < -50) && (slave.hStyle !== "shaved") && (random(1, 100) > 90)) {
r.push(`${slave.slaveName} needs to be taken down a peg. Fortunately, you know just the thing. You bring ${him} into a bathroom, place a chair in the tub, and tie ${him} securely to the chair. ${He} isn't too perturbed — ${he} probably expects a facefuck under running water or something like that — but ${he} begins to cry when ${he}`);
if (canHear(slave)) {
r.push(`hears you switch on`);
} else if (canSee(slave)) {
r.push(`sees you pull out`);
} else {
r.push(`feels the cool touch of`);
}
r.push(`an electric shaver. ${He} luxuriates in ${his} hair, flaunting it every chance ${he} gets; it's something of value in a bleak slave world and ${he} sobs as you shave it off ${him}. Afterward, ${he} sniffles and`);
r.push(App.UI.DOM.makeElement("span", `looks at you in fear`, "gold"));
r.push(`and`);
r.push(App.UI.DOM.makeElement("span", `unhappiness`, "mediumorchid"));
r.push(`when you rub ${his} newly bald scalp. Of course, there's always the body modification studio if you ever feel like ${he}'s earned ${his} hair back.`);
slave.hStyle = "shaved";
slave.hLength = 0;
} else if (canDoAnal(slave) && (random(1, 100) < 10)) {
r.push(`Sometimes, there's no need to be clever. The first indication ${he} gets that you've decided to train ${him} this week is when ${he} wakes suddenly in the middle of the night to the burning sensation of a`);
if (V.PC.dick !== 0) {
r.push(`cock`);
} else {
r.push(`strap-on`);
}
r.push(`being shoved up ${his} ass. Not knowing what is happening, ${he} struggles, but since ${he} was already lying in ${his} bed you just lie on top of ${him} and press ${his} wriggling body into the sheets as you assrape ${him}. For the rest of the week, ${he} finds ${himself} grabbed and fucked. ${He} can't help but`);
r.push(App.UI.DOM.makeElement("span", `become used to the abuse`, "gold"));
r.push(`despite ${his}`);
r.push(App.UI.DOM.makeElement("span", `resentment.`, "mediumorchid"));
r.push(`${VCheck.Anal(slave, 6)}`);
} else if (canDoVaginal(slave) && (random(1, 100) < 10)) {
r.push(`Sometimes, there's no need to be clever. The first indication ${he} gets that you've decided to train ${him} this week is when ${he} wakes suddenly in the middle of the night to the filling sensation of a`);
if (V.PC.dick !== 0) {
r.push(`cock`);
} else {
r.push(`strap-on`);
}
r.push(`being shoved up into ${his} pussy. Not knowing what is happening, ${he} struggles, but since ${he} was already lying in ${his} bed you just lie on top of ${him} and press ${his} wriggling body into the sheets as you rape ${him}. For the rest of the week, ${he} finds ${himself} grabbed and fucked. ${He} can't help but`);
r.push(App.UI.DOM.makeElement("span", `become used to the abuse`, "gold"));
r.push(`despite ${his}`);
r.push(App.UI.DOM.makeElement("span", `resentment.`, "mediumorchid"));
r.push(`${VCheck.Vaginal(slave, 6)}`);
} else {
r.push(`${slave.slaveName} violently resists you whenever ${he} can. This cannot be permitted, so after a particularly severe bout of physical resistance, you decide to employ an old method of breaking a mind without damaging a body. You secure ${him} to a board and gently wash ${his} face with a wet cloth. ${He} spits in defiance, only to be surprised when you lower the board so that ${his} feet are higher than ${his} head. You tie the cloth around ${his} face. A thin stream of water onto the cloth produces all the feeling and none of the reality of a slow death by drowning. Waterboarding isn't much use for extracting information, but it works well for`);
r.push(App.UI.DOM.makeElement("span", `slavebreaking.`, "gold"));
}
if (V.PC.skill.slaving >= 100) {
r.push(`Your`);
r.push(App.UI.DOM.makeElement("span", `slavebreaking experience`, "springgreen"));
r.push(`allows you to apply`);
r.push(App.UI.DOM.makeElement("span", `exquisitely calibrated`, "gold"));
r.push(`mental pressure.`);
slave.trust -= 2;
}
if ((slave.trust < -20) && (slave.fetishKnown === 0)) {
r.push(`${He} is now fully broken;`);
r.push(App.UI.DOM.makeElement("span", `${his} training assignment has defaulted to exploring ${his} sexuality.`, "yellow"));
pa.trainingRegimen = "explore her sexuality";
r.push(IncreasePCSkills('slaving', 0.5));
} else if ((slave.trust < -20)) {
r.push(`${He} is now fully broken;`);
r.push(App.UI.DOM.makeElement("span", `${his} training assignment has defaulted to fostering devotion.`, "yellow"));
pa.trainingRegimen = "build her devotion";
r.push(IncreasePCSkills('slaving', 0.5));
} else if ((slave.devotion > 20) && (slave.fetishKnown === 0)) {
r.push(`${He} is now obedient and attentive;`);
r.push(App.UI.DOM.makeElement("span", `${his} training assignment has defaulted to exploring ${his} sexuality.`, "yellow"));
pa.trainingRegimen = "explore her sexuality";
r.push(IncreasePCSkills('slaving', 0.5));
} else if ((slave.devotion > 20)) {
r.push(`${He} is now obedient and attentive;`);
r.push(App.UI.DOM.makeElement("span", `${his} training assignment has defaulted to fostering devotion.`, "yellow"));
pa.trainingRegimen = "build her devotion";
r.push(IncreasePCSkills('slaving', 0.5));
}
r.push(IncreasePCSkills('slaving', 0.2));
slave.training = 0;
break;
case "harshly break her will":
slave.devotion -= 5;
slave.trust -= 10;
healthDamage(slave, 1);
if (slave.fetish === "mindbroken") {
slave.minorInjury = either("black eye", "bruise", "split lip");
r.push(`${slave.slaveName}'s mind is broken. ${He} is a boring slave to torture, though ${his} body will still occasionally react to intense pain. No matter what you try, nothing really reaches ${his} destroyed soul. The agonies do`);
r.push(App.UI.DOM.makeElement("span", `affect ${his} health, leaving ${him} with a ${slave.minorInjury}.`, "red"));
} else if ((slave.devotion < -90)) {
slave.minorInjury = either("black eye", "bruise", "split lip");
r.push(`Old traditions should not be forgotten. The scourge is the oldest slavebreaking tool known to man, and to slave${girl}s who do not properly obey ${womenP}. For the whole week, whenever ${slave.slaveName} disobeys you or whenever the whim strikes, you bind ${him} securely and flog ${him} without mercy. You use a soft leather appliance and apply medical care afterward, so there will be no permanent scarring, but`);
r.push(App.UI.DOM.makeElement("span", `${his} health is affected and the beatings leave ${him} with a ${slave.minorInjury}.`, "red"));
r.push(`${He} is subjected to`);
r.push(App.UI.DOM.makeElement("span", `immense mental pressure`, "mediumorchid"));
r.push(App.UI.DOM.makeElement("span", `in favor of obedience.`, "gold"));
} else if ((slave.devotion < -50) && canDoAnal(slave)) {
slave.minorInjury = either("black eye", "bruise", "split lip");
r.push(`${slave.slaveName} is willing to physically defend ${himself} against sexual abuse. Training ${him} out of this rebelliousness is a nice sexual change of pace. For the entire week, whenever ${he} commits some minor sin, you fight ${him} into a state of physical submission and then sodomize ${him}. This usually requires an extended beating to render ${him} quiescent, followed by holding ${him} down so that ${his} struggles do not dislodge your`);
if (V.PC.dick !== 0) {
r.push(`cock`);
} else {
r.push(`strap-on`);
}
r.push(`from ${his} delightfully spasming butthole. ${He} is subjected to`);
r.push(App.UI.DOM.makeElement("span", `immense mental pressure`, "mediumorchid"));
r.push(App.UI.DOM.makeElement("span", `in favor of obedience,`, "gold"));
r.push(`but the extreme stress`);
r.push(App.UI.DOM.makeElement("span", `affects ${his} health, leaving ${him} with a ${slave.minorInjury}.`, "red"));
r.push(`${VCheck.Anal(slave, 6)}`);
} else if ((slave.scrotum > 0)) {
slave.minorInjury = either("black eye", "bruise", "split lip");
r.push(`${slave.slaveName} has indefensible, obvious targets for harsh breaking. Whenever ${he} falls short in the smallest way, you bind ${him} in such a way that ${his}`);
if (slave.dick) {
r.push(`cock and`);
}
r.push(`balls are dangling defenseless, and ${he} cannot move to avoid blows. You then indulge your inventiveness, applying clips, weights, and simple beatings to ${his}`);
if (slave.dick) {
r.push(`member and`);
}
r.push(`sack, while beating the rest of ${him} thoroughly. ${He} is subjected to`);
r.push(App.UI.DOM.makeElement("span", `immense mental pressure`, "mediumorchid"));
r.push(App.UI.DOM.makeElement("span", `in favor of obedience,`, "gold"));
r.push(`but the beatings`);
r.push(App.UI.DOM.makeElement("span", `affect ${his} health, leaving ${him} with a ${slave.minorInjury}.`, "red"));
} else if ((slave.dick > 0)) {
slave.minorInjury = either("black eye", "bruise", "split lip");
r.push(`${slave.slaveName} has an indefensible, obvious target for harsh breaking. Whenever ${he} falls short in the smallest way, you bind ${him} in such a way that ${his} cock is dangling defenseless, and ${he} cannot move to avoid blows. You then indulge your inventiveness, applying clips, weights, and simple beatings to ${his} member, while beating the rest of ${him} thoroughly. ${He} is subjected to`);
r.push(App.UI.DOM.makeElement("span", `immense mental pressure`, "mediumorchid"));
r.push(App.UI.DOM.makeElement("span", `in favor of obedience,`, "gold"));
r.push(`but the beatings`);
r.push(App.UI.DOM.makeElement("span", `affect ${his} health, leaving ${him} with a ${slave.minorInjury}.`, "red"));
} else if ((slave.clit > 0)) {
slave.minorInjury = either("black eye", "bruise", "split lip");
r.push(`${slave.slaveName} has an indefensible, obvious target for harsh breaking. Whenever ${he} falls short in the smallest way, you bind ${him} in such a way that ${his} unusually large clit is visible and defenseless, and ${he} cannot move to avoid blows. You then indulge your inventiveness, applying clips, weights, and simple slaps to ${his} womanhood, while beating the rest of ${him} thoroughly. ${He} is subjected to`);
r.push(App.UI.DOM.makeElement("span", `immense mental pressure`, "mediumorchid"));
r.push(App.UI.DOM.makeElement("span", `in favor of obedience,`, "gold"));
r.push(`but the beatings`);
r.push(App.UI.DOM.makeElement("span", `affect ${his} health, leaving ${him} with a ${slave.minorInjury}.`, "red"));
} else if ((slave.nipples === "huge")) {
slave.minorInjury = either("black eye", "bruise", "split lip");
r.push(`${slave.slaveName}'s nipples beg for punishment. Whenever ${he} falls short in the smallest way, you bind ${him} in such a way that breasts dangle, ${his} nipples are free and at your mercy, and ${he} can only move enough to cause ${his} boobs to sway erotically when ${he} flinches with pain. You then indulge your inventiveness, applying clips, weights, and simple abuse to ${his} nipples, while beating the rest of ${him} thoroughly. ${He} is subjected to`);
r.push(App.UI.DOM.makeElement("span", `immense mental pressure`, "mediumorchid"));
r.push(App.UI.DOM.makeElement("span", `in favor of obedience,`, "gold"));
r.push(`but the beatings`);
r.push(App.UI.DOM.makeElement("span", `affect ${his} health, leaving ${him} with a ${slave.minorInjury}.`, "red"));
} else if ((slave.anus > 0) && canDoAnal(slave)) {
r.push(`You bind ${slave.slaveName} with the head of an uncomfortably large dildo just inside ${his} anus. The setup offers ${him} a choice: ${he} can either stand and have only tip up ${his} butt, or ${he} can take ${his} weight off ${his} legs, and take a massive phallus up the ass. You keep ${him} like this for hours on end. At the start ${he} tries to stand all the time. Then, ${he} tries to rest on it for short periods, but realizes that this up and down motion really just leads to ${him} assraping ${himself}. Finally, ${he} becomes so`);
r.push(App.UI.DOM.makeElement("span", `tired and apathetic`, "red"));
r.push(`that ${he} accepts having a dildo up the ass, and sits down. ${He} is subjected to`);
r.push(App.UI.DOM.makeElement("span", `immense mental pressure`, "mediumorchid"));
r.push(App.UI.DOM.makeElement("span", `in favor of obedience,`, "gold"));
r.push(`but the extreme stress`);
r.push(App.UI.DOM.makeElement("span", `affects ${his} health.`, "red"));
slave.health.tired = Math.clamp(slave.health.tired + 20, 0, 1000);
} else {
slave.minorInjury = either("black eye", "bruise", "split lip");
r.push(`The first time you force ${slave.slaveName} to please you this week, ${he} could be forgiven for thinking sexual abuse is to be ${his} sentence. By the end of the week ${he} remembers only fearing rape as a pleasant dream. This change is due to your program of roughly using ${him} whenever ${he} shows any sign of sleeping. You reward ${him} with a short doze now and then, but ${he} is slowly reduced to a nearly insensible state of`);
r.push(App.UI.DOM.makeElement("span", `agonizing fatigue.`, "red"));
r.push(`${He} is subjected to`);
r.push(App.UI.DOM.makeElement("span", `immense mental pressure`, "mediumorchid"));
r.push(App.UI.DOM.makeElement("span", `in favor of obedience,`, "gold"));
r.push(`but the extreme stress and rough treatment`);
r.push(App.UI.DOM.makeElement("span", `affect ${his} health and leave ${him} with a ${slave.minorInjury}.`, "red"));
if (slave.health.tired < 120) {
slave.health.tired = 120;
}
}
if (slave.fetish !== "mindbroken") {
seed = random(1, 100);
if (seed > 90) {
r.push(`This abuse has shattered ${his} already-fragile self;`);
r.push(App.UI.DOM.makeElement("span", `${his} mind has been broken.`, "red"));
slave.fetish = "mindbroken";
slave.sexualFlaw = "none";
slave.behavioralFlaw = "none";
} else if ((seed > 80) && (slave.behavioralFlaw !== "hates men") && (slave.behavioralFlaw !== "hates women")) {
r.push(`This abuse has associated`);
if (V.PC.dick !== 0) {
r.push(`cocks and masculinity with pain in ${his} mind;`);
r.push(App.UI.DOM.makeElement("span", `${he} now instinctively hates men.`, "red"));
slave.behavioralFlaw = "hates men";
} else {
r.push(`pussies and femininity with pain in ${his} mind;`);
r.push(App.UI.DOM.makeElement("span", `${he} now instinctively hates women.`, "red"));
slave.behavioralFlaw = "hates women";
}
} else if ((seed > 70) && (slave.behavioralFlaw !== "odd")) {
r.push(`This abuse has changed ${him} a bit;`);
r.push(App.UI.DOM.makeElement("span", `${he} has begun to act strangely.`, "red"));
slave.behavioralFlaw = "odd";
}
}
r.push(`A week of agony`);
if (slave.trust > 20) {
r.push(App.UI.DOM.makeElement("span", `reduces ${his} trust`, "gold"));
r.push(`in you.`);
slave.trust -= 10;
} else {
r.push(App.UI.DOM.makeElement("span", `encourages ${his} fear`, "gold"));
r.push(`of you.`);
slave.trust -= 10;
}
if (V.PC.skill.slaving >= 100) {
r.push(`Your`);
r.push(App.UI.DOM.makeElement("span", `slave-breaking experience`, "springgreen"));
r.push(`allows you to apply`);
r.push(App.UI.DOM.makeElement("span", `exquisite agony`, "gold"));
r.push(`without any increase in damage.`);
slave.trust -= 5;
}
if (slave.trust < -20) {
r.push(`${He} is now fully broken;`);
r.push(App.UI.DOM.makeElement("span", `${his} training assignment has defaulted to fostering devotion.`, "yellow"));
pa.trainingRegimen = "build her devotion";
r.push(IncreasePCSkills('slaving', 1));
} else if ((slave.devotion > 20)) {
r.push(`${He} is now obedient and attentive;`);
r.push(App.UI.DOM.makeElement("span", `${his} training assignment has defaulted to fostering devotion.`, "yellow"));
pa.trainingRegimen = "build her devotion";
r.push(IncreasePCSkills('slaving', 1));
}
r.push(IncreasePCSkills('slaving', 0.4));
slave.training = 0;
break;
case "fix her behavioral flaw":
if (slave.behavioralFlaw === "arrogant") {
r.push(`${slave.slaveName} seems to think ${he}'s better than everyone else. Naturally, as ${his} owner you have the means to correct this sad misapprehension. As you train ${him} during the week, you ensure that ${he} submits to anyone and everyone. ${He} is rarely permitted to enjoy sex under your tutelage, but is instead required to use ${his} mouth and hands to get others off. ${He} cleans, washes, and serves.`);
seX(slave, "oral", V.PC, "penetrative", 10);
} else if ((slave.behavioralFlaw === "bitchy")) {
r.push(`${slave.slaveName} always has a cutting remark ready. The more obedient ${he}'s feeling, the more ${he} directs them at people other than ${his} ${getWrittenTitle(slave)}, but it's still a serious problem. When you train ${him} this week, you keep a sharp ear on ${him}. Whenever ${he} bitches out, you require ${him} to promptly offer the target of ${his} pissiness the use of ${his} mouth. ${He}'ll either shut ${his} mouth or have it roughly filled.`);
seX(slave, "oral", V.PC, "penetrative", 10);
} else if ((slave.behavioralFlaw === "odd")) {
r.push(`${slave.slaveName} is odd. ${He} behaves strangely, speaking randomly at times and doing things for no apparent reason. In earlier times this might have been considered 'adorable' or 'unique,' but in a slave it's just annoying. You punish ${him} severely whenever ${he} fails to do or say the right thing for the right reasons.`);
} else if ((slave.behavioralFlaw === "hates men")) {
r.push(`${slave.slaveName} does not like spending time around men. This is of course a huge obstacle to ${him} performing ${his} duties well. Breaking ${him} of this is an unusually difficult task,`);
if (V.PC.dick !== 0) {
r.push(`so you approach it subtly. You simply require ${him} to spend as much time as possible around you, eating, sleeping, and going about normal business. ${He} already understood what you were to your slaves, sexually; ${he} now is accustomed to who you are when your cock isn't pounding a nice hole.`);
} else {
r.push(`all the more so since you cannot use yourself as a teaching tool. Fortunately, there are any number of men coming and going as you do business, and it's trivial to force ${him} to rely on them for social contact.`);
}
seX(slave, "oral", V.PC, "penetrative", 10);
} else if ((slave.behavioralFlaw === "hates women")) {
r.push(`${slave.slaveName} does not like spending time around girls. This is of course a huge obstacle to ${him} performing ${his} duties well. Breaking ${him} of this is an unusually difficult task,`);
if (V.PC.dick !== 0) {
r.push(`all the more so since you cannot use your penis-equipped self as a teaching tool. Fortunately, there are any number of girls around, and it's trivial to force ${him} to rely on them for social contact.`);
} else {
r.push(`so you approach it subtly. You simply require ${him} to spend as much time as possible around you, eating, sleeping, and going about normal business. ${He} already understood what you were to your slaves, sexually; ${he} now is accustomed to who you are when you're not fucking.`);
}
seX(slave, "oral", V.PC, "penetrative", 10);
} else if ((slave.behavioralFlaw === "anorexic")) {
r.push(`${slave.slaveName} has an unreasonable, psychologically based belief that ${he} is too fat. This is a serious enough condition in the clinical sense that the usual routine of punishment will not affect it. Instead, you apply a regime of positive reinforcement: ${he} is given attention and approval for ${his} curves when they grow.`);
} else if ((slave.behavioralFlaw === "gluttonous")) {
r.push(`${slave.slaveName}'s diet is already closely controlled, but the impulse to overeat is strong in ${him} and like most gluttons ${he} manages to be quite cunning. You watch ${him} closely and administer harsh punishment to associate overeating with pain in ${his} mind.`);
} else if ((slave.behavioralFlaw === "liberated")) {
r.push(`${slave.slaveName} has not yet accepted that ${his} world has changed. You could wait for the weight of circumstances to bear it home to ${him}, but you accelerated the process by giving ${him} as many trivial orders as possible. ${He} is required to receive orders to perform the most humiliatingly obvious of tasks.`);
} else if ((slave.behavioralFlaw === "devout")) {
r.push(`${slave.slaveName} remains devoted to an old world faith that serves ${him} as a reservoir of mental resilience. You carefully select pressure points to break ${him} of this by forcing ${him} to violate ${his} faith's purity codes, constantly. ${He} is forced to eat, dress, and fuck in ways that convince ${him} that ${he} must either condemn ${himself} as an irredeemable sinner, or abandon ${his} beliefs.`);
}
slave.training += 40;
// fixing is easier than softening
if (slave.training < 100) {
r.push(`You make progress, but ${he}'s the same at the end of the week.`);
} else {
slave.training = 0;
r.push(`By the end of the week,`);
r.push(App.UI.DOM.makeElement("span", `you break ${him} of ${his} bad habits.`, "green"));
r.push(App.UI.DOM.makeElement("span", `${His} obedience has increased.`, "hotpink"));
slave.behavioralFlaw = "none";
slave.devotion += 4;
}
if (slave.fetishKnown !== 1) {
if (slave.fetish === "submissive") {
r.push(`${He} really takes to your close attention;`);
r.push(App.UI.DOM.makeElement("span", `${he}'s a natural submissive!`, "pink"));
(slave.fetishKnown = 1);
} else if ((slave.fetish === "cumslut")) {
r.push(`While you're giving ${his} personal attention, you discover by chance that`);
r.push(App.UI.DOM.makeElement("span", `${he} has an oral fixation!`, "pink"));
(slave.fetishKnown = 1);
} else if ((slave.fetish === "masochist")) {
r.push(`While you're giving ${his} personal correction, you discover by chance that`);
r.push(App.UI.DOM.makeElement("span", `${he} likes pain!`, "pink"));
(slave.fetishKnown = 1);
} else if ((slave.fetish === "humiliation")) {
r.push(`While you're giving ${his} personal attention in public, you discover by chance that`);
r.push(App.UI.DOM.makeElement("span", `${he} likes humiliation!`, "pink"));
(slave.fetishKnown = 1);
}
}
if (slave.behavioralFlaw === "none") {
r.push(`With ${his} behavioral flaw trained out,`);
if (slave.sexualFlaw === "none") {
if ((slave.devotion <= 20) && (slave.trust >= -20)) {
r.push(App.UI.DOM.makeElement("span", `${his} training assignment has defaulted to breaking ${his} will.`, "yellow"));
pa.trainingRegimen = "break her will";
} else {
r.push(App.UI.DOM.makeElement("span", `${his} training assignment has defaulted to fostering devotion.`, "yellow"));
pa.trainingRegimen = "build her devotion";
}
} else {
r.push(App.UI.DOM.makeElement("span", `${his} training assignment has defaulted to addressing ${his} sexual flaw.`, "yellow"));
pa.trainingRegimen = "fix her sexual flaw";
}
}
r.push(IncreasePCSkills('slaving', currentSlaveValue));
break;
case "fix her sexual flaw":
switch (slave.sexualFlaw) {
case "hates oral":
r.push(`${slave.slaveName} has a powerful gag reflex. As a result, it's pretty unpleasant to receive oral sex from ${him}, no matter how hard ${he} tries. You apply various inventive techniques for addressing this, all of which involve requiring ${him} to repeatedly deepthroat some object or other.`);
seX(slave, "oral", V.PC, "penetrative", 10);
break;
case "hates anal":
if (canDoAnal(slave)) {
r.push(`${slave.slaveName} does not like it up the butt. ${He} views ${his} rectum as a dirty place that should not be involved in sex. Naturally, this is an unacceptable view for a Free Cities sex slave to hold. The best way to address this foolishness is by long practice, so you take every opportunity to stick things up ${his} behind, and when you bore of that, you require ${him} to assfuck ${himself} with a dildo instead.`);
r.push(`${VCheck.Anal(slave, 10)}`);
} else {
r.push(`${slave.slaveName} does not like it up the butt. ${He} views ${his} rectum as a dirty place that should not be involved in sex. Naturally, this is an unacceptable view for a Free Cities sex slave to hold. The best way to address this foolishness is by long practice, so you take every opportunity to toy with ${his} rear. The inability to actually penetrate ${his} ass hinders your efforts, however.`);
slave.training -= 20;
// more difficult training
}
break;
case "hates penetration":
if (slave.vagina > -1) {
r.push(`${slave.slaveName} does not like sex. In earlier times, it was accepted and understood that some, particularly some women, had a low sex drive. No Free Cities sex slave is allowed to engage in such foolishness. It's a hard flaw to fix, and for now you substitute obedience for honest enjoyment, and just get ${him} used to strong stimulation without putting anything in ${him}.`);
} else if (canDoAnal(slave)) {
r.push(`${slave.slaveName} does not like it up the butt. ${He} views ${his} rectum as a dirty place that should not be involved in sex. Naturally, this is an unacceptable view for a Free Cities slut to hold. The best way to address this foolishness is by long practice, so you take every opportunity to stick things up ${his} behind, and when you bore of that, you require ${him} to assfuck ${himself} instead.`);
r.push(`${VCheck.Anal(slave, 10)}`);
} else {
r.push(`${slave.slaveName} does not like it up the butt. ${He} views ${his} rectum as a dirty place that should not be involved in sex. Naturally, this is an unacceptable view for a Free Cities slut to hold. It's a hard flaw to fix when you can't introduce ${his} anus to things, but for now you substitute obedience for honest enjoyment, and just get ${him} used to strong stimulation without putting anything in ${him}.`);
}
break;
case "apathetic":
r.push(`You are well practiced at forcing slaves to get you off or suffer punishment. To address ${slave.slaveName}'s sexual apathy, you adapt the method by requiring ${him} to work ${his} mouth under your desk while you do business. ${He} does all the work, start to finish, and ${he} does it well if ${he} wants to avoid pain.`);
seX(slave, "oral", V.PC, "penetrative", 10);
break;
case "crude":
r.push(`${slave.slaveName} does not pay enough attention to standards when having sex, leading to crude comments and unsexy noises. To remedy this, you have ${him} give you oral regularly: a sacrifice, but you make sacrifices for your slaves' improvement. Oral sex can be difficult to make elegant, but you work with ${him} to make it as pretty as possible, and spank ${him} cruelly when ${he} fails.`);
seX(slave, "oral", V.PC, "penetrative", 10);
break;
case "judgemental":
r.push(`${slave.slaveName} has a bad habit of being sexually judgemental, belittling anyone who doesn't live up to ${his} pretensions of standards. To ${his} regret, ${he} frequently implies that ${he} prefers partners with big dicks: regret, because whenever ${he}'s caught doing this, you have ${him} brought to you and`);
if (V.PC.dick !== 0) {
r.push(`apply your big dick`);
} else {
r.push(`apply a big dildo`);
}
if ((slave.anus > 0) && canDoAnal(slave)) {
r.push(`to ${his} anus without mercy.`);
r.push(`${VCheck.Anal(slave, 10)}`);
} else {
r.push(`to ${his} gagging throat.`);
seX(slave, "oral", V.PC, "penetrative", 10);
}
break;
case "shamefast":
r.push(`Fortunately, shamefastness is a simple problem to break. Whenever you feel the inclination, you strip ${slave.slaveName} naked, drag ${him} out into whatever public space catches your fancy, and force ${him} to`);
if (V.PC.dick !== 0) {
r.push(`suck your dick.`);
} else {
r.push(`eat you out.`);
}
r.push(`To make sure ${he}'s really working over ${his} shame despite having ${his} face buried against you, you force ${him} to spread ${his} buttocks to show off ${his} asshole while ${he}`);
if (V.PC.dick !== 0) {
r.push(`sucks.`);
} else {
r.push(`licks you.`);
}
seX(slave, "oral", V.PC, "penetrative", 10);
break;
case "idealistic":
r.push(`${slave.slaveName} still sees sex in a naïve light, hoping to be romanced, teased to arousal, and asked permission. This might be an annoyingly ignorant outlook if it wasn't so amusing to break. By the tenth time you slap ${his} ${slave.skin} face at the slightest hesitation to`);
if (V.PC.dick !== 0) {
r.push(`suck your cock,`);
} else {
r.push(`eat your pussy,`);
}
r.push(`${his} illusions are guttering low.`);
seX(slave, "oral", V.PC, "penetrative", 10);
break;
case "repressed":
r.push(`${slave.slaveName}'s innocence and hesitations about sex are unlikely to survive much longer, but you decide to hurry the process along by making ${him}`);
if (V.PC.dick !== 0) {
r.push(`eat dick`);
} else {
r.push(`eat your pussy`);
}
r.push(`while masturbating. ${He}'s repressed enough that masturbation is still a partial punishment for ${him}, but ${he} usually gets ${himself} off anyway, shaking with release and sobbing with crushed illusions.`);
seX(slave, "oral", V.PC, "penetrative", 10);
break;
case "cum addict":
r.push(`${slave.slaveName} is utterly addicted to cum. You keep ${him} in your office whenever you can, and subject ${him} to a strict sexual diet of`);
if (canDoVaginal(slave)) {
r.push(`sex,`);
} else if (canDoAnal(slave)) {
r.push(`buttsex,`);
} else {
r.push(`breast play,`);
}
r.push(`no oral allowed, no matter how much ${he} begs to be permitted to`);
if (V.PC.dick !== 0) {
r.push(`suck you off.`);
} else {
r.push(`eat you out.`);
}
if (canDoVaginal(slave)) {
VCheck.Vaginal(slave, 10);
} else if (canDoAnal(slave)) {
VCheck.Anal(slave, 10);
}
break;
case "anal addict":
r.push(`${slave.slaveName} is utterly addicted to buttsex. You keep ${him} in your office whenever you can, and subject ${him} to a strict sexual diet of`);
if (canDoVaginal(slave)) {
r.push(`vanilla sex,`);
} else {
r.push(`oral and manual intercourse,`);
}
r.push(`no anal allowed, no matter how much ${he} begs you to stick something, anything, up ${his} ass.`);
if ((slave.vagina > -1) && canDoVaginal(slave)) {
VCheck.Vaginal(slave, 10);
} else {
seX(slave, "oral", V.PC, "penetrative", 10);
}
break;
case "attention whore":
r.push(`${slave.slaveName} is an obnoxious attention whore. You keep ${him} in your office and make love to ${him} whenever you can, but only whenever you're alone in the office. You even instruct ${V.assistant.name} not to bother you while the slave is receiving ${his} therapy.`);
if (canDoVaginal(slave)) {
VCheck.Vaginal(slave, 10);
} else if (canDoAnal(slave)) {
VCheck.Anal(slave, 10);
}
break;
case "breast growth":
r.push(`${slave.slaveName} is completely devoted to ${his} own tits. You keep ${him} in your office whenever you can,`);
if (canDoVaginal(slave)) {
r.push(`fucking ${him}`);
} else if (canDoAnal(slave)) {
r.push(`fucking ${his} ass`);
} else {
r.push(`fucking ${his} face`);
}
r.push(`in positions that offer ${his} boobs no stimulation at all. When you're not broadening ${his} sexual horizons, ${he}'s restrained to keep ${him} from touching ${his} own nipples, despite piteous begging.`);
if (canDoVaginal(slave)) {
VCheck.Vaginal(slave, 10);
} else if (canDoAnal(slave)) {
VCheck.Anal(slave, 10);
}
break;
case "abusive":
case "malicious":
r.push(`${slave.slaveName} seems to have forgotten that ${he}'s your bitch, so you remind ${him}. You keep ${him} in your office whenever ${he}'s not otherwise occupied, and hold ${him} down and fuck ${him} whenever you feel like it. It's been a long time since ${he} was on the bottom this regularly.`);
if (canDoVaginal(slave)) {
VCheck.Vaginal(slave, 10);
} else if (canDoAnal(slave)) {
VCheck.Anal(slave, 10);
}
break;
case "self hating":
r.push(`${slave.slaveName} hates ${himself} much more than is normal for a well trained sex slave, to the point where ${he} actively seeks out unhealthy and destructive assignments. You build up ${his} sexual self esteem with a steady diet of`);
if (canDoVaginal(slave)) {
r.push(`missionary lovemaking,`);
} else if (canDoAnal(slave)) {
r.push(`gentle anal loving,`);
} else {
r.push(`gentle oral sex,`);
}
r.push(`and make sure to praise ${him} and keep ${his} spirits up as much as you can.`);
if (canDoVaginal(slave)) {
VCheck.Vaginal(slave, 10);
} else if (canDoAnal(slave)) {
VCheck.Anal(slave, 10);
}
break;
case "neglectful":
r.push(`${slave.slaveName} has given up on ${his} own sexual pleasure to an extent, focusing only on getting others off. You keep ${him} in your office and play with ${him} regularly, making a game of getting ${him} off as often as possible. You're careful to use other slaves for your own pleasure.`);
if (canDoVaginal(slave)) {
VCheck.Vaginal(slave, 10);
} else if (canDoAnal(slave)) {
VCheck.Anal(slave, 10);
}
break;
case "breeder":
r.push(`${slave.slaveName} has become so sexually obsessed with pregnancy that impregnation holds less interest for ${him} than being pregnant.`);
if (slave.pregKnown === 1) {
r.push(`Since ${he}'s pregnant, getting ${him} out of this perversion is more difficult than just fucking ${him}.`);
} else if (!canDoAnal(slave)) {
r.push(`Fortunately, all slaves have a convenient hole in which they can be fucked without even the slightest danger of pregnancy.`);
r.push(`Since ${his} ass is off-limits, you address the situation by fucking ${his} throat, and making sure ${he} enjoys it, too.`);
seX(slave, "oral", V.PC, "penetrative", 10);
} else if (slave.mpreg === 1) {
r.push(`Fortunately, all slaves have a convenient hole in which they can be fucked without even the slightest danger of pregnancy, which, in ${his} case, is not ${his} fertile ass.`);
r.push(`So, you address the situation by fucking ${his} throat, and making sure ${he} enjoys it, too.`);
seX(slave, "oral", V.PC, "penetrative", 10);
} else {
r.push(`Fortunately, all slaves have a convenient hole in which they can be fucked without even the slightest danger of pregnancy.`);
r.push(`So, you address the situation by fucking ${him} up the ass, and making sure ${he} gets off to it, too.`);
r.push(`${VCheck.Anal(slave, 10)}`);
}
}
slave.training += 40;
// fixing is easier than softening
if (slave.training < 100) {
r.push(`You make progress, but ${he}'s the same at the end of the week.`);
} else {
slave.training = 0;
r.push(`By the end of the week,`);
r.push(App.UI.DOM.makeElement("span", `you break ${him} of ${his} bad habits.`, "green"));
r.push(App.UI.DOM.makeElement("span", `${His} obedience has increased.`, "hotpink"));
slave.sexualFlaw = "none";
slave.devotion += 4;
}
if (slave.fetishKnown !== 1) {
if (slave.fetish === "submissive") {
r.push(`${He} really takes to your close attention;`);
r.push(App.UI.DOM.makeElement("span", `${he}'s a natural submissive!`, "pink"));
(slave.fetishKnown = 1);
} else if ((slave.fetish === "cumslut")) {
r.push(`While you're giving ${him} personal attention, you discover by chance that`);
r.push(App.UI.DOM.makeElement("span", `${he} has an oral fixation!`, "pink"));
(slave.fetishKnown = 1);
} else if ((slave.fetish === "masochist")) {
r.push(`While you're giving ${him} personal correction, you discover by chance that`);
r.push(App.UI.DOM.makeElement("span", `${he} likes pain!`, "pink"));
(slave.fetishKnown = 1);
} else if ((slave.fetish === "humiliation")) {
r.push(`While you're giving ${him} personal attention in public, you discover by chance that`);
r.push(App.UI.DOM.makeElement("span", `${he} likes humiliation!`, "pink"));
(slave.fetishKnown = 1);
}
}
if (slave.sexualFlaw === "none") {
r.push(`With ${his} sexual flaw trained out,`);
coloredText = [];
coloredText.push(`${his} training assignment has defaulted to`);
if (slave.behavioralFlaw === "none") {
if ((slave.devotion <= 20) && (slave.trust >= -20)) {
coloredText.push(`breaking ${his} will.`);
pa.trainingRegimen = "break her will";
} else {
coloredText.push(`fostering devotion.`);
pa.trainingRegimen = "build her devotion";
}
} else {
coloredText.push(`addressing ${his} behavioral flaw.`);
pa.trainingRegimen = "fix her behavioral flaw";
}
r.push(App.UI.DOM.makeElement("span", coloredText.join(" "), "yellow"));
}
r.push(IncreasePCSkills('slaving', currentSlaveValue));
break;
case "explore her sexuality":
slave.attrKnown = 1;
r.push(`You set about investigating ${his} sexuality.`);
if ((slave.devotion < -20) && (slave.trust >= -20)) {
r.push(`${He}'s so resistant that you have to fill ${him} with psychoactive drugs and restrain ${him} painfully in order to learn anything. This abuse`);
r.push(App.UI.DOM.makeElement("span", `increases ${his} hatred.`, "mediumorchid"));
slave.devotion -= 5;
} else if (slave.devotion <= 20) {
r.push(`You anticipate that ${he} won't be sufficiently compliant with some of the extreme practices you mean to investigate, so you give ${him} a hearty dose of aphrodisiacs and place ${him} in bondage gear. ${He} isn't happy, but soon ${he}'s too horny to care.`);
} else {
r.push(`${He}'s obedient enough that there is no trouble with any of the sexual kinks you subject ${him} to. Some ${he} likes more than others, but when ${he}'s not enjoying ${himself}, ${he} grits ${his} teeth and concentrates on obeying you.`);
}
r.push(`You start off by making ${him} view a medley of pornography while ${V.assistant.name} monitors ${him} for arousal. It seems ${he} is`);
if (slave.attrXY <= 5) {
r.push(App.UI.DOM.makeElement("span", `disgusted by men`, "red"));
} else if (slave.attrXY <= 15) {
r.push(App.UI.DOM.makeElement("span", `turned off by men`, "red"));
} else if (slave.attrXY <= 35) {
r.push(App.UI.DOM.makeElement("span", `not attracted to men`, "red"));
} else if (slave.attrXY <= 65) {
r.push(`indifferent to men,`);
} else if (slave.attrXY <= 85) {
r.push(App.UI.DOM.makeElement("span", `attracted to men`, "green"));
} else if (slave.attrXY <= 95) {
r.push(App.UI.DOM.makeElement("span", `aroused by men`, "green"));
} else {
r.push(App.UI.DOM.makeElement("span", `passionate about men`, "green"));
}
r.push(`and`);
if (slave.attrXX <= 5) {
r.push(App.UI.DOM.makeElement("span", `disgusted by women.`, "red"));
} else if (slave.attrXX <= 15) {
r.push(App.UI.DOM.makeElement("span", `turned off by women.`, "red"));
} else if (slave.attrXX <= 35) {
r.push(App.UI.DOM.makeElement("span", `not attracted to women.`, "red"));
} else if (slave.attrXX <= 65) {
r.push(`indifferent to women.`);
} else if (slave.attrXX <= 85) {
r.push(App.UI.DOM.makeElement("span", `attracted to women.`, "green"));
} else if (slave.attrXX <= 95) {
r.push(App.UI.DOM.makeElement("span", `aroused by women.`, "green"));
} else {
r.push(App.UI.DOM.makeElement("span", `passionate about women.`, "green"));
}
if (slave.fetishKnown !== 1) {
slave.fetishKnown = 1;
App.Events.addParagraph(el, r);
r = [];
r.push(`You then give ${him} a good exploratory fondle. You play with ${his} nipples and each of ${his} holes and gauge ${his} reaction.`);
if (slave.fetish === "boobs") {
r.push(`You've barely touched ${his} nipples before ${he} moans. After some experimentation, it becomes clear that ${his} nipples might as well be a pair of slightly less sensitive`);
if (slave.nipples === "fuckable") {
r.push(`pussies.`);
} else {
r.push(`clits.`);
}
r.push(`Finding ${his} mammary fixation with you has`);
r.push(App.UI.DOM.makeElement("span", `increased ${his} devotion to you.`, "hotpink"));
slave.devotion += 4;
} else if (slave.fetish === "buttslut") {
if (slave.vagina >= 0) {
r.push(`When you move from fingering ${his} pussy to ${his} asshole,`);
} else {
r.push(`When you move from fondling ${his} mouth to ${his} asshole,`);
}
r.push(`you've barely touched ${his} butt before ${he} comes explosively. After some experimentation, it becomes clear that ${his} g-spot might as well be located up ${his} ass. Finding ${his} anal fixation with you has`);
r.push(App.UI.DOM.makeElement("span", `increased ${his} devotion to you.`, "hotpink"));
slave.devotion += 4;
} else if (slave.energy > 95) {
r.push(`${He} shows no real reaction when you move your fingers from hole to hole, because ${he} seems to react with arousal to fingers in any of them.`);
} else {
r.push(`Nothing unusual happens.`);
}
App.Events.addParagraph(el, r);
r = [];
r.push(`Next, you demand extreme submission from ${him}. You make ${him} change into bondage gear that blinds ${him}, restricts ${his} movement, forces ${him} to present ${his} breasts uncomfortably, and holds vibrators against ${him}. Thus attired, ${he} is forced to serve you in whatever petty ways occur to you.`);
if (slave.fetish === "submissive") {
r.push(`During the first hour of this treatment, ${he} cums hard against the vibrators. ${He}'s a natural submissive! Discovering this about ${himself} under your hands has`);
r.push(App.UI.DOM.makeElement("span", `increased ${his} devotion to you.`, "hotpink"));
slave.devotion += 4;
} else if (slave.energy > 95) {
r.push(`${He} complies, showing the same enthusiasm for this as for other sex.`);
} else {
r.push(`${He} complies, but ${he}'s not a natural submissive.`);
}
App.Events.addParagraph(el, r);
r = [];
r.push(`Before you let ${him} out of the extreme bondage, you rain a series of light blows across ${his} nipples and buttocks.`);
if (slave.fetish === "masochist") {
r.push(`${He} almost orgasms at the stinging pain. ${He}'s a masochist! This discovery has`);
r.push(App.UI.DOM.makeElement("span", `increased ${his} devotion to you.`, "hotpink"));
slave.devotion += 4;
} else if (slave.energy > 95) {
r.push(`${He} enjoys the pain play, but ${he} seems to enjoy everything you try.`);
} else {
r.push(`${He} struggles and tries to avoid the blows.`);
}
App.Events.addParagraph(el, r);
r = [];
r.push(`The next day, ${he} continues to accompany you. Whenever cum is involved in your day's affairs in any way, you require ${him} to clean it up with ${his} mouth.`);
if (slave.fetish === "cumslut") {
r.push(`${He} enjoys this treatment. ${He}'s a cumslut! Discovering this about ${himself} under your hands has`);
r.push(App.UI.DOM.makeElement("span", `increased ${his} devotion to you.`, "hotpink"));
slave.devotion += 4;
} else if (slave.energy > 95) {
r.push(`${He} enjoys using ${his} mouth, but no more than other kinds of sexual activity.`);
} else {
r.push(`If ${he} had any special regard for cum, you'd know it, and ${he} doesn't.`);
}
const {himU, hisU, girlU} = getNonlocalPronouns(0).appendSuffix('U');
App.Events.addParagraph(el, r);
r = [];
r.push(`You carefully watch ${his} reaction as you let ${him} spend a short time relaxing with a pregnant slave.`);
if (slave.fetish === "pregnancy") {
r.push(`${He}'s fascinated. ${He} fetishizes fertility! Discovering this with you has`);
r.push(App.UI.DOM.makeElement("span", `increased ${his} devotion to you.`, "hotpink"));
slave.devotion += 4;
} else if (slave.energy > 95) {
r.push(`${He} spends most of the rest ogling the pregnant slave's boobs.`);
} else {
r.push(`${He} simply enjoys the rest.`);
}
App.Events.addParagraph(el, r);
r = [];
r.push(`You restrain the pregnant slave and administer a brief beating across ${hisU} bare buttocks, ensuring that you cause enough pain to produce a few tears, a bit of begging, and some struggling.`);
if (slave.fetish === "sadist") {
r.push(`${He}'s almost painfully aroused. ${He}'s titillated by the idea of causing pain! Discovering this about ${himself} under your direction has`);
r.push(App.UI.DOM.makeElement("span", `increased ${his} devotion to you.`, "hotpink"));
slave.devotion += 4;
} else if (slave.energy > 95) {
r.push(`${He} enjoys watching the poor pregnant slave wriggle, but ${he}'s watching ${hisU} butt rather than the beating.`);
} else {
r.push(`${He}'s a bit disturbed by the`);
if (canSee(slave)) {
r.push(`sight`);
} else if (canHear(slave)) {
r.push(`sound`);
} else {
r.push(`idea`);
}
r.push(`of you punishing the pregnant ${girlU}.`);
}
App.Events.addParagraph(el, r);
r = [];
r.push(`Before letting the poor pregnant slave go, you require ${slave.slaveName} to add a blindfold to the restraints.`);
if (slave.fetish === "dom") {
r.push(`${He} seems to really enjoy blindfolding the poor ${girlU}, reassuring ${himU} as ${he} does. ${He}'s a natural sexual top! Discovering this about ${himself} under your direction has`);
r.push(App.UI.DOM.makeElement("span", `increased ${his} devotion to you.`, "hotpink"));
slave.devotion += 4;
} else if (slave.energy > 95) {
r.push(`${He} enjoys getting closer to the slave, mostly so ${he} can give ${hisU} pregnant pussy a thorough grope.`);
} else {
r.push(`${He} just follows orders.`);
}
App.Events.addParagraph(el, r);
r = [];
r.push(`Lastly, you place ${him} in a special room in your penthouse filled with live video equipment. They get to see ${him} groped, deepthroated, facialed, teased, and tortured.`);
if (slave.fetish === "humiliation") {
r.push(`The more viewers ${he} gets, the harder ${he} comes. ${He}'s a slut for humiliation! Discovering this about ${himself} under your hands has`);
r.push(App.UI.DOM.makeElement("span", `increased ${his} devotion to you.`, "hotpink"));
slave.devotion += 4;
} else if (slave.energy > 95) {
r.push(`${He} enjoys showing off sexually, but focuses on the sex first. ${He} got off on everything, and is clearly a nympho. Discovering this about ${himself} under your hands has`);
r.push(App.UI.DOM.makeElement("span", `greatly increased ${his} devotion to you.`, "hotpink"));
slave.devotion += 9;
} else {
r.push(`${He} gets through it, but ${he} doesn't seem to enjoy`);
if (canSee(slave)) {
r.push(`seeing ${his} audience on the screen.`);
} else if (canHear(slave)) {
r.push(`hearing ${his} jeering audience on the screen.`);
} else {
r.push(`the feeling of being watched.`);
}
}
} else {
App.Events.addParagraph(el, r);
r = [];
r.push(`You already know that ${he}`);
switch (slave.fetish) {
case "buttslut":
case "cumslut":
case "dom":
case "masochist":
case "sadist":
case "submissive":
r.push(`is a`);
r.push(App.UI.DOM.makeElement("span", `${slave.fetish},`, "coral"));
break;
case "mindbroken":
r.push(`is`);
r.push(App.UI.DOM.makeElement("span", `mindbroken,`, "red"));
break;
case "boobs":
case "humiliation":
case "pregnancy":
r.push(`loves`);
r.push(App.UI.DOM.makeElement("span", `${slave.fetish},`, "coral"));
break;
default:
r.push(`lacks a fetish,`);
}
r.push(`so your investigation is complete.`);
}
r.push(basicTrainingDefaulter(slave));
r.push(IncreasePCSkills('slaving', 0.1));
break;
case "induce arrogance":
r.push(`Since you've decided to incite ${him} to arrogance, you praise ${him} effusively, and give orders that others are to do so as well. Other slaves are punished for things ${he}'s allowed to get away with.`);
r.push(induceFlawLenityEffects(slave));
if (slave.training < 100) {
r.push(`${He} isn't seriously affected; you'll have to be more subtle next week.`);
} else {
slave.training = 0;
r.push(`${He} begins to think ${himself} special, and is now`);
r.push(App.UI.DOM.makeElement("span", `arrogant.`, "red"));
slave.behavioralFlaw = "arrogant";
r.push(basicTrainingDefaulter(slave));
}
r.push(IncreasePCSkills('slaving', currentSlaveValue));
break;
case "induce bitchiness":
r.push(`Since you've decided to induce ${him} to bitchiness, you keep ${him} in your office and induce ${him} to criticize other slaves, rewarding ${him} when ${he}'s especially catty.`);
r.push(induceFlawLenityEffects(slave));
if (slave.training < 100) {
r.push(`${He} goes along, but remains cautious and will need more practice.`);
} else {
r.push(`${He} starts making`);
r.push(App.UI.DOM.makeElement("span", `bitchy`, "red"));
r.push(`remarks without being prompted.`);
slave.behavioralFlaw = "bitchy";
r.push(basicTrainingDefaulter(slave));
}
r.push(IncreasePCSkills('slaving', currentSlaveValue));
break;
case "induce odd behavior":
r.push(`Since you've decided to abuse ${him} into odd behavior, you target ${him} for a campaign of surprise sex. You constantly ambush ${him}, shove ${him} onto the ground, and fuck ${him}. Sometimes ${he} wakes up from bad dreams to find you penetrating ${him}.`);
r.push(induceFlawAbuseEffects(slave));
if (canDoVaginal(slave)) {
VCheck.Vaginal(slave, 10);
} else if (canDoAnal(slave)) {
VCheck.Anal(slave, 10);
} else {
seX(slave, "oral", V.PC, "penetrative", 10);
}
if (slave.training < 100) {
r.push(`${He} does ${his} best to tolerate the abuse.`);
} else {
r.push(`${He} starts`);
r.push(App.UI.DOM.makeElement("span", `behaving oddly,`, "red"));
r.push(`jumping at noises and mumbling to ${himself}.`);
slave.behavioralFlaw = "odd";
r.push(basicTrainingDefaulter(slave));
}
r.push(IncreasePCSkills('slaving', currentSlaveValue));
break;
case "induce hatred of men":
r.push(`In order to make ${him} hate men, you sometimes simply`);
if (V.PC.dick !== 0) {
r.push(`stick your dick in ${him} without asking,`);
} else {
r.push(`stuff a strap-on inside ${him} without asking,`);
}
r.push(`and sometimes force shockingly juvenile pranks on ${him}. ${He} is regularly smacked in the face with floppy dildos.`);
r.push(induceFlawAbuseEffects(slave));
if (canDoVaginal(slave)) {
VCheck.Vaginal(slave, 10);
} else if (canDoAnal(slave)) {
VCheck.Anal(slave, 10);
} else {
seX(slave, "oral", V.PC, "penetrative", 10);
}
if (slave.training < 100) {
r.push(`${He} focuses more on you than on the masculine aspects of this. You'll need to be more subtle next week.`);
} else {
r.push(`You notice ${him} starting to`);
r.push(App.UI.DOM.makeElement("span", `shoot hateful glances`, "red"));
r.push(`at any men ${he} sees.`);
slave.behavioralFlaw = "hates men";
r.push(basicTrainingDefaulter(slave));
}
r.push(IncreasePCSkills('slaving', currentSlaveValue));
break;
case "induce hatred of women":
r.push(`In order to make ${him} hate women, you keep ${him} in your office when ${he}'s not otherwise occupied, and`);
if (V.PC.vagina === -1) {
r.push(`make ${him} eat other slaves out`);
} else {
r.push(`sit on ${his} face`);
}
r.push(`until ${he}'s thoroughly sick of pussy.`);
r.push(induceFlawAbuseEffects(slave));
if (slave.training < 100) {
r.push(`${He} focuses more on you than on the feminine aspects of this. You'll need to be more subtle next week.`);
} else {
r.push(`You notice ${him} starting to`);
r.push(App.UI.DOM.makeElement("span", `shoot hateful glances`, "red"));
r.push(`at any vaginas ${he} sees.`);
slave.behavioralFlaw = "hates women";
r.push(basicTrainingDefaulter(slave));
}
r.push(IncreasePCSkills('slaving', currentSlaveValue));
break;
case "induce gluttony":
r.push(`Inducing gluttony is harder than inducing anorexia; you force ${him} to orgasm when ${he}'s eating, and praise ${him} effusively when ${he} gains weight. You also provide ${him} with ample rations for stress eating.`);
slave.training -= 20;
// more difficult training
if (slave.training < 100) {
r.push(`${He} eats when ordered, but isn't deeply affected. ${He}'ll need more practice being a pig.`);
} else {
r.push(`You notice ${him} starting to`);
r.push(App.UI.DOM.makeElement("span", `enjoy eating`, "red"));
r.push(`for its own sake, even when ${he}'s not hungry.`);
slave.behavioralFlaw = "gluttonous";
r.push(basicTrainingDefaulter(slave));
}
r.push(IncreasePCSkills('slaving', currentSlaveValue));
break;
case "induce anorexia":
r.push(`You criticize ${him} cruelly whenever ${he} eats, and praise thinner slaves to ${his} face at every opportunity.`);
r.push(induceFlawAbuseEffects(slave));
if (slave.training < 100) {
r.push(`${He} continues consuming ${his} rations when ordered, and will need further training.`);
} else {
r.push(`${He} begins to`);
r.push(App.UI.DOM.makeElement("span", `eat only when repeatedly ordered to.`, "red"));
slave.behavioralFlaw = "anorexic";
r.push(basicTrainingDefaulter(slave));
}
r.push(IncreasePCSkills('slaving', currentSlaveValue));
break;
case "induce religious devotion":
r.push(`You direct a campaign of abuse and threats at ${him}, and surreptitiously ensure that a little religious text from ${his} home country finds its way into a hiding place in ${his} living area.`);
r.push(induceFlawAbuseEffects(slave));
if (slave.training < 100) {
r.push(`${He} keeps ${his} head down and shows no sign of religious introspection, at least this week.`);
} else {
r.push(`${He} begins to read it when ${he} thinks ${he}'s alone, and`);
r.push(App.UI.DOM.makeElement("span", `talks to God`, "red"));
r.push(`when ${he} thinks only He is listening.`);
slave.behavioralFlaw = "devout";
r.push(basicTrainingDefaulter(slave));
}
r.push(IncreasePCSkills('slaving', currentSlaveValue));
break;
case "induce liberation":
r.push(`You direct a campaign of abuse and threats at ${him}, making sure to threaten ${him} with the absolute worst of slavery in your arcology. You also arrange for ${him} to witness other citizen's slaves in situations that aren't much fun.`);
r.push(induceFlawAbuseEffects(slave));
if (slave.training < 100) {
r.push(`${He} does ${his} best to endure the abuse, unknowingly condemning ${himself} to more.`);
} else {
r.push(`A deep`);
r.push(App.UI.DOM.makeElement("span", `anger about slavery`, "red"));
r.push(`builds within ${him}.`);
slave.behavioralFlaw = "liberated";
r.push(basicTrainingDefaulter(slave));
}
r.push(IncreasePCSkills('slaving', currentSlaveValue));
break;
case "induce hatred of oral":
r.push(`Since you've decided to force ${him} to dislike oral sex, you're forced to use a complicated and refined slave breaking technique: constantly raping ${his} face.`);
r.push(induceFlawAbuseEffects(slave));
seX(slave, "oral", V.PC, "penetrative", 10);
if (slave.training < 100) {
r.push(`${He} does ${his} best to comply with the oral abuse, unknowingly condemning ${himself} to more.`);
} else {
r.push(`After gagging enough, ${he} finally starts to`);
r.push(App.UI.DOM.makeElement("span", `hate oral.`, "red"));
slave.sexualFlaw = "hates oral";
r.push(basicTrainingDefaulter(slave));
}
r.push(IncreasePCSkills('slaving', currentSlaveValue));
break;
case "induce hatred of anal":
r.push(`Since you've decided to force ${him} to dislike anal sex, you're forced to use a complicated and refined slave breaking technique: constantly raping ${his} ass.`);
if (!canDoAnal(slave)) {
r.push(`Every time you catch ${him} with ${his} chastity off, you're there to penetrate ${his} rectum.`);
}
r.push(induceFlawAbuseEffects(slave));
r.push(`${VCheck.Anal(slave, 10)}`);
if (slave.training < 100) {
r.push(`${He} does ${his} best to comply with your abuse of ${his} butthole, unknowingly condemning ${himself} to more assrape.`);
} else {
r.push(`After feeling ${his} poor sphincter grow sorer and sorer, ${he} starts to`);
r.push(App.UI.DOM.makeElement("span", `hate anal.`, "red"));
slave.sexualFlaw = "hates anal";
r.push(basicTrainingDefaulter(slave));
}
r.push(IncreasePCSkills('slaving', currentSlaveValue));
break;
case "induce hatred of penetration":
r.push(`Since you've decided to force ${him} to dislike penetration, you're forced to use a complicated and refined slave breaking technique: constantly raping ${him}.`);
r.push(induceFlawAbuseEffects(slave));
if (canDoVaginal(slave)) {
VCheck.Vaginal(slave, 10);
} else if (canDoAnal(slave)) {
VCheck.Anal(slave, 10);
} else {
seX(slave, "oral", V.PC, "penetrative", 10);
}
if (slave.training < 100) {
r.push(`${He} does ${his} best to comply with your abuse, unknowingly condemning ${himself} to more of it.`);
} else {
r.push(`After feeling ${his} poor holes grow sorer and sorer, ${he} starts to`);
r.push(App.UI.DOM.makeElement("span", `hate getting fucked.`, "red"));
slave.sexualFlaw = "hates penetration";
r.push(basicTrainingDefaulter(slave));
}
r.push(IncreasePCSkills('slaving', currentSlaveValue));
break;
case "induce shame":
r.push(`Since you've decided to force shame on ${him}, you keep ${him} in your office whenever ${he}'s not otherwise occupied, and heap derision on ${him} at every opportunity, even inviting visitors to join you in chats about how unattractive and worthless ${he} is.`);
r.push(induceFlawAbuseEffects(slave));
if (slave.training < 100) {
r.push(`${He} does ${his} best to keep ${his} chin up, unknowingly condemning ${himself} to more of this abuse.`);
} else {
r.push(`${He} wants nothing more than to hide in corner and cry, and is now`);
r.push(App.UI.DOM.makeElement("span", `shamefast.`, "red"));
slave.sexualFlaw = "shamefast";
r.push(basicTrainingDefaulter(slave));
}
r.push(IncreasePCSkills('slaving', currentSlaveValue));
break;
case "induce sexual idealism":
r.push(`Since you've decided to induce ${him} to sexual idealism, you keep ${him} in your office, and when the two of you are all alone, gossip with ${him} about other slaves and even citizens. You do your best to encourage ${him} to believe absurdities.`);
r.push(induceFlawLenityEffects(slave));
if (slave.training < 100) {
r.push(`${He} doesn't know what to make of this; you'll have to keep at it.`);
} else {
r.push(`${He} follows along, and is now`);
r.push(App.UI.DOM.makeElement("span", `sexually idealistic.`, "red"));
slave.sexualFlaw = "idealistic";
r.push(basicTrainingDefaulter(slave));
}
r.push(IncreasePCSkills('slaving', currentSlaveValue));
break;
case "induce sexual repression":
r.push(`Since you've decided to force sexual repression on ${him}, you keep ${him} in your office whenever ${he}'s not otherwise occupied. You use the monitoring systems to reveal ${his} sexual arousal whenever it appears, and castigate and punish ${him} for it.`);
r.push(induceFlawAbuseEffects(slave));
if (slave.training < 100) {
r.push(`${He} does ${his} best to keep ${his} chin up, unknowingly condemning ${himself} to more of this abuse.`);
} else {
r.push(`${He} desperately tries to avoid even thinking about subjects that get ${him} punished, and is now`);
r.push(App.UI.DOM.makeElement("span", `sexually repressed.`, "red"));
slave.sexualFlaw = "repressed";
r.push(basicTrainingDefaulter(slave));
}
r.push(IncreasePCSkills('slaving', currentSlaveValue));
break;
case "induce sexual apathy":
r.push(`Since you've decided to force sexual apathy on ${him}, you keep ${him} in your office whenever ${he}'s not otherwise occupied. You use ${him} regularly, and punish ${him} whenever ${he} shows any sign of enjoyment.`);
r.push(induceFlawAbuseEffects(slave));
if (canDoVaginal(slave)) {
VCheck.Vaginal(slave, 10);
} else if (canDoAnal(slave)) {
VCheck.Anal(slave, 10);
} else {
seX(slave, "oral", V.PC, "penetrative", 10);
}
if (slave.training < 100) {
r.push(`${He} continues to experience arousal when fucked, and will need more of this treatment.`);
} else {
r.push(`${He} desperately tries to avoid arousal, and is now`);
r.push(App.UI.DOM.makeElement("span", `sexually apathetic.`, "red"));
slave.sexualFlaw = "apathetic";
r.push(basicTrainingDefaulter(slave));
}
r.push(IncreasePCSkills('slaving', currentSlaveValue));
break;
case "induce crudity":
r.push(`Since you've decided to force sexual crudeness on ${him}, you keep ${him} in your office whenever ${he}'s not otherwise occupied, and degrade ${him} cruelly. You relax the normal cleanliness rules, and require ${him} to leave ${his} used holes as they are until ${he}'s too disgusting to fuck.`);
if (canDoVaginal(slave)) {
VCheck.Vaginal(slave, 10);
} else if (canDoAnal(slave)) {
VCheck.Anal(slave, 10);
} else {
seX(slave, "oral", V.PC, "penetrative", 10);
}
r.push(induceFlawAbuseEffects(slave));
if (slave.training < 100) {
r.push(`${He} does ${his} best to tolerate the unclean feelings, condemning ${himself} to more of this.`);
} else {
r.push(`${He} slowly stops caring, and is now`);
r.push(App.UI.DOM.makeElement("span", `sexually crude.`, "red"));
slave.sexualFlaw = "crude";
r.push(basicTrainingDefaulter(slave));
}
r.push(IncreasePCSkills('slaving', currentSlaveValue));
break;
case "induce judgement":
r.push(`Since you've decided to make ${him} sexually judgemental, you keep ${him} in your office and fuck ${him},`);
if (V.PC.dick !== 0) {
r.push(`praising ${him} whenever ${he} takes your big dick well.`);
} else {
r.push(`using a huge strap-on on ${him} and praising ${him} when ${he} takes it like a good ${girl}.`);
}
r.push(induceFlawLenityEffects(slave));
if (slave.training < 100) {
r.push(`${He} writes this off as bravado, and will need more training.`);
} else {
r.push(`${He} starts to consider ${himself} reserved for special sexual treatment, and is now`);
r.push(App.UI.DOM.makeElement("span", `sexually judgemental.`, "red"));
slave.sexualFlaw = "judgemental";
r.push(basicTrainingDefaulter(slave));
}
r.push(IncreasePCSkills('slaving', currentSlaveValue));
break;
case "induce cum addiction":
r.push(`The cumslut is quite pleased when you order ${him} to stay in your office whenever ${he} can for use as one of your personal oral toys. You carefully limit ${his} orgasms to when`);
if (V.PC.dick !== 0) {
r.push(`you're blowing your load down ${his} throat,`);
} else {
r.push(`${he}'s swallowing your pussyjuice,`);
}
r.push(`and make ${his} oral adventures predictably regular.`);
seX(slave, "oral", V.PC, "penetrative", 10);
if (slave.training < 100) {
r.push(`${He} enjoys giving you lots of oral, but will need more training to develop psychological addiction to it.`);
} else {
r.push(`${He} begins to develop a psychological`);
r.push(App.UI.DOM.makeElement("span", `addiction to cum.`, "yellow"));
slave.sexualFlaw = "cum addict";
r.push(basicTrainingDefaulter(slave));
}
r.push(IncreasePCSkills('slaving', currentSlaveValue));
break;
case "induce anal addiction":
r.push(`The buttslut is quite pleased when you order ${him} to stay in your office`);
if (!canDoAnal(slave)) {
r.push(`and remove ${his} chastity`);
}
r.push(`whenever ${he} can for use as one of your personal anal toys. You make ${his} anal orgasms predictably regular, doing your best to inculcate reliance on them.`);
r.push(`${VCheck.Anal(slave, 10)}`);
if (slave.training < 100) {
r.push(`${He} enjoys all the anal attention, but will need more training to develop psychological addiction to buttsex.`);
} else {
r.push(`${He} begins to develop a psychological`);
r.push(App.UI.DOM.makeElement("span", `addiction to anal sex.`, "yellow"));
slave.sexualFlaw = "anal addict";
r.push(basicTrainingDefaulter(slave));
}
r.push(IncreasePCSkills('slaving', currentSlaveValue));
break;
case "induce attention whoring":
r.push(`The humiliation slut is quite pleased when you order ${him} to stay in your office whenever ${he} can, and fucking ${him} whenever other slaves are present. You do your best to focus ${his} attention on how the others react to the spectacle.`);
if (canDoVaginal(slave)) {
VCheck.Vaginal(slave, 10);
} else if (canDoAnal(slave)) {
VCheck.Anal(slave, 10);
} else {
seX(slave, "oral", V.PC, "penetrative", 10);
}
if (slave.training < 100) {
r.push(`${He} enjoys all the humiliation, but will need more training to become a true attention whore.`);
} else {
r.push(`${He} becomes a`);
r.push(App.UI.DOM.makeElement("span", `true attention whore,`, "yellow"));
r.push(`caring more about the spectators than the sex.`);
slave.sexualFlaw = "attention whore";
r.push(basicTrainingDefaulter(slave));
}
r.push(IncreasePCSkills('slaving', currentSlaveValue));
break;
case "induce breast growth obsession":
r.push(`You inspect ${his} breasts multiple times a day, and praise ${him} effusively when they grow at all. You treat it as though it were something ${he} could control personally.`);
if (slave.training < 100) {
r.push(`${He} enjoys your attention to ${his} favorite part of ${himself}, but doesn't truly internalize your focus on their growth.`);
} else {
r.push(`${He} begins to believe you despite ${himself}, and becomes`);
r.push(App.UI.DOM.makeElement("span", `obsessed with breast growth.`, "yellow"));
slave.sexualFlaw = "breast growth";
r.push(basicTrainingDefaulter(slave));
}
r.push(IncreasePCSkills('slaving', currentSlaveValue));
break;
case "induce abusiveness":
r.push(`The dom is gratified when you order ${him} to stay in your office whenever ${he} can to fuck any slave you feel like throwing ${his} way. You do your best to limit ${his} menu items to reluctant or even rebellious slaves, and praise ${him} when ${he} forces ${himself} on them.`);
seX(slave, "penetrative", "slaves", "", 10);
if (slave.training < 100) {
r.push(`${He} has fun, but ${he} continues to enjoy getting off more than getting to use bitches. ${He}'ll need more practice.`);
} else {
r.push(`${He} becomes`);
r.push(App.UI.DOM.makeElement("span", `sexually abusive,`, "yellow"));
r.push(`looking over each slave that comes into your office in the hope they'll resist.`);
slave.sexualFlaw = "abusive";
r.push(basicTrainingDefaulter(slave));
}
r.push(IncreasePCSkills('slaving', currentSlaveValue));
break;
case "induce maliciousness":
r.push(`The sadist is gratified when you order ${him} to stay in your office whenever ${he} can to have ${his} way with any slave you feel like throwing ${his} way. You do your best to limit ${his} menu items to rebellious slaves, and praise ${him} when ${his} sadism makes ${him} an effective punishment tool.`);
seX(slave, "penetrative", "slaves", "", 10);
if (slave.training < 100) {
r.push(`${He} enjoys ${himself}, but still betrays occasional concern when slaves are really broken by what ${he} does to them. ${He}'ll need more practice.`);
} else {
r.push(`${He} becomes`);
r.push(App.UI.DOM.makeElement("span", `sexually malicious,`, "yellow"));
r.push(`going so far as to lick tears off ${his} victims' faces.`);
slave.sexualFlaw = "malicious";
r.push(basicTrainingDefaulter(slave));
}
r.push(IncreasePCSkills('slaving', currentSlaveValue));
break;
case "induce self hatred":
r.push(`You order the masochist to stay in your office whenever ${he}'s not working or resting. You fuck ${him} cruelly, going beyond the pain ${he} enjoys into harsh degradation. And every time you use ${him}, you make sure to tell ${him} how useless ${he} is.`);
if (canDoVaginal(slave)) {
VCheck.Vaginal(slave, 10);
} else if (canDoAnal(slave)) {
VCheck.Anal(slave, 10);
} else {
seX(slave, "oral", V.PC, "penetrative", 10);
}
if (slave.training < 100) {
r.push(`${He} gets off on the pain, but ${his} sense of self isn't seriously affected this week.`);
} else {
r.push(`${He} becomes`);
r.push(App.UI.DOM.makeElement("span", `sexually self hating,`, "yellow"));
r.push(`and tearfully begs to you do worse to ${him}, no matter how bad it gets.`);
slave.sexualFlaw = "self hating";
r.push(basicTrainingDefaulter(slave));
}
r.push(IncreasePCSkills('slaving', currentSlaveValue));
break;
case "induce sexual self neglect":
r.push(`You order the sub to stay in your office whenever ${he}'s not working or resting, and use ${his} body for your pleasure. The instant you climax, you go back to your work or to another slave, treating ${him} like a piece of used tissue.`);
if (canDoVaginal(slave)) {
VCheck.Vaginal(slave, 10);
} else if (canDoAnal(slave)) {
VCheck.Anal(slave, 10);
} else {
seX(slave, "oral", V.PC, "penetrative", 10);
}
if (slave.training < 100) {
r.push(`${He} accepts ${his} utterly submissive role, but ${his} sense of self isn't seriously affected this week.`);
} else {
r.push(`${He} becomes`);
r.push(App.UI.DOM.makeElement("span", `sexually self neglectful,`, "yellow"));
r.push(`and loses all expectation that those who use ${him} will address ${his} pleasure at all.`);
slave.sexualFlaw = "neglectful";
r.push(basicTrainingDefaulter(slave));
}
r.push(IncreasePCSkills('slaving', currentSlaveValue));
break;
case "induce breeding obsession":
r.push(`You order the pregnant slut to stay in your office whenever ${he}'s not working or resting.`);
if (slave.pregKnown === 0) {
r.push(`Since ${he}'s not pregnant, you keep ${him} rigged up with an enormous sympathy belly when ${he}'s there.`);
}
r.push(`Rather than fucking ${him}, you praise ${his} pregnancy effusively, and only allow ${him} to get off when you're doing so.`);
if (slave.training < 100) {
r.push(`${He} enjoys ${himself}, but mostly because of the pleasure. ${He}'ll need more training.`);
} else {
r.push(`${He} develops an`);
r.push(App.UI.DOM.makeElement("span", `obsession with breeding,`, "yellow"));
r.push(`and begins to stroke ${his} belly in a disturbingly masturbatory way.`);
slave.sexualFlaw = "breeder";
r.push(basicTrainingDefaulter(slave));
}
r.push(IncreasePCSkills('slaving', currentSlaveValue));
}
V.PC.skill.slaving = Math.clamp(V.PC.skill.slaving, -100, 100);
App.Events.addParagraph(el, r);
return el;
}
return personalAttention;
})();
|
MonsterMate/fc
|
src/endWeek/reports/personalAttention.js
|
JavaScript
|
mit
| 127,191
|
App.EndWeek.rulesAssistantReport = function() {
const frag = $(document.createDocumentFragment());
for (const slave of V.slaves) {
if (slave.useRulesAssistant === 1) {
try {
frag.append(DefaultRules(slave));
} catch (e) {
console.log("Exception thrown in rule evaluation:", slave, e);
frag.append(`<p><span class="error">Exception thrown executing Rules Assistant for ${SlaveFullName(slave)}: "${e.message}". One of your rules is probably broken.</span></p>`);
}
}
}
return frag[0];
};
|
MonsterMate/fc
|
src/endWeek/rulesAssistantReport.js
|
JavaScript
|
mit
| 515
|
/**
* @param {App.Entity.SlaveState} slave
*/
App.SlaveAssignment.agent = function(slave) {
const gigantomastiaMod = slave.geneticQuirks.gigantomastia === 2 ? (slave.geneticQuirks.macromastia === 2 ? 3 : 2) : 1;
if (slave.boobsImplantType === "string") {
slave.boobsImplant += 50;
slave.boobs += 50;
if (slave.boobs > 50000) {
slave.boobs -= 100;
slave.boobsImplant -= 100;
if (slave.geneMods.NCS === 1) {
slave.boobs -= 100;
slave.boobsImplant -= 100;
}
}
}
if (slave.geneMods.NCS === 1) { /* NCS is blocking boob expansion. */
if (slave.boobsImplant > 1000) {
if ((slave.boobs - slave.boobsImplant < 1000) && (random(1, 100) > 60)) {
slave.boobs += 50;
}
} else if (slave.boobsImplant > 600) {
if ((slave.boobs - slave.boobsImplant < 500) && (random(1, 100) > 60)) {
slave.boobs += 50;
}
} else if (slave.boobsImplant > 0) {
if ((slave.boobs - slave.boobsImplant < 300) && (random(1, 100) > 60)) {
slave.boobs += 50;
}
}
}
if (slave.geneticQuirks.macromastia === 2 && slave.geneticQuirks.gigantomastia === 2) {
if (slave.boobs < 100000 && slave.weight >= -95) {
slave.boobs += 30;
}
} else if (slave.geneticQuirks.gigantomastia === 2) {
if (slave.boobs < 25000 && slave.weight >= -95) {
slave.boobs += 20;
}
} else if (slave.geneticQuirks.macromastia === 2) {
if (slave.boobs < 5000 && slave.weight >= -95) {
slave.boobs += 10;
}
}
if (slave.buttImplantType === "string") {
slave.buttImplant += 0.25;
slave.butt += 0.25;
if (slave.butt > 10) {
slave.butt -= 1;
slave.buttImplant -= 1;
if (slave.geneMods.NCS === 1) {
slave.butt -= 1;
slave.buttImplant -= 1;
}
}
}
if (slave.geneticQuirks.rearLipedema === 2 && slave.butt < 20) {
slave.butt += 0.1;
}
if (slave.genes === "XX") {
if (slave.ovaries === 1 || slave.mpreg === 1) {
if (slave.balls > 0 && slave.ballType !== "sterile") {
if (slave.hormoneBalance > 20) {
slave.hormoneBalance -= 1;
} else if (slave.hormoneBalance < 20) {
slave.hormoneBalance += 1;
}
} else {
if (slave.hormoneBalance > 60) {
slave.hormoneBalance -= 1;
} else if (slave.hormoneBalance < 60) {
slave.hormoneBalance += 1;
}
}
} else {
if (slave.balls > 0 && slave.ballType !== "sterile") {
if (slave.hormoneBalance > -20) {
slave.hormoneBalance -= 1;
} else if (slave.hormoneBalance < -20) {
slave.hormoneBalance += 1;
}
} else {
if (slave.hormoneBalance > 20) {
slave.hormoneBalance -= 1;
} else if (slave.hormoneBalance < 20) {
slave.hormoneBalance += 1;
}
}
}
} else if (slave.genes === "XY") {
if (slave.ovaries === 1 || slave.mpreg === 1) {
if (slave.balls > 0 && slave.ballType !== "sterile") {
if (slave.hormoneBalance > 20) {
slave.hormoneBalance -= 1;
} else if (slave.hormoneBalance < 20) {
slave.hormoneBalance += 1;
}
} else {
if (slave.hormoneBalance > 40) {
slave.hormoneBalance -= 1;
} else if (slave.hormoneBalance < 40) {
slave.hormoneBalance += 1;
}
}
} else {
if (slave.balls > 0 && slave.ballType !== "sterile") {
if (slave.hormoneBalance > -40) {
slave.hormoneBalance -= 1;
} else if (slave.hormoneBalance < -40) {
slave.hormoneBalance += 1;
}
} else {
if (slave.hormoneBalance > 20) {
slave.hormoneBalance -= 1;
} else if (slave.hormoneBalance < 20) {
slave.hormoneBalance += 1;
}
}
}
}
/* puberty - not announced for allowing surprise pregnancy */
if (slave.ovaries === 1 || slave.mpreg === 1) {
if (slave.pubertyXX === 0) {
if (slave.physicalAge >= slave.pubertyAgeXX) {
slave.pubertyXX = 1;
if (slave.geneticQuirks.gigantomastia === 3 && random(1, 100) < slave.hormoneBalance) {
slave.geneticQuirks.gigantomastia = 2;
}
if (slave.geneticQuirks.macromastia === 3 && random(1, 100) < slave.hormoneBalance) {
slave.geneticQuirks.macromastia = 2;
}
if (slave.geneticQuirks.galactorrhea === 3) {
slave.geneticQuirks.galactorrhea = 2;
if (random(1, 100) < slave.hormoneBalance && slave.lactation === 0) {
slave.lactationDuration = 2;
slave.lactation = 1;
}
}
}
}
}
if (slave.balls > 0 && slave.ballType !== "sterile") {
if (slave.pubertyXY === 0) {
if (slave.physicalAge >= slave.pubertyAgeXY) {
slave.pubertyXY = 1;
if (slave.geneticQuirks.galactorrhea === 3) {
slave.geneticQuirks.galactorrhea = 2;
if (random(1, 100) < slave.hormoneBalance && slave.lactation === 0) {
slave.lactationDuration = 2;
slave.lactation = 1;
}
}
}
}
}
if (slave.inflation > 0) {
deflate(slave);
}
if (slave.preg > 0) { // EFFECTS OF PREGNANCY
if (slave.preg === slave.pregData.normalBirth / 8) { /* !!! Very bad condition logic - with pregnancy control drugs can be not triggered. Or may be trigged by broodmother several times. Need to be reworked. !!! */
if (slave.pregSource === -1) {
V.PC.counter.slavesKnockedUp++;
} else if (slave.pregSource > 0) {
const babyDaddy = findFather(slave.pregSource);
if (babyDaddy) {
const adjust = babyDaddy.counter.slavesKnockedUp++;
adjustFatherProperty(babyDaddy, "slavesKnockedUp", adjust);
}
}
}
if (slave.preg >= slave.pregData.normalBirth / 4) {
if (slave.geneticQuirks.gigantomastia === 3 && random(1, 200) < slave.hormoneBalance) {
slave.geneticQuirks.gigantomastia = 2;
}
if (slave.geneticQuirks.macromastia === 3 && random(1, 200) < slave.hormoneBalance) {
slave.geneticQuirks.macromastia = 2;
}
let boobTarget = 0;
if (slave.geneMods.NCS === 1) {
/* Sort-of No-op, NCS prevents boob growth */
boobTarget = 0;
} else if (slave.physicalAge >= 18) {
if (slave.pregType >= 50) {
boobTarget = 10000;
} else if (slave.pregType >= 30) {
boobTarget = 5000;
} else if (slave.pregType >= 10) {
boobTarget = 2000;
} else {
boobTarget = 1000;
}
} else if (slave.physicalAge >= 13) {
if (slave.pregType >= 50) {
boobTarget = 5000;
} else if (slave.pregType >= 30) {
boobTarget = 3200;
} else if (slave.pregType >= 10) {
boobTarget = 1800;
} else {
boobTarget = 800;
}
} else if (slave.physicalAge >= 8) {
if (slave.pregType >= 50) {
boobTarget = 1800;
} else if (slave.pregType >= 30) {
boobTarget = 1400;
} else if (slave.pregType >= 10) {
boobTarget = 1000;
} else {
boobTarget = 600;
}
} else {
if (slave.pregType >= 50) {
boobTarget = 1000;
} else if (slave.pregType >= 30) {
boobTarget = 800;
} else if (slave.pregType >= 10) {
boobTarget = 600;
} else {
boobTarget = 400;
}
}
boobTarget *= gigantomastiaMod;
if (slave.pregType >= 30) {
if (slave.weight <= 65) {
slave.weight += 1;
}
if ((slave.geneMods.NCS === 0) && (random(1, 100) > 60)) {
if ((slave.boobs - slave.boobsImplant) < boobTarget) {
slave.boobs += 200;
if (slave.boobShape !== "saggy" && slave.preg > slave.pregData.normalBirth / 1.25 && (slave.breastMesh !== 1)) {
slave.boobShape = "saggy";
}
}
if (slave.hips < 2) {
slave.hips += 1;
}
if (slave.butt < 14) {
slave.butt += 1;
}
}
} else if ((slave.geneMods.NCS === 0) && (slave.pregType >= 10)) {
if (random(1, 100) > 80 && ((slave.boobs - slave.boobsImplant) < boobTarget)) {
slave.boobs += 100;
if (slave.boobShape !== "saggy" && (slave.breastMesh !== 1)) {
if (slave.preg > random(slave.pregData.normalBirth / 1.25, slave.pregData.normalBirth * 2)) {
slave.boobShape = "saggy";
}
}
}
} else if (((slave.geneMods.NCS === 0) && ((slave.boobs - slave.boobsImplant) < boobTarget))) {
if (random(1, 100) > 80) {
slave.boobs += 50;
if (slave.boobShape !== "saggy" && slave.preg > random(slave.pregData.normalBirth / 1.25, slave.pregData.normalBirth * 2.5) && (slave.breastMesh !== 1)) {
slave.boobShape = "saggy";
}
}
}
if (slave.geneMods.NCS === 1) {
/* No-op, we don't grow hips on NCS */
} else if (slave.preg > slave.pregData.normalBirth / 1.25 && slave.physicalAge >= 18 && slave.hips === 1 && slave.hipsImplant === 0 && random(1, 100) > 90) {
slave.hips += 1;
} else if (slave.preg > slave.pregData.normalBirth / 1.42 && slave.physicalAge >= 18 && slave.hips === 0 && slave.hipsImplant === 0 && random(1, 100) > 70) {
slave.hips += 1;
}
if (slave.bellyPreg >= 1500) {
if (setup.fakeBellies.includes(slave.bellyAccessory)) {
slave.bellyAccessory = "none";
}
if ((slave.preg > slave.pregData.normalBirth / 2) && (slave.lactation === 0) && slave.health.condition >= -20 && slave.weight > -30) {
if (slave.preg > random(slave.pregData.normalBirth / 2.22, slave.pregData.normalBirth / 1.33)) {
slave.lactation = 1;
}
}
if (slave.lactation === 1) {
slave.lactationDuration = 2;
}
}
} // closes .preg >= 10
} // END PREG EFFECTS
if (slave.belly >= 1000000) {
if (slave.bellySag < 50) {
slave.bellySag += 1;
if (slave.preg > 0) {
slave.bellySagPreg += 1;
}
} else if (slave.preg > 0 && slave.bellySagPreg < 20) {
slave.bellySagPreg += 1;
}
if (slave.pregControl === "speed up") {
slave.bellySag += 5;
slave.bellySagPreg += 5;
}
if (slave.geneMods.rapidCellGrowth === 1) {
slave.bellySag += 3;
if (slave.preg > 0) {
slave.bellySagPreg += 3;
}
}
} else if (slave.belly >= 750000) {
if (slave.bellySag < 30) {
slave.bellySag += 0.7;
if (slave.preg > 0) {
slave.bellySagPreg += 0.7;
}
} else if (slave.preg > 0 && slave.bellySagPreg < 30) {
slave.bellySagPreg += 0.7;
}
if (slave.pregControl === "speed up") {
slave.bellySag += 2;
slave.bellySagPreg += 2;
}
if (slave.geneMods.rapidCellGrowth === 1) {
slave.bellySag += 1;
if (slave.preg > 0) {
slave.bellySagPreg += 1;
}
}
} else if (slave.belly >= 600000) {
if (slave.bellySag < 20) {
slave.bellySag += 0.5;
if (slave.preg > 0) {
slave.bellySagPreg += 0.5;
}
} else if (slave.preg > 0 && slave.bellySagPreg < 20) {
slave.bellySagPreg += 0.5;
}
if (slave.pregControl === "speed up") {
slave.bellySag += 1;
slave.bellySagPreg += 1;
}
if (slave.geneMods.rapidCellGrowth === 1) {
slave.bellySag += 1;
if (slave.preg > 0) {
slave.bellySagPreg += 1;
}
}
} else if (slave.belly >= 450000) {
if (slave.bellySag < 15) {
slave.bellySag += 0.4;
if (slave.preg > 0) {
slave.bellySagPreg += 0.4;
}
} else if (slave.preg > 0 && slave.bellySagPreg < 15) {
slave.bellySagPreg += 0.4;
}
if (slave.pregControl === "speed up") {
slave.bellySag += 0.6;
slave.bellySagPreg += 0.6;
}
if (slave.geneMods.rapidCellGrowth === 1) {
slave.bellySag += 0.5;
if (slave.preg > 0) {
slave.bellySagPreg += 0.5;
}
}
} else if (slave.belly >= 300000) {
if (slave.bellySag < 10) {
slave.bellySag += 0.3;
if (slave.preg > 0) {
slave.bellySagPreg += 0.3;
}
} else if (slave.preg > 0 && slave.bellySagPreg < 10) {
slave.bellySagPreg += 0.3;
}
if (slave.pregControl === "speed up") {
slave.bellySag += 0.5;
slave.bellySagPreg += 0.5;
}
if (slave.geneMods.rapidCellGrowth === 1) {
slave.bellySag += 0.5;
if (slave.preg > 0) {
slave.bellySagPreg += 0.5;
}
}
} else if (slave.belly >= 100000) {
if (slave.bellySag < 10) {
slave.bellySag += 0.2;
if (slave.preg > 0) {
slave.bellySagPreg += 0.2;
}
} else if (slave.preg > 0 && slave.bellySagPreg < 10) {
slave.bellySagPreg += 0.2;
}
if (slave.pregControl === "speed up") {
slave.bellySag += 0.3;
slave.bellySagPreg += 0.3;
}
if (slave.geneMods.rapidCellGrowth === 1) {
slave.bellySag += 0.3;
if (slave.preg > 0) {
slave.bellySagPreg += 0.3;
}
}
} else if ((slave.bellyPreg >= 10000) || (slave.bellyImplant >= 10000)) {
if (slave.bellySag < 5) {
slave.bellySag += 0.1;
if (slave.preg > 0) {
slave.bellySagPreg += 0.1;
}
} else if (slave.preg > 0 && slave.bellySagPreg < 5) {
slave.bellySagPreg += 0.1;
}
if (slave.pregControl === "speed up") {
slave.bellySag += 0.2;
slave.bellySagPreg += 0.2;
}
if (slave.geneMods.rapidCellGrowth === 1) {
slave.bellySag += 0.2;
if (slave.preg > 0) {
slave.bellySagPreg += 0.2;
}
}
}
if (slave.bellySagPreg > slave.bellySag) {
slave.bellySagPreg = slave.bellySag;
}
if (slave.bellySag > 0 && slave.belly < 1500 && slave.geneMods.rapidCellGrowth !== 1) {
if (slave.muscles > 95) {
if (random(1, 100) > 1) {
if (slave.bellySagPreg > 0) {
slave.bellySag -= 0.5;
slave.bellySagPreg -= 0.5;
if (slave.bellySag < 0) {
slave.bellySag = 0;
slave.bellySagPreg = 0;
}
} else {
slave.bellySag -= 0.5;
if (slave.bellySag < 0) {
slave.bellySag = 0;
}
}
}
} else if (slave.muscles >= 30) {
if (random(1, 100) > 20) {
if (slave.bellySagPreg > 0) {
slave.bellySag -= 0.4;
slave.bellySagPreg -= 0.4;
if (slave.bellySag < 0) {
slave.bellySag = 0;
slave.bellySagPreg = 0;
}
} else {
slave.bellySag -= 0.4;
if (slave.bellySag < 0) {
slave.bellySag = 0;
}
}
}
} else if (slave.muscles >= 5) {
if (random(1, 100) > 40) {
if (slave.bellySagPreg > 0) {
slave.bellySag -= 0.3;
slave.bellySagPreg -= 0.3;
if (slave.bellySag < 0) {
slave.bellySag = 0;
slave.bellySagPreg = 0;
}
} else {
slave.bellySag -= 0.3;
if (slave.bellySag < 0) {
slave.bellySag = 0;
}
}
}
} else {
if (random(1, 100) > 60) {
if (slave.bellySagPreg > 0) {
slave.bellySag -= 0.2;
slave.bellySagPreg -= 0.2;
if (slave.bellySag < 0) {
slave.bellySag = 0;
slave.bellySagPreg = 0;
}
} else {
slave.bellySag -= 0.2;
if (slave.bellySag < 0) {
slave.bellySag = 0;
}
}
}
}
}
if ((slave.preg > slave.pregData.minLiveBirth) && (slave.broodmother === 0) && (random(1, 100) < 90)) {
slave.counter.birthsTotal += WombBirthReady(slave, slave.pregData.minLiveBirth);
WombBirth(slave, slave.pregData.minLiveBirth);
WombFlush(slave);
if (slave.geneticQuirks.fertility + slave.geneticQuirks.hyperFertility >= 4) {
slave.pregWeek = -2;
} else if (slave.geneticQuirks.hyperFertility > 1) {
slave.pregWeek = -3;
} else {
slave.pregWeek = -4;
}
if (slave.birthsTat > -1) {
slave.birthsTat++;
}
} else if ((slave.preg > slave.pregData.normalBirth) && (slave.broodmother === 0)) {
slave.counter.birthsTotal += WombBirthReady(slave, slave.pregData.minLiveBirth);
WombBirth(slave, slave.pregData.minLiveBirth);
WombFlush(slave);
if (slave.geneticQuirks.fertility + slave.geneticQuirks.hyperFertility >= 4) {
slave.pregWeek = -2;
} else if (slave.geneticQuirks.hyperFertility > 1) {
slave.pregWeek = -3;
} else {
slave.pregWeek = -4;
}
if (slave.birthsTat > -1) {
slave.birthsTat++;
}
} else if ((slave.preg > 37) && (slave.broodmother > 0)) {
if (slave.broodmother > 0) {
slave.counter.birthsTotal += WombBirthReady(slave, 37);
WombBirth(slave, 37);
slave.preg = WombMaxPreg(slave);
}
if (slave.birthsTat > -1) {
slave.birthsTat++;
}
}
SetBellySize(slave); // Actually it's now better to set belly size without checking of any conditions. Just to be sure. Should correct forgotten variables too.
if (slave.lactation === 1) {
if (slave.fetish !== "boobs") {
if (slave.lactationDuration === 0) {
slave.boobs -= slave.boobsMilk;
slave.boobsMilk = 0;
slave.lactation = 0;
} else if (slave.lactationDuration === 1) {
slave.boobsMilk += 10 * slave.lactationAdaptation;
slave.boobs += slave.boobsMilk;
} else {
slave.lactationDuration--;
}
} else {
slave.lactationDuration = 2;
}
} else if (slave.lactation === 2) {
slave.lactationDuration = 2;
} else if (slave.fetish === "boobs" && slave.boobs - slave.boobsImplant >= 2000) {
slave.induceLactation += 2;
if (slave.lactationDuration >= 20) {
slave.induceLactation = 0;
slave.lactationDuration = 2;
slave.lactation = 1;
}
}
if (slave.induceLactation > 0) {
slave.induceLactation--;
}
if (slave.lactation === 0 && slave.geneticQuirks.galactorrhea === 2 && random(1, 100) <= slave.hormoneBalance) {
slave.lactationDuration = 2;
slave.lactation = 1;
}
if (slave.geneticQuirks.neoteny === 3 && slave.physicalAge >= 12) {
slave.geneticQuirks.neoteny = 2;
}
if (slave.geneticQuirks.progeria === 3 && slave.physicalAge >= 3) {
slave.geneticQuirks.progeria = 2;
}
if (slave.geneticQuirks.gigantomastia === 3 && random(70 - slave.physicalAge, 300) < slave.hormoneBalance) {
slave.geneticQuirks.gigantomastia = 2;
}
if (slave.geneticQuirks.macromastia === 3 && random(70 - slave.physicalAge, 300) < slave.hormoneBalance) {
slave.geneticQuirks.macromastia = 2;
}
if (slave.geneticQuirks.uterineHypersensitivity === 2) {
if (slave.vaginaLube < 2 && slave.vagina > 0 && random(70 - slave.physicalAge, 200) < slave.hormoneBalance) {
slave.vaginaLube += 1;
}
if (slave.geneMods.NCS === 0) {
if (slave.hips < 2 && random(70 - slave.physicalAge, 300) < slave.hormoneBalance && slave.physicalAge > 9 && slave.physicalAge < 20) {
slave.hips += 1;
}
}
}
if (slave.geneMods.immortality === 1) {
if (slave.physicalAge > 26) {
slave.physicalAge--;
}
if (slave.visualAge > 26) {
slave.visualAge--;
}
}
if (slave.geneticQuirks.progeria === 2 && slave.birthWeek > 2) {
if (((slave.birthWeek - 2) % 5) === 0) {
slave.physicalAge++;
slave.visualAge++;
slave.ovaryAge += 5;
}
}
if ((slave.hStyle !== "shaved" && slave.bald !== 1 && slave.haircuts === 0) && (slave.hLength < 150)) {
slave.hLength += 1;
}
slave.health.illness = 0;
};
|
MonsterMate/fc
|
src/endWeek/saAgent.js
|
JavaScript
|
mit
| 18,032
|
App.SlaveAssignment.beYourHeadGirl = (function() {
"use strict";
let r;
// eslint-disable-next-line no-unused-vars
let he, him, his, hers, himself, girl, loli, He, His, wife, wives;
let fetishChange;
let arcology;
return saBeYourHeadGirl;
/**
* @param {App.Entity.SlaveState} slave
* @returns {string}
*/
function saBeYourHeadGirl(slave) {
r = [];
fetishChange = fetishChangeChance(slave);
arcology = V.arcologies[0];
({
// eslint-disable-next-line no-unused-vars
he, him, his, hers, himself, girl, He, His, loli, wife, wives
} = getPronouns(slave));
updateHGState(slave);
jobPreface(slave);
theHGLife(slave);
if (V.personalAttention === "HG") {
playerHelpsHG(slave);
}
if (V.HGFormality === 0) {
HGFormality(slave);
}
jobEffects(slave);
if (slave.prestige === 0) {
prestigeGain(slave);
}
cleanupVars(slave);
return r.join(" ");
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function updateHGState(slave) {
V.HGTimeInGrade += 1;
if (V.HGSuite === 1) {
slave.rules.living = "luxurious";
}
slave.rules.rest = "restrictive";
tired(slave);
}
/**
* @param {App.Entity.SlaveState} slave
* */
function jobPreface(slave) {
if (arcology.FSEgyptianRevivalistLaw === 0) {
r.push(`helps manage your other slaves. ${He} helps them when they try and fail, and punishes them when they fail to try.`);
} else {
r.push(`serves as your Consort. Though ${he} is still your slave, ${his} status is scarcely below that of a citizen. ${He} <span class="green">contributes to your reputation</span> just like a Concubine, and ${he} is <span class="hotpink">conscious</span> of the <span class="mediumaquamarine">trust</span> you place in ${him}.`);
slave.devotion += 1;
slave.trust += 1;
App.SlaveAssignment.pleaseYou(slave);
if (slave.relationship > 4) {
if (slave.relationshipTarget === V.ConcubineID) {
const concubine = S.Concubine;
if (areRelated(concubine, slave)) {
const concubinePronouns = getPronouns(concubine);
if (concubine.mother === slave.ID || concubine.father === slave.ID) {
r.push(`Your Concubine is your Consort's ${concubinePronouns.daughter}-${concubinePronouns.wife}. Truly, ${arcology.name} looks up to you <span class="green">as children to a father.</span>`);
repX(1000, "headGirl", slave);
} else if (slave.mother === V.ConcubineID) {
r.push(`Your Concubine is your Consort's mother-${concubinePronouns.wife}. Truly, ${arcology.name} looks up to you <span class="green">as children to a father.</span>`);
repX(1000, "headGirl", slave);
} else if (slave.father === V.ConcubineID) {
r.push(`Your Concubine is your Consort's father-${concubinePronouns.wife}. Truly, ${arcology.name} looks up to you <span class="green">as children to a father.</span>`);
repX(1000, "headGirl", slave);
} else {
switch (areSisters(slave, concubine)) {
case 1:
r.push(`Your Concubine is your Consort's twin-${concubinePronouns.wife}. Truly, ${arcology.name} looks up to you <span class="green">as children to a father.</span>`);
repX(1000, "headGirl", slave);
break;
case 2:
r.push(`Your Concubine is your Consort's ${concubinePronouns.sister}-${concubinePronouns.wife}. Truly, ${arcology.name} looks up to you <span class="green">as children to a father.</span>`);
repX(1000, "headGirl", slave);
break;
case 3:
r.push(`Your Concubine is your Consort's half-${concubinePronouns.sister}-${concubinePronouns.wife}. Truly, ${arcology.name} looks up to you <span class="green">as children to a father.</span>`);
repX(1000, "headGirl", slave);
break;
default:
r.push(`<span style="bold">Shit went wrong! Post this in a bug report!</span> This is <span class="red">NOT as it should be.</span>`);
repX(500, "headGirl", slave);
}
}
}
} else {
if (totalRelatives(slave) > 0) {
let relation = getSlave(slave.relationshipTarget);
const relationPronouns = getPronouns(relation);
if (relation.mother === slave.ID || relation.father === slave.ID) {
r.push(`Your Consort has a ${relationPronouns.daughter}-${relationPronouns.wife}. This is <span class="green">as it should be.</span>`);
repX(500, "headGirl", slave);
} else if (slave.mother === relation.ID) {
r.push(`Your Consort has a mother-${relationPronouns.wife}. This is <span class="green">as it should be.</span>`);
repX(500, "headGirl", slave);
} else if (slave.father === relation.ID) {
r.push(`Your Consort has a father-${relationPronouns.wife}. This is <span class="green">as it should be.</span>`);
repX(500, "headGirl", slave);
} else {
switch (areSisters(slave, relation)) {
case 1:
r.push(`Your Consort has a twin-${relationPronouns.wife}. This is <span class="green">as it should be.</span>`);
repX(500, "headGirl", slave);
break;
case 2:
r.push(`Your Consort has a ${relationPronouns.sister}-${relationPronouns.wife}. This is <span class="green">as it should be.</span>`);
repX(500, "headGirl", slave);
break;
case 3:
r.push(`Your Consort has a half-${relationPronouns.sister}-${relationPronouns.wife}. This is <span class="green">as it should be.</span>`);
repX(500, "headGirl", slave);
break;
}
}
}
}
}
}
if (App.EndWeek.saVars.HGEnergy === 0) {
r.push(`${He} notices ${his} <span class="red">fatigue getting in the way</span> of training your slaves, so ${he} focuses ${his} attention on ${himself} this week to <span class="green">rectify this.</span>`);
}
}
/**
* @param {App.Entity.SlaveState} slave
* */
function theHGLife(slave) {
if (V.HGTimeInGrade > 12) {
if (V.HGSuite === 1) {
r.push(`Being continually trusted with this position <span class="hotpink">increases ${his} devotion to you,</span> and encourages ${him} to <span class="mediumaquamarine">trust you in turn;</span> ${he}'s also <span class="hotpink">grateful</span> for ${his} nice suite, which makes ${him} one of the best provided for slaves in the Free Cities.`);
slave.devotion += 4;
slave.trust += 4;
} else if (slave.rules.living === "luxurious") {
r.push(`Being continually trusted with this position <span class="hotpink">increases ${his} devotion to you</span> and encourages ${him} to <span class="mediumaquamarine">trust you in turn.</span>`);
slave.devotion += 4;
slave.trust += 4;
} else {
r.push(`Being continually trusted with this position <span class="hotpink">slightly increases ${his} devotion to you,</span> though ${he} harbors some doubts because ${he} isn't allowed a room of ${his} own to set ${him} apart from the other slaves.`);
slave.devotion += 1;
}
} else {
if (V.HGSuite === 1) {
r.push(`${He}'s <span class="mediumaquamarine">grateful</span> for ${his} nice suite, which makes ${him} one of the best provided for slaves in the Free Cities.`);
slave.trust += 4;
} else if (slave.rules.living !== "luxurious" && slave.devotion <= 50) {
r.push(`Given ${his} lofty position, ${he} <span class="mediumorchid">harbors some doubts</span> in ${his} value to you since ${he} isn't allowed a room of ${his} own to set ${him} apart from the other slaves.`);
slave.devotion -= 2;
}
}
if (slave.rules.living !== "luxurious") {
r.push(`${His} duties are <span class="red">physically and mentally taxing,</span> especially with nothing more than a`);
if (slave.rules.living === "normal") {
r.push(`bed`);
} else {
r.push(`cot`);
}
r.push(`waiting for ${him} in the slave dormitory.`);
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function playerHelpsHG(slave) {
r.push(`You're cooperating with ${him} this week, working with ${V.assistant.name} to free up some of ${his} time so ${he} can target more slaves in need of individual attention.`);
if (slave.trust > 95) {
r.push(`${He} is so trusting of you that ${he} can act as your own right hand, allowing ${him} to oversee your slaves with remarkable efficiency.`);
} else {
r.push(`This arrangement <span class="mediumaquamarine">builds trust</span> between you.`);
slave.trust += 2;
}
if (slave.health.tired > 30) {
r.push(`It also takes a load off ${his} tired shoulders.`);
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function HGFormality(slave) {
if (slave.trust > 95) {
r.push(`Every so often, when you're alone, ${he} calls you ${properTitle()}. ${He} treats your permission to do this as a sacred thing, and <span class="hotpink">loves you for it.</span>`);
slave.devotion += 1;
} else {
r.push(`Your permission to be informal in private <span class="mediumorchid">confuses ${him}</span> a little, since ${he} isn't perfectly confident enough to be comfortable with the idea.`);
slave.devotion -= 1;
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function jobEffects(slave) {
if (slave.fetishKnown === 1) {
if (slave.fetish === "dom") {
if (slave.fetishKnown === 1 && slave.fetishStrength <= 95) {
r.push(`Having all the slaves look up to and obey ${him} advances ${his} <span class="lightcoral">dominant tendencies.</span>`);
slave.fetishStrength += 4;
}
} else if (fetishChange > jsRandom(0, 100)) {
r.push(`Having all the slaves look up to and obey ${him} affects ${his} sexuality, turning ${him} into a <span class="lightcoral">bit of a dominatrix.</span>`);
slave.fetish = "dom";
slave.fetishStrength = 20;
slave.fetishKnown = 1;
} else if (slave.fetishStrength <= jsRandom(20, 60)) {
r.push(`The sheer variety of sexual situations ${he} sees and participates in <span class="pink">broaden ${his} sexual interests</span> and incline ${him} to take a dominant sexual role.`);
slave.fetishStrength -= 4;
}
} else {
if (slave.fetish === "dom") {
r.push(`Having all the slaves look up to and obey ${him} clearly excites ${him}; <span class="lightcoral">${he}'s a natural dom!</span>`);
} else if (fetishChange > jsRandom(0, 100)) {
r.push(`Having all the slaves look up to and obey ${him} affects ${his} sexuality, turning ${him} into a <span class="lightcoral">bit of a dominatrix.</span>`);
slave.fetish = "dom";
slave.fetishStrength = 20;
slave.fetishKnown = 1;
}
}
if (slave.rules.lactation === "induce") {
r.push(`${He} works mammary stimulation into ${his} slave training regimen in an effort to bring in ${his} milk for you.`);
slave.induceLactation += 3;
r.push(`${induceLactation(slave)}`);
if (slave.lactation === 1) {
slave.rules.lactation = "maintain";
}
} else if (slave.rules.lactation === "maintain") {
r.push(`Proper nursing and milking technique is a strong aspect of ${his} slave training regimen, both to keep ${his} milk flowing and to prevent the mounting pressure from distracting from ${his} work.`);
slave.lactationDuration = 2;
slave.boobs -= slave.boobsMilk;
slave.boobsMilk = 0;
}
if (slave.dick > 0 && V.universalRulesImpregnation === "HG" && canPenetrate(slave)) {
r.push(`${He} finds ${his} duty to impregnate slaves at will sexually satisfying.`);
slave.need = 0;
} else if (V.slaves.length > 5) {
r.push(`Seldom a day goes by without ${him} finding an outlet among your slaves for ${his} sexual desires.`);
slave.need = 0;
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function prestigeGain(slave) {
if (V.HGTimeInGrade + ((slave.intelligence + slave.intelligenceImplant) / 10) + (slave.devotion / 10) + (slave.trust / 10) > 50) {
r.push(`${slave.slaveName} has rendered such long and competent service as your Head Girl that many of your citizens have come to rely on ${his} word as an extension of yours, trusting that if ${he} does something, it's because you trust ${him} to. <span class="green">${He} has become prestigious on ${his} own merits, a remarkable achievement for a slave!</span>`);
slave.prestige += 1;
slave.prestigeDesc = `Many citizens respect $his long and able service as your Head Girl.`;
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function cleanupVars(slave) {
if (!setup.HGCareers.includes(slave.career) && slave.skill.headGirl < V.masteredXP) {
slave.skill.headGirl += jsRandom(1, Math.ceil((slave.intelligence + slave.intelligenceImplant) / 15) + 8);
}
slave.health.tired = Math.clamp(slave.health.tired, 0, 1000);
}
})();
|
MonsterMate/fc
|
src/endWeek/saBeYourHeadGirl.js
|
JavaScript
|
mit
| 12,678
|
App.SlaveAssignment.choosesOwnClothes = (function() {
"use strict";
let player;
let r;
// eslint-disable-next-line no-unused-vars
let he, him, his, himself, He, His;
/**
* @param {App.Entity.SlaveState} slave
* @returns {string}
*/
function saChoosesOwnClothes(slave) {
player = V.PC;
r = "";
if (slave.clothes === "choosing her own clothes") {
slave.choosesOwnClothes = 1; // make sure the flag is set so we don't get locked into a bad state
}
if (slave.choosesOwnClothes !== 1) { return r; }
({
he, him, his, himself,
He, His
} = getPronouns(slave));
if (slave.fetish === "mindbroken") {
const corsetChoice = todaysCorset(slave);
const clothingChoice = todaysOutfit(slave);
slave.bellyAccessory = corsetChoice.bellyAccessory;
slave.clothes = clothingChoice.clothes;
r += `${He} is fundamentally broken, but still follows some faint memories of standing within the wardrobe. `;
if (hasAnyLegs(slave)) {
const shoeChoice = todaysShoes(slave);
r += `${shoeChoice.text} `;
slave.shoes = shoeChoice.shoes;
}
r += `${corsetChoice.text} Faced with so many choices and no thought on the matter; ${clothingChoice.text}`;
} else if (slave.devotion <= 20) {
const clothingChoice = todaysOutfit(slave);
slave.clothes = clothingChoice.clothes;
r += `${clothingChoice.text} `;
if (hasAnyLegs(slave)) {
const shoeChoice = todaysShoes(slave);
r += `${shoeChoice.text} `;
slave.shoes = shoeChoice.shoes;
}
r += `Allowing ${him} permission to dress as ${he} sees fit <span class="devotion dec">increases ${his} independence.</span>`;
slave.devotion -= 5;
} else {
const neckChoice = todaysCollar(slave);
const corsetChoice = todaysCorset(slave);
const clothingChoice = todaysOutfit(slave);
slave.collar = neckChoice.collar;
slave.bellyAccessory = corsetChoice.bellyAccessory;
slave.clothes = clothingChoice.clothes;
r += `${He} <span class="devotion inc">loves</span> being able to dress ${himself}, ${neckChoice.text} ${corsetChoice.text} ${clothingChoice.text} `;
slave.devotion += 1;
if (V.arcologies[0].FSRestart !== "unset" && slave.choosesOwnChastity === 1) {
if (slave.vagina > -1 && slave.breedingMark === 1 && slave.chastityVagina === 1) {
r += `${He} unfastens ${his} chastity belt knowing full well ${his} role in life is to carry ${his} ${getWrittenTitle(slave)}'s children. `;
slave.chastityVagina = 0;
} else if (slave.vagina > -1 && slave.ovaries === 1 && slave.preg === 0 && slave.chastityVagina !== 1) {
r += `${He} also affixes a chastity belt over ${his} vagina to discourage use of ${his} reproductive organ. `;
slave.chastityVagina = 1;
} else if (slave.vagina > -1 && (slave.ovaries === 0 || slave.preg < -1) && slave.chastityVagina === 1) {
r += `${He} removes ${his} chastity belt since no matter how hard someone tries, ${he} can never become pregnant. `;
slave.chastityVagina = 0;
}
if (slave.dick > 0 && slave.balls > 0 && slave.chastityPenis !== 1) {
r += `${He} also affixes a chastity cage onto ${his} dick to discourage use of ${his} reproductive organ. `;
slave.chastityPenis = 1;
} else if (slave.dick > 0 && slave.balls === 0 && slave.chastityPenis === 1) {
r += `${He} removes ${his} chastity cage since even if ${he} could get erect, ${he} only shoots blanks. `;
slave.chastityPenis = 0;
}
}
if (hasAnyLegs(slave)) {
const shoeChoice = todaysShoes(slave);
r += `${shoeChoice.text}`;
slave.shoes = shoeChoice.shoes;
}
}
return r;
}
/**
* @param {App.Entity.SlaveState} slave
* @returns {{text:string, clothes:string}}
*/
function todaysOutfit(slave) {
const clothing = [];
let chosenClothing;
const wardrobeAssignment = [];
const wardrobeFS = [];
const wardrobeTastes = [];
let selection;
if (slave.fetish === "mindbroken") {
if (V.arcologies[0].FSChattelReligionist > 0) {
selection = {text: `${he} commonly sees others wearing chattel habits and is drawn to doing so ${himself}.`, clothes: "a chattel habit"};
} else {
clothing.push("panties");
if (V.arcologies[0].FSEgyptianRevivalist > 0) {
clothing.push("egyptian");
} else if (V.arcologies[0].FSRomanRevivalist > 0) {
clothing.push("roman");
} else if (V.arcologies[0].FSAztecRevivalist > 0) {
clothing.push("aztec");
} else if (V.arcologies[0].FSEdoRevivalist > 0) {
clothing.push("edo");
} else if (V.arcologies[0].FSArabianRevivalist > 0) {
clothing.push("arabic");
} else if (V.arcologies[0].FSChineseRevivalist > 0) {
clothing.push("chinese");
}
if (V.arcologies[0].FSGenderFundamentalist > 0) {
clothing.push("genderFund");
}
if (V.arcologies[0].FSPaternalist > 0) {
clothing.push("paternalist");
} else if (V.arcologies[0].FSDegradationist > 0) {
clothing.push("degradationist");
}
if (V.arcologies[0].FSMaturityPreferentialist > 0) {
clothing.push("mature");
} else if (V.arcologies[0].FSYouthPreferentialist > 0) {
clothing.push("youth");
}
if (V.arcologies[0].FSPhysicalIdealist > 0) {
clothing.push("physicalIdealist");
}
if (V.arcologies[0].FSPastoralist > 0) {
clothing.push("pastoralist");
}
if (V.arcologies[0].FSBodyPurist > 0) {
clothing.push("bodyPurist");
}
if (V.arcologies[0].FSSlaveProfessionalism > 0) {
clothing.push("professional");
} else if (V.arcologies[0].FSIntellectualDependency > 0) {
clothing.push("bimbo");
}
chosenClothing = jsEither(clothing);
switch (chosenClothing) {
case "egyptian":
selection = {text: `${he} commonly sees others wearing nothing but jewelry and is drawn to doing so ${himself}.`, clothes: "slutty jewelry"};
break;
case "roman":
selection = {text: `${he} commonly sees others wearing togas and is drawn to doing so ${himself}.`, clothes: "a toga"};
break;
case "aztec":
selection = {text: `${he} commonly sees others wearing huipils and is drawn to doing so ${himself}.`, clothes: "a huipil"};
break;
case "edo":
selection = {text: `${he} commonly sees others wearing kimonos and is drawn to doing so ${himself}.`, clothes: "a kimono"};
break;
case "arabic":
selection = {text: `${he} commonly sees others wearing silk and is drawn to doing so ${himself}.`, clothes: "harem gauze"};
break;
case "chinese":
selection = {text: `${he} commonly sees others wearing qipaos and is drawn to doing so ${himself}.`, clothes: "a slutty qipao"};
break;
case "genderFund":
if (jsRandom(1, 2) === 1) {
selection = {text: `${he} commonly sees cheerleaders around and instinctively follows along.`, clothes: jsEither(["a cheerleader outfit", "a schoolgirl outfit"])};
} else {
selection = {text: `${he} commonly sees bunnies around and instinctively follows along.`, clothes: "a bunny outfit"};
}
break;
case "paternalist":
selection = {text: `${he} commonly sees others wearing normal clothing and is drawn to doing so ${himself}.`, clothes: "conservative clothing"};
break;
case "degradationist":
selection = {text: `${he} commonly sees others wearing chains and is drawn to doing so ${himself}.`, clothes: jsEither(["chains", "shibari ropes", "uncomfortable straps"])};
break;
case "mature":
selection = {text: `${he} commonly sees others wearing suits and is drawn to doing so ${himself}.`, clothes: jsEither(["a nice maid outfit", "nice business attire", "slutty business attire"])};
break;
case "youth":
selection = {text: `${he} commonly sees schoolgirls around and instinctively follows along.`, clothes: jsEither(["a cheerleader outfit", "a schoolgirl outfit"])};
break;
case "physicalIdealist":
selection = {text: `${he} commonly sees naked girls around and seldom realizes they are coated in oil.`, clothes: jsEither(["body oil", "no clothing", "no clothing"])};
break;
case "pastoralist":
selection = {text: `${he} commonly sees cowgirls around and instinctively follows along.`, clothes: "Western clothing"};
break;
case "bodyPurist":
selection = {text: `${he} commonly sees others wearing tight, form-fitting clothes and is drawn to doing so ${himself}.`, clothes: jsEither(["a comfortable bodysuit", "a halter top dress", "a leotard", "a leotard", "a slave gown", "a string bikini", "clubslut netting", "restrictive latex"])};
break;
case "professional":
selection = {text: `${he} commonly sees others wearing complicated clothing and is drawn to doing so ${himself}.`, clothes: jsEither(["a slutty maid outfit", "slutty business attire", "a halter top dress", "a courtesan dress"])};
break;
case "bimbo":
selection = {text: `${he} commonly sees others showing skin is drawn to doing so ${himself}.`, clothes: jsEither(["a bimbo outfit", "a slutty outfit", "a string bikini", "attractive lingerie", "clubslut netting", "slutty jewelry", "no clothing"])};
break;
default:
selection = {text: `${he} chooses to put on underwear, the reasons lost to ${him}, and moves on.`, clothes: jsEither(["attractive lingerie", "panties"])};
break;
}
}
} else if (slave.devotion <= 20) {
clothing.push({text: `${He} uses the ability to select outfits to cover up with comfortable cutoffs and a t-shirt.`, clothes: "cutoffs and a t-shirt"});
if (isItemAccessible.entry("a hijab and blouse") === true) {
clothing.push({text: `${He} uses the ability to select outfits to cover up with the most conservative clothing ${he} can find.`, clothes: "a hijab and blouse"});
}
if (isItemAccessible.entry("conservative clothing") === true) {
clothing.push({text: `${He} uses the ability to select outfits to cover up with the most conservative clothing ${he} can find.`, clothes: "conservative clothing"});
}
if (isItemAccessible.entry("a kimono") === true) {
clothing.push({text: `${He} uses the ability to select outfits to cover ${himself} with a kimono.`, clothes: "a kimono"});
}
if (isItemAccessible.entry("stretch pants and a crop-top") === true) {
clothing.push({text: `${He} uses the ability to select outfits to cover up with stretch pants and a crop-top, though ${he} wishes it didn't have lewd comments printed on it.`, clothes: "stretch pants and a crop-top"});
}
selection = jsEither(clothing);
} else {
if (V.arcologies[0].FSChattelReligionist > 0) {
clothing.push({text: `and wears a chattel habit to conform to your arcology's culture.`, clothes: "a chattel habit"});
} else if (slave.assignment === Job.NURSE) { /* Chooses clothes according to assignment (no exceptions)*/
if (slave.energy > 95 || slave.need > 100) {
wardrobeAssignment.push({text: `and wears a slutty nurse outfit to make it clear just how much this nurse needs ${his} daily lay.`, clothes: "a slutty nurse outfit"});
} else if (slave.energy > 80) {
wardrobeAssignment.push({text: `and wears a slutty nurse outfit to show off ${his} body and arouse ${his} patients.`, clothes: "a slutty nurse outfit"});
if (isItemAccessible.entry("a nice nurse outfit") === true) {
wardrobeAssignment.push({text: `and wears a nice nurse outfit to look professional before ${his} patients.`, clothes: "a nice nurse outfit"});
}
wardrobeAssignment.push({text: `and wears a slutty nurse outfit to show to a little skin as ${he} cares for ${his} patients.`, clothes: "a slutty nurse outfit"});
} else {
if (isItemAccessible.entry("a nice nurse outfit") === true) {
wardrobeAssignment.push({text: `and wears a nice nurse outfit to look professional before ${his} patients.`, clothes: "a nice nurse outfit"});
}
wardrobeAssignment.push({text: `and wears a slutty nurse outfit to show to a little skin as ${he} cares for ${his} patients.`, clothes: "a slutty nurse outfit"});
}
} else if (slave.assignment === Job.MADAM) {
if (slave.energy > 95 || slave.need > 100) {
wardrobeAssignment.push({text: `and wears a slutty suit to be certain nothing blocks ${him} from getting the sex ${he} needs.`, clothes: "slutty business attire"});
} else if (slave.energy > 80) {
if (isItemAccessible.entry("nice business attire") === true) {
wardrobeAssignment.push({text: `and wears a nice suit to show ${he} means business.`, clothes: "nice business attire"});
}
wardrobeAssignment.push({text: `and wears a slutty suit to entice and arouse while still looking managerial.`, clothes: "slutty business attire"});
wardrobeAssignment.push({text: `and wears a slutty suit to entice and arouse while still looking managerial.`, clothes: "slutty business attire"});
} else {
if (isItemAccessible.entry("nice business attire") === true) {
wardrobeAssignment.push({text: `and wears a nice suit to show ${he} means business.`, clothes: "nice business attire"});
}
wardrobeAssignment.push({text: `and wears a slutty suit to entice and arouse while still looking managerial.`, clothes: "slutty business attire"});
}
} else if (slave.assignment === Job.MILKMAID) {
if (slave.energy > 95 || slave.need > 100) {
if (isItemAccessible.entry("body oil") === true) {
wardrobeAssignment.push({text: `and coats ${himself} with oil to better slip between ${his} cows as ${he} pleasures them.`, clothes: "body oil"});
}
wardrobeAssignment.push({text: `but goes nude to not be slowed down while moving between ${his} charges.`, clothes: "no clothing"});
} else {
if (isItemAccessible.entry("a nice maid outfit") === true) {
wardrobeAssignment.push({text: `and wears a sturdy maid outfit, since anything else might be damaged by ${his} hard work with the cows.`, clothes: "a nice maid outfit"});
}
wardrobeAssignment.push({text: `and puts on a proper pair of worker's overalls, but not much else.`, clothes: "overalls"});
wardrobeAssignment.push({text: `and decides to call it Casual Friday and wear nothing but cutoffs and a t-shirt. Not like the cows will mind.`, clothes: "cutoffs and a t-shirt"});
wardrobeAssignment.push({text: `and opts to don a cheerleader outfit to help cheer the cows on.`, clothes: "a cheerleader outfit"});
wardrobeAssignment.push({text: `and dresses up as a succubus since ${he}'ll be drawing plenty of fluids.`, clothes: "a succubus outfit"});
wardrobeAssignment.push({text: `and slips into some spats and a tank top since ${he} feels a workout coming on.`, clothes: "spats and a tank top"});
if (isItemAccessible.entry("Western clothing") === true) {
wardrobeAssignment.push({text: `and wears an appropriate cowgirl outfit. ${His} bare ass walking past is sure to amuse ${his} charges.`, clothes: "Western clothing"});
}
if (isItemAccessible.entry("stretch pants and a crop-top") === true) {
wardrobeAssignment.push({text: `and slips into some comfy stretch pants to relax as ${he} works the cows.`, clothes: "stretch pants and a crop-top"});
}
if (V.cumSlaves > 2) {
wardrobeAssignment.push({text: `and wears a slutty nurse outfit to help keep ${his} charges hard.`, clothes: "a slutty nurse outfit"});
wardrobeAssignment.push({text: `and wears nothing but sexy lingerie to help keep ${his} charges hard.`, clothes: "attractive lingerie"});
wardrobeAssignment.push({text: `and wears the skimpiest bikini on hand to help keep ${his} charges hard.`, clothes: "a string bikini"});
if (isItemAccessible.entry("body oil") === true) {
wardrobeAssignment.push({text: `and coats ${himself} in oil for ${his} charges to savor.`, clothes: "body oil"});
}
}
}
} else if (slave.assignment === Job.HEADGIRL) {
if (isItemAccessible.entry("a military uniform") === true) {
wardrobeAssignment.push({text: `and wears a military uniform to give ${him} that extra touch of authority.`, clothes: "a military uniform"});
}
if (isItemAccessible.entry("a schutzstaffel uniform") === true) {
wardrobeAssignment.push({text: `and wears a schutzstaffel uniform to give ${him} that extra touch of authority.`, clothes: "a schutzstaffel uniform"});
wardrobeAssignment.push({text: `and wears a slutty schutzstaffel uniform to give ${him} that extra touch of authority.`, clothes: "a slutty schutzstaffel uniform"});
}
if (isItemAccessible.entry("a red army uniform") === true) {
wardrobeAssignment.push({text: `and wears a red army uniform to give ${him} that extra touch of authority.`, clothes: "a red army uniform"});
}
if (isItemAccessible.entry("a mounty outfit") === true) {
wardrobeAssignment.push({text: `and wears a mounty outfit to give ${him} that extra touch of authority.`, clothes: "a mounty outfit"});
}
if (isItemAccessible.entry("nice business attire") === true) {
wardrobeAssignment.push({text: `and wears a handsome suit to give ${him} that extra touch of authority.`, clothes: "nice business attire"});
}
if (canPenetrate(slave)) {
wardrobeAssignment.push({text: `and wears a slutty suit to make it perfectly clear that ${his} dick is ${his} main tool in ${his} job.`, clothes: "slutty business attire"});
} else {
wardrobeAssignment.push({text: `and wears a slutty suit to give ${him} an extra touch of authority while keeping ${his} crotch available.`, clothes: "slutty business attire"});
}
} else if (slave.assignment === Job.TEACHER) {
if (isItemAccessible.entry("nice business attire") === true) {
wardrobeAssignment.push({text: `and wears a handsome suit to give ${him} that teacherly authority.`, clothes: "nice business attire"});
}
wardrobeAssignment.push({text: `and wears a slutty suit to give ${him} an air of authority will keeping all eyes focused on ${him}.`, clothes: "slutty business attire"});
wardrobeAssignment.push({text: `and wears a schoolgirl outfit to help keep ${his} charges focused on ${him}.`, clothes: "a schoolgirl outfit"});
wardrobeAssignment.push({text: `and dresses up as a succubus to give ${his} sex lessons an extra kick.`, clothes: "a succubus outfit"});
if (isItemAccessible.entry("conservative clothing") === true) {
wardrobeAssignment.push({text: `and wears conservative clothes to not detract from this week's lesson.`, clothes: "conservative clothing"});
}
if (isItemAccessible.entry("a toga") === true) {
wardrobeAssignment.push({text: `and wraps ${himself} in a toga to model ${himself} after the philosophers of yore.`, clothes: "a toga"});
}
if (isItemAccessible.entry("a maternity dress") === true && slave.belly >= 10000) {
wardrobeAssignment.push({text: `and settles for a comfortable maternity dress to support ${his} middle while ${he} lectures in front of the class all week.`, clothes: "a maternity dress"});
}
} else if (slave.assignment === Job.WARDEN) {
if (isItemAccessible.entry("battledress") === true) {
wardrobeAssignment.push({text: `and dons battledress, the better to intimidate the prisoners.`, clothes: "battledress"});
}
wardrobeAssignment.push({text: `and slips into a scalemail bikini, the better to intimidate the prisoners.`, clothes: "a scalemail bikini"});
wardrobeAssignment.push({text: `and dons a scandalous habit to make it perfectly clear that crossing this nun will result in sexual punishment.`, clothes: "a fallen nuns habit"});
if (isItemAccessible.entry("a military uniform") === true) {
wardrobeAssignment.push({text: `and wears a military uniform to look even more brutal and authoritative.`, clothes: "a military uniform"});
}
if (isItemAccessible.entry("a schutzstaffel uniform") === true) {
wardrobeAssignment.push({text: `and wears a schutzstaffel uniform to look even more brutal and authoritative.`, clothes: "a schutzstaffel uniform"});
wardrobeAssignment.push({text: `and wears a slutty schutzstaffel uniform to look even more brutal and authoritative.`, clothes: "a slutty schutzstaffel uniform"});
}
if (isItemAccessible.entry("a red army uniform") === true) {
wardrobeAssignment.push({text: `and wears a red army uniform to look even more brutal and authoritative.`, clothes: "a red army uniform"});
}
if (isItemAccessible.entry("stretch pants and a crop-top") === true) {
wardrobeAssignment.push({text: `and decides to take it easy by slipping into some stretch pants. They come off just as quickly as they come on, just in case.`, clothes: "stretch pants and a crop-top"});
}
} else if (slave.assignment === Job.ATTENDANT) {
wardrobeAssignment.push({text: `and wears a string bikini, since it's all ${he} can wear that won't be ruined by all the moisture in the spa.`, clothes: "a string bikini"});
if (isItemAccessible.entry("a monokini") === true) {
wardrobeAssignment.push({text: `and wears an one-piece swimsuit, since it's all ${he} can wear that won't be ruined by all the moisture in the spa.`, clothes: "a monokini"});
}
if (isItemAccessible.entry("a one-piece swimsuit") === true) {
wardrobeAssignment.push({text: `and wears a one-piece swimsuit, since it's all ${he} can wear that won't be ruined by all the moisture in the spa.`, clothes: "a one-piece swimsuit"});
}
if (isItemAccessible.entry("a burkini") === true) {
wardrobeAssignment.push({text: `and wears a modest swimsuit, since it's all ${he} can wear that won't be ruined by all the moisture in the spa.`, clothes: "a burkini"});
}
wardrobeAssignment.push({text: `but decides to go nude, since ${he}'ll be spending so much time in the water.`, clothes: "no clothing"});
} else if (slave.assignment === Job.REST) {
wardrobeAssignment.push({text: `and wears a comfortable t-shirt and cutoffs to relax.`, clothes: "cutoffs and a t-shirt"});
wardrobeAssignment.push({text: `and slips into some attractive lingerie to enjoy ${himself} as ${he} unwinds.`, clothes: "attractive lingerie"});
wardrobeAssignment.push({text: `and slips into nothing more than a pair of panties.`, clothes: "panties"});
wardrobeAssignment.push({text: `but decides that clothing takes too much work and would rather sleep nude.`, clothes: "no clothing"});
if (isItemAccessible.entry("stretch pants and a crop-top") === true) {
wardrobeAssignment.push({text: `and slips into some comfy stretch pants to relax.`, clothes: "stretch pants and a crop-top"});
}
if (isItemAccessible.entry("attractive lingerie for a pregnant woman") === true && slave.belly >= 1500) {
wardrobeAssignment.push({text: `and slips into some attractive lingerie to enjoy ${himself} as ${he} unwinds.`, clothes: "attractive lingerie for a pregnant woman"});
}
if (slave.fetish === "submissive") {
wardrobeAssignment.push({text: `and decides the best way to relax is tied up nice and tight.`, clothes: "shibari ropes"});
}
} else if (slave.assignment === Job.MILKED || slave.assignment === Job.DAIRY) {
wardrobeAssignment.push({text: `and wears sturdy lingerie to offer the best support to ${his} sore, milk-filled udders.`, clothes: "attractive lingerie"});
if (isItemAccessible.entry("attractive lingerie for a pregnant woman") === true && slave.belly >= 1500) {
wardrobeAssignment.push({text: `and wears lingerie designed for milky mothers.`, clothes: "attractive lingerie for a pregnant woman"});
}
if (isItemAccessible.entry("a maternity dress") === true && slave.belly >= 10000) {
wardrobeAssignment.push({text: `and chooses a maternity dress since it is easy to free ${his} breasts from.`, clothes: "a maternity dress"});
}
if (isItemAccessible.entry("a monokini") === true) {
wardrobeAssignment.push({text: `and chooses a swimsuit that leaves ${his} breasts exposed.`, clothes: "a monokini"});
}
wardrobeAssignment.push({text: `and puts on a pair of overalls, making sure to leave ${his} breasts exposed.`, clothes: "overalls"});
wardrobeAssignment.push({text: `and wears a string bikini for easy access to ${his} udders.`, clothes: "a string bikini"});
wardrobeAssignment.push({text: `and decides to wear nothing, since anything ${he}'d wear would just get soaked anyway.`, clothes: "no clothing"});
if (slave.lactation > 1) {
wardrobeAssignment.push({text: `but goes nude. There's no time for clothing, ${his} udders need to be drained now!`, clothes: "no clothing"});
}
wardrobeAssignment.push({text: `and dons a slutty outfit. If ${his} breasts are going to hang out, might as well wear something to complement them.`, clothes: "a slutty outfit"});
} else if (slave.assignment === Job.BODYGUARD) {
wardrobeAssignment.push({text: `and wears a bodysuit to show off ${his} curves without hindering ${his} deadliness.`, clothes: "a comfortable bodysuit"});
if (isItemAccessible.entry("a military uniform") === true) {
wardrobeAssignment.push({text: `and wears a military uniform to look the part of the honor guard.`, clothes: "a military uniform"});
}
if (isItemAccessible.entry("a schutzstaffel uniform") === true) {
wardrobeAssignment.push({text: `and wears a schutzstaffel uniform to look the part of the honor guard.`, clothes: "a schutzstaffel uniform"});
wardrobeAssignment.push({text: `and wears a slutty schutzstaffel uniform to look the part of the honor guard.`, clothes: "a slutty schutzstaffel uniform"});
}
if (isItemAccessible.entry("a red army uniform") === true) {
wardrobeAssignment.push({text: `and wears a red army uniform to look the part of the honor guard.`, clothes: "a red army uniform"});
}
if (isItemAccessible.entry("nice business attire") === true) {
wardrobeAssignment.push({text: `and wears a nice suit to make it clear you mean business.`, clothes: "nice business attire"});
}
if (isItemAccessible.entry("a mounty outfit") === true) {
wardrobeAssignment.push({text: `and wears a mounty outfit to make it clear you mean business.`, clothes: "a mounty outfit"});
}
wardrobeAssignment.push({text: `and wears a scalemail bikini to make ${himself} look fierce.`, clothes: "a scalemail bikini"});
if (isItemAccessible.entry("a kimono") === true) {
wardrobeAssignment.push({text: `and wears a nice kimono to add an air of elegance to your presence.`, clothes: "a kimono"});
}
} else {
/* Chooses clothes according to assignment (exceptions allowed)*/
if (slave.assignment === Job.RECRUITER) {
if (isItemAccessible.entry("a mini dress") === true) {
wardrobeAssignment.push({text: `and wears a flattering mini dress to appear sexy and carefree before those desperately seeking a better life.`, clothes: "a mini dress"});
}
wardrobeAssignment.push({text: `and wears a cutoffs and a t-shirt to appear sexy and carefree before those desperately seeking a better life.`, clothes: "cutoffs and a t-shirt"});
if (isItemAccessible.entry("nice business attire") === true) {
wardrobeAssignment.push({text: `and wears a nice suit to appear trustworthy before those desperately seeking a better life.`, clothes: "nice business attire"});
}
wardrobeAssignment.push({text: `and wears a schoolgirl outfit to appear sexy and carefree before those desperately seeking a better life.`, clothes: "a schoolgirl outfit"});
if (isItemAccessible.entry("a ball gown") === true) {
wardrobeAssignment.push({text: `and wears an opulent gown to showcase your wealth before those desperately seeking a better life.`, clothes: "a ball gown"});
}
wardrobeAssignment.push({text: `and dresses as a succubus to attempt to lure any potential catches.`, clothes: "a succubus outfit"});
if (isItemAccessible.entry("harem gauze") === true) {
wardrobeAssignment.push({text: `and dons ${his} finest silks to showcase the luxuries waiting would-be slaves.`, clothes: "harem gauze"});
}
if (isItemAccessible.entry("stretch pants and a crop-top") === true) {
wardrobeAssignment.push({text: `and wears comfortable stretch pants to and crop-top to appear carefree before those desperately seeking a better life.`, clothes: "stretch pants and a crop-top"});
}
if (isItemAccessible.entry("conservative clothing") === true) {
wardrobeAssignment.push({text: `and wears normal clothing to suggest to those desperately seeking a better life that they can find it here with you.`, clothes: "conservative clothing"});
}
} else if (slave.assignment === Job.DJ) {
wardrobeAssignment.push({text: `and wears clubslut netting to look like the perfect easy club girl.`, clothes: "clubslut netting"});
wardrobeAssignment.push({text: `and wears cutoffs and a t-shirt to look like the perfect easy club girl.`, clothes: "cutoffs and a t-shirt"});
wardrobeAssignment.push({text: `and wears the slutty outfit ${he} can find to look like the perfect easy club girl.`, clothes: "a slutty outfit"});
wardrobeAssignment.push({text: `and wears nothing but slutty jewelry since ${he} loves the way it jingles to ${his} moves.`, clothes: "slutty jewelry"});
wardrobeAssignment.push({text: `and wears a skin tight bodysuit so nothing gets in the way of ${his} moves.`, clothes: "a comfortable bodysuit"});
if (slave.boobs > 1000) {
wardrobeAssignment.push({text: `but decides to go naked and let ${his} girls bounce free as ${he} dances.`, clothes: "no clothing"});
}
if (isItemAccessible.entry("harem gauze") === true) {
wardrobeAssignment.push({text: `and wears the finest available silks to give ${his} moves a sensual grace.`, clothes: "harem gauze"});
}
} else if (slave.assignment === Job.CONCUBINE) {
wardrobeAssignment.push({text: `and goes naked, since it's ${his} honored role to be the chief object of your desire.`, clothes: "no clothing"});
wardrobeAssignment.push({text: `and dresses as a slutty nurse as your genitals are always in need of ${his} special treatment.`, clothes: "a slutty nurse outfit"});
wardrobeAssignment.push({text: `and dresses as a schoolgirl in the hopes that you teach ${him} how to be a woman.`, clothes: "a schoolgirl outfit"});
wardrobeAssignment.push({text: `and dresses as a cheerleader so ${he} may cheer you on as you blow ${his} mind.`, clothes: "a cheerleader outfit"});
if (player.dick !== 0) {
wardrobeAssignment.push({text: `and dresses as a slutty maid as you always come home with a stiff package that needs a thorough polishing.`, clothes: "a slutty maid outfit"});
}
wardrobeAssignment.push({text: `and, since you personally see that ${he} never goes hungry, ${he} dresses like the sex demoness ${he} is.`, clothes: "a succubus outfit"});
if (isItemAccessible.entry("attractive lingerie for a pregnant woman") === true && slave.belly >= 10000 && slave.pregSource === -1) {
wardrobeAssignment.push({text: `and chooses attractive lingerie to showcase the body you've given ${him} in the hopes that you ravish ${him}.`, clothes: "attractive lingerie for a pregnant woman"});
}
if (slave.toyHole === "dick" && canPenetrate(slave)) {
wardrobeAssignment.push({text: `and slips into a scalemail bikini so ${he} can act the role of your conqueror as ${he} bends you over.`, clothes: "a scalemail bikini"});
}
} else if (slave.assignment === Job.SUBORDINATE) {
wardrobeAssignment.push({text: `but gives up and goes naked after the other slaves constantly tear whatever ${he}'s wearing off ${him}.`, clothes: "no clothing"});
if (isItemAccessible.entry("Western clothing") === true) {
wardrobeAssignment.push({text: `and chooses a pair of crotchless chaps so your other slaves don't have to waste time undressing ${him}.`, clothes: "Western clothing"});
}
if (slave.fetish === "submissive") {
wardrobeAssignment.push({text: `and chooses to slip on a pair of spats and a tank top in the hopes that ${he} gets to be a violated schoolgirl.`, clothes: "spats and a tank top"});
wardrobeAssignment.push({text: `and chooses to slip on a schoolgirl outfit in the hope that ${he} gets held down and raped.`, clothes: "a schoolgirl outfit"});
wardrobeAssignment.push({text: `and chooses to wear the sluttiest outfit available to make it clear what ${he} wants done to ${him}.`, clothes: "a slutty outfit"});
}
} else if (slave.assignment === Job.GLORYHOLE) {
wardrobeAssignment.push({text: `but doesn't bother wearing anything, since no one can see ${his} clothing when ${he}'s immured inside a glory hole.`, clothes: "no clothing"});
} else if (slave.assignment === Job.CLASSES || slave.assignment === Job.SCHOOL) {
wardrobeAssignment.push({text: `and wears a schoolgirl outfit, since it seems most appropriate.`, clothes: "a schoolgirl outfit"});
wardrobeAssignment.push({text: `and wears a cheerleader outfit, since ${he} might as well be one of the popular girls.`, clothes: "a cheerleader outfit"});
if (isItemAccessible.entry("conservative clothing") === true) {
wardrobeAssignment.push({text: `and wears normal clothing to not distract from ${his} lessons.`, clothes: "conservative clothing"});
}
} else if ((slave.assignment === Job.WHORE) || (slave.assignment === Job.BROTHEL)) {
if (slave.belly >= 5000 && isItemAccessible.entry("attractive lingerie for a pregnant woman") === true) {
wardrobeAssignment.push({text: `and wears pretty lingerie to show off ${his} merchandise and accentuate ${his} pregnancy while still looking a little classy.`, clothes: "attractive lingerie for a pregnant woman"});
}
wardrobeAssignment.push({text: `and wears pretty lingerie to show off ${his} merchandise and still look a little classy.`, clothes: "attractive lingerie"});
if (isItemAccessible.entry("kitty lingerie") === true) {
wardrobeAssignment.push({text: `and wears pretty lingerie to show off ${his} merchandise and still look a little cute.`, clothes: "kitty lingerie"});
}
if (isItemAccessible.entry("harem gauze") === true) {
wardrobeAssignment.push({text: `and dresses ${himself} with harem gauze to add an exotic charm to ${his} display.`, clothes: "harem gauze"});
}
if (isItemAccessible.entry("a kimono") === true) {
wardrobeAssignment.push({text: `and wraps ${himself} in a kimono to add some elegance to ${his} display.`, clothes: "a kimono"});
}
if (isItemAccessible.entry("a slave gown") === true) {
wardrobeAssignment.push({text: `and adorns ${himself} in fine dress to show off how much of a high class whore ${he} is.`, clothes: "a slave gown"});
}
wardrobeAssignment.push({text: `and dresses ${himself} in a slutty suit to show ${he}'s in it for the ¤.`, clothes: "slutty business attire"});
if (isItemAccessible.entry("a mini dress") === true) {
wardrobeAssignment.push({text: `and wears a flattering mini dress to really strut ${his} stuff.`, clothes: "a mini dress"});
}
} else if (slave.assignment === Job.PUBLIC || slave.assignment === Job.CLUB) {
wardrobeAssignment.push({text: `and wears string lingerie to look fun and fuckable.`, clothes: "a string bikini"});
wardrobeAssignment.push({text: `and throws together the sluttiest outfit since if you're going to slut you might as well go all out.`, clothes: "a slutty outfit"});
wardrobeAssignment.push({text: `and tosses on a slutty suit that screams ${he} needs a good fuck after a long day.`, clothes: "slutty business attire"});
wardrobeAssignment.push({text: `and dresses up as a slutty nurse; ${he} has just the technique to cure penile swelling.`, clothes: "a slutty nurse outfit"});
wardrobeAssignment.push({text: `and wears a cheerleader outfit to look energetic and fuckable.`, clothes: "a cheerleader outfit"});
if (isItemAccessible.entry("a bunny outfit") === true) {
wardrobeAssignment.push({text: `and slips into a teddy to add some class to ${his} post.`, clothes: "a bunny outfit"});
}
wardrobeAssignment.push({text: `and dresses up as a succubus to clearly advertise ${his} promiscuity.`, clothes: "a succubus outfit"});
if (slave.bellyPreg >= 10000) {
wardrobeAssignment.push({text: `and struggles into a schoolgirl outfit. ${His} gravid belly just screams that ${he} is a slutty little student who cares more for dick than lessons.`, clothes: "a succubus outfit"});
}
} else if (slave.assignment === Job.HOUSE || slave.assignment === Job.QUARTER) {
if (slave.energy > 95 || slave.need > 100) {
wardrobeAssignment.push({text: `and wears a skimpy maid outfit hoping that someone sneaks up behind ${him} as ${he} works and fulfills ${his} desires.`, clothes: "a slutty maid outfit"});
wardrobeAssignment.push({text: `and wears nothing more than an apron in the hopes that someone sneaks up behind ${him} as ${he} works and fulfills ${his} desires.`, clothes: "an apron"});
} else if (slave.energy > 80) {
wardrobeAssignment.push({text: `and wears a skimpy maid outfit to tempt anyone watching ${his} work.`, clothes: "a slutty maid outfit"});
if (isItemAccessible.entry("a nice maid outfit") === true) {
wardrobeAssignment.push({text: `and wears a sturdy maid outfit, since anything else might be damaged by ${his} hard work around the penthouse.`, clothes: "a nice maid outfit"});
}
wardrobeAssignment.push({text: `and wears a skimpy maid outfit to tempt anyone watching ${his} work.`, clothes: "a slutty maid outfit"});
wardrobeAssignment.push({text: `and wears nothing more than an apron to tempt anyone watching ${his} work.`, clothes: "an apron"});
} else {
if (isItemAccessible.entry("a nice maid outfit") === true) {
wardrobeAssignment.push({text: `and wears a sturdy maid outfit, since anything else might be damaged by ${his} hard work around the penthouse.`, clothes: "a nice maid outfit"});
}
wardrobeAssignment.push({text: `and wears a skimpy maid outfit to tempt anyone watching ${his} work.`, clothes: "a slutty maid outfit"});
wardrobeAssignment.push({text: `and wears nothing more than an apron to tempt anyone watching ${his} work.`, clothes: "an apron"});
}
}
/* Chooses clothes according to FS*/
if (V.arcologies[0].FSEgyptianRevivalist > 0) {
wardrobeFS.push({text: `and complements it with golden bangles, since no clothing is necessary for a sex slave in your warm and sunny arcology.`, clothes: "slutty jewelry"});
} else if (V.arcologies[0].FSRomanRevivalist > 0) {
wardrobeFS.push({text: `and wears a toga to take part in your Roman revivalism.`, clothes: "a toga"});
} else if (V.arcologies[0].FSEdoRevivalist > 0) {
wardrobeFS.push({text: `and wears a kimono, overjoyed that such lovely clothing is now appropriate.`, clothes: "a kimono"});
} else if (V.arcologies[0].FSArabianRevivalist > 0) {
wardrobeFS.push({text: `and wears a harem outfit to look like a slave girl fit for a Sultan.`, clothes: "harem gauze"});
} else if (V.arcologies[0].FSChineseRevivalist > 0) {
wardrobeFS.push({text: `and wears a brief qipao to show off and look Chinese at the same time.`, clothes: "a slutty qipao"});
wardrobeFS.push({text: `and wears a long qipao to show off and look Chinese at the same time.`, clothes: "a long qipao"});
} else if (V.arcologies[0].FSAztecRevivalist > 0) {
wardrobeFS.push({text: `and drapes a huipil over ${himself} to fit in with your Aztec revivalism.`, clothes: "a huipil"});
}
if (V.arcologies[0].FSGenderFundamentalist > 0) {
wardrobeFS.push({text: `and wears a schoolgirl outfit to look like a hot slut.`, clothes: "a schoolgirl outfit"});
wardrobeFS.push({text: `and wears a cheerleader outfit to look like a hot slut.`, clothes: "a cheerleader outfit"});
wardrobeFS.push({text: `and wears a bunny outfit to look like a slut from the glory days.`, clothes: "a bunny outfit"});
wardrobeFS.push({text: `and wears only an apron, making ${him} look like a slutty housewife.`, clothes: "an apron"});
if (slave.bellyPreg >= 5000) {
wardrobeFS.push({text: `but decides to wear nothing at all; ${he}'s already pregnant, so ${he} just needs to be barefoot and naked to complete ${his} look.`, clothes: "no clothing"});
}
} else if (V.arcologies[0].FSGenderRadicalist > 0) {
wardrobeFS.push({text: `and eagerly slips into a skimpy maid outfit so ${he} can take advantage of its short skirt and ${his} lack of underwear`, clothes: "a slutty maid outfit"});
wardrobeFS.push({text: `and wears a cheerleader outfit that clearly shows off ${his} ass.`, clothes: "a cheerleader outfit"});
wardrobeFS.push({text: `and settles for some sexy succubutt.`, clothes: "a succubus outfit"});
}
if (V.arcologies[0].FSSlaveProfessionalism > 0) {
if (isItemAccessible.entry("nice business attire") === true) {
if (slave.energy > 80) {
wardrobeFS.push({text: `and picks out a professional suit with a nice, short skirt so ${he} can get right to business.`, clothes: "slutty business attire"});
} else {
wardrobeFS.push({text: `and picks out a professional suit that shows ${he} is open for business.`, clothes: "nice business attire"});
}
}
if (isItemAccessible.entry("a nice maid outfit") === true) {
if (slave.energy > 80) {
wardrobeFS.push({text: `and picks out a skimpy maid outfit so ${he} can take advantage of its short skirt and ${his} lack of underwear,`, clothes: "a slutty maid outfit"});
} else {
wardrobeFS.push({text: `and picks out a standard suit maid outfit to not hinder ${his} duties.`, clothes: "a nice maid outfit"});
}
}
wardrobeFS.push({text: `and works ${his} way into a gorgeous dress made specially for slaves.`, clothes: "a slave gown"});
wardrobeFS.push({text: `and works ${his} way into a elegant dress made specially for slaves.`, clothes: "a courtesan dress"});
} else if (V.arcologies[0].FSIntellectualDependency > 0) {
wardrobeFS.push({text: `and chooses the smallest clothing ${he} can find to wear over ${his} underwear.`, clothes: "a bimbo outfit"});
wardrobeFS.push({text: `and slaps together the sluttiest outfit ${he} can manage.`, clothes: "a slutty outfit"});
wardrobeFS.push({text: `and squeezes into a fishnet bodysuit to give ${his} nudity a slutty flair.`, clothes: "clubslut netting"});
wardrobeFS.push({text: `and ties on the skimpiest bikini ${he} can find.`, clothes: "a string bikini"});
if (slave.bellyPreg >= 5000 && isItemAccessible.entry("attractive lingerie for a pregnant woman") === true) {
wardrobeFS.push({text: `and opts for the classic seductive lingerie, albeit something more fitting for ${his} 'little accident'.`, clothes: "attractive lingerie for a pregnant woman"});
} else {
wardrobeFS.push({text: `and opts for the classic seductive lingerie.`, clothes: "attractive lingerie"});
}
}
if (V.arcologies[0].FSPaternalist > 0) {
wardrobeFS.push({text: `and wears conservative clothing, as permitted by your paternalism.`, clothes: "conservative clothing"});
if (isItemAccessible.entry("a hijab and blouse") === true && slave.race === "middle eastern") {
wardrobeFS.push({text: `and wears very conservative clothing, as permitted by your paternalism.`, clothes: "a hijab and blouse"});
}
if (isItemAccessible.entry("stretch pants and a crop-top") === true) {
wardrobeFS.push({text: `and wears the most comfortable stretch pants ${he} can find.`, clothes: "stretch pants and a crop-top"});
}
} else if (V.arcologies[0].FSDegradationist > 0) {
wardrobeFS.push({text: `and wears chains, to degrade ${himself} as required by your societal goals.`, clothes: "chains"});
wardrobeFS.push({text: `and binds ${himself} with a set of uncomfortable straps.`, clothes: "uncomfortable straps"});
wardrobeFS.push({text: `and binds ${himself} with a set of uncomfortable ropes.`, clothes: "shibari ropes"});
wardrobeFS.push({text: `and wears no clothes at all, since your society doesn't feel ${he} deserves any.`, clothes: "no clothing"});
}
if (V.arcologies[0].FSMaturityPreferentialist > 0) {
if (slave.visualAge >= 30) {
if (isItemAccessible.entry("nice business attire") === true) {
wardrobeFS.push({text: `and wears a formal suit to look like the ideal older woman.`, clothes: "nice business attire"});
}
wardrobeFS.push({text: `and wears a slutty suit to look like the ideal horny older woman.`, clothes: "slutty business attire"});
wardrobeFS.push({text: `and wears only an apron to make ${himself} seem more matronly.`, clothes: "an apron"});
} else {
if (isItemAccessible.entry("nice business attire") === true) {
wardrobeFS.push({text: `and wears a formal suit to look more mature.`, clothes: "nice business attire"});
}
if (isItemAccessible.entry("a Santa dress") === true) {
wardrobeFS.push({text: `and wears a dress referencing a figure of advanced age.`, clothes: "a Santa dress"});
}
wardrobeFS.push({text: `and wears only an apron in an attempt to make ${himself} seem more matronly.`, clothes: "an apron"});
}
} else if (V.arcologies[0].FSYouthPreferentialist > 0) {
wardrobeFS.push({text: `and wears a schoolgirl outfit to look younger.`, clothes: "a schoolgirl outfit"});
wardrobeFS.push({text: `and wears a cheerleader outfit to look younger and more energetic.`, clothes: "a cheerleader outfit"});
wardrobeFS.push({text: `and wears spats and a tank top to look younger and more energetic.`, clothes: "spats and a tank top"});
}
if (V.arcologies[0].FSPhysicalIdealist > 0) {
wardrobeFS.push({text: `and coats ${himself} in body oil to show off how ${he}'s part of your physical idealism.`, clothes: "body oil"});
wardrobeFS.push({text: `and goes totally nude to show off how ${he}'s part of your physical idealism.`, clothes: "no clothing"});
wardrobeFS.push({text: `and slips into a leotard for ${his} next workout.`, clothes: "a leotard"});
wardrobeFS.push({text: `and slips into some spats for ${his} next workout.`, clothes: "spats and a tank top"});
} else if (V.arcologies[0].FSHedonisticDecadence > 0) {
wardrobeFS.push({text: `and throws on a very casual getup.`, clothes: "stretch pants and a crop-top"});
wardrobeFS.push({text: `but decides against putting forth the effort and goes nude.`, clothes: "no clothing"});
}
if (V.arcologies[0].FSPastoralist > 0) {
wardrobeFS.push({text: `and wears Western clothing, since ${he} thinks it fits with pastoralism.`, clothes: "Western clothing"});
wardrobeFS.push({text: `and wears overalls that leave ${his} breasts uncovered.`, clothes: "overalls"});
if (isItemAccessible.entry("a monokini") === true) {
wardrobeFS.push({text: `and wears a swimsuit that leaves ${his} breasts uncovered.`, clothes: "a monokini"});
}
if (isItemAccessible.entry("pasties") === true) {
wardrobeFS.push({text: `and wears nothing more than a pair of pasties over ${his} nipples and crotch.`, clothes: "pasties"});
}
if (slave.lactation > 0) {
wardrobeFS.push({text: `and dresses up as a slutty wet nurse.`, clothes: "a slutty nurse outfit"});
}
wardrobeFS.push({text: `but decides to let ${his} breasts be free. Clothes will just get in the way.`, clothes: "no clothing"});
}
if (V.arcologies[0].FSBodyPurist > 0) {
wardrobeFS.push({text: `and wears a leotard to show off the purity of ${his} body.`, clothes: "a leotard"});
wardrobeFS.push({text: `but decides ${his} body is too nice to hide with clothing.`, clothes: "no clothing"});
if (isItemAccessible.entry("body oil") === true) {
wardrobeFS.push({text: `and coats ${his} pure body in oil to make it stand out.`, clothes: "body oil"});
}
} else if (V.arcologies[0].FSTransformationFetishist > 0) {
wardrobeFS.push({text: `and decides squeezing into a latex suit will only complement ${his} unnatural appearance.`, clothes: "restrictive latex"});
wardrobeFS.push({text: `and decides to go nude, ensuring everyone sees ${his} assets.`, clothes: "no clothing"});
if (isItemAccessible.entry("body oil") === true) {
wardrobeFS.push({text: `and coats ${his} assets in body oil to give them some extra shine.`, clothes: "body oil"});
}
}
if (V.arcologies[0].FSAssetExpansionist > 0) {
wardrobeFS.push({text: `and decides to dress up like a young man's wet dream.`, clothes: "a succubus outfit"});
wardrobeFS.push({text: `and decides to wear a skimpy bikini to make ${his} assets look even larger.`, clothes: "a string bikini"});
wardrobeFS.push({text: `and decides to throw together a slutty outfit that highlight ${his} assets.`, clothes: "a slutty outfit"});
if (isItemAccessible.entry("a monokini") === true) {
wardrobeFS.push({text: `and decides to wear a monokini that clings to the assets it actually does conceal.`, clothes: "a monokini"});
}
} else if (V.arcologies[0].FSSlimnessEnthusiast > 0) {
if (slave.boobs < 300) {
wardrobeFS.push({text: `and wears a string bikini to show off just how flat ${he} is.`, clothes: "a string bikini"});
if (isItemAccessible.entry("a monokini") === true) {
wardrobeFS.push({text: `and wears a monokini that leaves ${his} flat chest bare.`, clothes: "a monokini"});
}
wardrobeFS.push({text: `and wears only panties, leaving ${his} flat chest bare.`, clothes: "panties"});
}
if (slave.boobs < 600 && slave.butt < 3) {
wardrobeFS.push({text: `and wears a leotard to show off ${his} lithe body.`, clothes: "a leotard"});
wardrobeFS.push({text: `and wears a form fitting bodysuit to show off ${his} lithe figure.`, clothes: "a comfortable bodysuit"});
wardrobeFS.push({text: `and wears spats to hug ${his} tight butt.`, clothes: "spats and a tank top"});
wardrobeFS.push({text: `and wears an apron that covers ${his} front while leaving ${his} rear free.`, clothes: "an apron"});
} else {
wardrobeFS.push({text: `and squeezes into a form fitting bodysuit in the hopes that it squishes down ${his} assets.`, clothes: "restrictive latex"});
}
}
if (V.arcologies[0].FSSupremacist > 0) {
if (V.arcologies[0].FSSupremacistRace === "white") {
if (isItemAccessible.entry("a dirndl") === true) {
wardrobeFS.push({text: `and wears one of the beautiful folk costumes of the white race.`, clothes: "a dirndl"});
}
if (isItemAccessible.entry("lederhosen") === true) {
wardrobeFS.push({text: `and wears one of the beautiful folk costumes of the white race.`, clothes: "lederhosen"});
}
} else if (V.arcologies[0].FSSupremacistRace === "asian") {
if (isItemAccessible.entry("a biyelgee costume") === true) {
wardrobeFS.push({text: `and wears one of the beautiful folk costumes of the asian race.`, clothes: "a biyelgee costume"});
}
if (isItemAccessible.entry("a long qipao") === true) {
wardrobeFS.push({text: `and wears one of the beautiful folk costumes of the asian race.`, clothes: "a long qipao"});
}
if (isItemAccessible.entry("a kimono") === true) {
wardrobeAssignment.push({text: `and wears one of the beautiful folk costumes of the asian race.`, clothes: "a kimono"});
}
if (isItemAccessible.entry("a hanbok") === true) {
wardrobeAssignment.push({text: `and wears one of the beautiful folk costumes of the asian race.`, clothes: "a hanbok"});
}
}
}
if (V.arcologies[0].FSSubjugationist > 0) {
if (V.arcologies[0].FSSubjugationistRace === "black") {
if (isItemAccessible.entry("a klan robe") === true) {
wardrobeFS.push({text: `and wears a costume associated with anti-black societies of the past.`, clothes: "a klan robe"});
}
if (isItemAccessible.entry("a slutty klan robe") === true) {
wardrobeFS.push({text: `and wears a costume associated with anti-black societies of the past.`, clothes: "a slutty klan robe"});
}
} else if (V.arcologies[0].FSSubjugationistRace === "semitic") {
if (isItemAccessible.entry("a schutzstaffel uniform") === true) {
wardrobeFS.push({text: `and wears a costume associated with anti-semitic societies of the past.`, clothes: "a schutzstaffel uniform"});
}
if (isItemAccessible.entry("a slutty schutzstaffel uniform") === true) {
wardrobeFS.push({text: `and wears a costume associated with anti-semitic societies of the past.`, clothes: "a slutty schutzstaffel uniform"});
}
}
}
/* Chooses clothes according to fetishes, quirks, etc.*/
if (slave.attrXY > 70) {
if (slave.attrKnown === 1) {
wardrobeTastes.push({text: `and wears a schoolgirl outfit to show off a some T&A to attract boys.`, clothes: "a schoolgirl outfit"});
wardrobeTastes.push({text: `and wears nothing but pretty lingerie to attract boys.`, clothes: "attractive lingerie"});
wardrobeTastes.push({text: `and selects a slutty outfit that's sure to have men drooling.`, clothes: "a slutty outfit"});
if (slave.butt > 3) {
wardrobeTastes.push({text: `and slips on some cutoffs that are sure to have men checking out ${his} ass.`, clothes: "cutoffs and a t-shirt"});
}
if (isItemAccessible.entry("a bunny outfit") === true) {
wardrobeTastes.push({text: `and slips into a bunny outfit that ${he} knows will have men lining up.`, clothes: "a bunny outfit"});
}
if (slave.boobs > 800) {
wardrobeTastes.push({text: `and dresses up as a busty succubus that pulls eyes to ${his} chest and leaves pants feeling tight.`, clothes: "a succubus outfit"});
}
} else {
wardrobeTastes.push({text: `and selects a schoolgirl outfit that shows off some T&A.`, clothes: "a schoolgirl outfit"});
wardrobeTastes.push({text: `and wears pretty lingerie that shows off ${his} body.`, clothes: "attractive lingerie"});
wardrobeTastes.push({text: `and selects a slutty outfit that's sure to draw attention.`, clothes: "a slutty outfit"});
if (slave.butt > 3) {
wardrobeTastes.push({text: `and slips on some cutoffs that shows off ${his} ass.`, clothes: "cutoffs and a t-shirt"});
}
if (isItemAccessible.entry("a bunny outfit") === true) {
wardrobeTastes.push({text: `and slips into a bunny outfit that hugs ${his} curves.`, clothes: "a bunny outfit"});
}
if (slave.boobs > 800) {
wardrobeTastes.push({text: `and dresses up as a busty succubus that's sure to draw eyes.`, clothes: "a succubus outfit"});
}
}
}
if (slave.attrXX > 70) {
if (slave.attrKnown === 1) {
if (isItemAccessible.entry("a slave gown") === true) {
wardrobeTastes.push({text: `and wears a fashionable gown, since girls appreciate nice clothes.`, clothes: "a slave gown"});
}
wardrobeTastes.push({text: `and wears nothing but pretty lingerie to give the girls a show.`, clothes: "attractive lingerie"});
if (isItemAccessible.entry("nice business attire") === true) {
wardrobeTastes.push({text: `and wears a nice suit, since girls appreciate nice clothes.`, clothes: "nice business attire"});
}
} else {
if (isItemAccessible.entry("a slave gown") === true) {
wardrobeTastes.push({text: `and wears a fashionable gown.`, clothes: "a slave gown"});
}
wardrobeTastes.push({text: `and wears pretty lingerie that shows off ${his} body.`, clothes: "attractive lingerie"});
if (isItemAccessible.entry("nice business attire") === true) {
wardrobeTastes.push({text: `and wears a nice suit, the reasons not entirely clear to you.`, clothes: "nice business attire"});
}
}
}
/* need */
if (slave.need > 90) {
wardrobeTastes.push({text: `but goes naked. ${He} needs sex now and clothing will only get in the way.`, clothes: "no clothing"});
wardrobeTastes.push({text: `and throws on a slutty suit. ${He} hopes that it gets the point across that ${he} needs sex now.`, clothes: "slutty business attire"});
wardrobeTastes.push({text: `and dons a slutty nurse outfit. ${He}'s been infected and the only cure is a strong dicking.`, clothes: "a slutty nurse outfit"});
wardrobeTastes.push({text: `and dresses up as a slutty maid. Maybe if ${he} does ${his} job poorly enough, someone will bend ${him} over and fuck some sense into ${him}.`, clothes: "a slutty maid outfit"});
wardrobeTastes.push({text: `and dresses up as a succubus in the hopes it screams that ${he} needs sex now.`, clothes: "a succubus outfit"});
}
/* quirks n flaws */
if (slave.behavioralFlaw === "arrogant") {
if (isItemAccessible.entry("a ball gown") === true) {
wardrobeTastes.push({text: `and chooses a formal dress that makes ${him} feel like royalty.`, clothes: "a ball gown"});
}
} else if (slave.behavioralFlaw === "devout") {
wardrobeTastes.push({text: `and wears something more appropriate for a monastery than a whorehouse.`, clothes: "a penitent nuns habit"});
if (isItemAccessible.entry("a burqa") === true) {
wardrobeTastes.push({text: `and chooses an incredibly restricting piece of religious garb.`, clothes: "a burqa"});
}
}
if (slave.behavioralQuirk === "sinful") {
wardrobeTastes.push({text: `and dresses up like a succubus because it makes ${him} feel naughty.`, clothes: "a succubus outfit"});
} else if (slave.behavioralQuirk === "fitness") {
wardrobeTastes.push({text: `and wears spats and a tank top to give ${himself} a sporty look.`, clothes: "spats and a tank top"});
}
if (slave.sexualFlaw === "shamefast") {
wardrobeTastes.push({text: `and chooses an outfit that covers ${him} up as much as possible.`, clothes: "a hijab and abaya"});
if (isItemAccessible.entry("a burqa") === true) {
wardrobeTastes.push({text: `and chooses an outfit that covers ${him} up as much as possible.`, clothes: "a burqa"});
}
} else if (slave.sexualFlaw === "breeder") {
if (isItemAccessible.entry("attractive lingerie for a pregnant woman") === true) {
wardrobeTastes.push({text: `and wears lingerie designed to accommodate pregnancies, hoping that others get the hint.`, clothes: "attractive lingerie for a pregnant woman"});
}
} else if (slave.sexualFlaw === "malicious") {
if (isItemAccessible.entry("a schutzstaffel uniform") === true) {
wardrobeTastes.push({text: `and chooses an outfit that is commonly associated with wanton cruelty.`, clothes: "a schutzstaffel uniform"});
wardrobeTastes.push({text: `and chooses a skimpy outfit that is commonly associated with wanton cruelty.`, clothes: "a slutty schutzstaffel uniform"});
}
}
if (slave.sexualQuirk === "romantic") {
if (isItemAccessible.entry("a halter top dress") === true) {
wardrobeTastes.push({text: `and dresses up like ${he}'s about to go on a date.`, clothes: "a halter top dress"});
}
} else if (slave.sexualQuirk === "tease") {
if (isItemAccessible.entry("kitty lingerie") === true) {
wardrobeTastes.push({text: `and wears a set of provocatively designed lingerie.`, clothes: "kitty lingerie"});
}
if (isItemAccessible.entry("panties and pasties") === true) {
wardrobeTastes.push({text: `and wears the skimpiest outfit ${he} can find.`, clothes: "panties and pasties"});
}
}
/* age stuff */
if (slave.actualAge < 10) {
if (isItemAccessible.entry("a ball gown") === true) {
wardrobeTastes.push({text: `and puts on a pretty dress so ${he} can be a princess.`, clothes: "a ball gown"});
}
wardrobeTastes.push({text: `and dresses up like a cheerleader since ${he} thinks it looks cute.`, clothes: "a cheerleader outfit"});
if (isItemAccessible.entry("a kimono") === true) {
wardrobeTastes.push({text: `and wraps ${himself} in a kimono, since it feels so good on ${his} skin.`, clothes: "a kimono"});
}
} else if (slave.actualAge < 18) {
wardrobeTastes.push({text: `and chooses an outfit that somewhat resembles one of ${his} school uniforms.`, clothes: "a schoolgirl outfit"});
} else if (slave.actualAge > 65) {
if (isItemAccessible.entry("a Santa dress") === true) {
wardrobeTastes.push({text: `and chooses a dress that acknowledges ${his} advanced age while still looking sexy.`, clothes: "a Santa dress"});
}
}
/* fetishes */
if (slave.fetishKnown === 1) {
if (slave.fetish === "submissive") {
wardrobeTastes.push({text: `and wears restrictive latex to encourage others to dominate ${him}.`, clothes: "restrictive latex"});
wardrobeTastes.push({text: `and wears shibari ropes to encourage others to dominate ${him}.`, clothes: "shibari ropes"});
} else if (slave.fetish === "dom") {
if (isItemAccessible.entry("nice business attire") === true) {
wardrobeTastes.push({text: `and wears a handsome suit, since ${he} likes other slaves to look up to ${him}.`, clothes: "nice business attire"});
}
if (isItemAccessible.entry("a latex catsuit") === true) {
wardrobeTastes.push({text: `and wears a full body latex catsuit to look the part of the whip cracking dom.`, clothes: "a latex catsuit"});
}
wardrobeTastes.push({text: `and wears a scalemail bikini to make ${himself} look tough.`, clothes: "a scalemail bikini"});
} else if (slave.fetish === "masochist") {
wardrobeTastes.push({text: `and wears painfully restrictive bondage gear, since ${he} likes the torment.`, clothes: "uncomfortable straps"});
if (isItemAccessible.entry("chains") === true) {
wardrobeTastes.push({text: `and wears painfully tight chains, since ${he} likes the torment.`, clothes: "chains"});
}
} else if (slave.fetish === "sadist") {
if (isItemAccessible.entry("a slave gown") === true) {
wardrobeTastes.push({text: `and wears an elegant gown, since ${he} thinks it makes ${him} look the part of the femme fatale.`, clothes: "a slave gown"});
}
wardrobeTastes.push({text: `and wears a scalemail bikini, since ${he} thinks it makes ${him} look fierce.`, clothes: "a scalemail bikini"});
} else if (slave.fetish === "cumslut") {
wardrobeTastes.push({text: `and wears cutoffs and a t-shirt, because the fun yet relatively conservative outfit seems to encourage others to ask ${him} for blowjobs.`, clothes: "cutoffs and a t-shirt"});
} else if (slave.fetish === "humiliation") {
wardrobeTastes.push({text: `and wears leather straps with rings over ${his} private parts because ${he} enjoys the embarrassment such a humiliating outfit causes ${him}.`, clothes: "uncomfortable straps"});
} else if (slave.fetish === "buttslut") {
wardrobeTastes.push({text: `and wears nothing other than slutty bangles, because ${he} likes to catch the eye without putting anything between cocks and ${his} rear end.`, clothes: "slutty jewelry"});
wardrobeTastes.push({text: `and wears nothing other than an apron, because ${he} likes to catch the eye without putting anything between cocks and ${his} rear end.`, clothes: "an apron"});
} else if (slave.fetish === "pregnancy") {
wardrobeTastes.push({text: `and wears a short maid dress, because ${he} wants to look motherly and fuckable at the same time.`, clothes: "a slutty maid outfit"});
if (isItemAccessible.entry("a maternity dress") === true && canGetPregnant(slave)) {
wardrobeTastes.push({text: `and wears a maternity dress in the hope someone fills out its middle.`, clothes: "a maternity dress"});
}
} else if (slave.fetish === "boobs") {
wardrobeTastes.push({text: `and wears a cheerleader outfit, since ${he} loves the way it hugs ${his} tits as ${he} moves.`, clothes: "a cheerleader outfit"});
if (isItemAccessible.entry("a monokini") === true) {
wardrobeTastes.push({text: `and wears a monokini, since ${he} loves how it leaves ${his} breasts totally bare.`, clothes: "a monokini"});
}
if (isItemAccessible.entry("kitty lingerie") === true) {
wardrobeTastes.push({text: `and chooses a lingerie set that leaves ${his} cleavage on public display.`, clothes: "kitty lingerie"});
}
if (isItemAccessible.entry("pasties") === true) {
wardrobeTastes.push({text: `and wears nothing but a pair of pasties to draw eyes straight to ${his} nipples.`, clothes: "pasties"});
}
if (isItemAccessible.entry("a bra") === true) {
wardrobeTastes.push({text: `and wears nothing but a bra in the hopes that the outlandish get up fixes eyes on ${his} chest.`, clothes: "a bra"});
}
wardrobeTastes.push({text: `and wears nothing but a pair of panties so ${his} tits can bounce freely.`, clothes: "panties"});
}
} else {
if (slave.fetish === "submissive") {
wardrobeTastes.push({text: `and strangely opts for restrictive latex.`, clothes: "restrictive latex"});
wardrobeTastes.push({text: `and strangely opts for shibari ropes.`, clothes: "shibari ropes"});
} else if (slave.fetish === "dom") {
if (isItemAccessible.entry("nice business attire") === true) {
wardrobeTastes.push({text: `and wears a handsome suit; ${he} seems to think highly of ${himself} in it.`, clothes: "nice business attire"});
}
if (isItemAccessible.entry("a latex catsuit") === true) {
wardrobeTastes.push({text: `and wears a full body latex catsuit; there is a strange look on ${his} face as ${he} wears it.`, clothes: "a latex catsuit"});
}
wardrobeTastes.push({text: `and wears a scalemail bikini; ${he} keeps flexing and acting tough to ${himself}.`, clothes: "a scalemail bikini"});
} else if (slave.fetish === "masochist") {
wardrobeTastes.push({text: `and strangely opts for painfully restrictive bondage gear.`, clothes: "uncomfortable straps"});
if (isItemAccessible.entry("chains") === true) {
wardrobeTastes.push({text: `and strangely opts for painfully tight chains.`, clothes: "chains"});
}
} else if (slave.fetish === "sadist") {
if (isItemAccessible.entry("a slave gown") === true) {
wardrobeTastes.push({text: `and wears an elegant gown for some reason.`, clothes: "a slave gown"});
}
wardrobeTastes.push({text: `and wears a scalemail bikini; an odd choice.`, clothes: "a scalemail bikini"});
} else if (slave.fetish === "cumslut") {
wardrobeTastes.push({text: `and wears cutoffs and a t-shirt; ${he} can't stop licking ${his} lips.`, clothes: "cutoffs and a t-shirt"});
} else if (slave.fetish === "humiliation") {
wardrobeTastes.push({text: `and strangely opts for leather straps with rings over ${his} private parts.`, clothes: "uncomfortable straps"});
} else if (slave.fetish === "buttslut") {
wardrobeTastes.push({text: `and wears nothing other than slutty bangles, an odd choice; ${his} ass is completely exposed.`, clothes: "slutty jewelry"});
wardrobeTastes.push({text: `and wears nothing other than an apron, an odd choice; ${his} ass is completely exposed.`, clothes: "an apron"});
} else if (slave.fetish === "pregnancy") {
wardrobeTastes.push({text: `and wears a short maid dress; you frequently notice ${him} observing ${his} stomach.`, clothes: "a slutty maid outfit"});
if (isItemAccessible.entry("a maternity dress") === true && canGetPregnant(slave)) {
wardrobeTastes.push({text: `and wears a maternity dress even though ${he} isn't pregnant.`, clothes: "a maternity dress"});
}
} else if (slave.fetish === "boobs") {
wardrobeTastes.push({text: `and wears a cheerleader outfit; ${he} seems to enjoy jiggling ${his} breasts in it.`, clothes: "a cheerleader outfit"});
if (isItemAccessible.entry("a monokini") === true) {
wardrobeTastes.push({text: `and strangely decides to wear a monokini, which leaves ${his} breasts totally bare.`, clothes: "a monokini"});
}
if (isItemAccessible.entry("kitty lingerie") === true) {
wardrobeTastes.push({text: `and oddly chooses a lingerie set with a cleavage cutout in the bra.`, clothes: "kitty lingerie"});
}
if (isItemAccessible.entry("pasties") === true) {
wardrobeTastes.push({text: `and oddly opts for just a pair of pasties attached to ${his} nipples and one over ${his} crotch.`, clothes: "pasties"});
}
if (isItemAccessible.entry("a bra") === true) {
wardrobeTastes.push({text: `and oddly opts for nothing more than a bra.`, clothes: "a bra"});
}
wardrobeTastes.push({text: `and wears nothing but a pair of panties; ${he} seems to enjoy the way ${his} breasts bounce freely.`, clothes: "panties"});
}
}
/* energy */
if (slave.energy > 95) {
wardrobeTastes.push({text: `but goes nude, since as a nympho ${he} gets plenty of attention anyway, and considers clothes an unnecessary hindrance.`, clothes: "no clothing"});
} else if (slave.energy > 60) {
wardrobeTastes.push({text: `and puts on some daring lingerie to draw attention to ${himself}.`, clothes: "attractive lingerie"});
wardrobeTastes.push({text: `and goes topless to draw attention to ${himself}.`, clothes: "panties"});
if (isItemAccessible.entry("kitty lingerie") === true) {
wardrobeTastes.push({text: `and puts on some decorative lingerie to draw attention to ${himself}.`, clothes: "kitty lingerie"});
}
}
/* pregnancy */
if (slave.belly >= 5000) {
wardrobeTastes.push({text: `and wears pretty lingerie to show off ${his} merchandise while giving ${his} protruding belly plenty of room to hang free.`, clothes: "attractive lingerie"});
wardrobeTastes.push({text: `and wears only panties. Something so easy to slip on is appreciable with such a big belly in the way.`, clothes: "panties"});
if (isItemAccessible.entry("kitty lingerie") === true) {
wardrobeTastes.push({text: `and wears cute lingerie to show off ${his} merchandise while giving ${his} protruding belly plenty of room to hang free.`, clothes: "kitty lingerie"});
}
if (isItemAccessible.entry("a Santa dress") === true) {
wardrobeTastes.push({text: `and chooses a dress that pokes fun at ${his} rotund figure while still looking sexy.`, clothes: "a Santa dress"});
}
if (isItemAccessible.entry("attractive lingerie for a pregnant woman") === true && slave.energy > 70) {
wardrobeTastes.push({text: `and wears pretty lingerie to show off ${his} merchandise and accentuate ${his} pregnancy while giving it plenty of room to hang free.`, clothes: "attractive lingerie for a pregnant woman"});
} else if (isItemAccessible.entry("a maternity dress") === true) {
wardrobeTastes.push({text: `and wears a conservative dress with plenty of give for ${his} belly to stretch it.`, clothes: "a maternity dress"});
}
wardrobeTastes.push({text: `and wears string lingerie to look fun and fuckable while giving ${his} protruding belly plenty of room to hang free.`, clothes: "a string bikini"});
} else {
wardrobeTastes.push({text: `and wears string lingerie to show off ${his} body.`, clothes: "a string bikini"});
}
if (slave.nationality === "Canadian") {
if (isItemAccessible.entry("a mounty outfit") === true) {
wardrobeTastes.push({text: `and chooses an outfit that makes ${him} feel oddly nostalgic.`, clothes: "a mounty outfit"});
}
} else if (slave.nationality === "Japanese") {
if (isItemAccessible.entry("a kimono") === true) {
wardrobeTastes.push({text: `and chooses an outfit that makes ${him} feel oddly nostalgic.`, clothes: "a kimono"});
}
} else if (slave.nationality === "Korean") {
if (isItemAccessible.entry("a hanbok") === true) {
wardrobeTastes.push({text: `and chooses an outfit that makes ${him} feel oddly nostalgic.`, clothes: "a hanbok"});
}
} else if (slave.nationality === "Mongolian") {
if (isItemAccessible.entry("a biyelgee costume") === true) {
wardrobeTastes.push({text: `and chooses an outfit that makes ${him} feel oddly nostalgic.`, clothes: "a biyelgee costume"});
}
}
}
/* Separated in three categories in case you want to, say, increase the probability of choosing _wardrobeAssignment to look more professional*/
/* clothing = clothing.concat(wardrobeAssignment, wardrobeFS, wardrobeTastes); better version should the above never amount to anything*/
if (wardrobeAssignment.length > 0) {
for (let i = 0; i < wardrobeAssignment.length; i++) {
clothing.push(wardrobeAssignment[i]);
}
}
if (wardrobeFS.length > 0) {
for (let i = 0; i < wardrobeFS.length; i++) {
clothing.push(wardrobeFS[i]);
}
}
if (wardrobeTastes.length > 0) {
for (let i = 0; i < wardrobeTastes.length; i++) {
clothing.push(wardrobeTastes[i]);
}
}
selection = jsEither(clothing);
}
return selection;
}
/**
* @param {App.Entity.SlaveState} slave
* @returns {{text:string, shoes:string}}
*/
function todaysShoes(slave) {
const shoes = [];
if (slave.fetish === "mindbroken") {
if (hasBothLegs(slave) && slave.heels === 1) {
shoes.push({text: `${He} finds ${he} can inexplicably walk if ${he} wears heels; a daily lesson for ${him}, as ${he} forgets shortly after leaving.`, shoes: jsEither(["boots", "extreme heels", "heels"])});
}
if (V.arcologies[0].FSIntellectualDependencyLawBeauty === 1 || V.arcologies[0].FSStatuesqueGlorification > 0) {
shoes.push({text: `A fleeting thought of heels crosses ${his} mind, so ${he} grabs the nearest pair.`, shoes: jsEither(["extreme heels", "heels", "pumps"])});
}
shoes.push({text: `${He} vaguely remembers putting things on ${his} feet, so ${he} does.`, shoes: jsEither(["boots", "extreme heels", "flats", "heels", "pumps"])});
shoes.push({text: `${He} entered without shoes, and will leave the same.`, shoes: "none"});
} else if (slave.devotion <= 20) {
if (slave.heels === 0) {
shoes.push({text: `${He} also slips on comfortable flats.`, shoes: "flats"});
} else {
shoes.push({text: `${He} angrily wears the heels ${he} needs to walk.`, shoes: "heels"});
}
} else {
if (V.arcologies[0].FSStatuesqueGlorification > 0) {
shoes.push({text: `${He} wears heels to boost ${his} height further.`, shoes: jsEither(["heels"])});
} else if (slave.fetishKnown === 1 && slave.fetish === "dom") {
shoes.push({text: `${He} wears boots to look like a proper dominant.`, shoes: "boots"});
} else if (slave.fetishKnown === 1 && slave.fetish === "sadist") {
shoes.push({text: `${He} wears boots, since ${he} thinks they make ${him} look dangerous.`, shoes: "boots"});
} else if (slave.fetishKnown === 1 && slave.fetish === "masochist") {
shoes.push({text: `${He} wears painfully tall heels, since ${he} enjoys the twinge of pain with each step.`, shoes: "extreme heels"});
} else if (slave.heels === 1) {
shoes.push({text: `${He} wears the heels ${he} needs to walk.`, shoes: "heels"});
} else if (slave.actualAge < 13) {
if (V.arcologies[0].FSIntellectualDependencyLawBeauty === 1) {
shoes.push({text: `${He} wants to be a bimbo too so ${he} chooses a proper pair of heels.`, shoes: "heels"});
} else {
shoes.push({text: `${He} playfully puts on heels to be like all the other girls.`, shoes: "heels"});
}
if (slave.bellyPreg >= 1500) {
shoes.push({text: `${His} feet are a little sensitive, so ${he} decides to not wear shoes.`, shoes: "none"});
}
shoes.push({text: `${He} puts on boots so ${he} can stomp around.`, shoes: "boots"});
shoes.push({text: `${He} wears flats as they are comfortable and easy to take on and off.`, shoes: "flats"});
shoes.push({text: `Going barefoot is fun, so no shoes for ${him}.`, shoes: "none"});
} else if (V.arcologies[0].FSIntellectualDependencyLawBeauty === 1) {
shoes.push({text: `${He} slips on a pair of heels like a proper bimbo.`, shoes: "heels"});
} else {
if (slave.fetishKnown === 1 && slave.fetish === "pregnancy" && slave.bellyPreg >= 500) {
shoes.push({text: `${He} goes barefoot to complement ${his} pregnancy.`, shoes: "none"});
} else if (slave.fetishKnown === 1 && slave.fetish === "none") {
shoes.push({text: `${He} wears comfortable flats, since ${he} doesn't have a fetish to show off.`, shoes: "flats"});
}
shoes.push({text: `${He} wears heels to strut ${his} stuff.`, shoes: "heels"});
shoes.push({text: `${He} wears comfortable flats to take it easy.`, shoes: "flats"});
shoes.push({text: `${He} goes barefoot to show off ${his} toes.`, shoes: "none"});
}
}
return jsEither(shoes);
}
/**
* @param {App.Entity.SlaveState} slave
* @returns {{text:string, collar:string}}
*/
function todaysCollar(slave) {
const neck = [];
if (slave.fetish === "mindbroken") {
//
} else if (slave.devotion <= 20) {
//
} else {
if (V.arcologies[0].FSEgyptianRevivalist > 0) {
neck.push({text: `dons a wesekh to support your ancient Egyptian pretensions,`, collar: "ancient Egyptian"});
}
if (slave.fetish === "masochist") {
neck.push({text: `dons a tight steel collar around ${his} neck,`, collar: "tight steel"});
neck.push({text: `dons a painful leather collar,`, collar: "uncomfortable leather"});
neck.push({text: `dons a painfully tight neck corset,`, collar: "neck corset"});
} else if (slave.fetish === "pregnancy" && (canGetPregnant(slave) || slave.pregKnown === 1)) {
neck.push({text: `dons a digital display that tells everything about ${his} womb,`, collar: "preg biometrics"});
} else if (slave.fetish === "boobs" && slave.boobs >= 1000) {
neck.push({text: `dons a cowbell to draw attention to ${his} luscious udders,`, collar: "leather with cowbell"});
}
neck.push({text: `decides ${his} neck needs no accenting,`, collar: "none"});
neck.push({text: `dons some pretty jewelry,`, collar: "pretty jewelry"});
neck.push({text: `dons a lovely gold collar,`, collar: "heavy gold"});
neck.push({text: `dons a simple silk ribbon around ${his} neck,`, collar: "silk ribbon"});
}
return jsEither(neck);
}
/**
* @param {App.Entity.SlaveState} slave
* @returns {{text:string, bellyAccessory:string}}
*/
function todaysCorset(slave) {
const belly = [];
const empathyBellies = ["a small empathy belly", "a medium empathy belly", "a large empathy belly", "a huge empathy belly"];
if (slave.fetish === "mindbroken") {
if (V.arcologies[0].FSRepopulationFocus > 0 && slave.belly < 1500) {
if (slave.weight > 130) {
belly.push({text: `${He} notices the fake bellies; since every girl ${he} has ever met has a rounded middle, it's only natural ${he} is compelled to wear one. ${He} struggles to fit it around ${his} huge gut, only stopping when another slave takes it away from ${him} so ${he} moves on and stops blocking the wardrobe with ${his} fat ass.`, bellyAccessory: "none"});
} else {
belly.push({text: `${He} notices the fake bellies; since every girl ${he} has ever met has a rounded middle, it's only natural ${he} is compelled to wear one.`, bellyAccessory: jsEither(["a small empathy belly", "a medium empathy belly", "a large empathy belly", "a huge empathy belly"])});
}
} else {
belly.push({text: "", bellyAccessory: slave.bellyAccessory}); /* compatibility for no output, will likely get deprecated in the future as content is added*/
}
} else if (slave.devotion <= 20) {
if (slave.belly > 10000 && (slave.pregAdaptation * 800 <= slave.belly) && slave.bellyAccessory !== "a support band") {
belly.push({text: `slips a pregnancy support band around ${his} middle to help alleviate some of the discomfort,`, bellyAccessory: "a support band"});
} else if (slave.belly < 8000 && slave.bellyAccessory === "a support band") {
belly.push({text: `removes ${his} support band since ${he} no longer needs it,`, bellyAccessory: "none"});
}
} else {
if (V.arcologies[0].FSRepopulationFocus > 0 && slave.belly < 1500 && slave.sexualFlaw !== "breeder") {
if (slave.weight > 130) {
belly.push({text: `struggles to fit a fake pregnant belly around ${his} gut before giving up and hoping ${he} can pass as fecund,`, bellyAccessory: "none"});
} else {
belly.push({text: `straps on a fake pregnant belly to fit in with all the other pregnant girls,`, bellyAccessory: jsEither(["a small empathy belly", "a medium empathy belly", "a large empathy belly"])});
}
} else if (slave.belly < 1500 && slave.fetish === "pregnancy" && isItemAccessible.entry("a small empathy belly", "bellyAccessory") && slave.sexualFlaw !== "breeder" && slave.weight <= 130) {
if (slave.fetishStrength <= 30) {
belly.push({text: `straps on a 1st trimester belly to sate ${his} curiosity,`, bellyAccessory: "a small empathy belly"});
belly.push({text: `straps on a 2nd trimester belly to sate ${his} curiosity,`, bellyAccessory: "a medium empathy belly"});
belly.push({text: `straps on a 3rd trimester belly to sate ${his} curiosity,`, bellyAccessory: "a large empathy belly"});
} else if (slave.fetishStrength <= 95) {
belly.push({text: `straps on a 3rd trimester belly to satisfy ${his} pregnancy fetish,`, bellyAccessory: "a large empathy belly"});
} else if (slave.fetishStrength > 95) {
belly.push({text: `straps on the largest belly ${he} can find to satisfy ${his} pregnancy fetish,`, bellyAccessory: "a huge empathy belly"});
}
} else if (slave.belly > 10000 && (slave.pregAdaptation * 1200 <= slave.belly) && slave.bellyAccessory !== "a support band") {
belly.push({text: `slips a pregnancy support band around ${his} middle to better handle ${his} fecund mound,`, bellyAccessory: "a support band"});
} else if (empathyBellies.includes(slave.bellyAccessory) && slave.fetish !== "pregnancy") {
belly.push({text: `removes ${his} fake belly, since ${he} dislikes it,`, bellyAccessory: "none"});
} else if (empathyBellies.includes(slave.bellyAccessory) && slave.sexualFlaw === "breeder") {
belly.push({text: `pulls ${his} fake belly off, disgusted by it,`, bellyAccessory: "none"});
} else if (slave.belly < 8000 && slave.bellyAccessory === "a support band") {
belly.push({text: `removes ${his} support band since ${he} no longer needs it,`, bellyAccessory: "none"});
} else {
belly.push({text: "", bellyAccessory: slave.bellyAccessory}); /* compatibility for no output, will likely get deprecated in the future as content is added*/
}
}
return jsEither(belly);
}
return saChoosesOwnClothes;
})();
|
MonsterMate/fc
|
src/endWeek/saChoosesOwnClothes.js
|
JavaScript
|
mit
| 83,123
|
App.SlaveAssignment.choosesOwnJob = (function() {
"use strict";
let r;
// eslint-disable-next-line no-unused-vars
let he, him, his, hers, himself, girl, loli, He, His;
let clinicL;
let schoolL;
let servQL;
let nurseryL;
let brothelL;
let clubL;
let masterSL;
let spaL;
let dairyL;
let arcology;
return saChoosesOwnJob;
/**
* @param {App.Entity.SlaveState} slave
* @returns {string}
*/
function saChoosesOwnJob(slave) {
r = [];
clinicL = App.Entity.facilities.clinic.employeesIDs().size;
schoolL = App.Entity.facilities.schoolroom.employeesIDs().size;
servQL = App.Entity.facilities.servantsQuarters.employeesIDs().size;
nurseryL = App.Entity.facilities.nursery.employeesIDs().size;
brothelL = App.Entity.facilities.brothel.employeesIDs().size;
clubL = App.Entity.facilities.club.employeesIDs().size;
masterSL = App.Entity.facilities.masterSuite.employeesIDs().size;
spaL = App.Entity.facilities.spa.employeesIDs().size;
dairyL = App.Entity.facilities.dairy.employeesIDs().size;
arcology = V.arcologies[0];
({
// eslint-disable-next-line no-unused-vars
he, him, his, hers, himself, girl, He, His, loli
} = getPronouns(slave));
if (slave.choosesOwnAssignment === 0 || slave.fuckdoll > 0 || slave.fetish === "mindbroken") {
// nothing to do
} else if (slave.choosesOwnAssignment === 2) {
// second pass happens visibly during weekly report for the location where this slave decided to go (or stay)
// display text but don't change assignment (already done)
r.push(V.choosesOwnAssignmentText[slave.ID]);
delete V.choosesOwnAssignmentText[slave.ID];
slave.choosesOwnAssignment = 1;
// continue cycle for next week
} else {
// first pass happens silently before all reports: give stats bonus, construct decision string for display during second pass, actually change assignment
slave.devotion++;
slave.trust++;
V.choosesOwnAssignmentText[slave.ID] = jobSelection(slave);
}
return r.join(" ");
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function jobSelection(slave) {
let choice = [];
choice.push(`was assigned to ${slave.assignment}. ${He} ${canSee(slave) ? "watches" : "observes"} your other slaves to decide what to do, <span class="devotion inc">happy</span> to be permitted a choice and a little more <span class="trust inc">confident</span> than if you had just given ${him} orders. The ${SlaveTitle(slave)}`);
if (slave.devotion <= 20 && slave.trust >= -20) {
if (slave.relationship === -3 && slave.devotion < -20) {
choice.push(`is reluctantly married to you, and ${he} thinks of all the ways ${he} <span class="devotion dec">can take advantage of this,</span>`);
if (V.universalRulesAssignsSelfFacility === 1 && V.spa > spaL) {
choice.push(`so ${he} heads straight to ${V.spaName} to relax.`);
choice.push(assignJob(slave, "rest in the spa"));
} else {
choice.push(`so ${he} cheerfully decides to lounge about the penthouse.`);
choice.push(removeJob(slave, slave.assignment));
}
} else {
choice.push(`decides to rest, taking advantage of your permission to <span class="devotion dec">remain indolent.</span>`);
choice.push(removeJob(slave, slave.assignment));
}
slave.devotion -= 5;
} else if (slave.health.illness > 1) {
if (V.universalRulesAssignsSelfFacility === 1 && V.clinic > clinicL) {
choice.push(`is ill, so ${he} decides to get treatment at${V.clinicName}.`);
choice.push(assignJob(slave, "get treatment in the clinic"));
} else {
choice.push(`is ill, so ${he} decides to rest.`);
choice.push(removeJob(slave, slave.assignment));
}
} else if (slave.health.condition < 20) {
if (V.universalRulesAssignsSelfFacility === 1 && V.spa > spaL) {
choice.push(`is unhealthy, so ${he} decides to get recover at ${V.spaName}.`);
choice.push(assignJob(slave, "rest in the spa"));
} else {
choice.push(`is unhealthy, so ${he} decides to rest.`);
choice.push(removeJob(slave, slave.assignment));
}
} else if (slave.health.tired > 45) {
if (V.universalRulesAssignsSelfFacility === 1 && V.spa > spaL) {
choice.push(`is tired, so ${he} decides to recover at ${V.spaName}.`);
choice.push(assignJob(slave, "rest in the spa"));
} else {
choice.push(`is tired, so ${he} decides to rest.`);
choice.push(removeJob(slave, slave.assignment));
}
} else if (slave.boobsMilk > 0) {
choice.push(`rushes to get milked since ${his} breasts have become painfully engorged.`);
choice.push(assignJob(slave, "get milked"));
} else if (slave.intelligenceImplant < 15 && slave.intelligence > 10 && (arcology.FSPaternalist > 20 || arcology.FSSlaveProfessionalism > 20) && arcology.FSGenderFundamentalistLawBimbo !== 1 ) {
if (V.universalRulesAssignsSelfFacility === 1 && V.schoolroom > schoolL) {
choice.push(`is uneducated, so ${he} sits ${himself} down in ${V.schoolroomName}.`);
choice.push(assignJob(slave, "learn in the schoolroom"));
} else {
choice.push(`is uneducated, so ${he} sits ${himself} down to learn.`);
choice.push(assignJob(slave, "take classes"));
}
} else if ((S.Attendant && V.universalRulesAssignsSelfFacility === 1 && V.spa > spaL) && (slave.devotion < 45 || slave.trust < 45 || (slave.sexualFlaw !== "none" && !setup.paraphiliaList.includes(slave.sexualFlaw)) || slave.behavioralFlaw !== "none")) {
choice.push(`could use some counseling, so ${he} decides to visit ${V.spaName}.`);
choice.push(assignJob(slave, "rest in the spa"));
} else if (slave.devotion <= 50 && canWalk(slave) && canSee(slave)) {
if (V.universalRulesAssignsSelfFacility === 1 && V.servantsQuarters > servQL) {
choice.push(`is obedient but not devoted, so ${he} decides to work from ${V.servantsQuartersName} since it's the least sexually demanding job available.`);
choice.push(assignJob(slave, "work as a servant"));
} else {
choice.push(`is obedient but not devoted, so ${he} decides to work as a servant since it's the least sexually demanding job available.`);
choice.push(assignJob(slave, "be a servant"));
}
} else if (V.universalRulesAssignsSelfFacility === 1 && slave.devotion > 50 && canWalk(slave) && canSee(slave) && V.nurseryNannies > nurseryL && (V.cribs.findIndex((c) => (c.mother === slave.ID || c.father === slave.ID)))) {
if (V.cribs.findIndex((c) => (c.mother === slave.ID || c.father === slave.ID))) {
choice.push(`wants to look after ${his} child, so ${he} decides to work in ${V.nurseryName}.`);
choice.push(assignJob(slave, "work as a nanny"));
} else { // motherly sexualQuirk
choice.push(`enjoys taking care of children, so ${he} decides to work in ${V.nurseryName}.`);
choice.push(assignJob(slave, "work as a nanny"));
}
} else if (slave.relationship === -1) {
choice.push(`relies on promiscuity to fulfill ${his} emotional needs,`);
if (V.cash < 10000) {
choice.push(`and doesn't mind being a whore, so ${he} prostitutes ${himself}`);
if (V.universalRulesAssignsSelfFacility === 1 && V.brothel > brothelL) {
choice.push(`in ${V.brothelName}.`);
choice.push(assignJob(slave, "work in the brothel"));
} else {
choice.push(`on the streets.`);
choice.push(assignJob(slave, "whore"));
}
} else {
choice.push(`so ${he} eagerly decides to slut around`);
if (V.universalRulesAssignsSelfFacility === 1 && V.club > clubL) {
choice.push(`in ${V.clubName}.`);
choice.push(assignJob(slave, "serve in the club"));
} else {
choice.push(`on the streets.`);
choice.push(assignJob(slave, "serve the public"));
}
slave.sexAmount = 10;
}
} else if (slave.relationship === -2) {
choice.push(`is emotionally bonded to you,`);
if (slave.behavioralQuirk === "insecure") {
choice.push(`but insecure, so ${he} decides to make you money by prostituting ${himself}`);
if (V.universalRulesAssignsSelfFacility === 1 && V.brothel > brothelL) {
choice.push(`in ${V.brothelName}.`);
choice.push(assignJob(slave, "work in the brothel"));
} else {
choice.push(`on the streets.`);
choice.push(assignJob(slave, "whore"));
}
slave.sexAmount = 10;
} else if (slave.behavioralQuirk === "advocate") {
choice.push(`and an advocate for slavery, so ${he} decides to burnish your reputation by slutting it up`);
if (V.universalRulesAssignsSelfFacility === 1 && V.club > clubL) {
choice.push(`in ${V.clubName}.`);
choice.push(assignJob(slave, "serve in the club"));
} else {
choice.push(`on the streets.`);
choice.push(assignJob(slave, "serve the public"));
}
slave.sexAmount = 10;
} else if (slave.energy > 60) {
choice.push(`and ${he} thinks of little but sex with you,`);
if (V.universalRulesAssignsSelfFacility === 1 && V.masterSuite > masterSL) {
choice.push(`so ${he} heads straight to ${V.masterSuiteName}.`);
choice.push(assignJob(slave, "serve in the master suite"));
} else {
choice.push(`so ${he} cheerfully designates ${himself} one of your fucktoys.`);
choice.push(assignJob(slave, "please you"));
}
} else if (canSee(slave) && canWalk(slave)) {
choice.push(`so ${he} decides to work`);
if (V.universalRulesAssignsSelfFacility === 1 && V.servantsQuarters > servQL) {
choice.push(`from ${V.servantsQuartersName} to make your penthouse as clean and homelike as possible.`);
choice.push(assignJob(slave, "work as a servant"));
} else {
choice.push(`as a servant to make your penthouse as clean and homelike as possible.`);
choice.push(assignJob(slave, "be a servant"));
}
} else {
choice.push(`but unable to do much on ${his} own,`);
if (V.universalRulesAssignsSelfFacility === 1 && V.masterSuite > masterSL) {
choice.push(`so ${he} heads straight to ${V.masterSuiteName} to await your caress.`);
choice.push(assignJob(slave, "serve in the master suite"));
} else {
choice.push(`so ${he} cheerfully designates ${himself} one of your fucktoys to be close to you.`);
choice.push(assignJob(slave, "please you"));
}
}
} else if (slave.relationship === -3) {
if (slave.devotion+slave.trust >= 175) {
choice.push(`is happily married to you,`);
} else if (slave.devotion < -20) {
choice.push(`is forcibly married to you,`);
} else {
choice.push(`is married to you,`);
}
if (slave.devotion > 50) {
if (slave.energy > 60) {
choice.push(`and ${he} thinks of little but sex with you,`);
if (V.universalRulesAssignsSelfFacility === 1 && V.masterSuite > masterSL) {
choice.push(`so ${he} heads straight to ${V.masterSuiteName}.`);
choice.push(assignJob(slave, "serve in the master suite"));
} else {
choice.push(`so ${he} cheerfully designates ${himself} one of your fucktoys.`);
choice.push(assignJob(slave, "please you"));
}
} else if (canSee(slave) && canWalk(slave)) {
choice.push(`so ${he} decides to work`);
if (V.universalRulesAssignsSelfFacility === 1 && V.servantsQuarters > servQL) {
choice.push(`from ${V.servantsQuartersName} to make your penthouse as clean and homelike as possible.`);
choice.push(assignJob(slave, "work as a servant"));
} else {
choice.push(`as a servant to make your penthouse as clean and homelike as possible.`);
choice.push(assignJob(slave, "be a servant"));
}
} else {
choice.push(`but unable to do much on ${his} own`);
if (V.universalRulesAssignsSelfFacility === 1 && V.masterSuite > masterSL) {
choice.push(`so ${he} heads straight to ${V.masterSuiteName} to await your caress.`);
choice.push(assignJob(slave, "serve in the master suite"));
} else {
choice.push(`so ${he} cheerfully designates ${himself} one of your fucktoys to be close to you.`);
choice.push(assignJob(slave, "please you"));
}
}
} else if (slave.devotion < -20) {
choice.push(`and ${he} is scared of you, so ${he} chooses to work as a servant so that ${he} may serve you without "serving" you.`);
choice.push(assignJob(slave, "be a servant"));
} else {
if (slave.energy > 60) {
choice.push(`and ${he} thinks of little but sex,`);
if (V.universalRulesAssignsSelfFacility === 1 && V.masterSuite > masterSL) {
choice.push(`so ${he} heads straight to ${V.masterSuiteName}.`);
choice.push(assignJob(slave, "serve in the master suite"));
} else {
choice.push(`so ${he} cheerfully designates ${himself} one of your fucktoys.`);
choice.push(assignJob(slave, "please you"));
}
} else if (canSee(slave) && canWalk(slave)) {
choice.push(`so ${he} decides to work`);
if (V.universalRulesAssignsSelfFacility === 1 && V.servantsQuarters > servQL) {
choice.push(`from ${V.servantsQuartersName} to make your penthouse as clean and homelike as possible.`);
choice.push(assignJob(slave, "work as a servant"));
} else {
choice.push(`as a servant to make your penthouse as clean and homelike as possible.`);
choice.push(assignJob(slave, "be a servant"));
}
} else {
choice.push(`but unable to do much on ${his} own, so ${he} designates ${himself} one of your fucktoys to get more intimate with you.`);
choice.push(assignJob(slave, "please you"));
}
}
} else if (slave.fetishKnown === 1 || jsRandom(1, 100) > 5) { // Yes, this segways into other things than fetish. PM - I added a 5% chance for her to not think of something just for flavor.
if (slave.fetish === "submissive" && canWalk(slave) && canSee(slave)) {
if (V.universalRulesAssignsSelfFacility === 1 && V.servantsQuarters > servQL) {
choice.push(`thinks ${he} belongs at the bottom of the penthouse hierarchy, so ${he} goes to live in ${V.servantsQuartersName}.`);
choice.push(assignJob(slave, "work as a servant"));
} else {
choice.push(`thinks ${he} belongs at the bottom of the penthouse hierarchy, so ${he} decides ${he} should be a servant.`);
choice.push(assignJob(slave, "be a servant"));
}
} else if (slave.fetish === "dom" || slave.fetish === "sadist") {
if (V.universalRulesAssignsSelfFacility === 1 && V.club > clubL) {
choice.push(`is self-confident, so ${he} decides to work in ${V.clubName}.`);
choice.push(assignJob(slave, "serve in the club"));
} else {
choice.push(`is self-confident, so ${he} decides to work as a public servant.`);
choice.push(assignJob(slave, "serve the public"));
}
slave.sexAmount = 10;
} else if (slave.fetish === "masochist") {
if (V.universalRulesAssignsSelfFacility === 1 && V.brothel > brothelL) {
choice.push(`enjoys abuse, so ${he} hurries down to ${V.brothelName}.`);
choice.push(assignJob(slave, "work in the brothel"));
} else {
choice.push(`enjoys abuse, so ${he} decides to become a whore.`);
choice.push(assignJob(slave, "whore"));
}
slave.sexAmount = 10;
} else if (slave.fetish === "cumslut") {
if (V.universalRulesAssignsSelfFacility === 1 && V.brothel > brothelL) {
choice.push(`hurries down to ${V.brothelName} to suck cocks.`);
choice.push(assignJob(slave, "work in the brothel"));
} else {
choice.push(`decides to become a whore, mostly to suck cock.`);
choice.push(assignJob(slave, "whore"));
}
slave.sexAmount = 10;
} else if (slave.fetish === "humiliation") {
if (V.universalRulesAssignsSelfFacility === 1 && V.brothel > brothelL) {
choice.push(`decides to work in ${V.brothelName}, since it's even more embarrassing to be a whore than a club slut.`);
choice.push(assignJob(slave, "work in the brothel"));
} else {
choice.push(`decides to whore, since it's even more embarrassing to be a whore than to be a public servant.`);
choice.push(assignJob(slave, "whore"));
}
slave.sexAmount = 10;
} else if (slave.fetish === "buttslut") {
if (slave.balls > 0 && slave.prostate > 0 && V.universalRulesAssignsSelfFacility === 1 && V.dairyRestraintsSetting < 2 && V.dairyStimulatorsSetting > 0 && V.dairy > dairyL) {
choice.push(`chooses confinement in ${V.dairyName}, since all ${he} will be expected to do is produce cum by orgasming to buttsex.`);
choice.push(assignJob(slave, "work in the dairy"));
} else if (canDoAnal(slave)){
if (V.universalRulesAssignsSelfFacility === 1 && V.brothel > brothelL) {
choice.push(`decides to work in ${V.brothelName}, since whores get buttfucked more than anyone else.`);
choice.push(assignJob(slave, "work in the brothel"));
} else {
choice.push(`decides to whore, since whores get buttfucked more than anyone else.`);
choice.push(assignJob(slave, "whore"));
}
slave.sexAmount = 10;
} else {
if (V.universalRulesAssignsSelfFacility === 1 && V.club > clubL) {
choice.push(`decides to shake ${his} money maker in ${V.clubName}.`);
choice.push(assignJob(slave, "serve in the club"));
} else {
choice.push(`decides to shake ${his} money maker on the streets.`);
choice.push(assignJob(slave, "serve the public"));
}
slave.sexAmount = 10;
}
} else if (slave.fetish === "pregnancy") {
if (V.PC.dick > 0 && isFertile(slave)) {
if (V.universalRulesAssignsSelfFacility === 1 && V.masterSuite > masterSL) {
choice.push(`decides to serve you in ${V.masterSuiteName}, hoping that you'll get ${him} pregnant.`);
choice.push(assignJob(slave, "serve in the master suite"));
} else {
choice.push(`decides to be your fucktoy, hoping that you'll get ${him} pregnant.`);
choice.push(assignJob(slave, "please you"));
}
} else if (V.universalRulesAssignsSelfFacility === 1 && V.dairyPregSetting > 0 && V.dairy > dairyL && isFertile(slave)) {
if (V.dairyPregSetting > 1) {
choice.push(`eagerly rushes to ${V.dairyName} in the hopes that ${his} fertile womb will be packed full of children.`);
choice.push(assignJob(slave, "work in the dairy"));
} else {
choice.push(`rushes to ${V.dairyName} in the hopes that ${his} fertile womb will be rented out.`);
choice.push(assignJob(slave, "work in the dairy"));
}
} else if (slave.bellyPreg >= 1500) {
if (arcology.FSRepopulationFocus > 20) {
if (V.cash < 10000) {
if (V.brothel > brothelL && V.universalRulesAssignsSelfFacility === 1) {
choice.push(`heads to ${V.brothelName} since ${he} wants to set an example for any unimpregnated girls.`);
choice.push(assignJob(slave, "work in the brothel"));
} else {
choice.push(`heads to the streets to lavish in the attention given to pregnant prostitutes.`);
choice.push(assignJob(slave, "whore"));
}
} else {
if (V.club > clubL && V.universalRulesAssignsSelfFacility === 1) {
choice.push(`heads to ${V.clubName} to show off ${his} growing middle and lavish in the public's attention.`);
choice.push(assignJob(slave, "serve in the club"));
} else {
choice.push(`heads to the streets to contribute to the number of visibly pregnant women around.`);
choice.push(assignJob(slave, "serve the public"));
}
}
slave.sexAmount = 10;
} else if (V.masterSuite > masterSL && V.universalRulesAssignsSelfFacility === 1) {
choice.push(`heads straight to ${V.masterSuiteName} to share the intimacy of ${his} pregnant body with you.`);
choice.push(assignJob(slave, "serve in the master suite"));
} else {
choice.push(`decides to be your fucktoy to share the intimacy of ${his} pregnant body with you.`);
choice.push(assignJob(slave, "please you"));
}
} else if (slave.pregKnown === 1) {
if (V.masterSuite > masterSL && V.universalRulesAssignsSelfFacility === 1) {
choice.push(`heads straight to ${V.masterSuiteName} so you may watch for the day that ${he} finally starts to show.`);
choice.push(assignJob(slave, "serve in the master suite"));
} else {
choice.push(`decides to be your fucktoy so you may enjoy watching ${him} begin showing.`);
choice.push(assignJob(slave, "please you"));
}
} else if (canGetPregnant(slave)) {
if (V.universalRulesAssignsSelfFacility === 1 && V.brothel > brothelL) {
choice.push(`can't indulge ${his} pregnancy fetish without getting dicked, so ${he} heads down to ${V.brothelName} to do just that.`);
choice.push(assignJob(slave, "work in the brothel"));
} else {
choice.push(`can't indulge ${his} pregnancy fetish without getting dicked, so ${he} decides to be a whore to get seeded.`);
choice.push(assignJob(slave, "whore"));
}
slave.sexAmount = 10;
} else if (slave.lactation > 0) {
if (V.universalRulesAssignsSelfFacility === 1 && V.dairyRestraintsSetting < 2 && V.dairy > dairyL) {
choice.push(`heads down to ${V.dairyName} to be around other lactating girls.`);
choice.push(assignJob(slave, "work in the dairy"));
} else {
choice.push(`decides to get milked, since ${he} is already lactating.`);
choice.push(assignJob(slave, "get milked"));
}
} else {
if (V.universalRulesAssignsSelfFacility === 1 && V.brothel > brothelL) {
choice.push(`can't indulge ${his} fetish by getting pregnant ${himself}, so ${he} just heads down to ${V.brothelName}.`);
choice.push(assignJob(slave, "work in the brothel"));
} else {
choice.push(`can't indulge ${his} fetish by getting pregnant ${himself}, so ${he} glumly decides to be a whore.`);
choice.push(assignJob(slave, "whore"));
}
slave.sexAmount = 10;
}
} else if (slave.fetish === "boobs") {
if (slave.lactation > 0) {
if (V.universalRulesAssignsSelfFacility === 1 && V.dairyRestraintsSetting < 2 && V.dairy > dairyL) {
choice.push(`heads down to ${V.dairyName} for all the attention that'll be lavished on ${his} nipples.`);
choice.push(assignJob(slave, "work in the dairy"));
} else {
choice.push(`decides to get milked, since ${he} loves getting off to it.`);
choice.push(assignJob(slave, "get milked"));
}
} else if (V.universalRulesAssignsSelfFacility === 1 && V.club > clubL) {
choice.push(`decides to work in ${V.clubName} so ${he} can show off ${his} bare breasts.`);
choice.push(assignJob(slave, "serve in the club"));
slave.sexAmount = 10;
} else {
choice.push(`decides to work as a public servant so ${he} can show off ${his} bare breasts.`);
choice.push(assignJob(slave, "serve the public"));
slave.sexAmount = 10;
}
} else if (slave.attrXX > 85) {
if (V.universalRulesAssignsSelfFacility === 1 && V.club > clubL) {
choice.push(`decides to work in ${V.clubName} so ${he} can hit on hot girls.`);
choice.push(assignJob(slave, "serve in the club"));
} else {
choice.push(`decides to work as a public servant so ${he} can hit on hot girls.`);
choice.push(assignJob(slave, "serve the public"));
}
slave.sexAmount = 10;
} else if (slave.attrXY > 85) {
if (V.universalRulesAssignsSelfFacility === 1 && V.club > clubL) {
choice.push(`decides to work in ${V.clubName} so ${he} can hit on cute boys.`);
choice.push(assignJob(slave, "serve in the club"));
} else {
choice.push(`decides to work as a public servant so ${he} can hit on cute boys.`);
choice.push(assignJob(slave, "serve the public"));
}
slave.sexAmount = 10;
} else if (slave.energy > 95) {
if (V.universalRulesAssignsSelfFacility === 1 && V.brothel > brothelL) {
choice.push(`decides to help those of your slaves who mind taking dick all day by working in ${V.brothelName}.`);
choice.push(assignJob(slave, "work in the brothel"));
} else {
choice.push(`decides to help those of your slaves who mind taking dick all day by working as a whore.`);
choice.push(assignJob(slave, "whore"));
}
slave.sexAmount = 10;
} else if (arcology.FSChattelReligionist > 0) {
if (V.universalRulesAssignsSelfFacility === 1 && V.brothel > brothelL) {
choice.push(`is a pure and faithful slave, so ${he} sells ${his} body in the holy brothel.`);
choice.push(assignJob(slave, "work in the brothel"));
} else {
choice.push(`is a pure and faithful slave, so ${he} sells ${his} body as a holy prostitute.`);
choice.push(assignJob(slave, "whore"));
}
slave.sexAmount = 10;
} else if (arcology.FSEgyptianRevivalist > 0) {
if (V.universalRulesAssignsSelfFacility === 1 && V.masterSuite > masterSL) {
choice.push(`is a devoted slave, so ${he} immediately joins your harem.`);
choice.push(assignJob(slave, "serve in the master suite"));
} else {
choice.push(`is a devoted slave, so ${he} immediately joins your harem.`);
choice.push(assignJob(slave, "please you"));
}
} else if (arcology.FSRomanRevivalist > 0) {
if (V.universalRulesAssignsSelfFacility === 1 && V.brothel > brothelL) {
choice.push(`is a devoted slave, so ${he} decides ${he} can best serve the state by raising money for the treasury, by selling ${his} body in ${V.brothelName}.`);
choice.push(assignJob(slave, "work in the brothel"));
} else {
choice.push(`is a devoted slave, so ${he} decides ${he} can best serve the state by raising money for the treasury, by selling ${his} body as a prostitute.`);
choice.push(assignJob(slave, "whore"));
}
slave.sexAmount = 10;
} else if (arcology.FSAztecRevivalist > 0) {
if (V.universalRulesAssignsSelfFacility === 1 && V.brothel > brothelL) {
choice.push(`is a devoted slave, so ${he} decides ${he} can best serve the empire by serving at the fertility temple.`);
choice.push(assignJob(slave, "work in the brothel"));
} else {
choice.push(`is a devoted slave, so ${he} decides ${he} can best serve the empire by offering ${himself} to the public.`);
choice.push(assignJob(slave, "serve the public"));
}
slave.sexAmount = 10;
} else if (arcology.FSPaternalist > 0) {
if (V.universalRulesAssignsSelfFacility === 1 && V.brothel > brothelL) {
choice.push(`decides to work in ${V.brothelName}, a respectable position for a slave in this enlightened arcology.`);
choice.push(assignJob(slave, "work in the brothel"));
} else {
choice.push(`decides to be a whore, a respectable position for a slave in this enlightened arcology.`);
choice.push(assignJob(slave, "whore"));
}
slave.sexAmount = 10;
} else if (arcology.FSPastoralist > 0) {
if (slave.lactation > 0) {
if (V.universalRulesAssignsSelfFacility === 1 && V.dairyRestraintsSetting < 2 && V.dairy > dairyL) {
choice.push(`hurries to join your herd of dairy cows.`);
choice.push(assignJob(slave, "work in the dairy"));
} else {
choice.push(`hurries to join your herd of cows.`);
choice.push(assignJob(slave, "get milked"));
}
} else {
if (V.universalRulesAssignsSelfFacility === 1 && V.brothel > brothelL) {
choice.push(`decides to work in ${V.brothelName} to help raise money to get more girls lactating properly.`);
choice.push(assignJob(slave, "work in the brothel"));
} else {
choice.push(`decides to prostitute ${himself} to help raise money to get more girls lactating properly.`);
choice.push(assignJob(slave, "whore"));
}
slave.sexAmount = 10;
}
} else if (arcology.FSHedonisticDecadence > 0) {
if (V.universalRulesAssignsSelfFacility === 1 && V.spa > spaL && (slave.trust < 60 || slave.devotion <= 60)) {
choice.push(`could use a break, so ${he} heads to take a dip in the spa.`);
choice.push(assignJob(slave, "rest in the spa"));
} else {
choice.push(`could use a meal and a nap, so ${he} grabs a cup of food and heads to bed.`);
choice.push(removeJob(slave, slave.assignment));
}
} else {
if (slave.skill.whoring > slave.skill.entertainment) {
if (V.universalRulesAssignsSelfFacility === 1 && V.brothel > brothelL) {
choice.push(`decides to work in ${V.brothelName}, since ${he} thinks ${himself} a better whore than a public slut.`);
choice.push(assignJob(slave, "work in the brothel"));
} else {
choice.push(`decides to whore, since ${he} thinks ${himself} a better whore than a public slut.`);
choice.push(assignJob(slave, "whore"));
}
slave.sexAmount = 10;
} else if (slave.skill.entertainment > slave.skill.whoring) {
if (V.universalRulesAssignsSelfFacility === 1 && V.club > clubL) {
choice.push(`decides to be a club ${girl}, since ${he} thinks ${himself} a better public slut than a whore.`);
choice.push(assignJob(slave, "serve in the club"));
} else {
choice.push(`decides to serve the public, since ${he} thinks ${himself} a better public slut than a whore.`);
choice.push(assignJob(slave, "serve the public"));
}
slave.sexAmount = 10;
} else {
if (V.universalRulesAssignsSelfFacility === 1 && V.brothel > brothelL) {
choice.push(`decides to join ${his} sisters and work in ${V.brothelName}.`);
choice.push(assignJob(slave, "work in the brothel"));
} else {
choice.push(`decides to prostitute ${himself} to help you upgrade ${arcology.name} and improve everyone's life.`);
choice.push(assignJob(slave, "whore"));
}
slave.sexAmount = 10;
}
}
} else {
if (V.universalRulesAssignsSelfFacility === 1 && V.club > clubL) {
choice.push(`decides to be a club ${girl}, since partying is better than sitting around and failing to think of a job to do.`);
choice.push(assignJob(slave, "serve in the club"));
slave.sexAmount = 10;
} else if (canWalk(slave) && canSee(slave)) {
choice.push(`decides to tidy up the penthouse a little while ${he} thinks.`);
choice.push(assignJob(slave, "be a servant"));
} else {
choice.push(`stays in bed, unable to come up with anything.`);
choice.push(removeJob(slave, slave.assignment));
}
}
slave.choosesOwnAssignment = 2;
// ready for second pass
return choice.join(" ");
}
})();
|
MonsterMate/fc
|
src/endWeek/saChoosesOwnJob.js
|
JavaScript
|
mit
| 30,217
|
App.SlaveAssignment.clothes = (function() {
"use strict";
let r;
let arcology;
// eslint-disable-next-line no-unused-vars
let he, him, his, hers, himself, girl, loli, He, His;
return saClothes;
/**
* @param {App.Entity.SlaveState} slave
* @returns {string}
*/
function saClothes(slave) {
r = [];
arcology = V.arcologies[0];
({
// eslint-disable-next-line no-unused-vars
he, him, his, hers, himself, girl, He, His, loli
} = getPronouns(slave));
updateAccessories(slave);
if (slave.fuckdoll === 0 && slave.fetish !== "mindbroken") {
clothingEffects(slave);
}
if (slave.collar !== "none") {
collarEffects(slave);
}
if (slave.faceAccessory !== "none") {
maskEffects(slave);
}
if (slave.mouthAccessory !== "none") {
mouthEffects(slave);
}
chastityEffects(slave);
if (slave.bellyAccessory !== "none") {
bellyAccessories(slave);
}
if (hasAnyLegs(slave)) {
legAccessories(slave);
}
if (slave.vagina >= 0) {
vaginaAccessories(slave);
}
if (slave.buttplug !== "none") {
analAccessories(slave);
}
return r.join(" ");
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function updateAccessories(slave) {
if (slave.dick === 0) {
slave.chastityPenis = 0;
slave.dickAccessory = "none";
}
if (!hasAnyLegs(slave)) {
slave.shoes = "none";
slave.legAccessory = "none";
}
if (slave.vagina === -1) {
slave.chastityVagina = 0;
slave.vaginalAccessory = "none";
slave.vaginalAttachment = "none";
} else {
if (["none", "bullet vibrator", "smart bullet vibrator"].includes(slave.vaginalAccessory)) {
slave.vaginalAttachment = "none";
}
}
if (slave.buttplug === "none") {
slave.buttplugAttachment = "none";
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function clothingEffects(slave) {
switch (slave.clothes) {
case "no clothing":
if (slave.devotion >= -20) {
if (slave.fetish === "humiliation" && slave.fetishKnown === 0) {
r.push(`${He} pretends to be embarrassed by ${his} nudity but seems to get off on it. <span class="lightcoral">${He}'s into humiliation.</span>`);
slave.fetishKnown = 1;
} else if (slave.fetish === "humiliation" && slave.fetishStrength > 60) {
r.push(`${He} pretends to be embarrassed by ${his} nudity but <span class="hotpink">openly gets off on it.</span>`);
slave.devotion += 2;
} else if (slave.fetish === "humiliation") {
r.push(`${He} pretends to be embarrassed by ${his} nudity but <span class="hotpink">secretly gets off on it.</span>`);
slave.devotion += 1;
} else if (slave.energy > 95) {
r.push(`${His} libido is so strong that ${he} <span class="hotpink">enjoys being naked and available.</span>`);
slave.devotion += 1;
}
}
break;
case "a penitent nuns habit":
r.push(`The mortification of the flesh ${he} endures from wearing ${his} sackcloth habit slowly and painfully <span class="hotpink">purifies ${his} mind</span> of any but devoted, <span class="gold">fearful</span> thoughts. It's also <span class="red">unhealthy.</span>`);
slave.devotion += 2;
slave.trust -= 2;
healthDamage(slave, 3);
if (slave.fetish === "masochist" && slave.fetishKnown === 0) {
r.push(`${His} chafed skin makes sex an agonizing prospect. ${He} seems to get off on the pain; ${he}'s a <span class="lightcoral">natural masochist.</span>`);
slave.fetishKnown = 1;
} else if (slave.fetish === "none" || slave.fetishKnown === 0) {
if (fetishChangeChance(slave) > jsRandom(0, 100)) {
r.push(`${His} chafed skin makes sex an agonizing prospect. ${He} learns to come in spite of, and then <span class="lightcoral">because of the pain.</span>`);
slave.fetish = "masochist";
slave.fetishKnown = 1;
slave.fetishStrength = 10;
}
}
break;
case "uncomfortable straps":
if (slave.devotion >= -20 && slave.fetish === "masochist" && slave.fetishKnown === 1) {
r.push(`The uncomfortable straps ${he}'s wearing constantly give ${him} little twinges of pain, <span class="hotpink">titillating ${him}.</span>`);
slave.devotion += 2;
} else if (slave.devotion <= 20 && slave.trust >= -50) {
r.push(`The uncomfortable straps ${he}'s wearing keep ${him} <span class="hotpink">servile</span> and <span class="gold">afraid.</span>`);
slave.devotion += 1;
slave.trust -= 1;
if (slave.fetish === "masochist" && slave.fetishKnown === 0) {
r.push(`The straps pinch and constrict ${him} whenever ${he}'s used. ${He} seems to get off on the discomfort; ${he}'s a <span class="lightcoral">natural masochist.</span>`);
slave.fetishKnown = 1;
} else if (slave.fetish === "none" || slave.fetishKnown === 0) {
if (fetishChangeChance(slave) > jsRandom(0, 100)) {
r.push(`The straps pinch and constrict ${him} whenever ${he}'s used. ${He} learns to come in spite of, and then <span class="lightcoral">because of the discomfort.</span>`);
slave.fetish = "masochist";
slave.fetishKnown = 1;
slave.fetishStrength = 10;
}
}
} else {
if (slave.fetish === "masochist" && slave.fetishKnown === 0) {
r.push(`${His} straps pinch and constrict ${him} whenever ${he}'s used. ${He} seems to get off on the discomfort; ${he}'s a <span class="lightcoral">natural masochist.</span>`);
slave.fetishKnown = 1;
} else if (slave.fetish === "none" || slave.fetishKnown === 0) {
if (fetishChangeChance(slave) > jsRandom(0, 100)) {
r.push(`${His} straps pinch and constrict ${him} whenever ${he}'s used. ${He} learns to come in spite of, and then <span class="lightcoral">because of the discomfort.</span>`);
slave.fetish = "masochist";
slave.fetishKnown = 1;
slave.fetishStrength = 10;
}
}
}
break;
case "chains":
if (slave.devotion >= -20 && slave.fetish === "masochist" && slave.fetishKnown === 1) {
r.push(`The chains ${he}'s wearing constantly give ${him} little twinges of pain, <span class="hotpink">titillating ${him}.</span>`);
slave.devotion += 2;
} else if (slave.devotion <= 20 && slave.trust >= -50) {
r.push(`The chains ${he}'s wearing keep ${him} <span class="hotpink">servile</span> and <span class="gold">afraid.</span>`);
slave.devotion += 1;
slave.trust -= 1;
if (slave.fetish === "masochist" && slave.fetishKnown === 0) {
r.push(`${His} chains pinch and constrict ${him} whenever ${he}'s used. ${He} seems to get off on the discomfort; ${he}'s a <span class="lightcoral">natural masochist.</span>`);
slave.fetishKnown = 1;
} else if (slave.fetish === "none" || slave.fetishKnown === 0) {
if (fetishChangeChance(slave) > jsRandom(0, 100)) {
r.push(`${His} chains pinch and constrict ${him} whenever ${he}'s used. ${He} learns to come in spite of, and then <span class="lightcoral">because of the discomfort.</span>`);
slave.fetish = "masochist";
slave.fetishKnown = 1;
slave.fetishStrength = 10;
}
}
} else {
if (slave.fetish === "masochist" && slave.fetishKnown === 0) {
r.push(`${His} chains pinch and constrict ${him} whenever ${he}'s used. ${He} seems to get off on the discomfort; ${he}'s a <span class="lightcoral">natural masochist.</span>`);
slave.fetishKnown = 1;
} else if (slave.fetish === "none" || slave.fetishKnown === 0) {
if (fetishChangeChance(slave) > jsRandom(0, 100)) {
r.push(`${His} chains pinch and constrict ${him} whenever ${he}'s used. ${He} learns to come in spite of, and then <span class="lightcoral">because of the discomfort.</span>`);
slave.fetish = "masochist";
slave.fetishKnown = 1;
slave.fetishStrength = 10;
}
}
}
break;
case "restrictive latex":
if (slave.devotion > 20 && slave.trust >= -50 && slave.fetish === "submissive") {
if (slave.fetishKnown === 0) {
r.push(`The latex ${he}'s wearing limits ${his} world to your input and control. ${He} seems to get off on the lack of control; ${he}'s a <span class="lightcoral">total submissive.</span>`);
slave.fetishKnown = 1;
} else if (slave.fetishStrength > 60) {
r.push(`As a submissive ${he} <span class="hotpink">openly enjoys being immured in latex.</span>`);
slave.devotion += 2;
} else {
r.push(`${His} submissive tendencies help ${him} <span class="hotpink">enjoy being immured in latex.</span>`);
slave.devotion += 1;
}
} else if (slave.devotion < -20) {
r.push(`The latex ${he}'s wearing limits ${his} world to <span class="hotpink">your input and control</span> and <span class="gold">fear</span> of unexpected pain.`);
slave.devotion += 1;
slave.trust -= 1;
}
break;
case "shibari ropes":
if (slave.devotion > 20 && slave.trust >= -50 && slave.fetish === "submissive") {
if (slave.fetishKnown === 0) {
r.push(`The ropes ${he}'s wearing restrict ${him} and leave ${him} completely helpless. ${He} seems to get off on the lack of control; ${he}'s a <span class="lightcoral">natural submissive.</span>`);
slave.fetishKnown = 1;
} else if (slave.fetishStrength > 60) {
r.push(`As a submissive ${he} <span class="hotpink">openly enjoys wearing binding ropes as clothing.</span>`);
slave.devotion += 2;
} else {
r.push(`${His} submissive tendencies help ${him} <span class="hotpink">enjoy wearing binding ropes as clothing.</span>`);
slave.devotion += 1;
}
} else if (slave.devotion < -20) {
r.push(`The ropes ${he}'s wearing restrict ${him} without pain, rendering ${him} <span class="hotpink">susceptible to control</span> and <span class="gold">afraid.</span>`);
slave.devotion += 1;
slave.trust -= 1;
}
break;
case "an apron":
if (slave.fetish === "submissive") {
if (slave.fetishKnown === 0) {
r.push(`${He} pretends to be embarrassed by wearing nothing but an apron, but seems to get off on how it invites other to take control and use ${him}. <span class="lightcoral">${He}'s a natural submissive.</span>`);
slave.fetishKnown = 1;
} else {
r.push(`${He} pretends to be embarrassed by wearing nothing but an apron but <span class="hotpink">secretly gets off</span> on how it invites men to bend ${him} over and put ${him} in ${his} place.`);
slave.devotion += 1;
}
} else if (slave.fetish === "humiliation") {
if (slave.fetishKnown === 0) {
r.push(`${He} pretends to be embarrassed by ${his} extremely revealing clothing but seems to get off on it. <span class="lightcoral">${He}'s into humiliation.</span>`);
slave.fetishKnown = 1;
} else if (slave.fetishStrength > 60) {
r.push(`${He} pretends to be embarrassed by ${his} extremely revealing clothing but <span class="hotpink">openly gets off on it.</span>`);
slave.devotion += 2;
} else {
r.push(`${He} pretends to be embarrassed by ${his} extremely revealing clothing but <span class="hotpink">secretly gets off on it.</span>`);
slave.devotion += 1;
}
} else if (slave.fetish === "pregnancy" && (slave.bellyPreg >= 1500 || slave.bellyImplant >= 1500)) {
if (slave.fetishKnown === 0) {
r.push(`${He} pretends to be embarrassed over only having an apron to cover ${his} gravid swell but seems to get off on it. <span class="lightcoral">${He}'s a pregnancy fetishist.</span>`);
slave.fetishKnown = 1;
} else if (slave.fetishStrength > 60) {
r.push(`${He} <span class="hotpink">openly gets off</span> from how motherly ${he} looks wearing nothing but an apron over ${his}`);
if (slave.bellyPreg > 100) {
r.push(`increasingly`);
}
r.push(`gravid frame.`);
slave.devotion += 2;
} else {
r.push(`${He} <span class="hotpink">secretly gets off</span> from how motherly ${he} feels wearing nothing but an apron over ${his}`);
if (slave.bellyPreg > 100) {
r.push(`increasingly`);
}
r.push(`gravid frame.`);
slave.devotion += 1;
}
} else if (slave.devotion <= 20) {
r.push(`${He} is <span class="mediumorchid">inappropriately proud</span> of the nice apron ${he}'s wearing, <span class="mediumaquamarine">building ${his} confidence.</span>`);
slave.devotion -= 5;
slave.trust += 3;
} else {
r.push(`${He} is <span class="hotpink">proud</span> and <span class="mediumaquamarine">confident</span> of the nice apron ${he}'s wearing.`);
slave.devotion += 1;
slave.trust += 1;
}
break;
default:
if (slave.devotion <= 20) {
r.push(`${He} is <span class="mediumorchid">inappropriately proud</span> of the nice clothes ${he}'s wearing, <span class="mediumaquamarine">building ${his} confidence.</span>`);
slave.devotion -= 5;
slave.trust += 3;
} else if (slave.fetish === "boobs" && slave.clothes === "a monokini") {
if (slave.fetishKnown === 0) {
r.push(`${He} pretends to be embarrassed by how ${his} monokini draws attention to ${his} breasts but <span class="hotpink">seems to get off on it.</span>`);
slave.devotion += 1;
} else if (slave.fetishStrength > 60) {
r.push(`${He} pretends to be embarrassed by ${his} clearly exposed breasts but <span class="hotpink">openly gets off on it.</span>`);
slave.devotion += 2;
} else {
r.push(`${He} pretends to be embarrassed by ${his} clearly exposed breasts but <span class="hotpink">secretly gets off on it.</span>`);
slave.devotion += 1;
}
} else if (slave.fetish === "humiliation" && setup.humiliatingClothes.includes(slave.clothes)) {
if (slave.fetishKnown === 0) {
r.push(`${He} pretends to be embarrassed by ${his} extremely revealing clothing but seems to get off on it. <span class="lightcoral">${He}'s into humiliation.</span>`);
slave.fetishKnown = 1;
} else if (slave.fetishStrength > 60) {
r.push(`${He} pretends to be embarrassed by ${his} extremely revealing clothing but <span class="hotpink">openly gets off on it.</span>`);
slave.devotion += 2;
} else {
r.push(`${He} pretends to be embarrassed by ${his} extremely revealing clothing but <span class="hotpink">secretly gets off on it.</span>`);
slave.devotion += 1;
}
} else if (slave.dick > 0) {
/* males have trouble with outfit block */ /* return to with crotch description overhaul */
switch (slave.clothes) {
case "attractive lingerie":
case "attractive lingerie for a pregnant woman":
r.push(`${He} is <span class="hotpink">proud</span> of the pretty lingerie ${he}'s wearing, but ${he} constantly has to adjust ${his} g-string to cover ${his} penis.`);
slave.devotion += 1;
break;
case "a string bikini":
r.push(`${He} is <span class="hotpink">proud</span> of the slutty swimsuit ${he}'s wearing, but ${he} constantly has to adjust ${his} string bikini bottom in a vain effort to cover ${his} penis.`);
slave.devotion += 1;
break;
default:
r.push(`${He} is <span class="hotpink">proud</span> and <span class="mediumaquamarine">confident</span> of the nice clothes ${he}'s wearing.`);
slave.devotion += 1;
slave.trust += 1;
}
} else {
r.push(`${He} is <span class="hotpink">proud</span> and <span class="mediumaquamarine">confident</span> of the nice clothes ${he}'s wearing.`);
slave.devotion += 1;
slave.trust += 1;
}
}
// humiliating clothing effects
if (slave.fetishKnown === 0 || slave.fetish === "none") {
if (setup.humiliatingClothes.includes(slave.clothes)) {
if (fetishChangeChance(slave) > jsRandom(0, 100)) {
r.push(`Surprisingly, ${he} takes to ${his} extremely revealing clothing, and gets an obvious thrill from it. <span class="lightcoral">${He}'s become a humiliation fetishist!</span>`);
slave.fetish = "humiliation";
slave.fetishKnown = 1;
slave.fetishStrength = 10;
}
}
}
// Chattel Religionist effects
if (arcology.FSChattelReligionist !== "unset") {
if (slave.behavioralQuirk === "sinful") {
if (slave.clothes === "a fallen nuns habit" || slave.clothes === "a chattel habit" || slave.clothes === "a succubus outfit") {
r.push(`${He}'s <span class="hotpink">gratified</span> by the sacrilegious clothing ${he}'s wearing, glad to be an obvious anathema to old world faiths.`);
slave.devotion += 1;
}
}
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function collarEffects(slave) {
if (slave.collar === "preg biometrics") {
if (slave.fetish === "pregnancy" && slave.fetishKnown === 1) {
if (slave.preg < -1) {
r.push(`${His} collar's display reveals all sorts of personal information about ${his} womb, which as an infertile pregnancy fetishist, is <span class="mediumorchid">crippling</span> to ${him}.`);
slave.devotion -= 3;
} else {
r.push(`${His} collar's display reveals all sorts of personal information about ${his} womb, which as a pregnancy fetishist, is <span class="hotpink">pleasing</span> to ${him}.`);
slave.devotion += 1;
}
} else if (slave.fetish === "pregnancy" && slave.fetishKnown === 0) {
if (slave.preg < -1) {
r.push(`${His} collar's display reveals all sorts of personal information about ${his} womb, which nearly causes ${him} to have a <span class="mediumorchid">mental breakdown,</span> painting ${him} as an infertile <span class="lightcoral">pregnancy fetishist.</span>`);
slave.devotion -= 3;
} else {
r.push(`${His} collar's display reveals all sorts of personal information about ${his} womb, <span class="hotpink">oddly exciting</span> ${him}. It would seem ${he} has a <span class="lightcoral">pregnancy fetish!</span>`);
slave.devotion += 1;
}
slave.fetishKnown = 1;
} else if (slave.fetish === "humiliation" && slave.fetishKnown === 1) {
r.push(`${His} collar's display reveals all sorts of personal information about ${his} womb, which is completely humiliating, and <span class="hotpink">pleasing</span> to ${him}.`);
slave.devotion += 1;
} else if (slave.fetish === "humiliation" && slave.fetishKnown === 0) {
r.push(`${His} collar's display reveals all sorts of personal information about ${his} womb, which is completely humiliating, and <span class="hotpink">oddly pleasing</span> to ${him}. ${He} seems to have a <span class="lightcoral">humiliation fetish!</span>`);
slave.devotion += 1;
slave.fetishKnown = 1;
} else if (slave.devotion < -20) {
r.push(`${His} collar's display reveals all sorts of personal information about ${his} fertility, filling ${him} <span class="mediumorchid">with disgust</span> that you that you consider ${his} womb little more than property, as well as <span class="gold">fear</span> that it will`);
if (slave.pregKnown === 1) {
r.push(`be promptly filled with an unwelcome child once ${his} pregnancy ends.`);
} else {
r.push(`soon be swelling with an unwelcome child.`);
}
slave.devotion -= 2;
slave.trust -= 2;
} else if (slave.devotion <= 20) {
r.push(`${His} collar's display reveals all sorts of personal information about ${his} womb, completely <span class="hotpink">degrading ${him}</span> and making ${him} <span class="gold">fear</span> ${his} new life.`);
slave.devotion += 1;
slave.trust -= 2;
} else if (slave.devotion > 20) {
r.push(`${His} collar's display reveals all sorts of personal information about ${his} womb, filling ${him} <span class="hotpink">with pride</span> that you think ${his} womb is worth attention.`);
slave.devotion += 1;
}
} else if (slave.devotion <= 20) {
if (slave.collar === "tight steel" || slave.collar === "cruel retirement counter") {
r.push(`The tight metal collar ${he}'s wearing <span class="gold">reminds ${him} to be afraid</span> every time ${he} takes a breath.`);
slave.trust -= 1;
} else if (slave.collar === "uncomfortable leather" || slave.collar === "neck corset") {
r.push(`The uncomfortable leather collar ${he}'s wearing <span class="gold">reminds ${him} to be afraid</span> every time ${he} turns ${his} head.`);
slave.trust -= 1;
} else if (slave.collar === "shock punishment") {
r.push(`The shock collar ${he}'s wearing makes ${his} frequent, deserved punishments <span class="gold">immediate, inescapable,</span> and <span class="mediumorchid">awful.</span>`);
slave.devotion -= 2;
slave.trust -= 5;
if (slave.devotion < -20 && slave.behavioralFlaw !== "odd") {
r.push(`Since ${he}'s rebellious ${his} life is near-constant electroshock torture. ${His} resistance is <span class="hotpink">worn down by the agony</span> and ${he} is <span class="gold">thoroughly cowed,</span> but ${he} has been <span class="red">emotionally damaged</span> by the experience to the extent that further shock torture is not likely to affect ${him} as greatly.`);
slave.devotion += 10;
slave.trust -= 10;
slave.behavioralFlaw = "odd";
}
} else {
r.push(`${He} is <span class="mediumorchid">inappropriately proud</span> and <span class="mediumaquamarine">confident</span> of the nice collar ${he}'s wearing.`);
slave.devotion -= 5;
slave.trust += 3;
}
} else {
if (slave.collar === "heavy gold" || slave.collar === "ancient Egyptian") {
r.push(`${He} bears the burden of ${his} heavy gold collar with <span class="mediumaquamarine">confidence.</span>`);
slave.trust += 1;
} else if (slave.collar === "bowtie" || slave.collar === "neck tie" ) {
r.push(`The ${slave.collar} and shirt collar ${he} wears fill ${him} with <span class="mediumaquamarine">confidence,</span> since although they conceal a more traditional slave collar that can be used to restrain ${him}, they don't look like it.`);
slave.trust += 1;
} else if (["nice retirement counter", "pretty jewelry", "satin choker", "silk ribbon", "stylish leather"].includes(slave.collar)) {
r.push(`The lovely collar ${he} wears fills ${him} with <span class="mediumaquamarine">confidence.</span>`);
slave.trust += 1;
} else if (slave.collar === "leather with cowbell") {
if (slave.fetish === "boobs" && slave.fetishStrength > 95) {
r.push(`${He} <span class="hotpink">loves</span> how ${his} cow collar encourages everyone to fuck ${his} udders.`);
slave.devotion += 1;
} else if (slave.fetish === "boobs" || slave.energy > 95) {
r.push(`${He} <span class="hotpink">likes</span> how ${his} cow collar encourages everyone to touch ${his} udders.`);
slave.devotion += 1;
}
}
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function maskEffects(slave) {
if (slave.devotion <= 20) {
if (slave.faceAccessory === "porcelain mask") {
r.push(`The beautiful porcelain mask ${he}'s wearing slowly erodes ${his} identity, forcing ${him} <span class="hotpink">to submit</span> to your will. ${He} <span class="gold">questions</span> who ${he} is.`);
slave.devotion++;
slave.trust -= 2;
} else if (slave.faceAccessory === "cat ears") {
r.push(`The adorable cat ears ${he}'s wearing slowly chip away at ${his} dignity, forcing ${him} <span class="hotpink">to submit</span> to your will. ${He} <span class="gold">feels</span> more and more like a sex object.`);
slave.devotion++;
slave.trust -= 2;
}
} else {
if (slave.faceAccessory === "porcelain mask") {
if (slave.fetish === "submissive" && slave.fetishStrength > 95) {
r.push(`${He} <span class="hotpink">loves</span> how ${his} mask makes ${him} beautiful enough for you.`);
slave.devotion += 1;
} else if (slave.fetish === "submissive" || slave.energy > 95) {
r.push(`${He} <span class="hotpink">likes</span> how ${his} mask makes ${him} beautiful enough for you.`);
slave.devotion += 1;
}
} else if (slave.faceAccessory === "cat ears") {
if (slave.fetish === "submissive" && slave.fetishStrength > 95) {
r.push(`${He} <span class="hotpink">loves</span> how ${his} cat ears make ${him} especially adorable for you.`);
slave.devotion += 1;
} else if (slave.fetish === "submissive" || slave.energy > 95) {
r.push(`${He} <span class="hotpink">likes</span> how ${his} cat ears make ${him} especially adorable for you.`);
slave.devotion += 1;
}
}
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function mouthEffects(slave) {
if (slave.devotion <= 20) {
if (slave.mouthAccessory === "dildo gag") {
r.push(`The dildo gag ${he}'s wearing <span class="gold">reminds ${him} to be afraid</span> with every breath ${he} must carefully take through ${his} nose.`);
slave.trust -= 1;
} else if (slave.mouthAccessory === "ball gag") {
r.push(`The ball gag ${he}'s wearing keeps ${his} mouth filled and, since ${he} can't speak out, forces ${him} <span class="hotpink">to submit</span> to your will. ${He} <span class="gold">fears</span> for ${his} safety with every suppressed word.`);
slave.devotion++;
slave.trust -= 2;
} else if (slave.mouthAccessory === "ring gag") {
r.push(`The ring gag ${he}'s wearing keeps ${his} mouth stretched wide and drooling. Since ${he} can't speak clearly, it forces ${him} <span class="hotpink">to submit</span> to your will. ${He} <span class="gold">fears</span> for ${his} safety with every suppressed word.`);
slave.devotion++;
slave.trust -= 2;
} else if (slave.mouthAccessory === "bit gag") {
r.push(`The uncomfortable bit gag ${he}'s wearing keeps ${his} mouth locked and, since ${he} can't speak out, forces ${him} <span class="hotpink">to submit</span> to your will. ${He} <span class="gold">fears</span> for ${his} safety with every suppressed word.`);
slave.devotion++;
slave.trust -= 2;
} else if (slave.mouthAccessory === "massive dildo gag") {
r.push(`The enormous dildo gag ${he}'s wearing <span class="gold">terrifies ${him}</span> that ${he} will soon be choking down cocks of similar size. ${He} can feel ${his} throat stretching around the giant dildo, and <span class="mediumorchid">resents you</span> for tormenting ${him} this way.`);
slave.devotion -= 1;
slave.trust -= 2;
}
} else {
if (slave.mouthAccessory === "ball gag" || slave.mouthAccessory === "bit gag" || slave.mouthAccessory === "ring gag") {
if (slave.fetish === "submissive" && slave.fetishStrength > 95) {
r.push(`${He} <span class="hotpink">loves</span> how ${his} gag forces ${him} to keep silent.`);
slave.devotion += 1;
} else if (slave.fetish === "submissive" || slave.energy > 95) {
r.push(`${He} <span class="hotpink">likes</span> how ${his} gag forces ${him} to keep silent.`);
slave.devotion += 1;
}
}
}
if (slave.mouthAccessory === "dildo gag") {
if (slave.skill.oral <= 10) {
r.push(`Living gagged by a dildo, ${he} can't help but get better at having things down ${his} throat.`);
r.push(`${slaveSkillIncrease('oral', slave, 5)}`);
}
}
if (slave.mouthAccessory === "massive dildo gag") {
if (slave.skill.oral < 75) {
r.push(`Living gagged by such an immense dildo, ${he} can't help but get even better at having giant things rammed down ${his} throat.`);
r.push(`${slaveSkillIncrease('oral', slave, 5)}`);
}
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function chastityEffects(slave) {
if (slave.chastityVagina) {
if (slave.devotion > 20) {
if (slave.vagina === 0) {
if (slave.fetish === "buttslut" && slave.fetishStrength > 60) {
if (slave.fetishKnown === 1) {
r.push(`${He}'s such an anal whore that ${he}'s <span class="hotpink">perversely proud</span> of the chastity belt that covers ${his} neglected pussy.`);
slave.devotion += 1;
} else {
r.push(`${He} <span class="hotpink">doesn't seem to mind</span> that ${his} pussy is going unused.`);
slave.devotion += 1;
}
} else {
r.push(`${He} <span class="mediumaquamarine">trusts</span> that you're using the chastity belt ${he} wears to save ${his} virginity for something special.`);
slave.trust += 1;
}
} else {
if (slave.energy > 60) {
if (slave.fetish === "buttslut" && slave.fetishStrength > 60) {
if (slave.fetishKnown === 1) {
r.push(`${He}'s such a butthole slut that ${he} doesn't care about having ${his} pussy kept off limits.`);
} else {
r.push(`${He} seems to like that ${his} chastity is directing all the dicks into ${his} ass.`);
slave.devotion += 1;
}
} else if (slave.energy > 95) {
r.push(`${He}'s such a nympho that having ${his} butthole do double duty for ${his} pussy doesn't bother ${him}.`);
} else {
r.push(`${He} has a healthy sexuality, and misses vaginal sex, <span class="red">reducing ${his} sex drive slightly.</span>`);
slave.energy -= 1;
}
}
}
}
}
if (slave.chastityPenis) {
if (slave.devotion >= -20) {
if (slave.energy > 40) {
if (slave.hormoneBalance < 100) {
if (slave.fetish === "buttslut" && slave.fetishStrength > 60) {
if (slave.fetishKnown === 1) {
r.push(`${He}'s such a butthole slut that ${he} manages to get off just fine despite ${his} dick being kept untouchable and soft behind a chastity cage.`);
} else {
r.push(`${He} seems to be getting off just fine without access to ${his} dick.`);
}
} else if (slave.energy > 95) {
r.push(`${His} sex drive is so overcharged that ${he} manages to orgasm often despite the chastity cage that`);
if (slave.balls === 0 || slave.ballType === "sterile") {
r.push(`prevents ${him} or anyone else from touching ${his} soft cock;`);
} else {
r.push(`keeps ${his} dick soft and untouched;`);
}
r.push(`it's almost always dripping a stream of precum.`);
} else if (slave.fetish === "masochist" && slave.fetishStrength > 60 && canAchieveErection(slave)) {
if (slave.fetishKnown === 1) {
r.push(`${He}'s such a masochist that the pain of even getting semi-hard in ${his} chastity cage turns ${him} on even more, <span class="green">slightly increasing ${his} sexual appetite.</span>`);
slave.energy++;
} else {
r.push(`${His} chastity cage is always painfully tight around ${his} semi-hard dick; something that seems to be arousing to ${him}, only to make it even more painful.`);
slave.energy++;
}
} else if (slave.sexualFlaw === "neglectful") {
r.push(`${His} soft, constrained dick is of little concern to ${him}. ${He} doesn't need release during sex.`);
} else if (slave.balls > 0 && slave.ballType === "sterile") {
r.push(`Though ${he}'s a soft bitch with worthless balls, having ${his} dick guarded against all stimulation by a chastity cage reduces ${his} enjoyment of intercourse a bit, <span class="red">slightly reducing ${his} sexual appetite.</span>`);
slave.energy -= 1;
} else if (slave.balls === 0) {
r.push(`Though ${he}'s a soft, ballsless bitch, having ${his} dick guarded against all stimulation by a chastity cage reduces ${his} enjoyment of intercourse a bit, <span class="red">slightly reducing ${his} sexual appetite.</span>`);
slave.energy -= 1;
} else {
r.push(`${He} has a healthy sexuality, but ${his} chastity cage punishes it by making it very uncomfortable to achieve erection. ${He} often goes without release rather than pushing through, <span class="red">reducing ${his} sex drive.</span>`);
slave.energy -= 2;
if (slave.devotion > 95) {
r.push(`${He}'s so devoted to you that ${he} doesn't let this affect ${his} opinion of you.`);
} else {
r.push(`${He}'s <span class="mediumorchid">a bit resentful</span> and <span class="gold">much less trusting</span> under all this discomfort.`);
slave.devotion -= 1;
slave.trust -= 1;
}
}
}
}
}
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function bellyAccessories(slave) {
if (slave.bellyAccessory === "an extreme corset") {
if (slave.belly >= 100000) {
r.push(`${His} straining corset finally gives in to ${his} giant stomach and bursts, freeing ${his} belly.`);
slave.bellyAccessory = "none";
} else if (slave.bellyPreg >= 1500) {
r.push(`The tight corseting has <span class="orange">caused ${him} to miscarry,</span> which <span class="red">damages ${his} health.</span>`);
healthDamage(slave, 20);
if (lastPregRule(slave, V.defaultRules)) {
slave.preg = -1;
} else {
slave.preg = 0;
}
TerminatePregnancy(slave);
actX(slave, "miscarriages");
if (slave.fuckdoll === 0 && slave.fetish !== "mindbroken") {
if (slave.devotion < -50) {
r.push(`${He} is <span class="mediumorchid">filled with violent, consuming hatred</span> and <span class="gold">fear.</span> Even though ${he} knew ${his} baby was destined for a slave orphanage, it seems ${he} cared for it and views you as its killer.`);
slave.devotion -= 25;
slave.trust -= 25;
} else if (slave.devotion < -20) {
r.push(`${He} is <span class="mediumorchid">afflicted by desperate, inconsolable grief</span> and <span class="gold">horror.</span> Even though ${he} knew ${his} baby was destined for a slave orphanage, it seems ${he} cared for it.`);
slave.devotion -= 10;
slave.trust -= 20;
} else if (slave.devotion <= 20) {
r.push(`${He} is <span class="mediumorchid">consumed by enduring sorrow</span> and <span class="gold">horror.</span> Even though ${he} knew ${his} baby was destined for a slave orphanage, it seems ${he} cared for it.`);
slave.devotion -= 5;
slave.trust -= 5;
} else if (slave.devotion <= 50) {
r.push(`${He} is dully obedient. ${He} has been broken to slave life so thoroughly that even this is neither surprising nor affecting.`);
} else {
r.push(`${He} is <span class="hotpink">pleased by this stark development,</span> since ${he} is so attentive to your will. ${He} also expects ${he}'ll be able to fuck better now.`);
slave.devotion += 4;
}
}
if (slave.abortionTat > -1) {
slave.abortionTat++;
r.push(`The temporary tattoo of a child has been replaced with ${his} ${ordinalSuffix(slave.abortionTat)} crossed out infant.`);
cashX(forceNeg(V.modCost), "slaveMod", slave);
}
} else {
if (slave.waist <= -95) {
r.push(`${His} waist is so absurd that ${his} extreme corsetage does not affect ${him} further.`);
} else {
r.push(`<span class="lime">The extreme corseting narrows ${his} waist.</span>`);
slave.waist -= 5;
if (slave.waist < -95) {
/* can only get here if waist was previously > -95 */
slave.waist = -95;
}
if (slave.waist >= -40) {
r.push(`It's so tight that it's <span class="red">unhealthy.</span>`);
healthDamage(slave, 5);
if (slave.fuckdoll === 0 && slave.fetish !== "mindbroken") {
if (slave.devotion < -20) {
r.push(`${He} <span class="hotpink">barely has breath to think,</span> though ${he} has enough to <span class="gold">fear.</span>`);
slave.devotion += 2;
slave.trust -= 2;
}
if (slave.fetish === "masochist") {
r.push(`During sex, every breath in and out is agonizing.`);
if (slave.fetishKnown === 0) {
r.push(`Despite this, ${he} seems to get off on the pain; ${he}'s a <span class="lightcoral">natural masochist.</span>`);
slave.fetishKnown = 1;
} else {
r.push(`It only adds to ${his} pleasure, much to ${his} <span class="hotpink">enjoyment.</span>`);
slave.devotion += 1;
if (slave.fetishStrength <= 95) {
r.push(`Such constant suffering <span class="lightcoral">deepens ${his} masochism.</span>`);
slave.fetishStrength += 2;
}
}
} else if (slave.fetish === "none" || slave.fetishKnown === 0) {
if (fetishChangeChance(slave) > jsRandom(0, 100)) {
r.push(`During sex, every breath in and out is agonizing. ${He} learns to come in spite of, and then <span class="lightcoral">because of the pain.</span>`);
slave.fetish = "masochist";
slave.fetishKnown = 1;
slave.fetishStrength = 10;
}
}
}
}
}
}
} else if (slave.bellyAccessory === "a corset") {
if (slave.bellyPreg >= 1500) {
r.push(`${His} corset lets ${his} growing belly protrude comfortably, preventing any danger to ${his} pregnancy but preventing any effect on ${his} waist.`);
} else if (slave.belly >= 1500) {
r.push(`${His} corset lets ${his} rounded belly protrude comfortably but prevents any effect on ${his} waist.`);
} else {
if (slave.waist < -40) {
r.push(`${His} waist is so narrow that ${his} corsetage does not affect it.`);
} else {
r.push(`<span class="lime">The corseting narrows ${his} waist.</span>`);
slave.waist -= 3;
}
}
} else if (slave.bellyAccessory === "a support band") {
if (slave.belly > 10000) {
r.push(`${His} pregnancy support band takes some weight off ${his} back, but it does little beyond that.`);
}
} else if (setup.fakeBellies.includes(slave.bellyAccessory)) {
if (slave.weight > 130) {
r.push(`${He} has trouble keeping ${his} fake belly strapped around ${his} huge gut, forcing it to be removed to prevent damage.`);
slave.bellyAccessory = "none";
} else {
if (slave.fuckdoll === 0 && slave.fetish !== "mindbroken") {
if (slave.sexualFlaw === "breeder") {
r.push(`${He} <span class="mediumorchid">resents</span> being forced to carry a fake pregnancy instead of a real one.`);
slave.devotion -= 5;
} else if (slave.devotion <= 20 && slave.trust >= -50 && slave.fetish === "pregnancy") {
if (slave.fetishStrength > 60) {
r.push(`As a pregnancy fetishist, ${he} <span class="hotpink">openly enjoys</span> wearing ${his} fake belly around.`);
slave.devotion += 2;
} else {
r.push(`${His} interest in pregnancy helps ${him} <span class="hotpink">enjoy</span> wearing a fake belly.`);
slave.devotion += 1;
}
} else if (slave.fetish === "pregnancy" && slave.devotion > 50) {
r.push(`${He} carries ${his} fake belly <span class="hotpink">with pride,</span> eager for the day you give ${him} one of ${his} own.`);
slave.devotion += 1;
} else if (slave.fetish === "pregnancy" && slave.pregKnown === 0 && (slave.ovaries === 1 || slave.mpreg === 1)) {
r.push(`The fake belly ${he} wears <span class="mediumorchid">reminds ${him}</span> that ${he} isn't pregnant with a child.`);
slave.devotion -= 1;
} else if (slave.vagina === 0 && isFertile(slave) && arcology.FSRepopulationFocus === "unset" && slave.devotion <= 20) {
r.push(`The fake belly ${he} wears <span class="gold">worries</span> ${him} that you will soon put a real baby in ${him}.`);
slave.trust -= 1;
}
if (slave.bellyAccessory === "a huge empathy belly" && slave.fetish !== "pregnancy") {
if (slave.devotion > 50) {
r.push(`${His} full-sized twins belly is heavy and unwieldy, but ${he} carries it <span class="hotpink">proudly</span> for you.`);
slave.devotion += 1;
} else {
r.push(`${His} full-sized twins belly is heavy and unwieldy, and ${he} <span class="mediumorchid">despises</span> being forced to bear it.`);
slave.devotion -= 1;
}
}
if (slave.fetish === "pregnancy" && slave.fetishStrength <= 95) {
if (jsRandom(1, 100) >= 20) {
r.push(`Pretending to be pregnant has <span class="lightcoral">furthered ${his} interest in pregnancy.</span>`);
slave.fetishStrength += 4;
} else if (slave.fetishStrength <= 40) {
r.push(`Lugging around a fake pregnancy for the week has shown ${him} ${he} <span class="coral">isn't as into pregnancy as ${he} thought.</span>`);
slave.fetish = "none";
slave.fetishStrength = 10;
}
}
}
}
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function legAccessories(slave) {
if (slave.shoes === "heels") {
if (hasAnyNaturalLegs(slave)) {
if (slave.fuckdoll === 0 && slave.fetish !== "mindbroken") {
if (slave.devotion < -20) {
r.push(`${He} <span class="mediumorchid">resents being forced</span> to wear high heels.`);
slave.devotion -= 2;
}
}
} else {
r.push(`${His} P-Limb`);
if (hasBothLegs(slave)) {
r.push(`legs work`);
} else {
r.push(`leg works`);
}
r.push(`just as well in heels as`);
if (hasBothLegs(slave)) {
r.push(`they do`);
} else {
r.push(`it does`);
}
r.push(`out of them.`);
}
} else if (slave.shoes === "boots") {
if (hasAnyNaturalLegs(slave)) {
if (slave.fuckdoll === 0 && slave.fetish !== "mindbroken") {
if (slave.devotion < -20) {
r.push(`${He} <span class="mediumorchid">resents being forced</span> to wear high heeled boots.`);
slave.devotion -= 2;
}
}
} else {
r.push(`${His} P-Limb`);
if (hasBothLegs(slave)) {
r.push(`legs work`);
} else {
r.push(`leg works`);
}
r.push(`just as well in boots as`);
if (hasBothLegs(slave)) {
r.push(`they do`);
} else {
r.push(`it does`);
}
r.push(`out of them.`);
}
} else if (slave.shoes === "extreme heels") {
if (hasAnyNaturalLegs(slave)) {
if (slave.fuckdoll === 0 && slave.fetish !== "mindbroken") {
if (slave.devotion < -20) {
r.push(`${He} <span class="mediumorchid">resents being forced</span> to wear <span class="gold">painfully</span> high heels.`);
slave.devotion -= 2;
slave.trust -= 2;
} else if (slave.fetish === "masochist") {
r.push(`It is difficult to walk in ${his} extreme heels, but ${he}`);
if (slave.fetishKnown === 0) {
r.push(`seems to enjoy every painful step; ${he}'s a <span class="lightcoral">natural masochist.</span>`);
slave.fetishKnown = 1;
} else {
r.push(`<span class="hotpink">appreciates</span> every painful step ${he} gets to take.`);
slave.devotion += 1;
}
} else {
r.push(`${He} is kept <span class="hotpink">mindful</span> and <span class="gold">fearful</span> by the difficulty of walking in ${his} extreme heels.`);
slave.devotion += 1;
slave.trust -= 1;
}
r.push(`They're so high they're a bit <span class="red">unhealthy</span> for ${his} legs.`);
healthDamage(slave, 2);
}
} else {
r.push(`${His} P-Limb`);
if (hasBothLegs(slave)) {
r.push(`legs work`);
} else {
r.push(`leg works`);
}
r.push(`just as well in extreme heels as`);
if (hasBothLegs(slave)) {
r.push(`they do`);
} else {
r.push(`it does`);
}
r.push(`out of them.`);
}
} else {
if (slave.heels === 1 && !canWalk(slave) && slave.fetish !== "mindbroken") {
if (slave.shoes === "pumps") {
r.push(`While ${he} can just barely stand with ${his} heeled pumps, ${he} is incapable of taking a step in them.`);
}
}
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function vaginaAccessories(slave) {
if (slave.vaginalAccessory !== "none") {
if (slave.vaginalAccessory === "bullet vibrator" || slave.vaginalAccessory === "smart bullet vibrator") {
r.push(`Constantly wearing a bullet vibrator`);
if (slave.devotion < 20) {
r.push(`habituates ${him} to sexual slavery and <span class="hotpink">increases ${his} submissiveness.</span>`);
slave.devotion += 2;
} else {
r.push(`reminds ${him} of ${his} place and <span class="hotpink">increases ${his} devotion to you.</span>`);
slave.devotion++;
}
} else if (slave.vaginalAccessory === "dildo") {
if (slave.vagina < 1 && jsRandom(1, 100) > 50) {
r.push(`Constantly wearing a dildo in ${his} virgin pussy <span class="lime">gets it used to penetration.</span>`);
slave.vagina += 1;
} else {
r.push(`${His} pussy easily accommodates the dildo ${he}'s required to wear.`);
}
if (slave.fuckdoll === 0 && slave.fetish !== "mindbroken") {
if (slave.sexualFlaw === "hates penetration" && jsRandom(1, 100) > 50) {
r.push(`The habit <span class="green">reduces ${his} dislike of having ${his} pussy filled.</span>`);
slave.sexualFlaw = "none";
}
}
} else if (slave.vaginalAccessory === "long dildo") {
if (slave.vagina < 1 && jsRandom(1, 100) > 50) {
r.push(`Constantly wearing a dildo in ${his} virgin pussy <span class="lime">gets it used to penetration.</span>`);
slave.vagina += 1;
} else {
r.push(`${His} pussy easily accommodates the dildo ${he}'s required to wear.`);
}
if (slave.fuckdoll === 0) {
if (slave.fetish !== "mindbroken") {
if (slave.sexualFlaw === "hates penetration" && jsRandom(1, 100) > 50) {
r.push(`The habit <span class="green">reduces ${his} dislike of having ${his} pussy filled.</span>`);
slave.sexualFlaw = "none";
}
if (slave.sexualQuirk === "size queen") {
r.push(`Being able to hold such a long dildo is a <span class="hotpink">point of pride</span> for the ostentatious size queen.`);
slave.devotion += 2;
} else {
r.push(`It penetrates ${his} cervix causing ${him} tremendous discomfort, making ${him} a little <span class="gold">less trusting</span> of you.`);
slave.trust -= 1;
}
}
}
} else if (slave.vaginalAccessory === "large dildo") {
if (slave.vagina < 3) {
if (jsRandom(1, 4) === 1) {
r.push(`Constantly wearing a large dildo in ${his} pussy <span class="lime">stretches it out.</span>`);
slave.vagina += 1;
} else {
r.push(`The large dildo ${he}'s required to wear is a stretch for ${his} cunt, but pussies are resilient and ${he}rs isn't seriously affected.`);
}
} else {
r.push(`${His} pussy accommodates the large dildo ${he}'s required to wear.`);
}
if (slave.fuckdoll === 0) {
if (slave.fetish !== "mindbroken") {
if (slave.vagina < 2) {
r.push(`The big dildo in ${his} tight cunt`);
if (slave.sexualQuirk === "size queen") {
r.push(`is a <span class="hotpink">point of pride</span> for the ostentatious size queen.`);
slave.devotion += 2;
} else {
r.push(`<span class="hotpink">breaks ${him} to sexual slavery</span> slightly.`);
slave.devotion += 1;
}
if (slave.vagina === 1) {
r.push(`It stretches ${his} tight cunt to soreness by the end of every day, so it also makes ${him} a little <span class="gold">less trusting</span> of you.`);
slave.trust -= 1;
}
}
}
}
} else if (slave.vaginalAccessory === "long, large dildo") {
if (slave.vagina < 3) {
if (jsRandom(1, 4) === 1) {
r.push(`Constantly wearing a large dildo in ${his} pussy <span class="lime">stretches it out.</span>`);
slave.vagina += 1;
} else {
r.push(`The large dildo ${he}'s required to wear is a stretch for ${his} cunt, but pussies are resilient and ${he}rs isn't seriously affected.`);
}
} else {
r.push(`${His} pussy accommodates the large dildo ${he}'s required to wear.`);
}
if (slave.vagina < 2) {
if (slave.fuckdoll === 0) {
if (slave.fetish !== "mindbroken") {
r.push(`The big, long dildo in ${his} tight cunt`);
if (slave.sexualQuirk === "size queen") {
r.push(`is a <span class="hotpink">point of pride</span> for the ostentatious size queen.`);
slave.devotion += 2;
} else {
r.push(`<span class="hotpink">breaks ${him} to sexual slavery</span> slightly. It also penetrates ${his} cervix, causing ${him} tremendous discomfort, and making ${him} a little <span class="gold">less trusting</span> of you.`);
slave.devotion += 1;
slave.trust -= 1;
}
if (slave.vagina === 1) {
r.push(`It stretches ${his} tight cunt to soreness by the end of every day, so it also makes ${him} a little <span class="gold">less trusting</span> of you.`);
slave.trust -= 1;
}
}
}
}
} else if (slave.vaginalAccessory === "huge dildo") {
if (slave.vagina < 4) {
if (slave.fuckdoll === 0) {
if (slave.fetish !== "mindbroken") {
if (slave.sexualQuirk === "size queen") {
r.push(`${He} thinks of the massive dildo stretching out ${his} womanhood as <span class="lime">preparation for the biggest cocks,</span> and <span class="hotpink">looks forward</span> to take anything — dicks, hands, truly anything — inside ${his} newly capacious cunt.`);
slave.devotion += 4;
} else if (slave.fetish === "masochist" && slave.fetishKnown === 1 && slave.fetishStrength > 60) {
r.push(`${He} gets off on the agony of having ${his} cunt <span class="lime">permanently stretched</span> by a huge dildo. The terrible combination of pain and pleasure <span class="hotpink">breaks ${his} will</span> but fills ${him} with <span class="gold">fear.</span>`);
slave.devotion += 5;
slave.trust -= 5;
} else if (slave.fetish === "submissive" && slave.fetishKnown === 1 && slave.fetishStrength > 60) {
r.push(`${He} submits to the agony of having ${his} cunt <span class="lime">permanently stretched</span> by a huge dildo. Having ${his} hole ruined at your whim <span class="hotpink">breaks ${his} will</span> but fills ${him} with <span class="gold">fear.</span>`);
slave.devotion += 5;
slave.trust -= 5;
} else {
r.push(`The agony of having ${his} cunt <span class="lime">permanently stretched</span> by a huge dildo fills ${him} with <span class="mediumorchid">resentment</span> and <span class="gold">fear.</span>`);
slave.devotion -= 5;
slave.trust -= 5;
}
}
}
slave.vagina += 1;
} else {
r.push(`${His} cavernous pussy accommodates the huge dildo ${he}'s required to wear.`);
}
} else if (slave.vaginalAccessory === "long, huge dildo") {
if (slave.vagina < 4) {
if (slave.fuckdoll === 0) {
if (slave.fetish !== "mindbroken") {
if (slave.sexualQuirk === "size queen") {
r.push(`${He} thinks of the massive dildo stretching out ${his} womanhood and stomach as <span class="lime">preparation for the biggest cocks,</span> and <span class="hotpink">looks forward</span> to take anything — dicks, hands, arms, truly anything — inside ${his} newly capacious cunt.`);
slave.devotion += 4;
} else if (slave.fetish === "masochist" && slave.fetishKnown === 1 && slave.fetishStrength > 60) {
r.push(`${He} gets off on the agony of having ${his} cunt <span class="lime">permanently stretched</span> and ${his} cervix penetrated by a huge dildo. The terrible combination of pain and pleasure <span class="hotpink">breaks ${his} will</span> but fills ${him} with <span class="gold">fear.</span>`);
slave.devotion += 5;
slave.trust -= 5;
} else if (slave.fetish === "submissive" && slave.fetishKnown === 1 && slave.fetishStrength > 60) {
r.push(`${He} submits to the agony of having ${his} cunt <span class="lime">permanently stretched</span> and ${his} cervix penetrated by a huge dildo. Having ${his} hole and cervix ruined at your whim <span class="hotpink">breaks ${his} will</span> but fills ${him} with <span class="gold">fear.</span>`);
slave.devotion += 5;
slave.trust -= 5;
} else {
r.push(`The agony of having ${his} cunt <span class="lime">permanently stretched</span> and ${his} cervix penetrated by a huge dildo fills ${him} with <span class="mediumorchid">resentment</span> and <span class="gold">fear.</span>`);
slave.devotion -= 5;
slave.trust -= 5;
}
}
}
slave.vagina += 1;
} else {
r.push(`${His} cavernous pussy accommodates the huge dildo ${he}'s required to wear.`);
}
}
if (slave.vaginalAccessory === "long, huge dildo" || slave.vaginalAccessory === "long, large dildo" || slave.vaginalAccessory === "long dildo") {
if ((slave.preg > slave.pregData.normalBirth / 10) && slave.pregKnown === 1) {
if (jsRandom(1, 100) > 50) {
r.push(`The dildo penetrating ${his} womb <span class="orange">caused ${him} to miscarry,</span> which <span class="red">damages ${his} health.</span>`);
healthDamage(slave, 20);
if (lastPregRule(slave, V.defaultRules)) {
slave.preg = -1;
} else {
slave.preg = 0;
}
TerminatePregnancy(slave);
actX(slave, "miscarriages");
r.push(`${He} is`);
if (slave.devotion < -50) {
r.push(`<span class="mediumorchid">filled with violent, consuming hatred</span> and <span class="gold">fear.</span> Even though ${he} knew ${his} baby was destined for a slave orphanage, it seems ${he} cared for it and views you as its killer.`);
slave.devotion -= 25;
slave.trust -= 25;
} else if (slave.devotion < -20) {
r.push(`<span class="mediumorchid">afflicted by desperate, inconsolable grief</span> and <span class="gold">horror.</span> Even though ${he} knew ${his} baby was destined for a slave orphanage, it seems ${he} cared for it.`);
slave.devotion -= 10;
slave.trust -= 20;
} else if (slave.devotion <= 20) {
r.push(`<span class="mediumorchid">consumed by enduring sorrow</span> and <span class="gold">horror.</span> Even though ${he} knew ${his} baby was destined for a slave orphanage, it seems ${he} cared for it.`);
slave.devotion -= 5;
slave.trust -= 5;
} else if (slave.devotion <= 50) {
r.push(`dully obedient. ${He} has been broken to slave life so thoroughly that even this is neither surprising nor affecting.`);
} else {
r.push(`<span class="hotpink">pleased by this stark development,</span> since ${he} is so attentive to your will. ${He} also expects ${he}'ll be able to fuck better now.`);
slave.devotion += 4;
}
if (slave.abortionTat > -1) {
slave.abortionTat++;
r.push(`The temporary tattoo of a child has been replaced with ${his} ${ordinalSuffix(slave.abortionTat)} crossed out infant.`);
cashX(forceNeg(V.modCost), "slaveMod", slave);
}
}
}
}
}
if (slave.vaginalAttachment === "vibrator") {
/* TODO: write effects here */
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function analAccessories(slave) {
if (slave.buttplug === "plug" || slave.buttplug === "long plug") {
if (["cat tail", "cow tail", "fox tail", "tail"].includes(slave.buttplugAttachment)) {
if (slave.fuckdoll === 0 && slave.fetish !== "mindbroken") {
if (slave.anus < 1) {
r.push(`Constantly wearing a tail plug in ${his} virgin butthole <span class="lime">stretches it out</span> and <span class="gold">is a constant degrading reminder of ${his} submission.</span>`);
slave.anus += 1;
slave.trust -= 2;
} else {
r.push(`${His} asshole is used to being penetrated and wearing ${his} tailed buttplug doesn't affect it, though it still serves as <span class="gold">a constant degrading reminder of ${his} submission.</span>`);
slave.trust -= 2;
}
if (slave.sexualFlaw === "hates anal" && jsRandom(1, 100) > 50) {
r.push(`It <span class="green">gets ${him} habituated to having ${his} asshole filled.</span>`);
slave.sexualFlaw = "none";
}
if (slave.sexualQuirk === "size queen" && slave.buttplug === "long plug") {
r.push(`The overly long plug delving the depths of ${his} rear <span class="hotpink">gets ${him} off,</span> since ${he}'s a size queen.`);
slave.devotion += 2;
}
}
} else {
if (slave.fuckdoll === 0 && slave.fetish !== "mindbroken") {
if (slave.anus < 1) {
r.push(`Constantly wearing a plug in ${his} virgin butthole <span class="lime">stretches it out.</span>`);
slave.anus += 1;
} else {
r.push(`${His} asshole is used to being penetrated and wearing ${his} buttplug doesn't affect it.`);
}
if (slave.sexualFlaw === "hates anal" && jsRandom(1, 100) > 50) {
r.push(`It <span class="green">gets ${him} habituated to having ${his} asshole filled.</span>`);
slave.sexualFlaw = "none";
}
if (slave.sexualQuirk === "size queen" && slave.buttplug === "long plug") {
r.push(`The overly long plug delving the depths of ${his} rear <span class="hotpink">gets ${him} off,</span> since ${he}'s a size queen.`);
slave.devotion += 2;
}
}
}
} else if (slave.buttplug === "large plug" || slave.buttplug === "long, large plug") {
if (["cat tail", "cow tail", "fox tail", "tail"].includes(slave.buttplugAttachment)) {
if (slave.fuckdoll === 0 && slave.fetish !== "mindbroken") {
if (slave.anus < 2) {
r.push(`The uncomfortable tailed plug in ${his} asshole`);
if (slave.sexualQuirk === "size queen") {
r.push(`<span class="hotpink">gets ${him} off,</span> since ${he}'s a size queen, while serving as <span class="gold">a constant degrading reminder of ${his} submission.</span>`);
slave.devotion += 2;
slave.trust -= 2;
} else {
r.push(`<span class="hotpink">breaks ${him} to anal slavery</span> slightly, while serving as a <span class="gold">a constant degrading reminder of ${his} submission.</span>`);
slave.devotion += 1;
slave.trust -= 2;
}
if (slave.anus < 1) {
r.push(`It stretches ${his} tight rosebud painfully, making ${him} somewhat <span class="gold">less trusting</span> of you.`);
slave.trust -= 1;
}
}
}
if (slave.anus < 3) {
if (slave.anus < 1 || jsRandom(1, 2) === 1) {
r.push(`Constantly wearing a large tailed plug up ${his} ass <span class="lime">loosens ${his} sphincter.</span>`);
slave.anus += 1;
} else {
r.push(`The large tailed plug ${he}'s required to wear up ${his} ass stretches it to the limit, but on the rare occasions when the plug is removed, ${his} rear hole still tightens up.`);
}
} else {
r.push(`${His} anus accommodates the large plug ${he}'s required to wear.`);
if (slave.fetish === "buttslut" && slave.fetishKnown === 1 && slave.fetishStrength > 60) {
r.push(`In fact, ${he} <span class="hotpink">regularly orgasms</span> even in non-sexual situations as the plug is <span class="green">constantly stimulating</span> ${his} rear-end.`);
slave.devotion += 1;
slave.energy += 1;
}
}
} else {
if (slave.fuckdoll === 0 && slave.fetish !== "mindbroken") {
if (slave.anus < 2) {
r.push(`The uncomfortable plug in ${his} asshole`);
if (slave.sexualQuirk === "size queen") {
r.push(`<span class="hotpink">gets ${him} off,</span> since ${he}'s a size queen.`);
slave.devotion += 2;
} else {
r.push(`<span class="hotpink">breaks ${him} to anal slavery</span> slightly.`);
slave.devotion += 1;
}
if (slave.anus < 1) {
r.push(`It stretches ${his} tight rosebud painfully, making ${him} somewhat <span class="gold">less trusting</span> of you.`);
slave.trust -= 1;
}
}
}
if (slave.anus < 3) {
if (slave.anus < 1 || jsRandom(1, 2) === 1) {
r.push(`Constantly wearing a large plug up ${his} ass <span class="lime">loosens ${his} sphincter.</span>`);
slave.anus += 1;
} else {
r.push(`The large plug ${he}'s required to wear up ${his} ass stretches it to the limit, but on the rare occasions when the plug is removed, ${his} rear hole still tightens up.`);
}
} else {
r.push(`${His} anus accommodates the large plug ${he}'s required to wear.`);
if (slave.fetish === "buttslut" && slave.fetishKnown === 1 && slave.fetishStrength > 60) {
r.push(`In fact, ${he} <span class="hotpink">regularly orgasms</span> even in non-sexual situations as the plug is <span class="green">constantly stimulating</span> ${his} rear-end.`);
slave.devotion += 1;
slave.energy += 1;
}
}
}
} else if (slave.buttplug === "huge plug" || slave.buttplug === "long, huge plug") {
if (["cat tail", "cow tail", "fox tail", "tail"].includes(slave.buttplugAttachment)) {
if (slave.anus < 4) {
if (slave.fuckdoll === 0 && slave.fetish !== "mindbroken") {
if (slave.sexualQuirk === "size queen") {
r.push(`${He} thinks of the horribly huge tailed plug ${he} has wear in ${his} butt as <span class="lime">preparation for the biggest cocks,</span> and <span class="hotpink">looks forward</span> to being able to safely take unlubricated anal from them. Even so, the tail hanging from ${his} rear is <span class="gold">a constant degrading reminder of ${his} submission.</span>`);
slave.devotion += 4;
slave.trust -= 5;
} else if (slave.fetish === "masochist" && slave.fetishKnown === 1 && slave.fetishStrength > 60) {
r.push(`${He} gets off on the agony of having ${his} anal sphincter <span class="lime">permanently gaped</span> by a huge tailed buttplug, but can't ignore the tail hanging from the back of the plug. The terrible combination of anal pleasure and degradation <span class="hotpink">breaks ${his} will</span> and fills ${him} with <span class="gold">humiliation.</span>`);
slave.devotion += 5;
slave.trust -= 7;
} else if (slave.fetish === "submissive" && slave.fetishKnown === 1 && slave.fetishStrength > 60) {
r.push(`${He} submits to the agony of having ${his} anal sphincter <span class="lime">permanently gaped</span> by a huge tailed buttplug and the shame of having a tail dangle from the back of the plug. Having ${his} hole ruined at your whim and in such a degrading fashion <span class="hotpink">breaks ${his} will</span> and fills ${him} with <span class="gold">humiliation.</span>`);
slave.devotion += 5;
slave.trust -= 7;
} else {
r.push(`The agony of having ${his} anal sphincter <span class="lime">permanently gaped</span> by a huge tailed buttplug fills ${him} with <span class="mediumorchid">resentment</span> and <span class="gold">humiliation.</span>`);
slave.devotion -= 5;
slave.trust -= 5;
}
}
slave.anus += 1;
} else {
r.push(`${His} gaping anus accommodates the huge tailed plug ${he}'s required to wear, serving little purpose other than to remind ${him} of ${his} <span class="gold">humiliation.</span>`);
if (slave.fetish === "buttslut" && slave.fetishKnown === 1 && slave.fetishStrength > 60) {
r.push(`In fact, ${he} <span class="hotpink">regularly orgasms</span> even in non-sexual situations as the plug is <span class="green">constantly stimulating</span> ${his} rear-end.`);
slave.devotion += 1;
slave.energy += 1;
}
}
} else {
if (slave.anus < 4) {
if (slave.fuckdoll === 0 && slave.fetish !== "mindbroken") {
if (slave.sexualQuirk === "size queen") {
r.push(`${He} thinks of the horribly huge plug ${he} has wear in ${his} butt as <span class="lime">preparation for the biggest cocks,</span> and <span class="hotpink">looks forward</span> to being able to safely take unlubricated anal from them.`);
slave.devotion += 4;
} else if (slave.fetish === "masochist" && slave.fetishKnown === 1 && slave.fetishStrength > 60) {
r.push(`${He} gets off on the agony of having ${his} anal sphincter <span class="lime">permanently gaped</span> by a huge buttplug. The terrible combination of pain and pleasure <span class="hotpink">breaks ${his} will</span> but fills ${him} with <span class="gold">fear.</span>`);
slave.devotion += 5;
slave.trust -= 5;
} else if (slave.fetish === "submissive" && slave.fetishKnown === 1 && slave.fetishStrength > 60) {
r.push(`${He} submits to the agony of having ${his} anal sphincter <span class="lime">permanently gaped</span> by a huge buttplug. Having ${his} hole ruined at your whim <span class="hotpink">breaks ${his} will</span> but fills ${him} with <span class="gold">fear.</span>`);
slave.devotion += 5;
slave.trust -= 5;
} else {
r.push(`The agony of having ${his} anal sphincter <span class="lime">permanently gaped</span> by a huge buttplug fills ${him} with <span class="mediumorchid">resentment</span> and <span class="gold">fear.</span>`);
slave.devotion -= 5;
slave.trust -= 5;
}
}
slave.anus += 1;
} else {
r.push(`${His} gaping anus accommodates the huge plug ${he}'s required to wear.`);
if (slave.fetish === "buttslut" && slave.fetishKnown === 1 && slave.fetishStrength > 60) {
r.push(`In fact, ${he} <span class="hotpink">regularly orgasms</span> even in non-sexual situations as the plug is <span class="green">constantly stimulating</span> ${his} rear-end.`);
slave.devotion += 1;
slave.energy += 1;
}
}
}
}
if (slave.fuckdoll === 0 && slave.fetish !== "mindbroken") {
if (["cat tail", "cow tail", "fox tail", "tail"].includes(slave.buttplugAttachment)) {
if (slave.fetish === "humiliation" && slave.fetishKnown === 0) {
r.push(`${He} shows a surprising lack of resistance to the routine of having a tail inserted in ${his} ass each morning; ${he} seems to <span class="lightcoral">naturally enjoy the humiliation.</span>`);
slave.fetishKnown = 1;
} else if (slave.fetish === "none" || slave.fetishKnown === 0) {
if (fetishChangeChance(slave) > jsRandom(0, 100)) {
r.push(`Slowly, ${his} shame at having a tail inserted in ${his} ass each morning turns to secret enjoyment and finally to <span class="lightcoral">open arousal at the humiliating accessory.</span>`);
slave.fetish = "humiliation";
slave.fetishKnown = 1;
slave.fetishStrength = 10;
}
}
} else if (slave.buttplug === "plug" || slave.buttplug === "large plug" || slave.buttplug === "long, large plug" || slave.buttplug === "long plug") {
if (slave.fetish === "buttslut" && slave.fetishKnown === 0) {
r.push(`${He} shows a surprising lack of resistance to the routine of getting the plug up ${his} butt in the morning; ${he} seems to <span class="lightcoral">naturally enjoy anal stimulation.</span>`);
slave.fetishKnown = 1;
} else if (slave.fetish === "none" || slave.fetishKnown === 0) {
if (fetishChangeChance(slave) > jsRandom(0, 100)) {
r.push(`Slowly, ${his} anguish at getting the plug up ${his} butt in the morning turns to secret enjoyment and finally to <span class="lightcoral">open arousal at having ${his} anus filled.</span>`);
slave.fetish = "buttslut";
slave.fetishKnown = 1;
slave.fetishStrength = 10;
}
}
}
}
}
})();
|
MonsterMate/fc
|
src/endWeek/saClothes.js
|
JavaScript
|
mit
| 67,105
|
App.SlaveAssignment.devotion = (function() {
"use strict";
let r;
// eslint-disable-next-line no-unused-vars
let he, him, his, hers, himself, girl, He, His;
let playerPronouns;
let PC;
let gettingPersonalAttention;
return saDevotion;
/**
* @param {App.Entity.SlaveState} slave
* @returns {string}
*/
function saDevotion(slave) {
r = [];
PC = V.PC;
({
// eslint-disable-next-line no-unused-vars
he, him, his, hers, himself, girl, He, His
} = getPronouns(slave));
playerPronouns = getPronouns(PC);
gettingPersonalAttention = Array.isArray(V.personalAttention) && V.personalAttention.some((s) => s.ID === slave.ID);
if (slave.fetish === "mindbroken") {
mindbreakDevotion(slave);
} else if (slave.fuckdoll !== 0) {
fuckdollDevotion(slave);
} else {
hostageDevotion(slave);
playerPregnancyThoughts(slave);
if (slave.devotion <= 95) {
slaveryResistance(slave);
}
FSImpacts(slave);
if (slave.bodySwap > 0 && slave.origBodyOwnerID > 0) {
bodySwapThoughts(slave);
}
retirementThoughts(slave);
if (assignmentVisible(slave) && V.personalAttention === "sex") {
sexualAttentionThoughts(slave);
}
collectiveSpirit(slave);
statCrossovers(slave);
statRebounding(slave);
devotionReport(slave);
finalChanges(slave);
}
return r.join(" ");
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function mindbreakDevotion(slave) {
r.push(`<span class="red">${His} mind is fundamentally broken, so ${his} experiences have no lasting effect on ${his} emotional state.</span>`);
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function fuckdollDevotion(slave) {
r.push(`${He} is confined in a suit that limits ${his} perception of the outside world to tonal commands from the suit itself and things that are inserted into ${his}`);
if (slave.vagina > -1) {
r.push(`mouth, vagina,`);
} else {
r.push(`mouth`);
}
r.push(`and anus.`);
if (slave.sexualFlaw === "self hating") {
r.push(`${His} self hatred <span class="trust dec">cannot eliminate the growing fear</span> engendered by ${his} remaining spark of self-preservation.`);
slave.trust -= 5;
} else if (slave.trust > 50) {
r.push(`${He} still hopes you'll ${him} out of ${his} suit so ${he} can be your good slave again, but <span class="trust dec">fear and doubt creep in</span> by the minute. And there are a lot of them.`);
} else {
r.push(`With little to do but`);
if (slave.fuckdoll <= 60) {
r.push(`wonder if ${he}'s about to be used,`);
} else {
r.push(`desperately hope ${he}'ll be used soon,`);
}
r.push(`${he} dwells on the <span class="trust dec">horrible fear</span> that this dark existence will be perpetual.`);
}
slave.trust -= 10;
if (slave.sexualFlaw === "self hating") {
r.push(`${He} knows to ${his} core that ${he} deserves this, <span class="devotion dec">slowing but not stopping ${his} descent into depression.</span>`);
slave.devotion += 5;
} else if (slave.devotion > 50) {
r.push(`${He} spirals through <span class="devotion dec">obsessive depression,</span> wondering what ${he} did to deserve this fate.`);
} else {
r.push(`In the silence and darkness between the times ${he}'s used, ${he} has little to do but <span class="devotion dec">hate you.</span>`);
}
slave.devotion -= 10;
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function hostageDevotion(slave) {
if (slave.origin === "You were acquainted with $him before you were an arcology owner; your rival tried to use $him to manipulate you, but you rescued $him." && slave.newGamePlus === 0 && V.rivalryFS !== "Slave Professionalism" && V.rivalryFS !== "Intellectual Dependency") {
if (V.rivalryDuration <= 10 || V.rivalryFS === "Racial Supremacism" || V.rivalryFS === "Paternalism") {
r.push(`You <span class="trust inc">saved ${slave.slaveName} from a living nightmare</span> under your rival's rule. ${He} <span class="devotion inc">tries ${his} best to adapt to ${his} savior's wishes.</span>`);
slave.devotion += 10;
slave.trust += 10;
} else if (V.hostageGiveIn === 1) {
r.push(`Since you are <span class="trust inc">indulging</span> ${slave.slaveName}'s desires, ${he} <span class="devotion inc">likes you more.</span>`);
slave.devotion += 5;
slave.trust += 5;
} else if (V.rivalryDuration > 20 && slave.devotion < 5) {
if (gettingPersonalAttention) {
r.push(`You took everything from ${slave.slaveName} and <span class="devotion dec">${he} hates you for it.</span> Since you won't give ${him} what ${he} wants, ${he} <span class="trust dec">refuses to trust you.</span> Since you are putting such a personal touch into ${his} care, ${he} can't find it in ${him} to rebel as strongly.`);
slave.devotion -= 5;
slave.trust -= 5;
} else {
r.push(`You took everything from ${slave.slaveName} and <span class="devotion dec">${he} hates you for it.</span> Since you won't give ${him} what ${he} wants, ${he} <span class="trust dec">refuses to trust you at all.</span>`);
slave.devotion -= 25;
slave.trust -= 25;
}
} else if (V.rivalryDuration > 10 && slave.devotion < 5) {
if (gettingPersonalAttention) {
r.push(`${He} is <span class="trust dec">horrified by you.</span> Your rival taught ${him} a great deal about slave life in your arcology and indulged ${his} deepest fantasies. ${slave.slaveName} considers being your pet <span class="devotion dec">a fate worse than death.</span> Since you are putting such a personal touch into ${his} care, maybe you aren't the monster ${he} thought you were. ${He} can't find it in ${him} to hate and fear you as much.`);
slave.devotion -= 3;
slave.trust -= 3;
} else {
r.push(`${He} is <span class="trust dec">horrified by you.</span> Your rival taught ${him} a great deal about slave life in your arcology and indulged ${his} deepest fantasies. ${slave.slaveName} considers being your pet <span class="devotion dec">a fate worse than death.</span>`);
slave.devotion -= 15;
slave.trust -= 15;
}
}
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function playerPregnancyThoughts(slave) {
if (PC.preg >= 20 || (PC.preg >= 16 && PC.career === "escort")) {
if (slave.devotion > 60) {
if (PC.pregMood === 2) {
r.push(`${He} is devoted to you and does ${his} best to satisfy your demanding, hormone driven libido, no matter what you want from ${him}. ${His} efforts to give ${himself} you to <span class="devotion inc">further ${his} submission</span> to you.`);
slave.devotion += 2;
} else if (PC.pregMood === 1) {
r.push(`${He} is devoted to you and tries ${his} best to accommodate your needs and desires. Your hormonal mothering <span class="trust inc">leaves ${him} slightly more trusting</span> of you.`);
slave.trust += 2;
} else {
r.push(`${He} is devoted to you and tries ${his} best to accommodate whatever needs and desires your pregnancy ushers forth.`);
}
} else {
if (PC.pregMood === 2) {
r.push(`${He} is <span class="trust dec">horrified</span> of your aggressive sexual advances, forcing ${him} to <span class="devotion inc">bend to your will</span> or face punishment at the hands of a hormonal pregnant ${playerPronouns.woman}.`);
slave.devotion += 4;
slave.trust -= 4;
} else if (PC.pregMood === 1) {
r.push(`${He} happily <span class="devotion dec">takes advantage</span> of your hormone induced kindness, though your care <span class="trust inc">builds ${his} trust in you.</span>`);
slave.devotion -= 4;
slave.trust += 4;
} else {
r.push(`${He} takes note of your gravid form and <span class="devotion dec">begins testing just how much ${he} can get away with</span> while ${he} can.`);
slave.devotion -= 3;
}
}
}
if (canPenetrate(slave) && PC.preg >= 18) {
if (PC.pregMood === 2) {
seX(PC, "vaginal", slave, "penetrative", 7);
} else {
seX(PC, "vaginal", slave, "penetrative", 3);
}
}
if (slave.counter.PCKnockedUp > 0 && slave.devotion < -20) {
const pregCountFactor = (slave.counter.PCKnockedUp * 5);
r.push(`${He} got you pregnant`);
if (slave.counter.PCKnockedUp > 1) {
r.push(`more than once`);
}
r.push(`and ${he} knows it. This is a <span class="devotion dec">huge boost</span> to ${his} ego and gives ${him} a slight edge on you.`);
slave.devotion -= pregCountFactor;
if (slave.counter.PCChildrenFathered > 0) {
r.push(`Even better; you gave birth to ${his} child${slave.counter.PCChildrenFathered > 1 ? "ren" : ""}. To ${him}, ${he} is the dominant force and you are just a bitch to be bred. ${He} could create a scandal if ${he} started running ${his} mouth, something ${he} lords over you every chance ${he} gets under the assumption that <span class="trust inc">you'll try to appease ${him} to keep ${him} quiet.</span>`);
slave.devotion -= (5 + pregCountFactor);
slave.trust += (5 + pregCountFactor);
}
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function slaveryResistance(slave) {
if (slave.devotion <= 20 && slave.devotion >= -50) {
if (slave.trust > 20) {
r.push(`${slave.slaveName} does not like you and believes that you will not punish ${him} severely; ${his} <span class="devotion dec">regard for you is severely reduced</span> by this lack of respect.`);
slave.devotion -= 4;
} else if (slave.trust >= -20) {
r.push(`${slave.slaveName} neither likes nor fears you, and ${his} <span class="devotion dec">regard for you is reduced</span> by this lack of respect.`);
slave.devotion -= 2;
}
}
const effectiveInt = (slave.intelligence + slave.intelligenceImplant);
if (effectiveInt > 95) {
if (gettingPersonalAttention) {
r.push(`${slave.slaveName}'s <span class="intelligent">brilliant mind</span> strongly resists slavery, but since you are giving ${him} personal attention you are able to compensate for ${his} genius.`);
} else {
if (slave.trust < -20) {
r.push(`${slave.slaveName}'s <span class="intelligent">brilliant mind</span> strongly resists slavery, but ${he} fears you deeply enough that ${he} consciously forces ${himself} to obey out of self-preservation.`);
} else {
r.push(`${slave.slaveName}'s <span class="intelligent">brilliant mind</span> strongly <span class="devotion dec">resists</span> slavery and encourages ${him} to <span class="trust dec">fear you.</span>`);
slave.devotion -= 2;
slave.trust -= 2;
}
}
} else if (effectiveInt > 50) {
if (gettingPersonalAttention) {
r.push(`${slave.slaveName}'s <span class="intelligent">highly acute mind</span> naturally resists slavery, but since you are giving ${him} personal attention you are able to compensate for ${his} intelligence.`);
} else {
if (slave.trust < -20) {
r.push(`${slave.slaveName}'s <span class="intelligent">highly acute mind</span> naturally resists slavery, but ${he} fears you deeply enough that ${he} consciously forces ${himself} to obey out of self-preservation.`);
} else {
r.push(`${slave.slaveName}'s <span class="intelligent">highly acute mind</span> naturally <span class="devotion dec">resists</span> slavery and encourages ${him} to <span class="trust dec">fear you.</span>`);
slave.devotion -= 2;
slave.trust -= 2;
}
}
} else if (effectiveInt > 15) {
if (gettingPersonalAttention) {
r.push(`${slave.slaveName}'s <span class="intelligent">intelligent mind</span> naturally resists slavery, but since you are giving ${him} personal attention you are able to compensate for ${his} cleverness.`);
} else {
if (slave.trust < -20) {
r.push(`${slave.slaveName}'s <span class="intelligent">intelligent mind</span> naturally resists slavery, but ${he} fears you deeply enough that ${he} consciously forces ${himself} to obey out of self-preservation.`);
} else {
r.push(`${slave.slaveName}'s <span class="intelligent">intelligent mind</span> naturally <span class="devotion dec">resists</span> slavery.`);
slave.devotion -= 2;
}
}
} else if (effectiveInt < -95) {
r.push(`${slave.slaveName}'s <span class="stupid">moronic mind</span> naturally <span class="devotion inc">accepts</span> slavery, and ${he}'s imbecile enough to instinctively <span class="trust inc">trust you</span> to know what's best for ${him}.`);
slave.devotion += 2;
slave.trust += 2;
} else if (effectiveInt < -50) {
r.push(`${slave.slaveName}'s <span class="stupid">idiotic mind</span> naturally <span class="devotion inc">accepts</span> slavery, and ${he}'s stupid enough to instinctively <span class="trust inc">trust you</span> to know what's best.`);
slave.devotion += 1;
slave.trust += 1;
} else if (effectiveInt < -15) {
r.push(`${slave.slaveName}'s <span class="stupid">unintelligent mind</span> naturally <span class="devotion inc">accepts</span> slavery.`);
slave.devotion += 1;
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function FSImpacts(slave) {
if (V.arcologies[0].FSPaternalistLaw === 1) {
r.push(`The totally paternalistic society of your arcology encourages ${him} to <span class="trust inc">trust you.</span>`);
slave.trust += 1;
} else if (V.arcologies[0].FSPaternalist >= random(1, 120)) {
r.push(`The paternalistic culture of your arcology encourages ${him} to <span class="trust inc">trust you.</span>`);
slave.trust += 1;
}
if (V.arcologies[0].FSChattelReligionistLaw === 1) {
r.push(`Your status as the prophet of your theocratic arcology encourages ${him} to <span class="trust inc">trust you.</span>`);
slave.trust += 1;
} else if (V.arcologies[0].FSChattelReligionist >= random(1, 120)) {
r.push(`Your arcology's omnipresent religion encourages ${him} to <span class="trust inc">trust you.</span>`);
slave.trust += 1;
}
if (V.arcologies[0].FSRestart !== "unset") {
if (slave.bellyPreg >= 1500 && slave.devotion <= 20) {
if (slave.breedingMark === 1) {
r.push(`The mark prominently displayed across ${his} pregnant swell fills ${him} with an <span class="trust inc">undue sense of pride.</span>`);
slave.trust += 5;
} else {
r.push(`Being visibly pregnant in a society that loathes slave breeding fills ${him} with <span class="trust dec">fear</span> for ${himself} and ${his} unborn child.`);
slave.trust -= 10;
}
} else if (slave.pregKnown === 1 && slave.devotion <= 20) {
r.push(`Being pregnant in a society that loathes slave breeding fills ${him} with <span class="trust dec">worry</span> that you'll harm ${him} or ${his} unborn child.`);
slave.trust -= 5;
}
}
if (V.arcologies[0].FSChattelReligionistCreed === 1) {
if (V.nicaea.focus === "slaves") {
r.push(`The creed of ${V.nicaea.name} <span class="devotion inc">focuses on slaves</span> and is repeated constantly all around ${him}.`);
slave.devotion += V.nicaea.power;
}
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function bodySwapThoughts(slave) {
if (V.slaveIndices[slave.origBodyOwnerID] === undefined) {
slave.origBodyOwnerID = 0;
if (slave.devotion > 20) {
r.push(`${slave.slaveName} is somewhat saddened to see ${his} body leave forever.`);
} else if (slave.devotion >= -50) {
r.push(`${slave.slaveName} is <span class="devotion dec">disturbed</span> to find ${his} body is gone for good, damaging ${his} <span class="trust dec">ability to trust you.</span>`);
slave.devotion -= 30;
slave.trust -= 30;
} else {
r.push(`${slave.slaveName} is <span class="devotion dec">deeply upset</span> that ${he}'ll never see ${his} body again. With so little left, ${he} finds it easy to take vengeance by <span class="defiant inc">completely rejecting your ownership of ${him}.</span>`);
slave.devotion -= 50;
slave.trust = 100;
}
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function retirementThoughts(slave) {
if (slave.indenture > -1) {
if (slave.indenture <= 52) {
r.push(`${He} knows that it's less than a year until ${his} indenture ends.`);
if (slave.devotion > 95) {
r.push(`Since ${he} loves you, ${he} has mixed feelings about the prospect.`);
} else if (slave.devotion >= -20) {
r.push(`The prospect of freedom <span class="devotion inc">encourages ${him} to submit to your orders</span> and <span class="trust inc">encourages ${him} to be optimistic.</span>`);
slave.devotion += 2;
slave.trust += 2;
} else {
r.push(`The prospect of freedom encourages ${him} to <span class="trust inc">tolerate anything.</span>`);
slave.trust += 2;
}
} else {
r.push(`The fact that ${he} is an indentured servant, not a permanent slave, is never truly far from ${his} mind.`);
if (slave.devotion > 95) {
r.push(`Since ${he} loves you, ${he} has mixed feelings about eventual freedom.`);
} else if (slave.devotion >= -20) {
r.push(`The prospect of eventual freedom <span class="devotion inc">cheers ${him} up</span> and <span class="trust inc">makes ${him} optimistic.</span>`);
slave.devotion += 1;
slave.trust += 1;
} else {
r.push(`The prospect of eventual freedom works to make the indignities of slavery <span class="trust inc">weigh lightly</span> on ${him}.`);
slave.trust += 1;
}
}
if (slave.devotion <= 20) {
if (slave.indentureRestrictions >= 2) {
r.push(`${He}'s also <span class="trust inc">able to rely on the protection</span> of ${his} indenture.`);
slave.trust += 1;
} else if (slave.indentureRestrictions > 1) {
r.push(`${He}'s also <span class="trust inc">able to trust the restrictions</span> that ${his} indenture places on ${his} treatment.`);
slave.trust += 1;
}
}
} else if (V.seeAge === 1) {
if (slave.actualAge >= V.retirementAge - 5 && V.policies.retirement.physicalAgePolicy === 0) {
if (V.policies.retirement.fate === "citizen") {
if (slave.actualAge >= V.retirementAge - 1) {
r.push(`${He} knows that it's less than a year until ${his} retirement from sexual slavery into citizenship.`);
if (slave.devotion > 95) {
r.push(`Since ${he} loves you, ${he} has mixed feelings about the prospect, but ${he} prefers to think of it as your way of looking after ${him}. It's ${his} favorite subject, and ${his} strong feelings about it`);
if (V.arcologies[0].FSPaternalist !== "unset") {
r.push(`advances paternalistic ideals and <span class="reputation inc">improves your reputation.</span>`);
FutureSocieties.Change("Paternalist", 2);
} else {
r.push(`<span class="reputation inc">improves your reputation.</span>`);
repX(V.FSSingleSlaveRep * 2, "retirement", slave);
}
} else if (slave.devotion >= -20) {
r.push(`The prospect of manumission <span class="devotion inc">encourages ${him} to submit to slavery</span> and <span class="trust inc">encourages ${him} to be optimistic.</span>`);
slave.devotion += 2;
slave.trust += 2;
} else {
r.push(`The prospect of manumission encourages ${him} to <span class="trust inc">tolerate anything.</span>`);
slave.trust += 2;
}
} else {
r.push(`${His} retirement from sexual slavery into citizenship is on the horizon.`);
if (slave.devotion > 95) {
r.push(`Since ${he} loves you, ${he} has mixed feelings about the prospect, but ${he} prefers to think of it as your way of looking after ${him}. This`);
if (V.arcologies[0].FSPaternalist !== "unset") {
r.push(`advances paternalistic ideals and <span class="reputation inc">improves your reputation.</span>`);
FutureSocieties.Change("Paternalist", 2);
} else {
r.push(`<span class="reputation inc">improves your reputation.</span>`);
repX(V.FSSingleSlaveRep, "retirement", slave);
}
} else if (slave.devotion >= -20) {
r.push(`The prospect of manumission <span class="devotion inc">cheers ${him} up</span> and <span class="trust inc">makes ${him} optimistic.</span>`);
slave.devotion += 1;
slave.trust += 1;
} else {
r.push(`The prospect of manumission works to make the indignities of slavery <span class="trust inc">weigh lightly</span> on ${him}.`);
slave.trust += 1;
}
}
} else if (V.policies.retirement.fate === "bioreactor") {
if (slave.actualAge >= V.retirementAge - 1) {
r.push(`${He} knows that it's less than a year until ${his} permanent inclusion in the arcology's milk production systems.`);
if (slave.devotion > 95) {
r.push(`Since ${he} loves you, ${he} desperately tries not to think about it, though ${he} occasionally bursts into tears without provocation.`);
} else if (slave.devotion > 20) {
r.push(`To put it mildly, <span class="trust dec">${he} is terrified.</span>`);
slave.trust -= 3;
} else {
r.push(`${He} is filled with <span class="trust dec">terror</span> and <span class="devotion dec">horror.</span>`);
slave.devotion -= 3;
slave.trust -= 3;
}
} else {
r.push(`${He} knows that ${his} permanent inclusion in the arcology's milk production systems is not far off.`);
if (slave.devotion > 95) {
r.push(`Since ${he} loves you, ${he} tries not to think about it, though ${he} occasionally seems preoccupied.`);
} else if (slave.devotion > 20) {
r.push(`The prospect <span class="trust dec">scares ${him}.</span>`);
slave.trust -= 2;
} else {
r.push(`The prospect <span class="trust dec">scares</span> and <span class="devotion dec">disgusts ${him}.</span>`);
slave.devotion -= 2;
slave.trust -= 2;
}
}
} else if (V.policies.retirement.fate === "arcade") {
if (slave.actualAge >= V.retirementAge - 1) {
r.push(`${He} knows that it's less than a year until ${he} is to be permanently encased in a bodysuit with holes for nothing but dick.`);
if (slave.devotion > 95) {
r.push(`Since ${he} loves you, ${he} desperately tries not to think about it, though ${he} occasionally bursts into tears without provocation.`);
} else if (slave.devotion > 20) {
r.push(`To put it mildly, <span class="trust dec">${he} is terrified.</span>`);
slave.trust -= 3;
} else {
r.push(`${He} is filled with <span class="trust dec">terror</span> and <span class="devotion dec">horror.</span>`);
slave.devotion -= 3;
slave.trust -= 3;
}
} else {
r.push(`${He} knows that ${his} ultimate fate as a Fuckdoll is not far off.`);
if (slave.devotion > 95) {
r.push(`Since ${he} loves you, ${he} tries not to think about it, though ${he} occasionally seems preoccupied.`);
} else if (slave.devotion > 20) {
r.push(`The prospect <span class="trust dec">scares ${him}.</span>`);
slave.trust -= 2;
} else {
r.push(`The prospect <span class="trust dec">scares</span> and <span class="devotion dec">disgusts ${him}.</span>`);
slave.devotion -= 2;
slave.trust -= 2;
}
}
}
} else if (slave.physicalAge >= V.retirementAge - 5 && V.policies.retirement.physicalAgePolicy) {
if (V.policies.retirement.fate === "citizen") {
if (slave.physicalAge >= V.retirementAge - 1) {
r.push(`${He} knows that it's less than a year until ${his} retirement from sexual slavery into citizenship.`);
if (slave.devotion > 95) {
r.push(`Since ${he} loves you, ${he} has mixed feelings about the prospect, but ${he} prefers to think of it as your way of looking after ${him}. It's ${his} favorite subject, and ${his} strong feelings about it`);
if (V.arcologies[0].FSPaternalist !== "unset") {
r.push(`advances paternalistic ideals and <span class="reputation inc">improves your reputation.</span>`);
FutureSocieties.Change("Paternalist", 2);
} else {
r.push(`<span class="reputation inc">improves your reputation.</span>`);
repX(V.FSSingleSlaveRep * 2, "retirement", slave);
}
} else if (slave.devotion >= -20) {
r.push(`The prospect of manumission <span class="devotion inc">encourages ${him} to submit to slavery</span> and <span class="trust inc">encourages ${him} to be optimistic.</span>`);
slave.devotion += 2;
slave.trust += 2;
} else {
r.push(`The prospect of manumission encourages ${him} to <span class="trust inc">tolerate anything.</span>`);
slave.trust += 2;
}
} else {
r.push(`${His} retirement from sexual slavery into citizenship is on the horizon.`);
if (slave.devotion > 95) {
r.push(`Since ${he} loves you, ${he} has mixed feelings about the prospect, but ${he} prefers to think of it as your way of looking after ${him}. This`);
if (V.arcologies[0].FSPaternalist !== "unset") {
r.push(`advances paternalistic ideals and <span class="reputation inc">improves your reputation.</span>`);
FutureSocieties.Change("Paternalist", 2);
} else {
r.push(`<span class="reputation inc">improves your reputation.</span>`);
repX(V.FSSingleSlaveRep, "retirement", slave);
}
} else if (slave.devotion >= -20) {
r.push(`The prospect of manumission <span class="devotion inc">cheers ${him} up</span> and <span class="trust inc">makes ${him} optimistic.</span>`);
slave.devotion += 1;
slave.trust += 1;
} else {
r.push(`The prospect of manumission works to make the indignities of slavery <span class="trust inc">weigh lightly</span> on ${him}.`);
slave.trust += 1;
}
}
} else if (V.policies.retirement.fate === "bioreactor") {
if (slave.physicalAge >= V.retirementAge - 1) {
r.push(`${He} knows that it's less than a year until ${his} permanent inclusion in the arcology's milk production systems.`);
if (slave.devotion > 95) {
r.push(`Since ${he} loves you, ${he} desperately tries not to think about it, though ${he} occasionally bursts into tears without provocation.`);
} else if (slave.devotion > 20) {
r.push(`To put it mildly, <span class="trust dec">${he} is terrified.</span>`);
slave.trust -= 3;
} else {
r.push(`${He} is filled with <span class="trust dec">terror</span> and <span class="devotion dec">horror.</span>`);
slave.devotion -= 3;
slave.trust -= 3;
}
} else {
r.push(`${He} knows that ${his} permanent inclusion in the arcology's milk production systems is not far off.`);
if (slave.devotion > 95) {
r.push(`Since ${he} loves you, ${he} tries not to think about it, though ${he} occasionally seems preoccupied.`);
} else if (slave.devotion > 20) {
r.push(`The prospect <span class="trust dec">scares ${him}.</span>`);
slave.trust -= 2;
} else {
r.push(`The prospect <span class="trust dec">scares</span> and <span class="devotion dec">disgusts ${him}.</span>`);
slave.devotion -= 2;
slave.trust -= 2;
}
}
} else if (V.policies.retirement.fate === "arcade") {
if (slave.physicalAge >= V.retirementAge - 1) {
r.push(`${He} knows that it's less than a year until ${he} is to be permanently encased in a bodysuit with holes for nothing but dick.`);
if (slave.devotion > 95) {
r.push(`Since ${he} loves you, ${he} desperately tries not to think about it, though ${he} occasionally bursts into tears without provocation.`);
} else if (slave.devotion > 20) {
r.push(`To put it mildly, <span class="trust dec">${he} is terrified.</span>`);
slave.trust -= 3;
} else {
r.push(`${He} is filled with <span class="trust dec">terror</span> and <span class="devotion dec">horror.</span>`);
slave.devotion -= 3;
slave.trust -= 3;
}
} else {
r.push(`${He} knows that ${his} ultimate fate as a Fuckdoll is not far off.`);
if (slave.devotion > 95) {
r.push(`Since ${he} loves you, ${he} tries not to think about it, though ${he} occasionally seems preoccupied.`);
} else if (slave.devotion > 20) {
r.push(`The prospect <span class="trust dec">scares ${him}.</span>`);
slave.trust -= 2;
} else {
r.push(`The prospect <span class="trust dec">scares</span> and <span class="devotion dec">disgusts ${him}.</span>`);
slave.devotion -= 2;
slave.trust -= 2;
}
}
}
}
if (V.policies.retirement.fate === "citizen") {
if (slave.devotion <= 95 || slave.trust <= 95) {
if (V.policies.retirement.sex > 0) {
if (slave.counter.oral + slave.counter.anal + slave.counter.vaginal + slave.counter.penetrative + slave.counter.mammary >= V.policies.retirement.sex * 0.8) {
if (slave.devotion >= -20) {
r.push(`${He}'s <span class="devotion inc">more obedient</span> and <span class="trust inc">more tolerant,</span>`);
slave.devotion += 1;
slave.trust += 1;
} else {
r.push(`${He} does ${his} best to <span class="trust inc">stay strong,</span>`);
slave.trust += 1;
}
r.push(`since ${he} knows that ${his} freedom is only a few thousand dicks away.`);
}
}
if (V.policies.retirement.milk > 0) {
if (slave.counter.milk >= V.policies.retirement.milk * 0.8) {
if (slave.devotion >= -20) {
r.push(`${He}'s <span class="devotion inc">more obedient</span> and <span class="trust inc">more tolerant,</span>`);
slave.devotion += 1;
slave.trust += 1;
} else {
r.push(`${He} does ${his} best to <span class="trust inc">stay strong,</span>`);
slave.trust += 1;
}
r.push(`since ${he} knows ${he} will be free if ${his} udders can gush just a bit more cream.`);
}
}
if (V.policies.retirement.cum > 0) {
if (slave.counter.cum >= V.policies.retirement.cum * 0.8) {
if (slave.devotion >= -20) {
r.push(`${He}'s <span class="devotion inc">more obedient</span> and <span class="trust inc">more tolerant,</span>`);
slave.devotion += 1;
slave.trust += 1;
} else {
r.push(`${He} does ${his} best to <span class="trust inc">stay strong,</span>`);
slave.trust += 1;
}
r.push(`since ${he} knows ${he} will be free if ${his} prick can spurt just a bit more jizz.`);
}
}
if (V.policies.retirement.births > 0) {
if (slave.counter.births >= V.policies.retirement.births * 0.6) {
if (slave.devotion >= -20) {
r.push(`${He}'s <span class="devotion inc">more obedient</span> and <span class="trust inc">more tolerant,</span>`);
slave.devotion += 1;
slave.trust += 1;
} else {
r.push(`${He} does ${his} best to <span class="trust inc">stay strong,</span>`);
slave.trust += 1;
}
r.push(`since ${he} knows ${he} only has to successfully breed a little more to be free.`);
}
}
if (V.policies.retirement.kills > 0) {
if (slave.counter.pitKills >= V.policies.retirement.kills * 0.6) {
if (slave.devotion >= -20) {
r.push(`${He}'s <span class="devotion inc">more obedient</span> and <span class="trust inc">more tolerant,</span>`);
slave.devotion += 1;
slave.trust += 1;
} else {
r.push(`${He} does ${his} best to <span class="trust inc">stay strong,</span>`);
slave.trust += 1;
}
r.push(`since ${he} knows just a bit more murder in the pit will win ${his} freedom.`);
}
}
}
}
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function sexualAttentionThoughts(slave) {
if (App.EndWeek.saVars.freeSexualEnergy > 0) {
if (App.EndWeek.saVars.freeSexualEnergy === 3) {
r.push(`${He} gets a lot of sexual attention from you, since you don't have nearly enough dedicated fucktoys to sate your libido, and this <span class="devotion inc">`);
if (slave.devotion > 50) {
r.push(`intensifies ${his} love for you.</span>`);
} else {
r.push(`forces ${him} to get used to sex slavery.</span>`);
}
} else if (App.EndWeek.saVars.freeSexualEnergy === 2) {
r.push(`${He} receives some sexual attention from you, since you don't have enough dedicated fucktoys to sate your libido, and this <span class="devotion inc">`);
if (slave.devotion > 50) {
r.push(`builds ${his} closeness to you.</span>`);
} else {
r.push(`gets ${him} used to being your sex slave.</span>`);
}
} else {
r.push(`${He} receives occasional sexual attention from you, since you barely have enough dedicated fucktoys to sate your libido, <span class="devotion inc">`);
if (slave.devotion > 50) {
r.push(`making ${him} feel closer to you.</span>`);
} else {
r.push(`keeping ${him} aware ${he}'s your sex slave.</span>`);
}
}
slave.devotion += App.EndWeek.saVars.freeSexualEnergy;
seX(slave, "oral", PC, "penetrative", App.EndWeek.saVars.freeSexualEnergy);
if (canDoVaginal(slave) && slave.vagina > 0) {
seX(slave, "vaginal", PC, "penetrative", App.EndWeek.saVars.freeSexualEnergy);
}
if (canDoAnal(slave) && slave.anus > 0) {
seX(slave, "anal", PC, "penetrative", App.EndWeek.saVars.freeSexualEnergy);
}
if (slave.boobs > 500 && PC.dick > 0) {
seX(slave, "mammary", PC, "penetrative", App.EndWeek.saVars.freeSexualEnergy);
}
if ((slave.toyHole === "dick" || V.policies.sexualOpenness === 1) && canPenetrate(slave)) {
if (PC.vagina > 0) {
seX(slave, "penetrative", PC, "vaginal", App.EndWeek.saVars.freeSexualEnergy);
if (canImpreg(PC, slave)) {
knockMeUp(PC, App.EndWeek.saVars.freeSexualEnergy, 0, slave.ID, true);
}
} else if (PC.anus > 0) {
seX(slave, "penetrative", PC, "anal", App.EndWeek.saVars.freeSexualEnergy);
if (canImpreg(PC, slave)) {
knockMeUp(PC, App.EndWeek.saVars.freeSexualEnergy, 1, slave.ID, true);
}
}
if (V.policies.sexualOpenness === 0) {
PC.degeneracy++;
}
}
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function collectiveSpirit(slave) {
if (V.slaves.length > 3) {
let collectiveTrustEffect = 0;
let collectiveDevotionEffect = 0;
if (V.enduringDevotion > 50) {
if (slave.devotion >= -20) {
if (slave.devotion <= 20) {
collectiveDevotionEffect = 1;
slave.devotion += 1;
if (assignmentVisible(slave)) {
slave.devotion += 1;
}
}
}
} else if (V.enduringDevotion <= 0) {
if (slave.devotion <= 20) {
collectiveDevotionEffect = -1;
slave.devotion -= 1;
if (assignmentVisible(slave)) {
slave.devotion -= 1;
}
}
}
if (V.enduringTrust > 50) {
if (slave.trust >= -20) {
if (slave.trust <= 20) {
collectiveTrustEffect = 1;
slave.trust += 1;
if (assignmentVisible(slave)) {
slave.trust += 1;
}
}
}
} else if (V.enduringTrust <= 0) {
if (slave.trust <= 20) {
collectiveTrustEffect = -1;
slave.trust -= 1;
if (assignmentVisible(slave)) {
slave.trust -= 1;
}
}
}
if (collectiveDevotionEffect === 1) {
if (collectiveTrustEffect === 1) {
r.push(`Since ${he}'s ambivalent and fearful, the <span class="devotion inc">collective devotion</span> <span class="trust inc">and trust</span> of your slaves affect ${him} slightly.`);
} else if (collectiveTrustEffect === 0) {
r.push(`Since ${he}'s ambivalent about you, the <span class="devotion inc">collective devotion</span> your slaves feel for you affects ${him} slightly.`);
} else {
r.push(`Since ${he}'s ambivalent about you, the <span class="devotion inc">collective devotion</span> your slaves feel for you affects ${him} slightly, but their <span class="trust dec">general fear</span> affects ${him} too.`);
}
} else if (collectiveDevotionEffect === 0) {
if (collectiveTrustEffect === 1) {
r.push(`Since ${he}'s fearful of you, the <span class="trust inc">collective trust</span> your slaves place in you affects ${him} slightly.`);
} else if (collectiveTrustEffect === -1) {
r.push(`Since ${he} doesn't trust you, the <span class="trust dec">collective fear</span> your slaves feel for you affects ${him} slightly.`);
}
} else {
if (collectiveTrustEffect === 1) {
r.push(`The <span class="devotion dec">collective anger</span> your slaves feel reinforces ${his} own feelings, but their <span class="trust inc">collective trust</span> also affects ${him} slightly.`);
} else if (collectiveTrustEffect === 0) {
r.push(`The <span class="devotion dec">collective anger</span> your slaves feel reinforces ${his} own feelings.`);
} else {
r.push(`The <span class="devotion dec">collective anger</span> <span class="trust dec">and fear</span> your slaves feel reinforce ${his} own feelings.`);
}
}
}
if (assignmentVisible(slave)) {
if (V.arcade !== 0 || (V.dairy !== 0 && V.dairyRestraintsSetting >= 2)) {
if (slave.devotion <= 95) {
r.push(`${He} knows about`);
if (V.arcade !== 0) {
if (V.dairy !== 0 && V.dairyRestraintsSetting >= 2) {
r.push(`${V.arcadeName} and ${V.dairyName},`);
} else {
r.push(`${V.arcadeName},`);
}
} else {
r.push(`${V.dairyName},`);
}
r.push(`and <span class="trust dec">fears</span> that you might send ${him} there.`);
slave.trust -= 1;
} else {
r.push(`${He} knows some of your other slaves meet terrible, industrial fates, but ${he} loves you so much that ${he} tries not to think about it.`);
}
}
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function statCrossovers(slave) {
if (slave.trust >= -20) {
if (slave.devotion > 95) {
if (slave.trust <= 20) {
r.push(`${slave.slaveName} loves you, so ${he} finds ${himself} <span class="trust inc">fearing you a little less.</span>`);
slave.trust += 1;
} else if (slave.trust <= 50) {
r.push(`${slave.slaveName} loves you, so ${he} finds ${himself} <span class="trust inc">trusting you a little more.</span>`);
slave.trust += 1;
}
} else if (slave.devotion > 60) {
if (slave.trust <= 20) {
r.push(`${slave.slaveName} is devoted to you, so ${he} finds ${himself} <span class="trust inc">fearing you a little less.</span>`);
slave.trust += 1;
}
} else if (slave.devotion < -50) {
if (slave.trust > 20) {
r.push(`${slave.slaveName} hates you, but also doesn't fear you, <span class="defiant inc">bolstering ${his} disobedience.</span>`);
slave.trust += 5;
} else {
r.push(`${slave.slaveName} hates you, so ${he} finds ${himself} <span class="trust dec">trusting you a little less.</span>`);
slave.trust -= 2;
}
}
}
if (slave.trust > 95) {
if (slave.devotion < -20) {
r.push(`${slave.slaveName} feels no threat from you, so ${he} finds it easy to <span class="devotion dec">express ${his} hatred of you.</span>`);
slave.devotion -= 10;
} else if (slave.devotion <= 20) {
r.push(`${slave.slaveName} trusts you implicitly, so ${he} finds ${himself} <span class="devotion inc">hating you a little less.</span>`);
slave.devotion += 1;
} else if (slave.devotion <= 50) {
r.push(`${slave.slaveName} trusts you implicitly, so ${he} finds ${himself} <span class="devotion inc">liking you a little more.</span>`);
slave.devotion += 1;
}
} else if (slave.trust > 50) {
if (slave.devotion < -20) {
r.push(`${slave.slaveName} finds you non-threatening, so it's easy for ${him} to <span class="devotion dec">defy you.</span>`);
slave.devotion -= 5;
} else if (slave.devotion <= 20) {
r.push(`${slave.slaveName} trusts you, so ${he} finds ${himself} <span class="devotion inc">hating you a little less.</span>`);
slave.devotion += 1;
}
} else if (slave.trust < -50) {
if (slave.devotion >= -20) {
if (slave.devotion <= 50) {
r.push(`${slave.slaveName} is so terrified of you that ${he} tries desperately to avoid punishment, <span class="devotion inc">which is sometimes indistinguishable from devotion.</span>`);
slave.devotion += 2;
}
}
} else if (slave.trust < -20) {
if (slave.devotion > 20) {
if (slave.devotion <= 50) {
r.push(`${slave.slaveName} is scared of you, but not truly terrified, so ${he} feels safe in <span class="devotion dec">hating the worst parts of being your sex slave.</span>`);
slave.devotion -= 2;
}
}
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function statRebounding(slave) {
if (slave.tankBaby > 0) {
if (slave.devotion <= 95) {
r.push(`The tank's imprinting systems left a <span class="devotion inc">deep, subconscious `);
if (slave.tankBaby === 2) {
r.push(`need`);
} else {
r.push(`desire`);
}
r.push(`</span> to serve ${his} owner.`);
slave.devotion += 2;
}
}
if (slave.sexualQuirk === "unflinching") {
if (slave.devotion <= 95) {
if (slave.devotion < slave.oldDevotion) {
r.push(`${His} unflinching nature leads ${him} to forget some of the unpleasant things ${he}'s experienced this week, <span class="devotion inc">reducing their impact on ${his} feelings about you.</span>`);
slave.devotion += Math.trunc((slave.oldDevotion - slave.devotion) / 2);
}
}
} else if (slave.health.tired > 30) {
if (slave.devotion <= 50) {
if (slave.devotion < slave.oldDevotion) {
r.push(`Some of the less unpleasant things done to ${him} this week slip ${his} tired mind, <span class="devotion inc">reducing their impact on ${his} feelings about you.</span>`);
slave.devotion += Math.trunc((slave.oldDevotion - slave.devotion) / 4);
}
}
}
if (slave.health.tired > 30) {
if (slave.trust >= -50) {
if (slave.trust < slave.oldTrust) {
r.push(`In ${his} tired state, ${he} begins to recall things as <span class="trust dec">worse than they actually were.</span>`);
slave.trust -= Math.trunc((slave.oldTrust - slave.trust) / 2);
}
}
}
// CAPS ON DEVOTION GAIN
if (slave.tankBaby === 1) {
r.push(`The incubation facility conditioned ${his} mind for total subservience to ${his} owner; ${he} cannot resist ${his} progress.`);
} else if (slave.tankBaby === 2) {
r.push(`The incubation facility conditioned ${his} mind for total reverence of ${his} owner; ${he} cannot resist ${his} progress.`);
} else if (slave.devotion >= -20) {
if (slave.devotion >= (slave.oldDevotion + 5)) {
if (V.arcologies[0].FSChattelReligionist >= random(1, 100)) {
r.push(`The natural resilience of ${his} mind is overcome by the omnipresent combination of faith and servitude in ${V.arcologies[0].name}, and ${he} does not resist ${his} progress down the path towards total subservience.`);
} else if (gettingPersonalAttention) {
r.push(`${He} gained so much regard for you this week that ${his} natural reaction is to rebound a little, but since you're giving ${him} personal attention, your charismatic presence prevents this.`);
} else if (slave.devotion < 95) {
r.push(`So many things served to drive ${him} into subservience this week that ${his} mind <span class="devotion dec">rebounds a little.</span>`);
slave.devotion = (slave.oldDevotion + 5);
}
}
} else {
if (slave.devotion >= (slave.oldDevotion+5)) {
if (slave.behavioralFlaw === "arrogant") {
r.push(`Though ${he} made progress this week, <span class="devotion dec">it is limited by ${his} arrogance.</span>`);
slave.devotion = (slave.oldDevotion + 5);
} else if (slave.behavioralFlaw === "bitchy" && canTalk(slave)) {
r.push(`Though ${he} made progress this week, <span class="devotion dec">it is limited by the independence ${he} regains by making snide comments.</span>`);
slave.devotion = (slave.oldDevotion + 5);
} else if (slave.behavioralFlaw === "devout") {
r.push(`Though ${he} made progress this week, <span class="devotion dec">it is limited by the independence ${he} regains through reliance on ${his} faith.</span>`);
slave.devotion = (slave.oldDevotion + 5);
} else if (slave.behavioralFlaw === "liberated") {
r.push(`Though ${he} made progress this week, <span class="devotion dec">it is limited by the independence ${he} retains due to ${his} moral convictions that this is wrong.</span>`);
slave.devotion = (slave.oldDevotion + 5);
}
}
}
// CAPS ON TRUST GAIN
if (slave.tankBaby === 1) {
r.push(`Any natural doubts ${he} has are overcome by ${his} conditioning in the incubation facility; ${he} cannot resist trusting ${his} owner.`);
} else if (slave.trust >= -20) {
if (slave.trust >= (slave.oldTrust + 5)) {
if (V.arcologies[0].FSChattelReligionist >= random(1, 100)) {
r.push(`Any natural doubts ${he} harbors are overcome by ${his} belief in Chattel Religionism, and ${he} does not resist ${his} progress down the path towards total trust in you.`);
} else if (gettingPersonalAttention) {
r.push(`${He} gained so much trust in you this week that ${his} natural reaction is to doubt ${himself}, but since you're giving ${him} personal attention, ${he} decides to trust ${his} understanding of your will.`);
} else if (slave.trust < 95) {
r.push(`${He} gained so much trust in you this week that ${he} <span class="trust dec">draws back a little</span> out of self-doubt.`);
slave.trust = (slave.oldTrust + 5);
}
}
} else {
if (slave.trust >= (slave.oldTrust + 5)) {
if (slave.behavioralFlaw === "odd" && slave.collar !== "shock punishment") {
r.push(`Though ${he} made progress this week, <span class="trust dec">it is limited by ${his} preoccupation with ${his} own oddities.</span>`);
slave.trust = (slave.oldTrust + 5);
}
}
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function devotionReport(slave) {
let energyPlus = 0;
if (slave.devotion > 100 && slave.trust > 100) {
r.push(`${His} perfect devotion and trust <span class="reputation inc">improve your reputation.</span>`);
repX(10 * (slave.devotion - 100), "slavesViewOfPC", slave);
repX(10 * (slave.trust - 100), "slavesViewOfPC", slave);
if (slave.energy <= 50 && App.Utils.sexAllowed(slave, PC)) {
energyPlus += Math.trunc((slave.trust + slave.devotion) - 200);
}
slave.devotion = 100;
slave.trust = 100;
} else {
if (slave.devotion > 100) {
if (slave.trust < 100 && slave.trust > 20) {
slave.trust += Math.trunc((slave.devotion - 100) * 5) / 10;
} else if (slave.energy <= 50 && App.Utils.sexAllowed(slave, PC)) {
energyPlus += Math.trunc(slave.devotion - 100);
} else {
r.push(`${His} extreme devotion <span class="reputation inc">improved your reputation.</span>`);
repX(10 * (slave.devotion - 100), "slavesViewOfPC", slave);
}
slave.devotion = 100;
} else if (slave.devotion > 95) {
slave.devotion = 100;
} else if (slave.devotion < -95) {
slave.devotion = -100;
}
if (slave.trust > 100) {
if (slave.devotion < 100 && slave.devotion > 20) {
slave.devotion += Math.trunc(slave.trust - 100);
} else if (slave.devotion < -50) {
r.push(`${His} blatant disregard for your rule <span class="reputation dec">damages your reputation.</span>`);
repX(30 * (slave.trust - 100), "slavesViewOfPC", slave);
} else if (slave.energy <= 50 && App.Utils.sexAllowed(slave, PC)) {
energyPlus += Math.trunc(slave.trust - 100);
} else {
r.push(`${His} extreme trust <span class="reputation inc">improved your reputation.</span>`);
repX(10 * (slave.trust - 100), "slavesViewOfPC", slave);
}
slave.trust = 100;
} else if (slave.trust > 95) {
slave.trust = 100;
} else if (slave.trust < -95) {
slave.trust = -100;
}
}
if (energyPlus > 0) {
r.push(`${His} confidence in ${his} sexuality <span class="improvement">improved ${his} low sex drive.</span>`);
slave.energy += energyPlus;
}
if (slave.devotion > 95) {
r.push(`${slave.slaveName}'s <span class="devotion worship">worshipfulness is beyond improvement,</span> and ${his}`);
} else if (slave.devotion > 50 && slave.devotion > slave.oldDevotion) {
r.push(`${slave.slaveName}'s <span class="devotion accept">devotion increased</span> and ${his}`);
} else if (slave.devotion > 50 && slave.devotion === slave.oldDevotion) {
r.push(`${slave.slaveName}'s <span class="devotion ambivalent">devotion did not change</span> and ${his}`);
} else if (slave.devotion > 50) {
r.push(`${slave.slaveName}'s <span class="devotion resistant">devotion dropped</span> and ${his}`);
} else if (slave.devotion >= -20 && slave.devotion > slave.oldDevotion) {
r.push(`${slave.slaveName}'s <span class="devotion inc">regard for you increased</span> and ${his}`);
} else if (slave.devotion >= -20 && slave.devotion === slave.oldDevotion) {
r.push(`${slave.slaveName}'s <span class="noteworthy">regard for you did not change</span> and ${his}`);
} else if (slave.devotion >= -20) {
r.push(`${slave.slaveName}'s <span class="devotion dec">regard for you dropped</span> and ${his}`);
} else if (slave.devotion > slave.oldDevotion) {
r.push(`${slave.slaveName}'s <span class="devotion inc">resistance dropped</span> and ${his}`);
} else if (slave.devotion === slave.oldDevotion) {
r.push(`${slave.slaveName}'s <span class="noteworthy">resistance did not change</span> and ${his}`);
} else {
r.push(`${slave.slaveName}'s <span class="devotion dec">resistance increased</span> and ${his}`);
}
if (slave.devotion < -20) {
if (slave.trust > 95) {
r.push(`<span class="defiant full">fear of you is non existent.</span>`);
} else if (slave.trust > 20 && slave.trust > slave.oldTrust) {
r.push(`<span class="defiant inc">fear of you</span> dropped this week.`);
} else if (slave.trust > 20 && slave.trust === slave.oldTrust) {
r.push(`<span class="noteworthy">fear did not change</span> this week.`);
} else if (slave.trust > 20) {
r.push(`<span class="improvement">fear increased</span> this week.`);
} else if (slave.trust > slave.oldTrust) {
r.push(`<span class="mediumaquamarine">fear dropped</span> this week.`);
} else if (slave.trust === slave.oldTrust) {
r.push(`<span class="noteworthy">fear did not change</span> this week.`);
} else {
r.push(`<span class="trust dec">fear increased</span> this week.`);
}
} else {
if (slave.trust > 95) {
r.push(`<span class="trust prof-trusting">trust in you is total.</span>`);
} else if (slave.trust > 20 && slave.trust > slave.oldTrust) {
r.push(`<span class="trust inc">trust improved</span> this week.`);
} else if (slave.trust > 20 && slave.trust === slave.oldTrust) {
r.push(`<span class="noteworthy">trust did not change</span> this week.`);
} else if (slave.trust > 20) {
r.push(`<span class="trust dec">trust dropped</span> this week.`);
} else if (slave.trust > slave.oldTrust) {
r.push(`<span class="trust inc">fear dropped</span> this week.`);
} else if (slave.trust === slave.oldTrust) {
r.push(`<span class="noteworthy">fear did not change</span> this week.`);
} else {
r.push(`<span class="trust dec">fear increased</span> this week.`);
}
}
if (slave.devotion > 50 && slave.oldDevotion <= 50) {
r.push(`<span class="positive">${He} has gone from accepting ${his} position to being devoted to you!</span>`);
slave.devotion += 1;
} else if (slave.devotion > 20 && slave.oldDevotion <= 20) {
r.push(`<span class="positive">${He} has gone from being ambivalent toward you to accepting your ownership of ${him}!</span>`);
slave.devotion += 1;
} else if (slave.devotion >= -20 && slave.oldDevotion < -20) {
r.push(`<span class="positive">${He} has gone from disliking you to being ambivalent about you!</span>`);
slave.devotion += 1;
} else if (slave.devotion >= -50 && slave.oldDevotion < -50) {
r.push(`<span class="positive">${He} has gone from hating you to merely disliking you!</span>`);
slave.devotion += 1;
}
if (slave.devotion < -20) {
if (slave.trust > 50 && slave.oldTrust <= 50) {
r.push(`<span class="warning">${He} has gone from being careful around you to showing open defiance!</span>`);
slave.trust++;
} else if (slave.trust > 20 && slave.oldTrust <= 20) {
r.push(`<span class="noteworthy">${He} has gone from fearing you to merely being careful around you!</span>`);
slave.trust++;
} else if (slave.trust >= -20 && slave.oldTrust < -20) {
r.push(`<span class="noteworthy">${He} has gone from being afraid of you to being merely fearful!</span>`);
slave.trust++;
} else if (slave.trust >= -50 && slave.oldTrust < -50) {
r.push(`<span class="noteworthy">${He} has gone from being terrified to being merely afraid of you!</span>`);
slave.trust++;
}
} else {
if (slave.trust > 50 && slave.oldTrust <= 50) {
r.push(`<span class="positive">${He} has gone from being careful around you to trusting you!</span>`);
slave.trust += 1;
} else if (slave.trust > 20 && slave.oldTrust <= 20) {
r.push(`<span class="positive">${He} has gone from fearing you to merely being careful around you!</span>`);
slave.trust += 1;
} else if (slave.trust >= -20 && slave.oldTrust < -20) {
r.push(`<span class="positive">${He} has gone from being afraid of you to being merely fearful!</span>`);
slave.trust += 1;
} else if (slave.trust >= -50 && slave.oldTrust < -50) {
r.push(`<span class="positive">${He} has gone from being terrified to being merely afraid of you!</span>`);
slave.trust += 1;
}
}
if (slave.trust < -20 && slave.oldTrust >= -20) {
if (slave.devotion <= 20) {
r.push(`<span class="positive">${He} has gone from merely fearing you to actively being afraid of you!</span>`);
slave.trust -= 2;
}
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function finalChanges(slave) {
// done stealthily to make the slave's progression seem natural
if (slave.rudeTitle === 1 && slave.devotion >= -50) {
slave.custom.title = "";
slave.custom.titleLisp = "";
slave.rudeTitle = 0;
}
}
})();
|
MonsterMate/fc
|
src/endWeek/saDevotion.js
|
JavaScript
|
mit
| 54,448
|
App.SlaveAssignment.diet = (function() {
"use strict";
let r;
// eslint-disable-next-line no-unused-vars
let he, him, his, hers, himself, girl, loli, He, His;
let weightGain;
let weightLoss;
let growthGoal;
let roll;
let target;
let gigantomastiaMod;
let rearQuirk;
let boobSize;
let buttSize;
return saDiet;
/**
* @param {App.Entity.SlaveState} slave
* @returns {string}
*/
function saDiet(slave) {
r = [];
weightGain = -1; // -1 used in cockFeeder()
weightLoss = 0;
gigantomastiaMod = slave.geneticQuirks.gigantomastia === 2 ? (slave.geneticQuirks.macromastia === 2 ? 3 : 2) : 1;
rearQuirk = slave.geneticQuirks.rearLipedema === 2 ? 2 : 0;
boobSize = slave.boobs - slave.boobsImplant - slave.boobsMilk;
buttSize = slave.butt - slave.buttImplant;
App.EndWeek.saVars.inappropriateLactation = 0; // TODO: once this is resetting properly, remove it from here
({
// eslint-disable-next-line no-unused-vars
he, him, his, hers, himself, girl, He, His, loli
} = getPronouns(slave));
if (V.feeder === 1) {
feederUsed(slave);
}
foodEffects(slave);
geneticQuirkEffects(slave);
if (slave.fuckdoll === 0 && slave.fetish !== "mindbroken") {
if (slave.dietCum > 0) {
cumDiet(slave);
}
if (V.cockFeeder === 1) {
cockFeeder(slave);
}
if (V.revealFoodEffects === 1) {
slaveFoodEffects(slave);
}
}
return r.join(" ");
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function feederUsed(slave) {
if (slave.diet !== "healthy") {
r.push(`The upgraded kitchen closely monitors ${his} diet.`);
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function foodEffects(slave) {
let weightShift;
let superFetKnown;
switch (slave.diet) {
case "restricted": // weight loss
weightLoss = 5;
if (slave.fuckdoll > 0) {
r.push(`The ports in Fuckdoll suits allow total dietary control, and ${he}'s barely aware ${he}'s being <span class="change positive">slimmed down.</span>`);
if (slave.weightDirection === -1) {
slave.weight -= 12;
} else if (slave.weightDirection === 1) {
slave.weight -= 6;
} else {
slave.weight -= 9;
}
} else {
if (slave.fetish !== "mindbroken") {
if (slave.behavioralFlaw === "anorexic") {
if (slave.devotion >= -20) {
r.push(`As an anorexic, <span class="devotion inc">${he} derives perverse enjoyment from being underfed.</span>`);
slave.devotion += 1;
} else {
r.push(`As an anorexic, ${he} accepts being underfed.`);
}
} else if (slave.behavioralFlaw === "gluttonous") {
r.push(`As a stress glutton, <span class="trust dec">being underfed makes ${him} terribly anxious.</span>`);
slave.trust -= 5;
} else if (slave.behavioralQuirk === "fitness") {
r.push(`As a fitness fanatic, <span class="devotion inc">${he} enjoys slimming down.</span>`);
slave.devotion += 1;
} else if (slave.devotion <= 20) {
r.push(`<span class="devotion dec">${He} resents being underfed.</span>`);
slave.devotion -= 4;
}
if (slave.devotion <= 20) {
if (slave.dietCum > 0) {
if (slave.sexualFlaw !== "cum addict") {
if (slave.fetish !== "cumslut") {
if (slave.dietCum === 2) {
if (V.cockFeeder === 0) {
if (random(1, 100) > 50) {
r.push(`${His} <span class="devotion dec">disgusting diet</span> is little more than human ejaculate infused with nutritional supplements, and ${he}'s unable to hold most of it down.`);
weightLoss = 8;
slave.devotion -= 4;
} else {
r.push(`Despite ${his} food being filled with large amounts of thick, human ejaculate, ${he} manages to choke down enough that ${he} doesn't get sick from malnourishment.`);
weightLoss = 6;
slave.devotion -= 2;
}
} else {
r.push(`The phallic feeders inject ${his} food directly into ${his} stomach, helping ${him} get ${his} prescribed servings so that ${his} weight loss is safe and consistent. However, the unmistakable taste of cum ${he} burps up afterward <span class="devotion dec">nauseates</span> and <span class="trust dec">unnerves</span> ${him}.`);
weightLoss = 5;
slave.devotion -= 3;
slave.trust -= 1;
}
} else if (slave.dietCum === 1) {
if (V.cockFeeder === 0) {
if (random(1, 100) < 20) {
r.push(`${He} is <span class="devotion dec">troubled</span> by the use of human ejaculate as a food additive, and ${he} has a problem keeping all of ${his} food down.`);
weightLoss = 7;
slave.devotion -= 2;
} else {
r.push(`Despite having human ejaculate added to ${his} food, ${he} manages to choke it down this week, <span class="devotion dec">but it's a struggle.</span>`);
weightLoss = 5;
slave.devotion -= 2;
}
} else {
r.push(`The phallic feeders inject ${his} food directly into ${his} stomach, helping ${him} get ${his} prescribed servings so that ${his} weight loss is safe and consistent. However, the thought of being force-fed food with ejaculate in it <span class="devotion dec">disturbs ${him}.</span>`);
weightLoss = 5;
slave.devotion -= 3;
}
}
} else {
r.push(`${He}`);
if (slave.fetishKnown === 0) {
r.push(`clearly <span class="fetish gain">obviously likes cum,</span>`);
slave.fetishKnown = 1;
} else if (slave.fetishStrength < 20 ) {
r.push(`is developing a taste for cum,`);
} else if (slave.fetishStrength < 60 ) {
r.push(`is used to eating cum,`);
} else {
r.push(`loves eating cum,`);
}
r.push(`so ${he}`);
if (slave.behavioralFlaw === "gluttonous") {
r.push(`desperately`);
}
r.push(`sucks down every drop of the`);
if (slave.dietCum === 2) {
r.push(`nutritionally supplemented human ejaculate`);
} else {
r.push(`cum supplemented food`);
}
r.push(`${he}'s given to eat, especially because ${his} servings are small.`);
if (slave.fetishStrength < 95) {
if (slave.dietCum === 2) {
r.push(`The high concentration of cum in ${his} food <span class="fetish inc">further`);
if (slave.fetishStrength < 60) {
r.push(`habituates`);
} else {
r.push(`endears`);
}
r.push(`${him} to the taste.</span>`);
slave.fetishStrength += 2;
} else if (slave.dietCum === 1) {
r.push(`Having cum added to ${his} food makes ${him}`);
if (slave.fetishStrength < 60) {
r.push(`<span class="fetish inc">even more used to the taste of it.</span>`);
} else {
r.push(`<span class="fetish inc">love the taste of it even more.</span>`);
}
slave.fetishStrength += 1;
}
}
}
}
}
} else { // For Devotion Higher than 20
if (slave.sexualFlaw === "cum addict") {
if (slave.dietCum === 2) {
if (slave.behavioralFlaw !== "anorexic") {
r.push(`Despite wanting more to eat, the`);
} else {
r.push(`The`);
}
r.push(`cum addict is relieved to have such high concentrations of cum in ${his} diet.`);
} else if (slave.dietCum === 1) {
r.push(`Although ${his} food is supplemented with ejaculate, ${he} is so addicted to cum that restricting the amount ${he} can eat <span class="devotion dec">upsets ${him}.</span>`);
slave.devotion -= 1;
}
}
}
}
if (weightLoss === 8) {
r.push(`${His} <span class="change positive">weight loss</span> this week is so dramatic as to be dangerous, and <span class="health dec">${his} health suffers because of it.</span> <span class="trust dec">Your disregard for ${his} well-being scares ${him}.</span>`);
healthDamage(slave, 4);
slave.trust -= 2;
} else if (weightLoss === 7) {
r.push(`Distaste for ${his} food caused ${him} to <span class="change positive">lose weight</span> a bit too quickly, and by the end of the week ${he} looks <span class="trust dec">a little unsettled</span> and <span class="health dec">slightly malnourished.</span>`);
healthDamage(slave, 1);
slave.trust -= 1;
} else if (weightLoss === 6) {
r.push(`Due to ${his} distaste for ${his} diet, ${he} <span class="change positive">loses a bit more weight than ${he} was supposed to this week,</span> making ${him} <span class="trust dec">a little anxious.</span>`);
slave.trust -= 1;
} else if (weightLoss === 5) {
r.push(`${He} <span class="change positive">loses weight.</span>`);
}
weightLoss += V.feeder * 2;
if (slave.weightDirection === -1) {
slave.weight -= (weightLoss + 3);
} else if (slave.weightDirection === 1) {
slave.weight -= (weightLoss - 3) - (V.feeder);
} else {
slave.weight -= weightLoss;
}
}
slave.weight = Math.max(slave.weight, -100);
if (slave.hormoneBalance > 30 && slave.geneMods.NCS !== 0) { // 'Expected' breast size based on weight for feminine-bodied slaves
growthGoal = Math.trunc((100 + ((slave.weight + 100) * 5) + (2 * slave.lactationAdaptation)) * (0.85 + (slave.hormoneBalance / 400)) * gigantomastiaMod);
roll = 300;
target = Math.trunc(Math.clamp((weightLoss * 20) + (boobSize - growthGoal) / 5, 0, 270));
} else { // For masculine and childish-bodied slaves
growthGoal = ((slave.weight + 100) * 2 + slave.lactationAdaptation) * gigantomastiaMod;
roll = 75;
target = Math.trunc(Math.clamp(weightLoss * 2 + (boobSize - growthGoal) / 20, 0, 68));
}
if (random(1, roll) <= target && (gigantomastiaMod !== 3 && boobSize >= 100)) {
if (random(1, 2) === 1) {
r.push(`<span class="change negative">${His} breasts get smaller.</span>`);
slave.boobs -= 100;
} else {
r.push(`<span class="change negative">${His} breasts get a little smaller.</span>`);
slave.boobs -= 50 * (1 + slave.geneMods.NCS);
}
}
if (slave.hormoneBalance > 30) { // 'Expected' butt size based on weight for feminine-bodied slaves, scaled up by 1000
growthGoal = Math.trunc((slave.weight + 100) * 25 * (0.9 + slave.hormoneBalance / 600) * (rearQuirk / 2 + 1));
roll = 40000;
target = Math.trunc(Math.clamp(weightLoss * 1000 + (buttSize * 1000 - growthGoal) * 2, 0, 36000));
} else { // For masculine- and childish-bodied slaves, likewise scaled up
growthGoal = Math.trunc((slave.weight + 100) * 12.5) * (rearQuirk / 2 + 1);
roll = 80000;
target = Math.trunc(Math.clamp(weightLoss * 1000 + (buttSize * 1000 - growthGoal) * 4, 0, 72000));
}
if (random(1, roll) <= target && buttSize > 0) {
if (slave.geneMods.NCS === 1 && buttSize > 2) {
r.push(`<span class="change negative">${His} butt gets smaller.</span>`);
slave.butt -= 2;
} else {
r.push(`<span class="change negative">${His} butt gets a little smaller.</span>`);
slave.butt -= 1;
}
}
if (slave.weight < -95) {
r.push(`${He} is now quite skinny, so ${his} diet <span class="noteworthy">has defaulted to maintenance of this weight.</span>`);
slave.diet = "healthy";
}
break;
case "fattening": // weight gain
weightGain = 5;
if (slave.fuckdoll > 0) {
r.push(`The ports in Fuckdoll suits allow total dietary control, and ${he}'s barely aware ${he}'s being <span class="change positive">fattened up.</span>`);
if (slave.weightDirection === 1) {
slave.weight += 12;
} else if (slave.weightDirection === -1) {
slave.weight += 6;
} else {
slave.weight += 9;
}
weightGainShared(slave);
} else {
if (slave.fetish !== "mindbroken") {
if (slave.behavioralFlaw === "anorexic") {
r.push(`Suffering from anorexia, <span class="devotion dec">${he} is intensely resentful of being overfed.</span>`);
slave.devotion -= 5;
} else if (slave.behavioralFlaw === "gluttonous") {
r.push(`As a glutton,`);
if (slave.devotion >= -20) {
r.push(`<span class="devotion inc">${he} derives almost sexual pleasure from being overfed.</span>`);
slave.devotion += 4;
} else {
r.push(`${he} accepts being overfed.`);
}
} else if (setup.gratefulCareers.includes(slave.career) && slave.weight < 100) {
r.push(`<span class="trust inc">${He} appreciates having a belly full of food.</span>`);
slave.trust += 1;
} else if (slave.devotion <= 20) {
r.push(`<span class="devotion dec">${He} resents being overfed.</span>`);
slave.devotion -= 4;
}
if (slave.devotion <= 20) {
if (slave.dietCum > 0) {
if (slave.sexualFlaw !== "cum addict") {
if (slave.fetish !== "cumslut") {
if (slave.dietCum === 2) {
if (V.cockFeeder === 0) {
if (random(1, 100) > 50) {
r.push(`<span class="devotion dec">${He} is disgusted</span> that ${he} is forced to drink large amounts of human ejaculate for sustenance.`);
if (slave.sexualFlaw === "hates oral") {
r.push(`This is <span class="devotion dec">exacerbated</span> by ${his} hatred of oral sex.`);
slave.devotion -= 1;
}
r.push(`${He} has trouble holding ${his} food down.`);
weightGain = 0;
slave.devotion -= 4;
} else {
r.push(`Despite ${his} food being filled with large amounts of human ejaculate, ${he} manages to keep some of it down, but <span class="devotion dec">${he} hates you for it.</span>`);
weightGain = 2;
slave.devotion -= 2;
}
} else {
if (random(1, 100) < 30) {
r.push(`The phallic feeders inject ${his} food directly into ${his} stomach, helping ${him} get the extra calories ${he}'s been prescribed, but the <span class="devotion dec">ejaculate based food is so heavy in ${his} tummy</span> that ${he} loses a tiny bit of ${his} intake to post-meal nausea.`);
weightGain = 4;
slave.devotion -= 4;
} else {
r.push(`The phallic feeders inject ${his} food directly into ${his} stomach, ensuring that ${he} gets all of ${his} prescribed calories, and <span class="devotion dec">despite some intense nausea afterwards,</span> ${he}'s able to keep ${his} heavy cum diet down.`);
slave.devotion -= 4;
}
}
} else if (slave.dietCum === 1) {
if (V.cockFeeder === 0) {
if (random(1, 100) < 15) {
r.push(`${He} hates being forced to eat food that is supplemented with cum as ${his} primary source of `);
if (slave.sexualFlaw === "hates oral") {
r.push(`nourishment, and ${his} hatred of oral sex makes it even worse.`);
} else {
r.push(`nourishment.`);
}
r.push(` <span class="trust dec">${He} is so disgusted</span> that ${he} has trouble keeping most of ${his} food down.`);
weightGain = 0;
slave.devotion -= 4;
} else {
r.push(`Despite ${his} food `);
if (canTaste(slave)) {
r.push(`tasting`);
} else if (canSmell(slave)) {
r.push(`smelling`);
} else {
r.push(`reminding ${him}`);
}
r.push(`strongly of cum, ${he} manages to choke down most of it this week, <span class="devotion dec">but ${he} resents being a cum-fed whore.</span>`);
weightGain = 3;
slave.devotion -= 2;
}
} else {
r.push(`The phallic feeders inject ${his} food directly into ${his} stomach, helping ${him} get ${his} prescribed calories, even though <span class="devotion dec">${he} hates the idea of being force-fed cum.</span>`);
slave.devotion -= 2;
}
}
} else {
if (slave.behavioralFlaw === "anorexic") {
r.push(`Despite ${his} predilection to starve ${himself}, ${he}`);
} else {
r.push(`${He}`);
}
if (slave.fetishKnown === 0) {
r.push(`apparently <span class="fetish gain">enjoys the taste of cum</span> enough that ${he}`);
slave.fetishKnown = 1;
} else if (slave.fetishStrength > 60) {
r.push(`loves cum so much that ${he}`);
}
r.push(`can't help but suck down every drop of the nutrition infused human ejaculate ${he}'s given to eat.`);
if (slave.fetishStrength < 95) {
if (slave.dietCum === 2) {
r.push(`The high concentration of cum in ${his} food <span class="fetish inc">further`);
if (slave.fetishStrength < 60) {
r.push(`habituates`);
} else {
r.push(`endears`);
}
r.push(`${him} to the taste.</span>`);
slave.fetishStrength += 1;
} else if (slave.dietCum === 1) {
r.push(`Having cum added to ${his} food makes ${him}`);
if (slave.fetishStrength < 60) {
r.push(`<span class="fetish inc">even more used to the taste of it.</span>`);
} else {
r.push(`<span class="fetish inc">love the taste of it even more.</span>`);
}
slave.fetishStrength += 1;
}
}
}
} else {
if (slave.dietCum === 2) {
r.push(`${He} hates ${himself} for it, but the cum addict is <span class="devotion inc">grateful</span> to have so much ejaculate in ${his} diet, especially because ${he}'s given extra food this week.`);
slave.devotion += 1;
} else if (slave.dietCum === 1) {
r.push(`The cum addict <span class="trust dec">anxiously</span> slurps up every drop of ${his} cum-supplemented food this week. ${He} eats all the extra food ${he}'s given and is <span class="devotion inc">disturbed</span> by ${his} insatiable hunger for more.`);
slave.devotion -= 1;
slave.trust -= 1;
}
}
}
if (slave.dietMilk > 0) {
if (slave.sexualFlaw !== "breast growth") {
if (slave.fetish !== "pregnancy") {
if (slave.dietMilk === 2) {
if (V.cockFeeder === 0) {
r.push(`Despite ${his} food being based on huge quantities of breast milk, ${he} manages to keep most of it down, but <span class="devotion dec">${he} hates you for it.</span>`);
weightGain = 2;
slave.devotion -= 2;
} else {
r.push(`The phallic feeders inject ${his} food directly into ${his} stomach, ensuring that ${he} gets all of ${his} prescribed calories, and <span class="devotion dec">despite some intense nausea afterwards,</span> ${he}'s able to keep ${his} heavy milk diet down.`);
slave.devotion -= 4;
}
} else if (slave.dietMilk === 1) {
if (V.cockFeeder === 0) {
r.push(`Despite ${his} food`);
if (canTaste(slave)) {
r.push(`tasting`);
} else if (canSmell(slave)) {
r.push(`smelling`);
} else {
r.push(`reminding ${him}`);
}
r.push(`strongly of human breast milk, ${he} manages to choke down most of it this week, <span class="devotion dec">but ${he} resents being a milk-fed whore.</span>`);
weightGain = 3;
slave.devotion -= 2;
} else {
r.push(`The phallic feeders inject ${his} food directly into ${his} stomach, helping ${him} get ${his} prescribed calories, even though <span class="devotion dec">${he} hates the idea of being force-fed human milk.</span>`);
slave.devotion -= 2;
}
}
} else {
if (slave.behavioralFlaw === "anorexic") {
r.push(`Despite ${his} predilection to starve ${himself}, ${he}`);
} else {
r.push(`${He}`);
}
if (slave.fetishKnown === 0) {
r.push(`apparently fetishizes some aspect of lactation enough that ${he}`);
} else if (slave.fetishStrength > 60) {
r.push(`loves breast milk so much that ${he}`);
}
r.push(`can't help but suck down every drop of the nutrition infused human milk ${he}'s given to eat.`);
if (slave.fetishStrength < 95 && slave.fetishKnown === 1) {
if (slave.dietMilk === 2) {
r.push(`The high concentration of milk in ${his} food <span class="fetish inc">further`);
if (slave.fetishStrength < 60) {
r.push(`habituates`);
} else {
r.push(`endears`);
}
r.push(`${him} to the corruption of normal pregnancy and motherhood.</span>`);
slave.fetishStrength += 1;
} else if (slave.dietMilk === 1) {
r.push(`Having milk added to ${his} food makes ${him} `);
if (slave.fetishStrength < 60) {
r.push(`<span class="fetish inc">accept perversion of normal pregnancy.</span>`);
} else {
r.push(`<span class="fetish inc">even hornier for anything related to pregnancy.</span>`);
}
slave.fetishStrength += 1;
}
}
}
} else {
if (slave.dietMilk === 2) {
r.push(`${He} hates ${himself} for it, but the breast growth fanatic is <span class="devotion inc">grateful</span> to have so much mother's milk in ${his} diet, especially because ${he}'s given extra food this week.`);
slave.devotion += 1;
} else if (slave.dietMilk === 1) {
r.push(`The breast growth fanatic <span class="trust dec">anxiously</span> slurps up every drop of ${his} milk-supplemented food this week. ${He} eats all the extra food ${he}'s given and is <span class="devotion dec">disturbed</span> by ${his} insatiable hunger for more mother's milk.`);
slave.devotion -= 1;
slave.trust -= 1;
}
}
}
} else { // For Devotion Higher than 20 See Below for more diet effects for this condition
if (slave.sexualFlaw === "cum addict") {
if (slave.dietCum === 2) {
r.push(`${His} diet is almost pure human ejaculate with nutritional`);
if (slave.behavioralFlaw === "anorexic") {
r.push(`additives. Despite ${his} desire to remain thin, ${his} cum addiction is even more powerful.`);
} else {
r.push(`additives — the perfect food for a cum addict.`);
}
r.push(`${He} gets extra food this week. ${He} makes a sloppy mess at feeding time, getting cum all over ${himself}, and ${he} is unashamed of ${his} pathological need to be your cum-fed slut. <span class="devotion inc">${He}'s a happy little cum-piggy.</span> The only drawback is that some of ${his} food ends up on ${him}, rather than in ${him}.`);
slave.devotion += 3;
weightGain = 4;
} else if (slave.dietCum === 1) {
r.push(`${His} food is infused with ejaculate,`);
if (slave.behavioralFlaw === "anorexic") {
r.push(`and ${his} cum addiction trumps ${his} desire to remain thin. ${He}`);
} else {
r.push(`${he}`);
}
r.push(`is <span class="devotion inc">thrilled to get extra this week.</span> ${He} gobbles down every last drop like the happy`);
if (slave.weight < 0) {
r.push(`little`);
} else {
r.push(`chubby`);
}
r.push(`cum addict ${he} is.`);
slave.devotion += 2;
}
}
}
}
if (weightGain > 0) {
if (weightGain === 5) {
r.push(`${He} gains weight.`);
} else if (weightGain >= 3) {
r.push(`${He} gains some weight.`);
} else if (weightGain >= 1) {
r.push(`${He} gains a little weight, but ${his} progress was severely limited by what ${he} was forced to eat, <span class="trust dec">making for an anxious week for ${him}.</span>`);
slave.trust -= 1;
}
weightGain += V.feeder * 2;
if (slave.weightDirection === -1) {
slave.weight += Math.max((weightGain - 3) - (V.feeder), 1);
} else if (slave.weightDirection === 1) {
slave.weight += weightGain + 3;
} else {
slave.weight += weightGain;
}
weightGainShared(slave);
if (slave.geneticQuirks.galactorrhea === 2 && random(1, 100) < slave.hormoneBalance && slave.lactation === 0) {
App.EndWeek.saVars.inappropriateLactation = 1;
}
} else if (slave.weightDirection === 1) {
r.push(`${He} gains a little weight this week despite ${his} dietary troubles.`);
slave.weight += 1;
} else {
r.push(`${He} doesn't gain any weight this week.`);
}
}
slave.weight = Math.min(slave.weight, 200);
break;
case "corrective": // normalizes weight towards 0
weightShift = 0;
if (slave.weight < -10) {
weightShift = V.feeder + 1;
r.push(`By carefully adjusting ${his} intake, ${he} slowly puts on weight without realizing it.`);
} else if (slave.weight > 10) {
weightShift = -(V.feeder + 1);
r.push(`By carefully adjusting ${his} intake, ${he} slowly loses on weight without realizing it.`);
}
if (slave.weightDirection === -1) {
slave.weight += (weightShift - random(0, 1));
} else if (slave.weightDirection === 1) {
slave.weight += (weightShift + random(0, 1));
} else {
slave.weight += weightShift;
}
if (weightShift < 0) {
if (slave.hormoneBalance > 30 && slave.geneMods.NCS !== 0) { // 'Expected' breast size based on weight for feminine-bodied slaves
growthGoal = Math.trunc((100 + (slave.weight + 100) * 5 + 2 * slave.lactationAdaptation) * (0.85 + slave.hormoneBalance / 400) * gigantomastiaMod);
roll = 600;
target = Math.trunc(Math.clamp(weightShift * 20 + (boobSize - growthGoal) / 5, 0, 270));
} else { // For masculine- and childish-bodied slaves
growthGoal = ((slave.weight + 100) * 2 + slave.lactationAdaptation) * gigantomastiaMod;
roll = 200;
target = Math.trunc(Math.clamp(weightShift * 2 + (boobSize - growthGoal) / 20, 0, 68));
}
if (random(1, roll) <= target && gigantomastiaMod !== 3 && boobSize >= 100) {
if (random(1, 2) === 1) {
r.push(`<span class="change negative">${His} breasts get smaller.</span>`);
slave.boobs -= 20;
} else {
r.push(`<span class="change negative">${His} breasts get a little smaller.</span>`);
slave.boobs -= 10 * (1 + slave.geneMods.NCS);
}
}
if (slave.hormoneBalance > 30) { // 'Expected' butt size based on weight for feminine-bodied slaves, scaled up by 1000 */
growthGoal = Math.trunc((slave.weight + 100) * 25 * (0.9 + slave.hormoneBalance / 600) * (rearQuirk / 2 + 1));
roll = 60000;
target = Math.trunc(Math.clamp(weightShift * 1000 + (buttSize * 1000 - growthGoal) * 2, 0, 36000));
} else { // For masculine- and childish-bodied slaves, likewise scaled up
growthGoal = Math.trunc((slave.weight + 100) * 12.5) * (rearQuirk / 2 + 1);
roll = 100000;
target = Math.trunc(Math.clamp(weightShift * 1000 + (buttSize * 1000 - growthGoal) * 4, 0, 72000));
}
if (random(1, roll) <= target && buttSize > 0) {
if (slave.geneMods.NCS === 1 && buttSize > 2) { // TODO: WRITE BRANCH
r.push(`<span class="change negative">${His} butt gets a little smaller.</span>`);
slave.butt -= 1;
} else {
r.push(`<span class="change negative">${His} butt gets a little smaller.</span>`);
slave.butt -= 1;
}
}
} else if (weightShift > 0) {
if (slave.hormoneBalance > 30 && slave.geneMods.NCS !== 1) { // 'Expected' breast size based on weight for feminine-bodied slaves */
growthGoal = Math.trunc((100 + (slave.weight + 100) * 5 + 2 * slave.lactationAdaptation) * (0.85 + slave.hormoneBalance / 400) * gigantomastiaMod);
roll = 600;
target = Math.trunc(Math.clamp(weightShift * 20 - (boobSize - growthGoal) / 5, 0, 270));
} else { // For masculine- and childish-bodied slaves */
growthGoal = ((slave.weight + 100) * 2 + slave.lactationAdaptation) * gigantomastiaMod;
roll = 200;
target = Math.trunc(Math.clamp(weightShift * 2 - (boobSize - growthGoal) / 20, 0, 68));
}
if (slave.geneMods.NCS === 1) {
roll *= 2;
}
if (random(1, roll) <= target) {
if (random(1, 2) === 1) {
r.push(`<span class="change positive">${His} breasts get bigger.</span>`);
slave.boobs += 40 / (1 + slave.geneMods.NCS);
} else {
r.push(`<span class="change positive">${His} breasts get a little bigger.</span>`);
slave.boobs += 20 / (1 + slave.geneMods.NCS);
}
}
if (slave.hormoneBalance > 30) { // 'Expected' butt size based on weight for feminine-bodied slaves, scaled up by 1000
growthGoal = Math.trunc((slave.weight + 100) * 25 * (0.9 + slave.hormoneBalance / 600) * (rearQuirk / 2 + 1));
roll = 60000;
target = Math.trunc(Math.clamp(weightShift * 1000 - (buttSize * 1000 - growthGoal) * 2, 0, 36000));
} else { // For masculine- and childish-bodied slaves, likewise scaled up
growthGoal = Math.trunc((slave.weight + 100) * 12.5) * (rearQuirk / 2 + 1);
roll = 100000;
target = Math.trunc(Math.clamp(weightShift * 1000 - (buttSize * 1000 - growthGoal) * 4, 0, 72000));
}
if (slave.geneMods.NCS === 1) {
roll *= 2;
}
if (random(1, roll) <= target) {
r.push(`<span class="change positive">${His} butt gets a little bigger.</span>`);
slave.butt += 1;
}
}
if (slave.weight >= -10 && slave.weight <= 10) {
r.push(`${He} is now a healthy weight, so ${his} diet <span class="noteworthy">has defaulted to keeping it this way.</span>`);
slave.diet = "healthy";
}
break;
case "muscle building": // Muscle Gain
if (slave.fuckdoll > 0) {
r.push(`Fuckdoll suits can force their inhabitants to`);
if (hasAnyArms(slave)) {
r.push(`lift weights`);
} else {
r.push(`exercise`);
}
r.push(`until they drop.`);
if (slave.geneticQuirks.mGain === 2) {
r.push(`${He} <span class="change positive">explosively builds`);
if (V.geneticMappingUpgrade >= 1) {
r.push(`muscle</span> aided by ${his} myotonic hypertrophy.`);
} else {
r.push(`muscle.</span>`);
}
slave.muscles += 15;
} else if (slave.geneticQuirks.mLoss === 2) {
r.push(`${He} <span class="change positive">slowly gains`);
if (V.geneticMappingUpgrade >= 1) {
r.push(`muscle</span> due to ${his} myotonic dystrophy.`);
} else {
r.push(`muscle.</span>`);
}
slave.muscles += 4;
} else {
r.push(`${He} <span class="change positive">quickly gains muscle.</span>`);
slave.muscles += 9;
}
if (random(1, 100) > 90) {
if (boobSize >= 200 * gigantomastiaMod && gigantomastiaMod !== 3) {
r.push(`<span class="change negative">${His} breasts get a little smaller.</span>`);
slave.boobs -= 50;
} else if (buttSize > 1 && (slave.geneticQuirks.rearLipedema !== 2 || (buttSize > 10 && random(1, 100) > 80))) {
r.push(`<span class="change negative">${His} butt gets a little smaller.</span>`);
slave.butt -= 1;
}
}
if (slave.weight > 10 && slave.weightDirection !== 1) {
r.push(`${His} workouts have also <span class="change positive">burned off some excess fat.</span>`);
slave.weight -= 2;
if (slave.weightDirection === -1) {
slave.weight -= 2;
}
}
slave.muscles = Math.clamp(slave.muscles, -100, 100);
if (slave.muscles >= 100) {
r.push(`${He} has plateaued at a state of <span class="lime">perfect musculature.</span>`);
slave.diet = "healthy";
}
r.push(`The stress of forced exercise is trivial compared to everything else ${he} experiences, and ${he}'s unaffected mentally.`);
} else {
if (isAmputee(slave)) {
r.push(`${He} is no longer capable of working out in any plausible way. ${His} special diet <span class="noteworthy">has ended.</span>`);
slave.diet = "healthy";
} else {
if (slave.geneticQuirks.mGain === 2) {
r.push(`${His} heavy workouts focus on lifting,`);
if (V.geneticMappingUpgrade >= 1) {
r.push(`and with ${his} myotonic hypertrophy,`);
} else {
r.push(`and despite run-of-the-mill routines,`);
}
r.push(`${he} <span class="change positive">gains muscle rapidly.</span>`);
slave.muscles += 10;
} else if (slave.drugs === "steroids") {
r.push(`${His} heavy workouts focus on lifting, and since ${he}'s on so much gear, ${he} <span class="change positive">gains muscle rapidly.</span>`);
slave.muscles += 8 + slave.geneticQuirks.mGain;
} else if (slave.geneticQuirks.mLoss === 2) {
r.push(`${His} heavy workouts focus on lifting,`);
if (V.geneticMappingUpgrade >= 1) {
r.push(`but with ${his} myotonic dystrophy,`);
} else {
r.push(`but despite ${his} efforts,`);
}
r.push(`${he} barely <span class="change positive">gains muscle.</span>`);
slave.muscles += 2;
} else if (slave.balls > 0 && slave.ballType !== "sterile" && slave.hormoneBalance >= 100) {
r.push(`${His} heavy workouts focus on lifting, but with natural testosterone and artificial female hormones clashing in ${his} system, ${he} only <span class="change positive">slowly gains muscle.</span>`);
slave.muscles += 3 + slave.geneticQuirks.mGain;
} else if (slave.balls > 0 && slave.ballType !== "sterile" && slave.hormoneBalance <= -100) {
r.push(`${His} heavy workouts focus on lifting, and with natural testosterone and artificial male hormones in ${his} system, ${he} <span class="change positive">gains muscle rapidly.</span>`);
slave.muscles += 8;
} else if (slave.balls > 0 && slave.ballType !== "sterile") {
r.push(`${His} heavy workouts focus on lifting, and with natural testosterone in ${his} system, ${he} <span class="change positive">gains muscle.</span>`);
slave.muscles += 5 + slave.geneticQuirks.mGain;
} else if (slave.balls > 0) {
r.push(`${His} heavy workouts focus on lifting, but with ${his} useless balls making little testosterone for ${his} system, ${he} only <span class="change positive">slowly gains muscle.</span>`);
slave.muscles += 2 + slave.geneticQuirks.mGain;
} else if (slave.hormoneBalance <= -100) {
r.push(`${His} heavy workouts focus on lifting, and with artificial testosterone in ${his} system, ${he} <span class="change positive">gains muscle.</span>`);
slave.muscles += 5 + slave.geneticQuirks.mGain;
} else if (slave.hormoneBalance >= 100) {
r.push(`${His} heavy workouts focus on lifting, but with lots of female hormones in ${his} system, ${he} barely <span class="change positive">gains muscle.</span>`);
slave.muscles += 2 + slave.geneticQuirks.mGain;
} else {
r.push(`${His} heavy workouts focus on lifting, and ${he} <span class="change positive">slowly gains muscle.</span>`);
slave.muscles += 3 + slave.geneticQuirks.mGain;
}
if (slave.behavioralQuirk === "fitness") {
r.push(`${He} attacks lifting with real enthusiasm, further increasing ${his} mass.`);
slave.muscles += 2 + slave.geneticQuirks.mGain;
}
if ((slave.geneMods.NCS === 0 && random(1, 100) > 90) || (slave.geneMods.NCS === 1 && random(1, 100) > 45)) {
if ((slave.geneMods.NCS === 0 && boobSize >= 200) || (slave.geneMods.NCS === 1 && boobSize > 100)) {
if (slave.geneMods.NCS === 0) {
r.push(`<span class="change negative">${His} breasts get a little smaller.</span>`);
slave.boobs -= 50;
} else {
r.push(`<span class="change negative">${His} breasts get smaller.</span>`);
slave.boobs -= 100;
}
} else if (buttSize > 1 && (slave.geneticQuirks.rearLipedema !== 2 || (buttSize > 10 && random(1, 100) > 80))) {
if (slave.geneMods.NCS === 0 || buttSize === 1) {
r.push(`<span class="change negative">${His} butt gets a little smaller.</span>`);
slave.butt -= 1;
} else {
r.push(`<span class="change negative">${His} butt gets smaller.</span>`);
slave.butt -= 2;
}
}
}
if (random(1, 100) > 80) {
r.push(`${His} workout successes have <span class="health inc">improved ${his} health.</span>`);
improveCondition(slave, 10);
}
if (slave.weight > 10 && slave.weightDirection !== 1) {
r.push(`${His} workouts have also <span class="change positive">burned off some excess fat.</span>`);
slave.weight -= 2;
if (slave.weightDirection === -1) {
slave.weight -= 2;
}
}
slave.muscles = Math.clamp(slave.muscles, -100, 100);
if (slave.muscles >= 100) {
r.push(`${He} has plateaued at a state of <span class="lime">goddess-like musculature.</span>`);
slave.diet = "healthy";
}
}
}
break;
case "slimming": // Muscle Loss
if (slave.fuckdoll > 0) {
r.push(`Fuckdoll suits can force their inhabitants to exercise until they drop.`);
if (slave.geneticQuirks.mLoss === 2) {
r.push(`${He} <span class="change positive">rapidly sheds`);
if (V.geneticMappingUpgrade >= 1) {
r.push(`muscle</span> aided by ${his} myotonic dystrophy.`);
} else {
r.push(`muscle.</span>`);
}
slave.muscles = Math.clamp(slave.muscles - 15, -100, 100);
} else if (slave.geneticQuirks.mGain === 2) {
r.push(`${He} <span class="change positive">slowly loses`);
if (V.geneticMappingUpgrade >= 1) {
r.push(`musculature</span> due to ${his} myotonic hypertrophy steadily trying to put it back.`);
} else {
r.push(`musculature.</span>`);
}
slave.muscles -= 4;
} else {
r.push(`${He} <span class="change positive">loses musculature.</span>`);
slave.muscles -= 9;
}
if (random(1, 100) > 90) {
if (boobSize >= 200 * gigantomastiaMod && gigantomastiaMod !== 3) {
r.push(`<span class="change negative">${His} breasts get a little smaller.</span>`);
slave.boobs -= 50;
} else if (buttSize > 1 && (slave.geneticQuirks.rearLipedema !== 2 || (buttSize > 10 && random(1, 100) > 80))) {
r.push(`<span class="change negative">${His} butt gets a little smaller.</span>`);
slave.butt -= 1;
}
}
if (slave.weight > 10 && slave.weightDirection !== 1) {
r.push(`${His} workouts have also <span class="change positive">burned off some excess fat.</span>`);
slave.weight -= 2;
if (slave.weightDirection === -1) {
slave.weight -= 2;
}
}
slave.muscles = Math.clamp(slave.muscles, -100, 100);
if (slave.muscles <= 0) {
r.push(`${He} has finally <span class="lime">lost all visible musculature.</span>`);
slave.diet = "healthy";
}
r.push(`The stress of forced exercise is trivial compared to everything else ${he} experiences, and ${he}'s unaffected mentally.`);
} else {
if (!canWalk(slave)) {
r.push(`${He} is no longer capable of actively working out. ${His} special diet <span class="noteworthy">has ended.</span>`);
slave.diet = "healthy";
} else if (slave.muscles > 0) {
if (slave.geneticQuirks.mLoss === 2) {
r.push(`${His} long workouts focus on cardio,`);
if (V.geneticMappingUpgrade >= 1) {
r.push(`and with ${his} myotonic dystrophy,`);
} else {
r.push(`and despite run-of-the-mill routines,`);
}
r.push(`${he} <span class="change positive">rapidly loses musculature.</span>`);
slave.muscles -= 10;
} else if (slave.geneticQuirks.mGain === 2) {
r.push(`${His} long workouts focus on cardio,`);
if (V.geneticMappingUpgrade >= 1) {
r.push(`but with ${his} myotonic hypertrophy,`);
} else {
r.push(`but despite ${his} best efforts,`);
}
r.push(`${he} <span class="change positive">loses mass slowly.</span>`);
slave.muscles -= 2;
} else if (slave.drugs === "steroids") {
r.push(`${His} long workouts focus on cardio, but since ${he}'s still shooting gear, ${he} <span class="change positive">loses mass slowly.</span>`);
slave.muscles -= 3 + slave.geneticQuirks.mLoss;
} else if (slave.balls > 0 && slave.ballType !== "sterile" && slave.hormoneBalance <= -100) {
r.push(`${His} long workouts focus on cardio, but since ${he}'s got so much natural and artificial testosterone, ${he} <span class="change positive">loses mass slowly.</span>`);
slave.muscles -= 3 + slave.geneticQuirks.mLoss;
} else if (slave.balls > 0 && slave.ballType !== "sterile" && slave.hormoneBalance >= 100) {
r.push(`${His} long workouts focus on cardio, and with the natural testosterone in ${his} system counteracted by hormone treatment, ${he} <span class="change positive">loses musculature.</span>`);
slave.muscles -= 5 + slave.geneticQuirks.mLoss;
} else if (slave.balls > 0 && slave.ballType !== "sterile") {
r.push(`${His} long workouts focus on cardio, but with some natural testosterone in ${his} system, ${he} <span class="change positive">loses muscle slowly.</span>`);
slave.muscles -= 3 + slave.geneticQuirks.mLoss;
} else if (slave.balls > 0) {
r.push(`${His} long workouts focus on cardio, and with ${his} useless balls not producing much testosterone, ${he} <span class="change positive">loses musculature.</span>`);
slave.muscles -= 5 + slave.geneticQuirks.mLoss;
} else if (slave.hormoneBalance >= 100) {
r.push(`${His} long workouts focus on cardio, and with female hormone treatment, ${he} <span class="change positive">loses musculature rapidly.</span>`);
slave.muscles -= 8 + slave.geneticQuirks.mLoss;
} else if (slave.hormoneBalance <= -100) {
r.push(`${His} long workouts focus on cardio, but under male hormone treatment, ${he} <span class="change positive">loses muscle slowly.</span>`);
slave.muscles -= 3 + slave.geneticQuirks.mLoss;
} else {
r.push(`${His} long workouts focus on cardio, and ${he} <span class="change positive">loses musculature.</span>`);
slave.muscles -= 5 + slave.geneticQuirks.mLoss;
}
if (slave.behavioralQuirk === "fitness") {
r.push(`${He} approaches endurance work with real enthusiasm, quickly slimming ${him} down.`);
slave.muscles -= 2 + slave.geneticQuirks.mLoss;
}
if (((slave.geneMods.NCS === 0 && random(1, 100) > 90)) || (slave.geneMods.NCS === 1 && random(1, 100) > 45)) {
if ((slave.geneMods.NCS === 0 && boobSize >= 200) || (slave.geneMods.NCS === 1 && boobSize > 100) && gigantomastiaMod !== 3) {
if (slave.geneMods.NCS === 0) {
r.push(`<span class="change negative">${His} breasts get a little smaller.</span>`);
slave.boobs -= 50;
} else {
r.push(`<span class="change negative">${His} breasts get smaller.</span>`);
slave.boobs -= 100;
}
} else if (buttSize > 1 && (slave.geneticQuirks.rearLipedema !== 2 || (buttSize > 10 && random(1, 100) > 80))) {
if (slave.geneMods.NCS === 0 || buttSize === 1) {
r.push(`<span class="change negative">${His} butt gets a little smaller.</span>`);
slave.butt -= 1;
} else {
r.push(`<span class="change negative">${His} butt gets smaller.</span>`);
slave.butt -= 2;
}
}
}
if (random(1, 100) > 80) {
r.push(`${His} workout successes have <span class="health inc">improved ${his} health.</span>`);
improveCondition(slave, 10);
}
if (slave.weight > 10 && slave.weightDirection !== 1) {
r.push(`${His} workouts have also <span class="change positive">burned off some excess fat.</span>`);
slave.weight -= 2;
if (slave.weightDirection === -1) {
slave.weight -= 2;
}
}
slave.muscles = Math.clamp(slave.muscles, 0, 100);
if (slave.muscles <= 0) {
r.push(`${He} has finally <span class="orange">lost all visible musculature.</span>`);
slave.diet = "healthy";
}
} else {
r.push(`${His} long workouts focus on cardio to keep ${his} body lithe.`);
if (slave.behavioralQuirk === "fitness") {
r.push(`${He} <span class="devotion inc">enjoys</span> the time ${he}'s given to work out.`);
slave.devotion += 2;
}
if (slave.muscles < -10) {
r.push(`Since ${he} is rather weak, ${his} routine slowly tones ${his} soft muscles.`);
slave.muscles++;
}
if (((slave.geneMods.NCS === 0 && boobSize >= 200) || (slave.geneMods.NCS === 1 && (boobSize > 100))) && gigantomastiaMod !== 3) {
if (slave.geneMods.NCS === 0) {
r.push(`<span class="change negative">${His} breasts get a little smaller.</span>`);
slave.boobs -= 50;
} else {
r.push(`<span class="change negative">${His} breasts get smaller.</span>`);
slave.boobs -= 100;
}
}
if (random(1, 100) > 50) {
if (buttSize > 1 && (slave.geneticQuirks.rearLipedema !== 2 || (buttSize > 10 && random(1, 100) > 80))) {
r.push(`<span class="change negative">${His} butt loses a little mass.</span>`);
slave.butt -= 1;
}
}
if (random(1, 100) > 50 && slave.health.condition <= 90 && slave.health.condition >= -20) {
r.push(`${His} workout successes have <span class="health inc">improved ${his} health.</span>`);
improveCondition(slave, 5);
}
if (slave.weight > 10 && slave.weightDirection !== 1) {
r.push(`${His} workouts have also <span class="change positive">burned off some excess fat.</span>`);
slave.weight -= 2;
if (slave.weightDirection === -1) {
slave.weight -= 2;
}
}
}
}
break;
case "cum production":
if (slave.fuckdoll > 0) {
r.push(`Fuckdoll suits have easily attached reservoirs to catch excess cum.`);
if (slave.geneMods.NCS === 0 && slave.balls < 6 && random(1, 100) > 90) {
r.push(`${His} <span class="fetish gain">balls swell</span> to better accommodate ${his} increased cum production.`);
slave.balls += 1;
} else if (slave.geneMods.NCS === 1 && slave.balls < 3 && random(1, 100) > 95) {
r.push(`${He}'s <span class="fetish gain">balls grow slightly</span> to better accommodate ${his} increased cum production.`);
slave.balls += 1;
}
} else {
if (slave.fetish !== "mindbroken") {
if (slave.attrXX < 80) {
r.push(`${He} finds ${himself} <span class="improvement">fantasizing about fucking girls</span> in ${his} free time.`);
slave.attrXX += 2;
}
if (slave.fetishKnown === 1) {
if (slave.fetishStrength < 95 && slave.fetish === "pregnancy") {
r.push(`${His} thoughts frequently drift towards <span class="fetish inc">bellies swelling with ${his} children</span> whenever ${he} has sex or pleasures ${himself}.`);
slave.fetishStrength += 1;
} else if (slave.energy < 90 && slave.fetish === "pregnancy") {
r.push(`${His} eagerness for sex <span class="improvement">grows stronger</span> the more ${his} aching nuts yearn to inseminate a fertile womb.`);
slave.energy += 1;
}
}
if (slave.fetishStrength <= 65) {
if (slave.fetish !== "pregnancy") {
if (fetishChangeChance(slave) > random(0, 100)) {
r.push(`${He} begins to find the thought of filling a fertile womb with sperm <span class="fetish gain">irresistible.</span>`);
slave.fetish = "pregnancy";
slave.fetishStrength = 10;
slave.fetishKnown = 1;
}
}
}
}
if (slave.geneMods.NCS === 0 && slave.balls < 6 && random(1, 100) > 90) {
r.push(`${His} <span class="change positive">balls swell</span> to better accommodate ${his} increased cum production.`);
slave.balls += 1;
} else if (slave.geneMods.NCS === 1 && slave.balls < 3 && random(1, 100) > 95) {
r.push(`${His} <span class="change positive">balls grow slightly</span> to better accommodate ${his} increased cum production.`);
slave.balls += 1;
}
}
break;
case "XX": // Female Hormones
if (slave.fuckdoll > 0) {
r.push(`The ports in Fuckdoll suits allow total dietary control, and ${he}'s barely aware ${he}'s being <span class="lime">feminized.</span>`);
} else {
if (slave.behavioralQuirk === "insecure") {
if (slave.balls > 0) {
r.push(`Despite some doubts lurking at the back of ${his} mind, your insistence that ${he} will be prettier if ${he} was more feminine <span class="devotion inc">lets ${him} enjoy</span> the estrogen rich food given to ${him}.`);
slave.devotion += 1;
} else if (slave.ovaries === 1 || slave.mpreg === 1) {
r.push(`Despite some doubts lurking at the back of ${his} mind, your insistence that ${he} will be prettier if ${he} was more fertile <span class="devotion inc">lets ${him} enjoy</span> the estrogen rich food given to ${him}.`);
slave.devotion += 1;
}
}
}
if ((slave.ovaries === 1 || slave.mpreg === 1) && slave.balls > 0) { // herm
if (slave.weight < 30 && slave.weightDirection !== -1) {
r.push(`Hormonal changes encourage ${his} body to <span class="change positive">grow softer.</span>`);
slave.weight += 1;
if (slave.weightDirection === 1) {
slave.weight += 2;
}
}
if (slave.geneMods.NCS === 0 && slave.boobs < 500 * gigantomastiaMod) {
r.push(`${His} breasts <span class="change positive">grow slightly</span> from the estrogen.`);
slave.boobs += 10;
}
if (slave.geneMods.NCS === 0 && slave.butt < 4 && random(1, 100) > (75 / rearQuirk)) {
r.push(`${His} rear <span class="change positive">rounds out</span> to fit ${his} developing femininity.`);
slave.butt += 1;
}
if (slave.waist > -20) {
r.push(`Hormonal changes <span class="change positive">slim ${his} waist.</span>`);
slave.waist--;
}
if (slave.dick > 1 && (((slave.geneMods.NCS === 0) && (random(1, 100) > 95)) || ((slave.geneMods.NCS === 1) && (random(1, 100) > 43)))) {
if (slave.geneMods.NCS === 1 && slave.dick > 2) {
r.push(`${His} dick <span class="change negative">shrinks down</span> due to ${his} body chemistry.`);
slave.dick -= 1;
} else {
r.push(`${His} dick <span class="change negative">shrinks slightly</span> due to ${his} body chemistry.`);
}
slave.dick -= 1;
}
if (slave.balls > 1 && (((slave.geneMods.NCS === 0) && (random(1, 100) > 95)) || ((slave.geneMods.NCS === 1) && (random(1, 100) > 43)))) {
if (slave.geneMods.NCS === 1 && slave.balls > 2) {
r.push(`${His} balls <span class="change negative">shrink down</span> due to ${his} body chemistry.`);
slave.balls -= 1;
} else {
r.push(`${His} balls <span class="change negative">shrivel</span> due to ${his} body chemistry.`);
}
slave.balls -= 1;
}
} else if (slave.ovaries === 1 || slave.mpreg === 1) { // female
if (slave.weight < 40 && slave.weightDirection !== 1) {
r.push(`Hormonal changes encourage ${his} body to <span class="change positive">grow softer.</span>`);
slave.weight += 1;
if (slave.weightDirection === 1) {
slave.weight += 2;
}
}
if (slave.geneMods.NCS === 0 && slave.boobs < 600 * gigantomastiaMod) {
r.push(`${His} breasts <span class="change positive">grow slightly</span> from the estrogen.`);
slave.boobs += 10;
}
if (slave.waist > -30) {
r.push(`Hormonal changes <span class="change positive">slim ${his} waist.</span>`);
slave.waist--;
}
if (slave.geneMods.NCS === 0 && slave.butt < 5 && random(1, 100) > (75 / rearQuirk)) {
r.push(`${His} rear <span class="change positive">rounds out</span> to fit ${his} developing femininity.`);
slave.butt += 1;
}
} else if (slave.balls > 0) { // male
if (slave.weight < 20 && slave.weightDirection !== 1) {
r.push(`Hormonal changes encourage ${his} body to <span class="change positive">grow softer.</span>`);
slave.weight += 1;
if (slave.weightDirection === 1) {
slave.weight += 2;
}
}
if (slave.geneMods.NCS === 0 && slave.boobs < 400 * gigantomastiaMod) {
r.push(`${His} breasts <span class="change positive">grow slightly</span> from the estrogen.`);
slave.boobs += 10;
}
if (slave.waist > -10) {
r.push(`Hormonal changes <span class="change positive">slim ${his} waist.</span>`);
slave.waist--;
}
if (slave.geneMods.NCS === 0 && slave.butt < 3 && random(1, 100) > (75 / rearQuirk)) {
r.push(`${His} rear <span class="change positive">rounds out</span> to fit ${his} developing femininity.`);
slave.butt += 1;
}
if (slave.dick > 1 && (((slave.geneMods.NCS === 0) && (random(1, 100) > 99)) || ((slave.geneMods.NCS === 1) && (random(1, 100) > 48)))) {
if (slave.geneMods.NCS === 1 && slave.dick > 2) {
r.push(`${His} dick <span class="change negative">shrinks down</span> due to ${his} body chemistry.`);
slave.dick -= 1;
} else {
r.push(`${His} dick <span class="change negative">shrinks slightly</span> due to ${his} body chemistry.`);
}
slave.dick -= 1;
}
if (slave.balls > 1 && (((slave.geneMods.NCS === 0) && (random(1, 100) > 99)) || ((slave.geneMods.NCS === 1) && (random(1, 100) > 48)))) {
if (slave.geneMods.NCS === 1 && slave.balls > 2) {
r.push(`${His} balls <span class="change negative">shrink down</span> due to ${his} body chemistry.`);
slave.balls -= 1;
} else {
r.push(`${His} balls <span class="change negative">shrivel</span> due to ${his} body chemistry.`);
}
slave.balls -= 1;
}
}
if (slave.fuckdoll === 0) {
if (slave.fetish !== "mindbroken") {
if (slave.attrXY < 100) {
r.push(`${He} begins to find men <span class="change positive">a little more attractive</span> thanks to the female hormones.`);
slave.attrXY += 1;
}
}
if (slave.energy < 70) {
r.push(`Hormones leave ${him} feeling <span class="change positive">a little more frisky</span> towards others.`);
slave.energy += 1;
}
}
if (slave.geneticQuirks.galactorrhea === 2 && random(1, 100) < slave.hormoneBalance && slave.lactation === 0) {
App.EndWeek.saVars.inappropriateLactation = 1;
}
break;
case "XY": // Male Hormones
if (slave.fuckdoll > 0) {
r.push(`The ports in Fuckdoll suits allow total dietary control, and ${he}'s barely aware ${he}'s becoming <span class="lime">masculine.</span>`);
} else {
if (slave.behavioralQuirk === "insecure") {
if (slave.balls > 0) {
r.push(`Despite some doubts lurking at the back of ${his} mind, your insistence that ${he} will be handsomer if ${he} was more masculine <span class="devotion inc">lets ${him} enjoy</span> the testosterone rich food given to ${him}.`);
slave.devotion += 1;
} else if (slave.ovaries === 1 || slave.mpreg === 1) {
r.push(`Despite some doubts lurking at the back of ${his} mind, your insistence that ${he} will be handsomer if ${he} was less feminine <span class="devotion inc">lets ${him} enjoy</span> the testosterone rich food given to ${him}.`);
slave.devotion += 1;
}
}
}
if ((slave.ovaries === 1 || slave.mpreg === 1) && slave.balls > 0) { // herm
if (slave.muscles < 30) {
r.push(`Hormonal changes encourage ${his} body to <span class="change positive">gain muscle.</span>`);
slave.muscles += 1 + slave.geneticQuirks.mGain;
}
if (slave.geneMods.NCS === 0 && slave.dick < 4 && random(1, 100) > 95) {
r.push(`${His} dick <span class="change positive">grows slightly</span> due to the male hormones in ${his} diet.`);
slave.dick += 1;
}
if (slave.geneMods.NCS === 0 && slave.balls < 3 && random(1, 100) > 95) {
r.push(`${His} balls <span class="change positive">swell</span> due to the male hormones in ${his} diet.`);
slave.balls += 1;
}
if ((slave.geneMods.NCS === 0 && boobSize > 400) || (slave.geneMods.NCS === 1 && boobSize > 200) && gigantomastiaMod !== 3) {
r.push(`${His} breasts <span class="change negative">lose some mass</span> from the lack of estrogen in ${his} diet.`);
slave.boobs -= 10;
if (slave.geneMods.NCS === 1) {
slave.boobs -= 10;
}
}
if (slave.waist < 15) {
r.push(`Hormonal changes <span class="change negative">thicken ${his} waist.</span>`);
slave.waist++;
}
} else if (slave.ovaries === 1 || slave.mpreg === 1) { // female
if (slave.muscles < 15) {
r.push(`Hormonal changes encourage ${his} body to <span class="change positive">gain muscle.</span>`);
slave.muscles += 1 + slave.geneticQuirks.mGain;
}
if ((slave.geneMods.NCS === 0 && boobSize > 500) || (slave.geneMods.NCS === 1 && boobSize > 200) && gigantomastiaMod !== 3) {
r.push(`${His} breasts <span class="change negative">lose some mass</span> from the lack of estrogen in ${his} diet.`);
slave.boobs -= 10;
if (slave.geneMods.NCS === 1) {
slave.boobs -= 10;
}
}
if (slave.waist < 0) {
r.push(`Hormonal changes <span class="change negative">thicken ${his} waist.</span>`);
slave.waist++;
}
} else if (slave.balls > 0) { // male
if (slave.muscles < 60) {
r.push(`Hormonal changes encourage ${his} body to <span class="change positive">gain muscle.</span>`);
slave.muscles += 1 + slave.geneticQuirks.mGain;
}
if (slave.geneMods.NCS === 0 && slave.dick < 4 && random(1, 100) > 95) {
r.push(`${His} dick <span class="change positive">grows slightly</span> due to the male hormones in ${his} diet.`);
slave.dick += 1;
}
if (slave.waist < 30) {
r.push(`Hormonal changes <span class="change negative">thicken ${his} waist.</span>`);
slave.waist++;
}
if (slave.geneMods.NCS === 0 && slave.balls < 3 && random(1, 100) > 95) {
r.push(`${His} balls <span class="change positive">swell</span> due to the male hormones in ${his} diet.`);
slave.balls += 1;
}
if (boobSize > 300 && gigantomastiaMod !== 3) {
r.push(`${His} breasts <span class="change negative">lose some mass</span> to better suit ${his} body chemistry.`);
slave.boobs -= 10;
}
}
if (slave.fuckdoll === 0) {
if (slave.fetish !== "mindbroken") {
if (slave.attrXY < 100) {
r.push(`${He} begins to find women <span class="change positive">a little more attractive</span> thanks to the male hormones.`);
slave.attrXY += 1;
}
}
if (slave.energy < 70) {
r.push(`Hormones leave ${him} feeling <span class="change positive">a little more frisky</span> towards others.`);
slave.energy += 1;
}
}
break;
case "XXY": // Futa Hormones
if (slave.fuckdoll > 0) {
r.push(`The ports in Fuckdoll suits allow total dietary control, and ${he}'s barely aware ${he}'s becoming <span class="change positive">masculine.</span>`);
} else {
if (slave.behavioralQuirk === "insecure") {
r.push(`Despite some doubts lurking at the back of ${his} mind, your insistence that ${he} will be gorgeous if ${he} embraced both halves of ${his} sexuality <span class="devotion inc">lets ${him} enjoy</span> ${his} special diet.`);
slave.devotion += 1;
}
}
if (slave.muscles < 90) {
r.push(`Hormonal changes encourage ${his} body to <span class="change positive">gain muscle.</span>`);
slave.muscles += 1 + slave.geneticQuirks.mGain;
}
if (slave.weight < 50 && slave.weightDirection !== -1) {
r.push(`Hormonal changes encourage ${his} body to <span class="change positive">grow softer.</span>`);
slave.weight += 1;
if (slave.weightDirection === 1) {
slave.weight += 2;
}
}
if (slave.geneMods.NCS === 0 && slave.boobs < 800 * gigantomastiaMod) {
r.push(`${His} breasts <span class="change positive">grow slightly</span> to fit ${his} developing femininity.`);
slave.boobs += 10;
}
if (slave.geneMods.NCS === 0 && slave.butt < 5 && random(1, 100) > (75 / rearQuirk)) {
r.push(`${His} rear <span class="change positive">rounds out</span> to fit ${his} developing femininity.`);
slave.butt += 1;
}
if (slave.geneMods.NCS === 0 && slave.dick < 5 && random(1, 100) > 90) {
r.push(`${His} dick <span class="change positive">grows slightly</span> to fit ${his} developing masculinity.`);
slave.dick += 1;
}
if (slave.geneMods.NCS === 0 && slave.balls < 5 && random(1, 100) > 90) {
r.push(`${His} balls <span class="change positive">swell</span> to fit ${his} developing masculinity.`);
slave.balls += 1;
}
if (slave.waist < 0) {
r.push(`Hormonal changes <span class="change negative">thicken ${his} waist.</span>`);
slave.waist++;
} else if (slave.waist > 0) {
r.push(`Hormonal changes <span class="change positive">thin ${his} waist.</span>`);
slave.waist--;
}
if (slave.fuckdoll === 0) {
if (slave.fetish !== "mindbroken") {
if (slave.attrXX < 100) {
r.push(`${He} begins to find women <span class="change positive">a little more attractive</span> thanks to ${his} specialized hormones.`);
slave.attrXX += 1;
}
if (slave.attrXY < 100) {
r.push(`${He} begins to find men <span class="change positive">a little more attractive</span> thanks to ${his} specialized hormones.`);
slave.attrXY += 1;
}
}
if (slave.energy < 90) {
r.push(`Hormones leave ${him} feeling <span class="change positive">a little more frisky</span> towards others.`);
slave.energy += 1;
}
}
if (slave.geneticQuirks.galactorrhea === 2 && random(1, 100) < slave.hormoneBalance && slave.lactation === 0) {
App.EndWeek.saVars.inappropriateLactation = 1;
}
break;
case "cleansing": // chem reduce and health plus
if (slave.fuckdoll > 0) {
r.push(`The ports in Fuckdoll suits allow total dietary control, and ${he}'s barely aware ${he}'s <span class="health inc">becoming healthier.</span>`);
} else if (slave.fetish === "mindbroken") {
r.push(`${His} diet tastes and smells awful, but such things are lost on ${his} broken mind. ${His} body <span class="health inc">appreciates</span> it, however.`);
} else if (!canSmell(slave) && !canTaste(slave)) {
r.push(`${His} diet tastes and smells awful, but ${he} is incapable of recognizing it, allowing ${him} to feel nothing but its <span class="health inc">significant restorative effect.</span> ${He} <span class="trust inc">trusts you more</span> since you seem to care about ${his} health`);
slave.trust++;
} else if (!canSmell(slave) || !canTaste(slave)) {
r.push(`${His} diet <span class="mediumorchid">tastes and smells awful,</span> but ${he} is thankfully only partially aware of this, allowing ${him} to appreciate its <span class="health inc">significant restorative effect</span> a bit more. ${He} <span class="trust inc">trusts you more</span> since you seem to care about ${his} health`);
slave.devotion -= 1;
slave.trust++;
} else if (slave.sexualFlaw === "self hating") {
r.push(`${His} diet <span class="devotion inc">tastes and smells awful,</span> the perfect meal for such a wretched creature as ${himself}. ${He} knows you are <span class="health inc">preserving ${his} health</span> but doesn't understand why you'd waste time and credits on ${him}.`);
slave.devotion += 2;
} else {
r.push(`${His} diet <span class="devotion desc">tastes and smells awful</span> but ${he} actively <span class="health inc">feels better</span> the more ${he} eats. ${He} <span class="trust inc">trusts you more</span> since you seem to care about ${his} health.`);
slave.devotion -= 2;
slave.trust++;
}
if (slave.health.condition <= 90) {
improveCondition(slave, 2);
}
if (slave.chem > 2) {
slave.chem -= 2;
}
if (slave.health.condition > 90 && slave.chem < 10) {
if (slave.fuckdoll > 0) {
r.push(`${He} can't get any healthier. <span class="noteworthy">${His} cleansing diet has been ended.</span>`);
} else {
r.push(`${His} health, all things considered, cannot get much better. <span class="noteworthy">${His} cleansing diet has ended.</span>`);
}
slave.diet = "healthy";
}
break;
case "fertility": // + ovum and small boosts to energy and attrXY
superFetKnown = (slave.geneticQuirks.superfetation === 2 && V.geneticMappingUpgrade >= 1);
if (slave.fuckdoll > 0) {
r.push(`The ports in Fuckdoll suits allow total dietary control, and ${he}'s barely aware ${he}'s being <span class="change positive">prepared to carry multiples.</span>`);
}
if (!isFertile(slave) || (slave.preg !== 0)) {
if (!superFetKnown) {
if (slave.pregKnown === 0 && slave.preg > 0) {
if (slave.fuckdoll > 0) {
r.push(`${His} suit alerts you to the diet not working due to <span class="pregnant">pregnancy.</span>`);
} else {
r.push(`The diet is not properly working; tests reveal the reason is a <span class="pregnant">new pregnancy.</span>`);
}
slave.pregKnown = 1;
r.push(`<span class="noteworthy">${His} fertility diet has been ended.</span>`);
slave.diet = "healthy";
} else {
if (slave.fuckdoll > 0) {
r.push(`${He} is no longer able to be impregnated.`);
} else {
r.push(`${He} is no longer able to get pregnant, for one reason or another.`);
}
r.push(`<span class="noteworthy">${His} fertility diet has been ended.</span>`);
slave.diet = "healthy";
}
}
}
if (slave.diet === "fertility" && slave.fuckdoll === 0) {
if (slave.fetish === "mindbroken") {
r.push(`${He} doesn't really notice that <span class="change positive">${his} body is being prepared to `);
if (superFetKnown) {
r.push(`develop additional pregnancies`);
} else {
r.push(`carry multiples`);
}
r.push(`</span> by ${his} diet.`);
if (slave.energy < 45 && slave.energy > 20) {
r.push(`${He} begins craving <span class="improvement">sex for the sole purpose of reproduction,</span> even if ${he} doesn't comprehend it.`);
slave.energy++;
}
} else if (slave.sexualFlaw === "breeder") {
r.push(`${His} diet is <span class="change positive">prepping ${him} to `);
if (superFetKnown) {
r.push(`develop additional pregnancies,`);
} else {
r.push(`carry multiple fetuses,`);
}
r.push(`</span> and ${he} feels it. ${He}`);
if (slave.bellyPreg >= 1000) {
r.push(`<span class="devotion inc">eagerly awaits to find just how pregnant ${he} can become.</span>`);
} else {
r.push(`<span class="devotion inc">eagerly awaits to swell with children.</span>`);
}
slave.devotion += 2;
if (slave.attrXY < 70) {
r.push(`${He} certainly notices <span class="improvement">how much more attractive men are.</span>`);
slave.attrXY += 2;
}
if (slave.energy < 45 && slave.energy > 20) {
r.push(`${He} begins craving <span class="improvement">penetrative sex and hot loads left inside ${him}</span> as well.`);
slave.energy++;
}
} else {
r.push(`${He} doesn't really notice that <span class="change positive">${his} body is being prepared to `);
if (superFetKnown) {
r.push(`develop additional pregnancies`);
} else {
r.push(`carry multiples`);
}
r.push(`</span> by ${his} diet, other than the slight`);
if (slave.bellyPreg >= 1000) {
r.push(`tingling in ${his} swollen belly.`);
} else {
r.push(`tingle in ${his} lower belly.`);
}
if (slave.attrXY < 70) {
r.push(`${He} certainly notices <span class="improvement">how much more attractive men are,</span> however.`);
slave.attrXY += 2;
}
if (slave.energy < 45 && slave.energy > 20) {
r.push(`${He} begins craving <span class="improvement">penetrative sex and hot loads left inside ${him}</span> as well.`);
slave.energy++;
}
}
}
break;
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function weightGainShared(slave) {
if (slave.hormoneBalance > 30 && slave.geneMods.NCS !== 1) { // 'Expected' breast size based on weight for feminine-bodied slaves */
growthGoal = Math.trunc((100 + (slave.weight + 100) * 5 + 2 * slave.lactationAdaptation) * (0.85 + slave.hormoneBalance / 400) * gigantomastiaMod);
roll = 300;
target = Math.trunc(Math.clamp(weightGain * 20 - (boobSize - growthGoal) / 5, 0, 270));
} else { // For masculine and childish-bodied slaves
growthGoal = ((slave.weight + 100) * 2 + slave.lactationAdaptation) * gigantomastiaMod;
roll = 75;
target = Math.trunc(Math.clamp(weightGain * 2 - (boobSize - growthGoal) / 20, 0, 68));
}
if (slave.geneMods.NCS === 1) {
roll *= 2;
}
if (random(1, roll) <= target) {
if (random(1, 2) === 1) {
r.push(`<span class="change positive">${His} breasts get bigger.</span>`);
slave.boobs += 100 / (1 + slave.geneMods.NCS);
} else {
r.push(`<span class="change positive">${His} breasts get a little bigger.</span>`);
slave.boobs += 50 / (1 + slave.geneMods.NCS);
}
}
if (slave.hormoneBalance > 30) { // 'Expected' butt size based on weight for feminine-bodied slaves, scaled up by 1000
growthGoal = Math.trunc((slave.weight + 100) * 25 * (0.9 + slave.hormoneBalance / 600) * (rearQuirk / 2 + 1));
roll = 40000;
target = Math.trunc(Math.clamp(weightGain * 1000 - (buttSize * 1000 - growthGoal) * 2, 0, 36000));
} else { // For masculine and childish-bodied slaves, likewise scaled up
growthGoal = Math.trunc((slave.weight + 100) * 12.5) * (rearQuirk / 2 + 1);
roll = 80000;
target = Math.trunc(Math.clamp(weightGain * 1000 - (buttSize * 1000 - growthGoal) * 4, 0, 72000));
}
if (slave.geneMods.NCS === 1) {
roll *= 2;
}
if (random(1, roll) <= target) {
r.push(`<span class="change positive">${His} butt gets a little bigger.</span>`);
slave.butt += 1;
}
if (slave.weight > 200) {
r.push(`${He} is now quite fat, so ${his} diet <span class="noteworthy">has defaulted to maintenance of this weight.</span>`);
slave.diet = "healthy";
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function geneticQuirkEffects(slave) {
if (!["muscle building", "slimming"].includes(slave.diet)) {
if (slave.geneticQuirks.mLoss === 2 && slave.muscles > -100) {
if (V.geneticMappingUpgrade >= 1) {
r.push(`${His} body <span class="lime">passively loses muscle mass</span> due to ${his} myotonic dystrophy.`);
}
Math.clamp(slave.muscles -= 3, -100, 100);
} else if (slave.geneticQuirks.mGain === 2 && slave.muscles < 100 && slave.weight >= -95) {
if (V.geneticMappingUpgrade >= 1) {
r.push(`${His} body <span class="lime">passively builds muscle mass</span> due to ${his} myotonic hypertrophy.`);
}
Math.clamp(slave.muscles += 3, -100, 100);
}
}
if (!["fattening", "restricted", "slimming"].includes(slave.diet)) {
if (slave.weightDirection === -1 && slave.weight > -100) {
if (V.geneticMappingUpgrade >= 1) {
r.push(`${His} body <span class="lime">aggressively burns fat</span> due to ${his} `);
if (slave.geneticQuirks.wGain === 2 && slave.geneticQuirks.wLoss === 2) {
r.push(`irregular leptin production.`);
} else {
r.push(`hypoleptinemia.`);
}
}
Math.clamp(slave.weight -= 3, -100, 200);
} else if (slave.weightDirection === 1 && slave.weight < 200) {
if (V.geneticMappingUpgrade >= 1) {
r.push(`${His} body <span class="lime">aggressively stores fat</span> due to ${his} `);
if (slave.geneticQuirks.wGain === 2 && slave.geneticQuirks.wLoss === 2) {
r.push(`irregular leptin production.`);
} else {
r.push(`hyperleptinemia.`);
}
}
Math.clamp(slave.weight += 3, -100, 200);
}
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function cumDiet(slave) {
if (slave.devotion > 20) { // Diet effects for Devotion over 20 — For ALL cum diets
if (slave.fetishStrength > 95 && slave.fetish === "cumslut" && slave.fetishKnown === 1) {
r.push(`${He} <span class="devotion inc">regularly orgasms</span> while sucking down ${his} cum-infused breakfast.`);
slave.devotion += 1;
} else if (slave.energy > 95 || (slave.fetish === "cumslut" && slave.fetishKnown === 1)) {
r.push(`${He} <span class="devotion inc">enjoys</span> the perversity of having large amounts of ejaculate in ${his} diet.`);
slave.devotion += 1;
} else { // high energy obscures cumlust
r.push(`${He} <span class="devotion inc">seems to enjoy</span> consuming large amounts of ejaculate with each meal. ${He} indeniably <span class="fetish gain">has a taste for cum.</span>`);
slave.devotion += 1;
slave.fetishKnown = 1;
}
if (slave.fetishStrength <= 95) {
if (slave.fetish !== "cumslut") {
if (fetishChangeChance(slave) > random(0, 100)) {
r.push(`After sucking down cum for sustenance, ${he} has started to think of the stuff as a <span class="fetish gain">normal part</span> of life.`);
slave.fetish = "cumslut";
slave.fetishKnown = 1;
slave.fetishStrength = 10;
}
}
}
} else { // For devotion under 20. This is for all cum diets EXCEPT restricted and fattening diets. See above for those effects
if (slave.sexualFlaw !== "cum addict") {
if (slave.fetish !== "cumslut") {
if (slave.diet !== "fattening" && slave.diet !== "restricted") {
if (slave.energy < 60) {
if (slave.dietCum === 2) {
r.push(`${His} diet is basically pure ejaculate supplemented by nutritional vitamins. Being forced to rely on human sex-fluid for sustenance <span class="devotion dec">nauseates ${him}.</span>`);
slave.devotion -= 3;
} else if (slave.dietCum === 1) {
r.push(`${He} is <span class="devotion dec">nauseated</span> by the large amounts of ejaculate in ${his} diet.`);
slave.devotion -= 2;
}
if (slave.weight > -100) {
if (V.cockFeeder !== 1) {
if (slave.dietCum === 2) {
r.push(`${He} has trouble keeping ${his} disgusting food down; ${he} loses weight.`);
Math.clamp(slave.weight -= 5, -100, 200);
} else if (slave.dietCum === 1) {
if (random(1, 3) === 3) {
r.push(`${He} has trouble keeping ${his} disgusting food down; ${he} loses weight.`);
Math.clamp(slave.weight -= 5, -100, 200);
if (boobSize >= 200 * gigantomastiaMod && gigantomastiaMod !== 3) {
r.push(`<span class="change negative">${His} breasts get a little smaller.</span>`);
slave.boobs -= 50;
} else if (buttSize > 1 && (slave.geneticQuirks.rearLipedema !== 2 || (slave.butt > 10 && random(1, 100) > 80))) {
r.push(`<span class="change negative">${His} butt gets a little smaller.</span>`);
slave.butt -= 1;
}
}
}
} else {
r.push(`Despite ${his} revulsion, the deep-throating phallic feeders ensure that ${he} swallows all ${his} food.`);
}
}
} else {
if (slave.dietCum === 2) {
if (slave.energy > 80) {
r.push(`${He} has become so sex-driven that ${he} <span class="improvement">appreciates the perversity</span> of ${his} extreme cum diet, despite <span class="devotion dec">it sometimes being a bit too much for ${him}.</span>`);
slave.devotion -= 1;
slave.energy += 1;
} else {
r.push(`${His} high sex drive helps ${him} pretend ${his} heavy cum-based diet is the`);
if (slave.fetish === "masochist") {
r.push(`ejaculate of an abusive lover`);
} else if (slave.fetish === "boobs") {
r.push(`fresh milk from a pretty dairy cow`);
} else if (slave.fetish === "submissive") {
r.push(`ejaculate of a dominant partner`);
} else if (slave.fetish === "pregnancy") {
if (slave.ovaries === 1 || slave.mpreg === 1) {
r.push(`ejaculate of ${his} future baby's father`);
} else {
r.push(`key to someday siring a child.`);
}
} else if (slave.fetish === "sadist") {
r.push(`ejaculate of a painslut ${he} recently milked`);
} else if (slave.fetish === "buttslut") {
r.push(`ejaculate of a cock that just came from ${his} butt`);
} else if (slave.fetish === "dom") {
r.push(`ejaculate of a weak-minded submissive`);
} else if (slave.fetish === "humiliation") {
r.push(`ejaculate of a publicly used slut`);
} else {
r.push(`ejaculate of a gentle lover`);
}
r.push(` — helping ${him} keep ${his} <span class="devotion dec">unpleasant</span> food down.`);
slave.devotion -= 1;
}
} else if (slave.dietCum === 1) {
if (slave.energy > 80) {
r.push(`${He} has become so sex-driven that ${he} appreciates the perversity of ${his} cum diet, making ${him} <span class="improvement">feel hot</span> just eating it.`);
slave.energy += 2;
} else {
r.push(`${His} high sex drive helps ${him} pretend ${his} cum-supplemented diet is the `);
if (slave.fetish === "masochist") {
r.push(`ejaculate of an abusive lover`);
} else if (slave.fetish === "boobs") {
r.push(`fresh milk from a pretty dairy cow`);
} else if (slave.fetish === "submissive") {
r.push(`ejaculate of a dominant partner`);
} else if (slave.fetish === "pregnancy") {
if (slave.ovaries === 1 || slave.mpreg === 1) {
r.push(`ejaculate of ${his} future baby's father`);
} else {
r.push(`key to someday siring a child.`);
}
} else if (slave.fetish === "sadist") {
r.push(`ejaculate of a painslut ${he} recently milked`);
} else if (slave.fetish === "buttslut") {
r.push(`ejaculate of a cock that just came from ${his} butt`);
} else if (slave.fetish === "dom") {
r.push(`ejaculate of a weak-minded submissive`);
} else if (slave.fetish === "humiliation") {
r.push(`ejaculate of a publicly used slut`);
} else {
r.push(`ejaculate of a gentle lover`);
}
r.push(` — helping ${him} swallow ${his} food without complaint.`);
}
}
}
}
}
}
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function cockFeeder(slave) {
// Cockfeeder effects independent of diet type. There are other special cockfeeder effects for fattening and slimming cum diets above
if (slave.sexualFlaw === "hates oral") {
if (weightGain === -1) {
if (random(1, 100) > 80) {
r.push(`Getting ${his} sustenance only after working the phallic food dispensers in the kitchen forces ${him} to <span class="flaw break">accept oral sex</span> as a fact of life.`);
slave.sexualFlaw = "none";
} else {
r.push(`Being forced to get ${his} sustenance only by working the phallic food dispensers in the kitchen <span class="devotion dec">infuriates ${him},</span> since ${he} hates oral.`);
slave.devotion -= 4;
}
}
} else if (slave.fetish === "cumslut") {
if (slave.fetishKnown === 0) {
r.push(`Being forced to get ${his} sustenance only by working the phallic food dispensers in the kitchen has revealed something: <span class="fetish gain">${he}'s got an oral fetish!</span>`);
slave.fetishKnown = 1;
} else if (slave.fetishStrength <= 95 && slave.devotion > 20) {
r.push(`Being forced to get ${his} sustenance only by working the phallic food dispensers in the kitchen has <span class="fetish inc">deepened ${his} oral fixation.</span>`);
slave.fetishStrength += 5;
}
} else {
if (weightGain === -1) {
if (slave.devotion < -20) {
r.push(`Being forced to get ${his} sustenance only by working the phallic food dispensers in the kitchen <span class="devotion dec">disgusts ${him}.</span>`);
slave.devotion -= 2;
} else if (fetishChangeChance(slave) > random(0, 100)) {
r.push(`Getting ${his} sustenance only after working the phallic food dispensers in the kitchen makes sucking cock to completion such an integral part of ${his} life that ${he} starts to <span class="fetish gain">fetishize ejaculate.</span>`);
slave.fetish = "cumslut";
slave.fetishKnown = 1;
slave.fetishStrength = 10;
}
}
}
if (slave.sexualQuirk === "gagfuck queen") {
r.push(`${He} <span class="devotion inc">secretly enjoys</span> gagging on ${his} breakfast every morning.`);
slave.devotion += 1;
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function slaveFoodEffects(slave) {
r.push(`${He} knows that every meal of the liquid slave food ${he}`);
if (V.cockFeeder === 1) {
r.push(`sucks down`);
} else {
r.push(`eats`);
}
r.push(`makes it less and less likely that ${he}'ll ever survive without it,`);
if (slave.devotion > 50) {
r.push(`but ${he} actually <span class="trust inc">takes a kind of comfort</span> in knowing that ${he}'ll always be a slave.`);
slave.trust++;
} else if (slave.devotion > 20) {
r.push(`but since ${he}'s been broken to slavery, ${he} does ${his} best not to think about it.`);
} else if (slave.devotion >= -20) {
r.push(`and though ${he} does ${his} best not to think about it, it sometimes makes ${him} <span class="trust dec">cry ${himself} to sleep.</span>`);
slave.trust--;
} else {
r.push(`knowledge that fills ${him} with <span class="trust dec">fear</span> and <span class="devotion dec">horror</span> every time ${he} thinks about it.`);
slave.trust--;
slave.devotion--;
}
}
})();
|
MonsterMate/fc
|
src/endWeek/saDiet.js
|
JavaScript
|
mit
| 83,396
|
App.SlaveAssignment.drugs = (function() {
"use strict";
let r;
// eslint-disable-next-line no-unused-vars
let he, him, his, hers, himself, girl, loli, He, His;
let intensive;
let gigantomastiaMod;
let rearLipedemaMod;
let growth;
let shrinkage;
let boobSize;
let buttSize;
return saDrugs;
/**
* @param {App.Entity.SlaveState} slave
* @returns {string}
*/
function saDrugs(slave) {
r = ``;
gigantomastiaMod = slave.geneticQuirks.gigantomastia === 2 ? (slave.geneticQuirks.macromastia === 2 ? 3 : 2) : 1;
rearLipedemaMod = slave.geneticQuirks.rearLipedema === 2 ? 1 : 0;
boobSize = slave.boobs - slave.boobsImplant - slave.boobsMilk;
buttSize = slave.butt - slave.buttImplant;
({
// eslint-disable-next-line no-unused-vars
he, him, his, hers, himself, girl, He, His, loli
} = getPronouns(slave));
if (slave.drugs !== "no drugs") {
drugEffects(slave);
}
if (slave.pregControl !== "none" && slave.pregKnown === 1) {
pregnancyDrugEffects(slave);
}
if (slave.curatives > 1) {
curativeEffects(slave);
}
if (slave.aphrodisiacs > 0) {
aphrodisiacEffects(slave);
}
healthAndWellness(slave);
if (slave.drugs !== "no drugs") {
drugExpiry(slave);
}
return r;
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function drugEffects(slave) {
intensive = (slave.drugs === "intensive breast injections" || slave.drugs === "intensive butt injections" || slave.drugs === "intensive penis enhancement" || slave.drugs === "intensive testicle enhancement") ? 1 : 0;
r += ` `;
switch (slave.drugs) {
case "hormone enhancers":
r += `${His} drug regime prepares ${his} body to accept hormonal effects.`;
break;
case "priapism agents":
if (slave.dick === 0) {
r += `Since ${he} lacks a dick, it is pointless to try and keep it hard. <span class="yellow">${His} drug regimen has been ended.</span>`;
slave.drugs = "no drugs";
} else if (slave.chastityPenis === 1) {
r += `A tight cage around a dick forced hard are a bad mix so <span class="yellow">${his} drug regimen has been ended.</span>`;
} else if (slave.health.condition <= -50) {
r += `${He} is too unwell to risk further health complications from priapism. <span class="yellow">${His} drug regimen has been ended.</span>`;
} else if (slave.dick > 10) {
r += `${His} dick is so enormous that attempts to force an erection would kill ${him}. <span class="yellow">${His} drug regimen has been mercifully ended.</span>`;
slave.drugs = "no drugs";
} else {
r += `${His} drug regime keeps ${his} dick <span class="red">painfully erect.</span>`;
healthDamage(slave, 5);
if (slave.dick >= 7) {
r += ` The amount of blood needed to keep ${his} oversized cock hard has <span class="red">severe effects on ${his} health!</span>`;
healthDamage(slave, slave.dick*5);
}
}
break;
case "psychosuppressants":
if ((slave.fetish !== "mindbroken")) {
r += `The psychosuppressants <span class="hotpink">reduce ${his} ability to question ${his} role</span> or <span class="mediumaquamarine">think independently.</span>`;
slave.devotion += 4;
slave.trust += 4;
if (slave.intelligence >= -95) {
r += ` They <span class="orange">negatively impact ${his} intelligence,</span> as well.`;
slave.intelligence -= 5;
}
if (slave.fuckdoll === 0 && slave.intelligence < -15 && slave.fetishStrength <= 60 && slave.fetish !== "submissive" && fetishChangeChance(slave) > jsRandom(0, 100)) {
r += ` The willingness to <span class="lightcoral">submit</span> created by the drugs invades ${his} sexuality, too.`;
slave.fetish = "submissive";
slave.fetishKnown = 1;
slave.fetishStrength = 10;
}
} else {
r += `The psychosuppressants have little effect on ${his} passive mind.`;
}
break;
case "psychostimulants":
r += `${He} takes a cup of <span class="deepskyblue">mind stimulating</span> tea with each meal;`;
if ((slave.fetish !== "mindbroken")) {
r += ` the soothing drink <span class="mediumaquamarine">sets ${his} thoughts at ease.</span>`;
if (slave.devotion < -50) {
slave.trust += 6;
} else if (slave.devotion < -20) {
slave.trust += 4;
} else if (slave.devotion <= 20) {
slave.trust += 2;
} else {
slave.trust += 1;
}
slave.intelligence += 1;
if (slave.energy > 60) {
r += ` ${He} spends <span class="red">less time thinking about sex,</span> as well.`;
if (slave.energy > 95) {
slave.energy -= 3;
} else if (slave.energy > 80) {
slave.energy -= 2;
} else {
slave.energy -= 1;
}
}
} else {
r += ` it has little effect on ${his} passive mind.`;
}
break;
case "hyper breast injections":
slave.chem += 2;
growth = (1 + V.injectionUpgrade) * 3 * gigantomastiaMod;
r += ` ${He} receives <span class="lime">direct injections of`;
if (V.injectionUpgrade !== 0) {
r += ` advanced`;
}
r += ` hyper growth hormones, right into ${his} breasts;</span>`;
if ((slave.diet === "fattening")) {
r += ` all the food ${he}'s required to consume fuels growth, `;
if (slave.health.condition > -20) {
r += `and`;
} else {
r += `but`;
}
growth += 6;
} else if ((slave.diet === "fertility")) {
r += ` the fertility hormones in ${his} food favor breast growth, `;
if (slave.health.condition > -20) {
r += `and`;
} else {
r += `but`;
}
growth += 1;
} else if ((slave.diet === "restricted")) {
r += ` ${his} restricted diet means ${his} body has few resources to grow on, `;
if (slave.health.condition > -20) {
r += `and`;
} else {
r += `but`;
}
growth -= 1;
} else if (slave.weight > 130) {
r += ` the enormous diet ${he} eats to maintain ${his} hugely fat body helps support growth, `;
if (slave.health.condition > -20) {
r += `and`;
} else {
r += `but`;
}
growth += 4;
} else if (slave.weight > 30) {
r += ` the generous diet ${he} eats to maintain ${his} fat body helps support growth, `;
if (slave.health.condition > -20) {
r += `and`;
} else {
r += `but`;
}
growth += 2;
} else if (slave.weight <= -30) {
r += ` the diet ${he} is required to maintain to keep slim impedes growth, `;
if (slave.health.condition > -20) {
r += `and`;
} else {
r += `but`;
}
growth--;
}
if (slave.health.condition > 80) {
r += ` ${his} perfect health supports growth extremely well, `;
if (slave.boobs < 5000 || slave.boobs >= 10000) {
r += `and`;
} else {
r += `but`;
}
growth += 6;
} else if (slave.health.condition > -20) {
r += ` ${his} health supports growth, `;
if (slave.boobs < 2000 || slave.boobs >= 10000) {
r += `and`;
} else {
r += `but`;
}
} else {
r += ` ${his} poor health does not support steady growth, but`;
growth--;
}
r += ` ${his}`;
if (slave.boobs < 800) {
r += ` small chest tends to grow rapidly.`;
growth += 10;
if ((slave.boobShape !== "saggy") && (slave.breastMesh !== 1)) {
if (jsRandom(1, 10) < 5) {
r += ` As ${his} boobs rapidly grow, they become saggy under their own rapid weight gain.`;
slave.boobShape = "saggy";
}
}
} else if (slave.boobs < 2000) {
r += ` modest tits tend to grow fast.`;
growth += 8;
if ((slave.boobShape !== "saggy") && (slave.breastMesh !== 1)) {
if (jsRandom(1, 10) < 5) {
r += ` As ${his} boobs rapidly grow, they become saggy under their own rapid weight gain.`;
slave.boobShape = "saggy";
}
}
} else if (slave.boobs < 5000) {
r += ` heavy boobs tend to grow modestly.`;
growth += 6;
if ((slave.boobShape !== "saggy") && (slave.breastMesh !== 1)) {
if (jsRandom(1, 10) === 1) {
r += ` As they grow, they <span class="coral">begin to sag</span> under their own monstrous weight, ${his} mass of breastflesh directing ${his} nipples downward.`;
slave.boobShape = "saggy";
}
}
} else if (slave.boobs < 10000) {
r += ` huge boobs tend to grow slowly.`;
growth += 4;
if ((slave.boobShape !== "saggy") && (slave.breastMesh !== 1)) {
if (jsRandom(1, 10) === 1) {
r += ` As they grow, they <span class="coral">begin to sag</span> under their own monstrous weight, ${his} mass of breastflesh directing ${his} nipples downward.`;
slave.boobShape = "saggy";
}
}
} else {
r += ` monstrous udders are just the right size to experience the explosive growth the drugs promise.`;
growth += 10;
if ((slave.boobShape !== "normal") && (slave.breastMesh !== 1)) {
if (jsRandom(1, 10) === 1) {
r += ` ${His} <span class="coral">breasts lose their unique shape</span> as they adapt to their monstrous, unnatural size. There's simply nowhere else for ${his} mass of boob to go, and its expansion fills ${his} breasts out and points ${his} nipples forward.`;
slave.boobShape = "normal";
}
}
}
if (slave.geneMods.NCS === 1) {
growth = Math.trunc(growth / 2.2);
r += ` ${His} <span class="orange">NCS</span> kicks in fighting the breast growth, converting the excess fat into sexual energy for ${him}.`;
slave.energy += growth;
}
growth = 25 * Math.trunc(growth * 0.8);
slave.boobs += Math.clamp(growth, 25, 5000);
if (jsRandom(1, 100) > 30 + (slave.areolae * 10) && slave.areolae < 4) {
r += ` The increase in breast size <span class="lime">stretches and broadens ${his} areolae.</span>`;
slave.areolae += 1;
}
if ((jsRandom(1, 100) > 70) && (slave.nipples !== "inverted") && (slave.nipples !== "fuckable")) {
if (["cute", "huge", "puffy", "tiny"].includes(slave.nipples)) {
r += ` The explosive increase in breast flesh also <span class="lime">completely swallows ${his} nipples.</span>`;
slave.nipples = "inverted";
}
}
if (slave.geneticQuirks.gigantomastia === 3 && jsRandom(1, 200) < slave.hormoneBalance) {
slave.geneticQuirks.gigantomastia = 2;
}
if (slave.geneticQuirks.macromastia === 3 && jsRandom(1, 200) < slave.hormoneBalance) {
slave.geneticQuirks.macromastia = 2;
}
if (slave.geneticQuirks.galactorrhea === 2 && slave.lactation === 0 && random(1, 50) <= slave.hormoneBalance) {
if (V.geneticMappingUpgrade >= 1) {
r += ` The sudden surge of hormones has unsurprisingly <span class="lime">triggered ${his} galactorrhea.</span>`;
} else {
r += ` Hormonal effects have caused ${him} to <span class="lime">begin lactating.</span>`;
}
slave.lactation = 1;
slave.lactationDuration = 2;
}
break;
case "breast injections":
case "intensive breast injections":
growth = 1 + V.injectionUpgrade * gigantomastiaMod;
r += ` ${He} receives <span class="lime">`;
if (intensive) {
r += ` massive`;
growth *= 2;
}
r += ` injections of`;
if (V.injectionUpgrade !== 0) {
r += ` advanced`;
}
r += ` growth hormones, right into ${his} breasts;</span>`;
if ((slave.diet === "fattening")) {
r += ` all the food ${he}'s required to consume fuels growth, `;
if (slave.health.condition > -20) {
r += `and`;
} else {
r += `but`;
}
growth += 2;
} else if ((slave.diet === "fertility")) {
r += ` the fertility hormones in ${his} food favor breast growth, `;
if (slave.health.condition > -20) {
r += `and`;
} else {
r += `but`;
}
growth += 1;
} else if ((slave.diet === "restricted")) {
r += ` ${his} restricted diet means ${his} body has few resources to grow on, `;
if (slave.health.condition > -20) {
r += `but`;
} else {
r += `and`;
}
growth -= 2;
} else if (slave.weight > 130) {
r += ` the enormous diet ${he} eats to maintain ${his} hugely fat body helps support growth, `;
if (slave.health.condition > -20) {
r += `and`;
} else {
r += `but`;
}
growth++;
} else if (slave.weight > 30) {
r += ` the generous diet ${he} eats to maintain ${his} fat body helps support growth, `;
if (slave.health.condition > -20) {
r += `and`;
} else {
r += `but`;
}
growth++;
} else if (slave.weight <= -30) {
r += ` the diet ${he} is required to maintain to keep slim impedes growth, `;
if (slave.health.condition > -20) {
r += `and`;
} else {
r += `but`;
}
growth--;
}
if (slave.health.condition > 80) {
r += ` ${his} perfect health supports growth extremely well, `;
if (slave.boobs < 2000) {
r += `and`;
} else {
r += `but`;
}
growth++;
} else if (slave.health.condition > -20) {
r += ` ${his} health supports growth, `;
if (slave.boobs < 2000) {
r += `and`;
} else {
r += `but`;
}
} else {
r += ` ${his} poor health does not support steady growth, `;
if (slave.boobs < 2000) {
r += `and`;
} else {
r += `but`;
}
growth--;
}
r += ` ${his}`;
if (slave.boobs < 800) {
r += ` modest chest tends to grow quickly.`;
growth += 3;
if ((slave.boobShape !== "torpedo-shaped") && (slave.boobShape !== "wide-set") && (slave.breastMesh !== 1)) {
if (jsRandom(1, 10) === 1) {
if (slave.shoulders < 0) {
r += ` <span class="lime">As ${his} boobs grow, they take on a torpedo shape within the frame of ${his} narrow shoulders,</span> projecting a long way from ${his} chest and swinging delightfully when ${he}'s naked.`;
slave.boobShape = "torpedo-shaped";
} else {
r += ` <span class="lime">As ${his} boobs grow, they become widely set across the broadness of ${his} chest,</span> spreading sideways even when ${he}'s not lying on ${his} back.`;
slave.boobShape = "wide-set";
}
}
}
} else if (slave.boobs < 2000) {
r += ` big tits tend to grow readily.`;
growth += 2;
if ((slave.boobShape === "saggy") || (slave.boobShape === "downward-facing") && (slave.breastMesh !== 1)) {
if (jsRandom(1, 10) === 1) {
r += ` <span class="lime">As they grow, they lose their sag,</span> with the expanding tissue lifting ${his} nipples up to point forward.`;
slave.boobShape = "normal";
}
}
} else if (slave.boobs < 5000) {
r += ` heavy boobs tend to grow slowly.`;
growth++;
if ((slave.boobShape !== "saggy") && (slave.breastMesh !== 1)) {
if (jsRandom(1, 10) === 1) {
r += ` <span class="coral">As they grow, they begin to sag</span> under their own monstrous weight, ${his} mass of breastflesh directing ${his} nipples downward. `;
slave.boobShape = "saggy";
}
}
} else {
r += ` monstrous udders tend to grow very slowly.`;
if ((slave.boobShape !== "normal") && (slave.breastMesh !== 1)) {
if (jsRandom(1, 10) === 1) {
r += ` <span class="coral">${His} breasts lose their unique shape</span> as they adapt to their monstrous, unnatural size. There's simply nowhere else for ${his} mass of boob to go, and its expansion fills ${his} breasts out and points ${his} nipples forward.`;
slave.boobShape = "normal";
}
}
}
if (slave.geneMods.NCS === 1) {
growth = Math.trunc(growth / 2.2);
r += ` ${His} <span class="orange">NCS</span> kicks in fighting the breast growth, converting the excess fat into sexual energy for ${him}.`;
slave.energy += growth;
}
growth = 25 * Math.trunc(growth * 0.8);
slave.boobs += Math.clamp(growth, 25, 200);
if (slave.areolae < 4) {
if (growth > slave.areolae * 25) {
r += ` The increase in breast size <span class="lime">stretches and broadens ${his} areolae.</span>`;
slave.areolae += 1;
}
}
if (slave.nipples !== "huge" && (slave.nipples !== "fuckable")) {
if (jsRandom(1, 200) < growth) {
if ((slave.nipples === "tiny")) {
r += ` The hormones also <span class="lime">cause nipple growth.</span>`;
slave.nipples = "cute";
} else if ((slave.nipples === "cute")) {
if (jsRandom(1, 2) === 1) {
r += ` The hormones also <span class="lime">cause ${his} cute nipples to become puffy.</span>`;
slave.nipples = "puffy";
} else {
r += ` The explosive breast growth also <span class="lime">causes ${his} cute nipples to become partially inverted.</span>`;
slave.nipples = "partially inverted";
}
} else if ((slave.nipples === "puffy")) {
if (jsRandom(1, 2) === 1) {
r += ` The hormones also <span class="lime">cause ${his} puffy nipples to become really enormous.</span>`;
slave.nipples = "huge";
} else {
r += ` The explosive breast growth also <span class="lime">causes ${his} puffy nipples to become completely inverted.</span>`;
slave.nipples = "inverted";
}
} else if ((slave.nipples === "partially inverted")) {
r += ` The explosive breast growth also <span class="lime">causes ${his} nipples to invert completely.</span>`;
slave.nipples = "inverted";
}
}
}
if (slave.geneticQuirks.gigantomastia === 3 && jsRandom(1, 300) < slave.hormoneBalance) {
slave.geneticQuirks.gigantomastia = 2;
}
if (slave.geneticQuirks.macromastia === 3 && jsRandom(1, 300) < slave.hormoneBalance) {
slave.geneticQuirks.macromastia = 2;
}
if (slave.geneticQuirks.galactorrhea === 2 && slave.lactation === 0 && random(1, 100) <= slave.hormoneBalance) {
if (V.geneticMappingUpgrade >= 1) {
r += ` The sudden surge of hormones has unsurprisingly <span class="lime">triggered ${his} galactorrhea.</span>`;
} else {
r += ` Hormonal effects have caused ${him} to <span class="lime">begin lactating.</span>`;
}
slave.lactation = 1;
slave.lactationDuration = 2;
}
break;
case "nipple enhancers": {
let nippleThreshold = ((60 - (V.injectionUpgrade * 15)) / (1 + slave.geneMods.NCS));
r += ` ${He} receives <span class="lime">direct injections of enhancers right into ${his} nipples,</span> causing them to swell and expand`;
if (slave.geneMods.NCS === 1) {
r += `; ${his} <span class="orange">NCS</span> reduces their effectiveness`;
}
r += `.`;
switch (slave.nipples) {
case "inverted":
if (jsRandom(1, 100) > nippleThreshold) {
r += ` <span class="lime">${His} inverted nipples swell painfully,</span> pushing their way outwards.`;
slave.nipples = "partially inverted";
}
break;
case "partially inverted":
if (jsRandom(1, 100) > nippleThreshold) {
r += ` <span class="lime">${His} nipples swell painfully,</span> exposing ${His} previously inverted nipples.`;
slave.nipples = jsEither(["tiny", "cute", "puffy", "huge"]);
}
break;
case "tiny":
if (jsRandom(1, 100) > nippleThreshold) {
r += ` <span class="lime">${His} nipples swell painfully,</span> becoming larger and cute.`;
slave.nipples = "cute";
}
break;
case "cute":
if (jsRandom(1, 100) > nippleThreshold) {
r += ` <span class="lime">${His} nipples swell painfully,</span> becoming larger and puffy.`;
slave.nipples = "puffy";
}
break;
case "puffy":
if (jsRandom(1, 100) > nippleThreshold) {
r += ` <span class="lime">${His} nipples swell painfully,</span> becoming spectacularly immense.`;
slave.nipples = "huge";
}
break;
case "huge":
r += ` ${His} nipples are now so massive that further drug use will fail to grow them further; <span class="yellow">${his} drug regimen has been ended.</span>`;
slave.drugs = "no drugs";
break;
default:
r += ` The injections fail to affect ${his} ${slave.nipples} nipples; <span class="yellow">${his} drug regimen has been ended.</span>`;
slave.drugs = "no drugs";
break;
}
break;
}
case "butt injections":
case "intensive butt injections":
growth = 1 + V.injectionUpgrade;
r += ` ${He} receives <span class="lime">`;
if (intensive) {
r += ` massive`;
growth *= 2;
}
r += ` injections of`;
if (V.injectionUpgrade !== 0) {
r += ` advanced`;
}
r += ` growth hormones, right into ${his} buttocks;</span>`;
if ((slave.diet === "fattening")) {
r += ` all the food ${he}'s required to consume fuels growth, `;
if (slave.health.condition > -20) {
r += `and`;
} else {
r += `but`;
}
growth += 2;
} else if ((slave.diet === "restricted")) {
r += ` ${his} restricted diet means ${his} body has few resources to grow on, `;
if (slave.health.condition > -20) {
r += `and`;
} else {
r += `but`;
}
growth -= 2;
} else if (slave.weight > 130) {
r += ` the generous diet ${he} eats to maintain ${his} fat body helps support growth, `;
if (slave.health.condition > -20) {
r += `and`;
} else {
r += `but`;
}
growth += 3;
} else if (slave.weight > 30) {
r += ` the generous diet ${he} eats to maintain ${his} fat body helps support growth, `;
if (slave.health.condition > -20) {
r += `and`;
} else {
r += `but`;
}
growth++;
} else if (slave.weight <= -30) {
r += ` the diet ${he} is required to maintain to keep slim impedes growth, `;
if (slave.health.condition > -20) {
r += `and`;
} else {
r += `but`;
}
growth--;
}
if (slave.health.condition > 80) {
r += ` ${his} perfect health supports growth extremely well, `;
if (slave.butt < 6) {
r += `and`;
} else {
r += `but`;
}
growth++;
} else if (slave.health.condition > -20) {
r += ` ${his} health supports growth, `;
if (slave.butt < 6) {
r += `and`;
} else {
r += `but`;
}
} else {
r += ` ${his} poor health does not support steady growth, `;
if (slave.butt < 6) {
r += `and`;
} else {
r += `but`;
}
growth--;
}
r += ` ${his}`;
if (slave.butt < 2) {
r += ` modest rear tends to grow quickly.`;
} else if (slave.butt < 4) {
r += ` big behind tends to grow readily.`;
growth += 2;
} else if (slave.butt < 6) {
r += ` massive ass tends to grow slowly.`;
growth++;
} else {
r += ` monstrous cheeks tend to grow very slowly.`;
}
if (rearLipedemaMod !== 0) {
growth += 3;
if (V.geneticMappingUpgrade >= 1) {
r += ` ${His} rear lipedema amplifies the drug's effects on ${his} bottom.`;
} else {
r += ` The drugs seem to have an added effect on ${him}.`;
}
}
growth *= 0.2;
if (slave.geneMods.NCS === 1) {
growth = Math.trunc(growth / 2.2);
r += ` ${His} <span class="orange">NCS</span> kicks in fighting the butt growth, `;
if (growth > 1) {
r += `converting the excess fat into sexual energy.`;
} else {
r += `but has no effect.`;
}
slave.energy += growth;
}
slave.butt += Math.clamp(growth, 0, 2 + rearLipedemaMod);
if (slave.geneMods.rapidCellGrowth !== 1) {
if (intensive) {
if (slave.anus > 1) {
r += ` The reckless drug therapy has the side effect of rejuvenating ${his} sphincter muscles, <span class="lime">tightening up ${his} `;
if (slave.anus > 4) {
r += `gaping`;
} else if (slave.anus > 3) {
r += `loose`;
} else {
r += `relaxed`;
}
r += ` anus.</span>`;
slave.anus--;
}
} else {
if (slave.anus > 2) {
r += ` The drugs nearby rejuvenate ${his} sphincter muscles, <span class="lime">tightening up ${his} `;
if (slave.anus > 4) {
r += `gaping`;
} else {
r += `loose`;
}
r += ` anus.</span>`;
slave.anus--;
}
}
}
break;
case "hyper butt injections":
slave.chem += 2;
growth = 0.5;
r += ` ${He} receives <span class="lime">direct injections of`;
if (V.injectionUpgrade !== 0) {
r += ` advanced`;
}
r += ` hyper growth hormones, right into ${his} buttocks;</span>`;
if ((slave.diet === "fattening")) {
r += ` all the food ${he}'s required to consume fuels growth, `;
if (slave.health.condition > -20) {
r += `and`;
} else {
r += `but`;
}
growth += 0.2;
} else if ((slave.diet === "restricted")) {
r += ` ${his} restricted diet means ${his} body has few resources to grow on, `;
if (slave.health.condition > -20) {
r += `and`;
} else {
r += `but`;
}
growth -= 0.2;
} else if (slave.weight > 130) {
r += ` the enormous diet ${he} eats to maintain ${his} hugely fat body helps support growth, `;
if (slave.health.condition > -20) {
r += `and`;
} else {
r += `but`;
}
growth += 0.2;
} else if (slave.weight > 30) {
r += ` the generous diet ${he} eats to maintain ${his} fat body helps support growth, `;
if (slave.health.condition > -20) {
r += `and`;
} else {
r += `but`;
}
growth += 0.1;
} else if (slave.weight <= -30) {
r += ` the diet ${he} is required to maintain to keep slim impedes growth, `;
if (slave.health.condition > -20) {
r += `and`;
} else {
r += `but`;
}
growth -= 0.1;
}
if (slave.health.condition > 80) {
r += ` ${his} perfect health supports growth extremely well, `;
if (slave.butt < 10) {
r += `and`;
} else {
r += `but`;
}
growth += 0.5;
} else if (slave.health.condition > -20) {
r += ` ${his} health supports growth reasonably well, `;
if (slave.butt < 10) {
r += `and`;
} else {
r += `but`;
}
} else {
r += ` ${his} poor health does not support steady growth, `;
if (slave.butt < 10) {
r += `and`;
} else {
r += `but`;
}
growth -= 0.1;
}
r += ` ${his} `;
if (slave.butt < 6) {
r += `modest rear tends to grow quickly.`;
growth += 1;
} else if (slave.butt < 8) {
r += `gigantic behind tends to grow readily.`;
growth += 0.8;
} else if (slave.butt < 10) {
r += `titanic jiggly butt tends to grow steadily.`;
growth += 0.6;
} else {
r += `inhuman cheeks tend to grow slowly.`;
growth += 0.4;
}
if (rearLipedemaMod !== 0) {
growth += 1;
if (V.geneticMappingUpgrade >= 1) {
r += ` ${His} rear lipedema massively amplifies the drug's effects.`;
} else {
r += ` The drugs seem to have an added effect on ${him}.`;
}
}
if (slave.geneMods.NCS === 1) {
growth = Math.trunc(growth / 2.2);
r += ` ${His} <span class="orange">NCS</span> kicks in fighting the butt growth, `;
if (growth > 1) {
r += `converting the excess fat into sexual energy.`;
} else {
r += `but has no effect.`;
}
slave.energy += growth;
}
if (growth > 1 || slave.geneMods.NCS === 1) {
slave.butt += growth;
} else {
slave.butt += 1;
}
if (slave.butt >= 20) {
slave.butt = 20;
}
break;
case "lip injections":
if (slave.lips <= 95) {
r += ` <span class="lime">${His} lips swell rapidly from the injections of`;
if (V.injectionUpgrade !== 0) {
r += ` advanced `;
}
r += ` growth agents`;
if (slave.lips > 90) {
r += `, becoming a facepussy useless for anything other than oral sex.</span>`;
} else if ((slave.lips > 70) && (slave.lips <= 75)) {
r += `, and are now so large that ${he} can no longer enunciate properly.</span>`;
} else {
r += `.</span>`;
}
if (slave.geneMods.NCS === 1) {
slave.lips += 2;
} else {
slave.lips += 5;
}
}
break;
case "growth stimulants":
slave.chem += 2;
growth = 1;
r += `${He} receives frequent <span class="lime">injections of growth stimulants.</span>`;
// Hormones
if (slave.hormones === 2 || slave.hormones === -2) {
growth--;
r += ` The massive quantities of sexual hormones flooding ${his} body limits the effectiveness of the treatment.`;
} else if (slave.hormones === 0) {
growth += 0.2;
r += ` In the absence of significant levels of sexual hormones, the treatment is more effective.`;
} else if (slave.hormones === 1 || slave.hormones === -1) {
r += ` ${His} low level of sexual hormones allow the treatment to work undisturbed.`;
}
// hormone balance
if (slave.hormoneBalance <= -50) {
growth += 0.5;
} else if (slave.hormoneBalance <= -25) {
growth += 0.2;
} else if (slave.hormoneBalance < 50) {
growth -= 0.2;
} else {
growth -= 0.5;
}
// diet
if (slave.diet === "fattening") {
r += ` All the food ${he}'s required to consume boosts `;
if (slave.dietMilk === 2) {
r += `growth with the generous amount of added milk enhancing its effect.`;
growth += 0.3;
} else if (slave.dietMilk === 1) {
r += `growth with the added milk enhancing its effect.`;
growth += 0.2;
} else {
r += `growth.`;
}
growth += 0.2;
} else if (slave.diet === "restricted") {
r += ` ${His} restricted diet means ${his} body has few resources to grow `;
if (slave.dietMilk === 2) {
r += `on, but the generous amount of added milk mitigates its effect.`;
growth += 0.3;
} else if (slave.dietMilk === 1) {
r += `on, but the added milk mitigates its effect.`;
growth += 0.2;
} else {
r += `on.`;
}
growth--;
} else if (slave.diet === "slimming") {
r += ` ${His} growth is slightly inhibited by ${his} strict `;
if (slave.dietMilk === 2) {
r += ` diet, but the generous amount of added milk mitigates its effect.`;
growth += 0.3;
} else if (slave.dietMilk === 1) {
r += ` diet, but the added milk mitigates its effect.`;
growth += 0.2;
} else {
r += ` diet.`;
}
growth -= 0.2;
} else if ((slave.diet === "fertility")) {
r += ` The fertility hormones in ${his} food restrain ${his}`;
if (slave.dietMilk === 2) {
r += ` growth, but the generous amount of added milk mitigates its effect.`;
growth += 0.3;
} else if (slave.dietMilk === 1) {
r += ` growth, but the added milk mitigates its effect.`;
growth += 0.2;
} else {
r += ` growth.`;
}
growth -= 0.1;
} else if (slave.diet === "XY" || slave.diet === "XX" || slave.diet === "XXY") {
r += ` ${His} growth is restrained by ${his} sexual hormones rich`;
if (slave.dietMilk === 2) {
r += ` diet, but the generous amount of added milk mitigates its effect.`;
growth += 0.3;
} else if (slave.dietMilk === 1) {
r += ` diet, but the added milk mitigates its effect.`;
growth += 0.2;
} else {
r += ` diet.`;
}
growth -= 0.5;
} else if (slave.diet === "cleansing") {
r += ` ${His} growth is severely inhibited by ${his} cleansing`;
if (slave.dietMilk === 2) {
r += ` diet, but the generous amount of added milk mitigates its effect.`;
growth += 0.3;
} else if (slave.dietMilk === 1) {
r += ` diet, but the added milk mitigates its effect.`;
growth += 0.2;
} else {
r += ` diet.`;
}
growth--;
} else if (slave.diet === "muscle building" || slave.muscles >= 96) {
r += ` ${His} workout diet and constant physical exercise help support`;
if (slave.dietMilk === 2) {
r += ` growth with the generous amount of added milk enhancing its effect.`;
growth += 0.3;
} else if (slave.dietMilk === 1) {
r += ` growth with the added milk enhancing its effect.`;
growth += 0.2;
} else {
r += ` growth.`;
}
growth += 0.5;
} else {
if (slave.dietMilk === 2) {
r += ` The generous amount of added milk in ${his} diet feeds ${his} growth.`;
growth += 0.3;
} else if (slave.dietMilk === 1) {
r += ` The added milk in ${his} diet aids ${his} growth.`;
growth += 0.2;
}
}
// health
if (slave.health.condition > 80) {
r += ` ${His} perfect health greatly supports ${his} growth.`;
growth += 0.2;
} else if (slave.health.condition > -20) {
r += ` ${His} health supports ${his} growth.`;
} else {
r += ` ${His} poor health hinders growth.`;
growth--;
}
// if growth was accomplished
if (growth > 0) {
// age modifier
let ageMod = 1;
if (slave.geneMods.NCS === 1) {
r += ` ${His} <span class="orange">NCS</span> inhibits ${his} body response to the treatment.`;
ageMod = 0.25;
} else if (slave.genes === "XY") {
if (slave.pubertyXY === 0 && slave.physicalAge <= 3) {
r += ` ${His} very young body responds extremely well to the treatment.`;
ageMod = 2.5;
} else if (slave.pubertyXY === 0 && slave.physicalAge > 3) {
r += ` ${His} young body eagerly responds to the stimulants.`;
ageMod = 1.5;
} else if (slave.physicalAge <= (slave.pubertyAgeXY + V.pubertyLength)) {
r += ` Due to ${his} recent puberty, ${his} body welcomes the treatment with open arms.`;
ageMod = 2;
} else if (slave.physicalAge <= V.maxGrowthAge) {
r += ` With ${his} puberty concluded, ${his} body resists the stimulants.`;
ageMod = 1;
} else {
r += ` ${His} mature body struggles to respond to the treatment, making progress difficult.`;
ageMod = 0.5;
}
} else if (slave.genes === "XX") {
if (slave.pubertyXX === 0 && slave.physicalAge <= 3) {
r += ` ${His} very young body responds extremely well to the treatment.`;
ageMod = 2.5;
} else if (slave.pubertyXX === 0 && slave.physicalAge > 3) {
r += ` ${His} young body eagerly responds to the stimulants.`;
ageMod = 1.5;
} else if (slave.physicalAge <= (slave.pubertyAgeXX + V.pubertyLength)) {
r += ` Due to ${his} recent puberty, ${his} body welcomes the treatment with open arms.`;
ageMod = 2;
} else if (slave.physicalAge <= V.maxGrowthAge) {
r += ` With ${his} puberty concluded, ${his} body resists the stimulants.`;
ageMod = 1;
} else {
r += ` ${His} mature body struggles to respond to the treatment, making progress difficult.`;
ageMod = 0.5;
}
}
// evaluate against slave expected height...
let heightDiff = slave.height / Height.forAge(slave.height, slave);
// if ${he} is taller than the expected height the growth is reduced, if shorter accelerated proportionally to the distance from the expected height
if (heightDiff >= 1) {
heightDiff = 1 - heightDiff;
} else {
heightDiff--;
}
// ...and calculates final value
growth = (growth + growth * heightDiff) * ageMod;
if (slave.geneMods.NCS === 0) {
growth = Math.round(Math.clamp(growth, 0, 5));
} else {
growth = Math.round(Math.clamp(growth, 0, 2));
}
// communicates the amount of growth
if (growth < 1) { // in case heightDiff manages to bring growth down enough
r += ` Despite the treatment, ${his} height does not increase this week.`;
} else if (growth === 1) {
r += ` <span class="lime">${His} height slightly increased this week.</span>`;
} else if (growth === 2) {
r += ` <span class="lime">${His} height increased this week.</span>`;
} else if (growth === 3) {
r += ` <span class="lime">${His} height greatly increased this week.</span>`;
} else if (growth === 4) {
r += ` <span class="lime">${His} height dramatically increased this week.</span>`;
} else if (growth === 5) {
r += ` <span class="lime">${His} body experienced explosive growth this week,</span> so extreme that ${his} cardiovascular system can barely keep up, <span class="red">severely damaging ${his} health.</span>`;
healthDamage(slave, 20);
}
// health issues
if (jsRandom(1, 10) === 1 && growth !== 5) {
r += ` The stimulants stressed ${slave.slaveName}'s body more than expected, <span class="red">damaging ${his} health.</span>`;
healthDamage(slave, 10);
}
if (slave.physicalAge > V.maxGrowthAge) {
if (jsRandom(1, 6) === 1) {
r += ` Since ${his} body already concluded ${his} natural growth processes, the treatment <span class="red">weakens ${him} considerably.</span>`;
healthDamage(slave, 15);
}
}
// updates slave's height
slave.height += growth;
} else {
// if growth is zero or negative
r += ` Despite the treatment, ${his} height does not increase this week.`;
}
break;
case "male hormone injections":
if (slave.pubertyXY === 1) {
r += ` ${He} has potent sperm. <span class="yellow">${His} drug regimen has been ended.</span>`;
slave.drugs = "no drugs";
} else {
r += ` The intense hormonal injections leave ${him} <span class="red">sickened and weak</span> as ${his} body struggles to adapt to the overwhelming chemicals flooding ${his} system.`;
slave.chem += 20;
healthDamage(slave, 10);
if (slave.energy > 5) {
slave.energy -= 5;
}
}
break;
case "female hormone injections":
if (slave.pubertyXX === 1) {
r += ` ${He} has begun ovulating. <span class="yellow">${His} drug regimen has been ended.</span>`;
slave.drugs = "no drugs";
} else {
r += ` The intense hormonal injections leave ${him} <span class="red">sickened and weak</span> as ${his} body struggles to adapt to the overwhelming chemicals flooding ${his} system.`;
slave.chem += 20;
healthDamage(slave, 10);
if (slave.energy > 5) {
slave.energy -= 5;
}
if (slave.geneticQuirks.galactorrhea === 2 && slave.lactation === 0 && random(1, 100) <= slave.hormoneBalance) {
if (V.geneticMappingUpgrade >= 1) {
r += ` The sudden surge of hormones has unsurprisingly <span class="lime">triggered ${his} galactorrhea.</span>`;
} else {
r += ` Hormonal effects have caused ${him} to <span class="lime">begin lactating.</span>`;
}
slave.lactation = 1;
slave.lactationDuration = 2;
}
}
break;
case "penis enhancement":
case "intensive penis enhancement":
growth = 60 - (V.injectionUpgrade * 10);
if (intensive) {
growth -= 20;
}
if (slave.geneMods.NCS === 1) {
growth += 30;
}
if (slave.dick > 0) {
if (jsRandom(1, 100) > growth + (slave.dick * 5)) {
r += ` <span class="lime">${His} cock grows painfully,</span> becoming both longer and girthier.`;
slave.dick++;
} else {
r += ` Despite being dosed with a spectrum of powerful growth promoters, ${his} dick does not grow.`;
}
if (slave.balls === 1) {
if (slave.scrotum > 0) {
r += ` As a side effect of the dick enhancement drugs, <span class="lime">${his} balls drop.</span>`;
slave.balls += 1;
}
}
if (slave.dick === 6) {
if (slave.balls > 0) {
r += ` <span class="yellow">${His} dick is at the limit of what ${his} cardiovascular system could conceivably bring erect.</span> Further penis enhancement may limit ${his} ability to get hard.`;
}
}
} else {
if (jsRandom(1, 100) > growth - (slave.clit * 10)) {
r += ` <span class="lime">${His} clit grows painfully,</span> becoming both longer and girthier.`;
slave.clit++;
} else {
r += ` Despite being dosed with a spectrum of powerful growth promoters, ${his} clit does not grow.`;
}
}
break;
case "hyper penis enhancement":
if (slave.dick > 0) {
r += `${He} receives <span class="lime">direct injections of hyper growth hormones, right into ${his} dick.</span> `;
slave.chem += 2;
if (slave.dick >= 30) {
r += `${His} cock is now so huge that further drug enhancement will not increase its size. <span class="yellow">${His} drug regimen has been ended.</span> `;
slave.drugs = "no drugs";
} else {
if (slave.geneMods.NCS === 0) {
r += `<span class="lime">${His} cock grows painfully,</span> becoming both longer and girthier. `;
slave.dick += 1;
} else if (jsRandom(1, (20 - slave.dick)) > 12) {
r += `<span class="lime">${His} cock grows painfully,</span> becoming both longer and girthier, despite ${his} <span class="orange">NCS.</span> `;
slave.dick += 1;
} else {
r += `The treatment fails to overcome ${his} <span class="orange">NCS</span> and ${his} cock fails to grow. `;
}
}
} else {
r += ` ${He} receives <span class="lime">direct injections of hyper growth hormones, right into ${his} clit.</span>`;
slave.chem += 2;
if (slave.clit === 5) {
r += ` ${His} clit is now so huge that further drug enhancement will not increase its size. <span class="yellow">${His} drug regimen has been ended.</span>`;
slave.drugs = "no drugs";
} else {
if (slave.geneMods.NCS === 0) {
r += ` <span class="lime">${His} clit grows painfully,</span> becoming both longer and girthier.`;
slave.clit += 1;
} else if (jsRandom(1, (16 - slave.clit)) > 10) {
r += ` <span class="lime">${His} clit grows painfully,</span> becoming both longer and girthier, despite ${his} <span class="orange">NCS.</span>`;
slave.clit += 1;
} else {
r += ` The treatment does not overcome ${his} <span class="orange">NCS</span> and ${his} clit fails to grow.`;
}
}
}
break;
case "testicle enhancement":
case "intensive testicle enhancement":
if (slave.balls < 10) {
growth = 60 - (V.injectionUpgrade * 10);
if (intensive) {
growth -= 20;
}
if (slave.geneMods.NCS === 1) {
growth += 30;
}
if (jsRandom(1, 100) > growth + (slave.balls * 5)) {
r += ` <span class="lime">${His} balls swell painfully.</span>`;
slave.balls++;
} else {
r += ` Despite being filled with testicle enhancers and painfully swollen with resultant cum overproduction, ${his} balls do not grow.`;
}
if (slave.dick === 1 && slave.geneMods.NCS === 0) {
if (slave.scrotum > 0) {
r += ` As a side effect of the testicle enhancement drugs, <span class="lime">${his} micropenis grows,</span> becoming merely tiny.`;
slave.dick++;
}
}
}
break;
case "hyper testicle enhancement":
r += ` ${He} receives <span class="lime">direct injections of hyper growth hormones, right into ${his} testicles</span> forcing them to swell with cum overproduction.`;
slave.chem += 2;
if (slave.balls >= 125) {
r += ` ${His} balls are now so immense that further drug enhancement will not increase their size. However, leaving ${him} on them will still stimulate cum production.`;
} else if (slave.balls < 125) {
if (slave.geneMods.NCS === 0) {
r += ` <span class="lime">${His} balls swell painfully.</span>`;
slave.balls += 2;
} else if (jsRandom(1, 400 - slave.balls) > 200) {
r += ` <span class="lime">${His} balls swell painfully,</span> despite ${his} <span class="orange">NCS.</span>`;
slave.balls += 1;
} else {
r += ` The treatment fails to overcome ${his} <span class="orange">NCS</span> and ${his} balls fail to grow.`;
}
}
break;
case "steroids":
if (slave.geneMods.NCS === 0 || jsRandom(1, 100) > 50) {
if (slave.dick === 0 && jsRandom(1, 100) > 40 + (slave.clit * 10)) {
r += ` The gear ${he}'s on <span class="lime">increases the size of ${his} clit.</span>`;
slave.clit += 1;
} else if (slave.dick !== 0 && slave.dick < 3 && jsRandom(1, 100) > 95) {
r += ` The gear ${he}'s on <span class="lime">increases the size of ${his} penis.</span>`;
slave.dick += 1;
} else if (slave.faceShape !== "masculine" && slave.faceShape !== "androgynous" && jsRandom(1, 100) > 95) {
r += ` The gear ${he}'s on <span class="orange">hardens ${his} face into androgyny.</span>`;
slave.faceShape = "androgynous";
} else if (slave.balls !== 0 && slave.scrotum !== 0 && slave.balls < 3 && jsRandom(1, 100) > 95) {
r += ` The gear ${he}'s on <span class="lime">increases the size of ${his} balls.</span>`;
slave.balls += 1;
} else if (jsRandom(1, 100) > 110 - (slave.anus * 10) && slave.geneMods.rapidCellGrowth !== 1) {
r += ` The steroids ${he}'s on have an effect on ${his} stretched anal muscles, giving ${him} a <span class="lime">tighter butthole.</span>`;
slave.anus -= 1;
} else if (jsRandom(1, 100) > 110 - (slave.vagina * 10) && slave.geneMods.rapidCellGrowth !== 1) {
r += ` The steroids ${he}'s on have an effect on ${his} vaginal muscles, giving ${him} a <span class="lime">tighter pussy.</span>`;
slave.vagina -= 1;
} else if (slave.face-slave.faceImplant > 10 && jsRandom(1, 100) > 95) {
r += ` The gear ${he}'s on <span class="orange">hardens ${his} pretty face a little.</span>`;
slave.face -= 5;
}
}
break;
case "anti-aging cream":
if (slave.visualAge <= 18) {
r += ` ${His} outward age has regressed to the point that the creams will have little effect. Since there is no gain for further treatment, <span class="yellow">${his} drug regimen has been ended.</span>`;
slave.drugs = "no drugs";
} else {
r += ` The skin creams <span class="lime">soothe ${his} aging skin</span> leaving ${him} looking younger, though the effects are only skin deep.`;
slave.visualAge -= 1;
}
if (V.arcologies[0].FSYouthPreferentialist !== "unset") {
if (slave.visualAge > 30) {
r += ` ${He} <span class="mediumaquamarine">trusts you more</span> for allowing ${him} to fit in better with society and not be singled out for ${his} looks.`;
slave.trust += 2;
}
}
if (V.arcologies[0].FSMaturityPreferentialist !== "unset") {
if (slave.visualAge > 30) {
r += ` ${He} is <span class="gold">terrified</span> that ${his} fading age will single ${him} out for abuse in your society.`;
slave.trust -= 2;
}
}
break;
case "super fertility drugs":
if (slave.pregKnown === 1) {
if (slave.geneticQuirks.superfetation === 2 && V.geneticMappingUpgrade !== 0) {
r += ` ${He}'s already pregnant, but combined with ${his} superfetation the fertility drugs will cause ${him} multiple pregnancies.`;
} else {
r += ` <span class="yellow">${He}'s already pregnant, so the fertility drugs ${he}'s on do ${him} no good.</span>`;
}
} else if (slave.pregWeek < 0) {
r += ` ${He}'s still recovering from a recent pregnancy, so the fertility drugs ${he}'s on do ${him} little good.`;
} else if (slave.preg > 1) {
r += ` Despite being on intense fertility drugs, ${he} shows no signs of increased fertility. Cursory tests reveal that <span class="lime">${he} has a bun already in the oven.</span>`;
slave.pregKnown = 1;
} else if (slave.vagina === -1 && slave.mpreg !== 1) {
if (slave.lactation === 0) {
r += ` Unfortunately, it's impossible to fuck ${his} asshole pregnant, limiting the potential impact of the fertility drugs ${he}'s on to ${his} boobs.`;
} else {
r += ` The fertility drugs ${he}'s on are pointless, since ${he}'s already lactating and it's impossible to impregnate ${his} butthole. That's no reason not to try, of course.`;
}
} else if (slave.preg < -1) {
r += ` ${He}'s sterile, so the fertility drugs ${he}'s on do ${him} no good.`;
} else if (slave.ovaries === 0 && slave.mpreg !== 1) {
r += ` ${He}'s barren, so the fertility drugs ${he}'s on do ${him} no good.`;
} else if (slave.pubertyXX === 0 && (slave.ovaries === 1 || slave.mpreg === 1)) {
r += ` ${He}'s prepubescent, so the fertility drugs ${he}'s on do ${him} no good.`;
} else if (slave.preg === -1) {
r += ` ${He}'s on contraceptives, so the fertility drugs ${he}'s on do ${him} no good.`;
} else {
r += ` ${He}'s on super fertility drugs, so ${he} is more likely to conceive, and will have multiple pregnancy.`;
}
if (slave.geneMods.NCS === 0) {
if (slave.lactation === 0 && jsRandom(0, 50) < slave.health.condition) {
r += ` The hormonal changes produced by the fertility drugs have the side effect of <span class="lime">inducing lactation,</span> indistinguishable from natural lactation.`;
slave.lactation = 1;
slave.lactationDuration = 1;
}
}
if (slave.geneticQuirks.galactorrhea === 2 && slave.lactation === 0 && random(1, 100) <= slave.hormoneBalance) {
if (V.geneticMappingUpgrade >= 1) {
r += ` The sudden surge of hormones has unsurprisingly <span class="lime">triggered ${his} galactorrhea.</span>`;
} else {
r += ` Hormonal effects have caused ${him} to <span class="lime">begin lactating.</span>`;
}
slave.lactation = 1;
slave.lactationDuration = 2;
}
if (slave.attrXY < 100 && jsRandom(0, 10) < slave.health.condition) {
r += ` The hormonal changes produced by the fertility drugs cause ${him} to begin <span class="green">finding men more attractive.</span>`;
slave.attrXY += jsRandom(5, 10);
}
if (slave.energy < 85 && jsRandom(0, 10) < slave.health.condition) {
r += ` The hormonal changes produced by the fertility drugs cause ${him} to <span class="green">begin craving sex more.</span>`;
slave.energy += 2;
}
break;
case "fertility drugs":
if (slave.pregKnown === 1) {
if (slave.geneticQuirks.superfetation === 2 && V.geneticMappingUpgrade !== 0) {
r += ` ${He}'s already pregnant, but combined with ${his} superfetation the fertility drugs are likely to cause ${him} multiple pregnancies.`;
} else {
r += ` <span class="yellow">${He}'s already pregnant, so the fertility drugs ${he}'s on do ${him} no good.</span>`;
}
} else if (slave.pregWeek < 0) {
r += ` ${He}'s still recovering from a recent pregnancy, so the fertility drugs ${he}'s on do ${him} little good.`;
} else if (slave.preg > 1) {
r += ` Despite being on intense fertility drugs, ${he} shows no signs of increased fertility. Cursory tests reveal that <span class="lime">${he} has a bun already in the oven.</span>`;
slave.pregKnown = 1;
} else if (slave.vagina === -1 && slave.mpreg !== 1) {
if (slave.lactation === 0) {
r += ` Unfortunately, it's impossible to fuck ${his} asshole pregnant, limiting the potential impact of the fertility drugs ${he}'s on to ${his} boobs.`;
} else {
r += ` The fertility drugs ${he}'s on are pointless, since ${he}'s already lactating and it's impossible to impregnate ${his} butthole. That's no reason not to try, of course.`;
}
} else if (slave.preg < -1) {
r += `${He}'s sterile, so the fertility drugs ${he}'s on do ${him} no good.`;
} else if (slave.ovaries === 0 && slave.mpreg !== 1) {
r += ` ${He}'s barren, so the fertility drugs ${he}'s on do ${him} no good.`;
} else if (slave.pubertyXX === 0 && (slave.ovaries === 1 || slave.mpreg === 1)) {
r += ` ${He}'s prepubescent, so the fertility drugs ${he}'s on do ${him} no good.`;
} else if (slave.preg === -1) {
r += ` ${He}'s on contraceptives, so the fertility drugs ${he}'s on do ${him} no good.`;
} else {
r += ` ${He}'s on fertility drugs, so ${he} is more likely to conceive, and may experience multiple pregnancy.`;
}
if (slave.geneMods.NCS === 0) {
if (slave.lactation === 0 && jsRandom(0, 100) < slave.health.condition) {
r += ` The hormonal changes produced by the fertility drugs have the side effect of <span class="lime">inducing lactation,</span> indistinguishable from natural lactation.`;
slave.lactation = 1;
slave.lactationDuration = 1;
}
}
if (slave.geneticQuirks.galactorrhea === 2 && slave.lactation === 0 && random(1, 100) <= slave.hormoneBalance) {
if (V.geneticMappingUpgrade >= 1) {
r += ` The sudden surge of hormones has unsurprisingly <span class="lime">triggered ${his} galactorrhea.</span>`;
} else {
r += ` Hormonal effects have caused ${him} to <span class="lime">begin lactating.</span>`;
}
slave.lactation = 1;
slave.lactationDuration = 2;
}
break;
case "appetite suppressors":
if (slave.weight <= -95) {
r += ` Since ${his} body has no weight left to shed, ${he} no longer needs appetite suppressors to maintain it; <span class="yellow">${his} drug regimen has been ended.</span>`;
slave.drugs = "no drugs";
} else {
switch (slave.diet) {
case "slimming":
case "restricted":
r += ` Since ${he} is already on a diet that favors weight loss, ${his} reduced appetite allows ${his} body <span class="lime">to shed pounds</span> even more effectively.`;
slave.weight -= 5;
break;
case "fattening":
r += ` Since ${he} is on a diet that favors weight gain, ${his} reduced appetite is counter productive; <span class="yellow">${his} drug regimen has been ended.</span>`;
slave.drugs = "no drugs";
break;
default:
r += ` The appetite suppressors encourage ${him} to eat less at meal time, gradually causing ${him} to <span class="lime">lose weight.</span>`;
slave.weight -= 2;
break;
}
}
break;
case "penis atrophiers":
r += ` ${He} receives <span class="lime">direct injections of atrophiers right into ${his} penis,</span> causing ${his} body to begin pulling resources from it`;
if (slave.geneMods.NCS === 1) {
r += `; ${his} <span class="orange">NCS</span> amplifies their effectiveness`;
}
r += `.`;
shrinkage = 0;
if (slave.dick === 1) {
r += ` ${His} penis is now so minuscule that further drug use will fail to shrink it further; <span class="yellow">${his} drug regimen has been ended.</span>`;
slave.drugs = "no drugs";
} else if (slave.dick >= 20) {
r += ` <span class="lime">${His} cock shrinks painfully,</span> becoming massively shorter and thinner.`;
shrinkage = 3;
} else if (slave.dick >= 10) {
r += ` <span class="lime">${His} cock shrinks painfully,</span> becoming shorter and thinner.`;
shrinkage = 2;
} else if ((slave.geneMods.NCS === 1) || (jsRandom(1, 100) > 40 - (V.injectionUpgrade * 10) - (slave.dick * 5) && slave.dick > 1)) {
r += ` <span class="lime">${His} cock shrinks painfully,</span> becoming shorter and thinner.`;
shrinkage = 1;
}
if (slave.geneMods.NCS === 1 && slave.dick > 2) {
shrinkage *= 2;
}
slave.dick -= shrinkage;
break;
case "testicle atrophiers":
r += ` ${He} receives <span class="lime">direct injections of atrophiers right into ${his} testicles,</span> causing ${his} body to begin pulling resources from them`;
if (slave.geneMods.NCS === 1) {
r += `; ${his} <span class="orange">NCS</span> amplifies their effectiveness`;
}
r += `.`;
shrinkage = 0;
if (slave.balls === 1) {
r += ` ${His} balls are now so minuscule that further drug use will fail to shrink them further; <span class="yellow">${his} drug regimen has been ended.</span>`;
slave.drugs = "no drugs";
} else if (slave.balls >= 100) {
r += ` <span class="lime">${His} balls shrink painfully,</span> becoming massively smaller and leaving ${his} scrotum looser.`;
shrinkage = 5;
} else if (slave.balls >= 80) {
r += ` <span class="lime">${His} balls shrink painfully,</span> becoming massively smaller and leaving ${his} scrotum looser.`;
shrinkage = 4;
} else if (slave.balls >= 60) {
r += ` <span class="lime">${His} balls shrink painfully,</span> becoming massively smaller and leaving ${his} scrotum looser.`;
shrinkage = 3;
} else if (slave.balls >= 40) {
r += ` <span class="lime">${His} balls shrink painfully,</span> becoming much smaller and leaving ${his} scrotum looser.`;
shrinkage = 2;
} else if (slave.balls >= 20) {
r += ` <span class="lime">${His} balls shrink painfully,</span> becoming smaller and leaving ${his} scrotum looser.`;
shrinkage = 1;
} else if ((slave.geneMods.NCS === 1) || (jsRandom(1, 100) > 40 - (V.injectionUpgrade * 10) - (slave.balls * 2) && slave.balls > 1)) {
r += ` <span class="lime">${His} balls shrink painfully,</span> becoming smaller and leaving ${his} scrotum looser.`;
shrinkage = 1;
}
if (slave.geneMods.NCS === 1 && slave.balls > 2) {
shrinkage *= 2;
}
slave.balls -= shrinkage;
break;
case "clitoris atrophiers":
r += ` ${He} receives <span class="lime">direct injections of atrophiers right into ${his} clitoris,</span> causing ${his} body to begin pulling resources from it`;
if (slave.geneMods.NCS === 1) {
r += `; ${his} <span class="orange">NCS</span> amplifies their effectiveness`;
}
r += `.`;
if (slave.clit === 0) {
r += ` ${His} clit is now so minuscule that further drug use will fail to shrink it further; <span class="yellow">${his} drug regimen has been ended.</span>`;
slave.drugs = "no drugs";
} else if ((slave.geneMods.NCS === 1) || (jsRandom(1, 100) > 60 - (V.injectionUpgrade * 10) - (slave.clit * 5) && slave.clit > 0)) {
r += ` <span class="lime">${His} clit shrinks painfully,</span> becoming smaller.`;
slave.clit -= 1;
}
if (slave.geneMods.NCS === 1 && slave.clit > 2) {
slave.clit -= 1;
}
break;
case "labia atrophiers":
r += ` ${He} receives <span class="lime">direct injections of atrophiers right into ${his} labia majora,</span> causing ${his} body to begin pulling resources from them`;
if (slave.geneMods.NCS === 1) {
r += `; ${his} <span class="orange">NCS</span> amplifies their effectiveness`;
}
r += `.`;
if (slave.labia === 0) {
r += ` ${His} labia are now so minuscule that further drug use will fail to shrink them further; <span class="yellow">${his} drug regimen has been ended.</span>`;
slave.drugs = "no drugs";
} else if ((slave.geneMods.NCS === 1) || (jsRandom(1, 100) > 60 - (V.injectionUpgrade * 10) - (slave.labia * 5) && slave.labia > 0)) {
r += ` <span class="lime">${His} labia shrink painfully,</span> becoming smaller. `;
slave.labia -= 1;
}
if (slave.geneMods.NCS === 1 && slave.labia > 2) {
slave.labia -= 1;
}
break;
case "nipple atrophiers":
r += ` ${He} receives <span class="lime">direct injections of atrophiers right into ${his} nipples,</span> causing ${his} body to begin pulling resources from it`;
if (slave.geneMods.NCS === 1) {
r += `; ${his} <span class="orange">NCS</span> amplifies their effectiveness`;
}
r += `.`;
switch (slave.nipples) {
case "huge":
if ((slave.geneMods.NCS === 1) || (jsRandom(1, 100) > 60 - (V.injectionUpgrade * 15))) {
r += ` <span class="lime">${His} nipples shrink painfully,</span> becoming smaller and puffy.`;
slave.nipples = "puffy";
}
break;
case "puffy":
if ((slave.geneMods.NCS === 1) || (jsRandom(1, 100) > 60 - (V.injectionUpgrade * 15))) {
r += ` <span class="lime">${His} nipples shrink painfully,</span> becoming smaller and cuter.`;
slave.nipples = "cute";
}
break;
case "cute":
if ((slave.geneMods.NCS === 1) || (jsRandom(1, 100) > 60 - (V.injectionUpgrade * 15))) {
r += ` <span class="lime">${His} nipples shrink painfully,</span> becoming tiny.`;
slave.nipples = "tiny";
}
break;
default:
r += ` ${His} nipples are now so small that further drug use will fail to shrink them further; <span class="yellow">${his} drug regimen has been ended.</span>`;
slave.drugs = "no drugs";
break;
}
break;
case "lip atrophiers":
r += ` ${He} receives <span class="lime">direct injections of atrophiers right into ${his} lips,</span> causing ${his} body to begin pulling resources from them`;
if (slave.geneMods.NCS === 1) {
r += `; ${his} <span class="orange">NCS</span> amplifies the effectiveness`;
}
r += `.`;
shrinkage = 0;
if ((slave.lips - slave.lipsImplant) === 0) {
r += ` ${His} natural lips are now so thin that further drug use will fail to shrink them further; <span class="yellow">${his} drug regimen has been ended.</span>`;
slave.drugs = "no drugs";
} else if ((slave.lips - slave.lipsImplant) >= 70) {
r += ` <span class="lime">${His} natural lips shrink painfully,</span> becoming massively smaller and thinner.`;
shrinkage = 5;
} else if ((slave.lips - slave.lipsImplant) >= 50) {
r += ` <span class="lime">${His} natural lips shrink painfully,</span> becoming smaller and thinner.`;
shrinkage = 3;
} else if ((slave.lips - slave.lipsImplant) >= 20) {
r += ` <span class="lime">${His} natural lips shrink painfully,</span> becoming smaller and thinner.`;
shrinkage = 1;
} else if ((slave.geneMods.NCS === 1) || (jsRandom(1, 100) > (40 - (V.injectionUpgrade * 10) - (slave.lips - slave.lipsImplant)) && (slave.lips - slave.lipsImplant) > 0)) {
r += ` <span class="lime">${His} natural lips shrink painfully,</span> becoming smaller and thinner.`;
shrinkage = 1;
}
if (slave.geneMods.NCS === 1 && slave.lipsImplant > 1) {
shrinkage *= 2;
}
slave.lips -= shrinkage;
break;
case "breast redistributors":
r += ` ${He} receives <span class="lime">direct injections of fat redistributors right into ${his}`;
if (gigantomastiaMod !== 3) {
r += ` breasts,</span> causing ${his} body to begin moving fatty tissue from them to ${his} core`;
if (slave.geneMods.NCS === 1) {
r += `; ${his} <span class="orange">NCS</span> amplifies the effectiveness`;
}
r += `.`;
let factor = 0;
if (boobSize <= 100) {
r += ` ${His} natural breast tissue is now so thin that further drug use will fail to shrink it further; <span class="yellow">${his} drug regimen has been ended.</span>`;
slave.drugs = "no drugs";
} else if (slave.weight >= 200) {
r += ` ${He} is now so immensely obese ${his} health is greatly at risk; <span class="yellow">${his} drug regimen has been ended.</span>`;
slave.drugs = "no drugs";
} else if (boobSize >= 20000) {
r += ` <span class="lime">${His} breasts shrink painfully,</span> becoming massively smaller while ${his} <span class="orange">waistline swells tremendously.</span>`;
factor = 20;
} else if (boobSize >= 10000) {
r += ` <span class="lime">${His} breasts shrink painfully,</span> becoming greatly smaller while ${his} <span class="orange">waistline swells.</span>`;
factor = 10;
} else if (boobSize >= 5000) {
r += ` <span class="lime">${His} breasts shrink painfully,</span> becoming smaller while ${his} <span class="orange">waistline swells.</span>`;
factor = 5;
} else if (boobSize >= 1000) {
r += ` <span class="lime">${His} breasts shrink painfully,</span> becoming smaller while ${his} <span class="orange">waistline grows.</span>`;
factor = 3;
} else if (boobSize > 100) {
r += ` <span class="lime">${His} breasts shrink painfully,</span> becoming smaller while ${his} <span class="orange">waistline grows slightly.</span>`;
factor = 1;
}
slave.weight += factor;
if (slave.geneMods.NCS === 1 && boobSize > 200) {
factor *= 2;
}
if (gigantomastiaMod === 2) {
factor = 1;
if (V.geneticMappingUpgrade >= 1) {
r += ` However, <span class="orange">${his} gigantomastia inhibits ${his} breast loss.</span>`;
} else {
r += ` However, <span class="orange">${his} breasts do not shrink proportionately to ${his} stomach's growth.</span>`;
}
}
slave.boobs -= 100 * factor;
} else if (V.geneticMappingUpgrade >= 1) {
r += ` breasts to no avail; ${his} body refuses to allow ${his} breasts to shrink, and as such, <span class="yellow">${his} drug regimen has been ended.</span>`;
} else {
r += ` breasts to no avail; <span class="yellow">${his} drug regimen has been ended.</span>`;
}
break;
case "butt redistributors":
r += ` ${He} receives <span class="lime">direct injections of fat redistributors right into ${his} buttocks,</span> causing ${his} body to begin moving fatty tissue from it to ${his} core`;
if (slave.geneMods.NCS === 1 && rearLipedemaMod !== 2) {
r += `; ${his} <span class="orange">NCS</span> amplifies the effectiveness`;
}
r += `.`;
if (buttSize <= 0) {
r += ` ${His} natural ass flesh is now so thin that further drug use will fail to shrink it further; <span class="yellow">${his} drug regimen has been ended.</span>`;
slave.drugs = "no drugs";
} else if (slave.weight >= 200) {
r += ` ${He} is now so immensely obese ${his} health is greatly at risk; <span class="yellow">${his} drug regimen has been ended.</span>`;
slave.drugs = "no drugs";
} else if (rearLipedemaMod === 2) {
r += ` ${His} <span class="orange">waistline swells slightly,</span> but <span class="lime">${his} butt barely loses any mass</span>`;
if (V.geneticMappingUpgrade >= 1) {
r += ` due to ${his} rear lipedema putting it right back.`;
} else {
r += ` for an unknown reason.`;
}
slave.butt -= 0.2;
slave.weight += 5;
} else if (buttSize >= 15) {
r += ` <span class="lime">${His} butt shrinks painfully,</span> becoming massively smaller while ${his} <span class="orange">waistline swells tremendously.</span>`;
slave.butt -= 2;
slave.weight += 25;
} else if (buttSize >= 10) {
r += ` <span class="lime">${His} butt shrinks painfully,</span> becoming smaller while ${his} <span class="orange">waistline swells tremendously.</span>`;
slave.butt -= 1;
slave.weight += 20;
} else if ((slave.geneMods.NCS === 1) || (jsRandom(1, 100) > (50 - (V.injectionUpgrade * 10) - buttSize))) {
r += ` <span class="lime">${His} butt shrinks painfully,</span> becoming smaller while ${his} <span class="orange">waistline swells greatly.</span>`;
slave.butt -= 1;
slave.weight += 10;
}
slave.butt = Math.clamp(slave.butt, 0, 20);
break;
case "sag-B-gone":
if (slave.assignment === Job.CONCUBINE) {
r += ` Before bed and when you awake, you take the time sensually <span class="coral">massage sag-B-gone into ${his} breasts,</span> which, while enjoyable to the both of you, doesn't seem to be doing much.`;
} else if (slave.assignment === Job.FUCKTOY) {
r += ` Whenever you have a free moment you take that time to <span class="coral">massage sag-B-gone into ${his} breasts,</span> which, while enjoyable, doesn't seem to be doing much.`;
} else {
r += ` ${He} is required to frequently <span class="coral">massage sag-B-gone into ${his} breasts,</span> which, while enjoyable to watch, doesn't seem to be doing much.`;
}
break;
}
if (slave.drugs !== "no drugs" && slave.drugs !== "appetite suppressors") {
if (V.arcologies[0].FSBodyPuristLaw === 0) {
if (V.healthyDrugsUpgrade === 0) {
slave.chem += 1.5;
if (intensive) {
slave.chem += 1;
}
}
}
}
if (intensive) {
r += ` Such reckless doping is dangerous and <span class="red">unhealthy.</span>`;
healthDamage(slave, jsRandom(3, 5));
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function pregnancyDrugEffects(slave) {
switch (slave.pregControl) {
case "slow gestation":
slave.chem += 1;
if (slave.preg >= slave.pregData.normalBirth) {
r += ` ${He} is full term; gestation restriction agents <span class="red">can't suppress labor</span> and ${his} regimen is ended to prevent health damage.`;
slave.pregControl = "none";
} else if ((slave.preg >= slave.pregData.normalBirth / 2.5) || (slave.bellyPreg >= 1500 && slave.weight <= 130)) {
r += ` ${His} belly feels very docile, ${his} gestation rate is <span class="coral">greatly reduced.</span>`;
} else if (slave.preg > 0) {
r += ` ${His} gestation rate is <span class="coral">greatly reduced,</span> delaying how long it will be until ${his} pregnancy is visible.`;
}
break;
case "speed up":
slave.chem += 2;
if (slave.preg >= slave.pregData.normalBirth) {
r += ` ${His} child is ready to pop out of ${his} womb; <span class="yellow">${his} course of rapid gestation agents is finished.</span>`;
slave.pregControl = "none";
} else if ((slave.assignment !== Job.CLINIC || !S.Nurse) && slave.geneMods.rapidCellGrowth !== 1) {
r += ` ${His} `;
if (slave.pregType > 1) {
r += `children are`;
} else {
r += `child is`;
}
r += ` growing rapidly within ${his} womb, far faster than ${his} <span class="red">poor body can handle.</span>`;
if (slave.pregType >= 10 && slave.bellyPreg >= 100000) {
r += ` ${His} rate of growth is straining ${his} womb; ${he} is <span class="red">at risk of bursting!</span>`;
}
healthDamage(slave, (slave.preg + slave.pregType - slave.bellySag));
if (slave.health.condition < -90) {
r += ` ${His} critically poor health <span class="orange">caused ${him} to miscarry.</span>`;
if (lastPregRule(slave, V.defaultRules)) {
slave.preg = -1;
} else {
slave.preg = 0;
}
TerminatePregnancy(slave);
actX(slave, "miscarriages");
if (slave.fetish !== "mindbroken" && slave.fuckdoll === 0) {
r += ` ${He} is`;
if (slave.devotion < -50) {
r += ` <span class="mediumorchid">filled with violent, consuming hatred</span> and <span class="gold">fear.</span> Even though ${he} knew ${his} baby was destined for a slave orphanage, it seems ${he} cared for it and views you as its killer.`;
slave.devotion -= 25;
slave.trust -= 25;
} else if (slave.devotion < -20) {
r += ` <span class="mediumorchid">afflicted by desperate, inconsolable grief</span> and <span class="gold">horror.</span> Even though ${he} knew ${his} baby was destined for a slave orphanage, it seems ${he} cared for it.`;
slave.devotion -= 10;
slave.trust -= 20;
} else if (slave.devotion <= 20) {
r += ` <span class="mediumorchid">consumed by enduring sorrow</span> and <span class="gold">horror.</span> Even though ${he} knew ${his} baby was destined for a slave orphanage, it seems ${he} cared for it.`;
slave.devotion -= 5;
slave.trust -= 5;
} else if (slave.devotion <= 50) {
r += ` dully obedient. ${He} has been broken to slave life so thoroughly that even this is neither surprising nor affecting.`;
} else {
r += ` <span class="hotpink">pleased by this stark development,</span> since ${he} is so attentive to your will. ${He} also expects ${he} will be able to fuck better now once ${his} health recovers.`;
slave.devotion += 4;
}
}
if (slave.abortionTat > -1) {
slave.abortionTat++;
r += ` The temporary tattoo of a child has been replaced with ${his} ${ordinalSuffix(slave.abortionTat)} crossed out infant.`;
cashX(forceNeg(V.modCost), "slaveMod", slave);
}
}
}
break;
case "labor suppressors":
slave.chem += 2;
if (WombBirthReady(slave, slave.pregData.normalBirth * 1.5) > 0) {
healthDamage(slave, 20);
induce(slave);
V.birthee = 1;
r += ` ${He} has been ready to give birth for some time now. Suppressing birth for so long <span class="red">greatly affects ${his} health.</span> ${He} may <span class="red">have trouble</span> giving birth to ${his} oversized child`;
if (slave.pregType > 1) {
r += `ren`;
}
r += `. ${He} seems to be in distress, ${his} body is <span class="red">forcing ${his} child`;
if (slave.pregType > 1) {
r += `ren`;
}
r += ` out!</span>`;
} else if (WombBirthReady(slave, slave.pregData.normalBirth * 1.25) > 0) {
healthDamage(slave, 20);
r += ` ${He} has been ready to give birth for some time now. Suppressing birth for so long <span class="red">greatly affects ${his} health.</span> ${He} may <span class="red">have trouble</span> giving birth to ${his} oversized child`;
if (slave.pregType > 1) {
r += `ren`;
}
r += `. `;
} else if (WombBirthReady(slave, slave.pregData.normalBirth) > 0) {
healthDamage(slave, 10);
r += ` Labor suppressing agents <span class="red">negatively affect ${his} health.</span> `;
}
break;
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function curativeEffects(slave) {
if (slave.health.condition > 90) {
r += ` ${His} health is already outstanding and cannot be improved with further drug treatment. <span class="yellow">${His} drug regimen has defaulted to preventatives.</span>`;
slave.curatives = 1;
} else if ((slave.assignment === Job.REST || slave.assignment === Job.SPA) && (slave.fetish !== "mindbroken")) {
if (slave.inflationType !== "curative" || slave.inflation === 0) {
r += ` The curatives ${he}'s taking synergize with rest, keeping ${him} asleep most of the time. This is an <span class="green">extremely effective health treatment.</span>`;
} else {
r += ` Since ${he} is usually slumbering soundly, the curatives are able to <span class="green">work more efficiently.</span>`;
}
improveCondition(slave, 4);
} else if (slave.health.condition < -20) {
r += ` <span class="green">${His} poor health rapidly improves</span> under drug treatment.`;
improveCondition(slave, 2);
} else {
r += ` <span class="green">${His} health improves</span> under curative treatment.`;
}
if (slave.fuckdoll === 0 && slave.fetish !== "mindbroken") {
r += ` ${He} <span class="mediumaquamarine">trusts you more</span> for giving ${him} access to expensive modern medicine.`;
slave.trust += 1;
}
if (slave.curatives === 2) {
improveCondition(slave, 6);
improveCondition(slave, V.curativeUpgrade * 6);
slave.chem += 1;
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function aphrodisiacEffects(slave) {
if (slave.aphrodisiacs > 1) {
r += ` The aphrodisiacs ${he}'s on `;
if (slave.energy <= 95) {
r += `<span class="green">rapidly boost ${his} sex drive.</span>`;
slave.energy += 5;
} else {
r += `can't improve ${his} absurd sex drive.`;
}
if (slave.fuckdoll === 0 && slave.fetish !== "mindbroken") {
r += ` They <span class="hotpink">increase ${his} acceptance</span> of sexual slavery.`;
slave.devotion += 5;
}
if (V.arcologies[0].FSBodyPuristLaw === 0 && V.healthyDrugsUpgrade === 0) {
r += ` Such a high dosage <span class="red">isn't healthy.</span>`;
healthDamage(slave, 5);
}
slave.chem += 1;
} else {
r += ` The aphrodisiacs ${he}'s on `;
if (slave.energy <= 95) {
r += `<span class="green">boost ${his} sex drive.</span>`;
slave.energy += 3;
} else {
r += `can't improve ${his} absurd sex drive.`;
}
if (slave.fuckdoll === 0 && slave.fetish !== "mindbroken") {
r += ` They <span class="hotpink">increase ${his} acceptance</span> of sexual slavery.`;
slave.devotion += 3;
}
slave.chem += 0.5;
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function healthAndWellness(slave) {
slave.chem = Math.clamp(slave.chem-0.5, 0, 1000);
// illness
if (slave.curatives < 2 && slave.inflationType !== "curative" && slave.assignment !== Job.SPA && slave.assignment !== Job.REST && slave.assignment !== Job.CLINIC) {
if (slave.health.illness > 0) {
r += ` ${He} is `;
if (slave.health.illness > 4) {
r += `deathly`;
} else if (slave.health.illness > 3) {
r += `seriously`;
} else if (slave.health.illness < 2) {
r += `slightly`;
}
if (slave.fuckdoll === 0) {
if (slave.fetish === "mindbroken") {
r += ` ill, yet still continues to mindlessly carry out ${his} duties.`;
} else if (slave.health.illness < 2) {
r += ` ill, though not enough to complain about.`;
} else if (slave.devotion < 20) {
r += ` ill and <span class="mediumorchid">hates</span> having ${his} health issues <span class="gold">ignored.</span>`;
slave.devotion -= slave.health.illness * 2;
slave.trust -= slave.health.illness;
} else if (slave.devotion < 50) {
r += ` ill and <span class="mediumorchid">resents</span> being <span class="gold">denied</span> proper treatment.`;
slave.devotion -= slave.health.illness * 3;
slave.trust -= slave.health.illness * 2;
} else if (slave.health.illness > 3) {
r += ` ill and <span class="gold">struggles with</span> being withheld treatment.`;
slave.trust -= slave.health.illness * 3;
} else {
r += ` ill and does ${his} best to continue with ${his} duties out of dedication to you.`;
}
} else {
r += ` ill, triggering ${his} suit's preventative measures.`;
}
}
if (slave.fuckdoll === 0) {
if (slave.fetish !== "mindbroken") {
if (slave.health.condition < -50) {
r += ` It's difficult being so in such poor condition, and ${he} <span class="mediumorchid">resents you</span> for ignoring ${his} plight.`;
slave.devotion -= 2;
} else if (slave.health.condition > 50) {
r += ` ${He} understands that ${he} owes ${his} near-perfect health to you and <span class="hotpink">believes</span> that life with you is better than freedom in some ways.`;
slave.trust += 1;
}
}
}
}
r += ` ${illness(slave)}`;
// tiredness
if (slave.drugs !== "stimulants" && slave.inflationType !== "stimulant") {
if (slave.assignment !== Job.SPA && slave.assignment !== Job.REST && slave.assignment !== Job.CLINIC) {
if (slave.health.tired > 90) {
r += ` ${He} has been worked to the bone`;
if (slave.devotion < 20) {
r += ` and <span class="hotpink">bends a little more to your will,</span> while <span class="gold">fearing ${he}'ll never earn a reprieve</span> from toiling.`;
slave.devotion += 1;
slave.trust -= 2;
} else if (slave.devotion < 50) {
r += ` and can't help but <span class="gold">worry a little about ${his} well-being.</span>`;
slave.trust -= 1;
} else {
r += ` but ${he} carries on without complaint, keeping ${his} <span class="mediumorchid">growing doubts</span> to ${himself}.`;
slave.devotion -= 2;
}
} else if (slave.health.tired > 60) {
r += ` ${He} is suffering from exhaustion`;
if (slave.devotion < 20) {
r += ` and it is <span class="hotpink">wearing away at ${his} resistance.</span>`;
slave.devotion += 1;
} else {
r += ` but ${he} tries not to let it show.`;
}
}
}
}
// addiction
if (slave.addict > 0) {
if (slave.aphrodisiacs > 0) {
slave.addict += slave.aphrodisiacs;
} else if (slave.addict < 2) {
r += ` ${He} has finally been <span class="cyan">weaned off aphrodisiacs.</span>`;
slave.addict = 0;
} else if (V.aphrodisiacUpgrade === 1) {
r += ` Substitutes produced by your advanced pharmaceutical fabricator protect ${him} from the negative effects of aphrodisiac withdrawal and even hasten the flushing of ${his} system.`;
slave.addict -= 2;
} else if (slave.inflationType !== "aphrodisiac") {
r += ` ${He} feels the effects of withdrawal from aphrodisiacs keenly, and ${he} is <span class="mediumorchid">bitterly resentful.</span>`;
slave.addict -= 2;
slave.devotion -= 10;
} else {
r += ` ${He} gets ${his} fix from ${his} aphrodisiac filled belly.`;
}
} else {
if (slave.aphrodisiacs > 0) {
if (jsRandom(1, 100) < 40 + (20 * slave.aphrodisiacs)) {
r += ` <span class="cyan">${He} has become an aphrodisiac addict.</span>`;
slave.addict = 1;
}
}
}
// suppository drug delivery
if (slave.fuckdoll === 0) {
if (V.suppository === 1) {
if ((slave.aphrodisiacs > 0) || (slave.curatives > 0) || (slave.drugs === "psychosuppressants") || (slave.drugs === "hormone enhancers") || (slave.drugs === "hormone blockers") || (slave.hormones !== 0)) {
if (slave.anus === 0) {
if (slave.fetish === "mindbroken") {
r += ` ${His} <span class="lime">virgin anus is broken in</span> by a callous machine, but ${he} didn't notice.`;
} else if (slave.devotion <= 20) {
r += ` ${His} <span class="lime">anal virginity is taken</span> by a machine whose sole purpose is to fuck drugs into ${him}; <span class="mediumorchid">an indignity ${he} does not take well.</span>`;
slave.devotion -= 10;
} else {
r += ` ${His} <span class="lime">virgin anus is broken in</span> by a callous machine, but ${he} accepts such indignities as a part of life.`;
}
slave.anus = 1;
} else {
if (slave.fetish === "mindbroken") {
r += ` A reciprocating dildo pumps ${his} drug regime into ${him} each morning and night.`;
} else if (slave.sexualFlaw === "hates anal") {
if (jsRandom(1, 100) > 80) {
r += ` Getting buttfucked morning and night by reciprocating dildos that ejaculate ${his} drug regime forces ${him} to <span class="green">accept anal sex</span> as a fact of life.`;
slave.sexualFlaw = "none";
} else {
r += ` Getting buttfucked morning and night by reciprocating dildos that ejaculate ${his} drug regime <span class="mediumorchid">infuriates ${him},</span> since ${he} hates getting assraped.`;
slave.devotion -= 4;
}
} else if ((slave.fetish === "buttslut")) {
if (slave.fetishKnown === 0) {
r += ` Getting buttfucked morning and night by reciprocating dildos that ejaculate ${his} drug regime has revealed something: <span class="lightcoral">${he} likes it up the ass!</span>`;
slave.fetishKnown = 1;
} else if ((slave.fetishStrength <= 95) && (slave.devotion > 20)) {
r += ` Getting buttfucked morning and night by reciprocating dildos that ejaculate ${his} drug regime has <span class="lightcoral">deepened ${his} anal fixation.</span>`;
slave.fetishStrength += 5;
}
} else {
if (slave.devotion < -20) {
r += ` Getting buttfucked morning and night by reciprocating dildos that ejaculate ${his} drug regime <span class="mediumorchid">disgusts ${him}.</span>`;
slave.devotion -= 2;
} else if (fetishChangeChance(slave) > jsRandom(0, 100)) {
r += ` ${He} starts to look forward to getting buttfucked morning and night by reciprocating dildos that ejaculate ${his} drug regime; ${he}'s <span class="lightcoral">become anally fixated.</span>`;
slave.fetish = "buttslut";
slave.fetishKnown = 1;
slave.fetishStrength = 10;
} else {
r += ` A reciprocating dildo pumps ${his} drug regime into ${him} each morning and night.`;
}
}
if (slave.sexualQuirk === "painal queen") {
r += ` ${He} <span class="hotpink">secretly enjoys</span> being assraped by a machine twice a day.`;
slave.devotion += 1;
}
if (slave.anus === 1) {
if (jsRandom(1, 100) > 70) {
r += ` The regular machine anal <span class="lime">stretches out ${his} tight asshole.</span>`;
slave.anus += 1;
}
}
}
}
}
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function drugExpiry(slave) {
switch (slave.drugs) {
case "growth stimulants":
if (!canImproveHeight(slave)) {
r += ` ${His} body has already grown far past ${his} natural limits; further injections of stimulants will have no effect. <span class="yellow">${His} drug regimen has been ended.</span>`;
slave.height = Math.clamp(slave.height, 0, maxHeight(slave));
slave.drugs = "no drugs";
}
break;
case "breast injections":
case "intensive breast injections":
if (slave.boobs >= 50000) {
r += ` ${His} udders are now so huge that further A-HGH treatment will not increase their size. <span class="yellow">${His} drug regimen has been ended.</span>`;
slave.boobs = Math.clamp(slave.boobs, 0, 50000);
slave.drugs = "no drugs";
}
break;
case "butt injections":
case "intensive butt injections":
if (slave.butt >= 10) {
r += ` ${His} ass is now so huge that further A-HGH treatment will not increase its size. <span class="yellow">${His} drug regimen has been ended.</span>`;
slave.butt = Math.clamp(slave.butt, 0, 20);
slave.drugs = "no drugs";
}
break;
case "hyper butt injections":
if (slave.butt >= 20) {
r += ` ${His} ass is now so freakishly monstrous that further HA-HGH treatment will not increase its size. <span class="yellow">${His} drug regimen has been ended.</span>`;
slave.butt = Math.clamp(slave.butt, 0, 20);
slave.drugs = "no drugs";
}
break;
case "hyper breast injections":
if (slave.boobs >= 50000) {
r += ` ${His} udders are now so huge that further HA-HGH treatment will not increase their size. <span class="yellow">${His} drug regimen has been ended.</span>`;
slave.boobs = Math.clamp(slave.boobs, 0, 50000);
slave.drugs = "no drugs";
}
break;
case "lip injections":
if ((slave.lips > 95) || (slave.lips > 85 && V.seeExtreme !== 1)) {
r += ` ${His} lips are now so huge that further A-HGH treatment will not increase their size. <span class="yellow">${His} drug regimen has been ended.</span>`;
slave.drugs = "no drugs";
}
break;
case "penis enhancement":
case "intensive penis enhancement":
if (slave.dick >= 10) {
r += ` ${His} cock is now so huge that further drug enhancement will not increase its size. <span class="yellow">${His} drug regimen has been ended.</span>`;
slave.dick = Math.clamp(slave.dick, 0, 10);
slave.drugs = "no drugs";
} else if (slave.clit >= 5 && slave.dick === 0) {
r += ` ${His} clit is now so huge that further drug enhancement will not increase its size. <span class="yellow">${His} drug regimen has been ended.</span>`;
slave.clit = Math.clamp(slave.clit, 0, 5);
slave.drugs = "no drugs";
}
break;
case "testicle enhancement":
case "intensive testicle enhancement":
if (slave.balls >= 10) {
r += ` ${His} balls are now so huge that further drug enhancement will not increase their size. However, leaving ${him} on them will still stimulate cum production.`;
} else if (slave.balls >= 2 && slave.scrotum === 0) {
r += ` ${His} balls are now functionally sized, and cannot sustainably grow larger hidden within ${his} abdomen. <span class="yellow">${His} drug regimen has been ended.</span>`;
slave.balls = Math.clamp(slave.balls, 0, 2);
slave.drugs = "no drugs";
}
break;
case "psychosuppressants":
if (slave.intelligence < -95) {
r += ` ${He} is so moronic that drug treatment can't really make ${him} more willing to obey others than ${he} already is. <span class="yellow">${His} drug regimen has been ended.</span>`;
slave.drugs = "no drugs";
}
break;
case "psychostimulants":
if (!canImproveIntelligence(slave)) {
r += ` ${His} intelligence has been improved as much as a drink possibly can. <span class="yellow">${His} drug regimen has been ended.</span>`;
slave.drugs = "no drugs";
}
break;
}
if (slave.pregControl !== "none" && slave.pregKnown === 0) {
r += ` ${He} is not pregnant; use of pregnancy controlling drugs will have no effect. <span class="yellow">${His} drug regimen has been ended.</span>`;
slave.pregControl = "none";
}
}
})();
|
MonsterMate/fc
|
src/endWeek/saDrugs.js
|
JavaScript
|
mit
| 88,395
|
App.SlaveAssignment.getMilked = (function() {
"use strict";
let arcology;
let vignetteCash;
let vignetteRep;
class MilkingResults {
constructor() {
/** full description of milking */
this.text = ``;
/** cum collected in deciliters */
this.cum = 0;
/** cash expected from sale of cum */
this.cumSale = 0;
/** girlcum collected in deciliters */
this.fluid = 0;
/** cash expected from sale of girlcum */
this.fluidSale = 0;
/** milk collected in gallons */
this.milk = 0;
/** cash expected from sale of milk */
this.milkSale = 0;
}
/** total cash collected by this milking */
get cash() {
return this.cumSale + this.fluidSale + this.milkSale;
}
}
/** @type {MilkingResults} */
let r;
// could probably move these back or something
let hormones;
let cumHormones;
let implantEffect;
let he, him, his, He, His;
return saGetMilked;
/**
* @param {App.Entity.SlaveState} slave
* @param {number} [multiplier=1.0]
* @param {boolean} [preview=false] are we trying to preview milking income, or may we make changes to the slave?
* @returns {MilkingResults}
*/
function saGetMilked(slave, multiplier=1.0, preview=false) {
arcology = V.arcologies[0];
r = new MilkingResults();
vignetteCash = 0;
vignetteRep = 0;
if (!preview) {
({
he, him, his, He, His
} = getPronouns(slave));
jobPreface(slave);
}
if (slave.lactation > 0) {
harvestMilk(slave, multiplier);
if (!preview) {
milkingEffects(slave);
}
}
// Limits penthouse milkers to milk only.
if ([Job.ARCADE, Job.MILKED, Job.DAIRY].includes(slave.assignment) || preview) {
if (slave.balls > 0) {
harvestCum(slave, multiplier);
if (!preview) {
cumEffects(slave);
}
}
if (slave.genes === "XX" && slave.prostate > 0 && slave.balls === 0) {
harvestGirlCum(slave, multiplier);
}
}
if (!preview) {
recordTotals(slave);
physicalEffects(slave);
mentalEffects(slave);
if (V.showVignettes === 1 && (slave.assignment === window.Job.MILKED || slave.assignment === window.Job.DAIRY)) {
assignmentVignette(slave);
}
if (slave.assignment === window.Job.MILKED) {
cashX(r.cash, "slaveAssignmentMilked", slave);
} else if (slave.assignment === window.Job.DAIRY) {
recordFacilityStatistics(getSlaveStatisticData(slave, V.facility.dairy));
applyFSDecoration();
cashX(r.cash, "slaveAssignmentDairy", slave);
} else {
cashX(r.cash, "slaveAssignmentExtraMilk", slave);
}
}
return r;
}
/**
* @param {App.Entity.SlaveState} slave
*/
function recordTotals(slave) {
actX(slave, "milk", r.milk);
actX(slave, "cum", r.cum);
}
/**
* @param {object} incomeStats getSlaveStatistcData return value - FIXME should be a named type
*/
function recordFacilityStatistics(incomeStats) {
incomeStats.milk = r.milk;
incomeStats.cum = r.cum;
incomeStats.fluid = r.fluid;
incomeStats.income = r.cash + vignetteCash;
incomeStats.rep = vignetteRep;
}
/**
* @param {App.Entity.SlaveState} slave
*/
function jobPreface(slave) {
r.text += `gets milked this week.`;
if (V.dairy > 0 && V.dairyRestraintsSetting < 2) {
if ((V.universalRulesFacilityWork === 1 && slave.assignment === window.Job.MILKED && V.dairySpots > 0) || (slave.assignment === window.Job.DAIRY)) {
if (slave.assignment === window.Job.MILKED) {
r.text += ` Since there's extra space in ${V.dairyName}, ${he} spends most of ${his} milkings there.`;
V.dairySpots -= 1; // Would this need to be pulled for statistics gathering?
}
if (V.MilkmaidID !== 0) {
r.text += ` While there, ${he} gets the benefit of ${S.Milkmaid.slaveName}'s `;
if (S.Milkmaid.physicalAge < 21) {
r.text += `youthful energy`;
} else {
r.text += `care`;
}
if (S.Milkmaid.skill.oral >= 100) {
r.text += ` and talented tongue`;
}
r.text += `.`;
if (slave.devotion < V.milkmaidDevotionThreshold) {
slave.devotion += V.milkmaidDevotionBonus;
}
if (slave.trust < V.milkmaidTrustThreshold) {
slave.trust += V.milkmaidTrustBonus;
}
if (slave.health.condition < 100) {
slave.health.condition += V.milkmaidHealthBonus;
}
}
}
}
}
/**
* @param {App.Entity.SlaveState} slave
* @param {number} multiplier
*/
function harvestMilk(slave, multiplier) {
r.milk = milkAmount(slave);
r.text += ` ${He} produces from ${his} ${jsEither(["boobs", "breasts", "mammaries", "tits", "udders"])}, which have a combined volume of ${(slave.boobs * 2)} CCs; `;
if (slave.lactation === 1) {
r.text += `${he} is lactating naturally and produces `;
if (implantEffect >= 0.90) {
r.text += `a weak trickle of milk.`;
} else if (implantEffect >= 0.75) {
r.text += `a weak stream of milk.`;
} else {
r.text += `a healthy stream of milk.`;
}
// I want to increase lactationAdaptation for normal milk too. Since it is locked to integers, I would need something like .ageAdjust it seems.
} else if (slave.lactation === 2) {
r.text += `${he} is on lactation drugs and produces `;
if (implantEffect >= 0.90) {
r.text += `a steady flow of milk.`;
} else if (implantEffect >= 0.75) {
r.text += `strong bursts of milk.`;
} else {
r.text += `a river of milk.`;
}
if (slave.lactationAdaptation < 100) {
r.text += ` ${His} udders are forced to adapt to this unnatural productivity.`;
slave.lactationAdaptation += 1;
}
if (slave.curatives === 0 && slave.inflationType !== "curative") {
r.text += ` The stress of extreme milk production <span class="health dec">damages ${his} health.</span>`;
healthDamage(slave, 3);
}
}
if (slave.boobsMilk > 0) {
r.text += ` ${He} was in need of a good milking, too.`;
}
if (slave.devotion > 50) {
r.text += ` ${He}'s such a happy cow that ${his} mental state has a positive impact on ${his} production.`;
} else if (slave.devotion < -50) {
r.text += ` ${He}'s such an unhappy cow that ${his} mental state has a negative impact on ${his} production.`;
}
if (slave.boobsImplant > 0) {
implantEffect = (slave.boobsImplant / slave.boobs);
}
if (slave.boobsImplant > 0) {
r.text += ` However, ${his} `;
if (implantEffect >= 0.90) {
r.text += `breast implants are ill-suited for`;
} else if (implantEffect >= 0.75) {
r.text += `breasts are almost entirely implant, greatly restricting ${his}`;
} else if (implantEffect >= 0.60) {
r.text += `breasts are mostly implant, restricting ${his}`;
} else if (implantEffect >= 0.45) {
r.text += `implants make up a considerable amount of ${his} breasts and greatly impede`;
} else if (implantEffect >= 0.30) {
r.text += `breast implants take up enough space to impede`;
} else if (implantEffect >= 0.10) {
r.text += `breast implants slightly impede`;
} else {
r.text += `breast implants cause a minor decrease in`;
}
r.text += ` milk production`;
if (implantEffect >= 0.90) {
r.text += `, given the lack of actual breast flesh`;
}
r.text += `.`;
}
hormones = (slave.hormoneBalance / 100);
if (slave.balls !== 0) {
hormones -= 1;
}
if (slave.ovaries !== 0 || slave.mpreg !== 0) {
hormones += 1;
}
if (hormones > 1) {
r.text += ` ${His} internal chemistry is perfectly suited to milk production.`;
} else if (hormones > 0) {
r.text += ` ${His} hormonal balance favors milk production.`;
} else if (hormones < 0) {
r.text += ` ${His} hormonal balance impedes milk production.`;
} else if (hormones < -1) {
r.text += ` ${His} internal chemistry is poorly suited to milk production.`;
}
if (slave.lactationAdaptation < 100) {
if (slave.assignment === Job.MILKED || slave.assignment === Job.DAIRY) {
r.text += ` Living as a cow helps ${his} body and mind adapt to producing milk.`;
slave.lactationAdaptation += 1;
}
}
if (slave.preg > (slave.pregData.normalBirth / 8) && slave.pregKnown === 1) {
r.text += ` ${His} pregnancy helps ${his} body produce more milk naturally`;
if (slave.lactationAdaptation < 100) {
r.text += `, and also helps it adapt to milk production`;
slave.lactationAdaptation += 1;
}
r.text += `.`;
}
if (slave.health.condition > 50) {
r.text += ` ${His} shining health helps ${him} really produce.`;
} else if (slave.health.condition < -50) {
r.text += ` ${His} poor health impedes milk production.`;
}
if (slave.weight > 10) {
r.text += ` ${His} extra weight supports ${his} productivity.`;
} else if (slave.weight < -10) {
r.text += ` ${His} thinness hinders ${his} productivity.`;
}
if (slave.lactationAdaptation > 10) {
if (slave.lactationAdaptation > 50) {
r.text += ` ${His} body has adapted heavily to milk production, making ${him} extremely productive.`;
} else {
r.text += ` ${His} body has gotten used to producing milk, making ${him} very productive.`;
}
}
if (V.dairySlimMaintainUpgrade === 1) {
if (V.dairySlimMaintain === 1) {
if (slave.boobs <= 700) {
if (arcology.FSSlimnessEnthusiast > 80) {
r.text += ` Your arcology's milkers are optimized to extract maximum output from small breasted slaves, which substantially increases ${his} otherwise modest productivity.`;
r.milk *= 1.5;
} else if (arcology.FSSlimnessEnthusiast > 20) {
r.text += ` Your arcology's milkers have been carefully modified to more readily accommodate slaves with tiny breasts, which slightly mitigates ${his} less than ideal physiology for milk production.`;
r.milk *= 1.1;
}
}
}
}
if (slave.assignment === Job.DAIRY) { // FIXME: no text for this block???
if (V.dairyFeedersUpgrade === 1) {
if (V.dairyFeedersSetting > 0) {
r.milk += (r.milk * (0.1 * (V.dairyFeedersUpgrade + V.dairyRestraintsSetting + ((50 - slave.physicalAge) / 20))));
if (slave.chem > 360) {
r.milk *= 0.6;
} else if (slave.chem > 100) {
r.milk *= ((600 - slave.chem) / 600);
}
}
}
}
r.milk *= multiplier;
r.milk = Math.max(Math.trunc(r.milk), 1);
r.text += ` As a result, ${he} produces ${numberWithPluralOne(r.milk, "liter")} of milk over the week.`;
// make sure milkSale is set here
if (arcology.FSPastoralistLaw === 1) {
r.milkSale = (r.milk * (8 + Math.trunc(arcology.FSPastoralist / 30)));
r.text += ` Since breast milk is ${arcology.name}'s only legal dairy product, ${he} can scarcely be milked fast enough, and ${he} makes <span class="cash inc">${cashFormat(r.milkSale)}.</span>`;
} else if (arcology.FSPastoralist !== "unset") {
r.milkSale = (r.milk * (6 + Math.trunc(arcology.FSPastoralist / 30)));
r.text += ` Since milk is fast becoming a major part of the ${arcology.name}'s dietary culture, ${his} milk is in demand, and ${he} makes <span class="cash inc">${cashFormat(r.milkSale)}.</span>`;
} else if (arcology.FSRepopulationFocusLaw === 1) {
r.milkSale = (r.milk * (6 + Math.trunc(arcology.FSRepopulationFocus / 50)));
r.text += ` Since the number of hungry babies outweighs the supply of available breasts in ${arcology.name}, ${his} milk is in demand, and ${he} makes <span class="cash inc">${cashFormat(r.milkSale)}.</span>`;
} else {
r.milkSale = (r.milk * 6);
r.text += ` ${His} milk is sold for <span class="cash inc">${cashFormat(r.milkSale)}.</span>`;
}
}
/**
* @param {App.Entity.SlaveState} slave
*/
function milkingEffects(slave) {
if (slave.fetishKnown) {
if (slave.fetish === "boobs" || slave.energy > 95) {
r.text += ` Getting constantly milked is as good as sex, as far as ${he}'s concerned. <span class="devotion inc">${He} is happy</span> to have ${his} breasts receive so much attention.`;
slave.devotion += 1;
if (slave.need > 0) {
slave.need = 0;
}
}
}
if (slave.career === "a dairy cow" && slave.fetish !== "mindbroken" && slave.fuckdoll === 0) {
r.text += ` ${He} feels like <span class="devotion inc">${he} was made to be milked,</span> <span class="trust inc">not that ${he}'d complain about such a good feeling.</span>`;
slave.devotion++;
slave.trust++;
if (slave.need > 0) {
slave.need = 0;
}
}
if (slave.nipples !== "huge") {
if (slave.nipples === "inverted") {
if (slave.fetish === "masochist" && slave.fetishKnown === 1) {
r.text += ` Having the milkers constantly haul ${his} inverted nipples out is <span class="devotion inc">extremely uncomfortable; ${he} loves it.</span>`;
slave.devotion += 3;
} else {
r.text += ` Having the milkers constantly haul ${his} inverted nipples out is <span class="devotion dec">extremely uncomfortable.</span>`;
slave.devotion -= 3;
}
if (jsRandom(1, 100) > 50) {
r.text += ` The constant suction <span class="change positive">permanently protrudes them,</span> and `;
if (jsRandom(1, 2) === 1) {
r.text += `it turns out they're absolutely massive.`;
slave.nipples = "huge";
} else {
r.text += `it turns out they're nice and puffy.`;
slave.nipples = "puffy";
}
}
} else if (slave.nipples === "partially inverted") {
if (slave.fetish === "masochist" && slave.fetishKnown === 1) {
r.text += ` Having the milkers constantly haul ${his} inverted nipples out is <span class="devotion inc">quite uncomfortable; ${he} loves it.</span>`;
slave.devotion += 1;
} else {
r.text += ` Having the milkers constantly haul ${his} inverted nipples out is <span class="devotion dec">quite uncomfortable.</span>`;
slave.devotion -= 1;
}
if (jsRandom(1, 100) > 30) {
r.text += ` The constant suction <span class="change positive">permanently protrudes them,</span> and `;
if (jsRandom(1, 2) === 1) {
r.text += `it turns out they're pretty cute.`;
slave.nipples = "cute";
} else {
r.text += `it turns out they're nice and puffy.`;
slave.nipples = "puffy";
}
}
} else if (slave.nipples === "puffy" && jsRandom(1, 100) > 90) {
r.text += ` Producing this river of milk <span class="change positive">enlarges ${his} nipples:</span> they're now enormous.`;
slave.nipples = "huge";
} else if (slave.nipples === "cute" && jsRandom(1, 100) > 80) {
r.text += ` Producing this river of milk <span class="change positive">makes ${his} nipples nice and puffy.</span>`;
slave.nipples = "puffy";
} else if (slave.nipples === "tiny") {
r.text += ` Producing this river of milk <span class="change positive">makes ${his} nipples grow to a nice size.</span>`;
slave.nipples = "cute";
} else if (slave.areolae < 4 && jsRandom(1, 100) > (30 + (slave.areolae * 20))) {
if (slave.nipples === "fuckable") {
r.text += ` The constant suction around of ${his} nipples as their depths are drained of milk`;
} else {
r.text += ` Producing this river of milk`;
}
r.text += ` <span class="change positive">broadens ${his} areolae.</span>`;
slave.areolae += 1;
}
}
slave.lactationDuration = 2;
if (slave.boobsMilk > 0) {
slave.boobs -= slave.boobsMilk;
slave.boobsMilk = 0;
}
}
/**
* @param {App.Entity.SlaveState} slave
* @param {number} multiplier
*/
function harvestCum(slave, multiplier) {
let qualityMultiplier = 1.0;
r.cum = cumAmount(slave);
if (slave.lactation > 0) {
r.text += ` ${His} `;
} else {
r.text += ` ${slave.slaveName}'s `;
}
if (slave.dick > 0) {
if (slave.dick > 6) {
r.text += `inhuman`;
} else if (slave.dick > 5) {
r.text += `massive`;
} else if (slave.dick > 4) {
r.text += `big`;
} else if (slave.dick > 3) {
r.text += `sizable`;
} else if (slave.dick > 2) {
r.text += `moderate`;
} else if (slave.dick > 1) {
r.text += `little`;
} else {
r.text += `tiny`;
}
r.text += ` prick is`;
if (slave.lactation > 0) {
r.text += ` also`;
}
r.text += ` machine-milked`;
} else {
r.text += `butt is machine-fucked`;
}
r.text += ` to extract the cum from ${his} `;
if (slave.scrotum === 0) {
r.text += `invisible`;
} else {
if (slave.balls > 10) {
r.text += `hypertrophied`;
} else if (slave.balls >= 10) {
r.text += `inhuman`;
} else if (slave.balls >= 9) {
r.text += `titanic`;
} else if (slave.balls >= 8) {
r.text += `gigantic`;
} else if (slave.balls >= 7) {
r.text += `monstrous`;
} else if (slave.balls >= 6) {
r.text += `pendulous`;
} else if (slave.balls >= 5) {
r.text += `huge`;
} else if (slave.balls >= 4) {
r.text += `big`;
} else if (slave.balls >= 3) {
r.text += `average`;
} else {
r.text += `pathetic`;
}
}
if (slave.drugs === "testicle enhancement") {
r.text += ` balls, relieving them of the excessive cum production caused by the testicle enhancement drugs.`;
} else if (slave.drugs === "hyper testicle enhancement") {
r.text += ` balls, relieving them of the excessive cum production caused by the hyper testicle enhancement drugs.`;
} else {
r.text += ` balls.`;
}
if (slave.diet === "cum production") {
r.text += ` ${His} diet is designed for cum production.`;
}
cumHormones = (slave.hormoneBalance / 50);
if (cumHormones < -1) {
r.text += ` ${His} internal chemistry is perfectly suited to cum production.`;
} else if (cumHormones < 0) {
r.text += ` ${His} hormonal balance favors cum production.`;
} else if (cumHormones > 0) {
r.text += ` ${His} hormonal balance impedes cum production.`;
} else if (cumHormones > 1) {
r.text += ` ${His} internal chemistry is poorly suited to cum production.`;
}
if (slave.scrotum === 0) {
r.text += ` ${He} does produce cum despite ${his} apparent ballslessness, but less than ${he} would if they weren't hidden inside ${him}.`;
}
if (slave.prostate > 0) {
if (slave.prostate > 2) {
r.text += ` ${His} heavily altered prostate greatly increases the volume of ${his} ejaculations and promotes excessive, watery semen production. This dilute ejaculate<span class="cash dec">sells poorly</span> compared to normal cum.`;
} else if (slave.prostate > 1) {
r.text += ` ${His} hyperactive prostate increases the volume of ${his} ejaculations and promotes good semen production.`;
}
} else {
r.text += ` ${His} lack of a prostate reduces the health and volume of ${his} ejaculations.`;
qualityMultiplier *= 0.5;
}
if (slave.devotion > 50) {
r.text += ` ${He}'s so happy that ${his} mental state has a positive impact on ${his} semen production.`;
} else if (slave.devotion < -50) {
r.text += ` ${He}'s so unhappy that ${his} mental state has a negative impact on ${his} semen production.`;
}
if (slave.health.condition > 50) {
r.text += ` ${His} shining health helps ${him} really produce.`;
} else if (slave.health.condition < -50) {
r.text += ` ${His} poor health impedes semen production.`;
}
if (slave.vasectomy === 1) {
r.text += ` ${His} cum lacks the primary ingredient, sperm, thanks to ${his} vasectomy, <span class="cash dec">considerably lowering the value</span> of ${his} ejaculate.`;
qualityMultiplier *= 0.2;
} else if (slave.ballType === "sterile") {
r.text += ` ${His} cum lacks vigor entirely, thanks to ${his} chemical castration, <span class="cash dec">considerably lowering the value</span> of ${his} ejaculate.`;
qualityMultiplier *= 0.2;
}
if (slave.assignment === Job.DAIRY) {
if (V.dairyStimulatorsUpgrade === 1) { // FIXME: no text for this block?
if (V.dairyStimulatorsSetting > 0) {
r.cum += (r.cum * (0.2 * (V.dairyStimulatorsSetting + V.dairyRestraintsSetting + Math.trunc((50 - slave.physicalAge) / 20))));
}
if (slave.chem > 360) {
r.cum *= 0.6;
} else if (slave.chem > 100) {
r.cum *= ((600 - slave.chem) / 600);
}
} else if (V.MilkmaidID !== 0) {
if (S.Milkmaid.dick > 4 && canAchieveErection(S.Milkmaid)) {
const milkmaidPronouns = getPronouns(S.Milkmaid);
r.text += ` ${S.Milkmaid.slaveName} sometimes stands in for the machines, which is a polite way of saying ${milkmaidPronouns.he} sometimes fucks ${slave.slaveName}'s ass to help ${him} cum.`;
r.cum *= 1.2;
}
}
}
r.cum *= multiplier;
r.cum = Math.max(Math.trunc(r.cum), 1);
r.text += ` ${He} produces ${numberWithPluralOne(r.cum, "deciliter")} of cum over the week;`;
if (arcology.FSPastoralist === "unset") {
r.cumSale = (r.cum * jsRandom(15, 25) * qualityMultiplier);
r.text += ` the fresh ejaculate is sold for <span class="cash inc">${cashFormat(r.cumSale)}.</span>`;
} else if (arcology.FSPastoralistLaw === 1) {
r.cumSale = (r.cum * (jsRandom(20, 40)) * qualityMultiplier);
r.text += ` the fresh ejaculate, which is in extremely high demand as one of ${arcology.name}'s few legal sources of animal protein, is sold for <span class="cash inc">${cashFormat(r.cumSale)}.</span>`;
} else {
r.cumSale = (r.cum * (jsRandom(10, 20) + Math.trunc(arcology.FSPastoralist / 10)) * qualityMultiplier);
r.text += ` the fresh ejaculate, which is in high demand given the new cultural preference for slave products, is sold for <span class="cash inc">${cashFormat(r.cumSale)}.</span>`;
}
}
/**
* @param {App.Entity.SlaveState} slave
*/
function cumEffects(slave) {
V.cumSlaves += 1;
if (slave.energy > 95) {
r.text += ` Getting ${his} dick constantly milked is almost as good as getting constant blowjobs as far as ${he}'s concerned. <span class="devotion inc">${He} is happy</span> to have ${his} member receive so much attention.`;
slave.devotion += 1;
}
if (slave.need > 0) {
r.text += ` ${His} cock and balls are milked so thoroughly that ${he}'s involuntarily sexually sated, regardless of ${his} feelings and tastes.`;
slave.need = 0;
}
if (!canAchieveErection(slave)) {
r.text += ` Since ${he} cannot maintain an erection, ${he} requires <span class="trust dec">painful</span> and <span class="devotion dec">degrading</span> anal electrostimulation to produce.`;
slave.devotion -= 2;
slave.trust -= 2;
if (slave.anus === 0) {
r.text += ` The electrostimulator <span class="virginity loss">breaks in ${his} virgin asshole.</span>`;
slave.anus = 1;
}
} else if (slave.devotion <= 20) {
r.text += ` Since ${he}'s unaroused by ${his} situation, ${he} requires <span class="trust dec">painful</span> and <span class="devotion dec">degrading</span> anal electrostimulation to produce.`;
slave.devotion -= 2;
slave.trust -= 2;
if (slave.anus === 0) {
r.text += ` The electrostimulator <span class="virginity loss">breaks in ${his} virgin asshole.</span>`;
slave.anus = 1;
}
}
if (slave.balls < 3 && slave.ballType !== "sterile") {
if (slave.balls < 2) {
if (jsRandom(1, 100) > (70 + (slave.geneMods.NCS * 15))) {
r.text += ` Constant semen production and continual emptying and refilling <span class="change positive">increases the size of ${his} tiny testicles.</span>`;
slave.balls += 1;
}
} else if (jsRandom(1, 100) > (90 + (slave.geneMods.NCS * 5))) {
r.text += ` Constant semen production and continual emptying and refilling <span class="change positive">increases the size of ${his} small testicles.</span>`;
slave.balls += 1;
}
}
}
/**
* @param {App.Entity.SlaveState} slave
* @param {number} multiplier
*/
function harvestGirlCum(slave, multiplier) {
r.fluid = girlCumAmount(slave) * multiplier;
r.text += ` ${His} female prostate fluid is considered an exotic delicacy.`;
if (slave.vagina >= 0) {
if (slave.vaginaLube === 2) {
r.text += ` ${His} excessive vaginal secretions bolster the mix.`;
} else if (slave.vaginaLube === 1) {
r.text += ` ${His} natural vaginal secretions add to the mix.`;
}
}
if (slave.energy > 10) {
if (slave.health.condition > 50) {
if (slave.energy > 90) {
r.text += ` As a nympho, ${he} has no trouble orgasming almost constantly.`;
}
r.text += ` ${His} shining health keeps ${his} juices flowing.`;
} else if (slave.health.condition < -50) {
r.text += ` ${He} is so unwell, ${he} produces less than normal.`;
}
} else {
/* slave.energy <= 10 */
r.text += ` Unfortunately, ${he} is frigid and rarely reaches orgasm in spite of the intense automatic stimulation.`;
}
r.fluidSale = (r.fluid * jsRandom(40, 50));
r.text += ` ${capFirstChar(numberWithPluralOne(r.fluid, "deciliter"))} of uncommon ejaculate is gathered during ${his} milkings.`;
if (arcology.FSPastoralist !== "unset" && arcology.FSPastoralist > 30) {
r.fluidSale = (Math.trunc(r.fluidSale*(1 + (arcology.FSPastoralist - 30) / 140))); /* fully accepted pastoralism gives +50% on the price*/
r.text += ` Because of your arcology's cultural preferences, it comes with extra value.`;
}
r.text += ` It is sold for <span class="cash inc">${cashFormat(r.fluidSale)}.</span>`;
}
/**
* @param {App.Entity.SlaveState} slave
*/
function physicalEffects(slave) {
if (r.milk + r.cum + r.fluid > 0) {
if (slave.health.illness > 0 || slave.health.tired > 60) {
r.text += ` ${His} production was reduced this week due to<span class="cash dec">`;
if (slave.health.illness === 1) {
r.text += ` malaise`;
} else if (slave.health.illness === 2) {
r.text += ` minor illness`;
} else if (slave.health.illness === 3) {
r.text += ` sickness`;
} else if (slave.health.illness === 4) {
r.text += ` severe sickness`;
} else if (slave.health.illness === 5) {
r.text += ` terrible illness`;
}
if (slave.health.illness > 0 && slave.health.tired > 60) {
r.text += ` and`;
}
if (slave.health.tired > 90) {
r.text += ` exhaustion`;
} else if (slave.health.tired > 60) {
r.text += ` fatique`;
}
r.text += `.</span>`;
}
if (slave.assignment === Job.DAIRY) {
if (V.dairyRestraintsSetting > 1) {
r.text += ` The milking machine is merciless in its extraction of fluids from ${him}, but ${his} body is supplied with chimical stimulants to keep fatigue from setting in.`;
} else if (V.dairyRestraintsSetting > 0) {
if (slaveResting(slave)) {
r.text += ` Resting doesn't stop ${him} from being thoroughly milked, but it does free ${him} from some of the associated chores, allowing ${him} time <span class="green">to snooze</span> in ${his} harness post harvesting.`;
} else if (slave.health.tired + 9 >= 90 && !willWorkToDeath(slave)) {
r.text += ` ${He} attempts to skip out on milkings due to ${his} exhaustion, but can do little to avoid being dragged and strapped in to the milkers by `;
if (V.MilkmaidID !== 0) {
r.text += `${S.Milkmaid.slaveName}.`;
} else {
r.text += `force.`;
}
r.text += ` ${He} quickly learns <span class="devotion inc">submission is the only choice</span> lest ${he} remain locked to the machine.`;
slave.devotion += 2;
} else {
if (slave.devotion > 20) {
r.text += ` All that is expected from ${him} is to submit to the machine's manipulations. It can get a little tiring by the end of the day, `;
if (V.dairyFeedersSetting + V.dairyStimulatorsSetting + V.dairyPregSetting > 0) {
r.text += `<span class="red">moreso given the dairy's settings,</span> `;
}
r.text += `but it is mostly managable.`;
} else {
r.text += ` Spending so much time strapped to a machine and being forcibly drained is not only <span class="red">exhausting, `;
if (V.dairyFeedersSetting + V.dairyStimulatorsSetting + V.dairyPregSetting > 0) {
r.text += `especially given the dairy's settings, `;
}
r.text += `</span> but also haunts ${him} even after ${he} is released from the session.`;
}
}
} else {
if (slaveResting(slave)) {
r.text += ` Resting doesn't stop ${him} from being thoroughly milked, but it does free ${him} from some of the associated chores, allowing ${him} time <span class="green">to catch some extra sleep</span> in ${his} stall.`;
} else if (slave.health.tired + 9 >= 90 && !willWorkToDeath(slave)) {
r.text += ` ${He} attempts to skip out on milkings due to ${his} exhaustion, but can do little to avoid being dragged and hooked up to the milkers by `;
if (V.MilkmaidID !== 0) {
r.text += `${S.Milkmaid.slaveName}.`;
} else {
r.text += `force.`;
}
r.text += ` ${He} quickly learns <span class="devotion inc">submitting to such a carefree life</span> is much easier than rebelling against it.`;
slave.devotion += 2;
} else {
if (slave.devotion > 20) {
r.text += ` Being a free range cow is one of <span class="green">the most laid-back assignments</span> available. All that is required of ${him} is that ${he} lie back and get milked.`;
} else {
r.text += ` Being a free range cow can be one of the most laid-back assignments available, but ${he} fails to realize that and instead chooses to <span class="red">waste energy</span> struggling against the inevitable.`;
}
}
}
tired(slave);
} else if (slave.assignment === Job.MILKED) {
if (slaveResting(slave)) {
r.text += ` While less is required of ${him} during ${his} <span class="green">mandatory rest periods,</span> ${he} still needs to frequently visit the milkers, reducing the overall effectiveness of ${his} breaks.`;
} else if (slave.health.tired + 8 >= 90 && !willWorkToDeath(slave)) {
r.text += ` ${He} attempts to skip out on milkings due to ${his} exhaustion, but can do little to avoid being dragged and hooked up to the milkers by `;
if (V.dairy > 0 && V.universalRulesFacilityWork === 1 && V.dairySpots > 0 && V.MilkmaidID !== 0 && V.dairyRestraintsSetting < 2) {
r.text += `${S.Milkmaid.slaveName}.`;
} else {
r.text += `force.`;
}
r.text += ` ${His} <span class="devotion dec">protests</span> quickly fall silent as ${he} realizes struggling takes more energy than letting it happen.`;
slave.devotion -= 2;
} else {
r.text += ` ${His} assignment doesn't expect much from ${him}, `;
if (slave.devotion > 20) {
r.text += `giving ${him} plenty of time to relax throughout the day.`;
} else {
r.text += `but ${he} complicates things, <span class="red">wasting energy</span> ${he} should be conserving for ${his} other responsibilities.`;
}
}
tired(slave);
} else {
r.text += ` Having to visit the milkers and cleaning up afterwards takes some time out of ${his} breaks.`;
slave.health.tired += 2;
}
}
}
/**
* @param {App.Entity.SlaveState} slave
*/
function mentalEffects(slave) {
if (slave.assignment === window.Job.MILKED || (slave.assignment === window.Job.DAIRY && V.dairyRestraintsSetting < 2)) {
if (slave.behavioralQuirk === "fitness") {
r.text += ` ${slave.slaveName} <span class="devotion inc">privately enjoys</span> the focus on ${his} health and fitness that comes with being a cow.`;
slave.devotion += 1;
}
}
}
/**
* @param {App.Entity.SlaveState} slave
*/
function assignmentVignette(slave) {
const vignette = GetVignette(slave);
const FuckResult = FResult(slave); // Got to be something better than this
r.text += ` <span class="story-label">This week</span> ${vignette.text} `;
if (vignette.type === "cash") {
const cashVign = Math.trunc(FuckResult * vignette.effect);
if (vignette.effect > 0) {
r.text += `<span class="cash inc">making you an extra ${cashFormat(cashVign)}.</span>`;
} else if (vignette.effect < 0) {
r.text += `<span class="cash dec">losing you ${cashFormat(Math.abs(cashVign))}.</span>`;
} else {
r.text += `an incident without lasting effect.`;
}
if (slave.assignment === window.Job.MILKED) {
if (vignette.effect > 0) {
cashX(cashVign, "slaveAssignmentMilkedVign", slave);
} else if (vignette.effect < 0) {
cashX(forceNeg(cashVign), "slaveAssignmentMilkedVign", slave);
}
} else if (slave.assignment === window.Job.DAIRY) {
if (vignette.effect > 0) {
cashX(cashVign, "slaveAssignmentDairyVign", slave);
} else if (vignette.effect < 0) {
cashX(forceNeg(cashVign), "slaveAssignmentDairyVign", slave);
}
} else {
cashX(cashVign, "slaveAssignmentExtraMilkVign", slave);
}
vignetteCash += cashVign;
} else if (vignette.type === "devotion") {
if (vignette.effect > 0) {
if (slave.devotion > 50) {
r.text += `<span class="devotion inc">increasing ${his} devotion to you.</span>`;
} else if (slave.devotion >= -20) {
r.text += `<span class="devotion inc">increasing ${his} acceptance of you.</span>`;
} else if (slave.devotion >= -50) {
r.text += `<span class="devotion inc">reducing ${his} dislike of you.</span>`;
} else {
r.text += `<span class="devotion inc">reducing ${his} hatred of you.</span>`;
}
} else if (vignette.effect < 0) {
if (slave.devotion > 50) {
r.text += `<span class="devotion dec">reducing ${his} devotion to you.</span>`;
} else if (slave.devotion >= -20) {
r.text += `<span class="devotion dec">reducing ${his} acceptance of you.</span>`;
} else if (slave.devotion >= -50) {
r.text += `<span class="devotion dec">increasing ${his} dislike of you.</span>`;
} else {
r.text += `<span class="devotion dec">increasing ${his} hatred of you.</span>`;
}
} else {
r.text += `an incident without lasting effect.`;
}
slave.devotion += (1 * vignette.effect);
} else if (vignette.type === "trust") {
if (vignette.effect > 0) {
if (slave.trust > 20) {
r.text += `<span class="trust inc">increasing ${his} trust in you.</span>`;
} else if (slave.trust >= -50) {
r.text += `<span class="trust inc">reducing ${his} fear of you.</span>`;
} else {
r.text += `<span class="trust inc">reducing ${his} terror of you.</span>`;
}
} else if (vignette.effect < 0) {
if (slave.trust > 20) {
r.text += `<span class="trust dec">reducing ${his} trust in you.</span>`;
} else if (slave.trust >= -20) {
r.text += `<span class="trust dec">increasing ${his} fear of you.</span>`;
} else {
r.text += `<span class="trust dec">increasing ${his} terror of you.</span>`;
}
} else {
r.text += `an incident without lasting effect.`;
}
slave.trust += (1 * vignette.effect);
} else if (vignette.type === "health") {
if (vignette.effect > 0) {
r.text += `<span class="health inc">improving ${his} health.</span>`;
} else if (vignette.effect < 0) {
r.text += `<span class="health dec">affecting ${his} health.</span>`;
} else {
r.text += `an incident without lasting effect.`;
}
improveCondition(slave, 2 * vignette.effect);
} else {
if (vignette.effect > 0) {
r.text += `<span class="reputation inc">gaining you a bit of reputation.</span>`;
} else if (vignette.effect < 0) {
r.text += `<span class="reputation dec">losing you a bit of reputation.</span>`;
} else {
r.text += `an incident without lasting effect.`;
}
repX(Math.trunc(FuckResult * vignette.effect * 0.1), "vignette", slave);
vignetteRep += Math.trunc(FuckResult * vignette.effect * 0.1);
}
}
// FACILITY DECORATION IMPACTS
function applyFSDecoration() {
const fsGain = 0.0001 * (r.milk + (5 * r.cum));
FutureSocieties.DecorationBonus(V.dairyDecoration, fsGain);
}
})();
|
MonsterMate/fc
|
src/endWeek/saGetMilked.js
|
JavaScript
|
mit
| 35,487
|
App.SlaveAssignment.guardYou = (function() {
"use strict";
let r;
// eslint-disable-next-line no-unused-vars
let he, him, his, hers, himself, girl, He, His;
let BGImpressiveness;
// Used for selecting a successor
let successorCandidates;
let combatSkilled;
let flawedTrainee;
let candidate;
return saGuardYou;
/**
* @param {App.Entity.SlaveState} slave
* @returns {string}
*/
function saGuardYou(slave) {
r = [];
({
// eslint-disable-next-line no-unused-vars
he, him, his, hers, himself, girl, He, His
} = getPronouns(slave));
BGImpressiveness = deadliness(slave);
updateBGState(slave);
jobPreface(slave);
publicImpression(slave);
jobEffects(slave);
if (V.bodyguardTrains === 1) {
trainReplacements(slave);
}
return r.join(" ");
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function jobPreface(slave) {
r.push(`carries arms in your defense.`);
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function updateBGState(slave) {
if (V.dojo > 1) {
slave.rules.living = "luxurious";
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function publicImpression(slave) {
if (slave.skill.combat > 0) {
r.push(`${His} combat skills greatly increase ${his} deadliness.`);
}
if (setup.bodyguardCareers.includes(slave.career)) {
r.push(`${He} has experience in personal defense from before ${he} was a slave.`);
} else if (slave.skill.bodyguard >= V.masteredXP) {
r.push(`${He} has experience in personal defense from working for you.`);
} else {
slave.skill.bodyguard += jsRandom(1, Math.ceil((slave.intelligence + slave.intelligenceImplant) / 15) + 8);
}
if (V.AgePenalty !== 0) {
if (slave.physicalAge >= 100) {
r.push(`${His} absurd age ravages ${him}, leaving ${him} toothless in more ways than one.`);
} else if (slave.physicalAge >= 85) {
r.push(`${His} extreme age binds ${him}, limiting what ${he} can do and take.`);
} else if (slave.physicalAge >= 70) {
r.push(`${His} advanced age frequently leaves ${him} winded.`);
}
}
if (slave.muscles > 30 && slave.muscles <= 95) {
r.push(`${He} is strong and powerful, yet quick and flexible.`);
} else if (slave.muscles > 95 && slave.height >= 185) {
r.push(`${His} huge muscles are an intimidating sight and, despite their massive size, ${he} is tall enough to use them effectively.`);
} else if (slave.muscles > 95) {
r.push(`${His} huge muscles are an intimidating sight, but are so big that they actually detract from ${his} combat effectiveness.`);
} else if (slave.muscles > 5) {
r.push(`${He} is reasonably fit, but not enough to significantly affect ${his} combat effectiveness.`);
} else if (slave.muscles < -95) {
r.push(`${He} can barely stand, let alone fight. A single shot from ${his} own weapon is liable to incapacitate ${him}, making ${him} an absolute travesty of a bodyguard.`);
} else if (slave.muscles < -30) {
r.push(`${He} tires from just standing, rendering ${him} both ineffective and embarrassing to have as your guard.`);
} else if (slave.muscles < -5) {
r.push(`${He} is rather unfit, enough to negatively impact ${his} combat effectiveness.`);
}
if (getLimbCount(slave, 6) > 1) {
r.push(`The artificial muscles of ${his} cybernetic limbs increase ${his} strength and flexibility to enhance ${his} combat abilities and give ${him} the intimidating appearance of a super-soldier.`);
} else if (getLimbCount(slave, 105) > 1) {
r.push(`${His} tough combat limbs make ${him} an intimidating sight to behold.`);
}
if (slave.height >= 170) {
r.push(`${His} height gives ${him} a reach advantage with ${his} sword.`);
}
if (slave.health.condition > 50) {
r.push(`${His} shining health makes ${him} a better combatant.`);
}
if (slave.boobs > 4000) {
r.push(`${His} titanic tits are a terrible hindrance in actual fighting.`);
} else if (slave.boobs > 2000) {
r.push(`${His} big breasts get in ${his} way and reduce ${his} efficiency.`);
}
if (slave.dick >= 10) {
r.push(`${His} massive dick gets in ${his} way and reduces ${his} efficiency.`);
}
if (slave.balls >= 15) {
r.push(`${His} massive balls slow ${him} down and limit ${his} range of motion.`);
}
if (slave.butt > 6) {
r.push(`${His} massive ass slows ${him} down and limits ${his} range of motion.`);
}
if (slave.hips > 2) {
r.push(`${He} struggles to move with ${his} inhumanly wide hips and frequently gets caught between things trying to follow you.`);
}
if (slave.weight > 190) {
r.push(`${His} extreme weight nearly immobilizes ${him}. ${He} struggles to move let alone protect you. At least ${his} bloated body will likely stop bullets and block doorways when needed.`);
} else if (slave.weight > 160) {
r.push(`${His} extreme weight limits ${his} mobility and range of motion, making ${him} a poor bodyguard but decent meatshield.`);
} else if (slave.weight > 130) {
r.push(`${His} extreme weight is an impediment as a bodyguard.`);
} else if (slave.weight > 30) {
r.push(`${His} heavy weight is an impediment as a bodyguard.`);
} else if (slave.weight < -10) {
r.push(`${His} light weight is an impediment as a bodyguard.`);
}
if (slave.health.condition < -50) {
r.push(`${His} poor health makes ${him} a weaker combatant.`);
}
if (slave.health.tired > 90) {
r.push(`${He} is exhausted and can barely stay awake, let alone ready a weapon.`);
} else if (slave.health.tired > 60) {
r.push(`${He} is fatigued, making ${his} situational awareness and reaction time suffer.`);
} else if (slave.health.tired > 30) {
r.push(`${He} is tired, slightly lowering ${his} reaction time.`);
}
if (slave.pregKnown === 1 || slave.bellyPreg >= 1500) {
if (slave.bellyPreg >= 750000) {
r.push(`${His} monolithic pregnancy greatly restricts ${his} movement and renders ${him} nearly useless in combat. ${He} can barely waddle after you, and when ${he} does, finds doors and small passages don't agree with ${his} bloated figure.`);
} else if (slave.bellyPreg >= 450000) {
r.push(`${His} gigantic pregnancy greatly hinders ${his} movement and terribly reduces ${his} effectiveness in combat. It also limits where ${he} can follow you, as doors and small passages don't agree with ${his} bloated figure.`);
} else if (slave.bellyPreg >= 300000) {
r.push(`${His} massive pregnancy obstructs ${his} movement and greatly hinders ${his} ability to protect you. It also limits where ${he} can follow you, as doors and small passages don't agree with ${his} bloated figure.`);
} else if (slave.bellyPreg >= 150000) {
r.push(`${His} giant pregnancy obstructs ${his} movement and greatly slows ${him} down. It also limits where ${he} can follow you, as ${he} has trouble waddling through crowds.`);
} else if (slave.bellyPreg >= 100000) {
r.push(`${His} giant belly gets in ${his} way and weighs ${him} down.`);
} else if (slave.bellyPreg >= 10000) {
r.push(`${His} huge belly is unwieldy and hinders ${him}.`);
} else if (slave.bellyPreg >= 5000) {
r.push(`${His} advanced pregnancy limits ${his} effectiveness.`);
} else if (slave.bellyPreg >= 1500) {
r.push(`${His} growing pregnancy occasionally distracts ${him} from ${his} job.`);
} else {
r.push(`The life just beginning to grow inside ${him} occasionally distracts ${him} from ${his} job.`);
}
} else if (slave.bellyImplant >= 1500) {
if (slave.bellyImplant >= 750000) {
r.push(`${His} monolithic, ${slave.bellyImplant}cc implant filled belly greatly restricts ${his} movement and renders ${him} nearly useless in combat. ${He} can barely waddle after you, and when ${he} does, finds doors and small passages don't agree with ${his} bloated figure.`);
} else if (slave.bellyImplant >= 450000) {
r.push(`${His} gigantic, ${slave.bellyImplant}cc implant filled belly greatly hinders ${his} movement and terribly reduces ${his} effectiveness in combat. It also limits where ${he} can follow you, as doors and small passages don't agree with ${his} bloated figure.`);
} else if (slave.bellyImplant >= 300000) {
r.push(`${His} massive, ${slave.bellyImplant}cc implant filled belly obstructs ${his} movement and greatly hinders ${his} ability to protect you. It also limits where ${he} can follow you, as doors and small passages don't agree with ${his} bloated figure.`);
} else if (slave.bellyImplant >= 150000) {
r.push(`${His} giant, ${slave.bellyImplant}cc implant filled belly obstructs ${his} movement and greatly slows ${him} down. It also limits where ${he} can follow you, as ${he} has trouble waddling through crowds.`);
} else if (slave.bellyImplant >= 100000) {
r.push(`${His} giant, ${slave.bellyImplant}cc implant filled belly is very heavy and unwieldy, frequently getting in the way of ${his} job.`);
} else if (slave.bellyImplant >= 10000) {
r.push(`${His} huge, ${slave.bellyImplant}cc implant filled belly is very heavy and unwieldy, throwing off ${his} weight and making ${him} far less effective.`);
} else if (slave.bellyImplant >= 5000) {
r.push(`${His} large, ${slave.bellyImplant}cc implant filled belly is heavy and unwieldy, limiting ${his} effectiveness.`);
} else if (slave.bellyImplant >= 1500) {
r.push(`${His} swollen, ${slave.bellyImplant}cc implant filled belly is heavy and occasionally distracts ${him}.`);
}
}
if (isInLabor(slave)) {
r.push(`${He}'s feeling labor pains, greatly detracting from ${his} ability to protect you.`);
} else if (slave.preg >= slave.pregData.normalBirth && slave.pregControl !== "labor suppressors") {
r.push(`${He}'ll be going into labor any time now, detracting from ${his} ability to protect you.`);
}
if (slave.bellyFluid >= 10000) {
r.push(`${His} hugely bloated, ${slave.inflationType}-filled belly is taut and painful, hindering ${his} ability to guard you.`);
} else if (slave.bellyFluid >= 5000) {
r.push(`${His} bloated, ${slave.inflationType}-stuffed belly is constantly jiggling and moving, distracting ${him} and throwing off ${his} weight.`);
} else if (slave.bellyFluid >= 2000) {
r.push(`${His} distended, ${slave.inflationType}-belly is uncomfortable and heavy, distracting ${him}.`);
}
if (slave.teeth === "pointy") {
r.push(`${His} sharp teeth add nothing to ${his} actual effectiveness, but they're certainly intimidating.`);
}
if ((slave.skill.combat < 1) && (jsRandom(-100, 150) <= (slave.intelligence + slave.intelligenceImplant))) {
r.push(`After some experience guarding you, and diligent practice in the armory, <span class="green">${his} combat skills increase.</span>`);
slave.skill.combat += 1;
} else if (slave.skill.combat >= 1) {
r.push(`${He} maintains ${his} combat skill with practice in the armory.`);
} else {
r.push(`Though ${he} practices diligently, ${his} basic combat skills do not impress.`);
}
r.push(`${His} constant presence is`);
if (BGImpressiveness > 6) {
r.push(`extremely intimidating, <span class="green">adding much to your reputation.</span>`);
if (slave.career === "an arcology owner") {
r.push(`You've made a one-time rival arcology owner into a deadly and loyal protector, a feat of slaveownership that's <span class="green">internationally famous.</span>`);
repX(BGImpressiveness * 50, "bodyguard", slave);
}
} else if (BGImpressiveness > 3) {
r.push(`intimidating, <span class="green">adding to your reputation.</span>`);
} else {
r.push(`hardly intimidating, <span class="yellow">barely adding to your reputation.</span>`);
}
repX(BGImpressiveness * 50, "bodyguard", slave);
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function jobEffects(slave) {
r.push(`Being continually trusted with your life <span class="hotpink">increases ${his} devotion to you</span> and encourages ${him} to <span class="mediumaquamarine">trust you in turn.</span>`);
slave.devotion += 2;
slave.trust += 4;
if (V.dojo > 1) {
r.push(`${He} <span class="hotpink">appreciates</span> how special it is that ${he} has a nice room off the armory to rest in. ${He} can finally <span class="green">rest easy</span> while still keeping tabs on your safety.`);
slave.devotion += 1;
} else {
r.push(`Between protecting you, training, and keeping vigil while you sleep, ${he} lives a <span class="red">very tiring</span> life.`);
}
tired(slave);
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function trainReplacements(slave) {
if (slave.devotion > 95 && slave.trust > 50 && slave.skill.combat > 0 && slave.intelligence + slave.intelligenceImplant > 15) {
successorCandidates = V.slaves.filter(function(s) { return (assignmentVisible(s) || s.assignment === Job.CONCUBINE || s.assignment === Job.WARDEN || s.assignment === Job.HEADGIRL || s.assignment === Job.QUARTER || s.assignment === Job.MASTERSUITE) && bodyguardSuccessorEligible(s); });
combatSkilled = successorCandidates.filter(function(s) { return s.skill.combat > 0; });
r.push(`${He}'s confident in ${his} martial skills, but smart enough to know that ${he} isn't immortal, and devoted enough to worry about who will protect you should ${he} die.`);
if (combatSkilled.length < 2) {
flawedTrainee = 0;
if (slave.relationship > 1) {
candidate = getSlave(slave.relationshipTarget);
if (candidate !== undefined && candidate.skill.combat === 0 && bodyguardSuccessorEligible(candidate)) {
const candidatePronouns = getPronouns(candidate);
r.push(`${He} does ${his} best to train ${candidate.slaveName} whenever ${he} can, hoping that ${his}`);
if (slave.relationship > 4) {
r.push(`${candidatePronouns.wife}`);
} else if (slave.relationship === 4) {
r.push(`lover`);
} else if (slave.relationship === 3) {
r.push(`${candidatePronouns.girl} friend`);
} else {
r.push(`best friend`);
}
r.push(`can be made capable of stepping into ${his} place.`);
}
}
if (!candidate) {
if (V.HeadGirlID !== 0 && S.HeadGirl.skill.combat === 0 && bodyguardSuccessorEligible(S.HeadGirl)) {
r.push(`${He} does ${his} best to train ${S.HeadGirl.slaveName} whenever ${he} can, hoping that your Head Girl can be made capable of stepping into ${his} place.`);
candidate = S.HeadGirl;
}
}
if (!candidate) {
if (V.ConcubineID !== 0 && S.Concubine.skill.combat === 0 && S.Concubine.devotion > 50 && S.Concubine.muscles >= -30 && S.Concubine.weight < 150 && S.Concubine.butt < 10 && S.Concubine.boobs < 25000 && S.Concubine.belly < 5000 && S.Concubine.balls < 20 && S.Concubine.dick < 15 && S.Concubine.fuckdoll === 0 && S.Concubine.fetish !== "mindbroken" && canWalk(S.Concubine)) {
r.push(`${He} does ${his} best to train ${S.Concubine.slaveName} whenever ${he} can, hoping that your Concubine can be made capable of stepping into ${his} place.`);
if (S.Concubine.boobs >= 8000 || S.Concubine.butt >= 10 || S.Concubine.belly >= 5000 || S.Concubine.balls >= 10 || S.Concubine.dick >= 10 || S.Concubine.muscles < 0 || S.Concubine.weight >= 100) {
r.push(`${His} body is poorly suited for combat, but ${he} can learn to work around it with enough effort.`);
flawedTrainee = jsRandom(0, 50);
}
candidate = S.Concubine;
}
}
if (!candidate) {
if (V.WardenessID !== 0 && S.Wardeness.skill.combat === 0 && S.Wardeness.fetish !== "mindbroken" && bodyguardSuccessorEligible(S.Wardeness)) {
r.push(`${He} does ${his} best to train ${S.Wardeness.slaveName} whenever ${he} can, hoping that your Wardeness can be made capable of stepping into ${his} place.`);
candidate = S.Wardeness;
}
}
if (!candidate) {
candidate = successorCandidates.find(function(s) { return s.skill.combat === 0; });
if (candidate) {
r.push(`${He} does ${his} best to train ${candidate.slaveName} whenever ${he} can, hoping that ${his} subordinate can be made capable of stepping into ${his} place.`);
}
}
if (candidate) {
if ((slave.intelligence + slave.intelligenceImplant - flawedTrainee) > jsRandom(1, 500)) {
r.push(`By the end of the week, ${he} is satisfied that ${candidate.slaveName} <span class="green">has the combat skill</span> to contribute to your defense.`);
candidate.skill.combat = 1;
}
} else {
r.push(`${He} finds no suitable candidates to serve as ${his} replacement, leaving ${him} stressed over your future safety. The worry is <span class="red">exhausting</span> and <span class="red">bad for ${his} health.</span>`);
healthDamage(slave, 3);
slave.health.tired += 15;
}
} else {
r.push(`${He} takes care to look after the skills of your other defensively capable slaves, satisfied that there are enough of them living in your penthouse.`);
}
}
}
})();
|
MonsterMate/fc
|
src/endWeek/saGuardYou.js
|
JavaScript
|
mit
| 16,934
|
App.SlaveAssignment.hormonesEffects = (function() {
"use strict";
let r;
// eslint-disable-next-line no-unused-vars
let he, him, his, hers, himself, girl, loli, He, His;
let gigantomastiaMod;
let rearLipedemaMod;
let boobSize;
let buttSize;
let normBreasts;
let normButt;
let faceValue;
let faceInc;
let faceDec;
return saHormonesEffects;
/**
* @param {App.Entity.SlaveState} slave
* @returns {string}
*/
function saHormonesEffects(slave) {
r = [];
gigantomastiaMod = slave.geneticQuirks.gigantomastia === 2 ? (slave.geneticQuirks.macromastia === 2 ? 3 : 2) : 1;
rearLipedemaMod = slave.geneticQuirks.rearLipedema === 2 ? 1 : 0;
boobSize = slave.boobs - slave.boobsImplant - slave.boobsMilk;
buttSize = slave.butt - slave.buttImplant;
faceValue = slave.face - slave.faceImplant;
({
// eslint-disable-next-line no-unused-vars
he, him, his, hers, himself, girl, He, His, loli
} = getPronouns(slave));
hormoneBalance(slave);
if (V.hormoneUpgradeMood === 0) {
moodConflict(slave);
}
if (slave.physicalAge >= 18 || V.loliGrow === 0 || slave.geneMods.NCS === 1) {
hormonesEffects(slave);
}
if (slave.fetish !== "mindbroken" && slave.fuckdoll === 0) {
hormoneReactions(slave);
}
return r.join(" ");
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function hormoneBalance(slave) {
if (slave.hormoneBalance <= -400) {
r.push(`${His} hormone balance is overwhelmingly masculine.`);
} else if (slave.hormoneBalance <= -300) {
r.push(`${His} hormone balance is extremely masculine.`);
} else if (slave.hormoneBalance <= -200) {
r.push(`${His} hormone balance is heavily masculine.`);
} else if (slave.hormoneBalance <= -100) {
r.push(`${His} hormone balance is very masculine.`);
} else if (slave.hormoneBalance < -20) {
r.push(`${His} hormone balance is masculine.`);
} else if (slave.hormoneBalance >= 400) {
r.push(`${His} hormone balance is overwhelmingly feminine.`);
} else if (slave.hormoneBalance >= 300) {
r.push(`${His} hormone balance is extremely feminine.`);
} else if (slave.hormoneBalance >= 200) {
r.push(`${His} hormone balance is heavily feminine.`);
} else if (slave.hormoneBalance >= 100) {
r.push(`${His} hormone balance is very feminine.`);
} else if (slave.hormoneBalance > 20) {
r.push(`${His} hormone balance is feminine.`);
} else {
r.push(`${He} has a neutral hormone balance.`);
}
if (Math.abs(slave.hormones) > 1) {
slave.chem += 0.5;
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function moodConflict(slave) {
if (slave.hormoneBalance > 20 && slave.genes === "XY" && slave.balls !== 0 && slave.ballType !== "sterile") {
r.push(`${His} feminine hormonal balance conflicts with ${his} natural hormones,`);
if (slave.devotion > 50) {
r.push(`but ${he}'s a good enough slave to suppress the occasional moodiness.`);
} else {
r.push(`causing <span class="mediumorchid">occasional moodiness.</span>`);
slave.devotion -= 1;
}
if (slave.energy > 10) {
r.push(`It also has the unfortunate consequence of <span class="red">damaging ${his} libido.</span>`);
slave.energy--;
}
if (slave.attrXX > 50 || slave.attrXY > 50) {
r.push(`Even more troubling, ${his} sexual confusion <span class="red">leaves ${him} finding others less attractive.</span>`);
if (slave.attrXX > 50) {
slave.attrXX--;
}
if (slave.attrXY > 50) {
slave.attrXY--;
}
}
}
if (slave.hormoneBalance < -20 && slave.genes === "XX" && (slave.ovaries !== 0 || slave.mpreg !== 0)) {
r.push(`${His} masculine hormonal balance conflicts with ${his} natural hormones,`);
if (slave.devotion > 50) {
r.push(`but ${he}'s a good enough slave to suppress the occasional moodiness.`);
} else {
r.push(`causing <span class="mediumorchid">occasional moodiness.</span>`);
slave.devotion -= 1;
}
if (slave.energy > 10) {
r.push(`It also has the unfortunate consequence of <span class="red">damaging ${his} libido.</span>`);
slave.energy--;
}
if (slave.attrXX > 50 || slave.attrXY > 50) {
r.push(`Even more troubling, ${his} sexual confusion <span class="red">leaves ${him} finding others less attractive.</span>`);
if (slave.attrXX > 50) {
slave.attrXX--;
}
if (slave.attrXY > 50) {
slave.attrXY--;
}
}
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function hormonesEffects(slave) {
if (Math.abs(slave.hormoneBalance) >= 50) {
if (slave.hormoneBalance > 30 && slave.geneMods.NCS !== 1) {
/* 'Expected' breast size based on weight for feminine-bodied slaves */
normBreasts = Math.trunc((100 + (slave.weight + 100) * 5 + 2 * slave.lactationAdaptation) * (0.85 + slave.hormoneBalance / 400) * gigantomastiaMod);
normButt = ((slave.weight + 100) * 0.025 * (0.9 + slave.hormoneBalance / 600) * (rearLipedemaMod / 2 + 1));
}
if (slave.hormoneBalance >= 350) {
if (slave.geneMods.NCS === 1) {
if ((slave.shoulders + Math.abs(slave.shouldersImplant)) > -1 && slave.shoulders > -2 && jsRandom(1, 100) < (40 + (20 * V.hormoneUpgradePower))) {
r.push(`Feminine hormones team up with ${his} <span class="orange">NCS</span> to cause <span class="lime">${his} shoulders to shrink into a more childlike narrowness</span> than before.`);
slave.shoulders--;
}
} else if (slave.physicalAge < 25) {
if (slave.shoulders + Math.abs(slave.shouldersImplant) > -1 && slave.shoulders > -2 && jsRandom(1, 100) < 20 + (10 * V.hormoneUpgradePower)) {
r.push(`${His} body has not yet found its final bone structure, which typically happens in the mid-twenties. Hormonal effects cause <span class="lime">${his} shoulders to develop into a more feminine narrowness</span> than they would have done naturally.`);
slave.shoulders--;
}
if (slave.geneMods.NCS === 0 && slave.hips - (Math.abs(slave.hipsImplant)) < 1 && slave.hips < 2 && jsRandom(1, 100) <= 20 + (10 * V.hormoneUpgradePower)) {
r.push(`${His} body has not yet found its final bone structure, which typically happens in the mid-twenties. Hormonal effects cause <span class="lime">${his} hips to develop more broadly</span> than they would have done naturally.`);
slave.hips++;
}
}
if (slave.faceImplant < 5) {
if (slave.faceShape === "masculine") {
r.push(`Hormonal effects cause <span class="orange">${his} face to soften into`);
if (slave.geneMods.NCS === 1) {
r.push(`childlike`);
}
r.push(`androgyny.</span>`);
slave.faceShape = "androgynous";
} else if (slave.faceShape === "androgynous" && slave.geneticQuirks.androgyny !== 2) {
r.push(`Hormonal effects cause <span class="lime">${his} face to soften into`);
if (slave.geneMods.NCS === 1) {
r.push(`childlike normalcy.</span>`);
} else {
r.push(`femininity.</span>`);
}
slave.faceShape = "normal";
} else if (slave.geneMods.NCS === 1 && jsRandom(1, 100) > 50 && slave.faceShape === "normal") {
r.push(`Hormonal effects cause <span class="lime">${his} face to soften into childlike cuteness.</span>`);
slave.faceShape = "cute";
}
}
if (faceValue < 50 && slave.face < 75) {
r.push(`Hormonal effects cause <span class="lime">${his} facial structure to soften and become ${slave.face >= 0 ? "more attractive" : "less unattractive"}.</span>`);
faceInc = 1 + V.hormoneUpgradePower;
if (slave.geneMods.NCS === 1 && jsRandom(1, 100) > 50) {
faceInc *= 2;
}
faceIncrease(slave, faceInc);
}
if (slave.voice < 3 && slave.voice > 0) {
r.push(`Hormonal effects cause <span class="lime">${his} voice to become higher and more`);
if (slave.geneMods.NCS === 1) {
r.push(`childlike.</span>`);
} else {
r.push(`feminine.</span>`);
}
slave.voice++;
}
if (slave.muscles > 10 && slave.diet !== "muscle building" && slave.drugs !== "steroids" && (slave.geneticQuirks.mGain !== 2 || slave.geneticQuirks.mLoss === 2)) {
r.push(`Hormonal effects <span class="orange">reduce ${his} musculature.</span>`);
slave.muscles -= 2 + V.hormoneUpgradePower + slave.geneticQuirks.mLoss;
if (slave.geneMods.NCS === 1 && jsRandom(1, 100) > 50) {
slave.muscles -= 2 + V.hormoneUpgradePower + slave.geneticQuirks.mLoss;
}
}
if (slave.waist > -30) {
r.push(`Hormonal effects cause ${his} <span class="lime">waist to narrow.</span>`);
slave.waist -= 2 + V.hormoneUpgradePower;
}
if (slave.geneMods.NCS === 0) {
if (boobSize < 0.9 * normBreasts) {
/* Grow to 90% of normBreasts */
r.push(`Hormonal effects cause <span class="lime">a small amount of natural breast growth.</span>`);
slave.boobs += 25;
}
if (slave.nipples === "tiny") {
r.push(`Hormonal effects cause ${his} tiny <span class="lime">nipples to grow to a more normal size.</span>`);
slave.nipples = "cute";
}
if (buttSize < Math.trunc(4.5 * normButt) / 5) {
/* 90% of normButt, rounded down to the next increment of .2 */
r.push(`Hormonal effects cause <span class="lime">the natural size of ${his} butt to increase.</span>`);
slave.butt += 0.2;
}
} else {
r.push(`${His} <span class="orange">NCS</span> blocks asset growth despite the fact that ${his} body is swimming in hormones.`);
}
if (slave.vagina > -1 && slave.ovaries !== 0 && slave.vaginaLube < 2) {
r.push(`Hormonal effects cause <span class="lime">${his} vagina to produce more copious natural lubricant.</span>`);
slave.vaginaLube++;
}
if (V.hormoneUpgradeShrinkage === 0) {
if (slave.dick > 1) {
if (slave.geneMods.NCS === 1 && jsRandom(1, 100) > 50 && slave.dick > 2) {
r.push(`Hormonal effects work with ${his} <span class="orange">NCS</span> and cause <span class="orange">${his} dick to atrophy a lot.</span>`);
slave.dick -= 1;
} else {
r.push(`Hormonal effects cause <span class="orange">${his} dick to atrophy.</span>`);
}
slave.dick--;
}
if (slave.balls > 1) {
if (slave.geneMods.NCS === 1 && jsRandom(1, 100) > 50 && slave.balls > 2) {
r.push(`Hormonal effects work with ${his} <span class="orange">NCS</span> and cause <span class="orange">${his} testicles to atrophy a lot.</span>`);
slave.balls -= 1;
} else {
r.push(`Hormonal effects cause <span class="orange">${his} testicles to atrophy.</span>`);
}
slave.balls--;
}
if (slave.clit > 0) {
if (slave.geneMods.NCS === 1 && jsRandom(1, 100) > 50 && slave.clit > 1) {
r.push(`Hormonal effects work with ${his} <span class="orange">NCS</span> and cause <span class="orange">${his} clit to shrink down greatly.</span>`);
slave.clit -= 1;
} else {
r.push(`Hormonal effects cause <span class="orange">${his} clit to shrink significantly.</span>`);
}
slave.clit--;
}
}
if (slave.devotion <= 20) {
r.push(`Hormonal effects make ${him} a bit more <span class="hotpink">docile.</span>`);
slave.devotion++;
}
if (slave.trust <= 20) {
r.push(`Hormonal effects make ${him} a bit more <span class="mediumaquamarine">trusting.</span>`);
slave.trust++;
}
if (slave.attrXY < 100) {
r.push(`Hormonal effects cause ${him} to become <span class="green">more attracted to men.</span>`);
slave.attrXY += 2 + V.hormoneUpgradePower;
}
} else if (slave.hormoneBalance >= 300) {
if (slave.faceImplant < 5) {
if (slave.faceShape === "masculine") {
r.push(`Hormonal effects cause <span class="orange">${his} face to soften into`);
if (slave.geneMods.NCS === 1) {
r.push(`childlike`);
}
r.push(`androgyny.</span>`);
slave.faceShape = "androgynous";
} else if (slave.faceShape === "androgynous" && slave.geneticQuirks.androgyny !== 2) {
r.push(`Hormonal effects cause <span class="lime">${his} face to soften into`);
if (slave.geneMods.NCS === 1) {
r.push(`childlike normalcy.</span>`);
} else {
r.push(`femininity.</span>`);
}
slave.faceShape = "normal";
} else if (slave.geneMods.NCS === 1 && jsRandom(1, 100) > 50 && slave.faceShape === "normal") {
r.push(`Hormonal effects cause <span class="lime">${his} face to soften into childlike cuteness.</span>`);
slave.faceShape = "cute";
}
}
if (faceValue < 30 && slave.face < 60) {
r.push(`Hormonal effects cause <span class="lime">${his} facial structure to soften and become ${slave.face >= 0 ? "more attractive" : "less unattractive"}.</span>`);
faceInc = 1 + V.hormoneUpgradePower;
if (slave.geneMods.NCS === 1 && jsRandom(1, 100) > 50) {
faceInc *= 2;
}
faceIncrease(slave, faceInc);
}
if (slave.voice < 3 && slave.voice > 0) {
r.push(`Hormonal effects cause <span class="lime">${his} voice to become higher and more`);
if (slave.geneMods.NCS === 1) {
r.push(`childlike.</span>`);
} else {
r.push(`feminine.</span>`);
}
slave.voice++;
}
if (slave.muscles > 30 && slave.diet !== "muscle building" && slave.drugs !== "steroids" && (slave.geneticQuirks.mGain !== 2 || slave.geneticQuirks.mLoss === 2)) {
r.push(`Hormonal effects <span class="orange">reduce ${his} musculature.</span>`);
slave.muscles -= 2 + V.hormoneUpgradePower + slave.geneticQuirks.mLoss;
if (slave.geneMods.NCS === 1 && jsRandom(1, 100) > 50) {
slave.muscles -= 2 + V.hormoneUpgradePower + slave.geneticQuirks.mLoss;
}
}
if (slave.waist > -10) {
r.push(`Hormonal effects cause ${his} <span class="lime">waist to narrow.</span>`);
slave.waist -= 2 + V.hormoneUpgradePower;
}
if (slave.geneMods.NCS === 0) {
if (boobSize < 0.8 * normBreasts) {
/* Grow to 80% of expected */
r.push(`Hormonal effects cause <span class="lime">a small amount of natural breast growth.</span>`);
slave.boobs += 25;
}
if (slave.nipples === "tiny") {
r.push(`Hormonal effects cause ${his} tiny <span class="lime">nipples to grow to a more normal size.</span>`);
slave.nipples = "cute";
}
if (buttSize < Math.trunc(4 * normButt) / 5) {
/* 80% of normButt, rounded down to the next increment of .2 */
r.push(`Hormonal effects cause <span class="lime">the natural size of ${his} butt to increase.</span>`);
slave.butt += 0.2;
}
}
if (slave.vagina > -1 && slave.ovaries !== 0 && slave.vaginaLube < 2) {
r.push(`Hormonal effects cause <span class="lime">${his} vagina to produce more copious natural lubricant.</span>`);
slave.vaginaLube++;
}
if (V.hormoneUpgradeShrinkage === 0) {
if (slave.dick > 1) {
if (slave.geneMods.NCS === 1 && jsRandom(1, 100) > 50 && slave.dick > 2) {
r.push(`Hormonal effects work with ${his} <span class="orange">NCS</span> and cause <span class="orange">${his} dick to atrophy a lot.</span>`);
slave.dick -= 1;
} else {
r.push(`Hormonal effects cause <span class="orange">${his} dick to atrophy.</span>`);
}
slave.dick--;
}
if (slave.balls > 1) {
if (slave.geneMods.NCS === 1 && jsRandom(1, 100) > 50 && slave.balls > 2) {
r.push(`Hormonal effects work with ${his} <span class="orange">NCS</span> and cause <span class="orange">${his} testicles to atrophy a lot.</span>`);
slave.balls -= 1;
} else {
r.push(`Hormonal effects cause <span class="orange">${his} testicles to atrophy.</span>`);
}
slave.balls--;
}
if (slave.clit > 0) {
if (slave.geneMods.NCS === 1 && jsRandom(1, 100) > 50 && slave.clit > 1) {
r.push(`Hormonal effects work with ${his} <span class="orange">NCS</span> and cause <span class="orange">${his} clit to shrink down greatly.</span>`);
slave.clit -= 1;
} else {
r.push(`Hormonal effects cause <span class="orange">${his} clit to shrink significantly.</span>`);
}
slave.clit--;
}
}
if (slave.devotion <= 20) {
r.push(`Hormonal effects make ${him} a bit more <span class="hotpink">docile.</span>`);
slave.devotion++;
}
if (slave.trust <= 20) {
r.push(`Hormonal effects make ${him} a bit more <span class="mediumaquamarine">trusting.</span>`);
slave.trust++;
}
if (slave.attrXY < 100) {
r.push(`Hormonal effects cause ${him} to become <span class="green">more attracted to men.</span>`);
slave.attrXY += 2 + V.hormoneUpgradePower;
}
} else if (slave.hormoneBalance >= 250) {
if (slave.faceImplant < 5) {
if (slave.faceShape === "masculine") {
r.push(`Hormonal effects cause <span class="orange">${his} face to soften into`);
if (slave.geneMods.NCS === 1) {
r.push(`childlike`);
}
r.push(`androgyny.</span>`);
slave.faceShape = "androgynous";
} else if (slave.faceShape === "androgynous" && slave.geneticQuirks.androgyny !== 2) {
r.push(`Hormonal effects cause <span class="lime">${his} face to soften into`);
if (slave.geneMods.NCS === 1) {
r.push(`childlike normalcy.</span>`);
} else {
r.push(`femininity.</span>`);
}
slave.faceShape = "normal";
} else if (slave.geneMods.NCS === 1 && jsRandom(1, 100) > 50 && slave.faceShape === "normal") {
r.push(`Hormonal effects cause <span class="lime">${his} face to soften into childlike cuteness.</span>`);
slave.faceShape = "cute";
}
}
if (faceValue < 10 && slave.face < 30) {
r.push(`Hormonal effects cause <span class="lime">${his} facial structure to soften and become ${slave.face >= 0 ? "more attractive" : "less unattractive"}.</span>`);
faceInc = 1 + V.hormoneUpgradePower;
if (slave.geneMods.NCS === 1 && jsRandom(1, 100) > 50) {
faceInc *= 2;
}
faceIncrease(slave, faceInc);
}
if (slave.voice < 2 && slave.voice > 0) {
r.push(`Hormonal effects cause <span class="lime">${his} voice to become higher and more`);
if (slave.geneMods.NCS === 1) {
r.push(`childlike.</span>`);
} else {
r.push(`feminine.</span>`);
}
slave.voice++;
}
if (slave.muscles > 30 && slave.diet !== "muscle building" && slave.drugs !== "steroids" && (slave.geneticQuirks.mGain !== 2 || slave.geneticQuirks.mLoss === 2)) {
r.push(`Hormonal effects <span class="orange">reduce ${his} musculature.</span>`);
slave.muscles -= 2 + V.hormoneUpgradePower + slave.geneticQuirks.mLoss;
if (slave.geneMods.NCS === 1 && jsRandom(1, 100) > 50) {
slave.muscles -= 2 + V.hormoneUpgradePower + slave.geneticQuirks.mLoss;
}
}
if (slave.waist > 0) {
r.push(`Hormonal effects cause ${his} <span class="lime">waist to narrow.</span>`);
slave.waist -= 2 + V.hormoneUpgradePower;
}
if (slave.geneMods.NCS === 0) {
if (boobSize < 0.7 * normBreasts) {
/* Grow to 70% of expected */
r.push(`Hormonal effects cause <span class="lime">a small amount of natural breast growth.</span>`);
slave.boobs += 25;
}
if (slave.nipples === "tiny") {
r.push(`Hormonal effects cause ${his} tiny <span class="lime">nipples to grow to a more normal size.</span>`);
slave.nipples = "cute";
}
if (buttSize < Math.trunc(3.5 * normButt) / 5) {
/* 70% of normButt, rounded down to the next increment of .2 */
r.push(`Hormonal effects cause <span class="lime">the natural size of ${his} butt to increase.</span>`);
slave.butt += 0.2;
}
}
if (slave.vagina > -1 && slave.ovaries !== 0 && slave.vaginaLube < 1) {
r.push(`Hormonal effects cause <span class="lime">${his} vagina to produce more copious natural lubricant.</span>`);
slave.vaginaLube++;
}
if (V.hormoneUpgradeShrinkage === 0) {
if (slave.dick > 2) {
if (slave.geneMods.NCS === 1 && jsRandom(1, 100) > 50) {
r.push(`Hormonal effects work with ${his} <span class="orange">NCS</span> and cause <span class="orange">${his} dick to atrophy a lot.</span>`);
slave.dick -= 1;
} else {
r.push(`Hormonal effects cause <span class="orange">${his} dick to atrophy.</span>`);
}
slave.dick--;
}
if (slave.balls > 2) {
if (slave.geneMods.NCS === 1 && jsRandom(1, 100) > 50) {
r.push(`Hormonal effects work with ${his} <span class="orange">NCS</span> and cause <span class="orange">${his} testicles to atrophy a lot.</span>`);
slave.balls -= 1;
} else {
r.push(`Hormonal effects cause <span class="orange">${his} testicles to atrophy.</span>`);
}
slave.balls--;
}
if (slave.clit > 1) {
if (slave.geneMods.NCS === 1 && jsRandom(1, 100) > 50) {
r.push(`Hormonal effects work with ${his} <span class="orange">NCS</span> and cause <span class="orange">${his} clit to shrink down greatly.</span>`);
slave.clit -= 1;
} else {
r.push(`Hormonal effects cause <span class="orange">${his} clit to shrink significantly.</span>`);
}
slave.clit--;
}
}
if (slave.devotion <= 20) {
r.push(`Hormonal effects make ${him} a bit more <span class="hotpink">docile.</span>`);
slave.devotion++;
}
if (slave.trust <= 20) {
r.push(`Hormonal effects make ${him} a bit more <span class="mediumaquamarine">trusting.</span>`);
slave.trust++;
}
if (slave.attrXY < 95) {
r.push(`Hormonal effects cause ${him} to become <span class="green">more attracted to men.</span>`);
slave.attrXY += 2 + V.hormoneUpgradePower;
}
} else if (slave.hormoneBalance >= 200) {
if (slave.faceImplant < 5) {
if (slave.faceShape === "masculine") {
r.push(`Hormonal effects cause <span class="orange">${his} face to soften into`);
if (slave.geneMods.NCS === 1) {
r.push(`childlike`);
}
r.push(`androgyny.</span>`);
slave.faceShape = "androgynous";
} else if (slave.geneMods.NCS === 1 && jsRandom(1, 100) > 50 && slave.faceShape === "androgynous" && slave.geneticQuirks.androgyny !== 2) {
r.push(`Hormonal effects cause <span class="lime">${his} face to soften into`);
if (slave.geneMods.NCS === 1) {
r.push(`childlike normalcy.</span>`);
} else {
r.push(`femininity.</span>`);
}
slave.faceShape = "normal";
}
}
if (faceValue < 0 && slave.face < 0) {
r.push(`Hormonal effects cause <span class="lime">${his} facial structure to soften and become less unattractive.</span>`);
faceInc = 1 + V.hormoneUpgradePower;
if (slave.geneMods.NCS === 1 && jsRandom(1, 100) > 50) {
faceInc *= 2;
}
faceIncrease(slave, faceInc);
}
if (slave.voice < 2 && slave.voice > 0) {
r.push(`Hormonal effects cause <span class="lime">${his} voice to become higher and more`);
if (slave.geneMods.NCS === 1) {
r.push(`childlike.</span>`);
} else {
r.push(`feminine.</span>`);
}
slave.voice++;
}
if (slave.muscles > 30 && slave.diet !== "muscle building" && slave.drugs !== "steroids" && (slave.geneticQuirks.mGain !== 2 || slave.geneticQuirks.mLoss === 2)) {
r.push(`Hormonal effects <span class="orange">reduce ${his} musculature.</span>`);
slave.muscles -= 2 + V.hormoneUpgradePower + slave.geneticQuirks.mLoss;
if (slave.geneMods.NCS === 1 && jsRandom(1, 100) > 50) {
slave.muscles -= 2 + V.hormoneUpgradePower + slave.geneticQuirks.mLoss;
}
}
if (slave.waist > 10) {
r.push(`Hormonal effects cause ${his} <span class="lime">waist to narrow.</span>`);
slave.waist -= 2 + V.hormoneUpgradePower;
}
if (slave.geneMods.NCS === 0) {
if (boobSize < 0.6 * normBreasts) {
/* Grow to 60% of expected */
r.push(`Hormonal effects cause <span class="lime">a small amount of natural breast growth.</span>`);
slave.boobs += 25;
}
if (slave.nipples === "tiny") {
r.push(`Hormonal effects cause ${his} tiny <span class="lime">nipples to grow to a more normal size.</span>`);
slave.nipples = "cute";
}
if (buttSize < Math.trunc(3 * normButt) / 5) {
/* 60% of normButt, rounded down to the next increment of .2 */
r.push(`Hormonal effects cause <span class="lime">the natural size of ${his} butt to increase.</span>`);
slave.butt += 0.2;
}
}
if (slave.vagina > -1 && slave.ovaries !== 0 && slave.vaginaLube < 1) {
r.push(`Hormonal effects cause <span class="lime">${his} vagina to produce more copious natural lubricant.</span>`);
slave.vaginaLube++;
}
if (V.hormoneUpgradeShrinkage === 0) {
if (slave.dick > 3) {
if (slave.geneMods.NCS === 1 && jsRandom(1, 100) > 50) {
r.push(`Hormonal effects work with ${his} <span class="orange">NCS</span> and cause <span class="orange">${his} dick to atrophy a lot.</span>`);
slave.dick -= 1;
} else {
r.push(`Hormonal effects cause <span class="orange">${his} dick to atrophy.</span>`);
slave.dick--;
}
}
if (slave.balls > 3) {
if (slave.geneMods.NCS === 1 && jsRandom(1, 100) > 50) {
r.push(`Hormonal effects work with ${his} <span class="orange">NCS</span> and cause <span class="orange">${his} testicles to atrophy a lot.</span>`);
slave.balls -= 1;
} else {
r.push(`Hormonal effects cause <span class="orange">${his} testicles to atrophy.</span>`);
}
slave.balls--;
}
if (slave.clit > 2) {
if (slave.geneMods.NCS === 1 && jsRandom(1, 100) > 50) {
r.push(`Hormonal effects work with ${his} <span class="orange">NCS</span> and cause <span class="orange">${his} clit to shrink down greatly.</span>`);
slave.clit -= 1;
} else {
r.push(`Hormonal effects cause <span class="orange">${his} clit to shrink significantly.</span>`);
}
slave.clit--;
}
}
if (slave.devotion <= 20) {
r.push(`Hormonal effects make ${him} a bit more <span class="hotpink">docile.</span>`);
slave.devotion++;
}
if (slave.trust <= 20) {
r.push(`Hormonal effects make ${him} a bit more <span class="mediumaquamarine">trusting.</span>`);
slave.trust++;
}
if (slave.attrXY < 90) {
r.push(`Hormonal effects cause ${him} to become <span class="green">more attracted to men.</span>`);
slave.attrXY += 2 + V.hormoneUpgradePower;
}
} else if (slave.hormoneBalance >= 100) {
if (slave.faceImplant < 5) {
if (slave.geneMods.NCS === 1 && jsRandom(1, 100) > 50 && slave.faceShape === "masculine") {
r.push(`Hormonal effects cause <span class="orange">${his} face to soften into`);
if (slave.geneMods.NCS === 1) {
r.push(`childlike`);
}
r.push(`androgyny.</span>`);
slave.faceShape = "androgynous";
}
}
if (slave.geneMods.NCS === 0) {
if (boobSize < 0.5 * normBreasts) {
/* Grow to 50% of expected */
r.push(`Hormonal effects cause <span class="lime">a small amount of natural breast growth.</span>`);
slave.boobs += 25;
}
}
if (slave.devotion <= 20) {
r.push(`Hormonal effects make ${him} a bit more <span class="hotpink">docile.</span>`);
slave.devotion++;
}
if (slave.trust <= 20) {
r.push(`Hormonal effects make ${him} a bit more <span class="mediumaquamarine">trusting.</span>`);
slave.trust++;
}
if (slave.attrXY < 80) {
r.push(`Hormonal effects cause ${him} to become <span class="green">more attracted to men.</span>`);
slave.attrXY += 2 + V.hormoneUpgradePower;
}
} else if (slave.hormoneBalance >= 50) {
if (slave.attrXY < 70) {
r.push(`Hormonal effects cause ${him} to become <span class="green">more attracted to men.</span>`);
slave.attrXY += 2 + V.hormoneUpgradePower;
}
} else if (slave.hormoneBalance <= -350) {
if (slave.geneMods.NCS === 1) {
if (slave.hips + Math.abs(slave.hipsImplant) > -1 && slave.hips > -2 && (jsRandom(1, 100) <= 20 + (10 * V.hormoneUpgradePower))) {
r.push(`Masculine hormones team up with ${his} <span class="orange">NCS</span> to cause <span class="lime">${his} hips to shrink into a more childlike narrowness</span> than before.`);
slave.hips -= 1;
}
} else if (slave.physicalAge < 25) {
if ((slave.shoulders - (Math.abs(slave.shouldersImplant)) < 1) && (slave.shoulders < 2) && (jsRandom(1, 100) < 20 + (10 * V.hormoneUpgradePower))) {
r.push(`${His} body has not yet found its final bone structure, which typically happens in the mid-twenties. Hormonal effects cause <span class="orange">${his} shoulders to develop a more masculine wideness</span> than they would have done naturally.`);
slave.shoulders += 1;
}
if ((slave.hips + (Math.abs(slave.hipsImplant)) > -1) && (slave.hips > -2) && (jsRandom(1, 100) <= 20 + (10 * V.hormoneUpgradePower))) {
r.push(`${His} body has not yet found its final bone structure, which typically happens in the mid-twenties. Hormonal effects cause <span class="orange">${his} hips to develop more narrowly</span> than they would have done naturally.`);
slave.hips -= 1;
}
}
if (slave.geneMods.NCS === 0) {
if (slave.faceImplant < 5) {
if (slave.geneticQuirks.androgyny !== 2) {
if (slave.faceShape === "androgynous") {
r.push(`Hormonal effects cause <span class="orange">${his} face to harden into masculinity.</span>`);
slave.faceShape = "masculine";
} else if (slave.faceShape !== "masculine") {
r.push(`Hormonal effects cause <span class="orange">${his} face to harden into androgyny.</span>`);
slave.faceShape = "androgynous";
}
}
}
if (faceValue > 0 && faceValue < 100) {
r.push(`Hormonal effects cause <span class="orange">${his} facial structure to harden and become less attractive.</span>`);
faceDec = 1 + V.hormoneUpgradePower;
slave.face = Math.clamp(slave.face - faceDec, -100, 100);
}
if (slave.voice > 1) {
r.push(`Hormonal effects cause <span class="orange">${his} voice to become deeper and less feminine.</span>`);
slave.voice--;
}
}
if (V.hormoneUpgradeShrinkage === 0) {
if (buttSize > 1 && rearLipedemaMod !== 2) {
if (slave.geneMods.NCS === 1 && jsRandom(1, 100) > 50 && buttSize > 2) {
r.push(`Hormonal effects work with ${his} <span class="orange">NCS</span> and cause <span class="orange">${his} butt to decrease a lot.</span>`);
slave.butt -= 1;
} else {
r.push(`Hormonal effects cause <span class="orange">the natural size of ${his} butt to decrease.</span>`);
}
slave.butt--;
}
if (boobSize > 100 * gigantomastiaMod && gigantomastiaMod !== 3) {
if (slave.geneMods.NCS === 1 && jsRandom(1, 100) > 50 && boobSize > 200) {
r.push(`Hormonal effects work with ${his} <span class="orange">NCS</span> and cause <span class="orange">${his} tits to shrink a lot.</span>`);
slave.boobs -= 10 + (15 * V.hormoneUpgradePower);
} else {
r.push(`Hormonal effects cause <span class="orange">the natural size of ${his} tits to shrink.</span>`);
}
slave.boobs -= 10 + (15 * V.hormoneUpgradePower);
}
}
if (slave.geneMods.NCS === 1 && slave.nipples === "tiny") {
/* nothing, just don't advance to cute */
} else if (slave.nipples !== "cute" && slave.nipples !== "fuckable") {
r.push(`Hormonal effects cause ${his} <span class="orange">nipples to shrink to a more masculine size.</span>`);
slave.nipples = "cute";
}
if (slave.geneMods.NCS === 0) {
if (slave.dick > 0 && slave.dick < 5) {
r.push(`Hormonal effects add <span class="lime">a bit more heft to ${his} penis.</span>`);
slave.dick++;
}
if (slave.balls > 0 && slave.balls < 5) {
r.push(`Hormonal effects cause <span class="lime">${his} balls to hang a little heavier.</span>`);
slave.balls++;
}
if (slave.clit < 5 && slave.dick === 0) {
r.push(`Hormonal effects cause <span class="lime">${his} clit to grow significantly.</span>`);
slave.clit++;
}
if (slave.vagina > -1 && slave.vaginaLube > 0) {
r.push(`Hormonal effects cause <span class="orange">${his} vagina to produce less natural lubricant.</span>`);
slave.vaginaLube--;
}
if (slave.muscles <= 50 && slave.diet !== "slimming") {
r.push(`Hormonal effects <span class="lime">build up ${his} musculature.</span>`);
slave.muscles += 2 + V.hormoneUpgradePower + slave.geneticQuirks.mGain;
}
if (slave.waist < 80) {
r.push(`Hormonal effects cause ${his} <span class="orange">waist to broaden.</span>`);
slave.waist += 2 + V.hormoneUpgradePower;
}
}
if (slave.attrXX < 100) {
r.push(`Hormonal effects cause ${him} to become <span class="green">more attracted to women.</span>`);
slave.attrXX += 2 + V.hormoneUpgradePower;
}
if (slave.devotion > 20 && slave.trust <= 20) {
r.push(`Hormonal effects <span class="mediumorchid">make ${him} a bit less docile.</span>`);
slave.devotion -= 1;
}
} else if (slave.hormoneBalance <= -300) {
if (slave.geneMods.NCS === 0) {
if (slave.faceImplant < 5) {
if (slave.geneticQuirks.androgyny !== 2) {
if (slave.faceShape === "androgynous") {
r.push(`Hormonal effects cause <span class="orange">${his} face to harden into masculinity.</span>`);
slave.faceShape = "masculine";
} else if (slave.faceShape !== "masculine") {
r.push(`Hormonal effects cause <span class="orange">${his} face to harden into androgyny.</span>`);
slave.faceShape = "androgynous";
}
}
}
if (faceValue > 0 && faceValue < 100) {
r.push(`Hormonal effects cause <span class="orange">${his} facial structure to harden and become less attractive.</span>`);
faceDec = 1 + V.hormoneUpgradePower;
slave.face = Math.clamp(slave.face - faceDec, -100, 100);
}
if (slave.voice > 1) {
r.push(`Hormonal effects cause <span class="orange">${his} voice to become deeper and less feminine.</span>`);
slave.voice--;
}
}
if (V.hormoneUpgradeShrinkage === 0) {
if (buttSize > 1 && rearLipedemaMod !== 2) {
if (slave.geneMods.NCS === 1 && jsRandom(1, 100) > 50 && buttSize > 2) {
r.push(`Hormonal effects work with ${his} <span class="orange">NCS</span> and cause <span class="orange">${his} butt to decrease a lot.</span>`);
slave.butt -= 1;
} else {
r.push(`Hormonal effects cause <span class="orange">the natural size of ${his} butt to decrease.</span>`);
}
slave.butt--;
}
if (boobSize > 300 * gigantomastiaMod && gigantomastiaMod !== 3) {
if (slave.geneMods.NCS === 1 && jsRandom(1, 100) > 50) {
r.push(`Hormonal effects work with ${his} <span class="orange">NCS</span> and cause <span class="orange">${his} tits to shrink a lot.</span>`);
slave.boobs -= 10 + (15 * V.hormoneUpgradePower);
} else {
r.push(`Hormonal effects cause <span class="orange">the natural size of ${his} tits to shrink.</span>`);
}
slave.boobs -= 10 + (15 * V.hormoneUpgradePower);
}
}
if (slave.geneMods.NCS === 1 && slave.nipples === "tiny") {
/* nothing, just don't advance to cute */
} else if (slave.nipples !== "cute" && slave.nipples !== "fuckable") {
r.push(`Hormonal effects cause ${his} <span class="orange">nipples to shrink to a more masculine size.</span>`);
slave.nipples = "cute";
}
if (slave.geneMods.NCS === 0) {
if (slave.dick > 0 && slave.dick < 5) {
r.push(`Hormonal effects add <span class="lime">a bit more heft to ${his} penis.</span>`);
slave.dick++;
}
if (slave.balls > 0 && slave.balls < 5 && slave.ballType !== "sterile") {
r.push(`Hormonal effects cause <span class="lime">${his} balls to hang a little heavier.</span>`);
slave.balls++;
}
if (slave.clit < 4 && slave.dick === 0) {
r.push(`Hormonal effects cause <span class="lime">${his} clit to grow significantly.</span>`);
slave.clit++;
}
if (slave.vagina > -1 && slave.vaginaLube > 0) {
r.push(`Hormonal effects cause <span class="orange">${his} vagina to produce less natural lubricant.</span>`);
slave.vaginaLube--;
}
if (slave.muscles <= 50 && slave.diet !== "slimming") {
r.push(`Hormonal effects <span class="lime">build up ${his} musculature.</span>`);
slave.muscles += 2 + V.hormoneUpgradePower + slave.geneticQuirks.mGain;
}
if (slave.waist < 40) {
r.push(`Hormonal effects cause ${his} <span class="orange">waist to broaden.</span>`);
slave.waist += 2 + V.hormoneUpgradePower;
}
}
if (slave.attrXX < 100) {
r.push(`Hormonal effects cause ${him} to become <span class="green">more attracted to women.</span>`);
slave.attrXX += 2 + V.hormoneUpgradePower;
}
if (slave.devotion > 20 && slave.trust <= 20) {
r.push(`Hormonal effects <span class="mediumorchid">make ${him} a bit less docile.</span>`);
slave.devotion -= 1;
}
} else if (slave.hormoneBalance <= -250) {
if (slave.geneMods.NCS === 0) {
if (slave.faceImplant < 5) {
if (slave.faceShape !== "masculine" && slave.faceShape !== "androgynous") {
r.push(`Hormonal effects cause <span class="orange">${his} face to harden into androgyny.</span>`);
slave.faceShape = "androgynous";
}
}
if (faceValue > 20 && faceValue < 100) {
r.push(`Hormonal effects cause <span class="orange">${his} facial structure to harden and become less attractive.</span>`);
faceDec = 1 + V.hormoneUpgradePower;
slave.face = Math.clamp(slave.face - faceDec, -100, 100);
}
if (slave.voice > 1) {
r.push(`Hormonal effects cause <span class="orange">${his} voice to become deeper and less feminine.</span>`);
slave.voice--;
}
}
if (V.hormoneUpgradeShrinkage === 0) {
if (buttSize > 2 && rearLipedemaMod !== 2) {
if (slave.geneMods.NCS === 1 && jsRandom(1, 100) > 50) {
r.push(`Hormonal effects work with ${his} <span class="orange">NCS</span> and cause <span class="orange">${his} butt to decrease a lot.</span>`);
slave.butt -= 1;
} else {
r.push(`Hormonal effects cause <span class="orange">the natural size of ${his} butt to decrease.</span>`);
}
slave.butt--;
}
if (boobSize > 400 * gigantomastiaMod && gigantomastiaMod !== 3) {
if (slave.geneMods.NCS === 1 && jsRandom(1, 100) > 50) {
r.push(`Hormonal effects work with ${his} <span class="orange">NCS</span> and cause <span class="orange">${his} tits to shrink a lot.</span>`);
slave.boobs -= 10 + (15 * V.hormoneUpgradePower);
} else {
r.push(`Hormonal effects cause <span class="orange">the natural size of ${his} tits to shrink.</span>`);
}
slave.boobs -= 10 + (15 * V.hormoneUpgradePower);
}
}
if (slave.geneMods.NCS === 1 && slave.nipples === "tiny") {
/* nothing, just don't advance to cute */
} else if (slave.nipples !== "cute" && slave.nipples !== "fuckable") {
r.push(`Hormonal effects cause ${his} <span class="orange">nipples to shrink to a more masculine size.</span>`);
slave.nipples = "cute";
}
if (slave.geneMods.NCS === 0) {
if (slave.dick > 0 && slave.dick < 4) {
r.push(`Hormonal effects add <span class="lime">a bit more heft to ${his} penis.</span>`);
slave.dick++;
}
if (slave.balls > 0 && slave.balls < 4 && slave.ballType !== "sterile") {
r.push(`Hormonal effects cause <span class="lime">${his} balls to hang a little heavier.</span>`);
slave.balls++;
}
if (slave.clit < 3 && slave.dick === 0) {
r.push(`Hormonal effects cause <span class="lime">${his} clit to grow significantly.</span>`);
slave.clit++;
}
if (slave.vagina > -1 && slave.vaginaLube > 0) {
r.push(`Hormonal effects cause <span class="orange">${his} vagina to produce less natural lubricant.</span>`);
slave.vaginaLube--;
}
if (slave.muscles <= 35 && slave.diet !== "slimming") {
r.push(`Hormonal effects <span class="lime">build up ${his} musculature.</span>`);
slave.muscles += 2 + V.hormoneUpgradePower + slave.geneticQuirks.mGain;
}
if (slave.waist < 25) {
r.push(`Hormonal effects cause ${his} <span class="orange">waist to broaden.</span>`);
slave.waist += 2 + V.hormoneUpgradePower;
}
}
if (slave.attrXX < 95) {
r.push(`Hormonal effects cause ${him} to become <span class="green">more attracted to women.</span>`);
slave.attrXX += 2 + V.hormoneUpgradePower;
}
if (slave.devotion > 20 && slave.trust <= 20) {
r.push(`Hormonal effects <span class="mediumorchid">make ${him} a bit less docile.</span>`);
slave.devotion -= 1;
}
} else if (slave.hormoneBalance <= -200) {
if (slave.geneMods.NCS === 0) {
if (slave.faceImplant < 5) {
if (slave.faceShape !== "masculine" && slave.faceShape !== "androgynous") {
r.push(`Hormonal effects cause <span class="orange">${his} face to harden into androgyny.</span>`);
slave.faceShape = "androgynous";
}
}
if (faceValue > 40 && faceValue < 100) {
r.push(`Hormonal effects cause <span class="orange">${his} facial structure to harden and become less attractive.</span>`);
faceDec = 1 + V.hormoneUpgradePower;
slave.face = Math.clamp(slave.face - faceDec, -100, 100);
}
if (slave.voice > 2) {
r.push(`Hormonal effects cause <span class="orange">${his} voice to become deeper and less feminine.</span>`);
slave.voice--;
}
}
if (V.hormoneUpgradeShrinkage === 0) {
if (buttSize > 3 && rearLipedemaMod !== 2) {
if (slave.geneMods.NCS === 1 && jsRandom(1, 100) > 50) {
r.push(`Hormonal effects work with ${his} <span class="orange">NCS</span> and cause <span class="orange">${his} butt to decrease a lot.</span>`);
slave.butt -= 1;
} else {
r.push(`Hormonal effects cause <span class="orange">the natural size of ${his} butt to decrease.</span>`);
}
slave.butt--;
}
if (boobSize > 600 * gigantomastiaMod && gigantomastiaMod !== 3) {
if (slave.geneMods.NCS === 1 && jsRandom(1, 100) > 50) {
r.push(`Hormonal effects work with ${his} <span class="orange">NCS</span> and cause <span class="orange">${his} tits to shrink a lot.</span>`);
slave.boobs -= 10 + (15 * V.hormoneUpgradePower);
} else {
r.push(`Hormonal effects cause <span class="orange">the natural size of ${his} tits to shrink.</span>`);
}
slave.boobs -= 10 + (15 * V.hormoneUpgradePower);
}
}
if (slave.nipples === "huge" || slave.nipples === "puffy") {
r.push(`Hormonal effects cause ${his} big <span class="orange">nipples to shrink to a more reasonable size.</span>`);
slave.nipples = "cute";
}
if (slave.geneMods.NCS === 0) {
if (slave.dick > 0 && slave.dick < 3) {
r.push(`Hormonal effects add <span class="lime">a bit more heft to ${his} penis.</span>`);
slave.dick++;
}
if (slave.balls > 0 && slave.balls < 3 && slave.ballType !== "sterile") {
r.push(`Hormonal effects cause <span class="lime">${his} balls to hang a little heavier.</span>`);
slave.balls++;
}
if (slave.clit < 2 && slave.dick === 0) {
r.push(`Hormonal effects cause <span class="lime">${his} clit to grow significantly.</span>`);
slave.clit++;
}
if (slave.vagina > -1 && slave.vaginaLube > 0) {
r.push(`Hormonal effects cause <span class="orange">${his} vagina to produce less natural lubricant.</span>`);
slave.vaginaLube--;
}
if (slave.muscles <= 15 && slave.diet !== "slimming") {
r.push(`Hormonal effects <span class="lime">build up ${his} musculature.</span>`);
slave.muscles += 2 + V.hormoneUpgradePower + slave.geneticQuirks.mGain;
}
if (slave.waist < 9) {
r.push(`Hormonal effects cause ${his} <span class="orange">waist to broaden.</span>`);
slave.waist += 2 + V.hormoneUpgradePower;
}
}
if (slave.attrXX < 90) {
r.push(`Hormonal effects cause ${him} to become <span class="green">more attracted to women.</span>`);
slave.attrXX += 2 + V.hormoneUpgradePower;
}
if (slave.devotion > 20 && slave.trust <= 20) {
r.push(`Hormonal effects <span class="mediumorchid">make ${him} a bit less docile.</span>`);
slave.devotion -= 1;
}
} else if (slave.hormoneBalance <= -100) {
if (slave.geneMods.NCS === 0) {
if (faceValue > 60 && faceValue < 100) {
r.push(`Hormonal effects cause <span class="orange">${his} facial structure to harden and become less attractive.</span>`);
faceDec = 1 + V.hormoneUpgradePower;
slave.face = Math.clamp(slave.face - faceDec, -100, 100);
}
if (slave.voice > 2) {
r.push(`Hormonal effects cause <span class="orange">${his} voice to become deeper and less feminine.</span>`);
slave.voice--;
}
}
if (V.hormoneUpgradeShrinkage === 0) {
if (buttSize > 4 && rearLipedemaMod !== 2) {
if (slave.geneMods.NCS === 1 && jsRandom(1, 100) > 50) {
r.push(`Hormonal effects work with ${his} <span class="orange">NCS</span> and cause <span class="orange">${his} butt to decrease a lot.</span>`);
slave.butt -= 1;
} else {
r.push(`Hormonal effects cause <span class="orange">the natural size of ${his} butt to decrease.</span>`);
}
slave.butt--;
}
if (boobSize > 800 * gigantomastiaMod && gigantomastiaMod !== 3) {
if (slave.geneMods.NCS === 1 && jsRandom(1, 100) > 50) {
r.push(`Hormonal effects work with ${his} <span class="orange">NCS</span> and cause <span class="orange">${his} tits to shrink a lot.</span>`);
slave.boobs -= 10 + (15 * V.hormoneUpgradePower);
} else {
r.push(`Hormonal effects cause <span class="orange">the natural size of ${his} tits to shrink.</span>`);
}
slave.boobs -= 10 + (15 * V.hormoneUpgradePower);
}
}
if (slave.geneMods.NCS === 0) {
if (slave.muscles < 0 && slave.diet !== "slimming") {
r.push(`Hormonal effects <span class="lime">build up ${his} musculature.</span>`);
slave.muscles += 2 + V.hormoneUpgradePower + slave.geneticQuirks.mGain;
}
if (slave.waist < 0) {
r.push(`Hormonal effects cause ${his} <span class="orange">waist to broaden.</span>`);
slave.waist += 2 + V.hormoneUpgradePower;
}
if (slave.dick > 0 && slave.dick < 2) {
r.push(`Hormonal effects cause <span class="lime">${his} micropenis to return to a more normal size.</span>`);
slave.dick++;
}
if (slave.balls > 0 && slave.balls < 2) {
r.push(`Hormonal effects cause <span class="lime">${his} balls to drop.</span>`);
slave.balls++;
}
if (slave.clit < 1 && slave.dick === 0) {
r.push(`Hormonal effects cause <span class="lime">${his} clit to grow significantly.</span>`);
slave.clit++;
}
if (slave.vagina > -1 && slave.vaginaLube > 1) {
r.push(`Hormonal effects cause <span class="orange">${his} vagina to produce less natural lubricant.</span>`);
slave.vaginaLube--;
}
}
if (slave.attrXX < 80) {
r.push(`Hormonal effects cause ${him} to become <span class="green">more attracted to women.</span>`);
slave.attrXX += 2 + V.hormoneUpgradePower;
}
if (slave.devotion > 20 && slave.trust <= 20) {
r.push(`Hormonal effects <span class="mediumorchid">make ${him} a bit less docile.</span>`);
slave.devotion -= 1;
}
} else if (slave.hormoneBalance <= -50) {
if (slave.attrXX < 70) {
r.push(`Hormonal effects cause ${him} to become <span class="green">more attracted to women.</span>`);
slave.attrXX += 2 + V.hormoneUpgradePower;
}
}
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function hormoneReactions(slave) {
if (slave.hormoneBalance <= 20 && slave.hormones < 1) {
if (slave.dick > 0) {
if (slave.devotion > 20) {
if ((slave.boobs < 800 && slave.butt < 3) || (slave.faceShape === "masculine") || (slave.shoulders > slave.hips) || (slave.balls > 4)) {
if (slave.career === "a Futanari Sister") {
r.push(`${He} wishes ${he} were more feminine, but isn't unhappy to be off hormones, since ${he} likes being a stiff dicked futa.`);
} else if (slave.fetish === "buttslut" && slave.fetishStrength > 60 && slave.fetishKnown === 1) {
r.push(`${He} wishes ${he} were more feminine, but ${he} loves getting fucked in the butt so much that it doesn't much bother ${him}.`);
} else if (slave.fetish === "sadist" && slave.fetishStrength > 60 && slave.fetishKnown === 1) {
r.push(`Life is easier for effeminate slaves, but ${he} loves abusing other slaves so much that ${he} likes being able to get hard.`);
} else if (slave.fetish === "dom" && slave.fetishStrength > 60 && slave.fetishKnown === 1) {
r.push(`Life is easier for effeminate slaves, but ${he} loves dominating other girls so much that ${he} likes being able to get hard.`);
} else if (slave.energy > 95) {
r.push(`${He} wishes ${he} were more feminine, but ${he} loves getting fucked like a good little sex slave so much that ${he} doesn't think about it much.`);
} else if (slave.devotion <= 30) {
r.push(`Life is easier for effeminate slaves, so <span class="mediumorchid">${he}'s a little unhappy</span> that ${he} isn't getting hormones to make ${him} more feminine.`);
slave.devotion -= 2;
} else if (slave.devotion <= 50) {
r.push(`${He} wants to be a good slave girl, so <span class="mediumorchid">${he}'s a little unhappy</span> that ${he} isn't getting hormones to make ${him} look more feminine.`);
slave.devotion -= 2;
} else {
r.push(`${He} wishes ${he} were more feminine, but ${he} accepts your judgment in not giving ${him} hormones to make that happen.`);
}
}
}
}
}
}
})();
|
MonsterMate/fc
|
src/endWeek/saHormonesEffects.js
|
JavaScript
|
mit
| 50,465
|
App.SlaveAssignment.inflation = (function() {
"use strict";
let r;
// eslint-disable-next-line no-unused-vars
let he, him, his, hers, himself, girl, loli, He, His;
let gigantomastiaMod;
let rearLipedemaMod;
let rearLipedemaDivider;
let distensionTerm;
let dairyL;
let dupeTextFlag;
let cow;
let harvest;
return saInflation;
/**
* @param {App.Entity.SlaveState} slave
* @returns {string}
*/
function saInflation(slave) {
r = [];
gigantomastiaMod = slave.geneticQuirks.gigantomastia === 2 ? (slave.geneticQuirks.macromastia === 2 ? 3 : 2) : 1;
rearLipedemaMod = slave.geneticQuirks.rearLipedema === 2 ? 2 : 0;
rearLipedemaDivider = rearLipedemaMod === 0 ? 1 : rearLipedemaMod;
dairyL = App.Entity.facilities.dairy.employeesIDs().size;
dupeTextFlag = 0;
if (slave.inflationMethod === 3) {
cow = slave.inflationType === "milk" ? getSlave(slave.milkSource) : getSlave(slave.cumSource);
}
({
// eslint-disable-next-line no-unused-vars
he, him, his, hers, himself, girl, He, His, loli
} = getPronouns(slave));
inflationCancellation(slave);
if (slave.inflation > 0) {
fillUp(slave);
}
if (slave.fetish !== "mindbroken" && slave.fuckdoll === 0) {
mentalEffects(slave);
}
if (slave.inflationType === "milk" || slave.inflationType === "food") {
foodMeansFat(slave);
}
if (slave.cervixImplant >= 2) {
cervixImplantFluidConversion(slave);
}
return r.join(" ");
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function inflationCancellation(slave) {
if (slave.assignment === Job.ARCADE || slave.assignment === Job.DAIRY) {
deflate(slave);
} else if (slave.inflationType === "milk" && (slave.inflationMethod === 1 || slave.inflationMethod === 2) && (dairyL === 0 || V.dairy === 0) && V.arcologies[0].FSPastoralistLaw !== 1 && (slave.assignment !== Job.CELLBLOCK || V.cellblockDecoration !== "Pastoralist")) {
r.push(`You no longer have a functional dairy. <span class="yellow">${His} inflation regimen has been ended.</span>`);
deflate(slave);
} else if (slave.inflationType === "milk" && slave.inflationMethod === 3 && cow.lactation === 0) {
r.push(`${cow.slaveName} is no longer lactating and thus can no longer keep ${slave.slaveName} filled with milk. <span class="yellow">${His} inflation regimen has been ended.</span>`);
deflate(slave);
} else if (slave.inflationType === "cum" && (slave.inflationMethod === 1 || slave.inflationMethod === 2) && (dairyL === 0 || V.cumSlaves === 0 || V.dairy === 0) && V.arcologies[0].FSPastoralistLaw !== 1) {
r.push(`You no longer have a functional cum dairy. <span class="yellow">${His} inflation regimen has been ended.</span>`);
deflate(slave);
} else if (slave.inflationType === "cum" && slave.inflationMethod === 3 && cow.balls === 0) {
r.push(`${cow.slaveName} no longer has testicles and thus can no longer keep ${slave.slaveName} filled with cum. <span class="yellow">${His} inflation regimen has been ended.</span>`);
deflate(slave);
} else if (slave.bellyImplant >= 1500) {
if (slave.inflation > 1) {
r.push(`Due to the mounting pressure from ${his} filled abdominal implant, ${he} can no longer fill ${himself} as large as ${he} used to.`);
slave.inflation = 1;
SetBellySize(slave);
} else {
slave.bellyFluid = 2000;
SetBellySize(slave);
}
} else if (slave.bellyPreg >= 1500) {
if (slave.inflation > 1) {
r.push(`Due to the mounting pressure from ${his} growing pregnancy, ${he} can no longer fill ${himself} as large as ${he} used to.`);
slave.inflation = 1;
SetBellySize(slave);
} else {
slave.bellyFluid = 2000;
SetBellySize(slave);
}
} else if ((slave.inflationType === "milk" || slave.inflationType === "cum") && slave.inflationMethod === 3) {
harvest = (slave.inflationType === "milk") ? Math.trunc(milkAmount(cow) / 14) : Math.trunc(cumAmount(cow) / 70);
if (slave.inflation === 3 && harvest < 8) {
r.push(`${cow.slaveName} is having trouble producing the requested amount of ${slave.inflationType}`);
if (harvest < 2) {
r.push(`needed to even fill ${him}. <span class="yellow">${His} inflation regimen has been ended.</span>`);
} else if (harvest < 4) {
r.push(`so ${his} serving has been reduced to a mere two liters.`);
} else {
r.push(`so ${his} serving has been reduced to four liters.`);
}
} else if (slave.inflation === 2 && harvest < 4) {
if (harvest < 2) {
r.push(`needed to even fill ${him}. <span class="yellow">${His} inflation regimen has been ended.</span>`);
} else {
r.push(`so ${his} serving has been reduced to two liters.`);
}
} else if (slave.inflation === 1 && harvest < 2) {
r.push(`and can't even give ${him} a simple meal. <span class="yellow">${His} inflation regimen has been ended.</span>`);
}
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function fillUp(slave) {
if (slave.inflation === 3) {
distensionTerm = `leaving ${him} looking ready to burst`;
} else if (slave.inflation === 2) {
distensionTerm = `leaving ${him} looking pregnant`;
} else {
distensionTerm = `leaving ${his} belly noticeably distended`;
}
switch (slave.inflationType) {
case "water":
r.push(`${He} makes sure to fill ${his} rear with nearly`);
if (slave.inflation === 3) {
r.push(`two gallons of water, ${distensionTerm}, whenever ${he} leaks or needs to release ${his} load. ${He} keeps ${himself} <span class="red">painfully full</span> for you.`);
healthDamage(slave, 10);
} else if (slave.inflation === 2) {
r.push(`four liters of water, ${distensionTerm}, whenever ${he} leaks or needs to release ${his} load. ${He} is full enough to be distended but not enough to grow taut.`);
} else if (slave.inflation === 1) {
r.push(`two liters of water, ${distensionTerm}, whenever ${he} leaks or needs to release ${his} load. ${He} is full enough to be swollen but not enough to visibly jiggle.`);
}
break;
case "urine":
r.push(`${He} makes sure to fill ${his} rear with nearly`);
if (slave.inflation === 3) {
r.push(`two gallons of urine, ${distensionTerm}, whenever ${he} leaks or needs to release ${his} load. ${He} keeps ${himself} <span class="red">painfully full</span> for you.`);
healthDamage(slave, 10);
} else if (slave.inflation === 2) {
r.push(`four liters of urine, ${distensionTerm}, whenever ${he} leaks or needs to release ${his} load. ${He} is full enough to be distended but not enough to grow taut.`);
} else if (slave.inflation === 1) {
r.push(`two liters of urine, ${distensionTerm}, whenever ${he} leaks or needs to release ${his} load. ${He} is full enough to be swollen but not enough to visibly jiggle.`);
}
break;
case "aphrodisiac":
r.push(`${He} makes sure to fill ${his} rear with nearly`);
if (slave.inflation === 3) {
r.push(`two gallons of an aphrodisiac solution, leaving ${him} looking ready to burst, whenever ${he} leaks or ${his} body absorbs too much. ${He} keeps ${himself} <span class="red">painfully full</span> for you, though ${he} barely notices it over ${his} horniness. While having ${his} body packed full of aphrodisiacs doesn't make ${him} additionally submissive, it does amplify the effects of them. ${His} aphrodisiac bursting belly`);
healthDamage(slave, 10);
} else if (slave.inflation === 2) {
r.push(`four liters of an aphrodisiac solution, leaving ${him} looking pregnant, whenever ${he} leaks or ${his} body absorbs too much. ${He} is full enough to be distended but not enough to grow taut. While having ${his} body bloated with aphrodisiacs doesn't make ${him} additionally submissive, it does amplify the effects of them. ${His} overfilled aphrodisiac belly`);
} else if (slave.inflation === 1) {
r.push(`two liters of an aphrodisiac solution, leaving ${his} belly noticeably distended, whenever ${he} leaks or ${his} body absorbs too much. ${He} is full enough to be swollen but not enough to visibly jiggle. ${His} aphrodisiac filled belly`);
}
if (slave.energy <= 95) {
r.push(`<span class="green">rapidly boosts ${his} sex drive.</span>`);
slave.energy += 5 * slave.inflation;
} else {
r.push(`can't improve ${his} absurd sex drive.`);
}
if (slave.fuckdoll === 0 && slave.fetish !== "mindbroken") {
r.push(`Besides being humiliating, it chemically <span class="hotpink">increases ${his} acceptance</span> of sexual slavery.`);
slave.devotion += 5;
}
if (V.arcologies[0].FSBodyPuristLaw === 0 && V.healthyDrugsUpgrade === 0) {
r.push(`Such a high dosage held for so long <span class="red">isn't healthy.</span>`);
healthDamage(slave, 5);
}
slave.chem += 2 * slave.inflation;
if (slave.addict > 0) {
slave.addict += slave.inflation * 3;
} else if (jsRandom(1, 100) < 40 + (20 * slave.inflation)) {
r.push(`All the aphrodisiacs held within ${his} bowels cause <span class="cyan">${him} to become an aphrodisiac addict.</span>`);
slave.addict = 1;
}
break;
case "curative":
r.push(`${He} makes sure to fill ${his} rear with nearly`);
if (slave.inflation === 3) {
r.push(`two gallons of a curative solution, leaving ${him} looking ready to burst, whenever ${he} leaks or ${his} body absorbs too much. ${He} keeps ${himself} full for you; the curatives in ${his} gut keeping ${him} healthy despite the pain.`);
if ((slave.assignment === Job.REST || slave.assignment === Job.SPA) && slave.fetish !== "mindbroken") {
r.push(`The curative enema ${he}'s on synergize with rest, keeping ${him} asleep most of the time. This is an <span class="green">extremely effective health treatment,</span> though being filled to ${his} limit doesn't hasten ${his} recovery at all; it's just perverted.`);
improveCondition(slave, 4);
} else if (slave.health.condition < -20) {
r.push(`<span class="green">${His} poor health rapidly improves</span> under the curative enema, though being filled to ${his} limit doesn't hasten ${his} recovery at all; it's just perverted.`);
improveCondition(slave, 2);
} else {
r.push(`<span class="green">${His} health improves</span> under the curative enema, though being filled to ${his} limit doesn't hasten ${his} recovery at all; it's just perverted.`);
}
improveCondition(slave, 1);
} else if (slave.inflation === 2) {
r.push(`four liters of a curative solution, leaving ${him} looking pregnant, whenever ${he} leaks or ${his} body absorbs too much. ${He} is full enough to be distended but not enough to grow taut.`);
if ((slave.assignment === Job.REST || slave.assignment === Job.SPA) && slave.fetish !== "mindbroken") {
r.push(`The curative enema ${he}'s on synergize with rest, keeping ${him} asleep most of the time. This is an <span class="green">extremely effective health treatment,</span> though being overfilled doesn't hasten ${his} recovery at all; it's just perverted.`);
improveCondition(slave, 4);
} else if (slave.health.condition < -20) {
r.push(`<span class="green">${His} poor health rapidly improves</span> under the curative enema, though being overfilled doesn't hasten ${his} recovery at all; it's just perverted.`);
improveCondition(slave, 2);
} else {
r.push(`<span class="green">${His} health improves</span> under curative enema, though being overfilled doesn't hasten ${his} recovery at all; it's just perverted.`);
}
improveCondition(slave, 6);
} else if (slave.inflation === 1) {
r.push(`two liters of a curative solution, leaving ${his} belly noticeably distended, whenever ${he} leaks or ${his} body absorbs too much. ${He} is full enough to be swollen but not enough to visibly jiggle.`);
if ((slave.assignment === Job.REST || slave.assignment === Job.SPA) && slave.fetish !== "mindbroken") {
r.push(`The curative enema ${he}'s on synergize with rest, keeping ${him} asleep most of the time. This is an <span class="green">extremely effective health treatment.</span>`);
improveCondition(slave, 4);
} else if (slave.health.condition < -20) {
r.push(`<span class="green">${His} poor health rapidly improves</span> under the curative enema.`);
improveCondition(slave, 2);
} else {
r.push(`<span class="green">${His} health improves</span> under curative enema.`);
}
improveCondition(slave, 6);
}
if (slave.fuckdoll === 0 && slave.fetish !== "mindbroken") {
r.push(`${He} <span class="mediumaquamarine">trusts you more</span> for giving ${him} access to expensive modern medicine, even if it is really embarrassing to be seen with that belly.`);
slave.trust += 1;
}
if (slave.health.condition >= 90) {
r.push(`${He} is as healthy as ${he} can be. <span class="yellow">${His} curative enema regimen has been ended.</span>`);
deflate(slave);
}
slave.chem += 2;
break;
case "tightener":
r.push(`${He} makes sure to fill ${his} rear with nearly`);
if (slave.inflation === 3) {
r.push(`two gallons of tightening solution, leaving ${him} looking ready to burst, whenever ${he} leaks or ${his} body absorbs too much. ${He} keeps ${himself} <span class="red">painfully full</span> for you.`);
healthDamage(slave, 10);
} else if (slave.inflation === 2) {
r.push(`four liters of tightening solution, leaving ${him} looking pregnant, whenever ${he} leaks or ${his} body absorbs too much. ${He} is full enough to be distended but not enough to grow taut.`);
} else if (slave.inflation === 1) {
r.push(`two liters of tightening solution, leaving ${his} belly noticeably distended, whenever ${he} leaks or ${his} body absorbs too much. ${He} is full enough to be swollen but not enough to visibly jiggle.`);
}
if (slave.geneMods.rapidCellGrowth === 1) {
r.push(`Unfortunately for ${him}, ${his} body shows no interest in tightening up after the elasticity treatment ${he} underwent.`);
} else {
if (slave.anus > 1) {
r.push(`The solution slowly tightens ${his} anus while inside ${his} bowels.`);
if (slave.inflation === 3) {
r.push(`Being filled to ${his} limit with the solution does not make it tighten any better or faster; it's just perverted.`);
dupeTextFlag = 1;
} else if (slave.inflation === 2) {
r.push(`Being overfilled with the solution does not make it tighten any better or faster; it's just perverted.`);
dupeTextFlag = 1;
}
if (jsRandom(1, 100) > 60) {
r.push(`By week's end, <span class="lime">${his} butthole has tightened nicely.</span>`);
slave.anus--;
}
} else {
r.push(`${His} anus is as tight as the solution can possibly make it.`);
}
if (slave.vagina > 1) {
r.push(`As ${his} body slowly absorbs the solution, its benefits begin to affect ${his} pussy.`);
if (dupeTextFlag !== 1) {
if (slave.inflation === 3) {
r.push(`Being filled to ${his} limit with the solution does not make it tighten any better or faster; it's just perverted.`);
} else if (slave.inflation === 2) {
r.push(`Being overfilled with the solution does not make it tighten any better or faster; it's just perverted.`);
}
}
if (jsRandom(1, 100) > 80) {
r.push(`By week's end, <span class="lime">${his} vagina has regained some tightness.</span>`);
slave.vagina--;
}
} else if (slave.vagina === 1) {
r.push(`${His} pussy is as tight as the solution can possibly make it.`);
}
}
if ((slave.anus <= 1 && slave.vagina <= 1) || (slave.geneMods.rapidCellGrowth === 1)) {
if (slave.vagina >= 0) {
r.push(`${His} holes are`);
} else {
r.push(`${His} hole is`);
}
r.push(`as tight as the drugs can get`);
if (slave.geneMods.rapidCellGrowth === 1) {
if (slave.vagina >= 0) {
r.push(`them`);
} else {
r.push(`it`);
}
r.push(`with the treatment counteracting their efforts. <span class="yellow">${His} tightening enema regimen has been ended.</span>`);
deflate(slave);
} else if ([Job.CLUB, Job.BROTHEL].includes(slave.assignment)) {
if (slave.vagina >= 0) {
r.push(`them,`);
} else {
r.push(`it,`);
}
r.push(`but given ${his} assignment, ${he} is likely to be stretched out again, so ${his} tightening enema regimen continues.`);
} else {
if (slave.vagina >= 0) {
r.push(`them.`);
} else {
r.push(`it.`);
}
r.push(`<span class="yellow">${His} tightening enema regimen has been ended.</span>`);
deflate(slave);
}
}
slave.chem += 2;
break;
case "milk":
r.push(`Throughout the week, ${he}`);
if (slave.behavioralFlaw === "anorexic") {
r.push(`<span class="mediumorchid">reluctantly</span>`);
if (slave.inflationMethod === 1) {
r.push(`sucks from the dairy tap until ${his} stomach is`);
} else if (slave.inflationMethod === 2) {
r.push(`fills ${his} rectum from the dairy tap until ${his} stomach is`);
} else if (slave.inflationMethod === 3) {
r.push(`suckles from ${cow.slaveName} until ${his} stomach is`);
cow.lactationDuration = 2;
cow.boobs -= cow.boobsMilk;
cow.boobsMilk = 0;
}
if (slave.inflation === 3) {
r.push(`<span class="red">painfully bloated</span> with nearly two gallons`);
healthDamage(slave, 10);
slave.devotion -= 8;
slave.trust -= 8;
} else if (slave.inflation === 2) {
r.push(`bloated with nearly four liters`);
slave.devotion -= 5;
slave.trust -= 5;
} else if (slave.inflation === 1) {
r.push(`bloated with nearly two liters`);
slave.devotion -= 3;
slave.trust -= 3;
}
r.push(`of milk, ${distensionTerm}. ${He} struggles to keep ${his} fatty, liquid meal down, <span class="gold">fearing</span> punishment otherwise.`);
} else if (slave.behavioralFlaw === "gluttonous") {
r.push(`<span class="hotpink">${slave.inflationMethod === 2 ? `happily` : `eagerly`}</span>`);
if (slave.inflationMethod === 1) {
r.push(`sucks from the dairy tap until ${his} stomach is`);
} else if (slave.inflationMethod === 2) {
r.push(`fills ${his} rectum from the dairy tap until ${his} stomach is`);
} else if (slave.inflationMethod === 3) {
r.push(`sucks from ${cow.slaveName} until ${his} stomach is`);
cow.lactationDuration = 2;
cow.boobs -= cow.boobsMilk;
cow.boobsMilk = 0;
}
if (slave.inflation === 3) {
r.push(`<span class="red">painfully bloated</span> with nearly two gallons`);
healthDamage(slave, 10);
} else if (slave.inflation === 2) {
r.push(`bloated with nearly four liters`);
} else if (slave.inflation === 1) {
r.push(`bloated with nearly two liters`);
}
r.push(`of milk, ${distensionTerm}. ${He} rubs ${his}`);
if (slave.inflationMethod === 1 || slave.inflationMethod === 3) {
if (slave.inflation === 3) {
r.push(`full belly <span class="mediumaquamarine">contently,</span> anticipating ${his} next gorging.`);
slave.devotion += 5;
slave.trust += 5;
} else if (slave.inflation === 2) {
r.push(`taut belly <span class="mediumaquamarine">contently,</span> anticipating ${his} next feeding.`);
slave.devotion += 4;
slave.trust += 4;
} else if (slave.inflation === 1) {
r.push(`sloshing belly <span class="mediumaquamarine">contently,</span> anticipating ${his} next meal.`);
slave.devotion += 3;
slave.trust += 3;
}
} else {
if (slave.inflation === 3) {
r.push(`taut`);
slave.devotion += 4;
slave.trust += 4;
} else if (slave.inflation === 2) {
r.push(`full`);
slave.devotion += 3;
slave.trust += 3;
} else if (slave.inflation === 1) {
r.push(`sloshing`);
slave.devotion += 1;
slave.trust += 1;
}
r.push(`belly <span class="mediumaquamarine">contently,</span> though ${he} wishes ${he} could have swallowed it instead.`);
}
} else {
r.push(`makes sure to`);
if (slave.inflationMethod === 1) {
r.push(`keep ${himself} filled with nearly`);
} else if (slave.inflationMethod === 2) {
r.push(`fill ${his} rear with nearly`);
} else if (slave.inflationMethod === 3) {
r.push(`keep suckling from ${cow.slaveName} until ${he} is filled with nearly`);
cow.lactationDuration = 2;
cow.boobs -= cow.boobsMilk;
cow.boobsMilk = 0;
}
if (slave.inflation === 3) {
r.push(`two gallons of milk,`);
} else if (slave.inflation === 2) {
r.push(`four liters of milk,`);
} else if (slave.inflation === 1) {
r.push(`two liters of milk,`);
}
if (slave.inflationMethod === 2) {
r.push(`${distensionTerm}, whenever ${he} leaks or needs to release ${his} load.`);
} else {
r.push(`${distensionTerm}.`);
}
if (slave.inflation === 3) {
r.push(`${He} keeps ${himself} <span class="red">painfully full</span> for you.`);
healthDamage(slave, 10);
} else if (slave.inflation === 2) {
r.push(`${He} is full enough to be distended but not enough to grow taut.`);
} else if (slave.inflation === 1) {
r.push(`${He} is full enough to be swollen but not enough to visibly jiggle.`);
}
}
break;
case "cum":
r.push(`Throughout the week, ${he}`);
if (slave.behavioralFlaw === "anorexic") {
r.push(`<span class="mediumorchid">reluctantly</span>`);
if (slave.inflationMethod === 1) {
r.push(`sucks from the dairy tap until ${his} stomach is`);
} else if (slave.inflationMethod === 2) {
r.push(`fills ${his} rectum from the dairy tap until ${his} stomach is`);
} else if (slave.inflationMethod === 3) {
r.push(`sucks ${cow.slaveName}'s ${(cow.dick > 0) ? `cock` : `cum hole`} until ${his} stomach is`);
}
if (slave.inflation === 3) {
r.push(`<span class="red">painfully bloated</span> with nearly two gallons`);
healthDamage(slave, 10);
slave.devotion -= 8;
slave.trust -= 8;
} else if (slave.inflation === 2) {
r.push(`bloated with nearly four liters`);
slave.devotion -= 5;
slave.trust -= 5;
} else if (slave.inflation === 1) {
r.push(`bloated with nearly two liters`);
slave.devotion -= 3;
slave.trust -= 3;
}
r.push(`of cum, ${distensionTerm}.`);
if (slave.inflationMethod === 1 || slave.inflationMethod === 3) {
r.push(`${He} struggles to keep ${his} liquid meal down, <span class="gold">fearing</span> punishment otherwise.`);
} else {
r.push(`${He} struggles to keep the ${slave.inflation === 1 ? '' : slave.inflation === 2 ? 'huge ' : 'massive '}cumshot inside ${him}, <span class="gold">fearing</span> punishment otherwise.`);
}
} else if (slave.behavioralFlaw === "gluttonous") {
r.push(`<span class="hotpink">${slave.inflationMethod === 2 ? `happily` : `eagerly`}</span>`);
if (slave.inflationMethod === 1) {
r.push(`sucks from the dairy tap until ${his} stomach is`);
} else if (slave.inflationMethod === 2) {
r.push(`fills ${his} rectum from the dairy tap until ${his} stomach is`);
} else if (slave.inflationMethod === 3) {
r.push(`sucks ${cow.slaveName}'s ${(cow.dick > 0) ? `cock` : `cum hole`} until ${his} stomach is`);
}
if (slave.inflation === 3) {
r.push(`<span class="red">painfully bloated</span> with nearly two gallons`);
healthDamage(slave, 10);
} else if (slave.inflation === 2) {
r.push(`bloated with nearly four liters`);
} else if (slave.inflation === 1) {
r.push(`bloated with nearly two liters`);
}
r.push(`of cum, ${distensionTerm}. ${He} rubs ${his}`);
if (slave.inflationMethod === 1 || slave.inflationMethod === 3) {
if (slave.inflation === 3) {
r.push(`full belly <span class="mediumaquamarine">contently,</span> anticipating ${his} next gorging.`);
slave.devotion += 5;
slave.trust += 5;
} else if (slave.inflation === 2) {
r.push(`taut belly <span class="mediumaquamarine">contently,</span> anticipating ${his} next feeding.`);
slave.devotion += 4;
slave.trust += 4;
} else if (slave.inflation === 1) {
r.push(`sloshing belly <span class="mediumaquamarine">contently,</span> anticipating ${his} next meal.`);
slave.devotion += 3;
slave.trust += 3;
}
} else {
if (slave.inflation === 3) {
r.push(`taut`);
slave.devotion += 4;
slave.trust += 4;
} else if (slave.inflation === 2) {
r.push(`full`);
slave.devotion += 3;
slave.trust += 3;
} else if (slave.inflation === 1) {
r.push(`sloshing`);
slave.devotion += 1;
slave.trust += 1;
}
r.push(`belly <span class="mediumaquamarine">contently,</span> though ${he} wishes ${he} could have swallowed it instead.`);
}
} else {
r.push(`makes sure to`);
if (slave.inflationMethod === 1) {
r.push(`keep ${himself} filled with nearly`);
} else if (slave.inflationMethod === 2) {
r.push(`fill ${his} rear with nearly`);
} else if (slave.inflationMethod === 3) {
r.push(`sucks ${cow.slaveName}'s ${(cow.dick > 0) ? `cock` : `cum hole`} until ${he} is filled with nearly`);
}
if (slave.inflation === 3) {
r.push(`two gallons of cum,`);
} else if (slave.inflation === 2) {
r.push(`four liters of cum,`);
} else if (slave.inflation === 1) {
r.push(`two liters of cum,`);
}
if (slave.inflationMethod === 2) {
r.push(`${distensionTerm}, whenever ${he} leaks or needs to release ${his} load.`);
} else {
r.push(`${distensionTerm}.`);
}
if (slave.inflation === 3) {
r.push(`${He} keeps ${himself} <span class="red">painfully full</span> for you.`);
healthDamage(slave, 10);
} else if (slave.inflation === 2) {
r.push(`${He} is full enough to be distended but not enough to grow taut.`);
} else if (slave.inflation === 1) {
r.push(`${He} is full enough to be swollen but not enough to visibly jiggle.`);
}
}
break;
case "food":
r.push(`Throughout the week, ${he}`);
if (slave.behavioralFlaw === "anorexic") {
r.push(`focuses ${his} <span class="mediumorchid">loathing</span> on you as ${he} forces down servings of slave food until ${his} stomach is`);
if (slave.inflation === 3) {
r.push(`<span class="red">painfully bloated</span> with nearly two gallons of the paste, ${distensionTerm}.`);
healthDamage(slave, 10);
slave.devotion -= 16;
slave.trust -= 16;
} else if (slave.inflation === 2) {
r.push(`bloated with nearly four liters of the paste, giving ${him} quite the food baby.`);
slave.devotion -= 10;
slave.trust -= 10;
} else if (slave.inflation === 1) {
r.push(`bloated with nearly two liters of the paste, leaving ${his} stomach obviously distended.`);
slave.devotion -= 6;
slave.trust -= 6;
}
r.push(`${He} struggles to keep ${his} meal down, <span class="gold">fearing</span> punishment otherwise.`);
} else if (slave.behavioralFlaw === "gluttonous") {
r.push(`<span class="hotpink">eagerly</span> stuffs ${his} face with servings of slave food until ${his} stomach is`);
if (slave.inflation === 3) {
r.push(`<span class="red">painfully bloated</span> with nearly two gallons of the paste, ${distensionTerm}. ${He} rubs ${his} stuffed belly <span class="mediumaquamarine">contently,</span> anticipating ${his} next gorging.`);
healthDamage(slave, 10);
slave.devotion += 10;
slave.trust += 10;
} else if (slave.inflation === 2) {
r.push(`bloated with nearly four liters of the paste, giving ${him} quite the food baby. ${He} rubs ${his} taut belly <span class="mediumaquamarine">contently,</span> anticipating ${his} next meal.`);
slave.devotion += 7;
slave.trust += 7;
} else if (slave.inflation === 1) {
r.push(`bloated with nearly two liters of the paste, leaving ${his} belly noticeably distended. ${He} rubs ${his} stuffed belly <span class="mediumaquamarine">contently,</span> anticipating ${his} next helping.`);
slave.devotion += 5;
slave.trust += 5;
}
} else {
r.push(`makes sure to binge eat until`);
if (slave.inflation === 3) {
r.push(`${his} gut is stuffed with nearly two gallons of slave food, ${distensionTerm}. ${He} keeps ${himself} <span class="red">painfully full</span> for you.`);
healthDamage(slave, 10);
} else if (slave.inflation === 2) {
r.push(`${his} gut is filled with nearly four liters of slave food, giving ${him} quite the food baby. ${He} is full enough to be distended but not enough to grow taut.`);
} else if (slave.inflation === 1) {
r.push(`${he}'s consumed nearly two liters of slave food, leaving ${his} belly noticeably distended. ${He} is full enough to be swollen but not enough to visibly jiggle.`);
}
}
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function mentalEffects(slave) {
if (slave.fetish === "cumslut" && slave.inflationType === "cum" && slave.bellyFluid >= 1500) {
r.push(`Being so full of cum fills ${him} with <span class="hotpink">absolute bliss.</span>`);
slave.devotion += 5;
} else if (slave.fetish === "masochist" && slave.bellyFluid >= 10000) {
r.push(`That pain comes with <span class="hotpink">absolute bliss</span> as ${he} relishes the unique sensation.`);
slave.devotion += 5;
}
if (slave.behavioralQuirk === "fitness") {
if ((slave.inflationType === "milk" || slave.inflationType === "cum" || slave.inflationType === "food") && slave.inflation > 0) {
r.push(`${He} vows to exercise more to deal with <span class="mediumorchid">the bloated belly you forced on ${him}.</span> Though gaining weight just means more opportunities to work out.`);
slave.devotion -= 3;
}
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function foodMeansFat(slave) {
if (slave.inflationType === "milk") {
if (slave.weight < 200) {
r.push(`${His} body <span class="lime">grows a little more padded</span> as it absorbs the milk contained in ${his} digestive track.`);
slave.weight += 2;
if (slave.weightDirection === 1) {
slave.weight += 2;
}
}
if (jsRandom(1, 100) > 50 / gigantomastiaMod && slave.boobs < 3000 * gigantomastiaMod) {
r.push(`${His} breasts <span class="lime">swell</span> with added fat as ${he} digests the milk contained in ${his} digestive track.`);
slave.boobs += 200;
}
if (jsRandom(1, 100) > (50 / rearLipedemaDivider) && slave.butt < 7 + ((7 / 2) * rearLipedemaMod)) {
r.push(`${His} butt <span class="lime">swells</span> with added fat as ${he} digests the milk contained in ${his} digestive track.`);
slave.butt += 1;
}
} else if (slave.inflationType === "food") {
if (slave.weight < 200) {
r.push(`${His} body <span class="lime">rapidly gains weight</span> as it digests the food contained in ${his} digestive track.`);
slave.weight += 4;
if (slave.weightDirection === 1) {
slave.weight += 2;
}
}
if (jsRandom(1, 100) > 50 / gigantomastiaMod && slave.boobs < 3000 * gigantomastiaMod) {
r.push(`${His} breasts <span class="lime">swell</span> with added fat as ${he} digests the food contained in ${his} digestive track.`);
slave.boobs += 200;
}
if (jsRandom(1, 100) > (50 / rearLipedemaDivider) && slave.butt < 7 + ((7 / 2) * rearLipedemaMod)) {
r.push(`${His} butt <span class="lime">swells</span> with added fat as ${he} digests the food contained in ${his} digestive track.`);
slave.butt += 1;
}
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function cervixImplantFluidConversion(slave) {
if (slave.inflationMethod === 2) {
r.push(`${His} rectal micropump implant filters out some fluid from the ${slave.inflationType} within ${him} during the week, adding it to ${his} abdominal implant.`);
slave.bellyImplant += 200;
}
}
})();
|
MonsterMate/fc
|
src/endWeek/saInflation.js
|
JavaScript
|
mit
| 32,461
|
App.SlaveAssignment.longTermEffects = (function() {
"use strict";
let r;
// eslint-disable-next-line no-unused-vars
let he, him, his, hers, himself, girl, loli, He, His, wife;
let gigantomastiaMod;
let rearQuirk;
let uterineHypersensitivityMod;
let effect;
return saLongTermEffects;
/**
* @param {App.Entity.SlaveState} slave
* @returns {DocumentFragment}
*/
function saLongTermEffects(slave) {
r = [];
gigantomastiaMod = slave.geneticQuirks.gigantomastia === 2 ? (slave.geneticQuirks.macromastia === 2 ? 3 : 2) : 1;
rearQuirk = slave.geneticQuirks.rearLipedema === 2 ? 2 : 0;
uterineHypersensitivityMod = slave.geneticQuirks.uterineHypersensitivity === 2 ? 2 : 1;
const oldEnergy = slave.energy;
({
// eslint-disable-next-line no-unused-vars
he, him, his, hers, himself, girl, He, His, loli, wife
} = getPronouns(slave));
if (slave.fuckdoll > 0) {
fuckdollConversion(slave);
}
if (assignmentVisible(slave) && (slave.assignment !== "live with your Head Girl" || V.HGSuiteSurgery === 0)) {
if (hasSurgeryRule(slave, V.defaultRules) && slave.useRulesAssistant === 1 && slave.indentureRestrictions < 2 && V.cash > 0) {
r.push(rulesAutosurgery(slave));
}
}
r.push(App.SlaveAssignment.clothes(slave));
r.push(App.SlaveAssignment.longTermMentalEffects(slave));
piercingEffects(slave);
if (slave.lactation >= 2 || (slave.lactation > 0 && slave.lactationAdaptation >= 100)) {
heavyLactationEffects(slave);
}
implantEffects(slave);
if (slave.diet === "muscle building") { // Why is this here? Probably something to do with hormones.
muscleBuildingEffects(slave);
}
if (slave.aphrodisiacs > random(0, 2)) {
aphrodisiacEffects(slave);
}
hormoneBalance(slave); // includes App.SlaveAssignment.hormonesEffects()
if (slave.pubertyXX === 0 || slave.pubertyXY === 0) {
puberty(slave);
}
r.push(App.SlaveAssignment.pregnancy(slave));
if (slave.bellyFluid >= 1500) {
r.push(App.SlaveAssignment.inflation(slave));
inflationEffects(slave);
}
bellySagging(slave);
bellyImplantStuff(slave);
if (slave.fetish !== "mindbroken") {
mindbreak(slave);
if (slave.fuckdoll === 0) {
mentalTension(slave);
if (!canTalk(slave)) {
noTalkingFixesFlaws(slave);
}
if (slave.breedingMark === 1 && V.propOutcome === 1) {
breedingMark(slave);
}
solidSlaveFoodEffects(slave);
}
}
r.push(App.SlaveAssignment.saSocialEffects(slave));
if (slave.fuckdoll === 0) { // swap to fuckdoll suit in the future
brandEffects(slave);
if (slave.fetish !== "mindbroken") {
disabilityEffects(slave);
}
}
r.push(App.SlaveAssignment.longTermPhysicalEffects(slave));
anaphrodisiacEffects(slave, oldEnergy); // must come after all .energy gains!
if (slave.accent > 0 && slave.fetish !== "mindbroken") {
languageLearning(slave);
}
if (slave.prestige > 0) {
prestige(slave);
}
pornEffects(slave);
ageAndExpiration(slave);
if (V.arcologies[0].FSRestart !== "unset") {
pregnancyCheck(slave);
}
if (slave.preg > slave.pregData.normalBirth / 8) {
mainLaborTriggers(slave);
}
endWeekHealthDamage(slave); // contained in healthFunctions.js
slaveDeath(slave);
if ((slave.hStyle !== "shaved" && slave.hStyle !== "buzzcut" && slave.hStyle !== "trimmed") && slave.bald !== 1 && slave.haircuts === 0) {
hairGrowth(slave);
}
const frag = document.createDocumentFragment();
$(frag).append(...App.Events.spaceSentences(r));
return frag;
}
/**
* Calculate current total base of the slave's boobs, since it'll be changing throughout the passage
* @param {App.Entity.SlaveState} slave
*
*/
function boobSize(slave) {
return slave.boobs - slave.boobsImplant - slave.boobsMilk;
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function fuckdollConversion(slave) {
if (slave.fuckdoll >= 100) {
r.push(`${He} is perfectly adapted to life in a Fuckdoll suit.`);
} else {
if (slave.fuckdoll <= 5) {
r.push(`This is ${his} first week as a living sex toy. ${He} is <span class="devotion dec">utterly terrified</span> by the prospect of spending the rest of ${his} life like this. ${He} is <span class="fuckdoll">forced to adapt</span> to life as a Fuckdoll. ${He} must remain still, and do ${his} best to cooperate with anyone who guides ${him} by touch. When ${he} obeys commands relayed by ${his} suit, ${he} is rewarded with orgasms; when ${he} does not, ${he} is punished with pain.`);
slave.trust -= 10;
if (slave.skill.entertainment > 50) {
r.push(`${He} <span class="stat drop">begins to forget ${his} entertainment skills</span> under the terrible stress of total confinement.`);
slave.skill.entertainment = 50;
}
} else if (slave.fuckdoll <= 15) {
r.push(`This is ${his} second week as a living sex toy. ${His} suit continues ${his} training as a living sex toy, <span class="fuckdoll">forcing ${him} to accept any treatment</span> ${he} is subjected to. Though the suit is capable of resisting unacceptable movement to a degree, and it includes integral shackles to secure the toy in any position desired, the Fuckdoll is now severely punished if ${he} attempts any resistance at all.`);
if (slave.skill.whoring > 50) {
r.push(`${He} <span class="stat drop">loses ${his} refined courtesanship,</span> since all ${he} has to remember now is how to be used.`);
slave.skill.whoring = 50;
}
} else if (slave.fuckdoll <= 25) {
r.push(`This week ${he} <span class="fuckdoll">learns the most basic commands</span> ${his} suit can pass, those for simple postures.`);
if (isAmputee(slave)) {
r.push(`These are very simple, since ${he} lacks limbs.`);
} else {
r.push(`One command directs ${him} to remain standing, but cock ${his} hips to offer ${his} rear hole. Another requires ${him} to get instantly down`);
if (hasAllLimbs(slave)) {
r.push(`on all fours`);
} else {
r.push(`to the floor`);
}
r.push(`and arch ${his} back, offering both ${his} face hole and`);
if (slave.vagina > -1) {
r.push(`lower holes.`);
} else {
r.push(`rear hole.`);
}
}
if (slave.behavioralQuirk !== "none") {
r.push(`With no stimulation other than use, ${he} <span class="stat drop">quickly forgets what used to make ${his} behavior special.</span>`);
slave.behavioralQuirk = "none";
}
if (slave.career !== "a Fuckdoll") {
r.push(`${His} procedural memory has largely been overwritten by tonal commands; <span class="noteworthy">${his} only meaningful career experience is now the profession of a living sex toy.</span>`);
slave.career = "a Fuckdoll";
}
} else if (slave.fuckdoll <= 35) {
r.push(`This week ${he} <span class="fuckdoll">learns more advanced posture commands.</span>`);
if (!hasAnyLegs(slave)) {
r.push(`These remain quite simple, since ${he} lacks`);
if (isAmputee(slave)) {
r.push(`limbs.`);
} else {
r.push(`legs.`);
}
} else {
r.push(`${He} practices balance in the heels integral to the suit, and learns to stand and bend at the waist, all the way down, while keeping ${his} legs straight, putting ${his} face hole and ${his}`);
if (slave.vagina > -1) {
r.push(`lower holes`);
} else {
r.push(`rear hole`);
}
r.push(`at convenient waist height.`);
}
if (slave.sexualQuirk !== "none") {
r.push(`${His} sex life now consists of things that enter ${his} holes. ${He} learns to desire any use at all, since nothing else interrupts the infinite boredom. ${He} <span class="red">quickly forgets what used to make ${his} sexual tendencies distinctive.</span>`);
slave.sexualQuirk = "none";
}
} else if (slave.fuckdoll <= 45) {
r.push(`This week ${he} <span class="fuckdoll">learns basic sexual commands</span> from ${his} suit. Usually, if something is inserted into ${his}`);
if (slave.vagina > -1) {
r.push(`holes,`);
} else {
r.push(`lower hole,`);
}
r.push(`${he} is to relax. If a specific command is given, ${he} is taught to rhythmically tighten`);
if (slave.vagina > -1) {
r.push(`${his} holes,`);
} else {
r.push(`the hole,`);
}
r.push(`massaging whatever's inside.`);
if (slave.skill.vaginal > 25) {
r.push(`Being trained in this uncomplicated act <span class="stat drop">quickly teaches ${him} to ignore ${his} vaginal talents.</span>`);
slave.skill.vaginal = 25;
}
if (slave.skill.anal > 25) {
r.push(`${He}'s forced to use ${his} sphincter as hard as ${he} can, and ${he} <span class="stat drop">quickly forgets all anal refinement.</span>`);
slave.skill.anal = 25;
}
} else if (slave.fuckdoll <= 55) {
r.push(`This week ${he} <span class="fuckdoll">learns more basic sexual commands</span> from ${his} suit. Usually, if something is inserted into ${his} throat, ${he} is to relax and accept a facefucking. If a specific command is given, ${he} is taught to suck as powerfully as ${he} can, on pain of punishment.`);
if (slave.skill.oral > 25) {
r.push(`Being trained to suck so hard <span class="stat drop">quickly erases ${his} finer oral habits.</span>`);
slave.skill.oral = 25;
}
if (slave.behavioralFlaw !== "none") {
r.push(`${He} has now been obeying ${his} suit out of a desire to avoid punishment for so long that <span class="flaw break">${he} loses any propensity to misbehave in distinctive ways.</span>`);
slave.behavioralFlaw = "none";
}
} else if (slave.fuckdoll <= 65) {
r.push(`This week ${he} <span class="fuckdoll">receives training for finer arousal control</span> from ${his} suit. ${He} can now be warmed up before use, to make ${him} as desperate as possible; or ${he} can be warmed up and left to suffer.`);
if (slave.fetishStrength > 50) {
r.push(`${He}'s now so desperate for any stimulation that ${he} <span class="fetish loss">begins to forget what once aroused ${him}.</span> ${He} now wants whatever ${he} can get.`);
slave.fetishStrength = 50;
}
if (slave.sexualFlaw !== "none") {
r.push(`${He}'s trained to perform thorough mechanical obedience, <span class="flaw break">utterly destroying ${his} sexual deficiencies.</span>`);
slave.sexualFlaw = "none";
}
} else if (slave.fuckdoll <= 75) {
r.push(`This week ${he} <span class="fuckdoll">begins to learn more advanced commands</span> from ${his} suit. ${He} is taught a command that instructs ${him} to take a more active role in penetrative sex. When that command is given, ${he} must fuck ${himself} against any`);
if (V.PC.dick !== 0) {
r.push(`cocks`);
} else {
r.push(`phalli`);
}
r.push(`that are currently inside ${him}, as hard as ${he} possibly can.`);
if (slave.fetish !== "none" && slave.fetish !== "mindbroken") {
r.push(`${He} <span class="fetish loss">no longer retains any sexual preferences</span> at all. ${He} just wants to be penetrated.`);
slave.fetish = "none";
slave.fetishStrength = 0;
}
if (slave.intelligence + slave.intelligenceImplant > 50) {
r.push(`${He} was once highly intelligent, but total concentration of all ${his} mental abilities on simple tonal commands <span class="stat drop">dulls ${his} intelligence.</span>`);
slave.intelligence -= 30;
}
} else if (slave.fuckdoll <= 85) {
r.push(`This week ${he} <span class="fuckdoll">learns some more advanced commands</span> from ${his} suit.`);
if (isAmputee(slave)) {
r.push(`If ${his} limbless torso is placed atop a dick and a command is given, ${he} is to do ${his} best to bounce on it.`);
} else {
r.push(`${He} learns a special command, on which ${he} is to slowly squat down, impaling ${himself} on any phallus beneath ${him}. Once ${his} hole is filled, ${he} is to bounce up and down, using ${his} hole to milk the phallus.`);
}
if (slave.skill.entertainment > 15) {
r.push(`There is <span class="stat drop">no entertainment and no elegance</span> for ${him} anymore. ${He} cannot even hear the lewd noises ${his} holes make.`);
slave.skill.entertainment = 15;
}
if (slave.skill.whoring > 15) {
r.push(`${He} <span class="stat drop">cannot remember prostitution</span> at all. ${He} can barely remember anything but being fucked.`);
slave.skill.whoring = 15;
}
if (slave.intelligence + slave.intelligenceImplant > 15) {
r.push(`${His} <span class="stat drop">mind steadily degrades</span> under the stress of this treatment.`);
slave.intelligence -= 40;
}
if (slave.intelligenceImplant !== 0) {
r.push(`An education holds no bearing for ${his} new skillset, so it <span class="stat drop">wastes away.</span>`);
slave.intelligenceImplant = 0;
}
} else if (slave.fuckdoll <= 95) {
r.push(`This week ${he} <span class="fuckdoll">begins ${his} final adaptation</span> into a perfect living sex toy. ${His} suit starts to actively punish any detectable mental activity when ${him} is not obeying commands or being used.`);
if (slave.intelligence > -50) {
r.push(`${He} was once reasonably intelligent, but the incredible stress of this treatment <span class="stat drop">suppresses ${his} ability to think coherently.</span>`);
slave.intelligence = -50;
}
}
slave.fuckdoll = Math.clamp(slave.fuckdoll + 10, 0, 100);
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function piercingEffects(slave) {
let masochistic = 0;
if (slave.vaginaPiercing > 1) {
if (slave.vagina > -1 && slave.labia < 2 && random(1, 100) > 90) {
r.push(`The weight of ${his} labial piercings <span class="change positive">stretches out ${his} pussylips a bit.</span>`);
slave.labia += 1;
}
}
if (slave.nipplesPiercing === 1) {
if (slave.nipples === "tiny") {
if (random(1, 100) > 95) {
r.push(`${His} piercings keep ${his} nipples half-hard all the time, and <span class="change positive">${his} nipples have stretched out a bit.</span>`);
slave.nipples = "cute";
}
} else if (slave.nipples === "partially inverted") {
if (random(1, 100) > 70) {
r.push(`${His} piercings keep ${his} nipples half-hard all the time, which <span class="change positive">permanently protrudes them.</span>`);
if (random(1, 2) === 1) {
r.push(`It turns out they're pretty cute.`);
slave.nipples = "cute";
} else {
r.push(`It turns out they're nice and puffy.`);
slave.nipples = "puffy";
}
masochistic = 1;
} else {
r.push(`Having ${his} nipples held protruded by ${his} piercings is uncomfortable, which ${he}`);
masochistic = 2;
}
} else if (slave.nipples === "inverted") {
if (random(1, 100) > 90) {
r.push(`${His} piercings keep ${his} nipples half-hard all the time, which eventually <span class="change positive">permanently protrudes them.</span>`);
if (random(1, 2) === 1) {
r.push(`It turns out they're absolutely massive.`);
slave.nipples = "huge";
} else {
r.push(`It turns out they're nice and puffy.`);
slave.nipples = "puffy";
}
masochistic = 1;
} else {
r.push(`Having ${his} nipples held protruded by ${his} piercings is very uncomfortable, which ${he}`);
masochistic = 2;
}
}
} else if (slave.nipplesPiercing === 2) {
if (slave.nipples === "tiny") {
if (random(1, 100) > 80) {
r.push(`${He}'s got so much metal in ${his} nipples that the weight <span class="change positive">stretches and lengthens them.</span>`);
slave.nipples = "cute";
}
} else if (slave.nipples === "partially inverted") {
if (random(1, 100) > 50) {
r.push(`${He}'s got so much metal in ${his} nipples that the weight <span class="change positive">permanently protrudes them.</span>`);
if (random(1, 2) === 1) {
r.push(`It turns out they're pretty cute.`);
slave.nipples = "cute";
} else {
r.push(`It turns out they're nice and puffy.`);
slave.nipples = "puffy";
}
masochistic = 1;
} else {
r.push(`Having ${his} nipples held protruded by ${his} piercings is uncomfortable, which ${his}`);
masochistic = 2;
}
} else if (slave.nipples === "inverted") {
if (random(1, 100) > 70) {
r.push(`${He}'s got so much metal in ${his} nipples that the weight <span class="change positive">permanently protrudes them.</span>`);
if (random(1, 2) === 1) {
r.push(`It turns out they're absolutely massive.`);
slave.nipples = "huge";
} else {
r.push(`It turns out they're nice and puffy.`);
slave.nipples = "puffy";
}
masochistic = 1;
} else {
r.push(`Having ${his} nipples held protruded by ${his} piercings is extremely uncomfortable, which ${he}`);
masochistic = 2;
}
}
if (masochistic === 1) {
if (slave.fetish === "masochist" && slave.fetishKnown === 1) {
r.push(`This is <span class="devotion inc">a long and extremely uncomfortable experience, which ${he} gets off on.</span>`);
slave.devotion += 4;
} else {
r.push(`This is <span class="devotion dec">a long and extremely uncomfortable experience.</span>`);
slave.devotion -= 4;
}
} else if (masochistic === 2) {
if (slave.fetish === "masochist" && slave.fetishKnown === 1) {
r.push(`<span class="devotion inc">gets off on.</span>`);
slave.devotion += 2;
} else {
r.push(`<span class="devotion dec">hates.</span>`);
slave.devotion -= 2;
}
}
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function heavyLactationEffects(slave) {
if (slave.nipples !== "huge" && slave.nipples !== "fuckable") {
if (slave.nipples === "tiny") {
if (random(1, 100) > 70) {
r.push(`Having ${his} heavy milk production forced through ${his} tiny nipples <span class="change positive">stretches and engorges them.</span>`);
slave.nipples = "cute";
}
} else if (slave.nipples === "cute" || slave.nipples === "inverted") {
if (random(1, 100) > 80) {
r.push(`${He}'s lactating so heavily that ${his} permanently swollen nipples gradually become accustomed to the constant flow of milk. They <span class="change positive">become puffy</span> and engorged.`);
slave.nipples = "puffy";
}
} else if (slave.nipples === "partially inverted" || slave.nipples === "inverted") {
if (random(1, 100) > 80) {
r.push(`${He}'s lactating so heavily that ${his} swollen nipples almost never retreat into their inverted state. Lactation has <span class="change positive">permanently protruded them,</span> leaving them engorged and puffy.`);
slave.nipples = "puffy";
}
} else {
if (random(1, 100) > 90) {
r.push(`Lactation has <span class="change positive">swollen ${his} nipples</span> to an absurd size, making ${his} status as a cow obvious even when ${his} chest faucets aren't gushing cream.`);
slave.nipples = "huge";
}
}
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function implantEffects(slave) {
let implantsSwellBoobs = 0;
if (slave.boobsImplantType === "string") {
r.push(`${His} string implants absorb fluid, <span class="change positive">slowly swelling ${his} breasts.</span>`);
slave.boobsImplant += 50;
slave.boobs += 50;
effect = random(1, 10);
if (slave.boobs > 50000) {
r.push(`Since they are as large as ${his} body can handle, some serum is drained from them.`);
slave.boobs -= 100;
slave.boobsImplant -= 100;
} else if (slave.boobsImplant > 25000 && effect >= 2) {
r.push(`As they grow they <span class="health dec">greatly irritate</span> the tissue of ${his} breasts.`);
healthDamage(slave, 20);
} else if (slave.boobsImplant > 15000 && effect >= 3) {
r.push(`As they grow they <span class="health dec">irritate</span> the tissue of ${his} breasts.`);
healthDamage(slave, 10);
} else if (slave.boobsImplant > 10000 && effect >= 4) {
r.push(`As they grow they <span class="health dec">irritate</span> the tissue of ${his} breasts.`);
healthDamage(slave, 10);
} else if (slave.boobsImplant > 8000 && effect >= 5) {
r.push(`As they grow they <span class="health dec">irritate</span> the tissue of ${his} breasts.`);
healthDamage(slave, 10);
} else if (slave.boobsImplant > 6000 && effect >= 6) {
r.push(`As they grow they <span class="health dec">irritate</span> the tissue of ${his} breasts.`);
healthDamage(slave, 10);
} else if (slave.boobsImplant > 4500 && effect >= 7) {
r.push(`As they grow they <span class="health dec">irritate</span> the tissue of ${his} breasts.`);
healthDamage(slave, 10);
} else if (slave.boobsImplant > 3000 && effect >= 8) {
r.push(`As they grow they <span class="health dec">irritate</span> the tissue of ${his} breasts.`);
healthDamage(slave, 7);
} else if (slave.boobsImplant > 2000 && effect >= 9) {
r.push(`As they grow they <span class="health dec">irritate</span> the tissue of ${his} breasts.`);
healthDamage(slave, 5);
} else if (slave.boobsImplant > 1000 && effect > 9) {
r.push(`As they grow they <span class="health dec">irritate</span> the tissue of ${his} breasts.`);
healthDamage(slave, 3);
}
}
if (slave.boobsImplant >= slave.boobs + slave.boobsMilk && slave.boobsImplant > 0) {
/* catch in case breast implants get larger than boobs */
r.push(`${His} breast tissue has naturally <span class="change positive">stretched and grown</span> to accommodate ${his} implants better.`);
slave.boobs = slave.boobsImplant + slave.boobsMilk + 10;
} else if (slave.boobsImplant > 1000) {
if (slave.boobs - slave.boobsImplant < 1000) {
if (random(1, 100) > 60) {
implantsSwellBoobs = 1;
}
}
} else if (slave.boobsImplant > 600) {
if (slave.boobs - slave.boobsImplant < 500) {
if (random(1, 100) > 60) {
implantsSwellBoobs = 1;
}
}
} else if (slave.boobsImplant > 0) {
if (slave.boobs - slave.boobsImplant < 300) {
if (random(1, 100) > 60) {
implantsSwellBoobs = 1;
}
}
}
if (implantsSwellBoobs === 1) {
r.push(`${His} breast tissue has naturally <span class="change positive">stretched and grown</span> to accommodate ${his} implants a bit better.`);
slave.boobs += 50;
}
if (slave.buttImplantType === "string") {
r.push(`${His} string implants absorb fluid <span class="change positive">slowly swelling ${his} ass.</span>`);
slave.buttImplant += .25;
slave.butt += .25;
if (slave.butt + slave.buttImplant > 10 && slave.buttImplant > 1) {
r.push(`Since they as large as ${his} body can handle, some serum is drained from them.`);
slave.butt -= 1;
slave.buttImplant -= 1;
}
effect = random(1, 8);
if (slave.buttImplant > 7 && effect >= 2) {
r.push(`As they grow they <span class="health dec">greatly irritate</span> the tissue of ${his} cheeks.`);
healthDamage(slave, 20);
} else if (slave.buttImplant > 6 && effect >= 2) {
r.push(`As they grow they <span class="health dec">greatly irritate</span> the tissue of ${his} cheeks.`);
healthDamage(slave, 20);
} else if (slave.buttImplant > 5 && effect >= 3) {
r.push(`As they grow they <span class="health dec">irritate</span> the tissue of ${his} cheeks.`);
healthDamage(slave, 10);
} else if (slave.buttImplant > 4 && effect >= 4) {
r.push(`As they grow they <span class="health dec">irritate</span> the tissue of ${his} cheeks.`);
healthDamage(slave, 10);
} else if (slave.buttImplant > 3 && effect >= 5) {
r.push(`As they grow they <span class="health dec">irritate</span> the tissue of ${his} cheeks.`);
healthDamage(slave, 5);
} else if (slave.buttImplant > 2 && effect >= 6) {
r.push(`As they grow they <span class="health dec">irritate</span> the tissue of ${his} cheeks.`);
healthDamage(slave, 5);
} else if (slave.buttImplant > 1 && effect >= 7) {
r.push(`As they grow they <span class="health dec">irritate</span> the tissue of ${his} cheeks.`);
healthDamage(slave, 3);
} else if (slave.buttImplant > 0 && effect > 7) {
r.push(`As they grow they <span class="health dec">irritate</span> the tissue of ${his} cheeks.`);
healthDamage(slave, 3);
}
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function muscleBuildingEffects(slave) {
if (slave.muscles > 30) {
if (slave.face - slave.faceImplant > 10 && random(1, 100) > 90 && slave.drugs === "steroids") {
r.push(`All the hormones in ${his} system from ${his} heavy, steroid enhanced workouts <span class="change negative">harden ${his} face a little.</span>`);
slave.face -= 5;
}
if (boobSize(slave) > 250) {
if (random(1, 100) > 95) {
r.push(`All the hormones in ${his} system from ${his} heavy workouts <span class="change negative">shrink ${his} breasts slightly.</span>`);
slave.boobs -= 50;
}
}
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function aphrodisiacEffects(slave) {
let Effects = [];
if (V.aphrodisiacUpgradeRefine !== 1) {
if (slave.dick > 1 && slave.geneticQuirks.wellHung !== 2) {
Effects.push("DickShrink");
}
if (slave.balls > 1) {
Effects.push("BallsShrink");
}
if (slave.clit > 0 && slave.geneticQuirks.wellHung !== 2) {
Effects.push("ClitSmaller");
}
if (slave.voice < 3 && slave.voice > 0) {
Effects.push("VoiceHigher");
}
if (slave.vagina > -1 && slave.ovaries !== 0 && slave.vaginaLube < 2) {
Effects.push("VaginaWetter");
}
let rearQuirkDivider = rearQuirk === 0 ? 1 : rearQuirk;
if (((slave.butt - slave.buttImplant) < 2 + rearQuirk) && (slave.geneMods.NCS === 0 || (random(1, 100) > 75 / rearQuirkDivider))) {
Effects.push("ButtBigger");
}
if ((boobSize(slave) < 500 * gigantomastiaMod) && ((slave.geneMods.NCS === 0) || (random(1, 100) > 75 / gigantomastiaMod))) {
Effects.push("BoobsBigger");
}
if (slave.face - slave.faceImplant <= 10) {
Effects.push("FaceSofter");
}
if (slave.faceShape === "masculine") {
Effects.push("FaceSofterAndrogynous");
} else if (slave.faceShape === "androgynous" && slave.geneticQuirks.androgyny !== 2) {
Effects.push("FaceNormal");
}
}
if (slave.devotion <= 20) {
Effects.push("Devoted");
}
if (slave.trust <= 20) {
Effects.push("Trusting");
}
if (slave.attrXY < 95) {
Effects.push("MaleAttracted");
}
if (slave.attrXY < 95) {
Effects.push("FemaleAttracted");
}
if (slave.geneticQuirks.galactorrhea === 2 && random(1, 100) < slave.hormoneBalance && slave.lactation === 0) {
App.EndWeek.saVars.inappropriateLactation = 1;
}
if (Effects.length > 0) {
switch (Effects.random()) {
case "DickShrink":
if (slave.geneMods.NCS === 1 && slave.dick > 2 && random(1, 100) > 25) {
r.push(`Dependence on the hormone-based aphrodisiacs combined with ${his} <span class="ncs">NCS</span> makes <span class="change negative">${his} dick shrink down to be more childlike.</span>`);
slave.dick -= 1;
} else {
r.push(`Dependence on the hormone-based aphrodisiacs makes <span class="change negative">${his} dick atrophy.</span>`);
}
slave.dick -= 1;
break;
case "BallsShrink":
if (slave.geneMods.NCS === 1 && slave.balls > 2 && random(1, 100) > 25) {
r.push(`Dependence on the hormone-based aphrodisiacs combined with ${his} <span class="ncs">NCS</span> makes <span class="change negative">${his} balls shrink down to be more childlike.</span>`);
slave.balls -= 1;
} else {
r.push(`Dependence on the hormone-based aphrodisiacs makes <span class="change negative">${his} testicles atrophy.</span>`);
}
slave.balls -= 1;
break;
case "VoiceHigher":
r.push(`Dependence on the hormone-based aphrodisiacs makes <span class="change positive">${his} voice higher and more feminine.</span>`);
slave.voice += 1;
break;
case "VaginaWetter":
r.push(`Dependence on the hormone-based aphrodisiacs makes <span class="change positive">${his} vagina produce more copious natural lubricant.</span>`);
slave.vaginaLube += 1;
break;
case "ButtBigger":
r.push(`Dependence on the hormone-based aphrodisiacs makes <span class="change positive">the natural size of ${his} butt increase.</span>`);
slave.butt += 1;
break;
case "BoobsBigger":
r.push(`Dependence on the hormone-based aphrodisiacs makes <span class="change positive">the natural size of ${his} tits increase.</span>`);
slave.boobs += 100;
break;
case "FaceSofter":
r.push(`Dependence on the hormone-based aphrodisiacs makes <span class="change positive">${his} facial structure soften and become sexier.</span>`);
r.push(faceIncrease(slave, 10));
break;
case "FaceSofterAndrogynous":
r.push(`Dependence on the hormone-based aphrodisiacs makes <span class="change positive">${his} face soften into androgyny.</span>`);
slave.faceShape = "androgynous";
break;
case "FaceNormal":
r.push(`Dependence on the hormone-based aphrodisiacs makes <span class="change positive">${his} face soften into femininity.</span>`);
slave.faceShape = "normal";
break;
case "ClitSmaller":
if (slave.geneMods.NCS === 1 && slave.clit > 1 && random(1, 100) > 50) {
r.push(`Dependence on the hormone-based aphrodisiacs combined with ${his} <span class="ncs">NCS</span> makes <span class="change negative">${his} clit shrink down to be more childlike.</span>`);
slave.clit -= 1;
} else {
r.push(`Dependence on the hormone-based aphrodisiacs makes <span class="change negative">${his} clit shrink significantly.</span>`);
}
slave.clit -= 1;
break;
case "Devoted":
r.push(`Hormonal effects make ${him} a bit more <span class="devotion inc">docile.</span>`);
slave.devotion += 1;
break;
case "Trusting":
r.push(`Hormonal effects make ${him} a bit more <span class="trust inc">trusting.</span>`);
slave.trust += 1;
break;
case "MaleAttracted":
r.push(`Dependence on the hormone-based aphrodisiacs makes ${him} become <span class="improvement">more attracted to men.</span>`);
slave.attrXY += 3;
break;
case "FemaleAttracted":
r.push(`Dependence on the hormone-based aphrodisiacs makes ${him} become <span class="improvement">more attracted to women.</span>`);
slave.attrXX += 3;
break;
default:
r.push(`ERROR: bad aphro addict effect: ${Effects}`);
}
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function hormoneBalance(slave) {
if (slave.diet === "XX") {
slave.hormoneBalance += 4;
} else if (slave.diet === "XXY") {
if (slave.hormoneBalance > 0) {
slave.hormoneBalance -= 8;
} else if (slave.hormoneBalance < 0) {
slave.hormoneBalance += 8;
}
} else if (slave.diet === "XY") {
slave.hormoneBalance -= 4;
}
if (slave.drugs === "fertility drugs") {
slave.hormoneBalance += 4;
} else if (slave.drugs === "female hormone injections") {
slave.hormoneBalance += 20;
} else if (slave.drugs === "male hormone injections") {
slave.hormoneBalance -= 20;
} else if (slave.drugs === "testicle enhancement") {
slave.hormoneBalance -= 4;
} else if (slave.drugs === "steroids") {
slave.hormoneBalance -= 4;
} else if (slave.drugs === "super fertility drugs") {
slave.hormoneBalance += 8;
} else if (slave.drugs === "hyper testicle enhancement") {
slave.hormoneBalance -= 12;
}
if (slave.hormones === 1) {
slave.hormoneBalance += 4;
} else if (slave.hormones === 2) {
slave.hormoneBalance += 12;
} else if (slave.hormones === -1) {
slave.hormoneBalance -= 4;
} else if (slave.hormones === -2) {
slave.hormoneBalance -= 12;
}
if (V.hormoneUpgradePower === 1) {
if (slave.hormones === 1) {
slave.hormoneBalance += 2;
} else if (slave.hormones === 2) {
slave.hormoneBalance += 6;
} else if (slave.hormones === -1) {
slave.hormoneBalance -= 2;
} else if (slave.hormones === -2) {
slave.hormoneBalance -= 6;
}
}
if (slave.drugs === "hormone enhancers") {
if (slave.hormones === 1) {
slave.hormoneBalance += 4;
} else if (slave.hormones === 2) {
slave.hormoneBalance += 12;
} else if (slave.hormones === -1) {
slave.hormoneBalance -= 4;
} else if (slave.hormones === -2) {
slave.hormoneBalance -= 12;
}
if (V.hormoneUpgradePower === 1) {
if (slave.hormones === 1) {
slave.hormoneBalance += 1;
} else if (slave.hormones === 2) {
slave.hormoneBalance += 3;
} else if (slave.hormones === -1) {
slave.hormoneBalance -= 1;
} else if (slave.hormones === -2) {
slave.hormoneBalance -= 3;
}
}
}
/* NCS helps primary sexual maturity */
if (slave.geneMods.NCS === 0) {
slave.hormoneBalance = Math.clamp(slave.hormoneBalance, -400, 400);
} else {
slave.hormoneBalance = Math.clamp(slave.hormoneBalance * 1.5, -400, 400);
}
/* androgyny really wants to sit around 0 and will fight changes to do so */
if (slave.geneticQuirks.androgyny === 2) {
if (slave.hormoneBalance > 6) {
slave.hormoneBalance -= 10;
} else if (slave.hormoneBalance < -6) {
slave.hormoneBalance += 10;
}
}
let supp = 0;
if (slave.drugs !== "hormone blockers") {
r.push(App.SlaveAssignment.hormonesEffects(slave));
} else if (slave.drugs === "hormone blockers") {
r.push(`The hormone blockers ${he} is on suppress ${his} hormones, natural or not.`);
if (slave.energy > 20) {
r.push(`${His} libido is similarly`);
supp = 1;
slave.energy--;
}
if (supp === 1) {
if ((slave.attrXX !== 50 || slave.attrXY !== 50) && slave.fuckdoll === 0 && slave.fetish !== "mindbroken") {
r.push(`<span class="stat drop">suppressed,</span> alongside what ${he} <span class="stat drop">finds sexually attractive.</span> Though that may not be a bad thing, should ${he} find a sex repulsive.`);
} else {
r.push(`<span class="stat drop">suppressed.</span>`);
}
} else if ((slave.attrXX !== 50 || slave.attrXY !== 50) && slave.fuckdoll === 0 && slave.fetish !== "mindbroken") {
r.push(`${His} <span class="stat drop">sexual tastes are also suppressed by the drugs,</span> though that may not be a bad thing should ${he} find a sex repulsive.`);
}
if (slave.attrXX > 50) {
slave.attrXX--;
} else if (slave.attrXX < 50) {
slave.attrXX++;
}
if (slave.attrXY > 50) {
slave.attrXY--;
} else if (slave.attrXY < 50) {
slave.attrXY++;
}
if (slave.hormoneBalance > 0) {
slave.hormoneBalance -= 5;
} else if (slave.hormoneBalance < 0) {
slave.hormoneBalance += 5;
}
}
if (slave.genes === "XX") {
if ((slave.ovaries === 1 || slave.mpreg === 1) && slave.pubertyXX > 0) {
if (slave.balls > 0 && slave.ballType !== "sterile" && slave.pubertyXY > 0) {
if (slave.hormoneBalance > 20) {
slave.hormoneBalance -= Math.ceil((slave.hormoneBalance - 20) / 25);
} else if (slave.hormoneBalance < 20) {
slave.hormoneBalance += Math.ceil((20 - slave.hormoneBalance) / 25);
}
} else {
if (slave.hormoneBalance > 60) {
slave.hormoneBalance -= Math.ceil((slave.hormoneBalance - 60) / 25);
} else if (slave.hormoneBalance < 60) {
slave.hormoneBalance += Math.ceil((60 - slave.hormoneBalance) / 25);
}
}
} else {
if (slave.balls > 0 && slave.ballType !== "sterile" && slave.pubertyXY > 0) {
if (slave.hormoneBalance > -20) {
slave.hormoneBalance -= Math.ceil((slave.hormoneBalance + 20) / 25);
} else if (slave.hormoneBalance < -20) {
slave.hormoneBalance += Math.ceil((-20 - slave.hormoneBalance) / 25);
}
} else {
if (slave.hormoneBalance > 20) {
slave.hormoneBalance -= Math.ceil((slave.hormoneBalance - 20) / 25);
} else if (slave.hormoneBalance < 20) {
slave.hormoneBalance += Math.ceil((20 - slave.hormoneBalance) / 25);
}
}
}
} else if (slave.genes === "XY") {
if ((slave.ovaries === 1 || slave.mpreg === 1) && slave.pubertyXX > 0) {
if (slave.balls > 0 && slave.ballType !== "sterile" && slave.pubertyXY > 0) {
if (slave.hormoneBalance > 20) {
slave.hormoneBalance -= Math.ceil((slave.hormoneBalance - 20) / 25);
} else if (slave.hormoneBalance < 20) {
slave.hormoneBalance += Math.ceil((20 - slave.hormoneBalance) / 25);
}
} else {
if (slave.hormoneBalance > 40) {
slave.hormoneBalance -= Math.ceil((slave.hormoneBalance - 40) / 25);
} else if (slave.hormoneBalance < 40) {
slave.hormoneBalance += Math.ceil((40 - slave.hormoneBalance) / 25);
}
}
} else {
if (slave.balls > 0 && slave.ballType !== "sterile" && slave.pubertyXY > 0) {
if (slave.hormoneBalance > -40) {
slave.hormoneBalance -= Math.ceil((slave.hormoneBalance + 40) / 25);
} else if (slave.hormoneBalance < -40) {
slave.hormoneBalance += Math.ceil((-40 - slave.hormoneBalance) / 25);
}
} else {
if (slave.hormoneBalance > 20) {
slave.hormoneBalance -= Math.ceil((slave.hormoneBalance - 20) / 25);
} else if (slave.hormoneBalance < 20) {
slave.hormoneBalance += Math.ceil((20 - slave.hormoneBalance) / 25);
}
}
}
}
if (slave.geneticQuirks.galactorrhea === 2 && random(1, 100) < slave.hormoneBalance && slave.lactation === 0) {
App.EndWeek.saVars.inappropriateLactation = 1;
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function puberty(slave) {
if (V.precociousPuberty === 1) {
let earlyPubertyFlag = 0;
let precocious = 0;
if (slave.physicalAge < slave.pubertyAgeXX && (slave.ovaries === 1 || slave.mpreg === 1) && slave.pubertyXX === 0) { // Female type
/* Just having NCS speeds precocious Puberty, but also hormonal puberty affects are
* increased while secondary growth is suppressed
*/
if (slave.geneMods.NCS === 1) {
precocious -= 0.8;
}
if (slave.diet === "XX" || slave.diet === "XXY") {
precocious -= 0.1;
} else if (slave.diet === "fertility") {
precocious -= 0.1;
}
if (slave.drugs === "fertility drugs") {
precocious -= 0.1;
} else if (slave.drugs === "female hormone injections") {
precocious -= 1;
} else if (slave.drugs === "male hormone injections") {
precocious += 1;
} else if (slave.drugs === "testicle enhancement") {
precocious += 0.1;
} else if (slave.drugs === "steroids") {
precocious += 0.2;
if (boobSize(slave) > 100 && random(1, 100) < 30 / gigantomastiaMod && gigantomastiaMod !== 3) {
if (slave.geneMods.NCS === 1 && boobSize(slave) > 300 && random(1, 100) > 25 * gigantomastiaMod) {
r.push(`Hormonal effects work with ${his} <span class="ncs">NCS</span> and cause <span class="change negative">${his} tits to shrink down.</span>`);
slave.boobs -= 50 / gigantomastiaMod;
slave.energy += 1;
} else {
r.push(`${He} feels an <span class="change negative">unusual calmness</span> in ${his} belly and breasts.`);
}
slave.boobs -= 50 / gigantomastiaMod;
}
if (slave.geneMods.NCS === 0) {
if (slave.clit < 2 && random(1, 100) < 10) {
r.push(`${He} feels <span class="change positive">unusual warmness</span> in ${his} clitoris.`);
slave.clit += 1;
}
}
} else if (slave.drugs === "super fertility drugs") {
precocious -= 0.5;
if (slave.geneMods.NCS === 0) {
r.push(`${He} feels an <span class="change positive">unusual warm feeling</span> in ${his} belly and breasts.`);
if (boobSize(slave) < 400 * gigantomastiaMod && random(1, 100) < 30) {
r.push(`${His} breasts feel <span class="change positive">heavy, hot and sensitive.</span>`);
slave.boobs += 50;
if (random(1, 100) < 10 && slave.breastMesh !== 1) {
slave.boobShape = "perky";
}
}
if (slave.hips < 2 && random(1, 100) < 10 * uterineHypersensitivityMod) {
r.push(`${He} feels <span class="change positive">strange minor pains</span> in ${his} pelvis.`);
slave.hips += 1;
}
if (slave.butt < 4 && random(1, 100) < 10 + (5 * rearQuirk)) {
r.push(`${He} feels a <span class="change positive">strange weight</span> on ${his} rear.`);
slave.butt += 1;
}
if (slave.labia < 2 && random(1, 100) < 10) {
r.push(`${He} feels an <span class="change positive">unusual tenderness</span> in ${his} labia.`);
slave.labia += 1;
}
}
} else if (slave.drugs === "hyper testicle enhancement") {
precocious += .5;
}
if (slave.hormones === 1) {
precocious -= 0.1;
} else if (slave.hormones === 2) {
precocious -= 0.2;
} else if (slave.hormones === -1) {
precocious += 0.2;
} else if (slave.hormones === -2) {
precocious += 0.4;
}
if (slave.drugs === "hormone enhancers") {
if (slave.hormones === 1) {
precocious -= 0.1;
} else if (slave.hormones === 2) {
precocious -= 0.2;
} else if (slave.hormones === -1) {
precocious += 0.1;
} else if (slave.hormones === -2) {
precocious += 0.2;
}
} else if (slave.drugs === "hormone blockers") {
precocious += 1;
}
if (slave.geneticQuirks.neoteny >= 2) {
precocious += 0.1;
}
if (slave.geneMods.NCS === 1) {
precocious *= 2;
}
if (slave.geneticQuirks.progeria === 2) {
precocious -= 10;
}
slave.pubertyAgeXX += precocious;
if (slave.physicalAge < slave.pubertyAgeXX && slave.physicalAge > slave.pubertyAgeXX - 3 && slave.pubertyAgeXX < V.fertilityAge) {
if (slave.geneMods.NCS === 0) {
r.push(`${His} body is showing signs of <span class="puberty">early puberty.</span>`);
} else {
r.push(`A routine scan confirms that ${his} body is advancing towards <span class="puberty">early puberty,</span> despite not really showing signs of secondary sexual characteristics.`);
}
earlyPubertyFlag = 1;
}
}
if (slave.physicalAge < slave.pubertyAgeXY && slave.balls >= 1 && slave.pubertyXY === 0) { // Male type
precocious = 0;
/* Just having NCS speeds precocious Puberty, but also hormonal puberty affects are increased while secondary growth is suppressed */
if (slave.geneMods.NCS === 1) {
precocious -= 0.8;
}
if (slave.diet === "XY" || slave.diet === "XXY") {
precocious -= 0.1;
}
if (slave.drugs === "fertility drugs") {
precocious += 0.2;
} else if (slave.drugs === "female hormone injections") {
precocious += 1;
} else if (slave.drugs === "male hormone injections") {
precocious -= 1;
} else if (slave.drugs === "testicle enhancement") {
precocious -= 0.1;
} else if (slave.drugs === "steroids") {
precocious -= 0.2;
} else if (slave.drugs === "hyper testicle enhancement") {
precocious -= 0.5;
if (slave.geneMods.NCS === 0) {
r.push(`${He} feels an <span class="change positive">unusual warm feeling</span> in ${his} groin.`);
if (slave.dick < 4 && random(1, 100) < 30) {
r.push(`${His} penis feels <span class="change positive">heavy, hot and oversensitive.</span>`);
slave.dick += 1;
}
if (slave.balls < 4 && random(1, 100) < 30) {
r.push(`${His} balls feel <span class="change positive">heavy, full and oversensitive.</span>`);
slave.balls += 1;
}
}
} else if (slave.drugs === "super fertility drugs") {
precocious -= 1;
if (slave.geneMods.NCS === 0) {
r.push(`${He} feels <span class="change positive">unusual warm feeling</span> in ${his} breasts.`);
if (boobSize(slave) < 400 * gigantomastiaMod && random(1, 100) < 30 && gigantomastiaMod !== 3) {
r.push(`${His} chest feels <span class="change positive">hot and sensitive.</span>`);
slave.boobs += 50;
if (random(1, 100) < 10 && slave.breastMesh !== 1) {
slave.boobShape = "perky";
}
}
if (slave.hips < 2 && random(1, 100) < 10 * uterineHypersensitivityMod) {
r.push(`${He} feels <span class="change positive">strange minor pains</span> in ${his} pelvis.`);
slave.hips += 1;
}
if (slave.butt < 4 && random(1, 100) < 10 + (5 * rearQuirk)) {
r.push(`${He} feels a <span class="change positive">strange weight</span> to ${his} rear.`);
slave.butt += 1;
}
}
if (slave.dick > 1 && random(1, 100) < 30) {
if (slave.geneMods.NCS === 1 && slave.dick > 2 && random(1, 100) > 25) {
r.push(`Hormonal effects work with ${his} <span class="ncs">NCS</span> and cause <span class="change negative">${his} dick to shrink.</span>`);
slave.dick -= 1;
} else {
r.push(`${He} feels an <span class="change negative">unusual lightness</span> in ${his} penis.`);
}
slave.dick -= 1;
}
if (slave.balls > 1 && random(1, 100) < 30) {
if (slave.geneMods.NCS === 1 && slave.balls > 2 && random(1, 100) > 25) {
r.push(`Hormonal effects work with ${his} <span class="ncs">NCS</span> and cause <span class="change negative">${his} balls to shrink.</span>`);
slave.balls -= 1;
} else {
r.push(`${He} feels an <span class="change negative">unusual emptiness</span> to ${his} scrotum.`);
}
slave.balls -= 1;
}
}
if (slave.hormones === 1) {
precocious += 0.2;
} else if (slave.hormones === 2) {
precocious += 0.4;
} else if (slave.hormones === -1) {
precocious -= 0.1;
} else if (slave.hormones === -2) {
precocious -= 0.2;
}
if (slave.drugs === "hormone enhancers") {
if (slave.hormones === 1) {
precocious += 0.1;
} else if (slave.hormones === 2) {
precocious += 0.2;
} else if (slave.hormones === -1) {
precocious -= 0.1;
} else if (slave.hormones === -2) {
precocious -= 0.2;
}
} else if (slave.drugs === "hormone blockers") {
precocious += 1;
}
if (slave.geneticQuirks.neoteny >= 2) {
precocious += 0.1;
}
if (slave.geneMods.NCS === 1) {
precocious *= 2;
}
if (slave.geneticQuirks.progeria === 2) {
precocious -= 10;
}
slave.pubertyAgeXY += precocious;
if (slave.physicalAge < slave.pubertyAgeXY && slave.physicalAge > slave.pubertyAgeXY - 3 && slave.pubertyAgeXY < V.potencyAge && earlyPubertyFlag !== 1) {
if (slave.geneMods.NCS === 0) {
r.push(`${His} body is showing signs of <span class="puberty">early puberty.</span>`);
} else {
r.push(`A routine scan confirms that ${his} body is advancing towards <span class="puberty">early puberty,</span> despite not really showing signs of secondary sexual characteristics.`);
}
}
}
}
/* puberty - not announced for allowing surprise pregnancy */
if (slave.ovaries === 1 || slave.mpreg === 1) {
if (slave.pubertyXX === 0) {
if (slave.physicalAge >= slave.pubertyAgeXX) {
slave.pubertyXX = 1;
if (slave.geneticQuirks.gigantomastia === 3 && random(1, 100) < slave.hormoneBalance) {
slave.geneticQuirks.gigantomastia = 2;
}
if (slave.geneticQuirks.macromastia === 3 && random(1, 100) < slave.hormoneBalance) {
slave.geneticQuirks.macromastia = 2;
}
if (slave.geneticQuirks.galactorrhea === 3) {
slave.geneticQuirks.galactorrhea = 2;
if (random(1, 100) < slave.hormoneBalance && slave.lactation === 0) {
App.EndWeek.saVars.inappropriateLactation = 1;
}
}
}
}
}
if (slave.balls > 0 && slave.ballType !== "sterile") {
if (slave.pubertyXY === 0) {
if (slave.physicalAge >= slave.pubertyAgeXY) {
slave.pubertyXY = 1;
if (slave.geneticQuirks.galactorrhea === 3) {
slave.geneticQuirks.galactorrhea = 2;
if (random(1, 100) < slave.hormoneBalance && slave.lactation === 0) {
App.EndWeek.saVars.inappropriateLactation = 1;
}
}
}
}
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function inflationEffects(slave) {
if (setup.fakeBellies.includes(slave.bellyAccessory)) {
r.push(`${He} has trouble keeping ${himself} full of`);
switch (slave.inflationType) {
case "cum":
case "food":
case "milk":
case "urine":
case "water":
r.push(slave.inflationType);
break;
default:
r.push(`${slave.inflationType}s`);
}
r.push(`with the weight of the fake belly resting on ${his} swollen stomach, forcing it to be removed.`);
slave.bellyAccessory = "none";
}
if (slave.fetish !== "mindbroken" && slave.fuckdoll === 0) {
if (slave.bellyFluid >= 10000) {
if (slave.fetish !== "masochist" && slave.sexualFlaw !== "self hating") {
r.push(`Being so distended with fluids is <span class="devotion dec">very uncomfortable</span> to ${him}.`);
slave.devotion -= 3;
}
if (slave.fetish === "none" && fetishChangeChance(slave) > random(0, 100)) {
r.push(`Having such a round, heavy belly leads ${him} to <span class="fetish gain">begin fantasizing about being pregnant.</span>`);
slave.fetish = "pregnancy";
slave.fetishStrength = 10;
slave.fetishKnown = 1;
}
} else if (slave.bellyFluid >= 1500) {
if (slave.fetish === "humiliation") {
r.push(`Having to walk around with a belly full of`);
switch (slave.inflationType) {
case "cum":
case "food":
case "milk":
case "urine":
case "water":
r.push(slave.inflationType);
break;
default:
r.push(`${slave.inflationType}s`);
}
r.push(`is completely humiliating, and`);
if (slave.fetishKnown === 0) {
r.push(`${he} revels in the attention. <span class="fetish gain">${He}'s a humiliation fetishist!</span>`);
slave.fetishKnown = 1;
} else {
r.push(`${he} <span class="devotion inc">loves it.</span>`);
slave.devotion += 2;
if (slave.fetishStrength < 100) {
r.push(`Every eye on ${his} swollen stomach <span class="fetish inc">strengthens ${his} fetish</span> further.`);
slave.fetishStrength++;
}
}
} else {
r.push(`Having to walk around with a belly full of`);
switch (slave.inflationType) {
case "cum":
case "food":
case "milk":
case "urine":
case "water":
r.push(slave.inflationType);
break;
default:
r.push(`${slave.inflationType}s`);
}
r.push(`is <span class="devotion dec">completely humiliating.</span>`);
slave.devotion -= 2;
if (fetishChangeChance(slave) > random(0, 100)) {
r.push(`However, all the eyes on ${him} and ${his} jiggling middle <span class="fetish gain">makes ${him} begin to crave humiliation.</span>`);
slave.fetish = "humiliation";
slave.fetishStrength = 10;
slave.fetishKnown = 1;
}
}
}
const seed = random(1, 100);
switch (slave.inflationType) {
case "cum":
case "milk":
if (slave.behavioralFlaw === "none" && slave.behavioralQuirk === "none" && seed > 70) {
r.push(`Filling ${his} guts with ${slave.inflationType} all week <span class="flaw gain">drives ${him} to gluttony.</span>`);
slave.behavioralFlaw = "gluttonous";
} else if (slave.behavioralFlaw === "none" && slave.behavioralQuirk === "none" && seed > 40) {
if (slave.inflationType === "cum" && slave.fetish === "cumslut") {
// cumsluts don't do this
} else {
r.push(`Filling ${his} guts with ${slave.inflationType} all week <span class="flaw gain">drives ${him} to hate eating and food.</span>`);
slave.behavioralFlaw = "anorexic";
}
}
break;
case "food":
if (slave.behavioralFlaw === "none" && slave.behavioralQuirk !== "fitness" && seed > 70) {
r.push(`Stuffing ${his} face with food all week <span class="flaw gain">drives ${him} to gluttony.</span>`);
slave.behavioralFlaw = "gluttonous";
} else if (slave.behavioralFlaw === "none" && slave.behavioralQuirk !== "fitness" && seed > 40) {
r.push(`Stuffing ${his} face with food all week <span class="flaw gain">drives ${him} to hate eating.</span>`);
slave.behavioralFlaw = "anorexic";
}
break;
}
}
if (slave.bellyFluid >= 10000 && V.seeExtreme === 1 && slave.health.health <= -100 && slave.geneMods.rapidCellGrowth !== 1) {
r.push(`${He} feels an <span class="health dec">unusual intense pain</span> in ${his} bloated belly.`);
burst(slave);
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function bellySagging(slave) {
if (slave.belly >= 1000000) {
if (slave.bellySag < 50) {
slave.bellySag += 1;
if (slave.preg > 0) {
slave.bellySagPreg += 1;
}
} else if (slave.preg > 0 && slave.bellySagPreg < 50) {
slave.bellySagPreg += 1;
}
if (slave.pregControl === "speed up") {
slave.bellySag += 5;
slave.bellySagPreg += 5;
}
if (slave.geneMods.rapidCellGrowth === 1) {
slave.bellySag += 3;
if (slave.preg > 0) {
slave.bellySagPreg += 3;
}
}
} else if (slave.belly >= 750000) {
if (slave.bellySag < 30) {
slave.bellySag += 0.7;
if (slave.preg > 0) {
slave.bellySagPreg += 0.7;
}
} else if (slave.preg > 0 && slave.bellySagPreg < 30) {
slave.bellySagPreg += 0.7;
}
if (slave.pregControl === "speed up") {
slave.bellySag += 2;
slave.bellySagPreg += 2;
}
if (slave.geneMods.rapidCellGrowth === 1) {
slave.bellySag += 1;
if (slave.preg > 0) {
slave.bellySagPreg += 1;
}
}
} else if (slave.belly >= 600000) {
if (slave.bellySag < 20) {
slave.bellySag += 0.5;
if (slave.preg > 0) {
slave.bellySagPreg += 0.5;
}
} else if (slave.preg > 0 && slave.bellySagPreg < 20) {
slave.bellySagPreg += 0.5;
}
if (slave.pregControl === "speed up") {
slave.bellySag += 1;
slave.bellySagPreg += 1;
}
if (slave.geneMods.rapidCellGrowth === 1) {
slave.bellySag += 1;
if (slave.preg > 0) {
slave.bellySagPreg += 1;
}
}
} else if (slave.belly >= 450000) {
if (slave.bellySag < 15) {
slave.bellySag += 0.4;
if (slave.preg > 0) {
slave.bellySagPreg += 0.4;
}
} else if (slave.preg > 0 && slave.bellySagPreg < 15) {
slave.bellySagPreg += 0.4;
}
if (slave.pregControl === "speed up") {
slave.bellySag += 0.6;
slave.bellySagPreg += 0.6;
}
if (slave.geneMods.rapidCellGrowth === 1) {
slave.bellySag += 0.5;
if (slave.preg > 0) {
slave.bellySagPreg += 0.5;
}
}
} else if (slave.belly >= 300000) {
if (slave.bellySag < 10) {
slave.bellySag += 0.3;
if (slave.preg > 0) {
slave.bellySagPreg += 0.3;
}
} else if (slave.preg > 0 && slave.bellySagPreg < 10) {
slave.bellySagPreg += 0.3;
}
if (slave.pregControl === "speed up") {
slave.bellySag += 0.5;
slave.bellySagPreg += 0.5;
}
if (slave.geneMods.rapidCellGrowth === 1) {
slave.bellySag += 0.5;
if (slave.preg > 0) {
slave.bellySagPreg += 0.5;
}
}
} else if (slave.belly >= 100000) {
if (slave.bellySag < 10) {
slave.bellySag += 0.2;
if (slave.preg > 0) {
slave.bellySagPreg += 0.2;
}
} else if (slave.preg > 0 && slave.bellySagPreg < 10) {
slave.bellySagPreg += 0.2;
}
if (slave.pregControl === "speed up") {
slave.bellySag += 0.3;
slave.bellySagPreg += 0.3;
}
if (slave.geneMods.rapidCellGrowth === 1) {
slave.bellySag += 0.3;
if (slave.preg > 0) {
slave.bellySagPreg += 0.3;
}
}
} else if (slave.bellyPreg >= 10000 || slave.bellyImplant >= 10000) {
if (slave.bellySag < 5) {
slave.bellySag += 0.1;
if (slave.preg > 0) {
slave.bellySagPreg += 0.1;
}
} else if (slave.preg > 0 && slave.bellySagPreg < 5) {
slave.bellySagPreg += 0.1;
}
if (slave.pregControl === "speed up") {
slave.bellySag += 0.2;
slave.bellySagPreg += 0.2;
}
if (slave.geneMods.rapidCellGrowth === 1) {
slave.bellySag += 0.2;
if (slave.preg > 0) {
slave.bellySagPreg += 0.2;
}
}
}
if (slave.bellySagPreg > slave.bellySag) {
slave.bellySagPreg = slave.bellySag;
}
if (slave.bellySag > 0 && slave.belly < 1500 && slave.geneMods.rapidCellGrowth !== 1) {
if (slave.muscles > 95) {
if (random(1, 100) > 1) {
r.push(`${His} stretched, extreme muscles <span class="change positive">firm up readily</span> after`);
if (slave.bellySagPreg > 0) {
r.push(`${his} pregnancy.`);
slave.bellySag -= 0.5;
slave.bellySagPreg -= 0.5;
if (slave.bellySag < 0) {
slave.bellySag = 0;
slave.bellySagPreg = 0;
}
} else {
r.push(`being heavily distended for so long.`);
slave.bellySag -= 0.5;
if (slave.bellySag < 0) {
slave.bellySag = 0;
}
}
}
} else if (slave.muscles >= 30) {
if (random(1, 100) > 20) {
r.push(`${His} stretched, muscular belly <span class="change positive">firms up</span> after`);
if (slave.bellySagPreg > 0) {
r.push(`${his} pregnancy.`);
slave.bellySag -= 0.4;
slave.bellySagPreg -= 0.4;
if (slave.bellySag < 0) {
slave.bellySag = 0;
slave.bellySagPreg = 0;
}
} else {
r.push(`being heavily distended for so long.`);
slave.bellySag -= 0.4;
if (slave.bellySag < 0) {
slave.bellySag = 0;
}
}
}
} else if (slave.muscles >= 5) {
if (random(1, 100) > 40) {
r.push(`${His} stretched, toned belly <span class="change positive">firms up</span> after`);
if (slave.bellySagPreg > 0) {
r.push(`${his} pregnancy.`);
slave.bellySag -= 0.3;
slave.bellySagPreg -= 0.3;
if (slave.bellySag < 0) {
slave.bellySag = 0;
slave.bellySagPreg = 0;
}
} else {
r.push(`being heavily distended for so long.`);
slave.bellySag -= 0.3;
if (slave.bellySag < 0) {
slave.bellySag = 0;
}
}
}
} else {
if (random(1, 100) > 60) {
r.push(`${His} belly <span class="change positive">regains some firmness</span> after`);
if (slave.bellySagPreg > 0) {
r.push(`${his} pregnancy.`);
slave.bellySag -= 0.2;
slave.bellySagPreg -= 0.2;
if (slave.bellySag < 0) {
slave.bellySag = 0;
slave.bellySagPreg = 0;
}
} else {
r.push(`being heavily distended for so long.`);
slave.bellySag -= 0.2;
if (slave.bellySag < 0) {
slave.bellySag = 0;
}
}
}
}
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function bellyImplantStuff(slave) {
if (slave.bellyImplant >= 5000) {
if (slave.fuckdoll === 0) {
if (slave.fetish !== "mindbroken") {
if ((slave.fetish === "none" || slave.fetishStrength <= 10) && slave.devotion > 20 && random(1, 100) > 85) {
r.push(`Having an implant simulating pregnancy drives ${him} to <span class="fetish gain">begin fantasizing about being actually pregnant.</span>`);
slave.fetish = "pregnancy";
slave.fetishStrength = 10;
slave.fetishKnown = 1;
}
}
}
} else if (slave.bellyImplant >= 1500) {
if (setup.fakeBellies.includes(slave.bellyAccessory)) {
r.push(`${His} implant rounded belly renders ${his} fake one moot.`);
slave.bellyAccessory = "none";
}
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function mindbreak(slave) {
if (slave.trust < -95) {
if (slave.devotion < -50) {
if (V.week - slave.weekAcquired > 9) {
if (slave.fuckdoll > 50) {
r.push(`Denied all stimulation other than sexual use for longer than a human mind can bear, <span class="mindbreak">${he} has been irretrievably broken.</span>`);
slave.fetish = "mindbroken";
slave.sexualFlaw = "none";
slave.behavioralFlaw = "none";
} else {
if (random(1, 5) === 1) {
r.push(`${He} has been used as a sexual slave for so long, and is so hopeless that ${his} future as a slave will be anything but torment, that ${his} mind finally slips. <span class="mindbreak">${He} has been irretrievably broken.</span>`);
slave.fetish = "mindbroken";
slave.sexualFlaw = "none";
slave.behavioralFlaw = "none";
} else {
r.push(`${He}'s so unhappy and terrified that the effects of the extreme stress on ${his} mind and body are unpredictable. This week,`);
switch (random(1, 4)) {
case 1:
r.push(`<span class="devotion dec">${his} hatred of sexual slavery was self-reinforcing.</span>`);
slave.devotion -= 5;
break;
case 2:
r.push(`<span class="health dec">${his} mental state was bad for ${his} health.</span>`);
healthDamage(slave, 5);
break;
case 3:
r.push(`<span class="change negative">${his} face grew a little more haggard.</span>`);
slave.face -= 2;
break;
default:
r.push(`${he} managed to bear it without lasting harm.`);
}
}
}
}
}
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function mentalTension(slave) {
const attention = Array.isArray(V.personalAttention) && V.personalAttention.find((s) => s.ID === slave.ID);
if (slave.behavioralFlaw === "none") {
if (slave.trust < -20 && slave.devotion <= 50) {
if (random(1, 100) > 100 + slave.trust) {
effect = random(1, 4);
r.push(`Being so afraid so constantly drives ${him} to find solace in`);
if (attention && ["build her devotion", "look after her", "soften her behavioral flaw", "soften her sexual flaw", "teach her"].includes(attention.trainingRegimen)) {
r.push(`your attention. Relying on you for <span class="devotion inc">emotional support</span> strengthens ${his} <span class="trust inc">bond</span> with ${getWrittenTitle(slave)}.`);
slave.devotion++;
slave.trust++;
} else if (effect === 1) {
r.push(`self-denial. <span class="flaw gain">${He} has developed anorexia.</span>`);
slave.behavioralFlaw = "anorexic";
} else if (effect === 2) {
r.push(`stress eating. <span class="flaw gain">${He}'s now a nervous glutton.</span>`);
slave.behavioralFlaw = "gluttonous";
} else if (effect === 3) {
r.push(`the scraps of prayer and superstition ${he} can remember from ${his} life before ${he} was a slave. <span class="flaw gain">${He}'s now religious.</span>`);
slave.behavioralFlaw = "devout";
} else {
r.push(`the remnants of modern philosophy and education ${he} can remember from ${his} life before ${he} was a slave. <span class="flaw gain">${He} feels mentally liberated.</span>`);
slave.behavioralFlaw = "liberated";
}
}
}
}
if (slave.sexualFlaw === "none") {
if (slave.devotion < -20) {
if (random(1, 500) > 500 + slave.devotion) {
effect = random(1, 6);
r.push(`Being so angry at ${his} life as a sex slave has`);
if (attention && ["build her devotion", "look after her", "soften her behavioral flaw", "soften her sexual flaw", "teach her"].includes(attention.trainingRegimen)) {
r.push(`forced ${him} to face ${his} problems with you. Lending ${him} support makes it <span class="devotion inc">a little more tolerable.</span>`);
slave.devotion++;
} else if (effect === 1) {
r.push(`driven ${him} into <span class="flaw gain">sexual apathy.</span>`);
slave.sexualFlaw = "apathetic";
} else if (effect === 2) {
r.push(`convinced ${him} that the conservative parts of ${his} upbringing were right: sex is evil. <span class="flaw gain">${He}'s now repressed.</span>`);
slave.sexualFlaw = "repressed";
} else if (effect === 3) {
r.push(`given ${him} a dread of being nude. <span class="flaw gain">${He}'s now shamefast.</span>`);
slave.sexualFlaw = "shamefast";
} else if (effect === 4) {
r.push(`deprived ${him} of any motivation to keep sex appealing or even clean. <span class="flaw gain">${He}'s now crude.</span>`);
slave.sexualFlaw = "crude";
} else if (effect === 5) {
r.push(`driven ${him} to find refuge in high standards. <span class="flaw gain">${He}'s now judgemental.</span>`);
slave.sexualFlaw = "judgemental";
} else {
r.push(`convinced ${him} that sex is only this way here. Convinced that sexual slavery is wrong, <span class="flaw gain">${He}'s become sexually idealistic.</span>`);
slave.sexualFlaw = "idealistic";
}
}
}
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function noTalkingFixesFlaws(slave) {
if (slave.behavioralFlaw === "bitchy") {
r.push(`If ${he} has anything bitchy to say, <span class="green">no one can tell,</span> since ${he} can't talk.`);
}
if (slave.behavioralQuirk === "cutting") {
r.push(`If ${he} has anything witty to say, <span class="red">no one can tell,</span> since ${he} can't talk.`);
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function breedingMark(slave) {
if (slave.devotion < -20) {
r.push(`${He} views the mark of the Societal Elite <span class="devotion dec">with disgust</span> as it brands ${him} as nothing more than your breeding bitch.`);
slave.devotion -= 10;
} else if (slave.devotion <= 50) {
r.push(`${He} bears the mark of the Societal Elite as a sign of ${his} superiority. As such, ${he} <span class="devotion dec">behaves like a spoiled child</span> and tries to have everything ${his} way.`);
slave.devotion -= 5;
if (slave.behavioralFlaw === "none" && slave.behavioralQuirk !== "confident") {
r.push(`${He} has become <span class="flaw gain">quite arrogant.</span>`);
slave.behavioralFlaw = "arrogant";
}
} else {
r.push(`${He} bears the mark of the Societal Elite <span class="devotion inc">with pride.</span> It signals that ${he} is yours, and yours alone, drawing ${him} ever closer to ${his} beloved ${getWrittenTitle(slave)}.`);
slave.devotion += 10;
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function solidSlaveFoodEffects(slave) {
if (V.arcologies[0].FSHedonisticDecadence !== "unset") {
if (V.arcologies[0].FSHedonisticDecadenceResearch === 1) {
if (V.arcologies[0].FSDegradationist === "unset") {
if (slave.onDiet !== 1) {
if (!canTaste(slave)) {
r.push(`${His} lack of a sense of taste makes ${him} essentially immune to the addictive slave treats, as ${he} can't be enticed by their delicious taste.`);
} else if (slave.behavioralQuirk === "insecure") {
r.push(`${He} can't stop ${himself} from eating the <span class="devotion inc">addictive, delicious</span> slave treats available throughout the arcology. ${He} knows they are fattening and <span class="trust dec">starts obsessing</span> even more about ${his} weight, appearance and how others view ${him}.`);
slave.trust -= 3;
if (V.arcologies[0].FSHedonisticDecadenceDietResearch === 0) {
slave.weight++;
}
slave.devotion++;
} else if (slave.behavioralQuirk === "fitness") {
r.push(`${He} hates the availability of the tasty slave treats and how they tempt ${him} away from a fit lifestyle, but often <span class="devotion inc">finds ${himself} absentmindedly snacking on them.</span>`);
if (V.arcologies[0].FSHedonisticDecadenceDietResearch === 0) {
r.push(`The more ${his} <span class="change positive">waistline grows,</span> the <span class="trust dec">less ${he} finds ${himself} trusting you.</span>`);
slave.trust--;
slave.devotion++;
slave.weight++;
} else {
r.push(`${He} finds that no matter how many ${he} eats, ${he} never gains weight, a detail ${he} is <span class="trust inc">thankful</span> for.`);
slave.trust++;
slave.devotion++;
}
} else if (slave.behavioralFlaw === "gluttonous") {
r.push(`${He} <span class="devotion inc">loves</span> the availability of the tasty slave treats and how ${he} can keep ${his} mouth filled at <span class="devotion inc">nearly all times.</span>`);
if (V.arcologies[0].FSHedonisticDecadenceDietResearch === 0) {
r.push(`Since ${his} belly is always full thanks to your food supplies, ${he} <span class="trust inc">trusts you to keep ${him} sated,</span> though ${his} constant gorging has a <span class="change positive">huge impact on ${his} waistline.</span>`);
slave.trust++;
slave.devotion += 3;
slave.weight += 3;
} else {
r.push(`Since ${his} belly is always full thanks to your food supplies, ${he} <span class="trust inc">trusts you to keep ${him} sated.</span> Since the food is fat free, ${his} waistline is spared ${his} bad habits.`);
slave.trust++;
slave.devotion += 3;
}
} else if (slave.behavioralFlaw === "anorexic") {
r.push(`${He} hates the availability of the tasty slave treats and how ${he} <span class="devotion inc">can't stop eating them.</span>`);
if (V.arcologies[0].FSHedonisticDecadenceDietResearch === 0) {
r.push(`The <span class="change positive">more ${his} waistline grows,</span> the <span class="trust dec">more horrifying ${his} body becomes to ${him}.</span>`);
slave.trust -= 5;
slave.devotion++;
slave.weight++;
} else {
r.push(`${He} finds that no matter how many ${he} eats, ${he} never gains weight, a detail ${he} is <span class="trust inc">thankful</span> for, even if ${he} is disgusted by ${his} actions.`);
slave.trust++;
slave.devotion++;
}
} else {
r.push(`${He} <span class="devotion inc">loves</span> the availability of the tasty slave treats and <span class="trust inc">trusts you more</span> for having them so accessible.`);
if (V.arcologies[0].FSHedonisticDecadenceDietResearch === 0) {
r.push(`${He} is so distracted by the luxury that ${he} doesn't notice the <span class="change positive">weight ${he} is gaining.</span>`);
slave.weight++;
}
slave.trust++;
slave.devotion++;
}
} else {
// no treats for you
if (!canTaste(slave)) {
r.push(`${He} lacks permission to eat the slave treats, which ${he} has no real opinion over, as ${he} lacks the sense to taste them anyway.`);
} else if (slave.behavioralQuirk === "insecure") {
r.push(`${He} is <span class="trust inc">relieved</span> ${he} doesn't have to fret over eating the treats and gaining weight as ${his} ${getWrittenTitle(slave)} is carefully directing ${him}.`);
slave.trust++;
} else if (slave.behavioralQuirk === "fitness") {
r.push(`${He} is <span class="trust inc">thankful</span> that ${he} isn't permitted to eat the treats. ${He}'s seen others try one, only to start shoveling them down.`);
slave.trust++;
} else if (slave.behavioralFlaw === "gluttonous") {
r.push(`${He} <span class="devotion dec">resents</span> not being allowed to stuff ${his} face with the tempting treats like the other slaves ${he} sees.`);
slave.devotion -= 2;
} else if (slave.behavioralFlaw === "anorexic") {
r.push(`${He} <span class="devotion inc">is relieved</span> that ${he} doesn't have to eat the treats and is <span class="trust inc">thankful</span> for your apparent consideration.`);
slave.trust++;
slave.devotion += 2;
} else {
r.push(`${He}`);
if (canSee(slave)) {
r.push(`sees`);
} else {
r.push(`knows`);
}
r.push(`how much the other slaves enjoy the delicious treats and <span class="devotion dec">resents</span> not being allowed to enjoy them, feeling you are doing this to <span class="trust dec">spite ${him}.</span>`);
slave.devotion--;
slave.trust--;
}
}
} else {
if (slave.onDiet !== 1) {
r.push(`The treats are designed to cause stomach cramps alongside being extremely addictive. ${He} cannot stop ${himself} from eating them, but ${he} can <span class="trust dec">fear</span> your cruelty as ${his} <span class="devotion inc">will steadily erodes</span> from the concentrated aphrodisiacs in ${his} food.`);
slave.devotion += 2;
slave.trust -= 3;
} else {
r.push(`The treats are designed to cause stomach cramps alongside being extremely addictive. Since ${he} is not permitted to eat them, <span class="trust inc">${he} breathes a sigh of relief,</span> though ${he} is fully aware of what happens to those not as fortunate as ${him}. ${He} <span class="devotion inc">tries ${his} best to be obedient</span> hoping to not undergo the agony, but ${his} efforts pale in comparison to the effects of the food-based aphrodisiacs.`);
slave.devotion++;
slave.trust++;
}
}
} else {
if (slave.behavioralQuirk === "insecure") {
r.push(`Watching citizens sculpt their slaves to their ideals fills ${him} with <span class="trust inc">relief</span> that someone will find ${him} attractive; that or make ${him} so.`);
slave.trust++;
} else if (slave.behavioralQuirk === "fitness") {
r.push(`Watching both citizens and other slaves lie around and shirk exercise disappoints ${him}. ${He} <span class="trust dec">fears</span> that ${he}'ll be prevented from exercising and grow soft too.`);
slave.trust -= 2;
} else if (slave.behavioralFlaw === "gluttonous") {
r.push(`Being part of a society that welcomes gluttony makes ${him} <span class="trust inc">feel right at home.</span>`);
slave.trust += 2;
} else if (slave.behavioralFlaw === "anorexic") {
r.push(`${He} feels fat just watching your society gorge itself. ${He} <span class="trust dec">fears</span> that ${he}'ll be a bloated hog soon too.`);
slave.trust -= 5;
}
}
} else if (V.arcologies[0].FSHedonisticDecadenceResearch === 1) {
if (V.arcologies[0].FSDegradationist === "unset") {
if (slave.onDiet !== 1) {
if (!canTaste(slave)) {
r.push(`${His} lack of a sense of taste makes ${him} essentially immune to the addictive slave treats, as ${he} can't be enticed by their delicious taste.`);
} else if (slave.behavioralQuirk === "insecure") {
r.push(`${He} can't stop ${himself} from eating the <span class="devotion inc">addictive, delicious</span> slave treats available throughout the arcology. ${He}`);
if (V.arcologies[0].FSHedonisticDecadenceDietResearch === 0) {
r.push(`knows`);
} else {
r.push(`believes`);
}
r.push(`they are fattening and <span class="trust dec">starts obsessing</span> even more about ${his} weight, appearance and how others view ${him}.`);
slave.trust -= 3;
if (V.arcologies[0].FSHedonisticDecadenceDietResearch === 0) {
slave.weight++;
}
slave.devotion++;
} else if (slave.behavioralQuirk === "fitness") {
r.push(`${He} hates the availability of the tasty slave treats and how they tempt ${him} away from a fit lifestyle, but often <span class="devotion inc">finds ${himself} absentmindedly snacking on them.</span>`);
if (V.arcologies[0].FSHedonisticDecadenceDietResearch === 0) {
r.push(`The more ${his} <span class="change positive">waistline grows,</span> the <span class="trust dec">less ${he} finds ${himself} trusting you.</span>`);
slave.trust--;
slave.devotion++;
slave.weight++;
} else {
r.push(`${He} finds that no matter how many ${he} eats, ${he} never gains weight, a detail ${he} is <span class="trust inc">thankful</span> for.`);
slave.trust++;
slave.devotion++;
}
} else if (slave.behavioralFlaw === "gluttonous") {
r.push(`${He} <span class="devotion inc">loves</span> the availability of the tasty slave treats and how ${he} can keep ${his} mouth filled at <span class="devotion inc">nearly all times.</span>`);
if (V.arcologies[0].FSHedonisticDecadenceDietResearch === 0) {
r.push(`Since ${his} belly is always full thanks to your food supplies, ${he} <span class="trust inc">trusts you to keep ${him} sated,</span> though ${his} constant gorging has a <span class="change positive">huge impact on ${his} waistline.</span>`);
slave.trust++;
slave.devotion += 3;
slave.weight += 3;
} else {
r.push(`Since ${his} belly is always full thanks to your food supplies, ${he} <span class="trust inc">trusts you to keep ${him} sated.</span> Since the food is fat free, ${his} waistline is spared ${his} bad habits.`);
slave.trust++;
slave.devotion += 3;
}
} else if (slave.behavioralFlaw === "anorexic") {
r.push(`${He} hates the availability of the tasty slave treats and how ${he} <span class="devotion inc">can't stop eating them.</span>`);
if (V.arcologies[0].FSHedonisticDecadenceDietResearch === 0) {
r.push(`The <span class="change positive">more ${his} waistline grows,</span> the <span class="trust dec">more horrifying ${his} body becomes to ${him}.</span>`);
slave.trust -= 5;
slave.devotion++;
slave.weight++;
} else {
r.push(`${He} finds that no matter how many ${he} eats, ${he} never gains weight, a detail ${he} is <span class="trust inc">thankful</span> for, even if ${he} is disgusted by ${his} actions.`);
slave.trust++;
slave.devotion++;
}
} else {
r.push(`${He} <span class="devotion inc">loves</span> the availability of the tasty slave treats and <span class="trust inc">trusts you more</span> for having them so accessible.`);
if (V.arcologies[0].FSHedonisticDecadenceDietResearch === 0) {
r.push(`${He} is so distracted by the luxury that ${he} doesn't notice the <span class="change positive">weight ${he} is gaining.</span>`);
slave.weight++;
}
slave.trust++;
slave.devotion++;
}
} else {
// no treats for you
if (!canTaste(slave)) {
r.push(`${He} lacks permission to eat the slave treats, which ${he} has no real opinion over, as ${he} lacks the sense to taste them anyway.`);
} else if (slave.behavioralQuirk === "insecure") {
r.push(`${He} is <span class="trust inc">relieved</span> ${he} doesn't have to fret over eating the treats and gaining weight as ${his} ${getWrittenTitle(slave)} is carefully directing ${him}.`);
slave.trust++;
} else if (slave.behavioralQuirk === "fitness") {
r.push(`${He} is <span class="trust inc">thankful</span> that ${he} isn't permitted to eat the treats. ${He}'s seen others try one, only to start shoveling them down.`);
slave.trust++;
} else if (slave.behavioralFlaw === "gluttonous") {
r.push(`${He} <span class="devotion dec">resents</span> not being allowed to stuff ${his} face with the tempting treats like the other`);
if (canSee(slave)) {
r.push(`slaves ${he} sees.`);
} else {
r.push(`slaves.`);
}
slave.devotion -= 2;
} else if (slave.behavioralFlaw === "anorexic") {
r.push(`${He} <span class="devotion inc">is relieved</span> that ${he} doesn't have to eat the treat and is <span class="trust inc">thankful</span> for your apparent consideration.`);
slave.trust++;
slave.devotion += 2;
} else {
r.push(`${He}`);
if (canSee(slave)) {
r.push(`sees`);
} else {
r.push(`knows`);
}
r.push(`how much the other slaves enjoy the delicious treats and <span class="devotion dec">resents</span> not being allowed to enjoy them, feeling you are doing this to <span class="trust dec">spite ${him}.</span>`);
slave.devotion--;
slave.trust--;
}
}
} else {
if (slave.onDiet !== 1) {
r.push(`The treats are designed to cause stomach cramps alongside being extremely addictive. ${He} cannot stop ${himself} from eating them, but ${he} can <span class="trust dec">fear</span> your cruelty as ${his} <span class="devotion inc">will steadily erodes</span> from the concentrated aphrodisiacs in ${his} food.`);
slave.devotion += 2;
slave.trust -= 3;
} else {
r.push(`The treats are designed to cause stomach cramps alongside being extremely addictive. Since ${he} is not permitted to eat them, <span class="trust inc">${he} breathes a sigh of relief,</span> though ${he} is fully aware of what happens to those not as fortunate as ${him}. ${He} <span class="devotion inc">tries ${his} best to be obedient</span> hoping to not undergo the agony, but ${his} efforts pale in comparison to the effects of the food based aphrodisiacs.`);
slave.devotion++;
slave.trust++;
}
}
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function brandEffects(slave) {
if (!jQuery.isEmptyObject(slave.brand)) {
if ([Job.PUBLIC, Job.WHORE, Job.BROTHEL, Job.CLUB].includes(slave.assignment)) {
r.push(`Since ${he} is in public, your brand against the ${slave.skin} skin of ${his} ${Object.keys(slave.brand)[0]} <span class="reputation inc">slightly increases your reputation</span> as a slaveowner.`);
repX(5, "futureSocieties", slave);
switch (slave.assignment) {
case "work in the brothel":
getSlaveStatisticData(slave, V.facility.brothel).rep += 5;
break;
}
}
if (V.rep > 10000) {
r.push(`${His} brand is considered a minor enhancement to ${his} beauty since you are very well liked.`);
} else if (V.rep < 5000) {
r.push(`${His} brand is considered a minor blemish on ${his} beauty since you are not well liked.`);
}
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function disabilityEffects(slave) {
let visionFlag = 0;
if (getBestVision(slave) === 0) {
if (slave.hears <= -2) {
if (slave.devotion > 50) {
r.push(`Even though ${he} is blind and deaf, ${he} is devoted enough to you to allow ${himself} to lower ${his} guard. ${He} becomes <span class="trust inc">trusting</span> of your ability to keep ${him} safe.`);
slave.trust += 5;
} else if (slave.devotion > 20) {
r.push(`Since ${he}'s blind, deaf and on the cusp of devotion, ${he} becomes <span class="devotion inc">more reliant</span> on you, but also begins to be <span class="trust inc">less fearful</span> of the world around ${him}.`);
slave.devotion += 5;
slave.trust += 3;
} else if (["be your Concubine", "please you", "serve in the master suite"].includes(slave.assignment)) {
r.push(`${He} may be blind and deaf, but ${he} knows nobody would dare harm ${him} under your watch, <span class="trust inc">building ${his} trust</span> in you.`);
slave.trust += 2;
} else if (slave.devotion >= -20) {
r.push(`${His} blindness and deafness forces ${him} to <span class="devotion inc">entirely rely</span> on your mercy. However, it only <span class="trust inc">amplifies ${his} fear</span> as ${he} has only`);
if (canSmell(slave)) {
r.push(`the smell of arousal`);
} else {
r.push(`a stumbling sense of touch`);
}
r.push(`to warn of an impending threat.`);
slave.devotion += 10;
slave.trust -= 30;
} else {
r.push(`Being blind and deaf forces ${him} to <span class="devotion inc">completely rely</span> on your mercy. It does nothing to stem <span class="trust dec">the horror</span> ${he} faces being unable to sense the world around ${him}.`);
slave.devotion += 20;
slave.trust -= 50;
}
} else if ((slave.hears === -1 && slave.earwear !== "hearing aids") || (slave.hears === 0 && slave.earwear === "muffling ear plugs")) {
if (slave.devotion > 50) {
r.push(`Even though ${he} is blind and unable to properly hear, ${he} is devoted enough to you to allow ${himself} to lower ${his} guard. ${He} becomes <span class="trust inc">trusting</span> of your ability to keep ${him} safe.`);
slave.trust += 4;
} else if (slave.devotion > 20) {
r.push(`Since ${he}'s blind, hard of hearing and on the cusp of devotion, ${he} becomes <span class="devotion inc">more reliant</span> on you, but also begins to be <span class="trust inc">less fearful</span> of the world around ${him}.`);
slave.devotion += 4;
slave.trust += 2;
} else if (["be your Concubine", "please you", "serve in the master suite"].includes(slave.assignment)) {
r.push(`${He} may be blind and hard of hearing, but ${he} knows nobody would dare harm ${him} under your watch, <span class="trust inc">building ${his} trust</span> in you.`);
slave.trust += 2;
} else if (slave.devotion >= -20) {
r.push(`${His} blindness and trouble hearing forces ${him} to <span class="devotion inc">rely</span> on your mercy. However, it only <span class="trust dec">amplifies ${his} fear</span> as ${he} strains to hear anything potential threats to ${him}.`);
slave.devotion += 7;
slave.trust -= 20;
} else {
r.push(`Being blind and hard of hearing forces ${him} to <span class="devotion inc">rely</span> on your mercy. It does nothing to stem <span class="trust dec">the terrible sounds</span> ${he} struggles to hear.`);
slave.devotion += 10;
slave.trust -= 25;
}
} else {
if (slave.devotion > 50) {
r.push(`Even though ${he} is blind, ${he} is devoted enough to you to allow ${himself} to lower ${his} guard. ${He} becomes <span class="trust inc">trusting</span> of your ability to keep ${him} safe.`);
slave.trust += 3;
} else if (slave.devotion > 20) {
r.push(`Since ${he}'s blind and on the cusp of devotion, ${he} becomes slightly <span class="devotion inc">more reliant,</span> but also begins to be <span class="trust inc">less fearful</span> of what ${he} can't see.`);
slave.devotion += 3;
slave.trust += 1;
} else if (["be your Concubine", "please you", "serve in the master suite"].includes(slave.assignment)) {
r.push(`${He} may be blind, but ${he} knows nobody would dare harm ${him} under your watch, <span class="trust inc">building ${his} trust</span> in you.`);
slave.trust += 2;
} else if (slave.devotion >= -20) {
r.push(`${His} blindness forces ${him} to <span class="devotion inc">rely</span> on your mercy. However, it only <span class="trust dec">amplifies ${his} fear</span> as ${he} has severely limited capabilities to defend ${himself}.`);
slave.devotion += 5;
slave.trust -= 10;
} else {
r.push(`Being blind forces ${him} to <span class="devotion inc">completely rely</span> on your mercy. It does nothing to stem <span class="trust dec">the terror</span> ${he} faces constantly being unable to tell what will happen to ${him}.`);
slave.devotion += 10;
slave.trust -= 25;
}
}
visionFlag = -2;
} else if (getBestVision(slave) === 1) {
if (!canSeePerfectly(slave)) {
if (slave.devotion > 50) {
r.push(`${His} vision may be clouded but it doesn't get in the way of ${his} devotion to you.`);
} else if (slave.devotion > 20) {
r.push(`Since ${he}'s on the cusp of devotion, ${his} blurred vision makes ${him} <span class="devotion inc">slightly more submissive,</span> since ${he} can't always see what's happening to ${him}.`);
slave.devotion += 1;
} else if ([Job.PUBLIC, Job.WHORE, Job.BROTHEL, Job.CLUB].includes(slave.assignment)) {
r.push(`${His} blurred vision <span class="devotion inc">reduces ${his} distaste for ${his} life slightly,</span> since ${his} fuzzy vision allows ${him} to ignore the details of everyone ${he}'s expected to fuck.`);
slave.devotion += 1;
} else {
r.push(`${His} blurred vision tends to make ${him} <span class="trust dec">a little more fearful,</span> since ${he} can never tell what's about to happen to ${him}.`);
slave.trust -= 1;
}
visionFlag = -1;
}
} else if (getBestVision(slave) === 2) {
if (!canSeePerfectly(slave)) {
if (slave.devotion > 50) {
r.push(`${He} tolerates the annoyance of blurred vision induced by ${his} eyewear.`);
} else if (slave.devotion > 20) {
r.push(`Since ${he}'s on the cusp of devotion, the blurred vision induced by ${his} eyewear actually makes ${him} <span class="devotion inc">slightly more submissive.</span>`);
slave.devotion += 1;
} else if ([Job.PUBLIC, Job.WHORE, Job.BROTHEL, Job.CLUB].includes(slave.assignment)) {
r.push(`The blurred vision induced by ${his} eyewear actually <span class="devotion inc">reduces ${his} distaste for ${his} life slightly,</span> since ${his} fuzzy vision allows ${him} to ignore the details of everyone ${he}'s expected to fuck.`);
slave.devotion += 1;
} else {
r.push(`The blurred vision induced by ${his} eyewear actually <span class="devotion dec">infuriates ${him}.</span>`);
slave.devotion -= 1;
}
visionFlag = -1;
}
}
if (visionFlag === -1) {
if (slave.hears === -2) {
if (slave.devotion > 50) {
r.push(`Since ${he} is also deaf, ${he} begins to <span class="trust inc">rely</span> on you to give ${him} the feedback ${his} body does cannot.`);
slave.trust += 3;
} else if (slave.devotion > 20) {
r.push(`Since ${he} is also deaf, ${he} becomes <span class="devotion inc">very reliant</span> on you, but also begins to <span class="trust inc">trust</span> you to convey what ${his} body does not.`);
slave.devotion += 3;
slave.trust += 3;
} else if (["be your Concubine", "please you", "serve in the master suite"].includes(slave.assignment)) {
r.push(`Since ${he} is also deaf, ${he} views you as ${his} <span class="trust inc">blurry guardian.</span>`);
slave.trust += 5;
} else if (slave.devotion >= -20) {
r.push(`Since ${he} is also deaf, ${he} <span class="trust dec">descends into paranoia</span> as every blurry shape could be out to get ${him}.`);
slave.trust -= 20;
} else {
r.push(`Since ${he} is also deaf, ${he} <span class="trust dec">delves into the depths of paranoia</span> as every blurry shape could be out to get ${him}. ${He} becomes increasingly <span class="devotion dec">hateful</span> to those around ${him} in an effort to ward off threats.`);
slave.trust -= 30;
slave.devotion -= 10;
}
} else if (slave.hears === -1) {
if (slave.earwear !== "hearing aids") {
if (slave.devotion > 50) {
r.push(`${His} hearing may be muddled too, but ${he} doesn't let it bother ${him}.`);
} else if (slave.devotion > 20) {
r.push(`Since ${he} is also hard of hearing, ${he} is forced into <span class="devotion inc">very submissive state,</span> though <span class="trust dec">worrying thoughts</span> begin to plague ${his} mind.`);
slave.devotion += 3;
slave.trust -= 3;
} else if ([Job.PUBLIC, Job.WHORE, Job.BROTHEL, Job.CLUB].includes(slave.assignment)) {
r.push(`Since ${he} is also hard of hearing, ${he} has a hard time understanding what partners want from ${him}, often causing them to <span class="trust dec">get forceful</span> with ${him}.`);
slave.trust -= 5;
} else {
r.push(`Since ${he} is also hard of hearing, <span class="trust dec">${he} becomes increasingly paranoid</span> since ${he} can barely discern other's intent any more.`);
slave.trust -= 5;
}
}
} else if (slave.hears === 0) {
if (slave.earwear === "muffling ear plugs") {
if (slave.devotion > 50) {
r.push(`${He} tolerates the annoyance of muffled hearing induced by ${his} ear plugs.`);
} else if (slave.devotion > 20) {
r.push(`Since ${his} hearing is also muffled, ${he} is forced into <span class="devotion inc">very submissive state,</span> though <span class="trust dec">worrying thoughts</span> begin to plague ${his} mind.`);
slave.devotion += 3;
slave.trust -= 3;
} else if ([Job.PUBLIC, Job.WHORE, Job.BROTHEL, Job.CLUB].includes(slave.assignment)) {
r.push(`Since ${his} hearing is also muffled, ${he} has a hard time understanding what partners want from ${him}, often causing them to <span class="trust dec">get forceful</span> with ${him}.`);
slave.trust -= 5;
} else {
r.push(`The muffled hearing induced by ${his} ear plugs <span class="devotion dec">infuriates ${him}</span> with ${his} vision problems.`);
slave.devotion -= 5;
}
}
}
} else if (visionFlag !== -2) {
if (slave.hears === -2) {
if (slave.devotion > 50) {
r.push(`Even though ${he} is deaf, ${he} is devoted enough to you to allow ${himself} to lower ${his} guard. ${He} becomes <span class="trust inc">trusting</span> of your ability to watch ${his} back.`);
slave.trust += 1;
} else if (slave.devotion > 20) {
r.push(`Since ${he}'s deaf and on the cusp of devotion, ${he} becomes slightly <span class="devotion inc">more reliant,</span> but also begins to be <span class="trust inc">less fearful</span> of what is lurking out of sight.`);
slave.devotion += 1;
slave.trust += 1;
} else if (["be your Concubine", "please you", "serve in the master suite"].includes(slave.assignment)) {
r.push(`${He} may be deaf, but no one can sneak up on ${him} while ${he} is with you, <span class="trust inc">developing the trust</span> that you have ${his} back.`);
slave.trust += 2;
} else if (slave.devotion >= -20) {
r.push(`${His} deafness forces ${him} to <span class="trust dec">distrust everyone</span> as everything out of sight is a potential threat to ${him}.`);
slave.trust -= 10;
} else {
r.push(`Being deaf forces ${him} to <span class="trust dec">fear</span> everything ${he} can't see. At any moment, something could jump on ${his} back and force ${him} into position.`);
slave.trust -= 25;
}
} else if (slave.hears === -1) {
if (slave.earwear !== "hearing aids") {
if (slave.devotion > 50) {
r.push(`${His} hearing may be muddled but it doesn't get in the way of ${his} devotion to you.`);
} else if (slave.devotion > 20) {
r.push(`Since ${he}'s on the cusp of devotion, ${his} muffled hearing makes ${him} <span class="devotion inc">slightly more submissive,</span> since ${he} can't always hear what's going on around ${him}.`);
slave.devotion += 1;
} else if ([Job.PUBLIC, Job.WHORE, Job.BROTHEL, Job.CLUB].includes(slave.assignment)) {
r.push(`${His} muffled hearing <span class="devotion dec">reduces ${his} distaste for ${his} life slightly,</span> since ${his} impaired hearing allows ${him} to ignore the disgusting comments from everyone around ${him}.`);
slave.devotion += 1;
} else {
r.push(`${His} muffled hearing tends to make ${him} <span class="devotion dec">a little more fearful,</span> since ${he} can never tell what people are saying about ${him}.`);
slave.trust -= 1;
}
}
} else if (slave.hears === 0) {
if (slave.earwear === "muffling ear plugs") {
if (slave.devotion > 50) {
r.push(`${He} tolerates the annoyance of muffled hearing induced by ${his} ear plugs.`);
} else if (slave.devotion > 20) {
r.push(`Since ${he}'s on the cusp of devotion, the muffled hearing induced by ${his} ear plugs actually makes ${him} <span class="devotion inc">slightly more submissive.</span>`);
slave.devotion += 1;
} else if ([Job.PUBLIC, Job.WHORE, Job.BROTHEL, Job.CLUB].includes(slave.assignment)) {
r.push(`The muffled hearing induced by ${his} ear plugs actually <span class="devotion inc">reduces ${his} distaste for ${his} life slightly,</span> since ${his} impaired hearing allows ${him} to ignore the disgusting comments from everyone around ${him}.`);
slave.devotion += 1;
} else {
r.push(`The muffled hearing induced by ${his} ear plugs <span class="devotion dec">irritates ${him}.</span>`);
slave.devotion -= 1;
}
}
}
}
if (slave.muscles < -95) {
if (slave.devotion > 50) {
r.push(`${He} knows ${he} is near helpless but is devoted enough to you to allow ${himself} to lower ${his} guard. ${He} becomes <span class="trust inc">trusting</span> of your ability to keep ${him} safe.`);
slave.trust += 3;
} else if (slave.devotion > 20) {
r.push(`Since ${he}'s near helpless and on the cusp of devotion, ${he} becomes slightly <span class="devotion inc">more reliant,</span> but also begins to be <span class="trust inc">less fearful</span> of what could happen to ${him}.`);
slave.devotion += 3;
slave.trust += 1;
} else if (["be your Concubine", "please you", "serve in the master suite"].includes(slave.assignment)) {
r.push(`${He} may be physically frail and vulnerable, but ${he} knows nobody would dare harm ${him} under your watch, <span class="trust inc">building ${his} trust</span> in you.`);
slave.trust += 2;
} else if (slave.devotion >= -20) {
r.push(`${His} frailty forces ${him} to <span class="devotion inc">rely</span> on your mercy. However, it only <span class="trust dec">amplifies ${his} fear</span> as ${he} has no chance of defending ${himself}.`);
slave.devotion += 5;
slave.trust -= 10;
} else {
r.push(`Being frail and near helpless forces ${him} to <span class="devotion inc">heavily rely</span> on your mercy. It does nothing to stem <span class="trust dec">the terror</span> ${he} faces constantly knowing that whatever anyone wants to do to ${him}, there is nothing ${he} can do to stop it.`);
slave.devotion += 10;
slave.trust -= 25;
}
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function languageLearning(slave) {
let minWeeks;
if (slave.rules.speech === "restrictive") {
minWeeks = 30;
} else if (slave.rules.speech === "accent elimination") {
minWeeks = 15;
} else if (slave.rules.speech === "language lessons") {
minWeeks = 10;
} else {
minWeeks = 20;
}
minWeeks -= Math.trunc((slave.intelligence + slave.intelligenceImplant) / 10);
if (slave.voice === 0 || slave.lips > 95) {
// can't speak, but slowly picks up language
minWeeks += 30;
} else if (SlaveStatsChecker.checkForLisp(slave)) {
// moderate speech impediment
minWeeks += 15;
}
if (slave.accent === 4) {
minWeeks += 40;
}
if (slave.accent >= 4) {
if (V.week - slave.weekAcquired > minWeeks - 5) {
slave.accent -= 1;
if (slave.rules.speech === "language lessons") {
slave.rules.speech = "accent elimination";
}
if (slave.voice === 0 || slave.lips > 95) {
r.push(`${He} has managed to pick up enough ${V.language} that <span class="improvement">${he} could now barely get ${his} point across.</span> If ${he} were able to talk, that is.`);
} else {
r.push(`${He} has managed to pick up enough ${V.language} that <span class="improvement">${he} can now barely get ${his} point across.</span> ${His} accent is horrible, but it's a start.`);
}
}
} else if (slave.accent >= 3) {
if (V.week - slave.weekAcquired > minWeeks) {
slave.accent -= 1;
if (slave.voice === 0 || slave.lips > 95) {
r.push(`${He} has managed to pick up enough ${V.language} that <span class="improvement">${he}'s now able to understand most of what ${he} hears.</span>`);
} else {
r.push(`${He} has managed to pick up enough ${V.language} that <span class="improvement">${he}'s now reasonably fluent in the language.</span> ${His} accent is quite heavy, but ${he} can make ${himself} understood.`);
}
}
} else if (canTalk(slave)) {
if (slave.accent === 2) {
if (V.week - slave.weekAcquired > 5 + minWeeks) {
slave.accent -= 1;
r.push(`${He} has heard and spoken a great deal of ${V.language} as your slave. <span class="improvement">${His} accent has diminished to a pleasant exoticism.</span>`);
}
} else if (slave.accent === 1 && slave.rules.speech === "accent elimination") {
if (V.week - slave.weekAcquired > 10 + minWeeks) {
slave.accent -= 1;
r.push(`${He} does ${his} best to speak proper, unaccented ${V.language}, as encouraged by the rules. <span class="improvement">${His} accent has diminished to imperceptibility.</span>`);
}
}
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function prestige(slave) {
r.push(`Merely owning such a prestigious slave <span class="reputation inc">helps your reputation.</span>`);
repX((250 * slave.prestige), "prestigiousSlave", slave);
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function pornEffects(slave) {
if (slave.porn.prestige === 3) {
r.push(`${He} is the whore people envision when they think of ${slave.porn.fameType} porn. ${His} omnipresence on the internet <span class="reputation inc">boosts ${his} owner's reputation.</span>`);
repX((750 * slave.porn.prestige), "porn", slave);
const donations = Math.floor(slave.porn.viewerCount / (random(13, 20))) + (random(-5000, 5000));
if (donations > 0) {
r.push(`A number of gifts and donations totaling <span class="cash inc">${cashFormat(donations)}</span> were also sent to ${him}, among other things.`);
cashX(donations, "porn", slave);
}
} else if (slave.porn.feed > 0) {
r.push(App.SlaveAssignment.porn(slave));
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function ageAndExpiration(slave) {
if (V.seeAge !== 0) {
if (slave.birthWeek >= 51) {
r.push(`${His} birthday was this`);
if (V.seeAge === 1) {
r.push(`week; ${he} turned ${slave.physicalAge + 1}.`);
} else {
r.push(`week.`);
}
if (slave.fuckdoll > 0 || slave.fetish === "mindbroken") {
r.push(`${He} did not know.`);
} else if (slave.devotion > 50) {
r.push(`${He} did not notice.`);
} else if (V.week - slave.weekAcquired > 10) {
r.push(`${He} remembered it only dimly.`);
} else {
r.push(`${He} remembered it, but no one cared.`);
}
}
if (retirementReady(slave) && V.retiree === 0) {
V.retiree = slave.ID;
}
}
if (slave.indenture === 0 && V.expiree === 0) {
V.expiree = slave.ID;
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function pregnancyCheck(slave) {
if (slave.breedingMark === 1 && V.propOutcome === 1 && V.eugenicsFullControl !== 1) {
if (slave.preg > slave.pregData.normalBirth / 13.33 || slave.pregKnown === 1) {
if (slave.pregSource !== -1 && slave.pregSource !== -6) {
r.push(`${slave.slaveName}'s weekly health checkup revealed ${he} is pregnant with an unacceptable child. <span class="elites loss">Its life has been terminated, you have been fined ${cashFormat(100000)}, and your rep among the Elite has been severely damaged.</span>`);
TerminatePregnancy(slave);
actX(slave, "abortions");
cashX(-100000, "fines", slave);
V.failedElite += 150;
if (slave.abortionTat > -1) {
r.push(`But hey, ${he} gets a tattoo signifying ${his} abortion. Was it worth it?`);
slave.abortionTat++;
cashX(forceNeg(V.modCost), "slaveMod", slave);
}
}
}
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function mainLaborTriggers(slave) {
if (slave.pregControl !== "labor suppressors" && slave.assignment !== "labor in the production line") {
if (slave.broodmother < 1) {
if (WombBirthReady(slave, slave.pregData.normalBirth * 1.075) > 0) {
// check for really ready fetuses - 43 weeks - max, overdue
startLabor(slave);
} else if (WombBirthReady(slave, slave.pregData.normalBirth) > 0 && (random(1, 100) > 50)) {
// check for really ready fetuses - 40 weeks - normal
startLabor(slave);
} else if (WombBirthReady(slave, slave.pregData.normalBirth / 1.1111) > 0 && (random(1, 100) > 90)) {
// check for really ready fetuses - 36 weeks minimum
startLabor(slave);
}
} else {
if (WombBirthReady(slave, 37)) {
// broodmothers are always ready at 37 weeks
startLabor(slave);
}
}
}
if (V.dangerousPregnancy === 1 && !isInLabor(slave)) {
let miscarriage = 0;
if (((slave.assignment !== "work in the dairy" || V.dairyRestraintsSetting < 2) && slave.pregAdaptation < 500 && slave.broodmother < 1) || (slave.preg > slave.pregData.normalBirth / 2 && slave.womb.find((ft) => ft.genetics.geneticQuirks.polyhydramnios === 2))) {
let miscarriageChance = -10;
miscarriageChance += ((slave.bellyPreg / 1000) - slave.pregAdaptation);
// this could use to not be linear
if (slave.inflation > 0) {
miscarriageChance += 10;
}
miscarriageChance -= (slave.curatives === 1 ? 100 : 0);
if (slave.health.health < -20) {
miscarriageChance -= (slave.health.health);
if (slave.trust < -20) {
miscarriageChance -= (slave.trust / 2);
}
} else if (slave.health.health > 80) {
miscarriageChance -= (slave.health.health / 10);
}
if (slave.weight < -50) {
miscarriageChance -= slave.weight;
}
if (V.masterSuitePregnancySlaveLuxuries === 1 && (slave.assignment === "serve in the master suite" || slave.assignment === "be your Concubine")) {
miscarriageChance -= 300;
} else if (slave.assignment === "rest") {
miscarriageChance -= 100;
} else if (slave.assignment === "rest in the spa") {
miscarriageChance -= 50;
} else if (slave.assignment === "get treatment in the clinic") {
if (S.Nurse) {
miscarriageChance -= 200;
} else {
miscarriageChance -= 150;
}
}
if (slave.bellyAccessory === "a support band") {
miscarriageChance -= 30;
}
if (slave.pregControl === "slow gestation") {
miscarriageChance -= 100;
} else if (slave.pregControl === "labor suppressors") {
miscarriageChance -= 10000;
} else if (slave.pregControl === "speed up") {
if (miscarriageChance > 0) {
miscarriageChance *= 2;
}
}
if (slave.preg > slave.pregData.normalBirth / 2 && slave.womb.find((ft) => ft.genetics.geneticQuirks.polyhydramnios === 2)) {
if (slave.bellyPreg > 50000) {
miscarriageChance = 100;
}
}
miscarriageChance = Math.round(miscarriageChance);
if (miscarriageChance > random(0, 100)) {
const chance = random(1, 100);
if (slave.preg >= slave.pregData.normalBirth / 1.33) {
startLabor(slave);
miscarriage = 1;
} else if (slave.preg > slave.pregData.normalBirth / 1.48) {
slave.prematureBirth = 1;
startLabor(slave);
miscarriage = 1;
} else if (slave.preg > slave.pregData.normalBirth / 1.6 && chance > 10) {
slave.prematureBirth = 1;
startLabor(slave);
miscarriage = 1;
} else if (slave.preg > slave.pregData.normalBirth / 1.73 && chance > 40) {
slave.prematureBirth = 1;
startLabor(slave);
miscarriage = 1;
} else if (slave.preg > slave.pregData.normalBirth / 1.81 && chance > 75) {
slave.prematureBirth = 1;
startLabor(slave);
miscarriage = 1;
} else {
r.push(`${His} overwhelmed body has <span class="miscarriage">forced ${him} to miscarry,</span> possibly saving ${his} life.`);
slave.preg = (lastPregRule(slave, V.defaultRules)) ? -1 : 0;
if (slave.fuckdoll === 0 && slave.fetish !== "mindbroken") {
if (slave.sexualFlaw === "breeder") {
r.push(`${He} is <span class="devotion dec">filled with violent, all-consuming hatred</span> at ${himself} for failing to carry to term and you for allowing this to happen.`);
if (slave.pregType > 4) {
r.push(`The loss of so many children at once <span class="mindbreak">shatters the distraught breeder's mind.</span>`);
slave.fetish = "mindbroken";
slave.behavioralQuirk = "none";
slave.behavioralFlaw = "none";
slave.sexualQuirk = "none";
slave.sexualFlaw = "none";
slave.devotion = 0;
slave.trust = 0;
} else {
r.push(`${He} cares little for what punishment awaits ${his} actions.`);
slave.devotion -= 25 * slave.pregType;
}
} else if (slave.devotion < -50) {
r.push(`${He} is <span class="devotion dec">filled with violent, consuming hatred</span> and <span class="trust dec">fear.</span> Even though ${he} knew ${his}`);
if (slave.pregType > 1) {
r.push(`babies were`);
} else {
r.push(`baby was`);
}
r.push(`likely destined for a slave orphanage, it seems ${he} cared for`);
if (slave.pregType > 1) {
r.push(`them`);
} else {
r.push(`it`);
}
r.push(`and blames you for the loss.`);
slave.devotion -= 25;
slave.trust -= 25;
} else if (slave.devotion < -20) {
r.push(`${He} is <span class="devotion dec">afflicted by desperate, inconsolable grief</span> and <span class="trust dec">horror.</span> Even though ${he} knew ${his}`);
if (slave.pregType > 1) {
r.push(`babies were`);
} else {
r.push(`baby was`);
}
r.push(`likely destined for a slave orphanage, it seems ${he} cared for`);
if (slave.pregType > 1) {
r.push(`them.`);
} else {
r.push(`it.`);
}
slave.devotion -= 10;
slave.trust -= 20;
} else if (slave.fetish === "pregnancy") {
r.push(`${He} is <span class="devotion dec">filled with deep regret</span> and <span class="trust dec">fear.</span>`);
if (slave.fetishKnown === 1) {
r.push(`To a pregnancy fetishist, ending it like this hurts far worse than birth ever would.`);
} else {
r.push(`It appears ${he} was more attached to ${his} baby bump than ${he} let on and is hurting even more for it.`);
}
const fetishModifier = slave.fetishStrength / 2;
slave.devotion -= 1 * fetishModifier;
slave.trust -= 1 * fetishModifier;
} else if (slave.devotion <= 20) {
r.push(`${He} is <span class="devotion dec">consumed by enduring sorrow</span> and <span class="trust dec">horror.</span> Even though ${he} knew ${his}`);
if (slave.pregType > 1) {
r.push(`babies were`);
} else {
r.push(`baby was`);
}
r.push(`likely destined for a slave orphanage, it seems ${he} cared for`);
if (slave.pregType > 1) {
r.push(`them.`);
} else {
r.push(`it.`);
}
slave.devotion -= 5;
slave.trust -= 5;
} else if (slave.devotion <= 50) {
r.push(`${He} is dully obedient. ${He} has been broken to slave life so thoroughly that even this is neither surprising nor affecting.`);
} else {
r.push(`${He} is <span class="devotion dec">disappointed by this development</span> and <span class="trust dec">afraid</span> of your reaction. By failing to carry to term, ${he} has failed your will.`);
slave.devotion -= 10;
slave.trust -= 10;
}
}
TerminatePregnancy(slave);
actX(slave, "abortions");
if (slave.abortionTat > -1) {
slave.abortionTat++;
r.push(`The temporary tattoo of a child has been replaced with ${his} ${ordinalSuffix(slave.abortionTat)} crossed out infant.`);
cashX(forceNeg(V.modCost), "slaveMod", slave);
}
miscarriage = 1;
}
}
}
if (V.seeExtreme === 1) {
if (miscarriage !== 1 && slave.bellyPreg >= 100000 && slave.geneMods.rapidCellGrowth !== 1) {
// If she can't relieve the pressure that way, will she hold?
if (slave.bellyPreg >= 500000 || slave.wombImplant !== "restraint") {
if ((slave.belly > (slave.pregAdaptation * 3200)) || slave.bellyPreg >= 500000) {
let burstChance = -80;
burstChance += ((slave.belly / 1000) - slave.pregAdaptation);
// this could use to not be linear
if (slave.health.health < -20) {
burstChance -= (slave.health.health);
} else if (slave.health.health > 80) {
burstChance -= (slave.health.health / 10);
}
if (slave.weight < 0) {
burstChance -= slave.weight;
}
burstChance -= slave.bellySag;
burstChance -= slave.muscles;
if (slave.bellyAccessory === "a support band") {
burstChance -= 10;
}
if (slave.pregControl === "slow gestation") {
burstChance -= 20;
}
if (slave.assignment === "get treatment in the clinic") {
if (S.Nurse) {
burstChance -= 100;
} else {
burstChance -= 30;
}
} else if (slave.assignment === "work in the dairy" && V.dairyPregSetting === 3) {
burstChance -= 250;
}
if (slave.pregControl === "speed up") {
if (burstChance > 0) {
burstChance *= 4;
}
}
burstChance = Math.round(burstChance);
if (burstChance > random(0, 100)) {
burst(slave);
} else {
r.push(`Constant <span class="health dec">`);
if (slave.geneticQuirks.uterineHypersensitivity === 2) {
r.push(`painful orgasms`);
} else {
r.push(`sharp pains`);
}
r.push(`</span> from ${his} womb strongly suggest <span class="health dec">${his} body is beginning to break.</span>`);
}
}
}
}
}
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function slaveDeath(slave) {
let deathSeed;
if (burstCheck(slave)) {
V.burstee = 1;
} else {
if (slave.health.health <= -90 && slave.assignment !== "get treatment in the clinic") {
deathSeed = (slave.health.health - slave.physicalAge - (slave.chem * 2) - (slave.addict * 2));
if (slave.weight < -50 || slave.weight > 95) {
deathSeed -= 100;
}
if (slave.weight > 190) {
deathSeed -= 100;
}
if (slave.aphrodisiacs > 0) {
deathSeed -= (75 * slave.aphrodisiacs);
}
if (slave.inflationType === "aphrodisiac") {
deathSeed -= (100 * slave.inflation);
}
if (slave.curatives === 1) {
deathSeed += 200;
}
if (random(1, 1000) > (400 + deathSeed)) {
planDeath(slave, "health");
}
if ((slave.aphrodisiacs > 0 || slave.inflationType === "aphrodisiac") && random(1, 1000) > (200 + deathSeed)) {
planDeath(slave, "OD");
}
}
if (V.seeAge === 1) {
deathSeed = ((slave.health.health * 2) - (slave.physicalAge * 2) - (slave.chem * 4) - (slave.addict * 3));
if (slave.physicalAge >= Math.max((70 + (slave.health.health / 5) - (slave.addict) - (slave.chem / 20)), 50) && random(1, 1000) > 800 + deathSeed) {
planDeath(slave, "old");
}
}
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function hairGrowth(slave) {
if (slave.hLength < 150) {
slave.hLength += 1;
}
}
/**
* @param {App.Entity.SlaveState} slave
* @param {number} oldEnergy
*/
function anaphrodisiacEffects(slave, oldEnergy) {
const maxEnergyGain = Math.round((75 - oldEnergy) / 9.3);
if (slave.aphrodisiacs === -1 && slave.energy - oldEnergy > maxEnergyGain) {
r.push(`Anaphrodisiacs <span class="stat drop">limit ${his} sex drive.</span>`);
slave.energy = oldEnergy + maxEnergyGain;
}
}
})();
|
MonsterMate/fc
|
src/endWeek/saLongTermEffects.js
|
JavaScript
|
mit
| 115,111
|
App.SlaveAssignment.longTermMentalEffects = (function() {
"use strict";
let r;
// eslint-disable-next-line no-unused-vars
let he, him, his, hers, himself, girl, loli, He, His, wife;
let boobSize;
return saLongTermMentalEffects;
/**
* @param {App.Entity.SlaveState} slave
* @returns {string}
*/
function saLongTermMentalEffects(slave) {
r = [];
boobSize = slave.boobs - slave.boobsImplant - slave.boobsMilk;
App.EndWeek.saVars.paraphiliaSatisfied = 0; // TODO: once this is resetting properly, remove it from here
({
// eslint-disable-next-line no-unused-vars
he, him, his, hers, himself, girl, He, His, loli, wife
} = getPronouns(slave));
if (slave.fetish === "mindbroken") {
mindbroken(slave);
} else if (slave.fuckdoll === 0) {
asexualOvariesBurnout(slave);
sexualAttraction(slave);
if (slave.behavioralQuirk !== "none") {
behavioralQuirkEffects(slave);
}
if (slave.sexualQuirk !== "none") {
sexualQuirkEffects(slave);
}
if (slave.fetishKnown === 1) {
fetishEffects(slave);
}
if (slave.behavioralFlaw !== "none") { // Moved out of .fetishKnown for the devout block to be more prominent.
behavioralFlawEffects(slave);
}
if (slave.sexualFlaw !== "none") {
sexualFlawEffects(slave);
paraphiliaImpacts(slave);
}
if (slave.energy > 95) {
nymphoDevotionGain(slave);
}
careerEffects(slave);
}
r.push(App.SlaveAssignment.saSmartPiercingEffects(slave));
if (slave.fetish !== "mindbroken" && slave.fuckdoll === 0) {
organicFetishDevelopments(slave);
if (slave.fetishKnown !== 0 && slave.fetish !== "none") {
paraphiliaAcquisition(slave);
}
}
return r.join(" ");
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function mindbroken(slave) {
// Resets slave mental state week to week.
slave.fetishStrength = 10;
slave.attrXY = 50;
slave.attrXX = 50;
slave.attrKnown = 1;
slave.devotion = 40;
slave.trust = -40;
slave.skill.vaginal = Math.clamp(slave.skill.vaginal, 0, 15);
slave.skill.oral = Math.clamp(slave.skill.oral, 0, 15);
slave.skill.anal = Math.clamp(slave.skill.anal, 0, 15);
slave.skill.combat = 0;
slave.skill.whoring = 0;
slave.skill.entertainment = 0;
slave.intelligence = -75;
slave.intelligenceImplant = 0;
slave.sexualFlaw = "none";
slave.sexualQuirk = "none";
slave.behavioralFlaw = "none";
slave.behavioralQuirk = "none";
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function asexualOvariesBurnout(slave) {
if (slave.ovaImplant === "asexual" && isFertile(slave) && (slave.preg === 0 || (slave.preg >= 0 && slave.geneticQuirks.superfetation === 2))) {
r.push(`The frequent internal ejaculations and accompanying climaxes brought about by ${his} ovarian modifications keeps ${him} sexually sated.`);
if (slave.energy >= 10 && (slave.attrXY >= 10 || slave.attrXX >= 10)) {
r.push(`However, the constant self-gratification <span class="stat drop">both damages what ${he} finds attractive and leaves sex less satisfying.</span>`);
slave.energy -= 10;
slave.attrXY = Math.clamp(slave.attrXY - 10, 0, 100);
slave.attrXX = Math.clamp(slave.attrXX - 10, 0, 100);
} else if (slave.energy >= 10) {
r.push(`However, the constant self-gratification <span class="stat drop">leaves sex less satisfying.</span>`);
slave.energy -= 10;
} else if (slave.attrXY >= 10 || slave.attrXX >= 10) {
r.push(`However, the constant self-gratification <span class="stat drop">twists what ${he} finds attractive.</span>`);
slave.attrXY = Math.clamp(slave.attrXY - 10, 0, 100);
slave.attrXX = Math.clamp(slave.attrXX - 10, 0, 100);
}
slave.need = 0;
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function sexualAttraction(slave) {
let t = [];
if (slave.attrXY <= 35) {
if (slave.energy >= 20) {
if (slave.fetish === "submissive") {
if (slave.fetishKnown === 1) {
t.push(`Recently, ${he}'s been fantasizing about submitting to big strong men. ${His} revulsion at the idea of sex with a man <span class="positive">mellows.</span>`);
}
slave.attrXY += 3;
} else if (slave.fetish === "buttslut") {
if (slave.fetishKnown === 1) {
t.push(`Recently, ${he}'s been reconsidering ${his} reluctance to be sodomized by a man. ${His} revulsion at the idea of sex with a man <span class="positive">mellows.</span>`);
}
slave.attrXY += 3;
} else if (slave.fetish === "pregnancy") {
if (slave.fetishKnown === 1) {
t.push(`Recently, ${he}'s been fantasizing about getting knocked up. ${His} revulsion at the idea of sex with a man <span class="positive">mellows.</span>`);
}
slave.attrXY += 3;
}
if (slave.behavioralQuirk === "adores men") {
t.push(`${He} enjoys spending time with men, and starts to <span class="positive">reconsider ${his} unwillingness to be fucked by men.</span>`);
slave.attrXY += 3;
}
if (slave.dick > 0) {
if (slave.energy >= 40) {
if (slave.counter.anal > 0 && canDoAnal(slave)) {
t.push(`Every time ${he} cums with a dick up ${his} ass, ${his} <span class="positive">resistance to sex with men is worn away.</span>`);
slave.attrXY += 3;
}
}
}
if (slave.devotion > random(1, 100)) {
t.push(`The atmosphere in your arcology is so ubiquitously sexual that ${he} <span class="positive">reconsiders ${his} unwillingness to have sex with men.</span>`);
slave.attrXY += 3;
}
} else {
t.push(`${His} weak libido limits natural development of ${his} sexuality.`);
}
if (slave.devotion >= -20) {
if (slave.genes === "XY") {
switch (random(1, 5)) {
case 1:
if (slave.nosePiercing) {
t.push(`${He}'s fascinated by ${his}`);
if (slave.nosePiercing > 1) {
t.push(`slutty nose piercings, and unconsciously thinks of ${himself} as <span class="positive">prettier and more suited to take dick.</span>`);
} else {
t.push(`nice little nasal piercing, and feels like <span class="positive">more of a girly girl.</span>`);
}
slave.attrXY += 1;
}
break;
case 2:
if (slave.eyebrowPiercing) {
t.push(`${His}`);
if (slave.eyebrowPiercing > 1) {
t.push(`degrading eyebrow piercings make ${him} feel <span class="positive">a little less disinclined to accept being on the bottom.</span>`);
} else {
t.push(`cute eyebrow piercing makes ${him} feel <span class="positive">a little girlier.</span>`);
}
slave.attrXY += 1;
}
break;
case 3:
if (slave.lipsPiercing) {
t.push(`${He} kind of likes ${his} `);
if (slave.lipsPiercing > 1) {
t.push(`whorish lip ring, and seems <span class="positive">less disturbed by the idea of ${his} mouth as a fuckhole.</span>`);
} else {
t.push(`pretty little lip piercing, and feels like <span class="positive">${he} has a nice mouth.</span>`);
}
slave.attrXY += 1;
}
break;
case 4:
if (slave.navelPiercing) {
t.push(`${He} sometimes`);
if (canSee(slave)) {
t.push(`stares at`);
} else {
t.push(`considers`);
}
t.push(`${his}`);
if (slave.navelPiercing > 1) {
t.push(`navel chain, turning this way and that to make it move, unconsciously <span class="positive">getting used to ${his} fuckable body.</span>`);
} else {
t.push(`little feminine navel piercing, and seems to think <span class="positive">${his} lower half is kind of pretty.</span>`);
}
slave.attrXY += 1;
}
break;
case 5:
if (slave.earPiercing) {
if (canSee(slave)) {
t.push(`Every morning, ${he}'s greeted by ${his} girly reflection in the mirror,`);
if (slave.earPiercing > 1) {
t.push(`whose slutty ear piercings make ${him} <span class="positive">feel more fuckable.</span>`);
} else {
t.push(`complete with pretty pierced ears <span class="positive">like a good slave girl.</span>`);
}
} else {
t.push(`${His} girly pierced ears make ${him} feel `);
if (slave.earPiercing > 1) {
t.push(`<span class="positive">like a hot slut.</span>`);
} else {
t.push(`<span class="positive">like a cute girl.</span>`);
}
}
slave.attrXY += 1;
}
break;
}
}
}
} else if (slave.attrXY <= 65) {
if (slave.energy >= 40) {
if (slave.fetish === "submissive") {
if (slave.fetishKnown === 1) {
t.push(`${He}'s found ${himself} enjoying watching big strong men use other slaves recently. ${He}'s now <span class="positive">more attracted to men.</span>`);
}
slave.attrXY += 3;
} else if (slave.fetish === "buttslut") {
if (slave.fetishKnown === 1) {
t.push(`${He}'s started fantasizing about cocks being shoved up ${his} butt even when there are no cocks being shoved up ${his} butt. ${He}'s now <span class="positive">more attracted to men.</span>`);
}
slave.attrXY += 3;
} else if (slave.fetish === "pregnancy") {
if (slave.fetishKnown === 1) {
t.push(`${His} fantasies about pregnancy have become quite vivid; ${he} loves hot cum jetting into ${him}. ${He}'s now <span class="positive">more attracted to men.</span>`);
}
slave.attrXY += 3;
}
if (slave.behavioralQuirk === "adores men") {
t.push(`${He} enjoys spending time with men, and is now <span class="positive">more attracted to men.</span>`);
slave.attrXY += 3;
}
if (slave.dick > 0) {
if (slave.energy >= 60) {
if (slave.counter.anal > 0) {
t.push(`Every time ${he} cums to the feeling of a cock thrusting deep inside ${him}, ${his} <span class="positive">indifference to men is reduced.</span>`);
slave.attrXY += 3;
}
}
}
if (slave.devotion > random(1, 200)) {
t.push(`The atmosphere in your arcology is so ubiquitously sexual that ${he} has become <span class="positive">more attracted to men.</span>`);
slave.attrXY += 3;
}
} else {
t.push(`${His} poor sex drive limits natural development of ${his} sexuality.`);
}
} else if (slave.attrXY <= 85) {
if (slave.energy >= 60) {
if (slave.fetish === "submissive") {
if (slave.fetishKnown === 1) {
t.push(`${He} can no longer see a man without fantasizing about how it would feel if he held ${him} down. ${He}'s now <span class="positive">more aroused by men.</span>`);
}
slave.attrXY += 3;
} else if (slave.fetish === "buttslut") {
if (slave.fetishKnown === 1) {
t.push(`${He} can't see a man without doing ${his} best to get his hard cock inside ${him}. ${He}'s now <span class="positive">more aroused by men.</span>`);
}
slave.attrXY += 3;
} else if (slave.fetish === "pregnancy") {
if (slave.fetishKnown === 1) {
t.push(`${He} can't see a man without doing ${his} best to get his hot seed into ${his} body. ${He}'s now <span class="positive">more aroused by men.</span>`);
}
slave.attrXY += 3;
}
if (slave.dick > 0) {
if (slave.energy >= 80) {
if (slave.counter.anal > 0) {
t.push(`${He} often starts to climax as a cock begins to push inside ${him}, <span class="positive">deepening ${his} appetite for men.</span>`);
slave.attrXY += 3;
}
}
}
if (slave.behavioralQuirk === "adores men") {
t.push(`${He} enjoys spending time with men so much that any interaction becomes flirtation; ${he}'s now <span class="positive">more aroused by men.</span>`);
slave.attrXY += 3;
}
} else {
t.push(`${His} average libido limits further natural development of ${his} sexuality.`);
}
} else {
if (slave.energy < 40) {
t.push(`${His} low sex drive <span class="stat drop">reduces ${his} extreme attraction to men.</span>`);
slave.attrXY -= 5;
}
}
if (slave.attrXX <= 35) {
if (slave.energy >= 20) {
if (slave.fetish === "dom") {
if (slave.fetishKnown === 1) {
t.push(`Recently, ${he}'s been fantasizing about how it would feel to force ${himself} on some of the cute women all around ${him}. ${His} revulsion at the idea of sex with a woman <span class="positive">mellows.</span>`);
}
slave.attrXX += 3;
} else if (slave.fetish === "sadist") {
if (slave.fetishKnown === 1) {
t.push(`Recently, ${he}'s been fantasizing about how it would feel to abuse a weak female slave. ${His} revulsion at the idea of sex with a woman <span class="positive">mellows.</span>`);
}
slave.attrXX += 3;
} else if (slave.fetish === "boobs") {
if (slave.fetishKnown === 1) {
t.push(`Recently, ${he}'s been fantasizing about other girls' tits. ${His} revulsion at the idea of sex with a woman <span class="positive">mellows.</span>`);
}
slave.attrXX += 3;
}
if (slave.behavioralQuirk === "adores women") {
t.push(`${He} enjoys spending time with women, and starts to <span class="positive">reconsider ${his} unwillingness to have sex with a woman.</span>`);
slave.attrXX += 3;
}
if (canAchieveErection(slave)) {
if (slave.energy >= 40) {
if (slave.counter.penetrative > 0) {
t.push(`Getting to fuck another girl is rare and special, and ${he} <span class="positive">starts to value getting to have sex with women.</span>`);
slave.attrXY += 3;
}
}
}
if (slave.devotion > random(1, 100)) {
t.push(`The atmosphere in your arcology is so ubiquitously sexual that ${he} <span class="positive">reconsiders ${his} unwillingness to have sex with women.</span>`);
slave.attrXX += 3;
}
} else {
if (slave.attrXX > 35) {
t.push(`${His} weak libido limits natural development of ${his} sexuality.`);
}
}
} else if (slave.attrXX <= 65) {
if (slave.energy >= 40) {
if (slave.fetish === "dom") {
if (slave.fetishKnown === 1) {
t.push(`${He}'s found ${himself} enjoying the`);
if (canSee(slave)) {
t.push(`sight`);
} else {
t.push(`idea`);
}
t.push(`of female slaves being forced to fuck recently. ${He}'s now <span class="positive">more attracted to women.</span>`);
}
slave.attrXX += 3;
} else if (slave.fetish === "sadist") {
if (slave.fetishKnown === 1) {
t.push(`${He}'s started fantasizing about how a girl might feel, struggling to get away from ${him}. ${He}'s now <span class="positive">more attracted to women.</span>`);
}
slave.attrXX += 3;
} else if (slave.fetish === "boobs") {
if (slave.fetishKnown === 1) {
t.push(`${His} fantasies about boobs have become quite vivid. ${He}'s now <span class="positive">more attracted to women.</span>`);
}
slave.attrXX += 3;
}
if (slave.behavioralQuirk === "adores women") {
t.push(`${He} enjoys spending time with women, and is now <span class="positive">more attracted to women.</span>`);
slave.attrXX += 3;
}
if (canAchieveErection(slave)) {
if (slave.energy >= 60) {
if (slave.counter.penetrative > 0) {
t.push(`<span class="positive">${His} indifference to women</span> is worn down on the special occasions that ${he}'s allowed to stick ${his} dick in one.`);
slave.attrXY += 3;
}
}
}
if (slave.devotion > random(1, 200)) {
t.push(`The atmosphere in your arcology is so ubiquitously sexual that ${he} has become <span class="positive">more attracted to women.</span>`);
slave.attrXX += 3;
}
} else {
if (slave.attrXX > 65) {
t.push(`${His} poor sex drive limits natural development of ${his} sexuality.`);
}
}
} else if (slave.attrXX <= 85) {
if (slave.energy >= 60) {
if (slave.fetish === "dom") {
if (slave.fetishKnown === 1) {
t.push(`${He} can't see a woman without plotting to dominate her. ${He}'s now <span class="positive">more aroused by women.</span>`);
}
slave.attrXX += 3;
} else if (slave.fetish === "sadist") {
if (slave.fetishKnown === 1) {
t.push(`${He} can't see a woman without doing ${his} best to find a way the rules will allow ${him} to abuse the poor girl. ${He}'s now <span class="positive">more aroused by women.</span>`);
}
slave.attrXX += 3;
} else if (slave.fetish === "boobs") {
if (slave.fetishKnown === 1) {
t.push(`${He} can't see a woman without doing ${his} best to get ${his}`);
if (!hasAnyArms(slave)) {
t.push(`face between`);
} else {
if (hasBothArms(slave)) {
t.push(`hands`);
} else {
t.push(`hand`);
}
t.push(`on`);
}
t.push(`her breasts. ${He}'s now <span class="positive">more aroused by women.</span>`);
}
slave.attrXX += 3;
} else if (slave.fetish === "pregnancy" && canAchieveErection(slave)) {
if (slave.fetishKnown === 1) {
t.push(`${He} can't see a woman without plotting to plant ${his} seed in her womb. ${He}'s now <span class="positive">more aroused by women.</span>`);
}
slave.attrXX += 3;
}
if (slave.behavioralQuirk === "adores women") {
t.push(`${He} enjoys spending time with women so much that any interaction becomes flirtation; ${he}'s now <span class="positive">more aroused by women.</span>`);
slave.attrXX += 3;
}
if (canAchieveErection(slave)) {
if (slave.energy >= 80) {
if (slave.counter.penetrative > 0) {
t.push(`${He} cherishes the special occasions on which ${he} gets to cum inside a girl, <span class="positive">building ${his} appetite for women.</span>`);
slave.attrXY += 3;
}
}
}
} else {
if (slave.attrXX > 85) {
t.push(`${His} average libido limits further natural development of ${his} sexuality.`);
}
}
} else {
if (slave.energy < 40) {
t.push(`${His} low sex drive <span class="stat drop">reduces ${his} extreme attraction to women.</span>`);
slave.attrXX -= 5;
}
}
if (slave.energy > 95) {
if (slave.attrXX < 100) {
if (slave.attrXY < 100) {
t.push(`${His} nymphomania has a slow but inexorable impact on ${his} sexuality, <span class="positive">increasing ${his} attraction to everyone.</span>`);
slave.attrXY += 3;
slave.attrXX += 3;
} else {
t.push(`${His} nymphomania has a slow but inexorable impact on ${his} sexuality, <span class="positive">increasing ${his} lust for pussy,</span> since ${he}'s already crazy about guys.`);
slave.attrXX += 3;
}
} else if (slave.attrXY < 100) {
t.push(`${His} nymphomania has a slow but inexorable impact on ${his} sexuality, <span class="positive">increasing ${his} need for cock,</span> since ${he}'s already crazy about the ladies.`);
slave.attrXY += 3;
}
}
if (slave.attrKnown === 1) {
r.push(t.join(' '));
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function behavioralQuirkEffects(slave) {
if (slave.behavioralFlaw !== "none") {
switch (slave.behavioralFlaw) {
case "arrogant":
if (slave.behavioralQuirk === "confident") {
slave.behavioralFlaw = "none";
}
break;
case "bitchy":
if (slave.behavioralQuirk === "cutting") {
slave.behavioralFlaw = "none";
}
break;
case "odd":
if (slave.behavioralQuirk === "funny") {
slave.behavioralFlaw = "none";
}
break;
case "hates men":
if (slave.behavioralQuirk === "adores women") {
slave.behavioralFlaw = "none";
}
break;
case "hates women":
if (slave.behavioralQuirk === "adores men") {
slave.behavioralFlaw = "none";
}
break;
case "gluttonous":
if (slave.behavioralQuirk === "fitness") {
slave.behavioralFlaw = "none";
}
break;
case "anorexic":
if (slave.behavioralQuirk === "insecure") {
slave.behavioralFlaw = "none";
}
break;
case "devout":
if (slave.behavioralQuirk === "sinful") {
slave.behavioralFlaw = "none";
}
break;
case "liberated":
if (slave.behavioralQuirk === "advocate") {
slave.behavioralFlaw = "none";
}
break;
}
}
if (slave.behavioralQuirk === "fitness") {
if (slave.energy < 70) {
r.push(`${His} physical overachievement and ${his} growing athletic prowess <span class="positive">increase ${his} sex drive.</span>`);
slave.energy += 1;
}
}
if (slave.fetishStrength <= 95) {
switch (slave.behavioralQuirk) {
case "confident":
if (slave.fetish === "dom") {
if (slave.fetishKnown === 1) {
r.push(`${His} confidence and poise <span class="fetish inc">increase ${his} dominance.</span>`);
}
slave.fetishStrength += 4;
}
break;
case "cutting":
if (slave.fetish === "dom") {
if (slave.fetishKnown === 1) {
r.push(`${His} willingness to cut a partner down <span class="fetish inc">increases ${his} dominance.</span>`);
}
slave.fetishStrength += 4;
}
break;
case "funny":
if (slave.fetish === "masochist") {
if (slave.fetishKnown === 1) {
r.push(`Using pain as an outlet for all the mental troubles lurking behind ${his} funny façade <span class="fetish inc">increases ${his} masochism.</span>`);
}
slave.fetishStrength += 4;
}
break;
case "adores men":
if (slave.fetish === "pregnancy") {
if (slave.fetishKnown === 1) {
r.push(`${His} love of male company has <span class="fetish inc">advanced ${his} pregnancy fetish.</span>`);
}
slave.fetishStrength += 4;
}
break;
case "adores women":
if (slave.fetish === "boobs") {
if (slave.fetishKnown === 1) {
r.push(`${His} love of female company has <span class="fetish inc">advanced ${his} boob fetish.</span>`);
}
slave.fetishStrength += 4;
}
break;
case "insecure":
if (slave.fetish === "submissive") {
if (slave.fetishKnown === 1) {
r.push(`${His} desperation for validation from others <span class="fetish inc">increases ${his} submission.</span>`);
}
slave.fetishStrength += 4;
}
break;
case "sinful":
if (slave.fetish === "humiliation") {
if (slave.fetishKnown === 1) {
r.push(`${His} delight at sin <span class="fetish inc">increases ${his} appetite for humiliation.</span>`);
}
slave.fetishStrength += 4;
}
break;
case "advocate":
if (slave.fetish === "submissive") {
if (slave.fetishKnown === 1) {
r.push(`${His} conviction that slavery is right <span class="fetish inc">increases ${his} willingness to submit.</span>`);
}
slave.fetishStrength += 4;
}
break;
}
if (slave.clitPiercing !== 3) {
if (fetishChangeChance(slave) > random(0, 100)) {
switch (slave.behavioralQuirk) {
case "confident":
if (slave.fetish !== "dom") {
r.push(`${His} confidence and poise affect ${his} sexual outlook. <span class="fetish gain">${He}'s now a dom!</span>`);
slave.fetish = "dom";
slave.fetishKnown = 1;
slave.fetishStrength = 65;
}
break;
case "cutting":
if (slave.fetish !== "sadist") {
r.push(`${His} willingness to cut a partner down makes ${him} more aggressive in bed. <span class="fetish gain">${He}'s now a sadist!</span>`);
slave.fetish = "sadist";
slave.fetishKnown = 1;
slave.fetishStrength = 65;
}
break;
case "funny":
if (slave.fetish !== "masochist") {
r.push(`Pain becomes an outlet for all the mental troubles lurking behind ${his} funny façade. <span class="fetish gain">${He}'s now a masochist!</span>`);
slave.fetish = "masochist";
slave.fetishKnown = 1;
slave.fetishStrength = 65;
}
break;
case "adores men":
if (slave.fetish !== "pregnancy" && (slave.ovaries === 1 || slave.mpreg === 1)) {
r.push(`${His} appreciation of men has turned into a fantasy about getting knocked up. <span class="fetish gain">${He}'s a pregnancy fetishist!</span>`);
slave.fetish = "pregnancy";
slave.fetishKnown = 1;
slave.fetishStrength = 65;
} else if (slave.fetish !== "cumslut") {
r.push(`${His} appreciation of men has turned into a fetish for cocks, balls and, more importantly, what comes out of them. <span class="fetish gain">${He}'s now a cum fetishist!</span>`);
slave.fetish = "cumslut";
slave.fetishKnown = 1;
slave.fetishStrength = 65;
}
break;
case "adores women":
if (slave.fetish !== "pregnancy" && canPenetrate(slave)) {
r.push(`${His} appreciation of women has turned into a fantasy about knocking them up. <span class="fetish gain">${He}'s an impregnation fetishist!</span>`);
slave.fetish = "pregnancy";
slave.fetishKnown = 1;
slave.fetishStrength = 65;
} else if (slave.fetish !== "boobs") {
r.push(`${His} appreciation of women has turned into a fetish for breasts. <span class="fetish gain">${He}'s a boob fetishist!</span>`);
slave.fetish = "boobs";
slave.fetishKnown = 1;
slave.fetishStrength = 65;
}
break;
case "insecure":
if (slave.fetish !== "submissive") {
r.push(`${He} gets so desperate for validation from others that ${he} becomes willing to submit to anything. <span class="fetish gain">${He}'s now a submissive!</span>`);
slave.fetish = "submissive";
slave.fetishKnown = 1;
slave.fetishStrength = 65;
}
break;
case "sinful":
if (slave.fetish !== "humiliation") {
r.push(`${He} learns that ${he} likes nothing better than being seen doing something sacrilegious. <span class="fetish gain">${He}'s now a humiliation fetishist!</span>`);
slave.fetish = "humiliation";
slave.fetishKnown = 1;
slave.fetishStrength = 65;
}
break;
case "advocate":
if (slave.fetish !== "submissive") {
r.push(`${His} conviction that slavery is right seeps into ${his} sexuality. <span class="fetish gain">${He}'s now a submissive!</span>`);
slave.fetish = "submissive";
slave.fetishKnown = 1;
slave.fetishStrength = 65;
}
break;
}
}
}
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function sexualQuirkEffects(slave) {
if (slave.sexualFlaw !== "none") {
switch (slave.sexualFlaw) {
case "hates oral":
if (slave.sexualQuirk === "gagfuck queen") {
slave.sexualFlaw = "none";
}
break;
case "hates anal":
if (slave.sexualQuirk === "painal queen") {
slave.sexualFlaw = "none";
}
break;
case "hates penetration":
if (slave.sexualQuirk === "strugglefuck queen") {
slave.sexualFlaw = "none";
}
break;
case "shamefast":
if (slave.sexualQuirk === "tease") {
slave.sexualFlaw = "none";
}
break;
case "idealistic":
if (slave.sexualQuirk === "romantic") {
slave.sexualFlaw = "none";
}
break;
case "repressed":
if (slave.sexualQuirk === "perverted") {
slave.sexualFlaw = "none";
}
break;
case "apathetic":
if (slave.sexualQuirk === "caring") {
slave.sexualFlaw = "none";
}
break;
case "crude":
if (slave.sexualQuirk === "unflinching") {
slave.sexualFlaw = "none";
}
break;
case "judgemental":
if (slave.sexualQuirk === "size queen") {
slave.sexualFlaw = "none";
}
break;
}
}
if (slave.fetishStrength <= 95) {
switch (slave.sexualQuirk) {
case "gagfuck queen":
if (slave.fetish === "cumslut") {
if (slave.fetishKnown === 1) {
r.push(`${His} eagerness to get roughly throatfucked has <span class="fetish inc">advanced ${his} oral fixation.</span>`);
}
slave.fetishStrength += 4;
}
break;
case "painal queen":
if (slave.fetish === "buttslut") {
if (slave.fetishKnown === 1) {
r.push(`${His} eagerness to get roughly assfucked has <span class="fetish inc">advanced ${his} anal fixation.</span>`);
}
slave.fetishStrength += 4;
}
break;
case "strugglefuck queen":
if (slave.fetish === "masochist") {
if (slave.fetishKnown === 1) {
r.push(`${His} eagerness to get roughly fucked has <span class="fetish inc">advanced ${his} masochism.</span>`);
}
slave.fetishStrength += 4;
}
break;
case "tease":
if (slave.fetish === "humiliation") { // swap me to exhib
if (slave.fetishKnown === 1) {
r.push(`The rush ${he} feels when ${he} shows ${himself} off has <span class="fetish inc">advanced ${his} humiliation fetish.</span>`);
}
slave.fetishStrength += 4;
}
break;
case "romantic":
if (slave.fetish === "pregnancy") {
if (slave.fetishKnown === 1) {
r.push(`${His} romanticism has <span class="fetish inc">advanced ${his} reproduction fetish.</span>`);
}
slave.fetishStrength += 4;
}
break;
case "perverted":
if (slave.fetish === "humiliation") {
if (slave.fetishKnown === 1) {
r.push(`${His} desire to be seen doing the forbidden has <span class="fetish inc">advanced ${his} humiliation fetish.</span>`);
}
slave.fetishStrength += 4;
}
if (slave.energy < 94) {
r.push(`${He}'s such a pervert that the depravity all around ${him} <span class="green">improves ${his} sex drive.</span>`);
slave.energy += 1;
}
break;
case "caring":
if (slave.fetish === "submissive") {
if (slave.fetishKnown === 1) {
r.push(`${His} caring nature has <span class="fetish inc">advanced ${his} submissiveness.</span>`);
}
slave.fetishStrength += 4;
}
break;
case "unflinching":
if (slave.fetish === "masochist") {
if (slave.fetishKnown === 1) {
r.push(`${His} unflinching nature has <span class="fetish inc">advanced ${his} masochism.</span>`);
}
slave.fetishStrength += 4;
}
break;
case "size queen":
if (slave.fetish === "buttslut") {
if (slave.fetishKnown === 1) {
r.push(`${His} size queen tendencies have <span class="fetish inc">advanced ${his} devotion to being an anal slut.</span>`);
}
slave.fetishStrength += 4;
}
break;
}
if (slave.clitPiercing !== 3) {
if (fetishChangeChance(slave) > random(0, 100)) {
switch (slave.sexualQuirk) {
case "gagfuck queen":
if (slave.fetish !== "cumslut") {
r.push(`${His} willingness to get roughly throatfucked has turned into real anticipation. <span class="fetish gain">${He}'s now a cumslut!</span>`);
slave.fetish = "cumslut";
slave.fetishKnown = 1;
slave.fetishStrength = 65;
}
break;
case "painal queen":
if (slave.fetish !== "buttslut") {
r.push(`${His} willingness to get roughly assfucked has turned into real anticipation. <span class="fetish gain">${He}'s now a buttslut!</span>`);
slave.fetish = "buttslut";
slave.fetishKnown = 1;
slave.fetishStrength = 65;
}
break;
case "strugglefuck queen":
if (slave.fetish !== "masochist") {
r.push(`${His} willingness to be roughly used has turned into real anticipation. <span class="fetish gain">${He}'s now a masochist!</span>`);
slave.fetish = "masochist";
slave.fetishKnown = 1;
slave.fetishStrength = 65;
}
break;
case "tease":
if (slave.fetish !== "humiliation") { // exhib
r.push(`The rush ${he} feels when ${he} shows ${himself} off has deepened into a fetish for being publicly fucked. <span class="fetish gain">${He}'s a humiliation fetishist!</span>`);
slave.fetish = "humiliation";
slave.fetishKnown = 1;
slave.fetishStrength = 65;
}
break;
case "romantic":
if (slave.fetish !== "pregnancy") {
r.push(`${His} romantic bent has turned into a fantasy about settling down and having a child. <span class="fetish gain">${He}'s a pregnancy fetishist!</span>`);
slave.fetish = "pregnancy";
slave.fetishKnown = 1;
slave.fetishStrength = 65;
}
break;
case "perverted":
if (slave.fetish !== "humiliation") {
r.push(`${His} perverted side has turned into a desire to be seen doing the forbidden. <span class="fetish gain">${He}'s a humiliation fetishist!</span>`);
slave.fetish = "humiliation";
slave.fetishKnown = 1;
slave.fetishStrength = 65;
}
break;
case "caring":
if (slave.fetish !== "submissive") {
r.push(`${His} caring nature has matured into a need to submit. <span class="fetish gain">${He}'s a submissive!</span>`);
slave.fetish = "submissive";
slave.fetishKnown = 1;
slave.fetishStrength = 65;
}
break;
case "unflinching":
if (slave.fetish !== "masochist") {
r.push(`${He}'s so unflinching that ${he}'s left searching for sex extreme enough to excite ${him}. <span class="fetish gain">${He}'s a masochist!</span>`);
slave.fetish = "masochist";
slave.fetishKnown = 1;
slave.fetishStrength = 65;
}
break;
case "size queen":
if (slave.fetish !== "buttslut") {
r.push(`${He}'s such a size queen that ${he}'s decided ${he} prefers dicks where they'll feel biggest to ${him}. <span class="fetish gain">${He}'s a buttslut!</span>`);
slave.fetish = "buttslut";
slave.fetishKnown = 1;
slave.fetishStrength = 65;
}
break;
}
}
}
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function fetishEffects(slave) {
if (slave.fetish !== "none") {
if (slave.fetishStrength <= 75) {
if (slave.devotion > 50) {
if (slave.trust > 50) {
r.push(`${He} has the confidence to pursue what pleases ${him}, <span class="fetish inc">increasing ${his} kinkiness.</span>`);
slave.fetishStrength += 4;
}
}
}
if (slave.fetishStrength > 10) {
if (slave.trust < -20) {
r.push(`${He}'s too afraid to pursue what pleases ${him}, <span class="fetish loss">reducing ${his} sexual distinctiveness.</span>`);
slave.fetishStrength -= 4;
} else if (slave.devotion < -20) {
r.push(`${He}'s so unhappy with ${his} life as a sex slave that <span class="fetish loss">${his} interest in unusual sex decreases.</span>`);
slave.fetishStrength -= 4;
} else if (slave.trust <= 50) {
r.push(`${He} lacks the confidence to pursue what pleases ${him}, <span class="fetish loss">reducing ${his} kinkiness.</span>`);
slave.fetishStrength -= 2;
} else if (slave.devotion <= 50) {
r.push(`${He}'s not fully comfortable being a sex slave, <span class="fetish loss">reducing ${his} interest in kinky sex.</span>`);
slave.fetishStrength -= 2;
}
if (slave.fetish === "buttslut") {
if (slave.prostate === 0) {
if (slave.vagina === -1) {
if (slave.trust >= -20) {
r.push(`${He} thinks of ${his} anus as ${his} primary sexual organ, but ${he} lacks prostate or a g-spot to be internally stimulated by a cock inside ${his} rear hole, <span class="fetish loss">reducing ${his} ability to appreciate anal.</span>`);
slave.fetishStrength -= 4;
}
}
}
}
}
if (slave.fetishStrength <= 5) {
r.push(`<span class="fetish loss">${He} has lost all interest in ${his} fetishes and is now sexually vanilla.</span>`);
slave.fetish = "none";
slave.fetishStrength = 0;
}
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function behavioralFlawEffects(slave) {
if (slave.behavioralFlaw === "devout" && V.arcologies[0].FSChattelReligionist !== "unset") {
if (slave.devotion <= 20) {
if (slave.trust < -20) {
r.push(`${He} is inwardly <span class="trust dec">terrified</span> by living in what ${he} sees as a powerful theocratic society inimical to ${his} old world faith.`);
slave.trust -= 1 * Math.trunc(V.arcologies[0].FSChattelReligionist / 25);
} else {
r.push(`${He} is filled with <span class="devotion dec">hatred and disgust</span> by Chattel Religionism, which ${he} believes to be heretical and wrong.`);
slave.devotion -= 1 * Math.trunc(V.arcologies[0].FSChattelReligionist / 35);
}
} else if (slave.devotion <= 50) {
if (slave.trust > 20) {
r.push(`${He} is experiencing considerable spiritual anguish as ${he} is torn between obedience and conviction that Chattel Religionism is heretical and wrong. This <span class="trust dec">hinders ${his} acceptance of ${his} place</span> in slave society.`);
slave.trust -= 1 * Math.trunc(V.arcologies[0].FSChattelReligionist / 25);
} else {
r.push(`${He} is badly torn between Chattel Religionism and ${his} old world faith, but ${he} is doing ${his} best to defer these spiritual issues for now.`);
}
} else {
r.push(`${He} has experienced a religious epiphany, and now accepts Chattel Religionism in ${his} mind, ${his} heart, and ${his}`);
if (slave.vagina > -1) {
r.push(`womanhood.`);
} else {
r.push(`anus.`);
}
r.push(`<span class="flaw break">${He} has become sinful,</span> maliciously eager to transgress against the faith ${he} has abandoned. ${He} now sees that everything ${he} has suffered up to now has been a necessary and divinely ordained trial to bring ${him} into the true faith as a holy sex slave, <span class="trust inc">enormously boosting ${his} trust in you.</span>`);
slave.behavioralQuirk = "sinful";
slave.behavioralFlaw = "none";
if (slave.trust < -30) {
slave.trust = -10;
} else {
slave.trust += 20;
}
}
} else if (slave.behavioralQuirk === "none" && slave.fetishKnown === 1) {
if (slave.fetishStrength + slave.devotion + slave.trust > random(1, 500)) {
if (slave.behavioralFlaw === "arrogant") {
if (slave.fetish === "submissive") {
r.push(`${His} need to submit has <span class="flaw break">softened ${his} arrogance into confidence.</span>`);
SoftenBehavioralFlaw(slave);
}
} else if (slave.behavioralFlaw === "bitchy") {
if (slave.fetish === "humiliation") {
r.push(`${His} need to be humiliated has <span class="flaw break">softened ${his} bitchiness into a penchant for repartee.</span>`);
SoftenBehavioralFlaw(slave);
}
} else if (slave.behavioralFlaw === "hates men") {
if (slave.fetish === "pregnancy" && (slave.ovaries === 1 || slave.mpreg === 1)) {
r.push(`${He} dislikes men, but fetishizes pregnancy; ${he} comes around, and decides that <span class="flaw break">${he} needs a man to knock ${him} up.</span>`);
slave.behavioralQuirk = "adores men";
slave.behavioralFlaw = "none";
} else if (slave.fetish === "boobs") {
r.push(`${He} dislikes men and adores boobs, which <span class="flaw break">builds ${his} hatred of men into a love of women.</span>`);
slave.behavioralQuirk = "adores women";
} else if (slave.attrXY > 85) {
r.push(`${He} dislikes the company of men but likes their cocks; ${he} learns to <span class="flaw break">enjoy the male presence that comes with taking the dick.</span>`);
slave.behavioralQuirk = "adores men";
slave.behavioralFlaw = "none";
} else if (slave.energy > 95) {
r.push(`${He} dislikes men and has constant needs; women are the obvious answer, which <span class="flaw break">builds ${his} hatred of men into a love of feminine company.</span>`);
slave.behavioralQuirk = "adores women";
}
} else if (slave.behavioralFlaw === "hates women") {
if (slave.fetish === "pregnancy") {
r.push(`${He} dislikes women, but fetishizes pregnancy; ${he} comes around, and decides that <span class="flaw break">${he} loves pregnant girls.</span>`);
slave.behavioralQuirk = "adores women";
slave.behavioralFlaw = "none";
} else if (slave.fetish === "cumslut") {
r.push(`${He} dislikes women and has a real oral fixation; eating dick is the obvious answer, which <span class="flaw break">funnels ${his} hatred of women into a love of men.</span>`);
slave.behavioralQuirk = "adores men";
slave.behavioralFlaw = "none";
} else if (slave.attrXX > 85) {
r.push(`${He} dislikes the company of women but likes fucking them; ${he} learns to <span class="flaw break">enjoy the feminine presence that comes with getting some pussy.</span>`);
slave.behavioralQuirk = "adores women";
slave.behavioralFlaw = "none";
} else if (slave.energy > 95) {
r.push(`${He} dislikes women and has constant needs; men are the obvious answer, which <span class="flaw break">builds ${his} hatred of women into a love of maleness.</span>`);
slave.behavioralQuirk = "adores men";
slave.behavioralFlaw = "none";
}
} else if (slave.behavioralFlaw === "devout") {
if (slave.energy > 95) {
r.push(`${His} need for constant sex has <span class="flaw break">softened ${his} devoutness into an appetite for sacrilege.</span>`);
SoftenBehavioralFlaw(slave);
}
} else if (slave.behavioralFlaw === "liberated") {
if (slave.fetish === "masochist") {
r.push(`${His} subconscious need to be abused has <span class="flaw break">converted ${his} liberated philosophy into an ability to advocate for slavery.</span>`);
SoftenBehavioralFlaw(slave);
}
}
}
} else if (slave.fetishKnown === 1) {
if (slave.fetishStrength + slave.devotion + slave.trust > random(1, 500)) {
if (slave.behavioralFlaw === "arrogant") {
if (slave.fetish === "submissive") {
r.push(`${His} arrogance was probably a reflection of ${his} subconscious need to submit, which is so satisfied by sexual slavery that <span class="flaw break">${he} no longer needs to act arrogant.</span>`);
slave.behavioralFlaw = "none";
}
} else if (slave.behavioralFlaw === "bitchy") {
if (slave.fetish === "humiliation") {
r.push(`${His} bitchiness was probably a reflection of ${his} sexual need to be publicly humiliated, which is so satisfied by sexual slavery that <span class="flaw break">${he} no longer needs to be insulting</span> to get the degradation ${he} subconsciously needs.`);
slave.behavioralFlaw = "none";
}
} else if (slave.behavioralFlaw === "hates men") {
if (slave.fetish === "pregnancy") {
r.push(`${He} dislikes the company of men, but fetishizes pregnancy; ${he} decides that men, those hunky impregnators, can't be //that// bad, and <span class="flaw break">gets over ${his} hatred.</span>`);
slave.behavioralFlaw = "none";
} else if (slave.fetish === "boobs") {
r.push(`${He} dislikes the company of men and adores boobs; ${he} finds that ${he} doesn't mind ogling titties with the boys, and <span class="flaw break">gets over ${his} hatred.</span>`);
slave.behavioralFlaw = "none";
} else if (slave.attrXY > 85) {
r.push(`${He} dislikes the company of men but likes their cocks; ${he} gets used to putting up with maleness if it gets ${him} the dick, and <span class="flaw break">gets over ${his} hatred.</span>`);
slave.behavioralFlaw = "none";
} else if (slave.energy > 95) {
r.push(`${He} dislikes the company of men and has constant needs; ${he} can't afford to narrow the playing field, and <span class="flaw break">gets over ${his} hatred.</span>`);
slave.behavioralFlaw = "none";
}
} else if (slave.behavioralFlaw === "hates women") {
if (slave.fetish === "pregnancy") {
r.push(`${He} dislikes the company of women, but fetishizes pregnancy; ${he} decides that women, with their motherly hips and fertile cunts, can't be //that// bad, and <span class="flaw break">gets over ${his} hatred.</span>`);
slave.behavioralFlaw = "none";
} else if (slave.fetish === "cumslut") {
r.push(`${He} dislikes the company of women and has a real oral fixation; ${he} decides that women, with their soft, kissable lips can't be //that// bad, and <span class="flaw break">gets over ${his} hatred.</span>`);
slave.behavioralFlaw = "none";
} else if (slave.attrXX > 85) {
r.push(`${He} dislikes the company of women but likes fucking them; ${he} gets used to putting up with girls to get into their pants, and <span class="flaw break">gets over ${his} hatred.</span>`);
slave.behavioralFlaw = "none";
} else if (slave.energy > 95) {
r.push(`${He} dislikes the company of women and has constant needs; ${he} can't afford to narrow the playing field, and <span class="flaw break">gets over ${his} hatred.</span>`);
slave.behavioralFlaw = "none";
}
} else if (slave.behavioralFlaw === "devout") {
if (slave.energy > 95) {
r.push(`${He} finally resolves ${his} internal dilemma between the faith ${he} was brought up in and ${his} all-consuming need to be a slut by deciding that ${he} prefers being a sinner. <span class="flaw break">${He} is no longer devoutly faithful</span> to ${his} old religion.`);
slave.behavioralFlaw = "none";
}
} else if (slave.behavioralFlaw === "liberated") {
if (slave.fetish === "masochist") {
r.push(`${His} pre-enslavement belief that ${he} deserves rights and respect fades in light of how much ${he} likes being beaten and abused. <span class="flaw break">${He} is no longer a modern, liberated ${girl},</span> and accepts ${his} place as a sex slave as natural.`);
slave.behavioralFlaw = "none";
}
}
}
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function sexualFlawEffects(slave) {
if (slave.fetishStrength + slave.devotion + slave.trust > random(1, 500)) {
if (slave.sexualQuirk === "none") {
if (slave.sexualFlaw === "hates anal") {
if (slave.anusPiercing) {
r.push(`The constant stimulation ${his} guiche piercings give ${him} most intimate areas helps ${him} with ${his} anal hang-ups, <span class="flaw break">softening ${his} hatred of anal into an appetite for anal pain.</span> ${He} still struggles if ${he}'s fucked in the ass, but ${he} gets off on it anyway.`);
SoftenSexualFlaw(slave);
} else if (slave.fetish === "buttslut" && slave.fetishKnown === 1) {
r.push(`${His} sexual fascination with things entering ${his} asshole <span class="flaw break">softens ${his} hatred of anal into an appetite for anal pain.</span> ${He} still struggles if ${he}'s fucked in the ass, but ${he} gets off on it anyway.`);
SoftenSexualFlaw(slave);
} else if (slave.energy > 95) {
r.push(`As a nymphomaniac ${he} appreciates kinky sex, so ${he} <span class="flaw break">softens ${his} hatred of anal into an appetite for anal pain.</span> ${He} still struggles if ${he}'s fucked in the ass, but ${he} gets off on it anyway.`);
SoftenSexualFlaw(slave);
}
} else if (slave.sexualFlaw === "hates oral") {
if (slave.tonguePiercing) {
r.push(`${He} can't stop sucking on ${his} tongue piercings, and ${he} gets over ${his} oral hang-ups, <span class="flaw break">softening ${his} hatred of oral into a willingness to be roughly throatfucked.</span> ${He} still gags, but it's a good gagging, now.`);
SoftenSexualFlaw(slave);
} else if (slave.fetish === "cumslut" && slave.fetishKnown === 1) {
r.push(`${He} can't get ${his} beloved cum without choking down dick, so ${he} <span class="flaw break">softens ${his} hatred of oral into a willingness to be roughly throatfucked.</span> ${He} still gags, but it's a good gagging, now.`);
SoftenSexualFlaw(slave);
} else if (slave.energy > 95) {
r.push(`${He} needs sex so much ${he} often has to encourage ${his} partners orally, so ${he} <span class="flaw break">softens ${his} hatred of oral into a willingness to be roughly throatfucked.</span> ${He} still gags, but it's a good gagging, now.`);
SoftenSexualFlaw(slave);
}
} else if (slave.sexualFlaw === "hates penetration") {
if (slave.vaginaPiercing) {
r.push(`${His} pussy piercings get ${him} used to the idea that it's a fuckhole, not ${his} precious womanhood, <span class="flaw break">softening ${his} hatred of penetration into an appetite for abusive sex.</span> ${He} still cries, but ${he} climaxes as ${he} cries.`);
SoftenSexualFlaw(slave);
} else if (slave.fetish === "buttslut" && slave.fetishKnown === 1) {
r.push(`${His} sexual fascination with anal penetration <span class="flaw break">softens ${his} hatred of penetration into an appetite for abusive sex.</span> ${He} still cries, but ${he} climaxes as ${he} cries.`);
SoftenSexualFlaw(slave);
} else if (slave.energy > 95) {
r.push(`As a nymphomaniac ${he} appreciates kinky sex, so ${he} <span class="flaw break">softens ${his} hatred of penetration into an appetite for abusive intercourse.</span> ${He} still cries, but ${he} climaxes as ${he} cries.`);
SoftenSexualFlaw(slave);
}
} else if (slave.sexualFlaw === "apathetic") {
if (slave.fetish === "submissive" && slave.fetishKnown === 1) {
r.push(`${His} subconscious drive to submit <span class="flaw break">softens ${his} sexual apathy into constant care for ${his} partners' wants.</span>`);
SoftenSexualFlaw(slave);
} else if (slave.energy > 95) {
r.push(`${He} needs sex so badly that ${he} can no longer be apathetic in bed, and <span class="flaw break">softens ${his} sexual apathy into care for what keeps ${his} partners aroused.</span>`);
SoftenSexualFlaw(slave);
}
} else if (slave.sexualFlaw === "crude") {
if (slave.fetish === "buttslut" && slave.fetishKnown === 1) {
r.push(`${He} needs to avoid making unsexy noises during buttsex to be an appealing enough anal partner to satisfy ${his} backdoor needs, <span class="flaw break">softening ${his} crudeness into a willingness to do anything.</span>`);
SoftenSexualFlaw(slave);
} else if (slave.energy > 95) {
r.push(`${He} needs sex so badly that ${he} can no longer afford to disgust partners, and <span class="flaw break">softens ${his} sexual crudeness into a willingness to do anything.</span>`);
SoftenSexualFlaw(slave);
}
} else if (slave.sexualFlaw === "judgemental") {
if (slave.fetish === "submissive" && slave.fetishKnown === 1) {
r.push(`${His} subconscious belief that ${he}'s worthless <span class="flaw break">softens ${his} judgemental behavior into eagerness to be fucked by the biggest cocks.</span>`);
SoftenSexualFlaw(slave);
} else if (slave.energy > 95) {
r.push(`${He} needs sex so badly that ${he} can no longer be selective, and <span class="flaw break">softens ${his} judgemental behavior into a love of big dicks, though ${he} now loves them all.</span>`);
SoftenSexualFlaw(slave);
}
} else if (slave.sexualFlaw === "shamefast") {
if (slave.fetish === "humiliation" && slave.fetishKnown === 1) { // exhib
r.push(`${He} decides that hiding won't get ${him} the humiliation ${he} craves, and <span class="flaw break">softens ${his} shamefastness into a willingness to tease.</span>`);
SoftenSexualFlaw(slave);
} else if (slave.energy > 95) {
r.push(`${He} decides that hiding isn't getting ${him} enough sex, and <span class="flaw break">softens ${his} shamefastness into a willingness to tease.</span>`);
SoftenSexualFlaw(slave);
}
} else if (slave.sexualFlaw === "idealistic") {
if (slave.fetish === "submissive" && slave.fetishKnown === 1) {
r.push(`${His} appetite for submission has <span class="flaw break">softened ${his} innocent ideas about sex into an ability to find romance</span> in the life of a sex slave.`);
SoftenSexualFlaw(slave);
} else if (slave.energy > 95) {
r.push(`${His} appetite for sex has <span class="flaw break">softened ${his} innocent ideas about sex into an ability to find something romantic</span> in a constant whirl of intercourse.`);
SoftenSexualFlaw(slave);
}
} else if (slave.sexualFlaw === "repressed") {
if (slave.fetish === "buttslut" && slave.fetishKnown === 1) {
r.push(`${He} grew up being taught that good ${girl}s do not take cock up their good ${girl} anuses, but ${he}'s just now decided ${he} prefers being a bad ${girl} and has <span class="flaw break">softened ${his} repression into arousal at the perversion</span> of dicks up ${his} behind.`);
SoftenSexualFlaw(slave);
} else if (slave.fetish === "cumslut" && slave.fetishKnown === 1) {
r.push(`${He} grew up being taught that good ${girl}s do not put their good ${girl} mouths on others' private parts, but ${he}'s just now decided ${he} prefers being a bad ${girl} and has <span class="flaw break">softened ${his} repression into arousal at the perverted</span> idea of dicks down ${his} throat.`);
SoftenSexualFlaw(slave);
} else if (slave.energy > 95) {
r.push(`${He} grew up being taught that good ${girl}s do not happily fuck anything that moves, but ${he}'s just now decided ${he} prefers being a bad ${girl} and has <span class="flaw break">softened ${his} repression into arousal at the perversion</span> of reveling in sexual addiction.`);
SoftenSexualFlaw(slave);
}
}
} else {
if (slave.sexualFlaw === "hates anal") {
if (slave.anusPiercing) {
r.push(`The constant stimulation ${his} guiche piercings give ${him} most intimate areas helps ${him} with ${his} anal hang-ups, so <span class="flaw break">${his} previous hesitations about buttsex vanish.</span>`);
slave.sexualFlaw = "none";
} else if (slave.fetish === "buttslut" && slave.fetishKnown === 1) {
r.push(`${His} sexual fascination with things entering ${his} asshole overcomes ${his} professed hatred of anal, so <span class="flaw break">${his} previous hesitations about buttsex vanish.</span>`);
slave.sexualFlaw = "none";
} else if (slave.energy > 95) {
r.push(`As a nymphomaniac ${he} doesn't really care which hole ${he}'s getting fucked in, so <span class="flaw break">${his} previous hesitations about buttsex vanish.</span>`);
slave.sexualFlaw = "none";
}
} else if (slave.sexualFlaw === "hates oral") {
if (slave.tonguePiercing) {
r.push(`${He} can't stop sucking on ${his} tongue piercings, so <span class="flaw break">${he} gets over ${his} oral hang-ups.</span>`);
slave.sexualFlaw = "none";
} else if (slave.fetish === "cumslut" && slave.fetishKnown === 1) {
r.push(`${He} can't get ${his} beloved cum without sucking, so <span class="flaw break">${he} forcibly overcomes ${his} strong gag reflex.</span>`);
slave.sexualFlaw = "none";
} else if (slave.energy > 95) {
r.push(`${He} needs sex so much ${he} often has to encourage ${his} partners orally, so <span class="flaw break">${he} forcibly overcomes ${his} strong gag reflex.</span>`);
slave.sexualFlaw = "none";
}
} else if (slave.sexualFlaw === "hates penetration") {
if (slave.vaginaPiercing) {
r.push(`${His} pussy piercings get ${him} used to the idea that it's a fuckhole, not ${his} precious womanhood, so <span class="flaw break">${his} previous hesitations about getting fucked vanish.</span>`);
slave.sexualFlaw = "none";
} else if (slave.fetish === "buttslut" && slave.fetishKnown === 1) {
r.push(`${He}'s fascinated with the perversity of being anally penetrated, so <span class="flaw break">${his} previous hesitations about getting fucked vanish.</span>`);
slave.sexualFlaw = "none";
} else if (slave.fetish === "pregnancy" && slave.fetishKnown === 1 && (slave.ovaries === 1 || slave.mpreg === 1)) {
r.push(`It would be unreasonable to expect to become pregnant with out being penetrated, so <span class="flaw break">${his} previous hesitations about getting fucked vanish.</span>`);
} else if (slave.energy > 95) {
r.push(`${He} needs sex like ${he} needs air, so <span class="flaw break">${his} previous hesitations about getting fucked vanish.</span>`);
slave.sexualFlaw = "none";
}
} else if (slave.sexualFlaw === "apathetic") {
if (slave.fetish === "dom" && slave.fetishKnown === 1) {
r.push(`${He} likes being on top so much <span class="flaw break">${he} can no longer bear being lazy in bed.</span>`);
slave.sexualFlaw = "none";
} else if (slave.energy > 95) {
r.push(`${He} needs sex so badly that <span class="flaw break">${he} can no longer afford to wait apathetically for others to fuck ${him}.</span>`);
slave.sexualFlaw = "none";
}
} else if (slave.sexualFlaw === "crude") {
if (slave.energy > 95) {
r.push(`${He} needs sex so badly that <span class="flaw break">${he} can no longer afford to disgust partners into abandoning intercourse.</span>`);
slave.sexualFlaw = "none";
}
} else if (slave.sexualFlaw === "judgemental") {
if (slave.energy > 95) {
r.push(`${He} needs sex so badly that <span class="flaw break">${he} can no longer afford to turn potential partners off by judging them.</span>`);
slave.sexualFlaw = "none";
}
} else if (slave.sexualFlaw === "shamefast") {
if (slave.fetish === "humiliation" && slave.fetishKnown === 1) { // split with exhib
r.push(`${His} shamefastness is no longer anything but a pretense; <span class="flaw break">${he}'s decided ${he} really does like getting fucked in public.</span>`);
slave.sexualFlaw = "none";
} else if (slave.energy > 95) {
r.push(`${He} needs sex so badly that <span class="flaw break">${he} can no longer afford to be embarrassed by public fucking.</span>`);
slave.sexualFlaw = "none";
}
} else if (slave.sexualFlaw === "idealistic") {
if (slave.fetish === "submissive" && slave.fetishKnown === 1) {
r.push(`${He} always expected to be able to turn down sex, but <span class="flaw break">${he}'s finally realized that ${he} doesn't want to be asked.</span>`);
slave.sexualFlaw = "none";
} else if (slave.energy > 95) {
r.push(`Hard as it is for ${him} to admit, ${he} recognizes ${his} own willingness to take sex from other slaves if it isn't forthcoming, and <span class="flaw break">accepts that a slave nympho can't worry about trifles like consent.</span>`);
slave.sexualFlaw = "none";
}
} else if (slave.sexualFlaw === "repressed") {
if (slave.fetish === "buttslut" && slave.fetishKnown === 1) {
r.push(`${He} grew up being taught that good ${girl}s do not take cock up their good ${girl} anuses, but <span class="flaw break">${he}'s just now decided ${he} prefers being a bad ${girl}.</span>`);
slave.sexualFlaw = "none";
} else if (slave.fetish === "cumslut") {
r.push(`${He} grew up being taught that good ${girl}s do not put their good ${girl} mouths on others' private parts, but <span class="flaw break">${he}'s just now decided ${he} prefers being a bad ${girl}.</span>`);
slave.sexualFlaw = "none";
} else if (slave.energy > 95) {
r.push(`${He} grew up being taught that good ${girl}s do not happily fuck anything that moves, but <span class="flaw break">${he}'s just now decided ${he} prefers being a bad ${girl}.</span>`);
slave.sexualFlaw = "none";
}
}
}
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function paraphiliaImpacts(slave) {
switch (slave.sexualFlaw) {
case "cum addict":
if (slave.fetish !== "cumslut") {
if (slave.fetishStrength > 60) {
r.push(`${His} cum addiction <span class="fetish loss">disinterests ${him} in ${his} current fetish,</span> and the conflict of sexual identity causes ${him} <span class="devotion dec">some anguish.</span>`);
slave.fetishStrength -= 5;
slave.devotion -= 3;
} else {
r.push(`${His} cum addiction <span class="fetish gain">forces ${him} back towards oral fixation.</span>`);
slave.fetish = "cumslut";
}
} else {
if (slave.fetishStrength <= 95) {
r.push(`${His} cum addiction <span class="fetish inc">forces ${him} back towards ${his} past life as an abject cumslut.</span>`);
slave.fetishStrength += 5;
slave.devotion -= 3;
}
}
if (["be confined in the arcade", "serve in the club", "serve the public", "whore", "work a glory hole", "work in the brothel"].includes(slave.assignment)) {
r.push(`${His} paraphilia is satisfied by how many dicks ${he} gets to suck at work.`);
App.EndWeek.saVars.paraphiliaSatisfied = 1;
} else if (V.PC.dick !== 0 && slave.toyHole === "mouth" && ["be your Concubine", "please you", "serve in the master suite"].includes(slave.assignment)) {
r.push(`${His} paraphilia is satisfied by constant oral sex with you.`);
App.EndWeek.saVars.paraphiliaSatisfied = 1;
} else if (slave.inflation !== 0 && slave.inflationType === "cum") {
r.push(`${His} paraphilia is satisfied by swelling ${his} body with cum.`);
App.EndWeek.saVars.paraphiliaSatisfied = 1;
} else if (slave.dietCum === 1) {
r.push(`${His} paraphilia is satisfied by what ${he} gets to eat.`);
App.EndWeek.saVars.paraphiliaSatisfied = 1;
} else if (slave.dietCum === 2) {
r.push(`Other slaves in your penthouse are disturbed by ${his} insatiable appetite for human ejaculate, which ${his} heavy cum-diet encourages.`);
App.EndWeek.saVars.paraphiliaSatisfied = 1;
} else if (V.feeder !== 0) {
r.push(`${His} paraphilia is satisfied by the way ${he} gets to eat.`);
App.EndWeek.saVars.paraphiliaSatisfied = 1;
} else if (slave.assignment === "work in the dairy" && V.dairyFeedersSetting > 0) {
// something involving cum production
} else {
r.push(`${He} doesn't seem to feel ${he}'s getting enough cum, leaving the cum addict <span class="devotion dec">depressed and anxious.</span>`);
slave.devotion -= 2;
App.EndWeek.saVars.paraphiliaSatisfied = -1;
}
break;
case "anal addict":
if (slave.fetish !== "buttslut") {
if (slave.fetishStrength > 60) {
r.push(`${His} anal addiction <span class="fetish loss">disinterests ${him} in ${his} current fetish,</span> and the conflict of sexual identity causes ${him} <span class="devotion dec">some anguish.</span>`);
slave.fetishStrength -= 5;
slave.devotion -= 3;
} else {
r.push(`${His} anal addiction <span class="fetish gain">forces ${him} back towards an intense preference for buttsex.</span>`);
slave.fetish = "buttslut";
}
} else {
if (slave.fetishStrength <= 95) {
r.push(`${His} anal addiction <span class="fetish inc">forces ${him} back towards ${his} past life as an abject buttslut.</span>`);
slave.fetishStrength += 5;
slave.devotion -= 3;
}
}
if (["be confined in the arcade", "serve in the club", "serve the public", "whore", "work a glory hole", "work in the brothel"].includes(slave.assignment)) {
r.push(`${His} paraphilia is satisfied by how many dicks get shoved up ${his} butt at work.`);
App.EndWeek.saVars.paraphiliaSatisfied = 1;
} else if (slave.toyHole === "ass" && ["be your Concubine", "please you", "serve in the master suite"].includes(slave.assignment)) {
r.push(`${His} paraphilia is satisfied by constant anal sex with you.`);
App.EndWeek.saVars.paraphiliaSatisfied = 1;
} else if (V.suppository !== 0) {
r.push(`${His} paraphilia is satisfied by the way ${he} gets to take medication.`);
App.EndWeek.saVars.paraphiliaSatisfied = 1;
} else if (slave.buttplug === "huge plug" || slave.buttplug === "long, huge plug") {
r.push(`${His} paraphilia is satisfied by the enormous plug ${he} wears in ${his} ass.`);
App.EndWeek.saVars.paraphiliaSatisfied = 1;
} else if (slave.assignment === "work in the dairy" && V.dairyStimulatorsSetting > 0) {
// major ass drilling
} else {
r.push(`${He} doesn't seem to feel ${he}'s getting buttfucked often enough, leaving the anal addict <span class="devotion dec">depressed and anxious.</span>`);
App.EndWeek.saVars.paraphiliaSatisfied = -1;
slave.devotion -= 2;
}
if (slave.prostate === 0) {
if (slave.vagina === -1) {
if (random(1, 5) === 1) {
r.push(`Since ${he} lacks a prostate or a g-spot to be stimulated by cocks up ${his} butt, ${his} <span class="flaw break">purely psychological addiction to asshole sex resolves itself,</span> and ${he} <span class="fetish loss">starts to consider other sexual pursuits.</span>`);
slave.sexualQuirk = "none";
slave.fetishStrength -= 20;
}
}
}
break;
case "attention whore":
if (slave.fetish !== "humiliation") { // exhib?
if (slave.fetishStrength > 60) {
r.push(`Being an attention whore <span class="fetish inc">disinterests ${him} in ${his} current fetish,</span> and the conflict of sexual identity causes ${him} <span class="devotion dec">some anguish.</span>`);
slave.fetishStrength -= 5;
slave.devotion -= 3;
} else {
r.push(`${His} addiction to exposure <span class="fetish gain">forces ${him} back towards a humiliation fetish.</span>`);
slave.fetish = "humiliation";
}
} else {
if (slave.fetishStrength <= 95) {
r.push(`${His} addiction to exposure <span class="fetish inc">forces ${him} back towards ${his} past life as an abject humiliation whore.</span>`);
slave.fetishStrength += 5;
slave.devotion -= 3;
}
}
if (slave.porn.feed === 1 && slave.porn.viewerCount >= 10000) {
r.push(`${His} paraphilia is satisfied by the viewcounts on ${his} porn and the many viewers no doubt enjoying themselves to ${his} day to day life.`);
App.EndWeek.saVars.paraphiliaSatisfied = 1;
} else if (["whore", "serve the public", "work in the brothel", "serve in the club", "be the DJ"].includes(slave.assignment)) {
r.push(`${His} paraphilia is satisfied by how often ${he} gets publicly fucked at work.`);
App.EndWeek.saVars.paraphiliaSatisfied = 1;
} else if (slave.assignment === "recruit girls" && V.recruiterTarget === "other arcologies" && V.arcologies[0].influenceTarget !== -1) {
r.push(`${His} paraphilia is satisfied by the sheer amount of attention ${he} gets as a sexual Ambassador.`);
App.EndWeek.saVars.paraphiliaSatisfied = 1;
} else if (slave.assignment === "be the Schoolteacher" && V.schoolroom >= 20) {
r.push(`${His} paraphilia is satisfied by ${his} work as a sexual instructor; enough eyes are fixated on ${his} lessons.`);
App.EndWeek.saVars.paraphiliaSatisfied = 1;
} else if (slave.clothes === "no clothing") {
r.push(`${His} paraphilia is satisfied by ${his} total nudity.`);
App.EndWeek.saVars.paraphiliaSatisfied = 1;
} else {
r.push(`${He} doesn't seem to feel ${he}'s getting fucked in public enough, leaving the attention whore <span class="devotion dec">depressed and anxious.</span>`);
App.EndWeek.saVars.paraphiliaSatisfied = -1;
slave.devotion -= 2;
}
break;
case "breast growth":
if (slave.fetish !== "boobs") {
if (slave.fetishStrength > 60) {
r.push(`Being a breast expansion fanatic <span class="fetish inc">disinterests ${him} in ${his} current fetish,</span> and the conflict of sexual identity causes ${him} <span class="devotion dec">some anguish.</span>`);
slave.fetishStrength -= 5;
slave.devotion -= 3;
} else {
r.push(`${His} addiction to breast growth <span class="fetish gain">forces ${him} back towards a boob fetish.</span>`);
slave.fetish = "boobs";
}
} else {
if (slave.fetishStrength <= 95) {
r.push(`${His} addiction to breast growth <span class="fetish loss">forces ${him} back towards ${his} past life as an abject slut for mammary intercourse.</span>`);
slave.fetishStrength += 5;
slave.devotion -= 3;
}
}
if (V.arcologies[0].FSSlimnessEnthusiast !== "unset") {
r.push(`Living in a society that openly rejects ${his} paraphilia <span class="devotion dec">mentally and emotionally cripples</span> ${him}.`);
slave.devotion -= 10;
} else if (V.arcologies[0].FSAssetExpansionist !== "unset") {
r.push(`Living in a society that glorifies ${his} paraphilia <span class="devotion inc">leaves ${him} in perpetual ecstasy.</span>`);
slave.devotion += 5;
}
if (["get milked", "work in the dairy"].includes(slave.assignment) && slave.lactation > 0) {
r.push(`${His} paraphilia is satisfied by ${his} work as a cow; ${he} can feel ${his} udders swelling with milk.`);
App.EndWeek.saVars.paraphiliaSatisfied = 1;
} else if (slave.geneticQuirks.gigantomastia === 2 && slave.geneticQuirks.macromastia === 2 && V.geneticMappingUpgrade >= 1) {
r.push(`${His} paraphilia is satisfied by the knowledge that ${his} genetic abnormality will keep ${his} breasts growing for the rest of ${his} life.`);
} else if (V.geneticMappingUpgrade >= 1 && (slave.geneticQuirks.gigantomastia === 2 || slave.geneticQuirks.macromastia === 2)) {
r.push(`${His} paraphilia is satisfied by the knowledge that ${his} genetic abnormality will keep ${his} breasts bigger than ${his} head.`);
} else if (slave.geneticQuirks.gigantomastia === 2) {
r.push(`${His} paraphilia is satisfied by ${his} chest's curious tendency toward perpetual growth.`);
} else if (slave.health.condition < 0) {
r.push(`${His} paraphilia is ameliorated by ${his} poor health; ${he} knows ${he} can't take expansion right now.`);
} else if (slave.drugs === "intensive breast injections" || slave.drugs === "hyper breast injections") {
r.push(`${His} paraphilia makes ${him} feel <span class="trust inc">fulfilled to be a sex slave</span> if it means breast expansion like this.`);
slave.trust += 2;
App.EndWeek.saVars.paraphiliaSatisfied = 1;
} else if (slave.drugs === "breast injections") {
r.push(`${His} paraphilia makes breast injections very satisfying for ${him}.`);
App.EndWeek.saVars.paraphiliaSatisfied = 1;
} else {
r.push(`${He} feels ${his} breasts are shrinking horribly, leaving the growth addict <span class="devotion dec">depressed and anxious.</span>`);
App.EndWeek.saVars.paraphiliaSatisfied = -1;
slave.devotion -= 2;
}
break;
case "abusive":
if (slave.fetish !== "dom") {
if (slave.fetishStrength > 60) {
r.push(`Being addicted to sexually abusing others <span class="fetish inc">disinterests ${him} in ${his} current fetish,</span> and the conflict of sexual identity causes ${him} <span class="devotion dec">some anguish.</span>`);
slave.fetishStrength -= 5;
slave.devotion -= 3;
} else {
r.push(`${His} addiction to sexual force <span class="fetish gain">forces ${him} back towards sexual dominance.</span>`);
slave.fetish = "dom";
}
} else {
if (slave.fetishStrength <= 95) {
r.push(`${His} need to force others to pleasure ${him} <span class="fetish loss">forces ${him} back towards ${his} past life as a total dom.</span>`);
slave.fetishStrength += 5;
slave.devotion -= 3;
}
}
if (slave.assignment === "be your Head Girl") {
r.push(`${His} paraphilia is satisfied by ${his} work as your Head Girl.`);
App.EndWeek.saVars.paraphiliaSatisfied = 1;
} else if ((slave.assignment === "be the Wardeness")) {
r.push(`${His} paraphilia is satisfied by ${his} work as your Wardeness.`);
App.EndWeek.saVars.paraphiliaSatisfied = 1;
} else if ((slave.assignment === "be the Stewardess")) {
r.push(`${His} paraphilia is satisfied by ${his} work as the Stewardess.`);
App.EndWeek.saVars.paraphiliaSatisfied = 1;
} else if ((slave.assignment === "be the Schoolteacher")) {
r.push(`${His} paraphilia is satisfied by ${his} work as the Schoolteacher.`);
App.EndWeek.saVars.paraphiliaSatisfied = 1;
} else if (canMove(slave) && (slave.rules.release.slaves === 1 || App.Utils.hasFamilySex(slave)) && V.universalRulesConsent === 0) {
r.push(`${His} paraphilia makes pinning down and raping other slaves very satisfying.`);
App.EndWeek.saVars.paraphiliaSatisfied = 1;
} else {
r.push(`${He} gets few chances to indulge ${his} need to hold others down as ${he} fucks them, leaving ${him} <span class="devotion dec">depressed and anxious.</span>`);
App.EndWeek.saVars.paraphiliaSatisfied = -1;
slave.devotion -= 2;
}
break;
case "malicious":
if (slave.fetish !== "sadist") {
if (slave.fetishStrength > 60) {
r.push(`Being addicted to others' sexual anguish <span class="fetish inc">disinterests ${him} in ${his} current fetish,</span> and the conflict of sexual identity causes ${him} <span class="devotion dec">some anguish.</span>`);
slave.fetishStrength -= 5;
slave.devotion -= 3;
} else {
r.push(`${His} addiction to tormenting others sexually <span class="fetish gain">forces ${him} back towards sadism.</span>`);
slave.fetish = "sadist";
}
} else {
if (slave.fetishStrength <= 95) {
r.push(`${His} need to be the only one enjoying sex <span class="fetish loss">forces ${him} back towards ${his} past life as a complete sexual sadist.</span>`);
slave.fetishStrength += 5;
slave.devotion -= 3;
}
}
if (slave.assignment === "be your Head Girl") {
r.push(`${His} paraphilia is satisfied by ${his} work as your Head Girl.`);
App.EndWeek.saVars.paraphiliaSatisfied = 1;
} else if ((slave.assignment === "be the Wardeness")) {
r.push(`${His} paraphilia is satisfied by ${his} work as your Wardeness.`);
App.EndWeek.saVars.paraphiliaSatisfied = 1;
} else if (canMove(slave) && (slave.rules.release.slaves === 1 || App.Utils.hasFamilySex(slave)) && V.universalRulesConsent === 0) {
r.push(`${His} paraphilia makes pinning down and brutally raping other slaves very satisfying.`);
App.EndWeek.saVars.paraphiliaSatisfied = 1;
} else {
r.push(`${He} gets few chances to indulge ${his} need to subject others to sexual anguish, leaving ${him} <span class="devotion dec">depressed and anxious.</span>`);
App.EndWeek.saVars.paraphiliaSatisfied = -1;
slave.devotion -= 2;
}
break;
case "self hating": {
if (slave.fetish !== "masochist") {
if (slave.fetishStrength > 60) {
r.push(`${His} sexual self hatred <span class="fetish inc">disinterests ${him} in ${his} current fetish,</span> and the conflict of sexual identity causes ${him} <span class="devotion dec">some anguish.</span>`);
slave.fetishStrength -= 5;
slave.devotion -= 3;
} else {
r.push(`${His} sexual self hatred <span class="fetish gain">forces ${him} back towards masochism.</span>`);
slave.fetish = "masochist";
}
} else {
if (slave.fetishStrength <= 95) {
r.push(`${His} sexual self hatred <span class="fetish loss">forces ${him} back towards ${his} past life as a total masochist.</span>`);
slave.fetishStrength += 5;
slave.devotion -= 3;
}
}
const dom = (slave.assignment === "be a subordinate slave" && slave.subTarget > 0) ? getSlave(slave.subTarget) : null;
if (slave.assignment === "work in the dairy" && V.dairyRestraintsSetting >= 2) {
r.push(`${His} paraphilia is satisfied by ${his} horrible life as a producer of useful fluids and a receptacle for machine rape.`);
App.EndWeek.saVars.paraphiliaSatisfied = 1;
} else if (["be confined in the arcade", "work a glory hole"].includes(slave.assignment)) {
r.push(`${His} paraphilia is satisfied by ${his} horrible life as a helpless hole for an infinite bag of dicks.`);
App.EndWeek.saVars.paraphiliaSatisfied = 1;
} else if (dom && ["abusive", "malicious"].includes(dom.sexualFlaw)) {
r.push(`${His} paraphilia is satisfied by the constant mistreatment ${he} receives from ${his} dom, ${dom.slaveName}.`);
App.EndWeek.saVars.paraphiliaSatisfied = 1;
} else if (slave.trust < -50) {
r.push(`${His} paraphilia is satisfied by ${his} constant terror.`);
App.EndWeek.saVars.paraphiliaSatisfied = 1;
} else {
r.push(`${He} doesn't seem to feel ${he}'s treated poorly enough, leaving the self hating slut <span class="devotion dec">depressed and anxious.</span>`);
App.EndWeek.saVars.paraphiliaSatisfied = -1;
slave.devotion -= 2;
}
break;
}
case "neglectful":
if (slave.fetish !== "submissive") {
if (slave.fetishStrength > 60) {
r.push(`${His} sexual self neglect <span class="fetish inc">disinterests ${him} in ${his} current fetish,</span> and the conflict of sexual identity causes ${him} <span class="mediumorchid">some anguish.</span>`);
slave.fetishStrength -= 5;
slave.devotion -= 3;
} else {
r.push(`${His} sexual self neglect <span class="fetish gain">forces ${him} back towards submissiveness.</span>`);
slave.fetish = "submissive";
}
} else {
if (slave.fetishStrength <= 95) {
r.push(`${His} sexual self neglect <span class="fetish loss">forces ${him} back towards ${his} past life as a total submissive.</span>`);
slave.fetishStrength += 5;
slave.devotion -= 3;
}
}
if (["be confined in the arcade", "serve in the club", "serve the public", "whore", "work a glory hole", "work in the brothel", "work as a servant", "be the Attendant", "be the Milkmaid"].includes(slave.assignment)) {
r.push(`${His} paraphilia is satisfied by how ${he}'s expected to serve others' sexual needs at work.`);
App.EndWeek.saVars.paraphiliaSatisfied = 1;
} else if (["be your Concubine", "please you", "serve in the master suite"].includes(slave.assignment)) {
r.push(`${His} paraphilia is satisfied by how ${he}'s expected to serve your sexual needs at work.`);
App.EndWeek.saVars.paraphiliaSatisfied = 1;
} else if (slave.assignment === "be a subordinate slave") {
r.push(`${His} paraphilia is satisfied by how ${he}'s expected to serve other slaves' sexual needs.`);
App.EndWeek.saVars.paraphiliaSatisfied = 1;
} else {
r.push(`${He} doesn't seem to feel ${he}'s serving others' sexual needs enough, leaving ${him} <span class="devotion dec">depressed and anxious.</span>`);
App.EndWeek.saVars.paraphiliaSatisfied = -1;
slave.devotion -= 2;
}
break;
case "breeder":
if (slave.fetish !== "pregnancy") {
if (slave.fetishStrength > 60) {
r.push(`${His} breeding obsession <span class="fetish inc">disinterests ${him} in ${his} current fetish,</span> and the conflict of sexual identity causes ${him} <span class="devotion dec">some anguish.</span>`);
slave.fetishStrength -= 5;
slave.devotion -= 3;
} else {
r.push(`${His} breeding obsession <span class="fetish gain">forces ${him} back towards appreciation for impregnation.</span>`);
slave.fetish = "pregnancy";
}
} else {
if (slave.fetishStrength <= 95) {
r.push(`${His} breeding obsession <span class="fetish loss">forces ${him} back towards ${his} past life as an abject impregnation whore.</span>`);
slave.fetishStrength += 5;
slave.devotion -= 3;
}
}
if (V.arcologies[0].FSRestart !== "unset") {
r.push(`Living in a society that rejects ${his} paraphilia`);
if (slave.breedingMark === 1 && V.propOutcome === 1) {
r.push(`would have mentally and emotionally crippled ${him}; but as a designated breeder, ${he} can't help but <span class="devotion inc">love ${his} role</span> in society.`);
slave.devotion++;
} else {
r.push(`<span class="devotion dec">mentally and emotionally cripples</span> ${him}.`);
slave.devotion -= 10;
}
} else if (V.arcologies[0].FSRepopulationFocus !== "unset") {
r.push(`Living in a society that glorifies ${his} paraphilia <span class="devotion inc">leaves ${him} in perpetual ecstasy.</span>`);
slave.devotion += 5;
}
if (slave.broodmother > 0 && slave.pregKnown === 1) {
r.push(`${He} knows ${he} will be pregnant until ${his} body gives out, and <span class="devotion inc">${he} couldn't be happier.</span>`);
App.EndWeek.saVars.paraphiliaSatisfied = 1;
slave.devotion += 5;
} else if (slave.pregControl === "labor suppressors" && slave.preg >= slave.pregData.normalBirth) {
r.push(`Under the effects of labor suppression drugs, ${he} knows ${he} will be pregnant until you decided to allow ${his} birth. <span class="devotion inc">${He} couldn't be happier.</span>`);
App.EndWeek.saVars.paraphiliaSatisfied = 1;
slave.devotion += 5;
} else if (slave.pregType >= 10 && slave.pregKnown === 1) {
r.push(`${His} growing hyperpregnancy feeds ${his} paraphilia and <span class="devotion inc">fulfills ${his} deepest fantasies.</span>`);
App.EndWeek.saVars.paraphiliaSatisfied = 1;
slave.devotion += 3;
} else if (slave.pregKnown === 1) {
r.push(`${His} paraphilia is satisfied by ${his} pregnancy.`);
App.EndWeek.saVars.paraphiliaSatisfied = 1;
} else if (canGetPregnant(slave) && V.PC.dick !== 0 && slave.toyHole === "pussy" && slave.mpreg !== 1 && ["be your Concubine", "please you", "serve in the master suite"].includes(slave.assignment)) {
r.push(`${His} paraphilia is satisfied by constant unprotected vaginal sex with you.`);
App.EndWeek.saVars.paraphiliaSatisfied = 1;
} else if (canGetPregnant(slave) && V.PC.dick !== 0 && slave.toyHole === "ass" && slave.mpreg === 1 && ["be your Concubine", "please you", "serve in the master suite"].includes(slave.assignment)) {
r.push(`${His} paraphilia is satisfied by constant unprotected anal sex with you.`);
App.EndWeek.saVars.paraphiliaSatisfied = 1;
} else if (slave.bellyImplant >= 60000) {
r.push(`${His} paraphilia is satisfied by ${his} overfilled belly implant.`);
App.EndWeek.saVars.paraphiliaSatisfied = 1;
} else if (setup.fakeBellies.includes(slave.bellyAccessory)) {
r.push(`${He} <span class="devotion dec">loathes</span> being forced to carry a fake pregnancy.`);
App.EndWeek.saVars.paraphiliaSatisfied = -1;
slave.devotion -= 3;
} else if (slave.pregWeek < 0) {
r.push(`${His} paraphilia is temporarily sated by ${his} recent pregnancy, though ${he} anxiously counts the days until ${he} can get pregnant again.`);
App.EndWeek.saVars.paraphiliaSatisfied = 1;
} else {
r.push(`${He} isn't pregnant, leaving the breeder slut <span class="devotion dec">depressed and anxious.</span>`);
App.EndWeek.saVars.paraphiliaSatisfied = -1;
slave.devotion -= 2;
}
break;
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function nymphoDevotionGain(slave) {
if (slave.attrKnown === 1) {
if (slave.devotion < -20) {
r.push(`${He}'s having trouble accepting it, but the sex surrounding ${him} <span class="devotion inc">is intriguing to a nymphomaniac.</span>`);
} else if ((slave.devotion <= 50)) {
r.push(`<span class="devotion inc">${His} acceptance of ${his} life as a sex slave is driven faster</span> by how satisfied ${he} is by the availability of ${his} favorite activity.`);
} else {
r.push(`<span class="devotion inc">${He} loves being your nympho slut.</span>`);
}
slave.devotion += 2;
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function careerEffects(slave) {
switch (slave.career) {
case "a slave":
r.push(`${He} has been a slave so long that ${he} can barely remember making decisions for ${himself}, and <span class="devotion inc">feels naturally drawn</span> to ${his} ${getWrittenTitle(slave)}.`);
slave.devotion += 1;
break;
case "a dairy slave":
r.push(`${He} is <span class="devotion inc">thankful</span> that you saved ${him} from becoming a mindless`);
if (slave.trust < 50) {
r.push(`cow, though ${he} still has ${his} doubts.`);
} else {
r.push(`cow.`);
}
slave.devotion += 2;
break;
case "a Fuckdoll":
r.push(`${He} was once a Fuckdoll, leaving ${him} <span class="devotion inc">willing to obey on an instinctual level.</span>`);
slave.devotion += 5;
break;
case "a cum dump":
case "a meat toilet":
r.push(`${He} was trained to be nothing more than a warm hole to fuck, leaving ${him} <span class="devotion inc">obedient</span> and <span class="trust inc">willing.</span>`);
slave.devotion += 2;
slave.trust += 1;
break;
case "a dairy cow":
r.push(`${His} mental conditioning <span class="devotion inc">leaves ${him} mellow</span> and <span class="trust inc">trusting.</span>`);
slave.trust += 1;
slave.devotion += 1;
if (slave.lactation === 0) {
r.push(`However, ${he} is <span class="trust dec">reduced to a state of sheer panic</span> over ${his} dried up breasts.`);
slave.trust -= 10;
} else if (slave.pregKnown === 0 && slave.bellyImplant < 1500) {
r.push(`However, ${he} is <span class="trust dec">reduced to a state of panic</span> that ${his} milk will dry up if ${he} doesn't get pregnant again soon.`);
slave.trust -= 2;
}
break;
case "a breeding bull":
r.push(`${His} mental conditioning <span class="devotion inc">leaves ${him} mellow</span> and <span class="trust inc">trusting.</span>`);
slave.trust += 1;
slave.devotion += 1;
if (!canAchieveErection(slave)) {
r.push(`However, ${he} is <span class="trust dec">reduced to a state of sheer panic</span> over ${his} inability to get hard.`);
slave.trust -= 10;
} else if (!canPenetrate(slave)) {
r.push(`However, ${he} is <span class="devotion dec">disappointed</span> that ${he} is unable to mount and fuck others any more.`);
slave.devotion -= 2;
}
break;
case "a slave since birth":
if (slave.tankBaby > 0) {
r.push(`The tank's imprinting left a lasting impression on ${him}; deep down ${he}`);
if (slave.tankBaby === 2) {
r.push(`<span class="devotion inc">knows you are to be obeyed</span> or <span class="trust dec">bad things will happen,</span>`);
slave.devotion += 3;
slave.trust -= 3;
} else {
r.push(`<span class="devotion inc">knows you are to be obeyed</span> and <span class="trust inc">trusted,</span>`);
slave.devotion += 3;
slave.trust += 3;
}
r.push(`even if ${he} can't understand why.`);
}
break;
case "a breeder":
if (slave.pregKnown === 1 && V.arcologies[0].FSRepopulationFocus !== "unset") {
r.push(`${His} life used to revolve around being pregnant all the time and nothing has changed. However, being surrounded with happy, heavily pregnant women leaves ${him} <span class="devotion inc">slightly more accepting</span> of ${his} fate and <span class="trust inc">hopeful</span> that ${his} trained body will be useful to you.`);
slave.trust += 1;
slave.devotion += 1;
} else if (slave.pregControl === "speed up") {
r.push(`${His} life used to revolve around being pregnant all the time and nothing has changed.`);
if (!canSee(slave)) {
r.push(`${He} can feel ${his} middle swell at a rate ${he} considers unnatural, which <span class="trust dec">frightens ${him}.</span>`);
} else {
r.push(`${He} <span class="trust dec">watches in horror</span> as ${his} middle visibly swells before ${his} eyes.`);
}
r.push(`${He} <span class="devotion inc">slips more into submission</span> as the pressure in ${his} womb increases.`);
slave.trust -= 10;
slave.devotion += 5;
} else if (slave.pregKnown === 1 || slave.pregWeek < 0) {
r.push(`${His} life used to revolve around being pregnant all the time and nothing has changed. ${He} <span class="trust dec">fears</span> that ${his} entire life will revolve around pregnancy and <span class="devotion inc">slips more into submission</span> of ${his} fate.`);
slave.trust -= 1;
slave.devotion += 1;
} else {
r.push(`${He} remembers how ${his} womb used to be swollen with children as often as possible, and is <span class="devotion inc">thankful</span> and <span class="trust inc">grateful</span> that ${he} isn't just meat to fuck pregnant anymore.`);
slave.trust += 1;
slave.devotion += 1;
}
break;
case "a bioreactor":
if (V.dairyRestraintsSetting < 2 || slave.assignment !== "work in the dairy" && slave.assignment !== "get milked") {
r.push(`${He} remembers what it was like to be a living, breathing, milk-jetting,`);
if (isFertile(slave) && (V.dairyPregUpgrade > 0)) {
r.push(`baby-filled,`);
}
if (slave.balls !== 0) {
r.push(`cum-squirting,`);
}
r.push(`drug-filled piece of industrial equipment, and is <span class="devotion inc">thankful</span> and <span class="trust inc">grateful</span> that ${he} isn't any more.`);
slave.trust += 1;
slave.devotion += 1;
}
break;
case "a Futanari Sister":
if (V.masterSuiteUpgradeLuxury === 2) {
if (slave.assignment === "serve in the master suite") {
r.push(`As a former Futanari Sister, the fuckpit in ${V.masterSuiteName} feels like home to ${him}, and ${he} has <span class="trust inc">no desire to ever leave.</span>`);
slave.trust += 1;
} else {
r.push(`${He} knows that ${V.masterSuiteName} features a fuckpit much like the one ${he} spent years enjoying as a Futanari Sister, and <span class="devotion inc">does ${his} best</span> to be a good girl in the hope you'll send ${him} there someday.`);
slave.devotion += 1;
}
}
break;
default:
if (slave.trust >= -50) {
if (setup.gratefulCareers.includes(slave.career)) {
slave.trust += 1;
r.push(`${He} remembers how hard ${his} life was before ${he} was a slave, and`);
if (slave.trust > 50) {
r.push(`<span class="trust inc">trusts you a bit more</span> for improving it.`);
} else if (slave.trust >= -20) {
r.push(`<span class="trust inc">trusts you a bit more</span> because of it.`);
} else {
r.push(`<span class="trust inc">fears you a little less</span> because of it.`);
}
slave.trust += 1;
}
}
if (slave.devotion >= -50) {
if (setup.menialCareers.includes(slave.career)) {
slave.devotion += 1;
r.push(`${He} took orders a lot before ${he} was a slave, and is subconsciously`);
if (slave.trust > 50) {
r.push(`<span class="devotion inc">a little more eager to obey.</span>`);
} else if (slave.trust >= -20) {
r.push(`<span class="devotion inc">a little quicker to obey.</span>`);
} else {
r.push(`<span class="devotion inc">a bit less resistant</span> to commands.`);
}
slave.devotion += 1;
}
}
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function organicFetishDevelopments(slave) {
if (slave.assignment === "get milked" || slave.assignment === "work in the dairy") {
if (slave.lactation > 0) {
if (slave.fetishStrength <= 95) {
if (slave.fetish !== "boobs") {
if (fetishChangeChance(slave) > random(0, 100)) {
r.push(`Since ${he} has had ${his} lactating nipples constantly caressed by the milkers, <span class="fetish gain">${he} begins to appreciate nipple stimulation in a new way.</span>`);
slave.fetish = "boobs";
slave.fetishKnown = 1;
slave.fetishStrength = 10;
}
} else if (slave.fetishStrength <= 95) {
if (slave.fetishKnown === 1) {
r.push(`Since ${he} has had ${his} lactating nipples constantly caressed by the milkers, <span class="fetish inc">${he} sinks deeper into sexual reliance on nipple stimulation.</span>`);
}
slave.fetishStrength += 4;
}
}
}
if (slave.balls > 0 || slave.prostate !== 0) {
if (slave.fetishStrength <= 95) {
if (slave.fetish !== "buttslut") {
if (fetishChangeChance(slave) > random(0, 100)) {
r.push(`Since ${he} has had ${his} prostate constantly stimulated to encourage ${him} to give cum, <span class="fetish gain">${he} begins to look forward to anal penetration.</span>`);
slave.fetish = "buttslut";
slave.fetishKnown = 1;
slave.fetishStrength = 10;
}
} else {
if (slave.fetishKnown === 1) {
r.push(`Since ${he} has had ${his} prostate constantly stimulated to encourage ${him} to give cum, <span class="fetish inc">${he} sinks deeper into sexual reliance on penetration of ${his} butthole.</span>`);
}
slave.fetishStrength += 4;
}
}
}
}
if (slave.heels === 1) {
if (!["boots", "extreme heels", "heels", "pumps"].includes(slave.shoes)) {
if (slave.fetish !== "submissive") {
if (slave.career === "a dairy cow" || slave.career === "a breeding bull") {
r.push(`${He} sees ${himself} as an animal, and as such, is perfectly content`);
if (hasAllLimbs(slave)) {
r.push(`walking on all fours.`);
} else {
r.push(`crawling on the ground.`);
}
} else {
if (fetishChangeChance(slave) > random(0, 100)) {
r.push(`Living as a sex slave on`);
if (hasAllLimbs(slave)) {
r.push(`all fours`);
} else {
r.push(`the ground`);
}
r.push(`<span class="fetish gain">turns ${him} into a sexual submissive.</span>`);
slave.fetish = "submissive";
slave.fetishKnown = 1;
slave.fetishStrength = 65;
}
}
} else {
if (slave.fetishKnown === 1) {
r.push(`Living as a sex slave on`);
if (hasAllLimbs(slave)) {
r.push(`all fours`);
} else {
r.push(`the floor`);
}
r.push(`<span class="fetish inc">pushes ${him} deeper into submission.</span>`);
}
slave.fetishStrength += 4;
}
}
}
if (slave.clitPiercing !== 3 || slave.clitSetting === "off" || slave.clitSetting === "none" || slave.clitSetting === "all" || slave.clitSetting === "men" || slave.clitSetting === "women") {
if (canDoAnal(slave)) {
if (slave.vagina > -1 && !canDoVaginal(slave)) {
if (slave.fetishStrength <= 95) {
if (fetishChangeChance(slave) > random(0, 100)) {
if (slave.assignment === "serve the public" || slave.assignment === "serve in the club") {
if (slave.fetish !== "buttslut") {
r.push(`With so much sexual attention focused on ${his} anus, <span class="fetish gain">${he} comes to view buttsex as the centerpiece of ${his} sexuality.</span>`);
slave.fetish = "buttslut";
slave.fetishKnown = 1;
slave.fetishStrength = 10;
} else if (slave.fetish === "buttslut" && slave.fetishStrength <= 95) {
if (slave.fetishKnown === 1) {
r.push(`With so much sexual attention focused on ${his} anus, <span class="fetish inc">${his} love of anal increases.</span>`);
}
slave.fetishStrength += 4;
}
} else if (slave.assignment === "whore" || slave.assignment === "work in the brothel") {
if (slave.fetish !== "buttslut") {
r.push(`With ${his} anus constantly sold for use, <span class="fetish gain">${he} comes to view buttsex as the centerpiece of ${his} sexuality.</span>`);
slave.fetish = "buttslut";
slave.fetishKnown = 1;
slave.fetishStrength = 10;
} else {
if (slave.fetishKnown === 1) {
r.push(`With ${his} anus constantly sold for use, <span class="fetish inc">${his} love of anal increases.</span>`);
}
slave.fetishStrength += 4;
}
}
}
}
} else if (slave.vagina === -1) {
if (slave.prostate !== 0) {
if (slave.fetishStrength <= 95) {
if (fetishChangeChance(slave) > random(0, 90)) {
if (slave.assignment === "serve the public" || slave.assignment === "serve in the club") {
if (slave.fetish !== "buttslut") {
r.push(`Since most of ${his} orgasms are caused by prostate stimulation from anal sex with citizens, <span class="fetish gain">${he} comes to view ${his} asshole as ${his} primary sexual organ.</span>`);
slave.fetish = "buttslut";
slave.fetishKnown = 1;
slave.fetishStrength = 10;
} else {
if (slave.fetishKnown === 1) {
r.push(`After many, many prostate orgasms with a citizen's cock up ${his} butt, <span class="fetish inc">${his} love of anal increases.</span>`);
}
slave.fetishStrength += 4;
}
} else if (slave.assignment === "whore" || slave.assignment === "work in the brothel") {
if (slave.fetish !== "buttslut") {
r.push(`Since most of ${his} orgasms are caused by prostate stimulation from anal sex with customers, <span class="fetish gain">${he} comes to view ${his} asshole as ${his} primary sexual organ.</span>`);
slave.fetish = "buttslut";
slave.fetishKnown = 1;
slave.fetishStrength = 10;
} else {
if (slave.fetishKnown === 1) {
r.push(`After many, many prostate orgasms with a customer's cock up ${his} butt, <span class="fetish inc">${his} love of anal increases.</span>`);
}
slave.fetishStrength += 4;
}
}
}
}
}
}
}
if (slave.rules.release.masturbation === 1) {
if (slave.balls > 0) {
if (slave.drugs === "testicle enhancement" || slave.drugs === "intensive testicle enhancement" || slave.drugs === "hyper testicle enhancement") {
if (fetishChangeChance(slave) > random(0, 100)) {
if (slave.fetish !== "cumslut") {
r.push(`While masturbating, ${he}'s at first surprised but then aroused by ${his} drug-enhanced ejaculation. After repeatedly covering ${himself} in the stuff, <span class="fetish gain">${he}'s become a cum fetishist.</span>`);
slave.fetish = "cumslut";
slave.fetishKnown = 1;
slave.fetishStrength = 10;
} else {
if (slave.fetishKnown === 1) {
r.push(`${His} masturbation sessions have come to consist mainly of ${him} blowing massive loads of cum into ${his} own mouth. <span class="fetish inc">${His} ejaculate addiction increases.</span>`);
}
slave.fetishStrength += 4;
}
}
}
}
}
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function paraphiliaAcquisition(slave) {
let FSApproves = 0;
if (slave.fetishStrength > random(80, 180)) {
switch (slave.fetish) {
case "submissive":
if (slave.sexualFlaw !== "neglectful") {
if (slave.energy < 80) {
if ([Job.PUBLIC, Job.WHORE, Job.BROTHEL, Job.CLUB, Job.GLORYHOLE, Job.ARCADE].includes(slave.assignment)) {
r.push(`Serving as a sex worker drives ${him} deeper and deeper into submission, and ${he} pays less and less attention to ${his} own pleasure. <span class="paraphilia gain">${He}'s become sexually self neglectful,</span> and only cares about getting others off.`);
slave.sexualFlaw = "neglectful";
slave.fetishStrength = 100;
FSApproves = 1;
}
} else if (slave.aphrodisiacs > 0 || slave.inflationType === "aphrodisiac") {
if (slave.addict > 2) {
r.push(`${His} aphrodisiac addiction makes ${him} dependent on submission. <span class="paraphilia gain">${He}'s become sexually self neglectful,</span> and only cares about getting others off.`);
slave.sexualFlaw = "neglectful";
slave.fetishStrength = 100;
FSApproves = 1;
}
}
}
break;
case "cumslut":
if (slave.sexualFlaw !== "cum addict") {
if (slave.dietCum > 0) {
r.push(`In addition to being an orally fixated cumslut, ${he} eats ejaculate in ${his} food, making the`);
if (canTaste(slave)) {
r.push(`taste`);
} else {
r.push(`texture`);
}
r.push(`omnipresent for ${him}. <span class="paraphilia gain">${He}'s become psychologically addicted to cum.</span>`);
slave.sexualFlaw = "cum addict";
slave.fetishStrength = 100;
FSApproves = 1;
} else if (slave.inflation !== 0 && slave.inflationType === "cum") {
r.push(`In addition to being an orally fixated cumslut, ${he} is required to keep ${his} belly bloated with cum at all times, making ${his} life revolve around being full of cum. <span class="paraphilia gain">${He}'s become psychologically addicted to cum.</span>`);
slave.sexualFlaw = "cum addict";
slave.fetishStrength = 100;
FSApproves = 1;
} else if (V.cockFeeder !== 0) {
r.push(`In addition to being an orally fixated cumslut, ${he} eats by sucking dick. <span class="paraphilia gain">${He}'s become psychologically addicted to cum.</span>`);
slave.sexualFlaw = "cum addict";
slave.fetishStrength = 100;
FSApproves = 1;
} else if (slave.aphrodisiacs > 0 || slave.inflationType === "aphrodisiac") {
if (slave.addict > 2) {
r.push(`${His} aphrodisiac addiction makes ${him} dependent on oral stimulation. <span class="paraphilia gain">${He}'s become psychologically addicted to cum.</span>`);
slave.sexualFlaw = "cum addict";
slave.fetishStrength = 100;
FSApproves = 1;
}
}
}
break;
case "buttslut":
if (slave.sexualFlaw !== "anal addict") {
if (slave.energy > 80) {
if (slave.anus > 0) {
if (slave.prostate > 0) {
r.push(`${He} has a powerful sex drive, and constantly coming to prostate stimulation drives ${him} ever deeper into ${his} identity as a helpless anal slut. <span class="paraphilia gain">${He}'s become psychologically addicted to getting assfucked.</span>`);
slave.sexualFlaw = "anal addict";
slave.fetishStrength = 100;
FSApproves = 1;
} else if (slave.chastityVagina) {
r.push(`${He} has a powerful sex drive, and since ${his} pussy's off limits, ${he} sinks ever deeper into ${his} identity as a helpless anal slut. <span class="paraphilia gain">${He}'s become psychologically addicted to getting assfucked.</span>`);
slave.sexualFlaw = "anal addict";
slave.fetishStrength = 100;
FSApproves = 1;
}
}
} else if (slave.aphrodisiacs > 0 || slave.inflationType === "aphrodisiac") {
if (slave.addict > 2) {
r.push(`${His} aphrodisiac addiction makes ${him} dependent on constant buttsex. <span class="paraphilia gain">${He}'s become psychologically addicted to getting assfucked.</span>`);
slave.sexualFlaw = "anal addict";
slave.fetishStrength = 100;
FSApproves = 1;
}
}
}
break;
case "humiliation":
if (slave.sexualFlaw !== "attention whore") {
if ([Job.PUBLIC, Job.WHORE, Job.BROTHEL, Job.CLUB].includes(slave.assignment)) {
r.push(`Serving as a public sex worker gives ${him} plenty of delicious humiliation, and ${he} cares less and less about sex itself and more about making people blush. <span class="paraphilia gain">${He}'s become an attention whore.</span>`);
slave.sexualFlaw = "attention whore";
slave.fetishStrength = 100;
FSApproves = 1;
} else if (slave.aphrodisiacs > 0 || slave.inflationType === "aphrodisiac") {
if (slave.addict > 2) {
r.push(`${His} aphrodisiac addiction makes ${him} dependent on stares to get off. <span class="paraphilia gain">${He}'s become an attention whore.</span>`);
slave.sexualFlaw = "attention whore";
slave.fetishStrength = 100;
FSApproves = 1;
}
}
}
break;
case "boobs":
if (slave.sexualFlaw !== "breast growth") {
if (slave.drugs === "breast injections" || slave.drugs === "intensive breast injections") {
r.push(`${He} loves ${his} tits, and feeling them respond to drug injections starts to hold more fascination for ${him} than mere sex. <span class="paraphilia gain">${His} sexual identity is now dominated by ${his} swelling boobs.</span>`);
slave.sexualFlaw = "breast growth";
slave.fetishStrength = 100;
FSApproves = 1;
} else if (slave.drugs === "hyper breast injections") {
r.push(`${He} loves ${his} tits, and watching them steadily swell from the hyper injections starts to hold more fascination for ${him} than mere sex. <span class="paraphilia gain">${His} sexual identity is now dominated by ${his} swelling boobs.</span>`);
slave.sexualFlaw = "breast growth";
slave.fetishStrength = 100;
FSApproves = 1;
} else if (slave.geneticQuirks.gigantomastia === 2 && boobSize >= 25000) {
r.push(`${He} loves ${his} tits, and measuring their`);
if (V.geneticMappingUpgrade >= 1) {
r.push(`weekly growth from gigantomastia`);
} else {
r.push(`mysterious weekly growth`);
}
r.push(`starts to hold more fascination for ${him} than mere sex. <span class="paraphilia gain">${His} sexual identity is now dominated by ${his} swelling boobs.</span>`);
slave.sexualFlaw = "breast growth";
slave.fetishStrength = 100;
FSApproves = 1;
} else if (slave.hormoneBalance >= 100 && slave.boobs < 1000) {
r.push(`${He} loves ${his} tits, and feeling them grow under female hormone treatments starts to hold more fascination for ${him} than mere sex. <span class="paraphilia gain">${His} sexual identity is now dominated by ${his} swelling boobs.</span>`);
slave.sexualFlaw = "breast growth";
slave.fetishStrength = 100;
FSApproves = 1;
} else if (slave.aphrodisiacs > 0 || slave.inflationType === "aphrodisiac") {
if (slave.addict > 2) {
r.push(`${His} aphrodisiac addiction makes ${him} dependent on ${his} tits for relief. <span class="paraphilia gain">${His} sexual identity is now dominated by ${his} swelling boobs.</span>`);
slave.sexualFlaw = "breast growth";
slave.fetishStrength = 100;
FSApproves = 1;
}
}
}
break;
case "sadist":
if (slave.sexualFlaw !== "malicious") {
if (slave.ID === V.WardenessID) {
r.push(`As Wardeness, ${he} becomes <span class="paraphilia gain">sexually addicted to inflicting pain and anguish.</span>`);
slave.sexualFlaw = "malicious";
slave.fetishStrength = 100;
FSApproves = 1;
} else if (slave.aphrodisiacs > 0 || slave.inflationType === "aphrodisiac") {
if (slave.addict > 2) {
r.push(`${His} aphrodisiac addiction makes ${him} dependent on degradation in other slaves to get off. ${He} becomes <span class="paraphilia gain">sexually addicted to inflicting pain and anguish.</span>`);
slave.sexualFlaw = "malicious";
slave.fetishStrength = 100;
FSApproves = 1;
}
}
}
break;
case "dom":
if (slave.sexualFlaw !== "abusive") {
if (V.HeadGirlID !== 0) {
if (V.HGSeverity >= 0) {
if (slave.ID === V.HeadGirlID) {
r.push(`As Head Girl, ${he}'s plentifully provided with misbehaving slaves to dominate sexually. ${He} becomes more and more eager until ${he}'s actively <span class="paraphilia gain">sexually abusive, getting off on the thrill of forcing ${himself} on other slaves.</span>`);
slave.sexualFlaw = "abusive";
slave.fetishStrength = 100;
FSApproves = 1;
}
}
} else if (slave.aphrodisiacs > 0 || slave.inflationType === "aphrodisiac") {
if (slave.addict > 2) {
r.push(`${His} aphrodisiac addiction makes ${him} dependent on pain in others to get off. ${He}'s become <span class="paraphilia gain">sexually abusive, getting off on the thrill of forcing ${himself} on other slaves.</span>`);
slave.sexualFlaw = "abusive";
slave.fetishStrength = 100;
FSApproves = 1;
}
}
}
break;
case "masochist":
if (slave.sexualFlaw !== "self hating") {
if ([Job.GLORYHOLE, Job.ARCADE].includes(slave.assignment)) {
r.push(`Condemned to serve as a public fuckhole, ${his} masochistic tendencies darken into sexual appreciation for ${his} life as a human sex toy. <span class="paraphilia gain">${He}'s descended into true self hatred.</span>`);
slave.sexualFlaw = "self hating";
slave.fetishStrength = 100;
FSApproves = 1;
} else if (slave.assignment === "work in the dairy" && V.dairyRestraintsSetting >= 2) {
r.push(`Strapped into a milking machine's tender, penetrative embrace, ${his} masochistic tendencies darken into sexual appreciation for ${his} life as a human factory. <span class="paraphilia gain">${He}'s descended into true self hatred.</span>`);
slave.sexualFlaw = "self hating";
slave.fetishStrength = 100;
FSApproves = 1;
} else if (slave.aphrodisiacs > 0 || slave.inflationType === "aphrodisiac") {
if (slave.addict > 2) {
r.push(`${His} aphrodisiac addiction makes ${him} dependent on sexual self harm. <span class="paraphilia gain">${He}'s descended into true self hatred.</span>`);
slave.sexualFlaw = "self hating";
slave.fetishStrength = 100;
FSApproves = 1;
}
}
}
break;
case "pregnancy":
if (slave.sexualFlaw !== "breeder") {
if (slave.preg >= slave.pregData.normalBirth * .75 && slave.geneticQuirks.uterineHypersensitivity === 2) {
r.push(`The constant pleasure ${he} feels from the movement in ${his} womb causes ${him} to pay more sexual attention to being pregnant than to impregnation. <span class="paraphilia gain">${He}'s become obsessed with breeding.</span>`);
slave.sexualFlaw = "breeder";
slave.fetishStrength = 100;
FSApproves = 1;
} else if (slave.preg > 37 && slave.broodmother > 0) {
if (slave.broodmother === 2) {
r.push(`${He}'s nearly bursting with life and giving birth constantly,`);
} else {
r.push(`${He}'s stuffed full of child and brings a new life into the world each week, with or without a good fucking,`);
}
r.push(`causing ${him} to pay more sexual attention to pregnancy than to impregnation. <span class="paraphilia gain">${He}'s become obsessed with breeding.</span>`);
slave.sexualFlaw = "breeder";
slave.fetishStrength = 100;
FSApproves = 1;
} else if (slave.bellyPreg > 100 && slave.pregKnown === 1 && slave.pregSource === -1 && slave.breedingMark === 1 && V.propOutcome === 1 && slave.devotion > 75) {
r.push(`${He}'s been marked to be the bearer of your offspring and is growing larger by the day with your child${slave.pregType > 1 ? "ren" : ""}. ${He} is to be nothing more than a vessel for your children, and as such <span class="paraphilia gain">has become obsessed with carrying them.</span>`);
slave.sexualFlaw = "breeder";
slave.fetishStrength = 100;
FSApproves = 1;
} else if (slave.bellyPreg >= 120000) {
r.push(`${He}'s so overfull with life that ${he} starts to pay much more sexual attention to pregnancy than to impregnation. <span class="paraphilia gain">${He}'s become obsessed with breeding.</span>`);
slave.sexualFlaw = "breeder";
slave.fetishStrength = 100;
FSApproves = 1;
} else if (slave.counter.births > 10) {
r.push(`${He}'s been bred so much that ${he} starts to pay as much sexual attention to pregnancy as to impregnation. <span class="paraphilia gain">${He}'s become obsessed with breeding.</span>`);
slave.sexualFlaw = "breeder";
slave.fetishStrength = 100;
FSApproves = 1;
} else if (slave.assignment === "work in the dairy" && V.dairyPregSetting >= 2 && slave.pregKnown === 1) {
r.push(`With ${his} womanhood fucked full of cum and fertility drugs, ${his} pregnancy fetish deepens into true perversity. <span class="paraphilia gain">${He}'s become obsessed with breeding.</span>`);
slave.sexualFlaw = "breeder";
slave.fetishStrength = 100;
FSApproves = 1;
} else if (slave.aphrodisiacs > 0 || slave.inflationType === "aphrodisiac") {
if (slave.addict > 2) {
r.push(`${His} aphrodisiac addiction makes ${him} dependent on ${his} pregnancy fantasies. <span class="paraphilia gain">${He}'s become obsessed with breeding.</span>`);
slave.sexualFlaw = "breeder";
slave.fetishStrength = 100;
FSApproves = 1;
}
}
}
break;
}
}
if (FSApproves) {
if (V.arcologies[0].FSHedonisticDecadence !== "unset") {
r.push(`Allowing ${him} to indulge in ${his} fetish to the point of obsession advances hedonism and <span class="reputation inc">bolsters your reputation.</span>`);
FutureSocieties.Change("Hedonistic", 2);
}
}
}
})();
|
MonsterMate/fc
|
src/endWeek/saLongTermMentalEffects.js
|
JavaScript
|
mit
| 113,402
|
App.SlaveAssignment.longTermPhysicalEffects = (function() {
"use strict";
let r;
// eslint-disable-next-line no-unused-vars
let he, him, his, hers, himself, girl, loli, He, His, wife;
let gigantomastiaMod;
let rearQuirk;
let boobSize;
let buttSize;
let faceValue;
let slaveInt;
return saLongTermPhysicalEffects;
/**
* @param {App.Entity.SlaveState} slave
* @returns {string}
*/
function saLongTermPhysicalEffects(slave) {
r = [];
gigantomastiaMod = slave.geneticQuirks.gigantomastia === 2 ? (slave.geneticQuirks.macromastia === 2 ? 3 : 2) : 1;
rearQuirk = slave.geneticQuirks.rearLipedema === 2 ? 2 : 0;
boobSize = slave.boobs - slave.boobsImplant - slave.boobsMilk;
buttSize = slave.butt - slave.buttImplant;
faceValue = slave.face - slave.faceImplant;
slaveInt = slave.intelligence + slave.intelligenceImplant;
({
// eslint-disable-next-line no-unused-vars
he, him, his, hers, himself, girl, He, His, loli, wife
} = getPronouns(slave));
if (slave.fuckdoll > 0) {
fuckdollEffects(slave); // Moved up to follow the disability block that proceeds this function in LTE
}
teeth(slave);
if (V.weightAffectsAssets !== 0) {
weightAffectsAssets(slave);
}
if (slave.anus > 0 || slave.vagina > 2) {
holeRelaxation(slave);
}
malenessAdjustments(slave);
if ((slave.balls === 0 || slave.ballType === "sterile") && slave.ovaries === 0 && slave.mpreg === 0) {
noHormoneProduction(slave);
}
if (slave.vagina === -1 && slave.dick === 0) {
nullSexualFrustration(slave);
}
if (slave.fuckdoll === 0) {
adjustSexualAppetite(slave);
}
sexualSatisfaction(slave);
healthEffects(slave);
ageEffects(slave);
if (slave.geneMods.NCS === 1) {
NCSEffects(slave);
}
geneticQuirkEffects(slave);
boobsEffects(slave); // Moved up from middle of the mobility and oversized asset set of text.
bellyEffects(slave); // Moved up from middle of the mobility and oversized asset set of text.
if (slave.fuckdoll === 0) {
mobility(slave);
hugeBreasts(slave);
if (slave.fetish !== "mindbroken" && isSlaveAvailable(slave)) {
boobAccessibility(slave);
}
}
hugeBelly(slave);
if (slave.fuckdoll === 0) {
if (slave.fetish !== "mindbroken" && isSlaveAvailable(slave)) {
bellyAccessibility(slave);
hugeDick(slave);
dickAccessibility(slave);
hugeBalls(slave);
ballsAccessibility(slave);
hugeHips(slave);
hugeButt(slave);
buttAccessibility(slave);
}
}
healthBlips(slave);
return r.join(" ");
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function fuckdollEffects(slave) {
if (getBestVision(slave) > 0) {
if (slave.fuckdoll > random(20, 100)) {
r.push(`${His} suit blinds ${him}, and ${his} <span class="health dec">vision worsens</span> from long disuse.`);
eyeSurgery(slave, "both", "blind");
}
}
if (slave.hears >= 0) {
if (slave.fuckdoll > random(20, 100)) {
r.push(`${His} suit deafens ${him}, and ${his} <span class="health dec">hearing worsens</span> from long disuse.`);
slave.hears = -1;
}
}
if (slave.curatives === 0 && slave.inflationType !== "curative") {
r.push(`The extreme physical stress of living in the suit <span class="health dec">damages ${his} health.</span>`);
healthDamage(slave, 10);
} else {
r.push(`The`);
if (slave.curatives === 1) {
r.push(`preventatives`);
} else if (slave.inflationType === "curative") {
r.push(`rectal curatives`);
} else {
r.push(`curatives`);
}
r.push(`protect ${him} from the extreme physical stress of living in the suit.`);
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function teeth(slave) {
if (slave.teeth === "straightening braces") {
if (slave.fuckdoll === 0 && slave.fetish !== "mindbroken") {
if (slave.devotion <= 20) {
r.push(`${His} mouth full of orthodontia is quite uncomfortable,`);
if (slaveInt > 15) {
r.push(`but ${he} has the presence of mind to know that it's for ${his} own good, and ${he} doesn't blame you for it.`);
} else {
r.push(`and ${he}'s stupid enough to <span class="devotion dec">blame you</span> for the discomfort.`);
slave.devotion -= 1;
}
} else {
r.push(`${He} puts up with the discomfort produced by ${his} orthodontia for your sake.`);
}
}
if (random(1, 10) === 1) {
r.push(`${His} braces <span class="improvement">straighten ${his} teeth.</span> They can now be removed to leave ${him} with a beautiful smile, or left on.`);
slave.teeth = "cosmetic braces";
}
} else if (slave.teeth === "baby") {
if (V.seeAge === 1 && slave.physicalAge >= 6 && random(0, (slave.birthWeek * 2))) {
slave.teeth = "mixed";
r.push(`${He} lost ${his} first baby tooth this week.`);
}
} else if (slave.teeth === "mixed") {
if (V.seeAge === 1 && slave.physicalAge >= 12 && random(0, (slave.birthWeek * 2))) {
r.push(`${He} lost the last of ${his} baby teeth this week.`);
const crookedTeethGen = ((faceValue + 100) / 10);
if (random(0, crookedTeethGen) < 5) {
r.push(`Unfortunately,`);
if (random(0, 5) < 1) {
slave.teeth = "gapped";
r.push(`${he} has a large <span class="noteworthy">gap</span> between ${his} front teeth that`);
} else {
slave.teeth = "crooked";
r.push(`${his} teeth came in <span class="noteworthy">crooked</span> and`);
}
r.push(`will require braces to correct.`);
} else {
r.push(`${He} has <span class="noteworthy">quite the lovely smile.</span>`);
slave.teeth = "normal";
}
}
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function weightAffectsAssets(slave) {
let normBreasts;
let normButt;
let adj1;
let adj2;
let adj3;
if (slave.weight <= 10) {
if (slave.diet !== "fattening") {
if (slave.hormoneBalance > 30 && slave.geneMods.NCS !== 1) { // 'Expected' breast size based on weight for feminine-bodied slaves
normBreasts = Math.trunc((100 + (slave.weight + 100) * 5 + 2 * slave.lactationAdaptation) * (0.85 + slave.hormoneBalance / 400) * gigantomastiaMod);
normButt = ((slave.weight + 100) * .025 * ( 0.9 + slave.hormoneBalance / 600) * ( rearQuirk / 2 + 1));
} else { // For masculine-and childish-bodied slaves
normBreasts = ((slave.weight + 100) * 2 + slave.lactationAdaptation) * gigantomastiaMod;
normButt = ((slave.weight + 100) * .0125 * (rearQuirk / 2 + 1));
}
if (slave.weight < -95) {
adj1 = "desperately underweight";
adj2 = "plush";
adj3 = "healthy";
} else if (slave.weight <= -30) {
adj1 = "underweight";
adj2 = "big";
adj3 = "plush";
} else if (slave.weight < -10) {
adj1 = "skinny";
adj2 = "huge";
adj3 = "big";
} else {
adj1 = "thin";
adj2 = "monstrous";
adj3 = "huge";
}
if (boobSize > (4 * normBreasts + 400) && gigantomastiaMod !== 3) {
r.push(`${His} ${adj1} body <span class="change negative">burns fat off ${his} ${adj2} boobs.</span>`);
slave.boobs -= 50 / gigantomastiaMod;
} else if (buttSize > (3 * normButt + 3) && rearQuirk !== 2) {
r.push(`${His} ${adj1} body <span class="change negative">burns fat off ${his} ${adj2} butt.</span>`);
slave.butt -= 0.4;
} else if (boobSize > (3 * normBreasts + 200) && gigantomastiaMod !== 3) {
r.push(`${His} ${adj1} body <span class="change negative">burns some fat off ${his} ${adj3} boobs.</span>`);
slave.boobs -= 25;
} else if (buttSize > (2 * normButt + 2) && rearQuirk !== 2) {
r.push(`${His} ${adj1} body <span class="change negative">burns some fat off ${his} ${adj3} butt.</span>`);
slave.butt -= 0.2;
}
}
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function holeRelaxation(slave) {
if (!["be confined in the arcade", "serve in the club", "serve the public", "whore", "work a glory hole", "work in the brothel"].includes(slave.assignment)) {
if (slave.assignment !== "serve in the master suite" || V.masterSuiteUpgradeLuxury < 2) {
if (slave.assignment !== "work in the dairy" || V.dairyStimulatorsSetting === 0) {
if (slave.geneMods.rapidCellGrowth !== 1) {
if (slave.vagina >= 3 && !["huge dildo", "large dildo", "long, huge dildo", "long, large dildo"].includes(slave.vaginalAccessory)) {
r.push(`With a rest from strenuous use, <span class="improvement">${his} loose vagina recovers a little.</span>`);
slave.vagina -= 1;
} else if (slave.anus >= 3 && !["huge plug", "large plug", "long, huge plug", "long, large plug"].includes(slave.buttplug)) {
r.push(`With a rest from continual sodomy, <span class="improvement">${his} gaping anus recovers a little.</span>`);
slave.anus -= 1;
}
}
}
}
}
if (slave.anus >= slave.analArea) {
if (random(1, 100) > (80 - (20 * (slave.anus - slave.analArea)))) {
slave.analArea += 1;
r.push(`${His} anal area is getting used to being`);
if (slave.analArea > 3) {
r.push(`permanently gaped, and the puckered skin around ${his} anus now runs from ${his} tailbone all the way down to the `);
if (slave.vagina > -1) {
r.push(`bottom of ${his} pussy.`);
} else {
r.push(`base of ${his} dick.`);
}
} else if (slave.analArea > 2) {
r.push(`very loose, and the puckered skin around ${his} anus now covers more of the space between ${his} buttocks.`);
} else if (slave.analArea > 1) {
r.push(`nice and relaxed, and it now looks quite lewd.`);
} else {
r.push(`penetrated, and to put it delicately, ${his} anus is now a bit more eye-catching.`);
}
}
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function malenessAdjustments(slave) {
if (slave.dick > 0) {
if (slave.foreskin > 0) {
if (slave.foreskin - slave.dick < -1) {
if (canAchieveErection(slave)) {
r.push(`${His} cockhead has grown to the point where it is much too large for ${his} foreskin, making ${his} erections so uncomfortable to achieve that ${his} <span class="stat drop">appetite for sex is reduced</span> by ${his} reluctance to undergo the discomfort.`);
slave.energy -= 2;
if (random(1, 300) < slave.energy || slave.geneMods.rapidCellGrowth === 1) {
r.push(`Despite this, ${he} spends enough of ${his} time hard that ${his} foreskin <span class="change positive">stretches out naturally.</span>`);
slave.foreskin += 1;
}
}
} else if (slave.foreskin - slave.dick < 0) {
if (canAchieveErection(slave)) {
r.push(`${His} cockhead has grown to the point where it is too large for ${his} foreskin, making ${his} erections uncomfortable to achieve; ${his} <span class="stat drop">arousal is slightly impeded</span> by ${his} reluctance to undergo the discomfort.`);
slave.energy -= 1;
if (random(1, 500) < slave.energy || slave.geneMods.rapidCellGrowth === 1) {
r.push(`Despite this, ${he} spends enough of ${his} time hard that ${his} foreskin <span class="change positive">stretches out naturally.</span>`);
slave.foreskin += 1;
}
}
} else if (slave.foreskin - slave.dick > 1 && slave.geneMods.rapidCellGrowth !== 1) {
if (canAchieveErection(slave)) {
if (random(30, 110) > slave.energy) {
r.push(`${His} penis has gotten so small that even when ${he}'s hard, ${his} loose foreskin rarely retracts. Despite ${his} regular erections, <span class="change negative">${his} foreskin atrophies.</span>`);
slave.foreskin -= 1;
}
} else {
if (random(40, 120) > slave.energy) {
r.push(`<span class="change negative">${His} foreskin atrophies,</span> which is not surprising, since ${his} penis has shrunk and it's almost never hard.`);
slave.foreskin -= 1;
}
}
}
}
if (slave.clit > 0) {
r.push(`${His} clit is largely vestigial, since ${he} has a penis atop ${his} vagina, so ${his} <span class="change negative">clitoris atrophies.</span>`);
slave.clit -= 1;
}
}
// slave may have balls but no dick
if (slave.balls > 0) {
if (slave.scrotum > 0) {
const extraScrotum = slave.scrotum - slave.balls;
if (extraScrotum < -1) {
r.push(`${His} nuts are much too big for ${his} ballsack, giving ${him} constant discomfort. ${His} <span class="stat drop">appetite for sex is reduced</span> by how much ${his} junk hurts.`);
slave.energy -= 2;
if (random(0, 2) === 0 || slave.geneMods.rapidCellGrowth === 1) {
r.push(`${His} scrotum <span class="change positive">stretches out naturally</span> as ${his} balls force it to accept their size.`);
slave.scrotum += 1;
}
} else if (extraScrotum < 0 && slave.balls > 5) {
if (random(0, 4) === 0 || slave.geneMods.rapidCellGrowth === 1) {
r.push(`${His} heavy balls tug ${his} scrotum downward, and it <span class="change positive">stretches out naturally</span> under their weight.`);
slave.scrotum += 1;
}
} else if (extraScrotum === -1) {
if (random(0, 5) === 0 || slave.geneMods.rapidCellGrowth === 1) {
r.push(`${His} scrotum <span class="change positive">stretches out naturally</span> as it adapts to ${his} newly expanded balls.`);
slave.scrotum += 1;
}
} else if (extraScrotum > 1 && slave.geneMods.rapidCellGrowth !== 1) {
if (slave.hormoneBalance >= 100) {
if (random(0, 2) === 0) {
r.push(`<span class="change negative">${His} ballsack atrophies,</span> which is not surprising, since ${he}'s on female hormones and ${his} girly balls have gotten so small.`);
slave.scrotum -= 1;
}
}
}
} else {
if (slave.balls > 2) {
r.push(`${His} balls have been relocated to ${his} abdomen, and while they still work there, it's not where they're designed to be. Routine scans show that <span class="change negative">they've atrophied,</span>`);
if (slave.balls > 3) {
r.push(`and will probably continue to do so until they stabilize at a below-average size.`);
} else {
r.push(`but are not likely to get any smaller.`);
}
slave.balls -= 1;
}
}
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function noHormoneProduction(slave) {
if (slave.energy > 5) {
if (slave.energy <= 95) {
if (slave.dick === 0) {
r.push(`${His} lack of natural sex hormones <span class="change negative">slightly reduces ${his} sex drive.</span>`);
slave.energy -= 1;
} else {
r.push(`${His} lack of balls <span class="change negative">reduces ${his} sex drive.</span>`);
slave.energy -= 2;
}
} else {
r.push(`${He}'s so addicted to sex that ${his} lack of natural sex hormones doesn't affect ${his} sex drive.`);
}
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function nullSexualFrustration(slave) {
let frustration = 0;
if (slave.energy > 20) {
r.push(`${He}`);
if (canDoAnal(slave)) {
if (slave.prostate !== 0) {
if (slave.fetish === "buttslut") {
if (slave.fetishStrength > 60) {
r.push(`is such a buttslut that ${his} null status doesn't affect ${his} libido at all; ${he}'s got ${his} prostate and that's all ${he} cares about.`);
} else {
r.push(`is a buttslut, but not enough of one that ${his} lack of`);
if (V.seeDicks > 0) {
r.push(`a dick or`);
}
r.push(`a pussy isn't frustrating.`);
frustration = 1;
}
} else {
r.push(`is no buttslut, but ${he} has a prostate, allowing ${him} a sexual outlet despite ${his} lack of`);
if (V.seeDicks > 0) {
r.push(`a dick or`);
}
r.push(`a pussy.`);
frustration = 1;
}
} else {
if (slave.fetish === "buttslut") {
if (slave.fetishStrength > 95) {
r.push(`is such a buttslut that ${his} complete lack of`);
if (V.seeDicks > 0) {
r.push(`a dick, a pussy, or a prostate`);
} else {
r.push(`a pussy`);
}
r.push(`only bothers ${him} slightly.`);
frustration = 1;
} else {
r.push(`is a buttslut, but not enough of to console ${him} for ${his} complete lack of`);
if (V.seeDicks > 0) {
r.push(`a dick, a pussy, or a prostate.`);
} else {
r.push(`a pussy.`);
}
frustration = 2;
}
} else {
r.push(`has no`);
if (V.seeDicks > 0) {
r.push(`dick, pussy, or prostate`);
} else {
r.push(`pussy`);
}
r.push(`and no easy way to get off.`);
frustration = 2;
}
}
} else {
r.push(`has no`);
if (V.seeDicks > 0) {
r.push(`dick, no`);
}
r.push(`pussy, and can't even take it up the ass, leaving ${him} no easy way to get off.`);
frustration = 2;
}
}
if (frustration > 0) {
r.push(`This <span class="change negative">affects ${his} libido</span> and is`);
if (slave.devotion > 50) {
r.push(`annoying, but ${he} puts up with it for your sake.`);
} else {
r.push(`<span class="devotion dec">annoying.</span>`);
slave.devotion -= frustration * 2;
}
slave.energy -= frustration * 3;
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function adjustSexualAppetite(slave) {
if (slave.fetish !== "mindbroken") { // future proofing for mindbreak-pleasure
if (slave.devotion > 95) {
if (slave.energy <= 50) {
r.push(`${He}'s so worshipful of you that ${he} derives erotic satisfaction simply from being your slave, giving ${him} <span class="improvement">more of an appetite for sex.</span>`);
slave.energy += 1;
}
} else if (slave.devotion > 50) {
r.push(`${He}'s so devoted to you that ${his} appetite for sex isn't affected by the unpleasant parts of slave life.`);
} else if (slave.energy > 95) {
// nymphos stay nymphos
} else if (slave.energy > 0) {
const sexJobs = [Job.PUBLIC, Job.WHORE, Job.BROTHEL, Job.CLUB, Job.GLORYHOLE, Job.ARCADE, Job.FUCKTOY, Job.MASTERSUITE, Job.SUBORDINATE].includes(slave.assignment);
if (slave.devotion > 20) {
if (sexJobs) {
r.push(`${His} assignment constantly requires ${him} to fuck. ${He} obeys, but <span class="stat drop">${his} appetite for sex is reduced.</span>`);
slave.energy -= 2;
} else {
r.push(`Sometimes, ${he} wishes ${he} weren't a sex slave, <span class="stat drop">reducing ${his} appetite for sex,</span> though less than if ${his} assignment required ${him} to fuck constantly.`);
slave.energy -= 1;
}
} else if (slave.devotion >= -20) {
if (sexJobs) {
r.push(`${His} assignment forces ${him} to let ${himself} get fucked constantly, <span class="stat drop">reducing ${his} appetite for sex.</span>`);
slave.energy -= 3;
} else {
r.push(`${He} isn't used to life as a sex slave, and the constant sexual anxiety <span class="stat drop">reduces ${his} appetite for sex,</span> though less than if ${his} assignment forced ${him} to let ${himself} get fucked constantly.`);
slave.energy -= 2;
}
} else {
if (sexJobs) {
r.push(`${His} assignment subjects ${him} to constant rape, <span class="stat drop">rapidly reducing ${his} appetite for sex.</span>`);
slave.energy -= 5;
} else {
r.push(`${He} hates being a sex slave, <span class="stat drop">reducing ${his} appetite for sex,</span> though less than if ${his} assignment subjected ${him} to constant rape.`);
slave.energy -= 3;
}
}
Math.max(slave.energy, 0);
}
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function sexualSatisfaction(slave) {
let sexPartner;
let fuckCount;
// There really is no good place for this since saRules is too early and saRivals/saRelationships is too late
if (slave.rivalry > 1 && V.universalRulesConsent === 0) {
sexPartner = getSlave(slave.rivalryTarget);
if (sexPartner && isSlaveAvailable(slave) && isSlaveAvailable(sexPartner)) {
// rape time
if (App.Utils.sexAllowed(sexPartner, slave)) {
fuckCount = random(1, (Math.ceil(slave.energy / 10) + 1));
slave.need -= fuckCount * 10;
SimpleSexAct.Slaves(sexPartner, slave, fuckCount);
}
}
}
if (App.Utils.hasPartnerSex(slave)) {
sexPartner = getSlave(slave.relationshipTarget);
if (sexPartner && isSlaveAvailable(slave) && isSlaveAvailable(sexPartner)) {
// sexy time
if (slave.relationship === 5 && canPenetrate(slave)) {
if (sexPartner.vagina === 0 && canDoVaginal(sexPartner)) {
seX(sexPartner, "vaginal", slave, "penetrative");
sexPartner.vagina++;
if (canImpreg(sexPartner, slave)) {
knockMeUp(sexPartner, 50, 0, slave.ID, true);
}
}
if (sexPartner.anus === 0 && canDoAnal(sexPartner)) {
seX(sexPartner, "anal", slave, "penetrative");
sexPartner.anus++;
if (canImpreg(sexPartner, slave)) {
knockMeUp(sexPartner, 50, 1, slave.ID, true);
}
}
}
fuckCount = random(Math.min(4, Math.ceil(slave.energy / 20)), 5);
slave.need = 0;
SimpleSexAct.Slaves(sexPartner, slave, fuckCount);
}
}
if (slave.need) {
if (slave.need > slave.energy / 2) {
const decay = 1 + Math.trunc(slave.need / 20);
if (slave.aphrodisiacs > 0 || slave.inflationType === "aphrodisiac") {
r.push(`${He} is not allowed to get off as frequently as ${his} aphrodisiac fueled sex drive demands, and the constant frustration`);
if (slave.fuckdoll !== 0 || slave.fetish === "mindbroken") {
r.push(`<span class="health dec">stresses ${his} body considerably.</span>`);
healthDamage(slave, decay);
} else {
r.push(`drives ${him} mad with lust. ${He} <span class="devotion dec">blames you</span> for this <span class="trust dec">cruelty.</span>`);
slave.devotion -= decay;
slave.trust -= decay;
}
} else if (slave.need > slave.energy && slave.energy >= 70) {
r.push(`${He} is not allowed to get off as frequently as ${his} powerful sex drive demands, and the constant frustration`);
if (slave.fuckdoll !== 0 || slave.fetish === "mindbroken") {
r.push(`<span class="health dec">stresses ${his} body considerably.</span>`);
healthDamage(slave, decay);
} else {
r.push(`drives ${him} mad with lust. ${He} <span class="devotion dec">blames you</span> for this <span class="trust dec">cruelty.</span>`);
slave.devotion -= decay;
slave.trust -= decay;
}
r.push(`Unable to achieve the release ${he} needs, ${his} <span class="stat drop">runaway libido is damaged.</span>`);
slave.energy -= decay;
} else {
r.push(`${He} is not allowed to get off as frequently as ${his} healthy sex drive demands, and the constant frustration <span class="stat drop">wears away at ${his} libido.</span>`);
slave.energy -= decay;
}
}
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function healthEffects(slave) {
if (slave.health.condition > 90) {
if (slave.need <= slave.energy / 2) {
if (slave.energy <= 70) {
r.push(`${His} outstanding health produces a <span class="improvement">slow improvement in libido.</span>`);
slave.energy += 1;
}
}
if (slave.face > 80) {
if (slave.face < 100) {
if (slave.trust > 95) {
r.push(`${He} is so healthy and trusting that <span class="change positive">the minute flaws in ${his} facial appearance seem to be smoothed away</span> every time ${he} sleeps.`);
r.push(faceIncrease(slave, 5));
}
}
}
if (V.seeAge === 1) {
if (slave.visualAge > 20 && slave.physicalAge > 20) {
if (slave.trust > 95 && slave.devotion > 95) {
if (slave.ageAdjust === 40) {
r.push(`${He} has been living a happy, healthy and trusting life under you for so long that you swear <span class="change positive">${he} looks a little younger</span> than a ${girl} ${his} age should.`);
slave.visualAge--;
slave.ageAdjust = 0;
} else if (random(1, 100) > 60) {
slave.ageAdjust++;
}
}
}
}
} else if (slave.health.condition > 60) {
if (slave.need <= slave.energy / 2) {
if (slave.energy <= 50) {
r.push(`${His} good health produces a <span class="improvement">slow improvement in libido.</span>`);
slave.energy += 1;
}
}
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function ageEffects(slave) {
if (slave.geneMods.immortality !== 1) {
if (slave.physicalAge >= 30) {
if (slave.physicalAge >= 70) {
if (slave.health.condition >= -90) {
if (slave.curatives === 0 && slave.inflationType !== "curative") {
if (slave.physicalAge - 30 > random(1, 100)) {
r.push(`With ${his} advanced age comes increasing health complications. It <span class="health dec">caught up with ${him}</span> this week.`);
healthDamage(slave, 10);
}
}
}
} else {
if (slave.health.condition > 20) {
if (slave.curatives === 0 && slave.inflationType !== "curative") {
if (slave.physicalAge - 30 > random(1, 100)) {
r.push(`The bloom comes off ${his} excellent health a little. It seems ${his} <span class="health dec">age</span> may be affecting ${him}.`);
healthDamage(slave, 10);
}
}
}
}
if (slave.trust < random(1, 100) && slave.geneticQuirks.neoteny !== 2) {
if (slave.health.condition < random(1, 100)) {
if (slave.physicalAge - 30 > random(1, 100)) {
r.push(`${His} face looks <span class="change negative">just a little older</span> than it did last week. ${He}'s not getting any younger.`);
slave.face -= 2;
}
}
}
}
if (V.seeAge === 1) {
if (slave.visualAge > 15 && slave.physicalAge > 15 && slave.geneticQuirks.neoteny !== 2) {
if (slave.trust < -20 && slave.devotion < -20) {
if (slave.ageAdjust === -40) {
r.push(`${He} has been living a miserable life under your feet for so long that you swear <span class="change negative">${he} looks a little older</span> than a ${girl} ${his} age should.`);
slave.visualAge++;
slave.ageAdjust = 0;
} else if (random(1, 100) > 40) {
slave.ageAdjust--;
}
}
}
}
} else {
if (slave.physicalAge > 26 || slave.visualAge > 26) {
r.push(`The genetic modifications that keep ${him} from growing old also steadily reverse the rigors of age, leaving ${him} <span class="change positive">looking a little younger.</span>`);
}
if (slave.physicalAge > 26) {
slave.physicalAge--;
}
if (slave.visualAge > 26) {
slave.visualAge--;
}
}
if (slave.geneticQuirks.progeria === 2 && slave.birthWeek > 2) {
if (((slave.birthWeek - 2) % 5) === 0) { // progeria should increase age on every fifth week but not zeroth week as the birthday age up has already handled that.
if (V.geneticMappingUpgrade >= 1 || (slave.physicalAge >= slave.actualAge + 20 && slave.tankBaby === 0)) {
if (V.geneticMappingUpgrade >= 1) {
r.push(`${His} progeria takes its toll, <span class="change negative">cruelly rushing ${him} to an early grave.</span>`);
} else {
r.push(`Worringly, ${he} <span class="change negative">seems even older</span> this week than the last.`);
}
} else {
r.push(`Oddly enough, ${he} <span class="change negative">seems a little older</span> this week than the last.`);
}
slave.physicalAge++;
slave.visualAge++;
slave.ovaryAge += 5; // Since we are using .physicalAge, we need to manipulate things to prevent the posibility of pregnancy.
}
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function NCSEffects(slave) {
// NCS youthening and shrinkage of giant organs and regular shrinking for regular organs happening when not youthening
let countNCS = 0;
let youthening = 0;
const youtheningLevel = Math.round(Math.clamp(((slave.physicalAge - 8) / 4) + .25, 0, 10));
/*
** r.push(`To prevent the NCS from firing on every attribute in one year, this variable counts the`);
** r.push(`number of NCS affects that fire. Most affects will only trigger if one or two other`);
** r.push(`have already fired, but won't fire beyond. There are two exceptions to that, first,`);
** r.push(`massively oversized growth assets, which will fire always, e.g. boobs > 5000, dick > 10,`);
** r.push(`etc. Second, Body structure, hips/shoulders may fire any time, (decreasing random).`);
**
** r.push(`Youthening (visual age year number reduction)`);
** r.push(`Happens on a sliding scale, the older a slave is, the faster the de-aging goes.`);
** r.push(`Consequently, it goes slower as the visual age approaches an 8 year old loli/shota body.`);
** r.push(`Age 45+=> auto age reduction 1 year per 1 week.`);
** r.push(`Age 41-44=> age reduction 1 year per 2 weeks.`);
** r.push(`Age 37-40=> age reduction 1 year per 3 weeks.`);
** r.push(`Age 33-36=> age reduction 1 year per 4 weeks.`);
** r.push(`Age 29-32=> age reduction 1 year per 5 weeks.`);
** r.push(`Age 25-28=> age reduction 1 year per 6 weeks.`);
** r.push(`Age 21-24=> age reduction 1 year per 7 weeks.`);
** r.push(`Age 17-20=> age reduction 1 year per 8 weeks.`);
** r.push(`Age 13-16=> age reduction 1 year per 9 weeks.`);
** r.push(`Age 9-12=> slowest age reduction 1 year per 10 weeks.`);
**
** r.push(`To track this, the ${slave.NCSyouthening} field counts the *charge* of youthening the slave`);
** r.push(`currently has, and if it's over the youthening requirements, the slave will become younger.`);
**
** r.push(`Additionally while years fly off quickly in the beginning for older slaves, and oversized body parts`);
** r.push(`shrink away, other secondary characteristics slowly but surely drop off, but based on the above`);
** *charge* of youthening.
**
** r.push(`Note that with this system a 45 year old slave given NCS would be indistinguishable from an 8 year`);
** r.push(`old in a little over 4 years time.`);
*/
slave.NCSyouthening++;
if (slave.visualAge > 8 && slave.NCSyouthening >= (11 - youtheningLevel)) {
// NCS: youthening fires!
if (V.seeAge === 1) {
r.push(`${He} has been living under the effects of ${his} <span class="ncs">NCS</span> for a while and the accumulated effects make <span class="change positive">${him} look younger again.</span>`);
}
slave.visualAge--;
countNCS++;
youthening++;
}
/*
** r.push(`height always fires if over 176 cm,`);
** r.push(`also fires if the slave is tall for their visual age`);
** r.push(`also if they are in * NCSyouthening 3-5 (reverse teen years) and`);
** r.push(`over 126 cm`);
** r.push(`or over height (30% chance)`);
*/
const heightDelta = slave.height - Height.mean(slave);
let shrinkage;
if ((slave.height > 176) || (heightDelta > 5) || ((slave.NCSyouthening >= 6) && ((slave.height > 126) || (heightDelta > 0)) && (random(1, 100) < 30))) {
if (heightDelta > 15) {
shrinkage = 5;
} else if (heightDelta > 5) {
shrinkage = 4;
} else if (heightDelta > -5) {
shrinkage = 3;
} else if (heightDelta > -15) {
shrinkage = 2;
} else {
shrinkage = 1;
}
r.push(`${His} <span class="ncs">NCS</span> is actively <span class="ncs">reducing ${his} stature, leaving ${him} shorter.</span>`);
slave.height -= shrinkage;
countNCS++;
}
/*
** r.push(`Boobs, nipples and areolae.`);
** r.push(`Boobs always fires for over 5000 cc,`);
** r.push(`nipples/areolae shrinkage will fire for boobs under 5000,`);
** r.push(`where nipples are tiny/cute at 30% chance.`);
** r.push(`anything over 300 will fire if`);
** r.push(`the slave's accumulated youthening is 6 or higher,`);
** r.push(`or by a 50% chance.`);
*/
/** @type {FC.NippleShape} */
let nipplesString;
if ((boobSize >= 5000) && (random(1, 100) < 90) && gigantomastiaMod !== 3) {
r.push(`${His} <span class="ncs">NCS</span> has <span class="change negative">reduced the size of ${his} bouncing breasts.</span>`);
slave.boobs -= Math.round(slave.boobs * .11);
countNCS++;
} else if ((boobSize <= 5000) && (!["cute", "fuckable", "tiny"].includes(slave.nipples)) && (random(1, 100) < 30)) {
if (slave.nipples === "inverted") {
nipplesString = "partially inverted";
} else if (slave.nipples === "partially inverted") {
nipplesString = "puffy";
} else {
nipplesString = either("cute", "tiny");
}
r.push(`${His} <span class="ncs">NCS</span> has <span class="change positive">made ${his} nipples ${nipplesString}.</span>`);
slave.nipples = nipplesString;
if (slave.areolae > 1) {
r.push(`${His} areolae also shrink down to a more normal`);
if (slave.areolaeShape !== "circle") {
r.push(`size, including their unique ${slave.areolaeShape} shapes.`);
} else {
r.push(`size.`);
}
slave.areolae = 1;
countNCS++;
}
} else if ((boobSize >= 300) && ((slave.NCSyouthening >= 6) || (random(1, 100) < 50)) && gigantomastiaMod !== 3) {
r.push(`${His} <span class="orange">NCS</span> has <span class="change negative">reduced the size of ${his} tits.</span>`);
slave.boobs -= Math.round(slave.boobs * .09);
countNCS++;
}
/*
** r.push(`Hips and Shoulders reshaping`);
** r.push(`One or the other can happen per week as long as the hips and shoulders are bigger than the smallest`);
** r.push(`level, though the chances get much more likely for the widest sizes.`);
*/
if (((slave.hips - Math.abs(slave.hipsImplant)) > -2) && (random(1, 100) < ((slave.hips + 3) * 18))) {
r.push(`${His} <span class="ncs">NCS</span> gets busy <span class="change negative"> reducing the size of ${his}`);
if (slave.hips >= 2) {
r.push(`freakish`);
} else if (slave.hips >= 0) {
r.push(`wide`);
} else if (slave.hips >= -2) {
r.push(`already narrow`);
}
r.push(`hips.</span>`);
slave.hips -= 1;
countNCS++;
} else if (((slave.shoulders - Math.abs(slave.shouldersImplant)) > -2) && (random(1, 100) < ((slave.shoulders + 3) * 18))) {
r.push(`${His} <span class="ncs">NCS</span> applies and<span class="change negative"> reduces the size of ${his}`);
if (slave.shoulders >= 2) {
r.push(`domineering`);
} else if (slave.shoulders >= -2 && slave.shoulders < 0) {
r.push(`already narrow`);
}
r.push(`shoulders.</span>`);
slave.shoulders -= 1;
countNCS++;
}
/*
** r.push(`Dick and clit shrinkage`);
** r.push(`Massive 10+ Dicks or 5+ Clits always fire, and at double power.`);
** r.push(`Below that by chance, (reducing chances by current size). In general clits shrink faster.`);
*/
if (slave.dick >= 10) {
r.push(`${His} <span class="ncs">NCS</span> is actively <span class="change negative">reducing the size of ${his} giant dick.</span>`);
slave.dick -= 2;
countNCS++;
} else if (slave.clit >= 5) {
r.push(`${His} <span class="ncs">NCS</span> has <span class="change negative">reduced the size of ${his} enormous clit-dick.</span>`);
slave.clit -= 2;
countNCS++;
} else if ((countNCS < 3) && (slave.dick > 2) && (random(1, 100) < ((slave.dick + 1) * 9))) {
r.push(`${His} <span class="ncs">NCS</span> is actively <span class="change negative">reducing the size of ${his} dick.</span>`);
slave.dick -= 1;
countNCS++;
} else if ((countNCS < 3) && (slave.clit >= 1) && (random(1, 100) < ((slave.clit + 2) * 16))) {
r.push(`${His} <span class="ncs">NCS</span> has <span class="change negative">reduced the size of ${his} clit.</span>`);
slave.clit -= 1;
countNCS++;
}
/*
** r.push(`Balls.`);
** r.push(`Massive testicles (10+) drop by 2 levels,`);
** r.push(`Others decrease by chance based on current size.`);
*/
if (slave.balls >= 10) {
r.push(`${His} <span class="ncs">NCS</span> gets busy <span class="change negative">reducing the size of ${his} titanic balls.</span>`);
slave.balls -= 2;
countNCS++;
} else if ((countNCS < 3) && (slave.balls > 2) && (random(1, 100) < ((slave.balls + 1) * 8))) {
r.push(`${His} <span class="ncs">NCS</span> gets busy <span class="change negative">reducing the size of ${his} balls.</span>`);
slave.balls -= 1;
countNCS++;
}
/*
** r.push(`Butt.`);
** r.push(`Tremendous butts burn of by 2 points.`);
** r.push(`Regular butts based on chances, decrease as the size does.`);
*/
if (buttSize >= 10) {
r.push(`${His} <span class="ncs">NCS</span> applies and <span class="change negative">reduces the size of ${his} bulbous butt.</span>`);
slave.butt -= 2;
countNCS++;
} else if ((countNCS < 3) && (buttSize >= 1) && (random(1, 100) < (slave.butt * 9))) {
r.push(`${His} <span class="ncs">NCS</span> applies and <span class="change negative">reduces the size of ${his} butt.</span>`);
slave.butt -= 1;
countNCS++;
}
/*
** r.push(`Scrotum and Labia`);
** r.push(`One or the other can fire per week.`);
** r.push(`Pendulous ballsacks or sagging labia will always fire.`);
** r.push(`Otherwise by reducing chance based on current sizes, but labias are a little more likely.`);
*/
if (slave.geneMods.rapidCellGrowth !== 1) {
if (slave.scrotum >= 5) {
r.push(`${His} <span class="ncs">NCS</span> kicks in and <span class="change negative">reduces the size of ${his} pendulous scrotum.</span>`);
slave.scrotum -= 2;
countNCS++;
} else if (slave.labia >= 5) {
r.push(`${His} <span class="ncs">NCS</span> kicks in and <span class="change negative">reduces the size of ${his} sagging labia.</span>`);
slave.labia -= 2;
countNCS++;
} else if ((countNCS < 3) && (slave.labia >= 1) && (random(1, 100) < (slave.labia * 11))) {
r.push(`${His} <span class="ncs">NCS</span> kicks in and <span class="change negative">reduces the size of ${his} labia.</span>`);
slave.labia -= 1;
countNCS++;
} else if ((countNCS < 3) && (slave.scrotum > 1) && (random(1, 100) < (slave.scrotum * 8.5))) {
r.push(`${His} <span class="ncs">NCS</span> kicks in and <span class="change negative">reduces the size of ${his} scrotum.</span>`);
slave.scrotum -= 1;
countNCS++;
}
}
/*
** r.push(`Voice.`);
** r.push(`Small chance for any non-childlike voice.`);
*/
if ((countNCS < 3) && (slave.voice < 3) && slave.voice !== 0 && (random(1, 100) > (slave.voice * 15))) {
r.push(`${His} <span class="ncs">NCS</span> has <span class="change positive">raised the pitch of ${his} voice, ${he} now sounds more `);
if (slave.voice === 1) {
r.push(`feminine.</span>`);
} else {
r.push(`childlike.</span>`);
}
slave.voice += 1;
countNCS++;
}
/*
** r.push(`Pussy/Ass-Pussy rejuvenation.`);
** 10% chance of either one rejuvenating per week. (The Child Whore's delight!)
*/
if (slave.geneMods.rapidCellGrowth !== 1) {
if ((countNCS < 2) && (slave.vagina > 1) && (random(1, 100) < (slave.vagina * 10))) {
r.push(`${His} <span class="ncs">NCS</span> manages to <span class="change positive">reverse the stretching in ${his} vagina, ${his} pussy now looks more childlike.</span>`);
slave.vagina -= 1;
countNCS++;
} else if ((countNCS < 2) && (slave.anus > 1) && (random(1, 100) < (slave.anus * 10))) {
r.push(`${His} <span class="ncs">NCS</span> effectively <span class="change positive">reverses the stretching in ${his} anus, ${his} ass-pussy now looks more childlike.</span>`);
slave.anus -= 1;
countNCS++;
}
}
/*
** r.push(`reset youthening for those that just got younger (see age above) or for already lolified slaves.`);
*/
if (youthening > 0 || slave.NCSyouthening > 9) {
slave.NCSyouthening = 0;
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function geneticQuirkEffects(slave) {
/* progeria and neoteny triggers */
if (slave.geneticQuirks.neoteny === 3 && slave.physicalAge >= 12) {
slave.geneticQuirks.neoteny = 2;
}
if (slave.geneticQuirks.progeria === 3 && slave.physicalAge >= 3) {
slave.geneticQuirks.progeria = 2;
}
/* macromastia random trigger + growth */
if (slave.geneticQuirks.gigantomastia === 3 && random(70 - slave.physicalAge, 300) < slave.hormoneBalance) {
slave.geneticQuirks.gigantomastia = 2;
}
if (slave.geneticQuirks.macromastia === 3 && random(70 - slave.physicalAge, 300) < slave.hormoneBalance) {
slave.geneticQuirks.macromastia = 2;
}
if (slave.geneticQuirks.macromastia === 2 && slave.geneticQuirks.gigantomastia === 2) {
if (boobSize < 100000 && slave.weight >= -95) {
if (V.geneticMappingUpgrade >= 1) {
r.push(`${His} <span class="change positive">breasts expand</span> due to ${his} abnormal strain of gigantomastia.`);
} else {
r.push(`${His} <span class="change positive">breasts are undeniably larger</span> than they were last week, though the exact cause is a mystery.`);
}
slave.boobs += 30;
}
} else if (slave.geneticQuirks.gigantomastia === 2) {
if (boobSize < 25000 && slave.weight >= -95) {
if (V.geneticMappingUpgrade >= 1) {
r.push(`${His} <span class="change positive">breasts expand</span> due to ${his} gigantomastia.`);
} else {
r.push(`You suspect that ${his} <span class="change positive">breasts have grown slightly</span> since last week, but you cannot account for why.`);
}
slave.boobs += 20;
}
} else if (slave.geneticQuirks.macromastia === 2) {
if (boobSize < 5000 && slave.weight >= -95) {
if (V.geneticMappingUpgrade >= 1) {
r.push(`${His} <span class="change positive">breasts expand</span> due to ${his} macromastia.`);
}
slave.boobs += 10;
}
}
if (slave.geneticQuirks.galactorrhea === 2 && App.EndWeek.saVars.inappropriateLactation === 1) {
App.EndWeek.saVars.inappropriateLactation = 0;
if (V.geneticMappingUpgrade >= 1) {
r.push(`${His} galactorrhea has caused ${him} to <span class="change positive">begin lactating.</span>`);
} else {
r.push(`${He} appears to have <span class="change positive">spontaneously begun lactating</span> for some reason or another.`);
}
slave.lactation = 1;
slave.lactationDuration = 2;
}
if (slave.geneticQuirks.rearLipedema === 2 && slave.butt < 20 && slave.weight >= -95) {
if (V.geneticMappingUpgrade >= 1) {
r.push(`${His} body <span class="change positive">continues to lay fat on ${his} rear</span> due to ${his} lipedema.`);
}
slave.butt += .1;
}
if (slave.geneticQuirks.uterineHypersensitivity === 2) {
if (slave.vaginaLube < 2 && slave.preg >= slave.pregData.normalBirth * .75) {
if (V.geneticMappingUpgrade >= 1) {
r.push(`${His} vagina begins to <span class="change positive">produce more sexual fluids</span> as the stimulation to ${his} hypersensitive uterus nears its climax.`);
} else {
r.push(`${His} vagina oddly begins to <span class="change positive">produce more sexual fluids</span> in apparent preparation to ${his} upcoming birth.`);
}
slave.vaginaLube += 1;
}
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function boobsEffects(slave) {
/* LACTATION EFFECTS */
if (slave.lactation > 1) {
if (slave.geneMods.NCS === 1) {
// Power struggle for sure
if (slave.boobs < 500) {
r.push(`The powerful lactation drugs ${he}'s implanted with <span class="change positive">slowly swell ${his} petite breasts.</span>`);
slave.boobs += 10;
}
} else if (slave.boobs < 800) {
r.push(`The powerful lactation drugs ${he}'s implanted with <span class="change positive">rapidly swell ${his} small breasts.</span>`);
slave.boobs += 100;
} else if (slave.boobs < 1600) {
r.push(`The powerful lactation drugs ${he}'s implanted with <span class="change positive">slowly swell ${his} big breasts.</span>`);
slave.boobs += 50;
} else if (slave.boobs < 3000 * gigantomastiaMod) {
r.push(`The powerful lactation drugs ${he}'s implanted with <span class="change positive">gradually swell ${his} enormous breasts.</span>`);
slave.boobs += 25;
}
slave.lactationDuration = 2;
}
if (slave.lactation === 1) {
if (slave.boobsMilk > 0) {
/*
r.push(`Without release, ${his} breasts have become <span class="change positive">`);
if (slave.lactationAdaptation > 50) {
r.push(`massively`);
}
r.push(`engorged</span> with pent-up milk.);
*/
/* I don't know where to put this since it happens at the tail end of endWeek now */
if (slave.boobs - slave.boobsImplant + slave.boobsMilk > slave.boobs - slave.boobsImplant * 2) {
r.push(`Having breasts bloated to the point of bursting is <span class="health dec">incredibly painful.</span> Spending a week like that is excruciating,`);
healthDamage(slave, 20);
} else if (slave.boobs - slave.boobsImplant + slave.boobsMilk > slave.boobs - slave.boobsImplant * .5) {
r.push(`Having breasts so swollen with milk that every motion hurts is <span class="health dec">very uncomfortable.</span> Spending a week like that only makes it worse,`);
healthDamage(slave, 5);
} else {
r.push(`${He} spends the week with breasts aching for release,`);
}
}
if (slave.lactationDuration === 0) {
if (S.Wardeness !== null && slave.assignment === "be confined in the cellblock" && (S.Wardeness.sexualFlaw === "malicious" || S.Wardeness.sexualFlaw === "abusive" || S.Wardeness.sexualFlaw === "breast growth")) {
slave.boobs -= slave.boobsMilk;
slave.boobsMilk = 0;
slave.lactationDuration = 2;
} else if (slave.drugs === "fertility drugs" || slave.drugs === "super fertility drugs") {
if (slave.boobsMilk > 0) {
r.push(`and, since ${he} is on lactation inducing drugs and not being milked, ${he} eventually can no longer hold back the flow, releasing ${his} milk supply`);
} else {
r.push(`and, since ${he} is on lactation inducing drugs, ${he} eventually can no longer hold back the flow, releasing ${his} milk supply`);
}
if (slave.fetish === "boobs") {
r.push(`in a <span class="devotion inc">lewd breastgasm.</span>`);
slave.devotion += 2;
} else if (slave.fetish === "humiliation") {
r.push(`in a <span class="devotion inc">humiliating, yet orgasmic, display.</span>`);
slave.devotion += 2;
} else if (slave.devotion > 50) {
r.push(`in an amusingly lewd display.`);
} else if (slave.devotion >= -20) {
r.push(`in a <span class="devotion inc">humiliating display.</span>`);
slave.devotion++;
} else {
r.push(`in a <span class="trust dec">shameful display.</span>`);
slave.trust--;
}
slave.boobsMilk /= 2;
slave.boobs -= slave.boobsMilk;
slave.lactationDuration = 1;
} else if (slave.geneticQuirks.galactorrhea === 2 && random(1, 100) <= slave.lactationAdaptation) {
r.push(`and ${he} eventually loses control, releasing ${his} milk supply`);
if (slave.fetish === "boobs") {
r.push(`in a <span class="devotion inc">lewd breastgasm.</span>`);
slave.devotion += 1;
} else if (slave.fetish === "humiliation") {
r.push(`in a <span class="devotion inc">humiliating, yet orgasmic, display.</span>`);
slave.devotion += 1;
} else if (slave.devotion > 50) {
r.push(`in an amusingly lewd display.`);
} else if (slave.devotion >= -20) {
r.push(`in an <span class="devotion dec">upsetting display.</span>`);
slave.devotion--;
} else {
r.push(`in a <span class="trust dec">shameful display.</span>`);
slave.trust--;
}
if (V.geneticMappingUpgrade >= 1) {
r.push(`${His} galactorrhea refuses to let ${his} lactation dry up, maintaining ${his} production despite the lack of demand.`);
}
slave.boobs -= slave.boobsMilk / 2;
slave.boobsMilk = slave.boobsMilk / 2;
slave.lactationDuration = 1;
} else {
if (slave.boobsMilk > 0) {
r.push(`but without regular use, ${his} lactation finally <span class="change negative">dries up</span> and ${he} can be drained without encouraging it.`);
} else {
r.push(`Without regular use, ${his} lactation naturally <span class="change negative">come to an end.</span>`);
}
slave.boobs -= slave.boobsMilk;
slave.boobsMilk = 0;
slave.lactation = 0;
}
}
}
if (slave.boobs - (slave.muscles * 30) > 5000 && slave.boobs <= 8000 && slave.boobsImplant / slave.boobs < .50 && slave.breastMesh !== 1) { // Check now requires breasts to be less than half implant to sag.
if (slave.physicalAge < random(10, 200)) {
if (slave.boobShape === "perky") {
r.push(`${His} <span class="change negative">breasts lose their perkiness</span> under their own titanic weight. Their nipples now point forward and ${his} boobs rest more heavily against the chest beneath them.`);
slave.boobShape = "torpedo-shaped";
} else if (slave.boobShape !== "saggy") {
r.push(`${His} <span class="change negative">breasts become saggy</span> under their own titanic weight. Their nipples now point downward and ${his} bosom sways pendulously with ${his} every movement.`);
slave.boobShape = "saggy";
}
}
}
// Oversized breast shrinkage
let triggerSize;
if (slave.physicalAge <= 3) {
triggerSize = (gigantomastiaMod === 2 ? 25000 : 7000);
} else if (slave.physicalAge <= 12) {
triggerSize = (gigantomastiaMod === 2 ? 25000 : 15000);
} else {
triggerSize = 30000;
}
if (boobSize > triggerSize) {
if (slave.assignment !== "work in the dairy" || V.dairyRestraintsSetting < 2 || V.arcologies[0].FSAssetExpansionistResearch === 0) {
if (slave.drugs !== "breast injections" && slave.drugs !== "intensive breast injections" && V.arcologies[0].FSAssetExpansionistResearch === 0) {
if (slave.bellyPreg < 300000 && slave.hormoneBalance < 300 && gigantomastiaMod !== 3) {
if (boobSize < triggerSize * 2) {
r.push(`${His} breasts are larger than ${his} body can possibly sustain without industrial intervention, and they <span class="change negative">naturally lose mass.</span>`);
slave.boobs -= 25;
} else {
r.push(`${His} breasts are far, far beyond what ${his} body can sustain without industrial intervention, and they <span class="change negative">naturally lose mass.</span>`);
slave.boobs -= 50 / gigantomastiaMod;
}
if (slave.geneMods.NCS === 1 && random(1, 100) > 50 * gigantomastiaMod) {
r.push(`This effect is massively compounded by ${his} <span class="ncs">NCS.</span>`);
slave.boobs -= Math.round(boobSize * .1);
}
}
}
}
}
// boobs too small for fuckable nipples
if (slave.nipples === "fuckable" && (slave.boobs - slave.boobsImplant < 500)) {
r.push(`Without the necessary flesh to support them, ${his} fuckable nipples pop out and stay out. They have <span class="change negative">reverted to being huge.</span>`);
slave.nipples = "huge";
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function bellyEffects(slave) {
if (slave.pregAdaptation > 40 && (slave.belly < 5000 && slave.preg < 1 && slave.pregWeek === 0) && slave.geneticQuirks.uterineHypersensitivity !== 2) {
if (slave.pregAdaptation > 1001) { // TODO: Compact, or expand useless branches below
slave.pregAdaptation--;
} else if (slave.pregAdaptation >= 751 && slave.pregAdaptation < 1000) {
slave.pregAdaptation--;
} else if (slave.pregAdaptation >= 501 && slave.pregAdaptation < 750) {
slave.pregAdaptation--;
} else if (slave.pregAdaptation >= 251 && slave.pregAdaptation < 500) {
slave.pregAdaptation--;
} else if (slave.pregAdaptation >= 101 && slave.pregAdaptation < 250) {
slave.pregAdaptation--;
} else if (slave.pregAdaptation >= 51 && slave.pregAdaptation < 100) {
slave.pregAdaptation--;
}
}
if (slave.cervixImplant >= 1) {
if (slave.bellyImplant >= 800000 || (slave.bellyImplant > 130000 && V.arcologies[0].FSTransformationFetishistResearch !== 1)) {
r.push(`${His} cervix implant detected that the volume of filler in ${slave.slaveName}'s belly reached ${His} implant's threshold, and <span class="change negative">opens backflow</span> several times throughout week.`);
if (V.arcologies[0].FSTransformationFetishistResearch !== 1) {
slave.bellyImplant = 120000;
} else {
slave.bellyImplant = 750000;
}
}
}
/*
if (V.masterSuitePregnancySlaveLuxuries === 1 && slave.broodmother === 2 && (slave.assignment === "serve in the master suite" || slave.assignment === "be your Concubine")) {
if (slave.diet !== "high caloric") {
if (slave.preg > slave.pregData.normalBirth / 2) {
r.push(`The pregnancy generator places heavy strain on ${him} as ${his} body <span class="health dec">consumes itself</span> to keep releasing eggs and maintain ${his} many developing babies.`);
healthDamage(slave, 5);
if (slave.weight < -50) {
healthDamage(slave, 10);
}
slave.chem += 2;
if (slave.weight < -50) {
r.push(`${He} is <span class="devotion dec">gravely concerned</span> over ${his} withered body and <span class="trust dec">terrified</span> of what will happen next.`);
slave.devotion -= 20;
slave.trust -= 20;
} else {
r.push(`${He} is <span class="devotion dec">concerned</span> by ${his} withering body and <span class="trust dec">fears</span> ${his} future.`);
slave.devotion -= 5;
slave.trust -= 5;
}
if (slave.physicalAge < 12) {
r.push(`${His} very young body is decimated by it.`);
if (random(20, 100) > slave.health.condition && slave.weight > -95) {
r.push(`${He} has <span class="health dec">lost weight.</span>`);
slave.weight -= 5;
}
if (random(20, 100) > slave.health.condition && slave.muscles > -95) {
r.push(`${He} has <span class="health dec">lost muscle mass.</span>`);
slave.muscles -= 5;
}
if (random(20, 100) > slave.health.condition and slave.boobs > 0) {
if (slave.weight <= -95) {
r.push(`With nothing else to draw from, ${his} body <span class="health dec">rapidly consumes ${his} breasts.</span>`);
slave.boobs -= 5000;
} else {
r.push(`${He} has <span class="health dec">lost breast tissue.</span>`);
slave.boobs -= 300;
}
Math.max(slave.boobs, 0);
}
if (random(20, 100) > slave.health.condition && slave.butt > 0) {
if (slave.weight <= -95) {
r.push(`With nothing else to draw from, ${his} body <span class="health dec">rapidly consumes ${his} ass fat.</span>`);
slave.butt -= 4;
} else {
r.push(`${He} has <span class="health dec">lost some ass fat.</span>`);
slave.butt -= 3;
}
Math.max(slave.butt, 0);
}
} else if (slave.physicalAge < 18) {
r.push(`${His} young body suffers greatly from it.`);
if (random(10, 80) > slave.health.condition && slave.weight > -95) {
r.push(`${He} has <span class="health dec">lost weight.</span>`);
slave.weight -= 5;
}
if (random(10, 80) > slave.health.condition && slave.muscles > -95) {
r.push(`${He} has <span class="health dec">lost muscle mass.</span>`);
slave.muscles -= 5;
}
if (random(10, 80) > slave.health.condition && slave.boobs > 0) {
if (slave.weight <= -95) {
r.push(`With nothing else to draw from, ${his} body <span class="health dec">rapidly consumes ${his} breasts.</span>`);
slave.boobs -= 2000;
} else {
r.push(`${He} has <span class="health dec">lost breast tissue.</span>`);
slave.boobs -= 200;
}
Math.max(slave.boobs, 0);
}
if (random(10, 80) > slave.health.condition && slave.butt > 0) {
if (slave.weight <= -95) {
r.push(`With nothing else to draw from, ${his} body <span class="health dec">rapidly consumes ${his} ass fat.</span>`);
slave.butt -= 3;
} else {
r.push(`${He} has <span class="health dec">lost some ass fat.</span>`);
slave.butt -= 2;
}
Math.max(slave.butt, 0);
}
} else if (slave.physicalAge > 32) {
r.push(`${His} mature body handles it well.`);
if (random(10, 60) > slave.health.condition && slave.weight > -95) {
r.push(`${He} has <span class="health dec">lost weight.</span>`);
slave.weight -= 5;
}
if (random(10, 60) > slave.health.condition && slave.muscles > -95) {
r.push(`${He} has <span class="health dec">lost muscle mass.</span>`);
slave.muscles -= 5;
}
if (random(10, 60) > slave.health.condition && slave.boobs > 0) {
if (slave.weight <= -95) {
r.push(`With nothing else to draw from, ${his} body <span class="health dec">rapidly consumes ${his} breasts.</span>`);
slave.boobs -= 1000;
} else {
r.push(`${He} has <span class="health dec">lost breast tissue.</span>`);
slave.boobs -= 50;
}
Math.max(slave.boobs, 0);
}
if (random(10, 60) > slave.health.condition && slave.butt > 0) {
if (slave.weight <= -95) {
r.push(`With nothing else to draw from, ${his} body <span class="health dec">rapidly consumes ${his} ass fat.</span>`);
slave.butt -= 2;
} else {
r.push(`${He} has <span class="health dec">lost some ass fat.</span>`);
slave.butt -= 1;
}
Math.max(slave.butt, 0);
}
} else {
if (random(10, 80) > slave.health.condition && slave.weight > -95) {
r.push(`${He} has <span class="health dec">lost weight.</span>`);
slave.weight -= 5;
}
if (random(10, 80) > slave.health.condition && slave.muscles > -95) {
r.push(`${He} has <span class="health dec">lost muscle mass.</span>`);
slave.muscles -= 5;
}
if (random(10, 80) > slave.health.condition && slave.boobs > 0) {
if (slave.weight <= -95) {
r.push(`With nothing else to draw from, ${his} body <span class="health dec">rapidly consumes ${his} breasts.</span>`);
slave.boobs -= 1000;
} else {
r.push(`${He} has <span class="health dec">lost breast tissue.</span>`);
slave.boobs -= 100;
}
Math.max(slave.boobs, 0);
}
if (random(10, 80) > slave.health.condition && slave.butt > 0) {
if (slave.weight <= -95) {
r.push(`With nothing else to draw from, ${his} body <span class="health dec">rapidly consumes ${his} ass fat.</span>`);
slave.butt -= 2;
} else {
r.push(`${He} has <span class="health dec">lost some ass fat.</span>`);
slave.butt -= 1;
}
Math.max(slave.butt, 0);
}
}
}
if (slave.preg > 30) {
if (slave.fetish !== "mindbroken" && slave.fuckdoll === 0) {
if (hasAnyArms(slave)) {
if (slave.devotion < -20) {
r.push(`When ${he} isn't laboring or performing ${his} duties ${he} can be seen pressing down on ${his} grotesque belly desperately trying to coax the device out of ${his} body. ${He} is <span class="trust dec">mortified</span> by ${his} body and <span class="devotion dec">loathes you</span> for doing this to ${him}.`);
slave.devotion -= 20;
slave.trust -= 20;
} else if (slave.devotion <= 20) {
r.push(`${He} runs ${his}`);
if (hasBothArms(slave)) {
r.push(`hands`);
} else {
r.push(`hand`);
}
r.push(`across ${his} bulging belly, feeling the life within threatening to burst ${him}. ${He} is <span class="trust dec">disgusted</span> by ${his} body and <span class="devotion dec">hates you</span> for doing this to ${him}.`);
slave.devotion -= 15;
slave.trust -= 15;
} else if (slave.devotion <= 95) {
r.push(`${He} runs ${his}`);
if (hasBothArms(slave)) {
r.push(`hands`);
} else {
r.push(`hand`);
}
r.push(`across ${his} bulging belly, feeling the life within growing larger. ${He} is <span class="trust dec">concerned</span> by ${his} body and <span class="devotion dec">is uncertain</span> on ${his} situation.`);
slave.devotion -= 10;
slave.trust -= 10;
}
} else {
if (slave.devotion < -20) {
r.push(`When ${he} isn't laboring or performing ${his} duties ${he} can be seen desperately thrashing trying to coax the device out of ${his} body. ${He} is <span class="trust dec">mortified</span> by ${his} body and <span class="devotion dec">loathes you</span> for doing this to ${him}.`);
slave.devotion -= 20;
slave.trust -= 20;
} else if (slave.devotion <= 20) {
r.push(`${He} attempts to shift beneath ${his} bulging belly, feeling the life within threatening to burst ${him}. ${He} is <span class="trust dec">disgusted</span> by ${his} body and <span class="devotion dec">hates you</span> for doing this to ${him}.`);
slave.devotion -= 15;
slave.trust -= 15;
} else if (slave.devotion <= 95) {
r.push(`${He} pushes ${his} bulging belly out, feeling the life within growing larger. ${He} is <span class="trust dec">concerned</span> by ${his} body and <span class="devotion dec">is uncertain</span> on ${his} situation.`);
slave.devotion -= 10;
slave.trust -= 10;
}
}
if (slave.counter.births > 100 && slave.devotion <= 20 && slave.trust <= 20) {
r.push(`Being constantly pregnant and giving birth to over a hundred offspring has taken its toll on ${slave.slaveName}'s mind. Feeling that ${he} is nothing more than a breeder has destroyed any hopes that ${he} had. ${slave.slaveName} has become <span class="mindbreak">completely broken,</span> leaving ${him} nothing more than a baby filled sack.`);
slave.fetish = "mindbroken";
slave.sexualFlaw = "none";
slave.behavioralFlaw = "none";
} else if (slave.weight <= -95 && slave.boobs < 100 && slave.butt < 1 && slave.muscles < -95) {
r.push(`Watching ${his} body sacrifice itself for a pregnancy ${he} hates takes its toll on ${slave.slaveName}'s mind. Feeling that ${he} is nothing more than a host for ${his} brood has destroyed any hopes ${he} had left. slave.slaveName has become <span class="mindbreak">completely broken.</span>`);
slave.fetish = "mindbroken";
slave.sexualFlaw = "none";
slave.behavioralFlaw = "none";
}
}
if (slave.fetish === "mindbroken" && slave.weight <= -95 && slave.butt < 1 && slave.boobs < 100 && slave.muscles < -95 && ((slave.physicalAge < 18 && slave.counter.births > 50) || (slave.physicalAge <= 32 && slave.counter.births > 100) || (slave.physicalAge > 32 && slave.counter.births > 150))) {
slave.counter.births += 50;
slave.counter.birthsTotal += 50;
V.birthsTotal += 50;
slave.vagina = 10;
WombFlush(slave);
V.slaveDead = 2;
}
}
} else {
r.push(`${His} high-calorie and nutrient filled diet allows ${his} body to handle its demanding pregnancy, though being stuffed only compounds the pressure within ${his} abdomen. ${He} <span class="devotion dec">resents</span> needing to have ${his} stomach bloated with food at all times, but <span class="trust inc">appreciates</span> the effort you are putting into keeping ${him} healthy.`);
slave.devotion -= 1;
slave.trust += 2;
}
} else {
r.push(`Being allowed to relax among the luxuries of the master suite permit ${his} body to handle its demanding pregnancy.`);
}
*/
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function mobility(slave) {
if (!canWalk(slave) || !canMove(slave)) {
let mobility = 1;
let hindrances = [];
let likesImmobility = 0;
if (!canMove(slave)) {
mobility = 0;
if (tooFatSlave(slave)) {
hindrances.push("fat body");
}
if (slave.physicalAge <= 3) {
if (slave.boobs > 25000 + (slave.muscles * 20)) {
hindrances.push("tits");
}
if (slave.belly >= 150000) {
hindrances.push("belly");
}
if (slave.balls >= 30 + (slave.muscles * 0.3)) {
hindrances.push("balls");
}
} else if ((slave.physicalAge <= 12)) {
if (slave.boobs > 100000 + (slave.muscles * 50)) {
hindrances.push("tits");
}
if (slave.belly >= 300000) {
hindrances.push("belly");
}
if (slave.balls >= 60 + (slave.muscles * 0.5)) {
hindrances.push("balls");
}
} else if ((slave.physicalAge < 18)) {
if (slave.boobs > 250000 + (slave.muscles * 100)) {
hindrances.push("tits");
}
if (slave.belly >= 600000) {
hindrances.push("belly");
}
if (slave.balls >= 90 + (slave.muscles * 0.7)) {
hindrances.push("balls");
}
} else {
if (slave.boobs > 500000 + (slave.muscles * 200)) {
hindrances.push("tits");
}
if (slave.belly >= 1000000) {
hindrances.push("belly");
}
if (slave.balls >= 90 + (slave.muscles * 0.7)) {
hindrances.push("balls");
}
}
} else {
if (tooBigBreasts(slave)) {
hindrances.push("tits");
}
if (tooBigBelly(slave)) {
hindrances.push("belly");
}
if (tooBigDick(slave)) {
hindrances.push("dick");
}
if (tooBigButt(slave)) {
hindrances.push("butt");
}
if (tooBigBalls(slave)) {
hindrances.push("balls");
}
if (tooFatSlave(slave)) {
hindrances.push("fat body");
}
}
if (mobility) {
r.push(`${His}`);
if (hindrances.length > 0) {
r.push(arrayToSentence(hindrances));
if (isAmputee(slave)) {
if (hindrances.length > 1) {
r.push(`but ultimately ${his} limblessness,`);
} else {
r.push(`or would be if ${he} had limbs,`);
}
} else if (!hasAnyLegs(slave)) {
if (hindrances.length > 1) {
r.push(`but ultimately ${his} leglessness,`);
} else {
r.push(`or would be if ${he} had legs,`);
}
} else if (!hasBothLegs(slave)) {
if (hindrances.length > 1) {
r.push(`but ultimately ${his} missing leg,`);
} else {
r.push(`or would be if ${he} had both legs,`);
}
} else if (slave.heels === 1 && !setup.highHeels.includes(slave.shoes)) {
if (hindrances.length > 1) {
r.push(`but ultimately ${his} heels having been clipped,`);
} else {
r.push(`or would be if ${his} heels weren't clipped,`);
}
}
if (hindrances.length === 1) {
r.push(`renders`);
} else {
r.push(`render`);
}
} else {
if (isAmputee(slave)) {
r.push(`limblessness renders`);
} else if ((!hasAnyLegs(slave))) {
r.push(`leglessness renders`);
} else if ((!hasBothLegs(slave))) {
r.push(`missing leg renders`);
} else if (slave.heels === 1 && !["boots", "extreme heels", "heels"].includes(slave.shoes)) {
r.push(`clipped heels render`);
}
}
r.push(`${him} incapable of walking,`);
} else {
r.push(`${He} is immobilized by ${his}`);
if (hindrances.length > 0) {
r.push(arrayToSentence(hindrances));
if (isAmputee(slave)) {
if (hindrances.length > 1) {
r.push(`but ultimately ${his} limblessness,`);
} else {
r.push(`or would be if ${he} had limbs,`);
}
} else if (!hasAnyLegs(slave)) {
if (hindrances.length > 1) {
r.push(`but ultimately ${his} leglessness,`);
} else {
r.push(`or would be if ${he} had legs,`);
}
}
} else {
if (isAmputee(slave)) {
r.push(`limblessness,`);
} else if (!hasAnyLegs(slave)) {
r.push(`leglessness,`);
}
}
}
r.push(`making ${his} life more difficult.`);
if (slave.fetish !== "mindbroken") {
if (mobility) {
if (slave.rules.mobility === "restrictive") {
if (slave.devotion < -20) {
r.push(`${He} <span class="devotion dec">hates being forced</span> to crawl around like some kind of animal, but it keeps ${him} properly <span class="trust dec">afraid.</span>`);
slave.devotion -= 2;
slave.trust -= 4;
} else if (slave.devotion >= -20) {
if (slave.fetish === "submissive") {
if (slave.fetishKnown === 1) {
r.push(`${He} <span class="devotion inc">loves being forced</span> to crawl around like some kind of animal.`);
slave.devotion += 1;
} else {
r.push(`${He} seems to enjoy ${his} forced prostration to anyone that comes ${his} way. <span class="fetish gain">${He}'s a natural submissive!</span>`);
slave.fetishKnown = 1;
}
likesImmobility = 1;
} else if (slave.fetish === "humiliation") {
if (slave.fetishKnown === 1) {
r.push(`${He} <span class="devotion inc">revels in the humiliation</span> of being forced to crawl around in the dirt.`);
slave.devotion += 1;
} else {
r.push(`${He} seems to be excited by the humiliation not being able to walk brings. <span class="fetish gain">${He}'s enjoys being degraded!</span>`);
slave.fetishKnown = 1;
}
likesImmobility = 1;
} else if (slave.devotion > 50) {
r.push(`It is your will that ${he} crawl around on`);
if (hasAllLimbs(slave)) {
r.push(`all fours,`);
} else {
r.push(`the ground,`);
}
r.push(`so ${he} embraces it as normality.`);
} else if (slave.devotion > 20) {
r.push(`${He} accepts being forced to crawl around on`);
if (hasAllLimbs(slave)) {
r.push(`all fours`);
} else {
r.push(`the ground`);
}
r.push(`as part of slave life.`);
} else {
r.push(`Being forced to crawl around on`);
if (hasAllLimbs(slave)) {
r.push(`all fours`);
} else {
r.push(`the ground`);
}
r.push(`<span class="devotion inc">breaks down any remaining dignity</span> ${he} may have and keeps ${him} <span class="trust dec">well aware of ${his} total vulnerability</span> to punishment.`);
slave.devotion += 2;
slave.trust -= 1;
}
}
} else {
if (slave.devotion > 50) {
r.push(`<span class="trust inc">${He} is thankful</span> that ${he} serves a ${getWrittenTitle(slave)} so kind as to permit ${him} the tools ${he} needs to not be reduced to crawling.`);
slave.trust += 1;
} else if (slave.devotion > 20) {
r.push(`<span class="trust inc">${He} appreciates</span> being given the means to maintain some semblance of mobility.`);
slave.trust += 2;
} else if (slave.devotion >= -20) {
r.push(`<span class="trust inc">${He} takes full advantage</span> of the provided mobility aids to avoid being forced to crawl everywhere.`);
slave.trust += 3;
} else {
r.push(`Anything is better than crawling on the floor, so ${he} makes full use of the provided mobility aids <span class="trust inc">to avoid such an indignity.</span>`);
slave.trust += 4;
}
}
} else {
if (slave.devotion < -20) {
r.push(`${He} can't can't escape those looking to prey upon ${him}, <span class="trust dec">terrifying ${him}.</span>`);
slave.trust -= 4;
} else if (slave.devotion >= -20) {
if (slave.fetish === "submissive") {
if (slave.fetishKnown === 1) {
r.push(`${He} <span class="devotion inc">loves having no choice but to be submissive</span> if ${he} wants assistance.`);
slave.devotion += 1;
} else {
r.push(`${He} seems to enjoy being at the mercy of you and your chattel. <span class="fetish gain">${He}'s a natural submissive!</span>`);
slave.fetishKnown = 1;
}
likesImmobility = 1;
} else if (slave.fetish === "humiliation") {
if (slave.fetishKnown === 1) {
r.push(`${He} <span class="devotion inc">revels in the humiliation</span> of being completely stripped of any ability to do things on ${his} own.`);
slave.devotion += 1;
} else {
r.push(`${He} seems to be excited by the humiliation complete immobility brings. <span class="fetish gain">${He}'s enjoys being degraded!</span>`);
slave.fetishKnown = 1;
}
likesImmobility = 1;
} else if (slave.devotion > 50) {
r.push(`Since you want to keep ${him} from moving, ${he}'s perfectly happy to sit around and wait for your attention.`);
} else if (slave.devotion > 20) {
r.push(`${He} accepts ${his} inability to move as part of slave life.`);
} else {
r.push(`Being completely unable to move leaves ${him} at the mercy of others, <span class="devotion inc">destroying any semblance of self-reliance ${he} has</span> and keeps ${him} <span class="trust dec">well aware of ${his} total vulnerability</span> to punishment.`);
slave.devotion += 3;
slave.trust -= 1;
}
}
}
}
if (mobility) {
r.push(`Other slaves have to help ${him} at times, which`);
} else {
r.push(`${He} requires help to do nearly everything, which`);
}
if (slave.fetish !== "mindbroken") {
if (likesImmobility) {
r.push(`suits ${his} fetish just fine.`);
} else if (slave.devotion > 50) {
r.push(`the devoted slave bears with equanimity.`);
} else if (slave.devotion > 20) {
r.push(`${he} can't help <span class="devotion dec">resenting</span> a little.`);
slave.devotion -= 1;
} else if (slave.devotion >= -20) {
if (slave.trust >= -20) {
r.push(`${he} <span class="devotion dec">actively resents.</span>`);
slave.devotion -= 2;
} else {
r.push(`${he} appreciates in ${his} frightening life.`);
slave.trust += 1;
}
} else {
if (slave.trust >= -20) {
r.push(`${he} <span class="devotion dec">utterly detests.</span>`);
slave.devotion -= 2;
} else {
r.push(`${he} needs in these dark times.`);
slave.trust += 2;
}
}
} else {
r.push(`goes largely unnoticed by the mindless slave.`);
}
if (isAmputee(slave)) {
if (slave.muscles > -80) {
r.push(`As a quadruple amputee`);
if (slave.muscles > 5) {
r.push(`${he} <span class="change negative">loses some muscle definition.</span>`);
} else {
r.push(`${his} <span class="change negative">muscles steadily atrophy.</span>`);
}
slave.muscles -= 3;
}
} else if (!canMove(slave) && slave.diet !== "muscle building") {
if (slave.muscles > -80) {
r.push(`Since ${he} is effectively incapable of moving ${himself},`);
if (V.universalRulesImmobileSlavesMaintainMuscles === 1 && slave.muscles >= 0) {
r.push(`and is required to maintain ${his} musculature, ${he} regularly lifts weights`);
if (!hasAnyArms(slave)) {
r.push(`with ${his}`);
if (hasBothLegs(slave)) {
r.push(`legs`);
} else {
r.push(`leg`);
}
}
r.push(`to stave off muscular atrophy.`);
} else if (slave.muscles >= -5) {
r.push(`${he} steadily <span class="change negative">loses muscle definition.</span>`);
slave.muscles--;
} else {
r.push(`${his} <span class="change negative">muscles steadily atrophy.</span>`);
slave.muscles--;
}
}
}
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function hugeBreasts(slave) {
if (slave.physicalAge >= 18) {
if (isSlaveAvailable(slave)) {
if (slave.boobs > 40000 + (slave.muscles * 200)) {
r.push(`${His} immense breasts are so big they pin ${him} to the floor, taking the weight off ${his} body.`);
if (slave.sexualFlaw === "breast growth") {
r.push(`${He}'s perfectly fine with dragging them along as a testament to how much ${he}'s managed to grow.`);
} else if (slave.devotion <= 50) {
r.push(`${He} finds pulling them along <span class="devotion dec">mildly annoying.</span>`);
slave.devotion -= 1;
} else {
r.push(`${He} finds pulling them along somewhat annoying, but ${he}'s happy to do so if it pleases you.`);
}
} else if (slave.boobs > 25000) {
if (canWalk(slave)) {
if (slave.sexualFlaw === "breast growth") {
r.push(`${His} giant tits are debilitatingly big and a constant reminder of ${his} progress. No amount of discomfort or pain could dissuade ${him} from going bigger.`);
} else if (V.arcologies[0].FSAssetExpansionist !== "unset" && (slave.behavioralFlaw === "arrogant" || slave.behavioralQuirk === "confident")) {
if (slave.behavioralFlaw === "arrogant") {
r.push(`${His} debilitatingly giant tits may be <span class="health dec">agony on ${his} back,</span> but ${he} is well aware of <span class="trust inc">just how valuable</span> they make ${him} in your arcology.`);
healthDamage(slave, 5);
slave.trust += 1;
} else if (slave.behavioralQuirk === "confident") {
r.push(`${His} giant tits are debilitatingly big, but ${he} knows how valuable they are to society and takes extra measures to care for them.`);
}
} else if (slave.devotion <= 50) {
r.push(`${His} giant tits are debilitatingly big. They are <span class="devotion dec">very uncomfortable</span> and <span class="health dec">painful</span> for ${his} body.`);
slave.devotion -= 3;
healthDamage(slave, 5);
} else {
r.push(`${His} giant tits are debilitatingly big, but ${he} takes measures to keep comfortable and pain free as to not concern you with ${his} troubles.`);
}
}
} else if (slave.boobs > 10000) {
if (slave.muscles <= 30) {
if (canWalk(slave)) {
if (slave.sexualFlaw === "breast growth") {
r.push(`${His} huge breasts are becoming troublesome for ${his} slight form, but that only drives ${his} desire to go even bigger.`);
} else if (V.arcologies[0].FSAssetExpansionist !== "unset" && (slave.behavioralFlaw === "arrogant" || slave.behavioralQuirk === "confident")) {
if (slave.behavioralFlaw === "arrogant") {
r.push(`${His} huge tits may leave ${him} with a <span class="health dec">sore back,</span> but ${he} is well aware of <span class="trust inc">just how valuable</span> they make ${him} in your arcology.`);
healthDamage(slave, 2);
slave.trust += 1;
} else if (slave.behavioralQuirk === "confident") {
r.push(`${His} breasts are uncomfortably large, but ${he} knows how valuable they are to society and does ${his} best to manage them.`);
}
} else if (slave.devotion <= 50) {
r.push(`Dragging ${his} huge tits around is <span class="devotion dec">uncomfortable</span> and <span class="health dec">painful</span> for ${his} slight form.`);
slave.devotion -= 2;
healthDamage(slave, 2);
} else {
r.push(`${He} finds ${his} breasts uncomfortably large, but ${he} grins and bears it for you.`);
}
}
}
} else if (slave.boobs > 4000) {
if (slave.muscles <= 30) {
if (canWalk(slave)) {
if (slave.sexualFlaw === "breast growth") {
r.push(`The weight of ${his} big boobs serves as a reminder that ${he} needs to get even bigger.`);
} else if (V.arcologies[0].FSAssetExpansionist !== "unset" && (slave.behavioralFlaw === "arrogant" || slave.behavioralQuirk === "confident")) {
if (slave.behavioralFlaw === "arrogant") {
r.push(`${His} big tits may be a little heavy for ${his} slight form, but ${he} is well aware of <span class="trust inc">just how sexy</span> they make ${him} in your arcology.`);
slave.trust += 1;
} else if (slave.behavioralQuirk === "confident") {
r.push(`${His} breasts are uncomfortably big for ${his} slight form, but ${he} feels this makes ${him} valuable to society and does ${his} best to deal with it.`);
}
} else if (slave.devotion <= 50) {
r.push(`The weight of ${his} big boobs is <span class="devotion dec">uncomfortable</span> for ${his} slight form.`);
slave.devotion -= 2;
} else {
r.push(`The weight of ${his} big boobs is uncomfortable for ${his} slight form, but ${he} bears it out of devotion to you.`);
}
}
}
}
}
} else if (slave.physicalAge <= 3) {
if (isSlaveAvailable(slave)) {
if (slave.boobs > 40000) {
r.push(`${His} titanic breasts are so massive they dwarf ${his} body. ${He}`);
if (slave.sexualFlaw === "breast growth") {
r.push(`happily embraces`);
} else {
r.push(`has no choice but to accept`);
}
r.push(`immobility.`);
} else if (slave.boobs > 20000) {
r.push(`${His} immense breasts are so huge they rest upon the floor even when ${he} tries to stand, taking the weight off ${his} tiny body.`);
if (canMove(slave)) {
if (slave.sexualFlaw === "breast growth") {
r.push(`${He}'s perfectly fine with dragging them along as a testament to how much ${he}'s managed to grow.`);
} else if (slave.devotion <= 50) {
r.push(`${He} finds pulling them along <span class="devotion dec">mildly annoying.</span>`);
slave.devotion -= 1;
} else {
r.push(`${He} finds pulling them along a big burden, but ${his} devotion to you is far stronger than ${his} discomfort.`);
}
}
} else if (slave.boobs > 4700 + (slave.muscles * 20)) {
if (canWalk(slave)) {
if (slave.sexualFlaw === "breast growth") {
r.push(`${His} giant tits are debilitatingly big and a constant reminder of ${his} progress. No amount of discomfort or pain could dissuade ${him} from going bigger.`);
} else if (V.arcologies[0].FSAssetExpansionist !== "unset" && (slave.behavioralFlaw === "arrogant" || slave.behavioralQuirk === "confident")) {
if (slave.behavioralFlaw === "arrogant") {
r.push(`${His} debilitatingly giant tits may be <span class="health dec">agony on ${his} back,</span> but ${he} is well aware of <span class="trust inc">just how valuable</span> they make ${him} in your arcology.`);
healthDamage(slave, 4);
slave.trust += 1;
} else if (slave.behavioralQuirk === "confident") {
r.push(`${His} giant tits are debilitatingly big for ${his} childish form, but ${he} knows how valuable they are to society and takes extra measures to manage them.`);
}
} else if (slave.devotion <= 50) {
r.push(`${His} giant tits are debilitatingly big. They are <span class="devotion dec">very uncomfortable</span> and <span class="health dec">painful</span> for ${his} childish form.`);
slave.devotion -= 3;
healthDamage(slave, 4);
} else {
r.push(`${His} giant tits are debilitatingly big. ${He} does everything ${he} can to keep comfortable and pain free as to not bother you.`);
}
} else if (canMove(slave)) {
r.push(`${His} giant breasts are so big they pin ${him} to the floor, taking the weight off ${his} tiny body.`);
if (slave.sexualFlaw === "breast growth") {
r.push(`${He}'s perfectly fine with dragging them along as a testament to how much ${he}'s managed to grow.`);
} else if (slave.devotion <= 50) {
r.push(`${He} finds pulling them along <span class="devotion dec">mildly annoying.</span>`);
slave.devotion -= 1;
} else {
r.push(`${He} finds pulling them along a little annoying, but your will is far more important to ${him}.`);
}
}
} else if (slave.boobs > 2500) {
if (slave.muscles <= 80) {
if (canWalk(slave)) {
if (slave.sexualFlaw === "breast growth") {
r.push(`${His} huge breasts are troublesome for ${his} childish form, but that only drives ${his} desire to go even bigger.`);
} else if (V.arcologies[0].FSAssetExpansionist !== "unset" && (slave.behavioralFlaw === "arrogant" || slave.behavioralQuirk === "confident")) {
if (slave.behavioralFlaw === "arrogant") {
r.push(`${His} huge tits may be annoying, but ${he} is well aware of <span class="trust inc">just how valuable</span> they make ${him} in your arcology.`);
slave.trust += 1;
} else if (slave.behavioralQuirk === "confident") {
r.push(`${His} breasts are uncomfortably large for ${his} tiny body, but ${he} knows how valuable they are to society and does ${his} best to manage them.`);
}
} else if (slave.devotion <= 50) {
r.push(`Hauling ${his} huge tits around is <span class="devotion dec">uncomfortable</span> for ${his} childish form.`);
slave.devotion -= 2;
} else {
r.push(`${He} finds ${his} breasts uncomfortably large for ${his} tiny body, but ${he} grins and bears it for you.`);
}
}
}
} else if (slave.boobs > 1000) {
if (slave.muscles <= 30) {
if (canWalk(slave)) {
if (slave.sexualFlaw === "breast growth") {
r.push(`The weight of ${his} big boobs serves as a reminder that ${he} needs to get even bigger.`);
} else if (V.arcologies[0].FSAssetExpansionist !== "unset" && (slave.behavioralFlaw === "arrogant" || slave.behavioralQuirk === "confident")) {
if (slave.behavioralFlaw === "arrogant") {
r.push(`${His} big tits may be uncomfortable, but ${he} is well aware of <span class="trust inc">just how sexy</span> they make ${him} in your arcology.`);
slave.trust += 1;
} else if (slave.behavioralQuirk === "confident") {
r.push(`${His} breasts are uncomfortably big for ${his} slight form, but ${he} knows how valuable they are to society and does ${his} best to deal with it.`);
}
} else if (slave.devotion <= 50) {
r.push(`The weight of ${his} big boobs is <span class="devotion dec">uncomfortable</span> for ${his} slight form.`);
slave.devotion -= 2;
} else {
r.push(`The weight of ${his} big boobs is uncomfortable for ${his} slight form, but ${he} bears it out of devotion to you.`);
}
}
}
}
}
} else if (slave.physicalAge <= 12) {
if (isSlaveAvailable(slave)) {
if (slave.boobs > 40000) {
r.push(`${His} immense breasts are so huge they rest upon the floor even when ${he} tries to stand, taking the weight off ${his} small body.`);
if (canMove(slave)) {
if (slave.sexualFlaw === "breast growth") {
r.push(`${He}'s perfectly fine with dragging them along as a testament to how much ${he}'s managed to grow.`);
} else if (slave.devotion <= 50) {
r.push(`${He} finds pulling them along <span class="devotion dec">mildly annoying.</span>`);
slave.devotion -= 1;
} else {
r.push(`${He} finds pulling them along a burden, but ${his} devotion to you is far stronger than ${his} discomfort.`);
}
}
} else if (slave.boobs > 9500 + (slave.muscles * 50)) {
if (canWalk(slave)) {
r.push(`${His} giant tits are debilitatingly big.`);
if (slave.sexualFlaw === "breast growth") {
r.push(`No amount of discomfort or pain could dissuade ${him} from going bigger.`);
} else if (V.arcologies[0].FSAssetExpansionist !== "unset" && (slave.behavioralFlaw === "arrogant" || slave.behavioralQuirk === "confident")) {
if (slave.behavioralFlaw === "arrogant") {
r.push(`They are <span class="health dec">painful</span> to lug around for ${his} childish form, but ${he} is well aware of <span class="trust inc">just how much of an effect</span> they have on your citizens.`);
healthDamage(slave, 5);
slave.trust += 1;
} else if (slave.behavioralQuirk === "confident") {
r.push(`They look ridiculous on ${his} childish body, but ${he} knows how valuable they are to society and takes extra measures to manage them.`);
}
} else if (slave.devotion <= 50) {
r.push(`They are <span class="devotion dec">very uncomfortable</span> and <span class="health dec">painful</span> for ${his} childish form.`);
slave.devotion -= 3;
healthDamage(slave, 5);
} else {
r.push(`${He} does ${his} best to not let them get the better of ${his} youthful body.`);
}
} else {
r.push(`${His} giant breasts are so big they pin ${him} to the floor, taking the weight off ${his} young body.`);
if (canMove(slave)) {
if (slave.sexualFlaw === "breast growth") {
r.push(`${He}'s perfectly fine with dragging them along as a testament to how much ${he}'s managed to grow.`);
} else if (slave.devotion <= 50) {
r.push(`${He} finds pulling them along <span class="devotion dec">mildly annoying.</span>`);
slave.devotion -= 1;
} else {
r.push(`${He} finds pulling them along a little annoying, but your will is far more important to ${him}.`);
}
}
}
} else if (slave.boobs > 5000) {
if (slave.muscles <= 80) {
if (canWalk(slave)) {
if (slave.sexualFlaw === "breast growth") {
r.push(`${His} huge breasts are troublesome for ${his} childish form, but that only drives ${his} desire to go even bigger.`);
} else if (V.arcologies[0].FSAssetExpansionist !== "unset" && (slave.behavioralFlaw === "arrogant" || slave.behavioralQuirk === "confident")) {
if (slave.behavioralFlaw === "arrogant") {
r.push(`${His} huge tits may be annoying and <span class="health dec">painful</span> for ${his} childish form, but ${he} is well aware of <span class="trust inc">just how valuable</span> they make ${him} in your arcology.`);
healthDamage(slave, 4);
slave.trust += 1;
} else if (slave.behavioralQuirk === "confident") {
r.push(`${His} breasts are uncomfortably big for ${his} childish form, but ${he} knows how valuable they are to society and does ${his} best to manage with them.`);
}
} else if (slave.devotion <= 50) {
r.push(`Dragging ${his} huge tits around is <span class="devotion dec">uncomfortable</span> and <span class="health dec">painful</span> for ${his} childish form.`);
slave.devotion -= 2;
healthDamage(slave, 4);
} else {
r.push(`${His} huge tits are uncomfortably big for ${his} childish form, but ${he} keeps it to ${himself} out of devotion to you.`);
}
}
}
} else if (slave.boobs > 2000) {
if (slave.muscles <= 30) {
if (canWalk(slave)) {
if (slave.sexualFlaw === "breast growth") {
r.push(`The weight of ${his} big boobs serves as a reminder that ${he} needs to get even bigger.`);
} else if (V.arcologies[0].FSAssetExpansionist !== "unset" && (slave.behavioralFlaw === "arrogant" || slave.behavioralQuirk === "confident")) {
if (slave.behavioralFlaw === "arrogant") {
r.push(`${His} big tits may be heavy, but ${he} is well aware of <span class="trust inc">just how sexy</span> they make ${him} in your arcology.`);
slave.trust += 1;
} else if (slave.behavioralQuirk === "confident") {
r.push(`${His} big boobs are uncomfortably heavy for ${his} slight form, but ${he} knows how valuable they are to society and does ${his} best to deal with it.`);
}
} else if (slave.devotion <= 50) {
r.push(`The weight of ${his} big boobs is <span class="devotion dec">uncomfortable</span> for ${his} slight form.`);
slave.devotion -= 1;
} else {
r.push(`The weight of ${his} big boobs is uncomfortable for ${his} slight form, but ${he} bears it out of devotion to you.`);
}
}
}
}
}
} else {
if (isSlaveAvailable(slave)) {
if (slave.boobs > 25000 + (slave.muscles * 100)) {
r.push(`${His} immense breasts are so big they pin ${him} to the floor, taking the weight off ${his} youthful body.`);
if (canMove(slave)) {
if (slave.sexualFlaw === "breast growth") {
r.push(`${He}'s perfectly fine with dragging them along as a testament to how much ${he}'s managed to grow.`);
} else if (slave.devotion <= 50) {
r.push(`${He} finds pulling them along <span class="devotion dec">mildly annoying.</span>`);
slave.devotion -= 1;
} else {
r.push(`${He} finds pulling them along a little annoying, but your will is far more important to ${him}.`);
}
}
} else if (slave.boobs > 17000) {
r.push(`${His} giant tits are debilitatingly big.`);
if (canMove(slave)) {
if (slave.sexualFlaw === "breast growth") {
r.push(`No amount of discomfort or pain could dissuade ${him} from going bigger.`);
} else if (slave.devotion <= 50) {
r.push(`They are <span class="devotion dec">very uncomfortable</span> and <span class="health dec">painful</span> for ${his} youthful form.`);
slave.devotion -= 3;
healthDamage(slave, 10);
} else {
r.push(`${He} finds them painfully uncomfortable, but finds ways to mitigate it to not distract you with ${his} worries.`);
}
}
} else if (slave.boobs > 10000) {
if (slave.muscles <= 30) {
if (canWalk(slave)) {
if (slave.sexualFlaw === "breast growth") {
r.push(`${His} huge breasts are troublesome for ${his} slight form, but that only drives ${his} desire to go even bigger.`);
} else if (V.arcologies[0].FSAssetExpansionist !== "unset" && (slave.behavioralFlaw === "arrogant" || slave.behavioralQuirk === "confident")) {
if (slave.behavioralFlaw === "arrogant") {
r.push(`${His} huge tits may be annoying and <span class="health dec">painful</span> for ${his} slight form, but ${he} is well aware of <span class="trust inc">just how valuable</span> they make ${him} in your arcology.`);
healthDamage(slave, 3);
slave.trust += 1;
} else if (slave.behavioralQuirk === "confident") {
r.push(`${His} breasts are uncomfortably big for ${his} slight form, but ${he} knows how valuable they are to society and does ${his} best to manage with them.`);
}
} else if (slave.devotion <= 50) {
r.push(`Dragging ${his} huge tits around is <span class="devotion dec">uncomfortable</span> and <span class="health dec">painful</span> for ${his} slight form.`);
slave.devotion -= 2;
healthDamage(slave, 3);
} else {
r.push(`${His} huge tits are uncomfortably big for ${his} slight form, but ${he} keeps it to ${himself} out of devotion to you.`);
}
}
}
} else if (slave.boobs > 2000) {
if (slave.muscles <= 5) {
if (canWalk(slave)) {
if (slave.sexualFlaw === "breast growth") {
r.push(`The weight of ${his} big boobs serves as a reminder that ${he} needs to get even bigger.`);
} else if (V.arcologies[0].FSAssetExpansionist !== "unset" && (slave.behavioralFlaw === "arrogant" || slave.behavioralQuirk === "confident")) {
if (slave.behavioralFlaw === "arrogant") {
r.push(`${His} big tits may be heavy, but ${he} is well aware of <span class="trust inc">just how sexy</span> they make ${him} in your arcology.`);
slave.trust += 1;
} else if (slave.behavioralQuirk === "confident") {
r.push(`${His} big boobs are uncomfortably heavy for ${his} slight form, but ${he} knows how valuable they are to society and does ${his} best to deal with it.`);
}
} else if (slave.devotion <= 50) {
r.push(`The weight of ${his} big boobs is <span class="devotion dec">uncomfortable</span> for ${his} slight form.`);
slave.devotion -= 1;
} else {
r.push(`The weight of ${his} big boobs is uncomfortable for ${his} slight form, but ${he} bears it out of devotion to you.`);
}
}
}
}
}
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function boobAccessibility(slave) {
if (slave.boobs > 20000) {
if (V.boobAccessibility === 1) {
if (slave.devotion > 20) {
r.push(`${He}'s <span class="trust inc">thankful</span> to you for providing living spaces adapted to life with gigantic boobs.`);
slave.trust += 1;
}
} else {
r.push(`${His} gigantic boobs make life a struggle:`);
if (V.buttAccessibility === 1 || V.pregAccessibility === 1 || V.ballsAccessibility === 1) {
r.push(`${he} has trouble using appliances and furniture, and constantly bumps into things, but at least the doors have already been widened for your other slaves.`);
} else {
r.push(`${he} barely fits through doors, has trouble using appliances and furniture, and constantly bumps into things.`);
}
if (slave.sexualFlaw === "breast growth") {
r.push(`Every little inconvenience just feeds ${his} breast growth obsession, so ${he}'s more bothered that they aren't an even bigger problem for ${his} daily life.`);
} else if (slave.devotion > 50) {
r.push(`Since ${he}'s devoted to you, ${he} just does ${his} best.`);
} else if (slave.trust >= -20) {
r.push(`This torment makes ${him} <span class="trust dec">less trusting</span> of your willingness to look after ${him}.`);
slave.trust -= 2;
} else {
r.push(`${He} already believes you capable of tormenting ${him}, so this proof of your indifference <span class="devotion dec">angers ${him}</span> daily.`);
slave.devotion -= 2;
}
}
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function hugeBelly(slave) {
let bellyBand = (slave.bellyAccessory === "a support band" || slave.clothes === "a Fuckdoll suit") ? 2 : 1;
if (slave.belly > (slave.pregAdaptation * 4500)) {
r.push(`${His} bloated `);
if (slave.mpreg === 0 && slave.ovaries === 0) {
r.push(`implant-filled middle`);
} else {
r.push(`womb`);
}
r.push(` is constantly straining to hold together and puts <span class="health dec">overwhelming pressure on ${his} skin and organs.</span> ${His} stomach is streaked with deep stretch marks and black and blue from the tension.`);
if (isSlaveAvailable(slave) && slave.fuckdoll === 0) {
if ((slave.sexualFlaw === "breeder" || slave.sexualFlaw === "self hating") && slave.preg > 0) {
r.push(`${He} spends every painful moment in sheer joy, each agonizing motion sending quivers of lust through ${his} breaking body.`);
if (slave.sexualFlaw === "breeder") {
r.push(`${He} has achieved ${his} desires of being nothing more than a baby factory absolutely.`);
} else {
r.push(`${He} is on the brink of sacrificing ${his} worthless life for the lives of ${his} children and ${he} couldn't be happier.`);
}
} else if (slave.geneticQuirks.uterineHypersensitivity === 2 && slave.preg > 0) {
r.push(`${He} spends every moment stuck between pleasure and`);
if (V.geneticMappingUpgrade >= 1) {
r.push(`pain due to ${his} uterine hypersensitivity;`);
} else {
r.push(`pain;`);
}
r.push(`it distracts from the possibilities at least.`);
} else if (slave.devotion > 90) {
r.push(`${He} believes in you so absolutely that even if ${he} doesn't make it, ${he} accepts it as your will.`);
} else if (slave.fetish === "mindbroken") {
r.push(`${He} struggles along ${his} daily tasks as if nothing is out of the ordinary.`);
} else {
r.push(`This is <span class="devotion dec">horrifying</span> to ${him}. ${He} is in excruciating pain and each`);
if (slave.bellyPreg > 100) {
r.push(`movement within ${his} tearing womb`);
} else {
r.push(`breath`);
}
r.push(`feels like it may be ${his} last. ${He} is <span class="trust dec">terrified</span> that at any moment ${his} body may fail causing ${him} to burst.`);
if (slave.pregControl === "slow gestation" && slaveInt >= -50) {
r.push(`${His} slowed gestation rate gives ${his} body more time to adapt to ${his} gravidity, but given ${his} situation, it just means more suffering.`);
slave.devotion -= 15;
slave.trust -= 20;
} else {
slave.devotion -= 20;
slave.trust -= 20;
}
}
}
healthDamage(slave, 30);
if (slave.geneticQuirks.uterineHypersensitivity === 2) {
if (V.geneticMappingUpgrade >= 1) {
r.push(`${His} genetic gift helps ${his} body to rapidly adapt to this incredible stress.`);
}
slave.pregAdaptation += 5;
} else {
slave.pregAdaptation += 1;
}
} else if (slave.belly > (slave.pregAdaptation * 3200)) {
r.push(`${His}`);
if (slave.mpreg === 0 && slave.ovaries === 0) {
r.push(`implant filled abdominal cavity`);
} else {
r.push(`straining womb`);
}
r.push(`takes up most of ${his} body and puts <span class="health dec">tremendous pressure on ${his} skin and organs.</span>`);
if (isSlaveAvailable(slave) && slave.fuckdoll === 0) {
if (slave.sexualFlaw === "breeder" && slave.preg > 0) {
r.push(`${He} does ${his} best to ignore the pain; after all, ${his} wishes to be hugely pregnant have come true.`);
} else if (slave.geneticQuirks.uterineHypersensitivity === 2 && slave.preg > 0) {
if (V.geneticMappingUpgrade >= 1) {
r.push(`${His} uterine hypersensitivity renders it more pleasurable than painful, taking ${his} mind off things.`);
} else {
r.push(`${He} is disturbingly enjoying the situation.`);
}
} else if (slave.devotion > 70) {
r.push(`Despite`);
if (slave.bellyPreg > 100) {
r.push(`every movement within ${him}`);
} else {
r.push(`every breath`);
}
r.push(`feeling like a knife being driven into ${his} body, ${he} has faith in your plans for ${him}.`);
} else if (slave.fetish === "mindbroken") {
r.push(`${He} carries on ${his} daily tasks as if nothing is bothering ${him}.`);
} else {
r.push(`This is <span class="devotion dec">very worrying</span> to ${him}. ${He} is in constant pain and`);
if (slave.bellyPreg > 100) {
r.push(`each movement within ${his} straining womb`);
} else {
r.push(`every breath ${he} takes,`);
}
r.push(`causes additional agony. ${He} is <span class="trust dec">terrified</span> of what`);
if (slave.bellyPreg > 100) {
r.push(`awaits ${him} at the end of this pregnancy.`);
} else {
r.push(`will become of ${him}.`);
}
if (slave.pregControl === "slow gestation" && slaveInt >= -50) {
r.push(`${His} slowed gestation rate gives ${his} body more time to adapt to ${his} gravidity, but given ${his} situation, it isn't very comforting.`);
slave.devotion -= 7;
slave.trust -= 10;
} else {
slave.devotion -= 10;
slave.trust -= 10;
}
}
}
healthDamage(slave, 20);
if (slave.geneticQuirks.uterineHypersensitivity === 2) {
if (V.geneticMappingUpgrade >= 1) {
r.push(`${His} genetic gift helps ${his} body to rapidly adapt to such extreme stress.`);
}
slave.pregAdaptation += 4;
} else {
slave.pregAdaptation += .4;
}
} else if (slave.belly > (slave.pregAdaptation * 2000)) {
r.push(`${His}`);
if (slave.mpreg === 0 && slave.ovaries === 0) {
r.push(`belly implant`);
} else {
r.push(`womb`);
}
r.push(`takes up most of ${his} body and <span class="health dec">puts tremendous pressure on ${his} skin and organs.</span>`);
if (isSlaveAvailable(slave) && slave.fuckdoll === 0) {
if (slave.sexualFlaw === "breeder" && slave.preg > 0) {
r.push(`Every painful kick is a reminder of just how pregnant ${he} really is, but it just makes ${his} condition hotter to ${him}.`);
} else if (slave.geneticQuirks.uterineHypersensitivity === 2 && slave.preg > 0) {
if (V.geneticMappingUpgrade >= 1) {
r.push(`${His} uterine hypersensitivity renders it completely pleasurable.`);
} else {
r.push(`${He} handles it well, if a little disturbingly.`);
}
} else if (slave.devotion > 50) {
r.push(`While`);
if (slave.bellyPreg > 100) {
r.push(`every stirring of the life within ${him} is uncomfortable,`);
} else {
r.push(`every motion ${he} takes is uncomfortable,`);
}
r.push(`${he} tries ${his} best to not bother you with ${his} worries.`);
} else if (slave.fetish === "mindbroken") {
r.push(`${He} tries ${his} best to stay still to minimize the amount of discomfort ${he}'s in.`);
} else {
r.push(`This is <span class="devotion dec">very worrying</span> to ${him}. ${He} moans in discomfort`);
if (slave.bellyPreg > 100) {
r.push(`with each movement within ${him}.`);
} else {
r.push(`whenever ${he} is forced to move.`);
}
if (slave.pregControl === "slow gestation" && slaveInt >= -50) {
r.push(`${His} slowed gestation rate gives ${his} body more time to adapt to ${his} gravidity, easing some of ${his} worries.`);
slave.devotion -= 3;
} else {
slave.devotion -= 5;
}
}
}
healthDamage(slave, (10 / bellyBand));
if (slave.geneticQuirks.uterineHypersensitivity === 2) {
if (V.geneticMappingUpgrade >= 1) {
r.push(`${His} genetic gift helps ${his} body to rapidly adapt to such huge stress.`);
}
slave.pregAdaptation += 3;
} else {
slave.pregAdaptation += .3;
}
} else if (slave.belly > (slave.pregAdaptation * 1000)) {
r.push(`${His}`);
if (slave.mpreg === 0 && slave.ovaries === 0) {
r.push(`belly implant`);
} else {
r.push(`womb`);
}
r.push(`fills ${his} body and <span class="health dec">compresses ${his} internal organs.</span>`);
if (isSlaveAvailable(slave) && slave.fuckdoll === 0) {
if (slave.sexualFlaw === "breeder" && slave.preg > 0) {
r.push(`While ${he} may be uncomfortable, it only serves to remind ${him} that ${he} can sustain larger.`);
} else if (slave.geneticQuirks.uterineHypersensitivity === 2 && slave.preg > 0) {
if (V.geneticMappingUpgrade >= 1) {
r.push(`${His} uterine hypersensitivity renders it rather enjoyable.`);
} else {
r.push(`${He} handles it oddly well, if a little disturbingly.`);
}
} else if (slave.devotion > 50) {
r.push(`${He} is in constant discomfort, but ${he} grins and bears it for you.`);
} else if (slave.fetish === "mindbroken") {
r.push(`Such discomforts are meaningless to ${his} broken mind.`);
} else {
r.push(`${He} is in constant <span class="devotion dec">discomfort</span> and can't wait for these children to be born.`);
if (slave.pregControl === "slow gestation" && slaveInt >= -50) {
r.push(`${His} slowed gestation rate gives ${his} body more time to adapt to ${his} gravidity, easing some of ${his} worries.`);
slave.devotion -= 1;
} else {
slave.devotion -= 2;
}
}
}
healthDamage(slave, (2 / bellyBand));
if (slave.geneticQuirks.uterineHypersensitivity === 2) {
if (V.geneticMappingUpgrade >= 1) {
r.push(`${His} genetic gift helps ${his} body to rapidly adapt to such stress.`);
}
slave.pregAdaptation += 2;
} else {
slave.pregAdaptation += .2;
}
} else if (slave.belly > (slave.pregAdaptation * 750)) {
if (slave.geneticQuirks.uterineHypersensitivity === 2) {
if (V.geneticMappingUpgrade >= 1) {
r.push(`${His} genetic gift helps ${his} body to rapidly adapt to ${his} gravidity.`);
}
slave.pregAdaptation += 1;
} else {
slave.pregAdaptation += .1;
}
}
if (slave.wombImplant === "restraint" && slave.belly >= 400000) {
r.push(`The mesh implanted into the walls of ${his} uterus is nearing its limit and <span class="health dec">beginning to strangle</span> the organ it is meant to support. While it is still structurally sound, it can only expand so much before failing.`);
healthDamage(slave, 15);
}
if (V.seeExtreme === 1 && V.dangerousPregnancy === 1 && ((slave.belly > (slave.pregAdaptation * 3200)) || slave.bellyPreg > 600000) && slave.bellyPreg >= 100000) {
if (slave.assignment === "get treatment in the clinic") {
if (S.Nurse) {
r.push(`The fast actions of ${V.clinicName}'s nurse, ${S.Nurse.slaveName}, saved ${his} life a few times. <span class="health dec">${His} womb is breaking!</span>`);
} else {
r.push(`Automatic monitors in ${V.clinicName} detected critical pressure and called junior medical staff. They managed to hold ${him} together, for now; <span class="health dec">${his} womb is breaking!</span>`);
}
} else if (slave.assignment === "work in the dairy" && V.dairyPregSetting === 3) {
r.push(`Automatic monitors in ${his} harness detected ${his} womb has reached critical mass and applied a special adaptive belly corset to hold <span class="health dec">${his} breaking womb</span> together.`);
}
}
/* body inconvenience */
if (slave.fuckdoll !== 0 && slave.fetish !== "mindbroken" && isSlaveAvailable(slave)) {
const belly = bellyAdjective(slave);
if (slave.physicalAge < 4) {
if (slave.belly >= 150000) {
r.push(`${His} ${belly} belly is so large it dwarfs ${his} body. ${He} `);
if (slave.sexualFlaw === "breeder" && slave.preg > 0) {
r.push(`enjoys`);
} else {
r.push(`has no choice but to accept`);
}
r.push(`being an accessory to ${his} belly.`);
} else if (slave.belly >= 100000) {
r.push(`${His} ${belly} belly is so large it reaches the floor `);
if (hasAnyLegs(slave)) {
r.push(`even when ${he} stands,`);
} else {
r.push(`no matter how ${he} rests,`);
}
r.push(`taking the weight off ${his} tiny body.`);
if (canMove(slave)) {
if (slave.sexualFlaw === "breeder" && slave.preg > 0) {
r.push(`Such an inconvenience means little when you're living the dream of being a baby-filled breeder.`);
} else if (slave.devotion <= 50) {
r.push(`${He} finds dragging it along <span class="devotion dec">mildly annoying.</span>`);
slave.devotion -= 1;
} else {
r.push(`${He}'s fine with this though, as it is much easier than trying to waddle along.`);
}
}
} else if (slave.belly >= 30000) {
if (canWalk(slave)) {
r.push(`${His} ${belly} belly is debilitatingly big. ${He} can barely waddle along and even then, can't manage to avoid bumping into`);
if (slave.sexualFlaw === "breeder" && slave.preg > 0) {
r.push(`things. Such troubles matter little when you're living the dream of being a baby-filled breeder.`);
} else if (slave.devotion <= 50) {
r.push(`things, leaving ${him} <span class="devotion dec">extremely annoyed</span> as ${he} goes about ${his} day.`);
slave.devotion -= 4;
} else {
r.push(`things, but quickly struggles to fix it to keep you happy.`);
}
}
} else if (slave.belly >= 10000) {
if (canWalk(slave)) {
r.push(`${His} ${belly} belly juts out tremendously from ${his} slight`);
if (slave.sexualFlaw === "breeder" && slave.preg > 0) {
r.push(`form, but the life growing within makes that alright to ${him}.`);
} else if (slave.devotion <= 50) {
r.push(`form causing ${him} <span class="devotion dec">frustration</span> as ${he} tries ${his} best to not bump into things.`);
slave.devotion -= 2;
} else {
r.push(`form, but ${he} bears it out of devotion to you.`);
}
}
}
} else if (slave.physicalAge < 13) {
if (slave.belly >= 300000) {
r.push(`${His} ${belly} belly is so large it dwarfs ${his} body. ${He}`);
if (slave.sexualFlaw === "breeder" && slave.preg > 0) {
r.push(`enjoys`);
} else {
r.push(`has no choice but to accept`);
}
r.push(`being an accessory to ${his} belly.`);
} else if (slave.belly >= 200000) {
r.push(`${His} ${belly} belly is so large it reaches the floor`);
if (hasAnyLegs(slave)) {
r.push(`even when ${he} stands,`);
} else {
r.push(`no matter how ${he} rests,`);
}
r.push(`taking the weight off ${his} young figure.`);
if (canMove(slave)) {
if (slave.sexualFlaw === "breeder" && slave.preg > 0) {
r.push(`Such an inconvenience means little when you're living the dream of being a baby-filled breeder.`);
} else if (slave.devotion <= 50) {
r.push(`${He} finds dragging it along <span class="devotion dec">mildly annoying.</span>`);
slave.devotion -= 1;
} else {
r.push(`While it is quite a nuisance, your will outweighs ${his} opinions.`);
}
}
} else if (slave.belly >= 120000) {
if (canWalk(slave)) {
r.push(`${His} ${belly} belly is debilitatingly big. ${He} can barely waddle along and even then, can't manage to avoid bumping into`);
if (slave.sexualFlaw === "breeder" && slave.preg > 0) {
r.push(`things. Such troubles matter little when you're living the dream of being a baby-filled breeder.`);
} else if (slave.devotion <= 50) {
r.push(`things, leaving ${him} <span class="devotion dec">overly frustrated</span> and moody by the end of the day.`);
slave.devotion -= 4;
} else {
r.push(`things, but accepts this is the life you have chosen for ${him}.`);
}
}
} else if (slave.belly >= 60000) {
if (canWalk(slave)) {
r.push(`${His} ${belly} belly is troublesome for ${his} young figure. Every step is a slow, ponderous one and ${he} has to be careful not to collide with anything.`);
if (slave.sexualFlaw === "breeder" && slave.preg > 0) {
r.push(`However, such inconveniences are nothing when you're living the dream of being a baby-filled breeder.`);
} else if (slave.devotion <= 50) {
r.push(`${His} day to day life is <span class="devotion dec">filled with annoyances</span> as ${he} struggles along.`);
slave.devotion -= 4;
} else {
r.push(`However, ${he} takes pride in being kept so round by you, so ${he} keeps ${his} thoughts to ${himself}.`);
}
}
} else if (slave.belly >= 12000) {
if (canWalk(slave)) {
r.push(`${His} ${belly} belly juts out heavily from ${his} young`);
if (slave.sexualFlaw === "breeder" && slave.preg > 0) {
r.push(`frame, but the life growing within makes that alright to ${him}.`);
} else if (slave.devotion <= 50) {
r.push(`frame causing ${him} <span class="devotion dec">frustration</span> as ${he} tries ${his} hardest to move with it.`);
slave.devotion -= 2;
} else {
r.push(`frame, but ${he} bears it out of devotion to you.`);
}
}
}
} else if (slave.physicalAge < 18) {
if (slave.belly >= 600000) {
r.push(`${His} ${belly} belly is so large it dwarfs ${his} body. ${He}`);
if (slave.sexualFlaw === "breeder" && slave.preg > 0) {
r.push(`enjoys`);
} else {
r.push(`has no choice but to accept`);
}
r.push(`being an accessory to ${his} belly.`);
} else if (slave.belly >= 300000) {
r.push(`${His} ${belly} belly is so large it reaches the floor `);
if (hasAnyLegs(slave)) {
r.push(`even when ${he} stands,`);
} else {
r.push(`no matter how ${he} rests,`);
}
r.push(`taking the weight off ${his} body.`);
if (canMove(slave)) {
if (slave.sexualFlaw === "breeder" && slave.preg > 0) {
r.push(`Such an inconvenience means little when you're living the dream of being a baby-filled breeder.`);
} else if (slave.devotion <= 50) {
r.push(`${He} finds dragging it along <span class="devotion dec">a painful problem.</span>`);
slave.devotion -= 5;
} else {
r.push(`While moving it is a problem, ${he} struggles through it for you.`);
}
}
} else if (slave.belly >= 200000) {
if (canWalk(slave)) {
r.push(`${His} ${belly} belly is debilitatingly big. ${He} can barely waddle along and even then, it's practically impossible to avoid`);
if (slave.sexualFlaw === "breeder" && slave.preg > 0) {
r.push(`things, but you take your lumps with pride when you're this heavy with child.`);
} else if (slave.devotion <= 50) {
r.push(`things, leaving ${him} <span class="devotion dec">overly frustrated</span> and a little roughed up by the end of the day.`);
slave.devotion -= 4;
} else {
r.push(`things, but if you like the huge dome hanging from ${his} body, so does ${he}.`);
}
}
} else if (slave.belly >= 80000) {
if (canWalk(slave)) {
r.push(`${His} ${belly} belly is troublesome for ${him}. Every step is a slow, ponderous one and ${he} has to be careful not to collide with anything.`);
if (slave.sexualFlaw === "breeder" && slave.preg > 0) {
r.push(`However, such inconveniences are nothing when you're more pregnant than any woman ever was in the old world.`);
} else if (slave.devotion <= 50) {
r.push(`${His} day to day life is <span class="devotion dec">miserable</span> as ${he} struggles to do the simplest of tasks.`);
slave.devotion -= 4;
} else {
r.push(`However, ${he} takes pride in being kept so big and round by you, so ${he} keeps ${his} thoughts to ${himself}.`);
}
}
} else if (slave.belly >= 30000) {
if (canWalk(slave)) {
r.push(`${His} ${belly} belly juts out heavily from ${his}`);
if (slave.sexualFlaw === "breeder" && slave.preg > 0) {
r.push(`frame, but being so full of life is wondrous to ${him}.`);
} else if (slave.devotion <= 50) {
r.push(`frame causing ${him} <span class="devotion dec">frustration</span> as ${he} frequently bumps things with it.`);
slave.devotion -= 2;
} else {
r.push(`frame, but ${he} bears it out of devotion to you.`);
}
}
}
} else {
if (slave.belly >= 1500000) {
r.push(`${His} ${belly} belly is so large it dwarfs ${his} body. ${He}`);
if (slave.sexualFlaw === "breeder" && slave.preg > 0) {
r.push(`enjoys`);
} else {
r.push(`has no choice but to accept`);
}
r.push(`being an accessory to ${his} belly.`);
} else if (slave.belly >= 1000000) {
r.push(`${His} ${belly} belly is so large it reaches the floor`);
if (hasAnyLegs(slave)) {
r.push(`even when ${he} stands,`);
} else {
r.push(`no matter how ${he} rests,`);
}
r.push(`taking the weight off ${his} body.`);
if (canMove(slave)) {
if (slave.sexualFlaw === "breeder" && slave.preg > 0) {
r.push(`Such an inconvenience means little when you're living the dream of being a baby-filled breeder.`);
} else if (slave.devotion <= 50) {
r.push(`${He} finds dragging it along <span class="devotion dec">a painful problem.</span>`);
slave.devotion -= 5;
} else {
r.push(`While moving it is a problem, ${he} struggles through it for you.`);
}
}
} else if (slave.belly >= 300000) {
if (canWalk(slave)) {
r.push(`${His} ${belly} belly is debilitatingly big. ${He} can barely waddle along and even then, it's practically impossible to avoid`);
if (slave.sexualFlaw === "breeder" && slave.preg > 0) {
r.push(`things, but you take your lumps with pride when you're this heavy with child.`);
} else if (slave.devotion <= 50) {
r.push(`things, leaving ${him} <span class="devotion dec">overly frustrated</span> and a little roughed up by the end of the day.`);
slave.devotion -= 4;
} else {
r.push(`things, but if you like the huge dome hanging from ${his} body, so does ${he}.`);
}
}
} else if (slave.belly >= 150000) {
if (canWalk(slave)) {
r.push(`${His} ${belly} belly is troublesome for ${him}. Every step is a slow, ponderous one and ${he} has to be careful not to collide with anything.`);
if (slave.sexualFlaw === "breeder" && slave.preg > 0) {
r.push(`However, such inconveniences are nothing when you're more pregnant than any woman ever was in the old world.`);
} else if (slave.devotion <= 50) {
r.push(`${His} day to day life is <span class="devotion dec">miserable</span> as ${he} struggles to do the simplest of tasks.`);
slave.devotion -= 4;
} else {
r.push(`However, ${he} takes pride in being kept so big and round by you, so ${he} keeps ${his} thoughts to ${himself}.`);
}
}
} else if (slave.belly >= 75000) {
if (canWalk(slave)) {
r.push(`${His} ${belly} belly juts out heavily from ${his}`);
if (slave.sexualFlaw === "breeder" && slave.preg > 0) {
r.push(`frame, but being so full of life is wondrous to ${him}.`);
} else if (slave.devotion <= 50) {
r.push(`frame causing ${him} <span class="devotion dec">frustration</span> as ${he} frequently bumps things with it.`);
slave.devotion -= 2;
} else {
r.push(`frame, but ${he} bears it out of devotion to you.`);
}
}
}
}
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function bellyAccessibility(slave) {
if (slave.bellyPreg >= 100000) {
if (V.pregAccessibility === 1) {
if (slave.devotion > 20) {
r.push(`${He}'s <span class="trust inc">thankful</span> to you for providing living spaces adapted to heavily pregnant life.`);
slave.trust += 1;
}
} else {
r.push(`${His} giant pregnancy makes life a struggle:`);
if (V.buttAccessibility === 1 || V.boobAccessibility === 1 || V.ballsAccessibility === 1) {
r.push(`${he} has trouble using appliances and furniture, and constantly bumps into things, but at least the doors have already been widened for your other slaves.`);
} else {
r.push(`${he} barely fits through doors, has trouble using appliances and furniture, and constantly bumps into things.`);
}
if (slave.sexualFlaw === "breeder") {
r.push(`But all this just feeds ${his} obsession with being a breeder.`);
} else if (slave.devotion > 50) {
r.push(`Since ${he}'s devoted to you, ${he} just does ${his} best.`);
} else if (slave.trust >= -20) {
r.push(`This torment makes ${him} <span class="trust dec">less trusting</span> of your willingness to look after ${him}.`);
slave.trust -= 2;
} else {
r.push(`${He} already believes you capable of tormenting ${him}, so this proof of your indifference <span class="devotion dec">angers ${him}</span> daily.`);
slave.devotion -= 2;
}
}
}
if (slave.bellyImplant >= 100000) {
if (V.pregAccessibility === 1) {
if (slave.devotion > 20) {
r.push(`${He}'s <span class="trust inc">thankful</span> to you for providing living spaces adapted to life with an enormous belly.`);
slave.trust += 1;
}
} else {
r.push(`${His} giant belly makes life a struggle: `);
if (V.buttAccessibility === 1 || V.boobAccessibility === 1 || V.ballsAccessibility === 1) {
r.push(`${he} has trouble using appliances and furniture, and constantly bumps into things, but at least the doors have already been widened for your other slaves.`);
} else {
r.push(`${he} barely fits through doors, has trouble using appliances and furniture, and constantly bumps into things.`);
}
if (slave.devotion > 40) {
r.push(`Since ${he}'s devoted to you, ${he} just does ${his} best.`);
} else if (slave.trust >= -20) {
r.push(`This torment makes ${him} <span class="trust dec">less trusting</span> of your willingness to look after ${him}.`);
slave.trust -= 2;
} else {
r.push(`${He} already believes you capable of tormenting ${him}, so this proof of your indifference <span class="devotion dec">angers ${him}</span> daily.`);
slave.devotion -= 2;
}
}
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function hugeDick(slave) {
if (canMove(slave)) {
if (slave.dick >= 30) {
if (slave.devotion <= 50) {
r.push(`${His} titanic penis rests upon the floor even when ${he} stands. ${He} finds moving <span class="devotion dec">terrifying</span> since ${he} drags ${his} cock along.`);
slave.devotion -= 3;
} else {
r.push(`${His} titanic penis rests upon the floor even when ${he} stands. ${He} pays close attention as ${he} moves to keep it pristine for you.`);
}
} else if (slave.dick > 20) {
if (slave.devotion <= 50) {
r.push(`${His} enormous cock is <span class="devotion dec">very uncomfortable</span> for ${him} to drag around.`);
slave.devotion -= 2;
} else {
r.push(`${His} enormous cock is uncomfortable for ${him} to move with, but ${he} bears its weight out of devotion to you.`);
}
} else if (slave.dick >= 10) {
if (canWalk(slave)) {
if (slave.devotion <= 50) {
r.push(`${His} giant dick is <span class="devotion dec">uncomfortable</span> for ${his} body.`);
slave.devotion -= 1;
} else {
r.push(`${He} can't seem to get comfortable with ${his} giant dick, but ${he} keeps it to ${himself} out of devotion.`);
}
}
}
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function dickAccessibility(slave) {
if (slave.dick >= 20) {
if (V.dickAccessibility === 1) {
if (slave.devotion > 20) {
r.push(`${He}'s <span class="trust inc">thankful</span> to you for providing living spaces adapted to life with an enormous dick.`);
slave.trust += 1;
}
} else if (canMove(slave)) {
r.push(`${His} giant penis makes life a struggle: ${he} has to drag it along as ${he} moves, has trouble fitting into beds and sitting in chairs, and constantly has to make sure to not get ${his} dick caught in doors.`);
if (slave.devotion > 50) {
r.push(`Since ${he}'s devoted to you, ${he} just does ${his} best.`);
} else if ((slave.trust >= -20)) {
r.push(`This torment makes ${him} <span class="trust dec">less trusting</span> of your willingness to look after ${him}.`);
slave.trust -= 2;
} else {
r.push(`${He} already believes you capable of tormenting ${him}, so this proof of your indifference <span class="devotion dec">angers ${him}</span> daily.`);
slave.devotion -= 3;
}
}
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function hugeBalls(slave) {
if (canMove(slave)) {
if (slave.balls > 90) {
r.push(`${His} titanic balls rest upon the floor even when ${he} stands.`);
if (slave.devotion <= 50) {
r.push(`${He} finds them <span class="devotion dec">annoying</span> to lug around.`);
slave.devotion -= 1;
} else {
r.push(`They are a little annoying at times, but ${he} bears them with pride.`);
}
} else if (slave.balls > 50) {
if (slave.devotion <= 50) {
r.push(`${His} enormous balls are <span class="devotion dec">very uncomfortable</span> for ${him} to carry.`);
slave.devotion -= 2;
} else {
r.push(`${He} finds ${his} enormous balls a little uncomfortable, but ${he} bears their weight out of devotion to you.`);
}
} else if (slave.balls > 25) {
if (slave.devotion <= 50) {
r.push(`${His} huge balls are <span class="devotion dec">uncomfortable</span> for ${his} body.`);
slave.devotion -= 1;
} else {
r.push(`${He} can't seem to get comfortable with ${his} huge balls, but ${he} keeps it to ${himself} out of devotion.`);
}
}
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function ballsAccessibility(slave) {
if (slave.balls > 90) {
if (V.ballsAccessibility === 1) {
if (slave.devotion > 20) {
r.push(`${He}'s <span class="trust inc">thankful</span> to you for providing living spaces adapted to life with enormous testicles.`);
slave.trust += 1;
}
} else if (canMove(slave)) {
r.push(`${His} giant balls make life a struggle: `);
if (V.buttAccessibility === 1 || V.pregAccessibility === 1 || V.boobAccessibility === 1) {
r.push(`${he} has trouble using appliances and furniture, and has to be constantly mindful of things striking ${his} oversensitive testicles, but at least the doors have already been widened for your other slaves.`);
} else {
r.push(`${he} barely fits through doors, has trouble using appliances and furniture, and has to be constantly mindful of things striking ${his} oversensitive testicles.`);
}
if (slave.devotion > 50) {
r.push(`Since ${he}'s devoted to you, ${he} just does ${his} best.`);
} else if (slave.trust >= -20) {
r.push(`This torment makes ${him} <span class="trust dec">less trusting</span> of your willingness to look after ${him}.`);
slave.trust -= 2;
} else {
r.push(`${He} already believes you capable of tormenting ${him}, so this proof of your indifference <span class="devotion dec">angers ${him}</span> daily.`);
slave.devotion -= 3;
}
}
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function hugeHips(slave) {
if (canWalk(slave)) {
if (slave.hips > 2) {
r.push(`${His} inhumanly wide hips make walking difficult. ${He} can barely move without swinging them side to side seductively, and ${he} keeps bumping things with them.`);
if (slave.sexualFlaw === "breeder") {
r.push(`${He} <span class="devotion inc">loves</span> how ${his} wide body basically screams "fertility goddess".`);
slave.devotion += 1;
} else if (slave.devotion > 50) {
r.push(`Since ${he}'s devoted to you, ${he} embraces ${his} wide body and does everything ${he} can to show it off for you.`);
} else if (slave.devotion >= -20) {
r.push(`This gait makes ${him} feel like a huge whore, <span class="devotion inc">increasing ${his} submissiveness.</span>`);
slave.devotion += 2;
} else {
r.push(`${He} hates that ${he} is forced to bear such freakish hips and <span class="devotion dec">blames you</span> for every trip, bumped object, and hip checked slave.`);
slave.devotion -= 3;
}
}
} else if (slave.sexualFlaw === "breeder" && slave.hips > 2) {
r.push(`${He} <span class="devotion inc">loves</span> how ${his} wide body basically screams "fertility goddess".`);
slave.devotion += 1;
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function hugeButt(slave) {
if (canWalk(slave)) {
if (slave.butt > 15) {
r.push(`${His} butt is a massive burden to ${him}. ${He} dreads walking down narrow hallways and getting dressed in the morning.`);
if (V.arcologies[0].FSAssetExpansionist !== "unset" && (slave.behavioralFlaw === "arrogant" || slave.behavioralQuirk === "confident")) {
if (slave.behavioralFlaw === "arrogant") {
r.push(`However, your arcology can't help but worship an ass as expansive as ${hers}, <span class="trust inc">giving ${him} an ego</span> that rivals ${his} rear.`);
slave.trust += 3;
} else if (slave.behavioralQuirk === "confident") {
r.push(`However, your arcology can't help but worship an ass as expansive as ${hers}, so it mostly balances out.`);
}
} else if (slave.devotion <= 50) {
r.push(`${He} lives a life of <span class="devotion dec">annoyance</span> over knocking things over, bumping people, and getting stuck in chairs with ${his} godly ass.`);
slave.devotion -= 2;
} else {
r.push(`${He} lives a life of minor annoyances knocking things over, bumping people and getting stuck in chairs with ${his} godly ass, but bears them with pride out of devotion.`);
}
} else if (slave.butt > 10) {
r.push(`${His} butt has gotten absolutely enormous.`);
if (V.arcologies[0].FSAssetExpansionist !== "unset" && (slave.behavioralFlaw === "arrogant" || slave.behavioralQuirk === "confident")) {
if (slave.behavioralFlaw === "arrogant") {
r.push(`Your arcology glorifies asses as large as ${his}, <span class="trust inc">inflating ${his} ego</span> almost as large as ${his} rear.`);
slave.trust += 2;
} else if (slave.behavioralQuirk === "confident") {
r.push(`Your arcology glorifies asses as large as ${his}, so the minor annoyances don't seem so bad.`);
}
} else if (slave.devotion <= 50) {
r.push(`${He} finds it a <span class="devotion dec">massive nuisance</span> to live with.`);
slave.devotion -= 1;
} else {
r.push(`${He} finds it a massive nuisance to live with, but does anyway out of devotion to you.`);
}
}
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function buttAccessibility(slave) {
if (slave.butt > 15) {
if (V.buttAccessibility === 1) {
if (slave.devotion > 20) {
r.push(`${He}'s <span class="trust inc">thankful</span> to you for providing living spaces adapted to life with way too much excess junk in the trunk.`);
slave.trust += 1;
}
} else {
r.push(`${His} giant butt makes life a struggle: `);
if (V.ballsAccessibility === 1 || V.pregAccessibility === 1 || V.boobAccessibility === 1) {
r.push(`${he} has trouble using furniture, and constantly bumps into things, but at least the doors have already been widened for your other slaves.`);
} else {
r.push(`${he} barely fits through doors, has trouble using furniture, and constantly bumps into things.`);
}
if (slave.devotion > 50) {
r.push(`Since ${he}'s devoted to you, ${he} just does ${his} best.`);
} else if ((slave.trust >= -20)) {
r.push(`This torment makes ${him} <span class="trust dec">less trusting</span> of your willingness to look after ${him}.`);
slave.trust -= 1;
} else {
r.push(`${He} already believes you capable of tormenting ${him}, so this proof of your indifference <span class="devotion dec">angers ${him}</span> daily.`);
slave.devotion -= 2;
}
}
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function healthBlips(slave) {
if (V.curativeSideEffects !== 0) {
if (slave.chem > 10) {
if (random(1, 200) < slave.chem + slave.physicalAge - slave.health.condition - (5 * slave.curatives)) {
const effect = random(1, 10);
healthDamage(slave, 10);
switch (effect) {
case 1:
r.push(`A routine medical scan detects a small, benign growth in one of ${his} breasts. The autosurgery removes it with only <span class="health dec">minor health consequences,</span>`);
break;
case 2:
r.push(`A routine medical scan detects a small, benign growth`);
if (slave.ovaries === 1) {
r.push(`on one of ${his} ovaries.`);
} else if (slave.balls > 0) {
r.push(`in one of ${his} testicles.`);
} else {
r.push(`in ${his} abdomen.`);
}
r.push(`The autosurgery removes it with only <span class="health dec">minor health consequences,</span>`);
break;
case 3:
r.push(`${He} experiences a troublingly severe panic attack one morning. It passes with <span class="health dec">a minor dose of medication,</span>`);
break;
case 4:
r.push(`${He} suffers a series of severe headaches. They pass with <span class="health dec">a minor dose of medication,</span>`);
break;
case 5:
r.push(`${He} experiences recurrent nausea this week. It passes with <span class="health dec">a minor dose of medication,</span>`);
break;
case 6:
r.push(`${He} experiences troublingly severe night terrors several times this week. <span class="health dec">A minor dose of medication</span> resolves them,`);
break;
case 7:
r.push(`A routine medical scan detects a minor arrhythmia in ${his} heart. <span class="health dec">A minor dose of medication</span> resolves it,`);
break;
case 8:
r.push(`A trivial injury turns serious when ${his} blood takes an unnaturally long time to clot. The autosurgery patches ${him} up with only <span class="health dec">minor health consequences,</span>`);
break;
case 9:
r.push(`An unsightly new vein becomes visible, just under ${his} ${slave.skin} skin. The autosurgery removes it with only <span class="health dec">minor health consequences,</span>`);
break;
default:
r.push(`${He} seems <span class="health dec">slightly ill</span> this week. ${He} recovers quickly,`);
}
r.push(`but it's likely this is a side effect of the heavy drug treatments ${he}'s received.`);
if (V.arcologies[0].FSBodyPuristLaw === 1) {
r.push(`Your society's focus on preventing things like this is starting to have an effect, but long term damage like that ${he} has suffered takes time to resolve itself.`);
} else if (V.healthyDrugsUpgrade === 1) {
r.push(`Your effort to provide drug treatments free of negative side effects is starting to show results, but long term damage like that ${he} has suffered takes time to resolve itself.`);
}
}
}
}
if (slave.weight >= 100) {
if (slave.weight > 190) {
if (slave.curatives !== 1) {
r.push(`${His} extreme obesity <span class="health dec">directly affects</span> ${his} health.`);
healthDamage(slave, 2);
}
if (random(1, 200) < 5) {
r.push(`${He} experienced <span class="health dec">severe health complications</span> due to ${his} weight this week. After extensive surgery, ${his} health was stabilized, though ${his} survival is not assured.`);
healthDamage(slave, 80);
}
} else if (slave.weight > 160) {
if (slave.curatives !== 1) {
r.push(`${His} obesity <span class="health dec">directly affects</span> ${his} health.`);
healthDamage(slave, 1);
}
if (random(1, 200) < 5) {
r.push(`${He} experienced <span class="health dec">severe health complications</span> due to ${his} weight this week. After extensive surgery, ${his} health was stabilized.`);
healthDamage(slave, 40);
}
} else if (slave.weight > 130) {
if (random(1, 200) < 5) {
r.push(`${He} experienced <span class="health dec">severe health complications</span> due to ${his} weight this week. After some rest, ${he} recovered.`);
healthDamage(slave, 20);
}
} else if (slave.weight > 95) {
if (random(1, 200) < 5) {
r.push(`${He} experienced <span class="health dec">minor health complications</span> due to ${his} weight this week. After some rest, ${he} recovered.`);
healthDamage(slave, 5);
}
}
}
}
})();
|
MonsterMate/fc
|
src/endWeek/saLongTermPhysicalEffects.js
|
JavaScript
|
mit
| 138,056
|
/**
* @param {App.Entity.SlaveState} slave
* @returns {string}
*/
// TODO: redo this
App.SlaveAssignment.nanny = function(slave) {
const {he, him, his, He, His} = getPronouns(slave);
const child = `child${V.nurseryChildren > 0 ? `ren` : ``}`;
let t = `works as a nanny. ${He} ${V.nurseryChildren ?
`looks after the ${child} in ${V.nurseryName}, ensuring their needs are met and that they are being raised as ${V.nurseryChildren === 1 ?
`a good future slave` :
`good future slaves`}` :
`keeps ${V.nurseryName} neat and tidy for the children it will one day support`}. `;
t += nannyEffort(slave);
t += nannyRelationship(slave);
t += nannyCareer(slave);
t += nannyFetish(slave);
t += nannyEnergy(slave);
t += nannyVision(slave);
t += nannyVignettes(slave);
t += matronEffects(slave);
return t;
function nannyEffort(slave) {
let t = '';
t += ` ${He} is `;
if (slave.trust < -20) {
t += `frightened of punishment and works very hard, <span class="cash inc">reducing the upkeep</span> of ${V.nurseryName}${V.nurseryChildren ? ` and the children within` : ``}.`;
} else if (slave.devotion <= 20) {
t += `hesitant, requiring your other slaves to demand ${his} services, and only slightly <span class="cash inc">reduces upkeep</span> of your slaves.`;
} else if (slave.devotion <= 50) {
t += `obedient, offering your other slaves ${his} services, and moderately <span class="cash inc">reduces the upkeep</span> of your slaves.`;
} else if (slave.devotion <= 95) {
t += `devoted, happily giving your other slaves ${his} services, and <span class="cash inc">reduces the upkeep</span> of your slaves.`;
} else {
t += `so happy to serve your other slaves that ${he} often sees to their needs before they know they have them, and greatly <span class="cash inc">reduces the upkeep</span> of your slaves.`;
}
return t;
}
function nannyRelationship(slave) {
let t = '';
// TODO:
if (slave.relationship === -2) {
t += ` ${He} does ${his} best to look after the ${child} in ${his} care due to ${his} emotional bond to you.`;
} else if (slave.relationship === -3 && slave.devotion > 50) {
t += ` ${He} does ${his} very best to be the perfect caretaker, making ${him} an outstanding nanny.`;
}
return t;
}
function nannyCareer(slave) {
let t = '';
// TODO:
if (setup.servantCareers.includes(slave.career)) {
t += ` ${He} has experience with nannying from ${his} life before ${he} was a slave, making ${him} more effective.`;
} else if (slave.skill.servant >= V.masteredXP) {
t += ` ${He} has experience with nannying from working for you, making ${him} more effective.`;
} else {
slave.skill.servant += jsRandom(1, Math.ceil((slave.intelligence + slave.intelligenceImplant) / 15) + 8);
}
return t;
}
function nannyFetish(slave) {
let t = '';
// TODO:
if (slave.fetishStrength > 60) {
if (slave.fetish === "submissive" && slave.fetishKnown === 1) {
t += ` ${His} natural affinity for submission increases ${his} effectiveness.`;
} else if (slave.fetishKnown === 1 && slave.fetish === "dom") {
t += ` ${His} sexual appetite for domination reduces ${his} effectiveness.`;
}
}
return t;
}
function nannyEnergy(slave) {
let t = '';
// TODO:
if (slave.energy < 20) {
t += ` ${His} frigidity allows ${him} to ignore the intercourse all around ${him}, making ${him} very efficient.`;
} else if (slave.energy < 40) {
t += ` ${His} low sex drive keeps ${him} from becoming too distracted by the intercourse all around ${him}, making ${him} more efficient.`;
}
return t;
}
function nannyVision(slave) {
let t = '';
// TODO:
if (!canSeePerfectly(slave)) {
t += ` ${His} bad vision makes ${him} a worse nanny.`;
}
return t;
}
function nannyVignettes(slave) {
let t = '';
if (V.showVignettes === 1 && (slave.assignment === window.Job.NURSERY)) {
const vignette = GetVignette(slave);
t += ` <u>This week</u> ${vignette.text} `;
vignetteCash(slave);
vignetteDevotion(slave);
vignetteTrust(slave);
vignetteHealth(slave);
vignetteRep(slave);
}
return t;
}
function vignetteCash(slave) {
const vignette = GetVignette(slave);
let t = '';
if (vignette.type === "cash") {
let modifier = FResult(slave);
if (vignette.effect > 0) {
t += `<span class="cash inc">making you an extra ${cashFormat(Math.trunc(modifier * vignette.effect))}.</span>`;
cashX(Math.trunc(modifier * vignette.effect), "slaveAssignmentNurseryVign", slave);
} else if (vignette.effect < 0) {
t += `<span class="cash dec">losing you ${cashFormat(Math.abs(Math.trunc(modifier * vignette.effect)))}.</span>`;
cashX(forceNeg(Math.trunc(modifier * vignette.effect)), "slaveAssignmentNurseryVign", slave);
} else {
t += `an incident without lasting effect.`;
}
}
return t;
}
function vignetteDevotion(slave) {
const vignette = GetVignette(slave);
let t = '';
if (vignette.type === "devotion") {
if (vignette.effect > 0) {
if (slave.devotion > 50) {
t += `<span class="devotion inc">increasing ${his} devotion to you.</span>`;
} else if (slave.devotion >= -20) {
t += `<span class="devotion inc">increasing ${his} acceptance of you.</span>`;
} else if (slave.devotion > -10) {
t += `<span class="devotion inc">reducing ${his} dislike of you.</span>`;
} else {
t += `<span class="devotion inc">reducing ${his} hatred of you.</span>`;
}
} else if (vignette.effect < 0) {
if (slave.devotion > 50) {
t += `<span class="devotion dec">reducing ${his} devotion to you.</span>`;
} else if (slave.devotion >= -20) {
t += `<span class="devotion dec">reducing ${his} acceptance of you.</span>`;
} else if (slave.devotion > -10) {
t += `<span class="devotion dec">increasing ${his} dislike of you.</span>`;
} else {
t += `<span class="devotion dec">increasing ${his} hatred of you.</span>`;
}
} else {
t += `an incident without lasting effect.`;
}
slave.devotion += (1 * vignette.effect);
}
return t;
}
function vignetteTrust(slave) {
const vignette = GetVignette(slave);
let t = '';
if (vignette.type === "trust") {
if (vignette.effect > 0) {
if (slave.trust > 20) {
t += `<span class="trust inc">increasing ${his} trust in you.</span>`;
} else if (slave.trust > -10) {
t += `<span class="trust inc">reducing ${his} fear of you.</span>`;
} else {
t += `<span class="trust inc">reducing ${his} terror of you.</span>`;
}
} else if (vignette.effect < 0) {
if (slave.trust > 20) {
t += `<span class="trust dec">reducing ${his} trust in you.</span>`;
} else if (slave.trust >= -20) {
t += `<span class="trust dec">increasing ${his} fear of you.</span>`;
} else {
t += `<span class="trust dec">increasing ${his} terror of you.</span>`;
}
} else {
t += `an incident without lasting effect.`;
}
slave.trust += (1 * vignette.effect);
}
return t;
}
function vignetteHealth(slave) {
const vignette = GetVignette(slave);
let t = '';
if (vignette.type === "health") {
if (vignette.effect > 0) {
t += `<span class="health inc">improving ${his} health.</span>`;
} else if (vignette.effect < 0) {
t += `<span class="health dec">affecting ${his} health.</span>`;
} else {
t += `an incident without lasting effect.`;
}
improveCondition(slave, 2 * vignette.effect);
}
return t;
}
function vignetteRep(slave) {
const vignette = GetVignette(slave);
let t = '';
if (vignette.type === "rep") {
let modifier = FResult(slave);
if (vignette.effect > 0) {
t += `<span class="reputation inc">gaining you a bit of reputation.</span>`;
} else if (vignette.effect < 0) {
t += `<span class="reputation dec">losing you a bit of reputation.</span>`;
} else {
t += `an incident without lasting effect.`;
}
repX((modifier * vignette.effect * 0.1), "vignette", slave);
}
return t;
}
function matronEffects(slave) {
let t = '';
if (V.MatronID) {
t += `While there, ${he} benefits from ${S.Matron.slaveName}'s `;
if (S.Matron.physicalAge < 21) {
t += `youthful energy`;
} else {
t += `care`;
}
if (S.Matron.skill.oral) { // TODO: keep this? replace with something else?
t += ` and talented tongue`;
}
t += `. `;
}
return t;
}
};
|
MonsterMate/fc
|
src/endWeek/saNanny.js
|
JavaScript
|
mit
| 8,417
|
App.SlaveAssignment.pleaseYou = (function() {
"use strict";
let r;
// eslint-disable-next-line no-unused-vars
let he, him, his, hers, himself, girl, loli, He, His, daughter, wife;
let playerPronouns;
let fetishChange;
let arcology;
let trainingEfficiency;
let oralUse;
let analUse;
let vaginalUse;
let mammaryUse;
let penetrativeUse;
let cervixPump;
let acts;
let demand;
return saPleaseYou;
/**
* @param {App.Entity.SlaveState} slave
* @returns {string}
*/
function saPleaseYou(slave) {
r = [];
fetishChange = fetishChangeChance(slave);
arcology = V.arcologies[0];
oralUse = 0;
analUse = 0;
vaginalUse = 0;
mammaryUse = 0;
penetrativeUse = 0;
cervixPump = 0;
acts = 0;
trainingEfficiency = 5 + Math.trunc(slave.devotion / 30) + ((slave.intelligence+slave.intelligenceImplant) / 32);
({
// eslint-disable-next-line no-unused-vars
he, him, his, hers, himself, girl, He, His, loli, daughter, wife
} = getPronouns(slave));
playerPronouns = getPronouns(V.PC);
jobPreface(slave);
checkHoleAvailability(slave);
switch (slave.toyHole) {
case "pussy":
useVagina(slave);
break;
case "ass":
useAnus(slave);
break;
case "mouth":
useMouth(slave);
break;
case "boobs":
useBoobs(slave);
break;
case "dick":
useDick(slave);
break;
default:
useAllHoles(slave);
}
physicalEffects(slave);
const familyMult = familyBonus(slave);
addRep(slave, familyMult);
if (slave.fuckdoll === 0 && slave.fetish !== "mindbroken") {
mentalEffects(slave);
}
return r.join(" ");
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function jobPreface(slave) {
r.push(`serves you this week.`);
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function checkHoleAvailability(slave) {
if (slave.toyHole === "pussy") {
if (!canDoVaginal(slave)) {
slave.toyHole = "all her holes";
}
} else if (slave.toyHole === "ass") {
if (!canDoAnal(slave)) {
slave.toyHole = "all her holes";
}
} else if (slave.toyHole === "dick") {
if (!canPenetrate(slave)) {
slave.toyHole = "all her holes";
}
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function useVagina(slave) {
if (V.fuckSlaves <= V.PC.sexualEnergy / 2) {
vaginalUse = jsRandom(21, 40);
} else if (V.fuckSlaves <= V.PC.sexualEnergy) {
vaginalUse = jsRandom(7, 14);
} else {
vaginalUse = jsRandom(3, 7);
}
if (slave.assignment === Job.FUCKTOY) {
vaginalUse = Math.ceil(vaginalUse * restEffects(slave, 11));
} else {
vaginalUse = Math.ceil(vaginalUse * healthPenalty(slave));
}
if (slave.fuckdoll === 0) {
r.push(`${He} spends the week`);
if (slave.fetish === "mindbroken") {
r.push(`unaware of your intent to use ${his} pussy.`);
} else if (slave.trust < -20) {
r.push(`in terrified compliance with your use of ${his} pussy.`);
} else if (slave.devotion < -20) {
r.push(`alternately struggling and lying corpse-like as you use ${his} pussy.`);
} else if (slave.devotion <= 20) {
r.push(`reluctantly accepting your use of ${his} pussy.`);
} else if (slave.fetishKnown === 1 && slave.fetish === "submissive") {
r.push(`as your adoring submissive, seeing to your pleasure with ${his} womanhood.`);
} else if (slave.devotion <= 50) {
r.push(`obediently serving you in the classical way, taking you into ${his} womanhood.`);
} else {
r.push(`serving you in the classical way, warming your bed and lovingly taking you into ${his} womanhood.`);
}
r.push(`You have the sexual energy to fuck ${him}`);
if (slave.fetish === "mindbroken") {
if (vaginalUse >= 14) {
r.push(`several times a day.`);
slave.devotion -= 5;
slave.trust -= 15;
} else if (vaginalUse >= 7) {
r.push(`at least once a day.`);
slave.devotion -= 3;
slave.trust -= 9;
} else {
r.push(`on occasion.`);
slave.devotion -= 3;
slave.trust -= 3;
}
r.push(`${He} doesn't react, even if ${his} body does.`);
} else if (slave.trust >= -20 && slave.devotion <= 20) {
if (vaginalUse >= 14) {
r.push(`several times a day; the constant`);
slave.devotion -= 5;
slave.trust -= 15;
} else if (vaginalUse >= 7) {
r.push(`at least once a day; the regular`);
slave.devotion -= 3;
slave.trust -= 9;
} else {
r.push(`on occasion; the threat of`);
slave.devotion -= 3;
slave.trust -= 3;
}
r.push(`rape fills ${him} with <span class="mediumorchid">revulsion</span> and <span class="gold">fear.</span>`);
} else if (slave.devotion <= 20) {
if (vaginalUse >= 14) {
r.push(`several times a day; submitting to your constant`);
slave.devotion += 3;
} else if (vaginalUse >= 7) {
r.push(`at least once a day; submitting to your regular`);
slave.devotion += 2;
} else {
r.push(`on occasion; submitting to your`);
slave.devotion += 1;
}
r.push(`use <span class="hotpink">habituates ${him}</span> to being your sex slave.`);
} else {
if (vaginalUse >= 14) {
r.push(`several times a day; constant,`);
slave.devotion += 3;
slave.trust += 3;
} else if (vaginalUse >= 7) {
r.push(`several times a day; regular,`);
slave.devotion += 2;
slave.trust += 2;
} else {
r.push(`on occasion;`);
slave.devotion += 1;
slave.trust += 1;
}
r.push(`enjoyable sex with you draws ${him} <span class="hotpink">closer to you</span> and encourages ${him} to <span class="mediumaquamarine">trust you.</span>`);
}
if (slave.fetish !== "mindbroken") {
if (slave.sexualFlaw === "hates penetration" && slave.devotion > 50) {
r.push(`The emotional closeness <span class="green">resolves ${his} hatred of penetration.</span>`);
slave.sexualFlaw = "none";
}
if (slave.skill.vaginal < 100) {
r.push(`After a lot of time spent having vanilla sex, ${his} <span class="green">vaginal skill improves.</span>`);
r.push(`${slaveSkillIncrease('vaginal', slave, trainingEfficiency)}`);
}
}
if (V.PC.dick !== 0) {
if (slave.fetish !== "mindbroken") {
if (slave.fetish === "submissive") {
r.push(`${He} frequently climaxes with your`);
if (V.PC.title === 1) {
r.push(`strong`);
} else {
r.push(`soft`);
}
r.push(`hands holding ${him} and your cock spreading heat through ${his} core,`);
if (slave.fetishKnown === 1) {
r.push(`<span class="hotpink">fulfilling ${his} life's role completely.</span>`);
} else {
r.push(`${he} <span class="hotpink">seems to enjoy</span> being your fucktoy.`);
}
slave.devotion += 2;
} else if (fetishChange > jsRandom(0, 100)) {
slave.fetish = "submissive";
slave.fetishKnown = 1;
slave.fetishStrength = 10;
r.push(`${He} frequently climaxes with your`);
if (V.PC.title === 1) {
r.push(`strong`);
} else {
r.push(`soft`);
}
r.push(`hands holding ${him} and your cock spreading heat through ${his} core, teaching ${him} that <span class="lightcoral">a ${girl}'s role is to please a ${playerPronouns.woman}.</span>`);
}
}
}
} else {
r.push(`You keep ${him} with you all week, using ${him} as your personal sex toy`);
if (vaginalUse >= 14) {
r.push(`several times a day.`);
} else if (vaginalUse >= 7) {
r.push(`at least once a day.`);
} else {
r.push(`on occasion.`);
}
r.push(`When you're not using ${him}, ${he}`);
if (!hasAnyLegs(slave)) {
r.push(`rests`);
} else {
r.push(`stands`);
}
r.push(`nearby, waiting silently for your order to present ${his} pussy.`);
}
if (V.PC.dick !== 0) {
if (canImpreg(slave, V.PC)) {
r.push(`${knockMeUp(slave, vaginalUse, 0, -1, true)}`);
}
}
slave.counter.vaginal += vaginalUse;
V.vaginalTotal += vaginalUse;
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function useAnus(slave) {
if (V.fuckSlaves <= V.PC.sexualEnergy / 2) {
analUse = jsRandom(21, 40);
} else if (V.fuckSlaves <= V.PC.sexualEnergy) {
analUse = jsRandom(7, 14);
} else {
analUse = jsRandom(3, 7);
}
if (slave.assignment === Job.FUCKTOY) {
analUse = Math.ceil(analUse * restEffects(slave, 11));
} else {
analUse = Math.ceil(analUse * healthPenalty(slave));
}
if (slave.fuckdoll === 0) {
r.push(`${He} spends the week`);
if (slave.fetish === "mindbroken") {
r.push(`unaware of your intent to use ${his} anus.`);
} else if (slave.trust < -20) {
r.push(`in terrified compliance with your use of ${his} anus.`);
} else if (slave.devotion < -20) {
r.push(`struggling and screaming as you sodomize ${him}.`);
} else if (slave.devotion <= 20) {
r.push(`writhing in pain as you sodomize ${him}.`);
} else if (slave.devotion <= 50) {
r.push(`obediently submitting to your use of ${his} butthole.`);
} else if (slave.fetishKnown === 1 && slave.fetish === "buttslut") {
r.push(`as your adoring anal slave, orgasming to the feel of`);
if (V.PC.dick !== 0) {
r.push(`you shooting your seed`);
} else {
r.push(`your favorite strap-on`);
}
r.push(`up ${his} ass.`);
} else {
r.push(`warming your bed and devotedly serving your sexual needs with ${his} anus.`);
}
r.push(`You have the sexual energy to fuck ${his} butt`);
if (slave.fetish === "mindbroken") {
if (analUse >= 14) {
r.push(`several times a day.`);
slave.devotion -= 5;
slave.trust -= 15;
} else if (analUse >= 7) {
r.push(`at least once a day.`);
slave.devotion -= 3;
slave.trust -= 9;
} else {
r.push(`on occasion.`);
slave.devotion -= 3;
slave.trust -= 3;
}
r.push(`${He} doesn't react, even if ${his} body does.`);
} else if (slave.trust >= -20 && slave.devotion <= 20) {
if (analUse >= 14) {
r.push(`several times a day; the constant`);
slave.devotion -= 5;
slave.trust -= 15;
} else if (analUse >= 7) {
r.push(`at least once a day; the regular`);
slave.devotion -= 3;
slave.trust -= 9;
} else {
r.push(`on occasion; the threat of`);
slave.devotion -= 3;
slave.trust -= 3;
}
r.push(`anal rape fills ${him} with <span class="mediumorchid">revulsion</span> and <span class="gold">fear.</span>`);
} else if (slave.devotion <= 20) {
if (analUse >= 14) {
r.push(`several times a day; constantly`);
slave.devotion += 3;
} else if (analUse >= 7) {
r.push(`at least once a day; regularly`);
slave.devotion += 2;
} else {
r.push(`on occasion;`);
slave.devotion += 1;
}
r.push(`allowing you to penetrate ${his} rear <span class="hotpink">habituates ${him}</span> to being your sex slave.`);
} else {
if (analUse >= 14) {
r.push(`several times a day; constantly`);
slave.devotion += 3;
slave.trust += 3;
} else if (analUse >= 7) {
r.push(`at least once a day; regularly`);
slave.devotion += 2;
slave.trust += 2;
} else {
r.push(`on occasion;`);
slave.devotion += 1;
slave.trust += 1;
}
r.push(`climaxing to your penetration of ${his} rear brings ${him} <span class="hotpink">closer to you</span> and encourages ${him} to <span class="mediumaquamarine">trust you.</span>`);
}
if (slave.fetish !== "mindbroken") {
if (slave.sexualFlaw === "hates anal" && slave.devotion > 50) {
r.push(`${He}'s devoted enough to derive emotional closeness from buttsex, which <span class="green">resolves ${his} hatred of the act.</span>`);
slave.sexualFlaw = "none";
}
if (slave.skill.anal < 100) {
r.push(`After a lot of time spent getting buttfucked, ${his} <span class="green">anal skill improves.</span>`);
r.push(`${slaveSkillIncrease('anal', slave, trainingEfficiency)}`);
}
if (slave.fetish === "buttslut") {
if (slave.fetishKnown === 1) {
r.push(`${He} <span class="hotpink">takes great pleasure</span> in ${his} rear being used as your personal`);
if (V.PC.dick !== 0) {
r.push(`cock holster.`);
} else {
r.push(`plaything.`);
}
} else {
r.push(`${He} <span class="hotpink">seems to enjoy</span> anal sex more than the usual slave.`);
}
slave.devotion += 2;
} else if (fetishChange > jsRandom(0, 100)) {
slave.fetishKnown = 1;
slave.fetishStrength = 10;
slave.fetish = "buttslut";
r.push(`After repeated anal orgasms, <span class="lightcoral">${he} begins to crave ${his} next buttfuck.</span>`);
}
}
} else {
r.push(`You keep ${him} with you all week, using ${him} as your personal sex toy`);
if (analUse >= 14) {
r.push(`several times a day.`);
} else if (analUse >= 7) {
r.push(`at least once a day.`);
} else {
r.push(`on occasion.`);
}
r.push(`When you're not using ${him}, ${he}`);
if (!hasAnyLegs(slave)) {
r.push(`rests`);
} else {
r.push(`stands`);
}
r.push(`nearby, waiting silently for your order to present ${his} asshole.`);
}
if (V.PC.dick !== 0) {
if (canImpreg(slave, V.PC)) {
r.push(`${knockMeUp(slave, analUse, 1, -1, true)}`);
}
}
slave.counter.anal += analUse;
V.analTotal += analUse;
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function useMouth(slave) {
if (V.fuckSlaves <= V.PC.sexualEnergy / 2) {
oralUse = jsRandom(21, 40);
} else if (V.fuckSlaves <= V.PC.sexualEnergy) {
oralUse = jsRandom(7, 14);
} else {
oralUse = jsRandom(3, 7);
}
if (slave.assignment === Job.FUCKTOY) {
oralUse = Math.ceil(oralUse * restEffects(slave, 11));
} else {
oralUse = Math.ceil(oralUse * healthPenalty(slave));
}
if (slave.fuckdoll === 0) {
r.push(`${He} spends the week`);
if (slave.fetish === "mindbroken") {
r.push(`unaware of your intent to use ${his} mouth.`);
} else if (slave.trust < -20) {
r.push(`in terrified compliance with your use of ${his}`);
if (V.PC.dick !== 0) {
r.push(`throat.`);
} else {
r.push(`mouth.`);
}
} else if (slave.devotion < -20) {
r.push(`struggling and gagging as you`);
if (V.PC.dick !== 0) {
r.push(`throatfuck ${him}.`);
} else {
r.push(`ride ${his} face.`);
}
} else if (slave.devotion <= 20) {
r.push(`reluctantly`);
if (V.PC.dick !== 0) {
r.push(`servicing your cock with ${his} mouth.`);
} else {
r.push(`licking your pussy.`);
}
} else if (slave.devotion <= 50) {
r.push(`obediently`);
if (V.PC.dick !== 0) {
r.push(`sucking your cock.`);
} else {
r.push(`eating you out.`);
}
} else if (slave.fetishKnown === 1 && slave.fetish === "cumslut") {
r.push(`as your adoring oral slave, orgasming when you leave ${him} with a`);
if (V.PC.dick !== 0) {
r.push(`mouth full of`);
if (V.PC.vagina !== -1) {
r.push(`cum or a`);
} else {
r.push(`cum.`);
}
}
if (V.PC.vagina !== -1) {
r.push(`face covered in your pussy juice.`);
}
if (V.PC.dick !== 0 && (V.fuckSlaves <= (V.PC.sexualEnergy / 2 + (V.PC.balls - 3)))) {
r.push(`Your balls produce so much cum for ${him} that ${he} has replaced half ${his} diet with your cum, and you often leave ${him} dizzy with a face and chest covered in your sticky pearly semen.`);
} else if (V.PC.dick !== 0 && (V.fuckSlaves <= (V.PC.sexualEnergy + (V.PC.balls - 3)))) {
r.push(`Your balls produce enough cum that ${he} usually gets facials after a mouthful of semen, and ${he} loves you for it.`);
} else {
r.push(`${He} usually has to fight for ${his} share of cum, making sure to milk cum from your`);
if (V.fuckSlaves > 1) {
r.push(`urethra or suck it out of a pussy.`);
} else {
r.push(`urethra.`);
}
}
} else {
r.push(`warming your bed and lavishing devoted attention on your`);
if (V.PC.dick !== 0) {
r.push(`cock`);
if (V.PC.vagina !== -1) {
r.push(`and`);
}
}
if (V.PC.vagina !== -1) {
r.push(`pussy`);
}
r.push(`with ${his} loving mouth.`);
}
r.push(`You have the sexual energy to`);
if (slave.fetish === "mindbroken") {
if (V.PC.dick !== 0) {
r.push(`use ${his} mouth`);
} else {
r.push(`make ${him} eat you out`);
}
if (oralUse >= 14) {
r.push(`several times a day.`);
slave.devotion -= 5;
slave.trust -= 15;
} else if (oralUse >= 7) {
r.push(`at least once a day.`);
slave.devotion -= 3;
slave.trust -= 9;
} else {
r.push(`on occasion.`);
slave.devotion -= 3;
slave.trust -= 3;
}
r.push(`${He} absentmindedly follows your lead.`);
} else if (slave.trust >= -20 && slave.devotion <= 20) {
if (V.PC.dick !== 0) {
r.push(`rape ${his} face`);
} else {
r.push(`force ${him} to eat you out`);
}
r.push(`${him}`);
if (oralUse >= 14) {
r.push(`several times a day; the constant`);
slave.devotion -= 5;
slave.trust -= 15;
} else if (oralUse >= 7) {
r.push(`at least once a day; the regular`);
slave.devotion -= 3;
slave.trust -= 9;
} else {
r.push(`on occasion; the threat of`);
slave.devotion -= 3;
slave.trust -= 3;
}
r.push(`sexual abuse fills ${him} with <span class="mediumorchid">revulsion</span> and <span class="gold">fear.</span>`);
} else if (slave.devotion <= 20) {
if (V.PC.dick !== 0) {
r.push(`use ${his} mouth`);
} else {
r.push(`make ${him} eat you out`);
}
if (oralUse >= 14) {
r.push(`several times a day; constantly`);
slave.devotion += 3;
} else if (oralUse >= 7) {
r.push(`at least once a day; regularly`);
slave.devotion += 2;
} else {
r.push(`on occasion;`);
slave.devotion += 1;
}
r.push(`performing oral on you <span class="hotpink">habituates ${him}</span> to being your sex slave.`);
} else {
if (V.PC.dick !== 0) {
r.push(`get a blowjob`);
if (V.PC.vagina !== -1) {
r.push(`and some pussy licking`);
}
r.push(`from ${him}`);
} else {
r.push(`${him} eat you out`);
}
if (oralUse >= 14) {
r.push(`several times a day; constantly`);
slave.devotion += 3;
slave.trust += 3;
} else if (oralUse >= 7) {
r.push(`several times a day; regularly`);
slave.devotion += 2;
slave.trust += 2;
} else {
r.push(`on occasion;`);
slave.devotion += 1;
slave.trust += 1;
}
r.push(`giving you pleasure brings ${him} <span class="hotpink">closer to you</span> and encourages ${him} to <span class="mediumaquamarine">trust you.</span>`);
}
if (slave.fetish !== "mindbroken") {
if (slave.sexualFlaw === "hates oral" && slave.devotion > 50) {
r.push(`${He}'s devoted enough to derive emotional closeness from giving you oral, which <span class="green">resolves ${his} hatred of the act.</span>`);
slave.sexualFlaw = "none";
}
if (slave.behavioralFlaw === "hates men" && V.PC.dick !== 0 && slave.devotion > 20) {
r.push(`Spending so much time in close proximity to your dick <span class="green">reconciles ${him} to serving cocks.</span>`);
slave.behavioralFlaw = "none";
} else if (slave.behavioralFlaw === "hates women" && V.PC.vagina !== -1 && slave.devotion > 20) {
r.push(`Spending so much time in close proximity to your womanhood <span class="green">reconciles ${him} to serving a pussy.</span>`);
slave.behavioralFlaw = "none";
}
if (slave.skill.oral < 100) {
r.push(`After a lot of time spent`);
if (V.PC.dick !== 0) {
r.push(`sucking you`);
if (V.PC.vagina !== -1) {
r.push(`off and eating you out,`);
} else {
r.push(`off,`);
}
} else {
r.push(`eating you out,`);
}
r.push(`${his} <span class="green">oral skill improves.</span>`);
r.push(`${slaveSkillIncrease('oral', slave, trainingEfficiency)}`);
}
if (slave.fetish === "cumslut") {
if (slave.fetishKnown === 1) {
r.push(`${He} <span class="hotpink">quivers with ecstasy</span> just from the`);
if (canTaste(slave)) {
r.push(`taste`);
} else {
r.push(`feeling`);
}
r.push(`of your`);
if (V.PC.dick === 0) {
r.push(`girl`);
}
r.push(`cum on ${his} tongue.`);
} else {
r.push(`${He} <span class="hotpink">seems to enjoy</span> ${his} role as a cum receptacle more than you'd expect.`);
}
slave.devotion += 2;
} else if (fetishChange > jsRandom(0, 100)) {
slave.fetishKnown = 1;
slave.fetishStrength = 10;
slave.fetish = "cumslut";
r.push(`${He} frequently climaxes with`);
if (V.PC.dick !== 0) {
r.push(`your dick in ${his} mouth,`);
} else {
r.push(`${his} mouth on your cunt,`);
}
r.push(`learning that giving <span class="lightcoral">blowjobs is a lot of fun.</span>`);
}
}
slave.counter.oral += oralUse;
V.oralTotal += oralUse;
} else {
r.push(`You keep ${him} with you all week, using ${him} as your personal sex toy`);
if (oralUse >= 14) {
r.push(`several times a day.`);
} else if (oralUse >= 7) {
r.push(`at least once a day.`);
} else {
r.push(`on occasion.`);
}
r.push(`When you're not using ${him}, ${he}`);
if (!hasAnyLegs(slave)) {
r.push(`rests`);
} else {
r.push(`stands`);
}
r.push(`nearby, waiting silently for your order to open ${his} mouth.`);
slave.counter.oral += oralUse;
V.oralTotal += oralUse;
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function useBoobs(slave) {
if (V.fuckSlaves <= V.PC.sexualEnergy / 2) {
mammaryUse = jsRandom(21, 40);
} else if (V.fuckSlaves <= V.PC.sexualEnergy) {
mammaryUse = jsRandom(7, 14);
} else {
mammaryUse = jsRandom(3, 7);
}
if (slave.assignment === Job.FUCKTOY) {
mammaryUse = Math.ceil(mammaryUse * restEffects(slave, 11));
} else {
mammaryUse = Math.ceil(mammaryUse * healthPenalty(slave));
}
if (slave.fuckdoll === 0) {
r.push(`${He} spends the week`);
if (slave.fetish === "mindbroken") {
r.push(`unaware of your intent to use ${his} breasts.`);
} else if (slave.trust < -20) {
r.push(`in terrified compliance with your use of ${his} breasts.`);
} else if (slave.devotion < -20) {
r.push(`trying to keep ${his} tits away from your grasping hands.`);
} else if (slave.devotion <= 20) {
r.push(`reluctantly presenting ${his} tits for your use.`);
} else if (slave.devotion <= 50) {
r.push(`obediently offering ${his} tits for your use.`);
} else if (slave.fetishKnown === 1 && slave.fetish === "boobs") {
r.push(`moaning and shivering as you give it to ${him} where ${he} likes it best: ${his} tits.`);
} else {
r.push(`keeping ${his} tits in constant contact with you, giving you titjobs,`);
if (slave.nipples === "fuckable") {
r.push(`savoring your enjoyment of ${his} nipplecunts,`);
}
r.push(`resting them against you as you work, and serving as a comfortable pillow at bedtime.`);
}
r.push(`You have the sexual energy to`);
if (slave.fetish === "mindbroken") {
if (V.PC.dick !== 0) {
if (slave.nipples === "fuckable") {
r.push(`fuck ${his} boobs`);
} else {
r.push(`cum on ${his} boobs`);
}
} else {
r.push(`thoroughly grope ${his} boobs`);
}
if (mammaryUse >= 14) {
r.push(`several times a day.`);
slave.devotion -= 5;
slave.trust -= 15;
} else if (mammaryUse >= 7) {
r.push(`at least once a day.`);
slave.devotion -= 3;
slave.trust -= 9;
} else {
r.push(`on occasion.`);
slave.devotion -= 3;
slave.trust -= 3;
}
r.push(`${He} absentmindedly follows your lead.`);
} else if (slave.trust >= -20 && slave.devotion <= 20) {
if (mammaryUse >= 14) {
if (V.PC.dick !== 0) {
if (slave.nipples === "fuckable") {
r.push(`fuck ${his} boobs`);
} else {
r.push(`cum on ${his} boobs`);
}
} else {
r.push(`thoroughly grope ${his} boobs`);
}
r.push(`several times a day; the constant`);
slave.devotion -= 5;
slave.trust -= 15;
} else if (mammaryUse >= 7) {
if (V.PC.dick !== 0) {
if (slave.nipples === "fuckable") {
r.push(`fuck ${his} boobs`);
} else {
r.push(`cum on ${his} boobs`);
}
} else {
r.push(`thoroughly grope ${his} boobs`);
}
r.push(`at least once a day; the regular`);
slave.devotion -= 3;
slave.trust -= 9;
} else {
if (V.PC.dick !== 0) {
if (slave.nipples === "fuckable") {
r.push(`fuck ${his} boobs`);
} else {
r.push(`cum on ${his} boobs`);
}
} else {
r.push(`thoroughly grope ${his} boobs`);
}
r.push(`on occasion; the threat of`);
slave.devotion -= 3;
slave.trust -= 3;
}
r.push(`sexual abuse fills ${him} with <span class="mediumorchid">revulsion</span> and <span class="gold">fear.</span>`);
} else if (slave.devotion <= 20) {
r.push(`play with ${his} tits`);
if (mammaryUse >= 14) {
r.push(`several times a day; constantly`);
slave.devotion += 3;
} else if (mammaryUse >= 7) {
r.push(`at least once a day; regularly`);
slave.devotion += 2;
} else {
r.push(`on occasion;`);
slave.devotion += 1;
}
r.push(`submitting to your games <span class="hotpink">habituates ${him}</span> to being your sex slave.`);
} else {
if (V.PC.boobs >= 300) {
r.push(`have mutual mammary intercourse until you both orgasm to nipple stimulation`);
} else {
r.push(`have mammary intercourse with ${him}`);
}
if (mammaryUse >= 14) {
r.push(`several times a day; constantly`);
slave.devotion += 3;
slave.trust += 3;
} else if (mammaryUse >= 7) {
r.push(`at least once a day; regularly`);
slave.devotion += 2;
slave.trust += 2;
} else {
r.push(`on occasion;`);
slave.devotion += 1;
slave.trust += 1;
}
r.push(`giving you pleasure brings ${him} <span class="hotpink">closer to you</span> and encourages ${him} to <span class="mediumaquamarine">trust you.</span>`);
}
if (slave.fetish !== "mindbroken") {
if (slave.sexualFlaw === "hates oral" && slave.devotion > 50) {
r.push(`${He}'s devoted enough to derive emotional closeness from giving you oral, which <span class="green">resolves ${his} hatred of the act.</span>`);
slave.sexualFlaw = "none";
}
if (slave.behavioralFlaw === "hates men" && slave.devotion > 20 && V.PC.title === 1) {
r.push(`Spending so much time in close proximity to your masculinity <span class="green">reconciles ${him} to serving the male gender.</span>`);
slave.behavioralFlaw = "none";
} else if (slave.behavioralFlaw === "hates women" && V.PC.title === 0 && slave.devotion > 20) {
r.push(`Spending so much time in close proximity to your femininity <span class="green">reconciles ${him} to serving the female gender.</span>`);
slave.behavioralFlaw = "none";
}
if (slave.fetish === "boobs") {
if (slave.fetishKnown === 1) {
r.push(`${He} <span class="hotpink">quivers with ecstasy</span> just from the touch of your`);
if (V.PC.title === 1) {
r.push(`strong`);
} else {
r.push(`soft`);
}
r.push(`hands against ${his}`);
if (slave.boobs >= 300) {
r.push(`breasts.`);
} else {
r.push(`flat chest.`);
}
} else {
r.push(`${He} <span class="hotpink">seems to enjoy</span> having ${his}`);
if (slave.boobs >= 300) {
r.push(`breasts`);
} else {
r.push(`chest`);
}
r.push(`fondled more than the average ${girl}.`);
}
slave.devotion += 2;
} else if (fetishChange > jsRandom(0, 100)) {
slave.fetishKnown = 1;
slave.fetishStrength = 10;
slave.fetish = "boobs";
r.push(`${He} climaxes to nipple stimulation alone, and starts acting as though`);
if (slave.clit > 0 && slave.nipples !== "fuckable") {
r.push(`${he} has <span class="lightcoral">three pleasure buttons</span> rather than just one.`);
} else if (slave.vagina > -1 && slave.nipples === "fuckable") {
r.push(`${he} has <span class="lightcoral">a trio of pussies</span> rather than just one.`);
} else {
r.push(`${his} tits are ${his} <span class="lightcoral">primary erogenous zone.</span>`);
}
}
}
} else {
r.push(`You keep ${him} with you all week, using ${him} as your personal sex toy`);
if (mammaryUse >= 14) {
r.push(`several times a day.`);
} else if (mammaryUse >= 7) {
r.push(`at least once a day.`);
} else {
r.push(`on occasion.`);
}
r.push(`When you're not using ${him}, ${he}`);
if (!hasAnyLegs(slave)) {
r.push(`rests`);
} else {
r.push(`stands`);
}
r.push(`nearby, waiting silently for your order to present ${his} chest.`);
}
if (slave.lactation > 0) {
slave.lactationDuration = 2;
if (slave.boobsMilk > 0) {
slave.boobs -= slave.boobsMilk;
slave.boobsMilk = 0;
}
} else {
slave.induceLactation += 2;
r.push(`${induceLactation(slave)}`);
}
slave.counter.mammary += mammaryUse;
V.mammaryTotal += mammaryUse;
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function useDick(slave) {
if (V.fuckSlaves <= V.PC.sexualEnergy / 2) {
penetrativeUse = jsRandom(21, 40);
} else if (V.fuckSlaves <= V.PC.sexualEnergy) {
penetrativeUse = jsRandom(7, 14);
} else {
penetrativeUse = jsRandom(3, 7);
}
if (slave.assignment === Job.FUCKTOY) {
penetrativeUse = Math.ceil(penetrativeUse * restEffects(slave, 11));
} else {
penetrativeUse = Math.ceil(penetrativeUse * healthPenalty(slave));
}
if (slave.fuckdoll > 0) {
r.push(`All it takes is a simple command to force ${his} dick to attention. You have the sexual energy to ride ${him}`);
if (penetrativeUse >= 14) {
r.push(`several times a day.`);
} else if (penetrativeUse >= 7) {
r.push(`at least once a day.`);
} else {
r.push(`on occasion.`);
}
r.push(`You have to do all the work, unfortunately.`);
} else if (slave.fetish === "mindbroken") {
if (slave.career === "a breeding bull") {
if (canGetPregnant(V.PC)) {
r.push(`${He} spends the week eagerly trying to breed you. You have the sexual energy to take ${him}`);
if (penetrativeUse >= 14) {
r.push(`several times a day.`);
} else if (penetrativeUse >= 7) {
r.push(`at least once a day.`);
} else {
r.push(`on occasion.`);
}
r.push(`${He} happily mounts you and humps away, but ${he} has no sense of what's pleasurable to you and just excitedly thrusts until ${he} cums inside you.`);
} else {
r.push(`You spend the week getting humped by ${him} after you've managed to encourage ${him} to mount you. You have the sexual energy to use ${his} dick`);
if (penetrativeUse >= 14) {
r.push(`several times a day.`);
} else if (penetrativeUse >= 7) {
r.push(`at least once a day.`);
} else {
r.push(`on occasion.`);
}
r.push(`${His} conditioning tells ${him} to impregnate others, and since ${he} sees you as already pregnant, just cums inside you for ${his} own pleasure.`);
}
} else {
r.push(`You spend the week using ${his} dick after you've stimulated ${him} enough to get ${him} hard. You have the sexual energy to ride ${him}`);
if (penetrativeUse >= 14) {
r.push(`several times a day.`);
} else if (penetrativeUse >= 7) {
r.push(`at least once a day.`);
} else {
r.push(`on occasion.`);
}
r.push(`${He} sometimes thrusts out of instinct, but most of the work in the endeavor falls to you.`);
}
} else if (V.PC.preg >= 24 && V.PC.pregMood === 1) {
r.push(`${He} spends the week`);
if (slave.trust < -20) {
r.push(`cautiously fucking you in the missionary position. It takes a gentle touch to ${him} know it safe to get hard, but after that ${he} knows what to do.`);
} else if (slave.devotion < -20) {
r.push(`aggressively fucking your pussy with little regard for you or your child${V.PC.pregType > 1 ? 'ren' : ''}.`);
} else if (slave.devotion <= 20) {
r.push(`obediently fucking you in the missionary position while putting up with your attempts to breast feed ${him}.`);
} else if (slave.fetishKnown === 1 && slave.fetish === "dom") {
r.push(`as your adoring dom, giving you exactly what you need and treating you like a woman.`);
} else if (slave.career === "a breeding bull" || (slave.fetishKnown === 1 && slave.fetish === "pregnancy")) {
r.push(`eagerly driving ${his} cock into your pussy, and shooting cum as deep as ${him} can.`);
} else if (slave.devotion <= 50) {
r.push(`obediently driving ${his} shaft into your womanhood as you knead your aching breasts.`);
} else {
r.push(`eagerly driving ${his} shaft into your womanhood as you knead your aching breasts.`);
}
r.push(`You have the sexual energy to desire ${his} dick in you`);
if (slave.trust >= -20 && slave.devotion <= 20) {
if (penetrativeUse >= 14) {
r.push(`several times a day;`);
slave.devotion -= 15;
slave.trust += 7;
} else if (penetrativeUse >= 7) {
r.push(`at least once a day;`);
slave.devotion -= 10;
slave.trust += 7;
} else {
r.push(`on occasion;`);
slave.devotion -= 5;
slave.trust += 7;
}
r.push(`getting to dominantly fuck ${his} '${getWrittenTitle(slave)}' <span class="mediumorchid">builds ${his} self-confidence</span> and <span class="mediumaquamarine">lessens ${his} fear</span> of you.`);
} else if (slave.devotion <= 20) {
if (penetrativeUse >= 14) {
r.push(`several times a day;`);
slave.devotion -= 5;
slave.trust += 5;
} else if (penetrativeUse >= 7) {
r.push(`at least once a day;`);
slave.devotion -= 4;
slave.trust += 4;
} else {
r.push(`on occasion;`);
slave.devotion -= 3;
slave.trust += 3;
}
r.push(`getting to dominantly fuck ${his} '${getWrittenTitle(slave)}' <span class="mediumorchid">builds ${his} self-confidence,</span> yet <span class="mediumaquamarine">makes ${him} more trusting</span> of you.`);
} else {
if (penetrativeUse >= 14) {
r.push(`several times a day; constant, enjoyable`);
slave.devotion += 3;
slave.trust += 3;
} else if (penetrativeUse >= 7) {
r.push(`at least once a day; regular, enjoyable`);
slave.devotion += 2;
slave.trust += 2;
} else {
r.push(`on occasion; enjoyable`);
slave.devotion++;
slave.trust++;
}
r.push(`sex with you draws ${him} <span class="hotpink">closer to you</span> and encourages ${him} to <span class="mediumaquamarine">trust you.</span>`);
}
} else if (V.PC.preg >= 24 && V.PC.pregMood === 2) {
r.push(`${He} spends the week`);
if (slave.trust < -20) {
r.push(`in fear under your gravid bulk as you forcibly ride ${his} dick in a futile attempt to cool your raging hormones.`);
} else if (slave.devotion < -20) {
r.push(`alternately struggling or lying corpse-like under your gravid bulk as you forcibly ride ${his} dick in a futile attempt to cool your raging hormones.`);
} else if (slave.devotion <= 20) {
r.push(`reluctantly trying to avoid having to take all of your pregnancy weight while not pissing you off whenever you ride ${his} dick in a futile attempt to cool your raging hormones.`);
} else if (slave.fetishKnown === 1 && slave.fetish === "submissive") {
r.push(`doing ${his} best to be a good belly support as ${he} submissively gives you what you want.`);
} else if (slave.devotion <= 50) {
r.push(`obediently bearing your weight as you aggressively ride ${his} dick in a futile attempt to cool your raging hormones.`);
} else {
r.push(`happily pampering and supporting your gravid bulk as you ride ${his} dick in a futile attempt to cool your raging hormones.`);
}
r.push(`You have the sexual energy to aggressively mount ${him}`);
if (slave.trust >= -20 && slave.devotion <= 20) {
if (penetrativeUse >= 14) {
r.push(`several times a day; the constant,`);
slave.devotion -= 10;
slave.trust -= 25;
} else if (penetrativeUse >= 7) {
r.push(`at least once a day; the regular,`);
slave.devotion -= 5;
slave.trust -= 15;
} else {
r.push(`on occasion; the threat of`);
slave.devotion -= 3;
slave.trust -= 5;
}
r.push(`violent rape fills ${him} with <span class="mediumorchid">revulsion</span> and <span class="gold">fear.</span>`);
} else if (slave.devotion <= 20) {
if (penetrativeUse >= 14) {
r.push(`several times a day; submitting to your constant,`);
slave.devotion += 3;
slave.trust -= 5;
} else if (penetrativeUse >= 7) {
r.push(`at least once a day; submitting to your regular,`);
slave.devotion += 2;
slave.trust -= 4;
} else {
r.push(`on occasion; submitting to your rather`);
slave.devotion++;
slave.trust -= 3;
}
r.push(`forceful use <span class="hotpink">habituates ${him}</span> to being a sex slave, though ${he} learns to <span class="gold">fear</span> your bottomless lust.`);
} else {
if (penetrativeUse >= 14) {
r.push(`several times a day; constant,`);
slave.devotion += 3;
} else if (penetrativeUse >= 7) {
r.push(`at least once a day; regular,`);
slave.devotion += 2;
} else {
r.push(`on occasion;`);
slave.devotion++;
}
r.push(`rough sex with you teaches ${him} that <span class="hotpink">${his} place is under your stomach.</span>`);
}
} else {
r.push(`${He} spends the week`);
if (slave.trust < -20) {
r.push(`in terrified compliance with your use of ${his} dick.`);
} else if (slave.devotion < -20) {
r.push(`alternately struggling or lying corpse-like as you ride ${his} dick.`);
} else if (slave.devotion <= 20) {
r.push(`reluctantly accepting your use of ${his} dick.`);
} else if (slave.fetishKnown === 1 && slave.fetish === "submissive") {
r.push(`as your adoring submissive, seeing to your pleasure with ${his} shaft.`);
} else if (slave.devotion <= 50 && V.PC.vagina !== -1) {
r.push(`obediently serving you in the classical way, driving into your womanhood.`);
} else if (slave.devotion <= 50) {
r.push(`week obediently serving you by driving into your backdoor.`);
} else if (V.PC.vagina !== -1 && (slave.career === "a breeding bull" || (slave.fetishKnown === 1) && (slave.fetish === "pregnancy"))) {
r.push(`eagerly driving ${his} cock into your pussy, thoroughly enjoying fucking pussy bareback and cumming deep inside.`);
} else if (V.PC.vagina !== -1) {
r.push(`serving you in the classical way, warming your bed and lovingly driving ${his} shaft into your womanhood.`);
} else {
r.push(`serving you in the classical way, warming your bed and lovingly driving ${his} shaft into your backdoor.`);
}
if (slave.trust >= -20 && slave.devotion <= 20) {
r.push(`You have the sexual energy to ride ${him}`);
if (penetrativeUse >= 14) {
r.push(`several times a day; the constant`);
slave.devotion -= 5;
slave.trust -= 15;
} else if (penetrativeUse >= 7) {
r.push(`at least once a day; the regular`);
slave.devotion -= 3;
slave.trust -= 9;
} else {
r.push(`on occasion; the threat of`);
slave.devotion -= 3;
slave.trust -= 3;
}
r.push(`rape fills ${him} with <span class="mediumorchid">revulsion</span> and <span class="gold">fear.</span>`);
} else if (slave.devotion <= 20) {
r.push(`You have the sexual energy to ride ${him}`);
if (penetrativeUse >= 14) {
r.push(`several times a day; submitting to your constant`);
slave.devotion += 3;
} else if (penetrativeUse >= 7) {
r.push(`at least once a day; submitting to your regular`);
slave.devotion += 2;
} else {
r.push(`on occasion; submitting to your`);
slave.devotion++;
}
r.push(`use <span class="hotpink">habituates ${him}</span> to being your sex slave.`);
} else {
r.push(`You have the sexual energy to get fucked by ${him}`);
if (penetrativeUse >= 14) {
r.push(`several times a day; constant,`);
slave.devotion += 3;
slave.trust += 3;
} else if (penetrativeUse >= 7) {
r.push(`at least once a day; regular,`);
slave.devotion += 2;
slave.trust += 2;
} else {
r.push(`on occasion;`);
slave.devotion++;
slave.trust++;
}
r.push(`enjoyable sex with you draws ${him} <span class="hotpink">closer to you</span> and encourages ${him} to <span class="mediumaquamarine">trust you.</span>`);
}
}
if (slave.fetish !== "mindbroken") {
if (slave.behavioralFlaw === "hates women" && V.PC.title === 0 && V.PC.vagina !== -1 && V.PC.dick === 0 && slave.devotion > 20) {
r.push(`Spending so much intimate time with an attractive woman <span class="green">reconciles ${him} to serving the fairer sex.</span>`);
slave.behavioralFlaw = "none";
}
}
slave.counter.penetrative += penetrativeUse;
V.penetrativeTotal += penetrativeUse;
if (canImpreg(V.PC, slave)) {
r.push(`${knockMeUp(V.PC, penetrativeUse, 0, slave.ID)}`);
}
if (V.policies.sexualOpenness === 0) {
r.push(`Rumors spread that you <span class="red">enjoy taking it from slaves.</span>`);
V.PC.degeneracy += 2;
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function useAllHoles(slave) {
if (slave.fuckdoll > 0) {
r.push(`You keep ${him} with you all week, using ${him} as your personal sex toy. When you're not using ${him}, ${he}`);
if (!hasAnyLegs(slave)) {
r.push(`rests`);
} else {
r.push(`stands`);
}
r.push(`nearby, waiting silently.`);
slave.trust += 4;
} else if (slave.anus === 0 && slave.vagina === 0) {
r.push(`Since you haven't yet decided to sell or take ${his} virginity or ${his} tight little anus, you let ${him} please you with ${his}`);
if (slave.nipples === "fuckable" && V.PC.dick !== 0) {
r.push(`mouth and tits.`);
} else {
r.push(`mouth.`);
}
r.push(`${He} is <span class="mediumaquamarine">duly grateful</span> you let ${him} keep ${his} innocence for another week, though ${his}`);
if (slave.nipples === "fuckable" && V.PC.dick !== 0) {
r.push(`throat and breasts get a little sore picking up the slack.`);
} else {
r.push(`throat gets a little sore doing the work of three holes.`);
}
slave.trust += 1;
} else if (slave.vagina === 0) {
r.push(`Since you haven't yet decided to sell or take ${his} virginity, you let ${him} confine ${his} efforts to ${his}`);
if (canDoAnal(slave) && slave.nipples === "fuckable" && V.PC.dick !== 0) {
r.push(`anus, nipples and mouth. ${He} is <span class="mediumaquamarine">duly grateful</span> you let ${him} keep ${his} innocence for another week, though ${his} butt, boobs and throat get a little sore.`);
} else if (canDoAnal(slave)) {
r.push(`anus and mouth. ${He} is <span class="mediumaquamarine">duly grateful</span> you let ${him} keep ${his} innocence for another week, though ${his} butt and throat get a little sore.`);
} else if (slave.nipples === "fuckable" && V.PC.dick !== 0) {
r.push(`nipples and mouth. ${He} is <span class="mediumaquamarine">duly grateful</span> you let ${him} keep ${his} innocence for another week, though ${his} boobs and throat get a little sore.`);
} else {
r.push(`mouth. ${He} is <span class="mediumaquamarine">duly grateful</span> you ${his} keep let ${him} innocence for another week, though ${his} throat gets a little sore.`);
}
slave.trust += 1;
} else if (slave.anus === 0) {
r.push(`Since you haven't yet decided to sell or take ${his} tight little anus, you let ${him} confine ${his} efforts to ${his}`);
if (canDoVaginal(slave) && slave.nipples === "fuckable" && V.PC.dick !== 0) {
r.push(`pussy, nipples and mouth. ${He} is <span class="mediumaquamarine">duly grateful</span> you let ${him} put off taking it up the butt another week, though ${his} boobs and throat get a little sore.`);
} else if (canDoVaginal(slave)) {
r.push(`pussy and mouth. ${He} is <span class="mediumaquamarine">duly grateful</span> you let ${him} put off taking it up the butt another week, though ${his} throat gets a little sore.`);
} else if (slave.nipples === "fuckable" && V.PC.dick !== 0) {
r.push(`nipples and mouth. ${He} is <span class="mediumaquamarine">duly grateful</span> you let ${him} put off taking it up the butt another week, though ${his} boobs and throat get a little sore.`);
} else {
r.push(`mouth. ${He} is <span class="mediumaquamarine">duly grateful</span> you let ${him} put off taking it up the butt another week, though ${his} throat gets a little sore.`);
}
slave.trust += 1;
} else if (!canWalk(slave)) {
r.push(`You keep ${him} around you all week, using ${him} as your personal sex toy and bedwarmer.`);
if (isAmputee(slave)) {
r.push(`Without arms and legs,`);
} else if (!hasAnyLegs(slave)) {
r.push(`Without legs,`);
} else if (!hasBothLegs(slave)) {
r.push(`With just one leg,`);
} else if (tooFatSlave(slave)) {
r.push(`Immobilized by ${his} own weight,`);
} else if (!canMove(slave)) {
r.push(`Immobilized by ${his} own swollen body,`);
} else if (tooBigBreasts(slave)) {
r.push(`Restricted by ${his} own tits,`);
} else if (tooBigBelly(slave)) {
r.push(`Restricted by ${his} own swollen orb of a midsection,`);
} else if (tooBigBalls(slave)) {
r.push(`Restricted by ${his} own oversized testicles,`);
} else if (tooBigDick(slave)) {
r.push(`Restricted by ${his} own oversized cock,`);
} else if (tooBigButt(slave)) {
r.push(`Restricted by ${his} own massive ass,`);
} else {
r.push(`With ${his} clipped heels,`);
}
r.push(`${he} is your <span class="hotpink">helpless sexual appliance</span> and is <span class="mediumaquamarine">forced to trust you.</span>`);
slave.trust += 4;
} else if (slave.devotion > 50) {
r.push(`${He} devotedly accompanies you all week, keeping ${his}`);
if (canDoAnal(slave) && canDoVaginal(slave)) {
r.push(`mouth,`);
if (V.PC.dick !== 0 && slave.nipples === "fuckable") {
r.push(`vagina, nipples`);
} else {
r.push(`vagina`);
}
r.push(`and asshole`);
} else if (slave.vagina === -1 && canDoAnal(slave)) {
if (V.PC.dick !== 0 && slave.nipples === "fuckable") {
r.push(`mouth, nipples`);
} else {
r.push(`mouth`);
}
r.push(`and asshole`);
} else if (slave.vagina > -1 && !canDoVaginal(slave) && canDoAnal(slave)) {
if (V.PC.dick !== 0 && slave.nipples === "fuckable") {
r.push(`mouth, nipples`);
} else {
r.push(`mouth`);
}
r.push(`and, since ${his} pussy is covered by ${his} chastity belt, asshole`);
} else {
r.push(`mouth`);
if (V.PC.dick !== 0 && slave.nipples === "fuckable") {
r.push(`and nipples`);
}
}
r.push(`available for you at all times.`);
if (canAchieveErection(slave) && !slave.chastityPenis) {
r.push(`Every time ${his} beloved ${getWrittenTitle(slave)} fucks ${him}, ${he} gets a hard-on.`);
} else if (slave.dick !== 0 && slave.prostate > 0 && canDoVaginal(slave)) {
r.push(`${He} doesn't get a hard-on as you use ${him}, but ${he} comes from the prostate stimulation when ${his} beloved ${getWrittenTitle(slave)} uses ${his} pussy.`);
} else if (slave.dick !== 0 && slave.prostate > 0 && canDoAnal(slave)) {
r.push(`${He} doesn't get a hard-on as you use ${him}, but ${he} comes from the prostate stimulation when ${his} beloved ${getWrittenTitle(slave)} uses ${his} butt.`);
} else {
r.push(`${He} comes indecently hard whenever ${his} beloved ${getWrittenTitle(slave)} uses ${his} body.`);
}
r.push(`You have the sexual energy to fuck ${him}`);
if (V.fuckSlaves <= V.PC.sexualEnergy / 2) {
r.push(`several times a day; constant,`);
slave.devotion += 3;
slave.trust += 3;
} else if (V.fuckSlaves <= V.PC.sexualEnergy) {
r.push(`at least once a day; regular,`);
slave.devotion += 2;
slave.trust += 2;
} else {
r.push(`on occasion;`);
slave.devotion += 1;
slave.trust += 1;
}
r.push(`loving sex with you draws ${him} <span class="hotpink">closer to you</span> and encourages ${him} to <span class="mediumaquamarine">trust you.</span>`);
} else if (slave.devotion > 20) {
r.push(`Whenever you feel the need, you use whichever of ${his} available holes that appears most appealing at the moment, since ${he}'s up for anything.`);
if (slave.dick !== 0 && canAchieveErection(slave) && !slave.chastityPenis) {
r.push(`By the end of the week ${he} gets a hard-on when you use ${him}.`);
}
r.push(`You have the sexual energy to fuck ${him}`);
if (V.fuckSlaves <= V.PC.sexualEnergy / 2) {
r.push(`several times a day; constant,`);
slave.devotion += 3;
slave.trust += 3;
} else if (V.fuckSlaves <= V.PC.sexualEnergy) {
r.push(`at least once a day; regular,`);
slave.devotion += 2;
slave.trust += 2;
} else {
r.push(`on occasion;`);
slave.devotion += 1;
slave.trust += 1;
}
r.push(`enjoyable sex with you draws ${him} <span class="hotpink">closer to you</span> and encourages ${him} to <span class="mediumaquamarine">trust you.</span>`);
} else if (slave.trust < -20) {
r.push(`${He} is afraid of you and does ${his} best to offer you ${his}`);
if (canDoAnal(slave) && canDoVaginal(slave)) {
r.push(`mouth,`);
if (V.PC.dick !== 0 && slave.nipples === "fuckable") {
r.push(`vagina, nipples`);
} else {
r.push(`vagina`);
}
r.push(`and asshole`);
} else if (slave.vagina === -1 && canDoAnal(slave)) {
if (V.PC.dick !== 0 && slave.nipples === "fuckable") {
r.push(`mouth, nipples`);
} else {
r.push(`mouth`);
}
r.push(`and asshole`);
} else if (slave.vagina > -1 && !canDoVaginal(slave) && canDoAnal(slave)) {
if (V.PC.dick !== 0 && slave.nipples === "fuckable") {
r.push(`mouth, nipples`);
} else {
r.push(`mouth`);
}
r.push(`and, since ${his} pussy is covered by ${his} chastity belt, asshole`);
} else {
r.push(`mouth`);
if (V.PC.dick !== 0 && slave.nipples === "fuckable") {
r.push(`and nipples`);
}
}
r.push(`to save ${himself} from worse treatment than mere rape.`);
if (slave.dick !== 0 && canAchieveErection(slave) && !slave.chastityPenis) {
r.push(`By the end of the week ${he} gets a hard-on when you use ${him}.`);
}
r.push(`You have the sexual energy to fuck ${him}`);
if (V.fuckSlaves <= V.PC.sexualEnergy / 2) {
r.push(`several times a day; submitting to your constant`);
slave.devotion += 3;
} else if (V.fuckSlaves <= V.PC.sexualEnergy) {
r.push(`at least once a day; submitting to your regular`);
slave.devotion += 2;
} else {
r.push(`on occasion; submitting to your`);
slave.devotion += 1;
}
r.push(`use <span class="hotpink">habituates ${him}</span> to being your sex slave.`);
} else {
r.push(`Whenever you feel the need, you grab ${him} and use whichever of ${his} available holes that appears most appealing at the moment.`);
if (slave.dick !== 0 && canAchieveErection(slave)) {
r.push(`${His} dick stays limp as you rape ${him}.`);
}
r.push(`You have the sexual energy to fuck ${him}`);
if (V.fuckSlaves <= V.PC.sexualEnergy / 2) {
r.push(`several times a day; the constant`);
slave.devotion -= 5;
slave.trust -= 15;
} else if (V.fuckSlaves <= V.PC.sexualEnergy) {
r.push(`at least once a day; the regular`);
slave.devotion -= 3;
slave.trust -= 9;
} else {
r.push(`on occasion; the threat of`);
slave.devotion -= 3;
slave.trust -= 3;
}
r.push(`rape fills ${him} with <span class="mediumorchid">revulsion</span> and <span class="gold">fear.</span>`);
}
if (V.fuckSlaves <= V.PC.sexualEnergy / 2) {
acts = jsRandom(21, 40);
} else if (V.fuckSlaves <= V.PC.sexualEnergy) {
acts = jsRandom(7, 14);
} else {
acts = jsRandom(3, 7);
}
if (slave.assignment === Job.FUCKTOY) {
acts = Math.ceil(acts * restEffects(slave, 11));
} else {
acts = Math.ceil(acts * healthPenalty(slave));
}
oralUse = 1;
if (canDoAnal(slave) && slave.anus > 0) {
analUse = 1;
}
if (canDoVaginal(slave) && slave.vagina > 0) {
vaginalUse = 1;
}
mammaryUse = jsRandom(0, 1);
if (slave.nipples === "fuckable") {
mammaryUse = 1;
}
demand = oralUse + analUse + vaginalUse + mammaryUse;
oralUse = Math.trunc((oralUse / demand) * acts);
analUse = Math.trunc((analUse / demand) * acts);
vaginalUse = Math.trunc((vaginalUse / demand) * acts);
mammaryUse = Math.trunc((mammaryUse / demand) * acts);
slave.counter.oral += oralUse;
V.oralTotal += oralUse;
slave.counter.anal += analUse;
V.analTotal += analUse;
slave.counter.vaginal += vaginalUse;
V.vaginalTotal += vaginalUse;
slave.counter.mammary += mammaryUse;
V.mammaryTotal += mammaryUse;
if (slave.fuckdoll === 0) {
if (slave.fetish !== "mindbroken") {
if (slave.skill.oral < 100) {
r.push(`After a lot of time spent with`);
if (V.PC.dick !== 0) {
r.push(`your dick in ${his} mouth,`);
} else {
r.push(`${his} mouth on your cunt,`);
}
r.push(`${his} <span class="green">oral skill improves.</span>`);
r.push(`${slaveSkillIncrease('oral', slave, trainingEfficiency)}`);
} else if (slave.skill.vaginal < 100 && slave.vagina > 0 && canDoVaginal(slave)) {
r.push(`After a lot of time spent getting fucked, ${his} <span class="green">vaginal skill improves.</span>`);
r.push(`${slaveSkillIncrease('vaginal', slave, trainingEfficiency)}`);
} else if (slave.skill.anal < 100 && slave.anus !== 0 && canDoAnal(slave)) {
r.push(`After a lot of time spent taking it up the ass, ${his} <span class="green">anal skill improves.</span>`);
r.push(`${slaveSkillIncrease('anal', slave, trainingEfficiency)}`);
}
}
}
if (slave.lactation > 0 && mammaryUse > 0) {
slave.lactationDuration = 2;
if (slave.boobsMilk > 0) {
slave.boobs -= slave.boobsMilk;
slave.boobsMilk = 0;
}
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function physicalEffects(slave) {
if (slave.health.illness > 0 || slave.health.tired > 60) {
r.push(`${He} is<span class="red">`);
if (slave.health.tired > 60) {
if (slave.health.illness === 1) {
r.push(`feeling under the weather and`);
} else if (slave.health.illness === 2) {
r.push(`somewhat ill and`);
} else if (slave.health.illness === 3) {
r.push(`sick and`);
} else if (slave.health.illness === 4) {
r.push(`very sick and`);
} else if (slave.health.illness === 5) {
r.push(`terribly ill and`);
}
} else {
if (slave.health.illness === 1) {
r.push(`feeling under the weather,`);
} else if (slave.health.illness === 2) {
r.push(`somewhat ill,`);
} else if (slave.health.illness === 3) {
r.push(`sick,`);
} else if (slave.health.illness === 4) {
r.push(`very sick,`);
} else if (slave.health.illness === 5) {
r.push(`terribly ill,`);
}
}
if (slave.health.tired > 90) {
r.push(`exhausted,`);
} else if (slave.health.tired > 60) {
r.push(`fatigued,`);
}
if (slave.health.illness !== 0) {
r.push(`</span> making ${him} rather unappealing to use.`);
} else {
r.push(`</span> making ${him} less enjoyable to fuck.`);
}
}
if (slave.health.condition < 0 && jsRandom(1, 100) > 50) {
r.push(`Under your personal supervision, <span class="green">${his} health improves.</span>`);
improveCondition(slave, 10);
}
if (slave.assignment === Job.MASTERSUITE) {
r.push(`${He} has plenty of time to rest during the day to recover from your physically demanding visits, even though ${he} sometimes has to work long nights.`);
tired(slave);
} else if (slave.assignment === Job.FUCKTOY) {
if (slaveResting(slave)) {
r.push(`${He} spends reduced hours serving you in order to <span class="green">offset ${his} lack of rest.</span>`);
} else if (slave.health.tired + 11 >= 90 && !willWorkToDeath(slave)) {
r.push(`${He} attempts to rebuke your advances due to ${his} exhaustion, but can do little to avoid them or the resulting <span class="trust dec">severe punishment.</span> It still feels like <span class="devotion dec">fucking a dead fish,</span> since it's obvious that ${he} has chosen ${his} overall well-being over angering you.`);
slave.devotion -= 10;
slave.trust -= 5;
} else {
r.push(`${He} spends a considerable portion of ${his} shift`);
if (hasAnyLegs(slave)) {
r.push(`off ${his} feet,`);
} else {
r.push(`lying down,`);
}
if (slave.devotion > 20) {
r.push(`so despite ending ${his} days out of breath and soaked with sweat, ${he} doesn't find ${himself} that tired in the morning.`);
} else {
r.push(`but just doesn't understand that <span class="red">${he}'d be less tired</span> if ${he} simply gave you what you want.`);
}
}
tired(slave);
}
if (V.PC.dick !== 0) {
if (slave.cervixImplant === 1 || slave.cervixImplant === 3) {
cervixPump += 10 * (V.PC.balls - 2) * vaginalUse;
}
if (slave.cervixImplant === 2 || slave.cervixImplant === 3) {
cervixPump += 10 * (V.PC.balls - 2) * analUse;
}
}
if (cervixPump > 0) {
if (slave.fuckdoll === 0) {
if (slave.fetish === "mindbroken") {
r.push(`${He} is completely oblivious to ${his} <span class="lime">increasingly swollen belly</span> and stands no chance of linking it to`);
} else {
r.push(`${He} notices ${his} <span class="lime">belly has swollen</span> after`);
}
r.push(`all the`);
if (slave.cervixImplant === 1) {
r.push(`vaginal`);
} else if (slave.cervixImplant === 2) {
r.push(`anal`);
}
r.push(`sex ${he}'s had with you.`);
slave.bellyImplant += cervixPump;
} else {
r.push(`With each deposit of your seed into ${him}, ${his} <span class="lime">stomach swells a little larger.</span>`);
slave.bellyImplant += cervixPump;
}
}
if (slave.need) {
if (slave.energy > 95 && V.masterSuiteUpgradeLuxury === 2 && V.fuckSlaves > 1) {
r.push(`${He}'s a nymphomaniac and very difficult to sate, but the fuckpit allows ${him} all the sex even ${he} could ever want.`);
slave.need = 0;
} else if (slave.devotion > 95) {
r.push(`${He}'s so devoted to you that any intimacy with you at all gives ${him} sexual satisfaction.`);
slave.need = 0;
} else if (slave.fetishKnown) {
switch (slave.fetish) {
case "masochist":
case "submissive":
if (analUse + vaginalUse > 0) {
r.push(`${He} got tremendous sexual satisfaction from the ${analUse + vaginalUse} times you really fucked ${him} this week.`);
slave.need = 0;
}
break;
case "dom":
if (penetrativeUse > 0) {
r.push(`${He} got tremendous sexual satisfaction from the ${penetrativeUse} times ${he} got to fuck you this week.`);
slave.need = 0;
}
break;
case "boobs":
if (mammaryUse > 0) {
r.push(`${He} got tremendous sexual satisfaction from the ${mammaryUse} times you groped ${his} breasts to orgasm this week.`);
slave.need = 0;
}
break;
case "sadist":
case "cumslut":
if (oralUse > 0) {
r.push(`${He} got tremendous sexual satisfaction from the ${oralUse} times you fucked ${his} face this week.`);
slave.need = 0;
}
break;
case "buttslut":
if (analUse > 0) {
r.push(`${He} got tremendous sexual satisfaction from the ${analUse} times you fucked ${his} ass this week.`);
slave.need = 0;
}
break;
case "pregnancy":
if (vaginalUse > 0 && slave.mpreg === 0) {
r.push(`${He} got tremendous sexual satisfaction from the ${vaginalUse} times you fucked ${his} pussy this week.`);
slave.need = 0;
} else if (analUse > 0 && slave.mpreg === 1) {
r.push(`${He} got tremendous sexual satisfaction from the ${analUse} times you fucked ${his} butt this week.`);
slave.need = 0;
}
break;
case "humiliation":
// nothing here
break;
}
}
}
}
/**
* @param {App.Entity.SlaveState} slave
* @returns {number} rep multiplier
*/
function familyBonus(slave) {
let multiplier = 0;
let children;
const isFucktoy = (s) => [Job.CONCUBINE, Job.MASTERSUITE, Job.FUCKTOY].includes(s.assignment);
if (areRelated(V.PC, slave)) {
r.push(`Keeping your own ${relativeTerm(V.PC, slave)} as a personal fucktoy leaves quite a public impression.`);
multiplier += 0.01; // 1% base
if (V.arcologies[0].FSEgyptianRevivalist !== "unset" || V.arcologies[0].FSEgyptianRevivalistIncestPolicy === 1) {
multiplier += 0.04; // 5% if such behavior aligns with your societal goals
}
}
if (slave.father > 0 && slave.mother !== slave.father) {
const dad = getSlave(slave.father);
if (dad && isFucktoy(dad)) {
r.push(`Since you are also keeping ${his} father as a sexual servant, you often use them together, which leaves quite a public impression.`);
}
}
if (slave.mother > 0) {
const mom = getSlave(slave.mother);
if (mom && isFucktoy(mom)) {
r.push(`Since you are also keeping ${his} mother as a sexual servant, you often use them together, which leaves quite a public impression.`);
}
}
children = V.slaves.filter(s => (s.father === slave.ID || s.mother === slave.ID) && isFucktoy(s));
if (children.length > 1) {
r.push(`Since you are also keeping ${his} daughters, ${arrayToSentence(children.map(s => s.slaveName))}, as sexual servants, you often enjoy them all at once, which leaves quite a public impression.`);
} else if (children.length > 0) {
const childPronouns = getPronouns(children[0]);
r.push(`Since you are also keeping ${his} ${childPronouns.daughter} as a sexual servant, you often use them together, which leaves quite a public impression.`);
}
children = V.slaves.filter((s) => (areSisters(slave, s) > 0) && isFucktoy(s));
if (children.length > 1) {
r.push(`Since you are also keeping ${his} sisters, ${arrayToSentence(children.map(s => s.slaveName))}, as sexual servants, you often enjoy them all at once, which leaves quite a public impression.`);
} else if (children.length > 0) {
const childPronouns = getPronouns(children[0]);
r.push(`Since you are also keeping ${his} ${childPronouns.sister} as a sexual servant, you often use them together, which leaves quite a public impression.`);
}
return multiplier;
}
/**
* @param {App.Entity.SlaveState} slave
* @param {number} familyMult
*/
function addRep(slave, familyMult) {
let multiplier = 0.1 + familyMult;
if (slave.fuckdoll === 0) {
if (slave.fetish !== "mindbroken") {
if (slave.relationship === -2) {
multiplier += 0.04;
} else if (slave.relationship === -3 && slave.devotion > 50) {
multiplier += 0.06;
}
}
if (V.arcologies[0].FSSlaveProfessionalism > 50 && slave.intelligence + slave.intelligenceImplant >= 100 && slave.skill.entertainment >= 100 && slave.skill.whoring >= 100 && slave.skill.anal >= 100 && slave.skill.oral >= 100) {
multiplier += 0.04;
if (slave.vagina >= 0 && slave.skill.vaginal >= 100) {
multiplier += 0.01;
}
}
if (V.arcologies[0].FSRestart > 50 && slave.breedingMark === 1 && V.propOutcome === 1) {
multiplier += 0.04;
}
if (V.arcologies[0].FSRepopulationFocus > 50 && slave.bellyPreg >= 5000) {
multiplier += 0.02;
}
if (slave.prestige > 0) {
multiplier += 0.03*slave.prestige;
}
if (slave.porn.prestige > 2) {
multiplier += 0.1;
} else if (slave.porn.prestige > 1) {
multiplier += 0.03;
}
} else {
if (slave.porn.fameType === "fuckdoll") {
multiplier += 0.1 * slave.porn.prestige;
} else {
multiplier += 0.04;
}
}
if (slave.ID === V.ConcubineID) {
multiplier += 0.05;
} else if ((slave.ID === V.HeadGirlID) && (V.arcologies[0].FSEgyptianRevivalistLaw === 1)) {
multiplier += 0.05;
}
repX(Math.trunc(( Beauty(slave) * FResult(slave) ) * multiplier / 4), "fucktoy", slave);
r.push(`Keeping ${him} as nothing but your personal`);
if (slave.toyHole === "pussy") {
r.push(`pussy toy`);
} else if (slave.toyHole === "ass") {
r.push(`anal toy`);
} else if (slave.toyHole === "mouth") {
r.push(`oral toy`);
} else if (slave.devotion <= 20) {
r.push(`rapebait`);
} else {
r.push(`fucktoy`);
}
if (slave.prestige > 0 && slave.fuckdoll === 0) {
r.push(`<span class="green">adds considerably to your reputation,</span> since ${he}'s prestigious.`);
} else {
r.push(`<span class="green">adds slightly to your reputation</span> as a prosperous citizen.`);
}
if (slave.fuckdoll === 0) {
if (slave.porn.prestige > 2) {
r.push(`Having your every urge attended to by a famous porn star <span class="green">is not lost on the citizenry.</span>`);
} else if (slave.porn.prestige > 1) {
r.push(`Having a rising porn star to sate your urges with <span class="green">demonstrates how well off you are.</span>`);
}
if (slave.fetish !== "mindbroken") {
if (slave.relationship === -2) {
r.push(`${His} satisfaction with ${his} place near you is obvious, <span class="green">bringing attention</span> to how completely you've broken ${him}.`);
} else if (slave.relationship === -3 && slave.devotion > 50) {
r.push(`${His} satisfaction with ${his} ${wife}ly duties is obvious, <span class="green">bringing attention</span> to the slave future you're building.`);
}
}
if (V.arcologies[0].FSSlaveProfessionalism > 50 && slave.intelligence + slave.intelligenceImplant >= 100 && slave.skill.entertainment >= 100 && slave.skill.whoring >= 100 && slave.skill.anal >= 100 && slave.skill.oral >= 100) {
r.push(`Keeping an ideal courtesan to attend to your needs <span class="green">is the definition of high class.</span>`);
}
if (V.arcologies[0].FSRestart > 50 && slave.breedingMark === 1 && V.propOutcome === 1) {
r.push(`${His} breeding mark and ${his} place near you as a breeding toy is obvious, <span class="green">bringing attention</span> to how beautiful a pairing you make.`);
}
if (V.arcologies[0].FSRepopulationFocus > 50 && slave.bellyPreg >= 5000) {
r.push(`${His} advanced pregnancy and role as your gravid breeder is obvious, <span class="green">bringing attention</span> to a woman's ideal role in ${arcology.name}.`);
}
} else {
if (slave.porn.fameType === "fuckdoll") {
if (slave.porn.prestige > 2) {
r.push(`Keeping a legendary fuckdoll as your personal plaything <span class="green">is not lost on the citizenry.</span>`);
} else if (slave.porn.prestige > 1) {
r.push(`Keeping a well-known fuckdoll to sate your urges with <span class="green">demonstrates how well off you are.</span>`);
}
}
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function mentalEffects(slave) {
if (slave.behavioralQuirk === "confident") {
r.push(`${slave.slaveName} <span class="mediumaquamarine">confidently enjoys</span> the prestige within the slave hierarchy that comes with being your fucktoy.`);
slave.trust += 1;
} else if (slave.behavioralQuirk === "insecure") {
r.push(`${slave.slaveName} <span class="mediumaquamarine">constantly reassures ${himself}</span> that ${he} must be pretty, since you keep ${him} as a fucktoy.`);
slave.trust += 1;
}
if (slave.behavioralQuirk === "adores men") {
if (V.PC.dick !== 0) {
r.push(`${slave.slaveName} <span class="hotpink">adores your company,</span> and is happy to spend time with you, even when you don't have your cock in ${him}.`);
slave.devotion += 1;
}
} else if (slave.behavioralQuirk === "adores women") {
if (V.PC.vagina !== -1) {
r.push(`${slave.slaveName} <span class="hotpink">adores your company,</span> and is happy to spend time with you, even when you aren't fucking.`);
slave.devotion += 1;
}
} else if (slave.sexualQuirk === "romantic") {
r.push(`${slave.slaveName} knows being part of your harem is the best romance ${he} can realistically expect, and does ${his} best to <span class="mediumaquamarine">be content</span> with it.`);
slave.trust += 1;
}
if (slave.fetish === "pregnancy" && (V.PC.preg >= 20 || (V.PC.preg >= 16 && V.PC.career === "escort"))) {
r.push(`${slave.slaveName} <span class="hotpink">enjoys being so close to ${his} gravid ${getWrittenTitle(slave)}.</span>`);
slave.devotion += 1;
if (slave.fetishKnown === 0) {
r.push(`${He} enjoys being tasked with servicing a pregnant ${playerPronouns.woman} far more than a normal slave would; <span class="lightcoral">${he}'s harboring a pregnancy fetish!</span>`);
slave.fetishKnown = 1;
} else if (slave.fetishStrength < 95) {
r.push(`Being tasked with servicing a lusty pregnant ${playerPronouns.woman} <span class="lightcoral">strengthens ${his} pregnancy fetish.</span>`);
slave.fetishStrength += 4;
}
} else if (fetishChange > jsRandom(0, 100) && (V.PC.preg >= 20 || (V.PC.preg >= 16 && V.PC.career === "escort"))) {
r.push(`At first ${he} found the prospect of being used by ${his} increasingly pregnant ${getWrittenTitle(slave)} a turn off, but being so close to your gravid form serves to be more erotic than ${he} anticipated. Soon ${he} finds ${himself} aroused less from the prospect of sex and more <span class="lightcoral">the chance to be near your child laden belly.</span>`);
slave.fetish = "pregnancy";
slave.fetishKnown = 1;
slave.fetishStrength = 10;
}
}
})();
|
MonsterMate/fc
|
src/endWeek/saPleaseYou.js
|
JavaScript
|
mit
| 70,184
|
App.SlaveAssignment.porn = (function() {
"use strict";
let r;
let he, him, his, himself, He, His;
let decayRate;
let viewership;
let viewerSoaking;
return saPorn;
/**
* @param {App.Entity.SlaveState} slave
* @returns {string}
*/
function saPorn(slave) {
({
he, him, his, himself, He, His
} = getPronouns(slave));
r = ` `;
let oldFame = slave.porn.viewerCount;
if (V.studio === 1 && slave.porn.feed === 1) {
viewerSoaking = 0;
calcBaseViewership(slave);
r += `The studio regularly releases clips of ${his} daily affairs. `;
if (V.cheatMode === 1) {
r += `(Decay: ${decayRate} Viewership: ${viewership} Last week's fame: ${oldFame}) `;
}
prestigeCommentary(slave);
faceCommentary(slave);
hack();
allGenreViews(slave);
updateViewerCount(slave);
if (oldFame > slave.porn.viewerCount) {
r += `Overall, ${his} online fame <span class="red">dropped</span> this week. `;
} else if (oldFame < slave.porn.viewerCount) {
r += `Overall, ${his} online fame <span class="green">rose</span> this week. `;
if (oldFame < 100 && slave.porn.viewerCount >= 100 && V.studioFeed === 1) {
r += `${He} <span class="yellow">has accrued enough views to determine prospective porn genres.</span> `;
}
} else if (slave.porn.viewerCount !== 0) {
r += `Surprisingly, ${his} online fame <span class="yellow">remained consistent</span> this week despite how fickle watchers can be. `;
} else {
r += `${He} went <span class="red">completely overlooked</span> this week and failed to gain any hits at all. `;
}
if (slave.porn.viewerCount > 0) {
let donations = Math.floor(slave.porn.viewerCount / jsRandom(10, 15 + viewerSoaking));
if (donations > 0) {
r += `Fans donated a total of <span class="cash inc">${cashFormat(donations)}</span> to ${his} account this week. `;
cashX(donations, "porn", slave);
}
}
if (slave.porn.spending > 0) {
cashX(forceNeg(slave.porn.spending / V.PCSlutContacts), "porn", slave);
}
prestigeGen(slave);
} else { /* popularity decay from lack of new content */
if (slave.porn.prestige > 1) { // 500k
decayRate = 5000;
} else if (slave.porn.prestige > 0) { // 10k
decayRate = 500;
} else {
decayRate = 30;
}
genreDecay(slave);
updateViewerCount(slave);
prestigeDecay(slave);
}
return r;
}
/**
* @param {App.Entity.SlaveState} slave
*/
function genreDecay(slave) {
for (const genre of App.Porn.getAllGenres()) {
if (slave.porn.fame[genre.fameName] > 0) {
const oldPorn = slave.porn.fame[genre.fameName];
slave.porn.fame[genre.fameName] = Math.clamp(slave.porn.fame[genre.fameName] - (decayRate * 2), 0, 100000);
r += cheatDelta(genre.uiName(), oldPorn, slave.porn.fame[genre.fameName]);
}
}
}
/**
* @param {App.Entity.SlaveState} slave
*/
function updateViewerCount(slave) {
slave.porn.viewerCount = Math.trunc(App.Porn.getAllGenres().reduce((acc, cur) => acc + slave.porn.fame[cur.fameVar], 0.0));
}
/**
* @param {App.Entity.SlaveState} slave
*/
function prestigeDecay(slave) {
if (slave.porn.prestige > 0) {
const genre = App.Porn.getGenreByFameName(slave.porn.fameType);
if (slave.porn.fame[genre.fameName] < 40000 && slave.porn.prestige === 2) {
slave.porn.prestige = 1;
slave.porn.prestigeDesc = `$He has a following in slave pornography. ${genre.prestigeDesc1}.`;
r += `With the lack of any new content, <span class="red">${his} popularity in ${slave.porn.fameType} pornography has dropped considerably,</span> though some viewers still cling to the hope that ${he}'ll come back. `;
} else if (slave.porn.fame[genre.fameName] < 5000) {
slave.porn.prestige = 0;
slave.porn.prestigeDesc = 0;
slave.porn.fameType = "none";
r += `With no new ${slave.porn.fameType} content coming out, <span class="red">${his} popularity has faded away.</span> `;
}
}
}
/**
* @param {App.Entity.SlaveState} slave
*/
function calcBaseViewership(slave) {
let face;
if (slave.porn.prestige > 1) {
decayRate = 5000;
if (slave.fuckdoll > 0) {
face = 50;
} else if (slave.faceAccessory === "porcelain mask") {
face = 20;
} else {
face = slave.face * 4;
}
viewership = ((500 / V.HackingSkillMultiplier) + (slave.porn.spending) + (face) + (slave.prestige * 10) - (decayRate));
} else if (slave.porn.prestige > 0) {
decayRate = 500;
if (slave.fuckdoll > 0) {
face = 20;
} else if (slave.faceAccessory === "porcelain mask") {
face = 50;
} else {
face = slave.face * 2;
}
viewership = ((900 / V.HackingSkillMultiplier) + (slave.porn.spending / 15) + (face) + (slave.prestige * 250) - (decayRate));
} else {
decayRate = 30;
if (slave.fuckdoll > 0) {
face = 0;
} else if (slave.faceAccessory === "porcelain mask") {
face = 0;
} else {
face = slave.face / 20;
}
viewership = ((300 / V.HackingSkillMultiplier) + (slave.porn.spending > 0 ? 1.01 * slave.porn.spending : 200) + (face) + (slave.prestige * 20) - (decayRate));
}
viewership = Math.trunc(viewership);
}
/**
* @param {App.Entity.SlaveState} slave
*/
function prestigeCommentary(slave) {
if (slave.porn.prestige > 1) {
r += `${He} is widely regarded in ${slave.porn.fameType} porn, but with so many watchers, turn over is high. `;
} else if (slave.porn.prestige > 0) {
if (slave.porn.fameType === "generic") {
r += `${He} has claimed a niche in slave porn, so there is a constant cycle of new arrivals and bored ex-watchers. `;
} else {
r += `${He} has claimed a niche for ${himself} in ${slave.porn.fameType} porn, so there is a constant cycle of new arrivals and bored ex-watchers. `;
}
} else {
r += `${He} is borderline unknown, so ${he} tends to hold onto the few watchers ${he} has. `;
}
if (slave.prestige > 1) {
r += `Interest in porn of ${him} is very high, since ${he}'s already quite prestigious. `;
} else if (slave.prestige > 0) {
r += `Interest in porn of ${him} is high, since ${he}'s already prestigious. `;
}
}
/**
* @param {App.Entity.SlaveState} slave
*/
function faceCommentary(slave) {
if (slave.fuckdoll > 0) {
return;
} else if (slave.faceAccessory === "porcelain mask") {
r += `${His} mask adds an air of mystery to ${him}, `;
if (slave.porn.prestige > 1) {
r += `but people wonder if ${he} is trying to hide something. `;
} else if (slave.porn.prestige > 0) {
r += `tantalizing viewers with what it hides. `;
} else {
r += `but viewers are more interested in ${his} body. `;
}
} else if (slave.face > 95) {
r += `${His} unbelievably beautiful face seizes the attention of all who see it. `;
} else if (slave.face > 40) {
r += `${His} gorgeous face draws viewers in and keeps them watching. `;
} else if (slave.face > 10) {
r += `${His} pretty face draws viewers in. `;
} else if (slave.face > 0) {
r += `${His} face is attractive, but it attracts few viewers. `;
} else if (slave.face === 0) {
r += `${His} face is completely average and makes no difference to ${his} viewers. `;
} else if (slave.face >= -10) {
r += `${His} face, while attractive, is so average it turns off some viewers. `;
} else if (slave.face >= -40) {
r += `${His} unattractive face causes viewers to move on. `;
} else if (slave.face >= -95) {
r += `${His} ugly face drives viewers off. `;
} else {
r += `${His} face chases off all but the most desperate viewers. `;
}
}
function hack() {
if (V.PC.skill.hacking > 10) {
r += `With your hacking skills, you manage to tweak search algorithms to display ${his} content more often. `;
} else if (V.PC.skill.hacking < 0) {
r += `With your lack of skill with computers you manage to misidentify ${his} content, complicating searches. `;
IncreasePCSkills('hacking', 0.1);
}
IncreasePCSkills('hacking', 0.1);
}
function viewershipDelta(newPorn, oldPorn) {
if (newPorn > oldPorn) {
return `Viewership <span class="green">increased</span> this week. `;
} else if (newPorn < oldPorn) {
return `Viewership <span class="red">decreased</span> this week. `;
} else {
return `Viewership <span class="yellow">was stable</span> this week. `;
}
}
/**
* @returns {string}
*/
function cheatDelta(name, oldPorn, newPorn) {
if (V.cheatMode === 1) {
return `(${name}: ${oldPorn} to ${newPorn}). `;
}
return ``;
}
/**
* @param {App.Entity.SlaveState} slave
*/
function allGenreViews(slave) {
let adjustedViewership = viewership;
function genreViews(slave, genre) {
const oldPorn = slave.porn.fame[genre.fameVar];
if (genre.valid(slave)) {
if (slave.porn.focus === genre.focusName || slave.porn.fameType === genre.fameName) {
adjustedViewership = viewership * genre.type.focusedViewershipFactor;
} else if (slave.porn.focus !== "none") {
adjustedViewership = viewership * genre.type.unfocusedViewershipFactor;
}
slave.porn.fame[genre.fameVar] += adjustedViewership / (1 + viewerSoaking * genre.type.viewershipSoakingFactor) + genre.type.bonusViewership(slave) - ((decayRate / 10) * (V.pornStars[genre.fameVar].p1count - 1));
slave.porn.fame[genre.fameVar] = Math.clamp(slave.porn.fame[genre.fameVar], 0, 150000);
viewerSoaking++;
if (slave.porn.focus === genre.focusName || slave.porn.fameType === genre.fameName) {
r += `${genre.hitText(slave)} `;
r += viewershipDelta(slave.porn.fame[genre.fameVar], oldPorn);
}
r += cheatDelta(genre.uiName(), oldPorn, slave.porn.fame[genre.fameVar]);
} else if (slave.porn.fame[genre.fameVar] > 0) {
slave.porn.fame[genre.fameVar] = Math.clamp(slave.porn.fame[genre.fameVar] - decayRate * 2, 0, 150000);
r += cheatDelta(genre.uiName(), oldPorn, slave.porn.fame[genre.fameVar]);
}
}
/* Paraphilias have the highest take of viewers */
for (const genre of App.Porn.getGenresByType(App.Porn.GenreType.paraphilia)) {
genreViews(slave, genre);
}
/* Fetishes */
for (const genre of App.Porn.getGenresByType(App.Porn.GenreType.fetish)) {
genreViews(slave, genre);
}
/* General */
for (const genre of App.Porn.getGenresByType(App.Porn.GenreType.general)) {
genreViews(slave, genre);
}
/* Generic porn */
for (const genre of App.Porn.getGenresByType(App.Porn.GenreType.generic)) {
genreViews(slave, genre);
}
/* Quirks are low and unlikely, requiring focus to push into the limelight */
for (const genre of App.Porn.getGenresByType(App.Porn.GenreType.quirk)) {
genreViews(slave, genre);
}
}
/**
* @param {App.Entity.SlaveState} slave
*/
function getHighestPornGenre(slave) {
return App.Porn.getAllGenres().reduce((acc, cur) => slave.porn.fame[cur.fameVar] > slave.porn.fame[acc.fameVar] ? cur : acc);
}
/**
* @param {App.Entity.SlaveState} slave
*/
function prestigeGen(slave) {
const highestPorn = getHighestPornGenre(slave);
if (slave.porn.prestige === 0 && slave.porn.viewerCount >= 100000) {
const pornFameGrabBag = App.Porn.getAllGenres().filter((g) => slave.porn.fame[g.fameVar] >= 10000);
if (pornFameGrabBag.length > 0) {
const weightedGrabBagIndices = {};
pornFameGrabBag.forEach((g, i) => weightedGrabBagIndices[i] = slave.porn.fame[g.fameVar]); // Attach weights to the indices of pornFameGrabBag
const genre = pornFameGrabBag[hashChoice(weightedGrabBagIndices)]; // hashChoice selects an index according to the weights
slave.porn.fameType = genre.fameName;
slave.porn.prestige = 1;
r += `<span class="green">${He} has gained a following in ${slave.porn.fameType} pornography!</span> ${pronounsForSlaveProp(slave, genre.prestigeDesc1)}, but ${he} isn't famous enough to be called prestigious yet. `;
slave.porn.prestigeDesc = `$He has a following in slave pornography. ${genre.prestigeDesc1}.`;
if (genre.type === App.Porn.GenreType.fetish && slave.fetishKnown !== 1) {
slave.fetishKnown = 1;
}
}
} else if (slave.porn.prestige === 1) {
const swapPoint = 1.2;
const genre = App.Porn.getGenreByFameName(slave.porn.fameType);
if (slave.porn.fame[genre.fameVar] >= 50000) {
slave.porn.prestige = 2;
slave.porn.prestigeDesc = `$He is well known from $his career in slave pornography. ${genre.prestigeDesc2}.`;
r += `<span class="green">${He} has gained a hold in ${slave.porn.fameType} pornography!</span> ${pronounsForSlaveProp(slave, genre.prestigeDesc2)}, so it is now prestigious to own ${him}. `;
} else if (slave.porn.fame[highestPorn.fameVar] >= slave.porn.fame[genre.fameVar] * swapPoint) {
r += `${His} fame in ${slave.porn.fameType} pornography has been overwhelmed by ${his} surging popularity in other aspects. <span class="yellow">${He} is now better known for ${his} ${highestPorn.fameName} porn.</span> `;
slave.porn.fameType = highestPorn.fameName;
slave.porn.prestigeDesc = `$He has a following in slave pornography. ${highestPorn.prestigeDesc1}.`;
} else if (slave.porn.fame[genre.fameVar] < 5000) {
slave.porn.prestige = 0;
slave.porn.prestigeDesc = 0;
r += `<span class="red">${His} popularity in ${slave.porn.fameType} pornography has faded.</span> ${He} is once again relatively unknown. `;
slave.porn.fameType = "none";
}
} else if (slave.porn.prestige === 2) {
const genre = App.Porn.getGenreByFameName(slave.porn.fameType);
if (slave.porn.fame[genre.fameVar] >= 150000 && V.pornStars[genre.fameVar].p3ID === 0) {
slave.porn.prestige = 3;
slave.porn.fame[genre.fameVar] = 250000;
slave.porn.viewerCount = 250000;
V.pornStars[genre.fameVar].p3ID = slave.ID;
slave.porn.prestigeDesc = `$He is world famous for $his career in slave pornography. ${genre.prestigeDesc3}.`;
r += `<span class="green">${He} has become world famous for ${his} career in ${slave.porn.fameType} pornography!</span> ${pronounsForSlaveProp(slave, genre.prestigeDesc3)}, so it is now extremely prestigious to own ${him}. `;
V.trinkets.push(`a framed shot from porn starring ${slave.slaveName} ${genre.trinketShotDesc(slave)}`);
r += `Further paid publicity cannot increase ${his} fame, so subsidy of porn featuring ${him} has stopped. `;
slave.porn.spending = 0;
} else if (slave.porn.fame[genre.fameVar] < 40000) {
slave.porn.prestige = 1;
slave.porn.prestigeDesc = `$He has a following in slave pornography. ${genre.prestigeDesc1}.`;
r += `<span class="red">${His} popularity in ${slave.porn.fameType} pornography has dropped considerably,</span> though ${he} still retains a core fanbase. `;
}
}
}
})();
|
MonsterMate/fc
|
src/endWeek/saPorn.js
|
JavaScript
|
mit
| 14,621
|
App.SlaveAssignment.pregnancy = (function() {
"use strict";
let r;
// eslint-disable-next-line no-unused-vars
let he, him, his, hers, himself, girl, loli, He, His, wife;
let gigantomastiaMod;
let rearQuirk;
let uterineHypersensitivityMod;
let boobSize;
let buttSize;
let hipSize;
return saPregnancy;
/**
* @param {App.Entity.SlaveState} slave
* @returns {string}
*/
function saPregnancy(slave) {
r = [];
gigantomastiaMod = slave.geneticQuirks.gigantomastia === 2 ? (slave.geneticQuirks.macromastia === 2 ? 3 : 2) : 1;
rearQuirk = slave.geneticQuirks.rearLipedema === 2 ? 2 : 0;
uterineHypersensitivityMod = slave.geneticQuirks.uterineHypersensitivity === 2 ? 2 : 1;
boobSize = slave.boobs - slave.boobsImplant - slave.boobsMilk;
buttSize = slave.butt - slave.buttImplant;
hipSize = slave.hips - slave.hipsImplant;
({
// eslint-disable-next-line no-unused-vars
he, him, his, hers, himself, girl, He, His, loli, wife
} = getPronouns(slave));
if (slave.preg > 0) {
pregnancyEffects(slave);
}
if (V.seePreg !== 0) {
preconception(slave);
pregnancySanityCheck(slave);
}
return r.join(" ");
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function pregnancyEffects(slave) {
pregnancyDiscovery(slave);
if (slave.fuckdoll === 0 && slave.fetish !== "mindbroken") {
pregnancyLibido(slave);
}
fetalAdjustment(slave);
if (slave.preg >= slave.pregData.normalBirth / 4) {
pregnancyAdjustments(slave);
if (slave.fuckdoll === 0 && slave.fetish !== "mindbroken") {
pregnancyMentalEffects(slave);
}
pregnancyPhysicalEffects(slave);
}
if (slave.pregType === 0) { // Catch for strange cases - now with checking.
failSafe(slave);
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function pregnancyDiscovery(slave) {
if (slave.preg === slave.pregData.normalBirth / 8) { /* BAD design - with speed control drugs and animal pregnancy 5th week can be not integer value, and block will be skipped as it's will be not strict == */
// Perhaps a specific value assigned to the pregData? Only human will need to do it.
if (slave.pregSource === -1) {
V.PC.counter.slavesKnockedUp++;
} else if (slave.pregSource > 0) {
let babyDaddy = findFather(slave.pregSource);
if (babyDaddy) {
let adjust = babyDaddy.counter.slavesKnockedUp++;
adjustFatherProperty(babyDaddy, "slavesKnockedUp", adjust);
}
}
}
if (slave.bellyFluid > 2000) {
if (slave.inflation > 1) {
r.push(`${He} finds ${himself} only capable of handling <span class="noteworthy">two liters of ${slave.inflationType} inside ${his} body at once,</span> far less than ${his} required bloating.`);
} else {
r.push(`${His} body cannot handle having so much ${slave.inflationType} inside it, forcing ${him} to release ${his} contents until ${he} feels better.`);
}
if (slave.pregKnown === 0) {
r.push(`The cause? <span class="pregnancy">${He}'s`);
if (slave.preg > slave.pregData.normalBirth / 4) {
r.push(`pregnant and rather far along.</span>`);
} else {
r.push(`pregnant.</span>`);
}
} else {
r.push(`This will likely be the case for the duration of ${his} pregnancy.`);
}
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function pregnancyLibido(slave) {
if (slave.geneticQuirks.uterineHypersensitivity === 2 && V.geneticMappingUpgrade >= 1) {
if (slave.preg >= slave.pregData.normalBirth) {
r.push(`${He}'s full-term and has never been hornier. ${His} uterine hypersensitivity combined with ${his} full womb and upcoming birth confers a <span class="improvement">huge improvement in ${his} sexual appetite.</span>`);
slave.energy += 7;
} else if (slave.preg > slave.pregData.normalBirth / 1.33) {
r.push(`Being hugely pregnant with uterine hypersensitivity confers an <span class="improvement">improvement in ${his} sexual appetite.</span>`);
slave.energy += 5;
} else if (slave.preg > slave.pregData.normalBirth / 2) {
r.push(`Being pregnant with uterine hypersensitivity confers a <span class="improvement">slow improvement in ${his} sexual appetite.</span>`);
slave.energy += 3;
} else if (slave.preg > slave.pregData.normalBirth / 4) {
r.push(`${His} new pregnancy excites ${him} and produces <span class="improvement">very slow improvement in ${his} sexual appetite.</span>`);
slave.energy += 1;
} else if (slave.preg <= slave.pregData.normalBirth / 4 && slave.preg > slave.pregData.normalBirth / 13.33) {
r.push(`The rigors of early pregnancy do not seem to decrease ${his} sex drive. If anything, it seems to be exciting ${him}.`);
}
} else if (slave.fetish === "pregnancy" && slave.fetishKnown === 1) {
if (slave.preg >= slave.pregData.normalBirth) {
r.push(`${He}'s full-term and has never been hornier. ${His} pregnancy fetish combined with ${his} ripe belly confers a <span class="improvement">huge improvement in ${his} sexual appetite.</span>`);
slave.energy += 5;
} else if (slave.preg > slave.pregData.normalBirth / 1.33) {
r.push(`Being a pregnancy fetishist and hugely pregnant confers an <span class="improvement">improvement in ${his} sexual appetite.</span>`);
slave.energy += 3;
} else if (slave.preg > slave.pregData.normalBirth / 2) {
r.push(`Being a pregnancy fetishist and pregnant confers a <span class="improvement">slow improvement in ${his} sexual appetite.</span>`);
slave.energy += 2;
} else if (slave.preg > slave.pregData.normalBirth / 4) {
r.push(`${His} new pregnancy excites ${him} and produces <span class="improvement">very slow improvement in ${his} sexual appetite.</span>`);
slave.energy += 1;
} else if (slave.preg <= slave.pregData.normalBirth / 4 && slave.preg > slave.pregData.normalBirth / 13.33) {
r.push(`The rigors of early pregnancy do not seem to decrease ${his} sex drive. If anything, it seems to be exciting ${him}.`);
}
} else if (slave.fetish === "pregnancy") {
if (slave.preg >= slave.pregData.normalBirth) {
r.push(`${He}'s full-term and has never been hornier. ${His} advanced pregnancy confers a <span class="improvement">huge improvement in ${his} sexual appetite.</span>`);
slave.energy += 5;
} else if (slave.preg > slave.pregData.normalBirth / 1.33) {
r.push(`Being hugely pregnant confers an <span class="improvement">improvement in ${his} sexual appetite.</span>`);
slave.energy += 3;
} else if (slave.preg > slave.pregData.normalBirth / 2) {
r.push(`Being pregnant confers a <span class="improvement">slow improvement in ${his} sexual appetite.</span>`);
slave.energy += 2;
} else if (slave.preg > slave.pregData.normalBirth / 4) {
r.push(`${His} new pregnancy excites ${him} and produces <span class="improvement">very slow improvement in ${his} sexual appetite.</span>`);
slave.energy += 1;
} else if (slave.preg <= slave.pregData.normalBirth / 4 && slave.preg > slave.pregData.normalBirth / 13.33) {
r.push(`The rigors of early pregnancy do not seem to decrease ${his} sex drive. If anything, it seems to be exciting ${him}.`);
}
if (slave.preg > slave.pregData.normalBirth / 13.33) {
if (slave.fetish === "pregnancy") {
r.push(`Given ${his} enthusiasm, ${he} appears to have a <span class="fetish gain">pregnancy fetish.</span>`);
slave.fetishKnown = 1;
}
}
} else if (slave.geneticQuirks.uterineHypersensitivity === 2) {
if (slave.preg >= slave.pregData.normalBirth) {
r.push(`${He}'s full-term and has never been hornier, conferring a <span class="improvement">huge improvement in ${his} sexual appetite.</span>`);
slave.energy += 7;
} else if (slave.preg > slave.pregData.normalBirth / 1.33) {
r.push(`Being hugely pregnant confers an <span class="improvement">improvement in ${his} sexual appetite.</span>`);
slave.energy += 5;
} else if (slave.preg > slave.pregData.normalBirth / 2) {
r.push(`Being pregnant confers a <span class="improvement">slow improvement in ${his} sexual appetite.</span>`);
slave.energy += 3;
} else if (slave.preg > slave.pregData.normalBirth / 4) {
r.push(`${His} new pregnancy excites ${him} and produces <span class="improvement">very slow improvement in ${his} sexual appetite.</span>`);
slave.energy += 1;
} else if (slave.preg <= slave.pregData.normalBirth / 4 && slave.preg > slave.pregData.normalBirth / 13.33) {
r.push(`The rigors of early pregnancy do not seem to decrease ${his} sex drive. If anything, it seems to be exciting ${him}.`);
}
} else { // not pregnancy fetish
if (slave.energy < 41) {
if (slave.preg <= slave.pregData.normalBirth / 4 && slave.preg > slave.pregData.normalBirth / 13.33) {
r.push(`The rigors of early pregnancy <span class="stat drop">reduce ${his} sexual appetite.</span>`);
slave.energy -= 3;
} else if (slave.preg >= slave.pregData.normalBirth) {
r.push(`${He} is full-term and feels massively unattractive, <span class="stat drop">greatly suppressing ${his} sexual appetite.</span>`);
slave.energy -= 4;
} else if (slave.preg > slave.pregData.normalBirth / 1.33) {
r.push(`${His} advanced pregnancy <span class="stat drop">greatly suppresses ${his} sexual appetite.</span>`);
slave.energy -= 3;
} else if (slave.preg > slave.pregData.normalBirth / 2) {
r.push(`${His} growing pregnancy <span class="stat drop">suppresses ${his} sexual appetite.</span>`);
slave.energy -= 2;
} else if (slave.bellyPreg >= 1500) {
r.push(`${His} visible pregnancy causes ${him} to feel unattractive, <span class="stat drop">reducing ${his} sex drive.</span>`);
slave.energy -= 1;
}
} else if (slave.energy < 61) {
if (slave.preg <= slave.pregData.normalBirth / 4 && slave.preg > slave.pregData.normalBirth / 13.33) {
r.push(`The rigors of early pregnancy <span class="stat drop">slightly reduce ${his} sexual appetite.</span>`);
slave.energy -= 1;
} else if (slave.preg >= slave.pregData.normalBirth) {
r.push(`${He} is full-term and <span class="improvement">hornier than ever.</span>`);
slave.energy += 2;
} else if (slave.preg > slave.pregData.normalBirth / 1.33) {
r.push(`${His} advanced pregnancy <span class="improvement">increases ${his} libido.</span>`);
slave.energy += 1;
}
} else if (slave.energy < 90) {
if (slave.preg <= slave.pregData.normalBirth / 4 && slave.preg > slave.pregData.normalBirth / 13.33) {
r.push(`The rigors of early pregnancy <span class="stat drop">reduce ${his} sexual appetite.</span>`);
slave.energy -= 3;
} else if (slave.preg >= slave.pregData.normalBirth) {
r.push(`${He} is full-term and suffering from an <span class="improvement">unquenchable need for sex.</span>`);
slave.energy += 4;
} else if (slave.preg > slave.pregData.normalBirth / 1.33) {
r.push(`${His} advanced pregnancy comes with a hugely increased libido, <span class="improvement">greatly increasing ${his} sexual drive.</span>`);
slave.energy += 3;
} else if (slave.preg > slave.pregData.normalBirth / 2) {
r.push(`${His} growing pregnancy comes with an increased libido, <span class="improvement">spurring ${his} sexual appetite.</span>`);
slave.energy += 2;
}
} else {
if (slave.preg <= slave.pregData.normalBirth / 4 && slave.preg > slave.pregData.normalBirth / 13.33) {
r.push(`The rigors of early pregnancy <span class="stat drop">reduce ${his} sexual appetite.</span>`);
slave.energy -= 3;
} else if (slave.preg >= slave.pregData.normalBirth) {
r.push(`${He} is full-term and <span class="improvement">horny as hell.</span> ${His} hormones and already high libido have ${him} acting like ${he} hasn't had a good fuck in nine months.`);
slave.energy += 2;
} else if (slave.preg > slave.pregData.normalBirth / 1.33) {
r.push(`${His} advanced pregnancy, combined with ${his} already high libido, has ${him} practically begging for sex whenever ${he} has a spare moment.`);
} else if (slave.preg > slave.pregData.normalBirth / 2) {
r.push(`${His} growing pregnancy, combined with ${his} already high libido, has ${him} always itching for some sex.`);
}
}
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function fetalAdjustment(slave) {
const oldCount = slave.pregType;
if (slave.preg <= 2 && slave.broodmother === 0) {
fetalSplit(slave, 1000);
WombCleanYYFetuses(slave);
}
if (V.pregnancyMonitoringUpgrade === 1) {
if (oldCount < slave.pregType) {
r.push(`During ${his} weekly monitoring, it is discovered that ${his} womb is now home to <span class="pregnancy">more ova than last checkup.</span>`);
} else if (oldCount > slave.pregType) {
r.push(`During ${his} weekly monitoring, it is discovered that ${his} womb is now home to <span class="change negative">less ova than last checkup.</span>`);
if (slave.pregType === 0) {
r.push(`For all intent and purposes, <span class="noteworthy">${he} is no longer pregnant.</span>`);
TerminatePregnancy(slave);
}
}
} else if (oldCount > slave.pregType && slave.pregType === 0) {
TerminatePregnancy(slave);
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function pregnancyAdjustments(slave) {
if (slave.geneticQuirks.gigantomastia === 3 && random(1, 200) < slave.hormoneBalance) {
slave.geneticQuirks.gigantomastia = 2;
}
if (slave.geneticQuirks.macromastia === 3 && random(1, 200) < slave.hormoneBalance) {
slave.geneticQuirks.macromastia = 2;
}
if (slave.geneticQuirks.galactorrhea === 2 && random(1, 100) < slave.hormoneBalance && slave.lactation === 0) {
App.EndWeek.saVars.inappropriateLactation = 1;
}
if (slave.preg > slave.pregData.normalBirth / 2) {
if (slave.belly >= 300000) {
slave.need *= 0.5;
} else if (slave.belly >= 120000) {
slave.need *= 0.7;
} else if (slave.belly >= 60000) {
slave.need *= 0.9;
} else {
slave.need *= 1.5;
}
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function pregnancyMentalEffects(slave) {
const child = (slave.pregType > 1 ? "children" : "child");
const childis = (slave.pregType > 1 ? "children are" : "child is");
if (slave.career === "a dairy cow" && slave.devotion <= 50) {
r.push(`${He} <span class="devotion inc">feels right</span> to be growing heavy with child. To ${him}, a growing baby means better milk.`);
slave.devotion += 1;
} else if (slave.devotion <= 20 && slave.pregSource === -1) {
r.push(`${He} is filled with a feeling of <span class="devotion dec">revulsion</span> that your ${childis} growing within ${his} body.`);
slave.devotion -= 1;
if (slave.relationship === -3) {
r.push(`This is compounded by the fact that you <span class="trust dec">forced ${him} to marry you</span> and <span class="devotion dec">raped ${him} pregnant.</span>`);
slave.devotion -= 5;
slave.trust -= -5;
}
} else if (slave.devotion > 50 && slave.pregSource === -1) {
r.push(`${He} <span class="devotion inc">loves</span> that your ${childis} growing within ${him}.`);
slave.devotion += 1;
if (slave.relationship === -3) {
r.push(`This is compounded by the fact that ${he} is your <span class="devotion inc">devoted ${wife}</span> and <span class="trust inc">feels it is ${his} duty</span> to bear your children.`);
slave.devotion -= 5;
slave.trust -= -5;
}
}
if (slave.pregSource === slave.relationshipTarget && slave.relationship > 2) {
r.push(`${He} can't help but feel <span class="trust inc">satisfaction</span> in carrying ${his} lover's ${child}.`);
slave.trust += 1;
} else if (slave.pregSource === -9) {
r.push(`${He} can't help but feel <span class="trust inc">proud</span> over the life you helped conceive and the future generation of Futanari Sisters.`);
slave.devotion += 1;
}
// @ts-ignore
if (slave.devotion > 20 && V.arcologies[0].FSRepopulationFocus !== "unset" && slave.sexualQuirk === "motherly") {
r.push(`${His} pregnancy fills ${him} with <span class="devotion inc">joyful pride,</span> since ${he} is surrounded by those that share ${his} values on having children.`);
slave.devotion += 1;
}
if (slave.pregSource === slave.ID) {
if (slave.sexualQuirk === "perverted") {
r.push(`${He}'s <span class="devotion inc">aroused</span> at the mere concept that the bab${slave.pregType > 1 ? "ies" : "y"} growing inside ${him} was conceived by ${his} own sperm.`);
slave.devotion += 1;
} else {
r.push(`${He} often becomes preoccupied with <span class="trust dec">worry</span> that ${his} self-conceived ${child} will be born unhealthy.`);
slave.trust -= 1;
}
}
if (slave.geneticQuirks.uterineHypersensitivity === 2) {
if (slave.pregKnown === 1) {
if (slave.belly <= 1500) {
r.push(`${He} feels a pleasant tingling sensation in ${his} lower belly.`);
} else if (slave.preg > slave.pregData.normalBirth / 2) {
if (slave.belly <= 10000) {
r.push(`${He} feels a pleasant fullness in ${his} womb.`);
} else if (slave.belly <= 30000) {
r.push(`${His} pregnancy fills ${him} with pleasant sensations of fullness and fulfillment,`);
if (slave.fetish !== "pregnancy") {
if (slave.fetishStrength > 10) {
r.push(`<span class="fetish loss">distracting ${him} from ${his} existing proclivities.</span>`);
slave.fetishStrength -= 1;
} else {
r.push(`<span class="fetish gain">giving ${him} a new appreciation for pregnancy.</span>`);
slave.fetish = "pregnancy";
slave.fetishStrength = 60;
slave.fetishKnown = 1;
}
} else {
r.push(`<span class="fetish inc">further increasing ${his} love for pregnancy.</span>`);
slave.fetishStrength = Math.clamp(slave.fetishStrength + 1, 0, 100);
slave.fetishKnown = 1;
}
} else if (slave.belly <= 60000) {
r.push(`${His} huge pregnancy fills ${him} with pleasure and a sense of accomplishment,`);
if (slave.fetish !== "pregnancy") {
if (slave.fetishStrength > 10) {
r.push(`<span class="fetish loss">distracting ${him} from ${his} existing proclivities.</span>`);
slave.fetishStrength -= 2;
} else {
r.push(`<span class="fetish gain">giving ${him} a new appreciation for pregnancy.</span>`);
slave.fetish = "pregnancy";
slave.fetishStrength = 60;
slave.fetishKnown = 1;
}
} else {
r.push(`<span class="fetish inc">further increasing ${his} love for pregnancy.</span>`);
slave.fetishStrength = Math.clamp(slave.fetishStrength + 2, 0, 100);
slave.fetishKnown = 1;
}
} else if (slave.belly <= 120000) {
r.push(`${His} enormous pregnancy fills ${him} with pleasure and sometimes causes small orgasms from fetal movement,`);
if (slave.fetish !== "pregnancy") {
if (slave.fetishStrength > 10) {
r.push(`<span class="fetish loss">causing ${him} to slowly lose interest in ${his} current proclivities.</span>`);
slave.fetishStrength -= 3;
} else {
r.push(`<span class="fetish gain">focusing ${his} lust on pregnancy.</span>`);
slave.fetish = "pregnancy";
slave.fetishStrength = 60;
slave.fetishKnown = 1;
}
} else {
r.push(`<span class="fetish inc">further increasing ${his} love for pregnancy.</span>`);
slave.fetishStrength = Math.clamp(slave.fetishStrength + 3, 0, 100);
slave.fetishKnown = 1;
}
} else if (slave.belly <= 300000) {
r.push(`${His} gigantic pregnancy fills ${him} with pleasure and often causes small orgasms from fetal movement,`);
if (slave.fetish !== "pregnancy") {
if (slave.fetishStrength > 10) {
r.push(`<span class="fetish loss">causing ${him} to slowly lose interest in ${his} current proclivities.</span>`);
slave.fetishStrength -= 5;
} else {
r.push(`<span class="fetish gain">focusing ${his} lust on pregnancy.</span>`);
slave.fetish = "pregnancy";
slave.fetishStrength = 60;
slave.fetishKnown = 1;
}
} else {
r.push(`<span class="fetish inc">further increasing ${his} love for pregnancy.</span>`);
slave.fetishStrength = Math.clamp(slave.fetishStrength + 5, 0, 100);
slave.fetishKnown = 1;
}
} else {
r.push(`${His} hyperpregnancy fills ${him} with great pleasure and keeps ${him} in near constant orgasm from fetal movement alone,`);
if (slave.fetish !== "pregnancy") {
if (slave.fetishStrength > 10) {
r.push(`<span class="fetish loss">causing ${him} to rapidly lose interest in ${his} current proclivities.</span>`);
slave.fetishStrength -= 10;
} else {
r.push(`<span class="fetish gain">focusing ${his} lust on pregnancy.</span>`);
slave.fetish = "pregnancy";
slave.fetishStrength = 60;
slave.fetishKnown = 1;
}
} else {
r.push(`<span class="fetish inc">further increasing ${his} love for pregnancy.</span>`);
slave.fetishStrength = Math.clamp(slave.fetishStrength + 10, 0, 100);
slave.fetishKnown = 1;
}
}
}
}
}
switch (slave.pregControl) {
case "speed up":
if (!S.Nurse || slave.assignment !== "get treatment in the clinic") {
if (slave.pregType >= 20 && slave.devotion <= 20 && slave.trust <= 50) {
if (slave.sexualFlaw === "self hating") {
r.push(`${He} is <span class="devotion inc">delirious with joy</span> over ${his} straining womb. Every week ${he} gets bigger, fuller and tighter; in ${his} mind, it won't be long until ${he} bursts, bringing ${his} children into the world.`);
slave.devotion += 10;
} else if (slave.geneticQuirks.uterineHypersensitivity === 2) {
r.push(`${He} is <span class="improvement">extremely aroused</span> over ${his} straining womb.`);
if (V.geneticMappingUpgrade >= 1) {
r.push(`${His} hypersensitive uterus is overstimulated by the pressure, clouding both pain and worry from ${his} mind.`);
} else {
r.push(`Every week ${he} gets bigger, fuller, tighter, and, strangely enough, hornier. It's unclear why ${he} is this way, but it distracts ${him} from worrying at least.`);
}
slave.energy += 3;
} else {
r.push(`${He} is <span class="trust dec">utterly terrified</span> by ${his} straining womb. Every week ${he} gets bigger, fuller and tighter; in ${his} mind, it won't be long until ${he} bursts, bringing ${his} children into <span class="devotion dec">this wretched world.</span>`);
if (slave.bellyPreg >= 600000) {
r.push(`${He} is absolutely huge, ${his}`);
if (slave.geneMods.rapidCellGrowth !== 1) {
r.push(`stretch mark streaked`);
} else {
r.push(`swollen`);
}
r.push(`orb of a belly keeps ${him} painfully immobilized. ${He} counts every second, hoping that ${he} can make it to the next. ${His} mind <span class="mindbreak">can't handle it and shatters,</span> leaving ${him} nothing more than an overfilled broodmother.`);
slave.fetish = "mindbroken";
}
slave.devotion -= 10;
slave.trust -= 10;
}
} else if (slave.geneticQuirks.uterineHypersensitivity === 2) {
r.push(`${He} is <span class="improvement">extremely aroused</span> over ${his} straining womb.`);
if (V.geneticMappingUpgrade >= 1) {
r.push(`${His} hypersensitive uterus is overstimulated by the pressure, clouding both pain and worry from ${his} mind.`);
} else {
r.push(`Every week ${he} gets bigger, fuller, tighter, and, strangely enough, hornier. It's unclear why ${he} is this way, but it distracts ${him} from worrying at least.`);
}
slave.energy += 3;
} else if (slave.devotion <= 20 && slave.trust <= 20) {
r.push(`${He} is <span class="trust dec">utterly terrified</span> by ${his} straining womb and filled <span class="devotion dec">with disgust</span> that you've turned ${him} into nothing more than a rapid breeding vessel.`);
slave.devotion -= 10;
slave.trust -= 10;
} else if (slave.devotion <= 80 && slave.trust <= 80) {
r.push(`${He} trusts you, but deep down <span class="trust dec">${he} can't help but worry</span> over how fast ${he} is growing.`);
slave.trust -= 2;
}
}
break;
case "labor suppressors":
if (slave.geneticQuirks.uterineHypersensitivity === 2 && slave.counter.birthsTotal > 0) {
if (V.geneticMappingUpgrade >= 1) {
r.push(`Birth is incredibly pleasurable to ${him} due to ${his} uterine hypersensitivity, filling ${him} with <span class="trust dec">fear</span> and <span class="devotion dec">loathing</span> that ${he} won't be allowed to reach that high again.`);
} else {
r.push(`${He} is filled with unwarranted <span class="trust dec">paranoia</span> and <span class="devotion dec">hate</span> over you delaying ${his} upcoming birth.`);
}
slave.devotion -= 10;
slave.trust -= 10;
} else if (slave.devotion <= 20 && slave.pregSource === -1) {
r.push(`${He} is filled with <span class="devotion dec">hate</span> that you're forcing ${him} to continue carrying your ${child}.`);
slave.devotion -= 5;
}
break;
case "slow gestation":
if (slave.devotion <= 20 && slave.pregSource === -1) {
r.push(`${He} is filled with <span class="devotion dec">hate</span> that you're tormenting ${him} by prolonging ${his} pregnancy.`);
slave.devotion -= 5;
}
break;
}
if (isInduced(slave)) {
r.push(`${His} child${slave.pregType > 1 ? "ren visibly shift" : "visibly shifts"} within ${his} womb as ${slave.pregType > 1 ? "they prepare" : "it prepares"} to enter the world. ${He} experiences several`);
if (slave.geneticQuirks.uterineHypersensitivity === 2) {
r.push(`unexpected orgasms,`);
} else {
r.push(`contractions,`);
}
r.push(`but not enough to deter ${him} from ${his} work.`);
} else if (slave.pregControl === "labor suppressors") {
r.push(`${His} ${childis} oddly calm; it is unlikely ${he} will give birth soon, despite being overdue.`);
} else if (slave.broodmother === 0) {
if (slave.preg > slave.pregData.normalBirth + 1) {
r.push(`${He} is constantly beset by ${his} squirming`);
if (slave.geneticQuirks.uterineHypersensitivity === 2) {
r.push(`${child} and uncontrollable orgasms.`);
} else {
r.push(`${child}.`);
}
r.push(`They're overdue, so ${he}'s likely to go into labor at any moment, but they aren't quite ready to leave their home.`);
} else if (slave.preg > slave.pregData.normalBirth - 1 && slave.preg > slave.pregData.minLiveBirth) {
r.push(`${He} is constantly beset by ${his} squirming`);
if (slave.geneticQuirks.uterineHypersensitivity === 2) {
r.push(`${child} and uncontrollable orgasms.`);
} else {
r.push(`${child}.`);
}
r.push(`Given their liveliness, and how long ${he} has been pregnant, it is likely that ${he} will go into labor at any time now.`);
} else if (slave.preg > slave.pregData.normalBirth - 2 && slave.preg > slave.pregData.minLiveBirth) {
r.push(`${He} often has to stop for breaks to soothe ${his} kicking`);
if (slave.geneticQuirks.uterineHypersensitivity === 2) {
r.push(`${child}, to spontaneously orgasm,`);
} else {
r.push(`${child}`);
}
r.push(`and to catch ${his} breath. ${He} is far enough along that ${he} may go into labor any day now.`);
} else if (slave.preg > slave.pregData.normalBirth - 3 && slave.preg > slave.pregData.minLiveBirth) {
r.push(`${He} often has to stop for breaks to soothe ${his} kicking`);
if (slave.geneticQuirks.uterineHypersensitivity === 2) {
r.push(`${child} and clean up after spontaneously orgasming.`);
} else {
r.push(`${child}.`);
}
r.push(`${He} is far enough along that ${he} may go into early labor.`);
}
} else if (slave.broodmother > 0 && slave.preg > 37) {
if (slave.broodmother === 2) {
r.push(`${He} often has to stop for breaks to soothe ${his} kicking`);
if (slave.geneticQuirks.uterineHypersensitivity === 2) {
r.push(`${child}, to spontaneously orgasm,`);
} else {
r.push(`${child}`);
}
r.push(`and to catch ${his} breath. It's only a matter of time until the next one drops into position to be born.`);
} else {
r.push(`${He} is constantly beset by ${his} squirming children and often has to stop for breaks to soothe`);
if (slave.geneticQuirks.uterineHypersensitivity === 2) {
r.push(`them and to clean up after spontaneously orgasming.`);
} else {
r.push(`them.`);
}
r.push(`${He} is never quite sure when the next one will drop into position to be born.`);
}
}
if (slave.preg > slave.pregData.normalBirth / 2 && random(1, 100) === 69) {
if (slave.behavioralFlaw === "none" && slave.behavioralQuirk === "none") {
switch (random(1, 4)) {
case 1:
slave.behavioralFlaw = "odd";
r.push(`The stress of ${his} growing pregnancy leads ${him} to begin <span class="flaw gain">acting oddly.</span>`);
break;
case 2:
slave.behavioralFlaw = "hates men";
r.push(`The stress of ${his} growing pregnancy leads ${him} to begin <span class="flaw gain">disliking the company of men.</span>`);
break;
case 3:
slave.behavioralFlaw = "hates women";
r.push(`The stress of ${his} growing pregnancy leads ${him} to begin <span class="flaw gain">disliking the company of women.</span>`);
break;
case 4:
slave.behavioralFlaw = "gluttonous";
r.push(`The stress of ${his} growing pregnancy leads ${him} to begin <span class="flaw gain">taking solace in overeating.</span>`);
break;
}
} else if (slave.sexualFlaw === "none" && slave.sexualQuirk === "none") {
switch (random(1, 8)) {
case 1:
slave.sexualFlaw = "hates oral";
r.push(`The stress of ${his} growing pregnancy leads ${him} to begin <span class="flaw gain">rejecting oral sex.</span>`);
break;
case 2:
slave.sexualFlaw = "hates anal";
r.push(`The stress of ${his} growing pregnancy leads ${him} to begin <span class="flaw gain">rejecting anal sex.</span>`);
break;
case 3:
slave.sexualFlaw = "hates penetration";
r.push(`The stress of ${his} growing pregnancy leads ${him} to begin <span class="flaw gain">rejecting penetrative sex.</span>`);
break;
case 4:
slave.sexualFlaw = "shamefast";
r.push(`The stress of ${his} growing pregnancy leads ${him} to become <span class="flaw gain">paranoid about ${his} naked body.</span>`);
break;
case 5:
slave.sexualFlaw = "repressed";
r.push(`The stress of ${his} growing pregnancy leads ${him} to begin <span class="flaw gain">rejecting sex.</span>`);
break;
case 6:
slave.sexualFlaw = "apathetic";
r.push(`The stress of ${his} growing pregnancy causes ${him} to become <span class="flaw gain">inert during sex.</span>`);
break;
case 7:
slave.sexualFlaw = "crude";
r.push(`The stress of ${his} growing pregnancy leads ${him} to <span class="flaw gain">become quite crude.</span>`);
break;
case 8:
slave.sexualFlaw = "judgemental";
r.push(`The stress of ${his} growing pregnancy causes ${him} to become overly <span class="flaw gain">judgemental of ${his} partners.</span>`);
break;
}
}
}
if (slave.fetishStrength <= 95 && fetishChangeChance(slave) > random(0, 100) && slave.counter.oral + slave.counter.vaginal + slave.counter.anal > 200 && slave.fetish !== "pregnancy") {
r.push(`The combination of pregnancy and constant sex has <span class="fetish gain">sexualized pregnancy for ${him}.</span>`);
slave.fetish = "pregnancy";
slave.fetishKnown = 1;
slave.fetishStrength = 65;
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function pregnancyPhysicalEffects(slave) {
let boobTarget;
if (slave.geneMods.NCS === 1) {
// NCS: always working against secondary sexual characteristics even in pregnancies.
boobTarget = 0;
} else if (slave.geneticQuirks.androgyny === 2) {
boobTarget = 400;
} else if (slave.physicalAge >= 18) {
if (slave.pregType >= 50) {
boobTarget = 10000;
} else if (slave.pregType >= 30) {
boobTarget = 5000;
} else if (slave.pregType >= 10) {
boobTarget = 2000;
} else if (slave.pregType >= 2) {
boobTarget = 1000;
} else {
boobTarget = 800;
}
} else if (slave.physicalAge >= 13) {
if (slave.pregType >= 50) {
boobTarget = 5000;
} else if (slave.pregType >= 30) {
boobTarget = 3200;
} else if (slave.pregType >= 10) {
boobTarget = 1800;
} else if (slave.pregType >= 2) {
boobTarget = 1000;
} else {
boobTarget = 700;
}
} else if (slave.physicalAge >= 8) {
if (slave.pregType >= 50) {
boobTarget = 1800;
} else if (slave.pregType >= 30) {
boobTarget = 1400;
} else if (slave.pregType >= 10) {
boobTarget = 1000;
} else if (slave.pregType >= 2) {
boobTarget = 800;
} else {
boobTarget = 600;
}
} else {
if (slave.pregType >= 50) {
boobTarget = 1000;
} else if (slave.pregType >= 30) {
boobTarget = 800;
} else if (slave.pregType >= 10) {
boobTarget = 600;
} else {
boobTarget = 400;
}
}
boobTarget *= gigantomastiaMod;
if (slave.geneMods.NCS === 0) {
if (slave.pregType >= 30 && (((slave.assignment === "be your Concubine" || slave.assignment === "serve in the master suite") && V.masterSuitePregnancySlaveLuxuries === 1) || slave.diet === "high caloric")) {
if (slave.weight <= 65) {
r.push(`${He} has <span class="change positive">gained weight</span> in order to better sustain ${himself} and ${his} children.`);
slave.weight += 1;
}
if (random(1, 100) > 60) {
if (boobSize < boobTarget) {
r.push(`${His} breasts <span class="change positive">greatly swell</span> to meet the upcoming demand.`);
slave.boobs += 100;
if (slave.boobShape !== "saggy" && slave.preg > slave.pregData.normalBirth / 1.25 && slave.breastMesh !== 1 && slave.drugs !== "sag-B-gone") {
r.push(`${His} immensely engorged <span class="change negative">breasts become saggy</span> in the last stages of ${his} pregnancy as ${his} body undergoes changes in anticipation of the forthcoming birth.`);
slave.boobShape = "saggy";
}
}
if (slave.geneticQuirks.androgyny !== 2) {
if (hipSize < 2) {
r.push(`${His} hips <span class="change positive">widen</span> for ${his} upcoming birth.`);
slave.hips += 1;
}
if (buttSize < 14 + (rearQuirk * 3)) {
r.push(`${His} butt <span class="change positive">swells with added fat</span> from ${his} changing body.`);
slave.butt += 1;
}
}
}
} else if (slave.pregType >= 10) {
if (random(1, 100) > 80 && boobSize < boobTarget) {
r.push(`${His} breasts <span class="change positive">swell</span> in preparation for ${his} growing brood.`);
slave.boobs += 50;
if (slave.boobShape !== "saggy" && slave.breastMesh !== 1 && slave.drugs !== "sag-B-gone") {
if (slave.preg > random(slave.pregData.normalBirth / 1.25, slave.pregData.normalBirth * 2.05)) {
r.push(`${His} swollen <span class="change negative">breasts become saggy</span> in the last stages of ${his} pregnancy as ${his} body undergoes changes in anticipation of the forthcoming birth.`);
slave.boobShape = "saggy";
}
}
}
} else if (boobSize < boobTarget) {
if (random(1, 100) > 80) {
r.push(`Pregnancy <span class="change positive">causes ${his} breasts to swell somewhat.</span>`);
slave.boobs += 25;
if (slave.boobShape !== "saggy" && slave.preg > random(slave.pregData.normalBirth / 1.25, slave.pregData.normalBirth * 2.5) && slave.breastMesh !== 1 && slave.drugs !== "sag-B-gone") {
r.push(`${His} <span class="change negative">breasts become saggy</span> in the last stages of ${his} pregnancy as ${his} body undergoes changes in anticipation of the forthcoming birth.`);
slave.boobShape = "saggy";
}
}
}
if (slave.preg > slave.pregData.normalBirth / 1.25 && slave.physicalAge >= 18 && slave.hips === 1 && slave.hipsImplant === 0 && random(1, 100) > 90 / uterineHypersensitivityMod) {
r.push(`${His} hips <span class="change positive">widen</span> to better support ${his} gravidity.`);
slave.hips += 1;
} else if (slave.preg > slave.pregData.normalBirth / 1.42 && slave.physicalAge >= 16 && slave.hips === 0 && slave.hipsImplant === 0 && random(1, 100) > 70 / uterineHypersensitivityMod) {
r.push(`${His} hips <span class="change positive">widen</span> to better support ${his} gravidity.`);
slave.hips += 1;
}
if (slave.preg > slave.pregData.normalBirth / 1.42 && slave.physicalAge >= 12 && buttSize < (4 + (rearQuirk * 3)) && slave.weight >= -30 && random(1, 100) > 70) {
r.push(`${His} butt <span class="change positive">gets a little bigger</span> as ${his} body ripens.`);
slave.butt += 1;
}
}
if (slave.preg === slave.pregData.normalBirth / 2.66) { // change me when nipple color gets hardset
if (slave.pregKnown === 0) {
r.push(`${His} areolae have oddly darkened. Some cursory tests reveal <span class="pregnant">${he} is about fifteen weeks pregnant.</span>`);
slave.pregKnown = 1;
} else {
r.push(`${His} areolae darken with ${his} progressing pregnancy.`);
}
} else if (slave.bellyPreg >= 1500) {
if (setup.fakeBellies.includes(slave.bellyAccessory)) {
r.push(`${His} growing pregnancy renders ${his} fake belly moot.`);
slave.bellyAccessory = "none";
}
if (slave.preg > slave.pregData.normalBirth / 2 && slave.lactation === 0) {
if (slave.health.condition < -20) {
r.push(`${He}'s so unwell that natural lactation is unlikely.`);
} else if (slave.weight <= -30) {
r.push(`${He}'s so skinny that natural lactation is unlikely.`);
} else if (slave.preg > random(slave.pregData.normalBirth / 2.22, slave.pregData.normalBirth / 1.33)) {
r.push(`Pregnancy <span class="change positive">causes ${him} to begin lactating.</span>`);
slave.lactation = 1;
}
}
if (slave.lactation === 1) { // If natural lactation, constantly refresh it.
slave.lactationDuration = 2;
}
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function failSafe(slave) {
slave.pregType = setPregType(slave);
WombImpregnate(slave, slave.pregType, slave.pregSource, slave.preg);
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function preconception(slave) {
if (isFertile(slave)) {
needToBreed(slave);
}
if (canGetPregnant(slave) && ((slave.assignment === "work in the dairy" && V.dairyPregSetting === 0) || slave.assignment !== "work in the dairy")) {
impregnation(slave);
}
if (slave.ovaImplant === "asexual" && isFertile(slave) && (slave.preg === 0 || (slave.preg >= 0 && slave.geneticQuirks.superfetation === 2))) {
autoImpregnation(slave);
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function needToBreed(slave) {
if (slave.geneticQuirks.uterineHypersensitivity === 2) {
slave.need *= 2;
if (slave.fuckdoll === 0 && slave.fetish !== "mindbroken") {
if (slave.fetish !== "pregnancy") {
if (slave.fetishStrength > 10) {
r.push(`${He} feels a constant compulsion to breed, <span class="fetish loss">steadily eroding ${his} sexuality.</span>`);
slave.fetishStrength -= 5;
} else if (fetishChangeChance(slave) > random(0, 100)) {
r.push(`${His} constant desire to breed <span class="fetish gain">finally manifests into a pregnancy fetish.</span>`);
slave.fetish = "pregnancy";
slave.fetishStrength = 60;
slave.fetishKnown = 1;
}
} else if (slave.fetishStrength <= 95) {
r.push(`${His} heat <span class="fetish inc">further increases ${his} desire to be impregnated.</span>`);
Math.min(slave.fetishStrength += 5, 100);
} else {
r.push(`${He} is in a state of heat and in dire need of sex.`);
}
}
}
if (slave.fuckdoll === 0 && slave.preg === -1 && slave.devotion > 20 && slave.fetishStrength > 60 && slave.fetish === "pregnancy") {
if (slave.fetishKnown === 0) {
r.push(`<span class="devotion dec">${He}'s unhappy</span> that ${he}'s on contraceptives, revealing that ${he} has a <span class="fetish gain">deep desire to get pregnant.</span>`);
slave.fetishKnown = 1;
} else {
r.push(`${He} badly wants to have a child, so <span class="devotion dec">${he}'s unhappy</span> that ${he}'s on contraceptives.`);
}
slave.devotion -= 4;
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function impregnation(slave) {
const conceptionSeed = random(1, 100);
let Stud = slaveStateById(V.StudID); // May be null!
const studIgnoresRules = (Stud && V.universalRulesImpregnation === "Stud" && Stud.career === "a breeding bull" && Stud.fetish === "mindbroken" && canMove(Stud));
const pussy = (slave.mpreg === 1 ? "asspussy" : "pussy");
let satisfiedPregFetish = 0;
let StudVaginal = 0;
let rapeAddsFlaw = 0;
let StudPenetrative = 0;
let StudTakesV = 0;
if (V.universalRulesImpregnation === "PC" && canImpreg(slave, V.PC) && slave.PCExclude !== 1) { // consider female X female PC impreg here!
r.push(`${slave.slaveName} is ripe for breeding, so you ejaculate inside ${him} often. When you bore of ${his} fertile`);
if (slave.mpreg === 1) {
r.push(`ass,`);
} else {
r.push(`cunt,`);
}
r.push(`you keep ${him} around as you fuck other slaves so you can pull out of them, shove your cock into ${him}, and fill ${him} with your seed anyway.`);
if (slave.fuckdoll === 0 && slave.fetish !== "mindbroken") {
if (slave.devotion <= 20 && slave.trust >= -20) {
r.push(`${He} attempts to resist this treatment, and spends most of ${his} days bound securely, with your cum dripping out of ${his}`);
if (slave.mpreg === 1) {
r.push(`ass.`);
} else {
r.push(`pussy.`);
}
r.push(`This regimen fills ${him} with <span class="devotion dec">hatred,</span> <span class="trust dec">fear,</span> and <span class="pregnant">a pregnancy.</span>`);
slave.devotion -= 5;
slave.trust -= 5;
if (slave.sexualFlaw === "none") {
r.push(`This unpleasant interlude leaves ${him} <span class="flaw gain">hating penetration</span> of ${his} now-pregnant`);
if (slave.mpreg === 1) {
r.push(`ass.`);
slave.sexualFlaw = "hates anal";
} else {
r.push(`pussy.`);
slave.sexualFlaw = "hates penetration";
}
}
} else if (slave.devotion <= 20) {
r.push(`${He} complies fearfully with your use of ${his} body.`);
} else if (slave.fetish === "pregnancy" && slave.fetishStrength > 60) {
r.push(`${He} is <span class="devotion inc">absurdly pleased</span> by this treatment, <span class="trust inc">trustingly</span> serving as your breeding bitch until ${he} <span class="pregnant">conceives.</span> ${He}'s so aroused by the constant insemination that having your dick, wet from another slave, pushed inside ${him} to climax is often enough to bring ${him} to orgasm in turn.`);
slave.devotion += 5;
slave.trust += 5;
if (slave.fetishKnown === 1 && slave.fetishStrength <= 95) {
r.push(`Such total satisfaction of ${his} pregnancy fantasies <span class="fetish inc">strengthens ${his} fetish.</span>`);
slave.fetishStrength += 4;
} else if (slave.fetishKnown === 0) {
r.push(`You are now well aware of ${his} <span class="fetish gain">latent pregnancy fetish.</span>`);
slave.fetishKnown = 1;
}
slave.need = 0;
} else {
r.push(`${He} serves you dutifully in this, <span class="trust inc">trustingly</span> serving as your breeding bitch until ${he} <span class="pregnant">conceives.</span>`);
slave.trust += 5;
}
}
slave.preg = 1;
slave.pregSource = -1;
slave.pregWeek = 1;
slave.pregKnown = 1;
slave.pregType = setPregType(slave);
WombImpregnate(slave, slave.pregType, -1, 1);
if (slave.mpreg === 1) {
r.push(VCheck.Anal(slave, 10));
} else {
r.push(VCheck.Vaginal(slave, 10));
}
} else if ((slave.vagina === 0 || (slave.anus === 0 && slave.mpreg > 0)) && !studIgnoresRules) {
// Skip virgins.
} else if (V.HeadGirlID !== 0 && slave.ID !== V.HeadGirlID && V.universalRulesImpregnation === "HG" && canPenetrate(S.HeadGirl)) {
const {
// eslint-disable-next-line no-unused-vars
He2, he2, His2, his2, hers2, him2, himself2, girl2
} = getPronouns(S.HeadGirl).appendSuffix('2');
if (slave.HGExclude === 1) {
r.push(`It's ${S.HeadGirl.slaveName}'s responsibility to impregnate fertile slaves, but your Head Girl is forbidden from impregnating ${slave.slaveName}.`);
} else if (V.universalHGImpregnateMasterSuiteToggle === 1 && ["serve in the master suite", "be your Concubine"].includes(slave.assignment)) {
r.push(`It's ${S.HeadGirl.slaveName}'s responsibility to impregnate fertile slaves, but ${slave.slaveName} is off-limits.`);
} else if (App.EndWeek.saVars.HGCum === 0) {
r.push(`It's ${S.HeadGirl.slaveName}'s responsibility to impregnate fertile slaves, but your Head Girl can only fuck a limited number of slaves enough to ensure impregnation each week.`);
} else if (!canBreed(slave, S.HeadGirl)) {
r.push(`It's ${S.HeadGirl.slaveName}'s responsibility to impregnate fertile slaves, but ${S.HeadGirl.slaveName}'s sperm is unable to fertilize ${slave.slaveName}'s ova, so ${he2} doesn't waste ${his2} seed trying.`);
} else {
r.push(`It's ${S.HeadGirl.slaveName}'s responsibility to get ${him} pregnant, a task your`);
if (S.HeadGirl.fetish === "pregnancy" && S.HeadGirl.fetishStrength > 60) {
if (S.HeadGirl.fetishKnown === 1) {
r.push(`pregnancy fetishist`);
}
r.push(`Head Girl is <span class="devotion inc">extremely pleased</span> to take on.`);
S.HeadGirl.devotion += 2;
if (S.HeadGirl.fetishStrength <= 95) {
if (S.HeadGirl.fetishKnown === 1) {
r.push(`The opportunity <span class="fetish inc">strengthens ${his2} pregnancy fetish</span> by indulgence.`);
}
S.HeadGirl.fetishStrength += 4;
}
} else if (S.HeadGirl.career === "a breeding bull") {
r.push(`Head Girl feels <span class="devotion inc">${he2} was meant for.</span>`);
S.HeadGirl.devotion += 1;
} else if (S.HeadGirl.attrXX > 65 && S.HeadGirl.attrKnown === 1) {
if (slave.mpreg === 1) {
r.push(`ass-hungry`);
} else {
r.push(`pussy-hungry`);
}
r.push(`Head Girl is <span class="devotion inc">happy</span> to take on.`);
S.HeadGirl.devotion += 1;
} else {
r.push(`Head Girl approaches dutifully.`);
}
if (slave.fuckdoll === 0 && slave.fetish !== "mindbroken") {
if (slave.career === "a dairy cow" && slave.devotion <= 20) {
r.push(`${slave.slaveName} feels a need to be bred by the Head Girl, and submits ${himself} to ${his} superior's virile cock until <span class="pregnant">conception</span> is verified.`);
} else if (slave.devotion <= 20 && slave.trust >= -20) {
if ((S.HeadGirl.fetish === "sadist" || S.HeadGirl.fetish === "dom") && S.HeadGirl.fetishStrength > 60) {
r.push(`${His2} interest is piqued, however, when ${slave.slaveName} shows signs of resistance. ${S.HeadGirl.slaveName} <span class="devotion inc">enthusiastically</span> <span class="devotion dec">rapes the poor ${girl}</span> pregnant, ejaculating inside ${his2} victim more often than is really necessary for <span class="pregnant">conception.</span>`);
S.HeadGirl.devotion += 2;
slave.devotion -= 5;
} else {
r.push(`${slave.slaveName} tries to resist ${him2}, so ${S.HeadGirl.slaveName} is forced to <span class="devotion dec">rape the poor ${girl}</span> pregnant, regularly ejaculating inside ${him} until <span class="pregnant">conception</span> is confirmed.`);
slave.devotion -= 4;
}
if (slave.sexualFlaw === "none") {
r.push(`This unpleasant interlude leaves ${him} <span class="flaw gain">hating penetration</span> of ${his} violated`);
if (slave.mpreg === 1) {
r.push(`anus.`);
slave.sexualFlaw = "hates anal";
} else {
r.push(`pussy.`);
slave.sexualFlaw = "hates penetration";
}
}
} else if (slave.devotion <= 20) {
if ((S.HeadGirl.fetish === "sadist" || S.HeadGirl.fetish === "dom") && S.HeadGirl.fetishStrength > 60) {
r.push(`${His2} interest is piqued, however, when it becomes clear that ${slave.slaveName}, though fearfully obedient, is not happy with being bred. ${S.HeadGirl.slaveName} <span class="devotion inc">enthusiastically</span> ensures that ${his2} victim <span class="devotion dec">does not enjoy</span> a week of being <span class="pregnant">raped pregnant.</span>`);
S.HeadGirl.devotion += 2;
slave.devotion -= 3;
} else {
r.push(`${slave.slaveName}, though fearfully obedient, is not happy with being bred, but ${S.HeadGirl.slaveName} <span class="devotion dec">rapes the poor ${girl}</span> pregnant anyway, regularly ejaculating inside ${him} until <span class="pregnant">conception</span> is confirmed.`);
slave.devotion -= 2;
}
if (slave.sexualFlaw === "none") {
r.push(`This unpleasant interlude leaves ${him} <span class="flaw gain">hating penetration</span> of ${his} violated`);
if (slave.mpreg === 1) {
r.push(`anus.`);
slave.sexualFlaw = "hates anal";
} else {
r.push(`pussy.`);
slave.sexualFlaw = "hates penetration";
}
}
} else if (slave.devotion < 75) {
if (slave.fetish === "pregnancy" && slave.fetishStrength > 60) {
if (slave.fetishKnown === 1) {
r.push(`${slave.slaveName}, a pregnancy fetishist,`);
} else {
r.push(`${slave.slaveName}`);
}
r.push(`is <span class="devotion inc">very willing to be bred</span> by your Head Girl, and eagerly takes ${his} superior's cock bareback until <span class="pregnant">conception</span> is verified.`);
slave.devotion += 2;
if (slave.fetishStrength <= 95 && slave.fetishKnown === 1) {
r.push(`Such total satisfaction of ${his} pregnancy fantasies <span class="fetish inc">strengthens ${his} fetish.</span>`);
slave.fetishStrength += 4;
} else {
r.push(`${His} enthusiasm betrays ${his} <span class="fetish gain">hidden pregnancy fetish.</span>`);
slave.fetishKnown = 1;
}
slave.need = 0;
} else {
r.push(`${slave.slaveName} is willing to be bred by the Head Girl, and takes ${his} superior's cock bareback until <span class="pregnant">conception</span> is verified.`);
}
} else {
if (slave.fetish === "pregnancy" && slave.fetishStrength > 60) {
if (slave.fetishKnown === 1) {
r.push(`${slave.slaveName}, a pregnancy fetishist,`);
} else {
r.push(`${slave.slaveName}`);
}
r.push(`considers getting bred by your Head Girl <span class="devotion inc">a dream come true,</span> and gets fucked bareback daily until <span class="pregnant">conception</span> is verified.`);
slave.devotion += 2;
if (slave.fetishStrength <= 95 && slave.fetishKnown === 1) {
r.push(`Such total satisfaction of ${his} pregnancy fantasies <span class="fetish inc">strengthens ${his} fetish.</span>`);
slave.fetishStrength += 4;
} else {
r.push(`${His} enthusiasm exposes ${his} <span class="fetish gain">latent pregnancy fetish.</span>`);
slave.fetishKnown = 1;
}
slave.need = 0;
} else {
r.push(`${slave.slaveName} is <span class="devotion inc">quite willing to be bred</span> by the Head Girl, whom ${he} respects, and submissively takes ${his} superior's cock bareback until <span class="pregnant">conception</span> is verified.`);
slave.devotion += 1;
}
}
}
slave.preg = 1;
slave.pregSource = V.HeadGirlID;
slave.pregWeek = 1;
slave.pregKnown = 1;
App.EndWeek.saVars.HGCum -= 1;
slave.pregType = setPregType(slave);
WombImpregnate(slave, slave.pregType, V.HeadGirlID, 1);
if (slave.mpreg === 1) {
seX(slave, "anal", S.HeadGirl, "penetrative", 10);
} else {
seX(slave, "vaginal", S.HeadGirl, "penetrative", 10);
}
}
} else if (Stud && slave.ID !== V.StudID && V.universalRulesImpregnation === "Stud") {
const {
// eslint-disable-next-line no-unused-vars
He2, he2, His2, his2, hers2, him2, himself2, girl2
} = getPronouns(Stud).appendSuffix('2');
if ((slave.StudExclude === 1 || slave.breedingMark === 1) && (Stud.career !== "a breeding bull" || Stud.fetish !== "mindbroken" || !canMove(Stud))) {
r.push(`It's ${Stud.slaveName}'s role to provide sperm for fertile slaves, but ${slave.slaveName} is not included on the list.`);
} else if (V.universalHGImpregnateMasterSuiteToggle === 1 && ["serve in the master suite", "be your Concubine"].includes(slave.assignment)) {
r.push(`It's ${Stud.slaveName}'s role to provide sperm for fertile slaves, but ${slave.slaveName} is off-limits.`);
} else if (App.EndWeek.saVars.StudCum === 0) {
r.push(`It's ${Stud.slaveName}'s role to provide sperm for fertile slaves, but your Stud can only cum enough to ensure impregnation in a limited number of slaves each week.`);
} else if (!canBreed(slave, Stud)) {
r.push(`It's ${Stud.slaveName}'s role to provide sperm for fertile slaves, but ${his2} sperm is unable to fertilize ${slave.slaveName}'s ova, so there is no point in forcing the union.`);
} else {
let StudRandiness = 0; // used to control the slave reaction. 1 - fucks slave, -1 - slave fucks stud, 0 - inert
r.push(`It's ${Stud.slaveName}'s role to`);
// stud's reaction to the role
if (Stud.fuckdoll > 0) {
r.push(`provide sperm for ${him}; all ${he} needs to do is signal the suit to stimulate an ejaculation.`);
} else if (Stud.fetish === "mindbroken") {
if (Stud.career === "a breeding bull" && canMove(Stud)) {
r.push(`impregnate fertile slaves, a task the amorous Stud performs with gusto and little regard for rules.`);
StudRandiness = 1;
} else {
r.push(`provide sperm for ${him}, a task that usually involves ${him} doing all the work.`);
StudRandiness = -1;
}
} else if (Stud.career === "a breeding bull") {
if (Stud.fetish === "pregnancy" && Stud.fetishKnown === 1 && Stud.fetishStrength > 60) {
r.push(`impregnate ${him}, a task your pregnancy fetishist Stud believes <span class="devotion inc">is nothing short of destiny.</span>`);
Stud.devotion += 3;
if (Stud.fetishStrength <= 95) {
r.push(`The opportunity <span class="fetish inc">strengthens ${his2} pregnancy fetish</span> by indulgence.`);
Stud.fetishStrength += 4;
}
} else if (Stud.fetish === "dom" && Stud.fetishKnown === 1 && Stud.fetishStrength > 60) {
r.push(`fill ${him} with child, a task your dominant Stud <span class="devotion inc">carries out with gusto.</span>`);
Stud.devotion += 2;
if (Stud.fetishStrength <= 95) {
r.push(`The opportunity <span class="fetish inc">strengthens ${his2} dominant tendencies</span> by indulgence.`);
Stud.fetishStrength += 4;
}
} else {
r.push(`impregnate ${him}, a task your Stud feels <span class="devotion inc">${he2} was meant for.</span>`);
Stud.devotion += 1;
}
StudRandiness = 1;
} else if (Stud.devotion < -20) {
if (Stud.trust > 20) {
if (Stud.fetish === "pregnancy" && Stud.fetishKnown === 1 && Stud.fetishStrength > 60) {
r.push(`impregnate ${him}, a task your pregnancy fetishist Stud <span class="trust inc">takes full advantage of</span> to deeply ingrain ${himself2} in your penthouse.`);
if (Stud.fetishStrength <= 95) {
r.push(`The opportunity <span class="fetish inc">strengthens ${his2} pregnancy fetish</span> by indulgence.`);
Stud.fetishStrength += 4;
}
} else if (Stud.fetish === "dom" && Stud.fetishKnown === 1 && Stud.fetishStrength > 60) {
r.push(`fill ${him} with child, a task your dominant Stud <span class="trust inc">carries out with glee</span> as ${he2} steadily dominates your slaves.`);
if (Stud.fetishStrength <= 95) {
r.push(`The opportunity <span class="fetish inc">strengthens ${his2} dominant tendencies</span> by indulgence.`);
Stud.fetishStrength += 4;
}
} else {
r.push(`impregnate ${him}, a task your Stud <span class="trust inc">takes pride in</span> with each and every womb ${he2} takes from you.`);
}
Stud.trust += 3;
StudRandiness = 1;
} else if (Stud.trust >= -20) {
if (Stud.fetish === "pregnancy" && Stud.fetishKnown === 1 && Stud.fetishStrength > 60) {
r.push(`fill ${him} with child, a task your pregnancy fetishist Stud <span class="trust inc">takes unwarranted pride</span> in.`);
Stud.trust += 3;
if (Stud.fetishStrength <= 95) {
r.push(`The opportunity <span class="fetish inc">strengthens ${his2} pregnancy fetish</span> by indulgence.`);
Stud.fetishStrength += 2;
}
} else if (Stud.fetish === "dom" && Stud.fetishKnown === 1 && Stud.fetishStrength > 60) {
r.push(`fill ${him} with child, a task your dominant Stud <span class="trust inc">takes unwarranted pride</span> in.`);
Stud.trust += 3;
if (Stud.fetishStrength <= 95) {
r.push(`The opportunity <span class="fetish inc">strengthens ${his2} dominant tendencies</span> by indulgence.`);
Stud.fetishStrength += 2;
}
} else {
r.push(`impregnate ${him}, a task your Stud <span class="trust inc">takes unwarranted liberties</span> in.`);
Stud.trust += 2;
}
StudRandiness = 1;
} else {
if (Stud.fetish === "pregnancy" && Stud.fetishKnown === 1 && Stud.fetishStrength > 60) {
r.push(`impregnate ${him}, a task your pregnancy fetishist Stud <span class="trust inc">warms up to</span> in spite of ${his2} fear of you.`);
Stud.trust += 1;
if (Stud.fetishStrength <= 95) {
r.push(`The opportunity <span class="fetish inc">strengthens ${his2} pregnancy fetish</span> by indulgence.`);
Stud.fetishStrength += 1;
}
StudRandiness = 1;
} else if (Stud.fetish === "masochist" && Stud.fetishKnown === 1 && Stud.fetishStrength > 60) {
r.push(`provide sperm for ${him}, a task your masochist Stud <span class="trust inc">takes advantage of</span> despite ${his2} fear of you.`);
Stud.trust += 1;
if (Stud.fetishStrength <= 95) {
r.push(`The opportunity <span class="fetish inc">strengthens ${his2} masochistic tendencies</span> by indulgence.`);
Stud.fetishStrength += 1;
}
StudRandiness = -1;
} else if (Stud.fetish === "submissive" && Stud.fetishKnown === 1 && Stud.fetishStrength > 60) {
r.push(`provide sperm for ${him}, a task your submissive Stud <span class="trust inc">warms up to</span> in spite of ${his2} fear of you.`);
Stud.trust += 1;
if (Stud.fetishStrength <= 95) {
r.push(`The opportunity <span class="fetish inc">strengthens ${his2} tendencies</span> by indulgence.`);
Stud.fetishStrength += 1;
}
StudRandiness = -1;
} else {
r.push(`impregnate ${him}, a task your Stud struggles with under ${his2} overwhelming fear of you.`);
StudRandiness = -1;
}
}
} else if (Stud.devotion <= 20) {
if (Stud.trust >= -20) {
if (Stud.fetish === "pregnancy" && Stud.fetishKnown === 1 && Stud.fetishStrength > 60) {
r.push(`impregnate ${him}, a task your pregnancy fetishist Stud takes <span class="devotion inc">hesitant pleasure</span> in.`);
Stud.devotion += 1;
if (Stud.fetishStrength <= 95) {
r.push(`The opportunity <span class="fetish inc">strengthens ${his2} pregnancy fetish</span> by indulgence.`);
Stud.fetishStrength += 2;
}
StudRandiness = 1;
} else if (Stud.fetish === "submissive" && Stud.fetishKnown === 1 && Stud.fetishStrength > 60) {
r.push(`provide sperm for ${him}, a task your submissive Stud <span class="devotion inc">enjoys</span> more than ${he2} lets on.`);
Stud.devotion += 1;
if (Stud.fetishStrength <= 95) {
r.push(`The opportunity <span class="fetish inc">strengthens ${his2} tendencies</span> by indulgence.`);
Stud.fetishStrength += 2;
}
StudRandiness = -1;
} else {
r.push(`impregnate ${him}, a task your Stud approaches with caution.`);
StudRandiness = 1;
}
} else {
if (Stud.fetish === "pregnancy" && Stud.fetishKnown === 1 && Stud.fetishStrength > 60) {
r.push(`impregnate ${him}, a task your pregnancy fetishist Stud takes some <span class="devotion inc">pleasure</span> in, despite ${his2} fears of you.`);
Stud.devotion += 1;
if (Stud.fetishStrength <= 95) {
r.push(`The opportunity <span class="fetish inc">strengthens ${his2} tendencies</span> by indulgence.`);
Stud.fetishStrength += 1;
}
} else if (Stud.fetish === "masochist" && Stud.fetishKnown === 1 && Stud.fetishStrength > 60) {
r.push(`provide sperm for ${him}, a task your masochist Stud is <span class="devotion inc">surprisingly willing</span> to complicate, despite ${his2} fear of you, in order to provoke ${him}.`);
Stud.devotion += 1;
if (Stud.fetishStrength <= 95) {
r.push(`The opportunity <span class="fetish inc">strengthens ${his2} masochistic tendencies</span> by indulgence.`);
Stud.fetishStrength += 1;
}
} else if (Stud.fetish === "submissive" && Stud.fetishKnown === 1 && Stud.fetishStrength > 60) {
r.push(`provide sperm for ${him}, a task your submissive Stud <span class="devotion inc">is more than happy</span> to allow ${him} to take responsibility of.`);
Stud.devotion += 1;
if (Stud.fetishStrength <= 95) {
r.push(`The opportunity <span class="fetish inc">strengthens ${his2} tendencies</span> by indulgence.`);
Stud.fetishStrength += 1;
}
} else {
r.push(`impregnate ${him}, a task your Stud takes seriously in fear of what will become of ${him} should ${he} fail.`);
}
StudRandiness = 1;
}
} else {
if (Stud.fetish === "pregnancy" && Stud.fetishKnown === 1 && Stud.fetishStrength > 60) {
r.push(`impregnate ${him}, a task your pregnancy fetishist Stud is <span class="devotion inc">extremely pleased</span> to take on.`);
Stud.devotion += 2;
if (Stud.fetishStrength <= 95) {
r.push(`The opportunity <span class="fetish inc">strengthens ${his2} pregnancy fetish</span> by indulgence.`);
Stud.fetishStrength += 4;
}
} else if (Stud.fetish === "dom" && Stud.fetishKnown === 1 && Stud.fetishStrength > 60) {
r.push(`fill ${him} with child, a task your dominant Stud <span class="devotion inc">enjoys the perks of.</span>`);
Stud.devotion += 2;
if (Stud.fetishStrength <= 95) {
r.push(`The opportunity <span class="fetish inc">strengthens ${his2} tendencies</span> by indulgence.`);
Stud.fetishStrength += 4;
}
} else {
r.push(`impregnate ${him}, a task your Stud approaches dutifully.`);
}
StudRandiness = 1;
}
// slave's response to the deed
if (slave.fuckdoll === 0 && slave.fetish !== "mindbroken") {
if (Stud.fuckdoll > 0) {
if (slave.career === "a dairy cow" && slave.devotion <= 20) {
r.push(`${slave.slaveName} <span class="devotion dec">is not amused</span> that ${he} is expected to use a syringe to <span class="pregnant">inseminate ${himself}.</span>`);
slave.devotion -= 2;
} else if (slave.devotion <= 20 && slave.trust >= -20) {
r.push(`${slave.slaveName} <span class="trust dec">is horrified</span> by the state of ${Stud.slaveName} and <span class="devotion dec">quite upset</span> that ${he} is being forced not only to carry ${his2} child, but to milk ${him2} and inject ${his2} cum into ${his} ${pussy} until ${he} <span class="pregnant">conceives.</span>`);
slave.trust -= 4;
slave.devotion -= 4;
} else if (slave.devotion <= 20) {
r.push(`${slave.slaveName} <span class="trust dec">is utterly horrified</span> by the state of ${Stud.slaveName} and <span class="devotion dec">has to be forced</span> <span class="pregnant">conceive ${his2} child.</span>`);
slave.trust -= 10;
slave.devotion -= 10;
} else if (slave.devotion <= 75) {
if (slave.fetish === "pregnancy" && slave.fetishKnown === 1 && slave.fetishStrength > 60) {
r.push(`${slave.slaveName}, a pregnancy fetishist, is <span class="devotion inc">very willing</span> to inject ${his2} cumshots deep into ${his} ${pussy} until ${he} <span class="pregnant">conceives.</span>`);
slave.devotion += 1;
satisfiedPregFetish = 1;
slave.need -= 10;
} else {
r.push(`${slave.slaveName} is willing to carry your Stud's child and injects ${his2} loads into ${his} ${pussy} until ${he} <span class="pregnant">conceives.</span>`);
}
} else {
if (slave.fetish === "pregnancy" && slave.fetishKnown === 1 && slave.fetishStrength > 60) {
r.push(`${slave.slaveName}, a pregnancy fetishist, <span class="devotion inc">eagerly</span> injects cumshot after cumshot into ${his} hungry ${pussy} throughout the week, <span class="pregnant">guaranteeing conception.</span>`);
slave.devotion += 1;
satisfiedPregFetish = 1;
slave.need -= 10;
} else {
r.push(`${slave.slaveName} is <span class="devotion inc">quite willing</span> to carry your Stud's child and dutifully injects ${himself} with ${his2} loads until <span class="pregnant">conception</span> is verified.`);
slave.devotion += 1;
}
}
} else if (Stud.dick === 0) {
if (slave.career === "a dairy cow" && slave.devotion <= 20) {
r.push(`${slave.slaveName} feels a need to be bred by your Stud,`);
if (StudRandiness === 1) {
r.push(`but has <span class="devotion dec">trouble coming to terms with</span> being <span class="pregnant">inseminated</span> by a mate with no dick.`);
slave.need -= 10;
StudVaginal = 1;
} else {
r.push(`but between ${his} mate's lack of a dick and having to <span class="pregnant">inseminate ${himself}</span> with a syringe, the experience <span class="devotion dec">is not very pleasant.</span>`);
}
slave.devotion -= 1;
} else if (slave.devotion <= 20 && slave.trust >= -20) {
if (StudRandiness === 1) {
r.push(`${slave.slaveName} tries to resist ${him2}, so ${Stud.slaveName} teaches ${him2} that ${he2} doesn't need a dick <span class="devotion dec">to rape the poor ${girl}</span> pregnant. ${He2} regularly ejaculating inside ${him} until <span class="pregnant">conception</span> is confirmed, <span class="trust dec">much to ${his} terror.</span>`);
slave.devotion -= 4;
slave.trust -= 4;
StudVaginal = 1;
} else {
r.push(`${slave.slaveName} finds ${Stud.slaveName} is in a similar situation as ${he} is, so ${he} tries to make it as <span class="trust inc">mutually enjoyable as possible,</span> despite the awkwardness involved, while trying ${his} best to overlook that ${Stud.slaveName} is being forced to <span class="pregnant">impregnate ${him}.</span>`);
slave.trust += 4;
slave.need = 0;
}
} else if (slave.devotion <= 20) {
if (StudRandiness === 1) {
r.push(`${slave.slaveName}, though fearfully obedient, is not happy with being bred, so ${Stud.slaveName} is forced to <span class="devotion dec">rape the poor ${girl}</span> pregnant, regularly squirting cum into ${his} ${pussy} until <span class="pregnant">conception</span> is confirmed.`);
slave.devotion -= 4;
} else {
r.push(`${slave.slaveName} finds that ${Stud.slaveName} is less than enthusiastic about fucking ${him}, <span class="devotion dec">making the resulting rape extra unpleasant</span> when ${he2} <span class="pregnant">forces a baby into ${him}.</span>`);
slave.devotion -= 6;
}
} else if (slave.devotion <= 75) {
if (slave.fetish === "pregnancy" && slave.fetishKnown === 1 && slave.fetishStrength > 60) {
r.push(`${slave.slaveName}, a pregnancy fetishist, is`);
if (StudRandiness === 1) {
r.push(`<span class="devotion inc">very willing to be bred</span> by your Stud, but never expected to be <span class="pregnant">impregnated via tribbing.</span>`);
slave.need -= 20;
StudVaginal = 1;
} else {
r.push(`<span class="devotion inc">happy to bear</span> your Stud's child by injecting ${his2} cumshots deep into ${his} ${pussy} until ${he} <span class="pregnant">conceives.</span>`);
}
slave.devotion += 1;
satisfiedPregFetish = 1;
} else {
r.push(`${slave.slaveName} is willing to carry your Stud's child and`);
if (StudRandiness === 1) {
r.push(`allows ${him2} to effectively <span class="pregnant">trib ${him} pregnant.</span>`);
slave.need -= 20;
StudVaginal = 1;
} else {
if (slave.fetish === "sadist" || slave.fetish === "dom") {
r.push(`wastes no time dealing with ${his2} issues and just harvests ${his2} sperm`);
} else {
r.push(`injects ${himself} with ${his2} loads`);
}
r.push(`until <span class="pregnant">conception</span> is verified.`);
}
}
} else {
if (slave.fetish === "pregnancy" && slave.fetishKnown === 1 && slave.fetishStrength > 60) {
r.push(`${slave.slaveName}, a pregnancy fetishist, considers carrying your Stud's child <span class="devotion inc">a dream come true,</span>`);
if (StudRandiness === 1) {
r.push(`but never expected to be <span class="pregnant">impregnated via tribbing.</span>`);
slave.need -= 20;
StudVaginal = 1;
} else {
r.push(`and injects milked cum into ${his} hungry ${pussy} daily until <span class="pregnant">conception</span> is verified.`);
}
slave.devotion += 1;
satisfiedPregFetish = 1;
} else {
r.push(`${slave.slaveName} is <span class="devotion inc">quite willing</span> to carry your Stud's child`);
if (StudRandiness === 1) {
r.push(`and tribs with ${him2} until ${he2} squirts enough sperm into ${him} to <span class="pregnant">conceive a child.</span>`);
slave.need -= 20;
StudVaginal = 1;
} else {
r.push(`and dutifully injects ${himself} with ${his2} loads until <span class="pregnant">conception</span> is verified.`);
}
slave.devotion += 1;
}
}
} else if (canAchieveErection(Stud) && Stud.dick <= 7) { // chastity is temporarily removed, so the only diff between this and canPenetrate() is if the dick actually fits
if (slave.career === "a dairy cow" && slave.devotion <= 20) {
r.push(`${slave.slaveName} feels a need to be bred by your Stud,`);
if (StudRandiness === 1) {
r.push(`and submits ${himself} to ${his} mate's virile cock`);
} else {
r.push(`and ${his} mate's unwillingness doesn't stop ${him} from forcibly riding ${his} cock`);
}
r.push(`until <span class="pregnant">conception</span> is verified.`);
slave.need -= 50;
} else if (slave.devotion <= 20 && slave.trust >= -20) {
if (StudRandiness === 1) {
r.push(`${slave.slaveName} tries to resist ${him2}, so ${Stud.slaveName} just <span class="devotion dec">rapes the poor ${girl}</span> pregnant, regularly ejaculating inside ${him} until <span class="pregnant">conception</span> is confirmed.`);
slave.devotion -= 4;
rapeAddsFlaw = 1;
} else {
r.push(`${slave.slaveName} finds ${Stud.slaveName} is in a similar situation as ${he} is, so ${he} tries to make it as <span class="trust inc">mutually enjoyable as possible,</span> despite the awkwardness involved, while trying ${his} best to overlook that ${Stud.slaveName} is being forced to <span class="pregnant">impregnate ${him}.</span>`);
slave.trust += 4;
slave.need = 0;
}
} else if (slave.devotion <= 20) {
if (StudRandiness === 1) {
r.push(`${slave.slaveName}, though fearfully obedient, is not happy with being bred, but ${Stud.slaveName} <span class="devotion dec">rapes the poor ${girl}</span> pregnant anyway, regularly ejaculating inside ${him} until <span class="pregnant">conception</span> is confirmed.`);
slave.devotion -= 4;
rapeAddsFlaw = 1;
} else {
r.push(`${slave.slaveName} finds that ${Stud.slaveName} is less than enthusiastic about fucking ${him}, <span class="devotion dec">making the resulting rape extra unpleasant</span> when ${he2} <span class="pregnant">forces a baby into ${him}.</span>`);
slave.devotion -= 6;
}
} else if (slave.devotion <= 75) {
if (slave.fetish === "pregnancy" && slave.fetishKnown === 1 && slave.fetishStrength > 60) {
r.push(`${slave.slaveName}, a pregnancy fetishist, is <span class="devotion inc">very willing to be bred</span> by your Stud, and eagerly`);
if (StudRandiness === 1) {
r.push(`takes ${his2} cock bareback`);
} else {
r.push(`rides ${him2} raw`);
}
r.push(`until <span class="pregnant">conception</span> is verified.`);
slave.devotion += 2;
satisfiedPregFetish = 1;
slave.need = 0;
} else {
r.push(`${slave.slaveName} is willing to be bred by your Stud, and`);
if (StudRandiness === 1) {
r.push(`takes ${his2} cock bareback`);
} else {
if (slave.fetish === "sadist" || slave.fetish === "dom") {
r.push(`takes ${his2} dick by force`);
} else {
r.push(`dominantly rides ${his2} cock raw`);
}
}
r.push(`until <span class="pregnant">conception</span> is verified.`);
slave.need -= 20;
}
} else {
if (slave.fetish === "pregnancy" && slave.fetishKnown === 1 && slave.fetishStrength > 60) {
r.push(`${slave.slaveName}, a pregnancy fetishist, considers getting bred by your Stud <span class="devotion inc">a dream come true,</span>`);
if (StudRandiness === 1) {
r.push(`and gets fucked bareback`);
} else {
r.push(`and rides ${him2} raw`);
}
r.push(`daily until <span class="pregnant">conception</span> is verified.`);
slave.devotion += 2;
satisfiedPregFetish = 1;
slave.need = 0;
} else {
r.push(`${slave.slaveName} is <span class="devotion inc">quite willing to be bred</span> by your Stud and`);
if (StudRandiness === 1) {
r.push(`submissively takes ${his2} cock bareback`);
} else {
if (slave.fetish === "sadist" || slave.fetish === "dom") {
r.push(`takes ${his2} dick by force`);
} else {
r.push(`dominantly rides ${his2} cock raw`);
}
}
r.push(`until <span class="pregnant">conception</span> is verified.`);
slave.devotion += 1;
slave.need -= 30;
}
}
StudPenetrative = 1;
StudTakesV = 1;
} else if (canAchieveErection(Stud)) {
if (slave.career === "a dairy cow" && slave.devotion <= 20) {
r.push(`${slave.slaveName} feels a need to be bred by your Stud, but try as ${he} might, just can't fit ${his2} massive dick inside ${his} if ${pussy}. Having to take just the tip until ${he} <span class="pregnant">conceives</span> <span class="devotion dec">isn't satisfying</span> to the ex-dairy cow.`);
slave.devotion -= 1;
StudPenetrative = 1;
StudTakesV = 1;
} else if (slave.devotion <= 20 && slave.trust >= -20) {
if (StudRandiness === 1) {
r.push(`${slave.slaveName} tries to resist ${him2}, so ${Stud.slaveName} just <span class="devotion dec">rapes the poor ${girl}</span> pregnant, regularly ejaculating inside ${him} until <span class="pregnant">conception</span> is confirmed.`);
slave.devotion -= 4;
rapeAddsFlaw = 1;
StudPenetrative = 1;
StudTakesV = 1;
} else {
r.push(`${slave.slaveName} finds ${Stud.slaveName} is in a similar situation as ${he} is, so ${he} tries to make it as <span class="trust inc">mutually enjoyable as possible,</span> despite the awkwardness involved, while trying ${his} best to overlook that ${Stud.slaveName} is being forced to <span class="pregnant">impregnate ${him}.</span>`);
slave.trust += 4;
slave.need = 0;
StudPenetrative = 1;
}
} else if (slave.devotion <= 20) {
if (StudRandiness === 1) {
r.push(`${slave.slaveName}, though fearfully obedient, is not happy with being bred, so ${Stud.slaveName} is forced to <span class="devotion dec">rape the poor ${girl}</span> pregnant, regularly squirting cum into ${his} ${pussy} until <span class="pregnant">conception</span> is confirmed.`);
slave.devotion -= 4;
} else {
r.push(`${slave.slaveName} finds that ${Stud.slaveName} is less than enthusiastic about fucking ${him}, <span class="devotion dec">making the resulting rape extra unpleasant</span> when ${he2} <span class="pregnant">forces a baby into ${him}.</span>`);
slave.devotion -= 6;
}
} else if (slave.devotion <= 75) {
if (slave.fetish === "pregnancy" && slave.fetishKnown === 1 && slave.fetishStrength > 60) {
r.push(`${slave.slaveName}, a pregnancy fetishist, is <span class="devotion inc">very willing to be bred</span> by your Stud, and eagerly`);
if (StudRandiness === 1) {
r.push(`takes ${his2} tip`);
} else {
r.push(`rides ${his2} tip`);
}
r.push(`until <span class="pregnant">conception</span> is verified.`);
slave.devotion += 2;
satisfiedPregFetish = 1;
slave.need = 0;
StudPenetrative = 1;
StudTakesV = 1;
} else {
r.push(`${slave.slaveName} is willing to be bred by your Stud, and`);
if (StudRandiness === 1) {
r.push(`takes as much of ${his2} cock bareback as ${he} can`);
slave.need -= 20;
StudPenetrative = 1;
StudTakesV = 1;
} else {
if (slave.fetish === "sadist" || slave.fetish === "dom") {
r.push(`nearly hurts ${himself} trying to fit the monster in ${his}`);
if (slave.mpreg === 1) {
r.push(`ass,`);
} else {
r.push(`pussy,`);
}
r.push(`but manages to take spurts`);
slave.need -= 10;
} else {
r.push(`pumps loads of ${his2} cum into ${his} ${pussy}`);
}
}
r.push(`until <span class="pregnant">conception</span> is verified.`);
}
} else {
if (slave.fetish === "pregnancy" && slave.fetishKnown === 1 && slave.fetishStrength > 60) {
r.push(`${slave.slaveName}, a pregnancy fetishist, considers getting bred by your Stud <span class="devotion inc">a dream come true,</span>`);
if (StudRandiness === 1) {
r.push(`and allows ${him2} to have ${his2} way with ${him}`);
} else {
r.push(`and rides ${his2} oversized dick`);
}
r.push(`daily until <span class="pregnant">conception</span> is verified.`);
slave.devotion += 2;
satisfiedPregFetish = 1;
slave.need = 0;
StudPenetrative = 1;
StudTakesV = 1;
} else {
r.push(`${slave.slaveName} is <span class="devotion inc">quite willing to be bred</span> by your Stud and`);
if (StudRandiness === 1) {
r.push(`submissively takes the tip of ${his2} cock`);
StudPenetrative = 1;
StudTakesV = 1;
} else {
if (slave.fetish === "sadist" || slave.fetish === "dom") {
r.push(`forcibly extracts cum from ${his2} massive cock`);
} else {
r.push(`dominantly milks ${his2} massive cock`);
}
}
r.push(`until <span class="pregnant">conception</span> is verified.`);
slave.devotion += 1;
slave.need -= 20;
}
}
} else {
if (slave.career === "a dairy cow" && slave.devotion <= 20) {
r.push(`${slave.slaveName} feels a need to be bred by your Stud, but try as ${he} might, just can't get ${him2} hard. Being forced to milk ${him2} and inject ${his2} seed into ${himself} until ${he} <span class="pregnant">conceives</span> <span class="devotion dec">disappoints</span> the ex-dairy cow.`);
slave.devotion -= 1;
} else if (slave.devotion <= 20 && slave.trust >= -20) {
r.push(`${slave.slaveName} finds ${Stud.slaveName} is in a similar situation as ${he} is, so the two of them work together to make the process <span class="trust inc">as painless as possible,</span> given that ${he} is <span class="pregnant">coming out of this pregnant,</span> one way or the other.`);
slave.trust += 4;
Stud.trust += 4;
} else if (slave.devotion <= 20) {
r.push(`${Stud.slaveName} shows mercy to the pitiable ${slave.slaveName}, <span class="devotion dec">building upon their mutual dislike of you.</span> ${He2} still has to <span class="pregnant">force ${him} to bear ${his2} child,</span> however.`);
slave.devotion -= 4;
Stud.devotion -= 4;
} else if (slave.devotion <= 75) {
if (slave.fetish === "pregnancy" && slave.fetishKnown === 1 && slave.fetishStrength > 60) {
r.push(`${slave.slaveName}, a pregnancy fetishist, is <span class="devotion inc">very willing</span> to milk ${him2} and inject ${his} harvest deep into ${his} ${pussy} until ${he} <span class="pregnant">conceives.</span>`);
slave.devotion += 1;
satisfiedPregFetish = 1;
} else {
r.push(`${slave.slaveName} is willing to carry your Stud's child and milks loads into ${his} ${pussy} until ${he} <span class="pregnant">conceives.</span>`);
}
} else {
if (slave.fetish === "pregnancy" && slave.fetishKnown === 1 && slave.fetishStrength > 60) {
r.push(`${slave.slaveName}, a pregnancy fetishist, <span class="devotion inc">eagerly</span> milks cumshot after cumshot into ${his} hungry ${pussy} throughout the week, <span class="pregnant">guaranteeing conception.</span>`);
slave.devotion += 1;
satisfiedPregFetish = 1;
} else {
r.push(`${slave.slaveName} is <span class="devotion inc">quite willing</span> to carry your Stud's child and dutifully milks loads from ${him2} until <span class="pregnant">conception</span> is verified.`);
slave.devotion += 1;
}
}
}
} else {
slave.need -= 30;
}
if (satisfiedPregFetish) {
if (slave.fetishStrength <= 95) {
r.push(`Such total satisfaction of ${his} pregnancy fantasies <span class="fetish inc">strengthens ${his} fetish.</span>`);
slave.fetishStrength += 4;
}
}
if (rapeAddsFlaw) {
if (slave.sexualFlaw === "none") {
r.push(`This unpleasant interlude leaves ${him} <span class="flaw gain">hating penetration</span> of ${his} violated`);
if (slave.mpreg === 1) {
r.push(`anus.`);
slave.sexualFlaw = "hates anal";
} else {
r.push(`pussy.`);
slave.sexualFlaw = "hates penetration";
}
}
}
slave.preg = 1;
slave.pregSource = V.StudID;
slave.pregWeek = 1;
slave.pregKnown = 1;
App.EndWeek.saVars.StudCum -= 1;
slave.pregType = setPregType(slave);
WombImpregnate(slave, slave.pregType, V.StudID, 1);
if (StudPenetrative) {
seX(slave, "anal", Stud, "penetrative", 10);
seX(slave, "vaginal", Stud, "penetrative", 10);
if (StudTakesV) { // Stud may not actually take virginity
if (slave.mpreg === 1) {
if (slave.anus === 0) {
r.push(`${Stud.slaveName} <span class="virginity loss">took ${slave.slaveName}'s virginity</span> during the affair.`);
slave.anus++;
}
} else {
if (slave.vagina === 0) {
r.push(`${Stud.slaveName} <span class="virginity loss">took ${slave.slaveName}'s virginity</span> during the affair.`);
slave.vagina++;
}
}
}
}
if (StudVaginal) {
seX(Stud, "vaginal", slave, slave.mpreg === 1 ? "anal" : "vaginal", 10);
}
}
} else if (conceptionSeed > (50 - (V.reproductionFormula * 10))) {
switch (slave.assignment) {
case "rest":
case "stay confined":
case "be confined in the cellblock":
/* these assignments are safe from random impregnation */
break;
case "be your Concubine":
if (slave.fuckdoll === 0 && slave.fetish !== "mindbroken" && canImpreg(slave, V.PC)) {
r.push(`As your concubine, ${he} takes care to only share ${his} fertile`);
if (slave.mpreg === 1) {
r.push(`ass`);
} else {
r.push(`pussy`);
}
r.push(`with you. ${His} efforts paid off; <span class="pregnant">${he} has become pregnant with your child.</span>`);
slave.preg = 1;
slave.pregSource = -1;
slave.pregWeek = 1;
slave.pregKnown = 1;
slave.pregType = setPregType(slave);
WombImpregnate(slave, slave.pregType, -1, 1);
}
break;
case "serve in the master suite":
if (canImpreg(slave, V.PC) && ((slave.toyHole === "all her holes" && slave.mpreg !== 1 && slave.vagina > 0) || (slave.toyHole === "all her holes" && slave.mpreg === 1 && slave.anus > 0) || (slave.toyHole === "pussy" && slave.mpreg !== 1) || (slave.mpreg === 1 && slave.toyHole === "ass"))) {
r.push(`You frequently avail yourself to ${his} fertile`);
if (slave.mpreg === 1) {
r.push(`ass.`);
} else {
r.push(`pussy.`);
}
r.push(`It's no surprise when <span class="pregnant">${he} ends up pregnant with your child.</span>`);
slave.preg = 1;
slave.pregSource = -1;
slave.pregWeek = 1;
slave.pregKnown = 1;
slave.pregType = setPregType(slave);
WombImpregnate(slave, slave.pregType, -1, 1);
} else { // look for a random father among master suite slaves
const msSlaves = V.slaves.filter((s) => s.assignment === "serve in the master suite").shuffle();
for (const msSlave of msSlaves) {
if (canImpreg(slave, msSlave) && App.Utils.sexAllowed(slave, msSlave)) {
/* catch for self-impregnation */
if (slave.ID === msSlave.ID) {
if (conceptionSeed <= 95) {
continue; /* 95% chance not to self-impregnate */
}
}
/* found eligible father */
r.push(`After all the unprotected sex ${he} had this week, it's really no surprise when <span class="pregnant">${he} ends up pregnant.</span>`);
slave.preg = 1;
slave.pregSource = msSlave.ID;
slave.pregWeek = 1;
slave.pregKnown = 1;
slave.pregType = setPregType(slave);
WombImpregnate(slave, slave.pregType, slave.pregSource, 1);
break;
}
}
}
break;
case "please you":
if (canImpreg(slave, V.PC) && ((slave.toyHole === "all her holes" && slave.mpreg !== 1 && slave.vagina > 0) || (slave.toyHole === "all her holes" && slave.mpreg === 1 && slave.anus > 0) || (slave.toyHole === "pussy" && slave.mpreg !== 1) || (slave.mpreg === 1 && slave.toyHole === "ass"))) {
r.push(`You frequently avail yourself to ${his} fertile`);
if (slave.mpreg === 1) {
r.push(`ass.`);
} else {
r.push(`pussy.`);
}
r.push(`It's no surprise when <span class="pregnant">${he} ends up pregnant with your child.</span>`);
slave.preg = 1;
slave.pregSource = -1;
slave.pregWeek = 1;
slave.pregKnown = 1;
slave.pregType = setPregType(slave);
WombImpregnate(slave, slave.pregType, -1, 1);
}
break;
case "serve in the club":
case "serve the public":
case "whore":
case "work in the brothel":
if (slave.eggType === "human") {
r.push(`Due to all the citizens cumming in ${his} fertile`);
if (slave.mpreg === 1) {
r.push(`ass,`);
} else {
r.push(`pussy,`);
}
r.push(`<span class="pregnant">${he} has become pregnant.</span>`);
slave.preg = 1;
slave.pregSource = -2;
slave.pregWeek = 1;
slave.pregKnown = 1;
slave.pregType = setPregType(slave);
WombImpregnate(slave, slave.pregType, -2, 1);
}
break;
case "work a glory hole":
case "be confined in the arcade":
if (slave.eggType === "human") {
r.push(`Due to all the customers cumming in ${his} fertile, restrained`);
if (slave.mpreg === 1) {
r.push(`ass,`);
} else {
r.push(`pussy,`);
}
r.push(`<span class="pregnant">${he} has become pregnant.</span>`);
slave.preg = 1;
slave.pregSource = -2;
slave.pregWeek = 1;
slave.pregKnown = 1;
slave.pregType = setPregType(slave);
WombImpregnate(slave, slave.pregType, -2, 1);
}
break;
default: /* random impregnation chance on other assignments - consider relationships first */
if (App.Utils.hasNonassignmentSex(slave) || slave.devotion <= 50) {
if (conceptionSeed > 80 && ((slave.counter.vaginal > 0) || (slave.counter.anal > 0 && slave.mpreg > 0))) { /* TODO: compare to previous week totals? */
const tempLover = slave.relationship > 2 ? getSlave(slave.relationshipTarget) : null;
const tempRival = slave.rivalry > 2 ? getSlave(slave.rivalryTarget) : null;
const tempSub = slave.assignment === Job.SUBORDINATE && slave.subTarget > 0 ? getSlave(slave.subTarget) : null;
if (((slave.relationship === -3) || (slave.relationship === -2)) && canImpreg(slave, V.PC) && App.Utils.sexAllowed(slave, V.PC)) {
slave.pregSource = -1;
} else if (tempLover && canImpreg(slave, tempLover)) { /* erection not needed for impregnation via consensual sex play (FWB or better) */
if (App.Utils.sexAllowed(slave, tempLover)) {
slave.pregSource = tempLover.ID;
} else if (disobedience(slave) + disobedience(tempLover) + 5 > random(0, 100)) { /* note higher than normal disobedience chance...telling lovers they can't play is just asking for trouble */
r.push(`Although sexual contact between them is forbidden, ${slave.slaveName} and ${his} ${relationshipTerm(slave)} ${tempLover.slaveName} took a risk and <span class="trust dec">flaunted the rules.</span>`);
slave.trust -= 5;
tempLover.trust -= 5;
slave.pregSource = tempLover.ID;
}
} else if (tempSub && canAchieveErection(tempSub) && canImpreg(slave, tempSub)) { /* subordinate must have erection to impregnate target */
slave.pregSource = tempSub.ID;
} else if (random(1, 100) > 95 && tempRival && canAchieveErection(tempRival) && canImpreg(slave, tempRival)) { /* 5% chance to be raped and knocked up by bitter rival - erection needed */
if (App.Utils.sexAllowed(slave, tempRival)) {
r.push(`Driven by the bitter rivalry between them, ${tempRival.slaveName} successfully manages to overpower ${slave.slaveName} and rape ${him}, cumming deep in ${his} fertile`);
if (slave.mpreg === 1) {
r.push(`ass.`);
} else {
r.push(`pussy.`);
}
r.push(`By the end of the week, ${slave.slaveName} is vowing revenge as ${he} regains confidence.`);
slave.pregSource = tempRival.ID;
} else if (disobedience(tempRival) > random(0, 100)) {
r.push(`Driven by the bitter rivalry between them, ${tempRival.slaveName} <span class="trust dec">breaks the rules,</span> successfully overpowering ${slave.slaveName} and raping ${him}, cumming deep in ${his} fertile`);
if (slave.mpreg === 1) {
r.push(`ass.`);
} else {
r.push(`pussy.`);
}
slave.trust -= 5;
slave.pregSource = tempRival.ID;
}
} else if (random(1, 100) > 60 && canImpreg(slave, V.PC) && App.Utils.sexAllowed(slave, V.PC)) { /* still 40% chance of impregnation by PC */
slave.pregSource = -1;
} else if (random(1, 100) > 95 && slave.eggType === "human" && slave.devotion <= 20) { /* 5% chance of impregnation by random citizen - TODO: make this optional for players who want random fathers from among their own slaves only */
slave.pregSource = -2;
} else {
const potentialFathers = V.slaves.filter(s => canImpreg(slave, s)).shuffle();
const motherDisobeys = disobedience(slave) > random(0, 100);
for (const father of potentialFathers) {
if (father.ID === slave.ID) { /* self-impregnation check */
if (conceptionSeed <= 5) { /* 95% chance not to self-impregnate */
slave.pregSource = slave.ID;
break;
}
} else if (App.Utils.sexAllowed(slave, father)) {
slave.pregSource = father.ID; /* this is an eligible father */
break;
} else if (motherDisobeys && (V.universalRulesConsent === 0 || disobedience(father) > random(0, 50))) {
r.push(`Although sexual contact between them is forbidden, ${slave.slaveName} <span class="trust dec">breaks the rules</span> by`);
if (V.universalRulesConsent === 0) {
r.push(`compelling`);
} else {
r.push(`convincing`);
}
r.push(`${father.slaveName} to fuck ${him}.`);
slave.trust -= 5;
slave.pregSource = father.ID;
break;
}
}
}
}
if (slave.pregSource !== 0 && slave.eggType === "human") {
r.push(`A quick scan after a bout of morning nausea reveals that <span class="pregnant">${he} has become pregnant.</span>`);
slave.preg = 1;
slave.pregWeek = 1;
slave.pregKnown = 1;
slave.pregType = setPregType(slave);
WombImpregnate(slave, slave.pregType, slave.pregSource, 1);
}
} /* closes random chance and non-zero sex acts check */
} /* closes assignment checks */
} /* closes all impregnation checks */
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function autoImpregnation(slave) {
knockMeUp(slave, 100, 2, slave.ID, true);
if (slave.geneticQuirks.superfetation === 2 && slave.pregKnown === 1) {
if (V.geneticMappingUpgrade !== 0) {
r.push(`${He} experiences frequent spontaneous orgasms from ${his} asexual reproduction modification despite already being pregnant.`);
} else {
r.push(`Since ${he} is fertile and pregnant, the frequent orgasms caused by ${his} asexual reproduction modifications eventually force <span class="pregnant">another child into ${his} increasingly crowded womb.</span>`);
}
} else {
r.push(`Since ${he} is fertile and still not pregnant, the frequent orgasms caused by ${his} asexual reproduction modifications eventually leave ${him} <span class="pregnant">pregnant with ${his} own child.</span>`);
slave.pregKnown = 1;
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function pregnancySanityCheck(slave) { // PREGNANCY TYPE SANITY CHECK (not for pregnancies started above)
if (slave.preg <= 0) {
if (slave.pregType !== 0) {
WombFlush(slave);
}
} else if (slave.preg > 0 && slave.pregType === 0) {
slave.pregType = setPregType(slave);
WombImpregnate(slave, slave.pregType, slave.pregSource, 1);
}
if (slave.readyOva !== 0) {
slave.readyOva = 0;
}
}
})();
|
MonsterMate/fc
|
src/endWeek/saPregnancy.js
|
JavaScript
|
mit
| 96,386
|
App.SlaveAssignment.recruitGirls = (function() {
"use strict";
let r;
// eslint-disable-next-line no-unused-vars
let he, him, his, hers, himself, girl, woman, women, loli, He, His;
let idleTarget;
let arcology;
let targetArcology;
let slaveInt;
return recruitGirls;
/**
* @param {App.Entity.SlaveState} slave
* @returns {string}
*/
function recruitGirls(slave) {
r = [];
arcology = V.arcologies[0];
targetArcology = V.arcologies.find((s) => s.direction === arcology.influenceTarget);
slaveInt = slave.intelligence + slave.intelligenceImplant;
({
// eslint-disable-next-line no-unused-vars
he, him, his, hers, himself, girl, woman, women, He, His, loli
} = getPronouns(slave));
calcIdleTarget(slave);
physicalAdjustments(slave);
if (slave.health.tired > 80) {
tooTired(slave);
} else if (V.recruiterTarget === "other arcologies") {
influenceNeighbor(slave);
} else if (V.slaves.length < idleTarget) {
recruiting(slave);
} else {
idlePublicity(slave);
}
return r.join(" ");
}
/** Get club ads bonus for Edo Revivalist recruitment
* @returns {number}
*/
function getClubAdsBonus() {
let seed = 0;
const sluts = App.Entity.facilities.club.employees();
if (V.clubDecoration !== "standard" && sluts.length > 1) {
const adMgr = new App.Ads.AdManager("club");
sluts.forEach((s) => adMgr.tallySlave(s));
for (const cat of App.Ads.getAllCategories()) {
// protip: spend money on *accurate* ads, whether or not they match societal preferences
if (adMgr.varietyBonus(cat) === 1 || adMgr.slavesMatchAds(cat)) {
seed++;
}
}
}
return seed;
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function calcIdleTarget(slave) {
/* Note on target sum: HG and Recruiter are the initial 2 counted (no facility req'd), while HGSuite counts the HG's girl, other facilities count associated leader */
if (V.recruiterIdleRule === "number") {
idleTarget = V.recruiterIdleNumber;
} else if (V.recruiterIdleRule === "facility") {
idleTarget = (2 + V.brothel + V.club + V.arcade + V.dairy + V.servantsQuarters + V.masterSuite);
if (V.HGSuite) {
idleTarget++;
}
if (V.dojo) {
idleTarget++;
}
if (V.brothel) {
idleTarget++;
}
if (V.club) {
idleTarget++;
}
if (V.dairy && V.dairyRestraintsSetting < 2) {
idleTarget++;
}
if (V.farmyard) {
idleTarget++;
}
if (V.servantsQuarters) {
idleTarget++;
}
if (V.masterSuite) {
idleTarget++;
}
if (V.schoolroom) {
idleTarget++;
}
if (V.spa) {
idleTarget++;
}
if (V.nursery) {
idleTarget++;
}
if (V.clinic) {
idleTarget++;
}
if (V.cellblock) {
idleTarget++;
}
idleTarget = Math.max(idleTarget, 20);
} else {
idleTarget = Infinity;
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function physicalAdjustments(slave) {
if (slave.lactation && arcology.FSPastoralist !== "unset") {
slave.lactationDuration = 2;
slave.boobs -= slave.boobsMilk;
slave.boobsMilk = 0;
}
tired(slave);
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function tooTired(slave) {
r.push(`uses the week to recover from fatigue and`);
if (V.recruiterTarget === "other arcologies") {
if (targetArcology !== undefined) {
r.push(`better prepare to manipulate ${targetArcology.name}'s culture.`);
} else {
r.push(`realize that you have not targeted a neighboring arcology for cultural influence, making ${his} assignment pointless.`);
if (V.oldRecruiterTarget) {
V.recruiterTarget = clone(V.oldRecruiterTarget);
r.push(`<span class="noteworthy">${He} goes back to recruiting ${V.recruiterTarget}.</span>`);
delete V.oldRecruiterTarget;
}
}
} else if (V.slaves.length < idleTarget) {
r.push(`better prepare to manipulate ${V.recruiterTarget} into enslavement.`);
} else {
r.push(`prepare methods to better support your cultural directions.`);
}
V.recruiterIOUs++;
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function influenceNeighbor(slave) {
let influenced = 0;
if (targetArcology !== undefined) {
r.push(`acts as a sexual Ambassador to ${targetArcology.name}, which mostly means that ${he} travels there in ${his} official capacity and has culturally influential sex with its leading citizens.`);
const oldRepIncome = hashSum(V.lastWeeksRepIncome);
r.push(App.SlaveAssignment.serveThePublic(slave));
const netRecruiterEntertainmentIncome = hashSum(V.lastWeeksRepIncome) - oldRepIncome;
const influence = Math.clamp(netRecruiterEntertainmentIncome * 0.01, 1, 3 + V.recruiterIOUs);
V.recruiterIOUs = 0;
if (arcology.FSSubjugationist !== "unset") {
if (targetArcology.FSSubjugationist !== "unset") {
if (arcology.FSSubjugationistRace === targetArcology.FSSubjugationistRace) {
r.push(`${He} advances its racially aligned`);
if (slave.race === targetArcology.FSSubjugationistRace) {
r.push(`Subjugationism, which ${he}'s very appropriate for, since ${he}'s a ${slave.race} slave ${himself}.`);
targetArcology.FSSubjugationist++;
} else {
r.push(`Subjugationism.`);
}
targetArcology.FSSubjugationist += influence;
} else {
r.push(`${He} challenges its racially mismatched`);
if (slave.race !== targetArcology.FSSubjugationistRace) {
r.push(`Subjugationism, which ${he}'s very appropriate for, since ${he}'s a ${slave.race} slave.`);
targetArcology.FSSubjugationist--;
} else {
r.push(`Subjugationism.`);
}
targetArcology.FSSubjugationist -= influence;
}
} else if (targetArcology.FSSupremacist !== "unset" && arcology.FSSubjugationistRace === targetArcology.FSSupremacistRace) {
r.push(`${He} challenges its opposing`);
if (slave.race === targetArcology.FSSubjugationistRace) {
r.push(`Supremacism, which ${he}'s very appropriate for, since ${he}'s a ${slave.race} slave ${himself}.`);
targetArcology.FSSupremacist--;
} else {
r.push(`Supremacism.`);
}
targetArcology.FSSupremacist -= influence;
}
}
if (arcology.FSSupremacist !== "unset") {
if (targetArcology.FSSupremacist !== "unset") {
if (arcology.FSSupremacistRace === targetArcology.FSSupremacistRace) {
r.push(`${He} advances its racially aligned`);
if (slave.race !== targetArcology.FSSupremacistRace) {
r.push(`Supremacism, which ${he}'s very appropriate for, since ${he}'s a ${slave.race} slave ${himself}.`);
targetArcology.FSSupremacist++;
} else {
r.push(`Supremacism.`);
}
targetArcology.FSSupremacist += influence;
} else {
r.push(`${He} challenges its racially mismatched`);
if (slave.race === targetArcology.FSSupremacistRace) {
r.push(`Supremacism, which ${he}'s very appropriate for, since ${he}'s a ${slave.race} slave.`);
targetArcology.FSSupremacist--;
} else {
r.push(`Supremacism.`);
}
targetArcology.FSSupremacist -= influence;
}
} else if (targetArcology.FSSubjugationist !== "unset" && arcology.FSSupremacistRace === targetArcology.FSSubjugationistRace) {
r.push(`${He} challenges its opposing`);
if (slave.race !== targetArcology.FSSupremacistRace) {
r.push(`Subjugationism, which ${he}'s very appropriate for, since ${he}'s a ${slave.race} slave ${himself}.`);
targetArcology.FSSubjugationist--;
} else {
r.push(`Subjugationism.`);
}
targetArcology.FSSubjugationist -= influence;
}
}
if (arcology.FSGenderRadicalist !== "unset") {
if (targetArcology.FSGenderRadicalist !== "unset") {
r.push(`${He} advances Gender Radicalism there by fucking and getting fucked by anyone who's`);
if (canDoAnal(slave) && canPenetrate(slave)) {
r.push(`willing, which ${he}'s perfect for, since ${he}'s quite capable of cumming from`);
if (slave.prostate > 0) {
r.push(`prostate stimulation`);
} else {
r.push(`anal sex`);
}
r.push(`while fucking someone in the ass.`);
targetArcology.FSGenderRadicalist++;
} else {
r.push(`willing.`);
}
targetArcology.FSGenderRadicalist += influence;
} else if (targetArcology.FSGenderFundamentalist !== "unset") {
r.push(`${He} challenges Gender Fundamentalism there by fucking and getting fucked by anyone who's`);
if (canDoAnal(slave) && canPenetrate(slave)) {
r.push(`willing, which ${he}'s perfect for, since ${he}'s quite capable of cumming from`);
if (slave.prostate > 0) {
r.push(`prostate stimulation`);
} else {
r.push(`anal sex`);
}
r.push(`while fucking someone in the ass.`);
targetArcology.FSGenderFundamentalist--;
} else {
r.push(`willing.`);
}
targetArcology.FSGenderFundamentalist -= influence;
}
} else if (arcology.FSGenderFundamentalist !== "unset") {
if (targetArcology.FSGenderFundamentalist !== "unset") {
r.push(`${He} advances Gender Fundamentalism there by being a wholesome, romantic`);
if (slave.genes === "XX" && slave.vagina > -1 && !slave.dick && !slave.scrotum) {
r.push(`${girl}, which ${he}'s perfect for, since ${he}'s a proper ${woman} with a body meant for missionary.`);
targetArcology.FSGenderFundamentalist++;
} else {
r.push(`${girl}.`);
}
targetArcology.FSGenderFundamentalist += influence;
} else if (targetArcology.FSGenderRadicalist !== "unset") {
r.push(`${He} challenges Gender Radicalism there by being a wholesome, romantic`);
if (slave.genes === "XX" && slave.vagina > -1 && !slave.dick && !slave.scrotum) {
r.push(`${girl}, which ${he}'s perfect for, since ${he}'s a proper ${woman} with a body meant for missionary.`);
targetArcology.FSGenderRadicalist--;
} else {
r.push(`${girl}.`);
}
targetArcology.FSGenderRadicalist -= influence;
}
}
if (arcology.FSPaternalist !== "unset") {
if (targetArcology.FSPaternalist !== "unset") {
r.push(`${He} advances Paternalism there by ${his} enthusiasm for sexual`);
if (slave.energy > 95 && slave.trust > 50) {
r.push(`slavery, which ${he}'s perfect for, since ${he}'s a trusting nymphomaniac who couldn't possibly find happiness as anything other than a sex slave.`);
targetArcology.FSPaternalist++;
} else {
r.push(`slavery.`);
}
targetArcology.FSPaternalist += influence;
} else if (targetArcology.FSDegradationist !== "unset") {
r.push(`${He} challenges Degradationism there by ${his} enthusiasm for sexual`);
if (slave.energy > 95 && slave.trust > 50) {
r.push(`slavery, which ${he}'s perfect for, since ${he}'s a trusting nymphomaniac who couldn't possibly find happiness as anything other than a sex slave.`);
targetArcology.FSDegradationist--;
} else {
r.push(`slavery.`);
}
targetArcology.FSDegradationist -= influence;
}
} else if (arcology.FSDegradationist !== "unset") {
if (targetArcology.FSDegradationist !== "unset") {
r.push(`${He} advances Degradationism there by submitting to public use in the most degrading`);
if (slave.energy > 95 && slave.trust < -50) {
r.push(`ways, which ${he}'s perfect for, since ${he}'s a frightened nymphomaniac for whom fear is an essential ingredient in the sexual release ${he} craves.`);
targetArcology.FSDegradationist++;
} else {
r.push(`ways.`);
}
targetArcology.FSDegradationist += influence;
} else if (targetArcology.FSPaternalist !== "unset") {
r.push(`${He} challenges Paternalism there by submitting to public use in the most degrading`);
if (slave.energy > 95 && slave.trust < -50) {
r.push(`ways, which ${he}'s perfect for, since ${he}'s a frightened nymphomaniac for whom fear is an essential ingredient in the sexual release ${he} craves.`);
targetArcology.FSPaternalist--;
} else {
r.push(`ways.`);
}
targetArcology.FSPaternalist -= influence;
}
}
if (arcology.FSIntellectualDependency !== "unset") {
if (targetArcology.FSIntellectualDependency !== "unset") {
r.push(`${He} advances Intellectual Dependency there by being an insatiable`);
if (slave.energy > 95 && slave.attrXX > 95 && slave.attrXY > 95) {
r.push(`party ${girl}, which ${he}'s perfect for, since there's little ${he} won't make out with.`);
targetArcology.FSIntellectualDependency++;
} else {
r.push(`party ${girl}.`);
}
targetArcology.FSIntellectualDependency += influence;
} else if (targetArcology.FSSlaveProfessionalism !== "unset") {
r.push(`${He} challenges Slave Professionalism there by being an insatiable`);
if (slave.energy > 95 && slave.attrXX > 95 && slave.attrXY > 95) {
r.push(`party ${girl}, which ${he}'s perfect for, since there's little ${he} won't make out with.`);
targetArcology.FSSlaveProfessionalism--;
} else {
r.push(`party ${girl}.`);
}
targetArcology.FSSlaveProfessionalism -= influence;
}
} else if (arcology.FSSlaveProfessionalism !== "unset") {
if (targetArcology.FSSlaveProfessionalism !== "unset") {
r.push(`${He} advances Slave Professionalism there by demonstrating new techniques for the local slaves to`);
if (slaveInt > 95) {
r.push(`learn, which ${he}'s perfect for, since ${he}'s brilliant enough to pass ${his} knowledge to anyone willing to listen.`);
targetArcology.FSSlaveProfessionalism++;
} else {
r.push(`learn.`);
}
targetArcology.FSSlaveProfessionalism += influence;
} else if (targetArcology.FSIntellectualDependency !== "unset") {
r.push(`${He} challenges Intellectual Dependency there by demonstrating new techniques for the local slaves to`);
if (slaveInt > 95) {
r.push(`learn, which ${he}'s perfect for, since ${he}'s brilliant enough to pass ${his} knowledge to anyone willing to listen.`);
targetArcology.FSIntellectualDependency--;
} else {
r.push(`learn.`);
}
targetArcology.FSIntellectualDependency -= influence;
}
}
if (arcology.FSBodyPurist !== "unset") {
if (targetArcology.FSBodyPurist !== "unset") {
r.push(`${He} advances Body Purism there with a lot of unadorned public`);
if (isPure(slave)) {
r.push(`nudity, which ${he}'s perfect for, since ${he}'s an all-natural beauty.`);
targetArcology.FSBodyPurist++;
} else {
r.push(`nudity.`);
}
targetArcology.FSBodyPurist += influence;
} else if (targetArcology.FSTransformationFetishist !== "unset") {
r.push(`${He} challenges Transformation Fetishism there with a lot of unadorned public`);
if (isPure(slave)) {
r.push(`nudity, which ${he}'s perfect for, since ${he}'s an all-natural beauty.`);
targetArcology.FSTransformationFetishist--;
} else {
r.push(`nudity.`);
}
targetArcology.FSTransformationFetishist -= influence;
}
} else if (arcology.FSTransformationFetishist !== "unset") {
if (targetArcology.FSTransformationFetishist !== "unset") {
r.push(`${He} advances Transformation Fetishism there with a lot of slutty public`);
if (isSurgicallyImproved(slave)) {
r.push(`nudity, which ${he}'s perfect for, since ${he}'s a whorish sex doll full of plastic.`);
targetArcology.FSTransformationFetishist++;
} else {
r.push(`nudity.`);
}
targetArcology.FSTransformationFetishist += influence;
} else if (targetArcology.FSBodyPurist !== "unset") {
r.push(`${He} challenges Body Purism there with a lot of slutty public`);
if (isSurgicallyImproved(slave)) {
r.push(`nudity, which ${he}'s perfect for, since ${he}'s a whorish sex doll full of plastic.`);
targetArcology.FSBodyPurist--;
} else {
r.push(`nudity.`);
}
targetArcology.FSBodyPurist -= influence;
}
}
if (arcology.FSYouthPreferentialist !== "unset") {
if (targetArcology.FSYouthPreferentialist !== "unset") {
r.push(`${He} advances Youth Preferentialism there by showing favoritism to younger`);
if (slave.visualAge < 25) {
r.push(`suitors, and by being nice and young ${himself}, appropriately enough.`);
targetArcology.FSYouthPreferentialist++;
} else {
r.push(`suitors.`);
}
targetArcology.FSYouthPreferentialist += influence;
} else if (targetArcology.FSMaturityPreferentialist !== "unset") {
r.push(`${He} challenges Maturity Preferentialism there by showing favoritism to younger`);
if (slave.visualAge < 25) {
r.push(`suitors, and by being nice and young ${himself}, appropriately enough.`);
targetArcology.FSMaturityPreferentialist--;
} else {
r.push(`suitors.`);
}
targetArcology.FSMaturityPreferentialist -= influence;
}
} else if (arcology.FSMaturityPreferentialist !== "unset") {
if (targetArcology.FSMaturityPreferentialist !== "unset") {
r.push(`${He} advances Maturity Preferentialism there by showing favoritism to more mature`);
if (slave.visualAge > 35) {
r.push(`suitors, and by being a MILF ${himself}, appropriately enough.`);
targetArcology.FSMaturityPreferentialist++;
} else {
r.push(`suitors.`);
}
targetArcology.FSMaturityPreferentialist += influence;
} else if (targetArcology.FSYouthPreferentialist !== "unset") {
r.push(`${He} challenges Youth Preferentialism there by showing favoritism to more mature`);
if (slave.visualAge > 35) {
r.push(`suitors, and by being a MILF ${himself}, appropriately enough.`);
targetArcology.FSYouthPreferentialist--;
} else {
r.push(`suitors.`);
}
targetArcology.FSYouthPreferentialist -= influence;
}
}
if (arcology.FSPetiteAdmiration !== "unset") {
if (targetArcology.FSPetiteAdmiration !== "unset") {
r.push(`${He} advances Petite Admiration there by showing favoritism to much taller`);
if (heightPass(slave)) {
r.push(`suitors, and by being adorably short ${himself}, appropriately enough.`);
targetArcology.FSPetiteAdmiration++;
} else {
r.push(`suitors.`);
}
targetArcology.FSPetiteAdmiration += influence;
} else if (targetArcology.FSStatuesqueGlorification !== "unset") {
r.push(`${He} challenges Statuesque Glorification there by showing favoritism to much taller`);
if (slave.visualAge < 25) {
r.push(`suitors, and by being short ${himself}, further pushing the size gap.`);
targetArcology.FSStatuesqueGlorification--;
} else {
r.push(`suitors.`);
}
targetArcology.FSStatuesqueGlorification -= influence;
}
} else if (arcology.FSStatuesqueGlorification !== "unset") {
if (targetArcology.FSStatuesqueGlorification !== "unset") {
r.push(`${He} advances Statuesque Glorification there by showing favoritism to tall`);
if (heightPass(slave)) {
r.push(`suitors, and by being tall ${himself}, appropriately enough.`);
targetArcology.FSStatuesqueGlorification++;
} else {
r.push(`suitors.`);
}
targetArcology.FSStatuesqueGlorification += influence;
} else if (targetArcology.FSPetiteAdmiration !== "unset") {
r.push(`${He} challenges Petite Admiration there by showing favoritism to tall`);
if (heightPass(slave)) {
r.push(`suitors, and by being tall ${himself}, appropriately enough.`);
targetArcology.FSPetiteAdmiration--;
} else {
r.push(`suitors.`);
}
targetArcology.FSPetiteAdmiration -= influence;
}
}
if (arcology.FSSlimnessEnthusiast !== "unset") {
if (targetArcology.FSSlimnessEnthusiast !== "unset") {
r.push(`${He} advances Slimness Enthusiasm there by showing ${his} appreciation for lithe, graceful`);
if (slave.boobs < 500 && slave.butt < 3) {
r.push(`partners, and by being a lissome waif ${himself}.`);
targetArcology.FSSlimnessEnthusiast++;
} else {
r.push(`partners.`);
}
targetArcology.FSSlimnessEnthusiast += influence;
} else if (targetArcology.FSAssetExpansionist !== "unset") {
r.push(`${He} challenges Asset Expansionism there by showing ${his} appreciation for lithe, graceful`);
if (slave.boobs < 500 && slave.butt < 3) {
r.push(`partners, and by being a lissome waif ${himself}.`);
targetArcology.FSAssetExpansionist--;
} else {
r.push(`partners.`);
}
targetArcology.FSAssetExpansionist -= influence;
}
} else if (arcology.FSAssetExpansionist !== "unset") {
if (targetArcology.FSAssetExpansionist !== "unset") {
r.push(`${He} advances Asset Expansionism there by showing ${his} appreciation for partners with healthy helpings of tits and`);
if (slave.butt > 4 && slave.boobs > 800) {
r.push(`ass, and by being deliciously stacked ${himself}.`);
targetArcology.FSAssetExpansionist++;
} else {
r.push(`ass.`);
}
targetArcology.FSAssetExpansionist += influence;
} else if (targetArcology.FSSlimnessEnthusiast !== "unset") {
r.push(`${He} challenges Slimness Enthusiasm there by showing ${his} appreciation for partners with healthy helpings of tits and`);
if (slave.butt > 4 && slave.boobs > 800) {
r.push(`ass, and by being deliciously stacked ${himself}.`);
targetArcology.FSSlimnessEnthusiast--;
} else {
r.push(`ass.`);
}
targetArcology.FSSlimnessEnthusiast -= influence;
}
}
if (arcology.FSPastoralist !== "unset") {
if (targetArcology.FSPastoralist !== "unset") {
r.push(`${He} advances Pastoralism there by drinking a lot of milk, as lasciviously as`);
if (slave.lactation) {
r.push(`possible, and by not milking ${himself} at all, thereby causing ${his} tits to jet cream during intercourse, while ${he} moves, or for no reason at all.`);
targetArcology.FSPastoralist++;
} else {
r.push(`possible.`);
}
targetArcology.FSPastoralist += influence;
} else if (targetArcology.FSCummunism !== "unset") {
r.push(`${He} challenges Cummunism there by drinking a lot of milk, as lasciviously as`);
if (slave.lactation) {
r.push(`possible, and by not milking ${himself} at all, thereby causing ${his} tits to jet cream during intercourse, while ${he} moves, or for no reason at all.`);
targetArcology.FSCummunism--;
} else {
r.push(`possible.`);
}
targetArcology.FSCummunism -= influence;
}
}
if (arcology.FSPhysicalIdealist !== "unset") {
if (targetArcology.FSPhysicalIdealist !== "unset") {
r.push(`${He} advances Physical Idealism there by working out in`);
if (slave.muscles >= 50 && arcology.FSPhysicalIdealistLaw === 0) {
r.push(`public, having physically challenging sex in public, and improving ${his} already impressive musculature in a publicly documented journey of self-improvement.`);
targetArcology.FSPhysicalIdealist++;
} else if (slave.muscles >= 20 && slave.muscles < 50 && arcology.FSPhysicalIdealistLaw === 1) {
r.push(`public, having physically exhausting sex marathons in public, and improving ${his} already impressive stamina in a publicly documented journey of self-improvement.`);
targetArcology.FSPhysicalIdealist++;
} else {
r.push(`public and having physically`);
if (arcology.FSPhysicalIdealistLaw === 1) {
r.push(`exhausting`);
} else {
r.push(`challenging`);
}
r.push(` sex in public.`);
}
targetArcology.FSPhysicalIdealist += influence;
} else if (targetArcology.FSHedonisticDecadence !== "unset") {
r.push(`${He} challenges Hedonistic Decadence there by working out in`);
if (slave.muscles >= 50 && arcology.FSPhysicalIdealistLaw === 0) {
r.push(`public, having physically challenging sex in public, and improving ${his} already impressive musculature in a publicly documented journey of self-improvement.`);
targetArcology.FSHedonisticDecadence--;
} else if (slave.muscles >= 20 && slave.muscles < 50 && arcology.FSPhysicalIdealistLaw === 1) {
r.push(`public, having physically exhausting sex marathons in public, and improving ${his} already impressive stamina in a publicly documented journey of self-improvement.`);
targetArcology.FSHedonisticDecadence--;
} else {
r.push(`public and having physically `);
if (arcology.FSPhysicalIdealistLaw === 1) {
r.push(`exhausting`);
} else {
r.push(`challenging`);
}
r.push(` sex in public.`);
}
targetArcology.FSHedonisticDecadence -= influence;
}
} else if (arcology.FSHedonisticDecadence !== "unset") {
if (targetArcology.FSHedonisticDecadence !== "unset") {
r.push(`${He} advances Hedonistic Decadence there by stuffing ${his} face at all times, having one hand down ${his} pants, and inviting anyone near ${him} for a quick fuck whenever the mood strikes ${him}.`);
if (["abusive", "anal addict", "attention whore", "breast growth", "breeder", "cum addict", "malicious", "neglectful", "self hating"].includes(slave.sexualFlaw)) {
r.push(`${He} wears ${his} sexual paraphilia proudly and makes sure everyone knows what ${he} likes and how ${he} likes it.`);
targetArcology.FSHedonisticDecadence++;
}
targetArcology.FSHedonisticDecadence += influence;
} else if (targetArcology.FSPhysicalIdealist !== "unset") {
r.push(`${He} challenges Physical Idealism there by stuffing ${his} face at all times, having one hand down ${his} pants, and inviting anyone near ${him} for a quick fuck whenever the mood strikes ${him}.`);
if (["abusive", "anal addict", "attention whore", "breast growth", "breeder", "cum addict", "malicious", "neglectful", "self hating"].includes(slave.sexualFlaw)) {
r.push(`${He} wears ${his} sexual paraphilia proudly and make sure everyone knows what ${he} likes and how ${he} likes it.`);
targetArcology.FSPhysicalIdealist--;
}
targetArcology.FSPhysicalIdealist -= influence;
}
}
if (arcology.FSRepopulationFocus !== "unset") {
if (targetArcology.FSRepopulationFocus !== "unset") {
r.push(`${He} advances Repopulationism there by showing ${his} appreciation for partners with fecund`);
if (slave.belly >= 10000) {
r.push(`figures, and by`);
if (slave.bellyPreg >= 8000) {
r.push(`being heavily pregnant ${himself}.`);
} else {
r.push(`proudly cradling ${his} greatly distended middle.`);
}
targetArcology.FSRepopulationFocus++;
} else {
r.push(`figures.`);
}
targetArcology.FSRepopulationFocus += influence;
} else if (targetArcology.FSRestart !== "unset") {
r.push(`${He} challenges Eugenics there by showing ${his} appreciation for partners with fecund figures, specifically those lacking the approval of`);
if (slave.belly >= 10000) {
r.push(`society, and by`);
if (slave.bellyPreg >= 8000) {
r.push(`proudly displaying ${his} markless pregnancy.`);
} else {
r.push(`proudly cradling ${his} greatly distended, markless, middle.`);
}
targetArcology.FSRestart--;
} else {
r.push(`society.`);
}
targetArcology.FSRestart -= influence;
}
} else if (arcology.FSRestart !== "unset") {
if (targetArcology.FSRestart !== "unset") {
r.push(`${He} advances Eugenics there by congratulating high class couples while completely ignoring everyone`);
if (slave.belly < 1500 && !canGetPregnant(slave)) {
r.push(`else, and by showing off ${his} baby-free body`);
if (slave.pregKnown === 1) {
r.push(`body (even though ${he}'s hiding ${his} own pregnancy).`);
} else {
r.push(`body.`);
}
targetArcology.FSRestart++;
} else {
r.push(`else.`);
}
targetArcology.FSRestart += influence;
} else if (targetArcology.FSRepopulationFocus !== "unset") {
r.push(`${He} challenges Repopulationism there by harshly judging every gravid girl ${he} sees while showering praise on the high`);
if (slave.belly < 1500 && !canGetPregnant(slave)) {
r.push(`class, and by showing off ${his} baby-free`);
if (slave.pregKnown === 1) {
r.push(`body (even though ${he}'s hiding ${his} own pregnancy).`);
} else {
r.push(`body.`);
}
targetArcology.FSRepopulationFocus--;
} else {
r.push(`class.`);
}
targetArcology.FSRepopulationFocus -= influence;
}
}
if (arcology.FSChattelReligionist !== "unset") {
if (targetArcology.FSChattelReligionist !== "unset") {
r.push(`${He} advances Chattel Religionism there by constant public worship, both sexual and`);
if (slave.devotion > 95 && slaveInt > 95) {
r.push(`traditional, and by composing ${his} own series of devotionals to your sexual prowess and attractiveness.`);
targetArcology.FSChattelReligionist++;
} else {
r.push(`traditional.`);
}
targetArcology.FSChattelReligionist += influence;
}
}
if (arcology.FSRomanRevivalist !== "unset") {
if (targetArcology.FSRomanRevivalist !== "unset") {
r.push(`${He} advances Roman Revivalism there by taking an active part in the daily round of public Roman`);
if (canTalk(slave) && slaveInt > 95) {
r.push(`life, which ${he}'s perfect for, since ${he} has the intelligence to hold ${his} own in discourse with citizens.`);
targetArcology.FSRomanRevivalist++;
} else {
r.push(`life.`);
}
targetArcology.FSRomanRevivalist += influence;
}
} else if (arcology.FSNeoImperialist !== "unset") {
if (targetArcology.FSNeoImperialist !== "unset") {
r.push(`${He} advances Neo-Imperialism there by measuring out grace and allure with the arcology's`);
if (canTalk(slave) && slaveInt > 95) {
r.push(`elites, elegantly convincing them with ${his} cutting wit on the favorite topic of any wealthy patrician - their own societal importance.`);
targetArcology.FSNeoImperialist++;
} else {
r.push(`elites.`);
}
targetArcology.FSNeoImperialist += influence;
}
} else if (arcology.FSAztecRevivalist !== "unset") {
if (targetArcology.FSAztecRevivalist !== "unset") {
r.push(`${He} advances Aztec Revivalism there by taking an active part in the bloodier`);
if (slave.skill.combat >= 1) {
r.push(`spectacles, which ${he}'s perfect for, since ${he} has enough experience with blood to make it look good.`);
targetArcology.FSAztecRevivalist++;
} else {
r.push(`spectacles.`);
}
targetArcology.FSAztecRevivalist += influence;
}
} else if (arcology.FSEgyptianRevivalist !== "unset") {
if (targetArcology.FSEgyptianRevivalist !== "unset") {
r.push(`${He} advances Egyptian Revivalism there by playing ${his} part in the endless round of voluptuous`);
if (App.Utils.hasFamilySex(slave)) {
r.push(`entertainments, which ${he}'s perfect for, since everyone knows that at the end of the day ${he}'ll go home and make love to a blood relative.`);
targetArcology.FSEgyptianRevivalist++;
} else {
r.push(`entertainments.`);
}
targetArcology.FSEgyptianRevivalist += influence;
}
} else if (arcology.FSEdoRevivalist !== "unset") {
if (targetArcology.FSEdoRevivalist !== "unset") {
r.push(`${He} advances Edo Revivalism there by artfully mixing sexual allure and elegant`);
if (slave.skill.entertainment > 95) {
r.push(`propriety, which ${he}'s perfect for, since no slave can claim to better entertain a gentleman caller than ${him}.`);
targetArcology.FSEdoRevivalist++;
} else {
r.push(`propriety.`);
}
targetArcology.FSEdoRevivalist += influence;
}
} else if (arcology.FSArabianRevivalist !== "unset") {
if (targetArcology.FSArabianRevivalist !== "unset") {
r.push(`${He} advances Arabian Revivalism there by helping citizens improve their slaves' sex`);
if (slave.fetishKnown && (slave.fetish === "sadist" || slave.fetish === "dom")) {
r.push(`skills, which ${he}'s perfect for, since ${he}'s naturally dominant and likes nothing better than fucking ${his} inferiors.`);
targetArcology.FSArabianRevivalist++;
} else {
r.push(`skills.`);
}
targetArcology.FSArabianRevivalist += influence;
}
} else if (arcology.FSChineseRevivalist !== "unset") {
if (targetArcology.FSChineseRevivalist !== "unset") {
r.push(`${He} advances Chinese Revivalism there by helping citizens improve the feng shui of their slave`);
if (slaveInt > 110) {
r.push(`arrangements, which ${he}'s perfect for, since ${he} has the intelligence and education to make real contributions.`);
targetArcology.FSChineseRevivalist++;
} else {
r.push(`arrangements.`);
}
targetArcology.FSChineseRevivalist += influence;
}
}
influenced = 1;
}
if (!influenced) {
r.push(`assigned to be a sexual Ambassador to other arcologies, but you have not targeted a neighboring arcology for cultural influence, making the assignment pointless.`);
if (V.oldRecruiterTarget) {
V.recruiterTarget = clone(V.oldRecruiterTarget);
r.push(`<span class="yellow">${He} goes back to recruiting ${V.recruiterTarget}.</span>`);
delete V.oldRecruiterTarget;
}
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function recruiting(slave) {
V.recruiterProgress += random(0, 1);
r.push(`uses your online resources and some <span class="cash">modest funds</span> to convince ${V.recruiterTarget} from the old world to immigrate for voluntary enslavement.`);
if (V.recruiterIOUs > 0) {
V.recruiterProgress += V.recruiterIOUs;
V.recruiterIOUs = 0;
}
if (slave.devotion > 95) {
r.push(`${His} extreme devotion to you lends ${him} total cogency.`);
V.recruiterProgress += 2;
} else if (slave.devotion > 50) {
r.push(`${His} devotion to you lends ${him} conviction.`);
V.recruiterProgress += 1;
} else {
r.push(`${His} imperfect feelings toward you give ${him} little conviction.`);
}
if (setup.recruiterCareers.includes(slave.career)) {
r.push(`${He} has experience in recruitment from before ${he} was a slave.`);
V.recruiterProgress += 2;
} else if (slave.skill.recruiter >= V.masteredXP) {
r.push(`${He} has experience in recruitment from working for you.`);
V.recruiterProgress += 2;
} else {
slave.skill.recruiter += random(1, Math.ceil((slaveInt) / 15) + 8);
}
if (slaveInt > 50) {
r.push(`${His} intelligence enables ${him} to cleverly entrap potential slaves.`);
V.recruiterProgress += 1;
}
if (slave.skill.entertainment >= 100) {
r.push(`${He} has the entertainment skills necessary to convince any target.`);
V.recruiterProgress += 2;
} else if (slave.skill.entertainment > 60) {
r.push(`${He} has the entertainment expertise to lure in most targets.`);
V.recruiterProgress += 1.5;
} else if (slave.skill.entertainment > 30) {
r.push(`${He} has the necessary entertainment skills to banter successfully with ${his} targets.`);
V.recruiterProgress += 1;
} else if (slave.skill.entertainment > 10) {
r.push(`${His} mediocre entertainment skills do nothing to convince ${his} targets.`);
} else {
r.push(`${His} total lack of entertainment skills seriously hinders ${his} efforts.`);
V.recruiterProgress -= 1;
}
if (slave.bellyPreg >= 300000) {
r.push(`${His} massive overfilled womb is detrimental to ${his} efforts to recruit slaves. It instills a fear of being turned into nothing more than a baby filled sack.`);
V.recruiterProgress -= 3;
}
const clubSlaves = App.Utils.sortedEmployees(App.Entity.facilities.club);
if (V.clubUpgradePDAs === 1 && clubSlaves.length > 0) {
r.push(`The slaves in ${V.clubName} help ${him} by passing ${him} tips they pick up while working the crowds.`);
clubSlaves.forEach((s) => V.recruiterProgress += 0.5);
}
if (V.recruiterTarget === "desperate whores") {
if (S.Recruiter.counter.publicUse > 200) {
r.push(`As a veteran slut, ${he} speaks from experience when ${he} says that being your slave whore will be safer and healthier than streetwalking.`);
V.recruiterProgress += 1;
} else {
r.push(`${He} does ${his} best to convince them that being your slave whore will be safer and healthier than streetwalking.`);
}
} else if (V.recruiterTarget === "expectant mothers") { // now you can ginger too
if ((S.Recruiter.belly >= 1500 || setup.fakeBellies.includes(S.Recruiter.bellyAccessory) && S.Recruiter.weight < 130) || S.Recruiter.belly >= 100000) {
if (S.Recruiter.preg > S.Recruiter.pregData.normalBirth / 8) {
r.push(`Since ${he}'s visibly pregnant ${himself}, ${he} speaks with authority when ${he} says that Free Cities medicine can keep them and their pregnancies safe and healthy.`);
} else {
r.push(`Since ${he} looks visibly pregnant, ${he}'s more convincing when ${he} says that Free Cities medicine can keep them and their pregnancies safe and healthy.`);
}
V.recruiterProgress += 1;
} else {
r.push(`${He} does ${his} best to convince them that Free Cities medicine can keep them and their pregnancies safe and healthy.`);
}
} else if (V.recruiterTarget === "young migrants") {
if (S.Recruiter.health.condition >= 80 && S.Recruiter.face > 10) {
r.push(`${His} lovely face and shining health go a long way to convince them that being your slave promises a better life.`);
V.recruiterProgress += 1;
} else {
r.push(`${He} does ${his} best to convince them that being your slave promises a better life.`);
}
} else if (V.recruiterTarget === "dissolute sissies") {
if (S.Recruiter.dick > 1 && canAchieveErection(S.Recruiter) && !S.Recruiter.chastityPenis) {
r.push(`${He} giggles and shows off ${his} erection, making it easy to convince them that your slaves with dicks enjoy a sexually satisfying life.`);
V.recruiterProgress += 1;
} else {
r.push(`${He} does ${his} best to convince them that your slaves with dicks enjoy a sexually satisfying life.`);
}
} else if (V.recruiterTarget === "reassignment candidates") {
if (((S.Recruiter.balls > 0 && S.Recruiter.ovaries === 0 && S.Recruiter.genes === "XX") || (S.Recruiter.ovaries === 1 && S.Recruiter.scrotum === 0 && S.Recruiter.genes === "XY")) && S.Recruiter.face > 10) { // turn into appearance checks!
r.push(`${He} shows off ${his} lovely face and describes ${his} unusual biological situation under your care, convincing them that you'll turn them into happy little slave girls.`);
V.recruiterProgress += 1;
} else {
r.push(`${He} does ${his} best to convince them that you'll turn them into happy little slave girls.`);
}
} else if (V.recruiterTarget === "recent divorcees") {
if (S.Recruiter.devotion + S.Recruiter.trust >= 175) {
r.push(`${His} total dedication to you goes a long way in convincing them that you'll provide far more for them than their prior partners ever did.`);
V.recruiterProgress += 1;
} else {
r.push(`${He} does ${his} best to convince them that you'll be supportive.`);
}
}
if (slave.rules.living !== "luxurious") {
r.push(`${He} would be more effective if ${he} could show off a luxurious standard of living.`);
V.recruiterProgress -= 1;
}
if (V.recruiterProgress > 7) {
r.push(`${He} has several excellent prospects and will probably get one of them to agree to enslavement soon.`);
} else if (V.recruiterProgress > 3) {
r.push(`${He} has some prospects to work with but needs more time to get them agree to enslavement.`);
} else {
r.push(`${He} has no real prospects yet and has more work to do before anyone agrees to enslavement.`);
}
if (slave.rules.living === "luxurious") {
r.push(`Being continually trusted with this position <span class="devotion inc">increases ${his} devotion to you</span> and encourages ${him} to <span class="trust inc">trust you in turn.</span>`);
slave.devotion += 4;
slave.trust += 4;
} else {
r.push(`Being continually trusted with this position <span class="devotion inc">slightly increases ${his} devotion to you,</span> though ${he} harbors some doubts because ${he} isn't allowed a room of ${his} own to set ${him} apart from the other slaves.`);
slave.devotion += 1;
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function idlePublicity(slave) {
// submitted by FireDrops
let FSmatch = 0; // FSmatch means recruiter's appearance displays FS ideas
let FSdefend = 0; // FSdefend is intelligence-based advocation for your FS
const FSIntMod = Math.floor(slaveInt / 32);
let seed = 0;
const modScore = SlaveStatsChecker.modScore(slave);
r.push(`tries to maintain ${his} network of prospects without promising anyone a space in ${arcology.name}, since you already control`);
if (V.slaves.length > idleTarget) {
r.push(`more sex slaves than`);
} else {
r.push(`as many sex slaves as`);
}
r.push(`${his} assigned goal.`);
seed -= (6 - (6 * slave.skill.entertainment / 100));
seed -= (3 - (3 * slave.face / 100));
if (slaveInt < -15) {
seed = Math.min(seed, slaveInt / 10);
}
if (seed < 0) {
// catches overload from very high entertainment
V.recruiterProgress += seed / 10;
}
Math.max(V.recruiterProgress, 0);
if (slaveInt > 15) {
if (slave.skill.entertainment >= 100) {
r.push(`${His} mastery of flirting and conversation continues to seduce them,`);
if (slave.face > 95) {
r.push(`and with ${his} nearly perfect face they instinctively trust ${him}.`);
} else {
r.push(`although ${he} might have done better still if ${he} were prettier.`);
}
} else {
r.push(`${He} uses what conversation skill ${he} has to keep them interested in enslavement,`);
if (slave.face > 40) {
r.push(`and the reminder that they could share a home with such a beauty doesn't hurt.`);
} else {
r.push(`but ${his} face isn't attractive enough to hold their attention.`);
}
}
} else {
r.push(`Unfortunately ${he}'s just not smart enough to manage such a delicate balance and some potential slaves inevitably drift away.`);
}
r.push(`${He} uses ${his} extra time and <span class="cash">recruitment allowance</span> this week to tour the arcology and post to your household's social media accounts more actively than usual, <span class="reputation inc">building up your reputation.</span>`);
/** Conditional push:
* if V.showEWM is set, is a function that pushes the arguments into r
* otherwise is a function that just silently consumes the arguments
* @type {function(...string): void}
*/
const pushEWM = V.showEWM === 1 ? (...str) => r.push(...str) : () => {};
seed = 10;
if (slave.skill.entertainment > 10) {
if (slave.face > 40) {
if (slave.skill.entertainment >= 100) {
pushEWM(`${His} good looks and innate artistry awe the arcology and leave many starstruck.`);
} else if (slave.skill.entertainment > 60) {
pushEWM(`${His} good looks draw quite an audience; ${he} entertains them reasonably well.`);
} else if (slave.skill.entertainment > 30) {
pushEWM(`${His} face appeals to a certain crowd, mostly looking for sex tapes rather than quality entertainment.`);
}
seed += slave.face * slave.skill.entertainment / 30;
} else {
if (slave.skill.entertainment >= 100) {
pushEWM(`All`);
} else if (slave.skill.entertainment > 60) {
pushEWM(`Many`);
} else if (slave.skill.entertainment > 30) {
pushEWM(`Some`);
} else {
pushEWM(`A few`);
}
pushEWM(`of ${his} wittier lines are liked and re-shared, but ${his} face just doesn't catch many eyes.`);
seed += slave.skill.entertainment / 30;
}
} else {
pushEWM(`More than a few sign up to watch ${his} feeds, but unsubscribe due to ${his} amateur presentation.`);
}
if (slaveInt > 15) {
pushEWM(`${He} offers thoughtful commentaries on trending topics.`);
seed += FSIntMod;
} else {
pushEWM(`${He} lacks the intelligence to compose thoughtful remarks; a lot the time ${he} merely +1s what others have said.`);
}
if (V.studio && slave.porn.viewerCount >= 10000 && slave.porn.prestige > 0) {
pushEWM(`${His} fan base from arcology porn significantly drives up ${his} followers count.`);
seed += slave.porn.prestige * 3;
}
/** @type {string[]} */
const FSstrings = [];
/** Conditional push for FS match strings (which will get concatenated to r AFTER the FS match/defend summary)
* @type {function(...string): void}
*/
const pushFS = V.showEWM === 1 ? (...str) => FSstrings.push(...str) : () => {};
if (V.recruiterIOUs > 0) {
seed += V.recruiterIOUs;
FSdefend += V.recruiterIOUs;
V.recruiterIOUs = 0;
}
if (arcology.FSSupremacist !== "unset") {
if (slaveInt > 50) {
seed += 2;
FSdefend++;
arcology.FSSupremacist += 0.01 * V.FSSingleSlaveRep * FSIntMod;
if (slave.race !== arcology.FSSupremacistRace) {
pushFS(`${He} patiently explains how ${slave.race} ${girl}s like ${himself} benefit from the firm guidance of their proper ${arcology.FSSupremacistRace} masters.`);
arcology.FSSupremacist += 0.01 * V.FSSingleSlaveRep;
} else {
pushFS(`${He} makes the clear case for ${arcology.FSSupremacistRace} superiority, although as an enslaved ${slave.race} ${woman} ${his} words are a bit hollow.`);
}
} else if (slave.race !== arcology.FSSupremacistRace) {
pushFS(`The dumb ${slave.race} bitch can't even repeat ${his} Supremacist indoctrination properly.`);
} else {
pushFS(`${He} flubs ${his} lines so badly that no one would ever believe ${arcology.FSSupremacistRace} people make better leaders.`);
}
}
if (arcology.FSSubjugationist !== "unset") {
if (slaveInt > 50) {
seed += 2;
FSdefend++;
arcology.FSSubjugationist += 0.01 * V.FSSingleSlaveRep * FSIntMod;
if (slave.race === arcology.FSSubjugationistRace) {
pushFS(`It's always a pleasure to hear a ${slave.race} slave admit to all the failings for which ${his} kind need to be taken in hand.`);
arcology.FSSubjugationist += 0.01 * V.FSSingleSlaveRep;
}
} else if (slave.race !== arcology.FSSupremacistRace) {
pushFS(`The dumb ${slave.race} bitch can't even repeat ${his} Supremacist indoctrination properly.`);
} else {
pushFS(`${He} flubs ${his} lines so badly that no one would ever believe ${arcology.FSSupremacistRace} people make better leaders.`);
}
}
if (arcology.FSGenderRadicalist !== "unset") {
if (slave.dick > 0 && (slave.balls < 1 || slave.boobs > 400)) {
if (slave.anus > 0 && canDoAnal(slave)) {
pushFS(`${His} public demonstrations of just how hard feminized sissies can orgasm with buttsex — at a different interior balcony each day — draw plenty of attention.`);
seed += 4;
} else {
pushFS(`${He} attracts a little attention by gaily showing off ${his}`);
if (slave.balls < 1) {
pushFS(`soft bitch-clit`);
} else {
pushFS(`intersex anatomy`);
}
pushFS(`on the public thoroughfares of your arcology,`);
if (!canDoAnal(slave)) {
pushFS(`since ${he} can't take it any further.`);
} else {
pushFS(`being careful not to risk ${his} virgin backdoor.`);
}
seed += 1;
}
FSmatch++;
arcology.FSGenderRadicalist += 0.01 * V.FSSingleSlaveRep;
} else {
pushFS(`${He} just doesn't have the right combination of body parts to personally demonstrate your utopia of eager, girly-dicked buttsluts.`);
}
} else if (arcology.FSGenderFundamentalist !== "unset") {
if (slave.balls < 1 && slave.dick < 1 && slave.vagina >= 0) {
if (arcology.FSRestart !== "unset") {
pushFS(`${He} posts plenty of seductive photos emphasizing ${his} feminine curves, including lewds showing off ${his} natural vagina, bringing more attention to your campaign for natural females.`);
seed += 1;
} else if (slave.bellyPreg >= 1500 || setup.fakeBellies.includes(slave.bellyAccessory)) {
if (slave.bellyPreg >= 1500) {
pushFS(`${He} unashamedly live streams an obstetric health check in the nude, promising to broadcast similar footage right up until, and during, the birth.`);
seed += 4;
} else {
pushFS(`With some discreet editing, ${he} uploads fake ultrasounds to match ${his} plastic pregnancy, bringing a little more attention to your fertility campaigns.`);
seed += 1;
}
} else if (slave.vagina >= 0) {
pushFS(`${He} posts plenty of seductive photos emphasizing ${his} feminine curves, including lewds showing off ${his} natural vagina, bringing more attention to your campaign for natural females.`);
}
FSmatch++;
arcology.FSGenderFundamentalist += 0.01 * V.FSSingleSlaveRep;
} else if (slave.balls < 1 && slave.dick < 1) { // null - no vagina and also no dick or balls
pushFS(`${He} tries to post photos emphasizing ${his} feminine curves, although ${his} attempts to tastefully conceal ${his} lack of female genitalia are noticed by some viewers.`);
} else { // masculine - has dick or balls
pushFS(`On the topic of natural female deference to their owners around the house, your recruiter would be more convincing if ${he} didn't keep readjusting ${his} junk.`);
}
}
if (arcology.FSPaternalist !== "unset") {
if (slave.devotion + slave.trust > 150 || slave.relationship === -3) {
if (slave.intelligenceImplant >= 15) {
pushFS(`All week ${he} shares original poetry in which ${his} love for you shines `);
if (slave.health.condition > 40) {
pushFS(`through, and ${his} healthy body shines in every live appearance.`);
seed += 1;
} else {
pushFS(`through.`);
}
seed += 1;
arcology.FSPaternalist += 0.02 * V.FSSingleSlaveRep;
} else {
pushFS(`Even though ${he} clearly adores ${his} ${getWrittenTitle(slave)},`);
if (slave.health.condition > 40) {
pushFS(`with ${his} perfect health visibly manifesting your care,`);
seed += 1;
}
pushFS(`the uneducated slave struggles to fully and cogently express ${his} affection.`);
arcology.FSPaternalist += 0.01 * V.FSSingleSlaveRep;
}
seed += 1;
FSdefend++;
} else {
pushFS(`${His} praise of your good works lacks the special touch of personal affection, so it doesn't impress much.`);
}
} else if (arcology.FSDegradationist !== "unset") {
if (slaveInt > 50) {
pushFS(`Ordinarily you would punish a slave who displays independent thinking, but when ${slave.slaveName}`);
if (modScore.total > 15 || (modScore.piercing > 8 && modScore.tat > 5)) {
pushFS(`goes public in all ${his} garish, modded glory to defend the legal right of slaveowners to use their property however they please, ${he}'s earned a brief reprieve.`);
seed += 1;
FSmatch++;
arcology.FSDegradationist += 0.01 * V.FSSingleSlaveRep;
} else {
pushFS(`defends the right of owners to use their property however they please, ${he}'s earned some consideration: perhaps you could "reward" ${him} with an extra piercing or a slutty new tat.`);
}
seed += 1;
FSdefend++;
arcology.FSDegradationist += 0.01 * V.FSSingleSlaveRep*FSIntMod;
} else {
if (modScore.total > 15 || (modScore.piercing > 8 && modScore.tat > 5)) {
pushFS(`Just the sight of ${slave.slaveName}'s provocatively decorated body entices ${his} online "friends" to share multiple scenarios for raping ${him}, although the honor is wasted on the dumb fucktoy.`);
seed += 1;
FSmatch++;
arcology.FSDegradationist += 0.01 * V.FSSingleSlaveRep;
} else {
pushFS(`${He} isn't smart enough to understand the primal attraction of an arcology where slave holes exist only to be raped, nor is ${his} body sufficiently degraded to advertise it.`);
}
}
}
if (arcology.FSIntellectualDependency !== "unset") {
if (arcology.FSIntellectualDependencyLawBeauty === 1 && bimboScore(slave) >= 6) {
if (slave.energy > 95) {
if (slaveInt < -50) {
pushFS(`${His} week was spent competing with other bimbos and generally being a delight to onlookers when the competition inevitably turns sexual.`);
seed += 3;
} else {
pushFS(`This week's softcore photo shoot clearly showcases a bimbo, even if it feels like too much thought was put into it.`);
}
seed += 1;
FSmatch++;
arcology.FSIntellectualDependency += 0.01 * V.FSSingleSlaveRep;
} else {
pushFS(`While ${he} may look the part of a bimbo, ${he} lacks the sex drive to back it up.`);
}
seed += 1;
} else if (slave.energy > 95) {
if (slaveInt < -50) {
pushFS(`${His} week was spent wandering aimlessly throughout the arcology, delighting anyone able to spend time with ${him} with ${his} simple ways.`);
seed += 3;
} else {
pushFS(`${He} exhibits raw lust, but lacks other traits commonly found in bimbos, hindering ${his} efforts.`);
}
seed += 1;
FSmatch++;
arcology.FSIntellectualDependency += 0.01 * V.FSSingleSlaveRep;
} else {
pushFS(`${He} just lacks the energy to party all night long.`);
}
} else if (arcology.FSSlaveProfessionalism !== "unset") {
if (slave.accent <= 1) {
if (slaveInt > 50) {
if (slaveInt > 95) {
if (slave.skill.entertainment + slave.skill.whoring + slave.skill.oral + slave.skill.anal + slave.skill.vaginal >= 400) {
pushFS(`Each week ${he} hosts ${his} own seminar demonstrating new and exciting sexual techniques, some even of ${his} own creation.`);
seed += 1;
} else {
pushFS(`${He} uses ${his} brilliant mind to show what a slave is truly capable of, but ${he} can only go so far lacking practical skills.`);
}
seed += 2;
FSdefend++;
arcology.FSSlaveProfessionalism += 0.01 * V.FSSingleSlaveRep*FSIntMod;
} else if (slave.skill.entertainment + slave.skill.whoring + slave.skill.oral + slave.skill.anal + slave.skill.vaginal >= 400) {
pushFS(`${He} participates in a weekly article showcasing skills every slave needs. However, only being able to recite learned information limits ${him}.`);
seed += 1;
} else {
pushFS(`${He} attempts to be a sexual trendsetter, but is neither smart nor skilled enough to achieve anything of interest.`);
}
seed += 1;
FSmatch++;
arcology.FSSlaveProfessionalism += 0.01 * V.FSSingleSlaveRep;
} else {
pushFS(`${He} isn't smart enough to explain what a professional slave actually is and how it differs from a trained slave.`);
}
} else {
pushFS(`${His} inability to speak ${V.language} properly makes ${him} a relatively poor spokes${woman} for trained slaves.`);
}
}
if (arcology.FSBodyPurist !== "unset") {
if (slave.corsetPiercing === 0 && modScore.piercing < 3 && modScore.tat < 2) {
if (slave.boobsImplant === 0 && slave.buttImplant === 0 && slave.waist >= -95) {
pushFS(`${He} exhibits pure sexuality in a lovely, artistic gallery of erotic photos posted this week that displays every natural ${V.showInches === 2 ? `inch` : `centimeter`} of ${his} body.`);
} else if (slave.boobsImplant === 0 && slave.buttImplant === 0) {
pushFS(`This week's softcore photo shoot delights the eye: only ${his} unnatural waistline mars ${his} beauty, and that can hardly be blamed on the model.`);
} else {
pushFS(`${His} unblemished skin shines artistically in this week's erotic studio gallery, but the shape of ${his} curves is too obviously artificial.`);
}
if (slave.boobsImplant === 0) {
seed += 1;
}
if (slave.buttImplant === 0) {
seed += 1;
}
if (slave.waist >= -95) {
seed += 1;
}
seed += 1;
FSmatch++;
arcology.FSBodyPurist += 0.01 * V.FSSingleSlaveRep;
} else if (slave.boobsImplant === 0 && slave.buttImplant === 0 && slave.waist >= -95) {
pushFS(`${His} most recent photo galleries are barely passable: you can hardly see the ${woman} beneath ${his} blatant body art.`);
} else {
pushFS(`${He} is burdened by the knowledge that ${his} heavy alterations don't fit your ideal of purity, and fails to show at a scheduled photo shoot.`);
}
} else if (arcology.FSTransformationFetishist !== "unset") {
if (slave.boobsImplant > 0 && slave.buttImplant > 0 && slave.lipsImplant > 0) {
if (slave.waist < -95 || slave.teeth === "pointy" || slave.teeth === "fangs" || !hasAllNaturalLimbs(slave) || (slave.vagina > -1 && slave.dick > 6)) {
pushFS(`A series of cleverly staged publicity events at various businesses in the arcology subtly focuses on ${his} better-than-natural physiology in each one.`);
seed += 4;
} else {
if (V.seeExtreme === 1) {
pushFS(`${His} augmented body certainly has its appeals, yet as you look over this week's publicity recap you begin to wonder if ${he} could be still more extremely <span style="italic">transformed<span>.`);
} else if (slave.vagina > -1 && slave.dick > 0) {
pushFS(`${His} special body stands out during this week's publicity tour; and if ${his} futa cock were grown beyond a natural size, now that would really advertise ${his} improved state.`);
} else if (V.seeDicks > 0) {
pushFS(`${He} looks great in this week's publicity events at arcology businesses, always posing to show off ${his} enhancements. Now if only there were something to graft on that would take ${him} beyond implants to genuine <span style="italic">transformation<span>.`);
} else {
// game settings prohibit greater transformations
pushFS(`A series of cleverly staged publicity events at various businesses in the arcology subtly focuses on the beauty of ${his} implants.`);
}
seed += 2;
}
FSmatch++;
arcology.FSTransformationFetishist += 0.01 * V.FSSingleSlaveRep;
} else {
pushFS(`"Boobs, butts, and blowjobs": it's the plastic surgeon's mantra, and viewing this week's publicity footage reminds you that you've neglected your recruiter's augmentations.`);
}
}
if (arcology.FSYouthPreferentialist !== "unset") {
if (slave.physicalAge < 30) {
pushFS(`${His} nightly cam chats sparkle with the energy of youth.`);
seed += 4;
FSmatch++;
arcology.FSYouthPreferentialist += 0.01 * V.FSSingleSlaveRep;
} else {
pushFS(`As an older slave, ${he} doesn't have enough energy to cam chat late into the night.`);
}
} else if (arcology.FSMaturityPreferentialist !== "unset") {
if (slave.actualAge >= 30) {
pushFS(`${He} video blogs regularly about the financial, medical, and even emotional security of slave life for older ${women}.`);
seed += 4;
FSmatch++;
arcology.FSMaturityPreferentialist += 0.01 * V.FSSingleSlaveRep;
} else {
pushFS(`${He} uses too much youthful slang and jumps from topic to topic in ${his} video blogs, making them difficult for ${his} audience to follow.`);
}
}
if (arcology.FSPetiteAdmiration !== "unset") {
if (heightPass(slave)) {
pushFS(`${He} takes advantage of ${his} short stature to shock and amaze ${his} followers by having sex in unusual places.`);
seed += 4;
FSmatch++;
arcology.FSPetiteAdmiration += 0.01 * V.FSSingleSlaveRep;
} else {
pushFS(`It's hard to play up a difference in height when ${he} stands as tall`);
if (slave.height >= 185) {
pushFS(`as, or taller than,`);
}
pushFS(`as most citizens.`);
}
} else if (arcology.FSStatuesqueGlorification !== "unset") {
if (heightPass(slave)) {
pushFS(`${His} photoshoots all use a panoramic camera to better capture ${his} height while giving them a unique flare.`);
seed += 4;
FSmatch++;
arcology.FSStatuesqueGlorification += 0.01 * V.FSSingleSlaveRep;
} else {
pushFS(`${He}'s just too short for the public to pay any mind to.`);
}
}
if (arcology.FSRepopulationFocus !== "unset") {
if (slave.preg > slave.pregData.normalBirth / 1.33) {
pushFS(`${He} makes a habit of allowing the public to fondle and enjoy the movements within ${his} baby filled belly.`);
if (slave.pregType >= 30) {
seed += 5;
} else if (slave.pregType >= 10) {
seed += 4;
} else {
seed += 3;
}
FSmatch++;
arcology.FSRepopulationFocus += 0.01 * V.FSSingleSlaveRep;
} else if (slave.preg > slave.pregData.normalBirth / 2) {
pushFS(`${He} makes a habit of allowing the public to fondle and enjoy ${his} baby rounded belly.`);
if (slave.pregType >= 30) {
seed += 4;
} else if (slave.pregType >= 10) {
seed += 3;
} else {
seed += 2;
}
FSmatch++;
arcology.FSRepopulationFocus += 0.01 * V.FSSingleSlaveRep;
} else if (slave.counter.births > 0) {
pushFS(`Any time ${he} stars in an erotic photo shoot, ${he} always makes sure to follow up with a, hopefully positive, pregnancy test. Though ${he} makes sure to hype up ${his} viewers to sign up to be the one to knock ${him} up should it come up negative.`);
seed += 1;
FSmatch++;
arcology.FSRepopulationFocus += 0.01 * V.FSSingleSlaveRep;
} else {
pushFS(`${His} efforts would have more impact if ${his} womb wasn't so empty. Disappointing to any who would want to see ${him} pregnant.`);
}
if (slaveInt > 50) {
pushFS(`${He} is smart enough to not only repeat your repopulationist goals, but to expand upon them.`);
FSdefend++;
arcology.FSRepopulationFocus += 0.01 * V.FSSingleSlaveRep;
} else if (slave.counter.births > 3) {
pushFS(`${He} uses ${his} experience as a mother as leverage to convince virgin ladies that motherhood is wonderful.`);
FSdefend++;
arcology.FSRepopulationFocus += 0.01 * V.FSSingleSlaveRep;
} else {
pushFS(`Being both unintelligent and inexperienced, ${his} attempts to emphasize the joys of pregnancy only come off as someone who likes big bellies, no matter their cause.`);
}
} else if (arcology.FSRestart !== "unset") {
if (slave.bellyPreg >= 1500 && slave.breedingMark === 1 && V.propOutcome === 1) {
pushFS(`${He} prominently displays ${his} pregnancy and the mark branded upon it signifying the superior child growing within ${him}. ${His} audience is enamored by ${his} distinct status.`);
seed += 4;
FSmatch++;
arcology.FSRestart += 0.01 * V.FSSingleSlaveRep;
} else if (slave.breedingMark === 1 && V.propOutcome === 1) {
pushFS(`${He} prominently displays the mark branded over ${his} womb, but without the curve of pregnancy beneath it, it only goes so far.`);
seed += 1;
} else if (slave.bellyPreg < 100) {
if (slave.dick > 0 && slave.balls === 0) {
pushFS(`${He} makes sure to wear tight fitting clothes to show off the bulge of ${his} dick and, most notably, the lack of testicles under it, in all ${his} photo shoots.`);
seed += 4;
FSmatch++;
arcology.FSRestart += 0.01 * V.FSSingleSlaveRep;
} else if ((slave.ovaries === 0 && slave.mpreg === 0) || slave.preg < -1) {
pushFS(`${He} frequently livestreams massive orgies involving ${himself} at the center, making sure to always follow up with ${his} negative pregnancy tests.`);
seed += 2;
FSmatch++;
arcology.FSRestart += 0.01 * V.FSSingleSlaveRep;
} else if (slave.chastityVagina || slave.chastityPenis) {
pushFS(`In all ${his} public appearances, ${his} choice of clothing is always crotchless, leaving ${his} chastity gear as the only thing protecting ${his} modesty.`);
seed += 1;
FSmatch++;
arcology.FSRestart += 0.01 * V.FSSingleSlaveRep;
} else {
pushFS(`${His} lack of commitment to sterilization and eugenics drive away potential listeners.`);
}
} else {
pushFS(`No-one cares what bloated trash has to say.`);
}
}
if (arcology.FSSlimnessEnthusiast !== "unset") {
if (slave.boobs < 500 && slave.butt < 3 && slave.weight <= 10 && slave.muscles <= 30) {
pushFS(`${His} trim body gives ${him} a cute, ${girl}-next-door sex appeal in every selfie, even the ones taken in your penthouse far above everyone else's doors.`);
seed += 4;
FSmatch++;
arcology.FSSlimnessEnthusiast += 0.01 * V.FSSingleSlaveRep;
} else {
pushFS(`${He} shares a lot of selfies of ${his} activities in your penthouse, but ${his} bulging figure tends to hide what's going on.`);
}
} else if (arcology.FSAssetExpansionist !== "unset") {
if (slave.boobs > 2000 || slave.butt > 7 || slave.balls > 4 || slave.dick > 8) {
pushFS(`As the saying goes, "shake it if you got it," and no one can doubt ${slave.slaveName} has it after a "citizen" posts an "unauthorized" wristcam video of ${his} humongous anatomy swinging around a stripper pole.`);
seed += 4;
FSmatch++;
arcology.FSAssetExpansionist += 0.01 * V.FSSingleSlaveRep;
} else {
pushFS(`Although ${he} tries hard, none of ${his} assets interest the true size fetishist.`);
}
}
if (arcology.FSPastoralist !== "unset") {
if (V.dairy) {
if (App.Entity.facilities.dairy.employeesIDs().size > 0 && FSIntMod > ((V.dairyRestraintsSetting + 1) * 30) && V.dairyRestraintsSetting < 2) {
if (slave.lactation > 0) {
pushFS(`${He} schedules VR tours of ${V.dairyName} in order to popularize your free-range practices and quality products: the highlight each time is when ${he} hooks ${his} own teats into a milker and brings ${himself} to orgasm.`);
seed += 1;
FSmatch++;
} else {
pushFS(`${He} narrates a virtual reality tour of ${V.dairyName}, explaining how your humane, free-range practices result in a high quality product.`);
}
seed += 3;
FSdefend++;
arcology.FSPastoralist += 0.01 * V.FSSingleSlaveRep;
} else if (slave.lactation > 0) {
pushFS(`${His} VR uploads include a short clip of ${him} milking ${himself} in ${V.dairyName}; ${he} squirts directly into an old-fashioned bucket while ignoring the complicated, industrial machines behind ${him}.`);
seed += 1;
FSmatch++;
} else if (V.dairyRestraintsSetting >= 2) {
pushFS(`Your dairy is too heavily industrialized to promote socially.`);
} else {
pushFS(`${He} ignores ${V.dairyName}, since ${he} can't think of any ideas to promote it.`);
}
} else {
pushFS(`${He} can't really promote Pastoralist ideals when ${his} owner hasn't even committed to building a Dairy.`);
}
}
if (arcology.FSPhysicalIdealist !== "unset") {
let pass = false;
if (slave.muscles >= 50 && arcology.FSPhysicalIdealistLaw === 0) {
pushFS(`${He} asks another slave to photo-document ${his} time in the gym this week: naked, of course, to show off ${his} impressive muscle definition, and in certain poses ${he} nearly seems to be making love to the equipment.`);
pass = true;
} else if (slave.muscles >= 20 && slave.muscles < 50 && arcology.FSPhysicalIdealistLaw === 1) {
pushFS(`${He} asks another slave to photo-document ${his} time on the track this week: naked, of course, to show off ${his} perfectly toned body in motion.`);
pass = true;
} else if (slave.muscles > 40 && slave.health.condition > 80) {
pushFS(`${He} asks another slave to photo-document ${his} time in the gym this week: naked, of course, to show off how ${he} keeps in such fine shape, and in certain poses ${he} nearly seems to be making love to the equipment.`);
pass = true;
} else {
pushFS(`${He} tries documenting ${his} exercise routine, but it's a snooze fest because ${he} doesn't have the guns to show for it.`);
}
if (pass) {
seed += 4;
FSmatch++;
arcology.FSPhysicalIdealist += 0.01 * V.FSSingleSlaveRep;
}
} else if (arcology.FSHedonisticDecadence !== "unset") {
if (arcology.FSHedonisticDecadenceResearch === 1 && arcology.FSDegradationist === "unset") {
pushFS(`Whenever ${he} meets a prospect, ${he} makes sure to take some of your specialized slave food with ${him} to show them they won't miss much from their prior lives. It rarely fails to make an impact.`);
seed += 2;
FSmatch++;
}
if (slave.weight > 95 || (slave.fetishStrength >= 95 && slave.weight > 10)) {
pushFS(`${He} frequently`);
if (slave.fetishStrength >= 95) {
pushFS(`makes public appearances where ${he} demonstrates the strength of ${his} fetishes and invites spectators to aid in satisfying ${his} desires.`);
} else {
pushFS(`livestreams ${himself} relaxing and masturbating, making sure to draw attention to ${his} lush curves and how comfortable ${his} life is.`);
}
seed += 2;
FSmatch++;
arcology.FSHedonisticDecadence += 0.01 * V.FSSingleSlaveRep;
}
if (slave.weight > 10 && slave.health.condition > 80) {
pushFS(`Despite ${his} weight, ${he} practically oozes health and happiness helping to ease potential worries about the excessive lifestyle slaves enjoy under you.`);
seed += 2;
FSdefend++;
}
}
if (arcology.FSChattelReligionist !== "unset") {
if (slaveInt > 15 && (slave.devotion > 95 || slave.trust > 95)) {
if (slave.clothes === "a chattel habit" || slave.clothes === "a fallen nuns habit" || slave.clothes === "a penitent nuns habit" || slave.clothes === "a hijab and abaya") {
pushFS(`Clad in ${his} holy garb, ${slave.slaveName} preaches to the atrium with a powerful appeal to the new morality, in which ${his} absolute faith in your revelations is unmistakable.`);
seed += 1;
} else if (arcology.FSNeoImperialist !== "unset" && slave.clothes === "a tight Imperial bodysuit") {
pushFS(`${He} lectures eloquently on the importance of hierarchy and noble lineage in a pseduo-religious fashion, dressed out in ${his} form-fitting bodysuit; most of the listeners' eyes fall on ${his} tightly-outlined chest and how ${his} nipples protrude obviously underneath the cybersuit, your crest emblazoned over the rock-hard nubs doing more of the arguing.`);
seed += 1;
} else if (arcology.FSNeoImperialist !== "unset" && slave.clothes === "Imperial Plate") {
pushFS(`${He} gives a lengthy speech about the importance of hierarchy and noble lineage in a pseudo-religious fashion, speaking on the divine right of the nobility to rule while dominating the floor in ${his} ultra-heavy Imperial plate.`);
seed += 1;
} else if (arcology.FSRomanRevivalist !== "unset" && slave.clothes === "a toga") {
pushFS(`${He} preaches in the atrium, delivering a powerful and faith-filled appeal in support of the new state religion and its Prophet-Emperor, descendant of the gods.`);
seed += 1;
} else {
pushFS(`${He} heads to the atrium to deliver a powerful, faith-based appeal for everyone to join the new moral order, though one cynical onlooker heckles ${him} about ${his} style of dress.`);
}
seed += 1;
FSdefend++;
arcology.FSChattelReligionist += 0.01 * V.FSSingleSlaveRep * FSIntMod;
} else if (slaveInt > 15) {
pushFS(`${His} lecture on the new religious morality is thorough, and also devastatingly boring: all bullet point scriptures and little emotion that would sway unenlightened hearts.`);
} else if (slave.devotion > 95 || slave.trust > 95) {
pushFS(`Although ${he} wears ${his} faith in you on ${his} metaphorical sleeve, ${he} can't muster the intellectual arguments to counter the shrill voices of backward old world religions.`);
} else {
pushFS(`${He} is hapless as a proselytizer for the new religious order because ${his} personal understanding and adherence remains inadequate.`);
}
} else if (arcology.FSNull !== "unset") {
pushFS(`${His} contribution is one voice among many in the open freedom of ${arcology.name}'s media,`);
if (slave.skill.entertainment > 10) {
pushFS(`but everything that relates to its leadership is usually well-received.`);
} else {
pushFS(`so ${his} unskilled performances this week hardly cause a ripple.`);
}
seed += ((slave.skill.entertainment / 30) * arcology.FSNull / 10);
}
if (arcology.FSRomanRevivalist !== "unset") {
if (slave.clothes === "a toga") {
if (slave.face > 10 && slave.counter.pitKills > 0) {
pushFS(`${He} thrills audiences by recounting tales of ${his} exploits as a beautiful and deadly gladiatrix-<span style="italic">slash</span>-love-slave for the First Citizen of the Eternal City reborn.`);
// protip: it doesn't have to be YOUR pit
seed += 5;
FSmatch++;
arcology.FSRomanRevivalist += 0.02 * V.FSSingleSlaveRep;
} else if (slave.face > 10) {
pushFS(`${His} statuesque beauty is a fitting tribute to the glory of the Eternal City reborn, but ${he} still lacks the edge of <span style="italic">bloodthirstiness</span> that makes life here so exciting.`);
} else if (slave.counter.pitKills > 0) {
pushFS(`Even though ${his} history of gladiatorial combat is noble, when mixed with ${his} homeliness it tends to frighten the squeamish as much as it attracts the sanguinary.`);
} else {
pushFS(`${He} comes across like a historical tour guide; more worthy citizens would flock to the New Rome if your recruiter appeared as a statuesque, and possibly deadly, inamorata of its ruler.`);
}
seed += 1;
} else {
pushFS(`Dressed as ${he} is in the garments of a barbarian, the citizens of the New Rome ignore ${him}.`);
}
} else if (arcology.FSNeoImperialist !== "unset") {
if (slave.clothes === "a tight Imperial bodysuit") {
if (slave.face > 10 && slave.skill.entertainment >= 60) {
pushFS(`${He} thrills the watching audience with ${his} immense beauty and charm, performing just as a proper Imperial slave ought - obedient, gorgeous, and strikingly attentive.`);
seed += 5;
FSmatch++;
arcology.FSNeoImperialist += 0.02 * V.FSSingleSlaveRep;
} else if (slave.face > 10) {
pushFS(`${His} beauty captivates the watching audience, although ${he} is somewhat awkward and ungraceful when actually speaking with them.`);
} else if (slave.skill.entertainment >= 60) {
pushFS(`Even though ${he} acts as a perfect Imperial slave, attentive and obedient, ${his} comely features fail to attract much attention, superficial as it may be.`);
} else {
pushFS(`${He} comes across as both boring and unattractive; the emblazoned crest on ${his} chest seems more like a mark of mockery upon the stuttering, homely slave.`);
}
seed += 1;
} else if (slave.clothes === "Imperial Plate") {
if (slave.counter.pitKills > 0) {
pushFS(`In ${his} ultra-heavy Imperial Plate, ${he} mystifies and captivates the audience with ${his} tales of victory and domination in the arena, coming across as an awe-inspiring and slightly terrifying properly Imperial Knight.`);
seed += 5;
FSmatch++;
arcology.FSNeoImperialist += 0.02 * V.FSSingleSlaveRep;
} else {
pushFS(`The high-tech nature of ${his} Imperial Plate and its incredibly thick plating does more to scare off potential recruits than draw them in, particularly without any real tales of valor to tell to those who do stop to listen.`);
}
seed += 1;
} else {
pushFS(`Without clear markings to identify ${him} as an Imperial slave, ${his} attempts have little effect on the promotion of Imperial society.`);
}
} else if (arcology.FSEgyptianRevivalist !== "unset") {
if (totalRelatives(slave) > 0) {
const recruiterRelation = arcology.FSEgyptianRevivalist !== "unset" ? randomRelatedAvailableSlave(slave) : null;
if (recruiterRelation) {
const relationType = relativeTerm(slave, recruiterRelation);
if (slave.energy > 60 || slave.sexualQuirk === "tease" || slave.sexualQuirk === "perverted") {
if (recruiterRelation.energy > 60 || recruiterRelation.sexualQuirk === "tease" || recruiterRelation.sexualQuirk === "perverted") {
pushFS(`${slave.slaveName} and ${his} ${relationType} ${recruiterRelation.slaveName} collaborate on a series of short commercials showing them `);
if (canWalk(slave) || canWalk(recruiterRelation)) {
pushFS(`walking and`);
}
pushFS(`playing in your arcology's public spaces. A little `);
if (hasAnyArms(slave) || hasAnyArms(recruiterRelation)) {
pushFS(`hand on the ass`);
} else {
pushFS(`cuddling`);
}
pushFS(`here, a little lips almost touching there, and it's enough to tease your Ancient Egyptian sensibility about incest without running afoul of too many old world censors.`);
seed += 6;
FSmatch++;
arcology.FSEgyptianRevivalist += 0.02 * V.FSSingleSlaveRep;
} else if (slave.relationshipTarget === recruiterRelation.ID) {
pushFS(`Even though their incestuous relationship is not condemned here, ${his} ${relationType} ${recruiterRelation.slaveName} is too shy to act it out in front of the world.`);
} else {
pushFS(`The Ancient Egyptian sensibility of your arcology features slave incest, but your recruiter can't convince ${his} shy ${relationType} to play along for publicity.`);
}
} else if (slave.relationshipTarget === recruiterRelation.ID) {
pushFS(`Even though ${he} shares a properly incestuous relationship with ${his} ${relationType}, ${he} is too shy to bring it on camera for the whole world.`);
} else {
pushFS(`The Ancient Egyptian sensibility of your arcology features slave incest, but ${he}'s too shy even to play-act with ${his} ${relationType} for publicity.`);
}
} else {
pushFS(`One idea that comes up while brainstorming is to act out Ancient Egyptian incest with a family member, but all of them are confined and unavailable.`);
}
} else {
pushFS(`One of the most prominent features of your Egyptian Revival is an open, even expectant, attitude toward slave incest, but ${he} doesn't have any close family living in your household.`);
}
} else if (arcology.FSEdoRevivalist !== "unset") {
if (V.clubDecoration !== "standard" && App.Entity.facilities.club.employeesIDs().size > 1) {
if (getClubAdsBonus() >= 3) {
pushFS(`The candid, POV-style videos of ${slave.slaveName} dancing, making out, and giving blowjobs alongside your regular sluts in ${V.clubName}'s ${V.clubDecoration} atmosphere earn a lot of thumbs up.`);
seed += 6;
FSmatch++;
arcology.FSEdoRevivalist += 0.02 * V.FSSingleSlaveRep;
} else {
pushFS(`${He} enjoys ${himself} when ${he} films in ${V.clubName}, but the sluts there just don't earn enough attention for the visit to raise your public profile; the club may need broader marketing appeal.`);
}
} else if (V.club === 0) {
pushFS(`${He}'d like to integrate ${his} personal profile with your cultural Revival, but there's no clear place in your arcology to focus ${his} attention.`);
} else if (App.Entity.facilities.club.employeesIDs().size <= 1) {
pushFS(`${He} travels down to ${V.clubName} for some POV video footage, but ${he} can't get enough reliable dance partners.`);
} else {
pushFS(`${He} gets some hot POV-style footage when ${he} films in your nightclub, but there's nothing special about its atmosphere to distinguish it from any other bar in any other arcology.`);
}
} else if (arcology.FSArabianRevivalist !== "unset") {
if (V.masterSuiteDecoration === "Arabian Revivalist" && V.masterSuiteUpgradeLuxury > 0 && App.Utils.masterSuiteAverages().energy > 60) {
if (App.Entity.facilities.masterSuite.employeesIDs().size >= 3) {
pushFS(`An exposé that "pulls back the curtain" on your elaborate master bedroom goes viral after several harem slaves drag ${him} into`);
if (V.masterSuiteUpgradeLuxury === 1) {
pushFS(`four-way action with their ${properMaster()}`);
} else {
pushFS(`a fuckpit daisy chain`);
}
pushFS(`and another takes over the filming.`);
seed += 6;
FSmatch++;
arcology.FSArabianRevivalist += 0.02 * V.FSSingleSlaveRep;
} else {
pushFS(`${He} makes a short video essay about your elaborate master suite, but the empty space unfilled by luscious slave bodies fails to impress.`);
}
} else if (V.masterSuiteUpgradeLuxury === 0) {
// covers if suite is unbuilt as well
pushFS(`${He} wants to profile the decadence of your grand bedroom, but the reality is shabby compared to the Revivalist dreams of luxurious harems in the old days.`);
} else if (V.masterSuiteDecoration !== "Arabian Revivalist") {
pushFS(`${He} thinks that "Pulling Back the Curtain" would make a good title for an exposé of your sumptuous bedroom, but it turns out that the space isn't decorated with Arabian-style curtains.`);
} else {
pushFS(`${He} makes a short video essay about your elaborate master suite, but there's no sex going on while ${he} films.`);
}
} else if (arcology.FSChineseRevivalist !== "unset") {
if (slaveInt > 15 && V.HeadGirlID !== 0 && V.BodyguardID !== 0 && V.HGSuite > 0) {
if ((S.HeadGirl.skill.entertainment / 30) + (S.HeadGirl.intelligenceImplant / 10) + S.HeadGirl.prestige >= 4) {
if (S.Bodyguard.prestige >= 1) {
pushFS(`${He} deferentially chronicles the administration of your Imperial household by Head Girl ${S.HeadGirl.slaveName} and Bodyguard ${S.Bodyguard.slaveName}. The piece explains points of Chinese Revivalist protocol where new slaves or visitors to the Forbidden Penthouse might inadvertently stumble.`);
FSmatch++;
} else {
pushFS(`${He} interviews your Head Girl about points of protocol and household administration for broadcast to the arcology. Your Bodyguard, ${S.Bodyguard.slaveName}, is not accustomed to fame and prefers to remain off-screen.`);
}
} else if (S.HeadGirl.intelligenceImplant < 15) {
pushFS(`${He} edits a documentary broadcast about the Revivalist protocols that drive your household, and in the process uncovers small but annoying lapses due to the Head Girl's lack of formal education.`);
} else {
pushFS(`${He} broadcasts a documentary about life inside your Imperial Chinese household, but the Head Girl's segment comes out flat: ${S.HeadGirl.slaveName} needs more experience working in front of a camera.`);
}
seed += (Math.min(((S.HeadGirl.skill.entertainment / 30) + (S.HeadGirl.intelligenceImplant / 10) + S.HeadGirl.prestige), 4) + Math.min(S.Bodyguard.prestige, 1));
FSdefend++;
arcology.FSChineseRevivalist += 0.03 * V.FSSingleSlaveRep;
} else if (V.HeadGirlID === 0 || V.BodyguardID === 0) {
pushFS(`${He} can't document the benefits of your Imperial Chinese administration because of unfilled posts in its leadership.`);
} else if (slaveInt <= 15) {
pushFS(`Your household is a well-run model for the arcology at large, but your recruiter doesn't completely understand its intricate Revivalist protocols and can't explain it for the masses.`);
} else {
pushFS(`${He} never considers promoting your household's Revivalist protocols, since you don't value your Head Girl enough to accord ${him} a separate apartment inside your walls.`);
}
} else if (arcology.FSAztecRevivalist !== "unset") {
if (arcology.FSPaternalist !== "unset") {
if (slave.health.condition >= 80 && slave.bellyPreg < 1500 && slave.trust + slave.devotion >= 175) {
pushFS(`${He} allows willing members of the public to <span class="health dec">spill ${his} blood</span> in tribute to the gods.`);
healthDamage(slave, 2);
FSmatch++;
seed += 5;
arcology.FSAztecRevivalist += 0.02 * V.FSSingleSlaveRep;
} else if (slave.trust + slave.devotion < 175) {
pushFS(`${He} is willing to take part in bloodletting, but the public doesn't find that believable.`);
} else if (slave.bellyPreg >= 1500) {
pushFS(`${He} is willing to take part in bloodletting, but the public absolutely refuses to do such a thing to a pregnant ${girl}.`);
} else {
pushFS(`${He} is willing to take part in bloodletting, but the public finds it wrong to impose on someone not in the absolute best of health.`);
}
} else {
if (slave.health.condition >= -20 && slave.trust + slave.devotion >= 175) {
pushFS(`${He} practices public displays of <span class="health dec">bloodletting,</span> both on ${himself} and those willing, impressing onlookers with ${his} devotion to the gods.`);
healthDamage(slave, 2);
FSmatch++;
seed += 5;
arcology.FSAztecRevivalist += 0.02 * V.FSSingleSlaveRep;
} else if (slave.trust + slave.devotion < 175) {
pushFS(`${He} is willing to take part in bloodletting, but you have no reason to trust ${him} with the tools required.`);
} else {
pushFS(`${He} is willing to take part in bloodletting, but you can't allow ${him} to do so in ${his} poor health.`);
}
}
if (slaveInt > 15) {
pushFS(`${He} puts ${his} mind to work as ${he} joins citizens in their prayers to each deity.`);
FSdefend++;
seed += 1;
} else {
pushFS(`${His} poor attempts to espouse the benefits of true faith leave the crowd wondering if ${he} is next in line for sacrifice.`);
}
}
repX(Math.trunc(seed * 5), "futureSocieties", slave);
// the summary lines always show, regardless of showEWM
if (FSmatch > 0) {
r.push(`${His} personal appearance fits with your social philosophies, making the future you're building <span class="positive">more popular.</span>`);
}
if (FSdefend > 0) {
r.push(`${He} is able to smartly`);
if (arcology.FSPaternalist !== "unset") {
r.push(`answer`);
} else {
r.push(`deflect`);
}
r.push(`abolitionist trolls about your arcology's treatment of`);
if (arcology.FSPaternalist !== "unset") {
r.push(`contracted sex workers,`);
} else {
r.push(`chattel,`);
}
r.push(`<span class="positive">confirming your ideals</span> in the minds of some wavering individuals.`);
}
// concatenate the FS match/defend strings *after* the summary
r = r.concat(FSstrings);
}
})();
|
MonsterMate/fc
|
src/endWeek/saRecruitGirls.js
|
JavaScript
|
mit
| 86,131
|
App.SlaveAssignment.relationships = (function() {
"use strict";
let r;
// eslint-disable-next-line no-unused-vars
let he, him, his, himself, He, His, wife, woman;
// eslint-disable-next-line no-unused-vars
let he2, him2, his2, girl2, wife2, He2;
let playerPronouns;
let PC;
let friend;
return saRelationships;
/**
* @param {App.Entity.SlaveState} slave
* @returns {string}
*/
function saRelationships(slave) {
r = [];
PC = V.PC;
({
// eslint-disable-next-line no-unused-vars
he, him, his, himself, He, His, wife, woman
} = getPronouns(slave));
playerPronouns = getPronouns(PC);
if (slave.fuckdoll === 0) {
if (slave.relationship === 0 && slave.fetish !== "mindbroken") {
generateRelationship(slave);
} else if (slave.relationship !== 0) {
if (slave.relationship > 0) {
sanityCheck(slave);
}
existingRelationship(slave);
if (slave.relationship > 2) {
consummateRelationship(slave);
}
}
if (slave.fetish !== "mindbroken" && totalRelatives(slave) > 0) {
familyFeelings(slave);
}
}
return r.join(" ");
}
/** Can this slave possibly be a friend?
* @param {App.Entity.SlaveState} slave
* @param {App.Entity.SlaveState} potentialFriend
* @returns {boolean}
*/
function canStartFriendship(slave, potentialFriend) {
return (potentialFriend.relationship === 0 && slave.rivalryTarget !== potentialFriend.ID && potentialFriend.ID !== slave.ID && potentialFriend.fetish !== "mindbroken" && potentialFriend.fuckdoll === 0 && isSlaveAvailable(potentialFriend));
}
/** Does the facility head accept her advances?
* @param {App.Entity.SlaveState} potentialFriend
* @param {number} manipulationSkill
* @returns {boolean}
*/
function silverTongue(potentialFriend, manipulationSkill) {
return manipulationSkill > (random(1, 100 + ((potentialFriend.intelligence + potentialFriend.intelligenceImplant) / 10)));
}
/**
* @param {App.Entity.SlaveState} slave
* @param {App.Entity.SlaveState} friend
* @param {FC.RelationShipKind} degree
*/
function startFriendship(slave, friend, degree) {
friend.relationship = degree;
friend.relationshipTarget = slave.ID;
slave.relationship = degree;
slave.relationshipTarget = friend.ID;
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function generateRelationship(slave) {
let randomSeed;
if (slave.devotion + slave.trust > 175 && random(1, 3) === 1) { // player + emotional slut
r.push(`${slave.slaveName} is quite devoted to you, and trusts both you and ${his} place as a slave. Since ${he} does not have a strong relationship with another slave,`);
if (slave.sexualQuirk === "romantic") {
r.push(`and persistently interprets sex in the most romantic possible terms, ${he} has decided that ${he} wants to be yours in ${his} heart as well as ${his}`);
if (slave.vagina > 0) {
r.push(`pussy.`);
} else if (slave.anus > 0) {
r.push(`butthole.`);
} else {
r.push(`mouth.`);
}
r.push(`<span class="relationship">${He}'s become emotionally bonded to you!</span>`);
slave.relationship = -2;
} else if (slave.assignment === Job.CONCUBINE) {
r.push(`and is your concubine, ${he} almost inevitably comes to view you as much as a lover as an owner. <span class="relationship">${He}'s become emotionally bonded to you!</span>`);
slave.relationship = -2;
} else if (V.masterSuiteUpgradeLuxury === 2 && slave.assignment === Job.MASTERSUITE) {
r.push(`and does nothing but eat, sleep, and make love to your other fucktoys, ${he} slowly loses sight of any distinction between emotional attachment and sexual congress. <span class="relationship">${He}'s become an emotional slut!</span>`);
slave.relationship = -1;
} else if (slave.assignment === Job.FUCKTOY || slave.assignment === Job.MASTERSUITE) {
r.push(`and spends ${his} days worshipping your`);
if (V.PC.dick !== 0) {
r.push(`cock${PC.vagina !== -1 ? " and" : ","}`);
}
if (V.PC.vagina !== -1) {
r.push(`cunt,`);
}
r.push(`${he} begins to focus more and more of ${his} happiness on how happy you are. <span class="relationship">${He}'s become emotionally bonded to you!</span>`);
slave.relationship = -2;
} else if (slave.assignment === Job.PUBLIC || slave.assignment === Job.CLUB) {
r.push(`and ${his} life is an endless stream of lovers, ${he} unconsciously loses any sense of emotional attachment outside the intimacy of sex. <span class="relationship">${He}'s become an emotional slut!</span>`);
slave.relationship = -1;
} else if (slave.energy > 95 && (slave.counter.anal + slave.counter.vaginal + slave.counter.oral + slave.counter.mammary + slave.counter.penetrative > ((V.week - slave.weekAcquired) * random(20, 30)))) {
r.push(`is a total sex addict, and has a spectacularly promiscuous sexual history, ${he} begins to think of sex as ${his} only meaningful emotional connection with people. <span class="relationship">${He}'s become an emotional slut!</span>`);
slave.relationship = -1;
} else {
r.push(`and loves you, ${he} begins to think of you as a ${woman} might think of ${his} lover — or spouse. ${He} knows ${he} cannot hope for more of a relationship with you than ${he} has, but ${he} finds emotional support in serving you nonetheless. <span class="relationship">${He}'s become emotionally bonded to you!</span>`);
slave.relationship = -2;
}
} else if (slave.career === "a Futanari Sister" && slave.rules.relationship === "permissive") {
const potentialFriend = V.slaves.find((s) => s.career === "a Futanari Sister" && s.rules.relationship === "permissive" && canStartFriendship(slave, s));
if (potentialFriend !== undefined) {
r.push(`${slave.slaveName} greets ${potentialFriend.slaveName} with joy. It's not clear whether they ever knew each other during their lives as Futanari Sisters, but it seems that they believe themselves to be in a relationship by simple virtue of having been Sisters. In any case, ${slave.slaveName} and ${potentialFriend.slaveName} <span class="relationship">become inseparable lovers</span> instantly, as though there's no possibility they would do anything else. They're even surprised when other slaves ask them about it; it's as though they're unaware that other possibilities even exist.`);
startFriendship(slave, potentialFriend, 4);
}
} else if (slave.origin === "You were acquainted with $him before you were an arcology owner; your rival tried to use $him to manipulate you, but you rescued $him." && V.rivalryDuration > 20 && !["Intellectual Dependency", "Paternalism", "Racial Supremacism", "Slave Professionalism"].includes(V.rivalryFS) && slave.newGamePlus === 0) {
const potentialFriend = V.slaves.find((s) => (s.prestigeDesc === "You bankrupted and enslaved $him in revenge for $his part in the attack on your arcology by the Daughters of Liberty." && s.fuckdoll === 0 && s.fetish !== "mindbroken" && s.newGamePlus === 0));
if (potentialFriend !== undefined) {
r.push(`${slave.slaveName} greets ${potentialFriend.slaveName} with joy, happy to see a familiar face again. Without any regard to you, <span class="relationship">they continue their prior relationship.</span>`);
if (potentialFriend.relationship > 0) { // remove me with multi-friend system
const formerFriend = getSlave(potentialFriend.relationshipTarget);
if (formerFriend !== undefined) {
formerFriend.relationshipTarget = 0;
formerFriend.relationship = 0;
}
}
startFriendship(slave, potentialFriend, 4);
}
} else if (slave.rules.relationship !== "restrictive") {
if (slave.trust > -90) { // used to be devotion > -90. Why a slave hating you wouldn't try to make friends with others that hate you doesn't make sense. Almost tempted to raise it to -50.
if (slave.behavioralFlaw === "none" || (slave.intelligence + slave.intelligenceImplant > 50)) {
randomSeed = random(1, 100);
} else {
randomSeed = random(1, 80);
}
const manipulationSkill = (slave.devotion + slave.trust + ((slave.intelligence + slave.intelligenceImplant) / 10)); // intended for defiant slaves to ingrain themselves with facility heads
if (randomSeed > 75) {
let resentment = 0;
for (const potentialFriend of V.slaves) {
({
he2, him2, his2, girl2, He2
} = getPronouns(potentialFriend).appendSuffix("2"));
if (canStartFriendship(slave, potentialFriend) && potentialFriend.assignment !== Job.CONFINEMENT) {
if (potentialFriend.ID === V.MadamID && slave.assignment === Job.BROTHEL) {
if (potentialFriend.rules.relationship !== "restrictive" && silverTongue(potentialFriend, manipulationSkill)) {
r.push(`${slave.slaveName} manages to ingratiate ${himself} with the Madam, ${potentialFriend.slaveName}. The two slaves have <span class="relationship">struck up a friendship.</span>`);
startFriendship(slave, potentialFriend, 1);
break;
} else {
if (slave.devotion < -20) {
r.push(`${slave.slaveName} tries to strike up a friendship with the Madam, ${potentialFriend.slaveName}, and is <span class="trust dec">punished</span> by ${him2} for disrespect.`);
slave.trust -= 4;
}
}
} else if (potentialFriend.ID === V.djID && slave.assignment === Job.CLUB) {
if (potentialFriend.rules.relationship !== "restrictive" && silverTongue(potentialFriend, manipulationSkill)) {
r.push(`${slave.slaveName} manages to ingratiate ${himself} with the DJ, ${potentialFriend.slaveName}. The two slaves have <span class="relationship">struck up a friendship.</span>`);
startFriendship(slave, potentialFriend, 1);
break;
} else {
if (slave.devotion < -20) {
r.push(`${slave.slaveName} tries to strike up a friendship with the DJ, ${potentialFriend.slaveName}, and is <span class="trust dec">punished</span> by ${him2} for disrespect.`);
slave.trust -= 4;
}
}
} else if (potentialFriend.ID === V.MilkmaidID && slave.assignment === Job.DAIRY) {
if (potentialFriend.rules.relationship !== "restrictive" && silverTongue(potentialFriend, manipulationSkill)) {
r.push(`${slave.slaveName} manages to ingratiate ${himself} with the Milkmaid, ${potentialFriend.slaveName}. The two slaves have <span class="relationship">struck up a friendship.</span>`);
startFriendship(slave, potentialFriend, 1);
break;
} else {
if (slave.devotion < -20) {
r.push(`${slave.slaveName} tries to strike up a friendship with the Milkmaid, ${potentialFriend.slaveName}, and is <span class="trust dec">punished</span> by ${him2} for disrespect.`);
slave.trust -= 4;
}
}
} else if (potentialFriend.ID === V.FarmerID && slave.assignment === Job.FARMYARD) {
if (potentialFriend.rules.relationship !== "restrictive" && silverTongue(potentialFriend, manipulationSkill)) {
r.push(`${slave.slaveName} manages to ingratiate ${himself} with the Farmer, ${potentialFriend.slaveName}. The two slaves have <span class="relationship">struck up a friendship.</span>`);
startFriendship(slave, potentialFriend, 1);
break;
} else {
if (slave.devotion < -20) {
r.push(`${slave.slaveName} tries to strike up a friendship with the Farmer, ${potentialFriend.slaveName}, and is <span class="trust dec">punished</span> by ${him2} for disrespect.`);
slave.trust -= 4;
}
}
} else if (potentialFriend.ID === V.SchoolteacherID && slave.assignment === Job.SCHOOL) {
if (potentialFriend.rules.relationship !== "restrictive" && silverTongue(potentialFriend, manipulationSkill)) {
r.push(`${slave.slaveName} manages to ingratiate ${himself} with the Schoolteacher, ${potentialFriend.slaveName}. The two slaves have <span class="relationship">struck up a friendship.</span>`);
startFriendship(slave, potentialFriend, 1);
break;
} else {
if (slave.devotion < -20) {
r.push(`${slave.slaveName} tries to strike up a friendship with the Schoolteacher, ${potentialFriend.slaveName}, and is <span class="trust dec">punished</span> by ${him2} for disrespect.`);
slave.trust -= 4;
}
}
} else if (potentialFriend.ID === V.AttendantID && slave.assignment === Job.SPA) {
if (potentialFriend.rules.relationship !== "restrictive" && silverTongue(potentialFriend, manipulationSkill)) {
r.push(`${slave.slaveName} basks in the affection and care of the spa attendant, ${potentialFriend.slaveName}. The two slaves have <span class="relationship">struck up a friendship.</span>`);
startFriendship(slave, potentialFriend, 1);
break;
} else {
if (slave.devotion < -20) {
r.push(`${slave.slaveName} tries to strike up a friendship with the spa attendant, ${potentialFriend.slaveName}. ${He2} gently <span class="devotion inc">counsels</span> ${him} to obey the rules.`);
slave.devotion += 1;
}
}
} else if (potentialFriend.ID === V.StewardessID && slave.assignment === Job.QUARTER) {
if (potentialFriend.rules.relationship !== "restrictive" && silverTongue(potentialFriend, manipulationSkill)) {
r.push(`${slave.slaveName} manages to ingratiate ${himself} with the Stewardess, ${potentialFriend.slaveName}. The two slaves have <span class="relationship">struck up a friendship.</span>`);
startFriendship(slave, potentialFriend, 1);
break;
} else {
if (slave.devotion < -20) {
r.push(`${slave.slaveName} tries to strike up a friendship with the Stewardess, ${potentialFriend.slaveName}, and is <span class="trust dec">punished</span> by ${him2} for disrespect.`);
slave.trust -= 4;
}
}
} else if (potentialFriend.ID === V.WardenessID && slave.assignment === Job.CELLBLOCK) {
if (potentialFriend.rules.relationship !== "restrictive" && silverTongue(potentialFriend, manipulationSkill)) {
r.push(`${slave.slaveName} manages to earn the respect of the Wardeness, ${potentialFriend.slaveName}. The two slaves have <span class="relationship">struck up a friendship.</span>`);
startFriendship(slave, potentialFriend, 1);
break;
} else {
if (slave.devotion < -20) {
r.push(`${slave.slaveName} tries to strike up a friendship with the Wardeness, ${potentialFriend.slaveName}, and is <span class="trust dec">beaten</span> by ${him2} for ${his} trouble.`);
slave.trust -= 5;
}
}
} else if (potentialFriend.ID === V.ConcubineID && slave.assignment === Job.MASTERSUITE) {
if (potentialFriend.rules.relationship !== "restrictive" && silverTongue(potentialFriend, manipulationSkill)) {
r.push(`${slave.slaveName} becomes especially close to the Concubine, ${potentialFriend.slaveName}. The two slaves have <span class="relationship">struck up a friendship.</span>`);
startFriendship(slave, potentialFriend, 1);
break;
} else {
if (slave.devotion < -20 && potentialFriend.fetish !== "mindbroken") {
r.push(`${slave.slaveName} tries to strike up a friendship with the Concubine, ${potentialFriend.slaveName}, and is gently <span class="devotion inc">counseled</span> by ${him2} that such things are against the rules.`);
slave.devotion += 1;
}
}
} else if (potentialFriend.assignment === slave.assignment) {
if (random(1, 100) > 50) {
if (potentialFriend.rules.relationship !== "restrictive") {
r.push(`${slave.slaveName} and ${potentialFriend.slaveName} see a lot of each other`);
if (slave.assignment === Job.SCHOOL || slave.assignment === Job.CLASSES) {
r.push(`in class`);
} else if (slave.assignment === Job.CLINIC) {
r.push(`while being treated`);
} else if (slave.assignment === Job.CELLBLOCK) {
r.push(`while being punished`);
} else if (slave.assignment === Job.REST) {
r.push(`in their time off`);
} else {
r.push(`at work`);
}
r.push(`and <span class="relationship">strike up a friendship.</span>`);
startFriendship(slave, potentialFriend, 1);
break;
} else {
if (resentment === 0) {
r.push(`${slave.slaveName} tries to strike up a friendship with ${potentialFriend.slaveName} and is <span class="trust dec">punished</span> for breaking the rules against such things; ${he} <span class="devotion dec">resents</span> being castigated for simple sociability.`);
slave.devotion -= 2;
slave.trust -= 2;
resentment++;
}
}
}
} else if (mutualChildren(slave, potentialFriend, V.slaves) > 0) {
if (App.Utils.sexAllowed(slave, potentialFriend)) {
if (potentialFriend.rules.relationship === "permissive") {
r.push(`${slave.slaveName} and ${potentialFriend.slaveName} have`);
if (mutualChildren(slave, potentialFriend, V.slaves) === 0) {
r.push(`a child`);
} else {
r.push(`children`);
}
r.push(`living in your penthouse, so it's not surprising that their offspring brings them together. They have <span class="relationship">become friends</span> for their child's sake.`);
startFriendship(slave, potentialFriend, 1);
break;
} else {
r.push(`${slave.slaveName} tries to renew ${his} relationship with ${potentialFriend.slaveName} and is <span class="trust dec">punished</span> for breaking the rules against such things; ${he} <span class="devotion dec">resents</span> being prevented from reuniting with ${him2}.`);
slave.devotion -= 2;
slave.trust -= 2;
}
}
} else if (potentialFriend.fetish === slave.fetish || (potentialFriend.fetish === "sadist" && slave.fetish === "masochist") || (slave.fetish === "sadist" && potentialFriend.fetish === "masochist") || (potentialFriend.fetish === "dom" && slave.fetish === "submissive") || (slave.fetish === "submissive" && potentialFriend.fetish === "dom")) {
if (slave.fetish !== "none" && App.Utils.sexAllowed(slave, potentialFriend)) {
if (potentialFriend.rules.relationship === "permissive") {
r.push(`${slave.slaveName} and ${potentialFriend.slaveName} share sexual inclinations, so it's only natural that they <span class="relationship">become friends with benefits.</span>`);
startFriendship(slave, potentialFriend, 3);
break;
} else {
if (resentment === 0) {
r.push(`${slave.slaveName} tries to strike up a sexual relationship with ${potentialFriend.slaveName} and is <span class="trust dec">punished</span> for breaking the rules against such things; ${he} <span class="devotion dec">resents</span> being prevented from pursuing ${him2}.`);
slave.devotion -= 2;
slave.trust -= 2;
resentment++;
}
}
}
}
}
}
}
}
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function sanityCheck(slave) {
const friend = getSlave(slave.relationshipTarget);
if (friend === undefined) {
r.push(`<span class="error">${slave.slaveName}'s relationship was ${slave.relationship} and relationshipTarget was ${slave.relationshipTarget} but no slave with that ID was found</span>`);
slave.relationship = 0;
slave.relationshipTarget = 0;
} else {
if (slave.rivalry !== 0 && slave.rivalryTarget === friend.ID) {
friend.rivalry = 0;
friend.rivalryTarget = 0;
slave.rivalry = 0;
slave.rivalryTarget = 0;
}
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function existingRelationship(slave) {
if (slave.relationship > 0) {
friend = getSlave(slave.relationshipTarget);
({
he2, him2, his2, girl2, He2
} = getPronouns(friend).appendSuffix("2"));
}
if (slave.fetish === "mindbroken" && slave.relationship !== -3) {
r.push(`Since ${he} is mindbroken, ${he} <span class="relationship dec">can't really maintain</span>`);
if (slave.relationship > 0) {
r.push(`any meaningful relationship with ${friend.slaveName}.`);
friend.relationship = 0;
friend.relationshipTarget = 0;
} else if (slave.relationship === -1) {
r.push(`any emotional dependencies.`);
} else {
r.push(`any meaningful relationship with you.`);
}
slave.relationship = 0;
slave.relationshipTarget = 0;
} else if (slave.relationship === -1) {
if ([Job.DJ, Job.CLUB, Job.PUBLIC, Job.WHORE, Job.BROTHEL].includes(slave.assignment)) {
r.push(`${His} endless stream of lovers maintains and satisfies ${his} emotional reliance on sex.`);
} else if (slave.assignment === Job.MASTERSUITE && V.masterSuiteUpgradeLuxury === 2) {
r.push(`Forming a part of the pile of copulating bodies in ${V.masterSuiteName} satisfies ${his} voracious sexual appetite.`);
} else if ((slave.energy <= 95)) {
r.push(`${He} is not a complete nymphomaniac and ${he} doesn't have a constant stream of lovers, so ${he} has <span class="relationship dec">begun to rely less on sex for emotional support</span> than ${he} once did.`);
slave.relationship = 0;
} else if (slave.energy > 95) {
r.push(`${He} is such a nymphomaniac that even without a steady stream of lovers, ${his} emotional reliance on promiscuity remains.`);
if (slave.devotion > 60) {
r.push(`${He} is <span class="devotion dec">emotionally unfulfilled</span> by ${his} assignment, since it does not afford ${him} the validation of massive promiscuity.`);
slave.devotion--;
}
if (slave.trust > 60) {
r.push(`${He} is <span class="trust dec">impatient</span> with ${his} limited field of potential sexual partners, and would prefer to be a publicly available nympho.`);
slave.trust--;
}
}
} else if (slave.relationship === -2) {
incestReactions(slave, PC);
if (slave.devotion + slave.trust < 150) {
if (slave.devotion < 75 && random(1, 100) > 50) {
r.push(`${He} is no longer as devoted to you as ${he} once was, and has <span class="relationship dec">begun to look elsewhere for emotional support.</span>`);
slave.relationship = 0;
} else if (slave.trust < 75 && random(1, 100) > 50) {
r.push(`${He} is no longer as trusting of you as ${he} once was, and has <span class="relationship dec">begun to look elsewhere for emotional support.</span>`);
slave.relationship = 0;
}
}
switch (slave.assignment) {
case Job.HOUSE:
case Job.CONCUBINE:
case Job.FUCKTOY:
case Job.MASTERSUITE:
case Job.QUARTER:
r.push(`${He} is <span class="devotion inc">happy</span> to be allowed to serve you personally, since it's as close a relationship to you as ${he} can aspire to. In addition, ${his} deep love for you produces a slow but steady increase of both <span class="devotion inc">devotion</span> and <span class="trust inc">trust.</span>`);
slave.devotion++;
slave.trust++;
break;
default:
r.push(`${His} deep love for you produces a slow but steady increase of both <span class="devotion inc">devotion</span> and <span class="trust inc">trust.</span>`);
slave.devotion++;
slave.trust++;
}
} else if (slave.relationship === -3) {
incestReactions(slave, PC);
if (slave.fetish === "mindbroken") {
switch (slave.assignment) {
case Job.HOUSE:
case Job.CONCUBINE:
case Job.FUCKTOY:
case Job.MASTERSUITE:
case Job.QUARTER:
r.push(`${He} lives a nice life by your side, despite ${his} inability to realize it. Since ${he} is so malleable and willing, you rarely have reason to punish ${him} anymore.`);
if (slave.kindness) {
slave.kindness += 2;
} else {
slave.kindness = 2;
}
break;
case Job.WHORE:
case Job.BROTHEL:
case Job.PUBLIC:
case Job.CLUB:
case Job.GLORYHOLE:
case Job.ARCADE:
r.push(`You, others, it doesn't matter. They are all the same to your mindbroken ${wife}. The public, however, is less forgiving of you ordering your slave ${wife} to fuck random citizens, <span class="reputation dec">seriously damaging your reputation.</span>`);
repX(-100, "PCRelationships", slave);
break;
default:
r.push(`Being your ${wife} is wasted on ${his} empty mind. If it weren't for the ring`);
if (hasAnyArms(slave)) {
r.push(`around ${his} finger,`);
} else {
r.push(`hanging from ${his} neck,`);
}
r.push(`nobody would ever realize ${he} was so close to you.`);
}
} else if (slave.devotion + slave.trust >= 175) {
switch (slave.assignment) {
case Job.HOUSE:
case Job.CONCUBINE:
case Job.FUCKTOY:
case Job.MASTERSUITE:
case Job.QUARTER:
r.push(`${He} is <span class="devotion inc">happy</span> to be allowed to live ${his} life close to you, since ${he}'s your ${wife}. In addition, ${his} deep reliance on ${his} formal relationship to you produces a steady increase of both <span class="devotion inc">devotion</span> and <span class="trust inc">trust.</span>`);
slave.devotion += 2;
break;
case Job.WHORE:
case Job.BROTHEL:
case Job.PUBLIC:
case Job.CLUB:
case Job.GLORYHOLE:
case Job.ARCADE:
r.push(`${His} reliance on ${his} formal relationship to you produces a slight increase of both <span class="devotion inc">devotion</span> and <span class="trust inc">trust,</span> though this is reduced by being on a public sexual assignment rather than being kept for you alone. The public is less forgiving of you ordering your slave ${wife} to fuck random citizens, <span class="reputation dec">seriously damaging your reputation.</span>`);
slave.devotion++;
slave.trust++;
repX(-100, "PCRelationships", slave);
break;
default:
r.push(`${His} deep reliance on ${his} formal relationship to you produces a steady increase of both <span class="devotion inc">devotion</span> and <span class="trust inc">trust.</span>`);
slave.devotion++;
slave.trust++;
}
} else if (slave.devotion < -20 && slave.trust > 0) {
switch (slave.assignment) {
case Job.HOUSE:
case Job.CONCUBINE:
case Job.FUCKTOY:
case Job.MASTERSUITE:
case Job.QUARTER:
r.push(`${He} <span class="defiant inc">takes advantage</span> of your kindness, since ${he} is allowed to live a pampered life just for letting you use ${his} body. ${His} insolence allows ${him} to retain, if not strengthen, <span class="devotion dec">${his} hatred of you.</span>`);
slave.devotion -= 7;
slave.trust += 5;
break;
case Job.WHORE:
case Job.BROTHEL:
case Job.PUBLIC:
case Job.CLUB:
case Job.GLORYHOLE:
case Job.ARCADE:
r.push(`Not being a pampered fucktoy to you <span class="trust dec">wounds ${his} expectations as your ${wife},</span> but gives ${him} the space needed to <span class="devotion inc">begin warming up to you.</span> The public, disregarding ${his} opinions, is less forgiving of you ordering your slave ${wife} to fuck random citizens, <span class="reputation dec">seriously damaging your reputation.</span>`);
slave.devotion++;
slave.trust--;
repX(-100, "PCRelationships", slave);
break;
default:
r.push(`${He} <span class="defiant inc">takes advantage</span> of your kindness, since ${he} expects you'd never truly harm your ${wife}. ${His} insolence allows ${him} to remain, if not strengthen, <span class="devotion dec">${his} hatred of you.</span>`);
slave.devotion -= 5;
slave.trust += 3;
}
} else if (slave.devotion < -20) {
switch (slave.assignment) {
case Job.HOUSE:
case Job.CONCUBINE:
case Job.FUCKTOY:
case Job.MASTERSUITE:
case Job.QUARTER:
r.push(`${He} is <span class="trust dec">thoroughly terrified</span> by having to remain in a formal relationship with the ${playerPronouns.woman} ${he} hates. Being so close to you forces ${him} to slowly <span class="devotion inc">accept</span> ${his} new role as your ${wife}.`);
slave.devotion += 1;
slave.trust -= 3;
break;
case Job.WHORE:
case Job.BROTHEL:
case Job.PUBLIC:
case Job.CLUB:
case Job.GLORYHOLE:
case Job.ARCADE:
r.push(`Being forced into public service only reinforces ${his} <span class="trust dec">fears</span> and <span class="devotion dec">perceptions</span> of you. If there was any chance of ${him} thinking you cared, <span class="devotion dec">it's gone now.</span> The public, disregarding ${his} opinions, is less forgiving of you ordering your slave ${wife} to fuck random citizens, <span class="reputation dec">seriously damaging your reputation.</span>`);
slave.devotion -= 10;
slave.trust -= 10;
repX(-100, "PCRelationships", slave);
break;
default:
r.push(`${He} is <span class="trust dec">thoroughly terrified</span> by having to remain in a formal relationship with the ${playerPronouns.woman} ${he} hates. Without you nearby to distract ${him}, ${he} dwells on ${his} situation as ${his} <span class="devotion dec">hate for you grows.</span>`);
slave.devotion -= 3;
slave.trust -= 5;
}
} else {
switch (slave.assignment) {
case Job.HOUSE:
case Job.CONCUBINE:
case Job.FUCKTOY:
case Job.MASTERSUITE:
case Job.QUARTER:
r.push(`${He} is <span class="devotion inc">happy</span> to be allowed to live a rather nice life close to you, since ${he}'s your ${wife}. In addition, ${his} formal relationship to you produces a steady increase of both <span class="devotion inc">devotion</span> and <span class="trust inc">trust.</span>`);
slave.devotion += 2;
slave.trust += 2;
break;
case Job.WHORE:
case Job.BROTHEL:
case Job.PUBLIC:
case Job.CLUB:
case Job.GLORYHOLE:
case Job.ARCADE:
r.push(`${His} formal relationship to you produces a steady increase of both <span class="devotion inc">devotion</span> and <span class="trust inc">trust,</span> though this is reduced by being on a public sexual assignment rather than being kept for you alone, not that ${he} minds; just as you ordered ${him} to marry you, so may you order ${him} to fuck others. The public, however, is less forgiving of you ordering your slave ${wife} to fuck random citizens, <span class="reputation dec">seriously damaging your reputation.</span>`);
slave.devotion++;
slave.trust++;
repX(-100, "PCRelationships", slave);
break;
default:
r.push(`${His} formal relationship to you produces a steady increase of both <span class="devotion inc">devotion</span> and <span class="trust inc">trust</span> as ${he} gradually grows closer to ${his} spouse.`);
slave.devotion++;
slave.trust++;
}
}
} else if (slave.rules.relationship === "restrictive" && slave.relationship !== 5) {
if (friend.rules.relationship === "restrictive") {
r.push(`Since the rules forbid the relationship between ${slave.slaveName} and ${friend.slaveName}, they are <span class="relationship dec">forced apart.</span>`);
if (slave.relationship > 1) {
slave.relationship--;
friend.relationship = slave.relationship;
} else {
friend.relationship = 0;
friend.relationshipTarget = 0;
slave.relationship = 0;
slave.relationshipTarget = 0;
}
if (slave.devotion <= 50 && friend.devotion <= 50) {
r.push(`${slave.slaveName} and ${friend.slaveName} both <span class="devotion dec">resent</span> this.`);
slave.devotion -= 2;
friend.devotion -= 2;
} else if (slave.devotion <= 50) {
r.push(`${slave.slaveName} <span class="devotion dec">resents</span> this.`);
slave.devotion -= 2;
} else if (friend.devotion <= 50) {
r.push(`${friend.slaveName} <span class="devotion dec">resents</span> this.`);
friend.devotion -= 2;
}
}
} else if (slave.rules.relationship === "just friends" && slave.relationship !== 5 && slave.relationship > 2) {
if (friend.rules.relationship === "restrictive") {
r.push(`Since the sexual relationship between ${slave.slaveName} and ${friend.slaveName} is against the rules, they`);
if (!hasAnyArms(slave) && !hasAnyArms(friend)) {
r.push(`are, metaphorically speaking,`);
} else {
r.push(`are`);
}
r.push(`<span class="relationship dec">forced to keep their hands to themselves.</span>`);
friend.relationship = 2;
slave.relationship = 2;
if (slave.devotion <= 50 && friend.devotion <= 50) {
r.push(`${slave.slaveName} and ${friend.slaveName} both <span class="devotion dec">resent</span> this.`);
slave.devotion -= 2;
friend.devotion -= 2;
} else if (slave.devotion <= 50) {
r.push(`${slave.slaveName} <span class="devotion dec">resents</span> this.`);
slave.devotion -= 2;
} else if (friend.devotion <= 50) {
r.push(`${friend.slaveName} <span class="devotion dec">resents</span> this.`);
friend.devotion -= 2;
}
}
} else {
let seed = 0;
r.push(`${slave.slaveName}`);
switch (slave.relationship) {
case 1: // friends
r.push(`is friends with ${friend.slaveName}.`);
if (slave.devotion + slave.trust > 170 && random(1, 100) > 95) { // 5% chance to abandon friend to ebond/eslut
r.push(`${He}'s very devoted to you, and strongly trusts both you and ${his} place as a slave. Since ${he} is just friends with ${friend.slaveName},`);
if (slave.sexualQuirk === "romantic") {
r.push(`and persistently interprets sex in the most romantic possible terms, ${he} has decided that ${he} wants to be yours in ${his} heart as well as ${his} `);
if (slave.vagina > 0) {
r.push(`pussy.`);
} else if (slave.anus > 0) {
r.push(`butthole.`);
} else {
r.push(`mouth.`);
}
r.push(`<span class="relationship">${He}'s become emotionally bonded to you!</span>`);
slave.relationship = -2;
} else if (slave.energy > 90) {
r.push(`and is a total sex addict, ${he} begins to think of sex as ${his} only meaningful emotional connection with people. <span class="relationship">${He}'s become an emotional slut!</span>`);
slave.relationship = -1;
} else {
r.push(`and loves you, ${he} begins to think of you as a ${woman} might think of ${his} lover — or spouse. ${He} knows ${he} cannot hope for more of a relationship with you than ${he} has, but ${he} finds emotional support in serving you nonetheless. <span class="relationship">${He}'s become emotionally bonded to you!</span>`);
slave.relationship = -2;
}
friend.relationship = 0;
friend.relationshipTarget = 0;
slave.relationshipTarget = 0;
} else if (areRelated(slave, friend) && (random(1, 100) > 80)) {
r.push(`They build on their family relationship and become <span class="relationship">best friends.</span>`);
slave.relationship++;
friend.relationship = slave.relationship;
} else if (mutualChildren(slave, friend, V.slaves) > 0 && (random(1, 100) < (50+ (10 * mutualChildren(slave, friend, V.slaves))))) {
r.push(`Hoping to benefit their mutual children, they draw closer together, becoming <span class="relationship">best friends.</span>`);
slave.relationship++;
friend.relationship = slave.relationship;
} else if (slave.energy > 95 && random(1, 100) > 70) {
r.push(`${slave.slaveName} obviously lusts after ${his} friend, and does everything ${he} can to <span class="relationship">draw ${him2} closer.</span>`);
slave.relationship++;
friend.relationship = slave.relationship;
} else if (slave.attrXX > 85 && random(1, 100) > 70 && (friend.vagina > -1 || friend.faceShape !== "masculine")) {
r.push(`${slave.slaveName} obviously lusts after ${his} friend, and does everything ${he} can to <span class="relationship">draw ${him2} closer.</span>`);
slave.relationship++;
friend.relationship = slave.relationship;
} else if (slave.attrXY > 85 && random(1, 100) > 70 && (friend.dick > 0 || friend.faceShape === "masculine")) {
r.push(`${slave.slaveName} obviously lusts after ${his} friend, and does everything ${he} can to <span class="relationship">draw ${him2} closer.</span>`);
slave.relationship++;
friend.relationship = slave.relationship;
} else if (random(1, 100) > 90) {
r.push(`They support and reassure each other and become <span class="relationship">best friends.</span>`);
slave.relationship++;
friend.relationship = slave.relationship;
}
break;
case 2: // BFFs;
r.push(`maintains a close friendship with ${friend.slaveName}.`);
if (slave.sexualQuirk === "romantic") {
r.push(`${His} romantic bent drives ${him} to search for a regular sexual partner.`);
seed = 10;
}
if (slave.devotion + slave.trust > 95 && random(1, 100) === 100) { // 1% chance to abandon best friend to ebond/eslut
r.push(`${slave.slaveName} is totally devoted to you, and implicitly trusts both you and ${his} place as a slave. Since ${his} relationship with ${friend.slaveName} has not yet turned sexual, and`);
if (slave.sexualQuirk === "romantic") {
r.push(`${he} persistently interprets sex in the most romantic possible terms, ${he} has decided that ${he} wants to be yours in ${his} heart as well as ${his}`);
if (slave.vagina > 0) {
r.push(`pussy.`);
} else if (slave.anus > 0) {
r.push(`butthole.`);
} else {
r.push(`mouth.`);
}
r.push(`<span class="relationship">${He}'s become emotionally bonded to you!</span>`);
slave.relationship = -2;
} else if (slave.energy > 90) {
r.push(`${he}'s a total sex addict, ${he} begins to think of sex as ${his} only meaningful emotional connection with people. <span class="relationship">${He}'s become an emotional slut!</span>`);
slave.relationship = -1;
} else {
r.push(`${he} loves you, ${he} begins to think of you as a ${woman} might think of ${his} lover — or spouse. ${He} knows ${he} cannot hope for more of a relationship with you than ${he} has, but ${he} finds emotional support in serving you nonetheless. <span class="relationship">${He}'s become emotionally bonded to you!</span>`);
slave.relationship = -2;
}
friend.relationship = 0;
friend.relationshipTarget = 0;
slave.relationshipTarget = 0;
} else if (App.Utils.sexAllowed(slave, friend) && slave.rules.relationship !== "just friends" && friend.rules.relationship !== "just friends") {
if (mutualChildren(slave, friend, V.slaves) > 0 && random(1, 100) < (50 + (10 * mutualChildren(slave, friend, V.slaves)) + seed)) {
r.push(`Having already had kids together, their relationship turns sexual once again, turning them into <span class="relationship">friends with benefits.</span>`);
slave.relationship++;
friend.relationship = slave.relationship;
} else if (V.seeIncest === 1 && slave.energy > 95 && areRelated(slave, friend) && random(1, 100) > (90-seed)) {
r.push(`Driven by nymphomania to attempt to have sex with everyone, ${slave.slaveName} successfully seduces ${his} ${relativeTerm(slave, friend)}, ${friend.slaveName}, making them <span class="relationship">friends with benefits.</span>`);
slave.relationship++;
friend.relationship = slave.relationship;
} else if (V.seeIncest === 1 && slave.sexualQuirk === "perverted" && areRelated(slave, friend) && random(1, 100) > (80 - seed)) {
r.push(`Reveling in the taboo nature of ${his} attraction to ${friend.slaveName}, ${slave.slaveName} successfully seduces ${his} ${relativeTerm(slave, friend)}, making them <span class="relationship">friends with benefits.</span>`);
slave.relationship++;
friend.relationship = slave.relationship;
} else if (V.seeIncest === 1 && slave.behavioralQuirk === "sinful" && areRelated(slave, friend) && random(1, 100) > (80 - seed)) {
r.push(`Aroused by the chance to commit the sin of incest, ${slave.slaveName} successfully seduces ${his} ${relativeTerm(slave, friend)}, ${friend.slaveName}, making them <span class="relationship">friends with benefits.</span>`);
slave.relationship++;
friend.relationship = slave.relationship;
} else if (slave.energy > 95 && random(1, 100) > (80 - seed)) {
r.push(`${slave.slaveName} successfully seduces ${friend.slaveName}, making them <span class="relationship">friends with benefits.</span>`);
slave.relationship++;
friend.relationship = slave.relationship;
} else if ((random(1, 100) > (100 - seed) - (0.2 * slave.attrXX)) && (friend.vagina > -1 || friend.faceShape !== "masculine")) {
r.push(`${slave.slaveName} successfully seduces ${friend.slaveName}, making them <span class="relationship">friends with benefits.</span>`);
slave.relationship++;
friend.relationship = slave.relationship;
} else if ((random(1, 100) > (100 - seed) - (0.2 * slave.attrXY)) && (canAchieveErection(friend) || friend.faceShape === "masculine")) {
r.push(`${slave.slaveName} successfully seduces ${friend.slaveName}, making them <span class="relationship">friends with benefits.</span>`);
slave.relationship++;
friend.relationship = slave.relationship;
} else if (V.seeIncest === 1 && areRelated(slave, friend) && (random(1, 100) > (95 - seed))) {
r.push(`Eventually, they happen to be together and horny, and find themselves fucking without thinking. They have become incestuous <span class="relationship">friends with benefits.</span>`);
slave.relationship++;
friend.relationship = slave.relationship;
} else if (random(1, 100) > (95 - seed)) {
if (friend.vagina !== -1 && slave.behavioralFlaw === "hates women" && random(1, 2) === 1) {
r.push(`Despite ${slave.slaveName}'s dislike of pussy,`);
} else if ((friend.dick > 0 || friend.faceShape === "masculine") && slave.behavioralFlaw === "hates men" && random(1, 2) === 1) {
r.push(`Despite ${slave.slaveName}'s distaste for cock,`);
} else {
r.push(`Living in an atmosphere of omnipresent sexuality,`);
}
r.push(`they fuck in a weak moment and find themselves becoming <span class="relationship">friends with benefits.</span>`);
slave.relationship++;
friend.relationship = slave.relationship;
}
}
break;
case 3: // FWB
r.push(`keeps up a sexual friendship with ${friend.slaveName}.`);
if (slave.sexualQuirk === "romantic") {
r.push(`${His} romantic bent drives ${him} to do ${his} best to advance ${his} relationship to an emotional level.`);
seed = 10;
}
if (V.seeIncest === 1 && slave.energy > 95 && areRelated(slave, friend) && random(1, 100) > (90 - seed)) {
r.push(`${He}'s such a desperate nympho that constant incest is nothing to ${him}. ${He} develops real feelings for ${friend.slaveName} as a romantic partner. Their relationship becomes <span class="relationship">romantically emotional</span> as well as physical and familial.`);
slave.relationship++;
friend.relationship = slave.relationship;
} else if (V.seeIncest === 1 && slave.sexualQuirk === "perverted" && areRelated(slave, friend) && random(1, 100) > (80 - seed)) {
r.push(`Reveling in the taboo nature of ${his} sexual relationship with ${friend.slaveName}, ${he} not only enjoys ${his} ${relativeTerm(slave, friend)}'s body, but looks after ${his2} pleasure, too. Their relationship becomes <span class="relationship">romantically emotional</span> as well as physical and familial.`);
slave.relationship++;
friend.relationship = slave.relationship;
} else if (V.seeIncest === 1 && slave.behavioralQuirk === "sinful" && areRelated(slave, friend) && random(1, 100) > (80 - seed)) {
r.push(`${He} gets deep, perverse satisfaction by constant commission of the sin of incest, which is extreme enough to appease even ${his} appetite for transgression. ${His} incestuous relationship becomes <span class="relationship">romantically emotional</span> as well as physical and familial.`);
slave.relationship++;
friend.relationship = slave.relationship;
} else if (mutualChildren(slave, friend, V.slaves) > 0 && random(1, 100) < (50 + (10 * mutualChildren(slave, friend, V.slaves)) + seed)) {
r.push(`Between their children and common sexual flings, they begin seeing each other as a traditional couple. Their relationship becomes <span class="relationship">strongly emotional</span> as well as physical.`);
if (slave.pregSource === friend.ID && friend.pregSource === slave.ID && slave.pregKnown === 1 && friend.pregKnown === 1) {
r.push(`Not very surprising, since they both have the other's child growing in their womb.`);
} else if (slave.pregSource === friend.ID && slave.pregKnown === 1) {
r.push(`Not very surprising, since ${slave.slaveName} is carrying another of ${friend.slaveName}'s children.`);
} else if (friend.pregSource === slave.ID && friend.pregKnown === 1) {
r.push(`Not very surprising, since ${friend.slaveName} is carrying another of ${slave.slaveName}'s children.`);
}
slave.relationship++;
friend.relationship = slave.relationship;
} else if (slave.energy > 95 && random(1, 100) > (80 - seed)) {
r.push(`${He} not only enjoys ${friend.slaveName}'s body, but looks after ${his2} pleasure, too. Without meaning it to, their relationship becomes <span class="relationship">strongly emotional</span> as well as physical.`);
slave.relationship++;
friend.relationship = slave.relationship;
} else if ((random(1, 100) > (100 - seed) - (0.2 * slave.attrXX)) && (friend.vagina > -1 || friend.faceShape !== "masculine")) {
r.push(`${He} not only enjoys ${friend.slaveName}'s body, but looks after ${his2} pleasure, too. Without meaning it to, their relationship becomes <span class="relationship">strongly emotional</span> as well as physical.`);
slave.relationship++;
friend.relationship = slave.relationship;
} else if ((random(1, 100) > (100 - seed) - (0.2 * slave.attrXY)) || (friend.dick > 0 || friend.faceShape === "masculine")) {
r.push(`${He} not only enjoys ${friend.slaveName}'s body, but looks after ${his2} pleasure, too. Without meaning it to, their relationship becomes <span class="relationship">strongly emotional</span> as well as physical.`);
slave.relationship++;
friend.relationship = slave.relationship;
} else if (random(1, 100) > (95 - seed)) {
r.push(`They've spent enough time looking after each other's sexual and emotional needs that their relationship has become <span class="relationship">very strong.</span>`);
slave.relationship++;
friend.relationship = slave.relationship;
}
break;
case 4: // lovers
r.push(`and ${friend.slaveName} are lovers.`);
break;
default: // married
r.push(`has a slave ${wife2}, ${friend.slaveName}.`);
if (V.arcologies[0].FSChattelReligionist !== "unset") {
r.push(`Society <span class="reputation inc">approves</span> of their marriage, which advances the slave sacrament.`);
V.arcologies[0].FSChattelReligionist += 0.05 * V.FSSingleSlaveRep;
repX(V.FSSingleSlaveRep * (V.arcologies[0].FSChattelReligionist / V.FSLockinLevel), "SlaveRelationships", slave);
}
}
if (slave.relationship > 0) { // catch should she change her relationship status
if (slave.devotion <= 95) {
if (slave.devotion !== friend.devotion) {
r.push(`${slave.slaveName} absorbs`);
if (slave.relationship === 1) {
r.push(`a touch of ${his} friend's`);
} else if (slave.relationship === 2) {
r.push(`a little of ${his} best friend's`);
} else if (slave.relationship === 3) {
r.push(`some of ${his} close friend's`);
} else if (slave.relationship === 4) {
r.push(`a lot of ${his} lover's`);
} else {
r.push(`much of ${his} ${wife2}'s`);
}
if (slave.devotion > friend.devotion) {
r.push(`<span class="devotion dec">`);
if (friend.devotion > 50) {
r.push(`remaining doubts about you.</span>`);
} else if (friend.devotion > 20) {
r.push(`remaining hesitations about sexual slavery.</span>`);
} else if (friend.devotion >= -20) {
r.push(`unhappiness about being a sex slave.</span>`);
} else {
r.push(`anger at being a slave.</span>`);
}
} else {
r.push(`<span class="devotion inc">`);
if (friend.devotion > 50) {
r.push(`love for you.</span>`);
} else if (friend.devotion > 20) {
r.push(`acceptance of sexual slavery.</span>`);
} else if (friend.devotion >= -20) {
r.push(`submission to the reality of being a sex slave.</span>`);
} else {
r.push(`unwillingness to immediately rebel.</span>`);
}
}
slave.devotion -= Math.trunc((slave.devotion - friend.devotion) * (0.1 * slave.relationship));
}
} else if (friend.devotion <= 95) {
r.push(`${He}'s so devoted to you that ${he}'s unaffected by ${friend.slaveName}'s less abject submission.`);
}
if (slave.trust <= 95) {
r.push(`${slave.slaveName}`);
if (slave.trust < -20) {
r.push(`cares for ${friend.slaveName} and is <span class="trust dec">terrified</span> of what you might do to ${him2} if either of them misbehave. ${He} <span class="devotion inc">does ${his} best</span> to avoid that.`);
slave.trust -= slave.relationship;
slave.devotion += slave.relationship;
} else {
r.push(`<span class="trust inc">trusts you</span>`);
if (slave.relationship <= 2) {
r.push(`a little more for allowing ${him} to have a friend.`);
} else if (slave.relationship === 3) {
r.push(`for letting ${him} have a fuckbuddy.`);
} else if (slave.relationship === 4) {
r.push(`for permitting ${him} and ${his} lover to be together.`);
} else {
r.push(`for giving ${him} a ${wife2}.`);
}
slave.trust += slave.relationship;
}
} else if (slave.devotion > 95 && slave.relationship > 4) {
r.push(`${He} feels`);
if (V.arcologies[0].FSChattelReligionist !== "unset") {
r.push(`blessed with`);
} else {
r.push(`${he} has`);
}
r.push(`a truly good life as your slave.`);
}
}
}
}
/**
* @param {App.Entity.SlaveState} slave
* @param {App.Entity.SlaveState} relative
*/
function incestReactions(slave, relative) {
if (areRelated(slave, relative)) {
const relationType = relativeTerm(slave, relative);
const repType = relative.ID === -1 ? "PCRelationships" : "SlaveRelationships";
if (slave.fetish !== "mindbroken") {
if (relative.ID === -1) {
r.push(`${He}`);
} else {
r.push(`${slave.slaveName}`);
}
if ((slave.origin === "$He offered $himself to you for enslavement hoping you would preserve $his incestuous relationship with $his sibling." || slave.origin === "$He offered to become your slave to protect $his incestuous relationship.") && relative.ID !== -1) {
r.push(`is <span class="devotion inc">grateful</span> and <span class="trust inc">trusting</span> towards you for protecting ${him} in ${his} long-standing incestuous relationship.`);
slave.devotion += 2;
slave.trust += 2;
} else if (slave.sexualQuirk === "perverted") {
r.push(`is such a pervert that ${he} <span class="devotion inc">enjoys</span> carrying on an incestuous relationship with ${his} own ${relationType}.`);
slave.devotion += 1;
} else if (slave.devotion > 95) {
r.push(`is so inured to the perversities of slavery that ${he} <span class="devotion inc">enjoys</span> carrying on an incestuous relationship with ${his} own ${relationType}.`);
slave.devotion += 1;
} else if (slave.behavioralQuirk === "sinful") {
r.push(`is torn between sinful delight and deep disgust that ${he}'s carrying on an incestuous relationship with ${his} own ${relationType}.`);
} else if (slave.devotion > 75) {
r.push(`is so devoted to you that ${he} accepts carrying on an incestuous relationship with ${his} own ${relationType}.`);
} else if (slave.devotion > 50) {
r.push(`is somewhat <span class="devotion dec">disturbed</span> that ${he}'s carrying on an incestuous relationship with ${his} own ${relationType}.`);
slave.devotion -= 2;
} else if (slave.devotion > 20) {
r.push(`is <span class="devotion dec">disturbed</span> and <span class="trust dec">scared</span> that ${he}'s carrying on an incestuous relationship with ${his} own ${relationType}.`);
slave.devotion -= 2;
slave.trust -= 2;
} else {
r.push(`is <span class="devotion dec">revolted</span> and <span class="trust dec">scared</span> that ${he}'s carrying on an incestuous relationship with ${his} own ${relationType}.`);
slave.devotion -= 4;
slave.trust -= 4;
}
if (slave.pregKnown === 1 && slave.pregSource === relative.ID) {
if ((slave.origin === "$He offered $himself to you for enslavement hoping you would preserve $his incestuous relationship with $his sibling." || slave.origin === "$He offered to become your slave to protect $his incestuous relationship.") && relative.ID !== -1) {
r.push(`${He}'s <span class="devotion inc">overjoyed</span> to be carrying ${his} ${relationType}'s child${slave.pregType > 1 ? "ren." : "."}`);
slave.devotion += 2;
} else if (slave.sexualQuirk === "perverted") {
r.push(`${He}'s even <span class="devotion inc">aroused</span> by the constant awareness that ${his} ${relationType} is the parent of the child${slave.pregType > 1 ? "ren" : ""} ${he}'s carrying.`);
slave.devotion += 1;
} else if (slave.behavioralQuirk === "sinful") {
r.push(`${His} feelings about carrying ${his} ${relationType}'s child${slave.pregType > 1 ? "ren" : ""} are <span class="devotion inc">secretly less mixed,</span> though.`);
slave.devotion += 1;
} else if (slave.sexualFlaw === "breeder") {
r.push(`${He} occasionally remembers that ${he}'s carrying ${his} ${relationType}'s ${slave.pregType > 1 ? `children` : `child`}, but ${his} fetish for all things pregnancy is so strong it overpowers the deep-rooted revulsion.`);
} else if (slave.devotion > 95) {
r.push(`${He} occasionally remembers that ${he}'s carrying ${his} ${relationType}'s ${slave.pregType > 1 ? `children` : `child`}, but does ${his} best to accept it by not thinking about it.`);
} else if (slave.devotion > 50) {
r.push(`${He}'s <span class="devotion dec">disgusted</span> that the`);
if (slave.pregType > 1) {
r.push(`babies ${he}'s carrying are`);
} else {
r.push(`baby ${he}'s carrying is`);
}
r.push(`${his} ${relationType}'s, though ${he} tries ${his} best not to think about it.`);
slave.devotion -= 1;
} else if (slave.devotion > 20) {
r.push(`${He}'s so <span class="devotion dec">disgusted</span> that the`);
if (slave.pregType > 1) {
r.push(`babies ${he}'s carrying are`);
} else {
r.push(`baby ${he}'s carrying is`);
}
r.push(`${his} ${relationType}'s that ${he} often wakes up crying about it.`);
slave.devotion -= 2;
} else {
r.push(`${He}'s <span class="devotion dec">passionately hateful</span> of you for making ${him} carry an incestuous pregnancy.`);
slave.devotion -= 4;
}
}
}
if (V.arcologies[0].FSEgyptianRevivalist !== "unset") {
r.push(`Society <span class="reputation inc">strongly approves</span> of your incestuous relationship, which advances the Egyptian revivalist ideal of slave incest.`);
repX((2 * V.FSSingleSlaveRep * (V.arcologies[0].FSEgyptianRevivalist / V.FSLockinLevel)), repType, slave);
V.arcologies[0].FSEgyptianRevivalist += (0.1 * V.FSSingleSlaveRep);
if (slave.bellyPreg >= 1500 && slave.pregSource === relative.ID) {
r.push(`<span class="reputation inc">The effect is greatly enhanced</span> by ${slave.slaveName}'s pureblooded pregnancy.`);
repX((V.FSSingleSlaveRep * (V.arcologies[0].FSEgyptianRevivalist / V.FSLockinLevel)), repType, slave);
V.arcologies[0].FSEgyptianRevivalist += (0.05 * V.FSSingleSlaveRep * App.EndWeek.saVars.pornFameBonus);
}
} else if (V.arcologies[0].FSEgyptianRevivalistIncestPolicy === 1) {
r.push(`Society <span class="reputation inc">enjoys</span> your incestuous relationship since incest is currently trendy.`);
repX((1.5 * V.FSSingleSlaveRep), repType, slave);
if (slave.bellyPreg >= 1500 && slave.pregSource === relative.ID) {
r.push(`<span class="reputation inc">The effect is enhanced</span> by ${slave.slaveName}'s pureblooded pregnancy.`);
repX(V.FSSingleSlaveRep, repType, slave);
}
}
}
}
/** LONG TERM RELATIONSHIP EFFECTS
* @param {App.Entity.SlaveState} slave
*
*/
function consummateRelationship(slave) {
let lover = getSlave(slave.relationshipTarget);
({
he2, him2, his2, girl2, He2, wife2
} = getPronouns(lover).appendSuffix("2"));
incestReactions(slave, lover);
if (App.Utils.sexAllowed(slave, lover)) {
if (slave.sexualQuirk === "size queen" && canPenetrate(lover)) {
if (lover.dick > 5) {
r.push(`${He}'s <span class="devotion inc">very happy</span> with ${his} romantic status, since it means ${he} regularly gets monster cock.`);
if (canDoAnal(slave) && slave.anus > 0 && slave.anus < 3) {
r.push(`${He}'s such a size queen that ${he} takes it up ${his} ass as often as ${he} can bear it, despite ${his} poor anus not being used to such abuse. This <span class="lime">stretches out ${his} sphincter.</span>`);
slave.anus++;
}
if (canDoVaginal(slave) && slave.vagina > 0 && slave.vagina < 3) {
r.push(`It's a little big for what ${his} pussy can handle, <span class="lime">but ${he} gets used to it.</span>`);
slave.vagina++;
}
r.push(`For ${his2} part, ${lover.slaveName} <span class="devotion inc">can barely believe ${his2} luck,</span> their sex life is so good.`);
slave.devotion += 2;
lover.devotion += 2;
} else if (lover.dick > 4) {
r.push(`${He} <span class="devotion inc">quite likes</span> being in a sexual relationship with a slave who has such an impressive dick.`);
if (canDoAnal(slave) && slave.anus > 0 && slave.anus < 2) {
r.push(`${He}'s such a size queen that ${he} takes it up ${his} ass as often as ${he} can bear it, despite ${his} tight butt not being used to such abuse. This <span class="lime">stretches out ${his} sphincter.</span>`);
slave.anus++;
}
if (canDoVaginal(slave) && slave.vagina > 0 && slave.vagina < 2) {
r.push(`It's a little big for what ${his} tight pussy can handle, <span class="lime">but ${he} gets used to it.</span>`);
slave.vagina++;
}
r.push(`For ${his2} part, ${lover.slaveName} <span class="devotion inc">enjoys</span> the benefits of having a lover so interested in ${his2} junk.`);
slave.devotion++;
lover.devotion++;
} else if (lover.dick > 3) {
r.push(`${slave.slaveName} <span class="devotion inc">certainly doesn't mind</span> having reliable access to such a nice big dick. For ${his2} part, ${lover.slaveName} <span class="devotion inc">likes</span> having a lover who finds ${his2} penis appealing.`);
slave.devotion++;
lover.devotion++;
}
}
if (slave.energy <= 90) {
if (lover.energy > 95) {
r.push(`${lover.slaveName} is such a sex addict that ${he2} drags ${slave.slaveName} along with ${him2} in their enthusiastic sex life, <span class="improvement">slowly improving ${his} sex drive.</span>`);
slave.energy += 3;
} else if (lover.fetish === slave.fetish && lover.fetish !== "none") {
r.push(`${lover.slaveName} and ${slave.slaveName} enjoy sharing their sexual fetishes so much it <span class="improvement">improves their sex drives</span> in proportion to the strength of their kinks.`);
slave.energy += 1 + Math.trunc(slave.fetishStrength / 30);
} else if (slave.attrXX > 65 && (lover.vagina > -1 || (lover.face > 0 && lover.faceShape !== "masculine"))) {
r.push(`${slave.slaveName} is very much attracted to ${lover.slaveName}, and their fulfilling sexual relationship <span class="improvement">gradually improves ${slave.slaveName}'s sex drive.</span>`);
slave.energy++;
} else if (slave.attrXY > 65 && lover.dick > 0) {
r.push(`${slave.slaveName} enjoys ${lover.slaveName} and ${his2} cock, and their fulfilling sexual relationship <span class="improvement">gradually improves ${slave.slaveName}'s sex drive.</span>`);
slave.energy++;
}
}
if (slave.attrXX <= 95 && random(1, 100) < (slave.relationship * 5) && (lover.vagina > -1 || lover.faceShape !== "masculine")) {
if (slave.attrKnown === 1) { // just because you don't know about it doesn't mean it's not happening.
r.push(`After finding comfort with a feminine lover, ${slave.slaveName} begins to experience more attraction to women.`);
}
slave.attrXX += 2;
}
if (slave.attrXY <= 95 && random(1, 100) < (slave.relationship * 5) && canAchieveErection(lover)) {
if (slave.attrKnown === 1) {
r.push(`After growing close to a lover with a dick, ${slave.slaveName} begins to experience more attraction to men.`);
}
slave.attrXY += 2;
}
if (lover.fetish !== "none" && lover.fetish !== "mindbroken" && slave.fetishStrength <= 95 && lover.fetish !== slave.fetish && fetishChangeChance(slave) > (random(0, 100) - (slave.relationship * 5))) {
switch (lover.fetish) {
case "boobs":
r.push(`After experiencing ${lover.slaveName}'s love of breasts, both ${his2} own and ${slave.slaveName}'s, ${slave.slaveName} happily joins ${him2} as a <span class="fetish gain">boob fanatic.</span>`);
slave.fetish = "boobs";
slave.fetishKnown = 1;
slave.fetishStrength = 65;
break;
case "buttslut":
r.push(`${lover.slaveName} begs ${slave.slaveName} to fuck ${his2} ass so many times that ${slave.slaveName} reconsiders ${his} stance on buttsex. ${He} becomes just as much of an <span class="fetish gain">anal slut</span> as ${lover.slaveName}.`);
slave.fetish = "buttslut";
slave.fetishKnown = 1;
slave.fetishStrength = 65;
break;
case "cumslut":
r.push(`After sharing blowjobs with ${lover.slaveName} enough times, ${slave.slaveName} develops an <span class="fetish gain">oral fixation</span> of ${his} own.`);
slave.fetish = "cumslut";
slave.fetishKnown = 1;
slave.fetishStrength = 65;
break;
case "submissive":
if (slave.fetish !== "dom") {
r.push(`${lover.slaveName} begs ${slave.slaveName} to dominate ${him2} so many times that ${slave.slaveName} gets used to domination, and finds ${he} likes it. ${He} becomes just as much of a <span class="fetish gain">sexual dominant</span> as a slave can be.`);
slave.fetish = "dom";
slave.fetishKnown = 1;
slave.fetishStrength = 65;
}
break;
case "dom":
if (slave.fetish !== "submissive") {
r.push(`${lover.slaveName} holds ${slave.slaveName} down and fucks ${him} so many times that ${slave.slaveName} starts to get off on being used. ${He} becomes a true <span class="fetish gain">sexual submissive,</span> and loves ${lover.slaveName} all the more for dominating ${him}.`);
slave.fetish = "submissive";
slave.fetishKnown = 1;
slave.fetishStrength = 65;
}
break;
case "masochist":
if (slave.fetish !== "sadist") {
r.push(`${lover.slaveName} begs ${slave.slaveName} to hurt ${him2} so many times that ${slave.slaveName} gets used to sadism, and finds ${he} likes it. ${He} becomes just as much of an <span class="fetish gain">sexual sadist</span> as a slave can be.`);
slave.fetish = "sadist";
slave.fetishKnown = 1;
slave.fetishStrength = 65;
}
break;
case "sadist":
if (slave.fetish !== "masochist") {
r.push(`${lover.slaveName} hits ${slave.slaveName} during sex so often that ${slave.slaveName} starts to get off on being beaten. ${He} becomes a true <span class="fetish gain">masochist,</span> and loves ${lover.slaveName} all the more for abusing ${him}.`);
slave.fetish = "masochist";
slave.fetishKnown = 1;
slave.fetishStrength = 65;
}
break;
case "humiliation":
r.push(`${lover.slaveName} begs ${slave.slaveName} to humiliate ${him2} sexually so many times that ${slave.slaveName} can't help but be embarrassed by all the public sex, ${himself}. ${He} gets off on the <span class="fetish gain">humiliation</span> with ${lover.slaveName}.`);
slave.fetish = "humiliation";
slave.fetishKnown = 1;
slave.fetishStrength = 65;
break;
case "pregnancy":
r.push(`${lover.slaveName} shares ${his2} hopes and dreams of pregnancy and children with ${slave.slaveName} all the time, and ${slave.slaveName} can't help but feel`);
if (isFertile(slave) && isFertile(lover)) {
r.push(`${his} <span class="fetish gain">biological clock</span> tick in time with ${lover.slaveName}'s.`);
} else if (lover.pregKnown === 1 && isFertile(slave)) {
r.push(`the <span class="fetish gain">need to become pregnant</span> like ${lover.slaveName}.`);
} else {
r.push(`the <span class="fetish gain">same obsession</span> as ${lover.slaveName}.`);
}
slave.fetish = "pregnancy";
slave.fetishKnown = 1;
slave.fetishStrength = 65;
break;
}
}
if (lover.actualAge - slave.actualAge > 10 && slave.relationship >= 4 && random(1, 300) > (slave.intelligence + slave.intelligenceImplant + lover.intelligence + lover.intelligenceImplant) && lover.devotion > 75 && lover.trust > 50 && (lover.intelligence + lover.intelligenceImplant > 15) && (slave.devotion > 20 || (slave.devotion >= -20 && slave.trust < -20) || slave.trust > -10)) {
if ((lover.skill.oral > slave.skill.oral) || (lover.skill.anal > slave.skill.anal) || (lover.skill.vaginal > slave.skill.vaginal && slave.vagina >= 0 && lover.vagina >= 0) || (lover.trust > slave.trust)) {
r.push(`${slave.slaveName}'s `);
if (slave.relationship >= 5) {
r.push(`${wife2}`);
} else {
r.push(`lover`);
}
r.push(`is older, more experienced, and`);
if (lover.skill.oral > slave.skill.oral) {
r.push(`better at blowjobs than ${he} is. They are such good slaves that the senior ${girl2} serves as a mentor to the junior, improving ${his} oral skills.`);
r.push(`${slaveSkillIncrease('oral', slave, 5)}`);
} else if (lover.skill.anal > slave.skill.anal) {
r.push(`better at`);
if (lover.anus > 0) {
r.push(`taking a buttfuck`);
} else {
r.push(`using ${his2} rear`);
}
r.push(`than ${he} is, and they are such good slaves that the senior ${girl2} serves as a mentor to the junior, improving ${his} anal skills.`);
r.push(`${slaveSkillIncrease('anal', slave, 5)}`);
} else if (lover.skill.vaginal > slave.skill.vaginal && slave.vagina > 0 && lover.vagina > 0) {
if (lover.vagina > 0) {
r.push(`a better lover`);
} else {
r.push(`better with a virgin pussy`);
}
r.push(`than ${he}`);
if (slave.vagina > 0) {
r.push(`is without one,`);
} else {
r.push(`is,`);
}
r.push(`and they are such good slaves that the senior ${girl2} serves as a mentor to the junior, improving ${his} vaginal skills.`);
r.push(`${slaveSkillIncrease('vaginal', slave, 5)}`);
} else if (lover.trust > slave.trust) {
r.push(`a better slave than ${he} is, and they are such obedient slaves that the senior ${girl2} serves as a mentor to the junior, <span class="trust inc">improving ${his} trust.</span>`);
slave.trust += 5;
} else {
r.push(`a more devoted slave than ${he} is; since they are such obedient slaves, the senior ${girl2} serves as a mentor to the junior, <span class="devotion inc">teaching ${him} to better serve you.</span>`);
slave.devotion += 2;
}
}
}
} else { // lovers not allowed to have sex...that's just mean
r.push(`${He}'s <span class="devotion dec">frustrated,</span> both sexually and mentally, since ${he}'s not allowed to fuck ${lover.slaveName}`);
slave.devotion -= 2;
if (disobedience(slave) + 5 > random(0, 100)) {
r.push(`and tries to defy your rules, <span class="trust dec">earning severe punishment.</span>`);
slave.trust -= 3;
} else {
r.push(`but <span class="trust inc">trusts</span> that you know best.`);
slave.trust++;
}
if (slave.relationship < 5 && random(0, 100) > 90) {
r.push(`With the lack of sexual intimacy, ${slave.slaveName} and ${lover.slaveName} find themselves less passionate about each other and suffer a break up, becoming <span class="relationship dec">merely friends.</span> They both <span class="devotion dec">deeply regret</span> the loss of that spark.`);
slave.relationship = 2;
lover.relationship = 2;
slave.devotion -= 10;
lover.devotion -= 10;
}
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function familyFeelings(slave) {
if (slave.trust <= 95) {
let relatives = V.slaves.filter((s) => areRelated(slave, s)); // Is it possible to move this into the loop?
for (const relative of relatives) {
({
he2, him2
} = getPronouns(relative).appendSuffix("2"));
if (slave.trust < -20) {
if (slave.rivalryTarget !== relative.ID) {
if (isParentP(relative, slave)) {
r.push(`${slave.slaveName} is <span class="trust dec">agonizingly aware</span> that ${his} child ${relative.slaveName} is also your slave and might suffer if either of them angers you, and <span class="devotion inc">does ${his} best</span> to protect ${him2}.`);
slave.trust -= 2;
slave.devotion += 6;
} else {
r.push(`${slave.slaveName} is <span class="trust dec">painfully conscious</span> that ${his} ${relativeTerm(slave, relative)} ${relative.slaveName} is also your slave and might suffer if either of them displeases you, and <span class="devotion inc">tries to obey</span> as best ${he} can.`);
slave.trust -= 1;
slave.devotion += 3;
}
}
} else {
r.push(`${slave.slaveName} knows that ${his} ${relativeTerm(slave, relative)} ${relative.slaveName}`);
if (relative.devotion > 50) {
r.push(`loves being your sex slave, and is <span class="devotion inc">happy</span> for ${him2}.`);
slave.devotion += 4;
} else if (relative.devotion > 20 || relative.trust < -20) {
r.push(`is an obedient sex slave, and hopes ${he2}'ll avoid punishment.`);
} else {
r.push(`hates being a sex slave, and is <span class="trust dec">afraid</span> for ${him2}.`);
slave.trust -= 1;
}
}
}
}
}
})();
|
MonsterMate/fc
|
src/endWeek/saRelationships.js
|
JavaScript
|
mit
| 71,665
|
/** Apply non-assignment release rules to a slave to determine need, fetish discovery, etc.
* @param {App.Entity.SlaveState} slave
* @returns {DocumentFragment}
*/
App.SlaveAssignment.nonAssignmentRelease = function(slave) {
let r = [];
const release = slave.rules.release;
const {he, his, him, himself} = getPronouns(slave);
if (!App.Utils.hasNonassignmentSex(slave) && release.masturbation === 0) {
if (release.master === 1) {
const toYou = assignmentVisible(slave) ? `to you` : `up to the penthouse`;
if ((slave.devotion <= 20) && (slave.trust >= -20)) {
if ([Job.HOUSE, Job.QUARTER].includes(slave.assignment)) {
r.push(`refuses to offer ${himself} to you`);
} else {
r.push(`refuses to come ${toYou}`);
}
r.push(`for sexual release,`);
if (slave.assignment === Job.SPA) {
r.push(`or to share a bath with you,`);
}
r.push(`and is <span class="trust dec">severely punished</span> for illicit masturbation.`);
slave.trust -= 2;
} else if (slave.devotion <= 50) {
if (slave.devotion <= 20) {
if ([Job.HOUSE, Job.QUARTER].includes(slave.assignment)) {
r.push(`occasionally stops by your office to offer ${himself} to you.`);
} else {
r.push(`occasionally comes ${toYou} to beg for sexual release.`);
}
} else {
if ([Job.HOUSE, Job.QUARTER].includes(slave.assignment)) {
r.push(`doesn't mind stopping by your office`);
} else {
r.push(`doesn't mind having to come ${toYou}`);
}
r.push(`to beg for sexual release.`);
}
r.push(App.EndWeek.Rules.playerEnergy(slave));
} else { /* slave.devotion > 50 */
if ([Job.HOUSE, Job.QUARTER].includes(slave.assignment)) {
r.push(`willingly stops by your office and`);
} else if (!assignmentVisible(slave)) {
r.push(`willingly comes up to the penthouse and`);
}
r.push(`begs you to ${App.EndWeek.Rules.playerFetishPlay(slave)}`);
if (App.Data.misc.facilityHeads.includes(slave.assignment)) {
if (slave.assignment === Job.TEACHER) {
r.push(`in front of ${his} class`);
}
r.push(`whenever ${he} crosses paths with you.`);
} else if (slave.assignment === Job.SPA) {
r.push(`whenever the urge strikes.`);
} else {
r.push(`every chance ${he} gets.`);
}
r.push(App.EndWeek.Rules.playerEnergy(slave));
}
r.push(App.EndWeek.Rules.playerDiscoversFetish(slave));
r.push(App.EndWeek.Rules.playerDrugEffects(slave));
} else { /* release.master === 0 */
r.push(App.EndWeek.Rules.noRelease(slave));
r.push(App.EndWeek.Rules.noReleaseDrugEffects(slave));
}
} else if (!App.Utils.hasNonassignmentSex(slave) && release.masturbation === 1) {
if (slave.sexualFlaw === "attention whore" && [Job.WHORE, Job.BROTHEL, Job.CLUB, Job.PUBLIC].includes(slave.assignment)) {
r.push(`<span class="devotion inc">enjoys being allowed to masturbate,</span> especially since it's`);
if ([Job.WHORE, Job.BROTHEL].includes(slave.assignment)) {
r.push(`often to the pleasure of an aroused client.`);
} else if (slave.assignment === Job.CLUB) {
r.push(`often on stage for ${V.clubName}'s amusement.`);
} else { // slave.assignment === Job.PUBLIC
r.push(`often in public, for the amusement of citizens and passers-by.`);
}
slave.devotion += 1;
slave.need = 0;
} else if ((slave.devotion <= 20) && (slave.trust >= -20)) {
r.push(`takes solace in ${his} permission to masturbate rather than being forced to beg for sex,`);
if ([Job.PUBLIC, Job.CLUB].includes(slave.assignment)) {
r.push(`though being forced to do it on a table surrounded by citizens prevents ${him} from getting complacent; you can never know when they'll want more.`);
} else if ([Job.BROTHEL, Job.WHORE].includes(slave.assignment)) {
r.push(`though being forced to do it in front of an aroused client prevents ${him} from getting complacent; you can never know when they'll want more.`);
} else {
r.push(`<span class="trust inc">reducing ${his} fear</span> of you.`);
slave.trust += 2;
}
slave.need = 0;
} else if (slave.devotion <= 20) {
r.push(`enjoys being allowed to masturbate rather than trading sex with other slaves,`);
if ([Job.PUBLIC, Job.CLUB].includes(slave.assignment)) {
r.push(`though being forced to do it on a table surrounded by citizens <span class="trust dec">terrifies ${him};</span> you can never know when they'll want more.`);
slave.trust -= 1;
} else if ([Job.BROTHEL, Job.WHORE].includes(slave.assignment)) {
r.push(`though being forced to do it in front of an aroused client <span class="trust dec">terrifies ${him};</span> you can never know when they'll want more.`);
slave.trust -= 1;
} else {
r.push(`<span class="trust inc">slightly reducing ${his} fear</span> of you but <span class="devotion dec">allowing ${him} to remain in control of ${him} sexuality.</span>`);
slave.trust += 1;
slave.devotion -= 1;
}
slave.need = 0;
} else if (slave.devotion <= 50) {
r.push(`accepts having to relieve ${himself} solely through masturbation.`);
slave.need = 0;
} else if (slave.devotion < 80) {
r.push(`is a little disappointed that ${he}'s limited to ${his} `);
if (!hasAnyArms(slave)) {
r.push(`imagination`);
} else if (!hasBothArms(slave)) {
r.push(`hand`);
} else {
r.push(`hands`);
}
r.push(`and toys, but <span class="trust inc">trusts you know what's best for ${him}.</span>`);
slave.trust += 1;
slave.need = 0;
} else {
r.push(`<span class="trust inc">trusts your judgment</span> that only ${he} really knows how to pleasure`);
if (release.master === 0) {
r.push(`${himself}, though ${he} <span class="devotion dec">often wonders why you don't`);
if (slave.assignment === Job.TEACHER) {
r.push(`make an example out of`);
} else {
r.push(`use`);
}
r.push(`${him}.</span>`);
slave.devotion -= 2;
} else {
r.push(`${himself}.`);
}
slave.trust += 1;
slave.need = 0;
}
if (slave.devotion > 20) {
r.push(`When ${he} does play with ${himself}, ${he}`);
r.push(App.EndWeek.Rules.masturbationFetishPlay(slave));
r.push(App.EndWeek.Rules.masturbationDiscoversFetish(slave));
}
r.push(App.EndWeek.Rules.masturbationDrugEffects(slave));
} else { /* hasNonassignmentSex is true */
const whom = (release.slaves === 1) ? "other slaves" : `${his} family`;
if (!App.Utils.hasFamilySex(slave) && release.slaves === 0) {
/* no family and no other slaves, so release comes from her partner */
r.push(`finds frequent sexual release with ${his} ${relationshipTerm(slave)} <span class="relationship">${getSlave(slave.relationshipTarget).slaveName}</span> which ${he} is <span class="trust inc">thankful for.</span>`);
r.push(App.EndWeek.Rules.partnerDrugEffects(slave));
slave.trust++;
slave.need -= 20; /* TODO: probably should be based on BOTH slaves' need, leaving the less needy partner slightly frustrated */
} else if (slave.assignment === Job.WARDEN) {
/* Wardeness ignores consent, rapes prisoners at will */
r.push(`opts to <span class="trust inc">take advantage of the prisoners</span> to`);
r.push(App.EndWeek.Rules.rapeFetish(slave));
r.push(App.EndWeek.Rules.rapeDiscoversFetish(slave));
r.push(App.EndWeek.Rules.permissiveDrugEffects(slave));
slave.trust += 1;
slave.need = 0;
} else if (V.universalRulesConsent === 0) { /* rape is authorized */
if ((slave.devotion <= 20) && (slave.trust >= -20)) {
if (release.masturbation === 1) {
r.push(`masturbates whenever ${he} can find a private moment to take care of the urges induced by the food, <span class="trust inc">slightly reducing ${his} fear</span> of you.`);
slave.trust += 1;
slave.need = 0;
} else {
r.push(`refuses to use ${whom} to get off, and is`);
if ([Job.CLUB, Job.PUBLIC].includes(slave.assignment)) {
r.push(`forced to spend time with the citizens and their wandering hands <span class="trust dec">as punishment</span>`);
} else if ([Job.WHORE, Job.BROTHEL].includes(slave.assignment)) {
r.push(`forced to take additional clients <span class="trust dec">as punishment</span>`);
} else {
r.push(`<span class="trust dec">severely punished</span>`);
}
r.push(`for illicit masturbation.`);
slave.trust -= 2;
slave.need -= 10;
}
} else if (slave.devotion <= 20) {
let jobOption = ``;
if (release.masturbation === 1) {
if ([Job.CLUB, Job.PUBLIC].includes(slave.assignment)) {
jobOption = ` or offering ${himself} to patrons`;
} else if ([Job.BROTHEL, Job.WHORE].includes(slave.assignment)) {
jobOption = ` or giving free samples`;
}
r.push(`prefers to masturbate rather than demanding sex from ${whom}${jobOption}, <span class="trust inc">slightly reducing ${his} fear</span> of you.`);
slave.trust += 1;
slave.need = 0;
} else {
if ([Job.CLUB, Job.PUBLIC].includes(slave.assignment)) {
jobOption = ` or offer ${himself} to patrons`;
} else if ([Job.BROTHEL, Job.WHORE].includes(slave.assignment)) {
jobOption = ` or attempt to attract additional clients`;
}
r.push(`is forced by the urges induced by the food to demand sex from ${whom}${jobOption}, and <span class="devotion inc">hates ${himself}</span> for it.`);
slave.devotion += 1;
slave.need *= 0.5;
}
} else if (slave.devotion <= 50) {
r.push(`<span class="devotion inc">accepts the need</span> to`);
r.push(App.EndWeek.Rules.rapeFetish(slave));
r.push(App.EndWeek.Rules.rapeDiscoversFetish(slave));
slave.devotion += 1;
slave.need = 0;
} else {
r.push(`happily <span class="trust inc">avails ${himself}</span> of your permission to`);
r.push(App.EndWeek.Rules.rapeFetish(slave));
r.push(App.EndWeek.Rules.rapeDiscoversFetish(slave));
slave.trust += 1;
slave.need = 0;
}
} else { /* consent is required */
let jobOption = ``;
if (release.masturbation === 1) {
if ([Job.CLUB, Job.PUBLIC].includes(slave.assignment)) {
jobOption = ` or offering ${himself} to patrons`;
} else if ([Job.BROTHEL, Job.WHORE].includes(slave.assignment)) {
jobOption = ` or giving free samples`;
}
} else {
if ([Job.CLUB, Job.PUBLIC].includes(slave.assignment)) {
jobOption = ` or attempt to seduce amorous citizens`;
} else if ([Job.BROTHEL, Job.WHORE].includes(slave.assignment)) {
jobOption = ` or attempt to attract additional clients`;
}
}
if ((slave.devotion <= 20) && (slave.trust >= -20)) {
if (release.masturbation === 1) {
r.push(`prefers to masturbate rather than asking ${whom} for sex${jobOption}, <span class="trust inc">slightly reducing ${his} fear</span> of you.`);
slave.trust += 1;
slave.need = 0;
} else {
r.push(`refuses to ask ${whom} for sex${jobOption}, and is <span class="trust dec">severely punished</span> for illicit masturbation.`);
slave.trust -= 2;
slave.need -= 10;
}
} else if (slave.devotion <= 20) {
if (release.masturbation === 1) {
r.push(`prefers to masturbate rather than trading sex with ${whom}${jobOption}, <span class="trust inc">slightly reducing ${his} fear</span> of you.`);
slave.trust += 1;
slave.need = 0;
} else {
r.push(`is forced by the urges induced by the food to demand sex from ${whom}${jobOption}, and <span class="devotion inc">hates ${himself}</span> for it.`);
slave.devotion += 1;
slave.need *= 0.5;
}
} else if (slave.devotion <= 50) {
r.push(`<span class="devotion inc">accepts having to ask</span> ${whom} for sex,`);
r.push(App.EndWeek.Rules.consentFetish(slave));
r.push(App.EndWeek.Rules.consentDiscoversFetish(slave));
slave.devotion += 1;
slave.need = 0;
} else {
r.push(`<span class="trust inc">relies</span> on ${whom} for mutual satisfaction,`);
r.push(App.EndWeek.Rules.consentFetish(slave));
r.push(App.EndWeek.Rules.consentDiscoversFetish(slave));
slave.trust += 1;
slave.need = 0;
}
} /* closes universalRulesConsent */
r.push(App.EndWeek.Rules.permissiveDrugEffects(slave));
} /* closes releaseRules not restrictive */
const frag = document.createDocumentFragment();
$(frag).append(...App.Events.spaceSentences(r));
return frag;
};
|
MonsterMate/fc
|
src/endWeek/saReleaseRules.js
|
JavaScript
|
mit
| 12,363
|
/**
* @param {App.Entity.SlaveState} slave
* @returns {string}
*/
App.SlaveAssignment.rest = function(slave) {
/* eslint-disable no-unused-vars*/
const {
he, him, his, hers, himself, boy,
He, His
} = getPronouns(slave);
/* eslint-enable */
let t = " takes the week off.";
if (slave.fuckdoll > 0) {
t += ` ${He} has nothing to do but `;
if (!hasBothLegs(slave)) {
t += `lie `;
} else {
t += `stand `;
}
t += `in place.`;
}
if (slave.health.condition > 90) {
t += ` ${His} health is so outstanding that rest does not improve it.`;
} else if (slave.health.condition > -100) {
t += ` ${His} <span class="health inc">health recovers</span> with rest.`;
improveCondition(slave, 10);
if (!(canHear(slave))) {
t += ` Since ${he} is deaf, the hustle and bustle of daily life in the penthouse <span class="health inc">didn't bother ${him} at all.</span>`;
improveCondition(slave, 3);
} else if ((slave.hears === -1 && slave.earwear !== "hearing aids") || (slave.hears === 0 && slave.earwear === "muffling ear plugs")) {
t += ` Since ${he} is hard of hearing, the hustle and bustle of daily life in the penthouse <span class="health inc">didn't disturb ${his} rest as much.</span>`;
improveCondition(slave, 1);
}
}
if (slave.fuckdoll === 0 && slave.fetish !== "mindbroken") {
if (slave.devotion > 20) {
if (slave.trust <= 20) {
t += ` Being allowed to rest <span class="trust inc">reduces ${his} fear</span> of you.`;
slave.trust += 4;
} else if (slave.trust <= 50) {
t += ` Being allowed to rest <span class="trust inc">builds ${his} trust</span> in you.`;
slave.trust += 2;
} else {
t += ` Being allowed to rest <span class="trust inc">confirms ${his} trust</span> in you.`;
slave.trust += 2;
}
} else {
if (slave.trust < -20) {
t += ` Being allowed to rest <span class="trust inc">reduces ${his} fear</span> of you.`;
slave.trust += 4;
}
}
}
if (slave.health.illness > 0 || slave.health.tired > 60) {
t += ` Since ${he} is<span class="red">`;
if (slave.health.illness === 1) {
t += ` feeling under the weather`;
} else if (slave.health.illness === 2) {
t += ` somewhat ill`;
} else if (slave.health.illness === 3) {
t += ` sick`;
} else if (slave.health.illness === 4) {
t += ` very sick`;
} else if (slave.health.illness === 5) {
t += ` terribly ill`;
}
if (slave.health.illness > 0 && slave.health.tired > 60) {
t += ` and`;
}
if (slave.health.tired > 90) {
t += ` exhausted`;
} else if (slave.health.tired > 60) {
t += ` fatigued`;
}
t += `,</span> ${his} body appreciates being allowed to rest.`;
}
if (slave.health.tired > 30) {
if (slave.assignment === window.Job.SPA) {
if (V.spaUpgrade > 0) {
t += ` ${capFirstChar(V.spaName)}'s luxuries help ${him} relax.`;
}
if (S.Attendant) {
t += ` ${S.Attendant.slaveName}'s fingers know just how to refresh ${his} tired body.`;
}
}
}
tired(slave);
if (V.showVignettes === 1 && slave.assignment === window.Job.REST) {
const vignette = GetVignette(slave);
const FResultNumber = FResult(slave);
t += ` <span class="story-label">This week</span> ${vignette.text} `;
if (vignette.type === "cash") {
if (vignette.effect > 0) {
t += `<span class="cash inc">making you an extra ${cashFormat(Math.trunc(FResultNumber * vignette.effect))}.</span>`;
cashX(Math.trunc(FResultNumber * vignette.effect), "slaveAssignmentRestVign", slave);
} else if (vignette.effect < 0) {
t += `<span class="cash dec">losing you ${cashFormat(Math.abs(Math.trunc(FResultNumber * vignette.effect)))}.</span>`;
cashX(forceNeg(Math.trunc(FResultNumber * vignette.effect)), "slaveAssignmentRestVign", slave);
} else {
t += `an incident without lasting effect.`;
}
} else if (vignette.type === "devotion") {
if (vignette.effect > 0) {
if (slave.devotion > 50) {
t += `<span class="devotion inc">increasing ${his} devotion to you.</span>`;
} else if (slave.devotion >= -20) {
t += `<span class="devotion inc">increasing ${his} acceptance of you.</span>`;
} else if (slave.devotion > -10) {
t += `<span class="devotion inc">reducing ${his} dislike of you.</span>`;
} else {
t += `<span class="devotion inc">reducing ${his} hatred of you.</span>`;
}
} else if (vignette.effect < 0) {
if (slave.devotion > 50) {
t += `<span class="devotion dec">reducing ${his} devotion to you.</span>`;
} else if (slave.devotion >= -20) {
t += `<span class="devotion dec">reducing ${his} acceptance of you.</span>`;
} else if (slave.devotion > -10) {
t += `<span class="devotion dec">increasing ${his} dislike of you.</span>`;
} else {
t += `<span class="devotion dec">increasing ${his} hatred of you.</span>`;
}
} else {
t += `an incident without lasting effect.`;
}
slave.devotion += (1 * vignette.effect);
} else if (vignette.type === "trust") {
if (vignette.effect > 0) {
if (slave.trust > 20) {
t += `<span class="trust inc">increasing ${his} trust in you.</span>`;
} else if (slave.trust > -10) {
t += `<span class="trust inc">reducing ${his} fear of you.</span>`;
} else {
t += `<span class="trust inc">reducing ${his} terror of you.</span>`;
}
} else if (vignette.effect < 0) {
if (slave.trust > 20) {
t += `<span class="trust dec">reducing ${his} trust in you.</span>`;
} else if (slave.trust >= -20) {
t += `<span class="trust dec">increasing ${his} fear of you.</span>`;
} else {
t += `<span class="trust dec">increasing ${his} terror of you.</span>`;
}
} else {
t += `an incident without lasting effect.`;
}
slave.trust += (1 * vignette.effect);
} else if (vignette.type === "health") {
if (vignette.effect > 0) {
t += `<span class="health inc">improving ${his} health.</span>`;
improveCondition(slave, 2 * vignette.effect);
} else if (vignette.effect < 0) {
t += `<span class="health dec">affecting ${his} health.</span>`;
healthDamage(slave, 2 * vignette.effect);
} else {
t += `an incident without lasting effect.`;
}
} else {
if (vignette.effect > 0) {
t += `<span class="reputation inc">gaining you a bit of reputation.</span>`;
} else if (vignette.effect < 0) {
t += `<span class="reputation dec">losing you a bit of reputation.</span>`;
} else {
t += `an incident without lasting effect.`;
}
repX((FResultNumber * vignette.effect * 0.1), "vignette", slave);
}
}
return t;
};
|
MonsterMate/fc
|
src/endWeek/saRest.js
|
JavaScript
|
mit
| 6,572
|
App.SlaveAssignment.rewardAndPunishment = (function() {
/** @type {App.Entity.SlaveState} */
let slave;
let He, he, His, his, him, himself;
let rewards = 0;
let punishments = 0;
let combinedText = false;
const rewardFuncs = {
relaxation: function() {
let r = [];
r.push(`${He}'s given free time, which ${he}`);
if (slave.assignment === Job.CLINIC) {
r.push(`spends with the amenities present in ${V.clinicName} for recovering slaves to pass the time.`);
} else if (slave.assignment === Job.ATTENDANT) {
r.push(`usually spends soaking in a hot bath or enjoying the amenities ${his} facility has to offer.`);
} else if (slave.assignment === Job.CONCUBINE) {
if (V.spa !== 0) {
r.push(`usually sets aside to spend with you in ${V.spaName}.`);
} else {
r.push(`usually spends relaxing with you.`);
}
} else if (V.spa !== 0) {
const where = (slave.assignment !== Job.SPA) ? V.spaName : `a private bath`;
const attendant = S.Attendant ? `, enjoying ${S.Attendant.slaveName}'s care` : ``;
r.push(`usually spends in ${where}${attendant}.`);
} else if (slave.assignment === Job.MASTERSUITE) {
r.push(`usually spends relaxing on ${his} favorite pillow.`);
} else if (slave.assignment === Job.HEADGIRLSUITE) {
r.push(`usually spends relaxing in your Head Girl's private room.`);
} else if (slave.rules.living === "luxurious") {
let roomActivity = '';
if (slave.assignment === Job.NURSE) {
roomActivity = ` amusing ${himself} with the amenities for recovering slaves`;
} else if (slave.assignment === Job.WARDEN && App.Entity.facilities.cellblock.employeesIDs().size > 0) {
roomActivity = ` teaching a disobedient slave how to properly use their mouth`;
} else if (slave.assignment === Job.TEACHER && App.Entity.facilities.schoolroom.employeesIDs().size > 0) {
roomActivity = ` giving private lessons to a student`;
} else if (slave.assignment === Job.STEWARD && App.Entity.facilities.servantsQuarters.employeesIDs().size > 0) {
roomActivity = ` while enjoying some service from ${his} underlings`;
} else if (slave.assignment === Job.MILKMAID && App.Entity.facilities.dairy.employeesIDs().size > 0) {
roomActivity = ` with the softest cow available`;
} else if (slave.assignment === Job.FARMER && App.Entity.facilities.farmyard.employeesIDs().size > 0) {
roomActivity = ` with the softest cow available`; // FIXME: needs improvement
} else if (canSee(slave) && (slave.intelligence+slave.intelligenceImplant > 50)) {
roomActivity = ` reading books`;
} else if (canSee(slave) && canHear(slave)) {
roomActivity = ` watching television`;
} else if (canSee(slave)) {
roomActivity = ` reading magazines`;
} else if (canHear(slave)) {
roomActivity = ` listening to music`;
}
r.push(`usually spends relaxing in ${his} private room${roomActivity}.`);
} else if (slave.assignment === Job.SCHOOL) {
r.push(`usually spends relaxing in ${his} dorm room.`);
} else {
r.push(`usually spends relaxing in the slave quarters.`);
}
if (slave.relationship > 0) {
r.push(`${He} often asks to save these breaks so ${he} can spend them with ${his} ${relationshipTerm(slave)}.`);
}
r.push(`These breaks are <span class="green">good for ${him}.</span>`);
improveCondition(slave, rewards);
return r;
},
drugs: function() {
let r = [];
r.push(`${He}'s <span class="hotpink">rewarded</span> with hits of mild recreational drugs, which <span class="red">isn't healthy,</span> but helps bind ${him} to you strongly.`);
if ([Job.CLUB, Job.PUBLIC].includes(slave.assignment)) {
r.push(`${His} patrons don't complain either.`);
}
healthDamage(slave, rewards);
slave.devotion += rewards*2;
return r;
},
orgasm: function() {
let r = [];
r.push(`${He}'s <span class="hotpink">rewarded</span> with`);
if (slave.clitPiercing === 3) {
r.push(`sustained orgasm from ${his}`);
if (slave.dick === 0) {
r.push(`clit`);
} else {
r.push(`dick`);
}
r.push(`piercing,`);
if (slave.assignment === Job.CLUB) {
r.push(`often on stage during a dance,`);
}
} else if ([Job.CONCUBINE, Job.MASTERSUITE, Job.FUCKTOY].includes(slave.assignment)) {
r.push(`immediate sex with you,`);
} else if (slave.rules.release.slaves === 1) {
r.push(`immediate sex with any nearby slave,`);
} else {
r.push(`a quick climax from a vibrator,`);
}
r.push(`<span class="green">boosting ${his} libido.</span>`);
if (slave.energy < 98) {
slave.energy += rewards;
}
slave.need -= (rewards*10);
slave.devotion += rewards;
return r;
},
situational: function() {
let r = [];
r.push(`${He}'s <span class="hotpink">rewarded</span>`);
if (combinedText) {
r.push(`and <span class="gold">punished</span>`);
}
r.push(`situationally, letting ${him} develop normally.`);
slave.devotion += rewards;
return r;
}
};
const punishFuncs = {
confinement: function() {
let r = [];
r.push(`When ${he} disobeys,`);
if (slave.assignment === Job.CLINIC) {
r.push(`${he} spends ${his} time <span class="gold">strapped</span> to ${his} bed until ${he} behaves.`);
} else if (slave.assignment === Job.DAIRY) {
r.push(`${he} spends ${his} time <span class="gold">getting milked in a cramped dark stall</span> until ${he} behaves.`);
} else if (V.cellblock !== 0) {
if (slave.assignment === Job.CELLBLOCK) {
r.push(`${he} <span class="gold">spends ${his} day in solitary.</span>`);
} else if (slave.assignment === Job.SCHOOL) {
r.push(`${he} <span class="gold">is assigned detention after school in ${V.cellblockName}</span>${S.Wardeness ? `, where ${he} can experience ${S.Wardeness.slaveName}'s teaching methods` : ``}.`);
} else if (slave.assignment === Job.QUARTER) {
r.push(`${he} <span class="gold">spends ${his} day (and night) cleaning the cells in ${V.cellblockName}</span>${S.Wardeness ? `, where ${he} can experience ${S.Wardeness.slaveName}'s tender mercies` : ``}.`);
} else {
r.push(`${he} <span class="gold">spends ${his} off hours in ${V.cellblockName}</span>${S.Wardeness ? `, where ${he} can experience ${S.Wardeness.slaveName}'s tender mercies` : ``}.`);
}
} else {
r.push(`${he} spends ${his} off hours <span class="gold">shut up in a box</span> until ${he} behaves.`);
}
slave.trust -= punishments;
return r;
},
whipping: function() {
let r = [];
r.push(`When ${he} disobeys, ${he}'s`);
if (slave.assignment === Job.SCHOOL) {
r.push(`dragged to the front of the class and`);
}
r.push(`<span class="gold">whipped,</span> not hard enough to mark ${him}${slave.assignment === Job.CLINIC ? `or complicate ${his} stay` : ``}, but hard enough to <span class="red">hurt,</span> breaking ${him} quickly.`);
healthDamage(slave, punishments);
slave.trust -= 2*punishments;
return r;
},
chastity: function() {
let r = [];
r.push(`When ${he} disobeys,`);
if (slave.assignment === Job.BROTHEL) {
r.push(`${he} finds ${his} next client is into <span class="gold">orgasm denial,</span>`);
} else if (slave.assignment === Job.CLUB) {
r.push(`${he} finds ${his} next dance to be both extremely sexual and <span class="gold">completely unsatisfying,</span>`);
} else if (slave.assignment === Job.CELLBLOCK) {
r.push(`${he}'s given a hit of mild aphrodisiacs and <span class="gold">left to squirm without release,</span>`);
} else if (slave.assignment === Job.SCHOOL) {
r.push(`${he}'s dragged to the front of the class for a lesson on edging. ${He} is kept <span class="gold">just shy of orgasm</span> for the rest of the day,`);
} else if (slave.assignment === Job.QUARTER) {
r.push(`${he} finds ${himself} cleaning up around an ongoing orgy, yet <span class="gold">forbidden from getting off,</span>`);
} else if (slave.assignment === Job.DAIRY) {
r.push(`${he} finds ${his} <span class="gold">milkings fewer and farther between,</span>`);
} else {
r.push(`${he}'s <span class="gold">denied</span> ${his} next orgasm,`);
}
r.push(`<span class="red">reducing ${his} libido</span> but breaking ${him} to <span class="hotpink">sexual obedience.</span>`);
if (slave.energy > 2) {
slave.energy -= 2*punishments;
}
slave.devotion += punishments;
slave.trust -= punishments;
return r;
},
situational: function() {
let r = [];
if (!combinedText) {
r.push(`When ${he} disobeys, ${he}'s <span class="gold">punished</span> situationally, letting ${him} develop normally.`);
}
slave.trust -= punishments;
return r;
}
};
/** Administer rewards and punishments for the slave
* @param {App.Entity.SlaveState} forSlave
* @returns {string}
*/
function rewardAndPunish(forSlave) {
let r = [];
slave = forSlave;
({He, he, His, his, him, himself} = getPronouns(slave));
if (slave.assignment === Job.CLINIC && random(-200, 200) < slave.health.health) {
r.push(`${He} does not feel up to doing much, so ${he} needs neither rewards nor punishments this week.`);
} else {
const you = (slave.assignment !== Job.HEADGIRLSUITE) ? `you` : `you and ${S.HeadGirl.slaveName}`;
if (slave.devotion > 50) {
r.push(`${He} does ${his} best for ${you}, so ${he} frequently deserves a reward and never needs to be punished.`);
punishments = 0;
rewards = 3;
} else if (slave.devotion > 20) {
r.push(`${He}'s obedient out of acceptance of ${his} place, so ${he} often deserves a reward and rarely needs to be punished.`);
punishments = 1;
rewards = 2;
} else if (slave.devotion >= -20) {
if (slave.trust < -20) {
r.push(`${He}'s obedient out of fear, so ${he} only rarely deserves a reward and sometimes needs to be punished.`);
punishments = 1;
rewards = 1;
} else {
r.push(`${He}'s too trusting for obedience and often needs to be punished.`);
punishments = 2;
rewards = 0;
}
} else {
if (slave.trust < -50) {
r.push(`${He}'s only obedient out of terror, so ${he} sometimes needs to be punished.`);
punishments = 1;
rewards = 0;
} else {
r.push(`${He} hates ${you} too much to obey, so ${he} needs constant punishment.`);
punishments = 3;
rewards = 0;
}
}
}
combinedText = (slave.rules.reward === slave.rules.punishment) && rewards > 0 && punishments > 0;
if (rewards > 0) {
r.push(...rewardFuncs[slave.rules.reward]());
}
if (punishments > 0) {
r.push(...punishFuncs[slave.rules.punishment]());
}
return r.join(' ');
}
return rewardAndPunish;
})();
|
MonsterMate/fc
|
src/endWeek/saRewardAndPunishment.js
|
JavaScript
|
mit
| 10,695
|
App.SlaveAssignment.rivalries = (function() {
"use strict";
let r;
// eslint-disable-next-line no-unused-vars
let he, him, his, hers, himself, girl, loli, He, His;
let changed;
return saRivalries;
/**
* @param {App.Entity.SlaveState} slave
* @returns {string}
*/
function saRivalries(slave) {
r = [];
({
// eslint-disable-next-line no-unused-vars
he, him, his, hers, himself, girl, He, His, loli
} = getPronouns(slave));
if (canStartRivalry(slave)) {
if (isSlaveAvailable(slave) && slave.assignment !== Job.CONFINEMENT) {
generateRivalry(slave);
}
} else if (slave.rivalry) {
existingRivalry(slave);
}
if (slave.rivalry) {
rivalryValidation(slave);
}
return r.join(" ");
}
/** Can this slave possibly get a new rival?
* @param {App.Entity.SlaveState} slave
* @returns {boolean}
*/
function canStartRivalry(slave) {
const headstrong = (slave.devotion < jsRandom(20, 100)) && (slave.trust > jsRandom(-100, -20));
return (slave.rivalry === 0 && slave.fetish !== "mindbroken" && slave.fuckdoll === 0 && headstrong);
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function generateRivalry(slave) {
let foundRival = 0;
for (const potentialRival of V.slaves) {
if (canStartRivalry(potentialRival) && potentialRival.ID !== slave.ID && potentialRival.ID !== slave.relationshipTarget) {
if (potentialRival.origBodyOwnerID === slave.ID && potentialRival.devotion > 0 && slave.devotion < -30) {
r.push(`${slave.slaveName} loathes that ${SlaveFullName(potentialRival)} is using <span class="em">${his}</span> body to benefit you and makes it abundantly clear every chance ${he} gets. <span class="rivalry inc">They start to dislike each other.</span>`);
foundRival = 1;
}
if (foundRival !== 1 && slave.behavioralFlaw !== "none") {
switch (slave.behavioralFlaw) {
case "arrogant":
if (potentialRival.intelligence > slave.intelligence+slave.intelligenceImplant) {
r.push(`${slave.slaveName} is an arrogant bitch, and ${SlaveFullName(potentialRival)} is authentically smarter than ${he} is, which of course ${he} cannot stand. <span class="rivalry inc">They start to dislike each other.</span>`);
foundRival = 1;
}
break;
case "bitchy":
if (potentialRival.behavioralFlaw === "odd") {
r.push(`${slave.slaveName} is a bit of a bitch, and poor odd ${SlaveFullName(potentialRival)} is a convenient target for ${his} bullying. <span class="rivalry inc">They start to dislike each other.</span>`);
foundRival = 1;
}
break;
case "odd":
if (potentialRival.behavioralFlaw === "bitchy") {
r.push(`${slave.slaveName} is rather strange. ${SlaveFullName(potentialRival)}, who is kind of a bitch, frequently bullies ${him} about it. <span class="rivalry inc">They start to dislike each other.</span>`);
foundRival = 1;
}
break;
case "hates men":
if (potentialRival.attrXX > 35) {
if (potentialRival.faceShape === "masculine" || potentialRival.faceShape === "androgynous" ) {
if (potentialRival.muscles > 10) {
if (potentialRival.vagina > -1) {
r.push(`${slave.slaveName} hates men, and poor butch ${SlaveFullName(potentialRival)} really gets to ${him}, despite having a pussy and everything. <span class="rivalry inc">They start to dislike each other.</span>`);
foundRival = 1;
} else {
r.push(`${slave.slaveName} hates men, and poor masculine ${SlaveFullName(potentialRival)} really gets to ${him}. <span class="rivalry inc">They start to dislike each other.</span>`);
foundRival = 1;
}
}
}
}
break;
case "hates women":
if (potentialRival.attrXY > 35) {
if (potentialRival.faceShape !== "masculine") {
if (potentialRival.muscles <= 30) {
if (potentialRival.vagina > -1) {
r.push(`${slave.slaveName} hates women, and something about the feminine ${SlaveFullName(potentialRival)} really gets to ${him}. <span class="rivalry inc">They start to dislike each other.</span>`);
foundRival = 1;
} else {
r.push(`${slave.slaveName} hates women, and something about the girly ${SlaveFullName(potentialRival)} really gets to ${him}, despite poor ${potentialRival.slaveName} not being perfectly female at all. <span class="rivalry inc">They start to dislike each other.</span>`);
foundRival = 1;
}
}
}
}
break;
case "gluttonous":
if (potentialRival.behavioralFlaw === "anorexic") {
r.push(`${slave.slaveName}, who loves food, can't stand ${SlaveFullName(potentialRival)}'s prissy anorexia. <span class="rivalry inc">They start to dislike each other.</span>`);
foundRival = 1;
} else if (potentialRival.weight < -30) {
r.push(`${slave.slaveName}, who loves food, can't stand ${SlaveFullName(potentialRival)}'s severe emaciation. <span class="rivalry inc">They start to dislike each other.</span>`);
foundRival = 1;
}
break;
case "anorexic":
if (potentialRival.behavioralFlaw === "gluttonous") {
r.push(`${slave.slaveName}, an anorexic, can't stand ${SlaveFullName(potentialRival)}'s disgusting gluttony. <span class="rivalry inc">They start to dislike each other.</span>`);
foundRival = 1;
} else if (potentialRival.weight > 95) {
r.push(`${slave.slaveName}, an anorexic, can't stand ${SlaveFullName(potentialRival)}'s immense girth. <span class="rivalry inc">They start to dislike each other.</span>`);
foundRival = 1;
}
break;
case "devout":
if (potentialRival.behavioralFlaw === "liberated") {
r.push(`${slave.slaveName}, who is devout and might be considered rather conservative if ${he} were free, can't stand ${SlaveFullName(potentialRival)}'s revolting gender liberation. <span class="rivalry inc">They start to dislike each other.</span>`);
foundRival = 1;
}
break;
case "liberated":
if (potentialRival.behavioralFlaw === "devout") {
r.push(`${slave.slaveName}, who is liberated and might be considered rather liberal if ${he} were free, can't stand ${SlaveFullName(potentialRival)}'s bigoted religious faith. <span class="rivalry inc">They start to dislike each other.</span>`);
foundRival = 1;
}
break;
}
}
if (foundRival !== 1 && potentialRival.assignment === slave.assignment) {
if (jsRandom(0, 1) === 1) {
r.push(`${slave.slaveName} and ${SlaveFullName(potentialRival)} see too much of each other while they`);
switch (potentialRival.assignment) {
case Job.HOUSE:
case Job.QUARTER:
r.push(`work as servants`);
break;
case Job.SUBORDINATE:
r.push(`prepare to serve your other slaves`);
break;
case Job.GLORYHOLE:
r.push(`work nearby glory holes`);
break;
case Job.CELLBLOCK:
r.push(`are confined in nearby cells`);
break;
case Job.FUCKTOY:
r.push(`wait for you to use them`);
break;
default:
r.push(`${potentialRival.assignment}`);
}
r.push(`and <span class="rivalry inc">start to dislike each other.</span>`);
foundRival = 1;
}
}
if (foundRival === 1) {
// needed to break the loop if the case statement picked a rival.
// might as well use it to condense all the rival sets too.
slave.rivalry = 1;
slave.rivalryTarget = potentialRival.ID;
potentialRival.rivalry = 1;
potentialRival.rivalryTarget = slave.ID;
break;
}
}
}
}
/**
* @param {App.Entity.SlaveState} slave
* @param {App.Entity.SlaveState} rival
*/
function reduce(slave, rival) {
rival.rivalry--;
slave.rivalry--;
if (slave.rivalry === 0) {
rival.rivalryTarget = 0;
slave.rivalryTarget = 0;
}
changed = true;
}
/**
* @param {App.Entity.SlaveState} slave
* @param {App.Entity.SlaveState} rival
*/
function increase(slave, rival) {
rival.rivalry++;
slave.rivalry++;
changed = true;
}
/**
* @param {App.Entity.SlaveState} slave
* @param {App.Entity.SlaveState} rival
*/
function reconcile(slave, rival) {
rival.rivalry = 0;
rival.rivalryTarget = 0;
slave.rivalry = 0;
slave.rivalryTarget = 0;
changed = true;
}
/**
* @param {App.Entity.SlaveState} slave
*/
function existingRivalry(slave) {
const rival = getSlave(slave.rivalryTarget);
let roll = jsRandom(0, 100);
changed = false;
if (rival === undefined) {
r.push(`<span class="red">Error, rivalryTarget not found.</span>`);
} else {
if (slave.fuckdoll) {
r.push(`${slave.slaveName} is a living sex toy, not a person, it <span class="rivalry dec">can't really maintain any meaningful rivalry</span> with ${SlaveFullName(rival)}.`);
reconcile(slave, rival);
} else if (slave.fetish === "mindbroken") {
r.push(`Since ${slave.slaveName} is mindbroken, ${he} <span class="rivalry dec">can't really maintain any meaningful rivalry</span> with ${SlaveFullName(rival)}.`);
reconcile(slave, rival);
} else if (rival.ID === slave.relationshipTarget && slave.relationship > 3) {
r.push(`Since ${slave.slaveName} and ${slave.slaveName} are in a committed sexual relationship, they <span class="rivalry dec">can't really maintain any meaningful rivalry;</span> most disputes just end in a quick hatefucking.`);
reconcile(slave, rival);
} else {
if (slave.need) {
if (V.universalRulesConsent === 0) {
if (App.Utils.sexAllowed(slave, rival)) {
if (slave.fetishKnown) {
if (slave.fetish === "sadist") {
r.push(`${slave.slaveName} is horny and sadistic, so ${he} rapes ${his} rival ${SlaveFullName(rival)}} every chance ${he} gets; this <span class="devotion inc">thrills</span> ${slave.slaveName}, but ${rival.slaveName} is <span class="trust dec">frightened</span> that you let it happen.`);
slave.need = 0;
slave.devotion += 3;
rival.trust -= 3;
if (slave.rivalry < 3) {
r.push(`Of course, this <span class="rivalry inc">worsens their rivalry.</span>`);
increase(slave, rival);
}
SimpleSexAct.Slaves(rival, slave, 5);
} else if (slave.fetish === "dom") {
r.push(`${slave.slaveName} is horny and dominant, so ${he} forces ${his} rival ${SlaveFullName(rival)} to submit to ${him} whenever ${he} can; this <span class="devotion inc">thoroughly satisfies</span> ${slave.slaveName}, but ${rival.slaveName} is <span class="devotion dec">angered</span> that you let it happen.`);
slave.need = 0;
slave.devotion += 3;
rival.devotion -= 3;
if (slave.rivalry < 3) {
r.push(`Of course, this <span class="rivalry inc">worsens their rivalry.</span>`);
increase(slave, rival);
}
SimpleSexAct.Slaves(rival, slave, 5);
}
}
}
}
}
if (!changed && roll > 50) {
if (rival.fetish === slave.fetish) {
r.push(`${slave.slaveName} and ${SlaveFullName(rival)} share sexual interests, and in the sexual atmosphere of the arcology, it's <span class="rivalry dec">difficult for them to keep up their dislike</span> of one another with the mutual attraction.`);
reduce(slave, rival);
}
if (roll > 80 && slave.rivalry > 0) {
if (!changed && rival.trust < -20) {
if (slave.trust < -20) {
r.push(`Since both ${slave.slaveName} and ${SlaveFullName(rival)} are terrified of you, they work together to <span class="rivalry dec">get over their feud,</span> since it brings punishment on both of them.`);
reduce(slave, rival);
}
}
if (!changed && rival.devotion > 50) {
if (slave.devotion > 50) {
r.push(`Since both ${slave.slaveName} and ${SlaveFullName(rival)} are devoted to you, they work together to <span class="rivalry dec">get over their feud,</span> since it gets in the way of their duties.`);
reduce(slave, rival);
}
}
if (roll > 90 && slave.rivalry > 0) {
if (!changed && slave.energy > 95) {
r.push(`${slave.slaveName} lusts after ${SlaveFullName(rival)}, and does everything ${he} can to <span class="rivalry dec">patch up their differences.</span>`);
reduce(slave, rival);
}
if (!changed && slave.attrXX > 85) {
if (rival.vagina > -1 || rival.faceShape !== "masculine") {
r.push(`${slave.slaveName} lusts after ${SlaveFullName(rival)}, and does everything ${he} can to <span class="rivalry dec">patch up their differences.</span>`);
reduce(slave, rival);
}
}
if (!changed && slave.attrXY > 85) {
if (canAchieveErection(rival) || rival.faceShape === "masculine") {
r.push(`${slave.slaveName} lusts after ${SlaveFullName(rival)}, and does everything ${he} can to <span class="rivalry dec">patch up their differences.</span>`);
reduce(slave, rival);
}
}
if (!changed && rival.assignment !== slave.assignment) {
if (slave.subTarget !== rival.ID && rival.subTarget !== slave.ID) {
r.push(`With time apart ${slave.slaveName} and ${SlaveFullName(rival)} <span class="rivalry dec">dislike each other less.</span>`);
reduce(slave, rival);
}
}
}
}
}
if (!changed && areRelated(slave, rival)) {
if (roll > 70 && slave.rivalry < 3) {
r.push(`${slave.slaveName} and ${SlaveFullName(rival)} <span class="rivalry inc">pursue their family rivalry.</span>`);
increase(slave, rival);
} else if (roll > 40 && slave.rivalry > 0) {
r.push(`${slave.slaveName} and ${SlaveFullName(rival)} <span class="rivalry dec">patch up their family relationship.</span>`);
reduce(slave, rival);
}
}
if (!changed && rival.origBodyOwnerID === slave.ID) {
if (slave.rivalry < 3) {
r.push(`${slave.slaveName} <span class="rivalry inc">refuses to accept ${SlaveFullName(rival)}'s control of ${his} former body,</span> worsening their rivalry.`);
increase(slave, rival);
}
} else if (!changed && roll > (slave.devotion - slave.trust + 10)) {
if (slave.rivalry < 3) {
r.push(`${slave.slaveName} <span class="rivalry inc">bickers with ${SlaveFullName(rival)}</span> whenever ${he} can, worsening their rivalry.`);
increase(slave, rival);
}
} else if (!changed && roll < (slave.devotion - slave.trust - 10) && slave.rivalry > 0) {
r.push(`${slave.slaveName} does ${his} best to be nice to ${SlaveFullName(rival)}, and manages to <span class="rivalry dec">de-escalate their little feud.</span>`);
reduce(slave, rival);
}
}
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function rivalryValidation(slave) {
// This will be obsoleted with multiple rivals system
const rival = getSlave(slave.rivalryTarget);
if (rival !== undefined && slave.ID !== rival.rivalryTarget) {
rival.rivalry = 0;
rival.rivalryTarget = 0;
slave.rivalry = 0;
slave.rivalryTarget = 0;
}
}
})();
|
MonsterMate/fc
|
src/endWeek/saRivalries.js
|
JavaScript
|
mit
| 15,272
|
App.EndWeek.Rules = {};
/**
*
* @param {App.Entity.SlaveState} slave
* @returns {DocumentFragment}
*/
App.EndWeek.Rules.attractionDiscovery = function(slave) {
const el = new DocumentFragment();
let color;
let text;
if (slave.attrXY <= 5) {
color = "red";
text = "disgusted by men";
} else if (slave.attrXY <= 15) {
color = "red";
text = "turned off by men";
} else if (slave.attrXY <= 35) {
color = "red";
text = `not attracted to men`;
} else if (slave.attrXY <= 65) {
text = `indifferent to men`;
} else if (slave.attrXY <= 85) {
color = "green";
text = `attracted to men`;
} else if (slave.attrXY <= 95) {
color = "green";
text = "aroused by men";
} else {
color = "green";
text = "passionate about men";
}
App.UI.DOM.appendNewElement("span", el, text, color);
el.append(` and `);
if (slave.attrXX <= 5) {
color = "red";
text = `disgusted by women.`;
} else if (slave.attrXX <= 15) {
color = "red";
text = `turned off by women.`;
} else if (slave.attrXX <= 35) {
color = "red";
text = `not attracted to women.`;
} else if (slave.attrXX <= 65) {
text = `indifferent to women.`;
} else if (slave.attrXX <= 85) {
color = "green";
text = `attracted to women.`;
} else if (slave.attrXX <= 95) {
color = "green";
text = `aroused by women.`;
} else {
color = "green";
text = `passionate about women.`;
}
App.UI.DOM.appendNewElement("span", el, text, color);
return el;
};
/**
*
* @param {App.Entity.SlaveState} slave
* @returns {string}
*/
App.EndWeek.Rules.playerFetishPlay = function(slave) {
const {him, his} = getPronouns(slave);
const r = [];
if (slave.fetishKnown === 1 && slave.fetishStrength > 60) {
switch (slave.fetish) {
case "submissive":
r.push(`hold ${him} down and`);
if (slave.vagina <= 0 && slave.anus <= 0) {
r.push(`use ${his} body`);
} else {
r.push(`fuck ${him}`);
}
break;
case "cumslut":
if (V.PC.dick !== 0) {
r.push(`cum in ${his} mouth`);
} else {
r.push(`use your strap-on on ${his} mouth`);
}
break;
case "humiliation":
r.push(`use ${him} in public`);
break;
case "buttslut":
r.push(`fuck ${his} butt`);
break;
case "boobs":
r.push(`fondle ${his} breasts`);
if (slave.lactation > 0) {
slave.lactationDuration = 2;
slave.boobs -= slave.boobsMilk;
slave.boobsMilk = 0;
}
break;
case "sadist":
r.push(`let ${him} help you abuse other slaves`);
break;
case "masochist":
r.push(`hurt ${him}`);
break;
case "dom":
r.push(`let ${him} help you use other slaves`);
break;
case "pregnancy":
if (isFertile(slave) && V.PC.dick !== 0) {
r.push(`put a baby in ${him}`);
} else if (slave.bellyPreg >= 1500 || slave.bellyImplant >= 1500) {
r.push(`enjoy ${his} fecund curves`);
} else {
r.push(`breed ${him}`);
}
break;
default:
r.push(`fuck ${him}`);
}
} else {
r.push(`fuck ${him}`);
}
return r.join(" ");
};
/**
*
* @param {App.Entity.SlaveState} slave
* @returns {DocumentFragment}
*/
App.EndWeek.Rules.playerEnergy = function(slave) {
const el = new DocumentFragment();
const {he, him, his, himself, wife} = getPronouns(slave);
if (App.EndWeek.saVars.freeSexualEnergy > 0) {
if (App.EndWeek.saVars.freeSexualEnergy === 3) {
el.append(`You have surplus sexual energy to burn, even when ${he} doesn't ask, and ${he} `);
if (slave.devotion < -20) {
App.UI.DOM.appendNewElement("span", el, `hates ${himself} `, "hotpink");
el.append(`for how often ${he} gets off on you relieving your needs with ${his} body. `);
} else if (slave.devotion <= 50 || slave.trust <= 20) {
App.UI.DOM.appendNewElement("span", el, `gets used to being a sex slave `, "hotpink");
el.append(`every time ${he} climaxes as you use ${him}. `);
} else {
App.UI.DOM.appendNewElement("span", el, `eagerly looks forward `, "hotpink");
el.append(`to each climax ${he} shares with you. `);
}
slave.devotion += 2;
slave.need = 0;
el.append(SimpleSexAct.Player(slave, 10));
} else if (App.EndWeek.saVars.freeSexualEnergy === 2) {
el.append(`You have surplus sexual energy to fuck ${him} whenever `);
if (slave.relationship === -3) {
el.append(`you notice ${his} need, `);
} else {
el.append(`${he} forces ${himself} to ask, `);
}
el.append(`and ${he} is `);
App.UI.DOM.appendNewElement("span", el, `sexually dependent `, "hotpink");
el.append(`on you. `);
slave.devotion += 1;
slave.need -= 40;
el.append(SimpleSexAct.Player(slave, 5));
} else if (slave.relationship === -3) {
el.append(`You have little surplus sexual energy, but you make sure to keep your ${wife}'s needs in `);
if (slave.devotion < -20) {
el.append(`mind, even if ${he} doesn't want it. `);
} else {
el.append(`mind. `);
}
slave.need -= 40;
el.append(SimpleSexAct.Player(slave, 5));
} else {
el.append(`You have little surplus sexual energy, and occasionally, ${he} asks in vain. `);
slave.need -= 20;
el.append(SimpleSexAct.Player(slave, 2));
}
} else {
el.append(`You have no surplus sexual energy, and ${he} asks in vain, `);
App.UI.DOM.appendNewElement("span", el, `reducing ${his} trust `, "gold");
el.append(`in you. `);
slave.trust -= 1;
}
return el;
};
/**
*
* @param {App.Entity.SlaveState} slave
* @returns {DocumentFragment}
*/
App.EndWeek.Rules.playerDiscoversFetish = function(slave) {
const el = new DocumentFragment();
const {he, him, his} = getPronouns(slave);
if (slave.fetishKnown === 0) {
if (App.EndWeek.saVars.freeSexualEnergy > 0) {
if (App.EndWeek.saVars.freeSexualEnergy > random(0, 5)) {
slave.fetishKnown = 1;
el.append(`You discover that ${he} really likes it when you `);
switch (slave.fetish) {
case "submissive":
el.append(`hold ${him} down and fuck ${him}; `);
App.UI.DOM.appendNewElement("span", el, `${he}'s a submissive!`, "lightcoral");
break;
case "cumslut":
if (V.PC.dick !== 0) {
el.append(`cum in ${his} mouth; `);
App.UI.DOM.appendNewElement("span", el, `${he}'s a cumslut!`, "lightcoral");
} else {
el.append(`use your strap-on in ${his} mouth; `);
App.UI.DOM.appendNewElement("span", el, `${he}'s a cumslut!`, "lightcoral");
}
break;
case "humiliation":
el.append(`use ${him} in public; `);
App.UI.DOM.appendNewElement("span", el, `${he}'s a humiliation fetishist!`, "lightcoral");
break;
case "buttslut":
if (canDoAnal(slave)) {
el.append(`fuck ${his} butt `);
} else {
el.append(`tease ${his} anus `);
}
App.UI.DOM.appendNewElement("span", el, `${he}'s an anal slut!`, "lightcoral");
break;
case "boobs":
el.append(`fondle ${his} breasts; `);
App.UI.DOM.appendNewElement("span", el, `${he}'s a boob fetishist!`, "lightcoral");
break;
case "sadist":
el.append(`let ${him} help you abuse other slaves; `);
App.UI.DOM.appendNewElement("span", el, `${he}'s a sadist!`, "lightcoral");
break;
case "masochist":
el.append(`hurt ${him}; `);
App.UI.DOM.appendNewElement("span", el, `${he}'s a masochist!`, "lightcoral");
break;
case "dom":
el.append(`let ${him} help you use other slaves; `);
App.UI.DOM.appendNewElement("span", el, `${he}'s dominant!`, "lightcoral");
break;
case "pregnancy":
if (V.PC.dick !== 0) {
if (slave.mpreg === 0) {
el.append(`come `);
if (canDoVaginal(slave)) {
el.append(`inside `);
} else {
el.append(`on `);
}
el.append(`${him}; `);
App.UI.DOM.appendNewElement("span", el, `${he}'s a pregnancy fetishist!`, "lightcoral");
} else {
el.append(`come `);
if (canDoAnal(slave)) {
el.append(`inside `);
} else {
el.append(`on `);
}
el.append(`${him}; `);
App.UI.DOM.appendNewElement("span", el, `${he}'s a pregnancy fetishist!`, "lightcoral");
}
} else {
el.append(`talk dirty and call ${him} a mother; `);
App.UI.DOM.appendNewElement("span", el, `${he}'s a pregnancy fetishist!`, "lightcoral");
}
break;
default:
el.append(`fuck ${him}; `);
App.UI.DOM.appendNewElement("span", el, `${he}'s got a normal sexuality.`, "lightcoral");
}
}
}
}
/* closes fetish discovery */
return el;
};
/**
*
* @param {App.Entity.SlaveState} slave
* @returns {DocumentFragment}
*/
App.EndWeek.Rules.playerDrugEffects = function(slave) {
const el = new DocumentFragment();
const {He, His,
he, him, his} = getPronouns(slave);
if (slave.balls > 0) {
if (slave.drugs === "testicle enhancement" || slave.drugs === "intensive testicle enhancement") {
if (slave.devotion > 20 || slave.trust < -20) {
if (slave.hormoneBalance >= 100) {
el.append(`${He} can't seem to get enough cum out of ${his} terribly swollen balls in one orgasm to relieve the pressure: `);
if (slave.dick) {
el.append(`${his} poor soft dick produces slow, anemic ejaculations, no matter how backed up ${he} is. `);
} else {
el.append(`${his} cumhole produces slow, anemic ejaculations, no matter how backed up ${he} is. `);
}
el.append(`This forces ${him} to come to you for release many times a day, and ${he} `);
App.UI.DOM.appendNewElement("span", el, `is desperately reliant `, "mediumaquamarine");
if (slave.anus > 0 && canDoAnal(slave) && App.EndWeek.saVars.freeSexualEnergy > 0) {
el.append(`on your `);
if (V.PC.dick === 0) {
el.append(`strap-on `);
} else {
el.append(`penis `);
}
el.append(`inside ${his} ass as a source of relief. `);
} else {
el.append(`on you for relief. `);
}
slave.trust += 2;
} else {
el.append(`${His} terribly swollen balls force ${him} to come to you for release several times a day, and ${he} `);
App.UI.DOM.appendNewElement("span", el, `learns to rely`, "mediumaquamarine");
if (slave.anus > 0 && canDoAnal(slave) && App.EndWeek.saVars.freeSexualEnergy > 0) {
el.append(`on your `);
if (V.PC.dick === 0) {
el.append(`strap-on `);
} else {
el.append(`penis `);
}
el.append(`inside ${his} ass as a source of relief. `);
} else {
el.append(`on you for relief. `);
}
slave.trust += 1;
}
} else {
el.append(`${He} refuses to come to you for help with ${his} terribly swollen balls, no matter how backed up ${he} becomes. The intense blue-balling only `);
App.UI.DOM.appendNewElement("span", el, `makes ${him} dislike you more.`, "mediumorchid");
slave.devotion -= 1;
}
} else if (slave.drugs === "hyper testicle enhancement") {
if (slave.devotion > 20 || slave.trust < -20) {
if (slave.hormoneBalance >= 100) {
el.append(`${He} can't seem to get enough cum out of ${his} grotesquely swollen balls in one orgasm to get relieve the pressure: `);
if (slave.dick) {
el.append(`${his} poor soft dick produces slow, anemic ejaculations, no matter how backed up ${he} is. `);
} else {
el.append(`${his} cumhole produces slow, anemic ejaculations, no matter how backed up ${he} is. `);
}
el.append(`This forces ${him} to come to you for release many times a day, and ${he} `);
App.UI.DOM.appendNewElement("span", el, `is desperately reliant `, "mediumaquamarine");
if (slave.anus > 0 && canDoAnal(slave) && App.EndWeek.saVars.freeSexualEnergy > 0) {
el.append(`on your `);
if (V.PC.dick === 0) {
el.append(`strap-on `);
} else {
el.append(`penis `);
}
el.append(`inside ${his} ass as a source of relief. `);
} else {
el.append(`on you for relief. `);
}
slave.trust += 2;
} else {
el.append(`${His} grotesquely swollen balls force ${him} to come to you for release dozens of times a day, and ${he} `);
App.UI.DOM.appendNewElement("span", el, `is desperately reliant `, "mediumaquamarine");
if (slave.anus > 0 && canDoAnal(slave) && App.EndWeek.saVars.freeSexualEnergy > 0) {
el.append(`on your `);
if (V.PC.dick === 0) {
el.append(`strap-on `);
} else {
el.append(`penis `);
}
el.append(`inside ${his} ass as a source of relief. `);
} else {
el.append(`on you for relief. `);
}
slave.trust += 1;
}
} else {
el.append(`${He} refuses to come to you for help with ${his} grotesquely swollen balls, no matter how backed up and sore ${he} becomes. The intense blue-balling only `);
App.UI.DOM.appendNewElement("span", el, `makes ${him} hate you more.`, "mediumorchid");
slave.devotion -= 3;
}
}
}
if (slave.drugs === "super fertility drugs" && canImpreg(slave, V.PC)) {
if (slave.devotion > 20 || slave.trust < -20) {
el.append(`${His} reproductive system is in overdrive leading ${him} to come to you for insemination several times a day; ${he} `);
App.UI.DOM.appendNewElement("span", el, `desperately hopes `, "mediumaquamarine");
el.append(`for the day your seed takes root in ${his} womb. `);
slave.trust += 1;
}
}
return el;
};
/**
*
* @param {App.Entity.SlaveState} slave
* @returns {DocumentFragment}
*/
App.EndWeek.Rules.masturbationFetishPlay = function(slave) {
const el = new DocumentFragment();
const {he, his, himself} = getPronouns(slave);
if (slave.fetishKnown === 1 && slave.fetishStrength > 60) {
if (slave.fetish === "submissive") {
el.append(`frequently pretends to be getting held down and dominated. `);
} else if (slave.fetish === "cumslut") {
if (slave.dick > 5) {
el.append(`enjoys giving ${himself} head. `);
} else if (slave.dick > 0) {
el.append(`enjoys licking up ${his} own cum. `);
} else {
el.append(`always has a dildo in ${his} mouth. `);
}
} else if (slave.fetish === "humiliation") {
el.append(`usually does it out in the open for all to see. `);
} else if (slave.fetish === "buttslut") {
if (slave.anus > 0) {
el.append(`usually pounds ${his} ass with the largest dildo ${he} can find. `);
} else {
el.append(`enjoys fiddling with ${his} virgin asshole. `);
}
} else if (slave.fetish === "boobs") {
el.append(`pays extra attention to ${his} breasts and nipples. `);
if (slave.lactation > 0) {
slave.lactationDuration = 2;
slave.boobs -= slave.boobsMilk;
slave.boobsMilk = 0;
} else {
el.append(induceLactation(slave));
}
} else if (slave.fetish === "sadist") {
el.append(`frequently poses threats at ${himself}. `);
} else if (slave.fetish === "masochist") {
el.append(`frequently pretends to be getting held down and forcibly raped. `);
} else if (slave.fetish === "dom") {
el.append(`usually pretends to dominate ${himself}. `);
} else if (slave.fetish === "pregnancy") {
if (slave.belly > 1500) {
el.append(`always rubs and teases ${his} ${bellyAdjective(slave)} belly while doing so. `);
} else if (isItemAccessible.entry("a small empathy belly", "bellyAccessory")) {
el.append(`frequently straps on a fake belly to enhance ${his} fun. `);
} else {
el.append(`frequently pretends to be `);
if (slave.balls > 0) {
el.append(`getting a girl pregnant. `);
} else {
el.append(`getting knocked up. `);
}
}
} else if (slave.energy > 95) {
el.append(`strives to achieve as many orgasms as ${he} can in one session. `);
} else {
el.append(`quickly gets off and moves on. `);
}
} else if (slave.energy > 95) {
el.append(`strives to achieve as many orgasms as ${he} can in one session. `);
} else {
el.append(`quickly gets off and moves on. `);
}
return el;
};
/**
*
* @param {App.Entity.SlaveState} slave
* @returns {DocumentFragment}
*/
App.EndWeek.Rules.masturbationDiscoversFetish = function(slave) {
const el = new DocumentFragment();
const {he, him, his, himself} = getPronouns(slave);
if (slave.fetishKnown === 0 && random(1, 20) === 1) {
slave.fetishKnown = 1;
el.append(`However, you start to notice a trend in ${his} fantasies,`);
if (slave.fetish === "submissive") {
el.append(`${he} likes to tie ${himself} up and boss ${himself} around; `);
App.UI.DOM.appendNewElement("span", el, `${he}'s a submissive!`, "lightcoral");
} else if (slave.fetish === "cumslut") {
if (slave.dick > 0) {
el.append(`${he} often eats ${his} own cum when ${he}'s finished; `);
App.UI.DOM.appendNewElement("span", el, `${he}'s a cumslut!`, "lightcoral");
} else {
el.append(`${he} likes to have something, anything, in ${his} mouth while ${he} masturbates; `);
App.UI.DOM.appendNewElement("span", el, `${he}'s a cumslut!`, "lightcoral");
}
} else if (slave.fetish === "humiliation") {
el.append(`${he} tends to masturbate in places where others can walk in on ${him}; `);
App.UI.DOM.appendNewElement("span", el, `${he}'s a humiliation fetishist!`, "lightcoral");
} else if (slave.fetish === "buttslut") {
el.append(`${he} always pays special attention to ${his} butthole; `);
App.UI.DOM.appendNewElement("span", el, `${he}'s an anal slut!`, "lightcoral");
} else if (slave.fetish === "boobs") {
el.append(`${he} always has a hand to ${his} nipples; `);
App.UI.DOM.appendNewElement("span", el, `${he}'s a boob fetishist!`, "lightcoral");
if (slave.lactation > 0) {
slave.lactationDuration = 2;
slave.boobs -= slave.boobsMilk;
slave.boobsMilk = 0;
} else {
el.append(induceLactation(slave));
}
} else if (slave.fetish === "sadist") {
el.append(`${he} tends to threaten ${his} toys; `);
App.UI.DOM.appendNewElement("span", el, `${he}'s a sadist!`, "lightcoral");
} else if (slave.fetish === "masochist") {
el.append(`${he} often to abuses ${himself}; `);
App.UI.DOM.appendNewElement("span", el, `${he}'s a masochist!`, "lightcoral");
} else if (slave.fetish === "dom") {
el.append(`${he} sometimes bosses ${his} toys around; `);
App.UI.DOM.appendNewElement("span", el, `${he}'s dominant!`, "lightcoral");
} else if (slave.fetish === "pregnancy") {
el.append(`${he} frequently pretends to either get pregnant, be pregnant, or get someone else pregnant; `);
App.UI.DOM.appendNewElement("span", el, `${he}'s a pregnancy fetishist!`, "lightcoral");
} else if (slave.energy > 95) {
el.append(`${he}'s always horny; `);
App.UI.DOM.appendNewElement("span", el, `${he}'s a nympho!`, "lightcoral");
} else {
App.UI.DOM.appendNewElement("span", el, `they are incredibly mundane.`, "lightcoral");
}
}
return el;
};
/**
*
* @param {App.Entity.SlaveState} slave
* @returns {DocumentFragment}
*/
App.EndWeek.Rules.masturbationDrugEffects = function(slave) {
const el = new DocumentFragment();
const {
He, His,
he, him, his, himself
} = getPronouns(slave);
if (slave.balls > 0) {
if (slave.drugs === "testicle enhancement" || slave.drugs === "intensive testicle enhancement") {
if (slave.hormoneBalance >= 100) {
el.append(`${He} can't seem to get enough cum out of ${his} terribly swollen balls in one orgasm to get relieve the pressure: `);
if (slave.dick) {
el.append(`${his} poor soft dick produces slow, anemic ejaculations, no matter how backed up ${he} is. `);
} else {
el.append(`${his} cumhole produces slow, anemic ejaculations, no matter how backed up ${he} is. `);
}
el.append(`${He} masturbates as often as ${he} can, but `);
App.UI.DOM.appendNewElement("span", el, `can't find relief.`, "mediumorchid");
slave.devotion--;
} else {
el.append(`${His} terribly swollen balls force ${him} to masturbate several times a day, cultivating a need for sex that `);
App.UI.DOM.appendNewElement("span", el, `${he} can't fulfill.`, "mediumorchid");
slave.devotion -= 1;
}
} else if (slave.drugs === "hyper testicle enhancement") {
if (slave.hormoneBalance >= 100) {
el.append(`${He} can't seem to get enough cum out of ${his} grotesquely swollen balls in one orgasm to get relieve the pressure: `);
if (slave.dick) {
el.append(`${his} poor soft dick produces slow, anemic ejaculations, no matter how backed up ${he} is. `);
} else {
el.append(`${his} cumhole produces slow, anemic ejaculations, no matter how backed up ${he} is. `);
}
el.append(`${He} masturbates non-stop, but `);
App.UI.DOM.appendNewElement("span", el, `can't find relief. `, "mediumorchid");
slave.devotion -= 3;
} else {
el.append(`${His} grotesquely swollen balls force ${him} to masturbate constantly, cultivating a need for sex that `);
App.UI.DOM.appendNewElement("span", el, `${he} can't fulfill.`, "mediumorchid");
slave.devotion -= 1;
}
if (slave.energy > 40) {
el.append(`The constant orgasms steadily lose their impact, `);
App.UI.DOM.appendNewElement("span", el, `weakening ${his} sex drive.`, "red");
slave.energy -= 2;
}
}
}
if (slave.drugs === "super fertility drugs" && canGetPregnant(slave)) {
el.append(`${His} reproductive system is in overdrive,`);
if (slave.dick > 9) {
el.append(`leaving ${him} `);
App.UI.DOM.appendNewElement("span", el, `desperately fucking ${himself}`, "mediumorchid");
el.append(` in an effort to get pregnant since `);
App.UI.DOM.appendNewElement("span", el, `you won't ${(V.PC.dick !== 0) ? `give ${him}` : `let ${him} find`} the dick ${he} needs. `, "gold");
if (canImpreg(slave, slave)) {
el.append(knockMeUp(slave, 5, 2, slave.ID, true));
}
if (slave.mpreg === 1 && slave.anus === 0) {
App.UI.DOM.appendNewElement("span", el, `${He} is so baby crazed ${he} takes ${his} own anal virginity.`, "lime");
slave.anus++;
} else if (slave.vagina === 0) {
App.UI.DOM.appendNewElement("span", el, `${He} is so baby crazed ${he} takes ${his} own virginity.`, "lime");
slave.vagina++;
}
slave.devotion -= 3;
slave.trust -= 2;
} else if (slave.devotion >= -20) {
el.append(`leaving ${him} `);
App.UI.DOM.appendNewElement("span", el, `completely unfulfilled`, "mediumorchid");
el.append(` since `);
App.UI.DOM.appendNewElement("span", el, `you won't ${(V.PC.dick !== 0) ? `give ${him}` : `let ${him} find`} the dick ${he} needs. `, "gold");
slave.devotion -= 3;
slave.trust -= 2;
} else {
el.append(`leaving ${him} desperate for a thorough seeding `);
App.UI.DOM.appendNewElement("span", el, `that you've forbidden ${him} from having.`, "mediumorchid");
slave.devotion -= 3;
}
}
if (slave.energy > 60) {
el.append(`${His} chronic masturbation `);
App.UI.DOM.appendNewElement("span", el, `steadily dulls`, "red");
el.append(` ${his} sexual pleasure. `);
slave.energy--;
}
return el;
};
/**
*
* @param {App.Entity.SlaveState} slave
* @returns {DocumentFragment}
*/
App.EndWeek.Rules.rapeFetish = function(slave) {
const el = new DocumentFragment();
const {
His, He,
he, him, his
} = getPronouns(slave);
const _who = (slave.rules.release.slaves === 1) ? "other slaves" : `${his} family`;
/* should be the only two choices if we get here */
if (slave.fetishKnown === 1 && slave.fetishStrength > 60) {
if (slave.fetish === "submissive") {
el.append(`plead that ${_who} fuck ${him}. `);
if (App.EndWeek.saVars.averageDick > 4) {
if (slave.anus > 0 && slave.anus < 3 && canDoAnal(slave)) {
if ((slave.anus * 40) - (App.EndWeek.saVars.averageDick * 5) < random(1, 100)) {
App.UI.DOM.appendNewElement("span", el, `${His} asshole is loosened `, "lime");
el.append(`during sex with other slaves, since most of the cocks ${he} enticed a dominating buttfuck from are very large. `);
slave.anus++;
seX(slave, "anal", "slaves", "penetrative", 3);
}
}
if (App.EndWeek.saVars.averageDick > 5) {
if (slave.vagina > 0 && slave.vagina < 3 && canDoVaginal(slave)) {
if ((slave.vagina * 40) - (App.EndWeek.saVars.averageDick * 5) < random(1, 100)) {
el.append(`Since most of the slaves ${he} enticed a pounding from are extremely hung, `);
App.UI.DOM.appendNewElement("span", el, `${his} cunt gets stretched out.`, "lime");
slave.vagina++;
seX(slave, "vaginal", "slaves", "penetrative", 3);
}
}
}
}
SimpleSexAct.Slave(slave, 7);
} else if (slave.fetish === "cumslut") {
el.append(`suck or be sucked by any `);
if (slave.rules.release.slaves === 1) {
el.append(`slave `);
} else {
el.append(`relative `);
}
el.append(`${he} fancies. `);
seX(slave, "oral", "slaves", "penetrative", random(5, 15));
} else if (slave.fetish === "humiliation") {
el.append(`demand that ${_who} let ${him} fuck them in public. `);
if (!slave.rivalry) {
const rival = randomRapeRivalryTarget(slave, (s) => (s.devotion <= 20 && s.trust < -20));
if (rival) {
el.append(`Craving a rush, ${he} repeatedly forces a reluctant ${SlaveFullName(rival)} to have sex with ${him} in public. ${rival.slaveName} resents this, and ${slave.slaveName}'s ongoing sexual abuse `);
App.UI.DOM.appendNewElement("span", el, `starts a rivalry`, "lightsalmon");
el.append(` between them. `);
slave.rivalry = 1;
rival.rivalry = 1;
slave.rivalryTarget = rival.ID;
rival.rivalryTarget = slave.ID;
SimpleSexAct.Slave(rival, 4);
if (canPenetrate(rival)) {
seX(slave, "penetrative", "slaves", "penetrative", random(1, 3));
}
if (!App.Utils.sexAllowed(slave, rival)) {
el.append(`As the rules do not permit ${slave.slaveName} and ${rival.slaveName} to have sex, ${he} is `);
App.UI.DOM.appendNewElement("span", el, `severely punished.`, "yellow");
slave.trust -= 4;
}
}
}
SimpleSexAct.Slave(slave, 4);
if (canPenetrate(slave)) {
seX(slave, "penetrative", "slaves", "penetrative", random(1, 3));
}
} else if (slave.fetish === "buttslut" && canDoAnal(slave)) {
el.append(`demand that ${_who} penetrate ${his} anus. `);
if (App.EndWeek.saVars.averageDick > 4) {
if (slave.anus > 0 && slave.anus < 3 && canDoAnal(slave)) {
if ((slave.anus * 30) - (App.EndWeek.saVars.averageDick * 5) < random(1, 100)) {
el.append(`Since most of the slaves ${he} demands anal sex from are extremely hung, `);
App.UI.DOM.appendNewElement("span", el, `${his} asshole gets stretched out.`, "lime");
slave.anus += 1;
}
}
}
seX(slave, "anal", "slaves", "penetrative", random(5, 12));
} else if (slave.fetish === "boobs") {
el.append(`demand that ${_who} massage ${his} breasts. `);
if (slave.lactation > 0) {
slave.lactationDuration = 2;
slave.boobs -= slave.boobsMilk;
slave.boobsMilk = 0;
} else {
el.append(induceLactation(slave));
}
seX(slave, "mammary", "slaves", "penetrative", random(10, 25));
} else if (slave.fetish === "sadist") {
el.append(`force the most reluctant `);
if (slave.rules.release.slaves === 1) {
el.append(`slaves `);
} else {
el.append(`members of ${his} family `);
}
el.append(`to let ${him} fuck them. `);
if (!slave.rivalry) {
const _rival = randomRapeRivalryTarget(slave, (s) => { return (s.devotion <= 50 && s.sexualFlaw !== "none"); });
if (_rival) {
el.append(`${He} focuses on ${SlaveFullName(_rival)} who has a sexual flaw ${slave.slaveName} can exploit. ${He} sadistically `);
if (_rival.sexualFlaw === "hates oral") {
el.append(`rapes the poor slave's face`);
if (!canAchieveErection(slave)) {
el.append(` with `);
if (hasAnyArms(slave)) {
el.append(`${his} fingers`);
} else {
el.append(`a strap-on`);
}
}
el.append(`. ${_rival.slaveName} hates oral`);
} else if (_rival.sexualFlaw === "hates penetration" && canDoVaginal(_rival)) {
el.append(`rapes the poor slave's pussy`);
if (!canAchieveErection(slave)) {
el.append(` with `);
if (hasAnyArms(slave)) {
el.append(`${his} fingers`);
} else {
el.append(`a strap-on`);
}
}
el.append(`. ${_rival.slaveName} hates penetration`);
} else if ((_rival.sexualFlaw === "hates anal" || _rival.sexualFlaw === "hates penetration") && canDoAnal(_rival)) {
el.append(`rapes the poor slave's ass`);
if (!canAchieveErection(slave)) {
el.append(` with `);
if (hasAnyArms(slave)) {
el.append(`${his} fingers`);
} else {
el.append(`a strap-on`);
}
}
el.append(`. ${_rival.slaveName} hates anal`);
} else if (_rival.sexualFlaw === "shamefast") {
el.append(`rapes the poor slave in public. ${_rival.slaveName} is terribly shamefast`);
} else if (_rival.sexualFlaw === "idealistic") {
const {him2} = getPronouns(_rival).appendSuffix("2");
el.append(`rapes the poor slave every time ${he} catches ${him2} being romantic. ${_rival.slaveName} is still idealistic`);
} else {
el.append(`rapes the poor slave every chance ${he} gets,`);
}
el.append(` and the sexual abuse `);
App.UI.DOM.appendNewElement("span", el, `starts a rivalry`, "lightsalmon");
el.append(` between them. `);
slave.rivalry = 1;
_rival.rivalry = 1;
slave.rivalryTarget = _rival.ID;
_rival.rivalryTarget = slave.ID;
SimpleSexAct.Slave(_rival, 4);
if (canPenetrate(_rival)) {
seX(slave, "penetrative", "slaves", "penetrative", random(1, 3));
}
if (!App.Utils.sexAllowed(slave, _rival)) {
el.append(`As the rules do not permit ${slave.slaveName} and ${_rival.slaveName} to have sex, ${he} is `);
App.UI.DOM.appendNewElement("span", el, `severely punished.`, "yellow");
slave.trust -= 4;
}
}
}
SimpleSexAct.Slave(slave, 4);
if (canPenetrate(slave)) {
seX(slave, "penetrative", "slaves", "penetrative", random(1, 3));
}
} else if (slave.fetish === "masochist") {
el.append(`demand that ${_who} hurt ${him}. `);
if (App.EndWeek.saVars.averageDick > 4) {
if (slave.anus > 0 && slave.anus < 3 && canDoAnal(slave)) {
if ((slave.anus * 30) - (App.EndWeek.saVars.averageDick * 5) < random(1, 100)) {
App.UI.DOM.appendNewElement("span", el, `${His} asshole is loosened `, "lime");
el.append(`during sex with hung slaves, since ${he} often relies on painal to address ${his} needs. `);
seX(slave, "anal", "slaves", "penetrative", 3);
slave.anus += 1;
}
}
if (App.EndWeek.saVars.averageDick > 5) {
if (slave.vagina > 0 && slave.vagina < 3 && canDoVaginal(slave)) {
if ((slave.vagina * 30) - (App.EndWeek.saVars.averageDick * 5) < random(1, 100)) {
el.append(`Since ${he} usually demands that hung slaves fuck ${him} hard enough to make ${his} pussy hurt, `);
App.UI.DOM.appendNewElement("span", el, `${his} cunt gets stretched out.`, "lime");
slave.vagina += 1;
seX(slave, "vaginal", "slaves", "penetrative", 3);
}
}
}
}
SimpleSexAct.Slave(slave, 12);
} else if (slave.fetish === "dom") {
el.append(`force ${_who} to submit to ${him}. `);
if (!slave.rivalry) {
const _rival = randomRapeRivalryTarget(slave, (s) => { return (s.devotion <= 20 && s.trust < -20); });
if (_rival) {
el.append(`${He} repeatedly rapes a reluctant ${SlaveFullName(_rival)} ${he} can't seem to keep ${his} hand`);
if (hasBothArms(slave) || !hasAnyArms(slave)) {
el.append(`s`);
}
if (!hasAnyArms(slave)) {
el.append(` (so to speak)`);
}
el.append(` off the poor slave, who can't avoid ${him}. Not surprisingly, ${_rival.slaveName} resents this, and ${slave.slaveName}'s ongoing sexual abuse `);
App.UI.DOM.appendNewElement("span", el, `starts a rivalry`, "lightsalmon");
el.append(` between them. `);
slave.rivalry = 1;
_rival.rivalry = 1;
slave.rivalryTarget = _rival.ID;
_rival.rivalryTarget = slave.ID;
SimpleSexAct.Slave(_rival, 4);
if (!App.Utils.sexAllowed(slave, _rival)) {
el.append(`As the rules do not permit ${slave.slaveName} and ${_rival.slaveName} to have sex, ${he} is `);
App.UI.DOM.appendNewElement("span", el, `severely punished.`, "yellow");
slave.trust -= 4;
}
}
}
SimpleSexAct.Slave(slave, 7);
if (canPenetrate(slave)) {
actX(slave, "penetrative", random(6, 9));
}
} else if (slave.fetish === "pregnancy") {
el.append(`demand that ${_who} indulge ${his} pregnancy fetish. `);
if (App.EndWeek.saVars.averageDick > 5) {
if (slave.mpreg === 0) {
if (slave.vagina > 0 && slave.vagina < 3 && canDoVaginal(slave)) {
if ((slave.vagina * 40) - (App.EndWeek.saVars.averageDick * 5) < random(1, 100)) {
el.append(`Since ${he} constantly demands to be fucked deeply to get ${his} womb filled with cum, `);
App.UI.DOM.appendNewElement("span", el, `${his} cunt gets stretched out.`, "lime");
slave.vagina += 1;
seX(slave, "vaginal", "slaves", "penetrative", random(7, 14));
}
}
} else {
if (slave.anus > 0 && slave.anus < 3 && canDoAnal(slave)) {
if ((slave.anus * 40) - (App.EndWeek.saVars.averageDick * 5) < random(1, 100)) {
el.append(`Since ${he} constantly demands to be fucked deeply to get ${his} womb filled with cum, `);
App.UI.DOM.appendNewElement("span", el, `${his} ass gets stretched out.`, "lime");
slave.anus += 1;
seX(slave, "anal", "slaves", "penetrative", random(7, 14));
}
}
}
}
if (canPenetrate(slave)) {
actX(slave, "penetrative", random(6, 9));
}
} else if (slave.energy > 95) {
el.append(`demand that ${_who} satisfy ${his} formidable appetites. `);
if (App.EndWeek.saVars.averageDick > 4) {
if (slave.anus > 0 && slave.anus < 3 && canDoAnal(slave)) {
if ((slave.anus * 30) - (App.EndWeek.saVars.averageDick * 5) < random(1, 100)) {
App.UI.DOM.appendNewElement("span", el, `${His} asshole is loosened `, "lime");
el.append(` during sex with well endowed slaves, since ${he}'s so addicted to sex all ${his} holes see heavy traffic. `);
slave.anus += 1;
seX(slave, "anal", "slaves", "penetrative", 3);
}
}
if (App.EndWeek.saVars.averageDick > 5) {
if (slave.vagina > 0 && slave.vagina < 3 && canDoVaginal(slave)) {
if ((slave.vagina * 30) - (App.EndWeek.saVars.averageDick * 5) < random(1, 100)) {
el.append(`${He} indulges in non-stop sex with your well endowed slaves, so much so that `);
App.UI.DOM.appendNewElement("span", el, `${his} cunt gets stretched out.`, "lime");
slave.vagina += 1;
seX(slave, "vaginal", "slaves", "penetrative", 3);
}
}
}
}
SimpleSexAct.Slave(slave, 7);
if (canPenetrate(slave)) {
actX(slave, "penetrative", random(3, 6));
}
} else {
el.append(`demand that ${_who} have sex with ${him}. `);
SimpleSexAct.Slave(slave, 7);
if (canPenetrate(slave)) {
seX(slave, "anal", "slaves", "penetrative", random(3, 6));
}
}
} else {
el.append(`demand that ${_who} have sex with ${him}. `);
SimpleSexAct.Slave(slave, 7);
if (canPenetrate(slave)) {
actX(slave, "penetrative", random(3, 6));
}
}
return el;
};
/**
*
* @param {App.Entity.SlaveState} slave
* @returns {DocumentFragment}
*/
App.EndWeek.Rules.consentFetish = function(slave) {
const el = new DocumentFragment();
const {
His, He,
he, him, his, himself
} = getPronouns(slave);
if (slave.fetishKnown === 1 && slave.fetishStrength > 60) {
if (slave.fetish === "submissive") {
el.append(`usually pairing off with a more dominant slave. `);
if (App.EndWeek.saVars.averageDick > 4) {
if (slave.anus > 0 && slave.anus < 3 && canDoAnal(slave)) {
if ((slave.anus * 40) - (App.EndWeek.saVars.averageDick * 5) < random(1, 100)) {
App.UI.DOM.appendNewElement("span", el, `${His} asshole is loosened `, "lime");
el.append(` during sex with other slaves, since most of the cocks ${he} lets dominate ${his} backdoor are very large. `);
slave.anus += 1;
seX(slave, "anal", "slaves", "penetrative", 3);
}
}
if (App.EndWeek.saVars.averageDick > 5) {
if (slave.vagina > 0 && slave.vagina < 3 && canDoVaginal(slave)) {
if ((slave.vagina * 40) - (App.EndWeek.saVars.averageDick * 5) < random(1, 100)) {
el.append(`Since most of the slaves ${he} takes a pounding from are extremely hung, `);
App.UI.DOM.appendNewElement("span", el, `${his} cunt gets stretched out.`, "lime");
slave.vagina += 1;
seX(slave, "vaginal", "slaves", "penetrative", 3);
}
}
}
}
SimpleSexAct.Slave(slave, 7);
} else if (slave.fetish === "cumslut") {
el.append(`and is popular for ${his} willingness to give oral. `);
seX(slave, "oral", "slaves", "penetrative", random(5, 15));
} else if (slave.fetish === "humiliation") {
el.append(`usually asking them to fuck out in the open. `);
SimpleSexAct.Slave(slave, 7);
if (canPenetrate(slave)) {
seX(slave, "penetrative", "slaves", "penetrative", random(1, 3));
}
} else if (slave.fetish === "buttslut") {
el.append(`looking after anyone who will `);
if (slave.anus > 0) {
if (canDoAnal(slave)) {
el.append(`penetrate `);
seX(slave, "anal", "slaves", "penetrative", random(5, 12));
} else {
el.append(`tease `);
}
el.append(`${his} ass `);
} else {
el.append(`tease ${his} virgin anus `);
}
el.append(`in return. `);
if (App.EndWeek.saVars.averageDick > 4) {
if (slave.anus > 0 && slave.anus < 3 && canDoAnal(slave)) {
if ((slave.anus * 30) - (App.EndWeek.saVars.averageDick * 5) < random(1, 100)) {
el.append(`Since most of the slaves ${he} enjoys anal sex with are extremely hung, `);
App.UI.DOM.appendNewElement("span", el, `${his} asshole gets stretched out.`, "lime");
slave.anus += 1;
}
}
}
} else if (slave.fetish === "boobs") {
el.append(`seeing to anyone who will show ${his} breasts some love. `);
if (slave.lactation > 0) {
slave.lactationDuration = 2;
slave.boobs -= slave.boobsMilk;
slave.boobsMilk = 0;
} else {
el.append(induceLactation(slave));
}
seX(slave, "mammary", "slaves", "penetrative", random(10, 25));
} else if (slave.fetish === "sadist") {
el.append(`usually pairing off with a masochistic slave willing to accept ${his} abuse. `);
SimpleSexAct.Slave(slave, 7);
if (canPenetrate(slave)) {
seX(slave, "penetrative", "slaves", "penetrative", random(1, 3));
}
} else if (slave.fetish === "masochist") {
el.append(`usually pairing off with an abusive slave. `);
if (App.EndWeek.saVars.averageDick > 4) {
if (slave.anus > 0 && slave.anus < 3 && canDoAnal(slave)) {
if ((slave.anus * 30) - (App.EndWeek.saVars.averageDick * 5) < random(1, 100)) {
App.UI.DOM.appendNewElement("span", el, `${His} asshole is loosened,`, "lime");
el.append(`since ${he} begs hung slaves to fuck ${his} butt until ${he} cries. `);
slave.anus += 1;
seX(slave, "anal", "slaves", "penetrative", 3);
}
}
if (App.EndWeek.saVars.averageDick > 5) {
if (slave.vagina > 0 && slave.vagina < 3 && canDoVaginal(slave)) {
if ((slave.vagina * 30) - (App.EndWeek.saVars.averageDick * 5) < random(1, 100)) {
el.append(`Since ${he} eagerly begs hung slaves to fuck ${him} until ${he} cries, `);
App.UI.DOM.appendNewElement("span", el, `${his} cunt gets stretched out.`, "lime");
slave.vagina += 1;
seX(slave, "vaginal", "slaves", "penetrative", 3);
}
}
}
}
SimpleSexAct.Slave(slave, 6);
} else if (slave.fetish === "dom") {
el.append(`usually pairing off with a submissive bitch. `);
SimpleSexAct.Slave(slave, 6);
if (canPenetrate(slave)) {
seX(slave, "penetrative", "slaves", "penetrative", random(1, 3));
}
} else if (slave.fetish === "pregnancy") {
el.append(`doing ${his} best to pair off with any pregnant slaves. `);
if (slave.mpreg === 0) {
if (App.EndWeek.saVars.averageDick > 5) {
if (slave.vagina > 0 && slave.vagina < 3 && canDoVaginal(slave)) {
if ((slave.vagina * 40) - (App.EndWeek.saVars.averageDick * 5) < random(1, 100)) {
el.append(`${He} also takes cock whenever ${he} can, begging to be fucked deeply to get ${his} womb filled with cum, so `);
App.UI.DOM.appendNewElement("span", el, `${his} cunt gets stretched out.`, "lime");
slave.vagina += 1;
seX(slave, "vaginal", "slaves", "penetrative", 3);
}
}
}
} else {
if (App.EndWeek.saVars.averageDick > 5) {
if (slave.anus > 0 && slave.anus < 3 && canDoAnal(slave)) {
if ((slave.anus * 40) - (App.EndWeek.saVars.averageDick * 5) < random(1, 100)) {
el.append(`${He} also takes cock whenever ${he} can, begging to be fucked deeply to get ${his} womb filled with cum, so `);
App.UI.DOM.appendNewElement("span", el, `${his} ass gets stretched out.`, "lime");
slave.anus += 1;
seX(slave, "anal", "slaves", "penetrative", 3);
}
}
}
}
SimpleSexAct.Slave(slave, 7);
if (canPenetrate(slave)) {
seX(slave, "penetrative", "slaves", "penetrative", random(6, 9));
}
} else if (slave.energy > 95) {
el.append(`and has to give out a lot of favors to get enough attention for ${himself}. `);
if (App.EndWeek.saVars.averageDick > 4) {
if (slave.anus > 0 && slave.anus < 3 && canDoAnal(slave)) {
if ((slave.anus * 30) - (App.EndWeek.saVars.averageDick * 5) < random(1, 100)) {
App.UI.DOM.appendNewElement("span", el, `${His} asshole is loosened `, "lime");
el.append(`during sex with well endowed slaves, since ${he}'s so addicted to sex all ${his} holes see heavy traffic. `);
slave.anus += 1;
seX(slave, "anal", "slaves", "penetrative", 3);
}
}
if (App.EndWeek.saVars.averageDick > 5) {
if (slave.vagina > 0 && slave.vagina < 3 && canDoVaginal(slave)) {
if ((slave.vagina * 30) - (App.EndWeek.saVars.averageDick * 5) < random(1, 100)) {
el.append(`${He} indulges in non-stop sex with your well endowed slaves, so much so that `);
App.UI.DOM.appendNewElement("span", el, `${his} cunt gets stretched out.`, "lime");
slave.vagina += 1;
seX(slave, "vaginal", "slaves", "penetrative", 3);
}
}
}
}
SimpleSexAct.Slave(slave, 7);
if (canPenetrate(slave)) {
seX(slave, "penetrative", "slaves", "penetrative", random(3, 6));
}
} else {
el.append(`doing ${his} best to get off and move on. `);
SimpleSexAct.Slave(slave, 7);
if (canPenetrate(slave)) {
seX(slave, "penetrative", "slaves", "penetrative", random(3, 6));
}
}
} else {
el.append(`doing ${his} best to get off and move on. `);
SimpleSexAct.Slave(slave, 7);
if (canPenetrate(slave)) {
seX(slave, "penetrative", "slaves", "penetrative", random(3, 6));
}
}
return el;
};
/**
*
* @param {App.Entity.SlaveState} slave
* @returns {DocumentFragment}
*/
App.EndWeek.Rules.consentDiscoversFetish = function(slave) {
const el = new DocumentFragment();
const {he, him, his} = getPronouns(slave);
if (slave.fetishKnown === 0) {
if (random(1, 2) === 1) {
slave.fetishKnown = 1;
el.append(`However, one of ${his} partners `);
if (slave.fetish === "submissive") {
el.append(`holds ${him} down, and ${he} loves it; `);
App.UI.DOM.appendNewElement("span", el, `${he}'s a submissive!`, "lightcoral");
} else if (slave.fetish === "cumslut") {
el.append(`finally has to push ${him} away to get ${him} to stop sucking; `);
App.UI.DOM.appendNewElement("span", el, `${he}'s a cumslut!`, "lightcoral");
} else if (slave.fetish === "humiliation") {
el.append(`fucks ${him} in public, and ${he} loves it; `);
App.UI.DOM.appendNewElement("span", el, `${he}'s a humiliation fetishist!`, "lightcoral");
} else if (slave.fetish === "buttslut") {
if (slave.anus > 0) {
if (canDoAnal(slave)) {
el.append(`fucks ${his} butt, `);
} else {
el.append(`teases ${his} anus, `);
}
el.append(`and ${he} loves it;`);
} else {
el.append(`teases ${his} virgin anus, and ${he} loves it;`);
}
App.UI.DOM.appendNewElement("span", el, `${he}'s an anal slut!`, "lightcoral");
} else if (slave.fetish === "boobs") {
el.append(`fondles ${his} breasts, and ${he} loves it; `);
App.UI.DOM.appendNewElement("span", el, `${he}'s a boob fetishist!`, "lightcoral");
if (slave.lactation > 0) {
slave.lactationDuration = 2;
slave.boobs -= slave.boobsMilk;
slave.boobsMilk = 0;
} else {
el.append(induceLactation(slave));
}
} else if (slave.fetish === "sadist") {
el.append(`asks ${slave.slaveName} to hit ${him}, which ${slave.slaveName} enjoys doing; `);
App.UI.DOM.appendNewElement("span", el, `${he}'s a sadist!`, "lightcoral");
} else if (slave.fetish === "masochist") {
el.append(`hits ${slave.slaveName} while fucking ${him}, which only makes ${him} hornier; `);
App.UI.DOM.appendNewElement("span", el, `${he}'s a masochist!`, "lightcoral");
} else if (slave.fetish === "dom") {
el.append(`asks ${slave.slaveName} to make them ${slave.slaveName}'s bitch, which ${slave.slaveName} manages like a natural; `);
App.UI.DOM.appendNewElement("span", el, `${he}'s dominant!`, "lightcoral");
} else if (slave.fetish === "pregnancy") {
el.append(`pretends to get ${him} pregnant, which ${he} really enjoys; `);
App.UI.DOM.appendNewElement("span", el, `${he}'s a pregnancy fetishist!`, "lightcoral");
} else if (slave.energy > 95) {
el.append(`discovers that ${he} cannot be satisfied; `);
App.UI.DOM.appendNewElement("span", el, `${he}'s a nympho!`, "lightcoral");
} else {
el.append(`discovers that ${he} isn't terribly exciting; `);
App.UI.DOM.appendNewElement("span", el, `${he}'s got a normal sexuality.`, "lightcoral");
}
}
}
return el;
};
/**
*
* @param {App.Entity.SlaveState} slave
* @returns {DocumentFragment}
*/
App.EndWeek.Rules.rapeDiscoversFetish = function(slave) {
const el = new DocumentFragment();
const {he, him, his} = getPronouns(slave);
if (slave.fetishKnown === 0) {
if (random(1, 2) === 1) {
slave.fetishKnown = 1;
el.append(`You discover that ${he} really likes it when the other slaves `);
if (slave.fetish === "submissive") {
el.append(`hold ${him} down and fuck ${him}; `);
App.UI.DOM.appendNewElement("span", el, `${he}'s a submissive!`, "lightcoral");
} else if (slave.fetish === "cumslut") {
el.append(`cum in ${his} mouth; `);
App.UI.DOM.appendNewElement("span", el, `${he}'s a cumslut!`, "lightcoral");
} else if (slave.fetish === "humiliation") {
el.append(`use ${him} in public; `);
App.UI.DOM.appendNewElement("span", el, `${he}'s a humiliation fetishist!`, "lightcoral");
} else if (slave.fetish === "buttslut") {
if (slave.anus > 0) {
if (canDoAnal(slave)) {
el.append(`fuck ${his} butt `);
} else {
el.append(`tease ${his} anus `);
}
} else {
el.append(`tease ${his} virgin anus;`);
}
App.UI.DOM.appendNewElement("span", el, `${he}'s an anal slut!`, "lightcoral");
} else if (slave.fetish === "boobs") {
el.append(`fondle ${his} breasts; `);
App.UI.DOM.appendNewElement("span", el, `${he}'s a boob fetishist!`, "lightcoral");
if (slave.lactation > 0) {
slave.lactationDuration = 2;
slave.boobs -= slave.boobsMilk;
slave.boobsMilk = 0;
} else {
el.append(induceLactation(slave));
}
} else if (slave.fetish === "sadist") {
el.append(`let ${him} abuse them; `);
App.UI.DOM.appendNewElement("span", el, `${he}'s a sadist!`, "lightcoral");
} else if (slave.fetish === "masochist") {
el.append(`hurt ${him}; `);
App.UI.DOM.appendNewElement("span", el, `${he}'s a masochist!`, "lightcoral");
} else if (slave.fetish === "dom") {
el.append(`let ${him} dominate them; `);
App.UI.DOM.appendNewElement("span", el, `${he}'s dominant!`, "lightcoral");
} else if (slave.fetish === "pregnancy") {
if (slave.mpreg === 0) {
el.append(`come `);
if (canDoVaginal(slave)) {
el.append(`inside `);
} else {
el.append(`on `);
}
el.append(`${him}; `);
App.UI.DOM.appendNewElement("span", el, `${he}'s a pregnancy fetishist!`, "lightcoral");
} else {
el.append(`come `);
if (canDoAnal(slave)) {
el.append(`inside `);
} else {
el.append(`on `);
}
el.append(`${him}; `);
App.UI.DOM.appendNewElement("span", el, `${he}'s a pregnancy fetishist!`, "lightcoral");
}
} else {
el.append(`fuck ${him}; `);
App.UI.DOM.appendNewElement("span", el, `${he}'s got a normal sexuality.`, "lightcoral");
}
}
}
return el;
};
/**
*
* @param {App.Entity.SlaveState} slave
* @returns {DocumentFragment}
*/
App.EndWeek.Rules.permissiveDrugEffects = function(slave) {
const el = new DocumentFragment();
const {
He, His,
he, him, his
} = getPronouns(slave);
const _who = (slave.rules.release.slaves === 1) ? `other slaves` : `${his} family`;
/* should be the only two choices if we get here */
if (slave.balls > 0) {
if (slave.drugs === "testicle enhancement" || slave.drugs === "intensive testicle enhancement") {
if ((slave.devotion > 20) || (slave.trust < -20)) {
if (slave.hormoneBalance >= 100) {
el.append(`${He} can't seem to get enough cum out of ${his} terribly swollen balls in one orgasm to relieve the pressure: `);
if (slave.dick) {
el.append(`${his} poor soft dick produces slow, anemic ejaculations, no matter how backed up ${he} is. `);
} else {
el.append(`${his} cumhole produces slow, anemic ejaculations, no matter how backed up ${he} is. `);
}
el.append(`${He} is very reliant on ${_who} to help ${him}, which `);
App.UI.DOM.appendNewElement("span", el, `habituates ${him}`, "mediumaquamarine");
el.append(` to slave sex. `);
} else {
el.append(`${His} terribly swollen balls force ${him} to rely on ${_who} for release several times a day, and jetting cum into and onto them `);
App.UI.DOM.appendNewElement("span", el, `habituates ${him}`, "mediumaquamarine");
el.append(` to slave sex. `);
}
slave.trust += 1;
} else {
el.append(`${He} can't seem to get enough cum out of ${his} terribly swollen balls to relieve the pressure and is either unwilling or unable to get help with it, something ${he} `);
App.UI.DOM.appendNewElement("span", el, `blames you for.`, "mediumorchid");
slave.devotion -= 1;
}
} else if (slave.drugs === "hyper testicle enhancement") {
if ((slave.devotion > 20) || (slave.trust < -20) || !canPenetrate(slave)) {
if (slave.hormoneBalance >= 100) {
el.append(`${He} can't seem to get enough cum out of ${his} grotesquely swollen balls in one orgasm to get relieve the pressure: `);
if (slave.dick) {
el.append(`${his} poor soft dick produces slow, anemic ejaculations, no matter how backed up ${he} is. `);
} else {
el.append(`${his} cumhole produces slow, anemic ejaculations, no matter how backed up ${he} is. `);
}
el.append(`${He} is completely dependent on your ${_who} to help ${him}, which `);
App.UI.DOM.appendNewElement("span", el, `habituates ${him}`, "mediumaquamarine");
el.append(` to slave sex. `);
} else {
el.append(`${His} grotesquely swollen balls force ${him} to rely on ${_who} for release throughout times a day, and swelling them with cum `);
App.UI.DOM.appendNewElement("span", el, `habituates ${him}`, "mediumaquamarine");
el.append(` to slave sex, though you have to take precautions so ${he} doesn't knock up your entire stock. `);
}
slave.trust += 1;
} else {
el.append(`${He} can't seem to get enough cum out of ${his} grotesquely swollen balls to relieve the pressure and is either unwilling or unable to get help with it, something ${he} `);
App.UI.DOM.appendNewElement("span", el, `blames you for.`, "mediumorchid");
slave.devotion -= 1;
}
}
}
if (slave.drugs === "super fertility drugs" && canGetPregnant(slave)) {
el.append(`${His} reproductive system is in overdrive leading ${him} to seek out any dicked `);
if (slave.rules.release.slaves === 1) {
el.append(`slaves `);
} else {
el.append(`relatives `);
}
el.append(` ${he} can find several times a day. ${He} `);
App.UI.DOM.appendNewElement("span", el, `desperately longs`, "mediumaquamarine");
el.append(` for the day ${his} efforts fill ${his} womb with child. `);
slave.trust += 1;
}
return el;
};
/**
*
* @param {App.Entity.SlaveState} slave
* @returns {DocumentFragment}
*/
App.EndWeek.Rules.noRelease = function(slave) {
const el = new DocumentFragment();
const {he, him, his} = getPronouns(slave);
if (disobedience(slave) > random(0, 100)) {
el.append(`is forbidden to masturbate or seek sexual release. In ${his} `);
App.UI.DOM.appendNewElement("span", el, `intense frustration`, "mediumorchid");
el.append(` ${he} disobeys and is `);
App.UI.DOM.appendNewElement("span", el, `severely punished`, "gold");
el.append(` for illicit masturbation. `);
slave.devotion -= 2;
slave.trust -= 2;
} else {
el.append(`is forbidden to masturbate or seek sexual release, which `);
App.UI.DOM.appendNewElement("span", el, `highly frustrates`, "mediumorchid");
el.append(` ${him}. `);
slave.devotion -= 2;
}
return el;
};
/**
*
* @param {App.Entity.SlaveState} slave
* @returns {DocumentFragment}
*/
App.EndWeek.Rules.noReleaseDrugEffects = function(slave) {
const el = new DocumentFragment();
const {
He, His,
he, him, his
} = getPronouns(slave);
if (slave.balls > 0) {
if (slave.drugs === "testicle enhancement" || slave.drugs === "intensive testicle enhancement") {
if (slave.hormoneBalance >= 100) {
el.append(`${He} can't seem to get enough cum out of ${his} terribly swollen balls in one orgasm to get relieve the pressure: `);
if (slave.dick) {
el.append(`${his} poor soft dick produces slow, anemic ejaculations, no matter how backed up ${he} is. `);
} else {
el.append(`${his} cumhole produces slow, anemic ejaculations, no matter how backed up ${he} is. `);
}
el.append(`Forbidden to masturbate or seek relief through sex, he `);
App.UI.DOM.appendNewElement("span", el, `can't find relief`, "mediumorchid");
el.append(` and `);
App.UI.DOM.appendNewElement("span", el, `the situation harms ${his} health.`, "red");
slave.devotion -= 2;
} else {
el.append(`${His} terribly swollen balls ache, cultivating a need for sex that `);
App.UI.DOM.appendNewElement("span", el, `${he} can't fulfill`, "mediumorchid");
el.append(` and `);
App.UI.DOM.appendNewElement("span", el, `harming ${his} health.`, "red");
slave.devotion -= 2;
}
healthDamage(slave, 3);
} else if (slave.drugs === "hyper testicle enhancement") {
if (slave.hormoneBalance >= 100) {
el.append(`${He} can't seem to get enough cum out of ${his} grotesquely swollen balls in one orgasm to get relieve the pressure: `);
if (slave.dick) {
el.append(`${his} poor soft dick produces slow, anemic ejaculations, no matter how backed up ${he} is. `);
} else {
el.append(`${his} cumhole produces slow, anemic ejaculations, no matter how backed up ${he} is. `);
}
el.append(`Forbidden to masturbate or seek relief through sex, he `);
App.UI.DOM.appendNewElement("span", el, `can't find relief`, "mediumorchid");
el.append(` and `);
App.UI.DOM.appendNewElement("span", el, `the situation harms ${his} health.`, "red");
slave.devotion -= 4;
} else {
el.append(`${His} grotesquely swollen balls ache, cultivating a need for sex that `);
App.UI.DOM.appendNewElement("span", el, `${he} can't fulfill`, "mediumorchid");
el.append(` and `);
App.UI.DOM.appendNewElement("span", el, `harming ${his} health.`, "red");
slave.devotion -= 4;
}
healthDamage(slave, 6);
}
}
if (slave.drugs === "super fertility drugs" && canGetPregnant(slave)) {
el.append(`${His} reproductive system is in overdrive,`);
if (slave.devotion >= -20) {
el.append(`leaving ${him} `);
App.UI.DOM.appendNewElement("span", el, `completely unfulfilled`, "mediumorchid");
el.append(` since `);
App.UI.DOM.appendNewElement("span", el, `you won't ${(V.PC.dick !== 0) ? `give ${him}` : `let ${him} find`} the dick ${he} needs. `, "gold");
slave.devotion -= 3;
slave.trust -= 2;
} else {
el.append(`leaving ${him} desperate for a thorough seeding `);
App.UI.DOM.appendNewElement("span", el, `that you've forbidden ${him} from having.`, "mediumorchid");
slave.devotion -= 3;
}
}
if (slave.energy > 50) {
el.append(`${His} enforced chastity `);
App.UI.DOM.appendNewElement("span", el, `habituates ${him} to a lack of release.`, "red");
slave.energy -= 2;
}
return el;
};
/**
*
* @param {App.Entity.SlaveState} slave
* @returns {DocumentFragment}
*/
App.EndWeek.Rules.partnerDrugEffects = function(slave) {
const el = new DocumentFragment();
const {He, His,
he, him, his} = getPronouns(slave);
const _sr = getSlave(slave.relationshipTarget);
let his2, him2;
if (_sr) {
({
his2, him2
} = getPronouns(_sr).appendSuffix("2"));
}
if (slave.balls > 0) {
if (slave.drugs === "testicle enhancement" || slave.drugs === "intensive testicle enhancement") {
if (slave.hormoneBalance >= 100) {
el.append(`${He} can't seem to get enough cum out of ${his} terribly swollen balls in one orgasm to relieve the pressure: `);
if (slave.dick) {
el.append(`${his} poor soft dick produces slow, anemic ejaculations, no matter how backed up ${he} is. `);
} else {
el.append(`${his} cumhole produces slow, anemic ejaculations, no matter how backed up ${he} is. `);
}
el.append(`This forces ${him} to find ${his} ${relationshipTerm(slave)} for release many times a day, and ${he} `);
App.UI.DOM.appendNewElement("span", el, `is desperately reliant `, "mediumaquamarine");
el.append(`on ${him2} for relief. `);
slave.trust += 2;
} else {
el.append(`${His} terribly swollen balls force ${him} to find ${his} ${relationshipTerm(slave)} for release several times a day, and ${he} `);
App.UI.DOM.appendNewElement("span", el, `relies`, "mediumaquamarine");
el.append(` on ${him2} for relief. `);
slave.trust += 1;
}
} else if (slave.drugs === "hyper testicle enhancement") {
if (slave.hormoneBalance >= 100) {
el.append(`${He} can't seem to get enough cum out of ${his} grotesquely swollen balls in one orgasm to get relieve the pressure: `);
if (slave.dick) {
el.append(`${his} poor soft dick produces slow, anemic ejaculations, no matter how backed up ${he} is. `);
} else {
el.append(`${his} cumhole produces slow, anemic ejaculations, no matter how backed up ${he} is. `);
}
el.append(`This forces ${him} to find ${his} ${relationshipTerm(slave)} for release many times a day, and ${he} `);
App.UI.DOM.appendNewElement("span", el, `is desperately reliant `, "mediumaquamarine");
el.append(`on ${him2} for relief. `);
slave.trust += 2;
} else {
el.append(`${His} grotesquely swollen balls force ${him} to come to find ${his} ${relationshipTerm(slave)} for release dozens of times a day, and ${he} `);
App.UI.DOM.appendNewElement("span", el, `is desperately reliant `, "mediumaquamarine");
el.append(`on ${him2} for relief. `);
slave.trust += 1;
}
}
}
if (slave.drugs === "super fertility drugs" && canImpreg(slave, _sr)) {
if ((slave.devotion > 20) || (slave.trust < -20)) {
el.append(`${His} reproductive system is in overdrive leading ${him} to come to find ${his} ${relationshipTerm(slave)} for insemination several times a day; ${he} `);
App.UI.DOM.appendNewElement("span", el, `desperately hopes`, "mediumaquamarine");
el.append(` for the day ${his2} seed takes root in ${his} womb. `);
slave.trust += 1;
}
}
return el;
};
/**
* @param {App.Entity.SlaveState} slave
* @returns {string}
*/
App.EndWeek.Rules.speechRules = function(slave) {
let r = '';
const {him, his} = getPronouns(slave);
const yourWill = slave.assignment !== Job.HEADGIRLSUITE ? `your will` : `your Head Girl's will`;
if (slave.devotion <= 20) {
if (slave.voice === 0) {
r = `Living as a mute <span class="devotion inc">molds ${him}</span> to ${yourWill}.`;
slave.devotion += 1;
} else if (slave.lips > 95) {
r = `Being unable to speak through ${his} facepussy <span class="devotion inc">molds ${him}</span> to ${yourWill}.`;
slave.devotion += 1;
} else if (slave.rules.speech === "restrictive") {
r = `Living under enforced silence <span class="devotion inc">molds ${him}</span> to ${yourWill}.`;
slave.devotion += 1;
}
}
return r;
};
/**
* @param {App.Entity.SlaveState} slave
* @returns {string}
*/
App.EndWeek.Rules.consentRules = function(slave) {
/**
* @param {FC.Assignment} assignment
* @returns {{comingDay: string, providedDom: string, providedSadist: string, emptyPlace: string, peers: App.Entity.SlaveState[], manager: App.Entity.SlaveState}}
*/
function getJobText(assignment) {
const job = App.Utils.jobForAssignment(assignment);
const facility = job ? job.facility : null;
// defaults
const obj = {
comingDay: `you bring home more slaves`,
providedDom: `a whole penthouse of whores for ${him} to dominate`,
providedSadist: `a whole penthouse of sluts for ${him} to rape`,
emptyPlace: facility ? facility.name : `${his} workplace`,
peers: facility ? facility.employees() : [],
manager: (facility && facility.manager) ? facility.manager.currentEmployee : null,
};
switch (assignment) {
case Job.BROTHEL:
case Job.MADAM:
return Object.assign(obj, {
comingDay: `you assign more whores to ${V.brothelName}`,
providedDom: `a whole brothel of whores for ${him} to dominate`,
providedSadist: `a whole brothel of whores for ${him} to rape`
});
case Job.TEACHER:
return Object.assign(obj, {
comingDay: `more of your slaves enroll in ${V.schoolroomName}`,
providedDom: `a whole class of students to demonstrate proper submission with`,
providedSadist: `a whole class of students for ${him} to rape lessons into`
});
case Job.SCHOOL:
return Object.assign(obj, {
comingDay: `more of your slaves enroll in ${V.schoolroomName}`,
providedDom: `a whole class of students for ${him} to dominate`,
providedSadist: `a whole class of students for ${him} to rape`
});
case Job.CLUB:
case Job.DJ:
return Object.assign(obj, {
comingDay: `you assign more sluts to ${V.clubName}`,
providedDom: `a whole club of sluts for ${him} to dominate`,
providedSadist: `a whole club of sluts for ${him} to rape`
});
case Job.NURSE:
return Object.assign(obj, {
comingDay: `the day traffic in ${V.clinicName} picks up`
// providedDom and providedSadist are unused; nurse gets visitors, not employees
});
case Job.ATTENDANT:
return Object.assign(obj, {
comingDay: `more vulnerable slaves enter ${V.spaName}`,
providedDom: `all the warm, moist bodies lounging around ${V.spaName}`,
providedSadist: `all the warm, moist bodies lounging around ${V.spaName}`
});
case Job.SPA:
return Object.assign(obj, {
comingDay: S.Attendant ? `more of your slaves join ${him} in the pool` : `you assign more slaves to ${V.spaName}`,
providedDom: `a whole pool of slaves for ${him} to dominate`,
providedSadist: `a whole pool of slaves for ${him} to rape`
});
case Job.MATRON:
return Object.assign(obj, {
comingDay: `more nannies are assigned to help in ${V.nurseryName}`,
providedDom: `all the nannies busily scurrying around ${V.nurseryName}`,
providedSadist: `all the nannies busily scurrying around ${V.nurseryName}`,
});
case Job.NURSERY:
return Object.assign(obj, {
comingDay: `more nannies are assigned to help in ${V.nurseryName}`,
providedDom: `a whole nursery of nannies for ${him} to dominate`,
providedSadist: `a whole nursery of nannies for ${him} to rape`,
});
case Job.STEWARD:
return Object.assign(obj, {
comingDay: `you assign more maids to ${V.servantsQuartersName}`,
providedDom: `so many maids for ${him} to dominate`,
providedSadist: `so many maids for ${him} to rape`,
});
case Job.QUARTER:
case Job.HOUSE:
return Object.assign(obj, {
peers: V.slaves, // ALL THE SLAVES!
emptyPlace: "your penthouse" // always, even for servants' quarter slaves
});
case Job.MILKMAID:
case Job.DAIRY:
return Object.assign(obj, {
comingDay: `you assign more cows to ${V.dairyName}`,
providedDom: `so many cows for ${him} to dominate`,
providedSadist: `so many cows for ${him} to rape`,
});
case Job.FARMER:
case Job.FARMYARD:
return Object.assign(obj, {
comingDay: `you assign more farmhands to ${V.farmyardName}`,
providedDom: `so many farmhands for ${him} to dominate`,
providedSadist: `so many farmhands for ${him} to rape`,
});
default:
return obj;
}
}
let r = [];
const {He, he, him, his, himself} = getPronouns(slave);
const jt = getJobText(slave.assignment);
if (V.universalRulesConsent === 0) {
if (slave.devotion <= 20) {
const jobMolestation = (slave.assignment === Job.QUARTER || slave.assignment === Job.HOUSE) ? ` and given ${his} job` : ``;
if (slave.trust > -10) {
if (jt.peers.length > 2 || jt.manager) {
r.push(`Under the rules${jobMolestation}, ${he} finds ${himself} constantly molested by other slaves, and lives ${his} life constantly <span class="trust dec">afraid.</span>`);
} else {
r.push(`Under the rules${jobMolestation}, ${he} is free game for other slaves to molest, and lives ${his} life constantly <span class="trust dec">afraid</span> of the day ${jt.comingDay}`);
}
slave.trust -= 2;
} else {
if (jt.peers.length > 2 || jt.manager) {
r.push(`Under the rules${jobMolestation}, ${he} finds ${himself} constantly molested by other slaves, but ${he}'s already in such constant terror it doesn't seriously affect ${him}.`);
} else {
r.push(`Under the rules${jobMolestation}, ${he} will someday find ${himself} constantly molested by other slaves, but ${he}'s already in such constant terror it that it doesn't cross ${his} mind.`);
}
}
} else if (slave.rules.release.slaves === 1 || slave.rules.release.family === 1) {
const whom = (slave.rules.release.slaves === 1) ? "other slaves" : `${his} relatives`;
const peerCount = (slave.rules.release.slaves === 1) ? jt.peers.length : jt.peers.filter(s => areRelated(s, slave)).length;
if (peerCount > 2 && (slave.assignment === Job.HOUSE || slave.assignment === Job.QUARTER)) {
// no special requirements for servants...they ALL get the devotion bonus, even if they are frigid and fetishless
r.push(`Under the rules, ${he}'s allowed to demand that ${whom} get ${him} off, but only when ${he}'s finished ${his} shift. ${He} still <span class="devotion inc">adores</span> having the option.`);
slave.devotion += 1;
} else if (slave.energy > 95) {
r.push(`Under the rules, ${he}'s allowed to demand that ${whom} get ${him} off, and ${he}`);
if (peerCount > 2) {
if (slave.assignment === Job.NURSE) { // nurse gets visitors, not employees
r.push(`<span class="devotion inc">happily avails</span> ${himself} to any slaves visiting the patients under ${his} care.`);
} else {
r.push(`<span class="devotion inc">adores</span> you for giving ${him} plentiful outlets for ${his} nymphomania.`);
}
} else {
r.push(`<span class="devotion inc">eagerly awaits</span> the day ${jt.comingDay}.`);
}
slave.devotion += 1;
} else if ((slave.fetishKnown === 1) && (slave.fetishStrength > 60)) {
if (slave.fetish === "sadist") {
r.push(`Under the rules, ${he}'s allowed to sexually abuse ${whom}, and ${he}`);
if (peerCount > 2) {
if (slave.assignment === Job.NURSE) { // nurse gets visitors, not employees
r.push(`<span class="devotion inc">happily rapes</span> any slaves visiting the patients under ${his} care.`);
} else {
r.push(`<span class="devotion inc">adores</span> you for providing ${jt.providedSadist}.`);
}
} else {
r.push(`<span class="devotion inc">eagerly awaits</span> the day ${jt.comingDay}.`);
}
slave.devotion += 1;
} else if (slave.fetish === "dom") {
r.push(`Under the rules, ${he}'s allowed to force ${whom} to have sex with ${him}, and ${he}`);
if (peerCount > 2) {
if (slave.assignment === Job.NURSE) { // nurse gets visitors, not employees
r.push(`<span class="devotion inc">happily dominates</span> any slaves visiting the patients under ${his} care.`);
} else {
r.push(`<span class="devotion inc">adores</span> you for providing ${jt.providedDom}.`);
}
} else {
r.push(`<span class="devotion inc">eagerly awaits</span> the day ${jt.comingDay}.`);
}
slave.devotion += 1;
}
}
}
} else if ((slave.devotion <= 20) && (slave.devotion >= -20)) {
// all slave managers have a devotion requirement which will skip this branch entirely
r.push(`Since ${he}'s low in the slave hierarchy, <span class="trust inc">${he} knows</span> that the rule that slaves must get consent before having sex with ${him} is all that protects ${him} from abuse.`);
if (jt.peers.length < 2) {
if (slave.assignment === Job.SPA) {
if (jt.manager) {
r.push(`Well, that and the fact ${jt.emptyPlace} is mostly frequented by other slaveowners' stock.`);
} else {
r.push(`Well, that and the fact ${jt.emptyPlace} is ${his} little private sanctuary`);
}
} else if (!jt.manager) {
r.push(`Well, that and the fact ${jt.emptyPlace} is rather empty.`);
}
}
slave.trust += 1;
}
return r.join(' ');
};
|
MonsterMate/fc
|
src/endWeek/saRulesFunctions.js
|
JavaScript
|
mit
| 70,284
|
App.SlaveAssignment.servant = (function() {
"use strict";
let r;
// eslint-disable-next-line no-unused-vars
let he, him, his, hers, himself, girl, loli, He, His, wife;
let cash;
let oralUse;
let stewardessBonus;
return saServant;
/**
* @param {App.Entity.SlaveState} slave
* @param {number} [bonus=0] - bonus from facility leader effects
* @returns {string}
*/
function saServant(slave, bonus=0) {
r = [];
stewardessBonus = bonus;
({
// eslint-disable-next-line no-unused-vars
he, him, his, hers, himself, girl, He, His, loli, wife
} = getPronouns(slave));
cash = 0;
oralUse = jsRandom(5, 10);
if (V.policies.gumjobFetishism === 1) {
if (slave.teeth !== "removable") {
oralUse = Math.trunc(oralUse / 2);
} else {
oralUse = Math.trunc(oralUse * 1.5);
}
}
jobPreface(slave);
if (V.servantsQuarters > 0) {
if ((V.universalRulesFacilityWork === 1 && slave.assignment === window.Job.HOUSE && V.servantsQuartersSpots > 0) || (slave.assignment === window.Job.QUARTER)) {
facilityEffects(slave);
}
}
jobReaction(slave);
jobEffects(slave);
physicalEffects(slave);
if (V.showVignettes === 1 && (slave.assignment === window.Job.QUARTER || slave.assignment === window.Job.HOUSE)) {
assignmentVignette(slave);
}
return r.join(" ");
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function jobPreface(slave) {
r.push(`works as a servant. ${He} performs the lowest jobs in your penthouse, cleaning up after your other slaves, bathing them, helping them dress, and giving them sexual relief.`);
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function facilityEffects(slave) {
if (slave.assignment === window.Job.HOUSE) {
r.push(`Since there's extra space in the servants' quarters, ${V.assistant.name} attaches ${him} to the cadre of maids there.`);
V.servantsQuartersSpots--;
}
if (S.Stewardess) {
r.push(`This brings ${him} under ${S.Stewardess.slaveName}'s supervision. The Stewardess`);
if (slave.devotion < -20) {
r.push(`subjects ${him} to <span class="trust dec">corrective rape</span> when ${his} service is imperfect, <span class="devotion inc">when ${he} steps out of line,</span> or when the Stewardess just feels like raping ${him}, forcing the poor slave to <span class="yellowgreen">find refuge in work.</span>`);
slave.devotion += 2;
slave.trust -= 2;
} else if (slave.devotion <= 20) {
r.push(`molests ${him}, encouraging the poor slave to <span class="devotion inc">keep ${his} head down</span> and <span class="cash inc">work harder.</span>`);
slave.devotion += 2;
} else {
r.push(`uses <span class="devotion inc">sex as a reward,</span> getting ${him} off when ${he} <span class="cash inc">works harder.</span>`);
slave.devotion++;
}
// Portion that calculates upkeep reduction, we call it income
if (!(canHear(slave))) {
r.push(`However, ${his} inability to hear often leaves ${him} oblivious to ${S.Stewardess.slaveName}'s orders, limiting their meaningful interactions.`);
cash = stewardessBonus / 4 * healthPenalty(slave);
} else if ((slave.hears === -1 && slave.earwear !== "hearing aids") || (slave.hears === 0 && slave.earwear === "muffling ear plugs")) {
r.push(`However, ${he} often doesn't catch what ${S.Stewardess.slaveName} says, leading to frustration, confusion and less work done.`);
cash = stewardessBonus / 2 * healthPenalty(slave);
} else {
cash = stewardessBonus * healthPenalty(slave);
}
if (slave.assignment === window.Job.HOUSE) {
cashX(cash, "slaveAssignmentHouse", slave);
} else if (slave.assignment === window.Job.QUARTER) {
cashX(cash, "slaveAssignmentQuarter", slave);
} else {
cashX(cash, "serving income in an unregistered building", slave);
}
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function jobReaction(slave) {
r.push(`${He} is`);
if (slave.trust < -20) {
r.push(`frightened of punishment and works very hard, <span class="cash inc">reducing the upkeep</span> of your slaves.`);
} else if (slave.devotion < -20) {
if (slave.trust >= 20) {
r.push(`uninterested in doing such work and barely lifts a finger to <span class="cash inc">reduce the upkeep</span> of your slaves.`);
} else {
r.push(`reluctant, requiring your other slaves to force ${his} services, and does not <span class="cash inc">reduce upkeep</span> of your slaves much.`);
}
} else if (slave.devotion <= 20) {
r.push(`hesitant, requiring your other slaves to demand ${his} services, and only slightly <span class="cash inc">reduces upkeep</span> of your slaves.`);
} else if (slave.devotion <= 50) {
r.push(`obedient, offering your other slaves ${his} services, and moderately <span class="cash inc">reduces the upkeep</span> of your slaves.`);
} else if (slave.devotion <= 95) {
r.push(`devoted, happily giving your other slaves ${his} services, and <span class="cash inc">reduces the upkeep</span> of your slaves.`);
} else {
r.push(`so happy to serve your other slaves that ${he} often sees to their needs before they know they have them, and greatly <span class="cash inc">reduces the upkeep</span> of your slaves.`);
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function jobEffects(slave) {
// TODO: this flat unchecked oral sex is a bit problematic
// who is she serving and why aren't they benefiting?
// is the current number of servants correct to accomplish this task?
// why can't the player prevent this on-assignment sex while still getting the other benefits of having a servant?
oralUse = Math.ceil(oralUse * restEffects(slave, 11));
actX(slave, "oral", oralUse);
if (slave.relationship === -2) {
r.push(`${He} does ${his} best to perfect your domesticity due to ${his} emotional bond to you.`);
} else if (slave.relationship === -3 && slave.devotion > 50) {
r.push(`${He} does ${his} very best to be the perfect house${wife}, making ${him} an outstanding servant.`);
}
if (setup.servantCareers.includes(slave.career)) {
r.push(`${He} has experience with house keeping from ${his} life before ${he} was a slave, making ${him} more effective.`);
} else if (slave.skill.servant >= V.masteredXP) {
r.push(`${He} has experience with house keeping from working for you, making ${him} more effective.`);
} else {
slave.skill.servant += jsRandom(1, Math.ceil((slave.intelligence + slave.intelligenceImplant) / 15) + 8);
}
if (slave.fetishStrength > 60) {
if (slave.fetish === "submissive" && slave.fetishKnown === 1) {
r.push(`${His} natural affinity for submission increases ${his} effectiveness.`);
} else if (slave.fetishKnown === 1 && slave.fetish === "dom") {
r.push(`${His} sexual appetite for domination reduces ${his} effectiveness.`);
}
}
if (slave.energy < 20) {
r.push(`${His} frigidity allows ${him} to ignore the intercourse all around ${him}, making ${him} very efficient.`);
} else if (slave.energy < 40) {
r.push(`${His} low sex drive keeps ${him} from becoming too distracted by the intercourse all around ${him}, making ${him} more efficient.`);
}
if (!canSeePerfectly(slave)) {
r.push(`${His} bad vision makes ${him} a worse servant.`);
}
if (slave.lactation > 0) {
r.push(`Since ${he} is lactating,`);
if (slave.devotion > 20 || slave.trust < -20) {
r.push(`${he} serves`);
} else {
r.push(`and disobedient, ${he} is restrained to serve`);
}
r.push(`as a drink dispenser at mealtimes, and makes a meaningful contribution to ${his} fellow slaves' nutrition in concert with the feeding systems.`);
slave.lactationDuration = 2;
if (slave.boobsMilk > 0) {
slave.boobs -= slave.boobsMilk;
slave.boobsMilk = 0;
}
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function physicalEffects(slave) {
if (slave.health.illness > 0 || slave.health.tired > 60) {
r.push(`${He} is<span class="red">`);
if (slave.health.tired > 60) {
if (slave.health.illness === 1) {
r.push(`feeling under the weather and`);
} else if (slave.health.illness === 2) {
r.push(`somewhat ill and`);
} else if (slave.health.illness === 3) {
r.push(`sick and`);
} else if (slave.health.illness === 4) {
r.push(`very sick and`);
} else if (slave.health.illness === 5) {
r.push(`terribly ill and`);
}
} else {
if (slave.health.illness === 1) {
r.push(`feeling under the weather,`);
} else if (slave.health.illness === 2) {
r.push(`somewhat ill,`);
} else if (slave.health.illness === 3) {
r.push(`sick,`);
} else if (slave.health.illness === 4) {
r.push(`very sick,`);
} else if (slave.health.illness === 5) {
r.push(`terribly ill,`);
}
}
if (slave.health.tired > 90) {
r.push(`exhausted,`);
} else if (slave.health.tired > 60) {
r.push(`fatigued,`);
}
r.push(`</span> limiting ${his} effectiveness.`);
}
if (slave.assignment === window.Job.QUARTER) {
if (slaveResting(slave)) {
r.push(`${He} is assigned easy tasks <span class="green">so ${he} may rest</span> while still being productive.`);
} else if (slave.health.tired + 11 >= 90 && !willWorkToDeath(slave)) {
r.push(`${He} attempts to refuse to work due to ${his} exhaustion, but can do little to avoid it or the resulting`);
if (S.Stewardess) {
r.push(`<span class="trust dec">severe punishment</span> by ${S.Stewardess.slaveName}. ${His} slacking is kept in check by your watchful Stewardess keeping ${him} on task, but by the end of ${his} shift, <span class="devotion dec">${his} thoughts are made clear in the poor job ${he} did.</span>`);
} else {
r.push(`<span class="trust dec">severe punishment.</span> ${He} <span class="devotion dec">accomplishes little,</span> having chosen ${his} overall well-being over the consequences.`);
}
slave.devotion -= 10;
slave.trust -= 5;
} else {
r.push(`${His} days are long, but not overly exhausting;`);
if (slave.devotion > 20) {
r.push(`there's plenty of opportunities for ${him} to relax, be it drifting into a meditative trance while cleaning or even just taking a seat while folding sheets.`);
} else {
r.push(`<span class="red">${he}'d find ${himself} less tired</span> if ${he} simply could only learn to lose ${himself} in ${his} work.`);
}
}
tired(slave);
} else if (slave.assignment === window.Job.HOUSE) {
if (slaveResting(slave)) {
r.push(`${He} is assigned easy tasks <span class="green">so ${he} may rest</span> while still being productive.`);
} else if (slave.health.tired + 11 >= 90 && !willWorkToDeath(slave)) {
r.push(`${He} attempts to refuse to work due to ${his} exhaustion, but can do little to avoid it or the resulting`);
if (V.servantsQuarters > 0 && V.universalRulesFacilityWork === 1 && V.servantsQuartersSpots > 0 && S.Stewardess) {
r.push(`<span class="trust dec">severe punishment</span> by ${S.Stewardess.slaveName}. ${His} slacking is kept in check by your watchful Stewardess keeping ${him} on task, but by the end of ${his} shift, <span class="devotion dec">${his} thoughts are made clear in the poor job ${he} did.</span>`);
} else {
r.push(`<span class="trust dec">severe punishment.</span> ${He} <span class="devotion dec">accomplishes little,</span> having chosen ${his} overall well-being over the consequences.`);
}
slave.devotion -= 10;
slave.trust -= 5;
} else {
r.push(`${His} days are long, but not overly exhausting;`);
if (slave.devotion > 20) {
r.push(`there's plenty of opportunities for ${him} to relax, be it drifting into a meditative trance while cleaning or even just taking a seat while folding sheets.`);
} else {
r.push(`<span class="red">${he}'d find ${himself} less tired</span> if ${he} simply could only learn to lose ${himself} in ${his} work.`);
}
}
tired(slave);
}
}
/**
* @param {App.Entity.SlaveState} slave
*/
function assignmentVignette(slave) {
const vignette = GetVignette(slave);
r.push(`<span class="story-label">This week</span> ${vignette.text}`);
if (vignette.type === "cash") {
let modifier = FResult(slave);
const cashVign = Math.trunc(modifier * vignette.effect);
if (vignette.effect > 0) {
r.push(`<span class="cash inc">making you an extra ${cashFormat(cashVign)}.</span>`);
} else if (vignette.effect < 0) {
r.push(`<span class="cash dec">losing you ${cashFormat(Math.abs(cashVign))}.</span>`);
} else {
r.push(`an incident without lasting effect.`);
}
if (slave.assignment === window.Job.HOUSE) {
if (vignette.effect > 0) {
cashX(cashVign, "slaveAssignmentHouseVign", slave);
} else if (vignette.effect < 0) {
cashX(forceNeg(cashVign), "slaveAssignmentHouseVign", slave);
}
} else if (slave.assignment === window.Job.QUARTER) {
if (vignette.effect > 0) {
cashX(cashVign, "slaveAssignmentQuarterVign", slave);
} else if (vignette.effect < 0) {
cashX(forceNeg(cashVign), "slaveAssignmentQuarterVign", slave);
}
} else {
if (vignette.effect > 0) {
cashX(cashVign, "vignette serving income in an unregistered building", slave);
} else if (vignette.effect < 0) {
cashX(forceNeg(cashVign), "vignette serving expense in an unregistered building", slave);
}
}
} else if (vignette.type === "devotion") {
if (vignette.effect > 0) {
if (slave.devotion > 50) {
r.push(`<span class="devotion inc">increasing ${his} devotion to you.</span>`);
} else if (slave.devotion >= -20) {
r.push(`<span class="devotion inc">increasing ${his} acceptance of you.</span>`);
} else if (slave.devotion > -10) {
r.push(`<span class="devotion inc">reducing ${his} dislike of you.</span>`);
} else {
r.push(`<span class="devotion inc">reducing ${his} hatred of you.</span>`);
}
} else if (vignette.effect < 0) {
if (slave.devotion > 50) {
r.push(`<span class="devotion dec">reducing ${his} devotion to you.</span>`);
} else if (slave.devotion >= -20) {
r.push(`<span class="devotion dec">reducing ${his} acceptance of you.</span>`);
} else if (slave.devotion > -10) {
r.push(`<span class="devotion dec">increasing ${his} dislike of you.</span>`);
} else {
r.push(`<span class="devotion dec">increasing ${his} hatred of you.</span>`);
}
} else {
r.push(`an incident without lasting effect.`);
}
slave.devotion += (1 * vignette.effect);
} else if (vignette.type === "trust") {
if (vignette.effect > 0) {
if (slave.trust > 20) {
r.push(`<span class="trust inc">increasing ${his} trust in you.</span>`);
} else if (slave.trust > -10) {
r.push(`<span class="trust inc">reducing ${his} fear of you.</span>`);
} else {
r.push(`<span class="trust inc">reducing ${his} terror of you.</span>`);
}
} else if (vignette.effect < 0) {
if (slave.trust > 20) {
r.push(`<span class="trust dec">reducing ${his} trust in you.</span>`);
} else if (slave.trust >= -20) {
r.push(`<span class="trust dec">increasing ${his} fear of you.</span>`);
} else {
r.push(`<span class="trust dec">increasing ${his} terror of you.</span>`);
}
} else {
r.push(`an incident without lasting effect.`);
}
slave.trust += (1 * vignette.effect);
} else if (vignette.type === "health") {
if (vignette.effect > 0) {
r.push(`<span class="health inc">improving ${his} health.</span>`);
} else if (vignette.effect < 0) {
r.push(`<span class="health dec">affecting ${his} health.</span>`);
} else {
r.push(`an incident without lasting effect.`);
}
improveCondition(slave, 2 * vignette.effect);
} else {
let modifier = FResult(slave);
if (vignette.effect > 0) {
r.push(`<span class="reputation inc">gaining you a bit of reputation.</span>`);
} else if (vignette.effect < 0) {
r.push(`<span class="reputation dec">losing you a bit of reputation.</span>`);
} else {
r.push(`an incident without lasting effect.`);
}
repX((modifier * vignette.effect * 0.1), "vignette", slave);
}
}
})();
|
MonsterMate/fc
|
src/endWeek/saServant.js
|
JavaScript
|
mit
| 16,216
|
App.SlaveAssignment.serveThePublic = (function() {
"use strict";
let incomeStats;
let r;
let arcology;
let cervixPump;
let he, him, his, hers, himself, girl, loli, He, His;
// if the following are set outside this file, they must be set in it too!
let oralUse;
let analUse;
let vaginalUse;
let mammaryUse;
let penetrativeUse;
return saServeThePublic;
/**
* @param {App.Entity.SlaveState} slave
* @returns {string}
*/
function saServeThePublic(slave) {
arcology = V.arcologies[0];
r = ` `;
({
// eslint-disable-next-line no-unused-vars
he, him, his, hers, himself, girl, He, His, loli
} = getPronouns(slave));
gatherStatistics(slave);
if (slave.assignment === Job.CLUB) {
// By being at the end, every slave after the first will get a bonus. By moving it up, the first can enjoy it too. slaveJobValues() checks Edo Revivalist, so here we are.
applyFSDecoration(slave);
}
addRep(slave);
sexCounts(slave);
jobPreface(slave);
bonusMultiplierText(slave);
usageCountDescriptions(slave);
if (V.seeAge === 1) {
comingOfAge(slave);
}
mentalEffects(slave);
physicalEffects(slave);
slaveSkills(slave);
if (V.showEWM === 1) {
publicReactions(slave);
}
if (slave.sexualFlaw === "none") {
addFlaw(slave);
}
sexualSatiation(slave);
if (V.showVignettes === 1) {
assignmentVignette(slave);
}
return r;
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function gatherStatistics(slave) {
/* Statistics gathering */
const facility = (slave.assignment === Job.CLUB || slave.assignment === Job.DJ) ? V.facility.club : undefined;
incomeStats = getSlaveStatisticData(slave, facility);
incomeStats.customers = slave.sexAmount;
V.publicServants++;
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function jobPreface(slave) {
if (slave.devotion > 95 || slave.energy > 95) {
r += `enthusiastically serves`;
} else if (slave.devotion > 50) {
r += `willingly serves`;
} else if (slave.devotion > 20) {
r += `obediently serves`;
} else if (slave.trust < -20) {
r += `reluctantly serves`;
} else {
r += `is forced to serve`;
}
r += ` the public.`;
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function bonusMultiplierText(slave) {
if (V.club > 0) {
if ((V.universalRulesFacilityWork === 1 && slave.assignment === Job.PUBLIC && V.clubSpots > 0) || (slave.assignment === Job.CLUB)) {
if (slave.assignment === Job.PUBLIC) {
r += ` Since there's extra space in ${V.clubName}, ${he}'s promiscuous there.`;
}
// ads
if (V.clubAdsSpending !== 0) {
const adCats = App.Ads.Categories; // for brevity
if (V.clubAdsStacked === 1 && adCats.assetSize.classifySlave(slave) === 1) {
r += ` ${His} stacked body fits ${V.clubName}'s ad campaign, getting ${him} more attention.`;
} else if (V.clubAdsStacked === -1 && adCats.assetSize.classifySlave(slave) === -1) {
r += ` ${His} slim body fits ${V.clubName}'s ad campaign, getting ${him} more attention.`;
}
if (V.clubAdsPreg === 1 && adCats.preg.classifySlave(slave) === 1) {
r += ` ${His} gravid body fits ${V.clubName}'s ad campaign, getting ${him} more attention.`;
} else if (V.clubAdsPreg === -1 && adCats.preg.classifySlave(slave) === -1) {
r += ` ${His} flat belly fits ${V.clubName}'s ad campaign, getting ${him} more attention.`;
}
if (V.clubAdsModded === 1 && adCats.mods.classifySlave(slave) === 1) {
r += ` Body art like ${hers} is a major draw.`;
} else if (V.clubAdsModded === -1 && adCats.mods.classifySlave(slave) === -1) {
r += ` Very clean bodies like ${hers} are a major draw.`;
}
if (V.clubAdsImplanted === 1 && adCats.assetOrigin.classifySlave(slave) === 1) {
r += ` Many citizens come to ${V.clubName} looking to fuck a plastic slut like ${him}.`;
} else if (V.clubAdsImplanted === -1 && adCats.assetOrigin.classifySlave(slave) === -1) {
r += ` Many citizens come to ${V.clubName} looking to get with a natural ${girl} like ${him}.`;
}
if (V.clubAdsOld === 1 && adCats.age.classifySlave(slave) === 1) {
r += ` ${He}'s perfect for ${V.clubName}, which practically exists to match citizens up with mature slaves.`;
} else if (V.clubAdsOld === -1 && adCats.age.classifySlave(slave) === -1) {
r += ` ${He}'s perfect for ${V.clubName}, which practically exists to match citizens up with young slaves.`;
} else if (V.clubAdsOld === -2 && adCats.age.classifySlave(slave) === -2) {
r += ` ${He}'s perfect for ${V.clubName}, which practically exists to match citizens up with teenage slaves.`;
} else if (V.clubAdsOld === -3 && adCats.age.classifySlave(slave) === -3) {
r += ` ${He}'s perfect for ${V.clubName}, which practically exists to match citizens up with ${loli} slaves.`;
}
if (V.clubAdsXX === 1 && adCats.genitalia.classifySlave(slave) === 1) {
r += ` Almost everyone who comes to ${V.clubName} is looking to fuck a ${girl} like ${him}.`;
} else if (V.clubAdsXX === -1 && adCats.genitalia.classifySlave(slave) === -1) {
r += ` Almost everyone who comes to ${V.clubName} is looking to poke a ${girl} who cums when buttfucked.`;
}
}
if ((slave.hears === -1 && slave.earwear !== "hearing aids") || (slave.hears === 0 && slave.earwear === "muffling ear plugs") || (slave.hears === -2)) {
r += ` ${His} inability to move to the rhythm of the music is very off putting to those looking to party.`;
}
if (S.DJ) {
const DJpronouns = getPronouns(S.DJ);
if (DJRepBonus() > 0) {
if (slave.assignment === Job.PUBLIC) {
r += ` Working`;
} else {
r += ` Living and working`;
}
r += ` out of the club, ${he} comes under ${SlaveFullName(S.DJ)}'s `;
if (DJRepBonus() < 0.1) {
r += `completely inept`;
} else if (DJRepBonus() < 0.2) {
r += `unskilled`;
} else if (DJRepBonus() < 0.3) {
r += `skillful`;
} else {
r += `masterful`;
}
r += ` leadership.`;
if (S.DJ.face > 40 && (S.DJ.intelligence + S.DJ.intelligenceImplant > 50)) {
if (slave.devotion > 20) {
r += ` The DJ is such a gorgeous diva that ${he}'s swept along by ${DJpronouns.possessive} charisma, and does ${his} best to be a worthy part of ${DJpronouns.possessive} entourage.`;
}
}
if (V.DJignoresFlaws !== 1) {
if (!["abusive", "anal addict", "attention whore", "breast growth", "breeder", "cum addict", "malicious", "neglectful", "none", "self hating"].includes(slave.sexualFlaw) && jsRandom(1, 100) > 90) {
r += ` ${SlaveFullName(S.DJ)} manages to <span class="flaw break">break</span> ${slave.slaveName} of ${his} sexual flaws.`;
slave.sexualFlaw = "none";
} else if (slave.behavioralFlaw !== "none" && jsRandom(1, 100) > 90) {
r += ` ${SlaveFullName(S.DJ)} manages to <span class="flaw break">break</span> ${slave.slaveName} of ${his} flaws.`;
slave.behavioralFlaw = "none";
}
}
}
}
}
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function usageCountDescriptions(slave) {
r += ` ${His} appearance attracted ${slave.sexAmount} members of the public (${Math.trunc(slave.sexAmount / 7)} a day)`;
if (slave.sexAmount > 160) {
r += `, so many that `;
if (canDoVaginal(slave) && canDoAnal(slave)) {
r += `each of ${his} holes was`;
} else if (canDoVaginal(slave) || canDoAnal(slave)) {
r += `each of ${his} available holes was`;
} else {
r += `${his} mouth and anywhere else a dick could fit was`;
}
r += ` often filled by more than one cock`;
} else if (slave.sexAmount > 140) {
r += `, so many that ${he} spent much of ${his} time getting gangbanged`;
} else if (slave.sexAmount > 120) {
r += `, so many that citizens often `;
if (canDoAnal(slave) || canDoVaginal(slave)) {
r += `spitroasted`;
} else {
r += `double-teamed`;
}
r += ` the slut`;
} else if (slave.sexAmount > 100) {
r += `, so many that ${he} frequently had sex with multiple citizens at once`;
} else if (slave.sexAmount > 70) {
r += `, so many that ${he} occasionally had sex with multiple citizens at once`;
}
r += `. Most of them `;
if (slave.sexQuality > 15) {
r += `were putty in ${his} hand`;
if (hasBothArms(slave) || !hasAnyArms(slave)) {
r += `s`;
if (!hasAnyArms(slave)) {
r += `, so to speak`;
}
}
r += `.`;
} else if (slave.sexQuality > 10) {
r += `greatly enjoyed ${his} services.`;
} else if (slave.sexQuality > 5) {
r += `enjoyed ${his} body.`;
} else {
r += `liked using ${him}.`;
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function comingOfAge(slave) {
if (slave.physicalAge === V.minimumSlaveAge && slave.physicalAge === V.fertilityAge && canGetPregnant(slave) && (arcology.FSRepopulationFocus !== "unset" || arcology.FSGenderFundamentalist !== "unset") && arcology.FSRestart === "unset") {
if (slave.birthWeek === 0) {
r += ` ${He} just turned ${V.minimumSlaveAge} this week, giving ${him} an immense boost to both popularity and appeal. ${He} is also expected to become fertile soon, giving ${him} an additional boost as citizens clamor to claim ${his} fresh womb.`;
} else if (slave.birthWeek < 4) {
r += ` This is still the first month in which it's legal to pay to fuck ${him}, giving ${him} a boost to both popularity and appeal. ${He} was also anticipated to become fertile this month, and ${his} womb is still unoccupied, giving ${him} an additional boost.`;
}
} else if (slave.physicalAge === V.minimumSlaveAge) {
if (slave.birthWeek === 0) {
r += ` ${He} just turned ${V.minimumSlaveAge} this week, giving ${him} an immense boost to both popularity and appeal.`;
} else if (slave.birthWeek < 4) {
r += ` This is still the first month in which it's legal to pay to fuck ${him}, giving ${him} a boost to both popularity and appeal.`;
}
} else if (slave.physicalAge === V.fertilityAge && canGetPregnant(slave) && (arcology.FSRepopulationFocus !== "unset" || arcology.FSGenderFundamentalist !== "unset")) {
if (slave.birthWeek === 0) {
r += ` ${He} is expected to become fertile soon, giving ${him} an immense boost to both popularity and appeal as citizens clamor to claim ${his} fresh womb.`;
} else if (slave.birthWeek < 4) {
r += ` This is still the first month in which ${he} was anticipated to become fertile, and ${his} womb is still unoccupied, giving ${him} a boost to both popularity and appeal.`;
}
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function mentalEffects(slave) {
if (slave.behavioralQuirk === "advocate") {
r += ` ${slave.slaveName} <span class="devotion inc">really enjoys</span> being able to share ${his} convert's enthusiasm about slavery with new people.`;
slave.devotion += 1;
} else if (slave.behavioralQuirk === "funny") {
r += ` ${slave.slaveName} <span class="devotion inc">really enjoys</span> making so many people laugh.`;
slave.devotion += 1;
}
if (slave.sexualQuirk === "tease") {
r += ` ${slave.slaveName} <span class="trust inc">trusts your judgment</span> in assigning ${him} a job that affords ${him} a chance to tease and flirt.`;
slave.trust += 1;
}
if (slave.assignment === Job.CLUB && slave.devotion > 50) {
r += ` Being so far from your presence <span class="mediumorchid">weakens ${his} intense devotion to you.</span>`;
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function physicalEffects(slave) {
if (slave.health.illness > 0 || slave.health.tired > 60) {
r += ` ${He} is<span class="red">`;
if (slave.health.illness === 1) {
r += ` feeling under the weather`;
} else if (slave.health.illness === 2) {
r += ` somewhat ill`;
} else if (slave.health.illness === 3) {
r += ` sick`;
} else if (slave.health.illness === 4) {
r += ` very sick`;
} else if (slave.health.illness === 5) {
r += ` terribly ill`;
}
if (slave.health.illness > 0 && slave.health.tired > 60) {
r += ` and`;
}
if (slave.health.tired > 90) {
r += ` exhausted`;
} else if (slave.health.tired > 60) {
r += ` fatigued`;
}
r += `,</span> hindering ${his} ability to attract and please citizens.`;
}
if (slave.assignment === Job.CLUB) {
if (slaveResting(slave)) {
r += ` ${He} spends reduced hours working the floor in ${V.clubName} in order to <span class="green">offset ${his} lack of rest.</span>`;
} else if (slave.health.tired + 15 >= 90 && !willWorkToDeath(slave)) {
r += ` ${He} attempts to turn down citizens due to ${his} exhaustion, but can do little to stop it or the resulting `;
if (S.DJ) {
r += `<span class="trust dec">severe punishment</span> by ${S.DJ.slaveName}. ${His} <span class="devotion dec">reluctance</span> is worked around by your watchful DJ, preventing citizens from ever realizing ${his} intent.`;
} else {
r += `<span class="trust dec">severe punishment.</span> ${He} <span class="devotion dec">purposefully underperforms,</span> choosing ${his} overall well-being over the consequences, <span class="reputation dec">aggravating citizens and damaging the establishment's image.</span>`;
repX(forceNeg(50), "disobedience", slave);
}
slave.devotion -= 10;
slave.trust -= 5;
} else {
r += ` It gets tiring `;
if (hasBothLegs(slave)) {
r += `dancing and fucking all day, `;
} else {
r += `being a popular slut, `;
}
r += `so ${he} ends ${his} shifts <span class="red">eager for sleep.</span>`;
}
tired(slave);
} else if (slave.assignment === Job.PUBLIC) {
if (slaveResting(slave)) {
r += ` ${He} spends reduced hours serving in order to <span class="green">offset ${his} lack of rest.</span>`;
} else if (slave.health.tired + 15 >= 90 && !willWorkToDeath(slave)) {
r += ` ${He} attempts to turn down citizens due to ${his} exhaustion, but can do little to avoid it or the resulting `;
if (V.club > 0 && V.universalRulesFacilityWork === 1 && V.clubSpots > 0 && S.DJ) {
r += `<span class="trust dec">severe punishment</span> by ${S.DJ.slaveName}. ${His} <span class="devotion dec">reluctance</span> is worked around by your watchful DJ, preventing citizens from ever realizing ${his} intent.`;
} else {
r += `<span class="trust dec">severe punishment.</span> ${He} <span class="devotion dec">purposefully underperforms,</span> choosing ${his} overall well-being over the consequences, <span class="reputation dec">causing a scene and damaging the image of your public servants.</span>`;
repX(forceNeg(100), "disobedience", slave);
}
slave.devotion -= 10;
slave.trust -= 5;
} else {
r += ` It gets tiring being a popular slut and ${he} ends ${his} shifts <span class="red">eager for sleep.</span>`;
}
tired(slave);
}
if (slave.assignment !== Job.CLUB) {
if (slave.curatives > 0 || slave.inflationType === "curative") {
r += ` The drugs `;
if (slave.inflationType === "curative") {
r += `${he} holds within ${his} gut`;
} else {
r += `${he}'s on`;
}
r += ` protect ${him} from the wear of being a slut.`;
} else if (slave.health.condition < -50) {
r += ` The stress of being a slut while in terrible condition is <span class="red">very hard on ${him}.</span>`;
} else if (slave.health.condition < -20 && jsRandom(1, 100) > 50) {
r += ` The stress of being a slut while in poor condition is <span class="red">hard on ${him}.</span>`;
} else if (slave.vagina < 0) {
if (slave.minorInjury === 0) {
r += ` ${He}'s such an expert public servant that ${he} copes with the stress of being a ${SlaveTitle(slave)} slut.`;
} else {
r += ` The stress of being a ${SlaveTitle(slave)} slut is <span class="red">hard on ${him}.</span>`;
}
} else if (slave.vagina > 0 && !canDoVaginal(slave)) {
if (canDoAnal(slave)) {
if (slave.minorInjury === 0) {
r += ` ${He}'s such an expert slut that ${he} copes with the stress of being limited to buttsex and oral.`;
} else {
r += ` The stress of being limited to buttsex and oral is <span class="red">hard on ${him}.</span>`;
}
} else {
if (slave.minorInjury === 0) {
r += ` ${He}'s such an expert slut that ${he} copes with the stress of being limited to oral.`;
} else {
r += ` The stress of being limited to oral sex is <span class="red">hard on ${him}.</span>`;
}
}
}
if (slave.minorInjury !== 0) {
if (slave.minorInjury === "sore ass") {
r += ` Rough anal with a careless citizen left ${him} with a <span class="red">${slave.minorInjury}.</span>`;
r += minorInjuryResponse(slave);
} else if (slave.minorInjury === "black eye") {
r += ` A violent citizen left ${him} with a <span class="red">${slave.minorInjury}.</span>`;
r += minorInjuryResponse(slave);
} else if (slave.minorInjury === "split lip") {
r += ` An abusive citizen left ${him} with a <span class="red">${slave.minorInjury}.</span>`;
r += minorInjuryResponse(slave);
} else if (slave.minorInjury === "bad bruise") {
r += ` A rough citizen left ${him} with a <span class="red">${slave.minorInjury}.</span>`;
r += minorInjuryResponse(slave);
} else {
r += ` The hard labor of constant sex left ${him} with a <span class="red">${slave.minorInjury}.</span>`;
}
}
}
if (canDoVaginal(slave)) {
if (slave.vagina === 0) {
if (slave.aphrodisiacs > 1 || slave.inflationType === "aphrodisiac") {
r += ` ${His} virginity goes to the <span class="green">citizen who most deserves the gift of a slave's cherry.</span> ${He}'s so full of aphrodisiacs that ${he} <span class="devotion inc">enjoys the experience.</span> <span class="virginity loss">${His} pussy is now broken in.</span>`;
slave.devotion += 4;
slave.vagina = 1;
} else if (slave.devotion > 20) {
r += ` ${His} virginity goes to the <span class="green">citizen who most deserves the gift of a slave's cherry.</span> Losing ${his} virginity in this way <span class="devotion inc">confirms ${his} submission to you.</span> <span class="virginity loss">${His} pussy is now broken in.</span>`;
slave.devotion += 4;
slave.vagina = 1;
} else {
r += ` ${His} virginity goes to the <span class="green">citizen who most deserves the gift of a slave's cherry.</span> ${He} tries to resist, and losing ${his} virginity to a rape makes ${him} <span class="devotion dec">hate</span> and <span class="trust dec">fear</span> you a great deal. <span class="virginity loss">${His} pussy is now broken in.</span>`;
slave.devotion -= 10;
slave.trust -= 10;
slave.vagina = 1;
}
} else if (slave.vagina < 3) {
if (jsRandom(1, 100) > ((170 - slave.sexAmount) + (slave.vagina * 10) + (slave.skill.vaginal / 3))) {
r += ` <span class="change positive">${His} pussy gets loosened by the intense use.</span>`;
slave.vagina += 1;
}
}
}
if (canDoAnal(slave)) {
if (slave.anus === 0) {
if (slave.aphrodisiacs > 1 || slave.inflationType === "aphrodisiac") {
r += ` ${His} tight little anus goes to the <span class="green">most prominent citizen</span> to show an interest in an anal virgin. ${He}'s so full of aphrodisiacs that ${he} <span class="devotion inc">enjoys the experience.</span> ${His} fresh asshole is fucked all week, and by the end of it <span class="virginity loss">${he} won't sit down.</span>`;
slave.devotion += 4;
slave.anus = 2;
} else if (slave.devotion > 20) {
r += ` ${His} tight little anus goes to the <span class="green">most prominent citizen</span> to show an interest in an anal virgin. The pain and humiliation <span class="devotion inc">confirm ${his} submission to you.</span> ${His} fresh asshole is fucked all week, and by the end of it <span class="virginity loss">${he} won't sit down.</span>`;
slave.devotion += 4;
slave.anus = 2;
} else {
r += ` ${His} tight little anus goes to the <span class="green">most prominent citizen</span> to show an interest in an anal virgin. The pain and humiliation increases ${his} <span class="devotion dec">hatred</span> and <span class="trust dec">fear</span> for you. ${His} fresh asshole is fucked all week, and by the end of it <span class="virginity loss">${he} won't sit down.</span>`;
slave.devotion -= 5;
slave.trust -= 5;
slave.anus = 2;
}
} else if (slave.anus < 3) {
if (slave.vagina < 0) {
if (jsRandom(1, 100) > ((150 - slave.sexAmount) + (slave.anus * 10) + (slave.skill.anal / 6))) {
r += ` <span class="change positive">${His} asshole sees constant use in place of a pussy and loosens.</span>`;
slave.anus += 1;
}
} else if (!canDoVaginal(slave)) {
if (jsRandom(1, 100) > ((150 - slave.sexAmount) + (slave.anus * 10) + (slave.skill.anal / 6))) {
r += ` <span class="change positive">${His} asshole sees constant use in place of ${his} protected pussy and loosens.</span>`;
slave.anus += 1;
}
} else {
if (jsRandom(1, 100) > ((160 - slave.sexAmount) + (slave.anus * 10) + (slave.skill.anal / 6))) {
r += ` <span class="change positive">${His} asshole loosens with constant use.</span>`;
slave.anus += 1;
}
}
}
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function slaveSkills(slave) {
let skillIncrease;
if (!setup.entertainmentCareers.includes(slave.career) && slave.skill.entertainer < V.masteredXP) {
slave.skill.entertainer += jsRandom(1, Math.ceil((slave.intelligence + slave.intelligenceImplant) / 15) + 8);
}
if (setup.entertainmentCareers.includes(slave.career)) {
r += ` ${He} has experience with entertainment from ${his} life before ${he} was a slave, making ${him} more effective.`;
} else if (slave.skill.entertainer >= V.masteredXP) {
r += ` ${He} has learned to be entertaining from working for you, making ${him} more effective.`;
}
if (slave.devotion > 20) {
if (!canWalk(slave)) {
r += ` Since ${he} can't walk, never mind dance, ${he} sits on a stool near the floor to flirt until a citizen feels like helping ${him} back to a private room.`;
} else if (slave.skill.entertainment <= 30) {
r += ` ${He} attracts some attention by stripping, come-ons, and simple dancing.`;
} else if (slave.skill.entertainment <= 60) {
r += ` ${He} attracts more attention with striptease, flirting, and erotic dancing.`;
} else if (slave.skill.entertainment < 100) {
r += ` ${He} attracts much attention with arousing innuendo and lusty striptease.`;
} else {
r += ` ${He} attracts popular attention with clever flirting and world-class erotic dancing.`;
}
}
if (slave.aphrodisiacs > 1 || slave.inflationType === "aphrodisiac") {
r += ` The aphrodisiac cocktail has ${him} so desperately horny that regardless of ${his} personal feelings, ${he} <span class="devotion inc">gets off with the public all week.</span> In ${his} drug-addled state ${he} doesn't remember enough to learn sexual skills.`;
slave.devotion += 4;
} else if (slave.devotion <= 20 && slave.energy <= 95) {
if (slave.trust >= -20) {
r += ` ${He} tries to refuse being treated as an open slut, so ${he} is restrained for public use. ${He} loses a bit of ${himself} to a week of rape, but remembers enough to know <span class="devotion dec">you're responsible,</span> and <span class="trust dec">can force ${him} if necessary.</span>`;
slave.devotion -= 5;
slave.trust -= 5;
} else {
r += ` ${He} doesn't show much enthusiasm, but the habit of sexual slavery <span class="devotion inc">wears away at ${his} will.</span>`;
slave.devotion += 4;
}
} else {
if ((slave.skill.oral + slave.skill.anal >= 200) && ((slave.skill.vaginal >= 100) || !canDoVaginal(slave))) {
r += ` ${He}'s a <span class="slave skill">sexual master</span> `;
if (canDoVaginal(slave)) {
r += `whose`;
} else {
r += `and despite `;
if (slave.vagina < 0) {
r += `${his} lack of a`;
} else {
r += `the inaccessibility of ${his}`;
}
r += ` front hole, ${his}`;
}
r += ` charms are only for the <span class="green">most prominent citizens.</span> When ${he}'s not `;
if (canDoVaginal(slave) && jsRandom(1, 4) === 1) {
r += `pleasing high society with ${his} `;
if (slave.prestige > 1 || slave.porn.prestige > 2) {
r += `prestigious`;
} else {
r += `popular`;
}
r += ` pussy,`;
} else if (slave.sexAmount > 70 && jsRandom(1, 3) === 1) {
r += `getting gangbanged,`;
} else if (jsRandom(1, 2) === 1) {
r += `giving away one of ${his} `;
if (slave.prestige > 1 || slave.porn.prestige > 2) {
r += `famous`;
} else {
r += `top-tier`;
}
r += ` blowjobs,`;
} else {
r += `providing free access to ${his} `;
if (slave.prestige > 1 || slave.porn.prestige > 2) {
r += `legendary`;
} else {
r += `notorious`;
}
r += ` anus,`;
}
r += ` ${he} offers personal training and sexual therapy.`;
} else {
r += ` ${He} shows diligence, and ${his} <span class="skill inc">sexual skills improve,</span> according to what the citizens demand`;
if (!canDoVaginal(slave)) {
r += ` and what's possible for ${him}`;
}
r += `.`;
skillIncrease = (5 + Math.floor((slave.intelligence + slave.intelligenceImplant) / 32) + V.oralUseWeight);
r += ` ${slaveSkillIncrease('oral', slave, skillIncrease)}`;
if (canDoVaginal(slave)) {
skillIncrease = (5 + Math.floor((slave.intelligence + slave.intelligenceImplant) / 32) + V.vaginalUseWeight);
r += ` ${slaveSkillIncrease('vaginal', slave, skillIncrease)}`;
}
if (canDoAnal(slave)) {
skillIncrease = (5 + Math.floor((slave.intelligence + slave.intelligenceImplant) / 32) + V.analUseWeight);
r += ` ${slaveSkillIncrease('anal', slave, skillIncrease)}`;
}
}
if (!isAmputee(slave)) {
if (slave.skill.entertainment < 100) {
r += ` ${He} gains experience as a public slut.`;
skillIncrease = (10 + Math.floor((slave.intelligence + slave.intelligenceImplant) / 32));
r += ` ${slaveSkillIncrease('entertainment', slave, skillIncrease)}`;
}
if (slave.skill.entertainment > jsRandom(50, 99) && slave.skill.whore < 50) {
r += ` ${His} ability to entertain gave ${him} a better understanding of ${his} <span class="skill inc">body's worth as a sexual object.</span>`;
slave.skill.whore += (2.5 + Math.floor((slave.intelligence + slave.intelligenceImplant) / 64));
}
}
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function publicReactions(slave) {
if ((slave.rules.release.masturbation === 0 && !App.Utils.hasFamilySex(slave) && slave.rules.release.slaves === 0) && slave.rules.reward !== "orgasm") {
r += ` ${He}'s a better slut because public service is ${his} main sexual outlet.`;
}
if (totalRelatives(slave) > 0) {
let children = V.slaves.filter((s) => areRelated(slave, s) && (s.assignment === slave.assignment));
if (children.length > 1) {
r += ` Since ${his} relatives, ${arrayToSentence(children.map(s => s.slaveName))}, are public sluts too, ${he} earns extra attention.`;
} else if (children.length > 0) {
r += ` Since ${his} relative, ${children[0].slaveName}, is a public slut too, ${he} earns extra attention.`;
}
if (children.length > 0) {
if (arcology.FSEgyptianRevivalist > 20) {
r += ` Citizens are very excited about being able to participate in incestuous sex like the ancient Egyptians.`;
} else if (arcology.FSEgyptianRevivalistIncestPolicy === 1) {
r += ` Citizens are very excited about being able to participate in incestuous sex.`;
}
}
}
if (slave.relationship > 0) {
const partner = getSlave(slave.relationshipTarget);
if (partner && slave.assignment === partner.assignment) {
r += ` ${His} ${relationshipTerm(slave)} ${partner.slaveName} is also serving the public and they work well together.`;
}
} else if (slave.relationship === -1) {
r += ` ${He} relies on citizens' desire to fuck ${him} for emotional support, making ${him} an excellent, if occasionally disturbing, slut.`;
}
if (slave.rivalry !== 0) {
const rival = getSlave(slave.rivalryTarget);
if (rival && slave.assignment === rival.assignment) {
r += ` ${He}'s a little less effective due to ${his} mutual dislike with ${rival.slaveName}.`;
}
}
if (slave.minorInjury !== 0) {
r += ` ${He} attracts fewer people due to ${his} minor injury.`;
}
if ((slave.hears === -1 && slave.earwear !== "hearing aids") || (slave.hears === 0 && slave.earwear === "muffling ear plugs") || (slave.hears === -2)) {
r += ` ${His} trouble hearing causes ${him} to miss potential partners.`;
}
if (canTalk(slave)) {
if (arcology.FSSlaveProfessionalism !== "unset" && slave.accent > 1) {
r += ` ${His} butchery of the local tongue drives away curious citizens.`;
} else if (slave.voice > 2) {
if (slave.voiceImplant > 0) {
r += ` ${His} high-pitched bimbo voice improves ${his} come-ons.`;
} else {
r += ` ${His} high, girly voice improves ${his} come-ons.`;
}
} else if (slave.voice === 1) {
r += ` Most citizens find ${his} deep voice unattractive, making it harder for ${him} to flirt successfully.`;
}
}
const modScore = SlaveStatsChecker.modScore(slave);
if (arcology.FSTransformationFetishist > 20 || arcology.FSDegradationist > 20) {
if ((modScore.total > 15) || (modScore.piercing > 8 && modScore.tat > 5)) {
r += ` The public fetishizes body mods and considers ${hers} fascinating.`;
} else if (modScore.total > 7) {
r += ` The public fetishizes body mods and considers ${hers} interesting.`;
}
} else if (arcology.FSBodyPurist > 20 || arcology.FSPaternalist > 20) {
if (modScore.total <= 7) {
r += ` The public disapproves of body mods and is pleased that ${he}'s unspoiled in that regard.`;
} else {
r += ` The public disapproves of body mods and considers ${hers} unappealing.`;
}
} else {
if ((modScore.total > 15) || (modScore.piercing > 8 && modScore.tat > 5)) {
r += ` ${He} has so much body art that most potential patrons don't think ${he} needs any more.`;
} else if (slave.corsetPiercing !== 0 || modScore.piercing >= 3 || modScore.tat >= 2) {
r += ` ${His} body art helps attract patrons to use ${him} freely.`;
}
}
if (slave.aphrodisiacs > 1 || (slave.inflationType === "aphrodisiac" && slave.inflation > 1)) {
r += ` On such a heavy aphrodisiac dose, ${he} can't wait for each citizen to fuck ${him}.`;
if (slave.inflationType === "aphrodisiac" && canDoAnal(slave)) {
r += ` Which is practically nonstop, as anyone that fucks ${his} ass gets a hit of the aphrodisiacs within ${his} belly.`;
}
} else if (slave.aphrodisiacs > 0 || (slave.inflationType === "aphrodisiac")) {
r += ` On aphrodisiacs, ${he} climaxes with every citizen.`;
if (slave.inflationType === "aphrodisiac" && canDoAnal(slave)) {
r += ` Which happens often, as anyone that fucks ${his} ass gets a tiny hit of the aphrodisiacs within ${his} belly.`;
}
} else if (slave.devotion > 95) {
r += ` ${He}'s so devoted that ${he} does ${his} best and pleases every citizen.`;
} else if (slave.devotion > 50) {
r += ` ${He}'s so devoted that ${he} works hard to please citizens.`;
} else if (slave.trust < -20) {
r += ` ${He}'s afraid of you, so ${he} works hard to please citizens.`;
} else {
r += ` ${He} neither loves nor fears you enough to work hard, and makes a poor slut.`;
}
if (isStacked(slave)) {
if (arcology.FSAssetExpansionist !== "unset") {
r += ` ${His} huge, fashionable assets are immensely popular.`;
if (canTalk(slave)) {
if (slave.voice > 2) {
r += ` ${His} high voice contributes to ${his} bimbo image, so ${he} does even better.`;
}
}
} else if (arcology.FSSlimnessEnthusiast >= 20) {
r += ` ${He} receives little attention for ${his} large assets since many citizens consider them disgusting.`;
} else {
r += ` The public enjoys ${his} huge assets.`;
}
if (arcology.FSGenderRadicalist !== "unset") {
if (slave.dick > 0) {
r += ` The new appetite for stacked sluts with dicks makes ${him} especially successful.`;
}
}
}
if (arcology.FSPetiteAdmiration !== "unset") {
if (heightPass(slave)) {
r += ` ${His} adorably petite stature catches and holds the public's eye.`;
} else if (slave.height >= 170) {
r += ` ${His} tall stature turns off most citizens.`;
}
} else if (arcology.FSStatuesqueGlorification !== "unset") {
if (heightPass(slave)) {
r += ` ${His} gloriously tall stature catches and holds the public's eye.`;
} else {
r += ` ${His} short stature turns off most citizens.`;
}
}
if (slave.visualAge >= 30) {
if (arcology.FSMaturityPreferentialist !== "unset") {
r += ` ${His} mature body is very fashionable.`;
} else if (arcology.FSYouthPreferentialist !== "unset") {
r += ` ${His} old body is badly out of fashion.`;
}
} else {
if (arcology.FSYouthPreferentialist !== "unset") {
r += ` ${His} youthful body is very fashionable.`;
} else if (arcology.FSMaturityPreferentialist !== "unset") {
r += ` ${His} young body is out of fashion.`;
}
}
if (slave.geneticQuirks.progeria === 2 && slave.physicalAge >= 45) {
r += ` ${His} advanced progeria reduces ${his} overall energy.`;
} else if (slave.geneticQuirks.neoteny === 2 && slave.visualAge < V.minimumSlaveAge) {
r += ` ${His} neotenic features lead some to believe it is not actually legal to fuck ${him}.`;
}
if (arcology.FSGenderFundamentalistLawBeauty + arcology.FSGenderRadicalistLawBeauty > 0) {
if (genderLawPass(slave) === 1) {
if (arcology.FSAssetExpansionist !== "unset") {
r += ` The public enjoys ${his} fashionably feminine body.`;
} else {
r += ` The public enjoys ${his} sleek, girlish figure.`;
}
if (canTalk(slave) && slave.voice > 2) {
r += ` ${His} high voice contributes to ${his} girlish image, so ${he} does even better.`;
}
}
} else if (arcology.FSSlimnessEnthusiastLaw === 1) {
if (slimLawPass(slave) === 1) {
r += ` The public enjoys ${his} fashionably sleek little body.`;
if (canTalk(slave) && slave.voice > 2) {
r += ` ${His} high voice contributes to ${his} girlish image, so ${he} does even better.`;
}
}
} else if (arcology.FSHedonisticDecadenceLaw2 === 1) {
if (slave.boobs >= 2000 && slave.butt >= 5 && slave.weight > 95) {
r += ` The public enjoys ${his} fashionably plump body.`;
if (canTalk(slave) && slave.voice > 2) {
r += ` ${His} high voice contributes to ${his} feminine image, so ${he} does even better.`;
}
}
} else {
if (slave.boobs < 500 && slave.butt < 3) {
if (slave.muscles <= 30 && arcology.FSPhysicalIdealist === "unset" && slave.weight <= 10 && arcology.FSHedonisticDecadence === "unset") {
if (arcology.FSSlimnessEnthusiast > 20) {
r += ` The public enjoys ${his} fashionably sleek little body.`;
} else {
r += ` The public enjoys ${his} sleek, girlish figure.`;
}
if (canTalk(slave) && slave.voice > 2) {
r += ` ${His} high voice contributes to ${his} girlish image, so ${he} does even better.`;
}
} else if (arcology.FSPhysicalIdealist !== "unset") { // no muscle malus for muscle loving societies
if ((arcology.FSPhysicalIdealistStrongFat === 1 && slave.weight <= 30) || slave.weight <= 10) { // reduced weight malus for fat loving societies
if (arcology.FSSlimnessEnthusiast > 20) {
r += ` The public enjoys ${his} fashionably sleek little body.`;
} else {
r += ` The public enjoys ${his} sleek, girlish figure.`;
}
if (canTalk(slave) && slave.voice > 2) {
r += ` ${His} high voice contributes to ${his} girlish image, so ${he} does even better.`;
}
}
} else if (arcology.FSHedonisticDecadence !== "unset" && slave.weight <= 30) { // reduced weight malus for fat loving societies
if (arcology.FSHedonisticDecadenceStrongFat === 1 || slave.muscles <= 30) { // no muscle malus for muscle loving societies
if (arcology.FSSlimnessEnthusiast > 20) {
r += ` The public enjoys ${his} fashionably sleek little body.`;
} else {
r += ` The public enjoys ${his} sleek, girlish figure.`;
}
if (canTalk(slave) && slave.voice > 2) {
r += ` ${His} high voice contributes to ${his} girlish image, so ${he} does even better.`;
}
}
}
}
}
if (arcology.FSIntellectualDependencyLawBeauty === 1) {
if (bimboScore(slave) >= 6) {
r += ` Citizens flock to spend time with a complete bimbo like ${him}.`;
}
}
if (slave.boobsImplant === 0 && slave.buttImplant === 0 && slave.waist >= -95 && slave.bellyImplant === -1 && slave.lipsImplant === 0 && slave.faceImplant < 30) {
if (arcology.FSBodyPurist !== "unset") {
r += ` With ${his} all-natural, implant free appearance, ${he}'s very popular.`;
} else if (arcology.FSTransformationFetishist >= 20) {
r += ` The public is disappointed by ${his} all-natural, implant free appearance.`;
} else {
r += ` Some discerning people appreciate ${his} all-natural, implant free appearance.`;
}
} else {
if (arcology.FSTransformationFetishist !== "unset") {
r += ` The public appreciates ${his} augmented body.`;
}
}
if (slave.nipples === "fuckable") {
if (arcology.FSTransformationFetishist !== "unset") {
r += ` ${His} fuckable nipples give ${him} an edge over those without such body modifications.`;
} else {
r += ` ${His} fuckable nipples entice some of the more curious citizens.`;
}
}
if (slave.teeth === "removable") {
if (V.policies.gumjobFetishism === 1) {
r += ` The majority of citizens that use ${him} are quite pleased with ${his} ability to give toothless sucks.`;
} else {
r += ` The extra attention ${he} receives from ${his} ability to give toothless sucks is about balanced out by the citizens who are disgusted by it.`;
}
} else if (slave.teeth === "pointy") {
if (V.policies.gumjobFetishism === 1) {
r += ` Most of the citizens that use ${him} are quite disappointed to find ${his} mouth full of teeth, but there are a handful still interested in ${his} unusual dentistry.`;
} else {
r += ` The extra attention ${he} receives due to ${his} sharp teeth is balanced by the citizens who are scared off by them.`;
}
} else if (slave.teeth === "fangs") {
if (V.policies.gumjobFetishism === 1) {
r += ` Most of the citizens that use ${him} are quite disappointed to find ${his} mouth full of teeth, but there are a handful still interested in ${his} unusual dentistry.`;
} else {
r += ` The extra attention ${he} receives due to ${his} fangs is balanced by the citizens who are scared off by them.`;
}
} else {
if (V.policies.gumjobFetishism === 1) {
r += ` Most of the public is dissapointed that ${his} teeth don't come out.`;
}
}
if (slave.dick !== 0) {
if (arcology.FSGenderRadicalist === "unset") {
r += ` ${He}'s less popular because many citizens prefer sluts without cocks.`;
} else if (arcology.FSGenderRadicalist < 50) {
r += ` ${His} cock entices some citizens and disappoints others; it has little effect on ${his} popularity.`;
} else {
r += ` The overwhelming majority of citizens consider ${his} cock an attraction.`;
}
}
if (slave.muscles > 95) {
if (arcology.FSPhysicalIdealist !== "unset") {
r += ` In the new culture of ${arcology.name} ${his} muscles are cause for great admiration.`;
} else {
r += ` ${His} muscles scare off many, but some will do anything to enjoy a muscular slave.`;
}
}
if (isAmputee(slave)) {
r += ` Many prefer to fuck someone with limbs, but some greatly enjoy fucking a helpless amputee.`;
}
if (slave.lactation > 0) {
r += ` ${He} appeals to citizens who like lactation play, or just like sluts they can drink milk from.`;
slave.lactationDuration = 2;
slave.boobs -= slave.boobsMilk;
slave.boobsMilk = 0;
}
if (slave.bellyPreg >= 1500 || setup.fakeBellies.includes(slave.bellyAccessory) || slave.bellyImplant >= 1500) {
if (arcology.FSRepopulationFocus !== "unset") {
r += ` In the new culture of ${arcology.name}, ${his}`;
if (setup.fakeBellies.includes(slave.bellyAccessory) || slave.bellyImplant >= 1500) {
r += ` apparent`;
}
r += ` pregnancy gets ${him} lots of attention.`;
} else if (arcology.FSRepopulationFocusPregPolicy === 1 && slave.bellyPreg >= 1500) {
r += ` It's currently trendy to be ripe with child, so ${his} pregnancy gets ${him} lots of attention.`;
} else if (arcology.FSRestart !== "unset") {
r += ` In the new culture of ${arcology.name}, ${his}`;
if (setup.fakeBellies.includes(slave.bellyAccessory) || slave.bellyImplant >= 1500) {
r += ` apparent`;
}
r += ` pregnancy is a massive turn off to citizens.`;
} else if (arcology.FSGenderFundamentalist !== "unset") {
r += ` The new respect for slave fertility ensures that ${he} gets just as much love as slaves without pregnant bellies`;
if (setup.fakeBellies.includes(slave.bellyAccessory) || slave.bellyImplant >= 1500) {
r += `, even if ${his} bump isn't real`;
}
r += `.`;
} else {
r += ` Many citizens avoid visibly pregnant slaves.`;
}
}
if (arcology.FSRepopulationFocusMilfPolicy === 1 && slave.counter.birthsTotal > 0) {
r += ` Slaves that have had children are hot right now making ${him} quite the appealing MILF.`;
}
if (V.seeRace === 1) {
if (slave.race === "white") {
r += ` The public tastes favor white ${girl}s like ${slave.slaveName}.`;
}
}
if (arcology.FSSupremacist !== "unset") {
if (slave.race !== arcology.FSSupremacistRace) {
r += ` Some citizens fetishize ${girl}s of the servile races.`;
}
}
if (arcology.FSSubjugationist !== "unset") {
if (slave.race === arcology.FSSubjugationistRace) {
r += ` Many prefer to use and abuse sluts of the proper slave race.`;
}
}
if (arcology.FSEdoRevivalist !== "unset") {
if (slave.nationality === "Japanese" || slave.nationality === "Edo Revivalist") {
r += ` As a proper Japanese ${girl}, ${he} is considered extremely desirable.`;
}
} else if (arcology.FSChineseRevivalist !== "unset") {
if (slave.nationality === "Chinese" || slave.nationality === "Chinese Revivalist") {
r += ` As a proper Chinese ${girl}, ${he} is considered extremely desirable.`;
}
}
if (arcology.FSSlaveProfessionalism !== "unset") {
if (slave.intelligence + slave.intelligenceImplant > 50) {
r += ` ${His} intelligence satisfies citizens looking for something more than just a hole.`;
} else if (slave.intelligence + slave.intelligenceImplant < -10) {
r += ` ${His} stupidity aggravates citizens looking for something more than just a cum dump.`;
}
} else if (arcology.FSIntellectualDependency !== "unset") {
if (slave.intelligence + slave.intelligenceImplant > 10) {
r += ` ${His} intellectual baggage is more than most citizens wish to deal with.`;
} else if (slave.intelligence + slave.intelligenceImplant < -50) {
r += ` ${His} simplicity makes ${him} pliable and ready to do or try anything.`;
}
} else if (slave.intelligence + slave.intelligenceImplant > 15) {
r += ` ${His} intelligence helps ${him} discern everyone's needs.`;
} else if (slave.intelligence + slave.intelligenceImplant < -15) {
r += ` ${He} has trouble figuring out what everyone needs.`;
}
if (slave.prestige > 0) {
r += ` ${He} attracts more attention because it's prestigious to be seen with ${him}.`;
}
if (slave.porn.prestige > 2) {
r += ` Patrons line up for the chance to spend time with the face of ${slave.porn.fameType} porn.`;
} else if (slave.porn.prestige > 1) {
r += ` ${He} has a sizable fanbase, one that is eager to spend time with ${him}.`;
} else if (slave.porn.prestige > 0) {
r += ` A few of ${his} fans recognize ${him} and eagerly make use of ${him}.`;
}
if (slave.clitPiercing === 3 && slave.devotion >= -20) {
r += ` Almost everyone loves ${his} orgasms encouraged by ${his} smart piercing.`;
} else if (slave.clitPiercing === 3) {
r += ` Almost everyone appreciates ${his} reduced reluctance caused by ${his} smart piercing.`;
}
if (slave.fetishKnown === 1 && slave.fetishStrength > 60) {
switch (slave.fetish) {
case "submissive":
r += ` ${He} receives extra attention for ${his} eagerness to submit.`;
break;
case "cumslut":
r += ` ${He} receives extra attention for ${his} enjoyment of cum.`;
break;
case "humiliation":
r += ` ${He} receives extra attention for ${his} eagerness to be humiliated by citizens.`;
break;
case "buttslut":
if (canDoAnal(slave)) {
r += ` ${He} receives extra attention for ${his} obvious enjoyment of buttsex.`;
}
break;
case "dom":
r += ` ${He} receives some extra attention for ${his} enthusiasm dominating other slaves in group sex.`;
break;
case "masochist":
r += ` ${He} receives extra attention for ${his} obvious enjoyment of pain.`;
break;
case "boobs":
r += ` ${He} receives extra attention for ${his} obvious enjoyment of a solid chest groping.`;
break;
case "sadist":
r += ` ${He} receives some extra attention for ${his} willingness to abuse other slaves.`;
break;
case "pregnancy":
if (slave.mpreg === 0) {
if (slave.vagina > 0 && canDoVaginal(slave)) {
r += ` As an impregnation fetishist ${he}'s very enthusiastic about vaginal sex.`;
}
} else {
if (slave.anus > 0 && canDoAnal(slave)) {
r += ` As an impregnation fetishist ${he}'s very enthusiastic about anal sex.`;
}
}
break;
case "mindbroken":
r += ` ${He} receives less attention because ${he} just lies there, totally unresponsive.`;
break;
}
}
if (slave.attrKnown === 1) {
if (slave.energy > 95) {
r += ` As a nymphomaniac ${he} gets sexual release from every sex act and is a crowd favorite.`;
slave.need -= slave.sexAmount;
} else if (slave.energy > 80) {
r += ` With ${his} powerful sex drive ${he} rarely has to fake an orgasm.`;
slave.need -= (slave.sexAmount * 0.9);
} else if (slave.aphrodisiacs > 0 || slave.inflationType === "aphrodisiac") {
r += ` With ${his} aphrodisiac boosted libido, it's barely possible to discern ${him} from a natural nymphomaniac.`;
slave.need -= (slave.sexAmount * 0.9);
} else if (slave.energy > 60) {
r += ` With ${his} good sex drive ${he} often orgasms with citizens.`;
slave.need -= (slave.sexAmount * 0.8);
} else if (slave.energy > 40) {
r += ` With ${his} average sex drive ${he} occasionally orgasms with citizens.`;
slave.need -= (slave.sexAmount * 0.5);
} else if (slave.energy > 20) {
r += ` With ${his} poor sex drive ${he} almost never orgasms with citizens.`;
slave.need -= (slave.sexAmount * 0.1);
} else {
r += ` Since ${he}'s frigid, ${he} rarely experiences authentic arousal with citizens.`;
}
if (slave.attrXY <= 15) {
if (slave.attrXX <= 15) {
r += ` ${His} general disgust with sex makes ${him} a very poor slut.`;
} else if (slave.attrXX <= 85) {
r += ` ${His} sexual disgust with men makes ${him} a poor slut.`;
} else if (slave.attrXX <= 95) {
r += ` ${His} sexual disgust with men hinders ${him}, though ${he} is more enthusiastic with female citizens.`;
} else {
r += ` ${His} sexual disgust with men hinders ${him}, though ${he} makes up for it with female citizens.`;
}
} else if (slave.attrXY <= 85) {
if (slave.attrXX <= 15) {
r += ` ${His} sexual disgust with women makes ${him} a poor slut.`;
} else if (slave.attrXX <= 85) {
r += ` ${His} indifference to men and women makes ${him} a poor slut.`;
} else if (slave.attrXX <= 95) {
r += ` ${His} sexual indifference to men hinders ${him}, though ${he} is more enthusiastic with female citizens.`;
} else {
r += ` ${His} sexual indifference to men hinders ${him}, though ${he} makes up for it with female citizens.`;
}
} else if (slave.attrXY <= 95) {
if (slave.attrXX <= 15) {
r += ` ${His} sexual disgust with women hinders ${him}, though ${he} makes up for it with male citizens.`;
} else if (slave.attrXX <= 85) {
r += ` ${His} sexual indifference to women hinders ${him}, though ${he} makes up for it with male citizens.`;
} else if (slave.attrXX <= 95) {
r += ` ${He} has the advantage of sexual sincerity with both men and women.`;
} else {
r += ` ${He}'s a good slut with male citizens, and truly enthusiastic with women.`;
}
} else {
if (slave.attrXX <= 15) {
r += ` ${His} sexual disgust with women hinders ${him}, though ${he} is enthusiastic with male citizens.`;
} else if (slave.attrXX <= 85) {
r += ` ${His} sexual indifference to women hinders ${him}, though ${he} is enthusiastic with male citizens.`;
} else if (slave.attrXX <= 95) {
r += ` ${He}'s a good slut with female citizens, and truly enthusiastic with men.`;
} else {
r += ` ${He}'s openly lustful towards all citizens, men and women.`;
}
}
}
switch (slave.behavioralQuirk) {
case "confident":
r += ` ${He}'s better at ${his} job because ${he}'s so confident in the club.`;
break;
case "cutting":
r += ` ${He} gets a lot of attention for ${his} ability to joke at a patron's expense.`;
break;
case "funny":
r += ` ${He} frequently has ${his} corner of the club doubled over with laughter at ${his} antics.`;
break;
case "adores women":
r += ` ${He} singles out the prettiest ladies in the club for special personal attention.`;
break;
case "adores men":
r += ` ${He} singles out the hottest hunks in the club for special personal attention.`;
break;
case "fitness":
r += ` ${He} approaches life in the club as a good workout, to the delight of ${his} exhausted partners.`;
break;
case "insecure":
r += ` ${He}'s very willing to be promiscuous, since ${he} values ${himself} mainly as a sex object.`;
break;
case "sinful":
r += ` ${He}'s explicitly sacrilegious in the club, happily transgressing against cultural boundaries.`;
break;
case "advocate":
r += ` ${He} believes that the club represents ${arcology.name} well, and does ${his} best to contribute.`;
break;
}
switch (slave.sexualQuirk) {
case "gagfuck queen":
r += ` ${He}'s a popular target for oral gangbangs in the club, late at night.`;
break;
case "painal queen":
if (canDoAnal(slave)) {
r += ` ${He}'s a popular target for anal gangbangs in the club, late at night.`;
}
break;
case "strugglefuck queen":
r += ` ${He}'s a popular target for gangbangs in the club, late at night.`;
break;
case "tease":
r += ` Despite being a club slut, ${he} somehow retains the ability to blush enticingly at nudity.`;
break;
case "romantic":
r += ` Despite being a club slut, ${he} somehow retains the ability to make ${his} citizens feel special.`;
break;
case "perverted":
r += ` ${He}'s comfortable with the most perverted citizens' desires.`;
break;
case "unflinching":
r += ` ${He}'s impossible to disgust or surprise, pleasing citizens with odd tastes.`;
break;
case "size queen":
r += ` ${He}'s very eager to spend quality time with big cocks, making ${him} a favorite among the well-endowed.`;
break;
case "caring":
r += ` ${He} really cares for everyone ${he} meets in the club, and will provide a sympathetic ear for anyone who just feels like talking.`;
break;
}
switch (slave.behavioralFlaw) {
case "arrogant":
r += ` ${He} receives less gratitude because ${he} treats clients like they are beneath ${his} dignity.`;
break;
case "bitchy":
r += ` ${He} receives less gratitude because ${he} makes cutting remarks to clients.`;
break;
case "odd":
r += ` ${He} receives less gratitude because clients are annoyed by ${his} odd behavior.`;
break;
case "hates men":
r += ` ${He} receives less gratitude because ${he} can't conceal ${his} distaste for the company of men.`;
break;
case "hates women":
r += ` ${He} receives less gratitude because ${he} can't conceal ${his} distaste for the company of women.`;
break;
case "devout":
r += ` ${He} receives less gratitude because people are annoyed by ${his} habit of praying for forgiveness during sex.`;
break;
case "liberated":
r += ` ${He} receives less gratitude because people are annoyed by ${his} obvious belief that being forced to serve them is wrong.`;
break;
}
switch (slave.sexualFlaw) {
case "hates oral":
r += ` ${He} receives less gratitude because ${he} tries to avoid sucking cock.`;
break;
case "hates anal":
if (canDoAnal(slave)) {
r += ` ${He} receives less gratitude because ${he} tries to avoid taking it up the ass.`;
}
break;
case "hates penetration":
r += ` ${He} receives less gratitude because ${he} tries to avoid getting fucked.`;
break;
case "repressed":
r += ` ${He} receives less gratitude because citizens who don't feel like forcing ${him} sometimes have to cajole ${him} past ${his} repressed sexuality.`;
break;
case "idealistic":
r += ` ${He} receives less gratitude because citizens who don't feel like forcing ${him} sometimes have to convince ${him} to have sex with them.`;
break;
case "apathetic":
r += ` ${He} receives less gratitude because ${he} often just lies there taking dick.`;
break;
case "crude":
r += ` ${He} receives less gratitude because ${he} isn't exactly the most elegant sexual partner.`;
break;
case "judgemental":
r += ` ${He} receives less gratitude because ${he} openly disdains unattractive citizens.`;
break;
case "shamefast":
r += ` ${He} receives less gratitude because ${he} sometimes hesitates to take ${his} clothes off and get to work.`;
break;
case "cum addict":
r += ` ${His} abject begging for cum annoys citizens who aren't looking for oral, but this is more than outweighed by how much it delights those who are.`;
break;
case "anal addict":
r += ` ${His} abject begging for buttsex annoys citizens who aren't interested in fucking ${his} ass, but this is more than outweighed by how much it delights those who are.`;
break;
case "attention whore":
r += ` As an attention whore, public service is ${his} forte, and ${he} delights citizens with ${his} eager willingness to try anything in the open.`;
break;
case "breast growth":
r += ` ${His} excessive obsession with ${his} own breasts, to the detriment of most sexual intercourse, annoys citizens.`;
break;
case "abusive":
r += ` ${He} annoys citizens whenever ${his} sexual abusiveness becomes apparent.`;
break;
case "malicious":
r += ` ${He} annoys citizens whenever ${his} sexual maliciousness becomes apparent.`;
break;
case "self hating":
r += ` ${He} annoys citizens during the crying jags brought on by ${his} self hatred.`;
break;
case "neglectful":
r += ` ${He} annoys those discerning citizens who can tell that ${he} neglects to orgasm with them.`;
break;
case "breeder":
r += ` ${His} obsession with pregnancy annoys citizens who aren't interested in that.`;
break;
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function addFlaw(slave) {
if (slave.devotion < 10) {
if (jsRandom(1, 100) > 70) {
if (slave.skill.vaginal <= 30 && canDoVaginal(slave)) {
r += ` After being fucked too hard too often, ${he} now <span class="flaw gain">dislikes being penetrated.</span>`;
slave.sexualFlaw = "hates penetration";
} else if (slave.skill.anal <= 30 && canDoAnal(slave)) {
r += ` After so much anal pain, ${he} now <span class="flaw gain">dislikes being buttfucked.</span>`;
slave.sexualFlaw = "hates anal";
} else if (slave.skill.oral <= 30) {
r += ` After one too many facials, ${he} now <span class="flaw gain">dislikes sucking cock.</span>`;
slave.sexualFlaw = "hates oral";
}
}
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function addRep(slave) {
if (slave.assignment !== Job.RECRUITER) {
if (slave.assignment === Job.DJ) {
repX(Math.trunc((slave.sexAmount * slave.sexQuality) * (1 + (0.003 * slave.skill.entertainment)) * 0.15), "publicServant", slave);
// DJ bonus rep
repX(Math.trunc((slave.sexAmount * slave.sexQuality) * (1 + (0.003 * slave.skill.entertainment)) * 0.15), "publicServantClub", slave);
incomeStats.income += Math.trunc((slave.sexAmount * slave.sexQuality) * (1 + (0.003 * slave.skill.entertainment)) * 0.15);
} else if (slave.assignment === Job.CLUB) {
repX(Math.trunc((slave.sexAmount * slave.sexQuality) * (1 + (0.003 * slave.skill.entertainment)) * 0.15), "publicServantClub", slave);
} else if (slave.assignment === Job.PUBLIC) {
repX(Math.trunc((slave.sexAmount * slave.sexQuality) * (1 + (0.003 * slave.skill.entertainment)) * 0.15), "publicServant", slave);
} else {
repX(Math.trunc((slave.sexAmount * slave.sexQuality) * (1 + (0.003 * slave.skill.entertainment)) * 0.15), "serving the public in an unregistered building", slave);
}
}
incomeStats.income += Math.trunc((slave.sexAmount * slave.sexQuality) * (1 + (0.003 * slave.skill.entertainment)) * 0.15);
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function applyFSDecoration(slave) {
const fsBeauty = 0.0005 * slave.sexAmount;
FutureSocieties.DecorationBonus(V.clubDecoration, fsBeauty);
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function sexCounts(slave) {
/* SEX ACT COUNTS AND SEXUAL SATISFACTION */
oralUse = (V.oralUseWeight + (slave.skill.oral / 30) + (slave.lips / 20));
if (V.policies.gumjobFetishism === 1 && slave.teeth !== "removable") {
oralUse = Math.max(Math.trunc(oralUse * .75), 1);
}
analUse = 0;
if (canDoAnal(slave)) {
analUse = (V.analUseWeight + (slave.skill.anal / 30) - slave.anus);
if (analUse < 0) {
analUse = 0;
}
}
vaginalUse = 0;
if (canDoVaginal(slave)) {
vaginalUse = (V.vaginalUseWeight + (slave.skill.vaginal / 30) - slave.vagina);
if (vaginalUse < 0) {
vaginalUse = 0;
}
}
mammaryUse = 0;
// perhaps boost this for truly massive breasts
if (slave.boobs > 10000) {
mammaryUse = (5 + V.mammaryUseWeight);
} else if (slave.boobs > 500) {
mammaryUse = (V.mammaryUseWeight + (slave.boobs / 2000));
}
if (slave.nipples === "fuckable") {
mammaryUse *= 2;
}
penetrativeUse = 0;
if (canDoVaginal(slave) && slave.clit > 1) {
penetrativeUse += (V.penetrativeUseWeight + (slave.skill.vaginal / 30) + slave.clit);
}
if (slave.dick && slave.chastityPenis !== 1) {
if (canPenetrate(slave)) {
penetrativeUse += (V.penetrativeUseWeight + slave.dick + Math.min(slave.balls, 10) / 4);
if (slave.drugs === "hyper testicle enhancement") {
penetrativeUse += Math.min(slave.balls, 5);
}
} else {
penetrativeUse += (V.penetrativeUseWeight + Math.min(slave.balls, 15) + Math.min(slave.balls, 10) / 8);
if (slave.drugs === "hyper testicle enhancement") {
penetrativeUse += Math.min(slave.balls, 5);
}
}
}
const demand = (oralUse + analUse + vaginalUse + mammaryUse + penetrativeUse);
oralUse = Math.trunc((oralUse / demand) * slave.sexAmount);
analUse = Math.trunc((analUse / demand) * slave.sexAmount);
vaginalUse = Math.trunc((vaginalUse / demand) * slave.sexAmount);
mammaryUse = Math.trunc((mammaryUse / demand) * slave.sexAmount);
penetrativeUse = Math.trunc((penetrativeUse / demand) * slave.sexAmount);
seX(slave, "oral", "public", "penetrative", oralUse);
seX(slave, "anal", "public", "penetrative", analUse);
seX(slave, "vaginal", "public", "penetrative", vaginalUse);
seX(slave, "mammary", "public", "penetrative", mammaryUse);
seX(slave, "penetrative", "public", "penetrative", penetrativeUse);
cervixPump = 0;
if (slave.cervixImplant === 1 || slave.cervixImplant === 3) {
cervixPump += (20 * vaginalUse);
}
if (slave.cervixImplant === 2 || slave.cervixImplant === 3) {
cervixPump += (20 * analUse);
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function sexualSatiation(slave) {
if (slave.need) {
if (slave.fetishKnown) {
switch (slave.fetish) {
case "submissive":
case "masochist":
if (analUse + vaginalUse > 0) {
r += ` ${He} enjoys being fucked, and got sexual satisfaction from the ${num(analUse + vaginalUse)} dicks stuck inside ${him} this week.`;
slave.need -= (analUse + vaginalUse);
}
break;
case "dom":
case "sadist":
if (penetrativeUse > 0) {
r += ` ${He} enjoys being on top, and got special sexual satisfaction from the ${num(penetrativeUse)} times ${he} got to fuck someone this week.`;
slave.need -= 2 * penetrativeUse;
}
break;
case "cumslut":
if (oralUse > 0) {
r += ` ${He} enjoys sucking, and got sexual satisfaction from the ${num(oralUse)} blowjobs ${he} gave this week.`;
slave.need -= oralUse;
}
break;
case "buttslut":
if (analUse > 0) {
r += ` ${He} enjoys getting buttfucked, and got sexual satisfaction from the ${num(analUse)} times ${he} was sodomized this week.`;
slave.need -= analUse;
}
break;
case "boobs":
if (mammaryUse > 0) {
r += ` ${He} enjoys `;
if (slave.nipples === "fuckable") {
r += `having ${his} tits fucked,`;
} else {
r += `giving a good titfuck,`;
}
r += ` and got sexual satisfaction from the ${num(mammaryUse)} times they were used this week.`;
slave.need -= mammaryUse;
}
break;
case "pregnancy":
if (slave.mpreg === 0) {
if (vaginalUse > 0) {
r += ` ${He} enjoys having ${his} pussy fucked, and got sexual satisfaction from the ${num(vaginalUse)} times ${he} got dick this week.`;
slave.need -= vaginalUse;
}
} else {
if (analUse > 0) {
r += ` ${He} enjoys having ${his} ass fucked, and got sexual satisfaction from the ${num(analUse)} times ${he} got dick this week.`;
slave.need -= analUse;
}
}
break;
case "humiliation":
r += ` ${He} enjoys the humiliation of being a public slut, and got a bit of sexual satisfaction from every sex act ${he} performed this week.`;
slave.need -= slave.sexAmount;
}
}
}
if (slave.energy > 40 && slave.energy < 95) {
r += ` Being used sexually all week <span class="change positive">increases ${his} sex drive.</span>`;
slave.energy += 1;
}
if (cervixPump > 0) {
r += ` ${He} notices ${his} <span class="change positive">belly has swollen</span> from all the `;
if (slave.cervixImplant === 1) {
r += `vaginal`;
} else if (slave.cervixImplant === 2) {
r += `anal`;
}
r += ` sex ${he} had throughout the week.`;
slave.bellyImplant += cervixPump;
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function assignmentVignette(slave) {
let vignette;
if (slave.assignment !== window.Job.RECRUITER) {
vignette = GetVignette(slave);
r += ` <span class="story-label">This week</span> ${vignette.text} `;
if (vignette.type === "cash") {
const cashVign = Math.trunc(slave.sexQuality * vignette.effect);
if (vignette.effect > 0) {
r += `<span class="cash inc">making you an extra ${cashFormat(cashVign)}.</span>`;
} else if (vignette.effect < 0) {
r += `<span class="cash dec">losing you ${cashFormat(Math.abs(cashVign))}.</span>`;
} else {
r += `an incident without lasting effect.`;
}
if (slave.assignment === window.Job.PUBLIC) {
if (vignette.effect > 0) {
cashX(cashVign, "slaveAssignmentPublicVign", slave);
} else if (vignette.effect < 0) {
cashX(forceNeg(cashVign), "slaveAssignmentPublicVign", slave);
}
} else if (slave.assignment === window.Job.CLUB) {
if (vignette.effect > 0) {
cashX(cashVign, "slaveAssignmentClubVign", slave);
} else if (vignette.effect < 0) {
cashX(forceNeg(cashVign), "slaveAssignmentClubVign", slave);
}
} else if (slave.assignment === window.Job.DJ) {
if (vignette.effect > 0) {
cashX(cashVign, "slaveAssignmentDjVign", slave);
} else if (vignette.effect < 0) {
cashX(forceNeg(cashVign), "slaveAssignmentDjVign", slave);
}
} else {
if (vignette.effect > 0) {
cashX(cashVign, "vignette public sexslave income in an unregistered building", slave);
} else if (vignette.effect < 0) {
cashX(forceNeg(cashVign), "vignette public sexslave expense in an unregistered building", slave);
}
}
incomeStats.income += cashVign;
} else if (vignette.type === "devotion") {
if (vignette.effect > 0) {
if (slave.devotion > 50) {
r += `<span class="devotion inc">increasing ${his} devotion to you.</span>`;
} else if (slave.devotion >= -20) {
r += `<span class="devotion inc">increasing ${his} acceptance of you.</span>`;
} else if (slave.devotion >= -50) {
r += `<span class="devotion inc">reducing ${his} dislike of you.</span>`;
} else {
r += `<span class="devotion inc">reducing ${his} hatred of you.</span>`;
}
} else if (vignette.effect < 0) {
if (slave.devotion > 50) {
r += `<span class="devotion dec">reducing ${his} devotion to you.</span>`;
} else if (slave.devotion >= -20) {
r += `<span class="devotion dec">reducing ${his} acceptance of you.</span>`;
} else if (slave.devotion >= -50) {
r += `<span class="devotion dec">increasing ${his} dislike of you.</span>`;
} else {
r += `<span class="devotion dec">increasing ${his} hatred of you.</span>`;
}
} else {
r += `an incident without lasting effect.`;
}
slave.devotion += (1 * vignette.effect);
} else if (vignette.type === "trust") {
if (vignette.effect > 0) {
if (slave.trust > 20) {
r += `<span class="trust inc">increasing ${his} trust in you.</span>`;
} else if (slave.trust >= -50) {
r += `<span class="trust inc">reducing ${his} fear of you.</span>`;
} else {
r += `<span class="trust inc">reducing ${his} terror of you.</span>`;
}
} else if (vignette.effect < 0) {
if (slave.trust > 20) {
r += `<span class="trust dec">reducing ${his} trust in you.</span>`;
} else if (slave.trust >= -20) {
r += `<span class="trust dec">increasing ${his} fear of you.</span>`;
} else {
r += `<span class="trust dec">increasing ${his} terror of you.</span>`;
}
} else {
r += `an incident without lasting effect.`;
}
slave.trust += (1 * vignette.effect);
} else if (vignette.type === "health") {
if (vignette.effect > 0) {
r += `<span class="health inc">improving ${his} health.</span>`;
improveCondition(slave, 2 * vignette.effect);
} else if (vignette.effect < 0) {
r += `<span class="health dec">affecting ${his} health.</span>`;
healthDamage(slave, 2 * vignette.effect);
} else {
r += `an incident without lasting effect.`;
}
} else {
if (vignette.effect > 0) {
r += `<span class="reputation inc">gaining you a bit of reputation.</span>`;
} else if (vignette.effect < 0) {
r += `<span class="reputation dec">losing you a bit of reputation.</span>`;
} else {
r += `an incident without lasting effect.`;
}
repX(Math.trunc(slave.sexQuality * vignette.effect * 0.1), "vignette", slave);
incomeStats.income += Math.trunc(slave.sexQuality * vignette.effect * 0.1);
}
}
}
})();
|
MonsterMate/fc
|
src/endWeek/saServeThePublic.js
|
JavaScript
|
mit
| 68,443
|
App.SlaveAssignment.serveYourOtherSlaves = (function() {
"use strict";
let r;
// eslint-disable-next-line no-unused-vars
let he, him, his, hers, himself, girl, loli, He, His;
// eslint-disable-next-line no-unused-vars
let he2, him2, his2, hers2, himself2, girl2, loli2, He2, His2;
let jobType;
let fetishChange;
let oralUse;
let analUse;
let vaginalUse;
let mammaryUse;
let penetrativeUse;
let fuckCount;
let load;
let cervixPump;
let domSlave;
let domName;
let domRace;
let domFetishKnown;
let domSlaveUsedFetish;
let subSlaveLikedFetish;
let subHatesDom;
let subName;
let subRace;
let hands;
return saServeYourOtherSlaves;
/**
* @param {App.Entity.SlaveState} slave
* @returns {string}
*/
function saServeYourOtherSlaves(slave) {
r = [];
fetishChange = fetishChangeChance(slave);
({
// eslint-disable-next-line no-unused-vars
he, him, his, hers, himself, girl, He, His, loli
} = getPronouns(slave));
oralUse = 0;
analUse = 0;
vaginalUse = 0;
mammaryUse = 0;
penetrativeUse = 0;
cervixPump = 0;
fuckCount = 0;
load = 0;
subName = slave.slaveName;
subSlaveLikedFetish = 0;
hands = hasBothArms(slave) ? "hands" : "hand";
validateJob(slave);
if (jobType === "stud") {
studLife(slave);
} else if (jobType === "cumdump") {
cumdumpLife(slave);
} else if (jobType === "sub") {
subLife(slave);
}
sexualSatiation(slave);
physicalEffects(slave);
mentalEffects(slave);
slaveSkills(slave);
return r.join(" ");
}
/**
* @param {App.Entity.SlaveState} slave
* */
function validateJob(slave) {
if (slave.subTarget === -1) {
jobType = "stud";
} else if (slave.subTarget === 0) {
jobType = "cumdump";
} else {
// validate .subTarget
domSlave = getSlave(slave.subTarget);
if (domSlave) {
jobType = "sub";
domName = domSlave.slaveName;
domFetishKnown = domSlave.fetishKnown;
domSlaveUsedFetish = 0;
subHatesDom = 0;
} else {
jobType = "cumdump";
slave.subTarget = 0;
}
}
}
/**
* @param {App.Entity.SlaveState} slave
* */
function studLife(slave) {
if (slave.fuckdoll > 0) {
r.push(`is positioned as a sperm dispenser for fertile slaves to ride or milk at their discretion.`);
} else if (slave.fetish === "mindbroken") {
if (slave.career === "a breeding bull" && canMove(slave)) {
r.push(`is allowed to freely breed any fertile slaves ${he} can find.`);
} else {
r.push(`is left as a sperm dispenser for fertile slaves to ride or milk at their discretion.`);
}
} else if (slave.career === "a breeding bull") {
r.push(`sees it as ${his} duty to impregnate everyone in ${his} path. A role ${he} <span class="hotpink">appreciates</span> you <span class="mediumaquamarine">entrusting ${him} with.</span>`);
slave.devotion += 1;
slave.trust += 1;
if (slave.fetishKnown === 1) {
if (slave.fetish === "pregnancy") {
r.push(`${He} <span class="hotpink">thoroughly enjoys</span> ${his} dream-like, pregnancy-centered life.`);
slave.devotion += 1;
subSlaveLikedFetish = 1;
} else if (slave.fetish === "dom") {
r.push(`${He} <span class="hotpink">thoroughly enjoys</span> having permission to mount and breed any slave ${he} wants.`);
slave.devotion += 1;
subSlaveLikedFetish = 1;
}
}
} else if (slave.devotion <= 20) {
if (slave.trust >= -20) {
r.push(`is bound and laid out to serve as a source of cum for your fertile slaves. Being tied up and left to the wolves <span class="gold">frightens ${him} into obedience.</span>`);
slave.trust -= 5;
if (slave.fetishKnown === 1) {
if (slave.fetish === "pregnancy") {
r.push(`${He} secretly gets off at the thought of all the wombs ${he} will seed <span class="hotpink">and can't wait to get to work.</span>`);
slave.devotion += 1;
subSlaveLikedFetish = 1;
} else if (slave.fetish === "submissive") {
r.push(`${He} secretly enjoys the prospect of being pinned by mothers-to-be and milked to orgasm; <span class="hotpink">${he} needs it.</span>`);
slave.devotion += 1;
subSlaveLikedFetish = 1;
}
}
} else {
r.push(`is forced to serve as a sperm dispenser for your fertile slaves. Being taken advantage of in such a way <span class="hotpink">habituates ${him} to subservience</span> and <span class="gold">keeps ${him} fearful.</span>`);
slave.trust -= 2;
slave.devotion += 2;
if (slave.fetishKnown === 1) {
if (slave.fetish === "pregnancy") {
r.push(`${He} privately enjoys the prospect of fertilizing so many eggs <span class="hotpink">and accepts it.</span>`);
slave.devotion += 1;
subSlaveLikedFetish = 1;
} else if (slave.fetish === "masochist") {
r.push(`${He} privately enjoys the prospect of rough treatment <span class="hotpink">and accepts it.</span>`);
slave.devotion += 1;
subSlaveLikedFetish = 1;
} else if (slave.fetish === "submissive") {
r.push(`${He} privately enjoys the prospect of being treated as a mere tool <span class="hotpink">and accepts it.</span>`);
slave.devotion += 1;
subSlaveLikedFetish = 1;
}
}
}
} else {
r.push(`obediently seeds your fertile slaves. Being used as a stud <span class="hotpink">keeps ${him} in a good frame of mind</span> and <span class="mediumaquamarine">builds ${his} trust in you.</span>`);
slave.devotion += 2;
slave.trust += 2;
if (slave.fetishKnown === 1) {
if (slave.fetish === "pregnancy") {
r.push(`${He} <span class="hotpink">openly enjoys</span> getting the honor of fathering new slaves on your behalf.`);
slave.devotion += 1;
subSlaveLikedFetish = 1;
} else if (slave.fetish === "dom") {
r.push(`${He} <span class="hotpink">openly enjoys</span> the prospect of laying claim to any womb that comes ${his} way.`);
slave.devotion += 1;
subSlaveLikedFetish = 1;
}
}
}
}
/**
* @param {App.Entity.SlaveState} slave
* */
function cumdumpLife(slave) {
if (slave.devotion <= 20) {
if (slave.trust >= -20) {
r.push(`is forced to serve your other slaves' sexual needs by constant punishment. Being castigated and raped <span class="gold">frightens ${him} into obedience.</span>`);
slave.trust -= 5;
if (slave.sexualQuirk === "strugglefuck queen") {
r.push(`${He} secretly likes being raped <span class="hotpink">and wants more.</span>`);
slave.devotion += 1;
} else if (slave.sexualQuirk === "gagfuck queen") {
r.push(`${He} secretly enjoys the oral abuse <span class="hotpink">and wants more.</span>`);
slave.devotion += 1;
} else if (slave.sexualQuirk === "painal queen") {
r.push(`${He} secretly gets off on assrape <span class="hotpink">and wants more.</span>`);
slave.devotion += 1;
}
} else {
r.push(`is forced to serve your other slaves' sexual needs by ${his} fear. Being used on pain of punishment <span class="hotpink">habituates ${him} to subservience</span> and <span class="gold">keeps ${him} fearful.</span>`);
slave.trust -= 2;
slave.devotion += 2;
if (slave.sexualQuirk === "strugglefuck queen") {
r.push(`${He} privately likes being abused <span class="hotpink">and accepts it.</span>`);
slave.devotion += 1;
} else if (slave.sexualQuirk === "gagfuck queen") {
r.push(`${He} privately likes being an oral toy and <span class="hotpink">and accepts it.</span>`);
slave.devotion += 1;
} else if (slave.sexualQuirk === "painal queen") {
r.push(`${He} privately likes being an anal toy <span class="hotpink">and accepts it.</span>`);
slave.devotion += 1;
}
}
} else {
r.push(`obediently serves your other slaves' sexual needs. Being used as a sexual outlet for everyone <span class="hotpink">keeps ${him} in a good frame of mind.</span>`);
slave.devotion += 2;
if (slave.sexualQuirk === "strugglefuck queen") {
r.push(`${He} <span class="hotpink">openly enjoys</span> how other slaves can take whatever they want from ${him}.`);
slave.devotion += 1;
} else if (slave.sexualQuirk === "gagfuck queen") {
r.push(`${He} <span class="hotpink">openly enjoys</span> how other slaves can order ${him} to lick, suck or blow anything at all.`);
slave.devotion += 1;
} else if (slave.sexualQuirk === "painal queen") {
r.push(`${He} <span class="hotpink">openly enjoys</span> how other slaves can shove anything up ${his} butt without asking first.`);
slave.devotion += 1;
}
}
if (!canWalk(slave) && canMove(slave)) {
r.push(`Since ${he}'s forced to crawl around, ${he}'s especially vulnerable.`);
} else if (!canMove(slave)) {
r.push(`Since ${he}'s completely immobile, ${he}'s especially vulnerable.`);
}
if (V.subSlaves <= 0) {
V.subSlaves = 1;
}
if ((V.dormitoryPopulation + V.roomsPopulation - V.subSlaves) > 5) {
load = (V.subSlaves / (V.dormitoryPopulation + V.roomsPopulation - V.subSlaves));
if (load > 0.8) {
r.push(`Since there are enough other slaves servicing your stock alongside ${him}, ${he} sees limited action.`);
} else if (load > 0.5) {
r.push(`With ${his} servicing sisters, ${his} workload is reasonable and ${he} isn't overworked.`);
} else if (load > 0.2) {
r.push(`While ${he} may have support in servicing your stock, ${he} is <span class="red">overwhelmed by their collective need.</span>`);
if (slave.sexualFlaw === "self hating") {
r.push(`With so many other slaves taking advantage of ${his} body, ${his} life's purpose of <span class="hotpink">being nothing more than a piece of meat</span> has come true.`);
slave.devotion += 5;
} else if (slave.sexualFlaw === "attention whore") {
r.push(`With little competition for ${his} body and so many slaves eager to use ${him}, ${his} dreams of being the center of attention are <span class="hotpink">have come true.</span>`);
if (slave.weight < 10 && slave.belly < 100) {
if (canDoVaginal(slave) && slave.vagina > 0 && canDoAnal(slave) && slave.anus > 0) {
r.push(`${He} ends each day cradling ${his} cum swollen stomach, marveling at the "attention" bestowed upon ${him}.`);
} else if ((canDoVaginal(slave) && slave.vagina > 0) || (canDoAnal(slave) && slave.anus > 0)) {
r.push(`By the end of the day, ${his} stomach has a noticeable bulge to it from all the "attention" bestowed upon ${him}.`);
}
}
slave.devotion += 5;
} else if (slave.energy > 95) {
r.push(`With so many other slaves using ${his} body, ${his} <span class="hotpink">burning libido is finally sated.</span>`);
slave.devotion += 2;
}
} else {
r.push(`Since`);
if (V.subSlaves === 1) {
r.push(`${he} is the only slave`);
} else {
r.push(`there are so few other slaves`);
}
r.push(`servicing your stock, ${he} is used to the <span class="red">point of exhaustion.</span>`);
healthDamage(slave, 10);
if (App.EndWeek.saVars.averageDick > 5) {
if (canDoVaginal(slave) && slave.vagina > 0 && slave.vagina < 4) {
if ((slave.vagina * 40) - (App.EndWeek.saVars.averageDick * 5) < jsRandom(1, 100)) {
r.push(`So many huge dicks pistoning in and out of ${his} pussy <span class="lime">loosen ${him} up.</span>`);
slave.vagina++;
actX(slave, "vaginal", 3);
}
}
if (canDoAnal(slave) && slave.anus > 0 && slave.anus < 4) {
if ((slave.anus * 40) - (App.EndWeek.saVars.averageDick * 5) < jsRandom(1, 100)) {
r.push(`<span class="lime">${His} asshole is loosened</span> after being pounded by so many giant cocks.`);
slave.anus++;
actX(slave, "anal", 3);
}
}
}
if (slave.sexualFlaw === "self hating") {
r.push(`With so many other slaves taking advantage of ${his} body, ${his} life's purpose of <span class="hotpink">being nothing more than a piece of meat</span> has come true.`);
slave.devotion += 5;
} else if (slave.sexualFlaw === "attention whore") {
r.push(`With little competition for ${his} body and so many slaves eager to use ${him}, ${his} dreams of being the center of attention are <span class="hotpink">have come true.</span>`);
if (slave.weight < 10 && slave.belly < 100) {
if (canDoVaginal(slave) && slave.vagina > 0 && canDoAnal(slave) && slave.anus > 0) {
r.push(`${He} ends each day cradling ${his} cum swollen stomach, marveling at the "attention" bestowed upon ${him}.`);
} else if ((canDoVaginal(slave) && slave.vagina > 0) || (canDoAnal(slave) && slave.anus > 0)) {
r.push(`By the end of the day, ${his} stomach has a noticeable bulge to it from all the "attention" bestowed upon ${him}.`);
}
}
slave.devotion += 5;
} else if (slave.energy > 95) {
r.push(`With so many other slaves using ${his} body, ${his} <span class="hotpink">burning libido is finally sated.</span>`);
slave.devotion += 2;
}
}
} else {
r.push(`Since you have so few slaves in need of release, ${he} sees little action.`);
}
// added a min
fuckCount = Math.min(300, Math.ceil((((V.dormitoryPopulation + V.roomsPopulation) + jsRandom(((V.dormitoryPopulation + V.roomsPopulation) * 1), (V.dormitoryPopulation + V.roomsPopulation) * 7)) / V.subSlaves) * healthPenalty(slave)));
SimpleSexAct.Slave(slave, fuckCount);
}
/**
* @param {App.Entity.SlaveState} slave
* */
function subLife(slave) {
({
// eslint-disable-next-line no-unused-vars
he2, him2, his2, hers2, himself2, girl2, He2, His2, loli2
} = getPronouns(domSlave).appendSuffix('2'));
if (V.seeRace === 1) {
domRace = domSlave.race;
subRace = slave.race;
} else {
domRace = "";
subRace = "";
}
r.push(`is serving <strong>${domName}</strong> this week.`);
if (hasAnyLegs(domSlave) && !canMove(slave)) {
r.push(`Since ${subName} cannot move, ${domName} has no trouble taking whatever ${he2} wants from ${him}.`);
} else if (isAmputee(domSlave)) {
r.push(`Since ${he2} has no limbs, ${domName} has to put forth extra effort taking whatever ${he2} wants from ${subName}.`);
}
if (canPenetrate(domSlave)) {
if (slave.anus === 0 && canDoAnal(slave) && slave.vagina === 0 && canDoVaginal(slave)) {
r.push(`Of course, ${he2} respects ${subName}'s virgin holes and does not penetrate ${him}.`);
} else if (slave.anus === 0 && canDoAnal(slave)) {
r.push(`Of course, ${he2} respects ${subName}'s anal virginity and does not penetrate ${him} there.`);
} else if (slave.vagina === 0 && canDoVaginal(slave)) {
r.push(`Of course, ${he2} respects ${subName}'s virginity and does not penetrate ${his} pussy.`);
}
}
if (domSlave.fetishStrength > 60 && domSlave.fetish === "buttslut") {
domSlaveUsedFetish = 1;
if (canPenetrate(slave) && canDoAnal(domSlave) && (domSlave.anus !== 0)) {
if (slave.devotion < -20) {
if (domFetishKnown) {
r.push(`Since ${domName} loves anal,`);
} else {
r.push(`${domName}, it turns out, <span class="lightcoral">really likes anal,</span> so`);
domSlave.fetishKnown = 1;
}
r.push(`${subName} finds ${himself} forced to use ${his} stiff prick to please ${domName}'s insatiable ass. ${He} spends the week trying to avoid ${domName}, because ${domName} won't stop forcing ${him} to get ${his} ${subRace} dick hard so ${domName} can ride ${his2} ${domRace} butt up and down on it. <span class="hotpink">${domName} enjoys having ${his2} own personal cock for the week,</span> even if it does have to be persuaded.`);
} else if (slave.devotion <= 50) {
if (domFetishKnown) {
r.push(`Since ${domName} loves anal,`);
} else {
r.push(`${domName}, it turns out, <span class="lightcoral">really likes anal,</span> so`);
domSlave.fetishKnown = 1;
}
r.push(`${subName} finds ${himself} constantly asked to use ${his} stiff prick to please ${domName}'s insatiable ass. ${He} spends the week desperately trying to keep ${himself} hard, because ${domName} constantly expects ${his} ${subRace} dick to be erect so ${domName} can ride ${his2} ${domRace} butt up and down on it. <span class="hotpink">${domName} enjoys having ${his2} own personal cock for the week.</span>`);
} else {
if (domFetishKnown) {
r.push(`Since ${domName} loves anal and ${subName} has a stiff prick,`);
} else {
r.push(`${domName}, it turns out, <span class="lightcoral">really likes anal</span> and ${subName} has a stiff prick, so`);
domSlave.fetishKnown = 1;
}
r.push(`the two of them have good fun together.`);
if (hasAnyLegs(domSlave)) {
r.push(`${domName} pulls ${his2} anal ${girl}toy into bathrooms and corners constantly`);
} else {
r.push(`${domName} has ${his2} anal ${girl}toy hold ${his2}`);
if (isAmputee(domSlave)) {
r.push(`limbless`);
}
r.push(`torso`);
}
r.push(`so ${he2} can ride that ${subRace} dick with ${his2} ${domRace} butt. <span class="hotpink">${domName} enjoys a week of constant butt loving.</span>`);
}
penetrativeUse = jsRandom(9, 12);
slave.counter.penetrative += penetrativeUse;
V.penetrativeTotal += penetrativeUse;
domSlave.counter.anal += penetrativeUse;
V.analTotal += penetrativeUse;
if (canImpreg(domSlave, slave)) {
r.push(`${knockMeUp(domSlave, 30, 1, slave.ID, true)}`);
if (domSlave.pregKnown === 1) {
r.push(`With so many potent deposits into ${his2} fertile rear, it comes as little surprise when <span class="lime">${he2} ends up pregnant with ${subName}'s child.</span>`);
}
}
} else if (canDoAnal(domSlave)) {
if (slave.devotion < -20) {
if (domFetishKnown) {
r.push(`Since ${domName} loves anal,`);
} else {
r.push(`${domName}, it turns out, <span class="lightcoral">really likes anal,</span> so`);
domSlave.fetishKnown = 1;
}
r.push(`${subName} finds ${himself} forced to give analingus on command. ${He} spends the week trying to avoid servicing ${domName}'s insatiable ${domRace} ass with ${his} ${subRace} mouth, but ${domName} insists. <span class="hotpink">${domName} enjoys being able to force ${subName} to service ${his2} butt.</span>`);
} else if (slave.devotion <= 50) {
if (domFetishKnown) {
r.push(`Since ${domName} loves anal,`);
} else {
r.push(`${domName}, it turns out, <span class="lightcoral">really likes anal,</span> so`);
domSlave.fetishKnown = 1;
}
r.push(`${subName} finds ${himself} giving analingus on command. ${He} spends the week servicing ${domName}'s insatiable ${domRace} ass with ${his} ${subRace} mouth. <span class="hotpink">${domName} enjoys having ${his2} ass pleasured whenever ${he2} wants it.</span>`);
} else {
if (domFetishKnown) {
r.push(`Since ${domName} loves anal play,`);
} else {
r.push(`${domName}, it turns out, <span class="lightcoral">really likes anal play,</span> so`);
domSlave.fetishKnown = 1;
}
r.push(`${subName} lavishes attention on ${his2} butt. ${He} spends the week servicing ${domName}'s insatiable ${domRace} ass with ${his} ${subRace} mouth. <span class="hotpink">${domName} enjoys having an enthusiastic anal playmate.</span>`);
}
oralUse = jsRandom(9, 12);
domSlave.counter.anal += oralUse;
V.analTotal += oralUse;
slave.counter.oral += oralUse;
V.oralTotal += oralUse;
} else {
if (slave.devotion < -20) {
if (domFetishKnown) {
r.push(`Since ${domName} loves ${his2} rear,`);
} else {
r.push(`${domName}, it turns out, <span class="lightcoral">really likes ${his2} rear touched,</span> so`);
domSlave.fetishKnown = 1;
}
r.push(`${subName} finds ${himself} forced to`);
if (!hasAnyArms(slave)) {
r.push(`massage`);
} else {
r.push(`fondle`);
}
r.push(`it on command. ${He} spends the week trying to avoid servicing ${domName}'s ${domRace} ass with ${his} ${subRace}`);
if (!hasAnyArms(slave)) {
r.push(`face,`);
} else {
r.push(`${hands},`);
}
r.push(`but ${domName} insists. <span class="hotpink">${domName} enjoys being able to force ${subName} to service ${his2} butt.</span>`);
} else if (slave.devotion <= 50) {
if (domFetishKnown) {
r.push(`Since ${domName} loves ${his2} rear,`);
} else {
r.push(`${domName}, it turns out, <span class="lightcoral">really likes ${his2} rear touched,</span> so`);
domSlave.fetishKnown = 1;
}
r.push(`${subName} finds ${himself}`);
if (!hasAnyArms(slave)) {
r.push(`massaging`);
} else {
r.push(`fondling`);
}
r.push(`it on command. ${He} spends the week servicing ${domName}'s ${domRace} ass with ${his} ${subRace}`);
if (!hasAnyArms(slave)) {
r.push(`face.`);
} else {
r.push(`${hands}.`);
}
r.push(`<span class="hotpink">${domName} enjoys having ${his2} ass pleasured whenever ${he2} wants it.</span>`);
} else {
if (domFetishKnown) {
r.push(`Since ${domName} loves ${his2} rear played with,`);
} else {
r.push(`${domName}, it turns out, <span class="lightcoral">really likes ${his2} rear played with,</span> so`);
domSlave.fetishKnown = 1;
}
r.push(`${subName} lavishes attention on ${his2} butt. ${He} spends the week fondling ${domName}'s ${domRace} ass with ${his} ${subRace}`);
if (!hasAnyArms(slave)) {
r.push(`face.`);
} else {
r.push(`${hands}.`);
}
r.push(`<span class="hotpink">${domName} enjoys having a playmate so fond of ${his2} booty.</span>`);
}
}
if (slave.need && slave.fetish === "buttslut") {
if (slave.fetishKnown) {
r.push(`${subName} needs this kind of play to be truly sexually satisfied; this week, the ass-shaped hole in ${his} life was filled.`);
}
subSlaveLikedFetish = 1;
}
} else if (slave.devotion >= -20 && domSlave.fetish === "submissive" && domSlave.fetishStrength > 60) {
domSlaveUsedFetish = 1;
if (domFetishKnown) {
r.push(`${domName} loves to submit, and tells`);
} else {
r.push(`${domName}, it turns out, <span class="lightcoral">really likes submission,</span> so ${he2} tells`);
domSlave.fetishKnown = 1;
}
r.push(`${subName} to fuck ${him2}; when ${subName} asks how, ${domName} tells ${him} to take charge.`);
if (canPenetrate(slave)) {
penetrativeUse = jsRandom(9, 12);
if (isAmputee(slave)) {
if (canDoVaginal(domSlave) && domSlave.vagina !== 0) {
r.push(`${domName} finds ${himself2} under the weight of ${subName}'s limbless body and ${his2} ${domRace} slit accommodating an eager ${subRace} cock. Afterward, ${domName} lavishes kisses on ${his2} satisfactory top for ${his} efforts. ${domName} <span class="hotpink">enjoys a week of constant submission,</span> and even though ${he}'s technically being used, ${subName} <span class="hotpink">doesn't mind</span> being expected to fuck a willing pussy.`);
domSlave.counter.vaginal += penetrativeUse;
V.vaginalTotal += penetrativeUse;
if (canImpreg(domSlave, slave)) {
r.push(`${knockMeUp(domSlave, 30, 0, slave.ID, true)}`);
if (domSlave.pregKnown === 1) {
r.push(`With so many potent loads kissing ${his2} cervix, it comes as little surprise when <span class="lime">${he2} ends up pregnant with ${subName}'s child.</span>`);
}
}
} else if (canDoAnal(domSlave) && domSlave.anus !== 0) {
r.push(`${domName} finds ${himself2} under the weight of ${subName}'s limbless body and ${his2} ${domRace} ass accommodating an eager ${subRace} cock. Afterward, ${domName} lavishes kisses on ${his2} satisfactory top for ${his} efforts. ${domName} <span class="hotpink">enjoys a week of constant submission,</span> and even though ${he}'s technically being used, ${subName} <span class="hotpink">doesn't mind</span> being expected to fuck a willing asshole.`);
domSlave.counter.anal += penetrativeUse;
V.analTotal += penetrativeUse;
if (canImpreg(domSlave, slave)) {
r.push(`${knockMeUp(domSlave, 30, 1, slave.ID, true)}`);
if (domSlave.pregKnown === 1) {
r.push(`With so many potent deposits into ${his2} fertile rear, it comes as little surprise when <span class="lime">${he2} ends up pregnant with ${subName}'s child.</span>`);
}
}
} else {
r.push(`${domName} finds ${his2} head under the weight of ${subName}'s limbless body and ${his2} ${domRace} face accommodating an eager ${subRace} cock. Afterward, ${domName} lavishes kisses on ${his2} satisfactory top for ${his} efforts. ${domName} <span class="hotpink">enjoys a week of constant submission,</span> and even though ${he}'s technically being used, ${subName} <span class="hotpink">doesn't mind</span> being expected to fuck a willing asshole.`);
domSlave.counter.oral += penetrativeUse;
V.oralTotal += penetrativeUse;
}
} else {
if (canDoVaginal(domSlave) && domSlave.vagina !== 0) {
r.push(`${domName} finds ${himself2} with ${his2} face pushed firmly into ${his2} bedsheets and ${his2} ${domRace} slit accommodating ${subName}'s eager ${subRace} cock. Afterward, ${domName} lavishes kisses on ${his2} satisfactory top. ${domName} <span class="hotpink">enjoys a week of constant submission,</span> and even though ${he}'s technically being used, ${subName} <span class="hotpink">doesn't mind</span> being expected to fuck a willing pussy.`);
domSlave.counter.vaginal += penetrativeUse;
V.vaginalTotal += penetrativeUse;
if (canImpreg(domSlave, slave)) {
r.push(`${knockMeUp(domSlave, 30, 0, slave.ID)}`);
if (domSlave.pregKnown === 1) {
r.push(`With so many potent loads kissing ${his2} cervix, it comes as little surprise when <span class="lime">${he2} ends up pregnant with ${subName}'s child.</span>`);
}
}
} else if (canDoAnal(domSlave) && domSlave.anus !== 0) {
r.push(`${domName} finds ${himself2} with ${his2} face pushed firmly into ${his2} bedsheets and ${his2} ${domRace} ass accommodating ${subName}'s eager ${subRace} cock. Afterward, ${domName} lavishes kisses on ${his2} satisfactory top. ${domName} <span class="hotpink">enjoys a week of constant submission,</span> and even though ${he}'s technically being used, ${subName} <span class="hotpink">doesn't mind</span> being expected to fuck a willing asshole.`);
domSlave.counter.anal += penetrativeUse;
V.analTotal += penetrativeUse;
if (canImpreg(domSlave, slave)) {
r.push(`${knockMeUp(domSlave, 30, 1, slave.ID)}`);
if (domSlave.pregKnown === 1) {
r.push(`With so many potent deposits into ${his2} fertile rear, it comes as little surprise when <span class="lime">${he2} ends up pregnant with ${subName}'s child.</span>`);
}
}
} else {
r.push(`${domName} finds ${himself2} with ${his2} face pushed firmly into ${subName}'s crotch and ${his2} ${domRace} face accommodating an eager ${subRace} cock. Afterward, ${domName} lavishes kisses on ${his2} satisfactory top. ${domName} <span class="hotpink">enjoys a week of constant submission,</span> and even though ${he}'s technically being used, ${subName} <span class="hotpink">doesn't mind</span> being expected to fuck a willing asshole.`);
domSlave.counter.oral += penetrativeUse;
V.oralTotal += penetrativeUse;
}
}
slave.counter.penetrative += oralUse;
V.penetrativeTotal += oralUse;
} else if (slave.clit > 2) {
if (isAmputee(slave)) {
r.push(`${domName} finds ${himself2} pinned by the weight of ${subName}'s limbless body and ${his} quickly hardening ${subRace} clit being pushed eagerly into ${his2} ${domRace} mouth. Afterward, ${domName} lavishes kisses on ${his2} satisfactory top for ${his} efforts.`);
} else {
r.push(`${domName} finds ${himself2} with ${his2} back pushed firmly into ${his2} bedsheets and ${subName}'s quickly hardening clit being pushed eagerly into ${his2} mouth. Afterward, ${domName} lavishes kisses on ${his2} satisfactory top.`);
}
r.push(`${domName} <span class="hotpink">enjoys a week of constant submission,</span> and even though ${he}'s technically being used, ${subName} <span class="hotpink">doesn't mind</span> constant oral attention.`);
penetrativeUse = jsRandom(9, 12);
domSlave.counter.oral += penetrativeUse;
V.oralTotal += penetrativeUse;
slave.counter.penetrative += penetrativeUse;
V.penetrativeTotal += penetrativeUse;
} else {
if (isAmputee(slave)) {
if (canDoVaginal(domSlave)) {
r.push(`${domName} finds ${himself2} under the weight of ${subName}'s limbless body and ${his2} ${domRace} slit molested by an eager tongue. Afterward, ${domName} lavishes kisses on ${his2} satisfactory top for ${his} efforts. ${domName} <span class="hotpink">enjoys a week of constant submission,</span> and even though ${he}'s technically being used, ${subName} <span class="hotpink">doesn't mind</span> being expected to torment a willing pussy.`);
oralUse = jsRandom(9, 12);
domSlave.counter.vaginal += oralUse;
V.vaginalTotal += oralUse;
slave.counter.vaginal += penetrativeUse;
V.vaginalTotal += penetrativeUse;
} else if (!(domSlave.chastityPenis) && domSlave.dick > 0) {
r.push(`${domName} finds ${himself2} under the weight of ${subName}'s limbless body with the tight embrace of ${subRace} lips around ${his2} ${domRace} cock. Afterward, ${domName} lavishes kisses on ${his2} satisfactory top for ${his} efforts. ${domName} <span class="hotpink">enjoys a week of constant submission,</span> and even though ${he}'s technically being used, ${subName} <span class="hotpink">doesn't mind</span> being expected to torment a willing dick.`);
oralUse = jsRandom(9, 12);
domSlave.counter.penetrative += oralUse;
V.penetrativeTotal += oralUse;
slave.counter.oral += penetrativeUse;
V.oralTotal += penetrativeUse;
} else {
r.push(`${domName} finds ${himself2} under the weight of ${subName}'s limbless body and`);
if (domSlave.boobs >= 300) {
r.push(`${his2} ${domRace} tits`);
} else {
r.push(`${his2} ${nippleColor(domSlave)} nipples`);
}
r.push(`under attack by an eager mouth. Afterward, ${domName} lavishes kisses on ${his2} satisfactory top for ${his} efforts. ${domName} <span class="hotpink">enjoys a week of constant submission,</span> and even though ${he}'s technically being used, ${subName} <span class="hotpink">doesn't mind</span> being expected to play with a willing chest.`);
oralUse = jsRandom(9, 12);
domSlave.counter.mammary += oralUse;
V.mammaryTotal += oralUse;
slave.counter.oral += penetrativeUse;
V.oralTotal += penetrativeUse;
}
} else {
if (canDoVaginal(domSlave) && domSlave.vagina !== 0) {
r.push(`${domName} finds ${himself2} with ${his2} face pushed firmly into ${his2} bedsheets and ${his2} ${domRace} slit accommodating ${subName}'s thrusting ${subRace} fingers. Afterward, ${domName} lavishes kisses on ${his2} satisfactory top. ${domName} <span class="hotpink">enjoys a week of constant submission,</span> and even though ${he}'s technically being used, ${subName} <span class="hotpink">doesn't mind the fun.</span>`);
fuckCount = jsRandom(9, 12);
domSlave.counter.vaginal += fuckCount;
V.vaginalTotal += fuckCount;
} else if (canDoAnal(domSlave) && domSlave.anus !== 0) {
r.push(`${domName} finds ${himself2} with ${his2} face pushed firmly into ${his2} bedsheets and ${his2} ${domRace} ass accommodating ${subName}'s thrusting ${subRace} fingers. Afterward, ${domName} lavishes kisses on ${his2} satisfactory top. ${domName} <span class="hotpink">enjoys a week of constant submission,</span> and even though ${he}'s technically being used, ${subName} <span class="hotpink">doesn't mind the fun.</span>`);
fuckCount = jsRandom(9, 12);
domSlave.counter.anal += fuckCount;
V.analTotal += fuckCount;
} else {
r.push(`${domName} finds ${himself2} pushed firmly into ${his2} bedsheets and ${his2}`);
if (domSlave.boobs >= 300) {
r.push(`${domRace} tits`);
} else {
r.push(`${nippleColor(domSlave)} nipples`);
}
r.push(`being roughly handled by ${subName}'s ${subRace} fingers. Afterward, ${domName} lavishes kisses on ${his2} satisfactory top. ${domName} <span class="hotpink">enjoys a week of constant submission,</span> and even though ${he}'s technically being used, ${subName} <span class="hotpink">doesn't mind the fun.</span>`);
fuckCount = jsRandom(9, 12);
domSlave.counter.mammary += fuckCount;
V.mammaryTotal += fuckCount;
}
}
}
if (slave.need && slave.fetish === "dom") {
if (slave.fetishKnown) {
r.push(`${subName} needs this kind of power to be truly sexually satisfied; this week, ${his} desire to control is sated.`);
}
subSlaveLikedFetish = 1;
}
slave.devotion += 1;
} else if (slave.devotion >= -20 && domSlave.fetishStrength > 60 && domSlave.fetish === "dom" && canWalk(domSlave)) {
domSlaveUsedFetish = 1;
if (domFetishKnown) {
r.push(`${domName} loves to dominate,`);
} else {
r.push(`${domName}, it turns out, <span class="lightcoral">really likes domination,</span>`);
domSlave.fetishKnown = 1;
}
r.push(`and the first indication ${subName} gets of what ${he}'s in for this week is when ${domName} ambushes ${him} in the dormitory, tackles ${him} from behind, and`);
if (isAmputee(slave)) {
r.push(`bursts out`);
if (canTalk(domSlave)) {
r.push(`laughing`);
} else {
r.push(`in silent laughter`);
}
r.push(`at ${his} inability to right ${himself} without limbs.`);
} else {
r.push(`hogties ${him} with sheets.`);
}
r.push(`${subName} wriggles a little but doesn't really start to attempt escape until ${domName} begins to carefully tease ${his} ${subRace}`);
if (slave.dick > 0 && !(slave.chastityPenis)) {
r.push(`dickhead,`);
} else if (slave.clit > 0) {
r.push(`clit,`);
} else if (canDoVaginal(slave)) {
r.push(`pussy,`);
} else {
r.push(`nipples,`);
}
r.push(`edging ${him} right up to the point of orgasm and making ${him} beg. It's a long but <span class="hotpink">obedience-building</span> week for ${subName}, and ${domName} certainly <span class="hotpink">enjoys ${his2} toy.</span>`);
slave.devotion += 1;
if (slave.need && slave.fetish === "submissive") {
if (slave.fetishKnown) {
r.push(`${subName} needs this kind of treatment to be truly sexually satisfied; this week, ${his} desire to be controlled is sated.`);
}
subSlaveLikedFetish = 1;
}
} else if (domSlave.fetishStrength > 60 && domSlave.fetish === "sadist" && canWalk(domSlave)) {
domSlaveUsedFetish = 1;
if (domFetishKnown) {
r.push(`${domName} loves to inflict pain,`);
} else {
r.push(`${domName}, it turns out, <span class="lightcoral">really likes inflicting pain,</span>`);
domSlave.fetishKnown = 1;
}
r.push(`and the first indication ${subName} gets of what ${he}'s in for this week is when ${domName} ambushes ${him} in the dormitory, tackles ${him} from behind, and hogties ${him} with sheets.`);
if (canTalk(domSlave)) {
r.push(`${domName} bends close to the immobilized ${subName}'s ear and whispers to ${him} that ${he} might as well scream.`);
} else {
r.push(`${domName} carefully uses gestures to communicate to ${him} that ${he} might as well scream.`);
}
r.push(`${subName}'s struggles to escape become desperate at this, and more desperate still when the week's first <span class="red">beating</span> starts. Later, ${he} tries going limp and unresistant, but that just makes the annoyed ${domName} beat ${his2} pain slave all the harder until ${he2} gets a reaction again. It's a long and <span class="hotpink">will breaking</span> week for ${subName}, and ${domName} certainly <span class="hotpink">enjoys torturing ${his2} toy.</span>`);
slave.devotion += 1;
healthDamage(slave, 3);
if (slave.need && slave.fetish === "masochist") {
if (slave.fetishKnown) {
r.push(`${subName} needs this kind of treatment to be truly sexually satisfied; this week, ${his} desire for abuse is sated.`);
}
subSlaveLikedFetish = 1;
}
} else if (domSlave.fetishStrength > 60 && domSlave.fetish === "masochist" && hasAnyLimbs(slave)) {
domSlaveUsedFetish = 1;
if (domFetishKnown) {
r.push(`${domName} loves pain,`);
} else {
r.push(`${domName}, it turns out, <span class="lightcoral">really likes pain,</span>`);
domSlave.fetishKnown = 1;
}
r.push(`and the first indication ${subName} gets of what ${he}'s in for this week is when ${domName}`);
if (canHold(domSlave)) {
r.push(`hands ${him}`);
} else if (canTalk(domSlave)) {
r.push(`orders ${him} to pick up`);
} else {
r.push(`gestures at`);
}
if (domFetishKnown) {
r.push(`${his2} favorite`);
} else {
r.push(`a`);
}
r.push(`crop and implores ${subName} to punish ${him2}; ${domName} has been bad and ${subName} needs to teach ${him2} a lesson. ${subName} spends a long and <span class="trust inc">empowering</span> week learning new ways to <span class="red">inflict pain</span> on someone, not that the <span class="hotpink">thoroughly bruised ${domName} will complain.</span>`);
slave.trust += 1;
healthDamage(domSlave, 3);
if (slave.need && slave.fetish === "sadist") {
if (slave.fetishKnown) {
r.push(`${subName} needs this kind of play to be truly sexually satisfied; this week, ${his} desire to abuse is sated.`);
}
subSlaveLikedFetish = 1;
}
} else if (domSlave.fetishStrength > 60 && domSlave.fetish === "boobs" && domSlave.boobs >= 300) { // I require flat content - focus on subSlave's tits unless she too is flat.
domSlaveUsedFetish = 1;
if (domSlave.nipples === "fuckable" && canPenetrate(slave)) {
if (domFetishKnown) {
r.push(`Since ${domName} loves to have ${his2} nipples fucked,`);
} else {
r.push(`${domName}, it turns out, <span class="lightcoral">really likes having ${his2} nipples fucked,</span> so`);
domSlave.fetishKnown = 1;
}
r.push(`${subName} spends the week getting to use ${his} dick for a change. ${subName}'s ${subRace} body thrusting into ${domName}'s supple ${domRace} breasts is a frequent sight as ${domName} takes ${his2} pleasure. <span class="hotpink">${domName} enjoys being able to use ${subName}.</span>`);
penetrativeUse = jsRandom(9, 12);
domSlave.counter.mammary += penetrativeUse;
V.mammaryTotal += penetrativeUse;
slave.counter.penetrative += penetrativeUse;
V.penetrativeTotal += penetrativeUse;
} else if (domSlave.lactation > 0) {
if (domFetishKnown) {
r.push(`Since ${domName} loves giving milk,`);
} else {
r.push(`${domName}, it turns out, <span class="lightcoral">really likes giving milk,</span> so`);
domSlave.fetishKnown = 1;
}
if (slave.devotion < -20) {
r.push(`${subName} finds ${himself} forced to nurse. ${He} spends the week trying to avoid guzzling down milk from ${domName}'s ${nippleColor(domSlave)} ${domRace} nipples with ${his} ${subRace} mouth, but ${domName} insists. <span class="hotpink">${domName} enjoys being able to force ${subName} to drink from ${him2}.</span>`);
} else if (slave.devotion <= 50) {
r.push(`${subName} finds ${himself} constantly nursing. ${He} spends the week obediently taking milk from ${domName}'s ${nippleColor(domSlave)} ${domRace} nipples with ${his} ${subRace} mouth, to ${domName}'s motherly satisfaction. <span class="hotpink">${domName} enjoys having ${subName} to drink from ${him2} whenever ${he2} feels overfull.</span>`);
} else {
r.push(`${subName} constantly nurses from ${him2}. ${He} spends the week happily taking milk from ${domName}'s ${nippleColor(domSlave)} ${domRace} nipples with ${his} hungry ${subRace} mouth, to ${domName}'s motherly delight. <span class="hotpink">${domName} loves having ${subName} to feed and fill.</span>`);
}
} else {
if (domFetishKnown) {
r.push(`Since ${domName} loves having ${his2} breasts attended to,`);
} else {
r.push(`${domName}, it turns out, <span class="lightcoral">really likes having ${his2} breasts touched,</span> so`);
domSlave.fetishKnown = 1;
}
if (slave.devotion < -20) {
r.push(`${subName} finds ${himself} forced to`);
if (!hasAnyArms(slave)) {
r.push(`nuzzle and suck.`);
} else {
r.push(`knead, massage, and even suck.`);
}
r.push(`${He} spends the week trying to avoid servicing ${domName}'s ${domRace} breasts with ${his} ${subRace}`);
if (!hasAnyArms(slave)) {
r.push(`face,`);
} else {
r.push(`${hands},`);
}
r.push(`but ${domName} insists. <span class="hotpink">${domName} enjoys being able to force ${subName} to see to ${his2} tits.</span>`);
} else if (slave.devotion <= 50) {
r.push(`${subName} finds ${himself}`);
if (!hasAnyArms(slave)) {
r.push(`nuzzling and sucking.`);
} else {
r.push(`kneading, massaging, and even sucking.`);
}
r.push(`${He} spends the week obediently servicing ${domName}'s ${domRace} breasts with ${his} ${subRace}`);
if (!hasAnyArms(slave)) {
r.push(`face,`);
} else {
r.push(`${hands},`);
}
r.push(`to ${domName}'s languorous pleasure. <span class="hotpink">${domName} enjoys having ${subName} to see to ${his2} tits.</span>`);
} else {
r.push(`${subName} pampers ${his2} breasts shamelessly. ${He} spends the week devotedly massaging ${domName}'s ${domRace} breasts with ${his} ${subRace}`);
if (!hasAnyArms(slave)) {
r.push(`face,`);
} else {
r.push(`${hands},`);
}
r.push(`sucking lovingly at ${his2} nipples, and caring for everything with lotions and`);
if (!hasAnyArms(slave)) {
r.push(`oils (as best ${he} can without hands).`);
} else {
r.push(`oils.`);
}
r.push(`They sleep together so that ${subName} can`);
if (!hasAnyArms(slave)) {
r.push(`snuggle into ${his2} bust`);
} else {
r.push(`hold ${his2} boobs`);
}
r.push(`as ${he} goes to sleep, which sometimes results in less sleep for both as the breast play continues long into the night. <span class="hotpink">${domName} enjoys having ${subName} to see to ${his2} tits.</span>`);
}
}
if (domSlave.lactation > 0) {
domSlave.lactationDuration = 2;
domSlave.boobs -= domSlave.boobsMilk;
domSlave.boobsMilk = 0;
}
oralUse = jsRandom(9, 12);
domSlave.counter.mammary += oralUse;
V.mammaryTotal += oralUse;
if (slave.need && slave.fetish === "boobs") {
if (slave.fetishKnown) {
r.push(`${subName} needs this kind of play to be truly sexually satisfied; this week,`);
if (slave.boobs < 400) {
r.push(`the breast-shaped holes in ${his} life were filled.`);
} else {
r.push(`${his} desire for more tits in ${his} life was sated.`);
}
}
subSlaveLikedFetish = 1;
}
} else if (slave.balls !== 0 && ((slave.chastityPenis === 0 && slave.dick > 0) || (slave.chastityVagina === 0)) && domSlave.fetishStrength > 60 && domSlave.fetish === "cumslut") {
domSlaveUsedFetish = 1;
if (canAchieveErection(slave)) {
if (domFetishKnown) {
r.push(`Since ${domName} loves cum, and ${subName} has a dick,`);
} else {
r.push(`${domName}, it turns out, <span class="lightcoral">really likes cum,</span> and ${subName} has a dick, so`);
domSlave.fetishKnown = 1;
}
r.push(`${domName} has ${his2} own private semen dispenser. ${domName} sometimes gets tired of having to work hard for cum, so ${he2} spends the week`);
if (hasAnyArms(domSlave)) {
r.push(`stimulating poor ${subName}'s`);
} else {
r.push(`ordering ${subName} to stimulate ${his} own`);
}
if (slave.prostate) {
r.push(`prostate`);
} else {
r.push(`balls`);
}
r.push(`to force ${him} to climax so ${domName} can wrap ${his2} ${domRace} lips around ${subName}'s ${subRace} dickhead to suck down ${his2} cum. <span class="hotpink">${domName} enjoys having a servile dick on demand.</span>`);
} else if (slave.dick > 0 && !canAchieveErection(slave)) {
if (domFetishKnown) {
r.push(`Since ${domName} loves cum, and ${subName} has a dick,`);
} else {
r.push(`${domName}, it turns out, <span class="lightcoral">really likes cum,</span> and ${subName} has a dick, so`);
domSlave.fetishKnown = 1;
}
r.push(`${domName} has ${his2} own private semen dispenser, even if it's rather limp. ${domName} sometimes gets tired of having to work hard for cum, so ${he2} spends the week making ${subName} painstakingly bring ${his} flaccid dick almost to orgasm before ${domName} wraps ${his2} ${domRace} lips around ${subName}'s ${subRace} soft dickhead to suck down the cum. <span class="hotpink">${domName} enjoys having a servile dick on demand.</span>`);
} else {
if (domFetishKnown) {
r.push(`Since ${domName} loves cum, and ${subName} has balls,`);
} else {
r.push(`${domName}, it turns out, <span class="lightcoral">really likes cum,</span> and ${subName} has balls, so`);
domSlave.fetishKnown = 1;
}
r.push(`${domName} has ${his2} own private semen dispenser. ${domName} sometimes gets tired of having to work hard for cum, so ${he2} spends the week`);
if (hasAnyArms(domSlave)) {
r.push(`stimulating poor ${subName}'s`);
} else {
r.push(`ordering ${subName} to stimulate ${his} own`);
}
if (slave.prostate) {
r.push(`prostate`);
} else {
r.push(`balls`);
}
r.push(`to force ${him} to climax so ${domName} can plant ${his2} ${domRace} lips overs ${subName}'s ${subRace}`);
if (slave.vagina >= 0) {
r.push(`urethra`);
} else {
r.push(`smooth crotch`);
}
r.push(`to catch ${his} cum. <span class="hotpink">${domName} enjoys having ${his2} little sperm fountain.</span>`);
}
penetrativeUse = jsRandom(9, 12);
domSlave.counter.oral += penetrativeUse;
V.oralTotal += penetrativeUse;
} else if (domSlave.fetishStrength > 60 && domSlave.fetish === "humiliation" && hasAnyLegs(slave)) {
domSlaveUsedFetish = 1;
if (domFetishKnown) {
r.push(`Since ${domName} loves being degraded, and`);
} else {
r.push(`${domName}, it turns out, <span class="lightcoral">really likes being degraded,</span> so`);
domSlave.fetishKnown = 1;
}
r.push(`the first indication ${subName} gets of what ${he}'s in for this week is when ${domName}`);
if (canWalk(domSlave)) {
r.push(`escorts ${him} to the cafeteria for lunch`);
} else {
r.push(`begs to be taken to the cafeteria for lunch`);
}
r.push(`and settles ${himself2}`);
if (hasBothLegs(slave)) {
r.push(`between ${subName}'s legs,`);
} else {
r.push(`in ${subName}'s crotch,`);
}
r.push(`before asking for ${his2} portion to be plated appropriately. ${subName} struggles to eat`);
if (slave.dick > 0) {
if (slave.chastityPenis) {
r.push(`with an eager tongue probing the gaps around ${his} chastity cage trying to gather every last drop of slave food.`);
} else {
r.push(`while ${his}`);
if (slave.dick === 1) {
r.push(`tiny`);
} else if (slave.dick === 2) {
r.push(`cute`);
} else if (slave.dick === 3) {
r.push(`average`);
} else if (slave.dick === 4) {
r.push(`big`);
} else if (slave.dick === 5) {
r.push(`impressive`);
} else if (slave.dick === 6) {
r.push(`huge`);
} else if (slave.dick === 7) {
r.push(`gigantic`);
} else if (slave.dick === 8) {
r.push(`titanic`);
} else if (slave.dick === 9) {
r.push(`absurd`);
} else if (slave.dick === 10) {
r.push(`inhuman`);
} else {
r.push(`immense`);
}
if (canAchieveErection(slave)) {
r.push(`erection`);
} else {
r.push(`dick`);
}
r.push(`is licked clean of any slave food clinging to it.`);
if (domSlave.skills.oral - ((slave.dick * 15) - 20) >= 0) {
r.push(`${subName} practically throws ${his} cup when ${domName} sucks the entire length of ${his} dick into ${his2} mouth and down ${his2} throat, and`);
} else {
r.push(`${subName} shudders as ${domName} wraps ${his2} lips around ${his} cockhead and`);
}
r.push(`struggles to maintain any sense of composure as ${domName} works for ${his2} dessert.`);
if (slave.ballType !== "sterile" && slave.balls > 0) {
r.push(`The stimulation inevitably sends ${him} over the edge,`);
if (slave.vasectomy) {
r.push(`forcing ${him} to buck and ram ${his} cock a little too far into ${domName}.`);
} else if (slave.balls >= 30 || slave.prostate > 2) {
r.push(`unleashing a massive spurt down ${domName}'s throat. ${domName} gags and pulls back, receiving the rest of ${subName}'s load across ${his2} face and body. ${domName} couldn't even come close to hiding what happened — just the way ${he2} likes it.`);
} else if (slave.balls >= 10) {
r.push(`filling ${domName}'s throat with such volume it sprays out ${his2} nose. ${domName} stands no chance of cleaning ${himself2} up without being seen — quite enjoyable, really.`);
} else {
r.push(`giving ${domName} a cum chaser to ${his2} meal.`);
}
} else {
r.push(`But alas, ${subName}'s dispenser has nothing to give ${domName}, so ${his2} efforts are in vain — and in a way, ${he2} prefers it that way.`);
}
}
penetrativeUse = 7;
domSlave.counter.oral += penetrativeUse;
V.oralTotal += penetrativeUse;
slave.counter.penetrative += penetrativeUse;
V.penetrativeTotal += penetrativeUse;
} else if (slave.scrotum > 0) {
r.push(`while ${his}`);
if (slave.balls === 0) {
r.push(`empty ballsack is`);
} else if (slave.balls === 1) {
r.push(`tiny balls are`);
} else if (slave.balls === 2) {
r.push(`small balls are`);
} else if (slave.balls === 3) {
r.push(`balls are`);
} else if (slave.balls === 4) {
r.push(`big balls are`);
} else if (slave.balls === 5) {
r.push(`lemon-sized balls are`);
} else if (slave.balls < 9) {
r.push(`fist-sized balls are`);
} else if (slave.balls < 14) {
r.push(`softball-sized balls are`);
} else if (slave.balls < 30) {
r.push(`melon-sized balls are`);
} else {
r.push(`${his} hypertrophied balls are`);
}
r.push(`licked and sucked clean of slave food.`);
if (slave.ballType !== "sterile") {
r.push(`The stimulation inevitably sends ${him} over the edge,`);
if (slave.vasectomy) {
r.push(`forcing ${him} to buck and smacking ${domName} into the underside of the table, spilling ${his} cup.`);
} else if (slave.balls >= 30 || slave.prostate > 2) {
r.push(`unleashing a veritable flood of semen across ${his} nuts. ${domName} sighs a little as ${his2} meal washes away, but sets to work on cleaning up the new mess all the same.`);
} else if (slave.balls >= 10) {
r.push(`completely refilling ${domName}'s makeshift bowl with a heavy second course — not that ${he2}'d complain.`);
} else {
r.push(`adding a mix of semen into ${domName}'s meal — which ${he2} wastes no time in lapping up.`);
}
}
fuckCount = 7;
domSlave.counter.oral += fuckCount;
V.oralTotal += fuckCount;
} else if (canDoVaginal(slave)) {
r.push(`while ${his} pussy is being invaded by drops of slave food and the tongue pursuing them.`);
if (slave.clit > 2) {
r.push(`${subName} practically throws ${his} cup when ${domName} sucks the entire length of ${his} clit into ${his2} mouth.`);
}
fuckCount = 7;
domSlave.counter.oral += fuckCount;
V.oralTotal += fuckCount;
slave.counter.penetrative += fuckCount;
V.vaginalTotal += fuckCount;
} else {
r.push(`with an eager tongue roaming ${his} thighs, pubic mound, and taint trying to lap up the slave food before it slips away.`);
fuckCount = 7;
domSlave.counter.oral += fuckCount;
V.oralTotal += fuckCount;
}
r.push(`The lewdness emanating from beneath the table is not lost on the other diners, <span class="hotpink">much to ${domName}'s enjoyment.</span>`);
if (slave.need && slave.fetish === "humiliation") {
if (slave.fetishKnown) {
r.push(`${subName} needs this kind of exposure to be truly sexually satisfied; this week, ${his} desire for public sex is sated.`);
}
subSlaveLikedFetish = 1;
}
} else if (domSlave.fetishStrength > 60 && domSlave.fetish === "pregnancy") {
domSlaveUsedFetish = 1;
if (canImpreg(slave, domSlave)) {
if (domFetishKnown) {
r.push(`${domName} loves pregnancy, and`);
} else {
r.push(`${domName}, it turns out, <span class="lightcoral">really likes pregnancy,</span> so`);
domSlave.fetishKnown = 1;
}
r.push(`the first indication ${subName} gets of what ${he}'s in for this week is when ${domName}`);
if (hasAnyArms(domSlave)) {
r.push(`pushes ${him} down,`);
} else if (hasBothLegs(slave)) {
r.push(`bends ${him} over,`);
}
r.push(`mounts ${his} fertile ${slave.mpreg > 0 ? "ass" : ""}pussy and lets loose the first of many loads. ${subName} spends the week being thoroughly bred until ${domName}'s potent sperm <span class="hotpink">achieves ${his2} goal,</span> and then a bit more for good measure.`);
r.push(`${knockMeUp(slave, 100, 2, domSlave.ID)}`);
fuckCount = jsRandom(10, 16);
if (slave.mpreg > 0) {
analUse = fuckCount;
domSlave.counter.penetrative += fuckCount;
V.penetrativeTotal += fuckCount;
slave.counter.anal += fuckCount;
V.analTotal += fuckCount;
} else {
vaginalUse = fuckCount;
domSlave.counter.penetrative += fuckCount;
V.penetrativeTotal += fuckCount;
slave.counter.vaginal += fuckCount;
V.vaginalTotal += fuckCount;
}
} else if (domSlave.pregKnown === 1 || slave.belly > 10000 || slave.bellyPreg >= 1500) {
if (domSlave.pregKnown === 1) {
if (domFetishKnown) {
r.push(`Since ${domName} is pregnant,`);
} else {
r.push(`${domName}, it turns out, <span class="lightcoral">really likes ${his2} pregnancy,</span> so`);
domSlave.fetishKnown = 1;
}
if (slave.devotion < -20) {
r.push(`${subName} finds ${himself} forced to`);
if (!hasAnyArms(slave)) {
r.push(`nuzzle and lick`);
} else {
r.push(`massage, rub, and even tongue`);
}
r.push(`${his2} ${bellyAdjective(domSlave)} middle. ${He} spends the week trying to avoid contact with ${domName}'s ${domRace} belly with ${his} ${subRace}`);
if (!hasAnyArms(slave)) {
r.push(`face,`);
} else {
r.push(`${hands},`);
}
r.push(`but ${domName} insists. <span class="hotpink">${domName} enjoys being able to force ${subName} to attend to ${his2} gravidity.</span>`);
} else if (slave.devotion <= 50) {
r.push(`${subName} finds ${himself}`);
if (!hasAnyArms(slave)) {
r.push(`nuzzling and licking`);
} else {
r.push(`massaging, rubbing, and even licking`);
}
r.push(`${his2} ${bellyAdjective(domSlave)} middle. ${He} spends the week obediently servicing ${domName}'s ${domRace} belly with ${his} ${subRace}`);
if (!hasAnyArms(slave)) {
r.push(`face,`);
} else {
r.push(`${hands},`);
}
r.push(`to ${domName}'s languorous pleasure. <span class="hotpink">${domName} enjoys having ${subName} to attend to ${his2} gravidity.</span>`);
} else {
r.push(`${subName} pampers ${his2} ${bellyAdjective(domSlave)} middle shamelessly. ${He} spends the week devotedly massaging ${domName}'s ${domRace} middle with ${his} ${subRace}`);
if (!hasAnyArms(slave)) {
r.push(`face,`);
} else {
r.push(`${hands},`);
}
r.push(`lovingly teasing ${his2} ${domName.belly > 10000 ? "popped" : ""} navel, and staving off stretch marks with lotions and`);
if (!hasAnyArms(slave)) {
r.push(`oils (as best ${he} can without hands).`);
} else {
r.push(`oils.`);
}
r.push(`They sleep together so that ${subName} can`);
if (!hasAnyArms(slave)) {
r.push(`snuggle against ${his2} stomach`);
} else {
r.push(`clutch ${his2} stomach`);
}
r.push(`as ${he} goes to sleep, which sometimes results in less sleep for both as the fondling continues long into the night. <span class="hotpink">${domName} enjoys having ${subName} to attend to ${his2} gravidity.</span>`);
}
} else {
if (domFetishKnown) {
r.push(`Since ${domName} loves pregnant ${girl}s,`);
} else {
r.push(`${domName}, it turns out, <span class="lightcoral">really likes pregnant ${girl}s,</span>`);
domSlave.fetishKnown = 1;
}
r.push(`and ${subName} just so happens to be a pregnant ${girl}, so ${domName} spends the week fucking ${him}.`);
if (slave.devotion < -20) {
r.push(`${domName}'s ${domRace} body atop ${subName}'s swollen ${subRace} form is a frequent sight as ${domName} takes ${his2} pleasure. <span class="hotpink">${domName} enjoys being able to use ${subName} and ${his} ${bellyAdjective(slave)} belly.</span>`);
} else if (slave.devotion <= 50) {
r.push(`${domName}'s ${domRace} body atop ${subName}'s compliant swollen ${subRace} form is a frequent sight as ${domName} takes ${his2} pleasure. <span class="hotpink">${domName} enjoys being able to use ${subName} and ${his} ${bellyAdjective(slave)} belly.</span>`);
} else {
r.push(`${domName}'s ${domRace} body against ${subName}'s enthusiastic ${subRace} ${bellyAdjective(slave)} belly is a frequent sight as the two of them share pleasure. <span class="hotpink">${domName} enjoys having a pregnant plaything.</span>`);
}
if (canPenetrate(domSlave)) {
fuckCount = jsRandom(15, 25);
r.push(`${SimpleSexAct.Slaves(slave, domSlave, fuckCount)}`);
} else if (canPenetrate(slave) && ((canDoVaginal(domSlave) && domSlave.vagina > 0) || (canDoAnal(domSlave) && domSlave.anus > 0))) {
/* yes, that means she rides her */
penetrativeUse = jsRandom(15, 25);
r.push(`${SimpleSexAct.Slaves(domSlave, slave, fuckCount)}`);
} else {
fuckCount = jsRandom(15, 25);
}
}
} else if (canImpreg(domSlave, slave)) {
if (domFetishKnown) {
r.push(`${domName} loves pregnancy, and`);
} else {
r.push(`${domName}, it turns out, <span class="lightcoral">really likes pregnancy,</span> so`);
domSlave.fetishKnown = 1;
}
r.push(`the first indication ${subName} gets of what ${he}'s in for this week is when ${domName}`);
if (hasAnyLimbs(domSlave)) {
r.push(`pushes ${him} down`);
} else {
r.push(`has ${him} get in position`);
}
if (canPenetrate(slave)) {
r.push(`and mounts ${his} rigid dick`);
} else {
r.push(`and begins to work ${him} to orgasm.`);
}
r.push(`${domName} spends the week extracting loads from ${subName} until ${his} potent sperm <span class="hotpink">slakes the burning need in ${his2} loins.</span>`);
r.push(`${knockMeUp(domSlave, 100, 2, slave.ID)}`);
fuckCount = jsRandom(10, 16);
penetrativeUse = fuckCount;
slave.counter.penetrative += fuckCount;
V.penetrativeTotal += fuckCount;
if (domSlave.mpreg > 0) {
domSlave.counter.anal += fuckCount;
V.analTotal += fuckCount;
} else {
domSlave.counter.vaginal += fuckCount;
V.vaginalTotal += fuckCount;
}
} else {
if (domFetishKnown) {
r.push(`${domName} adores pregnancy, and`);
} else {
r.push(`${domName}, it turns out, <span class="lightcoral">really likes pregnancy,</span> so`);
domSlave.fetishKnown = 1;
}
r.push(`the first indication ${subName} gets of what ${he}'s in for this week is when ${domName}`);
if (canStand(domSlave)) {
if (domName.mpreg > 0 || domName.ovaries > 0) {
r.push(`pushes a full-term belly into ${subName}'s back and`);
}
} else {
r.push(`shows up pretending to be pregnant and`);
}
if (hasAnyArms(domSlave)) {
r.push(`hands ${him}`);
if (isItemAccessible.entry("a small empathy belly", "bellyAccessory")) {
r.push(`an enormous empathy belly`);
} else {
r.push(`a support band and big pillow`);
}
if (domName.mpreg > 0 || domName.ovaries > 0) {
r.push(`of ${his} own.`);
} else {
r.push(`to wear.`);
}
} else {
r.push(`instructs ${him} to pretend to be pregnant using`);
if (isItemAccessible.entry("a small empathy belly", "bellyAccessory")) {
r.push(`an enormous empathy belly`);
} else {
r.push(`a support band and big pillow`);
}
if (domName.mpreg > 0 || domName.ovaries > 0) {
r.push(`like ${he2} is.`);
} else {
r.push(`over ${his} middle.`);
}
}
if (slave.weight >= 130) {
r.push(`${subName} is too fat for ${domName}'s plan, so it's settled that ${he}'ll just pretend instead.`);
}
r.push(`Once ${he} is suitably 'knocked up', the fun begins; ${subName} spends the week getting awkwardly fucked.`);
if (slave.devotion < -20) {
r.push(`${domName}'s ${domRace} body struggling with ${subName}'s resisting ${subRace} form is a frequent sight as ${domName} takes ${his2} pleasure. <span class="hotpink">${domName} enjoys being able to use ${subName},</span> even if ${he2} has to pretend a little.`);
} else if (slave.devotion <= 50) {
r.push(`${domName}'s ${domRace} body balancing on ${subName}'s compliant ${subRace} form is a frequent sight as ${domName} takes ${his2} pleasure. <span class="hotpink">${domName} enjoys being able to use ${subName},</span> even if ${he2} has to pretend a little.`);
} else {
r.push(`${domName}'s ${domRace} body intertwined with ${subName}'s enthusiastic ${subRace} form is a frequent sight as the two of them share pleasure. <span class="hotpink">${domName} enjoys spending time with a partner willing to indulge ${his2} fantasies.</span>`);
}
if (canPenetrate(domSlave)) {
fuckCount = jsRandom(15, 25);
r.push(`${SimpleSexAct.Slaves(slave, domSlave, fuckCount)}`);
} else if (canPenetrate(slave) && ((canDoVaginal(domSlave) && domSlave.vagina > 0) || (canDoAnal(domSlave) && domSlave.anus > 0))) {
/* yes, that means she rides her */
penetrativeUse = jsRandom(15, 25);
r.push(`${SimpleSexAct.Slaves(domSlave, slave, fuckCount)}`);
} else {
fuckCount = jsRandom(15, 25);
}
}
if (slave.need && slave.fetish === "pregnancy") {
if (slave.fetishKnown) {
r.push(`${subName} needs this kind of play to be truly sexually satisfied; this week, ${his} lust for pregnancy was sated.`);
}
subSlaveLikedFetish = 1;
}
} else if (domSlave.energy > 95) {
if (slave.devotion < -20) {
r.push(`Since ${domName} loves to fuck, ${subName} spends the week getting fucked. ${domName}'s ${domRace} body atop ${subName}'s resisting ${subRace} form is a frequent sight as ${domName} takes ${his2} pleasure. <span class="hotpink">${domName} enjoys being able to use ${subName}.</span>`);
} else if (slave.devotion <= 50) {
r.push(`Since ${domName} loves to fuck, ${subName} spends the week getting fucked. ${domName}'s ${domRace} body atop ${subName}'s compliant ${subRace} form is a frequent sight as ${domName} takes ${his2} pleasure. <span class="hotpink">${domName} enjoys being able to use ${subName}.</span>`);
} else {
r.push(`Since ${domName} loves to fuck, ${subName} spends the week getting fucked. ${domName}'s ${domRace} body atop ${subName}'s enthusiastic ${subRace} form is a frequent sight as the two of them share pleasure. <span class="hotpink">${domName} enjoys having an extra outlet for ${his2} sexual needs.</span>`);
}
if (canPenetrate(domSlave)) {
fuckCount = jsRandom(15, 25);
r.push(`${SimpleSexAct.Slaves(slave, domSlave, fuckCount)}`);
} else if (canPenetrate(slave) && ((canDoVaginal(domSlave) && domSlave.vagina > 0) || (canDoAnal(domSlave) && domSlave.anus > 0))) {
/* yes, that means she rides her */
penetrativeUse = jsRandom(15, 25);
r.push(`${SimpleSexAct.Slaves(domSlave, slave, fuckCount)}`);
} else {
fuckCount = jsRandom(15, 25);
}
} else if (domSlave.dick > 0 && canPenetrate(domSlave)) {
if (slave.devotion < -20) {
r.push(`${domName} doesn't get to use ${his2} still-functional cock as much as ${he2} would like; it often stands stiff and untended while ${he2}'s being used. Not this week: ${subName} spends the week with ${domName}'s ${domRace} dick thrusting in and out of ${his} ${subRace} body, whenever ${he2} feels like forcing it into ${subName}'s unwilling holes. <span class="hotpink">${domName} loves having someone to fuck whenever ${he2} wants.</span>`);
} else if (slave.devotion <= 50) {
r.push(`${domName} doesn't get to use ${his2} still-functional cock as much as ${he2} would like; it often stands stiff and untended while ${he2}'s being used. Not this week: ${subName} spends the week with ${domName}'s ${domRace} dick thrusting in and out of ${his} ${subRace} body, whenever ${he2} feels like putting it into ${subName}'s compliant holes. <span class="hotpink">${domName} loves having someone to stick ${his2} dick in at last.</span>`);
} else {
r.push(`${domName} doesn't get to use ${his2} still-functional cock as much as ${he2} would like; it often stands stiff and untended while ${he2}'s being used. Not this week: ${subName} spends the week with ${domName}'s ${domRace} dick thrusting in and out of ${his} ${subRace} body, whenever ${he2} feels like having an enthusiastic fuck. <span class="hotpink">${domName} loves having someone to tend to ${his2} prick at last.</span>`);
}
fuckCount = jsRandom(9, 12);
r.push(`${SimpleSexAct.Slaves(slave, domSlave, fuckCount)}`);
} else if (hasAnyArms(domSlave) && domSlave.attrXX > 85 && slave.dick === 0 && slave.vagina > -1) { // feminine check
if (slave.devotion < -20) {
r.push(`Since ${domName} loves girls, ${subName} finds ${himself} groped, fingered, and toyed with. ${He} spends the week trying to avoid ${domName}'s playful ${domRace}`);
if (hasBothArms(domSlave)) {
r.push(`hands,`);
} else {
r.push(`fingers,`);
}
r.push(`but they rove across ${his} ${subRace} body anyway. <span class="hotpink">${domName} enjoys having a nice little toy right at hand,</span> even if ${he} does have to be forced.`);
} else if (slave.devotion <= 50) {
r.push(`Since ${domName} loves girls, ${subName} finds ${himself} groped, fingered, and toyed with. ${He} spends the week accepting the attention of ${domName}'s playful ${domRace}`);
if (hasBothArms(domSlave)) {
r.push(`hands.`);
} else {
r.push(`fingers.`);
}
r.push(`They rove across ${his} ${subRace} body, eliciting embarrassed arousal. <span class="hotpink">${domName} enjoys having a nice little toy right at hand,</span> even if ${he} is a little hesitant.`);
} else {
r.push(`Since ${domName} loves girls, ${subName} finds ${himself} with a frank and open lover for the week. ${He} spends the week accepting the attention of ${domName}'s adoring ${domRace}`);
if (hasBothArms(domSlave)) {
r.push(`hands.`);
} else {
r.push(`fingers.`);
}
r.push(`They rove across ${his} ${subRace} body, knowing just where to touch and where to press. <span class="hotpink">${domName} enjoys having a compliant ${girl} friend,</span> and they spend as much time together as they can.`);
}
if (canPenetrate(domSlave)) {
fuckCount = jsRandom(9, 12);
r.push(`${SimpleSexAct.Slaves(slave, domSlave, fuckCount)}`);
} else {
fuckCount = jsRandom(9, 12);
}
} else if (slave.dick > 0 && hasAnyArms(domSlave) && domSlave.attrXY > 85) {
if (canPenetrate(slave)) {
if (slave.devotion < -20) {
r.push(`Since ${domName} loves hard cocks, ${subName} finds ${him} self forced to get hard and fuck. ${He} spends the week trying to avoid ${domName}'s constant demands. <span class="hotpink">${domName} enjoys having a nice dick right at hand,</span> even if it does have to be forced to stand up for ${him2}.`);
} else if (slave.devotion <= 50) {
r.push(`Since ${domName} loves hard cocks, ${subName} finds ${himself} required to get hard and fuck constantly. ${He} spends the week doing ${his} best to satisfy ${domName}'s constant demands. <span class="hotpink">${domName} enjoys having a nice dick right at hand,</span> and won't leave it alone.`);
} else {
r.push(`Since ${domName} loves hard cocks, ${subName} finds ${himself} asked to get hard and fuck constantly. ${He} spends the week doing ${his} best to satisfy ${domName}'s constant demands. <span class="hotpink">${domName} enjoys having a nice dick right at hand,</span> and won't leave it alone.`);
}
} else if (slave.dick > 6 && slave.balls > 0) {
if (slave.devotion < -20) {
r.push(`Since ${domName} loves cocks, even big soft ones, ${subName} finds ${himself} being sucked, groped, and cruelly taunted for ${his} inability to get hard. ${He} spends the week trying to avoid ${domName}'s abuse of ${his} poor oversized penis. <span class="hotpink">${domName} enjoys having a nice dick right at hand,</span> even if it's only good for taunting and torture.`);
} else if (slave.devotion <= 50) {
r.push(`Since ${domName} loves cocks, even big soft ones, ${subName} finds ${himself} being sucked, groped, and toyed with. ${He} spends the week complying with ${domName}'s amusements. <span class="hotpink">${domName} enjoys having a nice dick right at hand,</span> even if it's only good as a body pillow.`);
} else {
r.push(`Since ${domName} loves cocks, even big soft ones, ${subName} finds ${himself} being sucked, groped, and played with until ${he} comes. ${He} spends the week enjoying with ${domName}'s little games. <span class="hotpink">${domName} enjoys having a nice dick right at hand,</span> even if it's only good as a body pillow that occasionally discharges blobs of semen.`);
}
} else {
if (slave.devotion < -20) {
r.push(`Since ${domName} loves cocks, even soft ones, ${subName} finds ${himself} being sucked, groped, and cruelly taunted for ${his} impotence. ${He} spends the week trying to avoid ${domName}'s abuse of ${his} poor useless penis. <span class="hotpink">${domName} enjoys having a nice dick right at hand,</span> even if it's only good for taunting and torture.`);
} else if (slave.devotion <= 50) {
r.push(`Since ${domName} loves cocks, even soft ones, ${subName} finds ${himself} being sucked, groped, and toyed with. ${He} spends the week complying with ${domName}'s amusements. <span class="hotpink">${domName} enjoys having a nice dick right at hand,</span> even if it's only good as a soft toy.`);
} else {
r.push(`Since ${domName} loves cocks, even soft ones, ${subName} finds ${himself} being sucked, groped, and played with until ${he} comes. ${He} spends the week enjoying with ${domName}'s little games. <span class="hotpink">${domName} enjoys having a nice dick right at hand,</span> even if it's only good as a soft, dripping toy.`);
}
}
fuckCount = jsRandom(9, 12);
r.push(`${SimpleSexAct.Slaves(domSlave, slave, fuckCount)}`);
} else if (isAmputee(slave)) {
r.push(`${domName} doesn't have any special desires, so ${he2} simply uses the helpless ${subName} for comfort and convenience. ${subName} finds ${his} helpless ${subRace} torso being used as a bath toy, a bedwarmer, and for sexual convenience. <span class="hotpink">${domName} enjoys the ease and companionship.</span>`);
fuckCount = jsRandom(9, 12);
r.push(`${SimpleSexAct.Slaves(slave, domSlave, fuckCount)}`);
} else {
r.push(`${domName} doesn't have any special desires ${subName} can satisfy, so ${he2} simply uses ${subName} for comfort and convenience. ${subName} washes ${his} superior's ${domRace} body thoroughly and uses ${his} own ${subRace} body to warm ${domName}'s bed at night. <span class="hotpink">${domName} enjoys the ease and companionship.</span>`);
fuckCount = jsRandom(9, 12);
r.push(`${SimpleSexAct.Slaves(slave, domSlave, fuckCount)}`);
}
domSlave.devotion += 4;
}
/**
* @param {App.Entity.SlaveState} slave
* */
function sexualSatiation(slave) {
/* This is here because SimpleSexAct.Slaves doesn't update analUse, etc. and that is needed to calculate cervixPump and .need clearing */
oralUse = slave.counter.oral - oralUse;
analUse = slave.counter.anal - analUse;
vaginalUse = slave.counter.vaginal - vaginalUse;
mammaryUse = slave.counter.mammary - mammaryUse;
penetrativeUse = slave.counter.penetrative - penetrativeUse;
slave.sexAmount = oralUse + analUse + vaginalUse + mammaryUse + penetrativeUse;
if (jobType === "stud") {
slave.need -= 50;
if (subSlaveLikedFetish) {
slave.need = 0;
if (slave.fetishStrength < 100) {
slave.fetishStrength++;
}
}
if (fetishChange > jsRandom(0, 99) && !subSlaveLikedFetish) {
r.push(`${His} work starts to pervade ${his} fantasies; <span class="lightcoral">${he}'s developed a pregnancy fetish.</span>`);
slave.fetish = "pregnancy";
slave.fetishStrength = 65;
slave.fetishKnown = 1;
}
} else if (jobType === "cumdump") {
slave.need -= ((penetrativeUse + vaginalUse + analUse) * 3);
// cumdumps don't get to be doms or sadists
switch (slave.fetish) {
case "masochist":
case "submissive":
if (analUse + vaginalUse > 5) {
if (slave.fetishKnown) {
r.push(`Being frequently pinned and fucked really satisfies ${him}.`);
} else {
r.push(`${He} seems to enjoy getting pushed down and fucked; ${he}'s got a <span class="lightcoral"> ${slave.fetish === "masochist" ? "masochistic" : "submissive"} streak</span> in ${him}.`);
slave.fetishKnown = 1;
}
subSlaveLikedFetish = 1;
}
break;
case "cumslut":
if (oralUse > 5) {
if (slave.fetishKnown) {
r.push(`Frequently getting to suck cum out of slaves really satisfies ${him}.`);
} else {
r.push(`${He} seems to enjoy putting ${his} mouth to use; ${he}'s got a <span class="lightcoral">taste for cum.</span>`);
slave.fetishKnown = 1;
}
subSlaveLikedFetish = 1;
}
break;
case "buttslut":
if (analUse > 5) {
if (slave.fetishKnown) {
r.push(`Frequently having ${his} butthole fucked really satisfies ${subName}.`);
} else {
r.push(`${He} seems to rather enjoy getting assfucked; <span class="lightcoral">anal gets ${him} worked up.</span>`);
slave.fetishKnown = 1;
}
subSlaveLikedFetish = 1;
}
break;
case "pregnancy":
if (canGetPregnant(slave)) {
if (slave.mpreg === 0 && vaginalUse > 7) {
if (slave.fetishKnown) {
r.push(`Having ${his} fertile pussy see so much use really satisfies ${subName}.`);
} else {
r.push(`Frequent unprotected sex in ${his} fertile hole exposes ${him} for the <span class="lightcoral">pregnancy fetishist ${he} is.</span>`);
slave.fetishKnown = 1;
}
subSlaveLikedFetish = 1;
} else if (slave.mpreg === 1 && analUse > 7) {
if (slave.fetishKnown) {
r.push(`Having ${his} fertile ass see so much use really satisfies ${subName}.`);
} else {
r.push(`Frequent unprotected sex in ${his} fertile hole exposes ${him} for the <span class="lightcoral">pregnancy fetishist ${he} is.</span>`);
slave.fetishKnown = 1;
}
subSlaveLikedFetish = 1;
}
}
break;
case "humiliation":
if (slave.fetishKnown) {
r.push(`Having all the other slaves see ${him} in such a humiliating role really satisfies ${subName}.`);
} else {
r.push(`${He} seems to enjoy ${his} humiliating role; ${he} <span class="lightcoral">gets off to being degraded.</span>`);
slave.fetishKnown = 1;
}
subSlaveLikedFetish = 1;
break;
case "boobs":
if (mammaryUse > 5) {
if (slave.fetishKnown) {
r.push(`Having so much attention lavished on ${his} tits really satisfies ${subName}.`);
} else {
r.push(`${He} seems to enjoy all the attention ${his} breasts are getting; ${he}'s a <span class="lightcoral">breast fetishist.</span>`);
slave.fetishKnown = 1;
}
subSlaveLikedFetish = 1;
slave.induceLactation += 2;
r.push(`${induceLactation(slave)}`);
}
break;
}
if (subSlaveLikedFetish) {
slave.need = 0;
if (slave.fetishStrength < 100) {
slave.fetishStrength++;
}
} else if (fetishChange > jsRandom(0, 100) && slave.fetish !== "masochist" && slave.fetish !== "submissive" && load <= 0.8) {
r.push(`Being used as much as ${he} is starts to take a toll on ${him} sexuality; <span class="lightcoral">${he} begins to enjoy being your chattel's fucktoy.</span>`);
slave.fetish = "submissive";
slave.fetishStrength = 65;
slave.fetishKnown = 1;
}
} else if (jobType === "sub") {
domSlave.need = 0;
if (domSlaveUsedFetish) {
Math.clamp(domSlave.fetishStrength += 3, 0, 100);
}
if (subSlaveLikedFetish) {
slave.need = 0;
if (slave.fetishStrength < 100) {
slave.fetishStrength++;
}
}
slave.need -= ((penetrativeUse + vaginalUse + analUse) * 5);
if (domSlaveUsedFetish && !subSlaveLikedFetish && fetishChange > jsRandom(70, 100)) {
// If subslave is uncertain of her fetish, allow her to take one based off her dom.
switch (domSlave.fetish) {
case "buttslut":
if (slave.fetish !== "buttslut") {
r.push(`${domName}'s taste for anal play has a lasting effect on ${subName}; <span class="lightcoral">${he}'s become curious about butt sex.</span>`);
slave.fetish = "buttslut";
slave.fetishStrength = 35;
slave.fetishKnown = 1;
}
break;
case "submissive":
if (slave.fetish !== "dom") {
r.push(`${domName}'s sexual submission has a lasting effect on ${subName}; <span class="lightcoral">${he}'s grown a taste for dominating others.</span>`);
slave.fetish = "dom";
slave.fetishStrength = 35;
slave.fetishKnown = 1;
}
break;
case "dom":
if (slave.fetish !== "masochist") {
r.push(`${domName}'s abusive tastes have a lasting effect on ${subName}; <span class="lightcoral">${he}'s grown an itch for pain.</span>`);
slave.fetish = "masochist";
slave.fetishStrength = 35;
slave.fetishKnown = 1;
}
break;
case "sadist":
if (slave.fetish !== "masochist") {
r.push(`${domName}'s sexual domination has a lasting effect on ${subName}; <span class="lightcoral">${he}'s grown a taste for submitting.</span>`);
slave.fetish = "masochist";
slave.fetishStrength = 35;
slave.fetishKnown = 1;
}
break;
case "masochist":
if (slave.fetish !== "sadist") {
r.push(`${domName}'s taste for pain has a lasting effect on ${subName}; <span class="lightcoral">${he}'s become slightly sadistic.</span>`);
slave.fetish = "sadist";
slave.fetishStrength = 35;
slave.fetishKnown = 1;
}
break;
case "boobs":
if (slave.fetish !== "boobs") {
r.push(`${domName}'s taste for breast play has a lasting effect on ${subName}; <span class="lightcoral">${he} can't stop thinking about playing with a pair.</span>`);
slave.fetish = "boobs";
slave.fetishStrength = 35;
slave.fetishKnown = 1;
}
break;
case "pregnancy":
if (slave.fetish !== "pregnancy") {
r.push(`${domName}'s taste for pregnancy has a lasting effect on ${subName}; <span class="lightcoral">${he} can't stop thinking about pregnancy ${himself}.</span>`);
slave.fetish = "pregnancy";
slave.fetishStrength = 35;
slave.fetishKnown = 1;
}
break;
case "humiliation":
if (slave.fetish !== "humiliation") {
r.push(`${domName}'s taste for public sex has a lasting effect on ${subName}; <span class="lightcoral">${he}'s grown fond of exhibitionism.</span>`);
slave.fetish = "humiliation";
slave.fetishStrength = 35;
slave.fetishKnown = 1;
}
break;
}
} else {
switch (slave.fetish) {
case "masochist":
case "submissive":
if (analUse + vaginalUse > 0) {
if (slave.fetishKnown) {
r.push(`Being someone's submissive toy really satisfies ${subName}.`);
} else {
r.push(`${He} seems to enjoy being a toy; ${he}'s got a <span class="lightcoral"> ${slave.fetish === "masochist" ? "masochistic" : "submissive"} streak</span> in ${him}.`);
slave.fetishKnown = 1;
}
slave.need = 0;
}
break;
case "dom":
case "sadist":
if (penetrativeUse > 0) {
if (slave.fetishKnown) {
r.push(`Getting to be on top is precious, and it really satisfies ${subName}.`);
} else {
r.push(`${He} relishes getting to be on top; ${he}'s got a <span class="lightcoral"> ${slave.fetish === "dom" ? "dominant" : "sadistic"} side</span> to ${him}.`);
slave.fetishKnown = 1;
}
slave.need = 0;
}
break;
case "cumslut":
if (oralUse > 0) {
if (slave.fetishKnown) {
r.push(`Being someone's oral toy really satisfies ${subName}.`);
} else {
r.push(`${He} seems to thoroughly enjoy being an oral toy; ${he}'s <span class="lightcoral">an honest cumslut.</span>`);
slave.fetishKnown = 1;
}
slave.need = 0;
}
break;
case "buttslut":
if (analUse > 0) {
if (slave.fetishKnown) {
r.push(`Having ${his} butthole serve as someone's toy really satisfies ${subName}.`);
} else {
r.push(`${He} seems to thoroughly enjoy ${his} ass being reduced to someone's toy; ${he}'s <span class="lightcoral">an honest buttslut.</span>`);
slave.fetishKnown = 1;
}
slave.need = 0;
}
break;
case "pregnancy":
if (canGetPregnant(slave)) {
if (slave.mpreg === 0 && vaginalUse > 0) {
if (slave.fetishKnown) {
r.push(`Having ${his} fertile pussy serve as someone's toy really satisfies ${subName}.`);
} else {
r.push(`Having ${his} fertile pussy used exposes ${him} for the <span class="lightcoral">pregnancy fetishist ${he} is.</span>`);
slave.fetishKnown = 1;
}
slave.need = 0;
} else if (slave.mpreg === 1 && analUse > 0) {
if (slave.fetishKnown) {
r.push(`Having ${his} fertile ass serve as someone's toy really satisfies ${subName}.`);
} else {
r.push(`Having ${his} fertile asspussy used exposes ${him} for the <span class="lightcoral">pregnancy fetishist ${he} is.</span>`);
slave.fetishKnown = 1;
}
slave.need = 0;
}
}
break;
case "humiliation":
if (slave.fetishKnown) {
r.push(`Having all the other slaves see ${him} in such a humiliating role really satisfies ${subName}.`);
} else {
r.push(`${He} seems to enjoy ${his} humiliating role; ${he} <span class="lightcoral">gets off to being degraded.</span>`);
slave.fetishKnown = 1;
}
slave.need = 0;
break;
case "boobs":
if (mammaryUse > 0) {
if (slave.fetishKnown) {
r.push(`Having ${his} tits serve as someone's toy really satisfies ${subName}.`);
} else {
r.push(`${He} seems to thoroughly enjoy ${his} breasts being reduced to someone's toys; ${he}'s <span class="lightcoral">an honest boobslut.</span>`);
slave.fetishKnown = 1;
}
slave.need = 0;
slave.induceLactation += 2;
r.push(`${induceLactation(slave)}`);
}
break;
}
}
}
}
/**
* @param {App.Entity.SlaveState} slave
* */
function physicalEffects(slave) {
if (slave.health.illness > 0 || slave.health.tired > 60) {
if (jobType === "sub") {
r.push(`${subName}`);
} else {
r.push(`${He}`);
}
r.push(`is<span class="red">`);
if (slave.health.tired > 60) {
if (slave.health.illness === 1) {
r.push(`feeling under the weather and`);
} else if (slave.health.illness === 2) {
r.push(`somewhat ill and`);
} else if (slave.health.illness === 3) {
r.push(`sick and`);
} else if (slave.health.illness === 4) {
r.push(`very sick and`);
} else if (slave.health.illness === 5) {
r.push(`terribly ill and`);
}
} else {
if (slave.health.illness === 1) {
r.push(`feeling under the weather,`);
} else if (slave.health.illness === 2) {
r.push(`somewhat ill,`);
} else if (slave.health.illness === 3) {
r.push(`sick,`);
} else if (slave.health.illness === 4) {
r.push(`very sick,`);
} else if (slave.health.illness === 5) {
r.push(`terribly ill,`);
}
}
if (slave.health.tired > 90) {
r.push(`exhausted,`);
} else if (slave.health.tired > 60) {
r.push(`fatigued,`);
}
if (slave.health.illness !== 0) {
r.push(`</span> making ${him} rather unappealing to use.`);
} else {
r.push(`</span> making ${him} less enjoyable to fuck.`);
}
}
if (jobType === "stud") {
if (slaveResting(slave)) {
r.push(`${He} is only made available during certain hours to maximize ${his} potency while <span class="green">keeping ${him} rested.</span>`);
if (slave.fetish === "mindbroken" && slave.fuckdoll > 0) {
r.push(`This doesn't stop recreational breeding, should ${he} be in the mood, but gives ${him} a chance to recover as needed.`);
}
} else if (slave.health.tired + 5 >= 90 && !willWorkToDeath(slave)) {
r.push(`${He} <span class="devotion dec">underperforms in ${his} role,</span> mating far less than ${he} could be, and is <span class="trust dec">punished accordingly.</span>`);
slave.devotion -= 2;
slave.trust -= 5;
} else {
r.push(`${He} lives a simple life of sex and nothing more;`);
if (slave.devotion > 20) {
r.push(`understanding that ${his} role is to ejaculate, not pleasure ${his} partner, allows ${him} ample free time when ${he} needs it.`);
} else {
r.push(`all ${he} needs to do is ejaculate, though ${he} fails to realize it.`);
}
}
} else if (jobType === "cumdump") {
if (slaveResting(slave)) {
r.push(`${He} is only available during certain hours in <span class="green">an effort to keep ${him} rested.</span>`);
} else if (slave.health.tired >= 60 && !willWorkToDeath(slave)) {
r.push(`As much as ${he} <span class="devotion dec">wishes to resist being used</span> in ${his} tired state, ${he} <span class="trust dec">can do little to avoid it.</span>`);
slave.devotion -= 5;
slave.trust -= 5;
} else {
if (slave.devotion > 20) {
r.push(`${He} is accustomed enough to slave life to properly manage ${his} time.`);
} else {
r.push(`${He} <span class="red">wastes time and energy resisting</span> where a properly broken slave would accept what is happening and take it.`);
}
}
tiredFucks(slave);
} else if (jobType === "sub") {
if (slaveResting(slave)) {
r.push(`${domName} only uses ${subName} sexually <span class="green">out of respect for ${his} rest rules.</span>`);
} else if (slave.relationshipTarget === domSlave.ID && slave.health.tired > 60) {
r.push(`${domName} goes easy on ${his2} ${relationshipTerm(domSlave)} ${subName} outside of the bedroom.`);
} else if (slave.health.tired + 10 >= 90 && !willWorkToDeath(slave)) {
r.push(`${subName} leverages sex with ${domName} in order to shirk ${his} other work;`);
if (domSlave.energy > 20 || domSlave.sexualQuirk === "caring") {
r.push(`${domName} prefers satisfaction and <span class="trust inc">lets ${subName} get away with it.</span>`);
slave.trust += 2;
} else {
r.push(`${domName} does not care for ${subName}'s game and <span class="trust dec">punishes ${him} appropriately.</span>`);
slave.trust -= 5;
subHatesDom = 1;
}
} else {
r.push(`Since ${subName} is essentially splitting chores with ${domName}, ${his} days are not particularly difficult;`);
if (slave.relationshipTarget === domSlave.ID) {
r.push(`spending that time with one's ${relationshipTerm(domSlave)} makes it even easier.`);
} else if (slave.devotion > 20) {
r.push(`${subName} understands that working with ${domName} makes things easier.`);
} else {
r.push(`${subName} fails to realize that working with, not against, ${domName} <span class="red">would make things go smoother.</span>`);
}
if (domSlave.health.condition < 40) {
r.push(`<span class="green">${domName}'s health improves</span> with ${subName} to serve ${him2} and`);
improveCondition(domSlave, 10);
} else {
r.push(`<span class="green">${domName} spends more time at ease</span> with ${subName} to`);
}
r.push(`help with some of ${his2} harder duties.`);
domSlave.health.tired -= 10;
}
}
tired(slave);
if (slave.cervixImplant === 1 || slave.cervixImplant === 3) {
cervixPump += 20 * vaginalUse;
}
if (slave.cervixImplant === 2 || slave.cervixImplant === 3) {
cervixPump += 20 * analUse;
}
if (cervixPump > 0) {
r.push(`${He} notices ${his} <span class="lime">belly is a little heavier</span> after all the`);
if (slave.cervixImplant === 1) {
r.push(`vaginal`);
} else if (slave.cervixImplant === 2) {
r.push(`anal`);
}
r.push(`sex ${he} had throughout the week.`);
slave.bellyImplant += cervixPump;
}
if (slave.lactation > 0 && mammaryUse > 0) {
slave.lactationDuration = 2;
if (slave.boobsMilk > 0) {
slave.boobs -= slave.boobsMilk;
slave.boobsMilk = 0;
}
}
}
/**
* @param {App.Entity.SlaveState} slave
* */
function mentalEffects(slave) {
if (jobType === "stud") {
if (slave.behavioralFlaw === "hates women") {
if (slave.devotion > 20 && jsRandom(1, 100) > 70) {
r.push(`Spending so much time in close proximity to pussies <span class="green">reconciles ${him} to sex with girls.</span>`);
slave.behavioralFlaw = "none";
}
}
} else if (jobType === "cumdump") {
if ((V.dormitoryPopulation + V.roomsPopulation - V.subSlaves) > 5 && load <= 0.8) {
if (slave.sexualFlaw === "repressed") {
if (slave.devotion > 20 && jsRandom(1, 100) > (100 - fuckCount)) {
r.push(`After being brought to orgasm so many times, <span class="green">${he} begins to enjoy having sex.</span>`);
slave.sexualFlaw = "none";
}
}
}
} else if (jobType === "sub") {
if (slave.devotion <= 20) {
if (slave.trust >= -20) {
r.push(`${subName} <span class="gold">is further habituated to subservience</span> by ${domName}.`);
slave.trust -= 5;
if (slave.sexualQuirk === "strugglefuck queen") {
r.push(`Secretly, though, ${subName} gets off on being raped, <span class="hotpink">and wants more.</span>`);
slave.devotion += 1;
}
}
}
if (slave.behavioralFlaw === "hates men") {
if (domSlave.dick > 0 && slave.devotion > 20) {
r.push(`Spending so much time in close proximity to a slave with a dick <span class="green">reconciles ${him} to getting fucked by them.</span>`);
slave.behavioralFlaw = "none";
}
} else if (slave.behavioralFlaw === "hates women") {
if (domSlave.vagina !== -1 && slave.devotion > 20) {
r.push(`Spending so much time in close proximity to a slave with a pussy <span class="green">reconciles ${him} to sex with girls.</span>`);
slave.behavioralFlaw = "none";
}
}
if (!subHatesDom) {
if (slave.relationship === 0) {
if (slave.rivalryTarget !== domSlave.ID && slave.devotion >= 10 && domSlave.relationship === 0) {
if (jsRandom(1, 100) > 50) {
r.push(`${subName} and ${domName} enjoy spending time together and <span class="lightgreen">strike up a friendship.</span>`);
domSlave.relationship = 1;
domSlave.relationshipTarget = slave.ID;
slave.relationship = 1;
slave.relationshipTarget = domSlave.ID;
} else {
r.push(`${subName} and ${domName} find they enjoy their sexual relationship and <span class="lightgreen">become friends with benefits.</span>`);
domSlave.relationship = 3;
domSlave.relationshipTarget = slave.ID;
slave.relationship = 3;
slave.relationshipTarget = domSlave.ID;
}
}
} else if (slave.relationship > 0) {
if (slave.relationshipTarget === domSlave.ID && slave.devotion >= -20) {
r.push(`${subName} likes getting fucked by ${domName} and <span class="hotpink">appreciates</span> having it as ${his} job.`);
slave.devotion += 1;
}
if (slave.relationship < 3) {
if (slave.relationshipTarget === domSlave.ID) {
if (slave.devotion >= 10) {
r.push(`${subName} and ${domName} find that they enjoy having sex just as much as they like being friends, and become <span class="lightgreen">friends with benefits.</span>`);
domSlave.relationship = 3;
slave.relationship = 3;
} else if (slave.devotion <= 20) {
r.push(`${subName} and ${domName}'s relationship is <span class="lightsalmon">damaged</span> by ${domName} having the right to use ${subName}.`);
domSlave.relationship--;
slave.relationship--;
}
}
} else if (slave.relationship < 4) {
if (slave.relationshipTarget === domSlave.ID && slave.devotion >= 10) {
r.push(`${subName} and ${domName} don't have to be encouraged to have sex, but with extra time for it, they become <span class="lightgreen">lovers.</span>`);
domSlave.relationship++;
slave.relationship++;
}
}
}
}
if (slave.rivalry === 0) {
if (slave.relationshipTarget !== domSlave.ID && slave.devotion <= 50 && domSlave.rivalry === 0 && jsRandom(1, 100) > 50 - (subHatesDom * 20)) {
r.push(`${subName} resents ${domName} for using ${him} and the two <span class="lightsalmon">start to dislike each other.</span>`);
domSlave.rivalry = 1;
domSlave.rivalryTarget = slave.ID;
slave.rivalry = 1;
slave.rivalryTarget = domSlave.ID;
}
} else {
if (slave.rivalryTarget === domSlave.ID && slave.devotion <= 50) {
r.push(`${subName} resents subordinating ${him}self to ${domName} and <span class="mediumorchid">dislikes</span> having it as ${his} job.`);
slave.devotion -= 2;
}
if (slave.rivalry < 3 && slave.rivalryTarget === domSlave.ID) {
if (slave.devotion <= 50) {
r.push(`${subName} hates being used by ${his} rival ${domName} so much that their <span class="lightsalmon">feud worsens.</span>`);
domSlave.rivalry++;
slave.rivalry++;
} else if (slave.devotion > 50) {
r.push(`${subName} serves ${domName} so devotedly that they <span class="lightgreen">work out</span> some of their differences through sex.`);
domSlave.rivalry--;
slave.rivalry--;
}
}
}
}
}
/**
* @param {App.Entity.SlaveState} slave
* */
function slaveSkills(slave) {
if (jobType === "stud") {
// Penetrative skill goes here.
} else if (jobType === "cumdump") {
if (oralUse > 0) {
if (slave.skill.oral < 30) {
r.push(`${slaveSkillIncrease('oral', slave, (Math.floor((oralUse / 2) + Math.floor((slave.intelligence + slave.intelligenceImplant) / 32))))}`);
} else if (slave.skill.oral < 100) {
r.push(`${slaveSkillIncrease('oral', slave, (Math.floor((oralUse / 4) + Math.floor((slave.intelligence + slave.intelligenceImplant) / 32))))}`);
}
}
if (vaginalUse > 0) {
if (slave.skill.vaginal < 30) {
r.push(`${slaveSkillIncrease('vaginal', slave, (Math.floor((vaginalUse / 2) + Math.floor((slave.intelligence + slave.intelligenceImplant) / 32))))}`);
} else if (slave.skill.vaginal < 100) {
r.push(`${slaveSkillIncrease('vaginal', slave, (Math.floor((vaginalUse / 4) + Math.floor((slave.intelligence + slave.intelligenceImplant) / 32))))}`);
}
}
if (analUse > 0) {
if (slave.skill.anal < 30) {
r.push(`${slaveSkillIncrease('anal', slave, (Math.floor((analUse / 2) + Math.floor((slave.intelligence + slave.intelligenceImplant) / 32))))}`);
} else if (slave.skill.anal < 100) {
r.push(`${slaveSkillIncrease('anal', slave, (Math.floor((analUse / 4) + Math.floor((slave.intelligence + slave.intelligenceImplant) / 32))))}`);
}
}
} else if (jobType === "sub") {
if ((slave.rivalry === 0 || slave.rivalryTarget !== domSlave.ID) && slave.devotion > 20 && domSlave.devotion > 20) {
if (oralUse > 0) {
if (slave.skill.oral < domSlave.skill.oral) {
r.push(`${domName} is better at oral than ${subName} and lets ${him} in on some of ${his2} techniques.`);
r.push(`${slaveSkillIncrease('oral', slave, (Math.floor(oralUse + Math.floor(slave.intelligence + slave.intelligenceImplant) / 32)))}`);
} else if (slave.skill.oral < 30) {
r.push(`${slaveSkillIncrease('vaginal', slave, (Math.floor((vaginalUse / 4) + Math.floor((slave.intelligence + slave.intelligenceImplant) / 32))))}`);
}
}
if (vaginalUse > 0) {
if (slave.skill.vaginal < domSlave.skill.vaginal && domSlave.vagina >= 0) {
r.push(`${domName} knows how to use ${his2} pussy better than ${subName} does and passes on some of ${his2} knowledge.`);
r.push(`${slaveSkillIncrease('vaginal', slave, (Math.floor(vaginalUse + Math.floor(slave.intelligence + slave.intelligenceImplant) / 32)))}`);
} else if (slave.skill.vaginal < 30) {
r.push(`${slaveSkillIncrease('vaginal', slave, (Math.floor((vaginalUse / 2) + Math.floor((slave.intelligence + slave.intelligenceImplant) / 32))))}`);
}
}
if (analUse > 0) {
if (slave.skill.anal < domSlave.skill.anal) {
r.push(`${domName} is more familiar with anal sex than ${subName} is and lets some of ${his2} skill rub off on ${him}.`);
r.push(`${slaveSkillIncrease('anal', slave, (Math.floor(analUse + Math.floor(slave.intelligence + slave.intelligenceImplant) / 32)))}`);
} else if (slave.skill.anal < 30) {
r.push(`${slaveSkillIncrease('vaginal', slave, (Math.floor((vaginalUse / 2) + Math.floor((slave.intelligence + slave.intelligenceImplant) / 32))))}`);
}
}
}
}
}
})();
|
MonsterMate/fc
|
src/endWeek/saServeYourOtherSlaves.js
|
JavaScript
|
mit
| 98,943
|
/** Container for temporary variables that must be shared between different elements of the slave assignment report
* It's still effectively global data (so use sparingly), but with some enforced scoping, and without getting SugarCube involved
* Should always be null unless App.EndWeek.slaveAssignmentReport is running
* @type {App.EndWeek.SASharedVariables}
*/
App.EndWeek.saVars = null;
App.EndWeek.SASharedVariables = class {
/** Initialize - declare members that need to persist *between* slaves here */
constructor() {
/** How many slaves can the HG still impregnate? */
this.HGCum = 0;
/** How many slaves can the HG still train? */
this.HGEnergy = 0;
/** Was the HG's slave successful at helping her? */
this.HGSlaveSuccess = false;
/** How much cash bonus is the Madam contributing to her whores? */
this.madamBonus = 0;
/** Slave job values */
this.slaveJobValues = {};
/** Whore price adjustments (per class) */
this.whorePriceAdjustment = {};
/** How many slaves can the designated stud still impregnate? */
this.StudCum = 0;
/** How much energy does the player have left to fuck slaves who need it? */
this.freeSexualEnergy = 0;
/** How big is the average dick on a slave? */
this.averageDick = 0;
/** Why was the madam fired this week? */
this.unMadam = 0;
/** Why was the DJ fired this week? */
this.unDJ = 0;
}
/**
* Reset slave-specific report variables. Declare members that need to be reset between slaves here.
* @todo call this from all the facility reports (the slave loops are broken up by facility)
*/
nextSlave() {
/** Is this slave's paraphilia satisfied? (1: satisfied, 0: no paraphilia; -1: unsatisfied) */
this.paraphiliaSatisfied = 0;
/** A slave with a lot of porn viewers will have a stronger effect on societal norms. This is her multiplier for those effects. */
this.pornFameBonus = 1;
/** Used to condense all the possible galactorrhea lactation start points to a single line of text in saLongTermPhysicalEffects. */
this.inappropriateLactation = 0;
/** TODO: move $slaveUsedRest here after saRules is converted, and find others */
}
};
|
MonsterMate/fc
|
src/endWeek/saSharedVariables.js
|
JavaScript
|
mit
| 2,149
|
App.SlaveAssignment.SmartPiercing = {};
/* -- Normal settings -- */
App.SlaveAssignment.SmartPiercing.BASE = class {
/** Base class for smart piercing settings; encapsulates shared logic and interface
* @param {App.Entity.SlaveState} slave */
constructor(slave) {
this.slave = slave;
}
/** Activate effect for this setting at a given magnitude.
* @param {number} magnitude 1: vibe/piercing, 2: smart vibe, or vibe+piercing, 3: smart vibe+piercing
*/
effect(magnitude) {
throw "abstract";
}
/** Return text for slave effect for this setting.
* @param {boolean} plural was more than one device used.
* @returns {string} predicate phrase for a sentence describing the results. note that the subject is provided.
*/
text(plural) {
return `<span class="error">ABSTRACT</span>`;
}
/** Condition under which the trigger evaluates
* @returns {boolean} whether to evaluate the trigger
*/
valid() {
return true;
}
/** Activate effect and return text for a slave. Typically should be inherited without changes.
* @param {number} magnitude 1: vibe/piercing, 2: smart vibe, or vibe+piercing, 3: smart vibe+piercing
* @param {boolean} plural was more than one device used.
* @returns {string} predicate phrase for a sentence describing the results. note that the subject is provided.
*/
trigger(magnitude, plural) {
if (this.valid()) {
const ret = this.text(plural);
this.effect(magnitude);
return ret;
}
return '';
}
};
App.SlaveAssignment.SmartPiercing.none = class extends App.SlaveAssignment.SmartPiercing.BASE {
effect(magnitude) {
this.slave.devotion -= 1 + magnitude; // 2, 3, or 4
this.slave.energy -= 10 + 3 * magnitude; // 10, 13, or 16
}
text(plural) {
const {his, him} = getPronouns(this.slave);
return `${plural ? "disrupt" : "disrupts"} arousal, <span class="red">reducing ${his} sex drive</span> and <span class="devotion dec">infuriating ${him}.</span>`;
}
};
App.SlaveAssignment.SmartPiercing.all = class extends App.SlaveAssignment.SmartPiercing.BASE {
effect(magnitude) {
this.slave.energy += 1 + 2 * magnitude; // 3, 5, or 7
}
valid() {
return this.slave.energy <= 95;
}
text(plural) {
const {his} = getPronouns(this.slave);
return `${plural ? "encourage" : "encourages"} sex of all kinds, <span class="improvement">increasing ${his} sex drive.</span>`;
}
};
App.SlaveAssignment.SmartPiercing.GENDERBASE = class extends App.SlaveAssignment.SmartPiercing.BASE {
/** Base class for gender settings; encapsulates shared logic for attraction modification
* @param {App.Entity.SlaveState} slave
* @param {string} property slave property to adjust
* @param {boolean} positive whether the impact of the attraction change is positive or negative
*/
constructor(slave, property, positive) {
super(slave);
this.property = property;
this.positive = positive;
}
effect(magnitude) {
const bonus = 2 * V.assistant.power;
if (this.positive) {
this.slave[this.property] += (2 + 2 * magnitude + bonus); // 4, 6, or 8, plus assistant bonus
} else {
this.slave[this.property] -= (2 + 2 * magnitude + bonus); // same as above
}
this.slave[this.property] = Math.clamp(this.slave[this.property], 0, 100);
}
valid() {
if (this.positive) {
return this.slave[this.property] < 95;
} else {
return this.slave[this.property] > 0;
}
}
trigger(magnitude, plural) {
if (this.valid()) {
let ret = this.text(plural);
this.effect(magnitude);
// special side effect for gender settings only
const {his} = getPronouns(this.slave);
if (this.positive) {
if (this.slave.energy < 80) {
ret += ` This has the secondary effect of slightly <span class="improvement">enhancing ${his} libido.</span>`;
this.slave.energy += (magnitude === 1 ? 1 : 2);
}
} else {
if (this.slave.energy > 0) {
ret += ` This has the secondary effect of slightly <span class="red">reducing ${his} libido.</span>`;
this.slave.energy -= (magnitude === 1 ? 1 : 2);
}
}
return ret;
}
return '';
}
};
App.SlaveAssignment.SmartPiercing.women = class extends App.SlaveAssignment.SmartPiercing.GENDERBASE {
constructor(slave) {
super(slave, "attrXX", true);
}
text(plural) {
const {his, him, he} = getPronouns(this.slave);
return `successfully <span class="improvement">${plural ? "increase" : "increases"} ${his} attraction to girls</span> by pleasuring ${him} when ${he}'s around them.`;
}
};
App.SlaveAssignment.SmartPiercing["anti-women"] = class extends App.SlaveAssignment.SmartPiercing.GENDERBASE {
constructor(slave) {
super(slave, "attrXX", false);
}
text(plural) {
const {his, he} = getPronouns(this.slave);
return `successfully <span class="improvement">${plural ? "suppress" : "suppresses"} ${his} attraction to girls</span> by making ${his} private parts very uncomfortable when ${he}'s around them.`;
}
};
App.SlaveAssignment.SmartPiercing.men = class extends App.SlaveAssignment.SmartPiercing.GENDERBASE {
constructor(slave) {
super(slave, "attrXY", true);
}
text(plural) {
const {his, him, he} = getPronouns(this.slave);
return `successfully <span class="improvement">${plural ? "increase" : "increases"} ${his} attraction to guys</span> by pleasuring ${him} when ${he}'s around cocks.`;
}
};
App.SlaveAssignment.SmartPiercing["anti-men"] = class extends App.SlaveAssignment.SmartPiercing.GENDERBASE {
constructor(slave) {
super(slave, "attrXY", false);
}
text(plural) {
const {his, he} = getPronouns(this.slave);
return `successfully <span class="improvement">${plural ? "suppress" : "suppresses"} ${his} attraction to guys</span> by making ${his} private parts very uncomfortable when ${he}'s around them.`;
}
};
/* -- Fetish settings -- */
App.SlaveAssignment.SmartPiercing.FETISHBASE = class extends App.SlaveAssignment.SmartPiercing.BASE {
/** Base class for fetish settings; encapsulates shared logic for fetishes
* @param {App.Entity.SlaveState} slave
* @param {FC.Fetish} fetishName name of fetish controlled by this class
*/
constructor(slave, fetishName) {
super(slave);
this.fetish = fetishName;
}
/** Return text for slave effect for this fetish setting.
* @param {boolean} plural was more than one device used.
* @param {string} which text type to return - "decrease" (of opposing fetish), "change" (to this fetish), or "increase" (of this fetish)
* @returns {string} predicate phrase for a sentence describing the results. note that the subject is provided.
*/
fetishText(plural, which) {
return `<span class="error">ABSTRACT</span>`;
}
// no point in separating effect for fetishes
trigger(magnitude, plural) {
if (this.slave.fetish !== this.fetish) {
if (this.slave.fetishStrength >= 10) {
this.slave.fetishStrength -= 15 + 5 * magnitude; // 20, 25, or 30
return this.fetishText(plural, "decrease");
} else if (fetishChangeChance(this.slave) > (jsRandom(0, 100) - 20 * V.assistant.power)) {
this.slave.fetish = this.fetish;
this.slave.fetishKnown = 1;
this.slave.fetishStrength = 5 + 5 * magnitude;
return this.fetishText(plural, "change");
}
} else if (this.slave.fetishStrength <= 95) {
this.slave.fetishStrength += 2 + 2 * magnitude; // 4, 6, or 8
return this.fetishText(plural, "increase");
}
return '';
}
};
App.SlaveAssignment.SmartPiercing.vanilla = class extends App.SlaveAssignment.SmartPiercing.FETISHBASE {
constructor(slave) {
super(slave, "none");
}
trigger(magnitude, plural) {
// Vanilla does NOT increase the strength of the "none" fetish, but otherwise behaves like any other fetishe setting
if (this.slave.fetish !== "none") {
return super.trigger(magnitude, plural);
}
return '';
}
fetishText(plural, which) {
const {him, his} = getPronouns(this.slave);
if (which === "decrease") {
return `${plural ? "act" : "acts"} to <span class="fetish loss">suppress ${his} current fetish,</span> encouraging ${him} to orgasm only during normal sex.`;
} else if (which === "change") {
return `${plural ? "encourage" : "encourages"} many orgasms during straightforward oral sex, and <span class="fetish loss">${his} sexuality returns to normal.</span>`;
}
throw "Unexpected fetish effect";
}
};
App.SlaveAssignment.SmartPiercing.oral = class extends App.SlaveAssignment.SmartPiercing.FETISHBASE {
constructor(slave) {
super(slave, "cumslut");
}
fetishText(plural, which) {
const {he, him, his} = getPronouns(this.slave);
if (which === "decrease") {
return `${plural ? "act" : "acts"} to <span class="fetish loss">suppress ${his} current fetish,</span> encouraging ${him} to orgasm when ${he}'s using ${his} mouth.`;
} else if (which === "change") {
return `${plural ? "encourage" : "encourages"} many orgasms as ${he} performs oral sex, and <span class="fetish gain">${he} develops a fetish for cum.</span>`;
} else if (which === "increase") {
return `<span class="fetish gain">${plural ? "advance" : "advances"} ${his} oral fetish.</span>`;
}
}
};
App.SlaveAssignment.SmartPiercing.anal = class extends App.SlaveAssignment.SmartPiercing.FETISHBASE {
constructor(slave) {
super(slave, "buttslut");
}
fetishText(plural, which) {
const {he, him, his} = getPronouns(this.slave);
if (which === "decrease") {
return `${plural ? "act" : "acts"} to <span class="fetish loss">suppress ${his} current fetish,</span> encouraging ${him} to orgasm when ${his} rear hole is being fucked.`;
} else if (which === "change") {
return `${plural ? "encourage" : "encourages"} many orgasms when ${his} ass is being stimulated, and <span class="fetish gain">${he} develops a fetish for being an anal bottom.</span>`;
} else if (which === "increase") {
return `<span class="fetish gain">${plural ? "advance" : "advances"} ${his} anal fetish.</span>`;
}
}
};
App.SlaveAssignment.SmartPiercing.boobs = class extends App.SlaveAssignment.SmartPiercing.FETISHBASE {
constructor(slave) {
super(slave, "boobs");
}
fetishText(plural, which) {
const {he, him, his} = getPronouns(this.slave);
if (which === "decrease") {
return `${plural ? "act" : "acts"} to <span class="fetish loss">suppress ${his} current fetish,</span> encouraging ${him} to orgasm when ${his} tits are being touched.`;
} else if (which === "change") {
return `${plural ? "encourage" : "encourages"} many orgasms when ${his} nipples are being stimulated, and <span class="fetish gain">${he} develops a fetish for ${his} tits.</span>`;
} else if (which === "increase") {
return `<span class="fetish gain">${plural ? "advance" : "advances"} ${his} boob fetish.</span>`;
}
}
};
App.SlaveAssignment.SmartPiercing.submissive = class extends App.SlaveAssignment.SmartPiercing.FETISHBASE {
constructor(slave) {
super(slave, "submissive");
}
fetishText(plural, which) {
const {he, him, his} = getPronouns(this.slave);
if (which === "decrease") {
return `${plural ? "act" : "acts"} to <span class="fetish loss">suppress ${his} current fetish,</span> encouraging ${him} to orgasm when ${he}'s being held down and used.`;
} else if (which === "change") {
return `${plural ? "encourage" : "encourages"} many orgasms when ${he} is restrained, and <span class="fetish gain">${he} develops a fetish for submission.</span>`;
} else if (which === "increase") {
return `<span class="fetish gain">${plural ? "advance" : "advances"} ${his} submission.</span>`;
}
}
};
App.SlaveAssignment.SmartPiercing.humiliation = class extends App.SlaveAssignment.SmartPiercing.FETISHBASE {
constructor(slave) {
super(slave, "humiliation");
}
fetishText(plural, which) {
const {he, him, his} = getPronouns(this.slave);
if (which === "decrease") {
return `${plural ? "act" : "acts"} to <span class="fetish loss">suppress ${his} current fetish,</span> encouraging ${him} to orgasm when ${he}'s got an audience.`;
} else if (which === "change") {
return `${plural ? "encourage" : "encourages"} many orgasms when ${he} is being humiliated, and <span class="fetish gain">${he} develops a fetish for humiliation.</span>`;
} else if (which === "increase") {
return `<span class="fetish gain">${plural ? "advance" : "advances"} ${his} humiliation fetish.</span>`;
}
}
};
App.SlaveAssignment.SmartPiercing.pregnancy = class extends App.SlaveAssignment.SmartPiercing.FETISHBASE {
constructor(slave) {
super(slave, "pregnancy");
}
fetishText(plural, which) {
const {he, him, his} = getPronouns(this.slave);
if (which === "decrease") {
return `${plural ? "act" : "acts"} to <span class="fetish loss">suppress ${his} current fetish,</span> encouraging ${him} to orgasm when ${he} feels like ${he}'s being bred.`;
} else if (which === "change") {
let activities = ''; // FIXME: no text for null PCs. Is that a thing?
if (V.PC.dick !== 0) {
activities = "unprotected sex";
if (V.PC.vagina !== -1) {
activities += " and ";
}
}
if (V.PC.vagina !== -1) {
activities += "loving contact with the female anatomy";
}
return `${plural ? "encourage" : "encourages"} many orgasms during ${activities}, and <span class="fetish gain">${he} begins to fantasize about pregnancy.</span>`;
} else if (which === "increase") {
return `<span class="fetish gain">${plural ? "advance" : "advances"} ${his} pregnancy fetish.</span>`;
}
}
};
App.SlaveAssignment.SmartPiercing.dom = class extends App.SlaveAssignment.SmartPiercing.FETISHBASE {
constructor(slave) {
super(slave, "dom");
}
fetishText(plural, which) {
const {he, him, his} = getPronouns(this.slave);
if (which === "decrease") {
return `${plural ? "act" : "acts"} to <span class="fetish loss">suppress ${his} current fetish,</span> encouraging ${him} to orgasm when another slave is servicing ${him}.`;
} else if (which === "change") {
return `${plural ? "encourage" : "encourages"} many orgasms while ${he}'s taking an active, dominant sexual role, and <span class="fetish gain">${he} begins to enjoy dominance.</span>`;
} else if (which === "increase") {
return `<span class="fetish gain">${plural ? "advance" : "advances"} ${his} dominance.</span>`;
}
}
};
App.SlaveAssignment.SmartPiercing.masochist = class extends App.SlaveAssignment.SmartPiercing.FETISHBASE {
constructor(slave) {
super(slave, "masochist");
}
fetishText(plural, which) {
const {he, him, his} = getPronouns(this.slave);
if (which === "decrease") {
return `${plural ? "act" : "acts"} to <span class="fetish loss">suppress ${his} current fetish,</span> encouraging ${him} to orgasm when ${he}'s being hurt.`;
} else if (which === "change") {
return `${plural ? "encourage" : "encourages"} many orgasms while ${he}'s being beaten, and <span class="fetish gain">${he} begins to enjoy pain.</span>`;
} else if (which === "increase") {
return `<span class="fetish gain">${plural ? "advance" : "advances"} ${his} masochism.</span>`;
}
}
};
App.SlaveAssignment.SmartPiercing.sadist = class extends App.SlaveAssignment.SmartPiercing.FETISHBASE {
constructor(slave) {
super(slave, "sadist");
}
fetishText(plural, which) {
const {he, him, his} = getPronouns(this.slave);
if (which === "decrease") {
return `${plural ? "act" : "acts"} to <span class="fetish loss">suppress ${his} current fetish,</span> encouraging ${him} to orgasm when ${he} witnesses or even takes part in another slave's pain.`;
} else if (which === "change") {
return `${plural ? "encourage" : "encourages"} many orgasms while ${he}'s involved in the abuse of other slaves, and <span class="fetish gain">${he} begins to develop a sadistic streak.</span>`;
} else if (which === "increase") {
return `<span class="fetish gain">${plural ? "advance" : "advances"} ${his} sadism.</span>`;
}
}
};
/* -- Dispatch -- */
/** Apply and return description of smart piercing effects
* @param {App.Entity.SlaveState} slave
* @returns {string}
*/
App.SlaveAssignment.saSmartPiercingEffects = function(slave) {
const {he, his, His, him} = getPronouns(slave);
const hasBV = slave.vaginalAccessory === "bullet vibrator" || slave.dickAccessory === "bullet vibrator";
const hasSmartBV = slave.vaginalAccessory === "smart bullet vibrator" || slave.dickAccessory === "smart bullet vibrator";
const hasDildoVibe = slave.vaginalAttachment === "vibrator";
const hasSmartDildoVibe = slave.vaginalAttachment === "smart vibrator";
const hasSP = slave.clitPiercing === 3;
const piercing = hasSP ? `smart ${(slave.vagina > -1) ? "clit" : "frenulum"} piercing` : ``;
const hasSmartVibe = hasSmartDildoVibe || hasSmartBV;
const hasDumbVibe = hasDildoVibe || hasBV;
const vibrator = `${hasSmartVibe ? "smart " : ""}${(hasBV || hasSmartBV) ? "bullet vibrator" : (hasDildoVibe || hasSmartDildoVibe) ? "vibrating dildo" : ""}`;
// should we bail early because the slave can't be affected?
if (hasSP) {
if (slave.fuckdoll > 0) {
return `${His} ${piercing} is slaved to ${his} stimulation systems.`;
} else if (slave.fetish === "mindbroken") {
return `The effects of ${his} ${piercing} cannot reach ${his} shattered mind.`;
}
} else if (hasSmartVibe || hasDumbVibe) {
if (hasSmartVibe && slave.fuckdoll > 0) { // note: ordinary vibes DO affect fuckdolls
return `${His} ${vibrator} is slaved to ${his} stimulation systems.`;
} else if (slave.fetish === "mindbroken") {
return `The effects of the ${vibrator} ${he} is wearing cannot reach ${his} shattered mind.`;
}
}
let r = [];
// smart toys act only when turned on
if ((hasSP || hasSmartVibe) && slave.clitSetting !== "off") {
r.push(doSmartToys());
}
// dumb toys act regardless of what the smart toys are doing
if (hasDumbVibe) {
r.push(doDumbToys());
}
return r.join(' ');
function doSmartToys() {
// figure out how the slave is affected by smart toys
let magnitude = 0;
let plural = false;
let subjectPhrase = '';
if (hasSP && hasSmartVibe) {
magnitude = 3;
plural = true;
subjectPhrase = `${His} ${piercing} and the ${vibrator} ${he} is wearing`;
} else if (hasSmartVibe) {
magnitude = 2;
subjectPhrase = `The ${vibrator} ${he} is wearing`;
} else if (hasSP) {
magnitude = 1;
subjectPhrase = `${His} ${piercing}`;
}
if (magnitude) {
const ctor = App.SlaveAssignment.SmartPiercing[slave.clitSetting];
if (typeof ctor !== "function") { // uninstantiated classes are really just functions. JS is weird.
throw "Unrecognized smart clit/vibe setting";
}
/** @type {App.SlaveAssignment.SmartPiercing.BASE} */
const setting = new ctor(slave);
const predicatePhrase = setting.trigger(magnitude, plural);
if (predicatePhrase !== "") { // no predicate means no sentence
return subjectPhrase + " " + predicatePhrase;
}
}
return ``;
}
function doDumbToys() {
// all dumb vibrators do exactly the same thing: dampen any existing fetish, and push libido into the average (40-60) range
const intro = `${His} ${vibrator} intermittently stimulates ${him} no matter what ${he}'s doing, which `;
const effects = [];
if (slave.fetish !== "none") {
if (slave.fetishKnown === 1) {
effects.push(`<span class="fetish loss">weakens</span> ${his} fetish`);
}
slave.fetishStrength -= Math.min(15, slave.fetishStrength);
}
if (slave.energy <= 40) {
effects.push(`<span class="improvement">increases</span> ${his} below-average sex drive`);
slave.energy += 3;
} else if (slave.energy >= 60) {
effects.push(`<span class="stat drop">reduces</span> ${his} overcharged libido`);
slave.energy -= 3;
}
return effects.length > 0 ? intro + arrayToSentence(effects) + "." : "";
}
};
|
MonsterMate/fc
|
src/endWeek/saSmartPiercingEffects.js
|
JavaScript
|
mit
| 19,651
|
/** Apply and return description of social effects
* @param {App.Entity.SlaveState} slave
* @returns {DocumentFragment}
*/
App.SlaveAssignment.saSocialEffects = function(slave) {
const {His, his, him, he, girl, wife} = getPronouns(slave);
/** Build a social effect object
* @param {string} FS
* @param {number} magnitude positive or negative value (a small integer, or a fraction between -1 and 1)
* @param {string} shortDesc for compact/list mode (text string)
* @param {string} longDesc for expanded mode (HTML string)
* @param {boolean} [creditFacility=false] true if the effect is only due to the facility she's assigned to
*/
function SocialEffect(FS, magnitude, shortDesc, longDesc, creditFacility=false) {
this.FS = FS;
this.magnitude = magnitude;
this.shortDesc = shortDesc;
this.longDesc = longDesc;
this.creditFacility = creditFacility;
}
/** @returns {SocialEffect[]} */
function makeSocialEffects() {
let t = [];
const modScore = SlaveStatsChecker.modScore(slave);
if (V.arcologies[0].FSSupremacist !== "unset") {
if (slave.race === V.arcologies[0].FSSupremacistRace) {
if ([Job.ARCADE, Job.PUBLIC, Job.CLUB, Job.WHORE, Job.GLORYHOLE, Job.BROTHEL].includes(slave.assignment)) {
t.push(new SocialEffect("Supremacist", -1, "Degrading job for race",
`Society <span class="red">${V.arcologies[0].FSSupremacist >= V.FSLockinLevel*0.6 ? "strongly " : ''}disapproves</span> of your keeping a slave of the ${V.arcologies[0].FSSupremacistRace} race in a degrading, public role; this also holds back acceptance of ${V.arcologies[0].FSSupremacistRace} superiority.`, true));
} else if (slave.assignment === Job.HEADGIRL) {
t.push(new SocialEffect("Supremacist", 2, "Headgirl race",
`Society <span class="green">strongly approves</span> of your keeping a slave of the ${V.arcologies[0].FSSupremacistRace} race in a position of leadership as your Head Girl, advancing the notion that those of the ${V.arcologies[0].FSSupremacistRace} race should be in positions of authority over others.`));
} else if (slave.assignment === Job.RECRUITER) {
t.push(new SocialEffect("Supremacist", 2, "Recruiter race",
`Society <span class="green">strongly approves</span> of your keeping a slave of the ${V.arcologies[0].FSSupremacistRace} race in a position of leadership as your recruiter, advancing the notion that it is only natural that those of the ${V.arcologies[0].FSSupremacistRace} race should lead the charge in enslaving others.`));
} else if (slave.assignment === Job.CONCUBINE) {
t.push(new SocialEffect("Supremacist", 2, "Concubine race",
`Society <span class="green">strongly approves</span> of your keeping a slave of the ${V.arcologies[0].FSSupremacistRace} race in a position of importance as your concubine, advancing the notion that the most favored of your bedslaves should naturally be of the ${V.arcologies[0].FSSupremacistRace} race.`));
} else {
t.push(new SocialEffect("Supremacist", 0, "Normal job for race",
`Society does not disapprove of your keeping a slave of the ${V.arcologies[0].FSSupremacistRace} race, since ${he} is not in a publicly degrading role.`));
}
if (slave.pregKnown === 1) {
if (slave.pregSource > 0) {
const dad = findFather(slave.pregSource);
if (dad) {
if ((slave.race !== dad.race) && (V.arcologies[0].FSSupremacistRace === "mixed race")) {
t.push(new SocialEffect("Supremacist", 2, "Mixed race breeding",
`Society <span class="lightgreen">approves</span> of your using slave breeders like ${slave.slaveName} to propagate the ${V.arcologies[0].FSSupremacistRace} civilization.`));
} else if (slave.race !== dad.race) {
t.push(new SocialEffect("Supremacist", -2, "Miscegenation",
`Society <span class="red">strongly disapproves</span> of your allowing a pure ${V.arcologies[0].FSSupremacistRace} slave to be miscegenated by ${dad.slaveName}.`));
} else {
t.push(new SocialEffect("Supremacist", 2, "Pure race breeding",
`Society <span class="green">strongly approves</span> of your using slave breeders like ${slave.slaveName} to propagate the ${V.arcologies[0].FSSupremacistRace} civilization.`));
}
}
}
}
if (slave.fuckdoll > 0) {
t.push(new SocialEffect("Supremacist", -2, "Superior race fuckdoll",
`Society <span class="red">strongly disapproves</span> of your owning a ${V.arcologies[0].FSSupremacistRace} Fuckdoll.`));
}
} else {
t.push(new SocialEffect("Supremacist", 1, "Inferior race slave",
`Society <span class="green">approves</span> of your keeping a slave of an inferior race; this also advances ${V.arcologies[0].FSSupremacistRace} superiority.`));
if (slave.fuckdoll > 0) {
t.push(new SocialEffect("Supremacist", 1, "Inferior race fuckdoll",
`Society <span class="green">approves</span> of your keeping a Fuckdoll of an inferior race.`));
}
}
}
if (V.arcologies[0].FSSubjugationist !== "unset") {
if (slave.race === V.arcologies[0].FSSubjugationistRace) {
t.push(new SocialEffect("Subjugationist", 1, "Inferior race slave",
`Society <span class="green">approves</span> of your keeping a slave of the subject ${V.arcologies[0].FSSubjugationistRace} race; this also advances ${V.arcologies[0].FSSubjugationistRace} inferiority.`));
if (slave.ovaries === 0) {
if (slave.balls === 0 || slave.vasectomy === 1) {
let r = [];
r.push(`Society <span class="green">approves</span> of ${slave.slaveName}'s `);
if (slave.vasectomy === 1 && slave.balls > 0) {
r.push(`vasectomy,`);
} else if (slave.dick > 0) {
r.push(`gelding,`);
} else {
r.push(`sterilization,`);
}
r.push(`which ensures that ${he} will not propagate the ${V.arcologies[0].FSSubjugationistRace} race.`);
t.push(new SocialEffect("Subjugationist", 1, "Sterilized inferior slave", r.join(' ')));
}
}
if (slave.fuckdoll > 0) {
t.push(new SocialEffect("Subjugationist", 1, "Inferior race fuckdoll",
`Society <span class="green">approves</span> of your keeping a Fuckdoll of the ${V.arcologies[0].FSSubjugationistRace} race.`));
}
} else {
if (slave.pregKnown === 1 && slave.pregSource > 0) {
const dad = findFather(slave.pregSource);
if (dad && dad.race === V.arcologies[0].FSSubjugationistRace) {
t.push(new SocialEffect("Subjugationist", -2, "Miscegenation",
`Society <span class="red">strongly disapproves</span> of your allowing ${slave.slaveName} to be miscegenated by a ${V.arcologies[0].FSSubjugationistRace} subhuman like ${dad.slaveName}.`));
}
}
}
}
if (V.arcologies[0].FSYouthPreferentialist !== "unset") {
if ((slave.geneMods.NCS > 0) && (slave.visualAge <= 18)) {
t.push(new SocialEffect("YouthPreferentialist", 2, "NCS Youthening",
`Society <span class="green">strongly approves</span> of you keeping ${slave.slaveName} forever young and youthening; this furthers the fashion for young slaves.`));
} else if (slave.visualAge < 30) {
const youthRepChange = ((30-slave.visualAge)/5);
t.push(new SocialEffect("YouthPreferentialist", youthRepChange, "Young-looking slave",
`Society <span class="green">approves</span> of ${slave.slaveName}'s youthful body; ${he} furthers the fashion for young slaves.`));
}
} else if (V.arcologies[0].FSMaturityPreferentialist !== "unset") {
if (slave.visualAge >= 30) {
const matureRepChange = ((slave.visualAge-25)/5);
t.push(new SocialEffect("MaturityPreferentialist", matureRepChange, "Mature-looking slave",
`Society <span class="green">approves</span> of ${slave.slaveName}'s mature body; ${he} furthers the fashion for older ladies.`));
}
}
if (V.arcologies[0].FSPetiteAdmiration !== "unset") {
if (heightPass(slave)) {
t.push(new SocialEffect("PetiteAdmiration", 1, "Short slave",
`Society <span class="green">approves</span> of keeping a slave as short as ${slave.slaveName} is; ${he} furthers the fashion for shorter slaves.`));
} else if (slave.height >= 170) {
t.push(new SocialEffect("PetiteAdmiration", -1, "Tall slave",
`Society <span class="red">frowns</span> at keeping a slave as tall as ${slave.slaveName}; ${he} hinders the fashion for shorter slaves.`));
}
} else if (V.arcologies[0].FSStatuesqueGlorification !== "unset") {
if (heightPass(slave)) {
t.push(new SocialEffect("StatuesqueGlorification", 1, "Tall slave",
`Society <span class="green">approves</span> of keeping a slave as tall as ${slave.slaveName} is; ${he} furthers the fashion for taller slaves.`));
} else {
t.push(new SocialEffect("StatuesqueGlorification", -1, "Short slave",
`Society <span class="red">frowns</span> at keeping someone as embarrassingly short as ${slave.slaveName}; ${he} hinders the fashion for taller slaves.`));
}
}
if (V.arcologies[0].FSGenderRadicalist !== "unset") {
if ((slave.balls > 0) && (slave.pubertyXY === 0) && (slave.physicalAge >= V.potencyAge)) {
t.push(new SocialEffect("GenderRadicalist", 2, "Avoiding male puberty",
`Society <span class="green">approves</span> of you keeping ${slave.slaveName} from going through puberty; this advances public interest in ${girl}s with soft little dicks.`));
} else if ((slave.balls > 0) && (slave.dick > 0) && (slave.hormoneBalance >= 100)) {
t.push(new SocialEffect("GenderRadicalist", 1, "Feminization",
`Society <span class="green">approves</span> of your heavy hormonal feminization of ${slave.slaveName}; this advances public interest in ${girl}s with soft little dicks.`));
} else if ((slave.dick > 0) && (slave.balls === 0)) {
t.push(new SocialEffect("GenderRadicalist", 1, "Gelded slave",
`Society <span class="green">approves</span> of your keeping a gelded slave; this advances public interest in ${girl}s with soft dickclits.`));
} else if ((slave.dick > 0) && (slave.anus > 0) && (slave.devotion > 20) && (slave.trust >= -20)) {
t.push(new SocialEffect("GenderRadicalist", 1, "Contented dickgirl bottom",
`Society <span class="green">approves</span> of your keeping a contented dickgirl bottom; this advances public interest in ${girl}s who get hard when assfucked.`));
}
} else if (V.arcologies[0].FSGenderFundamentalist !== "unset") {
if (V.arcologies[0].FSRestart === "unset") {
if (slave.bellyPreg >= 1500) {
t.push(new SocialEffect("GenderFundamentalist", 1, "Pregnant",
`Society <span class="green">${V.arcologies[0].FSGenderFundamentalist >= V.FSLockinLevel*0.5 ? "strongly " : ""}approves</span> of your keeping a pregnant slave; this also supports the idea that slave women should bear babies.`));
} else if ((slave.preg === 0) && isFertile(slave)) {
t.push(new SocialEffect("GenderFundamentalist", 1, "Fertile",
`Society <span class="green">${V.arcologies[0].FSGenderFundamentalist >= V.FSLockinLevel*0.5 ? "strongly " : ""}approves</span> of your keeping a slave fertile; this also supports the idea that slave women should bear babies.`));
}
} else {
if (slave.hips > slave.shoulders) {
t.push(new SocialEffect("GenderFundamentalist", 1, "Feminine figure",
`Society <span class="green">approves</span> of keeping a slave with a feminine figure.`));
}
}
if ((slave.intelligenceImplant > 15 || slave.intelligenceImplant < 0) && V.arcologies[0].FSGenderFundamentalistLawBimbo === 1) {
t.push(new SocialEffect("GenderFundamentalist", -1, "Educated woman",
`Society <span class="red">disapproves</span> of encouraging a woman's education.`));
}
if ((slave.devotion <= 95) && canPenetrate(slave)) {
t.push(new SocialEffect("GenderFundamentalist", -1, "Can penetrate, not worshipful",
`Society <span class="red">disapproves</span> of ${slave.slaveName}'s stiff, unrestrained dick, since ${he} isn't even worshipful of you.`));
}
}
function repopRacialPregnancy() {
if (V.arcologies[0].FSSubjugationist !== "unset" && (slave.race === V.arcologies[0].FSSubjugationistRace)) {
t.push(new SocialEffect("RepopulationFocus", 0, "Undesirable race (Subjugationist)",
`They just wish it wasn't ${V.arcologies[0].FSSubjugationistRace}, of course.`));
} else if (V.arcologies[0].FSSupremacist !== "unset" && (slave.race === V.arcologies[0].FSSupremacistRace)) {
t.push(new SocialEffect("RepopulationFocus", 0, "Desirable race (Supremacist)",
`The fact that ${he} is ${V.arcologies[0].FSSupremacistRace} only makes it better.`));
}
}
if (V.arcologies[0].FSRepopulationFocus !== "unset") {
if (slave.preg > slave.pregData.normalBirth/1.33) {
if (slave.pregType >= 20) {
t.push(new SocialEffect("RepopulationFocus", 5, "Broodmother",
`Society is <span class="green">very pleased</span> at ${slave.slaveName}'s dedication to pregnancy.`));
} else if (slave.pregType >= 10) {
t.push(new SocialEffect("RepopulationFocus", 3, "Large multiple pregnancy",
`Society is <span class="green">pleased</span> by ${slave.slaveName}'s abnormally large pregnancy.`));
} else {
t.push(new SocialEffect("RepopulationFocus", 2, "Advanced pregnancy",
`Society is <span class="green">pleased</span> by ${slave.slaveName}'s advanced pregnancy.`));
}
repopRacialPregnancy();
} else if (slave.weight > 130) {
let r = [];
r.push(`${slave.slaveName} is so fat, society just assumes there is a baby somewhere in there, though they wish it was more obvious.`);
if (slave.pregWeek < 0) {
r.push(`But fortunately for ${him}, word of ${his} recent birth has gotten around <span class="green">reassuring the masses</span> that ${he} can still bear children.`);
t.push(new SocialEffect("RepopulationFocus", 2, "Fat recent mother", r.join(" ")));
} else if (slave.collar === "preg biometrics") {
if (slave.preg > 0) {
r.push(`<span class="green">Their wish is granted</span> by ${slave.slaveName}'s collar revealing ${his} womb's secret${slave.pregType > 1 ? 's' : ''} even when ${his} body is trying its best to keep ${slave.pregType > 1 ? "them" : "it"} hidden.`);
t.push(new SocialEffect("RepopulationFocus", 2, "Fat pregnancy", r.join(" ")));
repopRacialPregnancy();
} else if (slave.preg <= 0) {
r.push(`<span class="red">The illusion is shattered</span> by ${slave.slaveName}'s collar revealing ${his} vacant womb.`);
t.push(new SocialEffect("RepopulationFocus", -2, "Fat but not pregnant", r.join(" ")));
}
}
} else if (slave.bellyPreg >= 1500) {
t.push(new SocialEffect("RepopulationFocus", 1, "Obviously pregnant",
`Society is <span class="green">pleased</span> by ${slave.slaveName}'s pregnancy.`));
repopRacialPregnancy();
} else if (V.arcologies[0].FSSubjugationist !== "unset" && (slave.race === V.arcologies[0].FSSubjugationistRace) && slave.bellyImplant >= 1500) {
t.push(new SocialEffect("", 0.1, "Belly implant for inferior race (Repopulation Focus)",
`Society <span class="green">is satisfied</span> with ${slave.slaveName}'s implant filled belly since ${his} kind really shouldn't be breeding.`));
} else if (slave.bellyImplant >= 1500 && ((slave.ovaries === 0 && slave.mpreg === 0) || slave.preg < -1)) {
t.push(new SocialEffect("", 0.1, "Belly implant for infertile slave (Repopulation Focus)",
`Society <span class="green">accepts</span> ${slave.slaveName}'s implant filled belly due to ${his} infertility.`));
} else if (slave.collar === "preg biometrics" && slave.preg > 0) {
t.push(new SocialEffect("RepopulationFocus", 1, "Pregnancy biometrics",
`Society is <span class="green">pleased</span> by ${slave.slaveName}'s collar revealing ${his} womb's secret${slave.pregType > 1 ? 's' : ''} even when ${his} body is trying its best to keep ${slave.pregType > 1 ? "them" : "it"} hidden.`));
repopRacialPregnancy();
} else if (slave.pregWeek < 0) {
t.push(new SocialEffect("RepopulationFocus", 2, "Recently gave birth",
`Society is <span class="green">pleased</span> by ${slave.slaveName}'s recent birth.`));
} else if (setup.fakeBellies.includes(slave.bellyAccessory)) {
t.push(new SocialEffect("", 0.01, "Fake belly (Repopulation Focus)",
`Society is <span class="green">placated</span> by ${slave.slaveName}'s fake belly.`));
} else if (V.arcologies[0].FSSubjugationist !== "unset" && (slave.race === V.arcologies[0].FSSubjugationistRace)) {
t.push(new SocialEffect("RepopulationFocus", 0, "Not pregnant but inferior race (Subjugationist)",
`Society is perfectly fine with ${slave.slaveName} not reproducing. ${His} belly is still unattractively small, however.`));
} else if ((slave.ovaries === 0 && slave.mpreg === 0) || (slave.preg < -1) || (slave.pubertyXX === 0)) {
t.push(new SocialEffect("RepopulationFocus", -1, "Unable to become pregnant",
`Society is <span class="red">mildly disappointed</span> that ${slave.slaveName} is unable to become pregnant.`));
} else if (slave.preg === -1) {
t.push(new SocialEffect("RepopulationFocus", -2, "On contraceptives",
`Society is <span class="red">disapproving</span> of ${slave.slaveName}'s contraceptive regimen.`));
} else {
t.push(new SocialEffect("RepopulationFocus", -2, "Not visibly pregnant",
`Society is <span class="red">disapproving</span> of ${slave.slaveName}'s lack of a baby bump.`));
}
if (slave.abortionTat > 0) {
t.push(new SocialEffect("RepopulationFocus", -1, "Abortion tattoos",
`Society <span class="red">is disgusted</span> by the tally of aborted children adorning ${his} skin.`));
}
if (slave.birthsTat > 0) {
t.push(new SocialEffect("RepopulationFocus", 1, "Birth tattoos",
`Society <span class="green">is pleased</span> by the tally of successful births adorning ${his} skin.`));
}
} else if (V.arcologies[0].FSRepopulationFocusPregPolicy === 1) {
if (slave.preg > 30) {
t.push(new SocialEffect("", 1, "Advanced pregnancy (Repopulation Policy)",
`Society <span class="green">loves</span> ${slave.slaveName}'s advanced pregnancy. It's very trendy.`));
} else if (slave.bellyPreg >= 1500) {
t.push(new SocialEffect("", 0.5, "Big pregnant belly (Repopulation Policy)",
`Society <span class="green">enjoys</span> ${slave.slaveName}'s pregnancy. Being heavy with child is in right now.`));
}
} else if (V.arcologies[0].FSRestart !== "unset") {
if (slave.chastityVagina) {
t.push(new SocialEffect("Eugenics", 1, "Vaginal chastity",
`Society is <span class="green">mildly pleased</span> at you keeping ${his} vagina in check.`));
}
if (slave.chastityPenis) {
t.push(new SocialEffect("Eugenics", 1, "Penile chastity",
`Society is <span class="green">mildly pleased</span> at you keeping ${his} dick in check.`));
}
if (slave.breedingMark === 1 && V.propOutcome === 1) {
if (slave.pregKnown === 1 && (slave.pregSource === -1 || slave.pregSource === -6)) {
let r = [];
r.push(`The Societal Elite <span class="green">are pleased</span> `);
if (slave.pregSource === -1) {
r.push(`your`);
} else if (slave.pregSource === -6) {
r.push(`an Elite`);
}
r.push(`child${slave.pregType > 1 ? 'ren are' : ' is'} growing within ${him}. The mark covering ${his} lower belly, coupled with ${his} gravidity and blessing, <span class="green">enamors</span> your populace.`);
V.failedElite -= (5 + slave.pregType);
t.push(new SocialEffect("Eugenics", 3, "Breeder arrying elite baby", r.join(' ')));
if (slave.abortionTat > 0) {
r = [];
r.push(`The `);
if (slave.abortionTat > 1) {
r.push(`tally of aborted children`);
} else {
r.push(`tattoo marking an aborted child`);
}
r.push(`adorning ${his} middle <span class="red">is worrying,</span> however.`);
t.push(new SocialEffect("Eugenics", 3, "Elite breeder abortion tattoo", r.join(' ')));
}
}
} else {
if (slave.preg > slave.pregData.normalBirth/1.33) {
if (slave.pregType >= 10) {
t.push(new SocialEffect("Eugenics", -10, "Broodmother carrying unapproved babies",
`Society is <span class="red">furious</span> at ${slave.slaveName}'s infested womb.`));
} else if (slave.pregType >= 4) {
t.push(new SocialEffect("Eugenics", -5, "Unapproved advanced multiple pregnancy",
`Society is <span class="red">disgusted</span> by ${slave.slaveName}'s abnormally large pregnancy.`));
} else {
t.push(new SocialEffect("Eugenics", -3, "Unapproved advanced pregnancy",
`Society is <span class="red">greatly displeased</span> by ${slave.slaveName}'s advanced pregnancy.`));
}
} else if (slave.bellyPreg >= 1500) {
t.push(new SocialEffect("Eugenics", -2, "Visible unapproved pregnancy",
`Society is <span class="red">very displeased</span> by ${slave.slaveName}'s pregnancy.`));
} else if ((slave.preg < -1) && (slave.vagina > -1)) {
t.push(new SocialEffect("Eugenics", 2, "Not fertile",
`Society is <span class="green">pleased</span> that ${slave.slaveName} is unable to become pregnant.`));
}
if (slave.abortionTat > 0) {
t.push(new SocialEffect("Eugenics", 1, "Abortion tattoos",
`The tally of aborted pregnancies adorning ${his} middle shows <span class="green">just how responsible</span> of an owner ${he} has.`));
}
if (slave.pregKnown === 1 && V.eugenicsFullControl !== 1) {
t.push(new SocialEffect("Eugenics", 0, "Unapproved pregnancy (ELITE WARNING)",
`The Societal Elite <span class="red">judge you</span> for keeping pregnant slaves. It falls to the slaveowner to deal with subhuman pregnancies and you are failing in your duties as a member of the Elite.`));
V.failedElite += (5 + slave.pregType);
}
}
if (slave.balls > 0 && slave.pubertyXY === 1 && slave.vasectomy === 0) {
t.push(new SocialEffect("Eugenics", -slave.balls, "Working testicles",
`Society <span class="red">disapproves</span> of ${his} working testicles.`));
} else if (slave.dick > 0 && slave.balls > 0 && slave.vasectomy === 1) {
t.push(new SocialEffect("Eugenics", 1, "Vasectomy",
`Society <span class="green">approves</span> of ${his} vasectomy.`));
} else if (slave.dick > 0 && slave.balls > 0 && slave.ballType === "sterile") {
t.push(new SocialEffect("Eugenics", 1, "Sterile testicles",
`Society <span class="green">approves</span> of ${his} useless testicles.`));
} else if (slave.dick > 0 && slave.balls === 0) {
t.push(new SocialEffect("Eugenics", 2, "Castrated",
`Society <span class="green">approves</span> of ${his} lack of testicles.`));
}
}
if (V.arcologies[0].FSRepopulationFocusMilfPolicy === 1 && slave.counter.birthsTotal > 0) {
t.push(new SocialEffect("", 1, "MILF Policy",
`Society <span class="green">loves</span> MILFs and as a mother, ${slave.slaveName} fits right in.`));
}
if (V.arcologies[0].FSPaternalist !== "unset") {
if ((slave.geneMods.NCS > 0) && (slave.visualAge <= V.potencyAge) && (slave.physicalAge >= V.potencyAge)) {
t.push(new SocialEffect("Paternalist", 1, "NCS Youthening",
`Society <span class="green">approves</span> of you keeping ${slave.slaveName} perpetually young and innocent looking so you can keep taking care of ${him}; this advances paternalistic ideals.`));
} else if ((slave.intelligenceImplant >= 15) && (slave.fetish !== "mindbroken")) {
t.push(new SocialEffect("Paternalist", 1, "Educated",
`Society <span class="green">approves</span> of ${slave.slaveName} being properly educated; this advances ideas about slave improvement.`));
}
if (slave.fetish !== "mindbroken") {
if (slave.intelligenceImplant <= -15) {
t.push(new SocialEffect("Paternalist", -2, "Miseducated",
`Society <span class="red">is appalled</span> by ${slave.slaveName}'s twisted education; it goes against paternalistic values.`));
} else if ((V.arcologies[0].FSGenderFundamentalistLawBimbo !== 1 && V.arcologies[0].FSIntellectualDependency === "unset") && (slave.intelligenceImplant < 15)) {
if ((slave.assignment !== "learn in the schoolroom") && (slave.assignment !== "take classes")) {
t.push(new SocialEffect("Paternalist", -1, "Uneducated",
`Society <span class="red">disapproves</span> of ${slave.slaveName} being uneducated; this holds back ideas about slave improvement.`));
}
}
}
if (slave.health.condition > 80) {
t.push(new SocialEffect("Paternalist", 1, "Healthy",
`Society <span class="green">approves</span> of ${his} shining health; this advances belief in a slaveowner's duty.`));
}
if (slave.devotion+slave.trust > 180) {
if (slave.relationship === -3) {
t.push(new SocialEffect("Paternalist", 5, `Happy slave ${wife}`,
`Society <span class="green">approves very strongly</span> of ${his} happiness as your ${wife}; this advances paternalistic ideals.`));
} else if ((slave.relationship === -2)) {
t.push(new SocialEffect("Paternalist", 2, `Happy and emotionally bonded`,
`Society <span class="green">strongly approves</span> of ${his} emotional bond to you; this advances paternalistic ideals.`));
} else {
t.push(new SocialEffect("Paternalist", 1, `Devoted and trusting`,
`Society <span class="green">approves</span> of ${his} attachment to you; this advances paternalistic ideals.`));
}
} else {
if (slave.devotion > 95) {
t.push(new SocialEffect("Paternalist", 1, `Worshipful`,
`Society <span class="green">approves</span> of ${his} attachment to you; this advances paternalistic ideals.`));
}
if (slave.trust > 95) {
t.push(new SocialEffect("Paternalist", 1, `Completely trusting`,
`Society <span class="green">approves</span> of ${his} trust in you; this advances paternalistic ideals.`));
}
}
if (slave.choosesOwnAssignment === 1) {
t.push(new SocialEffect("Paternalist", 1, `Choosing own assignment`,
`Society <span class="green">approves</span> of ${slave.slaveName} being allowed to choose ${his} own job, advancing ideals about slave self-actualization.`));
}
if (slave.relationship === -3) {
if (slave.fetish === "mindbroken") {
t.push(new SocialEffect("Paternalist", 1, `Mindbroken, married`,
`Society is mixed over your marriage to the mindbroken ${girl}; on one hand ${he} had no consent, but on the other, you <span class="green">surely must love ${him}</span> to marry ${him}.`));
} else if ((slave.devotion <= 20)) {
t.push(new SocialEffect("Paternalist", -3, `Forced marriage`,
`Society is <span class="red">thoroughly disgusted</span> that you took ${his} hand in marriage by force.`));
}
}
if (modScore.total > 15 || (modScore.piercing > 8 && modScore.tat > 5)) {
t.push(new SocialEffect("Paternalist", -1, `Body mods`,
`Society <span class="red">disapproves</span> of ${his} degrading body modifications, which dulls the public interest in letting slaves choose their own appearance.`));
}
if (slave.fuckdoll > 0) {
t.push(new SocialEffect("Paternalist", -2, `Fuckdoll`,
`Society <span class="red">strongly disapproves</span> of your owning a Fuckdoll.`));
} else if (!canWalk(slave) && canMove(slave) && slave.rules.mobility !== "permissive") {
t.push(new SocialEffect("Paternalist", -1, `Lack of mobility`,
`Society <span class="red">disapproves</span> that you are forcing ${him} to crawl instead of aiding ${his} mobility.`));
}
} else if (V.arcologies[0].FSDegradationist !== "unset") {
if (slave.fetish === "mindbroken") {
t.push(new SocialEffect("Degradationist", -1, `Mindbroken`,
`Society <span class="green">approves</span> of ${his} broken spirit; ${he} serves as an example of a soulless fuckpuppet.`));
} else {
if (slave.trust <= 4) {
t.push(new SocialEffect("Degradationist", 1, `Fearful`,
`Society <span class="green">approves</span> of ${slave.slaveName}'s fear of you.`));
} else {
if (slave.assignment === Job.HEADGIRL) {
t.push(new SocialEffect("Degradationist", 0, `Trusting headgirl`,
`Society accepts ${slave.slaveName} trusting you, since ${he} is your Head Girl and keeps the other slaves down.`));
} else if (slave.assignment === Job.RECRUITER) {
t.push(new SocialEffect("Degradationist", 0, `Trusting recruited`,
`Society accepts ${slave.slaveName} trusting you, since ${he} is your Recruiter and entraps new slaves.`));
} else if (slave.devotion > 95) {
t.push(new SocialEffect("Degradationist", 0, `Trusting worshipful`,
`Society reluctantly accepts of ${slave.slaveName} trusting you, since ${he} is worshipful of you.`));
} else {
t.push(new SocialEffect("Degradationist", -1, `Trusting without cause`,
`Society <span class="red">disapproves</span> of ${slave.slaveName} being trusting of you; ${he} is not being properly degraded for ${his} role.`));
}
}
if (slave.intelligenceImplant <= -15) {
t.push(new SocialEffect("Degradationist", 1, `Miseducated`,
`Society <span class="reputation.inc">is amused</span> by ${slave.slaveName}'s education and how much it hinders critical thought.`));
}
}
if ((slave.assignment === Job.GLORYHOLE) || (slave.assignment === Job.ARCADE)) {
t.push(new SocialEffect("Degradationist", 1, `Restrained for sex`,
`Society <span class="green">approves</span> of how ${he} is restrained for involuntary use, seeing this as the future of sexual relations.`));
}
if (modScore.total > 15 || (modScore.piercing > 8 && modScore.tat > 5)) {
t.push(new SocialEffect("Degradationist", 1, `Heavily modified`,
`Society <span class="green">approves</span> of ${his} many body modifications, which advances the public taste for such degradation of slave bodies.`));
}
if (slave.abortionTat > 0 && V.arcologies[0].FSRepopulationFocus === "unset") {
t.push(new SocialEffect("Degradationist", V.arcologies[0].FSRestart !== "unset" ? 2 : 1, `Abortion tattoos`,
`Society <span class="green">${V.arcologies[0].FSRestart !== "unset" ? "greatly " : ""}approves</span> of ${his} tally of aborted children.`));
}
if (slave.voice !== 0) {
if (slave.lips > 95) {
t.push(new SocialEffect("Degradationist", 1, `Facepussy`,
`Society <span class="green">approves</span> of the way ${his} mouth, with its useless ability to speak, has been replaced with an appealing hole.`));
}
}
if (slave.choosesOwnAssignment === 1) {
t.push(new SocialEffect("Degradationist", -1, `Choosing own assignment`,
`Society <span class="red">disapproves</span> of ${slave.slaveName} being allowed to choose ${his} own job; this holds back ideas about slave degradation.`));
}
if (slave.fuckdoll > 0) {
t.push(new SocialEffect("Degradationist", 1, `Fuckdoll`,
`Society <span class="green">approves</span> of your owning a Fuckdoll.`));
} else if (!canWalk(slave) && canMove(slave) && slave.rules.mobility === "restrictive") {
t.push(new SocialEffect("Degradationist", 1, `Lack of mobility`,
`Society <span class="green">approves</span> that ${he} is forced to crawl like the dog ${he} is.`));
}
}
if (!(jQuery.isEmptyObject(slave.scar))) {
let hasScar = 0;
for (const scarPlace in slave.scar) {
for (const scarType in slave.scar[scarPlace]) {
if (scarType === "exotic") {
continue; // exotic scars don't count
} else {
if (V.arcologies[0].FSDegradationist !== "unset") {
t.push(new SocialEffect("Degradationist", 1, `Scarred`,
`Society <span class="green">mildly approves</span> of your slave's scarring; this encourages the further abuse of slaves.`));
} else if (V.arcologies[0].FSPaternalist !== "unset") {
t.push(new SocialEffect("Paternalist", -1, `Scarred`,
`Society <span class="red">mildly disapproves</span> of your scarred slaves, viewing them as a sign of mistreatment.`));
}
hasScar = 1;
break;
}
}
if (hasScar) {
break;
}
}
}
if (V.arcologies[0].FSIntellectualDependency !== "unset") {
if (V.arcologies[0].FSIntellectualDependencyLawBeauty === 1) {
if (bimboScore(slave) === 6) {
t.push(new SocialEffect("IntellectualDependency", 1, `Perfect bimbo`,
`Society <span class="green">is delighted</span> by ${slave.slaveName}'s perfect bimbo appearance.`));
}
}
if (slave.intelligence+slave.intelligenceImplant < -10) {
t.push(new SocialEffect("IntellectualDependency", 1, `Dimwitted`,
`Society <span class="green">approves</span> of ${slave.slaveName}'s dimwitted mind; this supports the idea that slaves should be entirely dependent on their owner.`));
} else if ([Job.HEADGIRL, Job.ATTENDANT, Job.FARMER, Job.MADAM, Job.MATRON, Job.NURSE, Job.TEACHER, Job.STEWARD, Job.BODYGUARD].includes(slave.assignment)) {
t.push(new SocialEffect("IntellectualDependency", 0, `Intelligence required by job`,
`Society understands the value of intelligence in ${his} appointed position and is willing to overlook it.`));
} else if ((slave.intelligence+slave.intelligenceImplant > 10)) {
t.push(new SocialEffect("IntellectualDependency", -1, `Too smart`,
`Society <span class="red">disapproves</span> of ${slave.slaveName}'s sharp mind; this holds back acceptance of the idea that slaves should be dumb and dependent.`));
}
if (slave.energy > 95) {
t.push(new SocialEffect("IntellectualDependency", 1, `Nymphomania`,
`Society <span class="green">approves</span> of ${slave.slaveName}'s bottomless lust, showing the public one more way a slave may be reliant on ${his} owner.`));
} else if ((slave.energy <= 60)) {
t.push(new SocialEffect("IntellectualDependency", -1, `Low libido`,
`Society <span class="red">disapproves</span> of ${slave.slaveName}'s restrained libido; to the public, this gives ${him} too much freedom to focus on things other than sex.`));
}
} else if (V.arcologies[0].FSSlaveProfessionalism !== "unset") {
if (slave.intelligence+slave.intelligenceImplant > 95) {
t.push(new SocialEffect("SlaveProfessionalism", 1, `Brilliant`,
`Society <span class="green">strongly approves</span> of ${slave.slaveName}'s brilliance; ${his} sharp wit is the foundation of slave perfectionism.`));
} else if (slave.intelligenceImplant >= 30) {
t.push(new SocialEffect("SlaveProfessionalism", 1, `Highly educated`,
`Society <span class="green">approves</span> of ${slave.slaveName}'s advanced education; this advances ideas about crafting the perfect slave.`));
} else if (slave.intelligenceImplant <= -15) {
t.push(new SocialEffect("SlaveProfessionalism", -3, `Miseducated`,
`Society <span class="red">is appalled</span> by ${slave.slaveName}'s twisted education; why someone would do this is beyond them.`));
} else if (slave.intelligence < -10 && slave.intelligenceImplant < 15) {
t.push(new SocialEffect("SlaveProfessionalism", -2, `Slow and uneducated`,
`Society <span class="red">frowns</span> upon keeping a slave as slow as ${slave.slaveName}; the lack of an attempt to correct this sets a bad example for other owners.`));
}
if (slave.accent > 1 && canTalk(slave) && (slave.rules.speech !== "restrictive" || (slave.rules.speech === "restrictive" && slave.devotion < 20 && slave.trust >= -20))) {
t.push(new SocialEffect("SlaveProfessionalism", -2, `Can't speak ${V.language} or be silent`,
`Society <span class="red">dislikes</span> ${slave.slaveName}'s inability to properly speak ${V.language} or hold ${his} tongue; allowing such a flaw hinders the notion of professional slavery.`));
}
if (slave.skill.entertainment + slave.skill.whoring + slave.skill.oral + slave.skill.anal + slave.skill.vaginal >= 400) {
t.push(new SocialEffect("SlaveProfessionalism", 1, `Highly skilled`,
`Society <span class="green">appreciates</span> a slave with skills of ${slave.slaveName}'s caliber.`));
}
if (slave.energy <= 40 && slave.devotion > 50) {
t.push(new SocialEffect("SlaveProfessionalism", 1, `Clearminded (low libido or devoted)`,
`Society <span class="green">approves</span> of a ${girl} with a clear mind like ${slave.slaveName}; ${he} can pour all ${his} efforts into ${his} lover's pleasure without being lost in ${his} own.`));
}
}
if (V.arcologies[0].FSBodyPurist !== "unset") {
if ((slave.boobsImplant === 0) && (slave.buttImplant === 0) && (slave.lipsImplant === 0) && (slave.bellyImplant === -1)) {
t.push(new SocialEffect("BodyPurist", 1, `No implants`,
`Society <span class="green">approves</span> of ${slave.slaveName}'s natural body; this supports the fashion for surgically untouched slaves.`));
} else {
t.push(new SocialEffect("BodyPurist", -1, `Implants`,
`Society <span class="red">disapproves</span> of ${slave.slaveName}'s implants; this holds back acceptance of the idea that slaves should be all-natural.`));
}
if (slave.corsetPiercing === 0 && modScore.piercing < 3 && modScore.tat < 2) {
t.push(new SocialEffect("BodyPurist", 1, `Minimal piercings/tats`,
`Society <span class="green">approves</span> of ${his} unmarked, unblemished skin, advancing the fashion for unspoiled slaves.`));
}
if ((slave.earShape !== "normal" && slave.earShape !== "damaged") || slave.earT !== "none") {
t.push(new SocialEffect("BodyPurist", -1, `Inhuman ears`,
`Society finds ${his} inhuman ears <span class="red">appalling.</span>`));
}
if (slave.horn !== "none" || slave.tail !== "none") {
t.push(new SocialEffect("BodyPurist", -1, `Inhuman tail or horns`,
`Society <span class="red">is disgusted</span> by ${his} inhuman attributes.`));
}
if (slave.faceImplant <= 5 && slave.race === slave.origRace) {
t.push(new SocialEffect("BodyPurist", 1, `Unaltered`,
`Society <span class="green">approves</span> of ${his} natural, untouched appearance, advancing the fashion for unaltered slaves.`));
} else {
t.push(new SocialEffect("BodyPurist", -2, `Surgically altered`,
`Society <span class="red">disapproves</span> of ${slave.slaveName}'s surgical beautification; this holds back acceptance of the idea that a natural slave is a beautiful slave.`));
}
if (slave.fuckdoll === 0) {
if (slave.vagina === 0 && slave.anus === 0 && slave.counter.vaginal === 0 && slave.counter.anal === 0) {
t.push(new SocialEffect("BodyPurist", 3, `Total virgin`,
`Society <span class="green">strongly approves</span> of ${his} intact holes, idolizing ${his} pristine body.`));
} else if (slave.vagina === 0 && slave.counter.vaginal === 0) {
t.push(new SocialEffect("BodyPurist", 1, `Vaginal virgin`,
`Society <span class="green">approves</span> of ${his} intact hymen, advancing ideals of pure, fresh slaves.`));
} else if (slave.anus === 0 && slave.counter.anal === 0) {
t.push(new SocialEffect("BodyPurist", 1, `Anal virgin`,
`Society <span class="green">approves</span> of ${his} intact anus, advancing ideals of pure, fresh slaves.`));
}
}
} else if (V.arcologies[0].FSTransformationFetishist !== "unset") {
let transformed = 0;
if ((slave.boobsImplant > 0) && (slave.buttImplant > 0) && (slave.lipsImplant > 0)) {
t.push(new SocialEffect("TransformationFetishist", 1, `Implants`,
`Society <span class="green">approves</span> of ${slave.slaveName}'s thoroughly modified body; this supports the fashion for surgically upgraded slaves.`));
transformed++;
}
if ((slave.lipsImplant/slave.lips >= .50) || (slave.buttImplant/slave.butt >= .50 && slave.butt >= 6) || (slave.buttImplant/slave.butt >= .25 && slave.butt >= 3) || (slave.boobsImplant/slave.boobs >= .75 && slave.boobs >= 10000) || (slave.boobsImplant/slave.boobs >= .50 && slave.boobs >= 2000) || (slave.boobsImplant/slave.boobs >= .25 && slave.boobs >= 1000) || (slave.boobsImplant/slave.boobs >= .10 && slave.boobs >= 400)) {
t.push(new SocialEffect("TransformationFetishist", 1, `Big implants`,
`Society <span class="green">approves</span> of ${his} obvious implants.`));
transformed++;
}
if (slave.bellyImplant >= 1500) {
t.push(new SocialEffect("TransformationFetishist", 1, `Big belly implant`,
`Society <span class="green">mildly approves</span> of ${slave.slaveName}'s belly bulging implant; this supports interest in more unusual implantations.`));
transformed++;
}
if (isAmputee(slave) || (slave.waist < -95) || (slave.teeth === "pointy") || (slave.teeth === "fangs") || (slave.teeth === "removable") || (slave.hips === 3 && slave.hipsImplant > 0)) {
t.push(new SocialEffect("TransformationFetishist", 1, `Extreme surgery`,
`Society <span class="green">approves</span> of ${his} extreme surgeries; interest in ${him} stirs interest in transformations of all kinds.`));
transformed++;
}
if (slave.faceImplant > 30 || slave.race !== slave.origRace) {
t.push(new SocialEffect("TransformationFetishist", 1, `Surgically improved`,
`Society <span class="green">approves</span> of ${his} surgically improved appearance; this supports the fashion for surgical corrections.`));
transformed++;
}
if (slave.faceImplant > 95 && slave.face > 40) {
t.push(new SocialEffect("TransformationFetishist", 1, `Uncannily beautiful face`,
`Society <span class="green">approves</span> of ${his} beautiful face, considering it's uncanny nature a boon rather than a fault; this supports the belief that there is no such thing as too much surgery.`));
transformed++;
}
let addons = [];
if (hasAnyProstheticLimbs(slave)) {
addons.push("limbs");
}
if (slave.earT !== "none") {
addons.push("ears");
}
if (slave.horn !== "none") {
addons.push("horns");
}
if (slave.tail !== "none") {
addons.push("tail");
}
if (addons.length > 0) {
t.push(new SocialEffect("TransformationFetishist", Math.min(addons.length, 2), `Transhuman addons`,
`Society <span class="green">strongly approves</span> of ${his} transhuman ${arrayToSentence(addons)}.`));
transformed += addons.length;
}
if (slave.dick > 8) {
t.push(new SocialEffect("TransformationFetishist", 1, `Giant dick`,
`Society <span class="green">approves</span> of ${his} monolithic dick, since it's such an obvious transformation masterpiece.`));
transformed++;
}
if (slave.lips > 95) {
t.push(new SocialEffect("TransformationFetishist", 1, `Facepussy`,
`Society <span class="green">approves</span> of ${his} absurd facepussy as a transformation of ${his} mouth into nothing more than another fuckhole.`));
transformed++;
}
if (slave.nipples === "fuckable") {
t.push(new SocialEffect("TransformationFetishist", 1, `Fuckable nipples`,
`Society <span class="green">approves</span> of ${slave.slaveName}'s fuckable nipples; this supports interest in more unusual body modifications.`));
transformed++;
}
if (slave.fuckdoll > 0) {
t.push(new SocialEffect("TransformationFetishist", 1, `Fuckdoll`,
`Society <span class="green">approves</span> of your owning a Fuckdoll.`));
transformed += 5; // total transformation
}
if (transformed === 0) {
t.push(new SocialEffect("TransformationFetishist", -2, `Totally unmodified`,
`Society <span class="red">strongly disapproves</span> of ${slave.slaveName}'s complete lack of any obvious transformations; ${he} does not advance the ideal of body modification.`));
} else if (transformed === 1) {
t.push(new SocialEffect("TransformationFetishist", -1, `Too few modifications`,
`Society <span class="red">disapproves</span> of ${slave.slaveName}'s mostly-natural appearance; more transformations would help advance the ideal of body modification.`));
}
}
if (V.arcologies[0].FSSlimnessEnthusiast !== "unset") {
if (isSlim(slave)) {
t.push(new SocialEffect("SlimnessEnthusiast", 1, `Slim`,
`Society <span class="green">approves</span> of ${slave.slaveName}'s graceful, girlish form; ${he} furthers the fashion for slaves like ${him}.`));
}
let unslim = [];
if (slave.boobs > 400) {
unslim.push("tits");
}
if (slave.butt > 4) {
unslim.push("ass");
}
if (unslim.length > 0) {
t.push(new SocialEffect("SlimnessEnthusiast", -1, `Big tits/ass`,
`Society <span class="red">disapproves</span> of ${slave.slaveName}'s boorishly large ${arrayToSentence(unslim)}; ${he} damages the fashion for slender slaves.`));
}
} else if (V.arcologies[0].FSAssetExpansionist !== "unset") {
let assets = 0;
if (slave.geneMods.NCS > 0) {
t.push(new SocialEffect("AssetExpansionist", -2, `NCS Youthening`,
`Society <span class="green">strongly disapproves </span> of ${slave.slaveName} who can't get bigger; ${his} shrinking body hurts the fashion for Asset expansion.`));
assets++;
}
if (slave.boobs > 2000) {
t.push(new SocialEffect("AssetExpansionist", 1, `Titanic tits`,
`Society <span class="green">approves</span> of ${slave.slaveName}'s huge tits; ${his} breasts further the fashion for bouncing boobs on slaves.`));
assets++;
}
if (slave.butt > 7) {
t.push(new SocialEffect("AssetExpansionist", 1, `Big butt`,
`Society <span class="green">approves</span> of ${his} massive ass; ${his} butt furthers the fashion for big behinds on slaves.`));
assets++;
}
if (slave.dick > 8) {
t.push(new SocialEffect("AssetExpansionist", Math.ceil(slave.dick/10), `Massive member`,
`Society <span class="green">approves</span> of ${his} massive member, which might be nonfunctional, but is a wonder of expansionism.`));
assets++;
} else if (slave.dick >= 6) {
t.push(new SocialEffect("AssetExpansionist", 1, `Prodigious penis`,
`Society <span class="green">approves</span> of ${his} enormous penis; ${his} cock furthers the fashion for dangling dicks on slaves.`));
assets++;
}
if (slave.balls > 6) {
t.push(new SocialEffect("AssetExpansionist", 1, `Tremendous testicles`,
`Society <span class="green">approves</span> of ${his} swinging balls; ${his} nuts further the fashion for tremendous testicles on slaves.`));
assets++;
}
if (slave.lips > 95) {
t.push(new SocialEffect("AssetExpansionist", 1, `Luscious lips`,
`Society <span class="green">approves</span> of ${his} expanded lips.`));
assets++;
}
if (assets === 0) {
t.push(new SocialEffect("AssetExpansionist", -1, `Unexceptional assets`,
`Society <span class="red">is disappointed</span> by ${his} normal-sized (or even petite, by expansionist standards) assets.`));
}
}
if (V.arcologies[0].FSPastoralist !== "unset") {
if (slave.lactation > 0) {
t.push(new SocialEffect("Pastoralist", 1, `Lactating`,
`Society <span class="green">approves</span> of ${slave.slaveName}'s milky udders; the sight of ${his} creamy milk encourages the public taste for dairy straight from the nipple.`));
}
if ((slave.assignment === Job.MILKED || slave.assignment === Job.DAIRY) && (slave.balls > 0)) {
t.push(new SocialEffect("Pastoralist", 1, `Cockmilked`,
`Society <span class="green">approves</span> of how ${slave.slaveName} gets cockmilked; the sight of ${his} product encourages experimentation with cum-based concoctions.`));
}
}
if (V.arcologies[0].FSPhysicalIdealist !== "unset") {
if (V.arcologies[0].FSPhysicalIdealistLaw === 1) {
if (slave.muscles > 50) {
t.push(new SocialEffect("PhysicalIdealist", 1, `Overmuscled (Fit Feminine)`,
`Society <span class="green">approves</span> of ${slave.slaveName}'s commitment to fitness; but thinks ${his} muscles are too big and vascular.`));
} else if ((slave.muscles > 20)) {
t.push(new SocialEffect("PhysicalIdealist", 2, `Fit (Fit Feminine)`,
`Society <span class="green">strongly approves</span> of ${slave.slaveName}'s fit body; physical enthusiasts see ${him} as the optimal example of feminine fitness.`));
} else if ((slave.muscles > 5)) {
t.push(new SocialEffect("PhysicalIdealist", 1, `Toned (Fit Feminine)`,
`Society <span class="green">approves</span> of ${slave.slaveName}'s toned form; the public sees potential in those guns.`));
}
} else {
if (slave.muscles > 95) {
t.push(new SocialEffect("PhysicalIdealist", 2, `Bodybuilder`,
`Society <span class="green">strongly approves</span> of ${slave.slaveName}'s glorious muscles; everyone wants to train a slave to look as swole as ${him}.`));
} else if ((slave.muscles > 30)) {
t.push(new SocialEffect("PhysicalIdealist", 1, `Fit`,
`Society <span class="green">approves</span> of ${slave.slaveName}'s fit body; physical enthusiasts see ${him} as on ${his} way to something great.`));
} else if ((slave.muscles > 5)) {
t.push(new SocialEffect("PhysicalIdealist", 1, `Toned`,
`Society <span class="green">approves</span> of ${slave.slaveName}'s toned form; the public sees potential in those guns.`));
}
}
if (slave.muscles < -30) {
t.push(new SocialEffect("PhysicalIdealist", -1, `Frail`,
`Society <span class="red">disapproves</span> of ${slave.slaveName}'s frail state; ${he} needs to build some muscles if ${he}'s going to help the public idolize fitness.`));
}
if (slave.height >= 185) {
t.push(new SocialEffect("PhysicalIdealist", 1, `Tall`,
`Society <span class="green">approves</span> of how tall ${he} is; the sexual advantages of ${his} height are impressed on the public mind.`));
}
if (slave.health.condition > 80) {
t.push(new SocialEffect("PhysicalIdealist", 1, `Healthy`,
`Society <span class="green">approves</span> of ${his} health; the expectation that slaves should be kept perfectly healthy grows.`));
}
} else if (V.arcologies[0].FSHedonisticDecadence !== "unset") {
if (slave.weight > 160) {
t.push(new SocialEffect("Hedonistic", 3, `Obese`,
`Society <span class="green">strongly approves</span> of ${slave.slaveName}'s glorious rolls; everyone wants to own a pillowy slave like ${him}.`));
} else if (slave.weight > 95) {
t.push(new SocialEffect("Hedonistic", 2, `Voluptuous`,
`Society <span class="green">approves</span> of ${slave.slaveName}'s fat body; it shows just how much luxurious your life must be to pamper a slave as much as ${him}.`));
} else if (slave.weight > 30) {
t.push(new SocialEffect("Hedonistic", 1, `Chubby`,
`Society <span class="green">approves</span> of ${slave.slaveName}'s chubby form; the public enjoys the sight of a well rounded slave.`));
} else if (slave.weight < -30) {
t.push(new SocialEffect("Hedonistic", -1, `Skin and bones`,
`Society <span class="red">disapproves</span> of ${slave.slaveName}'s emaciated state; let the poor ${girl} eat, for goodness' sake!`));
}
if (slave.muscles < -30) {
t.push(new SocialEffect("Hedonistic", 1, `Soft and weak`,
`Society <span class="green">approves</span> of how soft ${he} is; the sexual advantages of being able to effortlessly overpower ${him} are not lost on them.`));
}
if (slave.fetishStrength > 95) {
t.push(new SocialEffect("Hedonistic", 1, `Intense fetish`,
`Society <span class="green">approves</span> of ${his} intense fetish; the expectation that everyone's deepest desires should be fulfilled grows.`));
}
// paraphiliaSatisfied is set in saLongTermMentalEffects.js
if (App.EndWeek.saVars.paraphiliaSatisfied > 0) {
t.push(new SocialEffect("Hedonistic", 1, `Satisfied paraphilia`,
`Society <span class="green">is pleased</span> that ${he} is allowed to fully indulge ${his} paraphilia.`));
} else if (App.EndWeek.saVars.paraphiliaSatisfied < 0) {
t.push(new SocialEffect("Hedonistic", -2, `Unsatisfied paraphilia`,
`Society <span class="red">frowns</span> upon ${him} not being allowed to indulge in ${his} paraphilia.`));
}
}
if (V.arcologies[0].FSChattelReligionist !== "unset") {
if (["cruel retirement counter", "tight steel", "uncomfortable leather"].includes(slave.collar)) {
t.push(new SocialEffect("ChattelReligionist", 1, `Punishing collar`,
`Society <span class="green">approves</span> of ${slave.slaveName}'s collar as an expression of the old ideal of mortification of the flesh, advancing the combination of religious originalism and modern slavery.`));
}
if (["a burqa", "a chattel habit", "a fallen nuns habit", "a hijab and abaya", "a niqab and abaya", "a penitent nuns habit", "a succubus outfit"].includes(slave.clothes)) {
t.push(new SocialEffect("ChattelReligionist", 1, `Religious clothing`,
`Society <span class="green">approves</span> of ${his} religiously themed clothing, strengthening the connection between sexual servitude and faith.`));
} else if (["a bunny outfit", "a hijab and blouse", "a huipil", "a kimono", "a military uniform", "a nice maid outfit", "a nice nurse outfit", "a skimpy loincloth", "a slutty qipao", "a toga", "body oil", "chains", "conservative clothing", "nice business attire", "no clothing", "shibari ropes", "uncomfortable straps"].includes(slave.clothes)) {
t.push(new SocialEffect("ChattelReligionist", 0, `Spartan clothing`,
`Society accepts ${his} spartan clothing, seeing it as permissible under the new religious mores.`));
} else if (slave.fuckdoll === 0) {
t.push(new SocialEffect("ChattelReligionist", -1, `Extravagant clothing`,
`Society <span class="red">disapproves</span> of ${his} unnecessarily gaudy attire; this slows acceptance of a link between faith and sexual servitude.`));
}
if (slave.devotion > 95) {
t.push(new SocialEffect("ChattelReligionist", 1, `Worshipful`,
`Society <span class="green">approves</span> of ${his} devotion to you as a companion to religious devotion, seeing both as the model for holy slaves.`));
}
if (slave.trust > 95) {
t.push(new SocialEffect("ChattelReligionist", 2, `Completely trusting`,
`Society <span class="green">strongly approves</span> of ${his} faith in you as a companion to faith in God, seeing both as the model for righteous slaves of the future.`));
}
if (slave.behavioralFlaw === "devout") {
t.push(new SocialEffect("ChattelReligionist", 0, `Devout`,
`Society does not disapprove of ${his} devout adherence to an old world faith, having confidence that you'll bring ${him} around, and looking forward to seeing ${him} converted into a holy sex object.`));
} else if ((slave.behavioralQuirk === "sinful")) {
t.push(new SocialEffect("ChattelReligionist", 2, `Sinful`,
`Society <span class="green">strongly approves</span> of ${his} eagerness to transgress against the old world religious mores ${he} once held dear.`));
}
if (slave.shouldersTat === "sacrilege" && slave.lipsTat === "sacrilege" && slave.boobsTat === "sacrilege" && slave.armsTat === "sacrilege" && slave.backTat === "sacrilege" && slave.stampTat === "sacrilege" && slave.buttTat === "sacrilege" && slave.vaginaTat === "sacrilege" && slave.dickTat === "sacrilege" && slave.anusTat === "sacrilege" && slave.legsTat === "sacrilege" && slave.fuckdoll === 0) {
t.push(new SocialEffect("ChattelReligionist", 1, `Sacrilegious tattoos`,
`Society <span class="green">enjoys the sight</span> of the religious sacrilege scrawled across ${his} skin.`));
}
}
return t;
}
function makeShelterGirlEffects() {
let t = [];
if (slave.fuckdoll === 0) {
if (slave.fetish !== "mindbroken") {
if (isShelterSlave(slave)) {
if ([Job.CLUB, Job.PUBLIC, Job.WHORE, Job.BROTHEL].includes(slave.assignment)) {
if ((slave.trust > 20) && (slave.health.condition > 40)) {
if (V.arcologies[0].FSPaternalist !== "unset") {
t.push(new SocialEffect("Paternalist", 2, "Happy shelter girl",
`Society <span class="green">strongly approves</span> of how you've brought a shelter ${girl} health and happiness.`, true));
} else if (V.arcologies[0].FSDegradationist === "unset") {
t.push(new SocialEffect(null, 1, "Happy shelter girl",
`The public knows ${he}'s a shelter ${girl} you took in, and is <span class="green">touched</span> that ${he} now seems happy and healthy.`, true));
}
}
}
}
}
}
return t;
}
function applySocialEffects() {
function applyFacilityCredit(value) {
switch (slave.assignment) {
case Job.BROTHEL:
getSlaveStatisticData(slave, V.facility.brothel).rep += value;
break;
/* TODO: presumably more go here? */
}
}
for (const effect of socialEffects) {
if (effect.FS) { // combined rep & FS
const repChange = FutureSocieties.Change(effect.FS, effect.magnitude, App.EndWeek.saVars.pornFameBonus);
if (effect.creditFacility) {
applyFacilityCredit(repChange);
}
} else { // rep only
repX(V.FSSingleSlaveRep * effect.magnitude, "futureSocieties" /* really? */, slave);
if (effect.creditFacility) {
applyFacilityCredit(V.FSSingleSlaveRep * effect.magnitude);
}
}
}
}
function renderTooltip() {
let el = document.createDocumentFragment();
let domLine, domCell;
for (const effect of socialEffects) {
domLine = document.createElement('div');
domLine.style.display = "float";
domCell = document.createElement('span');
domCell.style.float = "left";
domCell.style.width = "3em";
let text = "";
if (Math.round(effect.magnitude) === 0) {
text = '0';
domCell.className = "gray";
} else if (effect.magnitude > 0) {
for (let i = 0; i < effect.magnitude; ++i) {
text += "+";
}
domCell.className = "green";
} else if (effect.magnitude < 0) {
for (let i = 0; i > effect.magnitude; --i) {
text += "-";
}
domCell.className = "red";
}
domCell.append(text);
domLine.append(domCell);
domLine.append(effect.shortDesc);
if (effect.FS) {
domLine.append(` (${effect.FS})`);
}
el.appendChild(domLine);
}
return el;
}
function displayCompressed() {
const positiveSum = socialEffects.filter(e => e.magnitude > 0).reduce((acc, cur) => acc += cur.magnitude, 0);
const negativeSum = socialEffects.filter(e => e.magnitude < 0).reduce((acc, cur) => acc += cur.magnitude, 0);
const sumFrag = document.createDocumentFragment();
sumFrag.append(`(`);
App.UI.DOM.appendNewElement("span", sumFrag, '+' + positiveSum.toString(), positiveSum > 0 ? "green" : "gray");
sumFrag.append(`/`);
App.UI.DOM.appendNewElement("span", sumFrag, '-' + Math.abs(negativeSum).toString(), negativeSum < 0 ? "red" : "gray"); // literal '-' + Math.abs needed to handle 0 case
sumFrag.append(`)`);
const sum = positiveSum + negativeSum;
frag.append(`Society has a `);
if (sum > 0) {
const details = new App.UI.DOM.InteractiveDetails("positive", renderTooltip, ["green", "major-link", "underline"]);
frag.append(details.render(), ` overall view of ${slave.slaveName} `, sumFrag, `, which improves your reputation and advances social progress.`);
} else if (sum === 0) {
const details = new App.UI.DOM.InteractiveDetails("neutral", renderTooltip, ["yellow", "major-link", "underline"]);
frag.append(details.render(), ` overall view of ${slave.slaveName} `, sumFrag, `; ${he} had no net impact on your reputation or social progress this week.`);
} else {
const details = new App.UI.DOM.InteractiveDetails("negative", renderTooltip, ["red", "major-link", "underline"]);
frag.append(details.render(), ` overall view of ${slave.slaveName} `, sumFrag, `, which decreases your reputation and retards social progress.`);
}
}
function displayLong() {
$(frag).append(socialEffects.map(e => e.longDesc).join(" "));
}
const frag = document.createDocumentFragment();
let socialEffects = [];
if (V.FSAnnounced > 0) {
App.EndWeek.saVars.pornFameBonus = 1; // TODO: once the slave part of saVars is properly reinitialized for every slave, delete this line.
if (V.studio === 1) {
if (slave.porn.viewerCount > 0) {
App.EndWeek.saVars.pornFameBonus += (Math.ceil(slave.porn.viewerCount/100000));
if (slave.porn.viewerCount >= 100000) {
frag.append(`${His} near-ubiquitous presence in arcology pornography greatly increases ${his} impact on society. `);
} else if ((slave.porn.viewerCount >= 10000)) {
frag.append(`${His} presence in arcology pornography increases ${his} impact on society. `);
} else {
frag.append(`${His} occasional presence in arcology pornography slightly increases ${his} impact on society. `);
}
}
}
socialEffects.push(...makeSocialEffects());
}
socialEffects.push(...makeShelterGirlEffects());
if (socialEffects.length > 0) {
applySocialEffects();
if (!V.UI.compressSocialEffects) {
displayLong();
} else {
displayCompressed();
}
}
return frag;
};
|
MonsterMate/fc
|
src/endWeek/saSocialEffects.js
|
JavaScript
|
mit
| 60,929
|
/**
* @param {App.Entity.SlaveState} slave
* @returns {string}
*/
App.SlaveAssignment.stayConfined = function(slave) {
/* eslint-disable no-unused-vars*/
const {
he, him, his, hers, himself, boy,
He, His
} = getPronouns(slave);
/* eslint-enable */
let 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="devotion inc">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="devotion inc">${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.`;
} 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="devotion dec">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.`;
} else if (slave.trust < -20) {
t += ` ${He} is already afraid of you, but this confinement makes ${him} <span class="trust dec">fear you even more.</span>`;
slave.trust -= 2;
} else if (slave.trust <= 20) {
t += ` This confinement makes ${him} <span class="trust dec">fear your power</span> over ${him}.`;
slave.trust -= 4;
} else {
t += ` This confinement makes ${him} <span class="trust dec">trust you less,</span> and fear you more.`;
slave.trust -= 5;
}
if (slave.assignment === Job.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.`;
}
}
if (slave.health.illness > 0) {
t += ` ${He} is<span class="red">`;
if (slave.health.illness === 1) {
t += ` feeling under the weather`;
} else if (slave.health.illness === 2) {
t += ` somewhat ill`;
} else if (slave.health.illness === 3) {
t += ` sick`;
} else if (slave.health.illness === 4) {
t += ` very sick`;
} else if (slave.health.illness === 5) {
t += ` terribly ill`;
}
t += `,</span> so ${his} misery only grows.`;
}
if (slave.assignment === Job.CELLBLOCK && V.WardenessID !== 0) {
t += ` The stress of confinement <span class="red">damages ${his} health.</span> ${S.Wardeness.slaveName}`;
if (S.Wardeness.fetish === "mindbroken") {
if (slave.health.tired > 80) {
t += `'s empty mind often overlooks ${him} when ${he} falls inert from exhaustion, giving ${him} <span class="green">a much needed chance to rest.</span>`;
} else {
t += `'s empty mind is void of mercy; This broken Wardeness sees <span class="red">no need for breaks nor rest.</span>`;
}
} else if (S.Wardeness.sexualQuirk === "caring") {
t += ` is too caring and has to focus on not coddling ${him}.`;
} else if (S.Wardeness.sexualFlaw === "malicious" || S.Wardeness.sexualFlaw === "abusive") {
if (slave.health.condition > 20) {
t += ` enjoys <span class="red">depriving ${him} of sleep and watching ${him} succumb to fatigue.</span>`;
} else if (slave.health.tired > 80) {
t += ` knows better than to let ${him} become dangerously exhausted in ${his} condition.`;
} else {
t += ` enjoys <span class="red">depriving ${him} of sleep,</span> leaving ${him} vulnerable.`;
}
} else if (slave.health.tired > 50) {
t += ` allots ${him} <span class="green">time to sleep</span> in an effort to prevent exhaustion from interrupting ${his} efforts.`;
} else if (slave.health.tired <= 30) {
t += ` welcomes ${him} to ${V.cellblockName} by <span class="yellow">denying ${him} sleep</span> until ${he} is nice and pliable.`;
} else {
t += ` makes sure to <span class="yellow">deny ${him} sleep</span> to keep ${him} pliable.`;
}
} else {
t += ` The stress of confinement <span class="red">damages ${his} health`;
if (slave.health.tired > 30) {
t += `,</span> but the isolation gives ${his} tired body a chance to rest.`;
} else {
t += `.</span>`;
}
}
healthDamage(slave, 10);
} else {
t += `is oblivious to ${his} confinement.`;
}
tired(slave);
if (slave.assignment === Job.CELLBLOCK && V.WardenessID !== 0) {
if ((S.Wardeness.sexualFlaw === "malicious" || S.Wardeness.sexualFlaw === "abusive" || S.Wardeness.sexualFlaw === "breast growth") && slave.lactation === 1 && slave.lactationDuration === 0) {
t += ` ${S.Wardeness.slaveName} `;
if (S.Wardeness.sexualFlaw === "malicious") {
t += `savors the torment brought about by ${his} milk-bloated chest and makes sure to milk ${him} thoroughly every other week to maximize ${his} suffering.`;
} else if (S.Wardeness.sexualFlaw === "abusive") {
t += `enjoys neglecting ${his} milk-bloated chest until it gets big and painfully swollen; only then does the abusive jail-keeper roughly drain ${his} sensitive mounds.`;
} else if (S.Wardeness.sexualFlaw === "breast growth") {
t += `loves watching ${his} breasts steadily swell with pent-up milk and only milks ${him} in order to reset the process.`;
}
}
}
if (slave.sentence !== 0) {
t += ` ${He} has ${slave.sentence}`;
if (slave.sentence === 1) {
t += ` week remaining.`;
} else {
t += ` weeks remaining.`;
}
} else if (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,`;
} else {
t += ` ${He} is now willing to <span class="devotion accept">do as ${he}'s told,</span>`;
}
t += ` <span class="noteworthy">`;
if (slave.assignment === Job.CELLBLOCK) {
State.temporary.brokenSlaves++;
}
if (V.assignmentRecords[slave.ID]) {
let oldJob = V.assignmentRecords[slave.ID];
assignJobSafely(slave, oldJob);
if (slave.choosesOwnAssignment === 1) {
t += ` and ${he} is resting before choosing another task.`;
} else if (slave.assignment === Job.REST) {
if (oldJob !== Job.REST) {
t += ` and since ${he} was unable to return to ${his} old task to ${oldJob}, ${his} assignment has defaulted to rest.`;
} else {
t += ` so ${he} has returned to rest.`;
}
} else {
t += ` so ${he} goes back to ${oldJob}.`;
}
} else {
t += ` so ${his} assignment has defaulted to rest.`;
removeJob(slave, slave.assignment);
}
t += `</span>`;
}
return t;
};
|
MonsterMate/fc
|
src/endWeek/saStayConfined.js
|
JavaScript
|
mit
| 7,236
|
App.SlaveAssignment.takeClasses = (function() {
"use strict";
let r;
// eslint-disable-next-line no-unused-vars
let he, him, his, hers, himself, girl, loli, He, His;
let learning;
let teaching;
return saTakeClasses;
/**
* @param {App.Entity.SlaveState} slave
* @returns {string}
*/
function saTakeClasses(slave) {
r = ` `;
learning = 1;
teaching = 0;
({
// eslint-disable-next-line no-unused-vars
he, him, his, hers, himself, girl, He, His, loli
} = getPronouns(slave));
jobPreface(slave);
if (slave.fetish !== "mindbroken") {
learningDisability(slave);
jobHealthImpact(slave);
learningProgress(slave);
if (slave.lactation > 0) {
lactationBreak(slave);
}
skillLessons(slave);
generalLessons(slave);
if (slave.accent > 1 && slave.voice !== 0) {
speechLessons(slave);
}
if (tutorForSlave(slave) != null) {
tutorLessons(slave);
}
graduation(slave);
}
return r;
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function jobPreface(slave) {
if (slave.fetish === "mindbroken") {
r += `is no longer mentally capable and <span class="noteworthy">has been dropped from class.</span>`;
slave.health.tired = Math.clamp(slave.health.tired - 10, 0, 100); // Since they avoid the tired call altogether, just toss them some reduction. It's not like they were listening anyway.
if (slave.assignment === Job.CLASSES) {
removeJob(slave, Job.CLASSES);
}
} else {
r += `takes courses in slavery`;
if (V.schoolroomUpgradeSkills + V.schoolroomUpgradeRemedial + V.schoolroomUpgradeLanguage !== 0) {
r += `, using ${V.schoolroomName}'s improved educational materials,`;
}
if (slave.assignment === Job.SCHOOL && S.Schoolteacher) {
const schoolteacherPronouns = getPronouns(S.Schoolteacher);
teaching = (S.Schoolteacher.intelligence + S.Schoolteacher.intelligenceImplant);
if (S.Schoolteacher.visualAge > 35) {
teaching += 10;
}
if (setup.schoolteacherCareers.includes(S.Schoolteacher.career)) {
teaching += 10;
} else if (S.Schoolteacher.skill.teacher >= V.masteredXP) {
teaching += 10;
}
if (S.Schoolteacher.face > 40) {
teaching += 10;
}
if (jsRandom(1, 150) < teaching) {
learning += 1;
}
r += ` under ${S.Schoolteacher.slaveName}'s supervision;`;
if (slave.devotion > 20) {
r += ` ${he} is such an obedient slave that ${schoolteacherPronouns.pronoun} <span class="devotion inc">encourages ${him}</span> to be the best slave ${he} can.`;
slave.devotion += 2;
} else if (slave.trust < -20) {
r += ` ${he} obeys out of fear, so ${schoolteacherPronouns.pronoun} <span class="devotion inc">encourages ${him}</span> to be a better slave.`;
slave.devotion++;
} else {
r += ` ${he} is resistant, so ${schoolteacherPronouns.pronoun} ends up mostly <span class="trust dec">punishing ${him},</span> increasing ${his} <span class="devotion dec">dislike for slavery.</span>`;
slave.devotion -= 2;
slave.trust -= 4;
}
} else {
r += ` under ${V.assistant.name}'s supervision;`;
if (slave.devotion > 20) {
r += ` ${he} is such an obedient slave that ${V.assistant.name} mostly <span class="devotion inc">encourages ${him}.</span>`;
slave.devotion += 2;
} else if (slave.trust < -20) {
r += ` ${he} obeys out of fear, so ${V.assistant.name} mostly <span class="devotion inc">encourages ${him}</span> to be a better slave.`;
slave.devotion++;
} else {
r += ` ${he} is resistant, so ${V.assistant.name} mostly <span class="trust dec">punishes ${him},</span> increasing ${his} <span class="devotion dec">dislike for slavery.</span>`;
slave.devotion -= 2;
slave.trust -= 4;
}
}
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function learningDisability(slave) {
if (!canHear(slave) && !canSee(slave)) {
r += ` With ${his} inability to hear and see, absorbing the content is extremely difficult.`;
learning -= 3;
} else if (!canHear(slave) || !canSee(slave)) {
r += ` With ${his} impairments, ${he} needs special lessons to properly learn.`;
learning -= 1;
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function jobHealthImpact(slave) {
if (slave.health.illness > 0 || slave.health.tired > 90) {
r += ` ${He} performed worse this week due to<span class="red">`;
if (slave.health.illness === 1) {
r += ` feeling under the weather`;
learning--;
} else if (slave.health.illness === 2) {
r += ` a minor illness`;
learning--;
} else if (slave.health.illness === 3) {
r += ` being sick`;
learning -= 2;
} else if (slave.health.illness === 4) {
r += ` being very sick`;
learning -= 2;
} else if (slave.health.illness === 5) {
r += ` a terrible illness`;
learning -= 3;
}
if (slave.health.illness > 0 && slave.health.tired > 60) {
r += ` and`;
}
if (slave.health.tired > 90) {
r += ` exhaustion`;
learning -= 3;
} else if (slave.health.tired > 60) {
r += ` fatigue`;
learning--;
}
r += `.</span>`;
}
r += ` ${His} lessons are not physically demanding, `;
if (slave.rules.living === "spare") {
r += `allowing ${him} ample rest despite ${his} sparse living conditions.`;
} else {
r += `allowing ${him} ample time for rest.`;
}
if (slave.health.tired > 80) {
r += ` ${He} still finds ${himself} dozing off during class, however.`;
learning--;
}
tired(slave);
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function learningProgress(slave) {
if (V.schoolroomRemodelBimbo !== 1 || slave.assignment !== Job.SCHOOL) {
if (slave.intelligence > 95) { /* 200% education for brilliant */
learning += 2;
} else if (slave.intelligence > 50) { /* normal for very smart */
learning++;
} else if (slave.intelligence > 15) { /* 70% for smart */
if (jsRandom(1, 100) < 70) {
learning++;
}
} else if (slave.intelligence >= -15) { /* 50% for average */
if (jsRandom(1, 100) < 50) {
learning++;
}
} else { /* slow, very slow, and retards */
let slaveDensity = (50 + slave.intelligence);
if (V.schoolroomUpgradeRemedial === 1 && jsRandom(1, 100) < 50) { /* 50% chance to benefit from upgrade */
slaveDensity = 55;
}
if (jsRandom(1, 100) < slaveDensity) { /* 55% with upgrade, [-50 to 34]% without, mapped from [-100 to -16] intelligence */
learning++;
}
}
} else {
if (slave.intelligence < -95) { /* 200% de-education for retards */
learning += 2;
} else if (slave.intelligence < -50) { /* normal for very slow */
learning++;
} else if (slave.intelligence < -15) { /* 70% for slow */
if (jsRandom(1, 100) < 70) {
learning++;
}
} else if (slave.intelligence <= 15) { /* 50% for average */
if (jsRandom(1, 100) < 50) {
learning++;
}
} else { /* smart, very smart, and brilliant */
let slaveDensity = (50 - slave.intelligence);
if (V.schoolroomUpgradeRemedial === 1 && jsRandom(1, 100) < 50) { /* 50% chance to benefit from upgrade */
slaveDensity = 55;
}
if (jsRandom(1, 100) < slaveDensity) { /* 55% with upgrade, [-50 to 34]% without, mapped from [100 to 16] intelligence */
learning++;
}
}
}
r += ` ${He} is `;
if (slave.intelligence > 95) {
r += `a genius,`;
} else if (slave.intelligence > 50) {
r += `highly intelligent`;
} else if (slave.intelligence > 15) {
r += `of above average intelligence`;
} else if (slave.intelligence >= -15) {
r += `of average intelligence`;
} else if (slave.intelligence >= -50) {
r += `of below average intelligence`;
} else if (slave.intelligence >= -95) {
r += `quite stupid`;
} else {
r += `an imbecile,`;
}
if (slave.devotion > 95) {
r += ` and worshipful of you,`;
learning++;
} else if (slave.devotion > 50) {
r += ` and devoted to you,`;
if (jsRandom(1, 100) < 70) {
learning++;
}
} else if (slave.devotion > 20) {
r += ` and obedient to you,`;
if (jsRandom(1, 100) < 50) {
learning++;
}
} else if (slave.trust < -20) {
r += ` and frightened of you,`;
if (jsRandom(1, 100) < 40) {
learning++;
}
} else {
r += ` and neither likes you nor is afraid of you,`;
}
r += ` and ${he} `;
if (V.schoolroomRemodelBimbo !== 1 || slave.assignment !== Job.SCHOOL) {
if (learning <= 1) {
r += `learns slowly`;
} else if (learning === 2) {
r += `does well with ${his} studies`;
} else {
r += `is perfectly studious`;
}
} else {
if (learning <= 1) {
r += `struggles with the lessons`;
} else if (learning === 2) {
r += `makes progress with the materials`;
} else {
r += `breezes through ${his} lessons`;
}
}
r += ` this week.`;
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function lactationBreak(slave) {
// room for growth — do so during lactation rules expansion
if (slave.lactation === 1 && slave.assignment === Job.SCHOOL && S.Schoolteacher && hasAnyArms(S.Schoolteacher)) {
r += ` With ${his} natural lactation, ${he} often finds ${himself} milked before the class by ${S.Schoolteacher.slaveName} both to serve as a lesson and to keep ${him} from becoming a milky mess.`;
slave.lactationDuration = 2;
slave.boobs -= slave.boobsMilk;
slave.boobsMilk = 0;
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function skillLessons(slave) {
let undevoted = 0; // forces an obedience lesson to replace the first skill lesson
let skillIncrease = 0;
if (V.schoolroomRemodelBimbo !== 1 || slave.assignment !== Job.SCHOOL) {
skillIncrease = (10 + Math.floor((slave.intelligence + slave.intelligenceImplant) / 32));
} else {
skillIncrease = (10 + (Math.abs(Math.floor((slave.intelligence + slave.intelligenceImplant) / 32))));
}
for (let lessons = 0; lessons < Math.max(1, learning); lessons++) {
if (slave.devotion <= 20 && undevoted === 0) {
r += ` 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) {
r += ` Since ${he} is orally incompetent, ${he} is taught basic gag reflex suppression exercises and other simple oral things.`;
r += ` ${slaveSkillIncrease('oral', slave, skillIncrease)}`;
} else if (slave.skill.vaginal <= 10 && slave.vagina > 0 && canDoVaginal(slave)) {
r += ` Since ${he} is unskilled at using ${his} pussy, ${he} is taught Kegel exercises and other simple vaginal skills.`;
r += ` ${slaveSkillIncrease('vaginal', slave, skillIncrease)}`;
} else if (slave.skill.vaginal <= 10 && slave.vagina >= 0) {
r += ` 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.`;
r += ` ${slaveSkillIncrease('vaginal', slave, skillIncrease)}`;
} else if (slave.skill.anal <= 10 && slave.anus > 0 && canDoAnal(slave)) {
r += ` Since ${he} is a novice at taking it up ${his} butt, ${he} is taught relaxation exercises and other simple anal basics.`;
r += ` ${slaveSkillIncrease('anal', slave, skillIncrease)}`;
} else if (slave.skill.anal <= 10 && slave.anus >= 0) {
r += ` 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.`;
r += ` ${slaveSkillIncrease('anal', slave, skillIncrease)}`;
} else if (slave.skill.whoring <= 10) {
r += ` Since ${he} has little idea what's involved in selling ${his} body, ${he} is taught basic safety practices and other simple prostitution skills.`;
r += ` ${slaveSkillIncrease('whoring', slave, skillIncrease)}`;
} else if (slave.skill.entertainment <= 10) {
r += ` Since ${his} entertainment value is limited to ${his} holes, ${he} is taught simple conversational skills and other courtesan's essentials.`;
r += ` ${slaveSkillIncrease('entertainment', slave, skillIncrease)}`;
} else if (V.schoolroomUpgradeSkills === 1) {
if (slave.skill.oral <= 30) {
r += ` Having completed the basic sex slave curriculum, ${he} studies more advanced ways to use ${his} lips and tongue to please cocks, cunts, and asses.`;
r += ` ${slaveSkillIncrease('oral', slave, skillIncrease)}`;
} else if (slave.skill.whoring <= 30) {
r += ` Having completed the basic sex slave curriculum, ${he} studies intermediate prostitution, including how to stay as safe as possible and maximize ${his} efficiency.`;
r += ` ${slaveSkillIncrease('whoring', slave, skillIncrease)}`;
} else if (slave.skill.entertainment <= 30) {
r += ` Having completed the basic sex slave curriculum, ${he} studies courtesanship, including social dynamics and flirtation more subtle than straightforward begging for sex.`;
r += ` ${slaveSkillIncrease('entertainment', slave, skillIncrease)}`;
} else if (slave.skill.vaginal <= 30 && slave.vagina >= 0) {
r += ` Having completed the basic sex slave curriculum, ${he} studies more advanced techniques and exotic positions to make use of ${his} `;
if (slave.vagina === 0) {
r += `virgin pussy for use in ${his} first time.`;
} else {
r += `pussy.`;
}
r += ` ${slaveSkillIncrease('vaginal', slave, skillIncrease)}`;
} else if (slave.skill.anal <= 30) {
r += ` Having completed the basic sex slave curriculum, ${he} studies more advanced techniques and exotic positions to make use of ${his} `;
if (slave.anus === 0) {
r += `virgin ass for use in ${his} first time.`;
} else {
r += `ass.`;
}
r += ` ${slaveSkillIncrease('anal', slave, skillIncrease)}`;
}
}
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function generalLessons(slave) {
// speedbumps at 0 and 15 allow players to fine tune education to meet FS demands.
if (V.schoolroomRemodelBimbo === 1 && slave.assignment === Job.SCHOOL) {
if (slave.intelligenceImplant > -15) {
r += ` ${He} makes some progress `;
if (slave.intelligenceImplant < 0) {
r += `towards ${his} special education.`;
} else {
r += `in undoing ${his} education.`;
}
if (slave.intelligenceImplant > 15) {
slave.intelligenceImplant -= Math.max(1, learning);
if (slave.intelligenceImplant <= 15) {
slave.intelligenceImplant = 15;
r += ` ${He} is <span class="education neg">no longer burdened by an advanced education.</span>`;
}
} else if (slave.intelligenceImplant > 0) {
slave.intelligenceImplant -= Math.max(1, learning);
if (slave.intelligenceImplant <= 0) {
slave.intelligenceImplant = 0;
r += ` ${He} is <span class="education neg">no longer burdened by anything resembling an education.</span>`;
}
} else {
slave.intelligenceImplant -= Math.max(1, learning);
if (slave.intelligenceImplant <= -15) {
slave.intelligenceImplant = -15;
r += ` ${He} has completed ${his} special education, and for most purposes ${he} has become <span class="education neg">less intelligent.</span>`;
}
}
}
} else if (slave.intelligenceImplant < 30 && slave.assignment === Job.SCHOOL) {
r += ` ${He} makes some progress `;
if (slave.intelligenceImplant < 0) {
r += `in correcting ${his} thought processes.`;
slave.intelligenceImplant += Math.max(1, learning);
if (slave.intelligenceImplant >= 0) {
slave.intelligenceImplant = 0;
r += ` ${His} disastrous education has been undone, and for most purposes ${he} has become <span class="intelligent">more intelligent.</span>`;
}
} else if (slave.intelligenceImplant < 15) {
r += `towards a basic education.`;
slave.intelligenceImplant += Math.max(1, learning);
if (slave.intelligenceImplant >= 15) {
slave.intelligenceImplant = 15;
r += ` ${He} has completed ${his} basic courses, and for most purposes ${he} has become <span class="intelligent">more intelligent.</span>`;
}
} else {
r += `in furthering ${his} education.`;
slave.intelligenceImplant += Math.max(1, learning);
if (slave.intelligenceImplant >= 30) {
slave.intelligenceImplant = 30;
r += ` ${He} has completed ${his} advanced education, and for most purposes ${he} has become <span class="intelligent">more intelligent.</span>`;
}
}
} else if (slave.intelligenceImplant < 15 && slave.assignment === Job.CLASSES) {
r += ` ${He} makes some progress `;
if (slave.intelligenceImplant < 0) {
r += `in correcting ${his} thought processes.`;
slave.intelligenceImplant += Math.max(1, learning);
if (slave.intelligenceImplant >= 0) {
slave.intelligenceImplant = 0;
r += ` ${His} disastrous education has been undone, and for most purposes ${he} has become <span class="intelligent">more intelligent.</span>`;
}
} else {
r += `towards a basic education.`;
slave.intelligenceImplant += Math.max(1, learning);
if (slave.intelligenceImplant >= 15) {
slave.intelligenceImplant = 15;
r += ` ${He} has completed a course of slave education, and for most purposes ${he} has become <span class="intelligent">more intelligent.</span>`;
}
}
}
slave.intelligenceImplant = Math.clamp(slave.intelligenceImplant, -15, 30);
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function speechLessons(slave) {
let teacherBonus = 0;
if (slave.assignment === Job.SCHOOL) {
if (S.Schoolteacher) {
if (S.Schoolteacher.accent >= 2) { // really === 2, because accent > 2 can't teach at all
teacherBonus -= 5; // penalty for bad example
}
teacherBonus += (S.Schoolteacher.intelligence + S.Schoolteacher.intelligenceImplant) / 20; // -7 to 7
}
if (V.schoolroomUpgradeLanguage) {
teacherBonus = Math.max(teacherBonus, 1); // automated teaching counterbalances terrible teachers
}
if (App.Entity.facilities.schoolroom.revivalistLanguageDecorationBonus()) {
teacherBonus += 5;
}
}
if (slave.intelligenceImplant >= 15 || slave.intelligenceImplant < 0) {
if (slave.intelligence + teacherBonus > jsRandom(-110, 110)) {
if (slave.accent > 3) {
const langWeekThreshold = (V.schoolroomUpgradeLanguage === 0) ? 24 : 16;
if (V.week - slave.weekAcquired > langWeekThreshold) {
r += ` ${He} has <span class="improvement">learned some ${V.language},</span> and can make ${his} point with some gesturing, though ${he} speaks ${V.language} horribly.`;
slave.accent--;
if (slave.rules.speech === "language lessons") {
slave.rules.speech = "accent elimination";
}
}
} else if (slave.accent === 3) {
r += ` ${He} has <span class="improvement">learned functional ${V.language},</span> and can make ${himself} understood, though ${his} ${aNational(slave.nationality)} accent is still quite heavy.`;
slave.accent--;
} else if (slave.accent === 2 && V.schoolroomUpgradeLanguage === 1) {
r += ` ${He} has <span class="improvement">learned decent ${V.language},</span> though ${he} retains enough of ${his} ${aNational(slave.nationality)} accent to make ${his} voice distinctly sexy.`;
slave.accent--;
}
}
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function tutorLessons(slave) {
let cost = 7500;
let skillIncrease = 0;
if (V.schoolroomRemodelBimbo !== 1 || slave.assignment !== Job.SCHOOL) {
skillIncrease = (10 + Math.floor((slave.intelligence + slave.intelligenceImplant) / 32));
} else {
skillIncrease = (10 + (Math.abs(Math.floor((slave.intelligence + slave.intelligenceImplant) / 32))));
}
if (V.cash > cost) {
cashX(forceNeg(cost), "capEx");
switch (tutorForSlave(slave)) {
case "HeadGirl":
if (slave.skill.headGirl <= 10) {
r += ` ${He} is so unskilled that the tutor teaches ${him} the basics. ${He} learns how to make slaves obey ${him} and how to treat minor injuries.`;
} else if (slave.skill.headGirl <= 30) {
r += ` ${He} has some experience teaching others. The tutor has ${him} practice teaching slaves how to please their master, and has ${him} attend lectures on slave psychology.`;
} else if (slave.skill.headGirl <= 60) {
r += ` The tutor arranges for ${him} to work at different places throughout the week, from treating emergencies or diagnosing patients in the hospital to breaking resistant slaves for a slave school. ${He} is truly becoming a jack-of-all trades.`;
} else if (slave.skill.headGirl <= 100) {
r += ` Now that ${he} has mastered individual skills, ${he} is taught to assist you in running the arcology as a whole. ${He} learns how the security systems work, and how to make every slave perform at their best.`;
}
r += ` ${slaveSkillIncrease('headGirl', slave, skillIncrease)}`;
break;
case "Recruiter":
if (slave.skill.recruiter <= 10) {
r += ` The tutor starts teaching ${him} the basics. ${He} is given lessons on conversing, pronunciation, style and fashion.`;
} else if (slave.skill.recruiter <= 30) {
r += ` Having been taught the basics by ${his} tutor, ${he} is no longer awkward in conversation. But ${he} has a long way to go, the tutor teaches ${him} how to carry ${himself} and how to interpret others' non-verbal cues.`;
} else if (slave.skill.recruiter <= 60) {
r += ` The tutor has ${him} practice convincing others. ${He} watches online lectures on slave psychology, and applies it in practice by convincing others to make unfavorable deals.`;
} else if (slave.skill.recruiter <= 100) {
r += ` Every move ${he} makes is practiced and calculated, yet looks entirely natural. He has ${him} continue attending lectures on psychology, and sends ${him} out to convince free citizens to let themselves get voluntarily enslaved.`;
}
r += ` ${slaveSkillIncrease('recruiter', slave, skillIncrease)}`;
break;
case "Bodyguard":
if (slave.skill.bodyguard <= 10) {
r += ` ${He} undergoes a personalized boot camp in form of physical exercises, to make sure ${he} has the basic skills required for further security training.`;
} else if (slave.skill.bodyguard <= 30) {
r += ` The tutor trains ${him} in using and maintaining firearms, and forces ${him} through repetitive dry fire training in order to instill discipline.`;
} else if (slave.skill.bodyguard <= 60) {
r += ` During the week ${he} attends skirmish-scale wargames, and joins routine security patrols around the arcology.`;
} else if (slave.skill.bodyguard <= 100) {
r += `${He} receives versatile training on tactics and different weapons, culminating at the end of the week with a live fire exercise.`;
}
r += ` ${slaveSkillIncrease('bodyguard', slave, skillIncrease)}`;
break;
case "Madam":
if (slave.skill.madam <= 10) {
r += ` The tutor teaches ${him} the basics of whoring. To make sure the customer pays before he's serviced, how to take care of her hygiene and how to take care of her health.`;
} else if (slave.skill.madam <= 30) {
r += ` Having been taught the basics, the lessons shift to learning how to best please a customer. ${He} is taught to converse and how to respond to a customer's desires.`;
} else if (slave.skill.madam <= 60) {
r += ` Now that ${he} is a masterful whore, the tutor teaches ${him} how to discipline her subordinate whores. ${He} attends online lectures on marketing.`;
} else if (slave.skill.madam <= 100) {
r += ` ${He} is becoming a master at extracting maximum value from the assets ${he} commands, and is learning how to run the brothel effectively.`;
}
r += ` ${slaveSkillIncrease('madam', slave, skillIncrease)}`;
break;
case "DJ":
if (slave.skill.DJ <= 10) {
r += ` The tutor trains ${him} to perform as a DJ. The Club is crucial for your reputation, and the DJ is in charge of the club, so classes are quite demanding. ${He} is absolutely unskilled so he is teaching ${him} the very basics. ${He} is undergoing military-like drills in dancing and composure.`;
} else if (slave.skill.DJ <= 30) {
r += ` The tutor trains ${him} to perform as a DJ. ${He} is still quite inexperienced, although ${he} is at least not awkward in conversation anymore. ${His} classes are heavily focused on slut etiquette, dancing and composure, but ${his} moves are still stiff and unsure.`;
} else if (slave.skill.DJ <= 60) {
r += ` ${He} is already a skilled entertainer, yet ${his} DJ training continues. ${His} training is now more focused on putting ${him} in charge of the whole club facility, which serves to increase public opinion of ${his} owner. ${He} is taught how to make guests feel welcome, and how to manage ${his} employees. `;
} else if (slave.skill.DJ <= 100) {
r += `Every movement and gesture of ${him} must engage the crowd. ${He} is so well-trained that ${his} sultry and inviting composure seems entirely natural. ${He} is also taught how to look after subordinate club sluts, to make sure they perform at their best and give the guests an unforgettable experience.`;
}
r += ` ${slaveSkillIncrease('DJ', slave, skillIncrease)}`;
break;
case "Nurse":
if (slave.skill.nurse <= 10) {
r += ` ${He} is taught bedside manner, first aid and elementary physiology as basis for further medical tutoring.`;
} else if (slave.skill.nurse <= 30) {
r += ` During the week ${he} follows tutored instructions on doing common medical tests, preliminary diagnosis and the safe administering of drugs.`;
} else if (slave.skill.nurse <= 60) {
r += ` ${He} is busy watching lectures on physiology, pathology, biochemistry and other medical subjects under the supervision of a tutor.`;
} else if (slave.skill.nurse <= 100) {
r += `In addition to many, lengthy lectures on medicine, ${he} studies emergency care and basic surgery in supervised simulations.`;
}
r += ` ${slaveSkillIncrease('nurse', slave, skillIncrease)}`;
break;
case "Teacher":
if (slave.skill.teacher <= 10) {
r += ` ${He} is so inept that the tutor has to teach ${him} the very basics before ${he} can progress any further. ${He} is given grammar and arithmetic lessons.`;
} else if (slave.skill.teacher <= 30) {
r += ` Now that ${he} has some understanding of the basics, the tutor has ${him} attend more advanced lectures on grammar, mathematics and pronunciation.`;
} else if (slave.skill.teacher <= 60) {
r += ` Having mastered basic skills, ${he} is now being taught how to teach others. The tutor sends ${him} to work at a local slave school.`;
} else if (slave.skill.teacher <= 100) {
r += ` ${He} now knows how to teach others, and is now taught how to teach students who do not speak the language, are disabled, be it physically or mentally or simply unwilling to learn.`;
}
r += ` ${slaveSkillIncrease('teacher', slave, skillIncrease)}`;
break;
case "Attendant":
if (slave.skill.attendant <= 10) {
r += ` This week, a tutor has ${him} wait on poolside clients while offering back-rubs, an exercise instilling, more than anything, calm patience.`;
} else if (slave.skill.attendant <= 30) {
r += ` ${He} practices massaging techniques with a tutor until ${his} hands are sore and then suffers through hours of listening to people's problems on an online helpline.`;
} else if (slave.skill.attendant <= 60) {
r += ` A tutor teaches ${him} relaxing physical therapies. Additionally ${he} attends a course on applied psychology concentrated on mental well-being and stress management.`;
} else if (slave.skill.attendant <= 100) {
r += `${He} spends the week watching lectures of psychiatry and physiotherapy, before attending a practical exam arranged by ${his} tutor.`;
}
r += ` ${slaveSkillIncrease('attendant', slave, skillIncrease)}`;
break;
case "Matron":
if (slave.skill.matron <= 10) {
r += ` The tutor teaches ${him} how to care for ${his} body during pregnancy. To eat well, rest, and avoid strenuous activity.`;
} else if (slave.skill.matron <= 30) {
r += ` ${He} learns how to best prepare ${his} body for a baby's birth. And how to take care of the baby after it has been born.`;
} else if (slave.skill.matron <= 60) {
r += ` The tutor has ${him} serve as a midwife at a local hospital. ${He} also attends lectures on child development and child psychology.`;
} else if (slave.skill.matron <= 100) {
r += ` ${He} continues attending lectures, but at the same time the tutor teaches ${him} how to take care of others while they are pregnant. ${He}'s quickly learning how to best rear children.`;
}
r += ` ${slaveSkillIncrease('matron', slave, skillIncrease)}`;
break;
case "Stewardess":
if (slave.skill.stewardess <= 10) {
r += ` ${He} has no skill as a servant, so the tutor teaches ${him} the basics. What to clean, how to clean and using which products.`;
} else if (slave.skill.stewardess <= 30) {
r += ` Having been taught the basics, ${his} studies continue by following cleaning crews to various parts of your arcologies to get practical experience as well as become familiar with the cleaning routines of all sectors.`;
} else if (slave.skill.stewardess <= 60) {
r += ` The tutor has ${him} attend lectures on slave breaking and management, to prepare ${him} for running a facility. ${He} keeps working with the cleaning crews, but now takes command during outings.`;
} else if (slave.skill.stewardess <= 100) {
r += ` ${He} is familiar with every nook and cranny of your arcology. ${He} no longer accompanies your cleaning crews, instead ${he} organizes their deployments. ${He}is becoming an adept manager.`;
}
r += ` ${slaveSkillIncrease('stewardess', slave, skillIncrease)}`;
break;
case "Milkmaid":
if (slave.skill.milkmaid <= 10) {
r += ` The tutor teaches ${him} the basics. ${He} is taught what to eat to maximize ${his} fluid production, as well as how to milk udders.`;
} else if (slave.skill.milkmaid <= 30) {
r += ` Having been taught the basics, the tutor has ${him} work at a farm milking cows. ${He} also attends online lectures on nutrition and health.`;
} else if (slave.skill.milkmaid <= 60) {
r += ` Having been taught how to milk and how to take care of ${his} body to produce as much fluids as possible, ${his} training shifts to teach ${him} leadership skills.`;
} else if (slave.skill.milkmaid <= 100) {
r += ` ${He} is becoming an adept leader, who knows how to squeeze every last drop of milk and cum out ${his} cows. The tutor believes ${he} will soon be able to run ${his} facility on ${his} own.`;
}
r += ` ${slaveSkillIncrease('milkmaid', slave, skillIncrease)}`;
break;
case "Farmer":
if (slave.skill.farmer <= 10) {
r += ` The tutor has ${him} working on a farm, nothing beats practical learning. ${He} learns how to grow cops and how to care for farm animals.`;
} else if (slave.skill.farmer <= 30) {
r += ` Having become familiar with farming, the tutor now has ${him} attend lectures on the science behind it. ${His} knowledge greatly increases due to this.`;
} else if (slave.skill.farmer <= 60) {
r += ` ${He} oversees a group of farmhands as they care for the animals and plow the fields. Having mastered farming, ${he}'s now training ${his} leadership skills.`;
} else if (slave.skill.farmer <= 100) {
r += ` The tutor has him lead an entire farm. ${He} manages every aspect, and does so admirably. ${He} is also introduced to a different side of slave farming, the "shows". It doesn't take long before ${he}'s overseeing those too...`;
}
r += ` ${slaveSkillIncrease('farmer', slave, skillIncrease)}`;
break;
case "Wardeness":
if (slave.skill.attendant <= 10) {
r += ` A tutor takes ${him} through basic self-defense and the safe use of prison equipment.`;
} else if (slave.skill.attendant <= 30) {
r += ` ${He} practices wrestling holds with a tutor, who also shows ${him} how to tie up resisting victims.`;
} else if (slave.skill.attendant <= 60) {
r += ` The correctional psychology lectures ${he} watches this week are unburdened by ethics. ${He} learns how to handle prisoners more effectively.`;
} else if (slave.skill.attendant <= 100) {
r += `${He} gets to study enhanced interrogation techniques from an experienced tutor, with ample demonstrations on live subjects, including ${himself}.`;
}
r += ` ${slaveSkillIncrease('wardeness', slave, skillIncrease)}`;
break;
default:
r += `tutorLessons ERROR unknown skill`;
}
} else {
r += `You did not have enough credits for private tutoring.`;
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function graduation(slave) {
if (slave.intelligenceImplant >= 15 && slave.assignment === Job.CLASSES) {
if ((slave.voice === 0) || (slave.accent <= 1) || (V.schoolroomUpgradeLanguage === 0 && slave.accent <= 2)) {
if ((slave.skill.oral > 30) || (V.schoolroomUpgradeSkills === 0 && slave.skill.oral > 10)) {
if ((slave.skill.whoring > 30) || (V.schoolroomUpgradeSkills === 0 && slave.skill.whoring > 10)) {
if ((slave.skill.entertainment > 30) || (V.schoolroomUpgradeSkills === 0 && slave.skill.entertainment > 10)) {
if ((slave.skill.anal > 30) || (V.schoolroomUpgradeSkills === 0 && slave.skill.anal > 10)) {
if ((slave.skill.vaginal > 30) || (V.schoolroomUpgradeSkills === 0 && slave.skill.vaginal > 10) || (slave.vagina < 0)) {
if (tutorForSlave(slave) === null || V.tutorGraduate.includes(slave.ID)) {
V.tutorGraduate.delete(slave.ID);
r += ` ${He} can learn little from further classes, <span class="noteworthy">`;
if (V.assignmentRecords[slave.ID]) {
let oldJob = V.assignmentRecords[slave.ID];
assignJobSafely(slave, oldJob);
if (slave.choosesOwnAssignment === 1) {
r += ` so ${he} takes a break before choosing another task.`;
} else if (slave.assignment === Job.REST) {
if (oldJob !== Job.REST) {
r += ` and since ${he} was unable to return to ${his} old job (${oldJob}), ${his} assignment has defaulted to rest.`;
} else {
r += ` so ${he} has returned to resting.`;
}
} else {
r += ` so ${he} goes back to ${oldJob}.`;
}
} else {
r += ` so ${his} assignment has defaulted to rest.`;
removeJob(slave, slave.assignment);
}
r += `</span>`;
}
}
}
}
}
}
}
}
}
})();
|
MonsterMate/fc
|
src/endWeek/saTakeClasses.js
|
JavaScript
|
mit
| 35,033
|
App.SlaveAssignment.whore = (function() {
"use strict";
let incomeStats;
let r;
let arcology;
// if the following are set outside this file, they must be set in it too!
let beauty;
let customers;
let FuckResult;
let cash;
let cervixPump;
let he, him, his, hers, himself, girl, loli, He, His;
// if the following are set outside this file, they must be set in it too!
let oralUse;
let analUse;
let vaginalUse;
let mammaryUse;
let penetrativeUse;
return saWhore;
/**
* @param {App.Entity.SlaveState} slave
* @returns {string}
*/
function saWhore(slave) {
arcology = V.arcologies[0];
r = ` `;
({
// eslint-disable-next-line no-unused-vars
he, him, his, hers, himself, girl, He, His, loli
} = getPronouns(slave));
gatherStatistics(slave);
updateNonSlaveVariables(slave); // must be run before applyFSDecoration() or you will face NaNs
if (slave.assignment === Job.BROTHEL || slave.assignment === Job.MADAM) {
// By being at the end, every slave after the first will get a bonus. By moving it up, the first can enjoy it too. slaveJobValues() checks Edo Revivalist, so here we are.
applyFSDecoration();
}
addCash(slave);
sexCounts(slave);
jobPreface(slave);
bonusMultiplierText(slave);
usageCountDescriptions(slave);
if (V.seeAge === 1) {
comingOfAge(slave);
}
mentalEffects(slave);
physicalEffects(slave);
slaveSkills(slave);
if (V.showEWM === 1) {
publicReactions(slave);
}
if (slave.sexualFlaw === "none") {
addFlaw(slave);
}
addCashText(slave);
sexualSatiation(slave);
if (V.showVignettes === 1) {
assignmentVignette(slave);
}
return r;
}
/**
* @param {App.Entity.SlaveState} slave
* */
function gatherStatistics(slave) {
/* Statistics gathering */
const facility = (slave.assignment === Job.BROTHEL || slave.assignment === Job.MADAM) ? V.facility.brothel : undefined;
incomeStats = getSlaveStatisticData(slave, facility);
}
// I suspect this one will mostly be cut out in the overhauling
/**
* @param {App.Entity.SlaveState} slave
*/
function updateNonSlaveVariables(slave) {
// FuckResult and FuckAmount setting
beauty = slave.sexAmount;
incomeStats.customers = beauty;
if (slave.effectiveWhoreClass === 4) {
customers = "extremely wealthy";
FuckResult = Math.trunc(slave.sexQuality * App.EndWeek.saVars.whorePriceAdjustment.topClass);
} else if (slave.effectiveWhoreClass === 3) {
customers = "upper class";
FuckResult = Math.trunc(slave.sexQuality * App.EndWeek.saVars.whorePriceAdjustment.upperClass);
} else if (slave.effectiveWhoreClass === 2) {
customers = "middle class";
FuckResult = Math.trunc(slave.sexQuality * App.EndWeek.saVars.whorePriceAdjustment.middleClass);
} else if (slave.effectiveWhoreClass === 1) {
customers = "lower class";
FuckResult = Math.trunc(slave.sexQuality * App.EndWeek.saVars.whorePriceAdjustment.lowerClass);
} else {
customers = "ERROR";
FuckResult = "ERROR";
console.log("Error in effectiveWhoreClass for " + slave.slaveName + ", expected 1-4, got: ", slave.effectiveWhoreClass, "whoreClass:", slave.whoreClass, slave.assignment, slave);
}
}
/**
* @param {App.Entity.SlaveState} slave
*/
function jobPreface(slave) {
if (slave.devotion > 95 || slave.energy > 95) {
r += `enthusiastically sells`;
} else if (slave.devotion > 50) {
r += `willingly sells`;
} else if (slave.devotion > 20) {
r += `obediently sells`;
} else if (slave.trust < -20) {
r += `reluctantly sells`;
} else {
r += `is forced to sell`;
}
r += ` ${his} body.`;
}
/**
* @param {App.Entity.SlaveState} slave
*/
function bonusMultiplierText(slave) {
if (V.brothel > 0) {
if ((V.universalRulesFacilityWork === 1 && slave.assignment === Job.WHORE && V.brothelSpots > 0) || (slave.assignment === Job.BROTHEL)) {
if (slave.assignment === Job.WHORE) {
r += ` Since there's extra space in ${V.brothelName}, ${he} sells ${himself} there.`;
const maxBrothelBoost = Math.max(Math.trunc(100 * Math.pow(1.26, V.brothelBoost.eligible - 1)) * 50 * V.brothelBoost.eligible, 1); // Correcting prices in case benefits outgrow the cap
if (maxBrothelBoost < App.EndWeek.saVars.slaveJobValues.brothel.boost) {
FuckResult = Math.trunc(FuckResult * (1 + V.brothelBoost.eligible / 20) * maxBrothelBoost / App.EndWeek.saVars.slaveJobValues.brothel.boost);
} else {
FuckResult = Math.trunc(FuckResult * (1 + V.brothelBoost.eligible / 20));
}
}
// ads
if (V.brothelAdsSpending !== 0) {
const adCats = App.Ads.Categories; // for brevity
if (V.brothelAdsStacked === 1 && adCats.assetSize.classifySlave(slave) === 1) {
r += ` ${His} stacked body fits ${V.brothelName}'s ad campaign, getting ${him} more business.`;
} else if (V.brothelAdsStacked === -1 && adCats.assetSize.classifySlave(slave) === -1) {
r += ` ${His} slim body fits ${V.brothelName}'s ad campaign, getting ${him} more business.`;
}
if (V.brothelAdsPreg === 1 && adCats.preg.classifySlave(slave) === 1) {
r += ` ${His} gravid body fits ${V.brothelName}'s ad campaign, getting ${him} more attention.`;
} else if (V.brothelAdsPreg === -1 && adCats.preg.classifySlave(slave) === -1) {
r += ` ${His} flat belly fits ${V.brothelName}'s ad campaign, getting ${him} more attention.`;
}
if (V.brothelAdsModded === 1 && adCats.mods.classifySlave(slave) === 1) {
r += ` Body art like ${hers} is a major draw.`;
} else if (V.brothelAdsModded === -1 && adCats.mods.classifySlave(slave) === -1) {
r += ` Very clean bodies like ${hers} are a major draw.`;
}
if (V.brothelAdsImplanted === 1 && adCats.assetOrigin.classifySlave(slave) === 1) {
r += ` Many citizens come to ${V.brothelName} looking to rent a plastic slut like ${him}.`;
} else if (V.brothelAdsImplanted === -1 && adCats.assetOrigin.classifySlave(slave) === -1) {
r += ` Many citizens come to ${V.brothelName} looking to play with a natural ${girl} like ${him}.`;
}
if (V.brothelAdsOld === 1 && adCats.age.classifySlave(slave) === 1) {
r += ` ${He}'s perfect for ${V.brothelName}, whose brand is mature slaves.`;
} else if (V.brothelAdsOld === -1 && adCats.age.classifySlave(slave) === -1) {
r += ` ${He}'s perfect for ${V.brothelName}, whose brand is young slaves.`;
} else if (V.brothelAdsOld === -2 && adCats.age.classifySlave(slave) === -2) {
r += ` ${He}'s perfect for ${V.brothelName}, whose brand is teenage slaves.`;
} else if (V.brothelAdsOld === -3 && adCats.age.classifySlave(slave) === -3) {
r += ` ${He}'s perfect for ${V.brothelName}, whose brand is ${loli} slaves.`;
}
if (V.brothelAdsXX === 1 && adCats.genitalia.classifySlave(slave) === 1) {
r += ` Almost everyone who comes to ${V.brothelName} is looking to fuck a ${girl} like ${him}.`;
} else if (V.brothelAdsXX === -1 && adCats.genitalia.classifySlave(slave) === -1) {
r += ` Almost everyone who comes to ${V.brothelName} is looking to pound a ${girl} who cums when buttfucked.`;
}
}
if (V.MadamID !== 0) {
const madam = S.Madam;
const madamPronouns = getPronouns(madam);
const madamBonus = App.EndWeek.saVars.madamBonus;
if (madamBonus > 0) {
if (slave.assignment === Job.WHORE) {
r += ` Working`;
} else {
r += ` Living and working`;
}
r += ` out of the brothel, ${he} comes under ${SlaveFullName(madam)}'s `;
if (madamBonus < 0.1) {
r += `completely inept`;
} else if (madamBonus < 0.2) {
r += `unskilled`;
} else if (madamBonus < 0.3) {
r += `skillful`;
} else {
r += `masterful`;
}
r += ` leadership.`;
if (madam.dick > 2 && canAchieveErection(madam)) {
if (slave.devotion <= 20) {
r += ` The Madam rapes ${him} when ${he} fails to meet standards.`;
} else {
r += ` The Madam uses ${madamPronouns.his} dick to reward ${him} when ${he} does well and needs some loving.`;
}
}
if (!canHear(slave)) {
r += ` Unfortunately, ${his} inability to hear wastes most of ${madam.slaveName}'s advice.`;
}
if (V.MadamIgnoresFlaws !== 1) {
if (!["abusive", "anal addict", "attention whore", "breast growth", "breeder", "cum addict", "malicious", "neglectful", "none", "self hating"].includes(slave.sexualFlaw) && jsRandom(1, 100) > 90) {
r += ` ${SlaveFullName(madam)} manages to <span class="flaw break">break</span> ${slave.slaveName} of ${his} sexual flaws.`;
slave.sexualFlaw = "none";
} else if (slave.behavioralFlaw !== "none" && jsRandom(1, 100) > 90) {
r += ` ${SlaveFullName(madam)} manages to <span class="flaw break">break</span> ${slave.slaveName} of ${his} flaws.`;
slave.behavioralFlaw = "none";
}
}
}
}
}
}
}
/**
* @param {App.Entity.SlaveState} slave
*/
function usageCountDescriptions(slave) {
r += ` ${His} appearance`;
if (slave.maxWhoreClass > slave.effectiveWhoreClass) {
let customers2;
if (slave.maxWhoreClass === 4) {
customers2 = "extremely wealthy";
} else if (slave.maxWhoreClass === 3) {
customers2 = "upper class";
} else if (slave.maxWhoreClass === 2) {
customers2 = "middle class";
} else {
customers2 = "ERROR";
}
r += ` can attract the ${customers2}, but they already had plenty of other slaves to fuck so ${he} `;
}
r += ` attracted ${beauty} ${customers} members of the public (${Math.trunc(beauty / 7)} a day)`;
if (slave.maxWhoreClass > slave.effectiveWhoreClass) {
r += ` instead`;
}
if (beauty > 160) {
r += `, so many that `;
if (canDoVaginal(slave) && canDoAnal(slave)) {
r += `each of ${his} holes was`;
} else if (canDoVaginal(slave) || canDoAnal(slave)) {
r += `each of ${his} available holes was`;
} else {
r += `${his} mouth and anywhere else a dick could fit was`;
}
r += ` often filled by more than one cock`;
} else if (beauty > 140) {
r += `, so many that ${he} spent much of ${his} time getting gangbanged`;
} else if (beauty > 120) {
r += `, so many that customers often `;
if (canDoAnal(slave) || canDoVaginal(slave)) {
r += `spitroasted`;
} else {
r += `double-teamed`;
}
r += ` the slut`;
} else if (beauty > 100) {
r += `, so many that ${he} frequently had sex with multiple customers at once`;
} else if (beauty > 70) {
r += `, so many that ${he} occasionally had sex with multiple customers at once`;
}
r += `. They paid ${cashFormat(FuckResult)} on average`;
r += `.`;
}
/**
* @param {App.Entity.SlaveState} slave
*/
function comingOfAge(slave) {
if (slave.physicalAge === V.minimumSlaveAge && slave.physicalAge === V.fertilityAge && canGetPregnant(slave) && (arcology.FSRepopulationFocus !== "unset" || arcology.FSGenderFundamentalist !== "unset") && arcology.FSRestart === "unset") {
if (slave.birthWeek === 0) {
r += ` ${He} just turned ${V.minimumSlaveAge} this week, giving ${him} an immense boost to both popularity and price. ${He} is also expected to become fertile soon, giving ${him} an additional boost as customers clamor to claim ${his} fresh womb.`;
} else if (slave.birthWeek < 4) {
r += ` This is still the first month in which it's legal to pay to fuck ${him}, giving ${him} a boost to both popularity and price. ${He} was also anticipated to become fertile this month, and ${his} womb is still unoccupied, giving ${him} an additional boost.`;
}
} else if (slave.physicalAge === V.minimumSlaveAge) {
if (slave.birthWeek === 0) {
r += ` ${He} just turned ${V.minimumSlaveAge} this week, giving ${him} an immense boost to both popularity and price.`;
} else if (slave.birthWeek < 4) {
r += ` This is still the first month in which it's legal to pay to fuck ${him}, giving ${him} a boost to both popularity and price.`;
}
} else if (slave.physicalAge === V.fertilityAge && canGetPregnant(slave) && (arcology.FSRepopulationFocus !== "unset" || arcology.FSGenderFundamentalist !== "unset")) {
if (slave.birthWeek === 0) {
r += ` ${He} is expected to become fertile soon, giving ${him} an immense boost to both popularity and price as citizens clamor to claim ${his} fresh womb.`;
} else if (slave.birthWeek < 4) {
r += ` This is still the first month in which ${he} was anticipated to become fertile, and ${his} womb is still unoccupied, giving ${him} a boost to both popularity and price.`;
}
}
}
/**
* @param {App.Entity.SlaveState} slave
*/
function mentalEffects(slave) {
if (slave.behavioralQuirk === "sinful") {
r += ` ${slave.slaveName} <span class="devotion inc">secretly enjoys</span> how utterly sinful and depraved it is for ${him} to sell ${his} body.`;
slave.devotion += 1;
} else if (slave.behavioralQuirk === "cutting") {
r += ` ${slave.slaveName} <span class="devotion inc">openly enjoys</span> the direct, frank language of prostitution, and delights customers with cutting remarks even as they fuck ${him}.`;
slave.devotion += 1;
}
if (slave.sexualQuirk === "caring") {
r += ` ${slave.slaveName} sees ${his} role as helping people with their sexual needs, and ${he} <span class="trust inc">trusts that ${his} place</span> in society is an important one.`;
slave.trust += 1;
}
if (slave.assignment === window.Job.BROTHEL && slave.devotion > 50) {
r += ` Being so far from your presence <span class="mediumorchid">weakens ${his} intense devotion to you.</span>`;
}
}
/**
* @param {App.Entity.SlaveState} slave
*/
function physicalEffects(slave) {
let injury = 0;
if (slave.health.illness > 0 || slave.health.tired > 60) {
r += ` ${He} is<span class="red">`;
if (slave.health.illness === 1) {
r += ` feeling under the weather`;
} else if (slave.health.illness === 2) {
r += ` somewhat ill`;
} else if (slave.health.illness === 3) {
r += ` sick`;
} else if (slave.health.illness === 4) {
r += ` very sick`;
} else if (slave.health.illness === 5) {
r += ` terribly ill`;
}
if (slave.health.illness > 0 && slave.health.tired > 60) {
r += ` and`;
}
if (slave.health.tired > 90) {
r += ` exhausted`;
} else if (slave.health.tired > 60) {
r += ` fatigued`;
}
r += `,</span> hindering ${his} ability to attract and please customers.`;
}
if (slave.assignment === Job.BROTHEL) {
if (slaveResting(slave)) {
r += ` ${He} spends reduced hours working ${V.brothelName} in order to <span class="green">offset ${his} lack of rest.</span>`;
} else if (slave.health.tired + 15 >= 90 && !willWorkToDeath(slave)) {
r += ` ${He} attempts to refuse customers due to ${his} exhaustion, but can do little to stop it or the resulting `;
if (V.MadamID !== 0) {
r += `<span class="trust dec">severe punishment</span> by ${S.Madam.slaveName}. ${His} <span class="devotion dec">outbursts</span> are kept in check by your watchful Madam, preventing the customers from ever becoming aware of them while keeping ${him} productive.`;
} else {
r += `<span class="trust dec">severe punishment.</span> ${He} <span class="devotion dec">purposefully underperforms,</span> choosing ${his} overall well-being over the consequences, <span class="reputation dec">aggravating customers and damaging the establishment's image.</span>`;
repX(forceNeg(50), "disobedience", slave);
}
slave.devotion -= 10;
slave.trust -= 5;
} else {
r += ` It takes effort to be a productive whore and ${he} ends ${his} shifts <span class="red">eager for sleep.</span>`;
}
tired(slave);
} else if (slave.assignment === Job.WHORE) {
if (slaveResting(slave)) {
r += ` ${He} spends reduced hours plying ${his} trade in order to <span class="green">offset ${his} lack of rest.</span>`;
} else if (slave.health.tired + 15 >= 90 && !willWorkToDeath(slave)) {
r += ` ${He} attempts to refuse to whore due to ${his} exhaustion, but can do little to avoid it or the resulting `;
if (V.brothel > 0 && V.universalRulesFacilityWork === 1 && V.brothelSpots > 0 && V.MadamID !== 0) {
r += `<span class="trust dec">severe punishment</span> by ${S.Madam.slaveName}. ${His} <span class="devotion dec">outbursts</span> are kept in check by your watchful Madam, preventing the customers from ever becoming aware of them and keeping ${him} productive.`;
} else {
r += `<span class="trust dec">severe punishment.</span> ${He} <span class="devotion dec">purposefully underperforms,</span> choosing ${his} overall well-being over the consequences, <span class="reputation dec">causing a scene and damaging the image of your whores.</span>`;
repX(forceNeg(100), "disobedience", slave);
}
slave.devotion -= 10;
slave.trust -= 5;
} else {
r += ` It takes effort to be an effective prostitute and ${he} ends ${his} shifts <span class="red">eager for sleep.</span>`;
}
tired(slave);
}
if (slave.assignment !== window.Job.BROTHEL) {
if (slave.curatives > 0 || slave.inflationType === "curative") {
r += ` The drugs `;
if (slave.inflationType === "curative") {
r += `${he} holds inside ${his} belly`;
} else {
r += `${he}'s on`;
}
r += ` protect ${him} from the wear of whoring.`;
} else if (slave.health.condition < -50) {
r += ` The stress of whoring while in terrible condition is <span class="red">very hard on ${him}.</span>`;
healthDamage(slave, 13);
injury = 1;
} else if (slave.health.condition < -20 && jsRandom(1, 100) > 50) {
r += ` The stress of whoring while in poor condition is <span class="red">hard on ${him}.</span>`;
healthDamage(slave, 10);
injury = 1;
} else {
let canA = canDoAnal(slave);
let canV = canDoVaginal(slave);
let skillTarget = (100 + ((slave.skill.anal - 100)*canA*(1.5 - 0.5*canV) + (slave.skill.vaginal - 100)*canV*(1.5 - 0.5*canA) + (slave.skill.oral - 100)*(3 - 1.5*canA - 1.5*canV + canA*canV))*3/10);
// Complicated, I know - but it should automatically account for what acts are possible to scale the injury risk smoothly between 90% when totally unskilled
// and 0% when perfectly skilled in the relevant method or methods.
if (jsRandom(1, 100) > skillTarget) {
healthDamage(slave, 10 - 7 * canA * canV); // Any limitations means an injury inflicts the harsher 10 instead of 3
injury = 1;
}
if (slave.vagina < 0) {
if (!injury) {
r += ` ${He}'s such an expert whore that ${he} copes with the stress of being a ${SlaveTitle(slave)} slut.`;
} else {
r += ` The stress of being a ${SlaveTitle(slave)} prostitute is <span class="red">hard on ${him}.</span>`;
}
} else if (!canV && canA) {
if (!injury) {
r += ` ${He}'s such an expert whore that ${he} copes with the stress of being limited to buttsex and oral.`;
} else {
r += ` The stress of being limited to buttsex and oral is <span class="red">hard on ${him}.</span>`;
}
} else if (!canA && canV) {
if (!injury) {
r += ` ${He}'s such an expert whore that ${he} copes with the stress of being limited to vaginal and oral.`;
} else {
r += ` The stress of being limited to vaginal and oral is <span class="red">hard on ${him}.</span>`;
}
} else if (!canA && !canV) {
if (!injury) {
r += ` ${He}'s such an expert whore that ${he} copes with the stress of being limited to oral.`;
} else {
r += ` The stress of being limited to oral sex is <span class="red">hard on ${him}.</span>`;
}
}
}
if (injury === 1) {
let injuryChance;
if (canDoAnal(slave)) {
injuryChance = jsRandom(1, 100);
} else {
injuryChance = jsRandom(1, 80);
}
if (injuryChance > 80) {
slave.minorInjury = "sore ass";
r += ` Rough anal with a careless customer left ${him} with a <span class="red">${slave.minorInjury}.</span>`;
r += minorInjuryResponse(slave);
} else if (injuryChance > 60) {
slave.minorInjury = "black eye";
r += ` A violent customer left ${him} with a <span class="red">${slave.minorInjury}.</span>`;
r += minorInjuryResponse(slave);
} else if (injuryChance > 40) {
slave.minorInjury = "split lip";
r += ` An abusive customer left ${him} with a <span class="red">${slave.minorInjury}.</span>`;
r += minorInjuryResponse(slave);
} else if (injuryChance > 20) {
slave.minorInjury = "bad bruise";
r += ` A rough customer left ${him} with a <span class="red">${slave.minorInjury}.</span>`;
r += minorInjuryResponse(slave);
} else {
slave.minorInjury = "sore muscle";
r += ` The hard labor of constant sex left ${him} with a <span class="red">${slave.minorInjury}.</span>`;
}
}
}
if (canDoVaginal(slave)) {
if (slave.vagina === 0) {
if (slave.aphrodisiacs > 1 || slave.inflationType === "aphrodisiac") {
r += ` ${His} virginity goes to the highest bidder, earning ${cashFormat(beauty * 10)}. ${He}'s so full of aphrodisiacs that ${he} <span class="devotion inc">enjoys the experience.</span> <span class="virginity loss">${His} pussy is now broken in.</span>`;
slave.devotion += 4;
slave.vagina = 1;
} else if (slave.devotion > 20) {
r += ` ${His} virginity goes to the highest bidder, earning ${cashFormat(beauty * 10)}. Losing ${his} virginity in this way <span class="devotion inc">confirms ${his} submission to you.</span> <span class="virginity loss">${His} pussy is now broken in.</span>`;
slave.devotion += 4;
slave.vagina = 1;
} else {
r += ` ${His} virginity goes to the highest bidder, earning ${cashFormat(beauty * 10)}. ${He} tries to resist, and losing ${his} virginity to a rape makes ${him} <span class="devotion dec">hate</span> and <span class="trust dec">fear</span> you a great deal. <span class="virginity loss">${His} pussy is now broken in.</span>`;
slave.devotion -= 10;
slave.trust -= 10;
slave.vagina = 1;
}
} else if (slave.vagina < 3) {
if (jsRandom(1, 100) > ((170 - beauty) + (slave.vagina * 10) + (slave.skill.vaginal / 3))) {
r += ` <span class="change positive">${His} pussy gets loosened by the intense use.</span>`;
slave.vagina += 1;
}
}
}
if (canDoAnal(slave)) {
if (slave.anus === 0) {
if (slave.aphrodisiacs > 1 || slave.inflationType === "aphrodisiac") {
r += ` ${His} tight little anus goes to the highest bidder, earning ${cashFormat(beauty * 5)}. ${He}'s so full of aphrodisiacs that ${he} <span class="devotion inc">enjoys the experience.</span> ${His} fresh asshole is fucked all week, and by the end of it <span class="virginity loss">${he} won't sit down.</span>`;
slave.devotion += 4;
slave.anus = 2;
} else if (slave.devotion > 20) {
r += ` ${His} tight little anus goes to the highest bidder, earning ${cashFormat(beauty * 5)}. The pain and humiliation <span class="devotion inc">confirm ${his} submission to you.</span> ${His} fresh asshole is fucked all week, and by the end of it <span class="virginity loss">${he} won't sit down.</span>`;
slave.devotion += 4;
slave.anus = 2;
} else {
r += ` ${His} tight little anus goes to the highest bidder, earning ${cashFormat(beauty * 5)}. The pain and humiliation increases ${his} <span class="devotion dec">hatred</span> and <span class="trust dec">fear</span> for you. ${His} fresh asshole is fucked all week, and by the end of it <span class="virginity loss">${he} won't sit down.</span>`;
slave.devotion -= 5;
slave.trust -= 5;
slave.anus = 2;
}
} else if (slave.anus < 3) {
if (slave.vagina < 0) {
if (jsRandom(1, 100) > ((150 - beauty) + (slave.anus * 10) + (slave.skill.anal / 6))) {
r += ` <span class="change positive">${His} asshole sees constant use in place of a pussy and loosens.</span>`;
slave.anus += 1;
}
} else if (!canDoVaginal(slave)) {
if (jsRandom(1, 100) > ((150 - beauty) + (slave.anus * 10) + (slave.skill.anal / 6))) {
r += ` <span class="change positive">${His} asshole sees constant use in place of ${his} protected pussy and loosens.</span>`;
slave.anus += 1;
}
} else {
if (jsRandom(1, 100) > ((160 - beauty) + (slave.anus * 10) + (slave.skill.anal / 6))) {
r += ` <span class="change positive">${His} asshole loosens with constant use.</span>`;
slave.anus += 1;
}
}
}
}
}
/**
* @param {App.Entity.SlaveState} slave
*/
function slaveSkills(slave) {
let skillIncrease;
if (!setup.whoreCareers.includes(slave.career) && slave.skill.whore < V.masteredXP) {
slave.skill.whore += jsRandom(1, Math.ceil((slave.intelligence + slave.intelligenceImplant) / 15) + 8);
}
if (setup.whoreCareers.includes(slave.career)) {
r += ` ${He} has sex work experience from ${his} life before ${he} was a slave, making ${him} more effective.`;
} else if (slave.skill.whore >= V.masteredXP) {
r += ` ${He} has experience as a prostitute from working for you, making ${him} more effective.`;
}
if (!canWalk(slave)) {
if ((V.universalRulesFacilityWork === 1 && slave.assignment === Job.WHORE && V.brothelSpots > 0) || (slave.assignment === Job.BROTHEL)) {
r += ` Since ${he} can't walk, ${he} spends all of ${his} time in ${his} own room in ${V.brothelName}. Customers come in, fuck ${him}, and leave.`;
} else {
r += ` Since ${he} can't walk, ${he}'s set up so customers can use ${him}, pay and carry on their way.`;
}
}
if (slave.skill.whoring >= 100) {
r += ` As a masterful prostitute, ${he} makes more money.`;
} else if (slave.skill.whoring > 60) {
r += ` As an expert prostitute, ${he} gets more money out of customers.`;
} else if (slave.skill.whoring > 30) {
r += ` As a skilled prostitute, ${he} gets a little more money out of customers.`;
}
if (!isAmputee(slave)) {
if (slave.skill.whoring < 100) {
slave.skill.whoring += 10 + Math.floor((slave.intelligence + slave.intelligenceImplant) / 32);
r += ` ${He} <span class="skill inc">gains experience as a prostitute,</span> and gets better at `;
if (slave.skill.whoring <= 30) {
r += `basic street smarts.`;
} else if (slave.skill.whoring <= 60) {
r += `steering clients to more lucrative sex acts.`;
} else {
r += `squeezing johns for every penny.`;
}
}
if (slave.skill.entertainment < 50 && slave.effectiveWhoreClass > 2) {
slave.skill.entertainment += Math.floor(2.5 + (slave.intelligence + slave.intelligenceImplant) / 64);
r += ` ${He} learns a little about how to better <span class="skill inc">entertain</span> ${his} classy clients.`;
}
}
if (slave.aphrodisiacs > 1 || slave.inflationType === "aphrodisiac") {
r += ` The aphrodisiac cocktail has ${him} so desperately horny that regardless of ${his} personal feelings, ${he} <span class="devotion inc">gets off with customers all week.</span> In ${his} drug-addled state ${he} doesn't remember enough to learn sexual skills.`;
slave.devotion += 4;
} else if (slave.devotion <= 20 && slave.energy <= 95) {
if (slave.trust >= -20) {
r += ` ${He} tries to refuse being sold as a whore, so ${he} is restrained for sale. ${He} loses a bit of ${himself} to a week of rape, but remembers enough to know <span class="devotion dec">you're responsible,</span> and <span class="trust dec">can force ${him} if necessary.</span>`;
slave.devotion -= 5;
slave.trust -= 5;
} else {
r += ` ${He} doesn't show much enthusiasm, but the habit of sexual prostitution <span class="devotion inc">wears away at ${his} will.</span>`;
slave.devotion += 4;
}
} else {
if ((slave.skill.oral >= 100) && ((slave.skill.anal >= 100) || !canDoAnal(slave)) && ((slave.skill.vaginal >= 100) || !canDoVaginal(slave))) {
r += ` ${He}'s a <span class="skill">sexual master</span> `;
if (canDoVaginal(slave)) {
r += `whose`;
} else {
r += `and despite `;
if (slave.vagina < 0) {
r += `${his} lack of a`;
} else {
r += `the inaccessibility of ${his}`;
}
r += ` front hole, ${his}`;
}
r += ` body commands <span class="cash inc">a high price.</span> When ${he}'s not `;
if (canDoVaginal(slave) && jsRandom(1, 4) === 1) {
r += `pleasing the rich with ${his} `;
if (slave.prestige > 1 || slave.porn.prestige > 2) {
r += `prestigious`;
} else {
r += `popular`;
}
r += ` pussy,`;
} else if (beauty > 70 && jsRandom(1, 3) === 1) {
r += `getting gangbanged,`;
} else if (jsRandom(1, 2) === 1) {
r += `performing one of ${his} `;
if (slave.prestige > 1 || slave.porn.prestige > 2) {
r += `famous`;
} else {
r += `top-tier`;
}
r += ` blowjobs,`;
} else if (canDoAnal(slave)) {
r += ` selling access to ${his} `;
if (slave.prestige > 1 || slave.porn.prestige > 2) {
r += `legendary`;
} else {
r += `notorious`;
}
r += ` anus,`;
} else {
r += ` pleasing the masses with ${his} chest,`;
}
r += ` ${he} works social gatherings and high society.`;
} else {
r += ` ${He} shows diligence, and ${his} <span class="skill inc">sexual skills improve,</span> according to what the customers demand`;
if (!canDoVaginal(slave)) {
r += ` and what's possible for ${him}`;
}
r += `.`;
skillIncrease = (5 + Math.floor((slave.intelligence + slave.intelligenceImplant) / 32) + V.oralUseWeight);
r += ` ${slaveSkillIncrease('oral', slave, skillIncrease)}`;
if (canDoVaginal(slave)) {
skillIncrease = (5 + Math.floor((slave.intelligence + slave.intelligenceImplant) / 32) + V.vaginalUseWeight);
r += ` ${slaveSkillIncrease('vaginal', slave, skillIncrease)}`;
}
if (canDoAnal(slave)) {
skillIncrease = (5 + Math.floor((slave.intelligence + slave.intelligenceImplant) / 32) + V.analUseWeight);
r += ` ${slaveSkillIncrease('anal', slave, skillIncrease)}`;
}
}
}
}
/**
* @param {App.Entity.SlaveState} slave
*/
function publicReactions(slave) {
if ((slave.rules.release.masturbation === 0 && !App.Utils.hasFamilySex(slave) && slave.rules.release.slaves === 0) && slave.rules.reward !== "orgasm") {
r += ` ${He}'s a better whore because prostitution is ${his} main sexual outlet.`;
}
if (totalRelatives(slave) > 0) {
let children = V.slaves.filter((s) => areRelated(slave, s) && (s.assignment === slave.assignment));
if (children.length > 1) {
r += ` Since ${his} relatives, ${arrayToSentence(children.map(s => s.slaveName))}, are selling themselves too, ${he} earns extra ¤ by working with them.`;
} else if (children.length > 0) {
const relativePronouns = getPronouns(children[0]);
r += ` Since ${his} relative, ${children[0].slaveName}, is selling ${relativePronouns.objectReflexive} too, ${he} earns extra ¤ by working with ${relativePronouns.object}.`;
}
if (children.length > 0) {
if (arcology.FSEgyptianRevivalist > 20) {
r += ` Customers are very enthusiastic about being able to participate in incestuous sex like the ancient Egyptians.`;
} else if (arcology.FSEgyptianRevivalistIncestPolicy === 1) {
r += ` Customers are very enthusiastic about being able to participate in incestuous sex.`;
}
}
}
if (slave.relationship > 0) {
const partner = getSlave(slave.relationshipTarget);
if (partner && slave.assignment === partner.assignment) {
r += ` ${His} ${relationshipTerm(slave)} ${partner.slaveName} is also whoring, so ${he} earns a bit more.`;
}
} else if (slave.relationship === -1) {
r += ` ${He} relies on citizens' desire to fuck ${him} for emotional support, making ${him} an excellent, if occasionally disturbing, whore.`;
}
if (slave.rivalry !== 0) {
const rival = getSlave(slave.rivalryTarget);
if (rival && slave.assignment === rival.assignment) {
r += ` ${He} earns a little less ¤ due to bickering with ${rival.slaveName}.`;
}
}
if (slave.minorInjury !== 0) {
r += ` ${He} attracts fewer people due to ${his} minor injury.`;
}
if ((slave.hears === -1 && slave.earwear !== "hearing aids") || (slave.hears === 0 && slave.earwear === "muffling ear plugs") || (slave.hears === -2)) {
r += ` ${His} trouble hearing causes ${him} to often not recognize ${he}'s being picked up, missing out on partners.`;
}
if (canTalk(slave)) {
if (arcology.FSSlaveProfessionalism !== "unset" && slave.accent > 1) {
r += ` ${His} butchery of the local tongue drives away potential customers.`;
} else if (slave.voice > 2) {
if (slave.voiceImplant > 0) {
r += ` ${His} high-pitched bimbo voice makes it easier for ${him} to entice potential customers.`;
} else {
r += ` ${His} high, girly voice makes it easier for ${him} to entice potential customers.`;
}
} else if (slave.voice === 1) {
r += ` Most potential customers find ${his} deep voice unattractive, making it harder for ${him} to entice them.`;
}
}
const modScore = SlaveStatsChecker.modScore(slave);
if (arcology.FSTransformationFetishist > 20 || arcology.FSDegradationist > 20) {
if ((modScore.total > 15) || (modScore.piercing > 8 && modScore.tat > 5)) {
r += ` Many customers fetishize body mods and consider ${hers} fascinating.`;
} else if (modScore.total > 7) {
r += ` Many customers fetishize body mods and consider ${hers} interesting.`;
}
} else if (arcology.FSBodyPurist > 20 || arcology.FSPaternalist > 20) {
if (modScore.total <= 7) {
r += ` Many customers disapprove of body mods and are pleased that ${he}'s unspoiled in that regard.`;
} else {
r += ` Many customers disapprove of body mods and consider ${hers} unappealing.`;
}
} else {
if ((modScore.total > 15) || (modScore.piercing > 8 && modScore.tat > 5)) {
r += ` ${He} has so much body art that most customers don't think ${he} needs any more.`;
} else if (slave.corsetPiercing !== 0 || modScore.piercing >= 3 || modScore.tat >= 2) {
r += ` ${His} body art helps attract customers.`;
}
}
if (slave.aphrodisiacs > 1 || (slave.inflationType === "aphrodisiac" && slave.inflation > 1)) {
r += ` On such a heavy aphrodisiac dose, ${he} can't wait for each customer to fuck ${him}.`;
if (slave.inflationType === "aphrodisiac" && canDoAnal(slave)) {
r += ` Which is practically nonstop, as anyone that fucks ${his} ass gets a hit of the aphrodisiacs within ${his} belly.`;
}
} else if (slave.aphrodisiacs > 0 || (slave.inflationType === "aphrodisiac")) {
r += ` On aphrodisiacs, ${he} climaxes with every customer.`;
if (slave.inflationType === "aphrodisiac" && canDoAnal(slave)) {
r += ` Which happens often, as anyone that fucks ${his} ass gets a tiny hit of the aphrodisiacs within ${his} belly.`;
}
} else if (slave.devotion > 95) {
r += ` ${He}'s so devoted that ${he} does ${his} best and pleases every customer.`;
} else if (slave.devotion > 50) {
r += ` ${He}'s so devoted that ${he} works hard to please customers.`;
} else if (slave.trust < -20) {
r += ` ${He}'s afraid of you, so ${he} works hard to please customers.`;
} else {
r += ` ${He} neither loves nor fears you enough to work hard, and makes a poor whore.`;
}
if (slave.butt > 4 && slave.boobs > 800) {
if (arcology.FSAssetExpansionist !== "unset") {
r += ` ${He} makes a river of ¤ with ${his} huge, fashionable assets.`;
if (canTalk(slave)) {
if (slave.voice > 2) {
r += ` ${His} high voice contributes to ${his} bimbo image, so ${he} does even better.`;
}
}
} else if (arcology.FSSlimnessEnthusiast >= 20) {
r += ` ${He} makes no extra ¤ with ${his} large assets since many citizens consider them disgusting.`;
} else {
r += ` ${He} receives extra ¤ for having huge assets.`;
}
if (arcology.FSGenderRadicalist !== "unset") {
if (slave.dick > 0) {
r += ` Society's appetite for stacked whores with dicks makes ${him} especially profitable.`;
}
}
}
if (arcology.FSPetiteAdmiration !== "unset") {
if (heightPass(slave)) {
r += ` ${His} adorably petite stature attracts additional customers.`;
} else if (slave.height >= 170) {
r += ` ${His} tall stature turns off potential costumers.`;
}
} else if (arcology.FSStatuesqueGlorification !== "unset") {
if (heightPass(slave)) {
r += ` ${His} gloriously tall stature attracts additional customers.`;
} else {
r += ` ${His} short stature turns off potential costumers.`;
}
}
if (slave.visualAge >= 30) {
if (arcology.FSMaturityPreferentialist !== "unset") {
r += ` ${His} mature body is very fashionable.`;
} else if (arcology.FSYouthPreferentialist !== "unset") {
r += ` ${His} old body is badly out of fashion.`;
}
} else {
if (arcology.FSYouthPreferentialist !== "unset") {
r += ` ${His} youthful body is very fashionable.`;
} else if (arcology.FSMaturityPreferentialist !== "unset") {
r += ` ${His} young body is out of fashion.`;
}
}
if (slave.geneticQuirks.progeria === 2 && slave.physicalAge >= 45) {
r += ` ${His} advanced progeria reduces ${his} overall energy in bed.`;
} else if (slave.geneticQuirks.neoteny === 2 && slave.visualAge < V.minimumSlaveAge) {
r += ` ${His} neotenic features lead some to believe it is not actually legal to fuck ${him}.`;
}
if (arcology.FSGenderFundamentalistLawBeauty + arcology.FSGenderRadicalistLawBeauty > 0) {
if (genderLawPass(slave) === 1) {
if (arcology.FSAssetExpansionist !== "unset") {
r += ` ${He} makes extra ¤ due to ${his} fashionably feminine body.`;
} else {
r += ` ${He} receives extra ¤ for having a sleek, girlish figure.`;
}
if (canTalk(slave) && slave.voice > 2) {
r += ` ${His} high voice contributes to ${his} girlish image, so ${he} does even better.`;
}
}
} else if (arcology.FSSlimnessEnthusiastLaw === 1) {
if (slimLawPass(slave) === 1) {
r += ` ${He} makes extra ¤ due to ${his} fashionably sleek little body.`;
if (canTalk(slave) && slave.voice > 2) {
r += ` ${His} high voice contributes to ${his} girlish image, so ${he} does even better.`;
}
}
} else if (arcology.FSHedonisticDecadenceLaw2 === 1) {
if (slave.boobs >= 2000 && slave.butt >= 5 && slave.weight > 95) {
r += ` ${He} makes extra ¤ due to ${his} fashionably plump body.`;
if (canTalk(slave) && slave.voice > 2) {
r += ` ${His} high voice contributes to ${his} feminine image, so ${he} does even better.`;
}
}
} else {
if (slave.boobs < 500 && slave.butt < 3) {
if (slave.muscles <= 30 && arcology.FSPhysicalIdealist === "unset" && slave.weight <= 10 && arcology.FSHedonisticDecadence === "unset") {
if (arcology.FSSlimnessEnthusiast > 20) {
r += ` ${He} makes extra ¤ due to ${his} fashionably sleek little body.`;
} else {
r += ` ${He} receives extra ¤ for having a sleek, girlish figure.`;
}
if (canTalk(slave) && slave.voice > 2) {
r += ` ${His} high voice contributes to ${his} girlish image, so ${he} does even better.`;
}
} else if (arcology.FSPhysicalIdealist !== "unset") { // no muscle malus for muscle loving societies
if ((arcology.FSPhysicalIdealistStrongFat === 1 && slave.weight <= 30) || slave.weight <= 10) { // reduced weight malus for fat loving societies
if (arcology.FSSlimnessEnthusiast > 20) {
r += ` ${He} makes extra ¤ due to ${his} fashionably sleek little body.`;
} else {
r += ` ${He} receives extra ¤ for having a sleek, girlish figure.`;
}
if (canTalk(slave) && slave.voice > 2) {
r += ` ${His} high voice contributes to ${his} girlish image, so ${he} does even better.`;
}
}
} else if (arcology.FSHedonisticDecadence !== "unset" && slave.weight <= 30) { // reduced weight malus for fat loving societies
if (arcology.FSHedonisticDecadenceStrongFat === 1 || slave.muscles <= 30) { // no muscle malus for muscle loving societies
if (arcology.FSSlimnessEnthusiast > 20) {
r += ` ${He} makes extra ¤ due to ${his} fashionably sleek little body.`;
} else {
r += ` ${He} receives extra ¤ for having a sleek, girlish figure.`;
}
if (canTalk(slave) && slave.voice > 2) {
r += ` ${His} high voice contributes to ${his} girlish image, so ${he} does even better.`;
}
}
}
}
}
if (arcology.FSIntellectualDependencyLawBeauty === 1) {
if (bimboScore(slave) >= 6) {
r += ` Clients are more than willing to pay extra ¤ to spend time with a complete bimbo like ${him}.`;
}
}
if (slave.boobsImplant === 0 && slave.buttImplant === 0 && slave.waist >= -95 && slave.bellyImplant === -1 && slave.lipsImplant === 0 && slave.faceImplant < 30) {
if (arcology.FSBodyPurist !== "unset") {
r += ` With ${his} all-natural, implant free appearance, ${he}'s very profitable.`;
} else if (arcology.FSTransformationFetishist >= 20) {
r += ` Customers are disappointed by ${his} all-natural, implant free appearance.`;
} else {
r += ` Some discerning customers appreciate ${his} all-natural, implant free appearance.`;
}
} else {
if (arcology.FSTransformationFetishist !== "unset") {
r += ` The public is willing to pay more for ${his} augmented body.`;
}
}
if (slave.nipples === "fuckable") {
if (arcology.FSTransformationFetishist !== "unset") {
r += ` ${His} fuckable nipples give ${him} a profitable edge over those without such body modifications.`;
} else {
r += ` ${His} fuckable nipples entice some of the more adventurous customers.`;
}
}
if (slave.teeth === "removable") {
if (V.policies.gumjobFetishism === 1) {
r += ` The majority of the customers are quite pleased with ${his} ability to give toothless sucks and purchase time with ${his} mouth liberally.`;
} else {
r += ` The extra attention ${he} receives from ${his} ability to give toothless sucks is about balanced out by the customers who are disgusted by it.`;
}
} else if (slave.teeth === "pointy") {
if (V.policies.gumjobFetishism === 1) {
r += ` Most customers are quite dissapointed with ${his} tooth-filled mouth, but there are a handful still interested in ${his} unusual dentistry.`;
} else {
r += ` The extra attention ${he} receives due to ${his} sharp teeth is balanced by the customers who are scared off by them.`;
}
} else if (slave.teeth === "fangs") {
if (V.policies.gumjobFetishism === 1) {
r += ` Most customers are quite dissapointed with ${his} tooth-filled mouth, but there are a handful still interested in ${his} unusual dentistry.`;
} else {
r += ` The extra attention ${he} receives due to ${his} fangs is balanced by the customers who are scared off by them.`;
}
} else {
if (V.policies.gumjobFetishism === 1) {
r += ` Most customers are quite dissapointed that ${his} teeth don't come out.`;
}
}
if (slave.dick !== 0) {
if (arcology.FSGenderRadicalist === "unset") {
r += ` ${He} sees fewer customers because many prefer whores without cocks.`;
} else if (arcology.FSGenderRadicalist < 50) {
r += ` ${His} cock entices some customers and disappoints others; it has little effect on ${his} popularity.`;
} else {
r += ` The overwhelming majority of potential customers consider ${his} cock an attraction.`;
}
}
if (slave.muscles > 95) {
if (arcology.FSPhysicalIdealist !== "unset") {
r += ` In the new culture of ${arcology.name} ${his} muscles make ${him} a very profitable whore.`;
} else {
r += ` ${His} muscles scare off some customers, but some pay well to enjoy a muscular whore.`;
}
}
if (isAmputee(slave)) {
r += ` Many prefer to fuck a whore with limbs, but some greatly enjoy buying the use of a helpless amputee.`;
}
if (slave.lactation > 0) {
r += ` ${He} appeals to customers who like lactation play, or just want a whore they can drink milk from.`;
slave.lactationDuration = 2;
slave.boobs -= slave.boobsMilk;
slave.boobsMilk = 0;
}
if (slave.bellyPreg >= 1500 || setup.fakeBellies.includes(slave.bellyAccessory) || slave.bellyImplant >= 1500) {
if (arcology.FSRepopulationFocus !== "unset") {
r += ` In the new culture of ${arcology.name}, ${his} pregnancy makes ${him} a profitable whore`;
if (setup.fakeBellies.includes(slave.bellyAccessory) || slave.bellyImplant >= 1500) {
r += `, even if it's not real`;
}
r += `.`;
} else if (arcology.FSRepopulationFocusPregPolicy === 1 && slave.bellyPreg >= 1500) {
r += ` It's currently trendy to plow a whore laden with child, a role ${he} fits perfectly.`;
} else if (arcology.FSRestart !== "unset") {
r += ` In the new culture of ${arcology.name}, ${his}`;
if (setup.fakeBellies.includes(slave.bellyAccessory) || slave.bellyImplant >= 1500) {
r += ` apparent`;
}
r += ` pregnancy is a massive turn off to potential customers.`;
} else if (arcology.FSGenderFundamentalist !== "unset") {
r += ` The new respect for traditional gender roles has given many citizens a taste for pregnant whores`;
if (setup.fakeBellies.includes(slave.bellyAccessory) || slave.bellyImplant >= 1500) {
r += `, even if they only look pregnant`;
}
r += `.`;
} else {
r += ` Many customers avoid visibly pregnant whores.`;
}
}
if (arcology.FSRepopulationFocusMilfPolicy === 1 && slave.counter.birthsTotal > 0) {
r += ` Slaves that have had children are hot right now making ${him} quite the appealing MILF.`;
}
if (V.seeRace === 1) {
if (slave.race === "white") {
r += ` Many customers prefer white ${girl}s like ${slave.slaveName}.`;
}
}
if (arcology.FSSupremacist !== "unset") {
if (slave.race !== arcology.FSSupremacistRace) {
r += ` Some citizens fetishize whores of the servile races.`;
}
}
if (arcology.FSSubjugationist !== "unset") {
if (slave.race === arcology.FSSubjugationistRace) {
r += ` Many prefer to use and abuse whores of the proper slave race.`;
}
}
if (arcology.FSEdoRevivalist !== "unset") {
if (slave.nationality === "Japanese" || slave.nationality === "Edo Revivalist") {
r += ` As a proper Japanese ${girl}, ${he} is considered extremely desirable.`;
}
} else if (arcology.FSChineseRevivalist !== "unset") {
if (slave.nationality === "Chinese" || slave.nationality === "Chinese Revivalist") {
r += ` As a proper Chinese ${girl}, ${he} is considered extremely desirable.`;
}
}
if (arcology.FSSlaveProfessionalism !== "unset") {
if (slave.intelligence + slave.intelligenceImplant > 50) {
r += ` ${His} intelligence satisfies customers looking for more than just a hole to fuck.`;
} else if (slave.intelligence + slave.intelligenceImplant < -10) {
r += ` ${His} stupidity aggravates customers looking for more than just a hole to fuck.`;
}
} else if (arcology.FSIntellectualDependency !== "unset") {
if (slave.intelligence + slave.intelligenceImplant > 10) {
r += ` ${His} intellectual baggage annoys customers looking for a simple fuck.`;
} else if (slave.intelligence + slave.intelligenceImplant < -50) {
r += ` ${His} simplicity makes ${him} pliable and ready to try anything with a customer.`;
}
} else if (slave.intelligence + slave.intelligenceImplant > 15) {
r += ` ${His} intelligence gives ${him} an advantage at the business of selling ${his} body.`;
} else if (slave.intelligence + slave.intelligenceImplant < -15) {
r += ` ${His} stupidity gives ${him} a handicap at the business of selling ${his} body.`;
}
if (slave.prestige > 0) {
r += ` ${He} attracts more attention because it's prestigious to fuck ${him}.`;
}
if (slave.porn.prestige > 2) {
r += ` Customers line up for the chance to buy time with the face of ${slave.porn.fameType} porn.`;
} else if (slave.porn.prestige > 1) {
r += ` ${He} has a sizable fanbase, one that is eager to buy time with ${him}.`;
} else if (slave.porn.prestige > 0) {
r += ` A few of ${his} fans recognize ${him} and eagerly patronize ${him}.`;
}
if (slave.clitPiercing === 3 && slave.devotion >= -20) {
r += ` Almost everyone loves ${his} enthusiasm for sex encouraged by ${his} smart piercing.`;
} else if (slave.clitPiercing === 3) {
r += ` Almost everyone appreciates ${his} reduced reluctance towards sex encouraged by ${his} smart piercing.`;
}
if (slave.fetishKnown === 1 && slave.fetishStrength > 60) {
switch (slave.fetish) {
case "submissive":
r += ` ${He} gets more ¤ for ${his} eagerness to submit.`;
break;
case "cumslut":
r += ` ${He} gets more ¤ for ${his} enjoyment of cum.`;
break;
case "humiliation":
r += ` ${He} gets more ¤ for ${his} eagerness to be humiliated by citizens.`;
break;
case "buttslut":
if (canDoAnal(slave)) {
r += ` ${He} gets more ¤ for ${his} obvious enjoyment of buttsex.`;
}
break;
case "dom":
r += ` ${He} gets more ¤ for ${his} enthusiasm dominating other slaves in group sex.`;
break;
case "masochist":
r += ` ${He} gets more ¤ for ${his} obvious enjoyment of pain.`;
break;
case "boobs":
r += ` ${He} receives more ¤ for ${his} eagerness to get some hands on ${his} chest.`;
break;
case "sadist":
r += ` ${He} gets some more ¤ for ${his} willingness to abuse other slaves.`;
break;
case "pregnancy":
if (slave.mpreg === 0) {
if (slave.vagina > 0 && canDoVaginal(slave)) {
r += ` As an impregnation fetishist ${he}'s very enthusiastic about vaginal sex.`;
}
} else {
if (slave.anus > 0 && canDoAnal(slave)) {
r += ` As an impregnation fetishist ${he}'s very enthusiastic about anal sex.`;
}
}
break;
case "mindbroken":
r += ` ${He} gets less ¤ because ${he} just lies there, totally unresponsive.`;
break;
}
}
if (slave.attrKnown === 1) {
if (slave.energy > 95) {
r += ` As a nymphomaniac ${he} gets sexual release from every transaction and is wildly successful.`;
slave.need -= beauty;
} else if (slave.energy > 80) {
r += ` With ${his} powerful sex drive ${he} rarely has to fake an orgasm.`;
slave.need -= (beauty * 0.9);
} else if (slave.aphrodisiacs > 0 || slave.inflationType === "aphrodisiac") {
r += ` With ${his} aphrodisiac boosted libido, it's barely possible to discern ${him} from a natural nymphomaniac.`;
slave.need -= (beauty * 0.9);
} else if (slave.energy > 60) {
r += ` With ${his} good sex drive ${he} often orgasms with customers.`;
slave.need -= (beauty * 0.8);
} else if (slave.energy > 40) {
r += ` With ${his} average sex drive ${he} occasionally orgasms with customers.`;
slave.need -= (beauty * 0.5);
} else if (slave.energy > 20) {
r += ` With ${his} poor sex drive ${he} almost never orgasms with customers.`;
slave.need -= (beauty * 0.1);
} else {
r += ` Since ${he}'s frigid, ${he} rarely experiences authentic arousal at work.`;
}
if (slave.attrXY <= 15) {
if (slave.attrXX <= 15) {
r += ` ${His} general disgust with sex makes ${him} a very poor whore.`;
} else if (slave.attrXX <= 85) {
r += ` ${His} sexual disgust with men makes ${him} a poor whore.`;
} else if (slave.attrXX <= 95) {
r += ` ${His} sexual disgust with men hinders ${him}, though ${he} is more enthusiastic with female customers.`;
} else {
r += ` ${His} sexual disgust with men hinders ${him}, though ${he} makes up for it with female customers.`;
}
} else if (slave.attrXY <= 85) {
if (slave.attrXX <= 15) {
r += ` ${His} sexual disgust with women makes ${him} a poor whore.`;
} else if (slave.attrXX <= 85) {
r += ` ${His} indifference to men and women makes ${him} a poor whore.`;
} else if (slave.attrXX <= 95) {
r += ` ${His} sexual indifference to men hinders ${him}, though ${he} is more enthusiastic with female customers.`;
} else {
r += ` ${His} sexual indifference to men hinders ${him}, though ${he} makes up for it with female customers.`;
}
} else if (slave.attrXY <= 95) {
if (slave.attrXX <= 15) {
r += ` ${His} sexual disgust with women hinders ${him}, though ${he} makes up for it with male customers.`;
} else if (slave.attrXX <= 85) {
r += ` ${His} sexual indifference to women hinders ${him}, though ${he} makes up for it with male customers.`;
} else if (slave.attrXX <= 95) {
r += ` ${He} has the advantage of sexual sincerity with both men and women.`;
} else {
r += ` ${He}'s a good slut with male customers, and truly enthusiastic with women.`;
}
} else {
if (slave.attrXX <= 15) {
r += ` ${His} sexual disgust with women hinders ${him}, though ${he} is enthusiastic with male customers.`;
} else if (slave.attrXX <= 85) {
r += ` ${His} sexual indifference to women hinders ${him}, though ${he} is enthusiastic with male customers.`;
} else if (slave.attrXX <= 95) {
r += ` ${He}'s a good slut with female customers, and truly enthusiastic with men.`;
} else {
r += ` ${He}'s openly lustful towards all customers, men and women.`;
}
}
}
switch (slave.behavioralQuirk) {
case "confident":
r += ` ${He}'s better at ${his} job because ${he}'s such a confident whore.`;
break;
case "cutting":
r += ` ${He} gets a lot of attention for ${his} ability to joke at a customer's expense.`;
break;
case "funny":
r += ` ${He} brings unintentional comic relief to the hard work of prostitution.`;
break;
case "adores women":
r += ` ${He}'s a favorite among female customers, whom ${he} greets with real enthusiasm.`;
break;
case "adores men":
r += ` ${He}'s a favorite among male customers, whom ${he} greets with frank and open lust.`;
break;
case "fitness":
r += ` ${He}'s eager to please customers because ${he} finds validation in their willingness to pay for sex with ${him}.`;
break;
case "insecure":
r += ` ${He} thinks of ${himself} as really beautiful, despite the occasional harshness of sex work.`;
break;
case "sinful":
r += ` ${He} identifies with prostitutes from the holy books, and scandalizes customers with ${his} explicit scriptural references.`;
break;
case "advocate":
r += ` ${He} reassures uncomfortable customers that prostitution isn't bad for ${him} at all.`;
break;
}
switch (slave.sexualQuirk) {
case "gagfuck queen":
r += ` ${He}'s a favorite among customers who like to throatfuck a retching whore.`;
break;
case "painal queen":
if (canDoAnal(slave)) {
r += ` ${He}'s a favorite among customers who like to assrape a struggling whore.`;
}
break;
case "strugglefuck queen":
r += ` ${He}'s a favorite among customers who like to wrestle with a struggling whore.`;
break;
case "tease":
r += ` Despite being a whore, ${he} somehow retains the ability to blush enticingly at nudity.`;
break;
case "romantic":
r += ` Despite being a whore, ${he} somehow retains the ability to make ${his} customers feel special.`;
break;
case "perverted":
r += ` ${He} enjoys unexpected, perverted requests from customers.`;
break;
case "unflinching":
r += ` ${He}'s impossible to disgust or surprise, pleasing customers with odd tastes.`;
break;
case "size queen":
r += ` ${He}'s very eager to spend quality time with big cocks, making ${him} a favorite among the well-endowed.`;
break;
case "caring":
r += ` ${He}'s a relaxing whore to patronize, doing everything ${he} can to make ${his} customers comfortable.`;
break;
}
switch (slave.behavioralFlaw) {
case "arrogant":
r += ` ${He} receives less ¤ because ${he} treats clients like they are beneath ${his} dignity.`;
break;
case "bitchy":
r += ` ${He} receives less ¤ because ${he} makes cutting remarks to clients.`;
break;
case "odd":
r += ` ${He} receives less ¤ because clients are annoyed by ${his} odd behavior.`;
break;
case "hates men":
r += ` ${He} receives less ¤ because ${he} can't conceal ${his} distaste for the company of men.`;
break;
case "hates women":
r += ` ${He} receives less ¤ because ${he} can't conceal ${his} distaste for the company of women.`;
break;
case "devout":
r += ` ${He} receives less ¤ because people are annoyed by ${his} habit of praying for forgiveness during sex.`;
break;
case "liberated":
r += ` ${He} receives less ¤ because people are annoyed by ${his} obvious belief that being forced to serve them is wrong.`;
break;
}
switch (slave.sexualFlaw) {
case "hates oral":
r += ` ${He} receives less ¤ because ${he} tries to avoid sucking cock.`;
break;
case "hates anal":
if (canDoAnal(slave)) {
r += ` ${He} receives less ¤ because ${he} tries to avoid taking it up the ass.`;
}
break;
case "hates penetration":
r += ` ${He} receives less ¤ because ${he} tries to avoid getting fucked.`;
break;
case "repressed":
r += ` ${He} receives less ¤ because customers who don't feel like forcing ${him} sometimes have to cajole ${him} past ${his} repressed sexuality.`;
break;
case "idealistic":
r += ` ${He} receives less ¤ because customers who don't feel like forcing ${him} sometimes have to convince ${him} to have sex with them.`;
break;
case "apathetic":
r += ` ${He} receives less ¤ because ${he} often just lies there taking dick.`;
break;
case "crude":
r += ` ${He} receives less ¤ because ${he} isn't exactly the most elegant sexual partner.`;
break;
case "judgemental":
r += ` ${He} receives less ¤ because ${he} openly disdains unattractive citizens.`;
break;
case "shamefast":
r += ` ${He} receives less ¤ because ${he} sometimes hesitates to take ${his} clothes off and get to work.`;
break;
case "cum addict":
r += ` ${His} abject begging for cum annoys customers who aren't looking for oral, but this is more than outweighed by how much it delights those who are.`;
break;
case "anal addict":
r += ` ${His} abject begging for buttsex annoys customers who aren't interested in fucking ${his} ass, but this is more than outweighed by how much it delights those who are.`;
break;
case "attention whore":
r += ` ${He} loses customers by ${his} constant attention seeking.`;
break;
case "breast growth":
r += ` ${His} excessive obsession with ${his} own breasts, to the detriment of most sexual intercourse, loses customers.`;
break;
case "abusive":
r += ` ${He} loses customers whenever ${his} sexual abusiveness becomes apparent.`;
break;
case "malicious":
r += ` ${He} loses customers whenever ${his} sexual maliciousness becomes apparent.`;
break;
case "self hating":
r += ` ${He} loses customers during the crying jags brought on by ${his} self hatred.`;
break;
case "neglectful":
r += ` The occasional customer who likes a whore to climax authentically and can tell the difference is disappointed by ${his} neglect of ${his} own pleasure, but they're rare. Most are thrilled by ${him}.`;
break;
case "breeder":
r += ` ${His} obsession with pregnancy loses customers who aren't interested in that.`;
break;
}
}
/**
* @param {App.Entity.SlaveState} slave
*/
function addFlaw(slave) {
if (slave.devotion < 10) {
if (jsRandom(1, 100) > 70) {
if (slave.skill.vaginal <= 30 && canDoVaginal(slave)) {
r += ` After being fucked too hard too often, ${he} now <span class="flaw gain">dislikes being penetrated.</span>`;
slave.sexualFlaw = "hates penetration";
} else if (slave.skill.anal <= 30 && canDoAnal(slave)) {
r += ` After so much anal pain, ${he} now <span class="flaw gain">dislikes being buttfucked.</span>`;
slave.sexualFlaw = "hates anal";
} else if (slave.skill.oral <= 30) {
r += ` After one too many facials, ${he} now <span class="flaw gain">dislikes sucking cock.</span>`;
slave.sexualFlaw = "hates oral";
}
}
}
}
/**
* @param {App.Entity.SlaveState} slave
*/
function addCash(slave) {
cash = slave.sexAmount * FuckResult; // The standard amount of money the whore is expected to make in a week
if (slave.assignment === window.Job.WHORE) {
cashX(cash, "slaveAssignmentWhore", slave);
} else if (slave.assignment === window.Job.MADAM) {
cashX(cash, "slaveAssignmentMadam", slave);
} else if (slave.assignment === window.Job.BROTHEL) {
cashX(cash, "slaveAssignmentBrothel", slave);
} else {
cashX(cash, "whoring income in an unregistered building", slave);
}
incomeStats.income += cash;
}
/**
* @param {App.Entity.SlaveState} slave
*/
function addCashText(slave) {
r += ` In total, you were paid <span class="cash inc">${cashFormat(cash)}</span> for the use of ${slave.slaveName}'s body this week.`;
}
/**
*/
function applyFSDecoration() {
/* FACILITY DECORATION IMPACTS */
const fsBeauty = 0.0005 * beauty;
FutureSocieties.DecorationBonus(V.brothelDecoration, fsBeauty);
}
/**
* @param {App.Entity.SlaveState} slave
*/
function sexCounts(slave) {
/* SEX ACT COUNTS AND SEXUAL SATISFACTION */
oralUse = (V.oralUseWeight + (slave.skill.oral / 30) + (slave.lips / 20));
if (V.policies.gumjobFetishism === 1 && slave.teeth !== "removable") {
oralUse = Math.max(Math.trunc(oralUse * .75), 1);
}
analUse = 0;
if (canDoAnal(slave)) {
analUse = (V.analUseWeight + (slave.skill.anal / 30) - slave.anus);
if (analUse < 0) {
analUse = 0;
}
}
vaginalUse = 0;
if (canDoVaginal(slave)) {
vaginalUse = (V.vaginalUseWeight + (slave.skill.vaginal / 30) - slave.vagina);
if (vaginalUse < 0) {
vaginalUse = 0;
}
}
mammaryUse = 0;
// perhaps boost this for truly massive breasts
if (slave.boobs > 10000) {
mammaryUse = (5 + V.mammaryUseWeight);
} else if (slave.boobs > 500) {
mammaryUse = (V.mammaryUseWeight + (slave.boobs / 2000));
}
if (slave.nipples === "fuckable") {
mammaryUse *= 2;
}
penetrativeUse = 0;
if (canDoVaginal(slave) && slave.clit > 1) {
penetrativeUse += (V.penetrativeUseWeight + (slave.skill.vaginal / 30) + slave.clit);
}
if (slave.dick && slave.chastityPenis !== 1) {
if (canPenetrate(slave)) {
penetrativeUse += (V.penetrativeUseWeight + slave.dick + Math.min(slave.balls, 10) / 4);
if (slave.drugs === "hyper testicle enhancement") {
penetrativeUse += Math.min(slave.balls, 5);
}
} else {
penetrativeUse += (V.penetrativeUseWeight + Math.min(slave.balls, 15) + Math.min(slave.balls, 10) / 8);
if (slave.drugs === "hyper testicle enhancement") {
penetrativeUse += Math.min(slave.balls, 5);
}
}
}
const demand = (oralUse + analUse + vaginalUse + mammaryUse + penetrativeUse);
oralUse = Math.trunc((oralUse / demand) * beauty);
analUse = Math.trunc((analUse / demand) * beauty);
vaginalUse = Math.trunc((vaginalUse / demand) * beauty);
mammaryUse = Math.trunc((mammaryUse / demand) * beauty);
penetrativeUse = Math.trunc((penetrativeUse / demand) * beauty);
seX(slave, "oral", "public", "penetrative", oralUse);
seX(slave, "anal", "public", "penetrative", analUse);
seX(slave, "vaginal", "public", "penetrative", vaginalUse);
seX(slave, "mammary", "public", "penetrative", mammaryUse);
seX(slave, "penetrative", "public", "penetrative", penetrativeUse);
cervixPump = 0;
if (slave.cervixImplant === 1 || slave.cervixImplant === 3) {
cervixPump += (20 * vaginalUse);
}
if (slave.cervixImplant === 2 || slave.cervixImplant === 3) {
cervixPump += (20 * analUse);
}
}
/**
* @param {App.Entity.SlaveState} slave
*/
function sexualSatiation(slave) {
if (slave.need) {
if (slave.fetishKnown) {
switch (slave.fetish) {
case "submissive":
case "masochist":
if (analUse + vaginalUse > 0) {
r += ` ${He} enjoys being fucked, and got sexual satisfaction from the ${num(analUse + vaginalUse)} dicks stuck inside ${him} this week.`;
slave.need -= (analUse + vaginalUse);
}
break;
case "dom":
case "sadist":
if (penetrativeUse > 0) {
r += ` ${He} enjoys being on top, and got special sexual satisfaction from the ${num(penetrativeUse)} times ${he} got to fuck someone this week.`;
slave.need -= 2 * penetrativeUse;
}
break;
case "cumslut":
if (oralUse > 0) {
r += ` ${He} enjoys sucking, and got sexual satisfaction from the ${num(oralUse)} blowjobs ${he} gave this week.`;
slave.need -= oralUse;
}
break;
case "buttslut":
if (analUse > 0) {
r += ` ${He} enjoys getting buttfucked, and got sexual satisfaction from the ${num(analUse)} times ${he} was sodomized this week.`;
slave.need -= analUse;
}
break;
case "boobs":
if (mammaryUse > 0) {
r += ` ${He} enjoys `;
if (slave.nipples === "fuckable") {
r += `having ${his} tits fucked,`;
} else {
r += `giving a good titfuck,`;
}
r += ` and got sexual satisfaction from the ${num(mammaryUse)} times they were used this week.`;
slave.need -= mammaryUse;
}
break;
case "pregnancy":
if (slave.mpreg === 0) {
if (vaginalUse > 0) {
r += ` ${He} enjoys having ${his} pussy fucked, and got sexual satisfaction from the ${num(vaginalUse)} times ${he} got dick this week.`;
slave.need -= vaginalUse;
}
} else {
if (analUse > 0) {
r += ` ${He} enjoys having ${his} ass fucked, and got sexual satisfaction from the ${num(analUse)} times ${he} got dick this week.`;
slave.need -= analUse;
}
}
break;
case "humiliation":
r += ` ${He} enjoys the humiliation of being a whore, and got a bit of sexual satisfaction from every sex act ${he} performed this week.`;
slave.need -= beauty;
}
}
}
if (slave.energy > 40 && slave.energy < 95) {
r += ` Being used sexually all week <span class="change positive">increases ${his} sex drive.</span>`;
slave.energy += 1;
}
if (cervixPump > 0) {
r += ` ${He} notices ${his} <span class="change positive">belly has swollen</span> from all the `;
if (slave.cervixImplant === 1) {
r += `vaginal`;
} else if (slave.cervixImplant === 2) {
r += `anal`;
}
r += ` sex ${he} had throughout the week.`;
slave.bellyImplant += cervixPump;
}
}
/**
* @param {App.Entity.SlaveState} slave
*/
function assignmentVignette(slave) {
const vignette = GetVignette(slave);
r += ` <span class="story-label">This week</span> ${vignette.text} `;
if (vignette.type === "cash") {
const cashVign = Math.trunc(FuckResult * vignette.effect);
if (vignette.effect > 0) {
r += `<span class="cash inc">making you an extra ${cashFormat(cashVign)}.</span>`;
} else if (vignette.effect < 0) {
r += `<span class="cash dec">losing you ${cashFormat(Math.abs(cashVign))}.</span>`;
} else {
r += `an incident without lasting effect.`;
}
if (slave.assignment === window.Job.WHORE) {
if (vignette.effect > 0) {
cashX(cashVign, "slaveAssignmentWhoreVign", slave);
} else if (vignette.effect < 0) {
cashX(forceNeg(cashVign), "slaveAssignmentWhoreVign", slave);
}
} else if (slave.assignment === window.Job.MADAM) {
if (vignette.effect > 0) {
cashX(cashVign, "slaveAssignmentMadamVign", slave);
} else if (vignette.effect < 0) {
cashX(forceNeg(cashVign), "slaveAssignmentMadamVign", slave);
}
} else if (slave.assignment === window.Job.BROTHEL) {
if (vignette.effect > 0) {
cashX(cashVign, "slaveAssignmentBrothelVign", slave);
} else if (vignette.effect < 0) {
cashX(forceNeg(cashVign), "slaveAssignmentBrothelVign", slave);
}
} else {
if (vignette.effect > 0) {
cashX(cashVign, "vignette whoring income in an unregistered building", slave);
} else if (vignette.effect < 0) {
cashX(forceNeg(cashVign), "vignette whoring expense in an unregistered building", slave);
}
}
incomeStats.income += cashVign;
} else if (vignette.type === "devotion") {
if (vignette.effect > 0) {
if (slave.devotion > 50) {
r += `<span class="devotion inc">increasing ${his} devotion to you.</span>`;
} else if (slave.devotion >= -20) {
r += `<span class="devotion inc">increasing ${his} acceptance of you.</span>`;
} else if (slave.devotion >= -50) {
r += `<span class="devotion inc">reducing ${his} dislike of you.</span>`;
} else {
r += `<span class="devotion inc">reducing ${his} hatred of you.</span>`;
}
} else if (vignette.effect < 0) {
if (slave.devotion > 50) {
r += `<span class="devotion dec">reducing ${his} devotion to you.</span>`;
} else if (slave.devotion >= -20) {
r += `<span class="devotion dec">reducing ${his} acceptance of you.</span>`;
} else if (slave.devotion >= -50) {
r += `<span class="devotion dec">increasing ${his} dislike of you.</span>`;
} else {
r += `<span class="devotion dec">increasing ${his} hatred of you.</span>`;
}
} else {
r += `an incident without lasting effect.`;
}
slave.devotion += (1 * vignette.effect);
} else if (vignette.type === "trust") {
if (vignette.effect > 0) {
if (slave.trust > 20) {
r += `<span class="trust inc">increasing ${his} trust in you.</span>`;
} else if (slave.trust >= -50) {
r += `<span class="trust inc">reducing ${his} fear of you.</span>`;
} else {
r += `<span class="trust inc">reducing ${his} terror of you.</span>`;
}
} else if (vignette.effect < 0) {
if (slave.trust > 20) {
r += `<span class="trust dec">reducing ${his} trust in you.</span>`;
} else if (slave.trust >= -20) {
r += `<span class="trust dec">increasing ${his} fear of you.</span>`;
} else {
r += `<span class="trust dec">increasing ${his} terror of you.</span>`;
}
} else {
r += `an incident without lasting effect.`;
}
slave.trust += (1 * vignette.effect);
} else if (vignette.type === "health") {
if (vignette.effect > 0) {
r += `<span class="health inc">improving ${his} health.</span>`;
improveCondition(slave, 2 * vignette.effect);
} else if (vignette.effect < 0) {
r += `<span class="health dec">affecting ${his} health.</span>`;
healthDamage(slave, 2 * vignette.effect);
} else {
r += `an incident without lasting effect.`;
}
} else {
if (vignette.effect > 0) {
r += `<span class="reputation inc">gaining you a bit of reputation.</span>`;
} else if (vignette.effect < 0) {
r += `<span class="reputation dec">losing you a bit of reputation.</span>`;
} else {
r += `an incident without lasting effect.`;
}
repX(Math.trunc(FuckResult * vignette.effect * 0.1), "vignette", slave);
incomeStats.rep += Math.trunc(FuckResult * vignette.effect * 0.1);
}
}
})();
|
MonsterMate/fc
|
src/endWeek/saWhore.js
|
JavaScript
|
mit
| 71,353
|
App.SlaveAssignment.workAGloryHole = (function() {
"use strict";
let incomeStats;
let r;
let beauty;
let FResult;
/* eslint-disable no-unused-vars*/
let he;
let him;
let his;
let hers;
let himself;
let boy;
let He;
let His;
/* eslint-enable */
return saWorkAGloryHole;
/**
* @param {App.Entity.SlaveState} slave
* @returns {string}
*/
function saWorkAGloryHole(slave) {
r = ``;
({
// eslint-disable-next-line no-unused-vars
he, him, his, hers, himself, boy, He, His
} = getPronouns(slave));
beauty = slave.sexAmount; /* This gets calculated during slaveAssignmentReport and stored on the slave for later use */
FResult = V.arcadePrice; /* This gets calculated during slaveAssignmentReport after we know the total 'arcade' sex slave supply */
gatherStatistics(slave);
jobPreface(slave);
physicalEffects(slave);
mentalEffects(slave);
jobBody(slave);
applyFSDecoration(slave);
sexCounts(slave);
profitReport(slave);
return r;
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function gatherStatistics(slave) {
/* Statistics gathering */
const facility = slave.assignment === window.Job.ARCADE ? V.facility.arcade : undefined;
incomeStats = getSlaveStatisticData(slave, facility);
incomeStats.customers = beauty;
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function jobPreface(slave) {
r += ` is `;
if (slave.fuckdoll === 0) {
r += `restrained in a glory hole.`;
} else {
r += `set out for use.`;
}
r += ` ${beauty} customers (${Math.trunc(beauty/7)} a day) `;
if (V.policies.publicFuckdolls === 1) {
r += `enjoyed ${his} holes free of charge thanks to your gracious policies.`;
} else {
r += `paid `;
// is this right? This really doesn't feel right. < 1 credit?
if (FResult === 3) {
r += `${cashFormat(3)}`;
} else if (FResult >= 2.5) {
r += `a little under ${cashFormat(3)}`;
} else if (FResult >= 2) {
r += `a little over ${cashFormat(2)}`;
} else if (FResult >= 1.5) {
r += `a little under ${cashFormat(2)}`;
} else if (FResult >= 1) {
r += `a little over ${cashFormat(1)}`;
} else {
r += `less than ${cashFormat(1)}`;
}
r += ` to use ${his} holes.`;
}
if (V.arcologies[0].FSDegradationist > 0) {
r += ` Demand for ${his} holes is strong due to the appetite for degradation rampant in ${V.arcologies[0].name}.`;
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function physicalEffects(slave) {
// check usage counts for these — more fucks should be more damaging
if (slave.curatives > 0 || slave.inflationType === "curative") {
r += ` The drugs ${he}'s `;
if (slave.inflationType === "curative") {
r += `harboring inside ${his} guts`;
} else {
r += `on`;
}
r += ` protect ${his} health from the stress of being used as a sexual appliance.`;
} else if (slave.health.condition < -50) {
r += ` The stress of being used while very in terrible condition <span class="red">damaged ${his} health.</span>`;
healthDamage(slave, Math.max(Math.trunc((slave.sexAmount - 400) / 25) + jsRandom(-2, 2), 1));
} else if (slave.health.condition < -10) {
if (jsRandom(1, 100) < 10) {
r += ` The stress of being used while weak has <span class="red">damaged ${his} health.</span>`;
healthDamage(slave, Math.max(Math.trunc((slave.sexAmount - 400) / 25) + jsRandom(-2, 2), 1));
}
} else if (!canDoVaginal(slave) && !canDoAnal(slave)) {
if (jsRandom(1, 100) < 75) {
r += ` The stress of being used repeatedly in only one hole has <span class="red">damaged ${his} health.</span>`;
healthDamage(slave, Math.max(Math.trunc((slave.sexAmount - 400) / 25) + jsRandom(-2, 2), 1));
}
} else if (!canDoVaginal(slave)) {
if (jsRandom(1, 100) < 50) {
r += ` The stress of being used in only two holes has <span class="red">damaged ${his} health.</span>`;
healthDamage(slave, Math.max(Math.trunc((slave.sexAmount - 400) / 25) + jsRandom(-2, 2), 1));
}
} else if (jsRandom(1, 100) < 25) {
r += ` The stress of being used has <span class="red">damaged ${his} health.</span>`;
healthDamage(slave, Math.max(Math.trunc((slave.sexAmount - 400) / 25) + jsRandom(-2, 2), 1));
}
if (slave.health.illness > 0 || slave.health.tired > 60) {
r += ` ${He} is<span class="red">`;
if (slave.health.illness === 1) {
r += ` feeling under the weather`;
} else if (slave.health.illness === 2) {
r += ` somewhat ill`;
} else if (slave.health.illness === 3) {
r += ` sick`;
} else if (slave.health.illness === 4) {
r += ` very sick`;
} else if (slave.health.illness === 5) {
r += ` terribly ill`;
}
if (slave.health.illness > 0 && slave.health.tired > 90) {
r += ` and`;
}
if (slave.health.tired > 90) {
r += ` exhausted`;
} else if (slave.health.tired > 60) {
r += ` fatigued`;
}
r += `,</span> but no one cared.`;
}
if (slave.assignment === Job.ARCADE) {
if (!slave.fuckdoll) {
r += ` ${He} spends ${his} working hours constrained to a box, and ${his} time outside preparing for ${his} next shift; <span class="red">an exhausting life for even the healthiest of slaves.</span>`;
if (V.arcadeUpgradeHealth > 0) {
r += ` The curative cocktail pumped into ${him} is laced with `;
if (V.arcadeUpgradeHealth === 2) {
r += `sedatives and painkillers to keep ${him} in a <span class="green">state of forced rest.</span>`;
} else {
r += `painkillers and mild muscle relaxants; Not enough to ruin a customer's fun, but enough to keep ${him} in a <span class="green">state of pseudo-rest.</span>`;
}
} else {
r += ` If ${he} needs to rest, however, ${he} can always just pass out in ${his} restraints.`;
}
}
tired(slave);
} else if (slave.assignment === Job.GLORYHOLE) {
if (!slave.fuckdoll) {
if (slaveResting(slave)) {
r += ` ${He} spends reduced hours serving ${his} glory hole in order to <span class="green">offset ${his} lack of rest.</span>`;
} else if (slave.health.tired + 20 >= 90 && !willWorkToDeath(slave)) {
r += ` ${He} attempts to refuse work due to ${his} exhaustion, but can do little to stop it or the resulting <span class="trust dec">severe punishment.</span> ${He} <span class="devotion dec">purposefully underperforms,</span> choosing ${his} overall well-being over the consequences, <span class="reputation dec">aggravating customers and damaging the establishment's image.</span>`;
slave.devotion -= 10;
slave.trust -= 5;
repX(forceNeg(50), "disobedience", slave);
} else {
r += ` ${He} spends long hours cooped up in a small box with nothing to rest on. Even if ${he} were to try to lean against its side, it won't be long before another dick pokes through the hole demanding service. By the time ${he} is released, ${he} is <span class="red">utterly exhausted.</span>`;
}
}
tired(slave);
}
if (slave.vagina === 0 && canDoVaginal(slave)) {
r += ` A `;
if (slave.fuckdoll === 0) {
r += `glory hole`;
} else {
r += `Fuckdoll`;
}
r += ` user takes ${his} virginity. ${He} does not notice or care. <span class="lime">${His} pussy has been broken in</span> in a <span class="trust dec">painful</span> and <span class="devotion dec">degrading</span> way.`;
slave.devotion -= 10;
slave.trust -= 10;
slave.vagina = 1;
} else if (slave.vagina < 3 && canDoVaginal(slave) && jsRandom(1, 100) > ((310 - beauty) + (slave.vagina * 10))) {
r += ` <span class="lime">${His} pussy gets stretched out by the use.</span>`;
slave.vagina += 1;
}
if (slave.anus === 0 && canDoAnal(slave)) {
r += ` ${His} anal virginity goes to a `;
if (slave.fuckdoll === 0) {
r += `glory hole`;
} else {
r += `Fuckdoll`;
}
r += ` user, who doesn't understand why this particular run at `;
if (slave.fuckdoll === 0) {
r += `the glory hole`;
} else {
r += `a Fuckdoll`;
}
r += ` is so great. <span class="lime">${His} ass has been broken in</span> in a <span class="trust dec">painful</span> and <span class="devotion dec">degrading</span> way.`;
slave.devotion -= 5;
slave.trust -= 5;
slave.anus = 1;
} else if (slave.anus < 3 && canDoAnal(slave) && jsRandom(1, 100) > ((290 - beauty) + (slave.anus * 10))) {
r += ` <span class="lime">${His} asshole sees constant use and loosens.</span>`;
slave.anus += 1;
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function mentalEffects(slave) {
if (slave.fetish === "mindbroken") {
r += ` ${He} serves ${his} role as a mindless set of holes to perfection.`;
} else {
if (slave.skill.oral <= 10) {
r += ` With ${his} throat being brutally used, ${his} gag reflex is suppressed and ${his} oral skills improve.`;
r += ` ${slaveSkillIncrease('oral', slave, 5)}`;
} else if (slave.skill.vaginal <= 10 && canDoVaginal(slave)) {
r += ` With ${his} pussy being harshly used, ${his} vaginal skills improve.`;
r += ` ${slaveSkillIncrease('vaginal', slave, 5)}`;
} else if (slave.skill.anal <= 10 && canDoAnal(slave)) {
r += ` With ${his} butt being mercilessly fucked, ${his} anal skills improve.`;
r += ` ${slaveSkillIncrease('anal', slave, 5)}`;
}
let acceptance = 0;
acceptance += Math.trunc(slave.energy / 10);
acceptance -= Math.trunc((slave.intelligence + slave.intelligenceImplant) / 10);
if (slave.fetish === "masochist" || slave.fetish === "humiliation") {
acceptance += Math.trunc(slave.fetishStrength / 10);
}
if (slave.sexualFlaw === "self hating") {
r += ` ${His} self hatred is so deep that ${he} believes ${he} deserves to serve in a glory hole, and even gets off on the degradation.`;
} else if (acceptance > 20 && slave.devotion > 20) {
r += ` ${He} gets off on the constant degrading sexual use and does not consider what this means for ${his} future as a slave.`;
} else if (slave.sentence > 0) {
if (slave.behavioralFlaw !== "odd" && jsRandom(1, 100) > (100 + (slave.devotion / 5))) {
r += ` Constant confinement coupled with brutal use has left ${him} with involuntary nervous tics.`;
slave.behavioralFlaw = "odd";
}
if (slave.devotion > 50) {
r += ` ${He} does ${his} best to tolerate ${his} sentence to the glory hole, but <span class="devotion dec">${his} devotion is hurt</span> and ${he} is <span class="trust dec">filled with fear</span> ${he} won't be let out.`;
} else if (slave.devotion > 20) {
r += ` ${He} does not understand why ${his} obedience has earned ${him} a sentence to this torture. <span class="devotion dec">${His} obedience is hurt</span> and ${he} is <span class="trust dec">filled with fear</span> ${he} won't be let out.`;
} else if (slave.devotion >= -20) {
r += ` ${His} fear of you turns to desperation during ${his} sentence. <span class="devotion dec">${His} obedience is reduced</span> and ${he} is <span class="trust dec">filled with fear</span> ${he} won't be let out.`;
} else if (slave.devotion >= -50) {
r += ` Though ${he} is only temporarily sentenced to suffer, <span class="devotion dec">${his} resistance is increased</span> and ${he} is <span class="trust dec">filled with fear</span> ${he} won't be let out.`;
} else {
r += ` ${He} has hope ${he}'ll be released after ${his} sentence, but <span class="devotion dec">${his} hatred of you is increased</span> and ${he} is <span class="trust dec">filled with fear</span> ${he} won't be let out.`;
}
slave.devotion -= 5;
slave.trust -= 5;
} else {
if (slave.behavioralFlaw !== "odd" && jsRandom(1, 100) > (70 + (slave.devotion / 5))) {
r += ` Constant confinement coupled with brutal use has left ${him} with involuntary nervous tics.`;
slave.behavioralFlaw = "odd";
}
if (slave.devotion > 50) {
r += ` ${He} feels starved of personal contact. <span class="devotion dec">${His} devotion is hurt</span> and ${he} is <span class="trust dec">filled with fear</span> ${he} won't be let out.`;
} else if (slave.devotion > 20) {
r += ` ${He} does not understand why ${his} obedience has earned ${him} this immurement. <span class="devotion dec">${His} obedience is hurt</span> and ${he} is <span class="trust dec">filled with fear</span> ${he} won't be let out.`;
} else if (slave.devotion >= -20) {
r += ` ${His} fear of you has increased into something like a pathology. <span class="devotion dec">${His} obedience is reduced</span> and ${he} is <span class="trust dec">filled with fear</span> ${he} won't be let out.`;
} else if (slave.devotion >= -50) {
r += ` ${His} resistance is deepening into hatred. <span class="devotion dec">${His} resistance is increased</span> and ${he} is <span class="trust dec">filled with fear</span> ${he} won't be let out.`;
} else {
r += ` <span class="devotion dec">${His} helpless hatred of you is increased</span> and ${he} is <span class="trust dec">filled with fear</span> ${he} won't be let out.`;
}
slave.devotion -= 10;
slave.trust -= 10;
}
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function jobBody(slave) {
r += ` ${His} feelings, skills, and appearance do not matter. ${He} is condemned to a world that consists of a tiny cell, featureless except for the never-ending dicks ${he} is required to service. You `;
if (V.policies.publicFuckdolls === 0) {
r += `were paid <span class="cash inc">${cashFormat((Math.trunc(beauty * FResult)))}</span>`;
} else {
r += `<span class="reputation inc">gained reputation</span>`;
}
r += ` for the use of ${slave.slaveName}'s holes this week.`;
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function applyFSDecoration(slave) {
if (slave.assignment === Job.ARCADE) {
const impact = (0.0001 * beauty);
FutureSocieties.DecorationBonus(V.arcadeDecoration, impact);
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function sexCounts(slave) {
/* SEX ACT COUNTS AND SEXUAL SATISFACTION */
let oralUse = (V.oralUseWeight + (slave.lips / 20));
if (V.policies.gumjobFetishism === 1 && slave.teeth !== "removable") {
oralUse = Math.max(Math.trunc(oralUse * .75), 1);
}
let analUse = 0;
if (canDoAnal(slave)) {
analUse = V.analUseWeight - slave.anus;
if (analUse < 0) {
analUse = 0;
}
}
let vaginalUse = 0;
if (canDoVaginal(slave)) {
vaginalUse = V.vaginalUseWeight - slave.vagina;
if (vaginalUse < 0) {
vaginalUse = 0;
}
}
const demand = (oralUse + analUse + vaginalUse);
let cervixPump = 0;
oralUse = Math.trunc((oralUse / demand) * beauty);
analUse = Math.trunc((analUse / demand) * beauty);
vaginalUse = Math.trunc((vaginalUse / demand) * beauty);
slave.need -= ((analUse + vaginalUse) / 4);
seX(slave, "oral", "public", "penetrative", oralUse);
seX(slave, "anal", "public", "penetrative", analUse);
seX(slave, "vaginal", "public", "penetrative", vaginalUse);
if (slave.cervixImplant === 1 || slave.cervixImplant === 3) {
cervixPump += (20 * vaginalUse);
}
if (slave.cervixImplant === 2 || slave.cervixImplant === 3) {
cervixPump += (20 * analUse);
}
// this may need improvement with the new system
if (slave.need) {
if (slave.fetishKnown) {
switch (slave.fetish) {
case "submissive":
case "masochist":
if ((analUse + vaginalUse) > 0) {
r += ` ${He} enjoys being used, and got sexual satisfaction from the ${analUse + vaginalUse} dicks stuck inside ${him} this week.`;
slave.need -= (analUse + vaginalUse);
}
break;
case "dom":
case "sadist":
break;
case "cumslut":
if (oralUse > 0) {
r += ` ${He} enjoys being facefucked, and got sexual satisfaction from the ${oralUse} dicks shoved inside ${his} throat this week.`;
slave.need -= oralUse;
}
break;
case "buttslut":
if (analUse > 0) {
r += ` ${He} enjoys getting buttfucked, and got sexual satisfaction from the ${analUse} times ${he} was sodomized this week.`;
slave.need -= analUse;
}
break;
case "pregnancy":
if (canGetPregnant(slave)) {
if (slave.mpreg === 0) {
if (vaginalUse > 0) {
r += ` ${He} enjoys having ${his} pussy fucked, and got sexual satisfaction from the ${vaginalUse} loads ${he} received this week.`;
slave.need -= vaginalUse;
}
} else {
if (analUse > 0) {
r += ` ${He} enjoys having ${his} ass fucked, and got sexual satisfaction from the ${analUse} loads ${he} received this week.`;
slave.need -= analUse;
}
}
}
break;
case "humiliation":
r += ` ${He} enjoys the humiliation of having ${his} most intimate parts presented for public use, and got a bit of sexual satisfaction from every sex act ${he} performed this week.`;
slave.need -= beauty;
break;
}
}
}
if (cervixPump > 0) {
r += ` ${He} notices ${his} <span class="change positive">belly has swollen</span> from all the `;
if (slave.cervixImplant === 1) {
r += `vaginal `;
} else if (slave.cervixImplant === 2) {
r += `anal `;
}
r += `sex ${he} had throughout the week.`;
slave.bellyImplant += cervixPump;
}
}
/**
* @param {App.Entity.SlaveState} slave
*
*/
function profitReport(slave) {
let cash = 0;
if (V.policies.publicFuckdolls === 0) {
cash = Math.trunc(beauty * FResult);
} else {
cash = Math.trunc(beauty * FResult / 5);
}
if (slave.assignment === window.Job.GLORYHOLE) {
cashX(cash, "slaveAssignmentGloryhole", slave);
} else if (slave.assignment === window.Job.ARCADE) {
cashX(cash, "slaveAssignmentArcade", slave);
} else {
cashX(cash, "income for working a gloryhole in an unregistered building", slave);
}
State.temporary.profits += cash;
incomeStats.income += cash;
}
})();
|
MonsterMate/fc
|
src/endWeek/saWorkAGloryHole.js
|
JavaScript
|
mit
| 17,935
|
// FIXME: needs further review
/**
* @param {App.Entity.SlaveState} slave
* @returns {DocumentFragment}
*/
App.SlaveAssignment.workTheFarm = function(slave) {
let frag = document.createDocumentFragment();
const {he, him, his, He, His} = getPronouns(slave);
const incomeStats = getSlaveStatisticData(slave, V.facility.farmyard);
const sexualQuirks = ["perverted", "unflinching"];
const behavioralQuirks = ["sinful"];
const fetishes = ["humiliation", "masochist"];
const slaveApproves = () => sexualQuirks.includes(slave.sexualQuirk) || behavioralQuirks.includes(slave.behavioralQuirk) ||fetishes.includes(slave.fetish);
const foodAmount = Math.trunc(App.Facilities.Farmyard.foodAmount(slave));
function fullReport(slave) {
const report = App.UI.DOM.appendNewElement("div", frag);
let r = [];
r.push(intro());
// r.push(farmer(slave));
r.push(devotion(slave));
r.push(muscles(slave));
r.push(weight(slave));
r.push(health(slave));
r.push(sight(slave));
r.push(hearing(slave));
r.push(food());
r.push(slaveShows(slave));
r.push(longTermEffects(slave));
r.push(slaveVignettes());
$(report).append(r.join(' '));
}
const intro = () => `${He} works as a farmhand this week.`;
// function farmer(slave) {
// TODO: update this with devotion and health effects
// const F = getPronouns(S.Farmer);
// if (S.Farmer) {
// return `${S.Farmer.slaveName} watches over ${him}, making sure that ${he} doesn't slack off and works as hard as ${he} should. ${F.He}'s a tough boss, but a fair one. ${slave.slaveName} benefits from ${F.his} care while working in ${V.farmyardName}.`;
// }
// }
function devotion(slave) {
if (slave.devotion > 50) {
return `${He}'s so devoted to you that ${he} works harder and produces more food.`;
} else if (slave.devotion < -50) {
return `${He}'s so resistant that ${he} doesn't work as hard, and thus produces less food.`;
} else {
return `${He} doesn't feel particularly compelled to work hard or slack off and produces an average amount of food.`;
}
}
function health(slave) {
let r = [];
r.push(healthCondition(slave));
r.push(healthIllness(slave));
return r.join(' ');
}
function healthCondition(slave) {
if (slave.health.condition > 50) {
return `${His} shining health helps ${him} work harder and longer.`;
} else if (slave.health.condition < -50) {
return `${His} poor health impedes ${his} ability to work efficiently.`;
}
}
function healthIllness(slave) {
let r = [];
let health = ``;
let exhaustion = ``;
if (slave.health.illness > 0 || slave.health.tired > 60) {
if (slave.health.illness === 1) {
health = `feeling under the weather`;
} else if (slave.health.illness === 2) {
health = `a minor illness`;
} else if (slave.health.illness === 3) {
health = `being sick`;
} else if (slave.health.illness === 4) {
health = `being very sick`;
} else if (slave.health.illness === 5) {
health = `a terrible illness`;
}
if (slave.health.tired > 90) {
exhaustion = `exhaustion`;
} else if (slave.health.tired > 60) {
exhaustion = `being tired`;
}
r.push(`${He} performed worse this week due to <span class="health dec">${health}${slave.health.illness > 0 && slave.health.tired > 60 ? ` and ` : ``}${exhaustion}.</span>`);
r.push(tired(slave));
}
return r;
}
function tired(slave) {
if (slaveResting(slave)) {
return `${He} spends reduced hours working the soil in order to <span class="health dec">offset ${his} lack of rest.</span>`;
} else if (slave.health.tired + 20 >= 90 && !willWorkToDeath(slave)) {
return `${He} attempts to refuse work due to ${his} exhaustion, but can do little to stop it or the resulting <span class="trust dec">severe punishment.</span> ${He} <span class="devotion dec">purposefully underperforms,</span> choosing ${his} overall well-being over the consequences, <span class="health dec">greatly reducing yields.</span>`;
} else {
return `Hours of manual labor quickly add up, leaving ${him} <span class="health dec">physically drained</span> by the end of the day.`;
}
}
function muscles(slave) {
if (slave.muscles > 50) {
return `${His} muscular form helps ${him} work better, increasing ${his} productivity.`;
} else if (slave.muscles < -50) {
return `${He} is so weak that ${he} is not able to work effectively.`;
}
}
function weight(slave) {
if (slave.weight > 95) {
return `${He} is so overweight that ${he} has to stop every few minutes to catch ${his} breath, and so ${his} productivity suffers. `;
}
}
function sight(slave) {
if (!canSee(slave)) {
return `${His} blindness makes it extremely difficult for ${him} to work, severely limiting ${his} production.`;
} else if (!canSeePerfectly(slave)) {
return `${His} nearsightedness makes it harder for ${him} to work as hard as ${he} otherwise would.`;
}
}
function hearing(slave) {
if (slave.hears === -1) {
return `${He} is hard-of-hearing, which gets in the way of ${his} work whenever ${he} misses directions${S.Farmer ? ` from ${S.Farmer.slaveName}` : ``}.`;
} else if (slave.hears < -1) {
return `${He} is deaf, which gets in the way of ${his} work whenever ${he} misses directions${S.Farmer ? ` from ${S.Farmer.slaveName}` : ``}.`;
}
}
function food() {
const fsGain = 0.0001 * foodAmount;
FutureSocieties.DecorationBonus(V.farmyardDecoration, fsGain);
if (V.foodMarket) {
return `As a result, ${he} produces <span class="chocolate">${massFormat(foodAmount)}</span> of food over the week.`;
}
}
// Open Food Production
if (V.foodMarket) {
V.food += foodAmount;
V.foodTotal += foodAmount;
incomeStats.food += foodAmount;
}
// Close Food Production
// Open Shows
function slaveShows(slave) {
if (V.farmyardShows) {
return App.Facilities.Farmyard.putOnShows(slave);
}
}
// Close Shows
// Open Long-Term Effects
function longTermEffects(slave) {
let r = [];
if (slave.fetishKnown && slaveApproves || slave.energy > 95) {
if (V.farmyardShows) {
if (V.seeBestiality) {
r.push(`Getting fucked by animals is the perfect job for ${him}, as far as ${he} can tell. <span class="devotion inc">${He} is happy</span> to spend ${his} days being utterly degraded.`);
slave.devotion += 1;
} else {
r.push(`${He} loves putting on shows with animals, and as far as ${he} can tell, it's the perfect job for ${him}. It isn't as degrading as ${he} would like, but <span class="devotion inc">${he} is happy nonetheless.</span>`);
slave.devotion += 2;
}
}
slave.need = 0;
}
return r;
}
// Close Long-Term Effects
// Open Vignettes
function slaveVignettes() {
if (V.showVignettes) {
const vignette = GetVignette(slave);
let r = [];
r.push(`<span class="story-label">This week</span> ${vignette.text}`);
if (vignette.type === "cash") {
r.push(vignetteCash(vignette));
}
if (vignette.type === "devotion") {
r.push(vignetteDevotion(vignette));
}
if (vignette.type === "trust") {
r.push(vignetteTrust(vignette));
}
if (vignette.type === "health") {
r.push(vignetteHealth(vignette));
}
if (vignette.type === "rep") {
r.push(vignetteReputation(vignette));
}
return r.join(' ');
}
}
function vignetteCash(vignette) {
const FResultNumber = FResult(slave);
const cash = Math.trunc(FResultNumber * vignette.effect);
incomeStats.income += cash;
if (vignette.effect > 0) {
cashX(cash, "slaveAssignmentFarmyardVign", slave);
return `<span class="yellowgreen">making you an extra ${cashFormat(cash)}.</span>`;
} else if (vignette.effect < 0) {
cashX(forceNeg(cash), "slaveAssignmentFarmyardVign", slave);
return `<span class="reputation dec">losing you ${cashFormat(Math.abs(cash))}.</span>`;
} else {
return `an incident without lasting effect.`;
}
}
function vignetteDevotion(vignette) {
slave.devotion += 1 * vignette.effect;
if (vignette.effect > 0) {
if (slave.devotion > 50) {
return `<span class="devotion inc">increasing ${his} devotion to you.</span>`;
} else if (slave.devotion >= 20) {
return `<span class="devotion inc">increasing ${his} acceptance of you.</span>`;
} else if (slave.devotion >= -20) {
return `<span class="devotion inc">reducing ${his} dislike of you.</span>`;
} else {
return `<span class="devotion inc">reducing ${his} hatred of you.</span>`;
}
} else if (vignette.effect < 0) {
if (slave.devotion > 50) {
return `<span class="devotion dec">reducing ${his} devotion to you.</span>`;
} else if (slave.devotion >= 20) {
return `<span class="devotion dec">reducing ${his} acceptance of you.</span>`;
} else if (slave.devotion >= -20) {
return `<span class="devotion dec">increasing ${his} dislike of you.</span>`;
} else {
return `<span class="devotion dec">increasing ${his} hatred of you.</span>`;
}
} else {
return `an incident without lasting effect.`;
}
}
function vignetteTrust(vignette) {
slave.trust += 1 * vignette.effect;
if (vignette.effect > 0) {
if (slave.trust > 20) {
return `<span class="trust inc">increasing ${his} trust in you.</span>`;
} else if (slave.trust >= -20) {
return `<span class="trust inc">reducing ${his} fear of you.</span>`;
} else {
return `<span class="trust inc">reducing ${his} terror of you.</span>`;
}
} else if (vignette.effect < 0) {
if (slave.trust > 20) {
return `<span class="trust dec">reducing ${his} trust in you.</span>`;
} else if (slave.trust >= -20) {
return `<span class="trust dec">increasing ${his} fear of you.</span>`;
} else {
return `<span class="trust dec">increasing ${his} terror of you.</span>`;
}
} else {
return `an incident without lasting effect.`;
}
}
function vignetteHealth(vignette) {
if (vignette.effect > 0) {
improveCondition(slave, 2 * vignette.effect);
return `<span class="reputation inc">improving ${his} health.</span>`;
} else if (vignette.effect < 0) {
healthDamage(slave, 2 * vignette.effect);
return `<span class="reputation dec">affecting ${his} health.</span>`;
} else {
return `an incident without lasting effect.`;
}
}
function vignetteReputation(vignette) {
const FResultNumber = FResult(slave);
repX(Math.trunc(FResultNumber * vignette.effect * 0.1), "vignette", slave);
incomeStats.rep += Math.trunc(FResultNumber * vignette.effect * 0.1);
if (vignette.effect > 0) {
return `<span class="reputation inc">gaining you a bit of reputation.</span>`;
} else if (vignette.effect < 0) {
return `<span class="reputation dec">losing you a bit of reputation.</span>`;
} else {
return `an incident without lasting effect.`;
}
}
// Close Vignettes
fullReport(slave);
return frag;
};
|
MonsterMate/fc
|
src/endWeek/saWorkTheFarm.js
|
JavaScript
|
mit
| 10,854
|
App.EndWeek.schoolroomReport = function() {
let frag = document.createDocumentFragment();
const slaves = App.Utils.sortedEmployees(App.Entity.facilities.schoolroom);
const devBonus = (V.schoolroomDecoration !== "standard") ? 1 : 0;
V.flSex = App.EndWeek.getFLSex(App.Entity.facilities.schoolroom); // FIXME: should be local, passed as a parameter to saRules
function schoolteacherText() {
let r = [];
let FLsFetish = 0;
let idleBonus = 0;
if (S.Schoolteacher) {
if (S.Schoolteacher.health.condition < -80) {
improveCondition(S.Schoolteacher, 20);
} else if (S.Schoolteacher.health.condition < -40) {
improveCondition(S.Schoolteacher, 15);
} else if (S.Schoolteacher.health.condition < 0) {
improveCondition(S.Schoolteacher, 10);
} else if (S.Schoolteacher.health.condition < 90) {
improveCondition(S.Schoolteacher, 7);
}
if (S.Schoolteacher.devotion <= 60) {
S.Schoolteacher.devotion++;
}
if (S.Schoolteacher.trust < -30) {
S.Schoolteacher.trust++;
}
S.Schoolteacher.devotion += devBonus;
if (S.Schoolteacher.rules.living !== "luxurious") {
S.Schoolteacher.rules.living = "luxurious";
}
if (S.Schoolteacher.rules.rest !== "restrictive") {
S.Schoolteacher.rules.rest = "restrictive";
}
if (S.Schoolteacher.fetishStrength <= 95) {
if (S.Schoolteacher.fetish !== "dom") {
if (fetishChangeChance(S.Schoolteacher) > jsRandom(0, 100)) {
FLsFetish = 1;
S.Schoolteacher.fetishKnown = 1;
S.Schoolteacher.fetish = "dom";
}
} else if (S.Schoolteacher.fetishKnown === 0) {
FLsFetish = 1;
S.Schoolteacher.fetishKnown = 1;
} else {
FLsFetish = 2;
S.Schoolteacher.fetishStrength += 4;
}
}
const {He, he, His, his, him, himself, wife} = getPronouns(S.Schoolteacher);
r.push(`${SlaveFullName(S.Schoolteacher)} is serving as your Schoolteacher.`);
if (S.Schoolteacher.relationship === -3 && S.Schoolteacher.devotion > 50) {
r.push(`As your loving ${wife}, ${he} tries ${his} best to teach ${his} pupils how to please you.`);
}
if (FLsFetish === 1) {
r.push(`${He}'s allowed and even expected to use ${his} students for ${his} own sexual gratification, and in their own way ${his} students are complicit, offering sexual favors for an easier time in the classroom. Before long, ${he}'s running a hungry eye over the tits and asses of new trainees; ${he} is now <span class="lightcoral">more dominant.</span>`);
} else if (FLsFetish === 2) {
r.push(`Every new student in class is a new target for ${his} personal educational attention. <span class="lightsalmon">${He} becomes more dominant.</span>`);
}
if (setup.schoolteacherCareers.includes(S.Schoolteacher.career)) {
r.push(`${He} has experience with students and learning from ${his} life before ${he} was a slave, making ${him} more effective.`);
idleBonus++;
} else if (S.Schoolteacher.skill.teacher >= V.masteredXP) {
r.push(`${He} has experience with students and learning from working for you, making ${him} more effective.`);
idleBonus++;
} else {
S.Schoolteacher.skill.teacher += jsRandom(1, Math.ceil((S.Schoolteacher.intelligence + S.Schoolteacher.intelligenceImplant) / 15) + 8);
}
if (S.Schoolteacher.visualAge > 35) {
r.push(`${His} age earns ${him} the respect of ${his} students.`);
idleBonus++;
}
if (S.Schoolteacher.intelligence > 15) {
r.push(`${He}'s intelligent enough to be a good teacher.`);
idleBonus++;
}
if (S.Schoolteacher.intelligenceImplant >= 15) {
r.push(`Since ${he}'s educated ${him}self, ${he} understands `);
if (V.schoolroomRemodelBimbo !== 0) {
r.push(`how best to apply the new lesson plan.`);
} else {
r.push(`${his} students.`);
}
idleBonus++;
}
if (S.Schoolteacher.face > 40) {
r.push(`${His} students want to be just like their beautiful teacher.`);
idleBonus++;
}
if (S.Schoolteacher.accent >= 2) { // really accent === 2, because accent > 2 can't teach anyway
r.push(`${He}'s been tasked with teaching ${V.language}, but ${he}'s barely understandable ${himself}.`);
r.push(`This <span class="warning">slows ${his} students' progress</span> with the language.`);
if (S.Schoolteacher.devotion > 50) {
r.push(`${He} wants to do better, and devotes any extra time ${he} can find to improving ${his} own competency in ${V.language}.`);
idleBonus--;
if (S.Schoolteacher.intelligence + S.Schoolteacher.intelligenceImplant > random(-110, 110)) { // similar chances to saTakeClasses.speechLessons
r.push(`This week, ${he} makes a breakthrough, <span class="improvement">reducing ${his} accent</span> to a clear, pleasant, exoticism.`);
S.Schoolteacher.accent--;
}
}
}
for (const slave of slaves) {
const {he2} = getPronouns(slave).appendSuffix('2');
if (S.Schoolteacher.rivalryTarget === slave.ID) {
r.push(`Ever since ${his} ${rivalryTerm(S.Schoolteacher)} was enrolled, ${he} began stalking the classroom carrying a large paddle, much to ${slave.slaveName}'s terror.`);
slave.devotion -= 4;
slave.trust -= 4;
if (jsRandom(1, 100) > 35) {
S.Schoolteacher.rivalry++;
slave.rivalry++;
}
} else if (S.Schoolteacher.relationshipTarget === slave.ID) {
r.push(`${He} dedicates most of ${his} attention to ${his} ${relationshipTerm(S.Schoolteacher)}, ${slave.slaveName}, making sure ${he2} understands that day's lesson.`);
slave.devotion += 2;
slave.trust += 2;
} else if (areRelated(S.Schoolteacher, slave)) {
r.push(`${He} makes sure to spend extra time teaching ${his} ${relativeTerm(S.Schoolteacher, slave)}, ${slave.slaveName}.`);
slave.trust++;
}
}
if (slaves.length < V.schoolroom && !slaveResting(S.Schoolteacher)) {
const _idlePay = jsRandom(1, 10) + ((V.schoolroom - slaves.length) * (jsRandom(150, 170) + (idleBonus * 10)));
cashX(_idlePay, "school", S.Schoolteacher);
r.push(`<div class="indent">Since ${he} doesn't have enough students to occupy all of ${his} time, ${V.schoolroomName} takes in citizens' slaves on a contract basis and ${he} teaches them too, earning <span class="yellowgreen">${cashFormat(_idlePay)}.</span></div>`);
}
return r.join(" ");
}
}
const schoolteacherEffects = App.UI.DOM.appendNewElement("p", frag, '', "indent");
$(schoolteacherEffects).append(schoolteacherText());
if (slaves.length > 0) {
const intro = App.UI.DOM.appendNewElement("p", frag, '', "indent");
if (slaves.length > 1) {
$(intro).append(`<strong>There are ${slaves.length} slaves studying in ${V.schoolroomName}.</strong>`);
} else {
$(intro).append(`<strong>There is one slave studying in ${V.schoolroomName}.</strong>`);
}
}
if (S.Schoolteacher) {
const slave = S.Schoolteacher;
V.i = V.slaveIndices[slave.ID];
App.Utils.setLocalPronouns(slave); // need this for the includes
/* apply following SA passages to facility leader */
if (V.showEWD !== 0) {
const schoolteacherEntry = App.UI.DOM.appendNewElement("div", frag, '', "slave-report");
if (V.seeImages && V.seeReportImages) {
App.UI.DOM.appendNewElement("div", schoolteacherEntry, App.Art.SlaveArtElement(slave, 0, 0), ["imageRef", "tinyImg"]);
}
schoolteacherEntry.append(App.EndWeek.favoriteIcon(slave), " ");
$(schoolteacherEntry).append(`<span class='slave-name'>${SlaveFullName(slave)}</span> is serving as your Schoolteacher.`);
$(schoolteacherEntry).append(App.SlaveAssignment.standardSlaveReport(slave, false));
} else {
App.SlaveAssignment.standardSlaveReport(slave, true);
}
}
let restedSlaves = 0;
for (const slave of slaves) {
V.i = V.slaveIndices[slave.ID];
slave.devotion += devBonus;
if (slave.health.condition < -80) {
improveCondition(slave, 20);
} else if (slave.health.condition < -40) {
improveCondition(slave, 10);
} else if (slave.health.condition < 0) {
improveCondition(slave, 7);
} else if (slave.health.condition < 90) {
improveCondition(slave, 3);
}
if (slave.rules.living !== "normal") {
slave.rules.living = "normal";
}
/* Education done? Has to be here before we run the standard slave report or there will be double entries for slave */
if (slave.fetish === "mindbroken") {
if (V.assignmentRecords[slave.ID]) {
assignJobSafely(slave, V.assignmentRecords[slave.ID]);
} else {
removeJob(slave, "learn in the schoolroom");
}
restedSlaves++;
continue;
} else if ( ((slave.intelligenceImplant >= 30 && V.schoolroomRemodelBimbo !== 1) || (slave.intelligenceImplant <= -15 && V.schoolroomRemodelBimbo === 1)) &&
((slave.voice === 0) || (slave.accent <= 1) || ((V.schoolroomUpgradeLanguage === 0) && (slave.accent <= 2))) &&
((slave.skill.oral > 30) || ((V.schoolroomUpgradeSkills === 0) && (slave.skill.oral > 10))) &&
((slave.skill.whoring > 30) || ((V.schoolroomUpgradeSkills === 0) && (slave.skill.whoring > 10))) &&
((slave.skill.entertainment > 30) || ((V.schoolroomUpgradeSkills === 0) && (slave.skill.entertainment > 10))) &&
((slave.skill.anal > 30) || ((V.schoolroomUpgradeSkills === 0) && (slave.skill.anal > 10))) &&
((slave.skill.vaginal > 30) || ((V.schoolroomUpgradeSkills === 0) && (slave.skill.vaginal > 10)) || (slave.vagina < 0)) &&
(tutorForSlave(slave) === null || V.tutorGraduate.includes(slave.ID))) {
const reassignment = App.UI.DOM.appendNewElement("p", frag, '');
const {he, his} = getPronouns(slave);
let r = [];
r.push(`<span class="slave-name">${slave.slaveName}</span> can learn little from further classes,`);
r.push(`<span class="noteworthy">`);
if (V.assignmentRecords[slave.ID]) {
const oldJob = V.assignmentRecords[slave.ID];
assignJobSafely(slave, oldJob);
if (slave.choosesOwnAssignment === 1) {
r.push(`and ${he} is resting before choosing another task.`);
} else if (slave.assignment === "rest") {
if (oldJob !== "rest") {
r.push(`and since ${he} was unable to return to ${his} old task to ${oldJob}, ${his} assignment has defaulted to rest.`);
} else {
r.push(`so ${he} has returned to rest.`);
}
} else {
r.push(`so ${he} goes back to ${slave.assignment}.`);
}
} else {
r.push(`so ${his} assignment has defaulted to rest.`);
removeJob(slave, "learn in the schoolroom");
}
r.push(`</span>`);
restedSlaves++;
$(reassignment).append(r.join(" "));
continue;
}
App.Utils.setLocalPronouns(slave); // need this for the includes
if (V.showEWD !== 0) {
const {He} = getPronouns(slave);
const slaveEntry = App.UI.DOM.appendNewElement("div", frag, '', "slave-report");
if (V.seeImages && V.seeReportImages) {
App.UI.DOM.appendNewElement("div", slaveEntry, App.Art.SlaveArtElement(slave, 0, 0), ["imageRef", "tinyImg"]);
}
slaveEntry.append(App.EndWeek.favoriteIcon(slave), " ");
$(slaveEntry).append(`<span class='slave-name'>${SlaveFullName(slave)}</span> `);
if (slave.choosesOwnAssignment === 2) {
$(slaveEntry).append(App.SlaveAssignment.choosesOwnJob(slave));
} else {
let leaderTraining = '';
for (const role of Object.keys(V.slaveTutor)) {
if (V.slaveTutor[role].contains(slave.ID)) {
leaderTraining = ` on being a ${role}`; break;
}
}
$(slaveEntry).append(`is studying in ${V.schoolroomName}${leaderTraining}.`);
}
const studentContent = App.UI.DOM.appendNewElement("div", slaveEntry, '', "indent");
$(studentContent).append(`${He} ${App.SlaveAssignment.takeClasses(slave)}`);
$(slaveEntry).append(App.SlaveAssignment.standardSlaveReport(slave, false));
} else {
// discard return values silently
App.SlaveAssignment.choosesOwnJob(slave);
App.SlaveAssignment.takeClasses(slave);
App.SlaveAssignment.standardSlaveReport(slave, true);
}
}
if (restedSlaves > 0) {
const rested = App.UI.DOM.appendNewElement("p", frag, '', "indent");
rested.append((restedSlaves === 1) ? `One slave has ` : `${restedSlaves} slaves have `);
App.UI.DOM.appendNewElement("span", rested, "learned", "green");
rested.append(` all they can, and will be released from the schoolroom before the end of the week.`);
}
if (V.schoolroomDecoration !== "standard") {
const decorationEffects = App.UI.DOM.appendNewElement("p", frag, '', "indent");
$(decorationEffects).append(`${capFirstChar(V.schoolroomName)}'s ${V.schoolroomDecoration} atmosphere <span class="hotpink">has a minor impact on the students.</span>`);
if (App.Entity.facilities.schoolroom.revivalistLanguageDecorationBonus()) {
$(decorationEffects).append(` They also <span class="positive">learn ${V.language} more quickly</span> in this environment.`);
}
}
return frag;
};
|
MonsterMate/fc
|
src/endWeek/schoolroomReport.js
|
JavaScript
|
mit
| 12,760
|
App.EndWeek.servantsQuartersReport = function() {
let frag = document.createDocumentFragment();
const slaves = App.Utils.sortedEmployees(App.Entity.facilities.servantsQuarters);
const devBonus = (V.servantsQuartersDecoration !== "standard") ? 1 : 0;
let stewardessBonus = 0;
function stewardessText() {
let r = [];
let FLsFetish = 0;
let stewardessImpregnated = 0;
if (S.Stewardess) {
S.Stewardess.devotion += devBonus;
if (S.Stewardess.health.condition < -80) {
improveCondition(S.Stewardess, 20);
} else if (S.Stewardess.health.condition < -40) {
improveCondition(S.Stewardess, 15);
} else if (S.Stewardess.health.condition < 0) {
improveCondition(S.Stewardess, 10);
} else if (S.Stewardess.health.condition < 90) {
improveCondition(S.Stewardess, 7);
}
if (S.Stewardess.devotion <= 60) {
S.Stewardess.devotion++;
}
if (S.Stewardess.trust < 60) {
S.Stewardess.trust++;
}
if (S.Stewardess.fetishStrength <= 95) {
if (S.Stewardess.fetish !== "dom") {
if (fetishChangeChance(S.Stewardess) > jsRandom(0, 100)) {
FLsFetish = 1;
S.Stewardess.fetishKnown = 1;
S.Stewardess.fetish = "dom";
}
} else if (S.Stewardess.fetishKnown === 0) {
FLsFetish = 1;
S.Stewardess.fetishKnown = 1;
} else {
FLsFetish = 2;
S.Stewardess.fetishStrength += 4;
}
}
if (S.Stewardess.rules.living !== "luxurious") {
S.Stewardess.rules.living = "luxurious";
}
if (S.Stewardess.rules.rest !== "restrictive") {
S.Stewardess.rules.rest = "restrictive";
}
const {He, he, His, his, him, wife} = getPronouns(S.Stewardess);
r.push(`${SlaveFullName(S.Stewardess)} is serving as your Stewardess.`);
if (S.Stewardess.relationship === -3 && S.Stewardess.devotion > 50) {
r.push(`${He} does ${his} best to be your perfect lovely house${wife}.`);
}
if (V.stewardessImpregnates === 1 && canPenetrate(S.Stewardess) && S.Stewardess.pubertyXY === 1 && !slaveResting(S.Stewardess)) {
for (const slave of slaves) {
if (canImpreg(slave, S.Stewardess)) { // FIXME: assumes vaginal pregnancy without check
seX(S.Stewardess, "penetrative", slave, "vaginal", 10);
r.push(knockMeUp(slave, 100, 2, S.Stewardess.ID));
if (slave.vagina === 0) {
slave.vagina = 1; // FIXME: silent virginity loss?
}
stewardessImpregnated++;
slave.need = 0;
}
}
if (stewardessImpregnated > 0) {
r.push(`It's ${his} responsibility to keep ${his} charges pregnant, so`);
if (stewardessImpregnated === 1) {
r.push(`${he} cums in the only fertile slave's pussy all week.`);
} else {
r.push(`${he} ensures the ${stewardessImpregnated} fertile servants are full of ${his} cum at all times.`);
}
if (S.Stewardess.career === "a breeding bull") {
r.push(`${He} was conditioned to fill empty wombs, so ${he} takes a <span class="hotpink">deep pleasure</span> in ${his} job.`);
S.Stewardess.devotion++;
}
S.Stewardess.need = 0;
}
}
if (FLsFetish === 1) {
r.push(`${He}'s allowed and even expected to use ${his} charges for ${his} own gratification, and sometimes they'll even instigate submissive sex with ${him} just to ingratiate themselves. ${He} becomes comfortable with the role of a <span class="lightcoral">sexual dominant.</span>`);
} else if (FLsFetish === 2) {
r.push(`Having a legion of servants jumping to obey ${his} daily commands <span class="lightsalmon">makes ${him} more dominant.</span>`);
}
if (S.Stewardess.health.condition < 10) {
r.push(`Though ${he} tries to watch the servants, ${his} lack of good health inhibits ${him}.`);
} else if (S.Stewardess.health.condition < 80) {
stewardessBonus += 50;
r.push(`${His} good health allows ${him} to work long hours and <span class="yellowgreen">drive</span> the servants hard.`);
} else {
stewardessBonus += 75;
r.push(`${His} perfect health allows ${him} to work exhaustive hours and <span class="yellowgreen">drive</span> the servants very hard.`);
}
if (setup.stewardessCareers.includes(S.Stewardess.career)) {
stewardessBonus += 25;
r.push(`${He} has applicable experience with daily sums and organizational trifles from ${his} life before ${he} was a slave.`);
} else if (S.Stewardess.skill.stewardess >= V.masteredXP) {
stewardessBonus += 25;
r.push(`${He} has applicable experience with daily sums and organizational trifles from working for you.`);
} else {
S.Stewardess.skill.stewardess += jsRandom(1, Math.ceil((S.Stewardess.intelligence + S.Stewardess.intelligenceImplant) / 15) + 8);
}
if (S.Stewardess.actualAge > 35) {
stewardessBonus += 25;
r.push(`${His} age and experience give ${him} added effectiveness.`);
} else if (V.AgePenalty === 0) {
stewardessBonus +=25;
}
if (S.Stewardess.intelligence + S.Stewardess.intelligenceImplant > 15) {
stewardessBonus += S.Stewardess.intelligence + S.Stewardess.intelligenceImplant;
r.push(`${He}'s smart enough that ${he} misses very little.`);
}
stewardessBonus *= restEffects(S.Stewardess);
const bonusToggle = S.Stewardess.energy > 95 || (S.Stewardess.fetishKnown === 1 && S.Stewardess.fetish === "dom");
for (const slave of slaves) {
const {he2, him2, his2} = getPronouns(slave).appendSuffix('2');
if (S.Stewardess.rivalryTarget === slave.ID) {
r.push(`${He} bears down on ${his} ${rivalryTerm(S.Stewardess)}, ${slave.slaveName}, forcing ${him2} to work extra hard or suffer punishment.`);
slave.devotion--;
slave.trust--;
if (jsRandom(1, 100) > 65) {
S.Stewardess.rivalry++;
slave.rivalry++;
}
} else if (S.Stewardess.relationshipTarget === slave.ID) {
r.push(`${He} dotes over ${his} ${relationshipTerm(S.Stewardess)}}, _${slave.slaveName}, making sure ${he2} knows how to do a good job and keeping ${him2} well stocked with everything ${he2} needs.`);
slave.devotion++;
} else if (areRelated(S.Stewardess, slave)) {
r.push(`${He} pays special attention to ${his} ${relativeTerm(S.Stewardess, slave)}, ${slave.slaveName}, making sure ${he2} doesn't slack off just because they are related.`);
slave.trust++;
}
switch (slave.prestigeDesc) {
case "$He is a famed Free Cities whore, and commands top prices.":
r.push(`${He} does ${his} best to motivate the famous whore, ${slave.slaveName}, though ${he} is uncertain why ${he2} is here.`);
break;
case "$He is a famed Free Cities slut, and can please anyone.":
r.push(`${He} ignores ${his} duties in order the fawn over the famous entertainer, ${slave.slaveName}.`);
break;
case "$He is remembered for winning best in show as a cockmilker.":
if ((slave.dick !== 0) && (slave.balls !== 0) && (slave.prostate > 1)) {
r.push(`${slave.slaveName} leaves a trail of cum wherever ${he2} goes and frequently stops to masturbate, greatly annoying ${S.Stewardess.slaveName}.`);
if (jsRandom(1, 100) > 90 && S.Stewardess.rivalry === 0 && slave.rivalry === 0) {
S.Stewardess.rivalryTarget = slave.ID;
S.Stewardess.rivalry++;
slave.rivalryTarget = S.Stewardess.ID;
slave.rivalry++;
}
}
break;
case "$He is remembered for winning best in show as a dairy cow.":
if ((slave.lactation > 0) && ((slave.boobs-slave.boobsImplant) > 6000)) {
r.push(`${slave.slaveName}'s huge breasts frequently get in the way of ${his2} work and ${he2} leaks milk everywhere, greatly annoying ${S.Stewardess.slaveName}.`);
if (jsRandom(1, 100) > 90 && S.Stewardess.rivalry === 0 && slave.rivalry === 0) {
S.Stewardess.rivalryTarget = slave.ID;
S.Stewardess.rivalry++;
slave.rivalryTarget = S.Stewardess.ID;
slave.rivalry++;
}
}
break;
case "$He is remembered for winning best in show as a breeder.":
if (slave.bellyPreg >= 10000) {
r.push(`${slave.slaveName}'s big pregnant belly frequently gets in the way of ${his2} work. However, ${S.Stewardess.slaveName} is willing to overlook it, as well as allow ${him2} easy jobs, due to how valuable ${his2} womb is.`);
}
break;
}
if (bonusToggle && slave.devotion < 45) {
slave.devotion += 5;
}
}
if (slaves.length > 0) {
if (S.Stewardess.fetishKnown === 1 && S.Stewardess.fetish === "dom") {
r.push(`${He} walks among the cowering servants as a queen among peasants, playing the role of a dominant to perfection and increasing ${his} charges' <span class="hotpink">obedience.</span>`);
} else if (S.Stewardess.energy > 95) {
r.push(`${He} walks among the cowering servants looking for an excuse to extract sex from shirkers as <span class="hotpink">punishment.</span>`);
}
cashX(stewardessBonus * slaves.length, "servantsQuarters", S.Stewardess);
}
if (V.arcologies[0].FSRestart !== "unset" && stewardessImpregnated > 0 && V.eugenicsFullControl !== 1) {
r.push(`<br>The Societal Elite know you've ordered ${S.Stewardess.slaveName} to impregnate your maids. <span class="red">They are not amused by your disinterest in eugenics.</span>`);
V.failedElite += 10;
}
}
return r.join(' ');
}
const stewardessEffects = App.UI.DOM.appendNewElement("p", frag, '', "indent");
$(stewardessEffects).append(stewardessText());
if (slaves.length > 0) {
const intro = App.UI.DOM.appendNewElement("p", frag, '', "indent");
let r = [];
if (slaves.length > 1) {
r.push(`<strong>There are ${slaves.length} slaves working out of the servants' quarters.</strong> They work to`);
} else {
const {He} = getPronouns(slaves[0]);
r.push(`<strong>There is one slave working out of the servants' quarters.</strong> ${He} works to`);
}
r.push(`<span class="yellowgreen">reduce</span> your household expenses; having a well-staffed house slightly <span class="green">increases</span> your reputation.`);
$(intro).append(r.join(' '));
}
if (S.Stewardess) {
/** @type {App.Entity.SlaveState} */
const slave = S.Stewardess;
V.i = V.slaveIndices[slave.ID];
App.Utils.setLocalPronouns(slave); // need this for the includes
/* apply following SA passages to facility leader */
if (V.showEWD !== 0) {
const stewardessEntry = App.UI.DOM.appendNewElement("div", frag, '', "slave-report");
if (V.seeImages && V.seeReportImages) {
App.UI.DOM.appendNewElement("div", stewardessEntry, App.Art.SlaveArtElement(slave, 0, 0), ["imageRef", "tinyImg"]);
}
stewardessEntry.append(App.EndWeek.favoriteIcon(slave), " ");
$(stewardessEntry).append(`<span class='slave-name'>${SlaveFullName(slave)}</span> is serving as your Stewardess.`);
$(stewardessEntry).append(App.SlaveAssignment.standardSlaveReport(slave, false));
} else {
App.SlaveAssignment.standardSlaveReport(slave, true);
}
}
let SQMilk = 0;
let SQMilkSale = 0;
for (const slave of slaves) {
V.i = V.slaveIndices[slave.ID];
slave.devotion += devBonus;
if (slave.devotion <= 20 && slave.trust >= -20) {
slave.devotion -= 5;
slave.trust -= 5;
} else if (slave.devotion <= 10) {
slave.devotion += 2;
} else if (slave.devotion >= 80) {
slave.devotion -= 2;
}
if (slave.devotion < -20) {
slave.trust += 3;
} else if (slave.trust < -50) {
slave.trust += 2;
} else if (slave.trust < -30) {
slave.trust += 1;
}
if (slave.health.condition < -80) {
improveCondition(slave, 20);
} else if (slave.health.condition < -40) {
improveCondition(slave, 10);
} else if (slave.health.condition < 0) {
improveCondition(slave, 7);
} else if (slave.health.condition < 90) {
improveCondition(slave, 3);
}
switch (V.servantsQuartersDecoration) {
case "Arabian Revivalist":
case "Aztec Revivalist":
case "Chattel Religionist":
case "Chinese Revivalist":
case "Degradationist":
case "Edo Revivalist":
case "Egyptian Revivalist":
case "Roman Revivalist":
case "Subjugationist":
case "Supremacist":
slave.rules.living = "spare";
break;
case "Slave Professionalism":
if (slave.intelligence+slave.intelligenceImplant > 15) {
slave.rules.living = "normal";
} else {
slave.rules.living = "spare";
}
break;
case "Petite Admiration":
case "Statuesque Glorification":
if (heightPass(slave)) {
slave.rules.living = "normal";
} else {
slave.rules.living = "spare";
}
break;
default:
slave.rules.living = "normal";
}
App.Utils.setLocalPronouns(slave); // need this for the includes
if (V.showEWD !== 0) {
const {He} = getPronouns(slave);
const slaveEntry = App.UI.DOM.appendNewElement("div", frag, '', "slave-report");
if (V.seeImages && V.seeReportImages) {
App.UI.DOM.appendNewElement("div", slaveEntry, App.Art.SlaveArtElement(slave, 0, 0), ["imageRef", "tinyImg"]);
}
slaveEntry.append(App.EndWeek.favoriteIcon(slave), " ");
$(slaveEntry).append(`<span class='slave-name'>${SlaveFullName(slave)}</span> `);
if (slave.choosesOwnAssignment === 2) {
$(slaveEntry).append(App.SlaveAssignment.choosesOwnJob(slave));
} else {
$(slaveEntry).append(`is working out of ${V.servantsQuartersName}.`);
}
const servantContent = App.UI.DOM.appendNewElement("div", slaveEntry, '', "indent");
$(servantContent).append(`${He} ${App.SlaveAssignment.servant(slave, stewardessBonus)}`);
if ((V.servantMilkers === 1) && (slave.lactation > 0)) {
const milkContent = App.UI.DOM.appendNewElement("div", slaveEntry, '', "indent");
const milkResults = App.SlaveAssignment.getMilked(slave, 0.5);
$(milkContent).append(`${He} ${milkResults.text}`);
SQMilk += milkResults.milk;
SQMilkSale += milkResults.milkSale;
}
$(slaveEntry).append(App.SlaveAssignment.standardSlaveReport(slave, false));
} else {
// discard return values silently
App.SlaveAssignment.choosesOwnJob(slave);
App.SlaveAssignment.servant(slave, stewardessBonus);
if ((V.servantMilkers === 1) && (slave.lactation > 0)) {
const milkResults = App.SlaveAssignment.getMilked(slave, 0.5);
SQMilk += milkResults.milk;
SQMilkSale += milkResults.milkSale;
}
App.SlaveAssignment.standardSlaveReport(slave, true);
}
}
if (SQMilk > 0) {
const milkEffects = App.UI.DOM.appendNewElement("p", frag, '', "indent");
$(milkEffects).append(`Since your lactating servants spend most of their time working in the penthouse, they use the milkers there, giving ${SQMilk} liters of milk over the week, which is sold for <span class="yellowgreen">${cashFormat(SQMilkSale)}.</span>`);
}
if (V.servantsQuartersDecoration !== "standard") {
const decorationEffects = App.UI.DOM.appendNewElement("p", frag, '', "indent");
$(decorationEffects).append(`${capFirstChar(V.servantsQuartersName)}'s ${V.servantsQuartersDecoration} atmosphere <span class="hotpink">has a minor impact on your servants.</span>`);
}
repX(slaves.length * 20, "servantsQuarters");
return frag;
};
|
MonsterMate/fc
|
src/endWeek/servantsQuartersReport.js
|
JavaScript
|
mit
| 15,031
|
/**
* @param {ParentNode} renderContainer
*/
App.EndWeek.computeSexualServicesModel = function(renderContainer) {
const arcology = V.arcologies[0];
/* Sexual services demand per class */
/* We can add milk etc. to this as well, though this is a good that can be traded beyond the arcology and also needs its own market much like the slave market. TODO */
/* In the default scenario these numbers indicate the amount of money each individual citizen of a particular class is looking to spend on sex (and milk) every week
Depending on the conditions they may derive more or less 'utility' out of their credits spent
i.e. a highly paternalist arcology with little choice for its lower class but Fuckdolls may still put money into them but not get the same satisfaction out of it*/
/* Low rent increases demand/available money for sexual services, high rent decreases it */
if (V.brothelBoost.selected > 0 && V.rep < V.brothelBoost.selected * 500 + 2000) {
V.brothelBoost.eligible = Math.trunc((V.rep - 2000) / 500);
if (V.brothelBoost.eligible < 0) {
V.brothelBoost.eligible = 0;
}
} else {
V.brothelBoost.eligible = V.brothelBoost.selected;
}
repX(forceNeg(50 * V.brothelBoost.eligible), "brothel");
let lowerClassSexDemand = Math.trunc(V.lowerClass * V.whoreBudget.lowerClass) * 2,
lowerClassSexDemandRef = Math.max(lowerClassSexDemand, 1),
visitorsSexDemand = Math.trunc(V.visitors) * 40,
middleClassSexDemand = Math.trunc(V.middleClass * V.whoreBudget.middleClass + visitorsSexDemand * 0.5) * 2,
middleClassSexDemandRef = Math.max(middleClassSexDemand, 1),
upperClassSexDemand = Math.trunc(V.upperClass * V.whoreBudget.upperClass + visitorsSexDemand * 0.5) * 2,
upperClassSexDemandRef = Math.max(upperClassSexDemand, 1),
topClassSexDemand = Math.trunc(V.topClass * V.whoreBudget.topClass) * 2,
topClassSexDemandRef = Math.max(topClassSexDemand, 1),
arcadeSupply = {lowerClass: 0, middleClass: 0, upperClass: 0},
clubSupply = {lowerClass: 0, middleClass: 0};
App.EndWeek.saVars.whorePriceAdjustment = {
lowerClass: 0, middleClass: 0, upperClass: 0, topClass: 0
};
V.NPCMarketShare = {
lowerClass: 0, middleClass: 0, upperClass: 0, topClass: 0
};
V.sexDemandResult = {
lowerClass: 0, middleClass: 0, upperClass: 0, topClass: 0
};
App.EndWeek.saVars.slaveJobValues = slaveJobValues(lowerClassSexDemandRef, middleClassSexDemandRef, upperClassSexDemandRef, topClassSexDemandRef);
const sjv = App.EndWeek.saVars.slaveJobValues;
let lowerClassArcadeSexDemand = 0;
let middleClassArcadeSexDemand = 0;
let upperClassArcadeSexDemand = 0;
let arcadeDemand = 0;
let arcadeDemandDeg = 0;
// Arcade Specific Demand for Degradationists to give it higher priority
if (arcology.FSDegradationist !== "unset" && arcology.FSDegradationist > 0) {
lowerClassArcadeSexDemand = Math.trunc(lowerClassSexDemand * arcology.FSDegradationist * 0.0015);
middleClassArcadeSexDemand = Math.trunc(middleClassSexDemand * arcology.FSDegradationist * 0.0002);
upperClassArcadeSexDemand = Math.trunc(upperClassSexDemand * arcology.FSDegradationist * 0.000025);
arcadeDemandDeg = lowerClassArcadeSexDemand + middleClassArcadeSexDemand + upperClassArcadeSexDemand;
if (arcology.FSDegradationistLaw === 1) {
arcadeDemandDeg += V.ASlaves * 3;
}
if (sjv.arcade < arcadeDemandDeg) {
if (arcadeDemandDeg > 20000 || arcology.FSDegradationist > 50) {
const degradationistPenalty = ((arcadeDemandDeg - sjv.arcade) / arcadeDemandDeg);
arcology.FSDegradationist -= Math.trunc(5 * degradationistPenalty);
repX(forceNeg(100 * degradationistPenalty), "futureSocieties");
V.arcadeDemandDegResult = degradationistPenalty > 0.5 ? 1 : 2;
} else {
V.arcadeDemandDegResult = 3;
}
arcadeSupply.lowerClass += Math.trunc(1.15 * sjv.arcade * (lowerClassArcadeSexDemand / arcadeDemandDeg));
lowerClassSexDemand -= arcadeSupply.lowerClass;
arcadeSupply.middleClass += Math.trunc(1.15 * sjv.arcade * (middleClassArcadeSexDemand / arcadeDemandDeg));
middleClassSexDemand -= arcadeSupply.middleClass;
arcadeSupply.upperClass += Math.trunc(1.15 * sjv.arcade * (upperClassArcadeSexDemand / arcadeDemandDeg));
upperClassSexDemand -= arcadeSupply.upperClass; // There's a 15% satisfaction bonus from getting release in a societally approved way
} else {
if (sjv.arcade >= arcadeDemandDeg * 1.5) {
arcology.FSDegradationist += 2;
V.arcadeDemandDegResult = 4;
repX(500, "futureSocieties");
} else {
V.arcadeDemandDegResult = 5;
}
arcadeSupply.lowerClass += Math.trunc(1.15 * lowerClassArcadeSexDemand);
lowerClassSexDemand -= arcadeSupply.lowerClass;
arcadeSupply.middleClass += Math.trunc(1.15 * middleClassArcadeSexDemand);
middleClassSexDemand -= arcadeSupply.middleClass;
arcadeSupply.upperClass += Math.trunc(1.15 * upperClassArcadeSexDemand);
upperClassSexDemand -= arcadeSupply.upperClass;
}
} else {
arcadeDemandDeg = 0;
}
// Public slut sex supply. Top and upper class won't partake
let clubDemand = lowerClassSexDemand + middleClassSexDemand;
let lowerClassClubRatio = lowerClassSexDemand / clubDemand;
let middleClassClubRatio = middleClassSexDemand / clubDemand;
if (sjv.club * sjv.clubSP < clubDemand) {
lowerClassSexDemand -= Math.trunc(sjv.club * sjv.clubSP * lowerClassClubRatio);
middleClassSexDemand -= Math.trunc(sjv.club * sjv.clubSP * middleClassClubRatio);
} else {
lowerClassSexDemand = 0;
middleClassSexDemand = 0;
}
clubSupply.lowerClass = Math.trunc(sjv.club * sjv.clubSP * lowerClassClubRatio);
clubSupply.middleClass = Math.trunc(sjv.club * sjv.clubSP * middleClassClubRatio);
// Brothel or street whore sex supply
if (lowerClassSexDemand < sjv.brothel.lowerClass) {
App.EndWeek.saVars.whorePriceAdjustment.lowerClass = Math.max(Math.pow(lowerClassSexDemand / (sjv.brothel.lowerClass + V.NPCSexSupply.lowerClass), 1.513), 0.3);
lowerClassSexDemand = 0; // This accounts for people having too much choice and getting more picky how they spend their money
} else {
App.EndWeek.saVars.whorePriceAdjustment.lowerClass = Math.pow(lowerClassSexDemand / (sjv.brothel.lowerClass + V.NPCSexSupply.lowerClass), 0.5);
lowerClassSexDemand -= sjv.brothel.lowerClass; // People are willing to pay more for a scarce good, but within reason
}
if (middleClassSexDemand < sjv.brothel.middleClass) {
App.EndWeek.saVars.whorePriceAdjustment.middleClass = Math.max(Math.pow((middleClassSexDemand * 1.1) / (sjv.brothel.middleClass + V.NPCSexSupply.middleClass), 1.513), 0.33);
middleClassSexDemand = 0;
} else {
App.EndWeek.saVars.whorePriceAdjustment.middleClass = Math.pow((middleClassSexDemand * 1.1) / (sjv.brothel.middleClass + V.NPCSexSupply.middleClass), 0.5);
middleClassSexDemand -= sjv.brothel.middleClass;
}
if (upperClassSexDemand < sjv.brothel.upperClass) {
App.EndWeek.saVars.whorePriceAdjustment.upperClass = Math.max(Math.pow((upperClassSexDemand * 1.21) / (sjv.brothel.upperClass + V.NPCSexSupply.upperClass), 1.513), 0.363);
upperClassSexDemand = 0;
} else {
App.EndWeek.saVars.whorePriceAdjustment.upperClass = Math.pow((upperClassSexDemand * 1.21) / (sjv.brothel.upperClass + V.NPCSexSupply.upperClass), 0.5);
upperClassSexDemand -= sjv.brothel.upperClass;
}
if (topClassSexDemand < sjv.brothel.topClass) {
App.EndWeek.saVars.whorePriceAdjustment.topClass = Math.max(Math.pow((topClassSexDemand * 1.331) / (sjv.brothel.topClass + V.NPCSexSupply.topClass), 1.513), 0.3993);
topClassSexDemand = 0;
} else {
App.EndWeek.saVars.whorePriceAdjustment.topClass = Math.pow((topClassSexDemand * 1.331) / (sjv.brothel.topClass + V.NPCSexSupply.topClass), 0.5);
topClassSexDemand -= sjv.brothel.topClass;
}
// Price for sex in the arcade or at a glory hole
if (arcology.FSPaternalist !== "unset" && arcology.FSPaternalist > 0) {
arcadeDemand = Math.max((arcadeDemandDeg + lowerClassSexDemand) * (1 - arcology.FSPaternalist / 50), 0); // Paternalists sap demand for the arcade
} else {
arcadeDemand = arcadeDemandDeg + lowerClassSexDemand;
}
if (sjv.arcade + V.NPCSexSupply.lowerClass > 0) {
V.arcadePrice = Math.clamp(Math.pow((arcadeDemand / (sjv.arcade + V.NPCSexSupply.lowerClass)), 0.5), 0.5, 3); // This calculates the price charged per fuck
} else {
V.arcadePrice = 0.5; // minimum price no matter what
}
// Arcade usage beyond degradationist demand
if (sjv.arcade > arcadeDemandDeg) {
sjv.arcade -= arcadeDemandDeg;
} else {
sjv.arcade = 0;
}
if (sjv.arcade > lowerClassSexDemand) {
lowerClassSexDemand = 0;
} else {
lowerClassSexDemand -= sjv.arcade;
}
arcadeSupply.lowerClass += sjv.arcade;
// NPC sex supply
V.NPCSexSupply = NPCSexSupply(lowerClassSexDemand, lowerClassSexDemandRef, middleClassSexDemand, middleClassSexDemandRef, upperClassSexDemand, upperClassSexDemandRef, topClassSexDemand, topClassSexDemandRef);
V.NPCMarketShare.lowerClass = Math.trunc((V.NPCSexSupply.lowerClass * 1000) / lowerClassSexDemandRef);
V.NPCMarketShare.middleClass = Math.trunc((V.NPCSexSupply.middleClass * 1000) / middleClassSexDemandRef);
V.NPCMarketShare.upperClass = Math.trunc((V.NPCSexSupply.upperClass * 1000) / upperClassSexDemandRef);
V.NPCMarketShare.topClass = Math.trunc((V.NPCSexSupply.topClass * 1000) / topClassSexDemandRef);
if (lowerClassSexDemand < V.NPCSexSupply.lowerClass) {
lowerClassSexDemand = 0;
} else {
lowerClassSexDemand -= V.NPCSexSupply.lowerClass;
}
if (middleClassSexDemand < V.NPCSexSupply.middleClass) {
middleClassSexDemand = 0;
} else {
middleClassSexDemand -= V.NPCSexSupply.middleClass;
}
if (upperClassSexDemand < V.NPCSexSupply.upperClass) {
upperClassSexDemand = 0;
} else {
upperClassSexDemand -= V.NPCSexSupply.upperClass;
}
if (topClassSexDemand < V.NPCSexSupply.topClass) {
topClassSexDemand = 0;
} else {
topClassSexDemand -= V.NPCSexSupply.topClass;
}
if ((V.cheatMode === 1) || (V.debugMode === 1)) {
_printDebugInfo(renderContainer);
}
// Sexual satisfaction effects
V.sexDemandResult.lowerClass = Math.trunc(((V.NPCSexSupply.lowerClass + sjv.brothel.lowerClass + clubSupply.lowerClass + arcadeSupply.lowerClass) * 1000) / lowerClassSexDemandRef);
V.sexDemandResult.middleClass = Math.trunc(((V.NPCSexSupply.middleClass + sjv.brothel.middleClass + clubSupply.middleClass + arcadeSupply.middleClass) * 1000) / middleClassSexDemandRef);
V.sexDemandResult.upperClass = Math.trunc(((V.NPCSexSupply.upperClass + sjv.brothel.upperClass + arcadeSupply.upperClass) * 1000) / upperClassSexDemandRef);
V.sexDemandResult.topClass = Math.trunc(((V.NPCSexSupply.topClass + sjv.brothel.topClass) * 1000) / topClassSexDemandRef);
if (V.sexDemandResult.lowerClass < 400) { // You are providing < 40% of their desired amount of sex
if (V.week <= 30) {
V.classSatisfied.lowerClass = 0;
} else {
V.classSatisfied.lowerClass = -1;
}
} else if (V.sexDemandResult.lowerClass < 600) { // You are providing between 40 and 60% of their desired amount of sex
if (V.week <= 40) {
V.classSatisfied.lowerClass = 1;
} else if (V.week <= 60) {
V.classSatisfied.lowerClass = 0;
} else {
V.classSatisfied.lowerClass = -1;
}
} else if (V.sexDemandResult.lowerClass < 800) { // You are providing between 60 and 80% of their desired amount of sex
if (V.week <= 50) {
V.classSatisfied.lowerClass = 1;
} else {
V.classSatisfied.lowerClass = 0;
}
} else if (V.sexDemandResult.lowerClass === 1000) { // You are providing 100% or more of their desired amount of sex
V.classSatisfied.lowerClass = 2;
} else { // You are providing > 80% of their desired amount of sex
V.classSatisfied.lowerClass = 1;
}
if (V.sexDemandResult.middleClass < 400) { // You are providing < 40% of their desired amount of sex
if (V.week <= 30) {
V.classSatisfied.middleClass = 0;
} else {
V.classSatisfied.middleClass = -1;
}
} else if (V.sexDemandResult.middleClass < 600) { // You are providing between 40 and 60% of their desired amount of sex
if (V.week <= 40) {
V.classSatisfied.middleClass = 1;
} else if (V.week <= 60) {
V.classSatisfied.middleClass = 0;
} else {
V.classSatisfied.middleClass = -1;
}
} else if (V.sexDemandResult.middleClass < 800) { // You are providing between 60 and 80% of their desired amount of sex
if (V.week <= 50) {
V.classSatisfied.middleClass = 1;
} else {
V.classSatisfied.middleClass = 0;
}
} else if (V.sexDemandResult.middleClass === 1000) { // You are providing 100% or more of their desired amount of sex
V.classSatisfied.middleClass = 2;
} else { // You are providing > 80% of their desired amount of sex
V.classSatisfied.middleClass = 1;
}
if (V.sexDemandResult.upperClass < 400) { // You are providing < 40% of their desired amount of sex
if (V.week <= 30) {
V.classSatisfied.upperClass = 0;
} else {
V.classSatisfied.upperClass = -1;
}
} else if (V.sexDemandResult.upperClass < 600) { // You are providing between 40 and 60% of their desired amount of sex
if (V.week <= 40) {
V.classSatisfied.upperClass = 1;
} else if (V.week <= 60) {
V.classSatisfied.upperClass = 0;
} else {
V.classSatisfied.upperClass = -1;
}
} else if (V.sexDemandResult.upperClass < 800) { // You are providing between 60 and 80% of their desired amount of sex
if (V.week <= 50) {
V.classSatisfied.upperClass = 1;
} else {
V.classSatisfied.upperClass = 0;
}
} else if (V.sexDemandResult.upperClass === 1000) { // You are providing 100% or more of their desired amount of sex
V.classSatisfied.upperClass = 2;
} else { // You are providing > 80% of their desired amount of sex
V.classSatisfied.upperClass = 1;
}
if (V.sexDemandResult.topClass < 400) { // You are providing < 40% of their desired amount of sex
if (V.week <= 30) {
V.classSatisfied.topClass = 0;
} else {
V.classSatisfied.topClass = -1;
}
} else if (V.sexDemandResult.topClass < 600) { // You are providing between 40 and 60% of their desired amount of sex
if (V.week <= 40) {
V.classSatisfied.topClass = 1;
} else if (V.week <= 60) {
V.classSatisfied.topClass = 0;
} else {
V.classSatisfied.topClass = -1;
}
} else if (V.sexDemandResult.topClass < 800) { // You are providing between 60 and 80% of their desired amount of sex
if (V.week <= 50) {
V.classSatisfied.topClass = 1;
} else {
V.classSatisfied.topClass = 0;
}
} else if (V.sexDemandResult.topClass === 1000) { // You are providing 100% or more of their desired amount of sex
V.classSatisfied.topClass = 2;
} else { // You are providing > 80% of their desired amount of sex
V.classSatisfied.topClass = 1;
}
/**
* @param {ParentNode} c
*/
function _printDebugInfo(c) {
c.append(document.createElement("br"));
c.append("Slave services supply and demand this week:");
const table = App.UI.DOM.appendNewElement("table", c, null, "finance");
table.style.border = "1";
const titleRow = App.UI.DOM.appendNewElement("tr", table);
titleRow.style.textAlign = "center";
const tcl = App.UI.DOM.appendNewElement("th", titleRow, "Client's class");
tcl.style.textAlign = "right";
App.UI.DOM.appendNewElement("th", titleRow, "Lower");
App.UI.DOM.appendNewElement("th", titleRow, "Middle");
App.UI.DOM.appendNewElement("th", titleRow, "Upper");
App.UI.DOM.appendNewElement("th", titleRow, "Top");
/**
*
* @param {string} caption
* @param {number} [lower]
* @param {number} [middle]
* @param {number} [upper]
* @param {number} [top]
*/
function numericRow(caption, lower, middle, upper, top) {
const row = App.UI.DOM.appendNewElement("tr", table);
row.align = "right";
App.UI.DOM.appendNewElement("td", row, caption);
App.UI.DOM.appendNewElement("td", row, lower == null ? "N/A" : commaNum(lower));
App.UI.DOM.appendNewElement("td", row, middle == null ? "N/A" : commaNum(middle));
App.UI.DOM.appendNewElement("td", row, upper == null ? "N/A" : commaNum(upper));
App.UI.DOM.appendNewElement("td", row, top == null ? "N/A" : commaNum(top));
}
numericRow("Demand", lowerClassSexDemandRef, middleClassSexDemandRef, upperClassSexDemandRef, topClassSexDemandRef);
numericRow("Brothel Supply", sjv.brothel.lowerClass, sjv.brothel.middleClass, sjv.brothel.upperClass, sjv.brothel.topClass);
if (clubSupply.lowerClass || clubSupply.middleClass) {
numericRow("Club Supply", clubSupply.lowerClass, clubSupply.middleClass);
}
if (arcadeSupply.lowerClass || arcadeSupply.middleClass || arcadeSupply.upperClass) {
numericRow("Arcade Supply", arcadeSupply.lowerClass, arcadeSupply.middleClass, arcadeSupply.upperClass);
}
numericRow("NPC Supply", V.NPCSexSupply.lowerClass, V.NPCSexSupply.middleClass, V.NPCSexSupply.upperClass, V.NPCSexSupply.topClass);
numericRow("Unsatisfied", lowerClassSexDemand, middleClassSexDemand, upperClassSexDemand, topClassSexDemand);
}
};
|
MonsterMate/fc
|
src/endWeek/sexualServices.js
|
JavaScript
|
mit
| 16,847
|
App.EndWeek.slaveAssignmentReport = function() {
const facilities = App.Entity.facilities;
const arcology = V.arcologies[0];
// V.nextLink = "Economics";
// V.nextButton = "Continue";
const initialEmployeesCount = App.Utils.countFacilityWorkers(); // will be used to show differences after all the assignment changes
const initialPenthouseTotalEmployeesCount = _countPenthousePopulation();
/* Initialize global SA variables */
App.EndWeek.saVars = new App.EndWeek.SASharedVariables();
/* Spa room */
if (facilities.spa.established) {
V.spaSpots = (facilities.spa.capacity - App.Entity.facilities.spa.employeesIDs().size) * 20;
if (S.Attendant) {
V.spaSpots = Math.trunc(V.spaSpots * (1 + (S.Attendant.skill.attendant / 400))); // A skilled attendant improves available space by 25%
}
}
/** silent pass for any reassignments before generating reports */
for (const slave of V.slaves) {
if (slave.choosesOwnAssignment === 1) {
App.SlaveAssignment.choosesOwnJob(slave);
}
}
const res = document.createDocumentFragment();
App.EndWeek.computeSexualServicesModel(res);
res.appendChild(document.createElement("br"));
res.appendChild(document.createElement("br"));
const skillsToTest = {
whoring: "whore",
entertainment: "entertain",
vaginal: "vaginal",
anal: "anal",
oral: "oral"
};
let slavesWithWorkingDicks = 0;
for (const slave of V.slaves) {
for (const sk in skillsToTest) {
if (_.isNil(slave.skill[sk])) {
_printSlaveError(`Reset bad ${skillsToTest[sk]} skill`, slave);
slave.skill[sk] = 0;
}
}
if ((V.seeDicks > 0) && canPenetrate(slave) && App.Utils.hasNonassignmentSex(slave)) {
App.EndWeek.saVars.averageDick += slave.dick;
slavesWithWorkingDicks++;
}
if (slave.lactation === 1) {
slave.lactationDuration--;
}
_ensureEmployeeMeetsJobRequirements(slave); // this can fire special slaves
switch (slave.assignment) {
case Job.HEADGIRLSUITE:
if (slave.devotion >= random(-30, 20)) {
App.EndWeek.saVars.HGSlaveSuccess = true;
App.EndWeek.saVars.HGEnergy++;
}
break;
case Job.CONCUBINE:
case Job.MASTERSUITE:
case Job.FUCKTOY:
V.fuckSlaves++;
break;
}
if (slave.bellyPain !== 0) {
slave.bellyPain = 0;
}
/* preg speed and advance*/
if (slave.preg > 0) {
let pregSpeed = 1; // base speed is normal
if (slave.pregControl === "slow gestation") {
pregSpeed = 0.25;
} else if (slave.pregControl === "speed up") {
pregSpeed = 2;
}
if (slave.broodmother === 1 && slave.broodmotherOnHold !== 1) { /* broodmother advance block */
if ((V.week / slave.broodmotherFetuses === Math.round(V.week / slave.broodmotherFetuses)) && slave.broodmotherFetuses < 1) {
// one fetus in few week - selection and adding
WombImpregnate(slave, 1, slave.pregSource, 0);
} else {
// one or more fetuses in one week
WombImpregnate(slave, Math.floor(slave.broodmotherFetuses), slave.pregSource, 0); /* really 0, it's will be advanced right few lines down.*/
}
if (slave.ovaryAge >= 47) {
slave.broodmotherOnHold = 1;
slave.broodmotherCountDown = 37 - WombMinPreg(slave);
}
}
WombProgress(slave, pregSpeed, 1); /* drugs can affect speed of gestation, but not a real time */
slave.pregKnown = 1;
slave.pregWeek++;
}
if (slave.pregWeek < 0) { // postpartum state
slave.pregWeek++;
}
SetBellySize(slave); /* here will be also set through WombGetVolume .bellyPreg, .pregType, to current values. */
/* end of preg speed and advance*/
/* set up sexual need */
if (slave.devotion >= -50) {
if (slave.energy > 20) {
if (slave.physicalAge < slave.pubertyAgeXY && slave.genes === "XY" && slave.energy <= 80) {
slave.need = slave.energy / 3;
} else if (slave.physicalAge < slave.pubertyAgeXX && slave.genes === "XX" && slave.energy <= 80) {
slave.need = slave.energy / 3;
} else if (slave.physicalAge < 50) {
slave.need = slave.energy;
} else {
slave.need = slave.energy / 5;
}
if (slave.balls > 0 && slave.pubertyXY === 1 && slave.physicalAge <= (slave.pubertyAgeXY + 1) && (slave.physicalAge > slave.pubertyAgeXY) && slave.physicalAge < 18) {
slave.need = (slave.need * 1.25);
}
if ((slave.ovaries === 1 || slave.mpreg === 1) && slave.pubertyXX === 1 && slave.physicalAge <= (slave.pubertyAgeXX + 1) && (slave.physicalAge > slave.pubertyAgeXX) && slave.physicalAge < 18) {
slave.need = (slave.need * 1.25);
}
if (slave.diet === "fertility") {
slave.need += 10;
}
if (slave.aphrodisiacs === -1) {
slave.need = (slave.need * 0.5);
} else if (slave.aphrodisiacs === 1) {
slave.need = (slave.need * 1.5);
} else if (slave.aphrodisiacs === 2) {
slave.need = (slave.need * 2);
}
poorHealthNeedReduction(slave);
slave.need = Math.round(slave.need);
slave.needCap = slave.need;
}
}
if (slave.fetish === "mindbroken" && slave.relationship === -3) {
if (slave.kindness > 0) {
slave.kindness--;
}
}
if (slave.assignment === Job.AGENT || slave.assignment === Job.AGENTPARTNER) {
App.SlaveAssignment.agent(slave);
}
} // for (const slave of V.slaves)
if (V.HeadGirlID !== 0) {
App.EndWeek.saVars.HGEnergy++;
const slave = slaveStateById(V.HeadGirlID);
if (V.personalAttention === PersonalAttention.SUPPORTHG && V.PC.health.shortDamage < 30) {
App.EndWeek.saVars.HGEnergy++;
if (slave.trust > 95) {
App.EndWeek.saVars.HGEnergy++;
}
}
if (arcology.FSChineseRevivalistLaw === 1) {
App.EndWeek.saVars.HGEnergy++;
}
if (slaveResting(slave)) {
App.EndWeek.saVars.HGEnergy = 0;
}
if (canAchieveErection(slave)) {
App.EndWeek.saVars.HGCum = 2 + Math.trunc((slave.balls / 5) + (slave.energy / 95) + (slave.health.condition / 95) + (slave.devotion / 95) + (V.reproductionFormula * 5));
}
}
// Stud gets off based on impregnations, so we need to check and see if they actually do anyone
if (V.StudID) {
const stud = S.Stud;
App.EndWeek.saVars.StudCum = 2 + Math.trunc(((stud.balls / 5) + (stud.energy / 95) + (stud.health.condition / 95) + (stud.devotion / 95) + (V.reproductionFormula * 5) - (stud.health.tired / 25)) * restEffects(stud, 5));
if (stud.drugs === "hyper testicle enhancement") {
App.EndWeek.saVars.StudCum += 3;
} else if (stud.drugs === "testicle enhancement") {
App.EndWeek.saVars.StudCum += 1;
}
if (stud.diet === "cum production") {
App.EndWeek.saVars.StudCum += 1;
}
let studCumLimit = App.EndWeek.saVars.StudCum;
for (const slave of V.slaves) {
if (studCumLimit === 0 || stud.need <= 0) {
break;
}
if (canGetPregnant(slave) && canBreed(stud, slave) && slave.ID !== V.StudID) {
stud.need -= 20;
if (stud.fetish === "pregnancy") {
stud.need -= 30;
}
}
}
}
if (App.EndWeek.saVars.averageDick > 0) {
App.EndWeek.saVars.averageDick = App.EndWeek.saVars.averageDick / slavesWithWorkingDicks;
}
App.EndWeek.saVars.freeSexualEnergy = V.PC.sexualEnergy - V.fuckSlaves;
const penthouseSlaves = App.Entity.facilities.penthouse.employees().length;
if (App.EndWeek.saVars.freeSexualEnergy > 0) {
if (App.EndWeek.saVars.freeSexualEnergy > penthouseSlaves / 2) {
App.EndWeek.saVars.freeSexualEnergy = 3;
} else if (App.EndWeek.saVars.freeSexualEnergy > penthouseSlaves / 4) {
App.EndWeek.saVars.freeSexualEnergy = 2;
} else {
App.EndWeek.saVars.freeSexualEnergy = 1;
}
}
if (S.HeadGirl) {
/** @type {FC.HeadGirlTrainee[][]} */
const HGPossibleSlaves = [[], [], [], [], [], []];
for (const slave of V.slaves) {
if (!assignmentVisible(slave) || slave.fuckdoll === 1 || slave.ID === V.BodyguardID || slave.ID === V.HeadGirlID || slave.fetish === "mindbroken") {
continue;
} else if (Array.isArray(V.personalAttention) && V.personalAttention.some(p => p.ID === slave.ID)) {
continue;
}
if (V.headGirlTrainsHealth && slave.health.condition < -20) {
HGPossibleSlaves[0].push({ID: slave.ID, training: "health"});
continue;
}
if (slave.health.tired < 50) {
const hasParaphilia = (["abusive", "anal addict", "attention whore", "breast growth", "breeder", "cum addict", "malicious", "neglectful", "self hating"].includes(slave.sexualFlaw));
if (V.headGirlTrainsParaphilias && hasParaphilia) {
HGPossibleSlaves[1].push({ID: slave.ID, training: "paraphilia"});
continue;
}
if (V.headGirlTrainsFlaws || V.headGirlSoftensFlaws) {
if (slave.behavioralFlaw !== "none" || (slave.sexualFlaw !== "none" && !hasParaphilia)) {
if (V.headGirlSoftensFlaws) {
if (slave.devotion > 20) {
if ((slave.behavioralFlaw !== "none" && slave.behavioralQuirk === "none") || (slave.sexualFlaw !== "none" && slave.sexualQuirk === "none" && !hasParaphilia)) {
HGPossibleSlaves[3].push({ID: slave.ID, training: "soften"});
} else {
HGPossibleSlaves[3].push({ID: slave.ID, training: "flaw"});
}
continue;
}
} else if (V.headGirlTrainsFlaws) {
HGPossibleSlaves[2].push({ID: slave.ID, training: "flaw"});
continue;
}
}
}
if (V.headGirlTrainsObedience && slave.devotion <= 20 && slave.trust >= -20) {
HGPossibleSlaves[4].push({ID: slave.ID, training: "obedience"});
continue;
}
if (V.headGirlTrainsSkills) {
if (slave.skill.oral < S.HeadGirl.skill.oral) {
HGPossibleSlaves[5].push({ID: slave.ID, training: "oral skill"});
} else if ((slave.skill.vaginal < S.HeadGirl.skill.vaginal) && (slave.vagina > 0) && (canDoVaginal(slave))) {
HGPossibleSlaves[5].push({ID: slave.ID, training: "fuck skill"});
} else if ((slave.skill.anal < S.HeadGirl.skill.anal) && (slave.anus > 0) && (canDoAnal(slave))) {
HGPossibleSlaves[5].push({ID: slave.ID, training: "anal skill"});
} else if (slave.skill.whoring < S.HeadGirl.skill.whoring) {
HGPossibleSlaves[5].push({ID: slave.ID, training: "whore skill"});
} else if ((slave.skill.entertainment < S.HeadGirl.skill.entertainment) && !isAmputee(slave)) {
HGPossibleSlaves[5].push({ID: slave.ID, training: "entertain skill"});
}
}
}
}
V.HGTrainSlavesIDs = HGPossibleSlaves.flatten().slice(0, App.EndWeek.saVars.HGEnergy);
} else {
V.HGTrainSlavesIDs = [];
}
/**
* Accordion
* @version 0.7RC
* @author 000-250-006
*
* @param array _facListArr
* Multidimensional temporary array
* 0: The SC passage name or DOM function for the facility's report
* 1: A facility object, or the title of the report if there is no facility obejct
* 2: If there is no facility object, a truthy value indicating whether the facility exists
* 3: If there is no facility object, the maximum capacity of the facility
*
* @todo This is a proof of concept construct, if it works and cuts overhead, intended to create an object
* for deeper use in multiple locations, including streamlining reports/facilities code to one widget
* @todo Figure out if this would be better as an object rather than an array for overhead
* StoryInit also?
*/
const facListArr = [
["Arcade Report", App.Entity.facilities.arcade],
["Brothel Report", App.Entity.facilities.brothel],
["Cellblock Report", App.Entity.facilities.cellblock],
["Clinic Report", App.Entity.facilities.clinic],
["Club Report", App.Entity.facilities.club],
["Dairy Report", App.Entity.facilities.dairy],
["Farmyard Report", App.Entity.facilities.farmyard],
["Schoolroom Report", App.Entity.facilities.schoolroom],
["Spa Report", App.Entity.facilities.spa],
["Servants' Quarters Report", App.Entity.facilities.servantsQuarters],
["Nursery Report", App.Entity.facilities.nursery],
["Children Report", "Nursery Children", V.nursery, V.nurseryChildren],
["Incubator Report", App.Entity.facilities.incubator],
["Master Suite Report", App.Entity.facilities.masterSuite],
["Penthouse Report", "The Penthouse"],
[App.EndWeek.rulesAssistantReport, "Rules Assistant", V.rulesAssistantAuto], /** should be last — may reassign slaves **/
[App.EndWeek.labReport, "Lab", V.researchLab.level]
];
function _getReportElementStats(ar) {
if (typeof ar[1] === "string") {
if (ar[1] === "The Penthouse") { // special case because we have to combine several facilities
return {
name: ar[1],
established: 1,
entriesNumberInitial: initialPenthouseTotalEmployeesCount,
entriesNumber: _countPenthousePopulation(),
manager: null,
alwaysExists: 0,
};
} else {
return {
name: ar[1],
established: ar[2],
entriesNumberInitial: null,
entriesNumber: ar[3],
manager: null,
alwaysExists: ar[3] === undefined ? 1 : 0,
};
}
} else {
return {
name: capFirstChar(ar[1].name),
established: ar[1].established,
entriesNumberInitial: initialEmployeesCount[ar[1].desc.baseName],
entriesNumber: ar[1].hostedSlaves,
manager: ar[1].manager,
alwaysExists: 0,
};
}
}
for (const facSubArr of facListArr) {
// TODO: this call should be in the individual reports' slave loops so slaves don't leak data to their coworkers if someone fucks up
App.EndWeek.saVars.nextSlave();
const reportContent = document.createElement("div");
if (typeof facSubArr[0] === "function") {
reportContent.append(facSubArr[0]());
} else if (typeof facSubArr[0] === "string") {
App.UI.DOM.includePassage(reportContent, facSubArr[0]);
}
// needs to be inside the loop after the report passage to get the employees number after re-assignments
const stats = _getReportElementStats(facSubArr);
if (stats.established) { // Do we have one of these facilities?
const header = document.createDocumentFragment();
App.UI.DOM.appendNewElement("span", header, `${stats.name} Report`, "title");
if (!stats.alwaysExists) {
const diffNum = stats.entriesNumber - stats.entriesNumberInitial;
const diffText = diffNum === 0 ? "" : (diffNum > 0 ? ` (+${diffNum})` : ` (${diffNum})`);
// Display the bar with information
if (stats.entriesNumber > 0) {
App.UI.DOM.appendNewElement("span", header,
`${stats.entriesNumber}${diffText} slave${stats.entriesNumber !== 1 ? "s" : ""} ${
stats.manager && stats.manager.currentEmployee ? `and ${capFirstChar(
stats.manager.desc.position)}` : ""
} in ${stats.name}`, ["info", "green"]);
} else if (stats.manager && stats.manager.currentEmployee) {
App.UI.DOM.appendNewElement("span", header,
`${diffText} Only ${capFirstChar(stats.manager.desc.position)} in ${stats.name}`,
["info", "orange"]);
} else {
App.UI.DOM.appendNewElement("span", header, `${diffText} ${stats.name} is empty`,
["info", "gray"]);
}
}
// Is there anyone inside the facility?
if (stats.entriesNumber > 0 || (stats.manager && stats.manager.currentEmployee) || stats.alwaysExists) {
res.append(App.UI.DOM.accordion(header, reportContent, V.useAccordion > 0));
} else {
res.append(App.UI.DOM.accordion(header));
}
}
}
/* Clean up global SA variables */
App.EndWeek.saVars = null;
delete V.flSex; // FIXME: remove, once this is passed as a parameter to saRules
return res;
function _countPenthousePopulation() {
const fs = App.Entity.facilities;
return fs.penthouse.employeesIDs().size + fs.headGirlSuite.totalEmployeesCount + fs.armory.totalEmployeesCount;
}
function _printSlaveError(warning, slave) {
const warningLine = App.UI.DOM.appendNewElement("div", res);
App.UI.DOM.appendNewElement("span", warningLine, warning + `for ${slave.slaveName}.`, "yellow");
warningLine.appendChild(document.createTextNode(" Report this as a bug if it reoccurs."));
}
/**
* Check key employees. Fire those who do not satisfy their job requirements
* @param {App.Entity.SlaveState} slave
*/
function _ensureEmployeeMeetsJobRequirements(slave) {
switch (slave.assignment) {
case Job.HEADGIRL:
if (slave.fetish === "mindbroken") {
_printSlaveUnassignedNote(slave, "is mindbroken");
V.HeadGirlID = 0;
} else if (!canTalk(slave)) {
_printSlaveUnassignedNote(slave, "can't give slaves verbal orders");
V.HeadGirlID = 0;
} else if (!canWalk(slave)) {
_printSlaveUnassignedNote(slave, "is no longer independently mobile");
V.HeadGirlID = 0;
} else if (!canHold(slave)) {
_printSlaveUnassignedNote(slave, "is no longer able to handle your slaves");
V.HeadGirlID = 0;
} else if (!canSee(slave)) {
_printSlaveUnassignedNote(slave, "can no longer see");
V.HeadGirlID = 0;
} else if (!canHear(slave)) {
_printSlaveUnassignedNote(slave, "can no longer hear");
V.HeadGirlID = 0;
} else if (slave.preg > 37 && slave.broodmother === 2) {
_printSlaveUnassignedNote(slave, "spends so much time giving birth and laboring that", `${getPronouns(slave).he} cannot effectively serve as your Head Girl any longer`);
V.HeadGirlID = 0;
} else if (slave.devotion <= 20) {
_printSlaveUnassignedNote(slave, "is no longer even accepting of you");
V.HeadGirlID = 0;
}
if (V.HeadGirlID === 0) {
removeJob(slave, Job.HEADGIRL);
}
break;
case Job.RECRUITER:
V.RecruiterID = slave.ID;
if (slave.fetish === "mindbroken") {
_printSlaveUnassignedNote(slave, "is mindbroken");
V.RecruiterID = 0;
} else if (!canTalk(slave)) {
_printSlaveUnassignedNote(slave, "can't verbally entice marks");
V.RecruiterID = 0;
} else if (slave.preg > 37 && slave.broodmother === 2) {
_printSlaveUnassignedNote(slave, "spends so much time giving birth and laboring that", `${getPronouns(slave).he} cannot effectively serve as your recruiter any longer`);
V.RecruiterID = 0;
} else if (!canWalk(slave)) {
_printSlaveUnassignedNote(slave, "is no longer independently mobile");
V.RecruiterID = 0;
} else if (!canSee(slave)) {
_printSlaveUnassignedNote(slave, "can no longer see");
V.RecruiterID = 0;
} else if (!canHear(S.Recruiter)) {
_printSlaveUnassignedNote(slave, "an no longer hear");
V.RecruiterID = 0;
}
if (V.RecruiterID === 0) {
removeJob(slave, Job.RECRUITER);
}
break;
case Job.MADAM:
if (App.EndWeek.saVars.unMadam === 1) {
_printSlaveUnassignedNote(slave, "can't give whores verbal orders");
} else if (App.EndWeek.saVars.unMadam === 2) {
_printSlaveUnassignedNote(slave, "spends so much time giving birth and laboring that", `${getPronouns(slave).he} cannot effectively serve as your Madam any longer`);
} else if (App.EndWeek.saVars.unMadam === 3) {
_printSlaveUnassignedNote(slave, "is mindbroken");
} else if (App.EndWeek.saVars.unMadam === 4) {
_printSlaveUnassignedNote(slave, "is no longer independently mobile");
} else if (App.EndWeek.saVars.unMadam === 5) {
_printSlaveUnassignedNote(slave, "can no longer see");
} else if (App.EndWeek.saVars.unMadam === 6) {
_printSlaveUnassignedNote(slave, "can no longer hear");
} else if (App.EndWeek.saVars.unMadam === 7) {
_printSlaveUnassignedNote(slave, `can no longer handle ${getPronouns(slave).his} underlings`);
}
if (V.MadamID === 0) {
removeJob(slave, Job.MADAM);
}
break;
case Job.DJ:
if (App.EndWeek.saVars.unDJ === 1) {
_printSlaveUnassignedNote(slave, "can't speak");
} else if (App.EndWeek.saVars.unDJ === 2) {
_printSlaveUnassignedNote(slave, "spends so much time giving birth and laboring that", `${getPronouns(slave).he} cannot effectively serve as your DJ any longer`);
} else if (App.EndWeek.saVars.unDJ === 3) {
_printSlaveUnassignedNote(slave, "is mindbroken");
} else if (App.EndWeek.saVars.unDJ === 4) {
_printSlaveUnassignedNote(slave, "is no longer independently mobile");
} else if (App.EndWeek.saVars.unDJ === 5) {
_printSlaveUnassignedNote(slave, "can no longer hear");
}
if (V.djID === 0) {
removeJob(slave, Job.DJ);
}
break;
case Job.MILKMAID:
if (slave.fetish === "mindbroken") {
_printSlaveUnassignedNote(slave, "is mindbroken");
V.MilkmaidID = 0;
} else if (slave.preg > 37 && slave.broodmother === 2) {
_printSlaveUnassignedNote(slave, "spends so much time giving birth and laboring that", `${getPronouns(slave).he} cannot effectively serve as your Milkmaid any longer`);
V.MilkmaidID = 0;
} else if (!canWalk(slave)) {
_printSlaveUnassignedNote(slave, "is no longer independently mobile");
V.MilkmaidID = 0;
} else if (!canHold(slave)) {
_printSlaveUnassignedNote(slave, "can no longer handle nor milk your slaves");
V.MilkmaidID = 0;
} else if (!canSee(slave)) {
_printSlaveUnassignedNote(slave, "can no longer see");
V.MilkmaidID = 0;
} else if (!canHear(slave)) {
_printSlaveUnassignedNote(slave, "can no longer hear");
V.MilkmaidID = 0;
}
if (V.MilkmaidID === 0) {
removeJob(slave, Job.MILKMAID);
}
break;
case Job.FARMER:
if (S.Farmer.fetish === "mindbroken") {
_printSlaveUnassignedNote(slave, "is mindbroken");
V.FarmerID = 0;
} else if (S.Farmer.preg > 37 && S.Farmer.broodmother === 2) {
_printSlaveUnassignedNote(slave, "spends so much time giving birth and laboring that", `${getPronouns(slave).he} cannot effectively serve as your Farmer any longer`);
V.FarmerID = 0;
} else if (!canWalk(S.Farmer)) {
_printSlaveUnassignedNote(slave, "is no longer independently mobile");
V.FarmerID = 0;
} else if (!canHold(S.Farmer)) {
_printSlaveUnassignedNote(slave, "can no longer grip things");
V.FarmerID = 0;
} else if (!canSee(S.Farmer)) {
_printSlaveUnassignedNote(slave, "can no longer see");
V.FarmerID = 0;
} else if (!canHear(S.Farmer)) {
_printSlaveUnassignedNote(slave, "can no longer hear");
V.FarmerID = 0;
}
if (V.FarmerID === 0) {
removeJob(slave, Job.FARMER);
}
break;
case Job.STEWARD:
if (!canTalk(slave)) {
_printSlaveUnassignedNote(slave, "can't give servants verbal orders");
V.StewardessID = 0;
} else if (slave.preg > 37 && slave.broodmother === 2) {
_printSlaveUnassignedNote(slave, "spends so much time giving birth and laboring that", `${getPronouns(slave).he} cannot effectively serve as your Stewardess any longer`);
V.StewardessID = 0;
} else if (slave.fetish === "mindbroken") {
_printSlaveUnassignedNote(slave, "is mindbroken");
V.StewardessID = 0;
} else if (!canWalk(slave)) {
_printSlaveUnassignedNote(slave, "is no longer independently mobile");
V.StewardessID = 0;
} else if (!canHold(slave)) {
_printSlaveUnassignedNote(slave, `can no longer handle ${getPronouns(slave).his} underlings nor effectively clean`);
V.StewardessID = 0;
} else if (!canSee(slave)) {
_printSlaveUnassignedNote(slave, "can no longer see");
V.StewardessID = 0;
} else if (!canHear(slave)) {
_printSlaveUnassignedNote(slave, "can no longer hear");
V.StewardessID = 0;
}
if (V.StewardessID === 0) {
removeJob(slave, Job.STEWARD);
}
break;
case Job.TEACHER:
if (!canTalk(slave)) {
_printSlaveUnassignedNote(slave, "can't give verbal instruction");
V.SchoolteacherID = 0;
} else if (slave.preg > 37 && slave.broodmother === 2) {
_printSlaveUnassignedNote(slave, "spends so much time giving birth and laboring that", `${getPronouns(slave).he} cannot effectively serve as your Schoolteacher any longer`);
V.SchoolteacherID = 0;
} else if (slave.fetish === "mindbroken") {
_printSlaveUnassignedNote(slave, "is mindbroken");
V.SchoolteacherID = 0;
} else if (!canSee(slave)) {
_printSlaveUnassignedNote(slave, "can no longer see");
V.SchoolteacherID = 0;
} else if (!canHear(slave)) {
_printSlaveUnassignedNote(slave, "can no longer hear");
V.SchoolteacherID = 0;
}
if (V.SchoolteacherID === 0) {
removeJob(slave, Job.TEACHER);
}
break;
case Job.WARDEN:
if (!canWalk(slave)) {
_printSlaveUnassignedNote(slave, "is no longer independently mobile");
V.WardenessID = 0;
} else if (!canHold(slave)) {
_printSlaveUnassignedNote(slave, `can no longer handle ${getPronouns(slave).his} charges`);
V.WardenessID = 0;
} else if (slave.preg > 37 && slave.broodmother === 2) {
_printSlaveUnassignedNote(slave, "spends so much time giving birth and laboring that", `${getPronouns(slave).he} cannot effectively serve as your Wardeness any longer`);
V.WardenessID = 0;
} else if (!canSee(slave)) {
_printSlaveUnassignedNote(slave, "can no longer see");
V.WardenessID = 0;
} else if (!canHear(slave)) {
_printSlaveUnassignedNote(slave, "can no longer hear");
V.WardenessID = 0;
}
if (V.WardenessID === 0) {
removeJob(slave, Job.WARDEN);
}
break;
case Job.ATTENDANT:
if (slave.fetish === "mindbroken") {
_printSlaveUnassignedNote(slave, "is mindbroken");
V.AttendantID = 0;
} else if (slave.preg > 37 && slave.broodmother === 2) {
_printSlaveUnassignedNote(slave, "spends so much time giving birth and laboring that", `${getPronouns(slave).he} cannot effectively serve as your Attendant any longer`);
V.AttendantID = 0;
} else if (!canWalk(slave)) {
_printSlaveUnassignedNote(slave, "is no longer independently mobile");
V.AttendantID = 0;
} else if (!canHold(slave)) {
_printSlaveUnassignedNote(slave, `can no longer support ${getPronouns(slave).his} charges`);
V.AttendantID = 0;
} else if (!canHear(slave)) {
_printSlaveUnassignedNote(slave, "can no longer hear");
V.AttendantID = 0;
}
if (V.AttendantID === 0) {
removeJob(slave, Job.ATTENDANT);
}
break;
case Job.MATRON:
if (slave.fetish === "mindbroken") {
_printSlaveUnassignedNote(slave, "is mindbroken");
V.MatronID = 0;
} else if (slave.preg > 37 && slave.broodmother === 2) {
_printSlaveUnassignedNote(slave, "spends so much time giving birth and laboring that", `${getPronouns(slave).he} cannot effectively serve as your Matron any longer`);
V.MatronID = 0;
} else if (!canWalk(slave)) {
_printSlaveUnassignedNote(slave, "is no longer independently mobile");
V.MatronID = 0;
} else if (!canHold(slave)) {
_printSlaveUnassignedNote(slave, "can no longer hold infants");
V.MatronID = 0;
} else if (!canHear(slave)) {
_printSlaveUnassignedNote(slave, "can no longer hear");
V.MatronID = 0;
} else if (!canSee(slave)) {
_printSlaveUnassignedNote(slave, "can no longer see");
V.MatronID = 0;
}
if (V.MatronID === 0) {
removeJob(slave, Job.MATRON);
}
break;
case Job.NURSE:
if (slave.fetish === "mindbroken") {
_printSlaveUnassignedNote(slave, "is mindbroken");
V.NurseID = 0;
} else if (slave.preg > 37 && slave.broodmother === 2) {
_printSlaveUnassignedNote(slave, "spends so much time giving birth and laboring that", `${getPronouns(slave).he} cannot effectively serve as your Nurse any longer`);
V.NurseID = 0;
} else if (!canWalk(slave)) {
_printSlaveUnassignedNote(slave, "is no longer independently mobile");
V.NurseID = 0;
} else if (!canHold(slave)) {
_printSlaveUnassignedNote(slave, "can no longer hold onto patients");
V.NurseID = 0;
} else if (!canSee(slave)) {
_printSlaveUnassignedNote(slave, "can no longer see");
V.NurseID = 0;
} else if (!canHear(slave)) {
_printSlaveUnassignedNote(slave, "can no longer hear");
V.NurseID = 0;
}
if (V.NurseID === 0) {
removeJob(slave, Job.NURSE);
}
break;
case Job.BODYGUARD:
if (slave.fetish === "mindbroken") {
_printSlaveUnassignedNote(slave, "is mindbroken");
V.BodyguardID = 0;
} else if (!canWalk(slave)) {
_printSlaveUnassignedNote(slave, "is no longer independently mobile");
V.BodyguardID = 0;
} else if (!canHold(slave)) {
_printSlaveUnassignedNote(slave, "is no longer able to hold a weapon");
V.BodyguardID = 0;
} else if (slave.preg > 37 && slave.broodmother === 2) {
_printSlaveUnassignedNote(slave, "spends so much time giving birth and laboring that", `${getPronouns(slave).he} cannot effectively serve as your bodyguard any longer`);
V.BodyguardID = 0;
} else if (!canSee(slave)) {
_printSlaveUnassignedNote(slave, "can no longer see");
V.BodyguardID = 0;
} else if (!canHear(slave)) {
_printSlaveUnassignedNote(slave, "can no longer hear");
V.BodyguardID = 0;
}
if (V.BodyguardID === 0) {
removeJob(slave, Job.BODYGUARD);
}
break;
case Job.SUBORDINATE:
if (slave.subTarget === -1) {
V.StudID = slave.ID;
if (slave.balls === 0) {
_printSlaveUnassignedNote(slave, "no longer has sperm", null, "@Stud");
V.StudID = 0;
} else if (slave.ballType === "sterile") {
_printSlaveUnassignedNote(slave, "no longer produces potent sperm", null, "@Stud");
V.StudID = 0;
} else if (slave.pubertyXY !== 1) {
_printSlaveUnassignedNote(slave, "no longer produces mature sperm", null, "@Stud");
V.StudID = 0;
} else if (slave.vasectomy === 1) {
_printSlaveUnassignedNote(slave, "shoots blanks due to a vasectomy", null, "@Stud");
V.StudID = 0;
} else if (V.universalRulesImpregnation !== "Stud") {
_printSlaveUnassignedNote(slave, "is", "no longer needed as a Stud", "@Stud");
}
if (V.StudID === 0) {
slave.subTarget = 0;
}
}
break;
case Job.AGENT:
{
const arc = V.arcologies.find((a) => a.leaderID === slave.ID);
if (!arc) {
_printSlaveUnassignedNote(slave, "is not assigned to an arcology");
removeJob(slave, Job.AGENT);
} else if (arc.government !== "your agent") {
_printSlaveUnassignedNote(slave, "is assigned to an arcology that is not lead by an agent");
removeJob(slave, Job.AGENT);
}
break;
}
}
if (slave.ID === V.LurcherID) {
if (!canWalk(slave)) {
_printSlaveUnassignedNote(slave, "is no longer able to run", null, Job.LURCHER);
V.LurcherID = 0;
} else if (!canHold(slave)) {
_printSlaveUnassignedNote(slave, "is no longer able to catch the hares", null, Job.LURCHER);
V.LurcherID = 0;
} else if (!canHear(slave) && !canSee(slave)) {
_printSlaveUnassignedNote(slave, "is no longer able to track the hares", null, Job.LURCHER);
V.LurcherID = 0;
} else if (slave.bellyPreg >= 60000) {
_printSlaveUnassignedNote(slave, "is too pregnant to run", null, Job.LURCHER);
V.LurcherID = 0;
}
}
if (V.pit && V.pit.fighterIDs.includes(slave.ID)) {
if (!canWalk(slave)) {
_printSlaveUnassignedNote(slave, "is no longer independently mobile",
`and cannot fight any more. ${getPronouns(slave).He} has been removed from ${App.Entity.facilities.pit.name} roster`);
removeJob(slave, Job.PIT, true);
} else if (!canHold(slave)) {
_printSlaveUnassignedNote(slave, "is no longer able to strike",
`and cannot fight any more. ${getPronouns(slave).he} has been removed from ${App.Entity.facilities.pit.name} roster`);
removeJob(slave, Job.PIT, true);
}
}
}
/**
*
* @param {App.Entity.SlaveState} slave
* @param {string} condition
* @param {string} [outcome]
* @param {string} [assignment]
*/
function _printSlaveUnassignedNote(slave, condition, outcome, assignment) {
const cantServeNotes = new Map([
[Job.HEADGIRL, "cannot serve as your Head Girl any more"],
[Job.RECRUITER, "and cannot serve as your recruiter any more"],
[Job.MADAM, "cannot serve as your Madam any more"],
[Job.DJ, "cannot serve as your DJ any more"],
[Job.MILKMAID, "cannot serve as your Milkmaid any more"],
[Job.FARMER, "cannot serve as your Farmer any more"],
[Job.STEWARD, "cannot serve as your Stewardess any more"],
[Job.TEACHER, "cannot serve as your Schoolteacher any more"],
[Job.WARDEN, "cannot serve as your Wardeness any more"],
[Job.ATTENDANT, "cannot serve as your Attendant any more"],
[Job.BODYGUARD, " cannot serve as your Bodyguard any more"],
["@Stud", "cannot serve as a Stud any more"],
[Job.NURSE, "cannot serve as your Nurse any more"],
[Job.MATRON, "cannot serve as your Matron any more"],
[Job.LURCHER, "cannot course as a lurcher"],
[Job.AGENT, "cannot serve as an Agent any more"]
]);
const warningLine = App.UI.DOM.appendNewElement("div", res);
App.UI.DOM.appendNewElement("span", warningLine, slave.slaveName, 'slave-name');
warningLine.appendChild(document.createTextNode(' ' + condition + ' '));
App.UI.DOM.appendNewElement("span", warningLine, outcome ? outcome : `and ${cantServeNotes.get(assignment || slave.assignment)}`, "yellow");
warningLine.appendChild(document.createTextNode("."));
}
};
/**
* @param {App.Entity.SlaveState} slave
* @returns {Node}
*/
App.EndWeek.favoriteIcon = function(slave) {
if (V.favorites.includes(slave.ID)) {
return App.UI.DOM.makeElement("span", String.fromCharCode(0xe800), ["icons", "favorite"]);
}
return document.createDocumentFragment();
};
|
MonsterMate/fc
|
src/endWeek/slaveAssignmentReport.js
|
JavaScript
|
mit
| 33,271
|
/**
* Generates (and returns if not silent) a standard slave report
* @param {App.Entity.SlaveState} slave
* @param {boolean} silent
* @returns {HTMLElement|null}
*/
App.SlaveAssignment.standardSlaveReport = function(slave, silent=false) {
const clothes = App.SlaveAssignment.choosesOwnClothes(slave);
tired(slave);
const rules = App.UI.DOM.renderPassage("SA rules");
const diet = App.SlaveAssignment.diet(slave);
const ltEffects = App.SlaveAssignment.longTermEffects(slave);
const drugs = App.SlaveAssignment.drugs(slave);
const relationships = App.SlaveAssignment.relationships(slave);
const rivalries = App.SlaveAssignment.rivalries(slave);
const devotion = App.SlaveAssignment.devotion(slave);
if (!silent) {
const content = App.UI.DOM.makeElement("div", '', "indent");
$(content).append(clothes, rules, diet, ltEffects, drugs, relationships, rivalries, `<div class="indent">${devotion}</div>`);
return content;
}
};
|
MonsterMate/fc
|
src/endWeek/standardSlaveReport.js
|
JavaScript
|
mit
| 948
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.