Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0001623Dwarf FortressDwarf Mode -- Thoughts and Preferencespublic2010-04-28 19:462015-09-17 23:52
Sirocco 
Knight Otu 
lowminorrandom
confirmedopen 
0.31.03 
 
0001623: Dwarves can have preferences for non-existing body parts like bird/worm teeth.
One of my dwarves has a great fondness for 'blue jay tooth'.
No tags attached.
related to 0003676confirmed Footkerchief Dwarf has preference for "wagon wood" 
related to 0004665confirmed Loci "Prefers to consume [animal]" not working properly 
has duplicate 0004735resolved Footkerchief Bumblebees not hiveable, but make food and drink 
has duplicate 0006276resolved Dwarfu Dwarves can like body parts of animals that don't have them 
has duplicate 0005674resolved Footkerchief Can prefer to eat non-butcherable vermin 
has duplicate 0009072resolved Knight Otu Dwarfs showing preference for animal teeth that don't exist 
related to 0004924new  Preferences are ignoring world; dwarf likes goblin-cap wood in world without caverns 
related to 0004950resolved Footkerchief butchered crundle produces no horn 
child of 0010954acknowledged Loci Food/drink preferences are buggy (bugs and references to related reports) 
Issue History
2010-04-28 19:46SiroccoNew Issue
2010-04-28 20:08Logical2uNote Added: 0005621
2010-04-28 20:42SiroccoNote Added: 0005627
2010-04-28 20:54Logical2uNote Added: 0005629
2010-04-29 00:32FootkerchiefNote Added: 0005642
2010-04-29 00:32FootkerchiefNote Edited: 0005642bug_revision_view_page.php?bugnote_id=0005642#r2069
2010-04-29 00:33FootkerchiefSummaryDwarf has a particularly odd preference. => Dwarf has a preference for 'blue jay tooth'
2010-04-29 00:44FootkerchiefIssue Monitored: Footkerchief
2011-07-31 05:33DwarfuRelationship addedrelated to 0003676
2011-07-31 06:42FootkerchiefRelationship replacedparent of 0003676
2011-07-31 06:42FootkerchiefRelationship addedrelated to 0004665
2011-07-31 06:43FootkerchiefRelationship replacedrelated to 0003676
2011-07-31 06:44FootkerchiefRelationship addedrelated to 0004735
2011-10-14 07:16Knight OtuRelationship addedrelated to 0004924
2011-11-22 11:25ellindseyNote Added: 0019001
2011-11-23 13:19kwielandNote Added: 0019007
2011-11-23 17:48ellindseyNote Added: 0019008
2012-02-26 11:47BuglistIssue Monitored: Buglist
2012-03-30 06:40BuglistIssue End Monitor: Buglist
2013-01-06 09:27DwarfuRelationship addedhas duplicate 0006276
2014-01-26 11:12FootkerchiefRelationship replacedhas duplicate 0004735
2014-01-26 11:17FootkerchiefRelationship addedhas duplicate 0005674
2014-01-29 10:30FootkerchiefRelationship addedrelated to 0004950
2015-09-17 23:49Knight OtuRelationship addedhas duplicate 0009072
2015-09-17 23:50Knight OtuSummaryDwarf has a preference for 'blue jay tooth' => Dwarves can have preferences for non-existing body parts like bird/worm teeth.
2015-09-17 23:52Knight OtuAssigned To => Knight Otu
2015-09-17 23:52Knight OtuStatusnew => confirmed
2018-04-13 11:59HuntthetrollIssue Monitored: Huntthetroll
2018-11-12 12:30LociRelationship addedchild of 0010954

Notes
(0005621)
Logical2u   
2010-04-28 20:08   
You haven't made any modifications to the RAWs have you?
(0005627)
Sirocco   
2010-04-28 20:42   
No, it's completely unmodded.
(0005629)
Logical2u   
2010-04-28 20:54   
Well in the RAWs all birds do technically have teeth, since they use the standard body plan (Which includes teeth).

I guess since it's an acceptable material, it's also an acceptable preference. Looking through a fort I was bugtesting, one person likes thornback ray teeth, and another that likes gray squirrel leather.

Probably not intentional, but probably not a quick fix either.
(0005642)
Footkerchief   
2010-04-29 00:32   
I don't think this is a material preference in the sense of METAL/STONE/GEM_PREF. I think it's a food preference that's not checking the edibility tags properly.

(0019001)
ellindsey   
2011-11-22 11:25   
This is definitely a material crafting preferences. Dwarves can form preferences for craftable materials (bone, leather, teeth, etc) from creatures which those materials cannot be produced from. This is a problem especially when nobles have a preferences for those materials and then start passing mandates for penguin teeth objects or whatever. This happens because those creatures have the materials in question as part of their creature definition, and those materials have flags which note them as being usable for crafting. When choosing materials that a dwarf may like, DF only looks at what materials are defined without checking if it's possible for them to exist or be produced.

I have created a manual fix for this, in the form of a Python script which edits the raw files and either removes impossible-to-produce materials or modifies them to be unusable for crafting (and therefore qualified for material preferences). This does require some major reworking of the raws, as each creature has to have its material templates custom-tweaked.

DF should really check to see if materials can actually be produced, and ideally check to see if the dwarven civilization in question has ever encountered those materials, rather than give dwarves preferences for completely imaginary materials.
(0019007)
kwieland   
2011-11-23 13:19   
Does that explain the preference for Slade?
(0019008)
ellindsey   
2011-11-23 17:48   
Having a preference for Slade is due to DF not checking to see if a material has [UNDIGGABLE] or [DEEP_SPECIAL] when looking for preferences. It really should. I don't know if it's possible to fix this by raw editing, I suspect if you made Slade no longer available as a valid stone you'd break the game.