Simba Code:
procedure CheckStuff;
var
CTS: Integer;
Coords, Color, Tol: TIntegerArray;
Hue, Sat: TExtendedArray;
begin
if (not (LoggedIn)) then
Exit;
Color := [1281187, 3546718, 1580574];
Coords := [683, 371, 713, 386, 630, 264, 654, 287, 573, 341, 597, 364];
Tol := [17, 12, 6] Hue := [0.01, 3.83, 0.93];
Sat := [0.22, 2.07, 1.49];
CTS := GetColorToleranceSpeed;
ColorToleranceSpeed(2);
GameTab(tab_EQUIP);
begin
SetColorspeed2Modifiers(Hue[0], Sat[0]);
if ColorWait(3000, Color[0], Coords[0], Coords[1], Coords[2], Coords[3], Tol[0]) then
else FailSafe('Could not find ring');
SetColorspeed2Modifiers(Hue[1], Sat[1]);
if ColorWait(3000, Color[1], Coords[4], Coords[5], Coords[6], Coords[7], Tol[1]) then
else FailSafe('Could not find hat');
SetColorspeed2Modifiers(Hue[2], Sat[2]);
if ColorWait(3000, Color[2], Coords[8], Coords[9], Coords[10], Coords[11], Tol[2]) then
else FailSafe('Could not find staff');
Writeln('Seem to have every thing we need!');
end;
begin
GameTab(tab_Inv);
if FindDTM(Cosmic, x, y, MSx1, MSy1, MSx2, MSy2) then
else FailSafe('Could not find DTM of runes');
Exit;
end;
end;