From d50dc52ce368e04d9fa8974a30663765abfef512 Mon Sep 17 00:00:00 2001 From: Pregmodder <pregmodder@gmail.com> Date: Wed, 22 Feb 2023 23:08:17 -0500 Subject: [PATCH] Added method to become an albino --- src/events/intro/pcAppearance.js | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/src/events/intro/pcAppearance.js b/src/events/intro/pcAppearance.js index c34f54e0edd..ad43fb8b35d 100644 --- a/src/events/intro/pcAppearance.js +++ b/src/events/intro/pcAppearance.js @@ -70,13 +70,14 @@ App.UI.Player.appearance = function(options, summary = false) { options.addOption("Your body", "markings", V.PC) .addValueList([["Is clear of blemishes", "none"], ["Has light freckling", "freckles"], ["Has heavy freckling", "heavily freckled"]]); - /* - options.addOption("You are", "albinism", V.PC.geneticQuirks) - .addValueList([ - ["An albino", 2], - ["Not an albino", 0], - ]); - */ + if (V.PC.geneticQuirks.albinism === 2 || V.PC.skin === "pure white" || V.PC.eye.origColor === "red" || V.PC.hColor === "white") { + options.addOption("You are", "albinism", V.PC.geneticQuirks) + .addValueList([ + ["An albino", 2], + ["Not an albino", 0], + ]) + .addComment("Once this is set, you may change your hair/eyes/skin without worry. You will generate as an albino."); + } options.addOption("You have", "lips", V.PC).addValue("Thin lips", 5) .addValueList([ -- GitLab