Difference between revisions of "Animal"

From NetHackWiki
Jump to navigation Jump to search
m (Match style to other M1_ flag pages)
(Proper refsrc update - best not to tick the version number until those're all sorted if you can)
 
(4 intermediate revisions by 4 users 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]].
+
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]].
  
The animals are:
+
==Description==
 +
The "animal" classification has the following implications:
  
* all {{white|a}} [[insect]]s
+
* 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.
* all {{white|c}}: {{monsymlink|cockatrice}}s, {{monsymlink|chickatrice}}s, and {{monsymlink|pyrolisk}}s
+
* Animals with an [[engulfing]] attack can remove [[you]] from a [[steed]], even if your saddle is cursed. They are affected by a [[chameleon]], [[doppelganger]], [[nurse]], [[wraith]], or [[cockatrice]] corpse dropped or thrown inside of them. They can be forced to release you by [[Giant spider|spinning a web]], ringing the [[Bell of Opening]] or using [[opening]] magic inside of them.
* all {{white|d}} [[canine]]s except for [[werejackal]]s and [[werewolf|werewolves]]
+
* Animals can't use (and don't generate with) [[armor]], [[Offensive item|offensive]], [[Defensive item|defensive]], [[miscellaneous item]]s or [[tin]]s, and will not deliberately use traps or stairs to flee.
* all {{white|f}} [[feline]]s
+
* [[Chameleon]]s usually imitate animals.
* all {{white|m}} [[mimic]]s
+
 
* all {{white|p}} [[piercer]]s
+
==List of animals in NetHack==
* all {{white|q}} [[quadruped]]s
+
* 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|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|:}} [[Colon|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 67: 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