diff --git a/src/js/statsChecker/statsChecker.js b/src/js/statsChecker/statsChecker.js index 00fb514fe546c4c25c495f1d057f7a770ed1018e..45e0681696ce01b6a724d4545ffc957796123928 100644 --- a/src/js/statsChecker/statsChecker.js +++ b/src/js/statsChecker/statsChecker.js @@ -479,7 +479,7 @@ globalThis.isPure = function(slave) { }; /** - * @param {App.Entity.SlaveState} slave + * @param {FC.HumanState} slave * @returns {boolean} */ globalThis.isVirile = function(slave) { @@ -1117,7 +1117,7 @@ globalThis.isVegetable = function(slave) { /** * Returns the hair color the slave was (or would be) born with. * - * @param {App.Entity.SlaveState} slave + * @param {FC.HumanState} slave * @returns {string} */ globalThis.getGeneticHairColor = function(slave) { @@ -1130,7 +1130,7 @@ globalThis.getGeneticHairColor = function(slave) { /** * Returns the skin color the slave was (or would be) born with. * - * @param {App.Entity.SlaveState} slave + * @param {FC.HumanState} slave * @returns {string} */ globalThis.getGeneticSkinColor = function(slave) { @@ -1141,7 +1141,6 @@ globalThis.getGeneticSkinColor = function(slave) { }; /** - * * @param {App.Entity.SlaveState} slave * @returns {boolean} */ @@ -1172,13 +1171,17 @@ globalThis.milkFlavor = function(slave) { return `${slave.milkFlavor}-flavored `; }; +/** + * @param {FC.HumanState} slave + * @returns {boolean} + */ globalThis.canBeDeflowered = function(slave) { return (slave.vagina === 0 && canDoVaginal(slave)) || (slave.anus === 0 && canDoAnal(slave)); }; /** * A consolidated function for checking if an actor is currently aroused. - * @param {App.Entity.HumanState} actor + * @param {FC.HumanState} actor * @returns {boolean} */ globalThis.isHorny = function(actor) { diff --git a/src/player/js/PlayerState.js b/src/player/js/PlayerState.js index 54e5149ca8e6ce07d6523bcab73c489d7dfb9afe..ef4f1d8c425ce80ddde5fa79ca3b525179e04f02 100644 --- a/src/player/js/PlayerState.js +++ b/src/player/js/PlayerState.js @@ -2039,6 +2039,10 @@ App.Entity.PlayerState = class PlayerState { * * 0: stable; 1: gaining; -1: losing */ this.weightDirection = 0; + /** Stores the exact colors of the albinism quirk + * @type {{skin:string, eyeColor:string, hColor:string}} + */ + this.albinismOverride = null; // exclusive minor player variables (probably) here /** have you been drugged with fertility drugs *