Talk:Domestic animal

From NetHackWiki
Jump to: navigation, search

What food tames animals?

The article claims hostile animals are not "hungry", and therefore accept only treats DOGFOOD (and not "acceptable food" ACCFOOD). However, I routinely tame cats and dogs with food rations. Somehow, Source:Dog.c#line781 seems to evaluate EDOG(mtmp)->hungrytime as zero for non-tame monsters. Why? --Tjr

Looks like that branch is only taken if the monster is tame to begin with (line 776). The relevant check for taming new pets seems to be on line 808 (don't tame if dogfood(mtmp, obj) >= MANFOOD, or equivalently tame if code>dogfood(mtmp, obj) <= ACCFOOD</code>). --Ilmari Karonen 18:08, 6 January 2011 (UTC)

Food quality and curse message

I think cursed royal jelly, cream pies, and other cursed non-vegan people food is good enough food to suppress the "reluctantly" message from a dog (Source:Dogmove.c#line377), but not good enough for it to eat it (Source:Dogmove.c#line297, Source:Dogmove.c#line675). Can anybody confirm this? --Tjr 23:20, 10 January 2011 (UTC)