Removed Voice from profile.info

Added 'voice' to `profile.Customisation`
This commit is contained in:
Chomp
2025-07-09 17:02:31 +01:00
parent a3d8eb2b81
commit d5fc9be339
5 changed files with 20 additions and 18 deletions
@@ -272,7 +272,9 @@ public class BotGenerator(
);
bot.Info.Settings.UseSimpleAnimator =
botJsonTemplate.BotExperience.UseSimpleAnimator ?? false;
bot.Info.Voice = weightedRandomHelper.GetWeightedValue(botJsonTemplate.BotAppearance.Voice);
bot.Customization.Voice = weightedRandomHelper.GetWeightedValue(
botJsonTemplate.BotAppearance.Voice
);
bot.Health = GenerateHealth(
botJsonTemplate.BotHealth,
botGenerationDetails.IsPlayerScav.GetValueOrDefault(false)