Xan

From NetHackWiki
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: if the attack hits, it wounds them for several turns based on your dexterity stat, and abuses strength and dexterity.

A xan corpse is poisonous to eat, but eating its 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 45 of the time.[2] Cancelling a xan prevents its sting from damaging your legs.[3]

Though it lacks any MR score, the xan's low AC can make it difficult to hit for some characters and 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 is currently 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 disturbed the Lords of Xibalba, who sent summons to the boys to come to Xibalba and play in their court.

The Hero Twins' grandmother, who had initially hidden the ballgame equipment for fear that 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 as their father and uncle, and sent ahead the mosquito (translated as "xan", as shown in the excerpt that provides the encyclopedia entry) to scout for them. The mosquito stung everyone in the dwelling of Xibalba to uncover the Lords and learn their names, allowing the twins to address and identify them by name when they arrived at Xibalba; from there, the twins would proceed to outwit the Lords and eventually bring about Xibalba's downfall.

Messages

<The xan> pricks your <right/left> <leg>!
A xan stung your legs and wounded them.[5]
<The xan> pricks the exposed part of your <right/left> <leg>!
As above, while you are wearing iron shoes or low boots.[6]
<The xan> pricks through your <right/left> boot!
As above, while wearing any other type of boots.[7]
<The xan> scratches your <right/left> boot!
Your boots protected your legs from the sting attack.[8]
<The xan> nuzzles against your <right/left> leg!
A xan tried to sting your legs, but failed due to being cancelled.[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, and may give the sting attack to additional monsters besides the xan.

dNetHack

In dNetHack, the xan no longer has flight.

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