Slime Fungus Cleaner
Description:
It will use the Slime Gobbler to clean the Slime Fungus on the floor.
Configuration:
Make sure you have the Slime Gobbler on hotkeys with "use with crosshair".
Enable the hotkey and be happy!
Code:
init start
FID = {12060, 12061, 12063, 12075, 12076}
init end
auto(1000)
for _,Fung in ipairs(FID) do
for i = -7,7 do
for j = -5,5 do
fungustile = gettile($posx+i,$posy+j,$posz)
for ftilecount = 1,fungustile.itemcount do
if fungustile.item[ftilecount].id == Fung and tilereachable($posx+i,$posy+j,$posz) and maround(7) == 0 then
FungX,FungY = $posx+i,$posy+j
pausewalking(5000)
reachlocation(FungX,FungY,$posz,1)
useitemon('slime gobbler', 0, ground(FungX,FungY,$posz))
pausewalking(0)
wait(5000)
end
end
end
end
end