[FIXED] [Game Version: 0.69.420-PUBLIC#1911] Pleasure Palette Permapaint - Doesn't correctly change the colour of tail genitals

OrangeBurner

Well-Known Member
Mar 13, 2022
305
72
When using the Pleasure Palette Permapaint on your tail genitals it doesn't change the colour of your tail at all.

The Pleasure Palette Permapaint tail changing scene.
Permapaint - Glowing Ember Tailcock scene.png

The Codex after using the Pleasure Palette Permapaint:
Codex - Stats screen after Permapaint.png

I think this is because that the Pleasure Palette Permapaint actually changes tailGentialColor (which isn't used in the code anymore) instead of tailCock.cockColor.
JavaScript:
target.tailGenitalColor = newColor;

JavaScript:
if(tailCock)
{
    target.tailCock.cockColor = newColor;
}
else // Has Tailcunt.
{
    target.tailCunt.vaginaColor = newColor;
}
 

OrangeBurner

Well-Known Member
Mar 13, 2022
305
72
I will also add if it does get changed from tailGentialColor you might also want to change the condictions on the button checking if the tail is the same colour as the colour you are selecting.
JavaScript:
if(target.tailGenitalColor == newColor) addDisabledButton(3, "Tail Genital", "Tail Genital", ("Your tail genital" + (target.tailCount == 1 ? " is" : "ia are") + " already " + newColor + "!"));

JavaScript:
if(target.tailCock.cockColor == newColor || target.tailCunt.vaginaColor == newColor) addDisabledButton(3, "Tail Genital", "Tail Genital", ("Your tail genital" + (target.tailCount == 1 ? " is" : "ia are") + " already " + newColor + "!"));