• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Boarders and CONST_PROP_MOVEABLE

hellboy

Intermediate OT User
Joined
Apr 6, 2008
Messages
544
Solutions
6
Reaction score
121
Location
player:getTown()
Why boarders have moveable property? o_O

Code:
for i = 1, 10 do
      local tempItem = tile:getThing(i)
      if tempItem == nil then
            break
      elseif tile:hasProperty(CONST_PROP_MOVEABLE, tempItem) then
            print(i..' '..tempItem:getId())
      end
end

Example output:
Code:
1 4551
2 8309
3 5901

1. - Boarder
2. - Nails
3. - Wood

How I can skipp boarders (using another propherty?)

#EDIT

Solved
tempItem:getType():isMovable()
 
Last edited:
Back
Top