Difference between revisions of "Domestic animal"

From NetHackWiki
Jump to navigation Jump to search
(all shapeshifters, not just chameleons)
(moving tables to Diet)
Line 1: Line 1:
 
{{tocright}}
 
{{tocright}}
A '''domestic animal''' is one which can be [[peaceful|pacified]] or [[tame]]d by throwing [[food]] at it. They are:<ref>[[Source:monst.c|monst.c]]: domestic monsters have the M2_DOMESTIC flag.</ref>
+
A '''domestic animal''' is one which can be [[peaceful|pacified]] or [[tame]]d by throwing [[food]] to it. They are:<ref>[[Source:monst.c|monst.c]]: domestic monsters have the M2_DOMESTIC flag.</ref>
  
 
* [[Image:kitten.png]] {{monsymlink|kitten}}
 
* [[Image:kitten.png]] {{monsymlink|kitten}}
Line 16: Line 16:
 
== Pacifying and taming ==
 
== Pacifying and taming ==
  
[[Throw]]ing any kind of food--except an [[egg]] or [[cream pie]]--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.<ref>{{sourcecode|dothrow.c|1383}} (see also definition of befriend_with_obj at {{sourcecode|mondata.h|190}})</ref><ref>{{sourcecode|dog.c|756}}: "worst case, at least it'll be peaceful" (see also {{function|dog.c|dogfood|x}} above)</ref> 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.
+
[[Throw]]ing any kind of food&#8212;except an [[egg]] or [[cream pie]] that hits&#8212;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.<ref>{{sourcecode|dothrow.c|1383}} (see also definition of befriend_with_obj at {{sourcecode|mondata.h|190}})</ref><ref>{{sourcecode|dog.c|756}}: "worst case, at least it'll be peaceful" (see also {{function|dog.c|dogfood|x}} above)</ref> 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.  
  
If the food is considered a [[treat]], a suitable [[corpse]], or otherwise “acceptable” food, the animal will become tame and will eat the food. The animal is not considered starving for food classification purposes, but “acceptable” foodstuffs (which pets normally eat only if hungry) are sufficient for taming.<ref>{{sourcecode|dog.c|808}}; see also [[Source:edog.h|edog.h]] and {{function|edog.c|dogfood}}</ref>
+
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.<ref>{{sourcecode|dog.c|808}}; see also [[Source:edog.h|edog.h]] and {{function|edog.c|dogfood}}</ref>  
  
== Feeding ==
+
Food sufficient for taming a domestic [[carnivore]] (any cat or dog):
 +
* [[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!
  
These creatures have particular [[diet]]s and will react differently to various foods according to how appealing they find it. From best to worst, the grades of food are as follows.<ref>[[Source:Edog.h#line10]] for definition of food grades</ref><ref>[[Source:Dog.c#dogfood]] for food classification</ref>
+
Food sufficient for taming a domestic [[herbivore]] (any 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]])
  
Hungry is what a [[stethoscope]] and #[[chat]]ting indicate. Starving means the pet "is confused from hunger" or "you feel worried about" it, and implies the pet's maximum hit points are reduced to 25%.
+
Once the animal is [[tame]]d and has become your [[pet]], in order 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.  
 
 
Non-tame creates never eat, except [[metallivore]]s, [[ghoul]]s, [[gelatinous cube]]s, and hulks chewing on rock.
 
 
 
{|class="prettytable"
 
!Food grade
 
!Internal name
 
!Effect
 
|-
 
|'''treat'''
 
|DOGFOOD
 
|A delicious [[treat]] suitable for [[apport|training]].<ref>{{sourcecode|Dogmove.c|170}}</ref> Will make pets follow more closely.<ref>{{sourcecode|Dogmove.c|427}}</ref>. Pets will "catch" it, which is purely cosmetic.<ref>{{sourcecode|Dog.c|780}}</ref>
 
|-
 
|'''good'''
 
|CADAVER
 
|Will be eaten happily.<ref>{{sourcecode|Dogmove.c|297}} and {{sourcecode|Dogmove.c|675}}</ref>
 
|-
 
|'''hungry'''
 
|ACCFOOD
 
|Will be eaten if hungry,<ref>{{sourcecode|Dogmove.c|675}} {{sourcecode|Dog.c|780}}, {{sourcecode|Dothrow.c|1382}}</ref> but the pet will seek it out only if starving.<ref>{{sourcecode|Dogmove.c|297}}</ref> (Try throwing the food at the pet.) The minimum food grade needed for taming.<ref>{{sourcecode|Dog.c|808}}</ref> The worst quality food that will to suppress the message "[[Foo]] moves only reluctantly."<ref>{{sourcecode|Dogmove.c|377}}</ref>
 
|-
 
|starving
 
|MANFOOD (ACCFOOD when starving)
 
|Will be eaten only if starving.<ref>[[Source:Dog.c#dogfood]] technically reclassifies some of it as ACCFOOD when starving.</ref> Otherwise, the pet wants to apport the food.<ref>[[Source:Dogmove.c#line377]]</ref>
 
|-
 
|''inedible''
 
|MANFOOD, APPORT, POISON, UNDEF, TABU<!--Yes, MANFOOD features twice because dogfood reclassifies only some items when starving.-->
 
|Will be left untouched even while the poor creature starves to death.
 
|}
 
 
 
Generally, the [[carnivore]]s (cats and dogs) prefer meats, while the [[herbivore]]s (horses) prefer produce. Corpses and eggs that would be harmful to the animal if eaten--being [[poison]]ous, [[acid]]ic, or [[petrify]]ing--are treated as inedible.
 
 
 
Omnivores generally eat anything a carnivore or herbivore would, though corpses are an exception.
 
 
 
{|class="prettytable"
 
!Food
 
!Carnivores (cats/dogs)
 
!Herbivores (horses)
 
|-
 
|[[tripe ration]], or meat [[meat ring|ring]]/[[meat stick|stick]]/[[meatball|ball]]/[[huge chunk of meat|chunk]]
 
|'''treat'''
 
|''inedible''
 
|-
 
|safe [[egg]] (do not throw!)
 
|'''good'''
 
|''inedible''
 
|-
 
|safe [[corpse]], non-vegan
 
|'''good'''
 
|''inedible''
 
|-
 
|safe [[corpse]], [[vegan]]
 
|''inedible''
 
|'''good'''
 
|-
 
|[[clove of garlic]]
 
|starving
 
|'''hungry'''
 
|-
 
|[[tin]]
 
|''inedible''
 
|''inedible''
 
|-
 
|[[apple]], [[carrot]]
 
|starving
 
|'''treat'''
 
|-
 
|[[banana]]
 
|starving
 
|'''hungry'''
 
|-
 
|non-vegan people food:
 
*[[lump of royal jelly]]
 
*[[cream pie]] (do not throw!)
 
*[[candy bar]]
 
*[[fortune cookie]]
 
*[[pancake]]
 
*[[lembas wafer]]
 
*[[food ration|food]]/[[cram ration|cram]]/[[K-ration|K]]-/[[C-ration|C]]-ration
 
|'''hungry'''
 
|starving
 
|-
 
|other [[vegan]] [[comestibles]]:
 
*[[kelp frond]]
 
*[[eucalyptus leaf]]
 
*[[orange]]
 
*[[pear]]
 
*[[melon]]
 
*[[sprig of wolfsbane]]
 
*[[slime mold]]
 
|starving
 
|'''hungry'''
 
|-
 
|harmful [[corpse]] unless resistant:
 
*acidic
 
*poisonous
 
*petrifying (including [[cockatrice]] eggs)
 
*old (>=50 turns, except lizards and lichens)
 
*Riders
 
|''inedible''
 
|''inedible''
 
|}
 
  
 
== SLASH'EM ==
 
== SLASH'EM ==
Line 167: Line 80:
 
* [[Pet]]
 
* [[Pet]]
 
* [[Pet (SLASH'EM)]]
 
* [[Pet (SLASH'EM)]]
 +
* [[Diet]]
  
 
== References ==
 
== References ==

Revision as of 22:08, 20 January 2011

A domestic animal is one which can be pacified or tamed by throwing food to it. They are:[1]

A shapeshifter in any of these forms can be tamed with the appropriate food, remaining tame even as it changes forms.

Pacifying and taming

Throwing any kind of food—except an egg or cream pie that hits—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.[2][3] 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 corpse. Even an empty tin will do.

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.[4]

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

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

Once the animal is tamed and has become your pet, in order 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.

SLASH'EM

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

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.[7]

Tameable with cheese:

Tameable with carrots:

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

See also

References

  1. monst.c: domestic monsters have the M2_DOMESTIC flag.
  2. dothrow.c, line 1383 (see also definition of befriend_with_obj at mondata.h, line 190)
  3. dog.c, line 756: "worst case, at least it'll be peaceful" (see also dogfood above)
  4. dog.c, line 808; see also edog.h and dogfood in edog.c
  5. monst.c in SLASH'EM 0.0.7E7F2
  6. dog.c in SLASH'EM 0.0.7E7F2, line 734: "Koalas can only eat eucalyptus"
  7. mondata.h in SLASH'EM 0.0.7E7F2, line 239: "[Tom] Dorothy wants more pets..."


This page may need to be updated for the current version of NetHack.

It may contain text specific to NetHack 3.4.3. Information on this page may be out of date.

Editors: After reviewing this page and making necessary edits, please change the {{nethack-343}} tag to the current version's tag or {{noversion}} as appropriate.