[outdated] Feature Request Add craft/upgrade/decon to EVENT_CRAFT_STARTED/COMPLETED
So currently EVENT_CRAFT_STARTED and EVENT_CRAFT_COMPLETED return (integer craftSkill), which will be one of these values:
CRAFTING_TYPE_INVALID = 0 CRAFTING_TYPE_BLACKSMITHING = 1 CRAFTING_TYPE_CLOTHIER = 2 CRAFTING_TYPE_ENCHANTING = 3 CRAFTING_TYPE_ALCHEMY = 4 CRAFTING_TYPE_PROVISIONING = 5 CRAFTING_TYPE_WOODWORKING = 6 I'd like to see if it would be possible to add the type of crafting you are doing in each subcategory for Blacksmithing, Clothing and Woodworking. - Refine - Creation - Deconstruct - Improvement - Research I'm currently making a component for LUI that prints crafting changes to the chatlog, and it is context sensitive: While I can use the itemtype of the item and whether we gained or lost an item to fudge alot of it, that still leaves me with any items lost from failed upgrades or research with the same [Deconstructed] syntax that I have for deconstructing the item, since its not possible to differentiate between the method used that caused loss of the item. Thanks! |
Lua Code:
replace TABLE with SMITHING, ALCHEMY, ENCHANTING (I guess) or COOKING. |
Quote:
|
"Mode" is the crafting tab it is on. So it should return an integer in correlation with their left to right order.
|
All times are GMT -6. The time now is 01:34 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI