Difference between revisions of "Animal"

From NetHackWiki
Jump to navigation Jump to search
m
(Proper refsrc update - best not to tick the version number until those're all sorted if you can)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
Some monsters are classified as '''animals''', identified by the '''is_animal()''' macro and ultimately defined by the '''M1_ANIMAL''' flag in [[monst.c]]. It has the following implications:
+
In ''[[NetHack]]'', some monsters are classified as '''animals''', identified by the '''is_animal()''' macro and ultimately defined by the '''M1_ANIMAL''' flag in [[monst.c]].
 +
 
 +
==Description==
 +
The "animal" classification has the following implications:
  
 
* Animals with an [[Theft (attack)|item-stealing attack]] will attempt to take an object and flee on foot rather than teleport if successful, as [[nymph]]s do. They cannot steal cursed objects stuck to you, rings worn under a curse-welded weapon or armor that takes more than one move to take off. The same caveats apply to theft by [[mugger]]s in variants.
 
* Animals with an [[Theft (attack)|item-stealing attack]] will attempt to take an object and flee on foot rather than teleport if successful, as [[nymph]]s do. They cannot steal cursed objects stuck to you, rings worn under a curse-welded weapon or armor that takes more than one move to take off. The same caveats apply to theft by [[mugger]]s in variants.
Line 6: Line 9:
 
* [[Chameleon]]s usually imitate animals.
 
* [[Chameleon]]s usually imitate animals.
  
The animals are:
+
==List of animals in NetHack==
 
+
* all {{mcsl|a}}{{mcsl|c}}{{mcsl|d}}{{mcsl|f}}{{mcsl|m}}{{mcsl|p}}{{mcsl|q}}{{mcsl|r}}{{mcsl|s}}{{mcsl|t}}{{mcsl|w}}{{mcsl|x}}{{mcsl|z}}{{mcsl|B}}{{mcsl|J}}{{mcsl|R}}{{mcsl|S}}{{mcsl|Y}}, excluding [[werecreature]]s in either of their forms
* all {{white|a}} [[insect]]s
 
* all {{white|c}}: {{monsymlink|cockatrice}}s, {{monsymlink|chickatrice}}s, and {{monsymlink|pyrolisk}}s
 
* all {{white|d}} [[canine]]s except for [[werejackal]]s and [[werewolf|werewolves]]
 
* all {{white|f}} [[feline]]s
 
* all {{white|m}} [[mimic]]s
 
* all {{white|p}} [[piercer]]s
 
* all {{white|q}} [[quadruped]]s
 
* all {{white|r}} [[rodent]]s except for [[wererat]]s
 
* all {{white|s}} [[S|arachnids and centipedes]], including {{monsymlink|Scorpius}}
 
* all {{white|t}}: {{monsymlink|trapper}}s and {{monsym|lurker_above}} [[lurker above|lurkers above]]
 
 
* {{monsym|horse}} [[horse|ponies, horses and warhorses]] (but not [[unicorn]]s)
 
* {{monsym|horse}} [[horse|ponies, horses and warhorses]] (but not [[unicorn]]s)
* all {{white|w}} [[worm]]s
+
* {{monsymlink|stalker}}s
* all {{white|x}}: {{monsymlink|grid bug}}s and {{monsymlink|xan}}s
 
* {{monsym|zruty}} [[zruty|zruties]]
 
* all {{white|B}} [[B|bats and birds
 
]]
 
* {{monsymlink|stalker}}s (but not [[elemental]]s)
 
 
* {{monsymlink|ettin}}s and {{monsymlink|minotaur}}s
 
* {{monsymlink|ettin}}s and {{monsymlink|minotaur}}s
* {{monsymlink|jabberwock}}s
+
* all {{monclass|:}}s except [[salamander]]s
* all {{white|R}}: {{monsymlink|rust monster}}s and {{monsymlink|disenchanter}}s
+
* all {{monclass|;}}s except [[jellyfish]]
* all {{white|S}} [[snake]]s
 
* all {{white|Y}} [[apelike creature]]s
 
* all {{white|;}} [[sea monster]]s except [[jellyfish]]
 
* all {{white|:}} [[lizard (monster class)|lizards]] except [[salamander]]s
 
  
 
== Body parts ==
 
== Body parts ==
 
'''Animal''' also refers to the grouping of body parts for the forms of many animals. It affects the messages referring to the appropriate body parts as follows:
 
'''Animal''' also refers to the grouping of body parts for the forms of many animals. It affects the messages referring to the appropriate body parts as follows:
 
{| class="prettytable"
 
{| class="prettytable"
!Bodypart{{refsrc|hack.h|226}}!!Description
+
!Bodypart{{refsrc|src/hack.h|410|version=NetHack 3.6.6}}!!Description
 
|-
 
|-
 
|arm||forelimb
 
|arm||forelimb
Line 72: Line 56:
 
|lung||lung
 
|lung||lung
 
|-
 
|-
|nose||nose (trunk for [[mumak|mumakil]] and [[mastodon]]s)
+
|nose||nose (trunk for [[mumak]]il and [[mastodon]]s)
 
|-
 
|-
 
|stomach||stomach
 
|stomach||stomach
 
|}
 
|}
 
+
==References==
 
<references/>
 
<references/>
 
+
{{nethack-366}}
{{nethack-343}}
 
 
[[Category:Monster attributes]]
 
[[Category:Monster attributes]]

Latest revision as of 06:33, 1 October 2022

In NetHack, some monsters are classified as animals, identified by the is_animal() macro and ultimately defined by the M1_ANIMAL flag in monst.c.

Description

The "animal" classification has the following implications:

List of animals in NetHack

Body parts

Animal also refers to the grouping of body parts for the forms of many animals. It affects the messages referring to the appropriate body parts as follows:

Bodypart[1] Description
arm forelimb
eye eye
face face
finger foreclaw
fingertip claw tip
foot rear limb
hand foreclaw (paw for dfY)
handed clawed (pawed for dfY)
head head
leg rear limb
light headed light headed
neck neck
spine spine
toe rear claw tip
hair fur
blood blood
lung lung
nose nose (trunk for mumakil and mastodons)
stomach stomach

References