Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Check Sausage Slot
- local sausageSlots = {
- {x = 34007, y = 31092, z = 7},
- {x = 34009, y = 31092, z = 7},
- {x = 34011, y = 31092, z = 7},
- {x = 34013, y = 31092, z = 7},
- {x = 34015, y = 31092, z = 7}
- }
- local player = g_game.getLocalPlayer()
- if not player then return end
- local pos = player:getPosition()
- if not pos then return end
- for _, p in ipairs(sausageSlots) do
- if pos.x == p.x and pos.y == p.y and pos.z == p.z then
- CaveBot.gotoLabel("eatSausages")
- end
- end
- return true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement