current_tile -> Tile

The tile TAEB is currently standing on.

nearest_level_to Code, Level -> Maybe Level

Finds the nearest level to the given level for which the code reference returns true.

nearest_level Code -> Maybe Level

Finds the nearest level to TAEB for which the code reference returns true.

shallowest_level Code -> Maybe Level

Finds the nearest level to the top of the dungeon for which the code reference returns true.

create_level dlvl, ARGS

Creates a new level and sticks it into the dungeon level tree. The given ARGS will be passed to ->new.