From 085ff89680f2e9b626c8a3bbe4e283efe30ff03e Mon Sep 17 00:00:00 2001 From: Chomp Date: Fri, 20 Aug 2021 08:34:11 +0100 Subject: [PATCH] improve comments Disable 2 unused bot types for now --- Generator/Program.cs | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/Generator/Program.cs b/Generator/Program.cs index a2b69fb..8fb1c80 100644 --- a/Generator/Program.cs +++ b/Generator/Program.cs @@ -6,7 +6,7 @@ namespace Generator { static void Main(string[] args) { - //TODO: pass these into functions to act as whitelist + // Create list of bots we want to process string[] botTypes = { "assault", "marksman", @@ -22,7 +22,7 @@ namespace Generator "followergluharassault", "followergluharscout", "followergluharsecurity", - "followergluharsnipe", + //"followergluharsnipe", "followerkojaniy", "followersanitar", //"followerstormtrooper", @@ -33,10 +33,9 @@ namespace Generator "sectantwarrior", }; - // Read raw bot dumps from live and turn into c# objects + // Read raw bot dumps and turn into c# objects var workingPath = Directory.GetCurrentDirectory(); var dumpPath = $"{workingPath}//dumps"; - var botParser = new BotParser(dumpPath); var parsedBots = botParser.Parse(); @@ -51,11 +50,11 @@ namespace Generator var baseBotGenerator = new BaseBotGenerator(parsedBots, workingPath, botTypes); var baseBots = baseBotGenerator.AddBaseDetails(); - // Add weapons/armor to bot + // Add weapons/armor to bots var botGearGenerator = new BotGearGenerator(baseBots, parsedBots); var botsWithGear = botGearGenerator.AddGear(); - // Add loot to bot + // Add loot to bots var botLootGenerator = new BotLootGenerator(botsWithGear, parsedBots); var botsWithGearAndLoot = botLootGenerator.AddLoot();