Randomizes more humanoid appearances (#27997)
This commit is contained in:
@@ -25,6 +25,9 @@ public sealed class RandomHumanoidAppearanceSystem : EntitySystem
|
||||
}
|
||||
|
||||
var profile = HumanoidCharacterProfile.RandomWithSpecies(humanoid.Species);
|
||||
//If we have a specified hair style, change it to this
|
||||
if(component.Hair != null)
|
||||
profile = profile.WithCharacterAppearance(profile.Appearance.WithHairStyleName(component.Hair));
|
||||
|
||||
_humanoid.LoadProfile(uid, profile, humanoid);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user