does any1 have a macro to cut logs into boards?
thx in advance
Logs to boards
Re: Logs to boards
Perhaps anyone got such for UOS ?
I would like to point secured container with logs, to cut part in my backpack and put back to the same secure container.
I would like to point secured container with logs, to cut part in my backpack and put back to the same secure container.
Re: Logs to boards
Do not press loop button, will run through each color of logs and stop when out
Code: Select all
//Set this as your container with logs
@setalias 'LogRestock' xxxxxxx
//Sets log colors
if not listexists 'LogHue'
createlist 'LogHue'
endif
if list 'LogHue' == 0
//Normal
pushlist 'LogHue' 0
//Oak
pushlist 'LogHue' 2010
//Ash
pushlist 'LogHue' 1191
//Yew
pushlist 'LogHue' 1192
//Bloodwood
pushlist 'LogHue' 1194
//Heartwood
pushlist 'LogHue' 1193
//Frostwood
pushlist 'LogHue' 1151
endif
//Opens Restock
useobject 'LogRestock'
pause 500
for 0 to 'LogHue'
//Moves logs to backpack
while counttype 0x1bdd LogHue[] 'LogRestock' > 0
movetype 0x1bdd 'LogRestock' 'backpack' [(0 0 0)] LogHue[] 200//<<< Change this amount to whatever you want
pause 1000
//Chops logs
if @findtype 0x1bdd LogHue[] 'backpack'
useobject 'LeftHand'
waitfortarget 1000
target! 'found'
pause 1000
endif
//Moves boards back to restock
if @findtype 0x1bd7 LogHue[] 'backpack' 'any'
movetype 0x1bd7 'backpack' 'LogRestock' [(0 0 0)] LogHue[] 'any'
pause 1000
endif
endwhile
if counttype 0x1bdd LogHue[] 'LogRestock' == 0
poplist 'LogHue' 'front'
pause 500
replay
stop
endif
if counttype 0x1bdd 'any' 'LogRestock' == 0
stop
endif
endfor
Re: Logs to boards
doesn't work for me... won't ask for the container just says no source container.