Advertisement
martintokio

Untitled

Apr 18th, 2025
392
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.52 KB | None | 0 0
  1. --Check Sausage Slot
  2. local sausageSlots = {
  3.   {x = 34007, y = 31092, z = 7},
  4.   {x = 34009, y = 31092, z = 7},
  5.   {x = 34011, y = 31092, z = 7},
  6.   {x = 34013, y = 31092, z = 7},
  7.   {x = 34015, y = 31092, z = 7}
  8. }
  9.  
  10.   local player = g_game.getLocalPlayer()
  11.   if not player then return end
  12.   local pos = player:getPosition()
  13.   if not pos then return end
  14.   for _, p in ipairs(sausageSlots) do
  15.     if pos.x == p.x and pos.y == p.y and pos.z == p.z then
  16.       CaveBot.gotoLabel("eatSausages")
  17.     end
  18.   end
  19.   return true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement