It's pretty much plug-and-play, just make sure you have the required tools; Dagger, Scissors, Tailor Keys, and Woodworker Keys. This will skin a nearby corpse, cut the leathers that are in your bag, and then place the resources (leather, wool, feathers) in the appropriate keys. It does account for creatures that have more than 1 type of leather; Shadow Wyrms (2 types of leather), but no more than that.
I would not recommend setting this to Loop and I would recommend adjusting your weight check (currently 375) based on your strength. It should work well for those of you looking to avoid multiple macros or steps just to add the leather, feathers, and wool to your keys.
This is NOT flawless and it DOES require you to be at your keyboard, respect the rules!
Feel free change the system message or colors to overhead text if you want, but I prefer system.
Let me know if you have any questions/comments.
Code: Select all
//Wyrmstorm's Skinning Macro for UOSteam
//You will need a Dagger, Scissors, Tailor Keys, and Woodworker Keys
//Updated 3/11/18
if not @findtype '0x2006' 'any' 'ground' '1' '2'
sysmsg 'There are no corpses nearby.' '28'
stop
else
@setalias! 'o' 'found'
endif
if not @findtype '0xf52' 'any' 'backpack'
sysmsg 'You need a dagger.' '25'
stop
else
@usetype! '0xf52' 'any' 'backpack'
waitfortarget '5000'
target! 'o'
pause 600
endif
if not findalias 'tailorkeys'
headmsg 'Select your Tailor Keys'
promptalias 'tailorkeys'
endif
if not findalias 'woodkeys'
headmsg 'Select your Woodworker Keys'
promptalias 'woodkeys'
endif
if @findtype! '0x1079' 'any' 'o' 'any' '2'
@movetype '0x1079' 'o' 'backpack'
pause 2000
@usetype! '0xf9f' 'any' 'backpack'
waitfortarget '2000'
targettype '0x1079' 'any' 'backpack'
pause 600
endif
if @findtype! '0x1079' 'any' 'o' 'any' '2'
@movetype '0x1079' 'o' 'backpack'
pause 2000
@usetype! '0xf9f' 'any' 'backpack'
waitfortarget '2000'
targettype '0x1079' 'any' 'backpack'
pause 600
endif
if @findtype! '0x1bd1' 'any' 'o' 'any' '2'
@movetype '0x1bd1' 'o' 'backpack'
pause 1000
endif
if @findtype! '0xeed' 'any' 'o' 'any' '2'
@movetype '0xeed' 'o' 'backpack'
pause 1000
endif
if @findtype! '0xf26' 'any' 'o' 'any' '2'
@movetype '0xf26' 'o' 'backpack'
pause 1000
endif
if @findtype! '0x26b4' 'any' 'o' 'any' '2'
@movetype '0x26b4' 'o' 'backpack'
pause 1000
endif
ignoreobject 'o'
sysmsg 'Ignoring that corpse.' '25'
pause '1500'
//Checks weight and puts resources in to keys if above 375
if weight <= '375'
//Leather
while @targettype! '0x1081' 'any' 'backpack'
useobject 'tailorkeys'
sysmsg 'Adding Leather to Keys' '20'
pause 500
replygump 0x41f8fc19 999
waitforgump 1106836505 500
waitfortarget 500
@targettype! '0x1081' 'any'
pause 500
replygump 0x41f8fc19 0
endwhile
@canceltarget!
//Scales
while @targettype! '0x26b4' 'any' 'backpack'
useobject 'tailorkeys'
sysmsg 'Adding Scales to Keys' '20'
pause 500
replygump 0x41f8fc19 999
waitforgump 1106836505 500
waitfortarget 500
@targettype! '0x26b4' 'any'
pause 500
replygump 0x41f8fc19 0
endwhile
@canceltarget!
//Wool
while @targettype! '0xdf8' 'any' 'backpack'
useobject 'tailorkeys'
sysmsg 'Adding Wool to Keys' '20'
pause 500
replygump 0x41f8fc19 999
waitforgump 1106836505 500
waitfortarget 500
@targettype! '0xdf8' 'any'
pause 500
replygump 0x41f8fc19 0
endwhile
@canceltarget!
//Feathers
while @targettype! '0x1bd1' 'any' 'backpack'
useobject 'woodkeys'
sysmsg 'Adding Feathers to Keys' '20'
pause 500
replygump 0xa57934d 17
waitforgump 173511501 500
waitfortarget 500
@targettype! '0x1bd1' 'any'
pause 500
replygump 0xa57934d 0
endwhile
@canceltarget!
endif
//Ground cleanup, change to [claimall if you want everything.
msg '[claim'
sysmsg 'Using claim on corpse.' '20'
sysmsg 'Ready for the next corpse...' '20'
waitfortarget 500
target! 'o'
pause '500'
@canceltarget!