local fromPos = {x=996, y=998, z=6}
local toPos = {x=1004, y=998, z=6}
local items = {{2667,1}, {2679,1}, {2671,1}, {2696,1}, {2689,1}}
local maxItems = 20
function isWalkable(pos, creature, proj, pz)
if getTileThingByPos({x=pos.x,y=pos.y,z=pos.z}).itemid == 0 then
return false...