Added categories in focus mode and organized code

This commit is contained in:
shoaib11120
2022-01-22 11:57:51 +05:30
parent 590fe5288f
commit aca9888a80
3 changed files with 141 additions and 102 deletions

View File

@@ -45,7 +45,7 @@ namespace stardew_access
helper.ConsoleCommands.Add("rfocus", "Toggle focus mode in radar feature.", (string commmand, string[] args) =>
{
bool focus = MainClass.radarFeature.toggleFocus();
bool focus = MainClass.radarFeature.ToggleFocus();
MainClass.monitor.Log("Focus mode is " + (focus? "on" : "off"), LogLevel.Info);
});
@@ -85,7 +85,7 @@ namespace stardew_access
}
else
{
MainClass.monitor.Log($"Cannot find{keyToAdd} key in exclusions.", LogLevel.Info);
MainClass.monitor.Log($"Cannot find {keyToAdd} key in exclusions.", LogLevel.Info);
}
}
else
@@ -150,7 +150,7 @@ namespace stardew_access
}
else
{
MainClass.monitor.Log($"Cannot find{keyToAdd} key in focus.", LogLevel.Info);
MainClass.monitor.Log($"Cannot find {keyToAdd} key in focus.", LogLevel.Info);
}
}
else