ESODecoded

GetMaxSimultaneousSmithingResearch

ESO Lua API function — used by 29 of the 3,030 addons we indexed (combined 12,714,531 downloads). Signature from the official ESOUIDocumentation.txt, API version 101050.

Official signature

GetMaxSimultaneousSmithingResearch([TradeskillType|#TradeskillType] craftingSkillType)

Returns: integer maxSimultaneousResearch

Real usage — from CraftStore

    local _, rank = GetSkillLineInfo(skillType,skillId)
    return {level = GetNonCombatBonus(bonus) or 1, rank = rank, maxsim = GetMaxSimultaneousSmithingResearch(craft) or 1}
  end

Short excerpt from the shipping addon CraftStoreits ESOUI page; the code belongs to its author. Shown because documentation without a working example is half a reference.

Most-downloaded addons using it

AddonTotal downloads
CraftStore5,176,147
LibFilters-3.02,063,617
LibCharacterKnowledge1,771,857
TraitBuddy1,101,730
Character Knowledge (Research, Motif, Recipe, Furnishing Plan and Scribing Tracker)733,709
Wykkyd Toolbar567,448