I often want to farm something which can be turned into something else that takes up slightly less bag space. I developed a macro that will show how many of the farmed item you have and, when clicked, will craft whatever it turns into. In this example I’m mining for solid stones to be turned into solid blasting powder.
#showtooltip Solid Stone
/run local n; for i=1,GetNumTradeSkills() do n,,= GetTradeSkillInfo(i); if (n==“Solid Blasting Powder”) then DoTradeSkill(i); end; end;
You could do something similar for ruined leather scraps:
#showtooltip Ruined Leather Scraps
/run local n; for i=1,GetNumTradeSkills() do n,,= GetTradeSkillInfo(i); if (n==“Light Leather”) then DoTradeSkill(i); end; end;
Note that you don’t need Engineering or Leatherworking currently open for this to work, but it does need to be the most recent profession window you have opened. Otherwise clicking it will do nothing.
If anyone knows how to set the profession that GetNumTradeSkills, etc. looks through, PLEASE LET ME KNOW. I’ve spent a couple hours reading API docs and Googling and I can’t find anything.
Cheers, I hope this helps someone!