public static void Main(string[] args) { var host = BuildWebHost(args); SeedLogic.InitializeDatabase(host.Services); host.Run(); }
public static void hoeDirtAmount(string s, string[] args) { if (args.Length != 3) { ModCore.CoreMonitor.Log("Error, need to specify 3 paramaters:<Game location name>, <Number of tiles to dig.>, <Radius to search around farmer>"); return; } GameLocation loc = Game1.getLocationFromName(args[0]); if (loc == null) { ModCore.CoreMonitor.Log("Error location " + args[0] + "is not valid"); return; } SeedLogic.makeAsMuchDirtAsSpecifiedAroundFarmer(loc, Convert.ToInt32(args[1]), Convert.ToInt32(args[2])); }
public static void plantSeeds(string s, string[] args) { SeedLogic.plantSeeds(Game1.player.currentLocation); }