|
Post by crowface28 on Jul 27, 2020 13:16:19 GMT
Crafts tailoring items and cuts them back up. Required setup: - Version 1.0.0.29 of EasyLOU
- Scissors in backpack
- ONE tiny pouch in your backpack, set as crafting bag (right click it to set)
- Standing next to a loom
- "Favorite" the crafting item so it appears in the favorites tab of your crafting window
- Modify the top two variables with the names of the items
- Modify the craftButton to the correct value (changes randomly, hover over "Craft" in the crafting UI and look in Miscellaneous->MOUSEOVERUINAME to get the correct number)
- Lots and lots of cloth
nameInFavoritesTab = "Rug" nameToCutUp = "Rug Deed" craftButton = "10"
function recycle() FindItem("Scissors", BACKPACKID) scissorsId = FINDITEMID[1] FindItem("tiny", BACKPACKID) craftBagId = FINDITEMID[1] FindItem(nameToCutUp , craftBagId) if FINDITEMID ~= "N/A" then for deed in FINDITEMID do SayCustom(".x use " .. scissorsId .. " Use") TargetDynamic(deed) sleep(1500) end end end
startTime = TIME while true do ClickButton("CraftingWindow", craftButton) if TIME - startTime > 60 then sleep(1000) recycle() startTime = TIME FindPanel("Crafting") if FINDPANELID == "N/A" then FindItem("Loom") SayCustom(".x use " .. FINDITEMID[1] .. " Fabrication") sleep(1000) FindButton("CraftingWindow", "Favorites") ClickButton("CraftingWindow", FINDBUTTONNAME[1]) FindButton("CraftingWindow", nameInFavoritesTab) ClickButton("CraftingWindow", FINDBUTTONNAME[1]) end end end
|
|
|
Post by polymerase on Sept 2, 2020 15:56:30 GMT
Suggested changes:
nameInFavoritesTab = "Rug" nameToCutUp = "Rug Deed" craftButton = "10"
function recycle() FindItem("Scissors", BACKPACKID) local scissorsId = FINDITEM[1].ID
FindItem("tiny", BACKPACKID) local craftBagId = FINDITEM[1].ID
FindItem(nameToCutUp , craftBagId) if FINDITEM != nil then for each_deed in FINDITEM do --SayCustom(".x use " .. scissorsId .. " Use") ContextMenu(scissorsId, "Use") TargetDynamic(each_deed.ID) sleep(1500) end end end
startTime = TIME while true do ClickButton("CraftingWindow", craftButton) if TIME - startTime > 60 then sleep(1000) recycle() startTime = TIME
FindPanel("Crafting") if FINDPANEL == nil then FindItem("Loom") --SayCustom(".x use " .. FINDITEM[1].ID .. " Fabrication") ContextMenu(FINDITEM[1].ID, "Fabrication") sleep(1000) end
FindButton("CraftingWindow", "Favorites") ClickButton("CraftingWindow", FINDBUTTON[1].NAME)
FindButton("CraftingWindow", <<nameInFavoritesTab>>) ClickButton("CraftingWindow", FINDBUTTON[1].NAME) end end Not tested.
|
|