xabbo-scripts/Scripts/VikingBurner.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

20 lines
599 B
C#

int ROLLS_PER_ITEM = 6;
int DELAY_BETWEEN_ROLLS_MS = 100;
int DELAY_AFTER_PICKUP_MS = 200;
OnIntercept(In["ObjectAdd"], async p => {
var furniID = p.Packet.ReadInt();
p.Packet.ReadInt();
var X = p.Packet.ReadInt();
var Y = p.Packet.ReadInt();
for (int i = 0; i < ROLLS_PER_ITEM; i++) {
UseFloorItem(furniID);
await Task.Delay(DELAY_BETWEEN_ROLLS_MS);
}
await Task.Delay(DELAY_AFTER_PICKUP_MS);
PickupFloorItem(furniID);
await Task.Delay(DELAY_AFTER_PICKUP_MS);
Send(Out["BuildersClubPlaceRoomItem"],1846050,13772,"",X,Y,2,false);
});
Wait();