From f7b74bbc3ec1cc53bdf3efe1722e77deadcfdf77 Mon Sep 17 00:00:00 2001 From: Jones <Jones> Date: Sat, 28 Dec 2019 15:02:40 +0100 Subject: [PATCH] tweaks --- src/endWeek/healthFunctions.js | 6 +++++- src/uncategorized/spa.tw | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/endWeek/healthFunctions.js b/src/endWeek/healthFunctions.js index ebf5f18282f..46a2023dc2b 100644 --- a/src/endWeek/healthFunctions.js +++ b/src/endWeek/healthFunctions.js @@ -282,7 +282,7 @@ window.tired = function tired(slave) { // Run at the end of the week to take car } // Rewards - if (V.spaSpots > 0 && slave.assignment !== "rest in the spa" && slave.rules.reward === "relaxation" || slave.rules.reward === "situational") { + if (V.spaSpots > 0 && slave.assignment !== "rest in the spa" && (slave.rules.reward === "relaxation" || slave.rules.reward === "situational")) { if (slave.rules.reward === "relaxation") { // Considering the strength of the reward reward += 2; } else { @@ -317,3 +317,7 @@ window.tired = function tired(slave) { // Run at the end of the week to take car H.tired = 0; } }; + +window.tiredFucks = function tiredFucks(slave) { + slave.health.tired += slave.sexAmount / 25; +}; diff --git a/src/uncategorized/spa.tw b/src/uncategorized/spa.tw index 014dc265aea..5be7a0a077c 100644 --- a/src/uncategorized/spa.tw +++ b/src/uncategorized/spa.tw @@ -67,7 +67,7 @@ $spaNameCaps is well-appointed, with massage tables, hot tubs, and a cold pool. <</switch>> -<<set _spaUtilization = 1 - ($spaSpots / $spa * 20)>> +<<set _spaUtilization = 1 - ($spaSpots / ($spa * 20))>> <<if _spaUtilization >= 1>> It's crowded in here. Slaves are relaxing in the warm water, splashing around or just floating. Here and there some of the more sex-starved are in the early stages of intercourse, but most prefer to take time off from it all. Unfortunately there is not enough space for all of your slaves to enjoy the spa. <<elseif _spaUtilization >= 0.5>> -- GitLab