diff --git a/Common.Models/BotType.cs b/Common.Models/BotType.cs index 1d57827..fa2cc3f 100644 --- a/Common.Models/BotType.cs +++ b/Common.Models/BotType.cs @@ -53,7 +53,11 @@ pmcusec = 51, skier = 52, peacemaker = 53, - bosspartisan = 54 - + bosspartisan = 54, + infectedassault = 55, + infectedpmc = 56, + infectedcivil = 57, + infectedlaborant = 58, + infectedtagilla = 59 } } diff --git a/Common.Models/Input/Settings.cs b/Common.Models/Input/Settings.cs index 03446d3..3191a68 100644 --- a/Common.Models/Input/Settings.cs +++ b/Common.Models/Input/Settings.cs @@ -12,6 +12,7 @@ namespace Common.Models.Input public int Experience { get; set; } public object StandingForKill { get; set; } public object AggressorBonus { get; set; } + public bool UseSimpleAnimator { get; set; } } public class Info diff --git a/Common.Models/Output/Output.cs b/Common.Models/Output/Output.cs index 4cf0a7a..2a1f4dd 100644 --- a/Common.Models/Output/Output.cs +++ b/Common.Models/Output/Output.cs @@ -69,12 +69,14 @@ public class Experience reward = new MinMax(-1, -1); standingForKill = -0.02; aggressorBonus = 0.01; + useSimpleAnimator = false; } public MinMax level { get; set; } public MinMax reward { get; set; } public object standingForKill { get; set; } public object aggressorBonus { get; set; } + public bool useSimpleAnimator { get; set; } } public class BodyParts diff --git a/Generator/BaseBotGenerator.cs b/Generator/BaseBotGenerator.cs index 9dda1ec..36e8be6 100644 --- a/Generator/BaseBotGenerator.cs +++ b/Generator/BaseBotGenerator.cs @@ -45,6 +45,7 @@ namespace Generator AddExperience(botToUpdate, rawBotsOfSameType); AddStandingForKill(botToUpdate, rawBotsOfSameType); AddSkills(botToUpdate, rawBotsOfSameType); + botToUpdate.experience.useSimpleAnimator = rawBotsOfSameType.First().Info.Settings.UseSimpleAnimator; foreach (var rawParsedBot in rawBotsOfSameType) {