diff --git a/src/js/slaveCostJS.js b/src/js/slaveCostJS.js index 037cae98028a0bf6eb98f87f45e30e7a1069470e..6835d45828d052fd0fe7573911c5613e39334b11 100644 --- a/src/js/slaveCostJS.js +++ b/src/js/slaveCostJS.js @@ -2282,11 +2282,14 @@ globalThis.slaveCost = function(slave, isStartingSlave = false, followLaws = fal const milkYear = milked.cash * 52; if ((milkYear) > cost && !isStartingSlave) { const milkSpan = App.UI.DOM.makeElement("span", cashFormat(milkYear)); - milkSpan.classList.add("has-tooltip"); - tippy(milkSpan, { - content: `Value as a cow is greater than their value as a sex object. Value is based on a year's fluids with current body.`, - placement: "right", interactive: true, trigger: "click" - }); + if (V.cheatMode || V.debugMode) { + milkSpan.tabIndex = 0; + milkSpan.classList.add("has-tooltip"); + tippy(milkSpan, { + content: `Value as a cow is greater than their value as a sex object. Value is based on a year's fluids with current body.`, + placement: "right", interactive: true, trigger: "click" + }); + } return returnDOM ? {cost: milkYear, report: milkSpan} : milkYear; } else { return returnDOM ? {cost: cost, report: costTooltip()} : cost; @@ -2294,7 +2297,6 @@ globalThis.slaveCost = function(slave, isStartingSlave = false, followLaws = fal function costTooltip() { // Make a link. Clicking the link will display detailed info about that over the top of the page (tooltip-style) - console.log("cost: ", cost); const span = App.UI.DOM.makeElement("span", cashFormat(cost)); if (V.cheatMode || V.debugMode) { span.tabIndex = 0;