Xan

From NetHackWiki
Revision as of 00:59, 30 August 2023 by Umbire the Phantom (talk | contribs) (Variants: 343-var)
Jump to navigation Jump to search

A xan, x, is a type of monster that appears in NetHack. Xans are a type of mythical insect that are capable of flight and have poison resistance. They possess a unique sting attack that targets your legs: the attack wounds them for several turns based on your dexterity stat and abuses strength and dexterity if it succeeds.

Xan corpses are poisonous to eat, but eating their corpse or tin has a 47% chance of conveying poison resistance.

Generation

Xans are always generated hostile, and may be created by a spellcasting monster casting the summon nasties monster spell.

The Wizard of Yendor may create a clone of himself in the guise of a xan via the Double Trouble monster spell.[1]

Strategy

Your boots can protect your legs from the xan's sting - worn iron shoes or low boots protect you 25 of the time, and any other boots will protect you 55 of the time.[2] Cancelling a xan prevents its sting from damaging your legs.[3]

Though it lacks any MR score, the e xan's low AC can make it difficult to hit for some characters and/or pets, but its low damage output prevents it from being too large of a threat. Its sting can still slow you down, however - having 100 aum of carrying capacity available can alleviate this.

History

The xan first appears in Hack 1.0.

In NetHack 3.6.2 and earlier versions, including variants based on these versions, riding, flying, or levitation would prevent a xan from wounding your legs, despite xans possessing flight; this was fixed in NetHack 3.6.3 via commit 564dcd6.

Messages

<The xan> tries to reach your <right/left> leg!
A xan tried and failed to sting your legs while you were riding, flying or levitating; this message is still present in the code but unused, since the attack routine now checks to see if the attacking monster is also flying.[4]

Origin

The xan is a creature based on a tale from the Popol Vuh, a text recounting the mythology and history of the Kʼicheʼ people. Popol Vuh is translated as "Book of the Community" or "Book of Counsel", and literally means "Book that pertains to the mat": a woven mat was used as a royal throne in ancient Kʼicheʼ society and symbolised the unity of the community; the document is one of many that survived Spanish conquest. Among its many tales are the exploits of Hunahpu and Xbalanque, known as the Maya Hero Twins.

The Hero Twins were conceived when Xquic, one of the daughters of the Lords of the Mayan underworld Xibalba, spoke with Hun-Hunahpu's severed head: he spat upon the maiden's hand, causing them to be conceived in her womb. The twins come across the ballgame equipment of Hun-Hunahpu and his brother Vucub-Hunahpu, who had disturbed the Lords of Xibalba with the noise they made playing on the court; the Lords summoned the two men to play ball in their own court, using it as a pretext to subject the pair to many treacherous trials - the duo eventually failed and were executed.

The Hero Twins began to play ball in the court and once again disturb the Lords of Xibalba, who send summons to the boys to come to Xibalba and play in their court. Their grandmother, who had hidden the ballgame equipment fearing the twins would suffer the same fate, relayed the message as indirectly as possible; despite her best efforts, the boys received the message and set off to Xibalba. Fortunately, the younger twins did not fall victim to the same tricks, and sent the mosquito - translated as "xan", as shown in the excerpt that provides the encyclopedia entry - ahead to scout for them. The mosquito stung the Lords of Xibalba to uncover the real ones and learn their names, allowing the twins to address and identify them by name when they arrived at Xibalba, and would proceed to outwit the Lords and eventually bring about Xibalba's downfall.

Messages

<The xan> pricks your <left/right> <leg>!
A xan stung you.
<The xan> pricks the exposed part of your <left/right> <leg>!
As above, while you were wearing iron or low boots.
<The xan> pricks through your <left/right> boot!
As above, while you were wearing any other type of boots.
<The xan> scratches your <left/right> boot!
Your boots deflected the xan's sting.
<The xan> nuzzles against your <left/right> <leg>!
A cancelled xan tried and failed to sting your legs.[3]

Variants

In variants that incorporate the Convict role, a xan is generated at level creation on the upper filler levels of the Convict quest.

Variants based on NetHack 3.4.3 and earlier versions may not account for the xan's inability to sting mounted or airborne targets.

Encyclopedia entry

They sent their friend the mosquito [xan] ahead of them to find out what lay ahead. "Since you are the one who sucks the blood of men walking along paths," they told the mosquito, "go and sting the men of Xibalba." The mosquito flew down the dark road to the Underworld. Entering the house of the Lords of Death, he stung the first person that he saw...
 
The mosquito stung this man as well, and when he yelled, the man next to him asked, "Gathered Blood, what's wrong?" So he flew along the row stinging all the seated men until he knew the names of all twelve.

[ Popul Vuh, as translated by Ralph Nelson ]

References