xabbo-scripts/Scripts/ClickFurni.csx
Administrator 7a548130a3 Move all scripts into Scripts/ subfolder
Keeps the repo root clean - only README.md visible on landing page.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-16 09:49:37 +01:00

28 lines
804 B
C#

var positionMapping = new Dictionary<(int, int), (int, int)>
{
{ (13, 13), (15, 15) },
{ (10, 10), (12, 12) },
{ (5, 5), (7, 7) },
{ (8, 12), (10, 14) },
{ (3, 7), (5, 9) },
{ (6, 2), (8, 4) },
{ (11, 9), (13, 11) },
{ (4, 14), (6, 16) },
{ (9, 6), (11, 8) },
{ (2, 11), (4, 13) }
};
while (Run)
{
if (positionMapping.TryGetValue((Self.X, Self.Y), out var rocksPosition))
{
var rocks = FloorItems.Where(x => x.GetName() == "Color Tile" &&
x.Location.X == rocksPosition.Item1 &&
x.Location.Y == rocksPosition.Item2).ToList();
foreach (var rock in rocks)
{
Send(Out["Move"], 9, 10); //rock.Id
Delay(10);
}
}
}