kts.IsDoorOpen – determine whether a door or chest tile is currently open
result = kts.IsDoorOpen(pos)
If there is a door or chest tile at position pos
, then this function returns true if the tile is open, or false if it is closed.
If there is not a door or chest at pos
, this function does not return any values.
An error is raised if pos
is not a valid map position.