Project Zomboid

Project Zomboid

1,004 个评价
Spongie's Hair API
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
199.201 KB
2023 年 9 月 26 日 下午 2:04
2024 年 12 月 26 日 下午 1:26
3 项改动说明 ( 查看 )

订阅以下载
Spongie's Hair API

在 spongie 的 2 个合集中
Spongie Cool Mods
7 件物品
Hair Mods
17 件物品
描述
Supports B41 and B42

This mod un-hardcodes some features from the base game and fixes some bugs.

All hairstyles of the same length are now available when cutting your hair in-game
This removes the issue where you cannot switch from a vanilla hairstyle to a modded one (or between hairstyles from different mods).


This problem happens because Zomboid needs you to give a hairstyle it's own selection of "trim choices" that are available when using scissors. Unfortunately there doesn't seem to be any way to modify trim choices through LUA which makes it impossible to add new hairstyles to the trim choices of vanilla hairstyles or ones from other mods.

This mod replaces the functions used when cutting your hair to remove the trim choices check entirely, so every hairstyle of the same length or shorter is available to choose.

Other Changes
Some hairstyles (specifically mohawks) are hardcoded to require hairgel and hairspray - this mod allows modded hairstyles to use this feature, as well as optionally being able to switch to a flattened hairstyle after wearing a hat.

Also fixes a bug where the hair growth timer is reset when tying and untying hair

Should be compatible with Improved Hair Menu if this is loaded after



Also check out these other mods:



[ko-fi.com]


Workshop ID: 3041733782
Mod ID: SpnHairAPI
15 条留言
Shizu 1 月 7 日 下午 1:59 
Cant change to the Hairstyle "Power", its not in the List when i try to change my Hair.
spongie  [作者] 2024 年 12 月 22 日 上午 11:52 
lifestyles has its own hair selection menu i think which probably conflicts
nakahashi 2024 年 12 月 22 日 上午 11:28 
same only getting vanilla haircut options with lifestyles
LoboOscuro 2024 年 12 月 19 日 下午 4:04 
Thankyou for updating your mods, they're amazing!
Barc 2024 年 12 月 3 日 下午 8:33 
Not sure if it works in multiplayers, using Lifestyles as well. Only getting vanilla haircut options
PAIN 2024 年 6 月 17 日 下午 7:59 
10/10
Morgan 2024 年 3 月 28 日 下午 6:15 
May I use this in my modpack?
Hasa 2024 年 2 月 18 日 上午 6:20 
It is not compatible with Improved Hair Menu, when SpnHairAPI enabled, the improved hair menu don't work anymore, maybe bc I use too much hair mods idk
Hawk 2024 年 1 月 13 日 下午 8:38 
is it usable in multiplayer?
Orange Juice 2024 年 1 月 4 日 下午 5:25 
how to get working in MP