Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- Fishing for ArchLightOnline
- Version 1.3.1 -- Public Version
- Created by Mr Trala
- Instructions;
- If you have your bait in a BP be sure to always have that backpack opened so Xeno can count them.
- That's it! just run it and have fun.
- Change Log;
- 1.3 -- First stable version.
- ]]
- config = {
- IDTO = 5553, -- Id of "small fish".
- RodID = 9306, -- Your rod ID.
- }
- function ALL()
- if Self.ItemCount(939) >= 1 then
- FishBAIT()
- else
- wait(3000)
- print("Out of Bait!")
- alert()
- end
- end
- function FishBAIT()
- local pos = Self.Position()
- for y = -7, 7 do
- for x = -7, 7 do
- if Map.GetTopUseItem(pos.x + x, pos.y + y, pos.z).id == config.IDTO then
- Self.UseItemWithGround(config.RodID, pos.x + x, pos.y + y, pos.z)
- end
- end
- end
- wait(1000, 1500)
- end
- registerEventListener(TIMER_TICK, "ALL")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement