Does anyone know what specific event satisfies the need to BeWithFriends or BeWithFamily?
I'm working on a dfhack script to induce dwarves to seek out activities to satisfy their needs. I've got it working now for praying and reading a book, but I can't seem to figure out what it is a dwarf needs to do to satisfy their friends/family needs.
I assumed at first they would be covered by a "Socialize" (activity_event_socializest) event involving the dwarf and an appropriate companion (a Friend or a Mother/Father/Spouse/Child, respectively). But even when I can get two dwarves to go to the same tavern room, engage in the same social activity (unit.social_activities[0]) and participate in the same Socialize event (activity.events[0].participants), even as they cycle through branching events like "Recite Poetry", "Tell a Story" etc, their need focus level is not refreshed.
Then I thought maybe Socialize was too general, maybe they needed to engage in a more direct interaction. So I tried to assign them to converse with eachother (activity_event_conversationst), but they seemed to reject that as invalid and wouldn't even path to the tavern room to do it, or if combined with a Socialize event then they'd go, but by the time they got there they would have canceled their activity_event_conversationst so the result was the same as above.
So I made a repeat-every-tick monitoring script to detect when those needs were refreshing naturally, and noticed that it didn't seem to be happening in the context of any idle social activity, it seemed to just be when the friends/family happened to be in adjacent tiles while pathing somewhere. So I tried creating "Clean" jobs for the two dwarves targeting the same coordinate in the tavern room, just to get them to stand next to eachother for a bit, but that didn't seem to do it either; whichever one got there first would just loiter for a moment and leave, I guess because they noticed there was nothing to clean.
Can anyone think of any other kind of activity I could programmatically force two dwarves to engage in that will actually trigger their BeWithFriends/Family need?