Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags
(-1)

Hair wasn't working for me. I am just using some portrait packs that claimed they worked with the randomportrait mod. 

I updated my portrait.gd file with this:

hairColors = []
# TODO: Build this list of possible hair colors dynamically?
# Note: This list doubles as fur color for beastkin/halfkin as they have no hair color set.
for color in ['Auburn', 'Black', 'Black_Gray', 'Black_White', 'Blond', 'Blue', 'Brown', 'Gray', 'Green', 'Jelly', 'Orange', 'Orange_White', 'Purple', 'Red', 'White']:
    filterRegex.compile(color.replace(' ','') + "(?!skin)")
    if filterRegex.search(file):
        hairColors.append(color.to_lower())


Seemed to fix the issue. 

Thanks guys!

(1 edit)

Yeah. My version of the portraitpackeditor saves the portraits with lowercase hair colors, so that's how the mod is configured, but if one has portraitpacks with capitalized hair colors that'll fix it. It should check the lowercase versions too, but apparently that doesn't work.