Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Silight

1
Posts
A member registered Dec 19, 2020

Recent community posts

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!