PDA

View Full Version : Oramond Juicy Root Scripts



Smatek
11-16-2015, 12:03 PM
I am looking for a script to harvest juicy roots on oramond. What I need is a script that will use them if he see it on screen and if no monsters are on screen.

Mexen
11-22-2015, 10:37 AM
bump I need this too :D

Aristeus
11-22-2015, 11:36 AM
Smatek Mexen

Somewhat buggy but it works. Only checks if you're attacking something though.




local itemID = {21104} -- ItemID to be picked up

Module.New('lootFromGround', function(module)
if (Self.TargetID() <= 0) then
for y = -5, 5 do
for x = -7, 7 do
if table.contains(itemID, Map.GetTopUseItem(Self.Position().x + x, Self.Position().y + y, Self.Position().z).id) then
Cavebot.Stop()
Self.UseItemFromGround(Self.Position().x + x, Self.Position().y + y, Self.Position().z)
wait(1000)
Cavebot.Start()
module:Delay(math.random(1000))
end
end
end
end
end)