Advertisement
Guest User

Maybe this works?

a guest
Jul 7th, 2015
203
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.27 KB | None | 0 0
  1.     players = world.entityQuery(entity.position(), 10, { includedTypes = {"player"}})
  2.  
  3.     for v, playerId in pairs(players) do
  4.         player = playerId
  5.     end
  6.  
  7.     if world.entityHandItem(player, "mysteriousshell") == item.descriptor("mysteriousshell") then
  8.        
  9.         -- Have a party?
  10.     end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement