View Issue Details

IDProjectCategoryView StatusLast Update
0011064Dwarf FortressDwarf Mode -- Idle Behaviorpublic2020-02-19 09:11
Reporterfortunawhisk Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status newResolutionopen 
Platformx86OSWindowsOS Version10
Product Version0.44.12 
Summary0011064: Dwarves do not socialize with diagonal units
DescriptionUnits 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.
Steps To ReproduceCreate 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
Additional InformationSave that demonstrates the issue:
http://dffd.bay12games.com/file.php?id=14312
TagsNo tags attached.

Activities

fortunawhisk

2019-03-27 17:30

reporter   ~0039300

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.

fortunawhisk

2019-04-01 21:12

reporter   ~0039309

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.

FantasticDorf

2020-02-19 09:07

reporter   ~0040115

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.

Talvieno

2020-02-19 09:11

manager   ~0040116

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.

Add Note

Note

Issue History

Date Modified Username Field Change
2019-03-23 23:16 fortunawhisk New Issue
2019-03-27 17:30 fortunawhisk Note Added: 0039300
2019-04-01 21:12 fortunawhisk Note Added: 0039309
2020-02-19 09:07 FantasticDorf Note Added: 0040115
2020-02-19 09:11 Talvieno Note Added: 0040116