Closed mus-candidus closed 2 years ago
Thank you for the kind words!
Unfortunately, committing this PR would break many existing Fashion Sense packs (including accessories available in the example pack, such as the One Winged Angel).
There is a lot of magic numbering involved with the player's draw logic in Stardew Valley, which is inherently worked around with in Fashion Sense. One of the upcoming updates in SDV 1.6 should resolve this and hopefully help FS do away with much of the messy logic.
I've updated your example accessory.json
to utilize the DrawBeforeHair
property, which should do what you are looking for. A full list of accessory related properties can be found on the repository's wiki.
First of all, FashionSense is great! I tried to use accessory as a secondary hair layer to be able to recolor the sides of a mohawk differently. This didn't work so I adjusted the layerFix variable. The result seems to work well for that use case and the code is even simpler than before. Test content pack attached.
BuzzcutAsAccessory.zip