Skip to content

Add settings to ignore sub-grids when counting small and large grids. #114

@MartinAndreev

Description

@MartinAndreev

Hey, I really like the plugin, but we are having a small issue, where subgrids are being counted as not part of the grid. Checked your code, and found a way it can be added as a setting, but adding an additional check

 sb.AppendLine($"Small Grid Block Limits");
 foreach (var grid in grids.Where(x=> x.BlocksCount > 0 && x.GridSizeEnum == MyCubeSize.Small && grids.Count(y => y.IsSameConstructAs(x)) == 0))
                        {

that checks if it's connected in any way to the grid.

https://github.com/malware-dev/MDK-SE/wiki/VRage.Game.ModAPI.Ingame.IMyCubeGrid.IsSameConstructAs

Is there a way that this can be added to the plugin?

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