// Load config and other one-off data private void SaveEvents_AfterLoad(object sender, EventArgs e) { SecondaryNpcs = new Dictionary <string, bool> { { "Kent", false }, { "Marlon", false }, { "Merchant", false }, { "Sandy", false }, { "Wizard", false } }; CustomHandler.UpdateCustomNpcs(); NpcNames = CustomHandler.GetNpcNames(); MarkerCrop = CustomHandler.GetMarkerCrop(); UpdateFarmBuildingLocs(); }
// Load config and other one-off data private void SaveEvents_AfterLoad(object sender, EventArgs e) { SecondaryNpcs = new Dictionary <string, bool> { { "Kent", false }, { "Marlon", false }, { "Merchant", false }, { "Sandy", false }, { "Wizard", false } }; CustomHandler.UpdateCustomNpcs(); NpcNames = CustomHandler.GetNpcNames(); MarkerCrop = CustomHandler.GetMarkerCrop(); // Preload UpdateFarmBuildingLocs(); ResetMarkers(); UpdateMarkers(true); ModMapPage = new ModMapPage(NpcMarkers, NpcNames, FarmerMarkers, Helper, Config); }