Heightened Smell

Heightened Smell is currently an NPC only mutation that acts similar to Heightened Hearing. It has a much farther range than hearing, but can be affected and limited by terrain.

Obstacles to smell
Some creatures cannot be smelled. This depends on a creature's smell intensity.

Terrain also affects how far a smell can travel.

Types of smell barriers
If a locked door is in the way, the radius will decrease to $$\frac{\text{Radius}}{2} - 1$$.

If any of the following objects are also in the same tile: The radius in that direction will be decreased further to $$\frac{\text{Radius}}{2} - 1$$.
 * Objects that occlude sight
 * Water tile that contains greater than 1,000 drams

Solid walls will completely stop all smells.

Identification chance formula
There is a $$\frac{100 + 20 \times \text{Level}}{(\text{Distance}+ 9)^2} \times 100%$$ chance for identifying a creature by their smell. If this percentage is greater than a random roll between 1 and 100, the creature is identified as their tile. If not, a is displayed instead.