Okay, so if you make oak bows and then unravel them, they yield Magic Residue for training. Actually works with any boards that are colored. So, here is the script I want to write, but since I have been out of the loop for so long, I completely forgot almost everything. But, here is the basic outline...
Bag on ground with Ingots to make fletchers tools, all colored boards to make bows only and where magical residue is deposited.
Uses either unravel bag or unravel from gump.
Grabs boards (450 is what I do by hand)
Checks resources in pack, like tools, boards ect
After each unravel places residue in secure (if using unravel bag).
Checks for weight, when it grabs more boards, also puts residue in secure.
This is the basic outline of the script. Like I said, I have been out of the loop for awhile now, so if anyone can contribute to code here it would be great. This is a script I am sure EVERYONE would enjoy and want. I am pretty sure this can be done with colored ingots too. But as a community, I am sure all the minds here adding stuff this could be done quite quick. I setup I think all the variables needed and the subs to go with them. Feel free to delete, condense or add to. I dont want any credit for this, just would like to get it up and running semi in what I got written here so I can re-learn. Dont have time to work on this tonight, wont be for a few days before I can sit down and play (daughter is 3, so shes a handful).
So, who is willing to help? Below is my basic code and outline with explainations.
set %tinkertools GTL_KTL_JTL
set %backpack ??????
set %magicresidue ??????
set %fletchertools UFG
set %boards TLK
set %boardcount 450
set %ironingots ENK
set %maxfletchertools 10
set %maxtinkertools 10
gosub TargetSecure
MainLoop:
gosub CheckForResources
gosub FindFletcherTool
gosub UseFletcherTool
gosub Unravel
sub CheckForResources
(Check for boards (in pack and secure), Fletcher Tools, Tinker Tools (in pack and secure), if Magic Residue in pack move to secure, move boards to pack, ect)
if %maxfletchertools < 2
gosub MakeFletcherTools
if %maxtinkertools < 2
gosub MakeTinkerTools
if %ironingots < 10
gosub End
if %packboards < 10
gosub GetBoards
gosub CheckPackResidue
if %magicresidue #true
gosub MoveResidue
return
sub FindFletcherTool
(find the fletcher tools duh lol)
return
sub UseFletcherTool
(make a bow)
return
sub Unravel
(use imbuing gump to unravel bow and move residue into secure)
return
sub TargetSecure
(I have no idea how to do this, but it will open a target cursor and recorde your secure container with boards, ingots and tinker tools ect)
return
sub MakeFletcherTools
(make tools)
return
sub MakeTinkerTools
(make tools)
return
sub GetBoards
(Check secure for boards, if it has some, move to pack, if not gosub end)
return
sub End
(ending the script due to lack of resources)
end
sub GetBoards
(Get Boards from Secure, move to pack)
return
sub CheckPackResidue
(check backpack for magic residue, if yes, return #true
return
sub MoveResidue
(move magic residue from pack to secure)
return