bothack.tile
->Tile
(->Tile x y glyph color item-glyph item-color feature seen first-walked walked dug searched items new-items engraving engraving-type deaths tags room)
Positional factory function for class bothack.tile.Tile.
antimagic?
(antimagic? tile)
arrowtrap?
(arrowtrap? tile)
beartrap?
(beartrap? tile)
bouldertrap?
(bouldertrap? tile)
corridor?
(corridor? tile)
darttrap?
(darttrap? tile)
diagonal-walkable?
(diagonal-walkable? game tile)
diggable?
(diggable? tile)
door-closed?
(door-closed? tile)
door-locked?
(door-locked? tile)
door-open?
(door-open? tile)
door-secret?
(door-secret? tile)
drawbridge-lowered?
(drawbridge-lowered? tile)
drawbridge-raised?
(drawbridge-raised? tile)
drawbridge?
(drawbridge? tile)
e?
(e? tile)
Is Elbereth inscribed on the current tile?
engravable?
(engravable? tile)
Is the tile safely dust-engravable? Considers water/air plane tiles
engravable (can-engrave? catches this case)
firetrap?
(firetrap? tile)
fountain?
(fountain? tile)
Dangerously overused minetown fountains not considered fountains
has-feature?
(has-feature? tile feature)
initial-tile
(initial-tile x y)
item?
(item? tile)
(item? glyph color)
levelport?
(levelport? tile)
lootable-items
(lootable-items tile)
magictrap?
(magictrap? tile)
map->Tile
(map->Tile m__5869__auto__)
Factory function for class bothack.tile.Tile, taking a map of keywords to field values.
mark-death
(mark-death tile monster turn)
monster-glyph?
(monster-glyph? glyph)
monster?
(monster? tile)
(monster? glyph color)
opposite-stairs
(opposite-stairs feature)
parse-tile
(parse-tile tile new-glyph new-color)
perma-e?
(perma-e? tile)
Is Elbereth engraved on the current tile with a permanent method?
polytrap?
(polytrap? tile)
reset-item
(reset-item tile)
rocktrap?
(rocktrap? tile)
rusttrap?
(rusttrap? tile)
searched
(searched level tile)
How many times the tile has been searched directly (not by searching a neighbor)
sleeptrap?
(sleeptrap? tile)
spikepit?
(spikepit? tile)
stairs-down?
(stairs-down? tile)
stairs-up?
(stairs-up? tile)
statuetrap?
(statuetrap? tile)
teletrap?
(teletrap? tile)
transparent?
(transparent? {:keys [feature monster items], :as tile})
For unexplored tiles just a guess
trap?
(trap? tile)
Clouds on the plane of air are considered a trap (unavoidable lightning)
trapdoor?
(trapdoor? tile)
unexplored?
(unexplored? tile)
unknown-trap?
(unknown-trap? tile)
visited-stairs?
(visited-stairs? tile)
walkable-by
(walkable-by {:keys [feature], :as tile} glyph)
walkable?
(walkable? tile)
Considers unexplored tiles, traps and ice walkable