Advertisement
Guest User

Untitled

a guest
Oct 15th, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.60 KB | None | 0 0
  1. --hole or stair to rope items--
  2.    
  3.     elseif item2.itemid == 469 then
  4.         npos.y = npos.y + 1
  5.         downpos = {x=topos.x, y=topos.y, z=topos.z+1, stackpos=255}
  6.         downitem = getThingfromPos(downpos)
  7.         if downitem.itemid > 0 and not isMonster(downitem.uid) then
  8.             doTeleportThing(downitem.uid,npos)
  9.         end
  10.    
  11.     elseif item2.itemid == 470 then
  12.         npos.y = npos.y + 1
  13.         downpos = {x=topos.x, y=topos.y, z=topos.z+1, stackpos=255}
  14.         downitem = getThingfromPos(downpos)
  15.         if downitem.itemid > 0 and not isMonster(downitem.uid) then
  16.             doTeleportThing(downitem.uid,npos)
  17.         end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement