View Issue Details

IDProjectCategoryView StatusLast Update
0003706Dwarf FortressDwarf Mode -- Diplomacypublic2014-03-27 13:11
ReporterQuietust Assigned Touser6 
PrioritynormalSeverityminorReproducibilityhave not tried
Status acknowledgedResolutionopen 
Product Version0.31.18 
Summary0003706: Diplomats/liaisons meet with mayor instead of highest-ranking noble
DescriptionIn my current fortress, all Diplomats meet with my Mayor, while my Duchess never speaks with anyone. Even after my King arrived, the Elven diplomat (modded in to fix 0003295) still decided to meet with the Mayor.

In previous versions, diplomats always met with the highest ranking noble - the King, then the Duke/Count/Baron, then the Mayor, and finally the Expedition Leader if you didn't have any others.
TagsNo tags attached.

Activities

Quietust

2012-09-24 12:56

reporter   ~0023607

While researching the behavior of SLEEP_PRETENSION, I believe I may have discovered what is causing this - in order to find a noble's "importance", it is taking its PRECEDENCE value from the raws, subtracting it from 30000, then dividing it by 150; as a result, the mayor (PRECEDENCE:60), baron (PRECEDENCE:40), count (PRECEDENCE:30), and duke (PRECEDENCE:20) end up having the same level of importance, so the diplomat just picks the first (or last) one it sees and ends up with the wrong one.

Quietust

2014-03-27 12:57

reporter   ~0024642

For context, this same "importance" value existed in 40d and earlier, but back then it ranged from 0 to 10, with 2 for the Mayor, 3 for the Baron, 4 for the Count, 6 for the Duke, and 10 for the King.

Add Note

Note

Issue History

Date Modified Username Field Change
2010-11-21 10:26 Quietust New Issue
2010-11-21 12:26 user6 Summary Diplomats meet with lower-ranked nobles => Diplomats/liaisons meet with mayor instead of highest-ranking noble
2010-11-21 12:26 user6 Tag Attached: Intentional/Expected?
2012-09-24 12:56 Quietust Note Added: 0023607
2014-03-27 12:57 Quietust Note Added: 0024642
2014-03-27 13:11 user6 Tag Detached: Intentional/Expected?
2014-03-27 13:11 user6 Assigned To => user6
2014-03-27 13:11 user6 Status new => acknowledged