Ive created a few mods that spawn ore in place of Hematite, Niter and MoonRock but for some reason it also replaces Stone.
Below is an example of Ore Generation that should only replace silver with more silver, but instead it spawns silver everywhere in place of stone.
CustomOreManager.RegisterCustomOre(Substance.Silver, new CustomOreManager.CustomOreParams { chance = 1f, substanceOverride = Substance.Silver, maxSize = 2f, minSize = 0.5f, alpha = 1f });
This applies to all Custom Ore Generation added as it always includes "Substance.Stone" in addition to the Substances specified by mod developer.
Ive created a few mods that spawn ore in place of Hematite, Niter and MoonRock but for some reason it also replaces Stone.
Below is an example of Ore Generation that should only replace silver with more silver, but instead it spawns silver everywhere in place of stone.
CustomOreManager.RegisterCustomOre(Substance.Silver, new CustomOreManager.CustomOreParams { chance = 1f, substanceOverride = Substance.Silver, maxSize = 2f, minSize = 0.5f, alpha = 1f });This applies to all Custom Ore Generation added as it always includes "Substance.Stone" in addition to the Substances specified by mod developer.