From 57b9df0c0a7dd381b81c763fa48701dc537f3348 Mon Sep 17 00:00:00 2001 From: Pregmodder <pregmodder@gmail.com> Date: Wed, 27 Feb 2019 18:57:45 -0500 Subject: [PATCH] Chattel Religionist likes sacrilegious tats + better blindness indemnification when buying slaves --- src/js/slaveCostJS.js | 12 ++++++++++++ src/uncategorized/remoteSurgery.tw | 2 +- src/uncategorized/saLongTermEffects.tw | 4 ++++ src/utility/descriptionWidgetsFlesh.tw | 2 +- 4 files changed, 18 insertions(+), 2 deletions(-) diff --git a/src/js/slaveCostJS.js b/src/js/slaveCostJS.js index 6a7c8581b9b..c94d90af155 100644 --- a/src/js/slaveCostJS.js +++ b/src/js/slaveCostJS.js @@ -1077,6 +1077,18 @@ window.Beauty = (function() { beauty += 2*V.nicaeaPower; } } + if (arcology.FSChattelReligionist > 40 && arcology.FSBodyPurist === "unset") { + let tats = ["shouldersTat", "lipsTat", "boobsTat", "armsTat", "backTat", "stampTat", "buttTat", "vaginaTat", "dickTat", "anusTat", "legsTat"]; + let sacrilegeCount = 0; + for (var index in tats) { + if (slave[index] === "sacrilege") { + sacrilegeCount++; + } + } + if (sacrilegeCount > 0) { + beauty += (1.5 * sacrilegeCount); + } + } } /** @param {App.Entity.SlaveState} slave */ diff --git a/src/uncategorized/remoteSurgery.tw b/src/uncategorized/remoteSurgery.tw index e5553134aa3..70d25de441a 100644 --- a/src/uncategorized/remoteSurgery.tw +++ b/src/uncategorized/remoteSurgery.tw @@ -1335,7 +1335,7 @@ $He has <</if>> <<if $activeSlave.geneticQuirks.wellHung == 2>> <br> - [[Corret genetic predisposition for large geneitals|Surgery Degradation][$activeSlave.geneticQuirks.wellHung = 0,cashX(forceNeg($surgeryCost*4), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 100,$surgeryType = "gene treatment"]] + [[Corret genetic predisposition for large genitals|Surgery Degradation][$activeSlave.geneticQuirks.wellHung = 0,cashX(forceNeg($surgeryCost*4), "slaveSurgery", $activeSlave), $activeSlave.health -= 40, $activeSlave.chem += 100,$surgeryType = "gene treatment"]] <</if>> <</if>> <br><br> diff --git a/src/uncategorized/saLongTermEffects.tw b/src/uncategorized/saLongTermEffects.tw index 189b69ef627..1b9c88e423d 100644 --- a/src/uncategorized/saLongTermEffects.tw +++ b/src/uncategorized/saLongTermEffects.tw @@ -4959,6 +4959,10 @@ Society @@.green;strongly approves@@ of $his eagerness to transgress against the old world religious mores $he once held dear. <<= FSChangePorn("ChattelReligionist", 2)>> <</if>> + <<if [$slaves[$i].shouldersTat == "sacrilege" && $slaves[$i].lipsTat == "sacrilege" && $slaves[$i].boobsTat == "sacrilege" && $slaves[$i].armsTat == "sacrilege" && $slaves[$i].backTat == "sacrilege" && $slaves[$i].stampTat == "sacrilege" && $slaves[$i].buttTat == "sacrilege" && $slaves[$i].vaginaTat == "sacrilege" && $slaves[$i].dickTat == "sacrilege" && $slaves[$i].anusTat == "sacrilege" && $slaves[$i].legsTat == "sacrilege" && $slaves[$i].fuckdoll == 0>> + Society @@.green;enjoys the sight@@ of the religious sacrilege scrawled across $his skin. + <<= FSChangePorn("ChattelReligionist", 1)>> + <</if>> <</if>> <</if>> /* closes FSAnnounced */ diff --git a/src/utility/descriptionWidgetsFlesh.tw b/src/utility/descriptionWidgetsFlesh.tw index 28d151d5811..c7012fe76ca 100644 --- a/src/utility/descriptionWidgetsFlesh.tw +++ b/src/utility/descriptionWidgetsFlesh.tw @@ -5193,7 +5193,7 @@ $He's got a <<widget "eyeDescription">> <<if $activeSlave.eyes == -2>> <<if $activeSlave.eyeColor != "empty">> - $His eyes are dull and unfocused, + $His eyes are dull<<if $saleDescription == 1 && ($PC.medicine >= 50 || $PC.slaving >= 50)>>, unfocused and clearly nonfunctional<<else>> and unfocused<</if>>, <<else>> $His gaze is empty, <</if>> -- GitLab