Skip to content

substanceOverride always includes Substance.Stone #4

@Secretname2009

Description

@Secretname2009

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions