Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0011064Dwarf FortressDwarf Mode -- Idle Behaviorpublic2019-03-23 23:162020-02-19 09:11
fortunawhisk 
 
normalmajoralways
newopen 
x86Windows10
0.44.12 
 
0011064: Dwarves do not socialize with diagonal units
Units will only socialize with units on the same or adjacent tiles, but only when those adjacent tiles are directly North, South, East, or West of the unit's current position. Units in adjacent diagonal spaces are ignored (NE, SE, SW, NW). This appears to be true for both idle and tavern based socialization.

Because units do not socialize and this slows the creation and improvement of relationships. The lack of relationships leads to stress problems over time.
Create an enclosed room with two dwarves (ideally with no relationship)
Create a 2x2 tavern or meeting zone
Build walls so that units can only be diagonally adjacent.
Create two burrows that each cover different halves of the zone. There should only be one pathable square in each burrow.
Assign a single dwarf to each of the burrows
Watch them over time. There is no change in relationship.
Rebuild one of the walls so the dwarves are forced into N/S adjacent positions
Watch them over time. Units should change relationships after 5-8 in game days, or when the rank value for the relationship increments to 15.


gui/gm-editor df.historical_figure.find(unit.hist_figure_id).info.relationships.list
Save that demonstrates the issue:
http://dffd.bay12games.com/file.php?id=14312 [^]
No tags attached.
Issue History
2019-03-23 23:16fortunawhiskNew Issue
2019-03-27 17:30fortunawhiskNote Added: 0039300
2019-04-01 21:12fortunawhiskNote Added: 0039309
2020-02-19 09:07FantasticDorfNote Added: 0040115
2020-02-19 09:11TalvienoNote Added: 0040116

Notes
(0039300)
fortunawhisk   
2019-03-27 17:30   
I made a mistake in my testing. Units will ONLY socialize with N,S,E,W adjacent units. Same square and diagonally adjacent units are ignored. It also turns out that units can socialize with correctly adjacent "busy" units if they don't move. I tested with pumpstack, temples, and libraries.
(0039309)
fortunawhisk   
2019-04-01 21:12   
Did some additional testing. It looks like dwarves CAN socialize with diagonal and same space units, but ONLY if there are dwarves in the N,S,E,W adjacent tiles. Otherwise, the behavior is the same as originally reported (no socialization).

When there are dwarves in the correctly adjacent space and a unit is socializing, it appears that the unit socializes with ALL units in 3x3 grid centered on the socializing dwarf.

I think the expected behavior here is: A dwarf will socialize with any other idle or socializing unit in a 3x3 grid centered on the socializing/idle dwarf.
(0040115)
FantasticDorf   
2020-02-19 09:07   
The rule may possibly be the same, but with the new pathfinding AI for 47.03 they seek other dwarves and put themselves onto the usually correct tile to speak to friends, family & strangers when not occupied with a job or activity.
(0040116)
Talvieno   
2020-02-19 09:11   
I'm seeing a lot of them ending up on a diagonal tile, but I can't really tell if it's working or not either way. More testing needs to be done, I think.