1
DF Dwarf Mode Discussion / Re: Stress & Pysche: 44.11+
« on: October 26, 2018, 09:44:19 am »We covered tiny taverns (which has been linked to the findings page in the OP) a good few pages back to investigate this, as you said and i put in my previous post, socialisation is not a activity, its just a idling state waiting around for performances.Sort of. If you look into the memory structure of the activity in dfhack when a unit is socializing or praying ("df.activity_entry.find(unit.social_activities[0])"), you can see that the respective initial events for those activities ("activity.events[0]") are activity_event_socializest and activity_event_worshipst; if that's the only non-dismissed event in the activity then the dwarf will show "Socialize" or "Worship" as their job. But a social activity can branch into a sub-event ("activity.events[1]") such as activity_event_performancest ("Listen to Poetry", "Tell Story", etc depending on event properties), and a worship activity can branch into activity_event_prayerst (which could be "Pray to X" or "Meditate", depending on "event.deity_id").
Prayer is the same thing, but its idle state is meditation.
So "Socialize" is an activity, but you're right that it's only the baseline event of the activity which will generally branch into performing/watching/listening sub-events.
Wait, then, if I understood correctly, ¿temples have little or no effect unless you assign performers? I've got this bunch of people always grumpy because they can't pray, even having temples to each diety, but I thought they were just too pious and had no time enough to pray to each of the gods.You certainly don't need performers in temples to satisfy prayer needs, I've never assigned any and my dwarves (usually) pray just fine. It's possible having a performer would let dwarves also satisfy various kinds of social or artistic needs in a temple the way they otherwise will in a tavern, I'm not sure. But it's also possible that doing that would make it less likely for them to satisfy prayer in the temple, so it might be a net loss for needs satisfaction.
¿Or is it part of the whole "socialize" stuff?
However, there are a few quirks with dwarves trying to pray which may cause the issues you're seeing. One of them is that any dwarf with sufficient military training will prioritize "Individual Combat Drill" over "Pray" in their idle time, so they will *never* pray to satisfy their need, no matter how devout they are; you'll have to remove their training barracks or remove them from their squad to get them to go pray. Another is that if a dwarf worships several gods and you have a dedicated temple to one of them, they may go there to pray and get stuck praying to that same god repeatedly because they won't know to leave that temple to go to a different temple to pray to their other god. In that case you can temporarily un-assign the temple they're stuck in and they should eventually go to another one to pray to their other god(s).
Both of those quirks can also be solved with a dfhack script that I'm working on, but I'd really like it to deal with the issue of dwarves failing to seek out friends/family to socialize with and I haven't figured out how to do that yet.