Overview
Addons currently utilizing this Library:
Addons currently utilizing this Library:
Dolgubon's Lazy Writ Crafter
Dolgubon's Lazy Set Crafter
Writ Worthy
Lazy Alchemy Learner
Leo's Trainer
Aldanga's Lazier Writ Precrafter
If you use one of those addons you MUST download this library!
What does LibLazyCrafting Do?
- General crafting improvements:
- Allows addons to queue items to be crafted anywhere, not just at the relevant crafting station. No need to deal with craft station events.
- Tells you when an item your addon requested is crafted, and where in the bag it is located
- Provides functions to inform you need to craft an item
- Allows addons to use some crafting related functions anywhere, not just at a crafting station
- Smithing improvements:
- Allows addons to create a piece of gear at any quality with just one function
- Abstracts away the confusing material index and material amount Smithing parameters, letting you simply use CP and level parameters instead
- Other craft skill improvements:
- Extends crafting functions to allow the use of itemIds in consumables
If you want your addon to craft items, LibLazyCrafting can help! If there's a crafting functionality you'd like that isn't in LLC, let me know and I'll see what I can do for it.
Github link: https://github.com/Dolgubon/LibLazyCrafting
Note: The github link now has complete documentation in the readme - please check there! The documentation below is not as complete or up to date.
General Usage
Note: The documentation on esoui is just a sample. To see the full documentation, please check the github link above.
Add the following to your manifest.txt file:
## DependsOn: LibLazyCrafting
Next, register your addon with LibLazyCrafting (LLC) in the addon initialized function:
local interactionTable = LibLazyCrafting:AddRequestingAddon(String addonName, boolean autoCraft, function callbackFunction, string optionalDebugAuthor, table optionalStyleTable)
String addonName: The name of the requesting addon.
boolean autoCraft: Whether requests from this addon should by default be crafted as soon as possible
function callbackFunction ( String event, integer CraftingType, table requestTable) : The function that should be called when a requested craft is either complete, or failed for some reason. Not all parameters will always be returned
string optionalDebugAuthor: This is optional and if you give it your name, then it'll do debug messages when the character name matches. Not sure how good the debug message coverage is.
table optionalStyleTable: This is used if you do no choice/max style for crafting equippable gear. Basically, these are what styles LLC can use. You can still manually choose to use other styles if you want.
returns: An interaction table with which your addon can call the various functions provided by LLC. This interaction table contains most of the functions LLC provides.
Smithing
Functions available:
CraftSmithingItem( integer patternIndex, integer materialIndex, integer materialQuantity, integer styleIndex, integer traitIndex, boolean useUniversalStyleItem, integer:nilable stationOverride, integer:nilable setIndex, integer:nilable quality, boolean:nilable autocraft, anything:nilable reference)
This is the main function in this module. patternIndex, materialIndex, materialQuantity, styleIndex, traitIndex, and useUniversalStyleItem act in the same way as the ZOS provided CraftSmithingItem's parameters do.
stationOverride: Allows you to set a specific crafting station. Default is the station you are at. If you are not at a station the function will fail.
setIndex: An integer determining the crafted set you wish to create. The default is 1, which signifies no set. A list of set indexes can be found in the Smithing.lua file, or with GetSetIndexes()
quality: One of the ITEM_QUALITY global constants. The default is white quality.
autocraft: Determines if the library will craft the item. If it is false, the library will keep it in queue until the requesting addon tells it to craft the item.
reference: This can be any type of data. It lets your addon to identify the request, to delete it, craft it, and know when it is complete. The default is the empty string.potencyId, essenceId, aspectId: If you want to create equipment with glyphs, use these parameters
quantity: How many to make
returns: The request table, which contains all the information about the craft request.
InteractionTable:isSmithingLevelValid(boolean isCP, integer lvl)
returns boolean isValidSmithingLevel -- This returns true if equipment can be created at that level
CraftSmithingItemByLevel -- The second and third parameters are replaced by boolean isCP, integer level. The materialIndex and materialQuantity conversions are handled internally by LLC, but it is otherwise the same as CraftSmithingItem
ImproveSmithingItem
GetCurrentSetInteractionIndex
GetMatRequirements
compileRequirements
GetSetIndexes
GetSmithingResultLink -- IN PROGRESS
AddExistingGlyphToGear(existingRequestTable, glyphBag, glyphSlot)
- Takes in the bag and glyph slots of an existing piece of gear, and an existing craft request table, and then will apply that glyph to the gear once the gear is created
AddGlyphToExistingGear(existingRequestTable, gearBag, gearSlot)
- Same as the above, but the gear already exists, and you're waiting on the glyph to be made
Provisioning
CraftProvisioningItemByRecipeId
Alchemy
CraftAlchemyPotion
Enchanting
CraftEnchantingGlyph
AddExistingGlyphToGear(existingRequestTable, glyphBag, glyphSlot)
- Takes in the bag and glyph slots of an existing piece of gear, and an existing craft request table, and then will apply that glyph to the gear once the gear is created
AddGlyphToExistingGear(existingRequestTable, gearBag, gearSlot)
- Same as the above, but the gear already exists, and you're waiting on the glyph to be madeEnchantAttributesToGlyphIds(isCP, level, enchantId, quality) returns potencyId, essenseId, aspectId
Examples
Note: LLC_Global is a global queue meant only for testing and exploration.
/script LLC_Global:CraftSmithingItemByLevel(3, true, 150,3 ,1 ,false, CRAFTING_TYPE_CLOTHIER, 0, 3,true) -- crafts a blue CP150 shoes
/script for i= 2, 25 do LLC_Global:CraftSmithingItemByLevel(3, false, i*2,3 ,1 ,false, CRAFTING_TYPE_CLOTHIER, 0, 3,true) end -- Crafts lvl 4,6, 8, 10, etc. up to lvl 50. The items will be blue shoes.
/script LLC_Global:CraftEnchantingItemId(45830, 45838, 45851) -- Crafts a Monumental Glyph of Flame Resist
ABOUT THIS LISTING
This page describes LibLazyCrafting by Dolgubon. The description and screenshots are the author's own, imported from their listing on ESOUI on 14 August 2026: https://www.esoui.com/downloads/info1594-LibLazyCrafting.html
Mythiq hosts no files for it. The download button goes straight to the release file on cdn.esoui.com, so you are downloading from the author's own host, not from a copy of ours.
The download count, rating and comments on this page start at zero and count Mythiq only. The source's own figures are not copied here — they measure a different site, and a number that cannot be checked against our own ledger is not worth printing.