From 5e7a410ede31c2383ea0e0fc8f7b2f4029734631 Mon Sep 17 00:00:00 2001 From: Svornost <11434-svornost@users.noreply.gitgud.io> Date: Mon, 29 Aug 2022 10:55:12 -0400 Subject: [PATCH] Several small fixes. --- js/medicine/surgery/exotic/treatment.js | 2 +- src/endWeek/player/prDiet.js | 2 +- src/gui/Encyclopedia/encyclopediaBeingInCharge.js | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/js/medicine/surgery/exotic/treatment.js b/js/medicine/surgery/exotic/treatment.js index 31fd7b00ce1..c0ed5c9ae41 100644 --- a/js/medicine/surgery/exotic/treatment.js +++ b/js/medicine/surgery/exotic/treatment.js @@ -148,7 +148,7 @@ App.Medicine.Surgery.Procedures.RemoveGene = class extends App.Medicine.Surgery. App.Medicine.Surgery.Procedures.AddGene = class extends App.Medicine.Surgery.Procedure { /** * @param {App.Entity.SlaveState} slave - * @param {string} gene + * @param {keyof FC.GeneticQuirks} gene * @param {boolean} [activation=false] Activation or inducement */ constructor(slave, gene, activation = false) { diff --git a/src/endWeek/player/prDiet.js b/src/endWeek/player/prDiet.js index b597b57253c..dc428a71812 100644 --- a/src/endWeek/player/prDiet.js +++ b/src/endWeek/player/prDiet.js @@ -76,7 +76,7 @@ App.EndWeek.Player.diet = function(PC = V.PC) { r.push(`You stick to an unusual diet full of exotic foods and drinks, both rumored and proven, to boost your sexual energy.`); // This should increase .need if (PC.dick.isBetween(0, 3) && random(1, 100) > 95) { - r.push(`You feel like you're a bit biggger down there. A quick measuring confirms <span class="change positive">your dick has gotten fatter.</span>`); + r.push(`You feel like you're a bit bigger down there. A quick measuring confirms <span class="change positive">your dick has gotten fatter.</span>`); PC.dick += 1; } if ((PC.geneMods.NCS === 0 && PC.balls.isBetween(0, 6) && random(1, 100) > 95) || (PC.geneMods.NCS === 1 && PC.balls.isBetween(0, 3) && random(1, 100) > 99)) { diff --git a/src/gui/Encyclopedia/encyclopediaBeingInCharge.js b/src/gui/Encyclopedia/encyclopediaBeingInCharge.js index 78a480cbcba..c78f025db0a 100644 --- a/src/gui/Encyclopedia/encyclopediaBeingInCharge.js +++ b/src/gui/Encyclopedia/encyclopediaBeingInCharge.js @@ -272,9 +272,9 @@ App.Encyclopedia.addArticle("PC Skills", function() { App.Encyclopedia.addArticle("Drug grades and you", function() { const f = new DocumentFragment(); App.Events.addNode(f, ["There exist a trio of important differences between consumer-grade drugs made for citizens and slave-grade drugs reserved for chattel:"], "div"); - App.Events.addNode(f, [`${App.UI.DOM.makeElement("span", "Health", ["strong"])}: Consumer drugs generally lack the side-effects associated with long term slave-grade drug use. It is also far more difficult to accidentally ruin your body with their use.`], "div"); - App.Events.addNode(f, [`${App.UI.DOM.makeElement("span", "Strength", ["strong"])}: Overall, consumer drugs are weaker by comparison as a trade off for the improved health benefits. This does not mean they are necessarily worse, however; they are slower, but more consistent and able to confer their benefits past the point that slave-grade injections would cease to be reasonable.`], "div"); - App.Events.addNode(f, [`${App.UI.DOM.makeElement("span", "Price", ["strong"])}: With most production focused on cheap slave-grade drugs, consumer drugs run at a premium and usually require a physician to prescribe them.`], "div"); + App.Events.addNode(f, [App.UI.DOM.makeElement("span", "Health:", ["strong"]), `Consumer drugs generally lack the side-effects associated with long term slave-grade drug use. It is also far more difficult to accidentally ruin your body with their use.`], "div"); + App.Events.addNode(f, [App.UI.DOM.makeElement("span", "Strength:", ["strong"]), `Overall, consumer drugs are weaker by comparison as a trade off for the improved health benefits. This does not mean they are necessarily worse, however; they are slower, but more consistent and able to confer their benefits past the point that slave-grade injections would cease to be reasonable.`], "div"); + App.Events.addNode(f, [App.UI.DOM.makeElement("span", "Price:", ["strong"]), `With most production focused on cheap slave-grade drugs, consumer drugs run at a premium and usually require a physician to prescribe them.`], "div"); return f; }, "beingInCharge"); -- GitLab