Skip to content
Snippets Groups Projects
Commit 858e4c3b authored by vas's avatar vas
Browse files

fix dieting issues

parent 745268bb
No related branches found
No related tags found
No related merge requests found
......@@ -1197,7 +1197,7 @@ window.DefaultRules = (function() {
function ProcessDiet(slave, rule) {
// Diet Setting
if ((rule.diet !== undefined) && (rule.diet !== "no default setting")) {
if (rule.diet !== undefined && rule.diet !== "no default setting") {
/*
if ((slave.boobs >= 1600) && (slave.muscles <= 5) && (slave.amp != 1) && ((rule.muscles == "no default setting") || (rule.muscles === 0))) {
if ((slave.diet !== "muscle building")) {
......@@ -1206,7 +1206,9 @@ window.DefaultRules = (function() {
}
} else if ((slave.boobs >= 1600) && (slave.muscles > 5) && (slave.diet == "muscle building") && ((rule.muscles == "no default setting") || (rule.muscles === 0))) {
*/
if ((slave.boobs >= 1600) && (slave.muscles > 5) && (slave.diet == "muscle building") && ((rule.muscles == "no default setting") || (rule.muscles === 0))) {
if (rule.diet === "healthy" && slave.diet !== "healthy") {
r += `<br>${slave.slaveName} has been assigned to a healthy diet.`;
} else if ((slave.boobs >= 1600) && (slave.muscles > 5) && (slave.diet == "muscle building") && ((rule.muscles == "no default setting") || (rule.muscles === 0))) {
slave.diet = "healthy";
r += `<br>${slave.slaveName} has huge boobs, but she already has the back muscles to bear them, so she's been assigned to stop working out so hard.`;
} else if ((rule.dietGrowthSupport == 1) && ((slave.drugs == "breast injections") || (slave.drugs == "butt injections")) && (slave.weight <= 95)) {
......
......@@ -1526,6 +1526,7 @@ window.rulesAssistantOptions = (function() {
constructor() {
const diets = [
["no default setting", "no default setting"],
["Healthy diet", "healthy"],
["Fix fat and skinny slaves", "attractive"],
["Curvy", 30],
["Average", 0],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment