View Issue Details

IDProjectCategoryView StatusLast Update
0001623Dwarf FortressDwarf Mode -- Thoughts and Preferencespublic2015-09-17 23:52
ReporterSirocco Assigned Touser1294 
PrioritylowSeverityminorReproducibilityrandom
Status confirmedResolutionopen 
Product Version0.31.03 
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.

Relationships

related to 0003676 confirmeduser6 Dwarf has preference for "wagon wood" 
related to 0004665 confirmedLoci "Prefers to consume [animal]" not working properly 
has duplicate 0004735 resolveduser6 Bumblebees not hiveable, but make food and drink 
has duplicate 0006276 resolveduser11 Dwarves can like body parts of animals that don't have them 
has duplicate 0005674 resolveduser6 Can prefer to eat non-butcherable vermin 
has duplicate 0009072 resolveduser1294 Dwarfs showing preference for animal teeth that don't exist 
related to 0004924 new Preferences are ignoring world; dwarf likes goblin-cap wood in world without caverns 
related to 0004950 resolveduser6 butchered crundle produces no horn 
child of 0010954 acknowledgedLoci Food/drink preferences are buggy (bugs and references to related reports) 

Activities

Logical2u

2010-04-28 20:08

manager   ~0005621

You haven't made any modifications to the RAWs have you?

Sirocco

2010-04-28 20:42

reporter   ~0005627

No, it's completely unmodded.

Logical2u

2010-04-28 20:54

manager   ~0005629

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.

user6

2010-04-29 00:32

  ~0005642

Last edited: 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

2011-11-22 11:25

reporter   ~0019001

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

2011-11-23 13:19

reporter   ~0019007

Does that explain the preference for Slade?

ellindsey

2011-11-23 17:48

reporter   ~0019008

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.

Add Note

Note

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 user6 Note Added: 0005642
2010-04-29 00:32 user6 Note Edited: 0005642
2010-04-29 00:33 user6 Summary Dwarf has a particularly odd preference. => Dwarf has a preference for 'blue jay tooth'
2011-07-31 05:33 user11 Relationship added related to 0003676
2011-07-31 06:42 user6 Relationship replaced parent of 0003676
2011-07-31 06:42 user6 Relationship added related to 0004665
2011-07-31 06:43 user6 Relationship replaced related to 0003676
2011-07-31 06:44 user6 Relationship added related to 0004735
2011-10-14 07:16 user1294 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
2013-01-06 09:27 user11 Relationship added has duplicate 0006276
2014-01-26 11:12 user6 Relationship replaced has duplicate 0004735
2014-01-26 11:17 user6 Relationship added has duplicate 0005674
2014-01-29 10:30 user6 Relationship added related to 0004950
2015-09-17 23:49 user1294 Relationship added has duplicate 0009072
2015-09-17 23:50 user1294 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 user1294 Assigned To => user1294
2015-09-17 23:52 user1294 Status new => confirmed
2018-11-12 12:30 Loci Relationship added child of 0010954