diff --git a/src/js/slaveListing.js b/src/js/slaveListing.js index 703b93773a4d8a927da1bbd6a007d6af89a47501..23876e47e6fd580d799ea15b959116e7cceee425 100644 --- a/src/js/slaveListing.js +++ b/src/js/slaveListing.js @@ -28,14 +28,10 @@ App.UI.SlaveList.render = function() { let passageName; /** @type {App.Entity.SlaveState[]} */ let slaves; - /** @type {boolean} */ - let slaveImagePrinted; // potentially can be a problem if played long enough to reach Number.MAX_SAFE_INTEGER let listID = Number.MIN_SAFE_INTEGER; - const tabStr = "Â Â Â Â "; // 4 * - /** @type {Object.<number, Node>}*/ const readyResults = { @@ -58,7 +54,6 @@ App.UI.SlaveList.render = function() { passageName = passage(); slaves = V.slaves; V.assignTo = passageName; // would be passed to the "Assign" passage - slaveImagePrinted = (V.seeImages === 1) && (V.seeSummaryImages === 1); let res = document.createDocumentFragment(); @@ -217,7 +212,6 @@ App.UI.SlaveList.render = function() { if (postNote !== undefined) { const pn = postNote(slave, index); if (pn) { - res.appendChild(document.createElement('br')); res.appendChild(pn); } } diff --git a/src/uncategorized/dairy.tw b/src/uncategorized/dairy.tw index 1de27cccedcd7aec4fc5dfc3bc27c0380586cc18..6058e919aa73b767147609cea6aa41431c86936c 100644 --- a/src/uncategorized/dairy.tw +++ b/src/uncategorized/dairy.tw @@ -534,16 +534,17 @@ <<else>> You do not have a slave serving as a Milkmaid. [[Appoint one|Milkmaid Select]] <</if>> +<br> <<set _seed = $bioreactorsXY+$bioreactorsXX+$bioreactorsHerm+$bioreactorsBarren>> - -<br><br> -<<if _seed > 1>> - //In addition, _seed milking machines have biological components installed in them.// -<<elseif _seed == 1>> +<<if _seed > 0>> + <<if _seed > 1>> + //In addition, _seed milking machines have biological components installed in them.// + <<else>> //In addition, one milking machine has biological components installed in it.// -<</if>> + <</if>> <br><br> +<</if>> <<print App.UI.SlaveList.listSJFacilitySlaves(_facility)>>