Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0003706Dwarf FortressDwarf Mode -- Diplomacypublic2010-11-21 10:262014-03-27 13:11
Quietust 
Footkerchief 
normalminorhave not tried
acknowledgedopen 
0.31.18 
 
0003706: Diplomats/liaisons meet with mayor instead of highest-ranking noble
In 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.
No tags attached.
Issue History
2010-11-21 10:26QuietustNew Issue
2010-11-21 12:26FootkerchiefSummaryDiplomats meet with lower-ranked nobles => Diplomats/liaisons meet with mayor instead of highest-ranking noble
2010-11-21 12:26FootkerchiefTag Attached: Intentional/Expected?
2012-09-24 12:56QuietustNote Added: 0023607
2014-03-27 12:57QuietustNote Added: 0024642
2014-03-27 13:11FootkerchiefTag Detached: Intentional/Expected?
2014-03-27 13:11FootkerchiefAssigned To => Footkerchief
2014-03-27 13:11FootkerchiefStatusnew => acknowledged
2014-03-27 13:14FootkerchiefRelationship addedrelated to 0006461

Notes
(0023607)
Quietust   
2012-09-24 12:56   
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.
(0024642)
Quietust   
2014-03-27 12:57   
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.