Added watered/unwatered toggle for crops

This commit is contained in:
Mohammad Shoaib Khan
2022-08-18 12:18:40 +05:30
parent 2df4cfca27
commit 6d18849f17
3 changed files with 19 additions and 5 deletions

View File

@@ -39,6 +39,14 @@ namespace stardew_access
MainClass.DebugLog("Flooring is " + (MainClass.Config.ReadFlooring ? "on" : "off"));
});
helper.ConsoleCommands.Add("watered", "Toggle speaking watered or unwatered for crops.", (string commmand, string[] args) =>
{
MainClass.Config.WateredToggle = !MainClass.Config.WateredToggle;
helper.WriteConfig(MainClass.Config);
MainClass.DebugLog("Watered toggle is " + (MainClass.Config.WateredToggle ? "on" : "off"));
});
#region Radar Feature
helper.ConsoleCommands.Add("radar", "Toggle radar feature.", (string commmand, string[] args) =>
{