Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0003357Dwarf FortressCreaturespublic2010-10-02 21:172014-07-23 10:06
G-Flex 
 
normalminoralways
newopen 
0.31.14 
 
0003357: Dogs give more edible material than cows; cows have strange meat/fat proportions
From the wiki, and tested ingame to some degree, here's how much edible stuff cows give vs. dogs.

For some reason, even though cows are bigger, they generally give less meat and much less fat, although they also give more eye and intestinal tissue.

Also, why the different proportion of meat:fat? Shouldn't they have the same relative tissue thicknesses? I'm not sure what's more realistic here, but in terms of how DF works, this is pretty confusing.
Dogs on left, cows on right, ones that differ on top:
Meat: 13/10-14
Fat: 13/9
Intestines: 1/2
Eyes: 0/2
Spleen: 1/1
Brain: 1/1
Heart: 1/1
Liver: 1/1
Kidneys: 2/2
Tripe: 1/1
Sweetbread: 1/1
Lungs: 2/2

Potentially relevant parts of dog/cow raws:

Cow:

[BODY:QUADRUPED_HOOF:TAIL:2EYES:2EARS:NOSE:2LUNGS:HEART:GUTS:ORGANS:THROAT:NECK:SPINE:BRAIN:SKULL:MOUTH:GENERIC_TEETH:RIBCAGE:2HEAD_HORN]

[BODY_SIZE:0:0:100000]
[BODY_SIZE:1:0:250000]
[BODY_SIZE:2:0:600000]

[BODY_APPEARANCE_MODIFIER:LENGTH:90:95:98:100:102:105:110]
[BODY_APPEARANCE_MODIFIER:HEIGHT:90:95:98:100:102:105:110]
[BODY_APPEARANCE_MODIFIER:BROADNESS:90:95:98:100:102:105:110]

[BODY_DETAIL_PLAN:VERTEBRATE_TISSUE_LAYERS:SKIN:FAT:MUSCLE:BONE:CARTILAGE]
[BODY_DETAIL_PLAN:BODY_HAIR_TISSUE_LAYERS:HAIR]


Dog:

[BODY:QUADRUPED:TAIL:2EYES:2EARS:NOSE:2LUNGS:HEART:GUTS:ORGANS:THROAT:NECK:SPINE:BRAIN:SKULL:4TOES_FQ:4TOES_RQ:MOUTH:GENERIC_TEETH_WITH_LARGE_EYE_TEETH:RIBCAGE]

[BODY_SIZE:0:0:1000]
[BODY_SIZE:1:0:12500]
[BODY_SIZE:2:0:30000]

[BODY_APPEARANCE_MODIFIER:LENGTH:90:95:98:100:102:105:110]
[BODY_APPEARANCE_MODIFIER:HEIGHT:90:95:98:100:102:105:110]
[BODY_APPEARANCE_MODIFIER:BROADNESS:90:95:98:100:102:105:110]

[BODY_DETAIL_PLAN:VERTEBRATE_TISSUE_LAYERS:SKIN:FAT:MUSCLE:BONE:CARTILAGE]
[BODY_DETAIL_PLAN:BODY_HAIR_TISSUE_LAYERS:HAIR]
No tags attached.
related to 0000874new  Dwarves refuse to butcher some corpses (buzzards in particular) 
related to 0005135new  Crabs yield 11 meat with max size 8000, wolves yield 12 meat with max size 40000 
Issue History
2010-10-02 21:17G-FlexNew Issue
2010-10-03 02:59Knight OtuNote Added: 0013159
2010-10-03 02:59Knight OtuNote Edited: 0013159bug_revision_view_page.php?bugnote_id=0013159#r5085
2010-10-03 03:07Knight OtuNote Edited: 0013159bug_revision_view_page.php?bugnote_id=0013159#r5086
2010-10-03 03:14Knight OtuNote Added: 0013160
2010-10-03 09:27QuietustNote Added: 0013167
2010-10-04 08:57FootkerchiefRelationship addedchild of 0001047
2010-11-27 15:06king doomNote Added: 0014253
2010-11-30 18:46G-FlexNote Added: 0014325
2012-02-15 14:15Knight OtuRelationship addedrelated to 0005135
2012-03-29 10:23G-FlexNote Added: 0021863
2014-07-23 10:04FootkerchiefRelationship deletedchild of 0001047
2014-07-23 10:06FootkerchiefRelationship addedrelated to 0000874

Notes
(0013159)
Knight Otu   
2010-10-03 02:59   
(edited on: 2010-10-03 03:07)
An incredibly muscled cow can provide 22-24 meat, providing a total of 36 food items versus a dog's apparently fixed 24 food items. A weak one that only provides ten meat would yield the same as a dog. I think that the larger size may well be the culprit here - certainly the number and weight of some of butchery items increases, but not quite correctly. For example, cow skin is 10 weight, while dog skin is less that 1. And of course the weight of the total butchery items really doesn' add up. A ~ 29 weight dog corpse giving ~ 65 weight in butchery items, and a 1093 weight cow giving 231 weight in butchery items, 98 of which is the stack of ~ 15 bones.

Also part of the problem may be that the organ meats aren't created quite correctly. All of them weigh 1, and rarely there is than 1 of them, while bone weight does seem to vary by creature. Meat weighs approximately 2 per item.

Hmm, giant lions are body size 400000, but seem to consistently fare better in the meat department. They also stop being a child after fully growing, whereas cows continue to grow. Let's test that.

Edit: Hm, no, doesn't seem to improve the meat production.

(0013160)
Knight Otu   
2010-10-03 03:14   
Ah, I seem to have part of the problem. Cows use the basic QUADRUPED_HOOF body. Makes sense. When you move them over to the QUADRUPED body however, they produce more meat and fat. Surely there can't be that much fat in the feet, can there?
(0013167)
Quietust   
2010-10-03 09:27   
The hooves account for 7.5% of the animal's total size, so the difference shouldn't be that big.
(0014253)
king doom   
2010-11-27 15:06   
This may or may not be the right place to add this, but I've had a few puppies caged right when they were born and grow to adults in the cage, when I butchered them all I got was a single dog skull.
(0014325)
G-Flex   
2010-11-30 18:46   
king doom: Interesting. Maybe creatures age up properly in cages, but don't actually grow while in them?
(0021863)
G-Flex   
2012-03-29 10:23   
I recently learned about how DF engages in some particularly egregious rounding errors when determining the amount of edible materials that comes from a given creature: http://www.bay12forums.com/smf/index.php?topic=78108.0 [^]

I'm not sure if it's relevant here, but it might be.