Difference between revisions of "Domestic animal"

From NetHackWiki
Jump to navigation Jump to search
(chameleons)
(+table)
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--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.
  
 
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 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>
  
{{todo|A table of what counts as various grades of food for different kinds of pets would be nice.}}
+
== Feeding ==
 +
 
 +
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:
 +
 
 +
{|class="prettytable"
 +
!Food grade
 +
!Effect
 +
|-
 +
|'''treat'''
 +
|A delicious [[treat]] suitable for [[apport|training]].
 +
|-
 +
|'''good'''
 +
|Will be eaten happily.
 +
|-
 +
|'''acceptable'''
 +
|Will be eaten if hungry. (The minimum food grade needed for taming.)
 +
|-
 +
|yucky
 +
|Will be eaten only if tame and starving.
 +
|-
 +
|''inedible''
 +
|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.  
 +
 
 +
{|class="prettytable"
 +
!Food
 +
!Carnivores (cats/dogs)
 +
!Herbivores (horses)
 +
|-
 +
|[[tripe ration]]
 +
|'''treat'''
 +
|''inedible''
 +
|-
 +
|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'''
 +
|-
 +
|[[apple]]
 +
|yucky
 +
|'''treat'''
 +
|-
 +
|[[carrot]]
 +
|yucky
 +
|'''treat'''
 +
|-
 +
|[[banana]]
 +
|yucky
 +
|'''acceptable'''
 +
|-
 +
|[[clove of garlic]]
 +
|yucky
 +
|'''acceptable'''
 +
|-
 +
|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
 +
|'''acceptable'''
 +
|'''acceptable'''
 +
|-
 +
|other [[comestibles]]:
 +
*[[kelp frond]]
 +
*[[eucalyptus leaf]]
 +
*[[orange]]
 +
*[[pear]]
 +
*[[melon]]
 +
*[[sprig of wolfsbane]]
 +
*[[slime mold]]
 +
|yucky
 +
|yucky
 +
|}
  
 
== SLASH'EM ==
 
== SLASH'EM ==

Revision as of 08:29, 9 January 2011

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

Additionally, a chameleon in the form of any of these 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--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.

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

Feeding

These creatures have particular diets 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:

Food grade Effect
treat A delicious treat suitable for training.
good Will be eaten happily.
acceptable Will be eaten if hungry. (The minimum food grade needed for taming.)
yucky Will be eaten only if tame and starving.
inedible Will be left untouched even while the poor creature starves to death.

Generally, the carnivores (cats and dogs) prefer meats, while the herbivores (horses) prefer produce. Corpses and eggs that would be harmful to the animal if eaten--being poisonous, acidic, or petrifying--are treated as inedible.

Food Carnivores (cats/dogs) Herbivores (horses)
tripe ration treat inedible
meat ring/stick/ball/chunk treat inedible
safe egg (do not throw!) good inedible
safe corpse, non-vegan good inedible
safe corpse, vegan inedible good
apple yucky treat
carrot yucky treat
banana yucky acceptable
clove of garlic yucky acceptable
people food: acceptable acceptable
other comestibles: yucky yucky

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.