Blender
2008-10-19 09:38:26
Just for fun, I made an SRL function that drops specified logs in your inventory like Willows, Plain Logs, and Oaks.
To use it, add it to a script, or just make a custom include file.
When you see the three options in the script, use True or False to specify whether you want to drop that type of log.
Have fun!
Comments are appreciated!
To use it, add it to a script, or just make a custom include file.
When you see the three options in the script, use True or False to specify whether you want to drop that type of log.
Have fun!
Comments are appreciated!
procedure DropLogsInInventory(NormalLogs, OakLogs, WillowLogs: Boolean);
var a, Willows, Oaks, Normals: Integer;
begin
for a:= 1 to 28 do
begin
MMouseItem(a);
Sleep(Random(100));
if ((LowerCase(GetUpText) = LowerCase('Use Willow logs / 2 more options')) and WillowLogs = True) then
begin
DropItem(a);
WriteLn('Dropping a Willow Log...');
Willows := Willows + 1;
end;
if ((LowerCase(GetUpText) = LowerCase('Use Oak logs / 2 more options')) and OakLogs = True) then
begin
DropItem(a);
WriteLn('Dropping an Oak Log...');
Oaks := Oaks + 1;
end;
if ((LowerCase(GetUpText) = LowerCase('Use Logs / 2 more options')) and NormalLogs = True) then
begin
DropItem(a);
WriteLn('Dropping a Normal Log...');
Normals := Normals + 1;
end;
end;
Writeln('|---------------------|');
Writeln('| Log Dropping Proggy |');
Writeln('|---------------------|');
Writeln('| Willow Logs: ' + IntToStr(Willows) + ' |');
Writeln('| Normal Logs: ' + IntToStr(Normals) + ' |');
Writeln('| Oak Logs: ' + IntToStr(Oaks) + ' |');
Writeln('|---------------------|');
end;