From bf5749e63b6d17766550e03ddf65543870a29a00 Mon Sep 17 00:00:00 2001
From: x <okp57855@psoxs.com>
Date: Fri, 28 Sep 2018 08:53:12 +1200
Subject: [PATCH] Mirroring fixing pregType food costs

---
 devNotes/twine JS.txt | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/devNotes/twine JS.txt b/devNotes/twine JS.txt
index 67e059d4660..98711ecd366 100644
--- a/devNotes/twine JS.txt	
+++ b/devNotes/twine JS.txt	
@@ -2260,14 +2260,14 @@ window.getSlaveCost = function(s) {
 			// TODO: Include them here anyway?
 		} else {
 			cost += foodCost * s.pregType * (s.pregControl === 'speed up' ? 3 : 1);
-			if (s.pregType >= 10) {
-				cost += foodCost * s.pregType * (s.pregControl === 'speed up' ? 3 : 1);
-			} else if (s.pregType >= 30) {
-				cost += foodCost * 2 * s.pregType * (s.pregControl === 'speed up' ? 3 : 1);
+			if (s.pregType >= 100) {
+				cost += foodCost * 5 * s.pregType * (s.pregControl === 'speed up' ? 3 : 1);
 			} else if (s.pregType >= 50) {
 				cost += foodCost * 3 * s.pregType * (s.pregControl === 'speed up' ? 3 : 1);
-			} else if (s.pregType >= 100) {
-				cost += foodCost * 5 * s.pregType * (s.pregControl === 'speed up' ? 3 : 1);
+			} else if (s.pregType >= 30) {
+				cost += foodCost * 2 * s.pregType * (s.pregControl === 'speed up' ? 3 : 1);
+			} else if (s.pregType >= 10) {
+				cost += foodCost * s.pregType * (s.pregControl === 'speed up' ? 3 : 1);
 			}
 		}
 	}
-- 
GitLab