Domestic animal

From NetHackWiki
Revision as of 09:33, 12 January 2011 by Tjr (talk | contribs) (Feeding: throw)
Jump to navigation Jump to search

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

Hungry is what a stethoscope and #chatting 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%.

Non-tame creates never eat, except metallivores, ghouls, gelatinous cubes, and hulks chewing on rock.

Food grade Internal name Effect
treat DOGFOOD A delicious treat suitable for training.[7] Will make pets follow more closely.[8]. Pets will "catch" it, which is purely cosmetic.[9]
good CADAVER Will be eaten happily.[10]
hungry ACCFOOD Will be eaten if hungry,[11] but the pet will seek it out only if starving.[12] (Try throwing the food at the pet.) The minimum food grade needed for taming.[13] The worst quality food that will to suppress the message "Foo moves only reluctantly."[14]
starving MANFOOD (ACCFOOD when starving) Will be eaten only if starving.[15] Otherwise, the pet wants to apport the food.[16]
inedible MANFOOD, APPORT, POISON, UNDEF, TABU 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, or 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
clove of garlic starving acceptable
tin inedible inedible
apple, carrot starving treat
banana starving hungry
non-vegan people food: hungry starving
other vegan comestibles: 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 adds the following domestic animals:[17]

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

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. Source:Edog.h#line10 for definition of food grades
  6. Source:Dog.c#dogfood for food classification
  7. Dogmove.c, line 170
  8. Dogmove.c, line 427
  9. Dog.c, line 780
  10. Dogmove.c, line 297 and Dogmove.c, line 675
  11. Dogmove.c, line 675 Dog.c, line 780, Dothrow.c, line 1382
  12. Dogmove.c, line 297
  13. Dog.c, line 808
  14. Dogmove.c, line 377
  15. Source:Dog.c#dogfood technically reclassifies some of it as ACCFOOD when starving.
  16. Source:Dogmove.c#line377
  17. monst.c in SLASH'EM 0.0.7E7F2
  18. dog.c in SLASH'EM 0.0.7E7F2, line 734: "Koalas can only eat eucalyptus"
  19. 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.