Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0007349Dwarf FortressDwarf Mode -- Moodspublic2014-07-15 15:042014-08-20 07:25
Bobnova 
Toady One 
normalmajoralways
resolvedfixed 
PCWindows 7Most recent
0.40.03 
0.40.09 
0007349: Seeing berserk dwarf triggers mass combat
Planter had a mood, claimed a glass furnace, and then sat there not collecting anything.
I built a wall around the furnace, with a door in it that I forbid passage through.
Eventually the dwarf went berserk, and of course just sat there as the door was locked.

I channeled into the top, forgetting about climb, the berserk planter climbed out and attacked a miner. Shortly thereafter I noticed that there were an awful lot more corpses than just the planter and the miner.
Combat had broken out in many odd places, some on different floors of the fortress.

I re-loaded the save from just before channeling, and repeated the procedure. Same results, different dwarves randomly attacking each other.

I channeled in from the outdoors rather than the indoors. No random battles.

I opened the door and went slowly. Random battles, but only within sight of the berserk.

I opened the door and went slowly again, more random battles, only within sight of the berserk. Additionally, some random battles appeared to start after the berserk was dead.
Find the berserk dwarf in the save (http://www.bobnova.com/dwarffortress/region1-before-berserk.rar [^]), he's in a glass furnace a couple z levels under the F1 zoom point (or units-etc.).
Open the door to him. He may simply sit there not realizing it's unlocked. Send a dwarf in, for any reason.

The berserk will attack, shortly unrelated dwarves will attack each other.

Nothing special seems to need to be done in this save to reproduce this, though it appears that it must be witnessed.
This is the first failed mood I've had in 0.40.xx as well as the first berserk I've had. Thus I do not know if it happens with every berserk or just this one.

Seems like it might be related to loyalty on a transitory basis. I suspect but have not confirmed that the dwarves that attack or are attacked randomly all have had a job cancellation due to the berserk. Like I said I have not doublechecked this!
It reminds me of the hauling bug (no clue what number, only seen it referenced on the forum) that causes friendlies that are hauling hostiles to be attacked as hostile.
loyalty cascade
related to 0003259new  Loyalty cascade after ordering squad to attack were-citizens, merchants/traders, guards, or liaison 
Issue History
2014-07-15 15:04BobnovaNew Issue
2014-07-15 15:06FootkerchiefNote Added: 0026542
2014-07-15 15:06FootkerchiefAssigned To => Footkerchief
2014-07-15 15:06FootkerchiefStatusnew => needs feedback
2014-07-15 15:07BobnovaNote Added: 0026543
2014-07-15 15:07BobnovaStatusneeds feedback => assigned
2014-07-15 15:12BobnovaNote Added: 0026544
2014-07-15 15:14FootkerchiefRelationship addedrelated to 0003259
2014-07-20 23:19alkatrazjrNote Added: 0027104
2014-07-20 23:21alkatrazjrIssue Monitored: alkatrazjr
2014-08-09 19:54FootkerchiefStatusassigned => confirmed
2014-08-10 09:47KanddakTag Attached: loyalty cascade
2014-08-13 13:37QuietustNote Added: 0028983
2014-08-13 22:35xenofeelIssue Monitored: xenofeel
2014-08-13 23:03PeepsNote Added: 0029010
2014-08-14 06:474maskwolfIssue Monitored: 4maskwolf
2014-08-16 13:28Toady OneNote Added: 0029149
2014-08-16 13:28Toady OneStatusconfirmed => resolved
2014-08-16 13:28Toady OneFixed in Version => Next Version
2014-08-16 13:28Toady OneResolutionopen => fixed
2014-08-16 13:28Toady OneAssigned ToFootkerchief => Toady One
2014-08-20 07:254maskwolfIssue End Monitor: 4maskwolf

Notes
(0026542)
Footkerchief   
2014-07-15 15:06   
Are the dwarves throwing tantrums?
(0026543)
Bobnova   
2014-07-15 15:07   
No mods, no file editing. I do use the recently released Dwarf Therapist.
The issue happens regardless of whether it is running or not.
(0026544)
Bobnova   
2014-07-15 15:12   
No tantrums are in evidence. The first dwarf attacked and its attackers this go-round are all ecstatic, they're listed as "No job", as well.

I spent some more time going frame by frame.
It looks like anybody who is interrupted and flees becomes a hostile and is chased/attacked.
(0027104)
alkatrazjr   
2014-07-20 23:19   
Yep, experienced a very similar thing in 0.40.03 as well. Metalcrafter went berzerk, killed someone, I sent my army to kill him, and after they engaged him some of them began striking out at others, and the cascade resulted. It seems consistent with you saying that the cascade begins on sight. I also noticed that the combat log was filled with people yelling for revenge.
(0028983)
Quietust   
2014-08-13 13:37   
After testing the save in 0.40.08, it does not appear to be the civil war bug ("loyalty cascade") - even amidst the chaos, all dwarves maintained their citizenship and site government membership.
(0029010)
Peeps   
2014-08-13 23:03   
I had a dwarf go berserk and her lover started fighting as well.
It's possible that this is related to the new loyalty system, causing dwarves to attempt to aid their friends and family in combat regardless of their sanity.
(0029149)
Toady One   
2014-08-16 13:28   
Yeah, it was usually the berserk planter's younger brother that was jumping in. I've made them consider the berserkness and other such factors now. After that, for 0.40.09, many dwarves in the fort jumped in to help the first non-berserk target, which is good.