forked from chomp/BotGenerator
More debug logging
This commit is contained in:
parent
c93cd634d6
commit
b305dc16d6
@ -14,6 +14,13 @@ namespace Generator
|
|||||||
var botParser = new BotParser(workingPath, dumpPath, botTypes);
|
var botParser = new BotParser(workingPath, dumpPath, botTypes);
|
||||||
var parsedBots = botParser.Parse();
|
var parsedBots = botParser.Parse();
|
||||||
|
|
||||||
|
if (parsedBots.Count == 0)
|
||||||
|
{
|
||||||
|
Helpers.LoggingHelpers.LogToConsole("no bots found, unable to continue");
|
||||||
|
Helpers.LoggingHelpers.LogToConsole("Check your dumps are in 'Generator\\bin\\Debug\\netcoreapp3.1\\dumps' and start with 'resp.' NOT 'req'");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
// Generate the base bot class and add basic details (health/body part hp etc)
|
// Generate the base bot class and add basic details (health/body part hp etc)
|
||||||
var baseBotGenerator = new BaseBotGenerator(parsedBots);
|
var baseBotGenerator = new BaseBotGenerator(parsedBots);
|
||||||
var baseBots = baseBotGenerator.AddBaseDetails();
|
var baseBots = baseBotGenerator.AddBaseDetails();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user