v50 Steam/Premium information for editors
  • v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
  • Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.

Faction

From Dwarf Fortress Wiki
Jump to navigation Jump to search
This article is about the current version of DF.
Note that some content may still need to be updated.

Factions govern how creatures will react upon each other's presence. The world is full of dangers for your unfortunate dwarves and it seems that nearly everything is trying to kill them; fortunately, said dangers are also hostile to each other most of the time. Confrontations between such opposed factions happen in both fortress and adventurer mode; the wise player will see to it that they weaken each other instead of ganging up against one's fort or adventurer.

In the object testing arena, each creature created can be tied to a faction(referred to in-game as a "side"). Creatures will be friendly to other creatures within their faction, and will be hostile to any other creature. There are a total of 99 factions, and an "independent" option which is hostile to all other creatures.

Faction relative hostility

The table below shows the behavior of different factions when confronted:

Dwarves Elves Humans Goblins Kobolds Necromancers Undead Wildlife Cave civs2 (Semi-)Megabeasts Clowns Werebeasts3
Dwarves Friendly Friendly1 Friendly1 Hostile1 Hostile Hostile Hostile Hostile Variable Hostile Hostile Hostile
Elves Friendly1 Friendly Friendly1 Hostile1 Hostile Hostile Hostile Friendly Variable Hostile Hostile Hostile
Humans Friendly1 Friendly1 Friendly Hostile1 Hostile Hostile Hostile Hostile Variable Hostile Hostile4 Hostile
Goblins Hostile1 Hostile1 Hostile1 Friendly Hostile Hostile Hostile Hostile Variable Hostile Hostile4 Hostile
Kobolds Hostile Hostile Hostile Hostile Friendly Hostile Hostile Hostile Hostile Hostile Hostile Hostile
Necromancers Hostile Hostile Hostile Hostile Hostile Hostile Friendly Hostile Hostile Hostile Hostile Hostile
Undead Hostile Hostile Hostile Hostile Hostile Friendly Friendly Hostile Hostile Hostile Hostile Hostile
Wildlife Hostile Friendly Hostile Hostile Hostile Hostile Hostile Variable5 Hostile Hostile Hostile Hostile
Cave civs Variable Variable Variable Variable Hostile Hostile Hostile Hostile Friendly Hostile Hostile Hostile
(Semi-)Megabeasts Hostile Hostile Hostile Hostile Hostile Hostile Hostile Hostile Hostile Friendly Hostile Hostile
Clown Hostile Hostile Hostile Hostile Hostile Hostile Hostile Hostile Hostile Hostile Friendly Hostile
Werebeasts Hostile Hostile Hostile Hostile Hostile Hostile Hostile Hostile Hostile Hostile Hostile Variable3

1Advanced civilizations are subject to the mechanisms of diplomacy and may routinely go at war and conclude peace treaties depending on world-gen and according to each civilization's ethics. On the one hand, war against elves or humans is not that uncommon; on the other hand, goblins will almost always be hostile toward everyone else.

2Cave civilizations are always friendly toward adventurers and they can be either hostile or friendly toward your dwarves. They often become friendly when confronted with a megabeast. Note that this behavior does not apply to most animal people, who are simply treated as wildlife.

3Werebeasts will switch factions from whatever civilization they belong to under their normal form to a special, species-dependent faction on full moon. Different species of werebeasts will be hostile to each other.

4A clown often takes control of a goblin civilization, and sometimes becomes the ruler of a human civilization by posing as their god. Other clowns are typically hostile.

5[LARGE_PREDATOR]s will attack anything significantly smaller than themselves. In most other cases, wildlife will flee from non-[BENIGN] wildlife. Two [BENIGN] wild animals will ignore each other.

Due to their [BABYSNATCHER] tag, goblins will be almost always at war with other civilizations; megabeasts and semi-megabeasts are neutral toward each other, but will try to kill everything else they can find - whether it be in worldgen, adventurer mode or fortress mode. Undead creatures will attack every creature that isn't undead (or a necromancer) due to their [OPPOSED_TO_LIFE] tag. Kobolds are unable to speak besides in utterances and are thus at war with everyone else - note that if you start as a kobold in Adventure Mode when they are available, you will be unable to speak to anyone and other kobolds will attack you on sight because they won't be able to talk to you either.

It seems that undead just ignore necromancers or fellow undead, but the necromancers themselves will lash out at each other if they belong on different civilizations or towers. This is important in adventure mode - should you learn the secrets of life and death, all zombies will become neutral to you, letting you seize the opportunity to make short work of their squishy and unarmed masters. In adventure mode, undead you raise will follow you as if they were companions; however, they will all turn neutral if you purposely attack one of them.

There are exceptions to the above table: most notably, foreign creatures occupying a noble position in a civ for whatever reason (e.g. demons that have impersonated a god to take control of human civs, or necromancer kings) will behave the same way any other civ member would toward your dwarves or adventurer. Hence the ludicrous possibilities for a demon to visit your fortress as a diplomat (or join you in your adventures) or a friendly necromancer inadvertently wreaking havoc on your fortress by raising corpses whenever it can. Berserk dwarves are hostile to everyone. Vampire dwarves (and humans) will also be neutral toward undead even when not confronted. You can take advantage of this, ordering your vampires to kill necromancers when facing a siege; a vampire can and will path toward a necromancer unhindered and usually beat him to death. You can also order vampires to kill zombies one by one as they won't react unless attacked.

Loyalty cascade

Loyalty cascades are the result of entity members attacking each other. The conflict will escalate into a full civil war (hence Toady One referring to it as the "civil war bug") and won't resolve until one side of the conflict is wiped out. Loyalty cascades can be triggered in both fortress and adventure mode.

Attacking merchants from your mountain-home

If you order your military to kill merchants from your own civilization, a bizarre result of the way loyalty is handled makes the members of your military who attacked the traders become enemies of your civilization, but remain members of your fort's government (dwarves of this faction will henceforth be referred to as separatists). As enemies, they attack your other dwarves (citizens), but as members of the fort, they still follow orders. Allowing citizen militia dwarves to attack the separatists will give them opposite loyalties of the separatists, (i.e. loyal to civ, not to fort), or loyalists, who do not follow orders. And then, if a separatist or loyalist kill a citizen, they become enemies of the civ and fort, making them Renegades, who are essentially complete enemies of the citizens.

Attempting to tame enemy mounts

If you use cage traps against goblin sieges, you are likely to capture a few mounts from various species. You may assign them to your animal trainers and attempt to tame them, thus gaining a few facts about each specific species; but under no circumstances should you ever release them from their cages, as they are always considered enemies to your civilization and will wreak havoc as soon as they are free. Not only that, but they will trigger a similar loyalty cascade as soon as they attack your citizens, leading your fort to its demise through a never-ending civil war - as well as some copious jabberer-chomping. The best course of action is to keep re-training the mounts in their cages over and over again, thus facilitating future taming of their wild counterparts.

Attacking a werebeast in dwarven form

If one of your dwarves turns into a werebeast and you send your military to kill them while shapeshifted, failing to kill (and allowing the dwarf to revert to normal) may cause a loyalty cascade.

Attacking a berserk citizen or werebeast in wereform

Dwarven military can no longer be relied upon to put an end to the rampages of citizens gone berserk or transformed into a beast. Fighting such a threat is treated as assaulting a citizen and will cause the defenders of your fort to lose loyalty and be hunted down as traitors. Bug:7107 Seems fixed in 0.42[Verify]

How to deal with loyalty cascades

To prevent the cascade from spreading, order the original separatists away from the fortress and let them fight amongst themselves. If the results are renegades, it is okay to allow other dwarves to kill them (by stationing them nearby). If the results are separatists/loyalists, then you will need to separate them somehow.

Dwarves from these different "factions" will cancel jobs if they ever come across one another, each running away. This will likely lead to a massive number of job interruption announcements reading Urist McDwarf cancels Eat: Interrupted by Farmer

NOTE: Tame Animals are loyal to civilizations and fortresses indefinitely due to a bug, so they can be used to kill off separatists/loyalists without repercussions.

DFHack

For those who are using DFHack, the command fix/loyaltycascade can be used to immediately end a loyalty cascade.

"Faction" in other Languages Books-aj.svg aj ashton 01.svg
Dwarven: uzlir
Elven: anoni
Goblin: osmrur
Human: ozo