Hi everyone. Sorry for english. I don't have idea how to make function, that will check if on tile is item. For example - i have tile with id 190. If on this tile its ANY item (border, moutain, tree), funciton will return false.
Something like that :
if checkTile(x,y,z) == true (free) then...