From b0e0860a978cdea9efa149fe7c8836d8d84d75a7 Mon Sep 17 00:00:00 2001 From: Pregmodder <pregmodder@gmail.com> Date: Tue, 9 Apr 2019 03:31:00 -0400 Subject: [PATCH] Continued rear lipedema work --- src/js/economyJS.js | 3 +++ src/uncategorized/costsReport.tw | 9 +++++++++ src/uncategorized/saLongTermEffects.tw | 2 +- 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/src/js/economyJS.js b/src/js/economyJS.js index 3c734f1d6c7..f4d4bef0f64 100644 --- a/src/js/economyJS.js +++ b/src/js/economyJS.js @@ -695,6 +695,9 @@ window.getSlaveCost = function(s) { } else if (s.weight < -50) { cost -= foodCost; } + if (s.geneticQuirks.rearLipedema === 2) { + cost += foodCost * 0.2; + } if (s.drugs === 'appetite suppressors') { cost -= foodCost; } diff --git a/src/uncategorized/costsReport.tw b/src/uncategorized/costsReport.tw index ef484800336..be650af5a3e 100644 --- a/src/uncategorized/costsReport.tw +++ b/src/uncategorized/costsReport.tw @@ -531,6 +531,15 @@ $nursery > 0 || $masterSuiteUpgradePregnancy > 0 || $incubator > 0 || <</if>> <<set _individualCosts += $foodCost/2>> <</if>> + <<if ($slaves[$i].geneticQuirks.rearLipedema == 2)>> + <br> + <<if $geneticMappingUpgrade == 1>> + <i>Additional dietary supplements due to lipedema:</i> @@.yellowgreen;<<print cashFormat($foodCost/2)>>@@ + <<else>> + <i>Adjustment for unusual deitary deficiencies:</i> @@.yellowgreen;<<print cashFormat($foodCost/5)>>@@ + <</if>> + <<set _individualCosts += $foodCost/5>> + <</if>> <<if $slaves[$i].drugs == "appetite suppressors">> <br> <i>Food saved via suppressed appetite:</i> //reduced by// @@.yellowgreen;<<print cashFormat($foodCost)>>@@ <<set _individualCosts -= $foodCost>> diff --git a/src/uncategorized/saLongTermEffects.tw b/src/uncategorized/saLongTermEffects.tw index 9e2ccf216c3..d6ff92ba42c 100644 --- a/src/uncategorized/saLongTermEffects.tw +++ b/src/uncategorized/saLongTermEffects.tw @@ -6721,7 +6721,7 @@ <</if>> <</if>> -<<if $slaves[$i].geneticQuirks.rearLipedema == 2 && $slaves[$i].butt < 20>> +<<if $slaves[$i].geneticQuirks.rearLipedema == 2 && $slaves[$i].butt < 20 && $slaves[$i].weight >= -95>> <<if $geneticMappingUpgrade == 1>> $His body @@.lime;continues to lay fat on $his rear@@ due to $his lipedema. <</if>> -- GitLab