Difference between revisions of "Domestic animal"

From NetHackWiki
Jump to navigation Jump to search
(lede + some copyedit + list monkey and ape)
(Rearrange refs. Code-reading order is: do_throw, befriend_with_obj, tame_dog. Beatitude of thrown food does not matter. Dogs are harder to tame during a full moon.)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
{{tocright}}
 
{{tocright}}
A '''domestic animal''' is one of several monsters in ''[[NetHack]]'' that can be made [[peaceful]] or [[tame]] by throwing certain [[food]] to it. Domestic animals are denoted in the code with the <tt>'''M2_DOMESTIC'''</tt> flag - this is not to be confused with <tt>HI_DOMESTIC</tt>, which is a stand-in for the color white and applied to monster glyphs.
+
A '''domestic animal''' is a monster in ''[[NetHack]]'' that has the <tt>M2_DOMESTIC</tt> flag. This is not to be confused with <tt>HI_DOMESTIC</tt>, which is a stand-in for the color white and applied to monster glyphs.
  
 
==List of domestic animals==
 
==List of domestic animals==
The monsters listed below are considered to be domestic:{{refsrc|monst.c|93}}
+
 
 +
These monsters are domestic:{{refsrc|nethack=3.6.7|src/monst.c|104|comment=M2_DOMESTIC}}
  
 
* [[Image:kitten.png]] {{monsymlink|kitten}}
 
* [[Image:kitten.png]] {{monsymlink|kitten}}
Line 14: Line 15:
 
* [[Image:horse.png]] {{monsymlink|horse}}
 
* [[Image:horse.png]] {{monsymlink|horse}}
 
* [[Image:warhorse.png]] {{monsymlink|warhorse}}
 
* [[Image:warhorse.png]] {{monsymlink|warhorse}}
* [[Image:monkey.png]] {{monsymlink|monkey}}
 
* [[Image:ape.png]] {{monsymlink|ape}}
 
  
A [[shapeshifter]] in any of these forms can be tamed with the appropriate food, and will remain tame even as it changes forms.
+
== Taming ==
 +
 
 +
Throwing a [[treat]], a suitable [[corpse]], or certain other food may tame a domestic animal and make it a [[pet]].{{refsrc|nethack=3.6.7|src/dothrow.c|1769}}{{refsrc|nethack=3.6.7|include/mondata.h|225|comment=befriend_with_obj}}{{refsrc|nethack=3.6.7|src/dog.c|860|comment=function tamedog}}
 +
 
 +
Food sufficient for taming a domestic [[carnivore]] (any cat or dog):
 +
* [[tripe ration]]
 +
* [[huge chunk of meat]], [[meatball]], [[meat ring]], or [[meat stick]]
 +
* any safe non-vegan [[corpse]] (unsafe corpses include anything [[acidic]], [[poison]]ous, [[petrify]]ing, or [[tainted]])
 +
* [[food ration]], [[cram ration]], [[lembas wafer]], [[K-ration]], or [[C-ration]]
 +
* [[candy bar]], [[pancake]], [[lump of royal jelly]], [[fortune cookie]]
 +
 
 +
An [[egg]] or [[cream pie]] would also work, but they usually splat when you throw them. (Except for petrifying eggs, of course, those do worse than splat.)
 +
 
 +
Food sufficient for taming a domestic [[herbivore]] (any horse):
 +
* [[apple]], [[banana]], [[orange]], [[pear]], or [[slime mold]]
 +
* [[carrot]], [[clove of garlic]], [[kelp frond]], [[eucalyptus leaf]], or [[sprig of wolfsbane]]
 +
* [[lichen]] corpse
 +
 
 +
A [[melon]] would also work, but they usually splat when you throw them.
 +
 
 +
The [[beatitude]] of the thrown food does not matter.
 +
 
 +
Certain other monsters may be tamed with food as well, such as monkeys and apes, even though they are not domestic.
 +
 
 +
A [[shapeshifter]] in the form of a domestic animal can be tamed, and will remain tame even as it changes forms.
 +
 
 +
At [[night]] during a [[full moon]], dogs are more likely to resist taming.{{refsrc|nethack=3.6.7|src/dog.c|878}}
 +
 
 +
== Pacification ==
 +
 
 +
If a domestic animal is not tamed by thrown food, it may be pacified, even if the item is something that the domestic animal would not normally eat. Nearly any food will pacify a carnivorous domestic animal (cat or dog). Even a [[tin]] will do. Only a [[veggy]] food item will pacify an herbivorous domestic animal (horse).
 +
 
 +
For example, throwing a [[carrot]] or a [[lichen]] corpse will pacify a dog, and throwing a [[food ration]] or a [[fortune cookie]] will pacify a horse.
 +
 
 +
Pacifying will make the domestic animal [[peaceful]] and remove any [[fear]] effects.
  
{{todo|In 3.6.X, monkeys and apes can be tamed with bananas.}}
+
== Other differences ==
  
==Description==
+
A tame domestic animal starts with a tameness of 10; any other tame monster starts with a tameness of 5.{{refsrc|nethack=3.6.7|src/dog.c|37}}
{{main|Diet#Pets}}
 
  
[[Throw]]ing any kind of food other than an [[egg]], [[cream pie]] or melon at a domestic animal will make it [[peaceful]] and remove any [[fear]] effects, even if it is not something that the animal would normally eat.{{refsrc|dothrow.c|1383}}{{refsrc|mondata.h|190}}{{refsrc|dog.c|756|comment="worst case, at least it'll be peaceful"}}{{reffunc|dog.c|dogfood}} For example, a dog could be made peaceful by throwing a [[carrot]] or a [[lichen]] corpse, and a horse could be made peaceful by throwing a [[food ration]] or a [[gnome (monster)|gnome]] corpse. Even an empty [[tin]] will do.
+
A domestic animal which can be saddled (i.e. a horse) has a {{frac|100}} chance of being equipped with a [[saddle]] when it is generated.{{refsrc|nethack=3.6.7|src/makemon.c|1386}}
  
If the food is considered a [[treat]], a suitable [[corpse]], or any other acceptable food, the animal will become [[tame]] and will eat the food. An untame domestic animal, in evaluating thrown food, is effectively hungry but not starving.{{refsrc|dog.c|808}}{{reffunc|dog.c|dogfood}}
+
Eating the corpse of certain domestic animals confers the [[aggravate monster]] intrinsic, unless the character is a [[Caveman]] or an [[Orc (starting race)|Orc]].{{refsrc|nethack=3.6.7|src/eat.c|696}} Relevant monsters are cats and dogs, but not horses.
  
Food sufficient for taming a domestic [[carnivore]] (any cat or dog):
+
== History ==
* [[tripe ration]]
 
* meat [[meat ring|ring]]/[[meat stick|stick]]/[[meatball|ball]]/[[huge chunk of meat|chunk]]
 
* any safe non-vegan [[corpse]] (unsafe corpses include anything [[acidic]], [[poison]]ous, [[tainted]], [[petrify]]ing, or [[Riders|otherwise deadly]])
 
* [[egg]] (excluding deadly [[chickatrice]] eggs)&#8212;but only if you miss!
 
* [[food ration|food]]/[[cram ration|cram]]/[[K-ration|K]]-/[[C-ration|C]]-ration
 
* [[lembas wafer]]
 
* [[candy bar]]
 
* [[pancake]]
 
* [[lump of royal jelly]]
 
* [[fortune cookie]]&#8212;it will go unread
 
* [[cream pie]]&#8212;but only if you miss!
 
  
Food sufficient for taming a domestic [[herbivore]] (any horse):
+
In NetHack 3.6.0 and earlier versions, throwing any food item would pacify an herbivorous domestic animal (horse).
* any fruit&#8212;[[apple]], [[banana]], [[orange]], [[pear]], [[melon]], or [[slime mold]]
 
* any vegetable&#8212;[[carrot]], [[clove of garlic]], [[kelp frond]], [[eucalyptus leaf]], or [[sprig of wolfsbane]]
 
* any safe [[vegan]] [[corpse]] (unsafe corpses include anything [[acidic]], [[poison]]ous, or [[tainted]])
 
  
Once the animal is [[tame]]d and has become your [[pet]], to promote its continued tameness, health, and good behavior, take care to feed it according to its [[diet]]. This is especially important for horses, for whom suitable food can be difficult to obtain.
+
NetHack 3.6.1 introduced the chance of a saddle-able domestic animal being generated with a saddle.
  
 
==Variants==
 
==Variants==
Line 62: Line 80:
 
* [[Image:cow.png]] {{monsymlink|cow}}
 
* [[Image:cow.png]] {{monsymlink|cow}}
 
* [[Image:bull.png]] {{monsymlink|bull}}
 
* [[Image:bull.png]] {{monsymlink|bull}}
* [[Image:koala.png]] {{monsymlink|koala}} (only tameable with [[eucalyptus leaves]]{{refsrc|version=SLASH'EM 0.0.7E7F2|dog.c|734|comment="Koalas can only eat eucalyptus"}}
+
* [[Image:koala.png]] {{monsymlink|koala}} (only tameable with [[eucalyptus leaves]]){{refsrc|version=SLASH'EM 0.0.7E7F2|dog.c|734|comment="Koalas can only eat eucalyptus"}}
 
* [[Image:wombat.png]] {{monsymlink|wombat}}
 
* [[Image:wombat.png]] {{monsymlink|wombat}}
  
Line 86: Line 104:
 
== See also ==
 
== See also ==
  
* [[Cannibalism]]
+
* [[Diet]]
 
* [[Pet]]
 
* [[Pet]]
 
* [[Pet (SLASH'EM)]]
 
* [[Pet (SLASH'EM)]]
* [[Diet]]
 
  
 
== References ==
 
== References ==
 
 
<references/>
 
<references/>
  
{{nethack-343}}
+
{{nethack-367}}
 
[[Category:Monsters]]
 
[[Category:Monsters]]

Latest revision as of 13:03, 3 July 2024

A domestic animal is a monster in NetHack that has the M2_DOMESTIC flag. This is not to be confused with HI_DOMESTIC, which is a stand-in for the color white and applied to monster glyphs.

List of domestic animals

These monsters are domestic:[1]

Taming

Throwing a treat, a suitable corpse, or certain other food may tame a domestic animal and make it a pet.[2][3][4]

Food sufficient for taming a domestic carnivore (any cat or dog):

An egg or cream pie would also work, but they usually splat when you throw them. (Except for petrifying eggs, of course, those do worse than splat.)

Food sufficient for taming a domestic herbivore (any horse):

A melon would also work, but they usually splat when you throw them.

The beatitude of the thrown food does not matter.

Certain other monsters may be tamed with food as well, such as monkeys and apes, even though they are not domestic.

A shapeshifter in the form of a domestic animal can be tamed, and will remain tame even as it changes forms.

At night during a full moon, dogs are more likely to resist taming.[5]

Pacification

If a domestic animal is not tamed by thrown food, it may be pacified, even if the item is something that the domestic animal would not normally eat. Nearly any food will pacify a carnivorous domestic animal (cat or dog). Even a tin will do. Only a veggy food item will pacify an herbivorous domestic animal (horse).

For example, throwing a carrot or a lichen corpse will pacify a dog, and throwing a food ration or a fortune cookie will pacify a horse.

Pacifying will make the domestic animal peaceful and remove any fear effects.

Other differences

A tame domestic animal starts with a tameness of 10; any other tame monster starts with a tameness of 5.[6]

A domestic animal which can be saddled (i.e. a horse) has a 1100 chance of being equipped with a saddle when it is generated.[7]

Eating the corpse of certain domestic animals confers the aggravate monster intrinsic, unless the character is a Caveman or an Orc.[8] Relevant monsters are cats and dogs, but not horses.

History

In NetHack 3.6.0 and earlier versions, throwing any food item would pacify an herbivorous domestic animal (horse).

NetHack 3.6.1 introduced the chance of a saddle-able domestic animal being generated with a saddle.

Variants

SLASH'EM

SLASH'EM adds the following domestic animals:[9]

Also, some animals in SLASH'EM can be tamed or pacified with specific foods; throwing other kinds of comestibles at them has no pacifying effect.[11]

Tameable with cheese:

Tameable with carrots:

Tameable with bananas: all apelike creatures (monsters represented by ​Y)

See also

References