xabbo-scripts/Scripts/Find Item by ID.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

21 lines
396 B
C#

using System;
int searchId = 796960578;
Log("Suche Item...");
foreach (var item in FloorItems)
{
if (item == null) continue;
if (item.Id == searchId)
{
Log("=== ITEM GEFUNDEN ===");
Log("ID: " + item.Id);
Log("Position: X=" + item.Location.X + ", Y=" + item.Location.Y);
Log("Kind: " + item.Kind);
break;
}
}
Log("Suche beendet.");