Module:ModuleData/Order

From Official Gamemode 4 Wiki
Jump to navigation Jump to search

Documentation for this module may be created at Module:ModuleData/Order/doc

return {
    {
        source = "title";
        tag = "title";
        label = "";
        default = "pagename";
    };
    {
        source = "image";
        tag = "image";
        label = "";
        default = "imageNotYetReleased";
    };
    {
        source = "imagecaption";
        tag = "imagecaption";
        label = "imagecaption";
        default = "";
    };
    {
        source = "lag";
        tag = "data";
        label = "lagLevel";
        default = "unknown";
        special = {
            {
                transform = "string";
                require = {
                    count = 1;
                };
                result = "$/5";
            };
            {
                require = {
                    type = "string";
                    count = 3;
                };
                result = "$";
            };
        };
    };
    --[[{
        source = "game";
        tag = "data";
        label = "gameStandard";
        default = "unknown";
        special = {
            {
                transform = "string";
                require = {
                    count = 1;
                };
                result = "$/5";
            };
            {
                require = {
                    type = "string";
                    count = 3;
                };
                result = "$";
            }
        }
    };]]
    {
        source = "madeBy";
        tag = "data";
        label = "madeBy";
        default = "unknown";
    };
    {
        source = "dimensions";
        tag = "data";
        label = "moduleDimension";
        default = "unknown";
        special = {
            {
                require = {
                    type = "string";
                };
                result = "$";
            };
            {
                require = {
                    type = "table";
                    count = 3;
                };
                result = {
                    format = {1; "dimensionsMultiply"; 2; "dimensionsSeparator"; 3; "high"};
                    separatorMid = " ";
                    separatorEnd = " ";
                };
            };
        };
    };
    {
        source = "required";
        tag = "data";
        label = "requiredModules";
        default = "none";
    };
    {
        source = "compatible";
        tag = "data";
        label = "compatibleModules";
        default = "none";
    };
    {
        source = "mmRarity";
        tag = "data";
        label = "mmRarity";
        default = "";
    };
    {
        source = "versions";
        tag = "data";
        label = "availableVersions";
        default = "";
    };
}