Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- Free Itams for ArchLightOnline
- Version 1.0 - Piv Version
- Created by Mr Trala
- ]]
- local itemID = {16129, 3725, 3232, 3043, 8176} -- ItemIDs to be picked up
- local containerName = "pannier backpack" -- Ex. "Purple Backpack", "Backpack of holding", "Bag" etc. Should have various of the same bp.
- Module.New('lootFromGround', function(module)
- if (Self.TargetID() <= 0) then
- for y = -1, 1 do
- for x = -1, 1 do
- if table.contains(itemID, Map.GetTopUseItem(Self.Position().x + x, Self.Position().y + y, Self.Position().z).id) then
- wait(200,500)
- Map.PickupItem(Self.Position().x+x, Self.Position().y+y, Self.Position().z, Container.GetByName(containerName):Index(), 0)
- module:Delay(math.random(50,60))
- end
- end
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement