angband/v4 — pull request #21 by CunningGabe (2012-03-14 22:30:25+00:00)
Title: Terrain

This is a work in progress of a trap revamp, coupled with some reworking of terrain. Here is a summary of changes:

Changes:
1. Detection
a. All characters have a detection radius of 1, or 2 when they search.
b. Secret doors are always detected when they are within detection radius.
c. Some races/classes have had their search skill changed, and WIS/INT both contribute to search skill.
d. Mimics and Lurkers are detected if search skill surpasses 45 + DL/2.
e. Traps are detected if search skill surpasses their hiddenness rating. Some traps are never hidden, like Summoning and Teleportation.
f. Trap detection spells haven't been changed yet, nor has the DTrap border.
2. Evasion
a. It is now possible to evade a trap if your DEX is high enough.
3. Trap types
a. Traps now enforce a min level and a max level.
b. Many traps have been split into multiple types, with deeper traps being more dangerous.
c. Chest traps are completely gone.
4. Under the hood
a. Traps have been removed from terrain.txt, and a new trap layer has been created.
b. Some small amount of work has been done to make use of the terrain flags, and unhardcode terrain types. (For example, try adding PWALK to the granite walls, and then walk right through them!)

There are still many changes I have planned, but this is fully playable, and I would like to start getting some feedback.