Registers a category title for use in menus.
Registers a category title for use in menus.
1 string categoryID
the category ID.
2 string title
the title to use in menus for the category.
3 bool invisible
whether this category is invisible.
4 table description
the mouse-over text config.
5 bool noQualityHeader
if true, then the genre-aspect matching will not be calculated nor shown.
6 number priorityValue
the default priority value of this category.
7 string icon
the icon quad name for this category.
local genericMMOWarning = { text = _T("MMO_TASK_WARNING", "Be careful, as not all MMO-specific tasks work well with every single genre."), font = "bh18", icon = "exclamation_point", iconWidth = 20, iconHeight = 20 }, taskTypes:registerCategoryTitle("game_mmo_progression", _T("GAME_CATEGORY_MMO_PROGRESSION", "MMO - Progression"), false, { { text = _T("MMO_PROGRESSION_DESCRIPTION", "Select the player progression type."), font = "pix18", lineSpace = 5 }, genericMMOWarning }, true, nil, "category_progression") -- last argument is icon