Skip to content

UniversalStorage2 not shown as own category #47

@Gordon-Dry

Description

@Gordon-Dry

But it should, as the config is crystal clear:
GameData\000_FilterExtensions_Configs\Default\Mod_UniversalStorage.cfg

CATEGORY:NEEDS[UniversalStorage]
{
    name = UniversalStorage
    icon = UniversalStorage
    colour = #FFF0F0F0
    all = true
    
    FILTER
    {
        CHECK
        {
            type = folder
            value = UniversalStorage
        }
    }
    
    SUBCATEGORIES
    {
        list = 0,Pods
        list = 1,Fuel Tanks
        list = 2,Engines
        list = 3,Command and Control
        list = 4,Structural
        list = 5,Aerodynamics
        list = 6,Utility
        list = 7,Science
        list = 8,Undefined
    }
}

CATEGORY:NEEDS[UniversalStorage2]
{
    name = UniversalStorage2
    icon = UniversalStorage
    colour = #FFF0F0F0
    all = true
    
    FILTER
    {
        CHECK
        {
            type = folder
            value = UniversalStorage2
        }
    }
    
    SUBCATEGORIES
    {
        list = 0,Pods
        list = 1,Fuel Tanks
        list = 2,Engines
        list = 3,Command and Control
        list = 4,Structural
        list = 5,Coupling
        list = 6,Payload
        list = 7,Aerodynamics
        list = 8,Electrical
        list = 9,Science
        list = 10,Utility
        list = 11,Undefined
    }
}

Could it be that the code just sees the "UniversalStorage" and ignores the following "2" and so ignores the existance of the folder "UniversalStorage2"?

As far as I can remember it worked flawless before my last hiatus, about a year ago.

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