|[ elven shield
|blue and green shield
Player elves start the game with knowledge of the elven shield - a commented-out line of code would give an elven character in any role that starts the game with a small shield an elven shield instead, which would only apply for elven Priests.
The elven shield is the lightest 2 AC-shield available at 40 aum, making it one of the most preferable for early characters (minus Valkyries that still have their starting shield) - it is the second-best shield in this regard after the much rarer shield of reflection, though it is subsceptible to erosion via burning or rotting. For long-term shield users that have reflection covered via other means such as silver dragon scale mail or an amulet, the elven shield is the best option available since it can be safely enchanted from +5.
The elven shield first appears in NetHack 3.0.0.
Some variants may give elves (including the player) an AC bonus for wearing an elven shield.
In SLASH'EM, upgrading an elven shield will produce either an orcish shield or an Uruk-hai shield, with an equal chance of each item; upgrading an orcish shield or Uruk-hai shield will produce an elven shield.
The Shield of Yggdrasil is an unaligned artifact elven shield that favors elves. It grants regeneration and poison resistance while worn, and can be safely enchanted to +7. Invoking The Shield of Yggdrasil heals you in a similar manner to The Staff of Aesculapius.
In EvilHack, elven shields grant +1 AC to elven monsters that wear them, including elven players. Elven Knights start the game with an elven shield; hobbits are an additional race that start the game with knowledge of their appearance. Elven mercenaries can generate with elven shields.
In Hack'EM, elven shields grant +1 AC to elven monsters that wear them, including elven players.
Upgrading a small shield will produce an elven shield, and vice versa. Elven Knights start with a small shield instead of an elven shield, which they can upgrade to easily - all other details from EvilHack are applicable.