Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001623Dwarf FortressDwarf Mode -- Thoughts and Preferencespublic2010-04-28 19:462015-09-17 23:52
Assigned ToKnight Otu 
PlatformOSOS Version
Product Version0.31.03 
Target VersionFixed in Version 
Summary0001623: Dwarves can have preferences for non-existing body parts like bird/worm teeth.
DescriptionOne of my dwarves has a great fondness for 'blue jay tooth'.
TagsNo tags attached.
Attached Files

- Relationships
related to 0003676confirmedFootkerchief Dwarf has preference for "wagon wood" 
related to 0004665confirmedLoci "Prefers to consume [animal]" not working properly 
has duplicate 0004735resolvedFootkerchief Bumblebees not hiveable, but make food and drink 
has duplicate 0006276resolvedDwarfu Dwarves can like body parts of animals that don't have them 
has duplicate 0005674resolvedFootkerchief Can prefer to eat non-butcherable vermin 
has duplicate 0009072resolvedKnight 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 0004950resolvedFootkerchief butchered crundle produces no horn 
child of 0010954acknowledgedLoci Food/drink preferences are buggy (bugs and references to related reports) 

-  Notes
Logical2u (manager)
2010-04-28 20:08

You haven't made any modifications to the RAWs have you?
Sirocco (reporter)
2010-04-28 20:42

No, it's completely unmodded.
Logical2u (manager)
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.
Footkerchief (manager)
2010-04-29 00:32
edited on: 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.

ellindsey (reporter)
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.
kwieland (reporter)
2011-11-23 13:19

Does that explain the preference for Slade?
ellindsey (reporter)
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.

- Issue History
Date Modified Username Field Change
2010-04-28 19:46 Sirocco New Issue
2010-04-28 20:08 Logical2u Note Added: 0005621
2010-04-28 20:42 Sirocco Note Added: 0005627
2010-04-28 20:54 Logical2u Note Added: 0005629
2010-04-29 00:32 Footkerchief Note Added: 0005642
2010-04-29 00:32 Footkerchief Note Edited: 0005642 View Revisions
2010-04-29 00:33 Footkerchief Summary Dwarf has a particularly odd preference. => Dwarf has a preference for 'blue jay tooth'
2010-04-29 00:44 Footkerchief Issue Monitored: Footkerchief
2011-07-31 05:33 Dwarfu Relationship added related to 0003676
2011-07-31 06:42 Footkerchief Relationship replaced parent of 0003676
2011-07-31 06:42 Footkerchief Relationship added related to 0004665
2011-07-31 06:43 Footkerchief Relationship replaced related to 0003676
2011-07-31 06:44 Footkerchief Relationship added related to 0004735
2011-10-14 07:16 Knight Otu Relationship added related to 0004924
2011-11-22 11:25 ellindsey Note Added: 0019001
2011-11-23 13:19 kwieland Note Added: 0019007
2011-11-23 17:48 ellindsey Note Added: 0019008
2012-02-26 11:47 Buglist Issue Monitored: Buglist
2012-03-30 06:40 Buglist Issue End Monitor: Buglist
2013-01-06 09:27 Dwarfu Relationship added has duplicate 0006276
2014-01-26 11:12 Footkerchief Relationship replaced has duplicate 0004735
2014-01-26 11:17 Footkerchief Relationship added has duplicate 0005674
2014-01-29 10:30 Footkerchief Relationship added related to 0004950
2015-09-17 23:49 Knight Otu Relationship added has duplicate 0009072
2015-09-17 23:50 Knight Otu Summary Dwarf has a preference for 'blue jay tooth' => Dwarves can have preferences for non-existing body parts like bird/worm teeth.
2015-09-17 23:52 Knight Otu Assigned To => Knight Otu
2015-09-17 23:52 Knight Otu Status new => confirmed
2018-04-13 11:59 Huntthetroll Issue Monitored: Huntthetroll
2018-11-12 12:30 Loci Relationship added child of 0010954

Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker