<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://dwarffortresswiki.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Joostheger</id>
	<title>Dwarf Fortress Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://dwarffortresswiki.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Joostheger"/>
	<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php/Special:Contributions/Joostheger"/>
	<updated>2026-06-01T17:12:06Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.35.11</generator>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=Talk:Advanced_entity_position_mechanics&amp;diff=316043</id>
		<title>Talk:Advanced entity position mechanics</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=Talk:Advanced_entity_position_mechanics&amp;diff=316043"/>
		<updated>2026-05-26T18:01:43Z</updated>

		<summary type="html">&lt;p&gt;Joostheger: /* Automatic creation of hist figure for expedition leader in vanilla (if site founded by army without hist figure) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;These lines contradict eachother:&lt;br /&gt;
* Premature succession works in fortress mode with landholders. If a unit gets a landholdersposition and that landholder is the appointer of an yet-empty position, which is defined as succeeding from a third one, then the succession is immediately applied. The landholder himself can even be the successor of a newly created position.&lt;br /&gt;
* A landholder's position is, in fortress mode, not successable by a site-position or visa versa.&lt;br /&gt;
&lt;br /&gt;
Needs further investigation [[User:Joostheger|Joostheger]] ([[User talk:Joostheger|talk]])&lt;br /&gt;
----An interesting tidbit I did find, while validating some info for the variable positions (writing and running some Lua scripts for it): The FORCED_ADMINISTRATOR position of the dwarven civilization is actually used, eventhough I so far found only one instance (where the position was used). Interestingly the precedence was 100 (not 65) and was the only position of a site government belonging to a goblin civ. The site ruled was a Mountain Halls and most inhabitants were also dwarves. The other data in the position definition matched the raw-definition of the FORCED_ADMINISTRATOR (of the dwarven civ). So the token [CONQUERED_SITE] might mean that another civ conquering a site of a dwarven civ will (or might) use the forced administrator for governing that site (and not the other way round).[[Special:Contributions/91.49.240.46|91.49.240.46]] 21:10, 10 February 2026 (UTC)&lt;br /&gt;
----That is an interesting fact, but I doubt it still :-) My experience is that it just works. I think that FORCED_ADMINISTRATOR is also a generated position, used by other groups that have variable positions&lt;br /&gt;
[[User:Joostheger|Joostheger]] ([[User talk:Joostheger|talk]]) 08:50, 12 February 2026 (UTC)&lt;br /&gt;
&lt;br /&gt;
---- Well I had to create a larger world (with 250 year history) to get a few variable positions. As it turns out a FORCED_ADMINISTRATOR is used by all mayor civs, that have positions, even the tree-huggers. The dwarfs have precedence 65 for the position and all other 100 (not checked everything for the FORCED_ADMINISTRATOR). And the goblins and humans can have other site positions created afterwards, the human can even upgrade create a CUSTOM_LAW_MAKER_2 afterwards. All other vanilla races (elves and dwarves) will not get other site positions with a FORCED_ADMINISTRATOR. &lt;br /&gt;
ps. And yes this means that the assumption concerning the meaning of [CONQUERED_SITE] token is wrong.[[Special:Contributions/91.49.240.46|91.49.240.46]] 09:04, 12 February 2026 (UTC)&lt;br /&gt;
&lt;br /&gt;
In addition: The FORCED_ADMINISTRATOR position can appoint other positions, at least if these positions are variable and created afterwards (and the civ has variable positions). But the FORCED_ADMINISTRATOR will not appoint a CUSTOM_MILITARY_STRATEGY position, if the CUSTOM_MILITARY_GOALS position was created (before the creation of the CUSTOM_MILITARY_STRATEGY position), in that case the CUSTOM_MILITARY_STRATEGY position did appoint by the CUSTOM_MILITARY_GOALS position holder. This is probably due to the higher precedence of the CUSTOM_MILITARY_GOALS position in comparison to the FORCED_ADMINISTRATOR. I do need to check the high precedence CUSTOM_OFFICIALs though, whether the reason might be something else other than precedence.[[Special:Contributions/91.49.240.46|91.49.240.46]] 10:23, 12 February 2026 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Possible vanilla Dwarven Civ landholder residence sites ==&lt;br /&gt;
&lt;br /&gt;
It seems that in world-gen a dwarven civilization can make a town a land holder residence (a hamlet has not been found so far). This is rare. The only other sites a vanilla dwarven civ will consider a land holder residence is a (dwarven) Fortress - Hillocks or Mountain Halls will never be considered a land holder residence. These rare cases are related to a site being considered a &amp;quot;land for holding&amp;quot; and &amp;quot;central holding land&amp;quot; by a human civilization (which can only be hamlets or towns) - see note about the name baron (in the article Variable Positions). I have not yet figured out, if such a site after being taken over by a dwarven civ, if it is a town (and not a hamlet), will always be considered a land holder residence or only in some cases. Of course the town would need to be considered a land for holding by a human civ before the take over by a dwarven civ.&lt;br /&gt;
&lt;br /&gt;
BTW: I am not sure, where this tidbit of information does belong (this page, the variable positions page or the noble page, after adding a section about world-gen). As the above ie. implies also something about modded civilizations with landholders (or using some certain variable positions).[[Special:Contributions/87.143.66.20|87.143.66.20]] 03:41, 3 April 2026 (UTC)&lt;br /&gt;
&lt;br /&gt;
Correction: Slightly misread the script output (if two flags are true for dwarven civs in site entity links between a site and the entity of the civ, then the central holding land is missing and not the land holder residence flag). So also other sites can become a land holder residence, but the only non Fortress sites, which can receive all three flags (&amp;quot;land holder residence&amp;quot;, &amp;quot;central holding land&amp;quot; and &amp;quot;land for holding&amp;quot;) are towns. And this is indeed tied to the above (a human civ considering a town a central holding land and land for holding).[[Special:Contributions/87.143.66.20|87.143.66.20]] 04:09, 3 April 2026 (UTC)&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
Thank you for the insights. I believe that a site can get a landholder, if it has enough other sites economicly linked to them. There are mentions in the old devlogs about this. I think that any type of site (town, fortress, deep fortress, tree city) can become a landholders seat, because the economic system is generic for all kinds of sites. &lt;br /&gt;
When a market is build in a hamlet, it becomes a town. and when enough wealth is exported and generated, sites become economicly linked to them. And that triggers the elevation of that site to which it can have a landholder. &lt;br /&gt;
So, when I site has all the prerequisits for getting a landholder, it doesn't matter of which type of civ that landholder is. It may be a raw-defined dwarven baron, or a generated human baron-lord.&lt;br /&gt;
[[User:Joostheger|Joostheger]] ([[User talk:Joostheger|talk]]) 08:57, 3 April 2026 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Automatic creation of hist figure for expedition leader in vanilla (if site founded by army without hist figure) ==&lt;br /&gt;
&lt;br /&gt;
In vanilla, if a site of a dwarven civilization is founded by the game during fortress mode and the army founding the site (and subsequentially settling at the site) lacks any hist figure, then the game will create a history figure on the spot to fill the expedition leader position (at least if any sentinent abstract population, eg. dwarves, were part of the army - I did not test any shenanigans without any abstract populations or with only pack animals etc. as hist figures in the site founding army). I am not sure if this implies, that for any modded civilization which has site positions, also in such cases a history figure to fill a certain position will be created (or if in such cases all positions will for the time being stay emtpy, until some hist figures settle there).[[Special:Contributions/91.49.252.253|91.49.252.253]] 16:13, 26 May 2026 (UTC)&lt;br /&gt;
&lt;br /&gt;
Thank you for your contribution! As far as i understand it, its works like this: new location &amp;gt; new government entity &amp;gt; new positions. no histfig for a position &amp;gt; create one.&lt;br /&gt;
This means that this works not only for the exleader, but for any position that at some point needs to be filled. [[User:Joostheger|Joostheger]] ([[User talk:Joostheger|talk]]) 18:01, 26 May 2026 (UTC)&lt;/div&gt;</summary>
		<author><name>Joostheger</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=Noble&amp;diff=316000</id>
		<title>Noble</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=Noble&amp;diff=316000"/>
		<updated>2026-05-22T07:28:36Z</updated>

		<summary type="html">&lt;p&gt;Joostheger: /* Nobles in other civilizations */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Quality|Exceptional}}&lt;br /&gt;
{{av}}&lt;br /&gt;
[[File:noble_icon_preview.png|right]]&lt;br /&gt;
{{Translation&lt;br /&gt;
| dwarven = rîthol&lt;br /&gt;
| elvish  = ramu&lt;br /&gt;
| goblin  = dösta&lt;br /&gt;
| human   = hal}}&lt;br /&gt;
'''Nobles''' and '''administrators''' are [[Dwarf|dwarves]] elevated to a position of rule over your fortress. Administrators perform a useful, specific task or duty unique to their position, such as [[Manager|managing work orders]], [[Broker|trading with merchants]], [[Militia commander|commanding military positions]], or even [[bookkeeper|stocks recording]]. An [[expedition leader]] or a [[mayor]] provides a critical happiness bonus to unhappy and [[stress|stressed]] dwarves, who will yell at or cry on &amp;quot;someone in charge&amp;quot;, and is also responsible for interacting with [[outpost liaison|outpost liaisons]].&lt;br /&gt;
&lt;br /&gt;
Certain offices are automatically [[elected]] by your fortress's citizenry, rising to ranks mostly outside of the player's control, while most administrators can be directly appointed by the player, and can be promoted, demoted and replaced at any time. Administrators are colloquially known as &amp;quot;utility nobles&amp;quot;, and internally both are a type of [[position token|position]].&lt;br /&gt;
&lt;br /&gt;
Developed fortresses are offered the privilege of elevating a dwarf to a noble title, allowing the dwarven [[caravan]] the luxury of trading with high-capacity [[wagon|wagons]]. This is an optional victory goal of [[Fortress mode]], and a fortress that chooses this path and produces enough wealth will see their chosen noble climb the echelons of society, all the way to attracting the reigning [[monarch]].&lt;br /&gt;
&lt;br /&gt;
Higher-rank office-holders, such as nobles and the [[mayor]], can make [[demand|demands]] and set legally-binding [[mandate|mandates]], which, if not met, will upset them, such that they will punish your dwarves for &amp;quot;oath-breaking&amp;quot; if the fortress has an active [[justice]] system. They are also well-aware of their social statuses and often want expensive, well-furnished [[Zone#Quality_and_value|room]]s and other personal possessions, such as [[cabinet]]s and [[armor stand]]s, and some of them are pretentious and do not want a lower-rank dwarf to have a better room than them.&lt;br /&gt;
&lt;br /&gt;
If a noble is too much of a problem and cannot be fired, it may be possible to arrange an [[unfortunate accident]] for them. Be careful, though, the death of a leader, especially a popular one like an elected [[mayor]], may cause grief among the general populace, and may have additional consequences due to how leaders are chosen. Hereditary noble titles are not succeeded by dwarves in your fortress. A fortress lacking a mayor or an expedition leader will be temporarily unable to appoint new administrators manually until a new dwarf takes office.&lt;br /&gt;
&lt;br /&gt;
It is possible for some of your dwarves to hold noble titles over other [[Site|sites]] in the [[Civilization#Mountain|dwarven kingdom]]. These dwarves are still capable of issuing mandates in your fort, however, and demand the same sort of privileged treatment as any other noble. There is no further benefit to having multiple land-holders, so in the event you happen to have multiple [[baron]]s or similar, it may be more productive to [[unfortunate accident|remove]] the noble whose title is not linked to your fortress in order to avoid the unnecessary hassle with mandates and demands. Note that office-holders, whether elected or appointed, cannot be peacefully [[Emigration|exiled]], as they are presumably in charge of the emigration orders in the first place.&lt;br /&gt;
&lt;br /&gt;
Outside your fortress, positions such as the [[general]] and [[outpost liaison]] are also types of administrators that attend to national affairs, answering to the [[monarch]] of each dwarven civilization. [[Human|Humans]], [[Elf|elves]] and [[goblin|goblins]] have nobles of their own, with some of the positions of their [[civilization|civilizations]] being exclusive to them, such as human law-giver and elven [[druid|druids]]. Humans and goblins are able to procedurally generate their government during world generation, with law-making officials able to create new positions for any number of reasons. While civilized, [[kobold|kobolds]] and subterranean [[animal people]] have no need for nobles or organized governments.&lt;br /&gt;
&lt;br /&gt;
== Menu ==&lt;br /&gt;
[[File:Nobles v50.png|thumb|right|500px| The nobles and administrators menu {{menu icon|n}}, displaying a variety of positions. Those with room requirements are fulfilled, while the Mayor has a pending mandate.]] The '''Nobles and administrators''' menu, opened with {{menu icon|n}} menu button, contains a list of the noble and [[administrator]] positions of your settlement. At the top is a description section, which may change to provide detail when hovering over different elements.&lt;br /&gt;
&lt;br /&gt;
Each list entry contains the following columns (from left to right):&lt;br /&gt;
* The name of the position or the land name (like barony), with the name of the related squad below, if applicable.&lt;br /&gt;
* Button to change the current holder of the position, if applicable.&lt;br /&gt;
* An image of the current holder of the position, if there is one.&lt;br /&gt;
* The [[name]] and [[Labor|profession]] of the current holder of the position (usually their profession is the position title), or {{DFtext|VACANT|6:1}} or {{DFtext|NEW|6:1}} if there is none.&lt;br /&gt;
* Button to give symbols to the noble. This gives the position holder an item, which is given a name at this time if it did not already have one.&lt;br /&gt;
* The current and required [[Office|Study/Throne Room]], [[Bedroom]], [[Dining Room]], [[Tomb]], and [[Building|Furniture]] for the position.&lt;br /&gt;
* Any [[Mandate|mandates]] set by the noble.&lt;br /&gt;
* For the [[bookkeeper]], the desired [[stocks]] display precision.&lt;br /&gt;
&lt;br /&gt;
== Triggers ==&lt;br /&gt;
An [[expedition leader]] will be automatically selected at embark. With an expedition leader, the following positions can be assigned: [[bookkeeper]], [[broker]], [[chief medical dwarf]], [[hammerer]], [[manager]], [[militia commander]], and [[sheriff]]. With a militia commander, [[militia captain]]s can be assigned to lead other [[squad]]s.&lt;br /&gt;
&lt;br /&gt;
Once the fortress population reaches 50, a [[mayor]] will be automatically elected (replacing the expedition leader). Once a mayor has been elected, the [[captain of the guard]] (replacing the sheriff) and [[dungeon master]] positions can also be assigned, in addition to those available with an expedition leader.&lt;br /&gt;
&lt;br /&gt;
Landholding nobles have triggers defined in the [[Difficulty#Land_holder|difficulty settings]]. The default requirements are listed below.&lt;br /&gt;
&lt;br /&gt;
*'''Population''' - Minimum population required for this position to become available.&lt;br /&gt;
*'''Created Wealth''' - Minimum created wealth for this position to become available.&lt;br /&gt;
*'''Exported Wealth''' - Minimum exported wealth for this position to become available.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable wikitable&amp;quot; style=&amp;quot;text-align:center;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;background:#F2F2F2;&amp;quot;&lt;br /&gt;
! '''Land Holder'''&lt;br /&gt;
! '''Population'''&lt;br /&gt;
! '''Created Wealth'''&lt;br /&gt;
! '''Exported Wealth'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
! [[Baron]]&lt;br /&gt;
| 20&lt;br /&gt;
| 100k &lt;br /&gt;
| 10k&lt;br /&gt;
|-&lt;br /&gt;
! [[Count]]&lt;br /&gt;
| 20&lt;br /&gt;
| 200k &lt;br /&gt;
| 20k&lt;br /&gt;
|-&lt;br /&gt;
! [[Duke]]&lt;br /&gt;
| 20&lt;br /&gt;
| 300k &lt;br /&gt;
| 30k&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The [[general]] arrives alongside the [[monarch]] (except when a fortress citizen or resident inherits the monarchy{{bug|11717}}).&lt;br /&gt;
&lt;br /&gt;
== Needs ==&lt;br /&gt;
Below are the room demands made by each position. For details on room values see: [[Zone#Quality_and_value|Zone quality and value]]. It also lists the number of chests, cabinets, weapon racks, and armor stands they demand. Finally, it shows the maximum number of [[demand]]s and [[mandate]]s they can issue at any given point.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Inactive nobles are commented out. --&amp;gt;&lt;br /&gt;
&amp;lt;!-- Note the colour progression:&lt;br /&gt;
&amp;lt;!-- Note the colour progression (parenthesis are former values):&lt;br /&gt;
Meager (FFFFE0) -&amp;gt; FFFF00&lt;br /&gt;
Modest (FFFFC0) -&amp;gt; FFEA00&lt;br /&gt;
(blank) (FFFFA0) -&amp;gt; FFCC00&lt;br /&gt;
Decent (FFFF80) -&amp;gt; FFBA00&lt;br /&gt;
Fine (FFFF60) -&amp;gt; FFA200&lt;br /&gt;
Great (FFFF40) -&amp;gt; FF9000&lt;br /&gt;
Grand (FFFF20) -&amp;gt; FF7800&lt;br /&gt;
Royal (FFFF00) -&amp;gt; FF4E00&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
{| class=&amp;quot;sortable wikitable&amp;quot; style=&amp;quot;text-align:center;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;background:#F2F2F2;&amp;quot;&lt;br /&gt;
!Position!!Quarters!!Dining Room!!Office!!Tomb!!Chests!!Cabinets!!Racks!!Stands!!Demands!!Mandates&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
![[Baron]]&lt;br /&gt;
|bgcolor=&amp;quot;#FFBA50&amp;quot;|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;4&amp;lt;/span&amp;gt;Decent Quarters&lt;br /&gt;
|bgcolor=&amp;quot;#FFBA50&amp;quot;|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;4&amp;lt;/span&amp;gt;Decent Dining Room&lt;br /&gt;
|bgcolor=&amp;quot;#FFBA50&amp;quot;|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;4&amp;lt;/span&amp;gt;Decent Office&lt;br /&gt;
|bgcolor=&amp;quot;#FFBA50&amp;quot;|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;4&amp;lt;/span&amp;gt;Tomb&lt;br /&gt;
|2&lt;br /&gt;
|1&lt;br /&gt;
|1&lt;br /&gt;
|1&lt;br /&gt;
|2&lt;br /&gt;
|1&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
![[Bookkeeper]]&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;—&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;—&lt;br /&gt;
|bgcolor=&amp;quot;#FFFF50&amp;quot;|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;1&amp;lt;/span&amp;gt;Meager Office&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;—&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;—&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;—&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;—&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;—&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;—&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;—&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
![[Broker]]&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;—&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;—&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;—&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;—&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;—&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;—&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;—&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;—&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;—&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;—&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
|-&lt;br /&gt;
![[Captain]]&lt;br /&gt;
|bgcolor=&amp;quot;#FFFF50&amp;quot;|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;1&amp;lt;/span&amp;gt;Meager Quarters&lt;br /&gt;
|bgcolor=&amp;quot;#FFFF50&amp;quot;|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;1&amp;lt;/span&amp;gt;Meager Dining Room&lt;br /&gt;
|bgcolor=&amp;quot;#FFFF50&amp;quot;|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;1&amp;lt;/span&amp;gt;Meager Office&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;—&lt;br /&gt;
|1&lt;br /&gt;
|1&lt;br /&gt;
|1&lt;br /&gt;
|1&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;—&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;—&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
![[Captain of the guard|Captain of the Guard]]&lt;br /&gt;
|bgcolor=&amp;quot;#FFCC50&amp;quot;|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;3&amp;lt;/span&amp;gt;Quarters&lt;br /&gt;
|bgcolor=&amp;quot;#FFCC50&amp;quot;|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;3&amp;lt;/span&amp;gt;Dining Room&lt;br /&gt;
|bgcolor=&amp;quot;#FFCC50&amp;quot;|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;3&amp;lt;/span&amp;gt;Office&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;—&lt;br /&gt;
|1&lt;br /&gt;
|1&lt;br /&gt;
|1&lt;br /&gt;
|1&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;—&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;—&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
![[Champion]]&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;—&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;—&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;—&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;—&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;—&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;—&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;—&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;—&lt;br /&gt;
|1&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;—&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
![[Chief medical dwarf]]&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;—&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;—&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;—&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;—&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;—&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;—&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;—&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;—&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;—&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;—&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
![[Count]]&lt;br /&gt;
|bgcolor=&amp;quot;#FF9050&amp;quot;|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;6&amp;lt;/span&amp;gt;Great Bedroom&lt;br /&gt;
|bgcolor=&amp;quot;#FF9050&amp;quot;|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;6&amp;lt;/span&amp;gt;Great Dining Room&lt;br /&gt;
|bgcolor=&amp;quot;#FF9050&amp;quot;|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;6&amp;lt;/span&amp;gt;Throne Room&lt;br /&gt;
|bgcolor=&amp;quot;#FF9050&amp;quot;|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;6&amp;lt;/span&amp;gt;Mausoleum&lt;br /&gt;
|3&lt;br /&gt;
|2&lt;br /&gt;
|2&lt;br /&gt;
|2&lt;br /&gt;
|3&lt;br /&gt;
|2&lt;br /&gt;
|-&lt;br /&gt;
![[Diplomat]]&lt;br /&gt;
|bgcolor=&amp;quot;#FF9050&amp;quot;|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;6&amp;lt;/span&amp;gt;Great Bedroom&lt;br /&gt;
|bgcolor=&amp;quot;#FF9050&amp;quot;|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;6&amp;lt;/span&amp;gt;Great Dining Room&lt;br /&gt;
|bgcolor=&amp;quot;#FF9050&amp;quot;|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;6&amp;lt;/span&amp;gt;Throne Room&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;—&lt;br /&gt;
|3&lt;br /&gt;
|2&lt;br /&gt;
|2&lt;br /&gt;
|2&lt;br /&gt;
|3&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;—&lt;br /&gt;
|-&lt;br /&gt;
![[Duke]]&lt;br /&gt;
|bgcolor=&amp;quot;#FF7850&amp;quot;|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;7&amp;lt;/span&amp;gt;Grand Bedroom&lt;br /&gt;
|bgcolor=&amp;quot;#FF7850&amp;quot;|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;7&amp;lt;/span&amp;gt;Grand Dining Room&lt;br /&gt;
|bgcolor=&amp;quot;#FF7850&amp;quot;|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;7&amp;lt;/span&amp;gt;Opulent Throne Room&lt;br /&gt;
|bgcolor=&amp;quot;#FF7850&amp;quot;|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;7&amp;lt;/span&amp;gt;Grand Mausoleum&lt;br /&gt;
|5&lt;br /&gt;
|3&lt;br /&gt;
|3&lt;br /&gt;
|3&lt;br /&gt;
|5&lt;br /&gt;
|3&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
![[Dungeon master]]&lt;br /&gt;
|bgcolor=&amp;quot;#FFCC50&amp;quot;|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;3&amp;lt;/span&amp;gt;Quarters&lt;br /&gt;
|bgcolor=&amp;quot;#FFCC50&amp;quot;|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;3&amp;lt;/span&amp;gt;Dining Room&lt;br /&gt;
|bgcolor=&amp;quot;#FFCC50&amp;quot;|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;3&amp;lt;/span&amp;gt;Office&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;—&lt;br /&gt;
|1&lt;br /&gt;
|1&lt;br /&gt;
|1&lt;br /&gt;
|1&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;—&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;—&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
![[Expedition leader]]&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;—&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;—&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;—&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;—&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;—&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;—&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;—&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;—&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;—&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;—&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
|-&lt;br /&gt;
![[Forced administrator]]&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;—&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;—&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;—&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;—&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;—&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;—&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;—&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;—&lt;br /&gt;
|3&lt;br /&gt;
|2&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
![[General]]&lt;br /&gt;
|bgcolor=&amp;quot;#FFCC50&amp;quot;|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;3&amp;lt;/span&amp;gt;Quarters&lt;br /&gt;
|bgcolor=&amp;quot;#FFCC50&amp;quot;|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;3&amp;lt;/span&amp;gt;Dining Room&lt;br /&gt;
|bgcolor=&amp;quot;#FFBA50&amp;quot;|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;4&amp;lt;/span&amp;gt;Decent Office&lt;br /&gt;
|bgcolor=&amp;quot;#FFFF50&amp;quot;|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;1&amp;lt;/span&amp;gt;Grave&lt;br /&gt;
|2&lt;br /&gt;
|1&lt;br /&gt;
|3&lt;br /&gt;
|3&lt;br /&gt;
|2&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;—&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
![[Hammerer]]&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;—&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;—&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;—&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;—&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;—&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;—&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;—&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;—&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;—&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;—&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
|-&lt;br /&gt;
![[Lieutenant]]&lt;br /&gt;
|bgcolor=&amp;quot;#FFEA50&amp;quot;|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;2&amp;lt;/span&amp;gt;Modest Quarters&lt;br /&gt;
|bgcolor=&amp;quot;#FFEA50&amp;quot;|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;2&amp;lt;/span&amp;gt;Modest Dining Room&lt;br /&gt;
|bgcolor=&amp;quot;#FFEA50&amp;quot;|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;2&amp;lt;/span&amp;gt;Modest Office&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;—&lt;br /&gt;
|1&lt;br /&gt;
|1&lt;br /&gt;
|2&lt;br /&gt;
|2&lt;br /&gt;
|1&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;—&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
![[Manager]]&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;—&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;—&lt;br /&gt;
|bgcolor=&amp;quot;#FFFF50&amp;quot;|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;1&amp;lt;/span&amp;gt;Meager Office&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;—&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;—&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;—&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;—&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;—&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;—&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;—&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
![[Mayor]]&lt;br /&gt;
|bgcolor=&amp;quot;#FFBA50&amp;quot;|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;4&amp;lt;/span&amp;gt;Decent Quarters&lt;br /&gt;
|bgcolor=&amp;quot;#FFBA50&amp;quot;|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;4&amp;lt;/span&amp;gt;Decent Dining Room&lt;br /&gt;
|bgcolor=&amp;quot;#FFBA50&amp;quot;|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;4&amp;lt;/span&amp;gt;Decent Office&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;—&lt;br /&gt;
|2&lt;br /&gt;
|1&lt;br /&gt;
|1&lt;br /&gt;
|1&lt;br /&gt;
|2&lt;br /&gt;
|1&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
![[Militia captain]]&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;—&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;—&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;—&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;—&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;—&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;—&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;—&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;—&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;—&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;—&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
![[Militia commander]]&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;—&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;—&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;—&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;—&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;—&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;—&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;—&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;—&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;—&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;—&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
![[Monarch]]&lt;br /&gt;
|bgcolor=&amp;quot;#FF5E40&amp;quot;|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;8&amp;lt;/span&amp;gt;Royal Bedroom&lt;br /&gt;
|bgcolor=&amp;quot;#FF5E40&amp;quot;|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;8&amp;lt;/span&amp;gt;Royal Dining Room&lt;br /&gt;
|bgcolor=&amp;quot;#FF5E40&amp;quot;|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;8&amp;lt;/span&amp;gt;Royal Throne Room&lt;br /&gt;
|bgcolor=&amp;quot;#FF5E40&amp;quot;|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;8&amp;lt;/span&amp;gt;Royal Mausoleum&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;9&amp;lt;/span&amp;gt;10&lt;br /&gt;
|5&lt;br /&gt;
|5&lt;br /&gt;
|5&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;9&amp;lt;/span&amp;gt;10&lt;br /&gt;
|5&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
![[Outpost liaison]]&lt;br /&gt;
|bgcolor=&amp;quot;#FF9050&amp;quot;|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;6&amp;lt;/span&amp;gt;Great Bedroom&lt;br /&gt;
|bgcolor=&amp;quot;#FF9050&amp;quot;|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;6&amp;lt;/span&amp;gt;Great Dining Room&lt;br /&gt;
|bgcolor=&amp;quot;#FF9050&amp;quot;|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;6&amp;lt;/span&amp;gt;Throne Room&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;—&lt;br /&gt;
|3&lt;br /&gt;
|2&lt;br /&gt;
|2&lt;br /&gt;
|2&lt;br /&gt;
|3&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;—&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
![[Sheriff]]&lt;br /&gt;
|bgcolor=&amp;quot;#FFEA50&amp;quot;|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;2&amp;lt;/span&amp;gt;Modest Quarters&lt;br /&gt;
|bgcolor=&amp;quot;#FFEA50&amp;quot;|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;2&amp;lt;/span&amp;gt;Modest Dining Room&lt;br /&gt;
|bgcolor=&amp;quot;#FFEA50&amp;quot;|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;2&amp;lt;/span&amp;gt;Modest Office&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;—&lt;br /&gt;
|1&lt;br /&gt;
|1&lt;br /&gt;
|1&lt;br /&gt;
|1&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;—&lt;br /&gt;
|&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;—&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Notes ==   &lt;br /&gt;
This shows various notes for each position taken from the [[raws]].&lt;br /&gt;
&lt;br /&gt;
*'''#''' - lists whether one or more dwarves can have this position.  Duke/Count/Baron don't have a number listed, but each fortress can only have one.&lt;br /&gt;
*'''Squad''' - Lists the number and type of dwarf that this position leads.&lt;br /&gt;
*'''Spouse''' - The noble's spouse is also considered a noble, being called &amp;quot;[noble] [[consort]]&amp;quot;. No (functional) privileges are attached to them, except of course the fact that they share the rooms with their spouse.&lt;br /&gt;
*'''Heir''' - Is this individual replaced by an heir when they die?&lt;br /&gt;
*'''Appointed By''' - Which position appoints this person initially?  Note that the player actually controls all appointments via the nobles screen; this is, in effect, only which dwarf is ''necessary'' before the player can make the appointment. Barons aren't directly appointed but elevated (presumably by the Mountainhome) upon recommendation of the player. They cannot be replaced via the {{k|n}}obles screen. Once a baron/countess/duke dies, the outpost liason will not offer elevation again. There is no guarantee your fortress will receive a successor, either.&lt;br /&gt;
*'''Replaced By''' - What position replaces this one?&lt;br /&gt;
*'''Pop Req''' - Minimum population required for this position to become available. For the Baron, Count, and Duke these values come from the [[Position_token#LAND_HOLDER|land holder]] [[difficulty]] settings instead of the raws.&lt;br /&gt;
*'''Wealth Req''' - Minimum created &amp;amp; exported wealth (respectively) for this position to become available.&lt;br /&gt;
*'''Elected''' - Is this dwarf elected?&lt;br /&gt;
*'''Lazy''' - Such nobles won't do any regular [[labor]]s aside from pulling [[lever]]s, deconstructing [[wall]]s, and some other things. Currently non-functional, so &amp;quot;lazy&amp;quot; nobles can still be assigned to perform any labor.&lt;br /&gt;
*'''Immunity''' - Immune dwarves aren't punished for any crimes.&lt;br /&gt;
*'''Econ Exempt''' - These dwarves don't need money to pay for goods or rooms after the [[economy]] arrives. Due to the economy currently being disabled, this privilege goes unused for now.&lt;br /&gt;
*'''Military Screen Only''' - This position is only listed on the military screen.&lt;br /&gt;
*'''Jealous''' - These dwarves will become [[thought|upset]] if their rooms are not better than those of &amp;quot;lesser&amp;quot; dwarves. They don't have to see the rooms to become upset, since they somehow just know such rooms exist. Positions are sorted by their precedence in the nobles screen, with more important dwarves sorted above lower ranks.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable wikitable&amp;quot; style=&amp;quot;text-align:center;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! '''Position'''&lt;br /&gt;
! width=5% | '''#'''&lt;br /&gt;
! '''Squad'''&lt;br /&gt;
! width=5% | '''Spouse'''&lt;br /&gt;
! width=5% | '''Heir'''&lt;br /&gt;
! '''Appointed By'''&lt;br /&gt;
! '''Replaced By'''&lt;br /&gt;
! width=5% | '''Pop Req'''&lt;br /&gt;
! width=7% | '''Wealth Req'''&lt;br /&gt;
! width=5% | '''Elected'''&lt;br /&gt;
! '''Lazy'''&lt;br /&gt;
! width=5% | '''Immunity'''&lt;br /&gt;
! width=5% | '''Econ Exempt'''&lt;br /&gt;
! width=5% | '''Military Screen Only'''&lt;br /&gt;
! '''Jealous'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
! Baron&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| Yes&lt;br /&gt;
| Yes&lt;br /&gt;
| Monarch&lt;br /&gt;
| Count&lt;br /&gt;
| 20&lt;br /&gt;
| 100k / 10k&lt;br /&gt;
| -&lt;br /&gt;
| Yes&lt;br /&gt;
| Yes&lt;br /&gt;
| Yes&lt;br /&gt;
| -&lt;br /&gt;
| Yes&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
! Bookkeeper&lt;br /&gt;
| 1&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| Exp.Leader/Mayor&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
! Broker&lt;br /&gt;
| 1&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| Exp.Leader/Mayor&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
|-&lt;br /&gt;
! Captain&lt;br /&gt;
| 1+&lt;br /&gt;
| 10:Soldier&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| General&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| Yes&lt;br /&gt;
| -&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! Captain of the Guard&lt;br /&gt;
| 1&lt;br /&gt;
| 10:Fortress Guard&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| Exp.Leader/Mayor&lt;br /&gt;
| -&lt;br /&gt;
| 50&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| Yes&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
! Champion&lt;br /&gt;
| 1&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| Duke/Count/Baron&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| Yes&lt;br /&gt;
| Yes&lt;br /&gt;
| Yes&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
! Chief Medical Dwarf&lt;br /&gt;
| 1&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| Exp.Leader/Mayor&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
! Count&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| Yes&lt;br /&gt;
| Yes&lt;br /&gt;
| Monarch&lt;br /&gt;
| Duke&lt;br /&gt;
| 20&lt;br /&gt;
| 200k / 20k&lt;br /&gt;
| -&lt;br /&gt;
| Yes&lt;br /&gt;
| Yes&lt;br /&gt;
| Yes&lt;br /&gt;
| -&lt;br /&gt;
| Yes&lt;br /&gt;
|-&lt;br /&gt;
! Diplomat&lt;br /&gt;
| 1&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| Monarch&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| Yes&lt;br /&gt;
| Yes&lt;br /&gt;
| Yes&lt;br /&gt;
| -&lt;br /&gt;
| Yes&lt;br /&gt;
|-&lt;br /&gt;
! Duke&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| Yes&lt;br /&gt;
| Yes&lt;br /&gt;
| Monarch&lt;br /&gt;
| -&lt;br /&gt;
| 20&lt;br /&gt;
| 300k / 30k&lt;br /&gt;
| -&lt;br /&gt;
| Yes&lt;br /&gt;
| Yes&lt;br /&gt;
| Yes&lt;br /&gt;
| -&lt;br /&gt;
| Yes&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
|-&lt;br /&gt;
! Dungeon Master*&lt;br /&gt;
| 1&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| Duke/Count/Baron&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| Yes&lt;br /&gt;
| Yes&lt;br /&gt;
| Yes&lt;br /&gt;
| -&lt;br /&gt;
| Yes&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! Expedition Leader&lt;br /&gt;
| 1&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| Mayor&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| Yes&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
|-&lt;br /&gt;
! Forced Administrator*&lt;br /&gt;
| 1&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| Yes&lt;br /&gt;
| Yes&lt;br /&gt;
| Yes&lt;br /&gt;
| -&lt;br /&gt;
| Yes&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! General&lt;br /&gt;
| 1&lt;br /&gt;
| 10:Soldier&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| Monarch&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| Yes&lt;br /&gt;
| Yes&lt;br /&gt;
| Yes&lt;br /&gt;
| -&lt;br /&gt;
| Yes&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
! Hammerer&lt;br /&gt;
| 1&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| Exp.Leader/Mayor&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| Yes&lt;br /&gt;
| Yes&lt;br /&gt;
| Yes&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
|-&lt;br /&gt;
! Lieutenant&lt;br /&gt;
| 1+&lt;br /&gt;
| 10:Soldier&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| General&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| Yes&lt;br /&gt;
| -&lt;br /&gt;
| Yes&lt;br /&gt;
| Yes&lt;br /&gt;
| -&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! Manager&lt;br /&gt;
| 1&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| Exp.Leader/Mayor&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
! Mayor&lt;br /&gt;
| 1&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| 50&lt;br /&gt;
| -&lt;br /&gt;
| Yes&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| Yes&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
! Militia Captain&lt;br /&gt;
| 1+&lt;br /&gt;
| 10:Militia-dwarf&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| Militia Commander&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| Yes&lt;br /&gt;
| -&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
! Militia Commander&lt;br /&gt;
| 1&lt;br /&gt;
| 10:Militia-dwarf&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| Exp.Leader/Mayor&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
! Monarch&lt;br /&gt;
| 1&lt;br /&gt;
| -&lt;br /&gt;
| Yes&lt;br /&gt;
| Yes&lt;br /&gt;
| [[Armok]] himself&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| [[Monarch|It's complicated]]&lt;br /&gt;
| -&lt;br /&gt;
| Yes&lt;br /&gt;
| Yes&lt;br /&gt;
| Yes&lt;br /&gt;
| -&lt;br /&gt;
| Yes&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
! Outpost Liaison&lt;br /&gt;
| 1&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| Monarch&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| Yes&lt;br /&gt;
| Yes&lt;br /&gt;
| Yes&lt;br /&gt;
| -&lt;br /&gt;
| Yes&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
! Sheriff&lt;br /&gt;
| 1&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| Exp.Leader/Mayor&lt;br /&gt;
| Captain of the Guard&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| Yes&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
|-&lt;br /&gt;
! Tax Collector*&lt;br /&gt;
| 1&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| Duke/Count/Baron&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| Yes&lt;br /&gt;
| Yes&lt;br /&gt;
| Yes&lt;br /&gt;
| -&lt;br /&gt;
| Yes&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;!--''* Not currently implemented.''--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Appointing Administrators==&lt;br /&gt;
Appointed positions are chosen by the player via the nobles and administrators menu {{menu icon|n}} (representing them being appointed by higher-ranking leaders; see below). There are certain [[skill|skills]] that are relevant for each administrator's responsibilities, and not all dwarves will gain experience in the given skill. Some dwarves will never gain experience in certain [[social skill|social skills]], this is determined by each dwarf's personal traits, and it is therefore important to select the dwarf with the appropriate set of [[Personality facet|traits]] for each position.&lt;br /&gt;
&lt;br /&gt;
When choosing a dwarf to assign to a position, the list of choices is sorted by the skill relevant to the job. This is ''especially'' important when appointing administrators.&lt;br /&gt;
&lt;br /&gt;
*Military leaders ([[Captain of the guard|captains of the guard]], [[militia commander]]s, and [[militia captain]]s) use the [[leader]] and [[military tactics]] skills, among others.&lt;br /&gt;
&lt;br /&gt;
*[[Manager|managers]] use the [[organizer]] skill.&lt;br /&gt;
&lt;br /&gt;
*[[Chief medical dwarf|Chief medical dwarves]] are usually appointed based on their qualifications as a [[diagnostician]], though of course you need more than just diagnosis for a functional [[hospital]].&lt;br /&gt;
&lt;br /&gt;
*[[Broker|brokers]] most critically use the [[judge of intent]] and [[appraiser]] skill, with other [[social skill|social skills]] moderately useful in negotiating deals.&lt;br /&gt;
&lt;br /&gt;
*[[Bookkeeper|bookkeepers]] have their very own [[record keeper]] skill.&lt;br /&gt;
&lt;br /&gt;
In-universe, when you appoint a leader, the new orders don't just descend from on high - instead, a higher-ranking official will actually appoint someone to the position. All appointed positions aside from the militia captain are appointed by the [[expedition leader]], or the [[mayor]] that replaces them when your fort's population reaches a certain point. [[Militia captain]] positions are instead appointed by the [[militia commander]], and the commander must return from any [[mission|missions]] before any appointments can be made. If your fort doesn't have the relevant higher-ranking official [[fun|for some reason]], you can't appoint certain positions until they are replaced.&lt;br /&gt;
&lt;br /&gt;
= General nobility mechanics =&lt;br /&gt;
The nobles in your own fortress, your civilization, as well as other types of civilizations use a standardized set of mechanics. These may be seen in the [[elves]], [[humans]] or [[goblins]] or in [[Entity token|modded civilizations]].&lt;br /&gt;
&lt;br /&gt;
== Nobles in other civilizations ==&lt;br /&gt;
''Main article:'' [[Advanced Entity Position Mechanics]]&lt;br /&gt;
&lt;br /&gt;
There are two basic kinds of nobles: civ-level and site-level.  Positions with the {{token|SITE|po}} tag are site-level, those without it are civ-level.  These types of nobles can be regarded as separate systems. There is however some limited interaction possible: civ-level nobles can appoint site-level positions. They cannot succeed, or be replaced by site-level positions, and vice versa.&lt;br /&gt;
&lt;br /&gt;
Outside of Fortress mode, the game will always attempt to assign nobles whenever possible (except for those with {{token|NUMBER|po|AS_NEEDED}}).  So the rules for when nobles appear are controlled by the tags which limit them.&lt;br /&gt;
&lt;br /&gt;
* Nobles with {{token|APPOINTED_BY|po|position}}require a noble of the designated position.&lt;br /&gt;
* Nobles with {{token|REQUIRES_POPULATION|po}} require the population to have a specific size.&lt;br /&gt;
* Nobles with {{token|REQUIRES_MARKET|po}} will only appear in &amp;quot;large&amp;quot; sites (which may have different rules for different site types). A player fortress is always considered as having a market, thus this requirement is fulfilled.&lt;br /&gt;
&lt;br /&gt;
Positions that have no requirements will automatically be assigned to a random civ member when a new site/civ is created. In worldgen, there is no functional difference between {{token|ELECTED|po}} and having no appointment rule except that [[elected]] nobles tend to have high social skills and/or skills related to the position, while non-elected ones are assigned randomly.&lt;br /&gt;
If a noble dies or advances to a new position via succession, the position will be granted to another unit based on the {{token|SUCCESSION|po}} tag.  If they have an heir or the position exists, the unit will be assigned.  If not, a new one will be appointed according to the usual rules.&lt;br /&gt;
It is possible to assign multiple levels of {{token|SUCCESSION|po|BY_POSITION}}, creating a line of positions where the death of one causes all those &amp;quot;below&amp;quot; them to advance.&lt;br /&gt;
&lt;br /&gt;
{{token|REPLACED_BY|po|position}} means that once the replacing position is available, the current position will disappear. As mentioned, site-level and civ-level positions are completely separate; a site position cannot be replaced by a civ-level one or vice versa. Only for replacement in the landholders-chain is the current holder promoted to the next position.&lt;br /&gt;
&lt;br /&gt;
These rules are mostly followed in worldgen.  It is possible to cause civs and individual sites to change their behavior substantially when they reach a certain size by controlling nobles.  For example, if a site can only appoint a position with {{token|MILITARY_GOALS|po}} after reaching a particular size, that site will not send armies on missions until the required size is reached.&lt;br /&gt;
&lt;br /&gt;
Another interesting point is that a civ-level {{token|LAW_MAKING|po}} position is required for the civilization to have any kind of cohesion.  Without it, sites will be constantly embroiled in territorial disputes and civil wars will be commonplace.&lt;br /&gt;
&lt;br /&gt;
== Landholders and Positions ==&lt;br /&gt;
''Main article:'' [[Position_token#Why won't my positions appear?|Why won't my positions appear?]]&lt;br /&gt;
&lt;br /&gt;
The way DF determines what positions will actually appear in your fortress is somewhat counter-intuitive and fairly limiting. This guide should help you understand what you can do to actually get your positions working properly.&lt;br /&gt;
&lt;br /&gt;
There are five tokens governing which positions appear in your fortress - {{token|LAND_HOLDER|po}}, {{token|REQUIRES_POPULATION|po}}, {{token|APPOINTED_BY|po}}, {{token|ELECTED|po}}, and {{token|REPLACED_BY|po}}. The first two determine when your fortress is eligible for a new position, the next two determine how a new position for which your fortress is eligible can be added, and the fifth allows you to clear up obsolete positions. Unfortunately, they also interact in some strange ways that makes creating interesting position structures difficult.&lt;br /&gt;
&lt;br /&gt;
When you start a new fortress, DF compiles a list of your initial positions. To do this, it looks at the requirements for each position - any position whose only requirement is less than seven dwarves (either because they have no requirement tokens, or because their only requirement tokens are [REQUIRES_POPULATION: =&amp;lt; 7] or [LAND_HOLDER:some trigger whose only requirement is some number of dwarves equal to or less than 7]). Most importantly, any position whose only requirement is a [LAND_HOLDER] requirement, regardless of what the trigger for that requirement is, will be added if another eligible starting position is [REPLACED_BY] it. A non-[LAND_HOLDER] position that is [REPLACED_BY] a [LAND_HOLDER] position will never appear. With this list compiled, the game culls all positions that are [REPLACED_BY] another eligible position, and then culls all positions that have the [APPOINTED_BY] token. You may not embark with any appointed positions. Any remaining positions are then filled by a dwarf chosen at random.&lt;br /&gt;
&lt;br /&gt;
Positions do not automatically appear when you reach their requirements. For example, if you remove the [ELECTED] token from the Mayor, then the Mayor will never appear, even once you reach their required number of dwarves. For a position that does not appear at embark to appear in your fortress, it must be [APPOINTED_BY] another position or [ELECTED].&lt;br /&gt;
&lt;br /&gt;
Naturally, this is more complicated than it looks. [APPOINTED_BY] positions must be appointed by another position already in your fortress, or a civ-level position. Only [LAND_HOLDER] positions may be appointed by civ-level positions. [LAND_HOLDER] positions that are [APPOINTED_BY] civ-level positions are inherently tied to civ-level tokens with the ESTABLISH_COLONY_TRADE_AGREEMENTS responsibility.&lt;br /&gt;
{{old|v=50.01}}&lt;br /&gt;
If a fortress meets the [LAND_HOLDER_TRIGGER] for a new [LAND_HOLDER] tier when a caravan leaves, then the next time the outpost liaison or equivalent arrives, they will offer to make you an official colony, which will allow you to select all positions for that [LAND_HOLDER] level. Each time they appear, the outpost liaison will only promote your fortress one tier up the [LAND_HOLDER] track. The biggest problem with this system is that you may set your [LAND_HOLDER_TRIGGERS] such that you are eligible for the first tier of [LAND_HOLDER] positions at embark. If you are eligible for the first tier of [LAND_HOLDER] positions at embark, then all first-tier positions will appear twice - once at embark, and again when the outpost liaison comes to appoint you to the first tier.&lt;br /&gt;
&lt;br /&gt;
==Bugs==&lt;br /&gt;
* Nobles may have impossible [[demand]]s, like cardinal leather items or metal beds. {{Bug|944}} (Feel free to arrange an [[unfortunate accident]] for the idiot in question) While no dwarves will get punished for not producing these items, it may enrage the noble.&lt;br /&gt;
* If your fort is unable to find a replacement for a noble, that noble will never be reappointed. {{bug|5299}}&lt;br /&gt;
* New mayors and expedition leaders will be elected / &amp;quot;appointed by the monarch&amp;quot; after some time, but it might take a while, and in the meantime, you won't be able to appoint certain nobles. {{bug|8129}}&lt;br /&gt;
&lt;br /&gt;
===Selecting Squads which contain Nobles===&lt;br /&gt;
The [[Monarch]], [[Baron]], [[Count]] and [[Duke]] cannot be assigned as military commander, because of their succession-rules.&lt;br /&gt;
&lt;br /&gt;
Here's a link to the DF forum, where some SCIENCE on Nobles in Squads has been conducted.&lt;br /&gt;
http://www.bay12forums.com/smf/index.php?topic=113639.msg3467517#msg3467517&lt;br /&gt;
&lt;br /&gt;
{{D for Dwarf}}&lt;br /&gt;
Although &amp;lt;s&amp;gt;all&amp;lt;/s&amp;gt; many players &amp;lt;s&amp;gt;often&amp;lt;/s&amp;gt; constantly get &amp;lt;s&amp;gt;angry&amp;lt;/s&amp;gt; murderously mad at nobles, wiser players simply thank their lucky stars that [[main:Armok|Armok]] never created congressdwarves.&lt;br /&gt;
[[File:Jacques Callot, Noble Woman with Large Collar, c. 1620-1623, NGA 36864.jpg|thumb|250px|center|A human noble from times past.&amp;lt;br&amp;gt;Jacques Callot (1620-1623)]]&lt;br /&gt;
{{Nobles}}&lt;br /&gt;
{{Template:V50 entities}}&lt;br /&gt;
{{V50 menus}}&lt;br /&gt;
{{Category|Fortress mode}}&lt;br /&gt;
{{Category|Interface}}&lt;br /&gt;
{{Category|Nobles}}&lt;/div&gt;</summary>
		<author><name>Joostheger</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=Advanced_entity_position_mechanics&amp;diff=315866</id>
		<title>Advanced entity position mechanics</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=Advanced_entity_position_mechanics&amp;diff=315866"/>
		<updated>2026-04-28T21:01:51Z</updated>

		<summary type="html">&lt;p&gt;Joostheger: /* Non-working triggers */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Quality|Fine}}&lt;br /&gt;
{{Modding}}&lt;br /&gt;
&lt;br /&gt;
= Introduction = &lt;br /&gt;
&lt;br /&gt;
[http://www.bay12forums.com/smf/index.php?topic=182239.0 Discussion thread on the forum]&lt;br /&gt;
&lt;br /&gt;
This page documents observed and tested behavior of entity positions in Dwarf Fortress that is not fully described elsewhere on the wiki. It focuses on advanced interactions between position tokens, including appointment, succession, election, and responsibility handling, across both civilization-level and site-level entities.&lt;br /&gt;
&lt;br /&gt;
The mechanics described here are based on empirical testing in world generation and fortress mode, supplemented where necessary by raw analysis. In several cases, the game’s behavior is determined by evaluation order and interaction between multiple tags, rather than by individual tokens in isolation.&lt;br /&gt;
&lt;br /&gt;
This page is intended for modders and advanced players who are designing or debugging custom entity position structures. It does not restate basic position mechanics, but instead highlights edge cases, non-obvious interactions, and behaviors that may appear inconsistent or undocumented.&lt;br /&gt;
&lt;br /&gt;
Unless stated otherwise, the described behavior applies to current versions of the game and may differ from older releases.&lt;br /&gt;
&lt;br /&gt;
==What is an entity? What is a position?==&lt;br /&gt;
An [[entity]] is an organizational structure that can have relationships with other entities, usually known as a [[civilization]] or a &amp;quot;[[site]] government&amp;quot; in the game, but ie. merchant [[company|companies]], [[Mercenary#Mercenary_Orders|mercenary orders]], [[guild|guilds]], [[religion|religious organizations]], bandits and necromancer towers are also entities (and necromancer towers use the same entity type as &amp;quot;site governments&amp;quot;). An entity can have positions - in most cases, these are hardcoded and generated by the game, but as for civilizations and sites, the [[raw file]]s can be customised.&lt;br /&gt;
&lt;br /&gt;
A position is a special relationship between a unit and an entity. The unit holding a position has a larger influence over that entity than other citizens. Positions are mostly known as [[nobles]], but in this article. the technical term is used.&lt;br /&gt;
&lt;br /&gt;
=Position levels (Site/Civ) and their interaction=&lt;br /&gt;
There are two basic types of positions that are customizable: '''civ(ilization)''' level and '''site level'''. Positions with the tag [SITE] are at site level, positions without the tag [SITE] are at 'civ level'. These two types of nobles can be considered '''loosely related systems'''. There are a few places where they can interact with each other.&lt;br /&gt;
&lt;br /&gt;
Civ-level positions are in charge of the civilization as a whole, managing national [[trade]], laws, and [[war]]s. These are, for example, the vanilla [[monarch]], [[diplomat]] and [[general]]. (Note that the general doesn't really do anything, except creation of additional pets in world-gen for the general and possibly raising the animal training knowledge of the civilization to &amp;quot;general familiarity&amp;quot;.)&lt;br /&gt;
&lt;br /&gt;
'''[LAND_HOLDER]''' nobles are also positions at civ-level. These units are members of the national government, but have gained authority over some land or site. Once they do, they move to that place, but their position is still regarded as a civ-level position.&lt;br /&gt;
&lt;br /&gt;
Site-level position holders are members of a site government (subsidiary to the civilization), and manage local affairs in that location. These are, for example, the [[mayor]], the [[sheriff]] and the [[broker]].&lt;br /&gt;
&lt;br /&gt;
==Table of interaction between different position levels==&lt;br /&gt;
In this table, the possible interactions between different position levels are summarized. &lt;br /&gt;
The header row shows the positions defining the tokens.&lt;br /&gt;
&lt;br /&gt;
The left column shows the position type that is referred to.&lt;br /&gt;
Example:  &lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! referred position-type&lt;br /&gt;
! LAND_HOLDER&lt;br /&gt;
|-&lt;br /&gt;
| civilization&lt;br /&gt;
|  &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;(baron is) APPOINTED_BY:MONARCH&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
color coding: &amp;lt;/br&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;Exists in vanilla&amp;lt;/span&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;Possible with mods&amp;lt;/span&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;Not possible&amp;lt;/span&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;possible to some extent.&amp;lt;/span&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;not yet fully investigated.&amp;lt;/span&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! referred position-type&lt;br /&gt;
! Civilization&lt;br /&gt;
! SITE&lt;br /&gt;
! LAND_HOLDER&lt;br /&gt;
! CONQUERED_SITE&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Civilization&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;SUCCESSION '''(1)'''&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| SITE&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;SUCCESSION '''(2)'''&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;APPOINTED_BY '''(3)'''&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;SUCCESSION '''(4)'''&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| LAND_HOLDER&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY '''(6)'''&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;SUCCESSION '''(5)'''&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;REPLACED_BY '''(7)'''&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;SUCCESSION '''(8)'''&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;CONQUERED_SITE&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; COMMANDER &amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; REPLACED_BY &amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt; SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; COMMANDER &amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; REPLACED_BY &amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt; SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; COMMANDER &amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; REPLACED_BY &amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; COMMANDER &amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; REPLACED_BY &amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Remarks:&lt;br /&gt;
# Works only in world-gen, if a unit with that civ-position is present at the site.&lt;br /&gt;
# Works only in world-gen, the site-position holding unit will then move to the capital.&lt;br /&gt;
# Is completely ignored&lt;br /&gt;
# Works only in world-gen.&lt;br /&gt;
# Works only in world-gen.&lt;br /&gt;
# Won't appear at all&lt;br /&gt;
# This is necessary for the landholder chain to work properly, it doesn’t work otherwise.&lt;br /&gt;
# This works only outside of the landholder chain, so when landholders are simply regarded as civ-level nobles. might also work in world-gen&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
== Other interactions ==&lt;br /&gt;
&lt;br /&gt;
Unfortunately, interactions with positions of other entities don't seem possible, such as APPOINTED_BY: HIGH_PRIEST. With [VARIABLE_POSITIONS], positions are automatically created with codes like CUSTOM_LAW_MAKER_2, but interaction with these positions don't seem to work, either. For more info on those, see [[Variable positions]]&lt;br /&gt;
&lt;br /&gt;
=General=&lt;br /&gt;
&lt;br /&gt;
==Civ-level nobles living at your site==&lt;br /&gt;
Nobles from your civilization can come to live at your fortress. This happens in vanilla with landholders such as [[Baron]], [[Count]] and [[Duke]], with the Monarch, but sometimes also with non-landed LAND_HOLDERS.&lt;br /&gt;
&lt;br /&gt;
When a civ-level noble becomes a [[citizen]] at your location, their position is shown among the site-level positions in your [[nobles screen]]. They appear to function as a site-level noble. They may have [[demand]]s, [[mandate]]s, [[squad]]s and the like. They can appoint nobles at the site-level.&lt;br /&gt;
&lt;br /&gt;
Even if they have certain site related [RESPONSIBILITY]ies, they will not do the tasks that go with them.&lt;br /&gt;
&lt;br /&gt;
==Fortress mode, world-gen and their differences==&lt;br /&gt;
Their are a few differences in how positions function between fortress mode (normal play mode) and the world generation (world-gen). &lt;br /&gt;
&lt;br /&gt;
In '''fortress mode''', the player has some control over the appointment of nobles, limited by elections, automatic filled-in positions and succession rules. Pre-fortress mode, which is referred to as '''world-gen''', the game will always attempt to assign nobles whenever possible. It is subjected to the same rules as in fortress-mode, but there are some exceptions. In '''[[World activities]]''', which is the thing that happens in the world while you play fortress mode, it seems as if the same rules are applied as fortress mode. &lt;br /&gt;
&lt;br /&gt;
A difference between player-fortress-mode and world-gen, is causes by visibility (see below). Positions that are not visible by the player and thus not available for assignment, will be available in world-gen and will thus be automatically assigned.&lt;br /&gt;
&lt;br /&gt;
In fortress mode, a position that is both [ELECTED] and [APPOINTED_BY], cannot be appointed by the player and is also not elected, and can thus not be filled. But in world-gen sites however, these positions are automatically filled.&lt;br /&gt;
&lt;br /&gt;
Positions with [AS_NEEDED] are almost never created and filled in world-gen (depending on their [RESPONSIBILITY]ies), but can always be used in player mode.&lt;br /&gt;
&lt;br /&gt;
A position can, in fortress mode, be filled by the same unit. A unit can gain multiple positions in fortress mode, for example because of [[elections]]. This will not happen in world-gen mode: a unit can only have one position. See also remarks on 'embark' and 'Losing a position'.&lt;br /&gt;
&lt;br /&gt;
In world-gen, [SUCCESSION] between civ-levels and [SITE-]levels may happen. This will not happen in fortress mode, or even off-site in [[World activities]].&lt;br /&gt;
&lt;br /&gt;
In fortress mode, premature SUCCESSION may happen. This will not happen in world-gen mode.&lt;br /&gt;
&lt;br /&gt;
==Units holding multiple positions in multiple entities==&lt;br /&gt;
A unit can hold multiple positions in its civilisation or in its site-entity, however in world-gen a unit will not hold multiple positions in one site-entity or in one civilisation (note that in world-gen a unit can hold multiple variable positions of the same entity, if the entity is ie. an outcast group). It is however possible - in world-gen - for a unit to hold multiple positions as long as the positions belong to different civilizations / site-entities (ie. it is possible for a militia commander of a site-entity to later on also become a monarch of the parent civilization, while staying a militia commander), if a unit holds a position of two different site-entities (the unit will usually have left one of the groups, without relinquishing the position). Only at player-managed sites can units be holding multiple positions (of the site-entity) at once. It is currently unknown, whether it is possible in world-gen for a unit to have a civ-level position in two different civilisations (but it probably is possible, as a a unit can belong to multiple civilizations and a unit usually does not relinquish a position, when the unit gets another position, as long as the entities of both positions are not the same).&lt;br /&gt;
&lt;br /&gt;
In world-gen, if there are too many positions to be filled, they simply stay empty until more units are available. E.G, a unit at a site might inherit a civ-level position and still remain a member of the local government. When this happens however, they move to the capital. If a unit gains a new position, either inherited or otherwise, it drops the previous one (of that civilisation or site-entity) - the unit will not drop any positions unrelated to the entity of the new position (ie. a CUSTOM_OUTCAST_FACTOR will not relinquish that position, if the unit becomes the ruler of a civilization and a militia commander will also not necessarily relinquish the position, if the unit becomes also the monarch of the corresponding civilization). If a unit assumes a civ-position in fortress mode, it leaves the current position. &lt;br /&gt;
&lt;br /&gt;
If a unit holds the same (site-)position multiple times, it has no additional effect.&lt;br /&gt;
&lt;br /&gt;
If a unit holds multiple different positions of the same entity, it has all those positions' responsibilities and properties, stacked up. Presumably, the demands for those combined positions are determined by the highest.&lt;br /&gt;
 &lt;br /&gt;
A unit holding a position with a succession token can be assigned another position with a (different) succession token. &lt;br /&gt;
&lt;br /&gt;
A unit holding a position with a squad-position cannot hold another squad-position. It is dropped from the first, when it gets its second assigned. &lt;br /&gt;
A unit holding a position with a succession token cannot be assigned to a squad-position - the unit is simply not available. It works the other way around, though.&lt;br /&gt;
&lt;br /&gt;
=Specific Tags and functions=&lt;br /&gt;
==[PRECEDENCE]==&lt;br /&gt;
The first defined position with precedence of 1 counts as the ruler of the civ. See also: [[Position_token#PRECEDENCE|PRECEDENCE]]. &lt;br /&gt;
&lt;br /&gt;
If the precedence is omitted or has a negative value, the game sets 0 as precedence, which seems to have no effect whatsoever.&lt;br /&gt;
&lt;br /&gt;
When a unit has multiple positions, the name of the position with the highest rank in precedence is shown behind the unit's name.&lt;br /&gt;
&lt;br /&gt;
If you omit precedence entirely, or set it to [PRECEDENCE:NONE], the position name will not be shown after the unit’s name. Your *Urist Mason* will remain simply *Mason*. This can be useful for positions that are unimportant or purely functional. The position will also not appear in the civilisation overview of your site on the world map. The position name is shown in messages, but remains hidden on the nobles screen as well. To make it visible there, use [LAND_NAME].&lt;br /&gt;
&lt;br /&gt;
==[RESPONSIBILITY]ies==&lt;br /&gt;
Both civ and [SITE] positions can carry responsibilities. However, not all responsibilities are active for both types: some function only for civ positions, others only for site positions. When a civ noble arrives at a site and takes up residence, they do not perform responsibilities that are intended for SITE nobles. As a result, these responsibilities neither trigger their associated tasks nor unlock related game mechanics. For example, a civ-level manager living in a fortress will not perform management duties there and doesn't unlock the management-screen, even with an assigned office. &lt;br /&gt;
This behavior applies to the following [SITE]-level responsibilities:&lt;br /&gt;
* [RESPONSIBILITY:ACCOUNTING]&lt;br /&gt;
* [RESPONSIBILITY:BUILD_MORALE]&lt;br /&gt;
* [RESPONSIBILITY:HEALTH_MANAGEMENT]&lt;br /&gt;
* [RESPONSIBILITY:LAW_ENFORCEMENT]&lt;br /&gt;
* [RESPONSIBILITY:MANAGE_PRODUCTION]&lt;br /&gt;
* [RESPONSIBILITY:MEET_WORKERS]&lt;br /&gt;
* [RESPONSIBILITY:TRADE]  (functions differently)&lt;br /&gt;
Other responsibilities may be affected as well, but have not yet been fully tested.&lt;br /&gt;
&lt;br /&gt;
===World-gen effects of the [RESPONSIBILITY] of available positions ===&lt;br /&gt;
It is possible to cause civs and individual sites to change their behavior substantially when they reach a certain size, by controlling nobles. &lt;br /&gt;
* If a site can only appoint a position with [MILITARY_GOALS] after reaching a particular size, that site will not send armies on missions until the required size is reached.&lt;br /&gt;
* A civ-level [LAW_MAKING] position is required for the civilization to have any kind of cohesion. Without it, sites will be constantly embroiled in territorial disputes and civil wars will be commonplace.&lt;br /&gt;
* [MILITARY_STRATEGY] positions go out and tame wild animals. This makes your civ gain those animals as domesticated and also brings them in sieges.&lt;br /&gt;
* The [[Personality_facet|Personality]] of the position's holder determines how they lead the civ.&lt;br /&gt;
&lt;br /&gt;
===[DELIVERS_MESSAGES]===&lt;br /&gt;
The only [AS_NEEDED]-position that is created in worldgen based on responsibility is that of the site-level responsibility [DELIVERS_MESSAGES].&lt;br /&gt;
&lt;br /&gt;
===Outpost Liaisons and Diplomats===&lt;br /&gt;
Civ-positions with the responsibility [ESTABLISH_COLONY_TRADE_AGREEMENTS] ([[Outpost_Liaison|Outpost Liaison]]s) will meet with the site-noble who has responsibility for [RECEIVE_DIPLOMATS] and the highest rank of precedence (i.e. the lowest precedence value). Usually this is the [[Expedition_leader|Expedition leader]].&lt;br /&gt;
&lt;br /&gt;
Once a [LAND_HOLDER] is assigned to the site, civ-positions with the responsibility [MAKE_TOPIC_AGREEMENTS] ([[Diplomat]]s) will meet with '''civ'''-level nobles present at the site who have the [RECEIVE_DIPLOMATS] responsibility. If multiple eligible nobles are available, one is selected at random. If no eligible noble is present, the diplomat leaves angrily. If the landholder is no longer present at the site, diplomats will not arrive at all.&lt;br /&gt;
&lt;br /&gt;
It appears that Outpost Liaisons and Diplomats are chosen for a diplomatic mission based on availability. When multiple candidates exist, the position defined last in the raws is most often selected.&lt;br /&gt;
&lt;br /&gt;
===[TRADE]===&lt;br /&gt;
Civ-level nobles with [TRADE] will arrive with the caravan, just as the Outpost Liaison. Their behavior is no longer active in the vanilla game, but the mechanics are still present. See [[40d:Guild_representative|Guild representative]] for more details. This civ-noble will only meet with the SITE noble with [TRADE], usually the [[Broker]].&lt;br /&gt;
&lt;br /&gt;
If two civ-nobles exist with both [TRADE] and [ESTABLISH_COLONY_TRADE_AGREEMENTS], they both arrive at the same time. Even if both tokens are assigned to a single position, if more than one instance of that position exists, two of them will arrive. However in that case, somehow the elevation of the site and appointment of landholder isn't offered.&lt;br /&gt;
&lt;br /&gt;
If the SITE-noble they intend to meet has both [TRADE] and [RECEIVE_DIPLOMATS], only one meeting will proceed and the other is cancelled. However, when two SITE-nobles are available, each with either [TRADE] or [RECEIVE_DIPLOMATS], both meetings will proceed and both civ-nobles will attempt to negotiate a trade agreement. It is not known what happens if these agreements are accepted or refused.&lt;br /&gt;
&lt;br /&gt;
In the trade depot, the last defined position with the [TRADE] responsibility is shown as broker. However when requesting a trader, the first defined position with [TRADE] will actually go there to do the trade.&lt;br /&gt;
&lt;br /&gt;
==[NUMBER]==&lt;br /&gt;
A position might be defined with a number. In that case, as many as defined can be available. If the positions become available, in world-gen and when embarking, they are all filled-in completely.&lt;br /&gt;
&lt;br /&gt;
If the ruling position (with PRECEDENCE of 1) has a NUMBER higher than 1, a random unit of the ones holding these positions is shown as ruler in the embark screen.&lt;br /&gt;
&lt;br /&gt;
A [NUMBER] of 0 (zero) has the same effect as 1.&lt;br /&gt;
&lt;br /&gt;
===Automatic spreading of assumed, non-singular positions===&lt;br /&gt;
If there are civ positions that have a NUMBER higher then '1' and which are assumed (not APPOINTED_BY or ELECTED) but are '''not DUTY_BOUND''', these are automatically spread among the civilisation, based on population. If there are a number of '''20''' available slots of that position, they spread among a civilization with a combined population of, for example, 1000 of which your fortress has 100 (10%), '''2''' of your fortress' citizens will assume that position. &lt;br /&gt;
This may probably also work with elected and appointed positions, but that may be depending on the death of the current holders and this needs more testing. Assumption works within a day, anyway. &lt;br /&gt;
&lt;br /&gt;
===[AS_NEEDED]===&lt;br /&gt;
These positions can be created automatically by the game in world-gen. This, however, only works with: &lt;br /&gt;
* [LAND_HOLDER]'s&lt;br /&gt;
* squad commanders (needs more testing)&lt;br /&gt;
* Messengers at sites&lt;br /&gt;
&lt;br /&gt;
For all other types of positions, they're not created in world-gen, even if they are defined with RESPONSIBILITY's. For example, even in war, the game wouldn't create a MILITARY_GOALS position, if they have AS_NEEDED as number. &lt;br /&gt;
&lt;br /&gt;
However, in fortress mode / player mode, these positions can be created by the player at will.&lt;br /&gt;
&lt;br /&gt;
Positions with AS_NEEDED need to be created first, before any symbols are assignable as 'symbols' (objects) for the position holder to carry or wear.&lt;br /&gt;
&lt;br /&gt;
Positions with AS_NEEDED cannot be created and then ELECTED in fortress mode. It only works with APPOINTED_BY.&lt;br /&gt;
&lt;br /&gt;
==[REPLACED_BY], [REQUIRES_POPULATION], [REQUIRES_MARKET]==&lt;br /&gt;
&lt;br /&gt;
The token [REPLACED_BY:position] means that once the replacing position meets its requirements for activation, the 'to-be-replaced' position will disappear. This is defined in [REQUIRES_POPULATION] or [REQUIRES_MARKET]. The tags are closely related to each other and seem to only have a meaningful function if combined. Nobles with [REQUIRES_POPULATION] require the population to have a specific size. Nobles with [REQUIRES_MARKET] are only activated in market sites, such as fortresses or towns. [REQUIRES_POPULATION] and [REQUIRES_MARKET] can be combined, activating that position once both requirements are met. &lt;br /&gt;
&lt;br /&gt;
The [REQUIRES_MARKET] can be used to differentiate positions between hamlets and hillocks, and larger sites. IThe market always is build the year after the site is founded. So a position that is to be replaced, will be gone immediately.  &lt;br /&gt;
&lt;br /&gt;
The [REQUIRES_POPULATION]-tag works on the civ-level as well as on site-level, but those systems are in this mechanic strictly separated. Site-level positions cannot be replaced by civ-level positions and visa versa. This makes sense, because they both depend on their own population-count. When using REQUIRES_POPULATION on civ-level, it counts the total population of the civilisation. &lt;br /&gt;
&lt;br /&gt;
See also: [[Advanced_entity_position_mechanics#Evaluation_of_Positions|Evaluation of positions]]&lt;br /&gt;
&lt;br /&gt;
===Effect of replacement (and on [LAND_HOLDER]s)===&lt;br /&gt;
&lt;br /&gt;
Replacement is immediate and complete - the current holding unit loses the position, even before SUCCESSION_BY_POSITION rules are applied. A position with a number of 1 will replace all the slots of a position with a higher number of slots. &lt;br /&gt;
&lt;br /&gt;
Even if the next position is available but not visible, replacement still takes place. If a position is replaced, it is completely gone - it cannot be appointed, succeeded, elected or assumed any longer.&lt;br /&gt;
The unit immediately loses its position.&lt;br /&gt;
&lt;br /&gt;
In legends, replacement is mentioned as: &amp;quot;(unit name) ceased to be (position name)&amp;quot; The replacement of an AS_NEEDED position empties the position's slot forever. In fortress mode, it may seem as if you can create new slots and appoint new units in the nobles screen, but this is reversed as soon as you close the window.&lt;br /&gt;
&lt;br /&gt;
The landholder chain uses [REPLACED_BY] differently. It does not clear the position completely, but uses it for succession to the next level's position. [REPLACE_BY] is required to let that system work properly. This also means that the way in which landholders succeed (replace + as_needed) does not work in any other way. &lt;br /&gt;
&lt;br /&gt;
Replacement between LAND_HOLDERS and other site- or civ positions does not work in any way. Only the vanilla replacement sequence between levels of LAND_HOLDERs does work. If the token is omitted for landholders, the landholder chain is broken, so replacement is required for the landholder system to work.&lt;br /&gt;
&lt;br /&gt;
[REQUIRES_POPULATION] also does not work for [LAND_HOLDER], when you set [NUMBER] to 1. The position is not created when the required population is reached.&lt;br /&gt;
&lt;br /&gt;
===What doesn't work===&lt;br /&gt;
&lt;br /&gt;
'''Attention: If a position cannot be appointed, for example because of 'mutual appointment', it still exists according to replacement mechanics and will replace other positions if so defined. If a certain position(a) will be replaced by the baron's assistant, which can only be appointed by the [LAND_HOLDER] baron, than that position(s) still will be replaced from the start of the game, even if no baron or their assistant is ever present.'''&lt;br /&gt;
&lt;br /&gt;
A position that is replaced by a somehow non-fillable position is still replaced. This counts for mutual-appointing positions, replacement by not-yet-assigned landholders, replacement by AS_NEEDED positions, or replacement by not-yet-appointed positions. &lt;br /&gt;
&lt;br /&gt;
Replacement does not work if the replaced position is a [LAND_HOLDER], even with civ-positions. In that case, the LAND_HOLDER's position is not replaced. It does not matter if AS_NEEDED is used, or a fixed number, and it also does not matter what type of position the replacer is. So this only works (correctly) with positions that become available by REQUIRES_POPULATION.&lt;br /&gt;
&lt;br /&gt;
==[CONQUERED_SITE]==&lt;br /&gt;
&lt;br /&gt;
This tag determines which position is used to assign a [[Forced administrator]].&lt;br /&gt;
&lt;br /&gt;
In legends mode, this is visible as an event describing the reconquest of the site: a new group is formed and the forced administrator is installed as its ruler.&lt;br /&gt;
&lt;br /&gt;
All positions defined with this tag are assigned during this process, meaning multiple positions can be appointed at once.&lt;br /&gt;
&lt;br /&gt;
The holder of a position marked with [CONQUERED_SITE] cannot appoint any other [SITE] positions, unless the civilization has site variable positions, in which case the forced administrator can appoint such site variable positions (allthough the variable positions for that site need to be created first and such creation only happens during world-gen, but not normal world activities).&lt;br /&gt;
&lt;br /&gt;
Combining [CONQUERED_SITE] with [SITE] causes the position to function both as a forced administrator and as a normal site position available in fortress mode. However, this provides no meaningful additional mechanics and is effectively inferior to using [SITE] alone:&lt;br /&gt;
* [APPOINTED_BY] lines are completely ignored, meaning that the roles are automatically assumed.&lt;br /&gt;
* [SUCCESSION] is likewise ignored.&lt;br /&gt;
* the [CONQUERED_SITE]-position cannot appoint other [CONQUERED_SITE], [SITE] or combined positions.&lt;br /&gt;
&lt;br /&gt;
There have been remarks that reclaiming a fortress is unplayable because of the lack of regular nobles. Unfortunately, it seems that it can't be fixed by modding.&lt;br /&gt;
&lt;br /&gt;
=Availability and visibility=&lt;br /&gt;
==Availability of (new) positions==&lt;br /&gt;
Warning: Do not mistake &amp;quot;availability&amp;quot; for &amp;quot;visibility&amp;quot;! &lt;br /&gt;
&lt;br /&gt;
Of all the possible positions existing in your site's entity, there may only be some available. &lt;br /&gt;
* Positions with [REQUIRES_POPULATION] require the population to have a specific size.&lt;br /&gt;
* Positions with [REQUIRES_MARKET] will only appear in &amp;quot;large&amp;quot; sites (which may have different rules for different site types). This tag has no effect in fort mode.&lt;br /&gt;
* Positions that are appointed by positions that have an AS_NEEDED number. The appointable positions only become available after an appointer position-slot is created. This works also on civ-level. If a position is appointed by a Land-holder, it only becomes available, when that level of landholder is created. &lt;br /&gt;
	&lt;br /&gt;
Only the replaced positions are culled and are no longer available. &lt;br /&gt;
A position that requires a certain population will become available, even if it doesn't have [APPOINTED_BY] or [ELECTED]. In that case, see 'automatic assignment' and 'assumption'&lt;br /&gt;
&lt;br /&gt;
In fortress mode, in some cases 'succession' is evaluated immediately after a position becomes available. See: Succession.&lt;br /&gt;
==Visibility of positions==&lt;br /&gt;
A position might be available, but can still be invisible for the player in the [[nobles screen]]. The positions with their respective holders are visible for players:&lt;br /&gt;
* All site-positions that are already filled-in (even if they could not be re-filled-in considering current conditions)&lt;br /&gt;
* Site positions that are appointable by a filled-in site position&lt;br /&gt;
* Site positions that are appointable by a filled-in civ position, when that civ positions holder becomes a citizen of your fortress.&lt;br /&gt;
* Civ positions of units that are also a citizen of your fortress.&lt;br /&gt;
If a position becomes available, for example because a certain pop number has been reached, or if it is available from the start(like expedition leader), as long as it cannot be appointed, it still is INVISIBLE for the player. &lt;br /&gt;
&lt;br /&gt;
It might strike someone as odd if a position becomes filled automatically in fortress mode when that position is not even visible. This might be the case if the current holder of a non-appointable position dies or succeeds another position. Regardless of player visibility, these positions will be automatically filled in if the necessary requisitions are met. It might happen with the expedition leader.&lt;br /&gt;
&lt;br /&gt;
A situation with a non-visible but available position, is for example when a position is solely appointed by the expedition leader, when the expedition leader's position is left vacant. It can no longer be appointed by the player and is invisible. Then, it gets automatically assumed, proving that the position still was available.&lt;br /&gt;
&lt;br /&gt;
A position that is both [APPOINTED_BY] and [ELECTED] is visible, but players cannot interact with it.&lt;br /&gt;
&lt;br /&gt;
={{text anchor|Evaluation of Positions}}=&lt;br /&gt;
The game does not continuously check whether positions should become available, elected or be [REPLACE_BY]. This is well-known behavior—for example with the [[mayor]], who does not appear automatically when the required population ([REQUIRES_POPULATION]) is reached. Instead, positions must somehow be evaluated. This applies in several other situations as well &lt;br /&gt;
&lt;br /&gt;
'''Cases that require a trigger:'''&lt;br /&gt;
* Election of a newly created position&lt;br /&gt;
* Election after the current holder dies&lt;br /&gt;
* Automatic assumption of a newly created position (this may take up to a day)&lt;br /&gt;
* New citizens (such as migrants) considering available positions&lt;br /&gt;
* Premature succession of a newly created position&lt;br /&gt;
&lt;br /&gt;
'''Cases that do not wait for a trigger:'''&lt;br /&gt;
* Succession following the death of the previous holder&lt;br /&gt;
* Automatic assumption of existing positions that have become vacant&lt;br /&gt;
&lt;br /&gt;
'''Triggers that cause the game to reevaluate noble positions:'''&lt;br /&gt;
* Succession of a [SITE]-position due to the death of the current holder&lt;br /&gt;
* [[Advanced_entity_position_mechanics#Election_Day|Election Day]]&lt;br /&gt;
* Automatic assumption of a [SITE]-position that becomes vacant&lt;br /&gt;
* (Re)assigning any site position manually&lt;br /&gt;
* Settlement elevation on the LAND_HOLDER track (e.g. gaining a [[Baron]] or [[Count]])&lt;br /&gt;
&lt;br /&gt;
=Gaining a position=&lt;br /&gt;
There are several ways a unit can gain a position:&lt;br /&gt;
* Appointment: A unit is appointed by another unit or by the player.&lt;br /&gt;
* Election: A unit is elected by and among the members of the entity&lt;br /&gt;
* Assumption: A position is neither elected or appointed: a random unit just simply 'takes' the position&lt;br /&gt;
* Succession: a unit is the valid successor of this position(A), either by its current position(B) or because they are that position(A)-holder's heir. &lt;br /&gt;
&lt;br /&gt;
Available positions will automatically be assigned to a random civ member when a new site/civ is created.&lt;br /&gt;
&lt;br /&gt;
==Who can take a position==&lt;br /&gt;
&lt;br /&gt;
* If so defined, a unit needs to be the right caste and/or class - it does not seem to work with creature types. &lt;br /&gt;
* The unit needs to be an adult member of the site or its parent civ's government; that is also CAN_LEARN or INTELLIGENT (SLOW_LEARNER cannot take positions) or otherwise is able to think.&lt;br /&gt;
&lt;br /&gt;
==Appointment==&lt;br /&gt;
&lt;br /&gt;
Positions that have an [APPOINTED_BY:position] token require that position to exist, to be available and appointed. Any position that is APPOINTED_BY can be appointed if the appointer's position is filled in. &lt;br /&gt;
For site-positions to be appointed, it is required that the appointer is present at that location.&lt;br /&gt;
&lt;br /&gt;
If the appointing unit is temporarily not present, or if that position is not filled, positions depending on it cannot be appointed. This is the case with [[militia captains]], when the [[militia commander]] is on a [[mission]]. &lt;br /&gt;
&lt;br /&gt;
A site position cannot appoint a civ position ''or'' LAND_HOLDER in any way whatsoever. &lt;br /&gt;
&lt;br /&gt;
Civ-level positions can appoint other civ-level positions and site-level positions can appoint other site-level positions.&lt;br /&gt;
&lt;br /&gt;
Contrary to what has been said elsewhere, civ-level nobles also can appoint site-level nobles. They need to be at the site to do so. Landholders can appoint both site-level and civ-level nobles. These systems are therefore not as separate as was assumed.&lt;br /&gt;
&lt;br /&gt;
'''Mutual appointment''' cannot take place. If these are the only requisites of the position, then the positions will never appear or get filled. These unfillable positions can be put to good use, for example, to replace a position that is no longer needed without creating a new one. &lt;br /&gt;
&lt;br /&gt;
'''Self appointment''' doesn't normally work. If you have a position that is only appointed by itself, it is never appointed and also cannot be assumed. However, if the position has a number higher than 1, and is filled by multiple units (for example by another position that is now empty), than those units can re-assign or appoint each other from that their shared position. &lt;br /&gt;
&lt;br /&gt;
If an APPOINTED_BY token refers to a non-existing position's code, the effects are as if the appointment token doesn't exist at all.&lt;br /&gt;
&lt;br /&gt;
===Automatic appointment in world-gen and on the civ level===&lt;br /&gt;
&lt;br /&gt;
Outside of fortress mode, the game will always attempt to appoint nobles whenever possible, as long as these positions are '''available''', even if they are invisible to the player.&lt;br /&gt;
It shows this message in legends:  &amp;quot;(unit name) has been appointed to the position of (position name)&amp;quot;&lt;br /&gt;
&lt;br /&gt;
In world-gen, all positions become available and are automatically appointed, taking population- and appointment-requirements into consideration. &lt;br /&gt;
&lt;br /&gt;
Positions that are REPLACED_BY are culled and won't be filled.&lt;br /&gt;
&lt;br /&gt;
If a citizen of your fortress holds a civ-level position that can appoint another civ-level position, the appointment will happen automatically and without player intervention. It may happen that another citizen of your fortress is appointed by that unit, creating civ-level position holders in your fortress, but it is unknown what is required to force this effect.&lt;br /&gt;
&lt;br /&gt;
===Manual appointments by players in fortress mode===&lt;br /&gt;
In fortress mode, the positions that need to be appointed stay empty on embark. and it is the player's job to appoint those. A player can appoint a unit to any available position, according to the hereabove mentioned conditions. The player takes the role of the automatic appointment-system, but has no direct control over elections, successions and replacement. There are some differences in what is possible at world-gen sites and at player-controlled sites.&lt;br /&gt;
&lt;br /&gt;
* A position that is appointed by a unit present as a fortress citizen, can be appointed, re-appointed or left vacant. This means also by civ-level nobles living as a citizen in your fortress; not when they are only visiting, like the diplomat.&lt;br /&gt;
* A position whose appointing positions are all either vacant or [REPLACED_BY] can no longer be appointed. If the position is already filled, it cannot be reappointed or vacated; the current holder simply remains in office.&lt;br /&gt;
* A position that is APPOINTED_BY a unit present as the land_holder of your site, can be appointed, reassigned or left vacant.&lt;br /&gt;
* A position that has SUCCESSION BY_HEIR or BY_POSITION can 'initially' be appointed and also re-appointed or left vacant, but as soon as the [[nobles]] screen closes, ''it can no longer be replaced or left vacant''. From then on, the succession-rules determine who gains that position when the current holder loses the position. This works even if the SUCCESSION:BY_POSITION-position is vacant or replaced.&lt;br /&gt;
* A position that is ELECTED nor APPOINTED_BY, can always be (re-)appointed by the player. This is the case with the [[Expedition leader]]. If it is left vacant however, it cannot be appointed, but will be assumed shortly after. &lt;br /&gt;
* A position that is both ELECTED and APPOINTED_BY, cannot be appointed by the player. Contrary to world-gen sites, its slot is visible, but it doesn't show the +-sign. This is either by AS_NEEDED or by a fixed number. Even if the position somehow gets filled (re)assignment is never possible&lt;br /&gt;
* A player can appoint a number of units to a position, as much as the NUMBER token dictates. If it is AS_NEEDED, the player may create as many slots as they like, also contrary to world-gen sites. &lt;br /&gt;
* A civ-position can never be appointed, even if the appointing civ noble is a citizen of your fortress. A civ position also never can be re-assigned or left vacant, would that position be defined as appointed by a site-position.&lt;br /&gt;
&lt;br /&gt;
==Election==&lt;br /&gt;
Read more in [[Elections]]. The message that is shown is: &amp;quot;(creature name) has been elected to the position of  (position name)&amp;quot;&lt;br /&gt;
&lt;br /&gt;
In worldgen, there is no functional difference between ELECTED and non-appointment, except that elected nobles tend to have high social skills and/or skills related to the position, while non-elected ones are assigned randomly. See: [[Elections]]&lt;br /&gt;
&lt;br /&gt;
A succession goes before an election. &lt;br /&gt;
&lt;br /&gt;
A position that is both ELECTED and APPOINTED_BY never gets elected. Even if the appointees' position somehow gets filled, (re)-elections won't happen. So, it doesn't seem possible to have an elected position become available when a certain other position becomes filled. &lt;br /&gt;
&lt;br /&gt;
An ELECTED civ-(or LAND_HOLDER) position at your site will never be (re)-elected in fortress mode. So real (re-)election only works with SITE-positions. &lt;br /&gt;
&lt;br /&gt;
=== {{text anchor|Election Day}} ===&lt;br /&gt;
Election Day takes place on the 17th of Summer. On this day, a full reevaluation is performed, including all currently elected positions, which are subject to re-election. Contrary to the information on [[Elections]], nothing occurs at the start of a season.&lt;br /&gt;
&lt;br /&gt;
Positions that are both [APPOINTED_BY] and [ELECTED] will not be re-elected on Election Day when assigned through [SUCCESSION].&lt;br /&gt;
&lt;br /&gt;
=== Election Eligiblity ===&lt;br /&gt;
Any citizen may stand for election. Eligibility cannot be restricted using [ACCEPTED_CREATURE], [REJECTED_CREATURE], [ACCEPTED_CLASS], [REJECTED_CLASS], or [GENDER]. Units currently having a [SUCCESSION]-position even may be elected for a position with a [SQUAD]-token, which is otherwise impossible to assign or even succeed.&lt;br /&gt;
&lt;br /&gt;
=== Skills ===&lt;br /&gt;
In elections, skills are taken into account for the tokens of the position which is elected.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Relevant skills per position token&lt;br /&gt;
|-&lt;br /&gt;
! Position Token !! Relevant skills&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#DELIVER_MESSAGES|[DELIVER_MESSAGES]]] || [[Ambusher]], [[Observer]] and [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#ACCOUNTING|[ACCOUNTING]]] || [[Record_keeper|Record keeper]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#ESPIONAGE|[ESPIONAGE]]] || [[Schemer]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#HEALTH_MANAGEMENT|[HEALTH_MANAGEMENT]]] || [[Diagnostician|Diagnostician]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#MAKE_INTRODUCTIONS|[MAKE_INTRODUCTIONS]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#MAKE_PEACE_AGREEMENTS|[MAKE_PEACE_AGREEMENTS]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#MAKE_TOPIC_AGREEMENTS|[MAKE_TOPIC_AGREEMENTS]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#MANAGE_PRODUCTION|[MANAGE_PRODUCTION]]] || [[Organizer]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#MEET_WORKERS|[MEET_WORKERS]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#RECEIVE_DIPLOMATS|[RECEIVE_DIPLOMATS]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#RELIGION|[RELIGION]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#TAME_EXOTICS|[TAME_EXOTICS]]] || [[Animal_trainer|Animal trainer]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#TRADE|[TRADE]]] || [[Social_skill|Social skills]] and [[Appraiser|Appraiser]]&lt;br /&gt;
|-&lt;br /&gt;
| [[Position_token#SQUAD|[SQUAD]]]-token || [[Tactician]] and [[Leader]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Assumption==&lt;br /&gt;
&lt;br /&gt;
A position that is not APPOINTED_BY nor ELECTED, or is appointed by positions that are not available in your site or civ, will be assumable by a random dwarf. If it has responsibilities that require certain skills, then these are taken into consideration on embark, but not when the position is assumed during the actual game. &lt;br /&gt;
&lt;br /&gt;
Normally, one to three units will take the into consideration to assume a position. Most of the time when there are multiple open positions, only a single unit will assume all of them. However, a position that has REJECTED_CREATURE, REJECTED_CLASS, ALLOWED_CREATURE or ALLOWED_CLASS will be filled with all different units, even if the creature or class mentioned is irrelevant. It seems that this forces the game to loop over all the available units.&lt;br /&gt;
&lt;br /&gt;
The message that is shown in Legends mode is: &amp;quot;(unit name) has assumed the position of (position name)&amp;quot;. This may also take place in fortress mode, which then shows this message to the player. &lt;br /&gt;
&lt;br /&gt;
If an assumable position becomes empty, it will be assumed within a day. This is the case when you leave the position of expedition-leader vacant. It also happens with entities. &lt;br /&gt;
&lt;br /&gt;
Assumable positions that become empty will not be assumed if that position has a valid [SUCCESSION] -successor. In that case, the successor inherits the position. &lt;br /&gt;
&lt;br /&gt;
Even positions that are somehow invisible because they cannot be directly APPOINTED_BY players, can be assumed. &lt;br /&gt;
&lt;br /&gt;
When you embark, the assumable positions are automatically assigned to a random unit. If there are multiple of these positions at embark, they all are assigned to the same unit. If there are enough positions available, multiple units may gain a position, but often no more than three different ones.&lt;br /&gt;
&lt;br /&gt;
If a dwarf in fortress mode assumes a position, that already has another position, it will leave the current position empty. When that position also is assumed, then this will continue until all positions have a dwarf appointed to them, with no other position.&lt;br /&gt;
&lt;br /&gt;
A unit that already has a position with a [SUCCESSION] token won't take assumable positions into consideration that have a [SQUAD] token. This can be used by the modder to prevent unwanted loss of current positions.&lt;br /&gt;
&lt;br /&gt;
A position that has an appointer which got replaced because of REPLACED_BY, will not become assumable. Also, positions that have an AS_NEEDED appointer that is not yet filled (or ever), will also not be assumed.&lt;br /&gt;
&lt;br /&gt;
==Succession==&lt;br /&gt;
&lt;br /&gt;
If a position-holder dies or advances to a new position via succession, the position will be granted to another unit based on the [SUCCESSION] tag. If they have an heir or the succeeding position exists, that unit will be assigned. If not, a new one will be appointed according to the usual rules. The message that is shown is: &amp;quot;(creature name) being the rightful heir, has inherited the position of (position name)&amp;quot;&lt;br /&gt;
&lt;br /&gt;
The succeeding creature will also lose its previous position. When succession is defined using BY_POSITION, the unit naturally loses the referenced position. However, it also loses any other positions it may hold. If a unit could simultaneously inherit multiple positions, the last-defined succession overrides the earlier one, clearing the previously acquired position&lt;br /&gt;
&lt;br /&gt;
Succession works both at site-level and at civ-level, both in world-gen and in fortress-mode. Succession by position on the civ-level is also visible and functional in fortress-mode. If both civ-level nobles are a citizen of your fortress, succession is applied visually. Vanilla example: The [[druid]] is succeeded by the [[acolyte]]. This means that as soon as the druid dies, the acolyte takes over. &lt;br /&gt;
&lt;br /&gt;
When a position that is succeeded by position becomes available, immediately it is checked if a position-successor is available and the position is filled with that unit. Even if this is an [ELECTED] position, succession goes first. When elections eventually do happen, succession plays no role.&lt;br /&gt;
&lt;br /&gt;
It is possible to assign multiple levels of [SUCCESSION:BY_POSITION] in different positions, creating a line of positions where the death of one causes all those &amp;quot;below&amp;quot; them to advance.&lt;br /&gt;
&lt;br /&gt;
A position can have multiple tokens with position-succession. It looks to be random which one is used. It is not always:&lt;br /&gt;
* The first or last defined token&lt;br /&gt;
* The first or last appointed unit&lt;br /&gt;
* the oldest or youngest&lt;br /&gt;
* one with a higher or lower precedence&lt;br /&gt;
* a unit with relevant skills&lt;br /&gt;
&lt;br /&gt;
When a position is defined with a Succession-type, that unit cannot have another position that has a Squad-type. If the succession-position itself has a squad, than it can be assigned another position with a squad, but then it will loose the previous succesion position. See further details by &amp;quot;Squad&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Assumed positions can also be succeeded by position, if the current holder dies. &lt;br /&gt;
&lt;br /&gt;
If the successor is an AS_NEEDED position, the used unit will leave a vacant position-slot on its removal by succession. This empty slot remains a real slot, which will only be cleaned up if you (un)appoint a unit to this position-series. It isn't cleaned up after regular position validation.&lt;br /&gt;
&lt;br /&gt;
A civ-level position of a unit living at your site might be inherited by a unit holding that does not currently live at your site. This, unfortunately, moves that position to a unit off site. This may also happen with the landholder of your site, for example when it is succeeded by another civ-level position. This currently poses an unsolved challenge. &lt;br /&gt;
&lt;br /&gt;
===Eligibility for succession===&lt;br /&gt;
Succession is restricted by the tokens [ACCEPTED_CREATURE], [REJECTED_CREATURE], [ACCEPTED_CLASS], [REJECTED_CLASS] and [GENDER].&lt;br /&gt;
&lt;br /&gt;
===Site and civ combined succession===&lt;br /&gt;
&lt;br /&gt;
Succession can work when combining site positions with civ-level positions or land_holders, but only in world-gen mode.  In fortress mode, it only works with combining the same level of nobles, with Landholders regarded as civ-level. So, in fortress mode, a site's position cannot succeed a landholder's position and it cannot succeed another type of civ-level position, and vice versa. &lt;br /&gt;
&lt;br /&gt;
This won't work even if the positions:&lt;br /&gt;
* are AS_NEEDED or having a fixed number.&lt;br /&gt;
* Are LAND_HOLDERs.&lt;br /&gt;
&lt;br /&gt;
===Succession [BY_HEIR]===&lt;br /&gt;
&lt;br /&gt;
When a heir is needed for succession, all children and then other relatives are validated. They cannot take the position if their status does not allow it, for example if they have become a member of another civilisation. See: &amp;quot;Who can take a position&amp;quot;. If the unit has no valid heir on that location, the position may go to a unit living on another site. This may cause the title of Landholder of some land to be inherited by a unit living somewhere else. That might be a problem, because then you lose your landholders.&lt;br /&gt;
&lt;br /&gt;
===Premature Succession===&lt;br /&gt;
&lt;br /&gt;
There are cases where [SUCCESSION:BY_POSITION] is applied prematurely: at the moment a position is first created and becomes appointable or assumable, rather than after a current holder leaves. In this situation, the succession mechanism assigns a holder immediately, without any player interaction.&lt;br /&gt;
&lt;br /&gt;
When a position becomes available for the first time, the game checks whether a valid successor-by-position exists. If so, that unit is assigned instantly. It can affect positions that would normally be appointed or elected by the player, causing succession to trigger before the player has any opportunity to intervene.&lt;br /&gt;
&lt;br /&gt;
This behavior occurs only in Fortress mode, but can be applied both on [SITE]-positions as well in civ-positions. That last one however is a bit harder to control. Example: [[Advanced entity position mechanics#The Archduke|The Archduke]]&lt;br /&gt;
&lt;br /&gt;
This premature succession only occurs the first time a position becomes available (i.e. when it is created and becomes appointable or assumable). Even if the position remains vacant and the conditions for succession improve later, premature succession will not trigger again. From that point onward, only normal succession rules apply.&lt;br /&gt;
&lt;br /&gt;
Using premature succession, a position that has [ELECTED], [APPOINTED_BY], or both, can be filled directly.&lt;br /&gt;
Notably, positions that combine [ELECTED] and [APPOINTED_BY] are normally impossible to fill through regular mechanics. Premature succession bypasses both election and appointment entirely, making this combination uniquely reachable through this mechanism.&lt;br /&gt;
&lt;br /&gt;
No initial election takes place, and no subsequent elections will ever occur for that position. Succession always takes precedence over election, both in premature succession and in normal succession cases.&lt;br /&gt;
&lt;br /&gt;
This behavior applies only in Fortress mode, not during world generation. World-gen uses simplified and more efficient mechanics, and this interaction does not occur there. Premature succession can affect both site-level and civilization-level positions.&lt;br /&gt;
&lt;br /&gt;
====Multiple succession chains====&lt;br /&gt;
&lt;br /&gt;
Multiple succession chains may be defined and are resolved in the order they appear in the raws.&lt;br /&gt;
&lt;br /&gt;
If a position has both:&lt;br /&gt;
* a direct succession chain (A → C), and&lt;br /&gt;
* a multi-step chain (A → B → C),&lt;br /&gt;
&lt;br /&gt;
and intermediate positions are vacant, resolution proceeds according to raw order. A common outcome is:&lt;br /&gt;
# The direct succession (A → C) is applied first, assigning A to C.&lt;br /&gt;
# The remaining chain then advances (A → B).&lt;br /&gt;
# If C still has empty slots, the final step (B → C) may occur.&lt;br /&gt;
&lt;br /&gt;
If position B is already filled, behavior depends entirely on raw definition order:&lt;br /&gt;
* nothing may happen, or&lt;br /&gt;
* B may move to C first, followed by A moving to B.&lt;br /&gt;
====Working triggers====&lt;br /&gt;
Premature succession is triggered when a succeedable position is created under the following conditions:&lt;br /&gt;
* The succeedable position is created because its [REQUIRES_POPULATION] threshold is reached. This applies even if the position is not [APPOINTED_BY]. Premature succession takes priority over automatic assumption (e.g. the mayor declaring themselves within a day).&lt;br /&gt;
** The position must either be assumable or appointed by an existing position. When said appointer-position also just has been created, the premature succession of the succeedable position happenes, even when the appointer-position is empty.&lt;br /&gt;
* The succeedable position can be [APPOINTED_BY] another position of the same level (site or civ) that has just been created because its [REQUIRES_POPULATION] was reached.&lt;br /&gt;
* The succeedable position can be appointed by another [SITE] [AS_NEEDED] position that has just been created and filled.&lt;br /&gt;
* The succeedable (site or civ) position is [APPOINTED_BY] the [LAND_HOLDER] position, which has just been created due to site elevation. This typically resolves when the diplomat leaves the map, at which point the landholder position becomes active.&lt;br /&gt;
* If all other requirements are met, premature succession can occur immediately after unpausing following embark, for positions with [REQUIRES_POPULATION:7].&lt;br /&gt;
&lt;br /&gt;
====Non-working (triggers)====&lt;br /&gt;
Premature succession does '''not''' occur in the following cases:&lt;br /&gt;
* An [AS_NEEDED] succeedable position slot is manually created by the player while its succeeding position is already filled. [AS_NEEDED] positions must always be appointed after creation.&lt;br /&gt;
* The succeeding position is filled after the succeedable position becomes available. The moment of creation is the decisive trigger; filling the source position later is too late.&lt;br /&gt;
* The succeedable position can be appointed by another site or civ position with a fixed number of slots that has just been appointed. In this case, the succeedable position is just available for appointment itself, nothing more&lt;br /&gt;
* Any situation occurring during world generation.&lt;br /&gt;
* The succeeding position is [REPLACED_BY] the succeedable position. In this case, replacement removes the unit from the source position first, leaving no holder available for the succession mechanism to use.rst, leaving no holder available for the succession mechanism to use.&lt;br /&gt;
* The position is [APPOINTED_BY] a civ-level position, that just became a citizen of your fortress. It must be noted that those civ-level positions were active all that time and the succeedable position could be appointed even before. The monarchs arrival does not trigger premature succession&lt;br /&gt;
* A [SQUAD]-position can not inherrit another [SQUAD]-position. This means also that premature succesion will not work in this case.&lt;br /&gt;
&lt;br /&gt;
=Losing a position=&lt;br /&gt;
&lt;br /&gt;
A unit can lose a position when:&lt;br /&gt;
* It dies&lt;br /&gt;
* It succeeds another position, even if it has nothing to do with the previous position.&lt;br /&gt;
* It is assigned to another SQUAD-holding position&lt;br /&gt;
* It is convicted of a crime.&lt;br /&gt;
* Another unit is ELECTED for the position&lt;br /&gt;
* It is convinced by an adventurer to give up its position, or is overthrown in a coup.&lt;br /&gt;
* Its position becomes replaced&lt;br /&gt;
* Another unit is appointed by the player, or the position is left vacant. &lt;br /&gt;
* It has assumed another position (of the same entity), as this always leaves the previous position vacant.&lt;br /&gt;
&lt;br /&gt;
Note: A unit does not lose a position when the unit leaves the group (entity). Neither will a unit lose a position, if the corresponding entity is considered to be dead.&lt;br /&gt;
&lt;br /&gt;
=Embarkment=&lt;br /&gt;
Two types of positions are automatically filled by embark. &lt;br /&gt;
* Positions without [APPOINTED_BY] or [ELECTED] (assumable). All these positions, even with a NUMBER higher than 1, are all filled with one to three dwarves. Contrary to assumption, this doesn't take into account any limitations. REJECTED_CLASS, ALLOWED_CLASS, REJECTED_CREATURE, ALLOWED_CREATURE and GENDER are applied, but without the normal spread you may expect with assumptions. Also it doesn't look at [SUCCESSION] and [SQUAD] limitations.&lt;br /&gt;
* Positions that are elected are filled-in by the normal election rules.&lt;br /&gt;
&lt;br /&gt;
Positions that have a defined appointer are never initially filled at embark.&lt;br /&gt;
&lt;br /&gt;
All positions that don't have [REQUIRES_POPULATION]  or with a [REQUIRES_POPULATION] of 7 or lower, will be available at embark.&lt;br /&gt;
&lt;br /&gt;
=Land Holders=&lt;br /&gt;
&lt;br /&gt;
A Landholder is a '''special civ-level noble''' who gets a certain piece of land to hold, when that land is elevated to a certain level, determined by the [LAND_HOLDER] tag, and by the landholder triggers in the game's settings. In vanilla, these are the baron, the count and the duke. &lt;br /&gt;
&lt;br /&gt;
A unit gaining the landholder position does not migrate to that specific named land. In world-gen, they stay just where they are, probably at the capital. In fortress mode, you can suggest a citizen for the role. So for the time being that works.&lt;br /&gt;
&lt;br /&gt;
Succession is then a real issue. If you use BY_HEIR, its solved when that landholder has children living at your site. But when its not the case, the title just goes to anyone randomly. Succession BY_POSITION works, but only in the civ-chain, and there's no way to guarantee a civ-holder is at your site at that time. Even with 'automatic spread' positions, it goes to one of them randomly.&lt;br /&gt;
&lt;br /&gt;
==Functioning of the regular landholder chain==&lt;br /&gt;
&lt;br /&gt;
The distinct difference between a landholder and a regular civ-level noble, is that a landholder may gain the position of landholder &amp;quot;of (sitename)&amp;quot; They are then seen as ruler of a particular site. &lt;br /&gt;
&lt;br /&gt;
For a land_holder position to function as such, it has a few requirements:&lt;br /&gt;
* NUMBER:AS_NEEDED &lt;br /&gt;
* The first landholder-number of 1 is defined. &lt;br /&gt;
* No SITE (so civ) tag in that position.&lt;br /&gt;
*REPLACED_BY the next level landholder&lt;br /&gt;
If a landholder is defined with differentiating properties, it will function like a regular noble. A higher-up landholder that lacks the required tokens or connections will then not be used in elevation. &lt;br /&gt;
&lt;br /&gt;
If a fortress meets the trigger for a new LAND_HOLDER tier when a caravan leaves, then the next time the outpost liaison or equivalent arrives, they will offer to make you an official colony, which will allow you to select all positions for that LAND_HOLDER level. Each time they appear, the outpost liaison will only promote your fortress one tier up the LAND_HOLDER track. &lt;br /&gt;
&lt;br /&gt;
The landholder's LAND_NAME is not required for the functioning of this system. If omitted, messages will be shown with a more generic text.&lt;br /&gt;
&lt;br /&gt;
==Appointment==&lt;br /&gt;
&lt;br /&gt;
This mechanism differs from the regular methods of position management. It ignores all regular appointment- and election rules, so it more or less functions like automatic assignment. A landholder is, in vanilla, appointed by the monarch. Changing this doesn't seem to do anything. If they are appointed by a site-position, a not-yet-existing civ-position, or not appointed at all: the system keeps working as usual. &lt;br /&gt;
&lt;br /&gt;
A landholder can appoint civ-positions and site positions. This works as expected: the positions only are appointed then when that landholder becomes available on civ-level or when he arrives at that site for site-level positions. &lt;br /&gt;
&lt;br /&gt;
If your rank of landholder is the first of its rank in the realm, and is the sole appointer of some civ-position, then immediately as it gains the title, it will appoint the empty civ-slots. This may happen on your site, but the frequency and certainty is hard to determine.&lt;br /&gt;
&lt;br /&gt;
==Succession==&lt;br /&gt;
&lt;br /&gt;
Succession rules are applied to some extent:&lt;br /&gt;
* In world-gen it works according to succession rules, and site-positions can be used here.  This means that a site position or a civ-position can inherit a landholder position, and vice versa.&lt;br /&gt;
* In fortress mode, once a landholder has been appointed, it then can inherit civ-level positions, and vice versa. This means that your baron can become king. &lt;br /&gt;
* Succession rules do not apply within the [LAND_HOLDER] chain; a count will not inherit a baron's land. This is because succession does not work well with the AS_NEEDED token.&lt;br /&gt;
* Premature succession works in fortress mode with landholders. If a unit gets a landholder's position and that landholder is the appointer of an as yet empty position, which is defined as succeeding from a third one, then the succession is immediately applied. The landholder themselves can even be the successor of a newly created position.&lt;br /&gt;
* A landholder's position is, in fortress mode, not successionable by a site-position or vice versa&lt;br /&gt;
&lt;br /&gt;
===Impossibilities for succession by a site-position===&lt;br /&gt;
It would be very beneficial if the landholder can be succeeded by a [SITE]-position. So far, the following tests have not lead to positive results:&lt;br /&gt;
* making landholder and site-position both non-[DUTY_BOUND]&lt;br /&gt;
* make the site-position be [APPOINTED_BY] the landholder and/or the monarch&lt;br /&gt;
* give landholder and site-position [REJECTED_CREATURE]&lt;br /&gt;
* Let the monarch live at your site when succession could happen.&lt;br /&gt;
* Let the site-position be [REPLACED_BY] the landholder.&lt;br /&gt;
&lt;br /&gt;
If the vanilla [SUCCESSION:BY_HEIR]-tag is omitted, a seemingly random unit somewhere in the realm is assigned this position.&lt;br /&gt;
&lt;br /&gt;
==Nomination==&lt;br /&gt;
&lt;br /&gt;
The player is able to nominate a unit to become the LAND_HOLDER, but this only works with units of [LAND_HOLDER] level 1. The player can select all units, only limited by the PRECEDENCE of the current units' positions.&lt;br /&gt;
&lt;br /&gt;
A unit that has a position with a PRECEDENCE lower or equal to that of the landholder's position, cannot be selected. This means that a baron (or count) from another site or the monarch cannot be selected, because their precedence is lower or equal. &lt;br /&gt;
&lt;br /&gt;
The GENDER  token does not work here: also units with the wrong gender (sorry) can be selected.&lt;br /&gt;
&lt;br /&gt;
==Levels==&lt;br /&gt;
In mods, up to 10 levels of LAND_HOLDER may be defined. &lt;br /&gt;
&lt;br /&gt;
If a landholder is replaced by a wrong landholder number (1 replaced by 3), then the number 3 is still correctly attached to the settlement. &lt;br /&gt;
&lt;br /&gt;
If the current landholder has the highest available landholder number, then the next elevation will not happen - the diplomat will not elevate your fortress to a higher position, even if that position might be REPLACED_BY a lower landholder. &lt;br /&gt;
&lt;br /&gt;
These chains do work:&lt;br /&gt;
* 1 -&amp;gt; 2a - &amp;gt; 2b -&amp;gt; 3&lt;br /&gt;
* 1 -&amp;gt; 3 -&amp;gt; 2 -&amp;gt; 4&lt;br /&gt;
&lt;br /&gt;
These chains do not work:&lt;br /&gt;
* 2 -&amp;gt; 3 (need to start at 1)&lt;br /&gt;
* 1 -&amp;gt; 4 -&amp;gt; 2 -&amp;gt; 3 (stops after 4 as the highest)&lt;br /&gt;
* 1a -&amp;gt; 2, 1b -&amp;gt; 2 (only 1a and 2 work, 1b is not used)&lt;br /&gt;
&lt;br /&gt;
==Moving landholders==&lt;br /&gt;
&lt;br /&gt;
It may happen that a land-holder no longer lives at the site which they are the landholder of, specifically when the current landholder dies, leaving the title to an heir living somewhere else. &lt;br /&gt;
&lt;br /&gt;
To prevent this from happening, you can make their succession from heir and make sure that their kids live at your site. Or, you can make their position succeeded by another civ position, and make it so that this civ position is somehow available on your site. But if multiple of these positions exist, it cannot be guaranteed that a citizen of your fortress will inherit the title. &lt;br /&gt;
&lt;br /&gt;
In world gen, a landholder lacking the DUTY_BOUND-token will also move to the site they like, according to legends mode.&lt;br /&gt;
&lt;br /&gt;
==Replacement by a generic civ-position==&lt;br /&gt;
&lt;br /&gt;
If a landholder is replaced by an AS_NEEDED non-landholder civ-position, then this will work: the current landholder loses that title upon settlement-elevation and gains that civ-title. However, the civ-title lacks the landholder-property of being attached to the land. It will not show the name of the settlement alongside the position's name. So no &amp;quot;minister of Shovelmounts&amp;quot;&lt;br /&gt;
&lt;br /&gt;
If a landholder is replaced by a general AS_NEEDED civ-position, that itself is also replaced by a generic AS_NEEDED civ-position, then firstly the elevation is executed and also the unit gains that new position. However, he immediately loses it, because an AS_NEEDED position that is replaced by another position can be filled initially, but units wont be able to hold that title.&lt;br /&gt;
&lt;br /&gt;
==Landholder with fixed number==&lt;br /&gt;
&lt;br /&gt;
A landholder's position that has a fixed number will be created and filled directly when the civilisation is born, so this position slot is then not available for the regular landholder-mechanic and will also not be used. That landholder will thus not be attached to a settlement. &lt;br /&gt;
&lt;br /&gt;
It doesn't matter if the landholder's position is connected to the regular landholder's-chain with the REPLACE_BY token.&lt;br /&gt;
&lt;br /&gt;
==Responsibilities==&lt;br /&gt;
&lt;br /&gt;
When given a certain [RESPONSIBILITY], a landholder may function as a regular civ-level noble. If the position has [TRADE] or [OUTPOST_NEGOTIATING] responsibilities, then the landholder functions both as a diplomat and as an actual land holder. A landholder with the [MILITARY_STRATEGY]  responsibility will travel around taming creatures in world-gen, according to legends mode. &lt;br /&gt;
&lt;br /&gt;
Besides that, the responsibilities work the same as with any other on-site living position-holder, civ or otherwise.&lt;br /&gt;
&lt;br /&gt;
=Military=&lt;br /&gt;
==Squad management==&lt;br /&gt;
In the vanilla game, the Squad interface only becomes available after a militia commander has been appointed. Until then, the window displays:{{DFtext|You must appoint somebody first to create a squad.}}&lt;br /&gt;
&lt;br /&gt;
What’s surprising is how this is determined internally. In the entity raw definition, '''only the last two positions that include a [SQUAD] token are checked''' to decide whether the interface is accessible at all. As a result, if your hierarchy defines commanders A through E, appointing '''Commander D or E''' unlocks squad formation, while appointing A–C does nothing.&lt;br /&gt;
&lt;br /&gt;
In other words, squad availability is not tied to ''having a militia commander'', but to ''which specific positions happen to be last in the raw list''—a notably hacky implementation.&lt;br /&gt;
&lt;br /&gt;
These 'last two' are always the last two '''available positions.''' So if they get [REPLACED_BY] or become available because of [REQUIRES_POPULATION], the game adapts to those.&lt;br /&gt;
&lt;br /&gt;
==Squad assignment==&lt;br /&gt;
&lt;br /&gt;
Squads can be assigned, even if the leader position has no holder.&lt;br /&gt;
&lt;br /&gt;
A specific unit can only have one position associated with a squad. If it gains another 'squad holding position', it is unassigned from the first one. This does not work with a 0-squad, so only 1+squads are taken into consideration. This technique can possibly be used to distribute all positions equally among all citizens. It does however not work with election and assumption. &lt;br /&gt;
&lt;br /&gt;
If a civ-level position is associated with a squad and it gets a site-level squad-holding position assigned, it loses the current civ-position. &lt;br /&gt;
&lt;br /&gt;
Squads can get really messed up, if you make the position (or multiple) either elected or not-elected and not-appointed, then this can cause the game to assign multiple squads to the same unit. Automatic assignment and election does not take squads into account, but the nobles screen does. This can cause the positions to be cleared as the game figures out that they have more than one position, and immediately get elected or assumed again. &lt;br /&gt;
&lt;br /&gt;
Positions that cannot have a squad-position:&lt;br /&gt;
* A site- or civ-position with a [SUCCESSION] token cannot be appointed a squad-holding-position. The other way around, however, does work. For example, if a site-position with a [SUCCESSION]-token is appointed to a unit that has already a position with [SQUAD]. But when that squad position is assigned to another unit, it cannot be assigned back. &lt;br /&gt;
* A position with [SUCCESSION] can also not be assigned as a '''member''' of a squad.&lt;br /&gt;
* A squad-holding position with a formed squad cannot be appointed to another squad holding position.&lt;br /&gt;
&lt;br /&gt;
If a position has at least one squad member, it cannot be left vacant. First, the squad has to be disbanded, then the position may be cleared.&lt;br /&gt;
&lt;br /&gt;
==0-squads==&lt;br /&gt;
A 0-Squad is defined in a position as [SQUAD:0:member:members]. It does not seem to do anything useful as of now.&lt;br /&gt;
* It cannot be used to activate the [[Squad|military interface]]&lt;br /&gt;
* It does not restrict the assignment of [SUCCESSION] positions.&lt;br /&gt;
* Assigning this position does not clear any previously held squad position.&lt;br /&gt;
* The [[Leader]] and [[Tactician]] skill are not marked as relevant skills and are not taken into account in elections.&lt;br /&gt;
* It cannot be formed as a squad.&lt;br /&gt;
&lt;br /&gt;
=Further testing=&lt;br /&gt;
The following questions may need additional testing. Feel free to add or answer&lt;br /&gt;
* Everything regarding COMMANDING and army-structure&lt;br /&gt;
** [http://www.bay12forums.com/smf/index.php?topic=175437.msg8331668#msg8331668]&lt;br /&gt;
** [http://www.bay12forums.com/smf/index.php?topic=165213.msg8335682#msg8335682]&lt;br /&gt;
** [http://www.bay12forums.com/smf/index.php?topic=174584.msg8026854#msg8026854]&lt;br /&gt;
* Stuff about the monarch, its arrival and its entourage.&lt;br /&gt;
&lt;br /&gt;
=Oddities (Bugs)=&lt;br /&gt;
Almost everything on this page could be called an oddity. Because of their unexpected usability, some may also be referred to as “undocumented features.” Others, however, are simply odd and not particularly useful, yet I hesitate to call them “bugs.”&lt;br /&gt;
* If a certain threshold is reached that makes an elected position electable, and the triggering event that initiates this evaluation is an assumption, then the resulting assumption works partially as an election. It referred to in the messages as an election and the [REJECTED_CREATURE]-token is not applied, like it is with assumptions.&lt;br /&gt;
&lt;br /&gt;
=Examples=&lt;br /&gt;
&lt;br /&gt;
===The Founder===&lt;br /&gt;
The founder is a single dwarf, appointed at embark. They will be the only one ever to have this position and are not replaceable. When they lose their position some way, the position will not be assumed by another dwarf. &lt;br /&gt;
{{gamedata|title=The Founder|&lt;br /&gt;
[POSITION:THE_FOUNDER]&lt;br /&gt;
	[NAME:the founder:founders]&lt;br /&gt;
	[NUMBER:1] &lt;br /&gt;
	[SITE]&lt;br /&gt;
	[ALLOWED_CREATURE:DWARF:ALL]		- will only be filled at embark, but not assumable later.&lt;br /&gt;
	[REJECTED_CREATURE:DWARF:ALL]		- will only be filled at embark, but not assumable later.&lt;br /&gt;
	[SUCCESSION:BY_POSITION:THE_FOUNDER]	- not unassignable, also cannot be assigned to a [SQUAD] position.&lt;br /&gt;
	[PRECEDENCE:200] &lt;br /&gt;
	Non APPOINTED_BY&lt;br /&gt;
	Non ELECTED&lt;br /&gt;
	Optional: Add responsibilities to make the game select a unit with certain skills.&lt;br /&gt;
}}&lt;br /&gt;
===Marriage bar===&lt;br /&gt;
Dwarven matrons are held in great honour. Upon marriage, a female dwarf is no longer expected to perform menial labour. All dwarven males hold this position by default, granting their spouses exemption from menial work.&lt;br /&gt;
&lt;br /&gt;
The position becomes available with the arrival of the first migrants; otherwise, on embark, it would be assumed by females. Its succession rule is non-functional, but this prevents the player from unassigning the position. A squad size of 1 and the succession rules together prevent a unit from assuming the position more than once.&lt;br /&gt;
&lt;br /&gt;
With precedence set to NONE, the position name is hidden, while LAND_NAME remains visible on the nobles screen. All married females receive the suffix “, Mrs.” and are marked as Nobles.&lt;br /&gt;
&lt;br /&gt;
The practical usefulness of this position is debatable, but it serves as a clear demonstration of several mechanics.&lt;br /&gt;
{{gamedata|title=Mrs. Urist|&lt;br /&gt;
 &lt;br /&gt;
[POSITION:MRS_URIST]	&lt;br /&gt;
	[NUMBER:300]						&lt;br /&gt;
	[SITE]						&lt;br /&gt;
	[ALLOWED_CREATURE:DWARF:MALE]	&lt;br /&gt;
	Not APPOINTED_BY				&lt;br /&gt;
	Not ELECTED&lt;br /&gt;
	[LAND_NAME:Dwarven male]				&lt;br /&gt;
	[NAME:dwarven male:dwarven male]&lt;br /&gt;
	[PRECEDENCE:NONE]					&lt;br /&gt;
	[SPOUSE_FEMALE:, Mrs.:spouses]&lt;br /&gt;
	[MENIAL_WORK_EXEMPTION_SPOUSE]&lt;br /&gt;
	[REQUIRES_POPULATION:8]			&lt;br /&gt;
	[SUCCESSION:BY_POSITION:MONARCH]&lt;br /&gt;
	[SQUAD:1:member:members]&lt;br /&gt;
}}&lt;br /&gt;
===The Archduke===&lt;br /&gt;
The archduke is the leader of the civilization, but exists only from landholder 4-level. Until then, its position remains vacant. When a settlement is elevated to tier 4 (grand duke), the grand duke can appoint the ruler of the civilisation, the archduke. Because of 'Premature Succession', they themself inherit that position immediately, but only when in fortress mode. Its heir then becomes grand duke.&lt;br /&gt;
{{gamedata|title=The Archduke| no POSITION:MONARCH or other PRECEDENCE:1 &lt;br /&gt;
&lt;br /&gt;
[POSITION:THE_ARCHDUKE]&lt;br /&gt;
	[NAME:archduke:archdukes]&lt;br /&gt;
	[NAME_MALE:archduke:archdukes]&lt;br /&gt;
	[NAME_FEMALE:archduchess:archduchesses]&lt;br /&gt;
	[LAND_NAME:a archduchy]&lt;br /&gt;
	[NUMBER:1] &lt;br /&gt;
	[PRECEDENCE:1] &lt;br /&gt;
	[SUCCESSION:BY_POSITION:GRAND_DUKE]	&lt;br /&gt;
	[APPOINTED_BY:GRAND_DUKE]&lt;br /&gt;
	(add additional monarch-stuff, like spouse name, demands etc.)&lt;br /&gt;
	&lt;br /&gt;
[POSITION:GRAND_DUKE]&lt;br /&gt;
	[NAME:grand duke:grand dukes]&lt;br /&gt;
	[NAME_MALE:grand duke:grand dukes]&lt;br /&gt;
	[NAME_FEMALE:grand duchess:grand duchesses]&lt;br /&gt;
	[NUMBER:AS_NEEDED] &lt;br /&gt;
	[LAND_HOLDER:4]&lt;br /&gt;
	// Optional ...&lt;br /&gt;
	[PRECEDENCE:19]	&lt;br /&gt;
	[LAND_NAME:a archduchy] &lt;br /&gt;
	[RESPONSIBILITY:LAW_MAKING]&lt;br /&gt;
	[RESPONSIBILITY:RECEIVE_DIPLOMATS]&lt;br /&gt;
	[SUCCESSION:BY_HEIR]&lt;br /&gt;
	[APPOINTED_BY:THE_ARCHDUKE]&lt;br /&gt;
	(add additional landholder-stuff)&lt;br /&gt;
&lt;br /&gt;
!!add to [POSITION:DUKE]&lt;br /&gt;
	[REPLACED_BY:GRAND_DUKE]&lt;br /&gt;
&lt;br /&gt;
}}&lt;br /&gt;
{{Category|Modding}}&lt;br /&gt;
{{Category|Entities}}&lt;br /&gt;
{{Category|Guides}}&lt;/div&gt;</summary>
		<author><name>Joostheger</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=Advanced_entity_position_mechanics&amp;diff=315859</id>
		<title>Advanced entity position mechanics</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=Advanced_entity_position_mechanics&amp;diff=315859"/>
		<updated>2026-04-28T08:46:22Z</updated>

		<summary type="html">&lt;p&gt;Joostheger: /* Losing a position */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Quality|Fine}}&lt;br /&gt;
{{Modding}}&lt;br /&gt;
&lt;br /&gt;
= Introduction = &lt;br /&gt;
&lt;br /&gt;
[http://www.bay12forums.com/smf/index.php?topic=182239.0 Discussion thread on the forum]&lt;br /&gt;
&lt;br /&gt;
This page documents observed and tested behavior of entity positions in Dwarf Fortress that is not fully described elsewhere on the wiki. It focuses on advanced interactions between position tokens, including appointment, succession, election, and responsibility handling, across both civilization-level and site-level entities.&lt;br /&gt;
&lt;br /&gt;
The mechanics described here are based on empirical testing in world generation and fortress mode, supplemented where necessary by raw analysis. In several cases, the game’s behavior is determined by evaluation order and interaction between multiple tags, rather than by individual tokens in isolation.&lt;br /&gt;
&lt;br /&gt;
This page is intended for modders and advanced players who are designing or debugging custom entity position structures. It does not restate basic position mechanics, but instead highlights edge cases, non-obvious interactions, and behaviors that may appear inconsistent or undocumented.&lt;br /&gt;
&lt;br /&gt;
Unless stated otherwise, the described behavior applies to current versions of the game and may differ from older releases.&lt;br /&gt;
&lt;br /&gt;
==What is an entity? What is a position?==&lt;br /&gt;
An [[entity]] is an organizational structure that can have relationships with other entities, usually known as a [[civilization]] or a &amp;quot;[[site]] government&amp;quot; in the game, but ie. merchant [[company|companies]], [[Mercenary#Mercenary_Orders|mercenary orders]], [[guild|guilds]], [[religion|religious organizations]], bandits and necromancer towers are also entities (and necromancer towers use the same entity type as &amp;quot;site governments&amp;quot;). An entity can have positions - in most cases, these are hardcoded and generated by the game, but as for civilizations and sites, the [[raw file]]s can be customised.&lt;br /&gt;
&lt;br /&gt;
A position is a special relationship between a unit and an entity. The unit holding a position has a larger influence over that entity than other citizens. Positions are mostly known as [[nobles]], but in this article. the technical term is used.&lt;br /&gt;
&lt;br /&gt;
=Position levels (Site/Civ) and their interaction=&lt;br /&gt;
There are two basic types of positions that are customizable: '''civ(ilization)''' level and '''site level'''. Positions with the tag [SITE] are at site level, positions without the tag [SITE] are at 'civ level'. These two types of nobles can be considered '''loosely related systems'''. There are a few places where they can interact with each other.&lt;br /&gt;
&lt;br /&gt;
Civ-level positions are in charge of the civilization as a whole, managing national [[trade]], laws, and [[war]]s. These are, for example, the vanilla [[monarch]], [[diplomat]] and [[general]]. (Note that the general doesn't really do anything, except creation of additional pets in world-gen for the general and possibly raising the animal training knowledge of the civilization to &amp;quot;general familiarity&amp;quot;.)&lt;br /&gt;
&lt;br /&gt;
'''[LAND_HOLDER]''' nobles are also positions at civ-level. These units are members of the national government, but have gained authority over some land or site. Once they do, they move to that place, but their position is still regarded as a civ-level position.&lt;br /&gt;
&lt;br /&gt;
Site-level position holders are members of a site government (subsidiary to the civilization), and manage local affairs in that location. These are, for example, the [[mayor]], the [[sheriff]] and the [[broker]].&lt;br /&gt;
&lt;br /&gt;
==Table of interaction between different position levels==&lt;br /&gt;
In this table, the possible interactions between different position levels are summarized. &lt;br /&gt;
The header row shows the positions defining the tokens.&lt;br /&gt;
&lt;br /&gt;
The left column shows the position type that is referred to.&lt;br /&gt;
Example:  &lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! referred position-type&lt;br /&gt;
! LAND_HOLDER&lt;br /&gt;
|-&lt;br /&gt;
| civilization&lt;br /&gt;
|  &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;(baron is) APPOINTED_BY:MONARCH&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
color coding: &amp;lt;/br&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;Exists in vanilla&amp;lt;/span&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;Possible with mods&amp;lt;/span&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;Not possible&amp;lt;/span&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;possible to some extent.&amp;lt;/span&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;not yet fully investigated.&amp;lt;/span&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! referred position-type&lt;br /&gt;
! Civilization&lt;br /&gt;
! SITE&lt;br /&gt;
! LAND_HOLDER&lt;br /&gt;
! CONQUERED_SITE&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Civilization&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;SUCCESSION '''(1)'''&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| SITE&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;SUCCESSION '''(2)'''&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;APPOINTED_BY '''(3)'''&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;SUCCESSION '''(4)'''&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| LAND_HOLDER&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY '''(6)'''&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;SUCCESSION '''(5)'''&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;REPLACED_BY '''(7)'''&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;SUCCESSION '''(8)'''&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;CONQUERED_SITE&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; COMMANDER &amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; REPLACED_BY &amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt; SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; COMMANDER &amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; REPLACED_BY &amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt; SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; COMMANDER &amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; REPLACED_BY &amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; COMMANDER &amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; REPLACED_BY &amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Remarks:&lt;br /&gt;
# Works only in world-gen, if a unit with that civ-position is present at the site.&lt;br /&gt;
# Works only in world-gen, the site-position holding unit will then move to the capital.&lt;br /&gt;
# Is completely ignored&lt;br /&gt;
# Works only in world-gen.&lt;br /&gt;
# Works only in world-gen.&lt;br /&gt;
# Won't appear at all&lt;br /&gt;
# This is necessary for the landholder chain to work properly, it doesn’t work otherwise.&lt;br /&gt;
# This works only outside of the landholder chain, so when landholders are simply regarded as civ-level nobles. might also work in world-gen&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
== Other interactions ==&lt;br /&gt;
&lt;br /&gt;
Unfortunately, interactions with positions of other entities don't seem possible, such as APPOINTED_BY: HIGH_PRIEST. With [VARIABLE_POSITIONS], positions are automatically created with codes like CUSTOM_LAW_MAKER_2, but interaction with these positions don't seem to work, either. For more info on those, see [[Variable positions]]&lt;br /&gt;
&lt;br /&gt;
=General=&lt;br /&gt;
&lt;br /&gt;
==Civ-level nobles living at your site==&lt;br /&gt;
Nobles from your civilization can come to live at your fortress. This happens in vanilla with landholders such as [[Baron]], [[Count]] and [[Duke]], with the Monarch, but sometimes also with non-landed LAND_HOLDERS.&lt;br /&gt;
&lt;br /&gt;
When a civ-level noble becomes a [[citizen]] at your location, their position is shown among the site-level positions in your [[nobles screen]]. They appear to function as a site-level noble. They may have [[demand]]s, [[mandate]]s, [[squad]]s and the like. They can appoint nobles at the site-level.&lt;br /&gt;
&lt;br /&gt;
Even if they have certain site related [RESPONSIBILITY]ies, they will not do the tasks that go with them.&lt;br /&gt;
&lt;br /&gt;
==Fortress mode, world-gen and their differences==&lt;br /&gt;
Their are a few differences in how positions function between fortress mode (normal play mode) and the world generation (world-gen). &lt;br /&gt;
&lt;br /&gt;
In '''fortress mode''', the player has some control over the appointment of nobles, limited by elections, automatic filled-in positions and succession rules. Pre-fortress mode, which is referred to as '''world-gen''', the game will always attempt to assign nobles whenever possible. It is subjected to the same rules as in fortress-mode, but there are some exceptions. In '''[[World activities]]''', which is the thing that happens in the world while you play fortress mode, it seems as if the same rules are applied as fortress mode. &lt;br /&gt;
&lt;br /&gt;
A difference between player-fortress-mode and world-gen, is causes by visibility (see below). Positions that are not visible by the player and thus not available for assignment, will be available in world-gen and will thus be automatically assigned.&lt;br /&gt;
&lt;br /&gt;
In fortress mode, a position that is both [ELECTED] and [APPOINTED_BY], cannot be appointed by the player and is also not elected, and can thus not be filled. But in world-gen sites however, these positions are automatically filled.&lt;br /&gt;
&lt;br /&gt;
Positions with [AS_NEEDED] are almost never created and filled in world-gen (depending on their [RESPONSIBILITY]ies), but can always be used in player mode.&lt;br /&gt;
&lt;br /&gt;
A position can, in fortress mode, be filled by the same unit. A unit can gain multiple positions in fortress mode, for example because of [[elections]]. This will not happen in world-gen mode: a unit can only have one position. See also remarks on 'embark' and 'Losing a position'.&lt;br /&gt;
&lt;br /&gt;
In world-gen, [SUCCESSION] between civ-levels and [SITE-]levels may happen. This will not happen in fortress mode, or even off-site in [[World activities]].&lt;br /&gt;
&lt;br /&gt;
In fortress mode, premature SUCCESSION may happen. This will not happen in world-gen mode.&lt;br /&gt;
&lt;br /&gt;
==Units holding multiple positions in multiple entities==&lt;br /&gt;
A unit can hold multiple positions in its civilisation or in its site-entity, however in world-gen a unit will not hold multiple positions in one site-entity or in one civilisation (note that in world-gen a unit can hold multiple variable positions of the same entity, if the entity is ie. an outcast group). It is however possible - in world-gen - for a unit to hold multiple positions as long as the positions belong to different civilizations / site-entities (ie. it is possible for a militia commander of a site-entity to later on also become a monarch of the parent civilization, while staying a militia commander), if a unit holds a position of two different site-entities (the unit will usually have left one of the groups, without relinquishing the position). Only at player-managed sites can units be holding multiple positions (of the site-entity) at once. It is currently unknown, whether it is possible in world-gen for a unit to have a civ-level position in two different civilisations (but it probably is possible, as a a unit can belong to multiple civilizations and a unit usually does not relinquish a position, when the unit gets another position, as long as the entities of both positions are not the same).&lt;br /&gt;
&lt;br /&gt;
In world-gen, if there are too many positions to be filled, they simply stay empty until more units are available. E.G, a unit at a site might inherit a civ-level position and still remain a member of the local government. When this happens however, they move to the capital. If a unit gains a new position, either inherited or otherwise, it drops the previous one (of that civilisation or site-entity) - the unit will not drop any positions unrelated to the entity of the new position (ie. a CUSTOM_OUTCAST_FACTOR will not relinquish that position, if the unit becomes the ruler of a civilization and a militia commander will also not necessarily relinquish the position, if the unit becomes also the monarch of the corresponding civilization). If a unit assumes a civ-position in fortress mode, it leaves the current position. &lt;br /&gt;
&lt;br /&gt;
If a unit holds the same (site-)position multiple times, it has no additional effect.&lt;br /&gt;
&lt;br /&gt;
If a unit holds multiple different positions of the same entity, it has all those positions' responsibilities and properties, stacked up. Presumably, the demands for those combined positions are determined by the highest.&lt;br /&gt;
 &lt;br /&gt;
A unit holding a position with a succession token can be assigned another position with a (different) succession token. &lt;br /&gt;
&lt;br /&gt;
A unit holding a position with a squad-position cannot hold another squad-position. It is dropped from the first, when it gets its second assigned. &lt;br /&gt;
A unit holding a position with a succession token cannot be assigned to a squad-position - the unit is simply not available. It works the other way around, though.&lt;br /&gt;
&lt;br /&gt;
=Specific Tags and functions=&lt;br /&gt;
==[PRECEDENCE]==&lt;br /&gt;
The first defined position with precedence of 1 counts as the ruler of the civ. See also: [[Position_token#PRECEDENCE|PRECEDENCE]]. &lt;br /&gt;
&lt;br /&gt;
If the precedence is omitted or has a negative value, the game sets 0 as precedence, which seems to have no effect whatsoever.&lt;br /&gt;
&lt;br /&gt;
When a unit has multiple positions, the name of the position with the highest rank in precedence is shown behind the unit's name.&lt;br /&gt;
&lt;br /&gt;
If you omit precedence entirely, or set it to [PRECEDENCE:NONE], the position name will not be shown after the unit’s name. Your *Urist Mason* will remain simply *Mason*. This can be useful for positions that are unimportant or purely functional. The position will also not appear in the civilisation overview of your site on the world map. The position name is shown in messages, but remains hidden on the nobles screen as well. To make it visible there, use [LAND_NAME].&lt;br /&gt;
&lt;br /&gt;
==[RESPONSIBILITY]ies==&lt;br /&gt;
Both civ and [SITE] positions can carry responsibilities. However, not all responsibilities are active for both types: some function only for civ positions, others only for site positions. When a civ noble arrives at a site and takes up residence, they do not perform responsibilities that are intended for SITE nobles. As a result, these responsibilities neither trigger their associated tasks nor unlock related game mechanics. For example, a civ-level manager living in a fortress will not perform management duties there and doesn't unlock the management-screen, even with an assigned office. &lt;br /&gt;
This behavior applies to the following [SITE]-level responsibilities:&lt;br /&gt;
* [RESPONSIBILITY:ACCOUNTING]&lt;br /&gt;
* [RESPONSIBILITY:BUILD_MORALE]&lt;br /&gt;
* [RESPONSIBILITY:HEALTH_MANAGEMENT]&lt;br /&gt;
* [RESPONSIBILITY:LAW_ENFORCEMENT]&lt;br /&gt;
* [RESPONSIBILITY:MANAGE_PRODUCTION]&lt;br /&gt;
* [RESPONSIBILITY:MEET_WORKERS]&lt;br /&gt;
* [RESPONSIBILITY:TRADE]  (functions differently)&lt;br /&gt;
Other responsibilities may be affected as well, but have not yet been fully tested.&lt;br /&gt;
&lt;br /&gt;
===World-gen effects of the [RESPONSIBILITY] of available positions ===&lt;br /&gt;
It is possible to cause civs and individual sites to change their behavior substantially when they reach a certain size, by controlling nobles. &lt;br /&gt;
* If a site can only appoint a position with [MILITARY_GOALS] after reaching a particular size, that site will not send armies on missions until the required size is reached.&lt;br /&gt;
* A civ-level [LAW_MAKING] position is required for the civilization to have any kind of cohesion. Without it, sites will be constantly embroiled in territorial disputes and civil wars will be commonplace.&lt;br /&gt;
* [MILITARY_STRATEGY] positions go out and tame wild animals. This makes your civ gain those animals as domesticated and also brings them in sieges.&lt;br /&gt;
* The [[Personality_facet|Personality]] of the position's holder determines how they lead the civ.&lt;br /&gt;
&lt;br /&gt;
===[DELIVERS_MESSAGES]===&lt;br /&gt;
The only [AS_NEEDED]-position that is created in worldgen based on responsibility is that of the site-level responsibility [DELIVERS_MESSAGES].&lt;br /&gt;
&lt;br /&gt;
===Outpost Liaisons and Diplomats===&lt;br /&gt;
Civ-positions with the responsibility [ESTABLISH_COLONY_TRADE_AGREEMENTS] ([[Outpost_Liaison|Outpost Liaison]]s) will meet with the site-noble who has responsibility for [RECEIVE_DIPLOMATS] and the highest rank of precedence (i.e. the lowest precedence value). Usually this is the [[Expedition_leader|Expedition leader]].&lt;br /&gt;
&lt;br /&gt;
Once a [LAND_HOLDER] is assigned to the site, civ-positions with the responsibility [MAKE_TOPIC_AGREEMENTS] ([[Diplomat]]s) will meet with '''civ'''-level nobles present at the site who have the [RECEIVE_DIPLOMATS] responsibility. If multiple eligible nobles are available, one is selected at random. If no eligible noble is present, the diplomat leaves angrily. If the landholder is no longer present at the site, diplomats will not arrive at all.&lt;br /&gt;
&lt;br /&gt;
It appears that Outpost Liaisons and Diplomats are chosen for a diplomatic mission based on availability. When multiple candidates exist, the position defined last in the raws is most often selected.&lt;br /&gt;
&lt;br /&gt;
===[TRADE]===&lt;br /&gt;
Civ-level nobles with [TRADE] will arrive with the caravan, just as the Outpost Liaison. Their behavior is no longer active in the vanilla game, but the mechanics are still present. See [[40d:Guild_representative|Guild representative]] for more details. This civ-noble will only meet with the SITE noble with [TRADE], usually the [[Broker]].&lt;br /&gt;
&lt;br /&gt;
If two civ-nobles exist with both [TRADE] and [ESTABLISH_COLONY_TRADE_AGREEMENTS], they both arrive at the same time. Even if both tokens are assigned to a single position, if more than one instance of that position exists, two of them will arrive. However in that case, somehow the elevation of the site and appointment of landholder isn't offered.&lt;br /&gt;
&lt;br /&gt;
If the SITE-noble they intend to meet has both [TRADE] and [RECEIVE_DIPLOMATS], only one meeting will proceed and the other is cancelled. However, when two SITE-nobles are available, each with either [TRADE] or [RECEIVE_DIPLOMATS], both meetings will proceed and both civ-nobles will attempt to negotiate a trade agreement. It is not known what happens if these agreements are accepted or refused.&lt;br /&gt;
&lt;br /&gt;
In the trade depot, the last defined position with the [TRADE] responsibility is shown as broker. However when requesting a trader, the first defined position with [TRADE] will actually go there to do the trade.&lt;br /&gt;
&lt;br /&gt;
==[NUMBER]==&lt;br /&gt;
A position might be defined with a number. In that case, as many as defined can be available. If the positions become available, in world-gen and when embarking, they are all filled-in completely.&lt;br /&gt;
&lt;br /&gt;
If the ruling position (with PRECEDENCE of 1) has a NUMBER higher than 1, a random unit of the ones holding these positions is shown as ruler in the embark screen.&lt;br /&gt;
&lt;br /&gt;
A [NUMBER] of 0 (zero) has the same effect as 1.&lt;br /&gt;
&lt;br /&gt;
===Automatic spreading of assumed, non-singular positions===&lt;br /&gt;
If there are civ positions that have a NUMBER higher then '1' and which are assumed (not APPOINTED_BY or ELECTED) but are '''not DUTY_BOUND''', these are automatically spread among the civilisation, based on population. If there are a number of '''20''' available slots of that position, they spread among a civilization with a combined population of, for example, 1000 of which your fortress has 100 (10%), '''2''' of your fortress' citizens will assume that position. &lt;br /&gt;
This may probably also work with elected and appointed positions, but that may be depending on the death of the current holders and this needs more testing. Assumption works within a day, anyway. &lt;br /&gt;
&lt;br /&gt;
===[AS_NEEDED]===&lt;br /&gt;
These positions can be created automatically by the game in world-gen. This, however, only works with: &lt;br /&gt;
* [LAND_HOLDER]'s&lt;br /&gt;
* squad commanders (needs more testing)&lt;br /&gt;
* Messengers at sites&lt;br /&gt;
&lt;br /&gt;
For all other types of positions, they're not created in world-gen, even if they are defined with RESPONSIBILITY's. For example, even in war, the game wouldn't create a MILITARY_GOALS position, if they have AS_NEEDED as number. &lt;br /&gt;
&lt;br /&gt;
However, in fortress mode / player mode, these positions can be created by the player at will.&lt;br /&gt;
&lt;br /&gt;
Positions with AS_NEEDED need to be created first, before any symbols are assignable as 'symbols' (objects) for the position holder to carry or wear.&lt;br /&gt;
&lt;br /&gt;
Positions with AS_NEEDED cannot be created and then ELECTED in fortress mode. It only works with APPOINTED_BY.&lt;br /&gt;
&lt;br /&gt;
==[REPLACED_BY], [REQUIRES_POPULATION], [REQUIRES_MARKET]==&lt;br /&gt;
&lt;br /&gt;
The token [REPLACED_BY:position] means that once the replacing position meets its requirements for activation, the 'to-be-replaced' position will disappear. This is defined in [REQUIRES_POPULATION] or [REQUIRES_MARKET]. The tags are closely related to each other and seem to only have a meaningful function if combined. Nobles with [REQUIRES_POPULATION] require the population to have a specific size. Nobles with [REQUIRES_MARKET] are only activated in market sites, such as fortresses or towns. [REQUIRES_POPULATION] and [REQUIRES_MARKET] can be combined, activating that position once both requirements are met. &lt;br /&gt;
&lt;br /&gt;
The [REQUIRES_MARKET] can be used to differentiate positions between hamlets and hillocks, and larger sites. IThe market always is build the year after the site is founded. So a position that is to be replaced, will be gone immediately.  &lt;br /&gt;
&lt;br /&gt;
The [REQUIRES_POPULATION]-tag works on the civ-level as well as on site-level, but those systems are in this mechanic strictly separated. Site-level positions cannot be replaced by civ-level positions and visa versa. This makes sense, because they both depend on their own population-count. When using REQUIRES_POPULATION on civ-level, it counts the total population of the civilisation. &lt;br /&gt;
&lt;br /&gt;
See also: [[Advanced_entity_position_mechanics#Evaluation_of_Positions|Evaluation of positions]]&lt;br /&gt;
&lt;br /&gt;
===Effect of replacement (and on [LAND_HOLDER]s)===&lt;br /&gt;
&lt;br /&gt;
Replacement is immediate and complete - the current holding unit loses the position, even before SUCCESSION_BY_POSITION rules are applied. A position with a number of 1 will replace all the slots of a position with a higher number of slots. &lt;br /&gt;
&lt;br /&gt;
Even if the next position is available but not visible, replacement still takes place. If a position is replaced, it is completely gone - it cannot be appointed, succeeded, elected or assumed any longer.&lt;br /&gt;
The unit immediately loses its position.&lt;br /&gt;
&lt;br /&gt;
In legends, replacement is mentioned as: &amp;quot;(unit name) ceased to be (position name)&amp;quot; The replacement of an AS_NEEDED position empties the position's slot forever. In fortress mode, it may seem as if you can create new slots and appoint new units in the nobles screen, but this is reversed as soon as you close the window.&lt;br /&gt;
&lt;br /&gt;
The landholder chain uses [REPLACED_BY] differently. It does not clear the position completely, but uses it for succession to the next level's position. [REPLACE_BY] is required to let that system work properly. This also means that the way in which landholders succeed (replace + as_needed) does not work in any other way. &lt;br /&gt;
&lt;br /&gt;
Replacement between LAND_HOLDERS and other site- or civ positions does not work in any way. Only the vanilla replacement sequence between levels of LAND_HOLDERs does work. If the token is omitted for landholders, the landholder chain is broken, so replacement is required for the landholder system to work.&lt;br /&gt;
&lt;br /&gt;
[REQUIRES_POPULATION] also does not work for [LAND_HOLDER], when you set [NUMBER] to 1. The position is not created when the required population is reached.&lt;br /&gt;
&lt;br /&gt;
===What doesn't work===&lt;br /&gt;
&lt;br /&gt;
'''Attention: If a position cannot be appointed, for example because of 'mutual appointment', it still exists according to replacement mechanics and will replace other positions if so defined. If a certain position(a) will be replaced by the baron's assistant, which can only be appointed by the [LAND_HOLDER] baron, than that position(s) still will be replaced from the start of the game, even if no baron or their assistant is ever present.'''&lt;br /&gt;
&lt;br /&gt;
A position that is replaced by a somehow non-fillable position is still replaced. This counts for mutual-appointing positions, replacement by not-yet-assigned landholders, replacement by AS_NEEDED positions, or replacement by not-yet-appointed positions. &lt;br /&gt;
&lt;br /&gt;
Replacement does not work if the replaced position is a [LAND_HOLDER], even with civ-positions. In that case, the LAND_HOLDER's position is not replaced. It does not matter if AS_NEEDED is used, or a fixed number, and it also does not matter what type of position the replacer is. So this only works (correctly) with positions that become available by REQUIRES_POPULATION.&lt;br /&gt;
&lt;br /&gt;
==[CONQUERED_SITE]==&lt;br /&gt;
&lt;br /&gt;
This tag determines which position is used to assign a [[Forced administrator]].&lt;br /&gt;
&lt;br /&gt;
In legends mode, this is visible as an event describing the reconquest of the site: a new group is formed and the forced administrator is installed as its ruler.&lt;br /&gt;
&lt;br /&gt;
All positions defined with this tag are assigned during this process, meaning multiple positions can be appointed at once.&lt;br /&gt;
&lt;br /&gt;
The holder of a position marked with [CONQUERED_SITE] cannot appoint any other [SITE] positions.&lt;br /&gt;
&lt;br /&gt;
Combining [CONQUERED_SITE] with [SITE] causes the position to function both as a forced administrator and as a normal site position available in fortress mode. However, this provides no meaningful additional mechanics and is effectively inferior to using [SITE] alone:&lt;br /&gt;
* [APPOINTED_BY] lines are completely ignored, meaning that the roles are automatically assumed.&lt;br /&gt;
* [SUCCESSION] is likewise ignored.&lt;br /&gt;
* the [CONQUERED_SITE]-position cannot appoint other [CONQUERED_SITE], [SITE] or combined positions.&lt;br /&gt;
&lt;br /&gt;
There have been remarks that reclaiming a fortress is unplayable because of the lack of regular nobles. Unfortunately, it seems that it can't be fixed by modding.&lt;br /&gt;
&lt;br /&gt;
=Availability and visibility=&lt;br /&gt;
==Availability of (new) positions==&lt;br /&gt;
Warning: Do not mistake &amp;quot;availability&amp;quot; for &amp;quot;visibility&amp;quot;! &lt;br /&gt;
&lt;br /&gt;
Of all the possible positions existing in your site's entity, there may only be some available. &lt;br /&gt;
* Positions with [REQUIRES_POPULATION] require the population to have a specific size.&lt;br /&gt;
* Positions with [REQUIRES_MARKET] will only appear in &amp;quot;large&amp;quot; sites (which may have different rules for different site types). This tag has no effect in fort mode.&lt;br /&gt;
* Positions that are appointed by positions that have an AS_NEEDED number. The appointable positions only become available after an appointer position-slot is created. This works also on civ-level. If a position is appointed by a Land-holder, it only becomes available, when that level of landholder is created. &lt;br /&gt;
	&lt;br /&gt;
Only the replaced positions are culled and are no longer available. &lt;br /&gt;
A position that requires a certain population will become available, even if it doesn't have [APPOINTED_BY] or [ELECTED]. In that case, see 'automatic assignment' and 'assumption'&lt;br /&gt;
&lt;br /&gt;
In fortress mode, in some cases 'succession' is evaluated immediately after a position becomes available. See: Succession.&lt;br /&gt;
==Visibility of positions==&lt;br /&gt;
A position might be available, but can still be invisible for the player in the [[nobles screen]]. The positions with their respective holders are visible for players:&lt;br /&gt;
* All site-positions that are already filled-in (even if they could not be re-filled-in considering current conditions)&lt;br /&gt;
* Site positions that are appointable by a filled-in site position&lt;br /&gt;
* Site positions that are appointable by a filled-in civ position, when that civ positions holder becomes a citizen of your fortress.&lt;br /&gt;
* Civ positions of units that are also a citizen of your fortress.&lt;br /&gt;
If a position becomes available, for example because a certain pop number has been reached, or if it is available from the start(like expedition leader), as long as it cannot be appointed, it still is INVISIBLE for the player. &lt;br /&gt;
&lt;br /&gt;
It might strike someone as odd if a position becomes filled automatically in fortress mode when that position is not even visible. This might be the case if the current holder of a non-appointable position dies or succeeds another position. Regardless of player visibility, these positions will be automatically filled in if the necessary requisitions are met. It might happen with the expedition leader.&lt;br /&gt;
&lt;br /&gt;
A situation with a non-visible but available position, is for example when a position is solely appointed by the expedition leader, when the expedition leader's position is left vacant. It can no longer be appointed by the player and is invisible. Then, it gets automatically assumed, proving that the position still was available.&lt;br /&gt;
&lt;br /&gt;
A position that is both [APPOINTED_BY] and [ELECTED] is visible, but players cannot interact with it.&lt;br /&gt;
&lt;br /&gt;
={{text anchor|Evaluation of Positions}}=&lt;br /&gt;
The game does not continuously check whether positions should become available, elected or be [REPLACE_BY]. This is well-known behavior—for example with the [[mayor]], who does not appear automatically when the required population ([REQUIRES_POPULATION]) is reached. Instead, positions must somehow be evaluated. This applies in several other situations as well &lt;br /&gt;
&lt;br /&gt;
'''Cases that require a trigger:'''&lt;br /&gt;
* Election of a newly created position&lt;br /&gt;
* Election after the current holder dies&lt;br /&gt;
* Automatic assumption of a newly created position (this may take up to a day)&lt;br /&gt;
* New citizens (such as migrants) considering available positions&lt;br /&gt;
* Premature succession of a newly created position&lt;br /&gt;
&lt;br /&gt;
'''Cases that do not wait for a trigger:'''&lt;br /&gt;
* Succession following the death of the previous holder&lt;br /&gt;
* Automatic assumption of existing positions that have become vacant&lt;br /&gt;
&lt;br /&gt;
'''Triggers that cause the game to reevaluate noble positions:'''&lt;br /&gt;
* Succession of a [SITE]-position due to the death of the current holder&lt;br /&gt;
* [[Advanced_entity_position_mechanics#Election_Day|Election Day]]&lt;br /&gt;
* Automatic assumption of a [SITE]-position that becomes vacant&lt;br /&gt;
* (Re)assigning any site position manually&lt;br /&gt;
* Settlement elevation on the LAND_HOLDER track (e.g. gaining a [[Baron]] or [[Count]])&lt;br /&gt;
&lt;br /&gt;
=Gaining a position=&lt;br /&gt;
There are several ways a unit can gain a position:&lt;br /&gt;
* Appointment: A unit is appointed by another unit or by the player.&lt;br /&gt;
* Election: A unit is elected by and among the members of the entity&lt;br /&gt;
* Assumption: A position is neither elected or appointed: a random unit just simply 'takes' the position&lt;br /&gt;
* Succession: a unit is the valid successor of this position(A), either by its current position(B) or because they are that position(A)-holder's heir. &lt;br /&gt;
&lt;br /&gt;
Available positions will automatically be assigned to a random civ member when a new site/civ is created.&lt;br /&gt;
&lt;br /&gt;
==Who can take a position==&lt;br /&gt;
&lt;br /&gt;
* If so defined, a unit needs to be the right caste and/or class - it does not seem to work with creature types. &lt;br /&gt;
* The unit needs to be an adult member of the site or its parent civ's government; that is also CAN_LEARN or INTELLIGENT (SLOW_LEARNER cannot take positions) or otherwise is able to think.&lt;br /&gt;
&lt;br /&gt;
==Appointment==&lt;br /&gt;
&lt;br /&gt;
Positions that have an [APPOINTED_BY:position] token require that position to exist, to be available and appointed. Any position that is APPOINTED_BY can be appointed if the appointer's position is filled in. &lt;br /&gt;
For site-positions to be appointed, it is required that the appointer is present at that location.&lt;br /&gt;
&lt;br /&gt;
If the appointing unit is temporarily not present, or if that position is not filled, positions depending on it cannot be appointed. This is the case with [[militia captains]], when the [[militia commander]] is on a [[mission]]. &lt;br /&gt;
&lt;br /&gt;
A site position cannot appoint a civ position ''or'' LAND_HOLDER in any way whatsoever. &lt;br /&gt;
&lt;br /&gt;
Civ-level positions can appoint other civ-level positions and site-level positions can appoint other site-level positions.&lt;br /&gt;
&lt;br /&gt;
Contrary to what has been said elsewhere, civ-level nobles also can appoint site-level nobles. They need to be at the site to do so. Landholders can appoint both site-level and civ-level nobles. These systems are therefore not as separate as was assumed.&lt;br /&gt;
&lt;br /&gt;
'''Mutual appointment''' cannot take place. If these are the only requisites of the position, then the positions will never appear or get filled. These unfillable positions can be put to good use, for example, to replace a position that is no longer needed without creating a new one. &lt;br /&gt;
&lt;br /&gt;
'''Self appointment''' doesn't normally work. If you have a position that is only appointed by itself, it is never appointed and also cannot be assumed. However, if the position has a number higher than 1, and is filled by multiple units (for example by another position that is now empty), than those units can re-assign or appoint each other from that their shared position. &lt;br /&gt;
&lt;br /&gt;
If an APPOINTED_BY token refers to a non-existing position's code, the effects are as if the appointment token doesn't exist at all.&lt;br /&gt;
&lt;br /&gt;
===Automatic appointment in world-gen and on the civ level===&lt;br /&gt;
&lt;br /&gt;
Outside of fortress mode, the game will always attempt to appoint nobles whenever possible, as long as these positions are '''available''', even if they are invisible to the player.&lt;br /&gt;
It shows this message in legends:  &amp;quot;(unit name) has been appointed to the position of (position name)&amp;quot;&lt;br /&gt;
&lt;br /&gt;
In world-gen, all positions become available and are automatically appointed, taking population- and appointment-requirements into consideration. &lt;br /&gt;
&lt;br /&gt;
Positions that are REPLACED_BY are culled and won't be filled.&lt;br /&gt;
&lt;br /&gt;
If a citizen of your fortress holds a civ-level position that can appoint another civ-level position, the appointment will happen automatically and without player intervention. It may happen that another citizen of your fortress is appointed by that unit, creating civ-level position holders in your fortress, but it is unknown what is required to force this effect.&lt;br /&gt;
&lt;br /&gt;
===Manual appointments by players in fortress mode===&lt;br /&gt;
In fortress mode, the positions that need to be appointed stay empty on embark. and it is the player's job to appoint those. A player can appoint a unit to any available position, according to the hereabove mentioned conditions. The player takes the role of the automatic appointment-system, but has no direct control over elections, successions and replacement. There are some differences in what is possible at world-gen sites and at player-controlled sites.&lt;br /&gt;
&lt;br /&gt;
* A position that is appointed by a unit present as a fortress citizen, can be appointed, re-appointed or left vacant. This means also by civ-level nobles living as a citizen in your fortress; not when they are only visiting, like the diplomat.&lt;br /&gt;
* A position whose appointing positions are all either vacant or [REPLACED_BY] can no longer be appointed. If the position is already filled, it cannot be reappointed or vacated; the current holder simply remains in office.&lt;br /&gt;
* A position that is APPOINTED_BY a unit present as the land_holder of your site, can be appointed, reassigned or left vacant.&lt;br /&gt;
* A position that has SUCCESSION BY_HEIR or BY_POSITION can 'initially' be appointed and also re-appointed or left vacant, but as soon as the [[nobles]] screen closes, ''it can no longer be replaced or left vacant''. From then on, the succession-rules determine who gains that position when the current holder loses the position. This works even if the SUCCESSION:BY_POSITION-position is vacant or replaced.&lt;br /&gt;
* A position that is ELECTED nor APPOINTED_BY, can always be (re-)appointed by the player. This is the case with the [[Expedition leader]]. If it is left vacant however, it cannot be appointed, but will be assumed shortly after. &lt;br /&gt;
* A position that is both ELECTED and APPOINTED_BY, cannot be appointed by the player. Contrary to world-gen sites, its slot is visible, but it doesn't show the +-sign. This is either by AS_NEEDED or by a fixed number. Even if the position somehow gets filled (re)assignment is never possible&lt;br /&gt;
* A player can appoint a number of units to a position, as much as the NUMBER token dictates. If it is AS_NEEDED, the player may create as many slots as they like, also contrary to world-gen sites. &lt;br /&gt;
* A civ-position can never be appointed, even if the appointing civ noble is a citizen of your fortress. A civ position also never can be re-assigned or left vacant, would that position be defined as appointed by a site-position.&lt;br /&gt;
&lt;br /&gt;
==Election==&lt;br /&gt;
Read more in [[Elections]]. The message that is shown is: &amp;quot;(creature name) has been elected to the position of  (position name)&amp;quot;&lt;br /&gt;
&lt;br /&gt;
In worldgen, there is no functional difference between ELECTED and non-appointment, except that elected nobles tend to have high social skills and/or skills related to the position, while non-elected ones are assigned randomly. See: [[Elections]]&lt;br /&gt;
&lt;br /&gt;
A succession goes before an election. &lt;br /&gt;
&lt;br /&gt;
A position that is both ELECTED and APPOINTED_BY never gets elected. Even if the appointees' position somehow gets filled, (re)-elections won't happen. So, it doesn't seem possible to have an elected position become available when a certain other position becomes filled. &lt;br /&gt;
&lt;br /&gt;
An ELECTED civ-(or LAND_HOLDER) position at your site will never be (re)-elected in fortress mode. So real (re-)election only works with SITE-positions. &lt;br /&gt;
&lt;br /&gt;
=== {{text anchor|Election Day}} ===&lt;br /&gt;
Election Day takes place on the 17th of Summer. On this day, a full reevaluation is performed, including all currently elected positions, which are subject to re-election. Contrary to the information on [[Elections]], nothing occurs at the start of a season.&lt;br /&gt;
&lt;br /&gt;
Positions that are both [APPOINTED_BY] and [ELECTED] will not be re-elected on Election Day when assigned through [SUCCESSION].&lt;br /&gt;
&lt;br /&gt;
=== Election Eligiblity ===&lt;br /&gt;
Any citizen may stand for election. Eligibility cannot be restricted using [ACCEPTED_CREATURE], [REJECTED_CREATURE], [ACCEPTED_CLASS], [REJECTED_CLASS], or [GENDER]. Units currently having a [SUCCESSION]-position even may be elected for a position with a [SQUAD]-token, which is otherwise impossible to assign or even succeed.&lt;br /&gt;
&lt;br /&gt;
=== Skills ===&lt;br /&gt;
In elections, skills are taken into account for the tokens of the position which is elected.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Relevant skills per position token&lt;br /&gt;
|-&lt;br /&gt;
! Position Token !! Relevant skills&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#DELIVER_MESSAGES|[DELIVER_MESSAGES]]] || [[Ambusher]], [[Observer]] and [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#ACCOUNTING|[ACCOUNTING]]] || [[Record_keeper|Record keeper]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#ESPIONAGE|[ESPIONAGE]]] || [[Schemer]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#HEALTH_MANAGEMENT|[HEALTH_MANAGEMENT]]] || [[Diagnostician|Diagnostician]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#MAKE_INTRODUCTIONS|[MAKE_INTRODUCTIONS]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#MAKE_PEACE_AGREEMENTS|[MAKE_PEACE_AGREEMENTS]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#MAKE_TOPIC_AGREEMENTS|[MAKE_TOPIC_AGREEMENTS]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#MANAGE_PRODUCTION|[MANAGE_PRODUCTION]]] || [[Organizer]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#MEET_WORKERS|[MEET_WORKERS]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#RECEIVE_DIPLOMATS|[RECEIVE_DIPLOMATS]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#RELIGION|[RELIGION]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#TAME_EXOTICS|[TAME_EXOTICS]]] || [[Animal_trainer|Animal trainer]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#TRADE|[TRADE]]] || [[Social_skill|Social skills]] and [[Appraiser|Appraiser]]&lt;br /&gt;
|-&lt;br /&gt;
| [[Position_token#SQUAD|[SQUAD]]]-token || [[Tactician]] and [[Leader]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Assumption==&lt;br /&gt;
&lt;br /&gt;
A position that is not APPOINTED_BY nor ELECTED, or is appointed by positions that are not available in your site or civ, will be assumable by a random dwarf. If it has responsibilities that require certain skills, then these are taken into consideration on embark, but not when the position is assumed during the actual game. &lt;br /&gt;
&lt;br /&gt;
Normally, one to three units will take the into consideration to assume a position. Most of the time when there are multiple open positions, only a single unit will assume all of them. However, a position that has REJECTED_CREATURE, REJECTED_CLASS, ALLOWED_CREATURE or ALLOWED_CLASS will be filled with all different units, even if the creature or class mentioned is irrelevant. It seems that this forces the game to loop over all the available units.&lt;br /&gt;
&lt;br /&gt;
The message that is shown in Legends mode is: &amp;quot;(unit name) has assumed the position of (position name)&amp;quot;. This may also take place in fortress mode, which then shows this message to the player. &lt;br /&gt;
&lt;br /&gt;
If an assumable position becomes empty, it will be assumed within a day. This is the case when you leave the position of expedition-leader vacant. It also happens with entities. &lt;br /&gt;
&lt;br /&gt;
Assumable positions that become empty will not be assumed if that position has a valid [SUCCESSION] -successor. In that case, the successor inherits the position. &lt;br /&gt;
&lt;br /&gt;
Even positions that are somehow invisible because they cannot be directly APPOINTED_BY players, can be assumed. &lt;br /&gt;
&lt;br /&gt;
When you embark, the assumable positions are automatically assigned to a random unit. If there are multiple of these positions at embark, they all are assigned to the same unit. If there are enough positions available, multiple units may gain a position, but often no more than three different ones.&lt;br /&gt;
&lt;br /&gt;
If a dwarf in fortress mode assumes a position, that already has another position, it will leave the current position empty. When that position also is assumed, then this will continue until all positions have a dwarf appointed to them, with no other position.&lt;br /&gt;
&lt;br /&gt;
A unit that already has a position with a [SUCCESSION] token won't take assumable positions into consideration that have a [SQUAD] token. This can be used by the modder to prevent unwanted loss of current positions.&lt;br /&gt;
&lt;br /&gt;
A position that has an appointer which got replaced because of REPLACED_BY, will not become assumable. Also, positions that have an AS_NEEDED appointer that is not yet filled (or ever), will also not be assumed.&lt;br /&gt;
&lt;br /&gt;
==Succession==&lt;br /&gt;
&lt;br /&gt;
If a position-holder dies or advances to a new position via succession, the position will be granted to another unit based on the [SUCCESSION] tag. If they have an heir or the succeeding position exists, that unit will be assigned. If not, a new one will be appointed according to the usual rules. The message that is shown is: &amp;quot;(creature name) being the rightful heir, has inherited the position of (position name)&amp;quot;&lt;br /&gt;
&lt;br /&gt;
The succeeding creature will also lose its previous position. When succession is defined using BY_POSITION, the unit naturally loses the referenced position. However, it also loses any other positions it may hold. If a unit could simultaneously inherit multiple positions, the last-defined succession overrides the earlier one, clearing the previously acquired position&lt;br /&gt;
&lt;br /&gt;
Succession works both at site-level and at civ-level, both in world-gen and in fortress-mode. Succession by position on the civ-level is also visible and functional in fortress-mode. If both civ-level nobles are a citizen of your fortress, succession is applied visually. Vanilla example: The [[druid]] is succeeded by the [[acolyte]]. This means that as soon as the druid dies, the acolyte takes over. &lt;br /&gt;
&lt;br /&gt;
When a position that is succeeded by position becomes available, immediately it is checked if a position-successor is available and the position is filled with that unit. Even if this is an [ELECTED] position, succession goes first. When elections eventually do happen, succession plays no role.&lt;br /&gt;
&lt;br /&gt;
It is possible to assign multiple levels of [SUCCESSION:BY_POSITION] in different positions, creating a line of positions where the death of one causes all those &amp;quot;below&amp;quot; them to advance.&lt;br /&gt;
&lt;br /&gt;
A position can have multiple tokens with position-succession. It looks to be random which one is used. It is not always:&lt;br /&gt;
* The first or last defined token&lt;br /&gt;
* The first or last appointed unit&lt;br /&gt;
* the oldest or youngest&lt;br /&gt;
* one with a higher or lower precedence&lt;br /&gt;
* a unit with relevant skills&lt;br /&gt;
&lt;br /&gt;
When a position is defined with a Succession-type, that unit cannot have another position that has a Squad-type. If the succession-position itself has a squad, than it can be assigned another position with a squad, but then it will loose the previous succesion position. See further details by &amp;quot;Squad&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Assumed positions can also be succeeded by position, if the current holder dies. &lt;br /&gt;
&lt;br /&gt;
If the successor is an AS_NEEDED position, the used unit will leave a vacant position-slot on its removal by succession. This empty slot remains a real slot, which will only be cleaned up if you (un)appoint a unit to this position-series. It isn't cleaned up after regular position validation.&lt;br /&gt;
&lt;br /&gt;
A civ-level position of a unit living at your site might be inherited by a unit holding that does not currently live at your site. This, unfortunately, moves that position to a unit off site. This may also happen with the landholder of your site, for example when it is succeeded by another civ-level position. This currently poses an unsolved challenge. &lt;br /&gt;
&lt;br /&gt;
===Eligibility for succession===&lt;br /&gt;
Succession is restricted by the tokens [ACCEPTED_CREATURE], [REJECTED_CREATURE], [ACCEPTED_CLASS], [REJECTED_CLASS] and [GENDER].&lt;br /&gt;
&lt;br /&gt;
===Site and civ combined succession===&lt;br /&gt;
&lt;br /&gt;
Succession can work when combining site positions with civ-level positions or land_holders, but only in world-gen mode.  In fortress mode, it only works with combining the same level of nobles, with Landholders regarded as civ-level. So, in fortress mode, a site's position cannot succeed a landholder's position and it cannot succeed another type of civ-level position, and vice versa. &lt;br /&gt;
&lt;br /&gt;
This won't work even if the positions:&lt;br /&gt;
* are AS_NEEDED or having a fixed number.&lt;br /&gt;
* Are LAND_HOLDERs.&lt;br /&gt;
&lt;br /&gt;
===Succession [BY_HEIR]===&lt;br /&gt;
&lt;br /&gt;
When a heir is needed for succession, all children and then other relatives are validated. They cannot take the position if their status does not allow it, for example if they have become a member of another civilisation. See: &amp;quot;Who can take a position&amp;quot;. If the unit has no valid heir on that location, the position may go to a unit living on another site. This may cause the title of Landholder of some land to be inherited by a unit living somewhere else. That might be a problem, because then you lose your landholders.&lt;br /&gt;
&lt;br /&gt;
===Premature Succession===&lt;br /&gt;
&lt;br /&gt;
There are cases where [SUCCESSION:BY_POSITION] is applied prematurely: at the moment a position is first created and becomes appointable or assumable, rather than after a current holder leaves. In this situation, the succession mechanism assigns a holder immediately, without any player interaction.&lt;br /&gt;
&lt;br /&gt;
When a position becomes available for the first time, the game checks whether a valid successor-by-position exists. If so, that unit is assigned instantly. It can affect positions that would normally be appointed or elected by the player, causing succession to trigger before the player has any opportunity to intervene.&lt;br /&gt;
&lt;br /&gt;
This behavior occurs only in Fortress mode, but can be applied both on [SITE]-positions as well in civ-positions. That last one however is a bit harder to control. Example: [[Advanced entity position mechanics#The Archduke|The Archduke]]&lt;br /&gt;
&lt;br /&gt;
This premature succession only occurs the first time a position becomes available (i.e. when it is created and becomes appointable or assumable). Even if the position remains vacant and the conditions for succession improve later, premature succession will not trigger again. From that point onward, only normal succession rules apply.&lt;br /&gt;
&lt;br /&gt;
Using premature succession, a position that has [ELECTED], [APPOINTED_BY], or both, can be filled directly.&lt;br /&gt;
Notably, positions that combine [ELECTED] and [APPOINTED_BY] are normally impossible to fill through regular mechanics. Premature succession bypasses both election and appointment entirely, making this combination uniquely reachable through this mechanism.&lt;br /&gt;
&lt;br /&gt;
No initial election takes place, and no subsequent elections will ever occur for that position. Succession always takes precedence over election, both in premature succession and in normal succession cases.&lt;br /&gt;
&lt;br /&gt;
This behavior applies only in Fortress mode, not during world generation. World-gen uses simplified and more efficient mechanics, and this interaction does not occur there. Premature succession can affect both site-level and civilization-level positions.&lt;br /&gt;
&lt;br /&gt;
====Multiple succession chains====&lt;br /&gt;
&lt;br /&gt;
Multiple succession chains may be defined and are resolved in the order they appear in the raws.&lt;br /&gt;
&lt;br /&gt;
If a position has both:&lt;br /&gt;
* a direct succession chain (A → C), and&lt;br /&gt;
* a multi-step chain (A → B → C),&lt;br /&gt;
&lt;br /&gt;
and intermediate positions are vacant, resolution proceeds according to raw order. A common outcome is:&lt;br /&gt;
# The direct succession (A → C) is applied first, assigning A to C.&lt;br /&gt;
# The remaining chain then advances (A → B).&lt;br /&gt;
# If C still has empty slots, the final step (B → C) may occur.&lt;br /&gt;
&lt;br /&gt;
If position B is already filled, behavior depends entirely on raw definition order:&lt;br /&gt;
* nothing may happen, or&lt;br /&gt;
* B may move to C first, followed by A moving to B.&lt;br /&gt;
====Working triggers====&lt;br /&gt;
Premature succession is triggered when a succeedable position is created under the following conditions:&lt;br /&gt;
* The succeedable position is created because its [REQUIRES_POPULATION] threshold is reached. This applies even if the position is not [APPOINTED_BY]. Premature succession takes priority over automatic assumption (e.g. the mayor declaring themselves within a day).&lt;br /&gt;
** The position must either be assumable or appointed by an existing position. When said appointer-position also just has been created, the premature succession of the succeedable position happenes, even when the appointer-position is empty.&lt;br /&gt;
* The succeedable position can be [APPOINTED_BY] another position of the same level (site or civ) that has just been created because its [REQUIRES_POPULATION] was reached.&lt;br /&gt;
* The succeedable position can be appointed by another [SITE] [AS_NEEDED] position that has just been created and filled.&lt;br /&gt;
* The succeedable (site or civ) position is [APPOINTED_BY] the [LAND_HOLDER] position, which has just been created due to site elevation. This typically resolves when the diplomat leaves the map, at which point the landholder position becomes active.&lt;br /&gt;
* If all other requirements are met, premature succession can occur immediately after unpausing following embark, for positions with [REQUIRES_POPULATION:7].&lt;br /&gt;
&lt;br /&gt;
====Non-working triggers====&lt;br /&gt;
Premature succession does '''not''' occur in the following cases:&lt;br /&gt;
* An [AS_NEEDED] succeedable position slot is manually created by the player while its succeeding position is already filled. [AS_NEEDED] positions must always be appointed after creation.&lt;br /&gt;
* The succeeding position is filled after the succeedable position becomes available. The moment of creation is the decisive trigger; filling the source position later is too late.&lt;br /&gt;
* The succeedable position can be appointed by another site or civ position with a fixed number of slots that has just been appointed. In this case, the succeedable position is just available for appointment itself, nothing more&lt;br /&gt;
* Any situation occurring during world generation.&lt;br /&gt;
* The succeeding position is [REPLACED_BY] the succeedable position. In this case, replacement removes the unit from the source position first, leaving no holder available for the succession mechanism to use.rst, leaving no holder available for the succession mechanism to use.&lt;br /&gt;
* The position is [APPOINTED_BY] a civ-level position, that just became a citizen of your fortress. It must be noted that those civ-level positions were active all that time and the succeedable position could be appointed even before. The monarchs arrival does not trigger premature succession&lt;br /&gt;
&lt;br /&gt;
=Losing a position=&lt;br /&gt;
&lt;br /&gt;
A unit can lose a position when:&lt;br /&gt;
* It dies&lt;br /&gt;
* It succeeds another position, even if it has nothing to do with the previous position.&lt;br /&gt;
* It is assigned to another SQUAD-holding position&lt;br /&gt;
* It is convicted of a crime.&lt;br /&gt;
* Another unit is ELECTED for the position&lt;br /&gt;
* It is convinced by an adventurer to give up its position&lt;br /&gt;
* It is overthrown in a coup.&lt;br /&gt;
* Its position becomes replaced&lt;br /&gt;
* Another unit is appointed by the player, or the position is left vacant. &lt;br /&gt;
* It has assumed another position (of the same entity), as this always leaves the previous position vacant.&lt;br /&gt;
&lt;br /&gt;
Note: A unit does not lose a position, when the unit leaves the group (entity). Neither will a unit lose a position, if the corresponding entity is considered to be dead.&lt;br /&gt;
&lt;br /&gt;
=Embarkment=&lt;br /&gt;
Two types of positions are automatically filled by embark. &lt;br /&gt;
* Positions without [APPOINTED_BY] or [ELECTED] (assumable). All these positions, even with a NUMBER higher than 1, are all filled with one to three dwarves. Contrary to assumption, this doesn't take into account any limitations. REJECTED_CLASS, ALLOWED_CLASS, REJECTED_CREATURE, ALLOWED_CREATURE and GENDER are applied, but without the normal spread you may expect with assumptions. Also it doesn't look at [SUCCESSION] and [SQUAD] limitations.&lt;br /&gt;
* Positions that are elected are filled-in by the normal election rules.&lt;br /&gt;
&lt;br /&gt;
Positions that have a defined appointer are never initially filled at embark.&lt;br /&gt;
&lt;br /&gt;
All positions that don't have [REQUIRES_POPULATION]  or with a [REQUIRES_POPULATION] of 7 or lower, will be available at embark.&lt;br /&gt;
&lt;br /&gt;
=Land Holders=&lt;br /&gt;
&lt;br /&gt;
A Landholder is a '''special civ-level noble''' who gets a certain piece of land to hold, when that land is elevated to a certain level, determined by the tag [LAND_HOLDER] and by the landholder triggers in the game's settings. In vanilla, these are the baron, the count and the duke. &lt;br /&gt;
&lt;br /&gt;
A unit gaining the landholder position does not migrate to that specific named land. In world-gen, they stay just where they are, probably at the capital. In fortress mode, you can suggest a citizen for the role. So for the time being that works.&lt;br /&gt;
&lt;br /&gt;
Succession is then a real issue. If you use BY_HEIR, its solved when that landholder has children living at your site. But when its not the case, the title just goes to anyone randomly. Succession BY_POSITION works, but only in the civ-chain, and there's no way to guarantee a civ-holder is at your site at that time. Even with 'automatic spread' positions, it goes to one of them randomly.&lt;br /&gt;
&lt;br /&gt;
==Functioning of the regular landholder chain==&lt;br /&gt;
&lt;br /&gt;
The distinct difference between a landholder and a regular civ-level noble, is that a landholder may gain the position of landholder &amp;quot;of (sitename)&amp;quot; They are then seen as ruler of a particular site. &lt;br /&gt;
&lt;br /&gt;
For a land_holder position to function as such, it has a few requirements:&lt;br /&gt;
* NUMBER:AS_NEEDED &lt;br /&gt;
* The first landholder-number of 1 is defined. &lt;br /&gt;
* No SITE (so civ) tag in that position.&lt;br /&gt;
*REPLACED_BY the next level landholder&lt;br /&gt;
If a landholder is defined with differentiating properties, it will function like a regular noble. A higher-up landholder that lacks the required tokens or connections will then not be used in elevation. &lt;br /&gt;
&lt;br /&gt;
If a fortress meets the trigger for a new LAND_HOLDER tier when a caravan leaves, then the next time the outpost liaison or equivalent arrives, they will offer to make you an official colony, which will allow you to select all positions for that LAND_HOLDER level. Each time they appear, the outpost liaison will only promote your fortress one tier up the LAND_HOLDER track. &lt;br /&gt;
&lt;br /&gt;
The landholder's LAND_NAME is not required for the functioning of this system. If omitted, messages will be shown with a more generic text.&lt;br /&gt;
&lt;br /&gt;
==Appointment==&lt;br /&gt;
&lt;br /&gt;
This mechanism differs from the regular methods of position management. It ignores all regular appointment- and election rules, so it more or less functions like automatic assignment. A landholder is, in vanilla, appointed by the monarch. Changing this doesn't seem to do anything. If they are appointed by a site-position, a not-yet-existing civ-position, or not appointed at all: the system keeps working as usual. &lt;br /&gt;
&lt;br /&gt;
A landholder can appoint civ-positions and site positions. This works as expected: the positions only are appointed then when that landholder becomes available on civ-level or when he arrives at that site for site-level positions. &lt;br /&gt;
&lt;br /&gt;
If your rank of landholder is the first of its rank in the realm, and is the sole appointer of some civ-position, then immediately as it gains the title, it will appoint the empty civ-slots. This may happen on your site, but the frequency and certainty is hard to determine.&lt;br /&gt;
&lt;br /&gt;
==Succession==&lt;br /&gt;
&lt;br /&gt;
Succession rules are applied to some extent:&lt;br /&gt;
* In world-gen it works according to succession rules, and site-positions can be used here.  This means that a site position or a civ-position can inherit a landholder position, and vice versa.&lt;br /&gt;
* In fortress mode, once a landholder has been appointed, it then can inherit civ-level positions, and vice versa. This means that your baron can become king. &lt;br /&gt;
* Succession rules do not apply within the [LAND_HOLDER] chain; a count will not inherit a baron's land. This is because succession does not work well with the AS_NEEDED token.&lt;br /&gt;
* Premature succession works in fortress mode with landholders. If a unit gets a landholder's position and that landholder is the appointer of an as yet empty position, which is defined as succeeding from a third one, then the succession is immediately applied. The landholder themselves can even be the successor of a newly created position.&lt;br /&gt;
* A landholder's position is, in fortress mode, not successionable by a site-position or vice versa&lt;br /&gt;
&lt;br /&gt;
===Impossibilities for succession by a site-position===&lt;br /&gt;
It would be very beneficial if the landholder can be succeeded by a [SITE]-position. So far, the following tests have not lead to positive results:&lt;br /&gt;
* making landholder and site-position both non-[DUTY_BOUND]&lt;br /&gt;
* make the site-position be [APPOINTED_BY] the landholder and/or the monarch&lt;br /&gt;
* give landholder and site-position [REJECTED_CREATURE]&lt;br /&gt;
* Let the monarch live at your site when succession could happen.&lt;br /&gt;
* Let the site-position be [REPLACED_BY] the landholder.&lt;br /&gt;
&lt;br /&gt;
If the vanilla [SUCCESSION:BY_HEIR]-tag is omitted, a seemingly random unit somewhere in the realm is assigned this position.&lt;br /&gt;
&lt;br /&gt;
==Nomination==&lt;br /&gt;
&lt;br /&gt;
The player is able to nominate a unit to become the LAND_HOLDER, but this only works with units of [LAND_HOLDER] level 1. The player can select all units, only limited by the PRECEDENCE of the current units' positions.&lt;br /&gt;
&lt;br /&gt;
A unit that has a position with a PRECEDENCE lower or equal to that of the landholder's position, cannot be selected. This means that a baron (or count) from another site or the monarch cannot be selected, because their precedence is lower or equal. &lt;br /&gt;
&lt;br /&gt;
The GENDER  token does not work here: also units with the wrong gender (sorry) can be selected.&lt;br /&gt;
&lt;br /&gt;
==Levels==&lt;br /&gt;
In mods, up to 10 levels of LAND_HOLDER may be defined. &lt;br /&gt;
&lt;br /&gt;
If a landholder is replaced by a wrong landholder number (1 replaced by 3), then the number 3 is still correctly attached to the settlement. &lt;br /&gt;
&lt;br /&gt;
If the current landholder has the highest available landholder number, then the next elevation will not happen - the diplomat will not elevate your fortress to a higher position, even if that position might be REPLACED_BY a lower landholder. &lt;br /&gt;
&lt;br /&gt;
These chains do work:&lt;br /&gt;
* 1 -&amp;gt; 2a - &amp;gt; 2b -&amp;gt; 3&lt;br /&gt;
* 1 -&amp;gt; 3 -&amp;gt; 2 -&amp;gt; 4&lt;br /&gt;
&lt;br /&gt;
These chains do not work:&lt;br /&gt;
* 2 -&amp;gt; 3 (need to start at 1)&lt;br /&gt;
* 1 -&amp;gt; 4 -&amp;gt; 2 -&amp;gt; 3 (stops after 4 as the highest)&lt;br /&gt;
* 1a -&amp;gt; 2, 1b -&amp;gt; 2 (only 1a and 2 work, 1b is not used)&lt;br /&gt;
&lt;br /&gt;
==Moving landholders==&lt;br /&gt;
&lt;br /&gt;
It may happen that a land-holder no longer lives at the site which they are the landholder of, specifically when the current landholder dies, leaving the title to an heir living somewhere else. &lt;br /&gt;
&lt;br /&gt;
To prevent this from happening, you can make their succession from heir and make sure that their kids live at your site. Or, you can make their position succeeded by another civ position, and make it so that this civ position is somehow available on your site. But if multiple of these positions exist, it cannot be guaranteed that a citizen of your fortress will inherit the title. &lt;br /&gt;
&lt;br /&gt;
In world gen, a landholder lacking the DUTY_BOUND-token will also move to the site they like, according to legends mode.&lt;br /&gt;
&lt;br /&gt;
==Replacement by a generic civ-position==&lt;br /&gt;
&lt;br /&gt;
If a landholder is replaced by an AS_NEEDED non-landholder civ-position, then this will work: the current landholder loses that title upon settlement-elevation and gains that civ-title. However, the civ-title lacks the landholder-property of being attached to the land. It will not show the name of the settlement alongside the position's name. So no &amp;quot;minister of Shovelmounts&amp;quot;&lt;br /&gt;
&lt;br /&gt;
If a landholder is replaced by a general AS_NEEDED civ-position, that itself is also replaced by a generic AS_NEEDED civ-position, then firstly the elevation is executed and also the unit gains that new position. However, he immediately loses it, because an AS_NEEDED position that is replaced by another position can be filled initially, but units wont be able to hold that title.&lt;br /&gt;
&lt;br /&gt;
==Landholder with fixed number==&lt;br /&gt;
&lt;br /&gt;
A landholder's position that has a fixed number will be created and filled directly when the civilisation is born, so this position slot is then not available for the regular landholder-mechanic and will also not be used. That landholder will thus not be attached to a settlement. &lt;br /&gt;
&lt;br /&gt;
It doesn't matter if the landholder's position is connected to the regular landholder's-chain with the REPLACE_BY token.&lt;br /&gt;
&lt;br /&gt;
==Responsibilities==&lt;br /&gt;
&lt;br /&gt;
When given a certain [RESPONSIBILITY], a landholder may function as a regular civ-level noble. If the position has [TRADE] or [OUTPOST_NEGOTIATING] responsibilities, then the landholder functions both as a diplomat and as an actual land holder. A landholder with the [MILITARY_STRATEGY]  responsibility will travel around taming creatures in world-gen, according to legends mode. &lt;br /&gt;
&lt;br /&gt;
Besides that, the responsibilities work the same as with any other on-site living position-holder, civ or otherwise.&lt;br /&gt;
&lt;br /&gt;
=Military=&lt;br /&gt;
==Squad management==&lt;br /&gt;
In the vanilla game, the Squad interface only becomes available after a militia commander has been appointed. Until then, the window displays:{{DFtext|You must appoint somebody first to create a squad.}}&lt;br /&gt;
&lt;br /&gt;
What’s surprising is how this is determined internally. In the entity raw definition, '''only the last two positions that include a [SQUAD] token are checked''' to decide whether the interface is accessible at all. As a result, if your hierarchy defines commanders A through E, appointing '''Commander D or E''' unlocks squad formation, while appointing A–C does nothing.&lt;br /&gt;
&lt;br /&gt;
In other words, squad availability is not tied to ''having a militia commander'', but to ''which specific positions happen to be last in the raw list''—a notably hacky implementation.&lt;br /&gt;
&lt;br /&gt;
These 'last two' are always the last two '''available positions.''' So if they get [REPLACED_BY] or become available because of [REQUIRES_POPULATION], the game adapts to those.&lt;br /&gt;
&lt;br /&gt;
==Squad assignment==&lt;br /&gt;
&lt;br /&gt;
Squads can be assigned, even if the leader position has no holder.&lt;br /&gt;
&lt;br /&gt;
A specific unit can only have one position associated with a squad. If it gains another 'squad holding position', it is unassigned from the first one. This does not work with a 0-squad, so only 1+squads are taken into consideration. This technique can possibly be used to distribute all positions equally among all citizens. It does however not work with election and assumption. &lt;br /&gt;
&lt;br /&gt;
If a civ-level position is associated with a squad and it gets a site-level squad-holding position assigned, it loses the current civ-position. &lt;br /&gt;
&lt;br /&gt;
Squads can get really messed up, if you make the position (or multiple) either elected or not-elected and not-appointed, then this can cause the game to assign multiple squads to the same unit. Automatic assignment and election does not take squads into account, but the nobles screen does. This can cause the positions to be cleared as the game figures out that they have more than one position, and immediately get elected or assumed again. &lt;br /&gt;
&lt;br /&gt;
Positions that cannot have a squad-position:&lt;br /&gt;
* A site- or civ-position with a [SUCCESSION] token cannot be appointed a squad-holding-position. The other way around, however, does work. For example, if a site-position with a [SUCCESSION]-token is appointed to a unit that has already a position with [SQUAD]. But when that squad position is assigned to another unit, it cannot be assigned back. &lt;br /&gt;
* A position with [SUCCESSION] can also not be assigned as a '''member''' of a squad.&lt;br /&gt;
* A squad-holding position with a formed squad cannot be appointed to another squad holding position.&lt;br /&gt;
&lt;br /&gt;
If a position has at least one squad member, it cannot be left vacant. First, the squad has to be disbanded, then the position may be cleared.&lt;br /&gt;
&lt;br /&gt;
==0-squads==&lt;br /&gt;
A 0-Squad is defined in a position as [SQUAD:0:member:members]. It does not seem to do anything useful as of now.&lt;br /&gt;
* It cannot be used to activate the [[Squad|military interface]]&lt;br /&gt;
* It does not restrict the assignment of [SUCCESSION] positions.&lt;br /&gt;
* Assigning this position does not clear any previously held squad position.&lt;br /&gt;
* The [[Leader]] and [[Tactician]] skill are not marked as relevant skills and are not taken into account in elections.&lt;br /&gt;
* It cannot be formed as a squad.&lt;br /&gt;
&lt;br /&gt;
=Further testing=&lt;br /&gt;
The following questions may need additional testing. Feel free to add or answer&lt;br /&gt;
* Everything regarding COMMANDING and army-structure&lt;br /&gt;
** [http://www.bay12forums.com/smf/index.php?topic=175437.msg8331668#msg8331668]&lt;br /&gt;
** [http://www.bay12forums.com/smf/index.php?topic=165213.msg8335682#msg8335682]&lt;br /&gt;
** [http://www.bay12forums.com/smf/index.php?topic=174584.msg8026854#msg8026854]&lt;br /&gt;
* Stuff about the monarch, its arrival and its entourage.&lt;br /&gt;
&lt;br /&gt;
=Oddities (Bugs)=&lt;br /&gt;
Almost everything on this page could be called an oddity. Because of their unexpected usability, some may also be referred to as “undocumented features.” Others, however, are simply odd and not particularly useful, yet I hesitate to call them “bugs.”&lt;br /&gt;
* If a certain threshold is reached that makes an elected position electable, and the triggering event that initiates this evaluation is an assumption, then the resulting assumption works partially as an election. It referred to in the messages as an election and the [REJECTED_CREATURE]-token is not applied, like it is with assumptions.&lt;br /&gt;
&lt;br /&gt;
=Examples=&lt;br /&gt;
&lt;br /&gt;
===The Founder===&lt;br /&gt;
The founder is a single dwarf, appointed at embark. They will be the only one ever to have this position and are not replaceable. When they lose their position some way, the position will not be assumed by another dwarf. &lt;br /&gt;
{{gamedata|title=The Founder|&lt;br /&gt;
[POSITION:THE_FOUNDER]&lt;br /&gt;
	[NAME:the founder:founders]&lt;br /&gt;
	[NUMBER:1] &lt;br /&gt;
	[SITE]&lt;br /&gt;
	[ALLOWED_CREATURE:DWARF:ALL]		- will only be filled at embark, but not assumable later.&lt;br /&gt;
	[REJECTED_CREATURE:DWARF:ALL]		- will only be filled at embark, but not assumable later.&lt;br /&gt;
	[SUCCESSION:BY_POSITION:THE_FOUNDER]	- not unassignable, also cannot be assigned to a [SQUAD] position.&lt;br /&gt;
	[PRECEDENCE:200] &lt;br /&gt;
	Non APPOINTED_BY&lt;br /&gt;
	Non ELECTED&lt;br /&gt;
	Optional: Add responsibilities to make the game select a unit with certain skills.&lt;br /&gt;
}}&lt;br /&gt;
===Marriage bar===&lt;br /&gt;
Dwarven matrons are held in great honour. Upon marriage, a female dwarf is no longer expected to perform menial labour. All dwarven males hold this position by default, granting their spouses exemption from menial work.&lt;br /&gt;
&lt;br /&gt;
The position becomes available with the arrival of the first migrants; otherwise, on embark, it would be assumed by females. Its succession rule is non-functional, but this prevents the player from unassigning the position. A squad size of 1 and the succession rules together prevent a unit from assuming the position more than once.&lt;br /&gt;
&lt;br /&gt;
With precedence set to NONE, the position name is hidden, while LAND_NAME remains visible on the nobles screen. All married females receive the suffix “, Mrs.” and are marked as Nobles.&lt;br /&gt;
&lt;br /&gt;
The practical usefulness of this position is debatable, but it serves as a clear demonstration of several mechanics.&lt;br /&gt;
{{gamedata|title=Mrs. Urist|&lt;br /&gt;
 &lt;br /&gt;
[POSITION:MRS_URIST]	&lt;br /&gt;
	[NUMBER:300]						&lt;br /&gt;
	[SITE]						&lt;br /&gt;
	[ALLOWED_CREATURE:DWARF:MALE]	&lt;br /&gt;
	Not APPOINTED_BY				&lt;br /&gt;
	Not ELECTED&lt;br /&gt;
	[LAND_NAME:Dwarven male]				&lt;br /&gt;
	[NAME:dwarven male:dwarven male]&lt;br /&gt;
	[PRECEDENCE:NONE]					&lt;br /&gt;
	[SPOUSE_FEMALE:, Mrs.:spouses]&lt;br /&gt;
	[MENIAL_WORK_EXEMPTION_SPOUSE]&lt;br /&gt;
	[REQUIRES_POPULATION:8]			&lt;br /&gt;
	[SUCCESSION:BY_POSITION:MONARCH]&lt;br /&gt;
	[SQUAD:1:member:members]&lt;br /&gt;
}}&lt;br /&gt;
===The Archduke===&lt;br /&gt;
The archduke is the leader of the civilization, but exists only from landholder 4-level. Until then, its position remains vacant. When a settlement is elevated to tier 4 (grand duke), the grand duke can appoint the ruler of the civilisation, the archduke. Because of 'Premature Succession', they themself inherit that position immediately, but only when in fortress mode. Its heir then becomes grand duke.&lt;br /&gt;
{{gamedata|title=The Archduke| no POSITION:MONARCH or other PRECEDENCE:1 &lt;br /&gt;
&lt;br /&gt;
[POSITION:THE_ARCHDUKE]&lt;br /&gt;
	[NAME:archduke:archdukes]&lt;br /&gt;
	[NAME_MALE:archduke:archdukes]&lt;br /&gt;
	[NAME_FEMALE:archduchess:archduchesses]&lt;br /&gt;
	[LAND_NAME:a archduchy]&lt;br /&gt;
	[NUMBER:1] &lt;br /&gt;
	[PRECEDENCE:1] &lt;br /&gt;
	[SUCCESSION:BY_POSITION:GRAND_DUKE]	&lt;br /&gt;
	[APPOINTED_BY:GRAND_DUKE]&lt;br /&gt;
	(add additional monarch-stuff, like spouse name, demands etc.)&lt;br /&gt;
	&lt;br /&gt;
[POSITION:GRAND_DUKE]&lt;br /&gt;
	[NAME:grand duke:grand dukes]&lt;br /&gt;
	[NAME_MALE:grand duke:grand dukes]&lt;br /&gt;
	[NAME_FEMALE:grand duchess:grand duchesses]&lt;br /&gt;
	[NUMBER:AS_NEEDED] &lt;br /&gt;
	[LAND_HOLDER:4]&lt;br /&gt;
	// Optional ...&lt;br /&gt;
	[PRECEDENCE:19]	&lt;br /&gt;
	[LAND_NAME:a archduchy] &lt;br /&gt;
	[RESPONSIBILITY:LAW_MAKING]&lt;br /&gt;
	[RESPONSIBILITY:RECEIVE_DIPLOMATS]&lt;br /&gt;
	[SUCCESSION:BY_HEIR]&lt;br /&gt;
	[APPOINTED_BY:THE_ARCHDUKE]&lt;br /&gt;
	(add additional landholder-stuff)&lt;br /&gt;
&lt;br /&gt;
!!add to [POSITION:DUKE]&lt;br /&gt;
	[REPLACED_BY:GRAND_DUKE]&lt;br /&gt;
&lt;br /&gt;
}}&lt;br /&gt;
{{Category|Modding}}&lt;br /&gt;
{{Category|Entities}}&lt;br /&gt;
{{Category|Guides}}&lt;/div&gt;</summary>
		<author><name>Joostheger</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=Advanced_entity_position_mechanics&amp;diff=315836</id>
		<title>Advanced entity position mechanics</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=Advanced_entity_position_mechanics&amp;diff=315836"/>
		<updated>2026-04-21T20:44:14Z</updated>

		<summary type="html">&lt;p&gt;Joostheger: /* Oddities (Bugs) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Quality|Fine}}&lt;br /&gt;
{{Modding}}&lt;br /&gt;
&lt;br /&gt;
= Introduction = &lt;br /&gt;
&lt;br /&gt;
[http://www.bay12forums.com/smf/index.php?topic=182239.0 Discussion thread on the forum]&lt;br /&gt;
&lt;br /&gt;
This page documents observed and tested behavior of entity positions in Dwarf Fortress that is not fully described elsewhere on the wiki. It focuses on advanced interactions between position tokens, including appointment, succession, election, and responsibility handling, across both civilization-level and site-level entities.&lt;br /&gt;
&lt;br /&gt;
The mechanics described here are based on empirical testing in world generation and fortress mode, supplemented where necessary by raw analysis. In several cases, the game’s behavior is determined by evaluation order and interaction between multiple tags, rather than by individual tokens in isolation.&lt;br /&gt;
&lt;br /&gt;
This page is intended for modders and advanced players who are designing or debugging custom entity position structures. It does not restate basic position mechanics, but instead highlights edge cases, non-obvious interactions, and behaviors that may appear inconsistent or undocumented.&lt;br /&gt;
&lt;br /&gt;
Unless stated otherwise, the described behavior applies to current versions of the game and may differ from older releases.&lt;br /&gt;
&lt;br /&gt;
==What is an entity? What is a position?==&lt;br /&gt;
An [[entity]] is an organizational structure that can have relationships with other entities, usually known as a [[civilization]] or a &amp;quot;[[site]] government&amp;quot; in the game, but merchant [[guild]]s, religious organizations, necromancer towers, and [[bandit]] groups are also entities. An entity can have positions - in most cases, these are hardcoded and generated by the game, but as for civilizations and sites, the [[raw file]]s can be customised.&lt;br /&gt;
&lt;br /&gt;
A position is a special relationship between a unit and an entity. The unit holding a position has a larger influence over that entity than other citizens. Positions are mostly known as [[nobles]], but in this article. the technical term is used.&lt;br /&gt;
&lt;br /&gt;
=Position levels (Site/Civ) and their interaction=&lt;br /&gt;
There are two basic types of positions that are customizable: '''civ(ilization)''' level and '''site level'''. Positions with the tag [SITE] are at site level, positions without the tag [SITE] are at 'civ level'. These two types of nobles can be considered '''loosely related systems'''. There are a few places where they can interact with each other.&lt;br /&gt;
&lt;br /&gt;
Civ-level positions are in charge of the civilization as a whole, managing national [[trade]], laws, and [[war]]s. These are, for example, the vanilla [[monarch]], [[diplomat]] and [[general]]. (Note that the general doesn't do anything in either mode in the current version.)&lt;br /&gt;
&lt;br /&gt;
'''[LAND_HOLDER]''' nobles are also positions at civ-level. These units are members of the national government, but have gained authority over some land or site. Once they do, they move to that place, but their position is still regarded as a civ-level position.&lt;br /&gt;
&lt;br /&gt;
Site-level position holders are members of a site government (subsidiary to the civilization), and manage local affairs in that location. These are, for example, the [[mayor]], the [[sheriff]] and the [[broker]].&lt;br /&gt;
&lt;br /&gt;
==Table of interaction between different position levels==&lt;br /&gt;
In this table, the possible interactions between different position levels are summarized. &lt;br /&gt;
The header row shows the positions defining the tokens.&lt;br /&gt;
&lt;br /&gt;
The left column shows the position type that is referred to.&lt;br /&gt;
Example:  &lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! referred position-type&lt;br /&gt;
! LAND_HOLDER&lt;br /&gt;
|-&lt;br /&gt;
| civilization&lt;br /&gt;
|  &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;(baron is) APPOINTED_BY:MONARCH&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
color coding: &amp;lt;/br&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;Exists in vanilla&amp;lt;/span&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;Possible with mods&amp;lt;/span&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;Not possible&amp;lt;/span&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;possible to some extent.&amp;lt;/span&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;not yet fully investigated.&amp;lt;/span&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! referred position-type&lt;br /&gt;
! Civilization&lt;br /&gt;
! SITE&lt;br /&gt;
! LAND_HOLDER&lt;br /&gt;
! CONQUERED_SITE&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Civilization&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;SUCCESSION '''(1)'''&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| SITE&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;SUCCESSION '''(2)'''&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;APPOINTED_BY '''(3)'''&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;SUCCESSION '''(4)'''&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| LAND_HOLDER&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY '''(6)'''&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;SUCCESSION '''(5)'''&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;REPLACED_BY '''(7)'''&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;SUCCESSION '''(8)'''&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;CONQUERED_SITE&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; COMMANDER &amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; REPLACED_BY &amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt; SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; COMMANDER &amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; REPLACED_BY &amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt; SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; COMMANDER &amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; REPLACED_BY &amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; COMMANDER &amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; REPLACED_BY &amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Remarks:&lt;br /&gt;
# Works only in world-gen, if a unit with that civ-position is present at the site.&lt;br /&gt;
# Works only in world-gen, the site-position holding unit will then move to the capital.&lt;br /&gt;
# Is completely ignored&lt;br /&gt;
# Works only in world-gen.&lt;br /&gt;
# Works only in world-gen.&lt;br /&gt;
# Won't appear at all&lt;br /&gt;
# This is necessary for the landholder chain to work properly, it doesn’t work otherwise.&lt;br /&gt;
# This works only outside of the landholder chain, so when landholders are simply regarded as civ-level nobles. might also work in world-gen&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
== Other interactions ==&lt;br /&gt;
&lt;br /&gt;
Unfortunately, interactions with positions of other entities don't seem possible, such as APPOINTED_BY: HIGH_PRIEST. With [VARIABLE_POSITIONS], positions are automatically created with codes like CUSTOM_LAW_MAKER_2, but interaction with these positions don't seem to work, either. For more info on those, see [[Variable positions]]&lt;br /&gt;
&lt;br /&gt;
=General=&lt;br /&gt;
&lt;br /&gt;
==Civ-level nobles living at your site==&lt;br /&gt;
Nobles from your civilization can come to live at your fortress. This happens in vanilla with landholders such as [[Baron]], [[Count]] and [[Duke]], with the Monarch, but sometimes also with non-landed LAND_HOLDERS.&lt;br /&gt;
&lt;br /&gt;
When a civ-level noble becomes a [[citizen]] at your location, their position is shown among the site-level positions in your [[nobles screen]]. They appear to function as a site-level noble. They may have [[demand]]s, [[mandate]]s, [[squad]]s and the like. They can appoint nobles at the site-level.&lt;br /&gt;
&lt;br /&gt;
Even if they have certain site related [RESPONSIBILITY]ies, they will not do the tasks that go with them.&lt;br /&gt;
&lt;br /&gt;
==Fortress mode, world-gen and their differences==&lt;br /&gt;
Their are a few differences in how positions function between fortress mode (normal play mode) and the world generation (world-gen). &lt;br /&gt;
&lt;br /&gt;
In '''fortress mode''', the player has some control over the appointment of nobles, limited by elections, automatic filled-in positions and succession rules. Pre-fortress mode, which is referred to as '''world-gen''', the game will always attempt to assign nobles whenever possible. It is subjected to the same rules as in fortress-mode, but there are some exceptions. In '''[[World activities]]''', which is the thing that happens in the world while you play fortress mode, it seems as if the same rules are applied as fortress mode. &lt;br /&gt;
&lt;br /&gt;
A difference between player-fortress-mode and world-gen, is causes by visibility (see below). Positions that are not visible by the player and thus not available for assignment, will be available in world-gen and will thus be automatically assigned.&lt;br /&gt;
&lt;br /&gt;
In fortress mode, a position that is both [ELECTED] and [APPOINTED_BY], cannot be appointed by the player and is also not elected, and can thus not be filled. But in world-gen sites however, these positions are automatically filled.&lt;br /&gt;
&lt;br /&gt;
Positions with [AS_NEEDED] are almost never created and filled in world-gen (depending on their [RESPONSIBILITY]ies), but can always be used in player mode.&lt;br /&gt;
&lt;br /&gt;
A position can, in fortress mode, be filled by the same unit. A unit can gain multiple positions in fortress mode, for example because of [[elections]]. This will not happen in world-gen mode: a unit can only have one position. See also remarks on 'embark' and 'Losing a position'.&lt;br /&gt;
&lt;br /&gt;
In world-gen, [SUCCESSION] between civ-levels and [SITE-]levels may happen. This will not happen in fortress mode, or even off-site in [[World activities]].&lt;br /&gt;
&lt;br /&gt;
In fortress mode, premature SUCCESSION may happen. This will not happen in world-gen mode.&lt;br /&gt;
&lt;br /&gt;
==Units holding multiple positions in multiple entities==&lt;br /&gt;
A unit can hold multiple positions in its civilisation or in its site-entity, however this does not happen in world-gen. Only at player-managed sites can units be holding multiple positions at once. (It is probably not possible for a unit to hold a position in two different civilisations or two different sites.)&lt;br /&gt;
&lt;br /&gt;
In world-gen, if there are too many positions to be filled, they simply stay empty until more units are available. E.G, a unit at a site might inherit a civ-level position and still remain a member of the local government. When this happens however, they move to the capital. If a unit gains a new position, either inherited or otherwise, it drops the previous one. If a unit assumes a civ-position in fortress mode, it leaves the current position. &lt;br /&gt;
&lt;br /&gt;
If a unit holds the same (site-)position multiple times, it has no additional effect.&lt;br /&gt;
&lt;br /&gt;
If a unit holds multiple different positions of the same entity, it has all those positions' responsibilities and properties, stacked up. Presumably, the demands for those combined positions are determined by the highest.&lt;br /&gt;
 &lt;br /&gt;
A unit holding a position with a succession token can be assigned another position with a (different) succession token. &lt;br /&gt;
&lt;br /&gt;
A unit holding a position with a squad-position cannot hold another squad-position. It is dropped from the first, when it gets its second assigned. &lt;br /&gt;
A unit holding a position with a succession token cannot be assigned to a squad-position - the unit is simply not available. It works the other way around, though.&lt;br /&gt;
&lt;br /&gt;
=Specific Tags and functions=&lt;br /&gt;
==[PRECEDENCE]==&lt;br /&gt;
The first defined position with precedence of 1 counts as the ruler of the civ. See also: [[Position_token#PRECEDENCE|PRECEDENCE]]. &lt;br /&gt;
&lt;br /&gt;
If the precedence is omitted or has a negative value, the game sets 0 as precedence, which seems to have no effect whatsoever.&lt;br /&gt;
&lt;br /&gt;
When a unit has multiple positions, the name of the position with the highest rank in precedence is shown behind the unit's name.&lt;br /&gt;
&lt;br /&gt;
If you omit precedence entirely, or set it to [PRECEDENCE:NONE], the position name will not be shown after the unit’s name. Your *Urist Mason* will remain simply *Mason*. This can be useful for positions that are unimportant or purely functional. The position will also not appear in the civilisation overview of your site on the world map. The position name is shown in messages, but remains hidden on the nobles screen as well. To make it visible there, use [LAND_NAME].&lt;br /&gt;
&lt;br /&gt;
==[RESPONSIBILITY]ies==&lt;br /&gt;
Both civ and [SITE] positions can carry responsibilities. However, not all responsibilities are active for both types: some function only for civ positions, others only for site positions. When a civ noble arrives at a site and takes up residence, they do not perform responsibilities that are intended for SITE nobles. As a result, these responsibilities neither trigger their associated tasks nor unlock related game mechanics. For example, a civ-level manager living in a fortress will not perform management duties there and doesn't unlock the management-screen, even with an assigned office. &lt;br /&gt;
This behavior applies to the following [SITE]-level responsibilities:&lt;br /&gt;
* [RESPONSIBILITY:ACCOUNTING]&lt;br /&gt;
* [RESPONSIBILITY:BUILD_MORALE]&lt;br /&gt;
* [RESPONSIBILITY:HEALTH_MANAGEMENT]&lt;br /&gt;
* [RESPONSIBILITY:LAW_ENFORCEMENT]&lt;br /&gt;
* [RESPONSIBILITY:MANAGE_PRODUCTION]&lt;br /&gt;
* [RESPONSIBILITY:MEET_WORKERS]&lt;br /&gt;
* [RESPONSIBILITY:TRADE]  (functions differently)&lt;br /&gt;
Other responsibilities may be affected as well, but have not yet been fully tested.&lt;br /&gt;
&lt;br /&gt;
===World-gen effects of the [RESPONSIBILITY] of available positions ===&lt;br /&gt;
It is possible to cause civs and individual sites to change their behavior substantially when they reach a certain size, by controlling nobles. &lt;br /&gt;
* If a site can only appoint a position with [MILITARY_GOALS] after reaching a particular size, that site will not send armies on missions until the required size is reached.&lt;br /&gt;
* A civ-level [LAW_MAKING] position is required for the civilization to have any kind of cohesion. Without it, sites will be constantly embroiled in territorial disputes and civil wars will be commonplace.&lt;br /&gt;
* [MILITARY_STRATEGY] positions go out and tame wild animals. This makes your civ gain those animals as domesticated and also brings them in sieges.&lt;br /&gt;
* The [[Personality_facet|Personality]] of the position's holder determines how they lead the civ.&lt;br /&gt;
&lt;br /&gt;
===[DELIVERS_MESSAGES]===&lt;br /&gt;
The only [AS_NEEDED]-position that is created in worldgen based on responsibility is that of the site-level responsibility [DELIVERS_MESSAGES].&lt;br /&gt;
&lt;br /&gt;
===Outpost Liaisons and Diplomats===&lt;br /&gt;
Civ-positions with the responsibility [ESTABLISH_COLONY_TRADE_AGREEMENTS] ([[Outpost_Liaison|Outpost Liaison]]s) will meet with the site-noble who has responsibility for [RECEIVE_DIPLOMATS] and the highest rank of precedence (i.e. the lowest precedence value). Usually this is the [[Expedition_leader|Expedition leader]].&lt;br /&gt;
&lt;br /&gt;
Once a [LAND_HOLDER] is assigned to the site, civ-positions with the responsibility [MAKE_TOPIC_AGREEMENTS] ([[Diplomat]]s) will meet with '''civ'''-level nobles present at the site who have the [RECEIVE_DIPLOMATS] responsibility. If multiple eligible nobles are available, one is selected at random. If no eligible noble is present, the diplomat leaves angrily. If the landholder is no longer present at the site, diplomats will not arrive at all.&lt;br /&gt;
&lt;br /&gt;
It appears that Outpost Liaisons and Diplomats are chosen for a diplomatic mission based on availability. When multiple candidates exist, the position defined last in the raws is most often selected.&lt;br /&gt;
&lt;br /&gt;
===[TRADE]===&lt;br /&gt;
Civ-level nobles with [TRADE] will arrive with the caravan, just as the Outpost Liaison. Their behavior is no longer active in the vanilla game, but the mechanics are still present. See [[40d:Guild_representative|Guild representative]] for more details. This civ-noble will only meet with the SITE noble with [TRADE], usually the [[Broker]].&lt;br /&gt;
&lt;br /&gt;
If two civ-nobles exist with both [TRADE] and [ESTABLISH_COLONY_TRADE_AGREEMENTS], they both arrive at the same time. Even if both tokens are assigned to a single position, if more than one instance of that position exists, two of them will arrive. However in that case, somehow the elevation of the site and appointment of landholder isn't offered.&lt;br /&gt;
&lt;br /&gt;
If the SITE-noble they intend to meet has both [TRADE] and [RECEIVE_DIPLOMATS], only one meeting will proceed and the other is cancelled. However, when two SITE-nobles are available, each with either [TRADE] or [RECEIVE_DIPLOMATS], both meetings will proceed and both civ-nobles will attempt to negotiate a trade agreement. It is not known what happens if these agreements are accepted or refused.&lt;br /&gt;
&lt;br /&gt;
In the trade depot, the last defined position with the [TRADE] responsibility is shown as broker. However when requesting a trader, the first defined position with [TRADE] will actually go there to do the trade.&lt;br /&gt;
&lt;br /&gt;
==[NUMBER]==&lt;br /&gt;
A position might be defined with a number. In that case, as many as defined can be available. If the positions become available, in world-gen and when embarking, they are all filled-in completely.&lt;br /&gt;
&lt;br /&gt;
If the ruling position (with PRECEDENCE of 1) has a NUMBER higher than 1, a random unit of the ones holding these positions is shown as ruler in the embark screen.&lt;br /&gt;
&lt;br /&gt;
A [NUMBER] of 0 (zero) has the same effect as 1.&lt;br /&gt;
&lt;br /&gt;
===Automatic spreading of assumed, non-singular positions===&lt;br /&gt;
If there are civ positions that have a NUMBER higher then '1' and which are assumed (not APPOINTED_BY or ELECTED) but are '''not DUTY_BOUND''', these are automatically spread among the civilisation, based on population. If there are a number of '''20''' available slots of that position, they spread among a civilization with a combined population of, for example, 1000 of which your fortress has 100 (10%), '''2''' of your fortress' citizens will assume that position. &lt;br /&gt;
This may probably also work with elected and appointed positions, but that may be depending on the death of the current holders and this needs more testing. Assumption works within a day, anyway. &lt;br /&gt;
&lt;br /&gt;
===[AS_NEEDED]===&lt;br /&gt;
These positions can be created automatically by the game in world-gen. This, however, only works with: &lt;br /&gt;
* [LAND_HOLDER]'s&lt;br /&gt;
* squad commanders (needs more testing)&lt;br /&gt;
* Messengers at sites&lt;br /&gt;
&lt;br /&gt;
For all other types of positions, they're not created in world-gen, even if they are defined with RESPONSIBILITY's. For example, even in war, the game wouldn't create a MILITARY_GOALS position, if they have AS_NEEDED as number. &lt;br /&gt;
&lt;br /&gt;
However, in fortress mode / player mode, these positions can be created by the player at will.&lt;br /&gt;
&lt;br /&gt;
Positions with AS_NEEDED need to be created first, before any symbols are assignable as 'symbols' (objects) for the position holder to carry or wear.&lt;br /&gt;
&lt;br /&gt;
Positions with AS_NEEDED cannot be created and then ELECTED in fortress mode. It only works with APPOINTED_BY.&lt;br /&gt;
&lt;br /&gt;
==[REPLACED_BY], [REQUIRES_POPULATION], [REQUIRES_MARKET]==&lt;br /&gt;
&lt;br /&gt;
The token [REPLACED_BY:position] means that once the replacing position meets its requirements for activation, the 'to-be-replaced' position will disappear. This is defined in [REQUIRES_POPULATION] or [REQUIRES_MARKET]. The tags are closely related to each other and seem to only have a meaningful function if combined. Nobles with [REQUIRES_POPULATION] require the population to have a specific size. Nobles with [REQUIRES_MARKET] are only activated in market sites, such as fortresses or towns. [REQUIRES_POPULATION] and [REQUIRES_MARKET] can be combined, activating that position once both requirements are met. &lt;br /&gt;
&lt;br /&gt;
The [REQUIRES_MARKET] can be used to differentiate positions between hamlets and hillocks, and larger sites. IThe market always is build the year after the site is founded. So a position that is to be replaced, will be gone immediately.  &lt;br /&gt;
&lt;br /&gt;
The [REQUIRES_POPULATION]-tag works on the civ-level as well as on site-level, but those systems are in this mechanic strictly separated. Site-level positions cannot be replaced by civ-level positions and visa versa. This makes sense, because they both depend on their own population-count. When using REQUIRES_POPULATION on civ-level, it counts the total population of the civilisation. &lt;br /&gt;
&lt;br /&gt;
See also: [[Advanced_entity_position_mechanics#Evaluation_of_Positions|Evaluation of positions]]&lt;br /&gt;
&lt;br /&gt;
===Effect of replacement (and on [LAND_HOLDER]s)===&lt;br /&gt;
&lt;br /&gt;
Replacement is immediate and complete - the current holding unit loses the position, even before SUCCESSION_BY_POSITION rules are applied. A position with a number of 1 will replace all the slots of a position with a higher number of slots. &lt;br /&gt;
&lt;br /&gt;
Even if the next position is available but not visible, replacement still takes place. If a position is replaced, it is completely gone - it cannot be appointed, succeeded, elected or assumed any longer.&lt;br /&gt;
The unit immediately loses its position.&lt;br /&gt;
&lt;br /&gt;
In legends, replacement is mentioned as: &amp;quot;(unit name) ceased to be (position name)&amp;quot; The replacement of an AS_NEEDED position empties the position's slot forever. In fortress mode, it may seem as if you can create new slots and appoint new units in the nobles screen, but this is reversed as soon as you close the window.&lt;br /&gt;
&lt;br /&gt;
The landholder chain uses [REPLACED_BY] differently. It does not clear the position completely, but uses it for succession to the next level's position. [REPLACE_BY] is required to let that system work properly. This also means that the way in which landholders succeed (replace + as_needed) does not work in any other way. &lt;br /&gt;
&lt;br /&gt;
Replacement between LAND_HOLDERS and other site- or civ positions does not work in any way. Only the vanilla replacement sequence between levels of LAND_HOLDERs does work. If the token is omitted for landholders, the landholder chain is broken, so replacement is required for the landholder system to work.&lt;br /&gt;
&lt;br /&gt;
[REQUIRES_POPULATION] also does not work for [LAND_HOLDER], when you set [NUMBER] to 1. The position is not created when the required population is reached.&lt;br /&gt;
&lt;br /&gt;
===What doesn't work===&lt;br /&gt;
&lt;br /&gt;
'''Attention: If a position cannot be appointed, for example because of 'mutual appointment', it still exists according to replacement mechanics and will replace other positions if so defined. If a certain position(a) will be replaced by the baron's assistant, which can only be appointed by the [LAND_HOLDER] baron, than that position(s) still will be replaced from the start of the game, even if no baron or their assistant is ever present.'''&lt;br /&gt;
&lt;br /&gt;
A position that is replaced by a somehow non-fillable position is still replaced. This counts for mutual-appointing positions, replacement by not-yet-assigned landholders, replacement by AS_NEEDED positions, or replacement by not-yet-appointed positions. &lt;br /&gt;
&lt;br /&gt;
Replacement does not work if the replaced position is a [LAND_HOLDER], even with civ-positions. In that case, the LAND_HOLDER's position is not replaced. It does not matter if AS_NEEDED is used, or a fixed number, and it also does not matter what type of position the replacer is. So this only works (correctly) with positions that become available by REQUIRES_POPULATION.&lt;br /&gt;
&lt;br /&gt;
==[CONQUERED_SITE]==&lt;br /&gt;
&lt;br /&gt;
This tag determines which position is used to assign a [[Forced administrator]].&lt;br /&gt;
&lt;br /&gt;
In legends mode, this is visible as an event describing the reconquest of the site: a new group is formed and the forced administrator is installed as its ruler.&lt;br /&gt;
&lt;br /&gt;
All positions defined with this tag are assigned during this process, meaning multiple positions can be appointed at once.&lt;br /&gt;
&lt;br /&gt;
The holder of a position marked with [CONQUERED_SITE] cannot appoint any other [SITE] positions.&lt;br /&gt;
&lt;br /&gt;
Combining [CONQUERED_SITE] with [SITE] causes the position to function both as a forced administrator and as a normal site position available in fortress mode. However, this provides no meaningful additional mechanics and is effectively inferior to using [SITE] alone:&lt;br /&gt;
* [APPOINTED_BY] lines are completely ignored, meaning that the roles are automatically assumed.&lt;br /&gt;
* [SUCCESSION] is likewise ignored.&lt;br /&gt;
* the [CONQUERED_SITE]-position cannot appoint other [CONQUERED_SITE], [SITE] or combined positions.&lt;br /&gt;
&lt;br /&gt;
There have been remarks that reclaiming a fortress is unplayable because of the lack of regular nobles. Unfortunately, it seems that it can't be fixed by modding.&lt;br /&gt;
&lt;br /&gt;
=Availability and visibility=&lt;br /&gt;
==Availability of (new) positions==&lt;br /&gt;
Warning: Do not mistake &amp;quot;availability&amp;quot; for &amp;quot;visibility&amp;quot;! &lt;br /&gt;
&lt;br /&gt;
Of all the possible positions existing in your site's entity, there may only be some available. &lt;br /&gt;
* Positions with [REQUIRES_POPULATION] require the population to have a specific size.&lt;br /&gt;
* Positions with [REQUIRES_MARKET] will only appear in &amp;quot;large&amp;quot; sites (which may have different rules for different site types). This tag has no effect in fort mode.&lt;br /&gt;
* Positions that are appointed by positions that have an AS_NEEDED number. The appointable positions only become available after an appointer position-slot is created. This works also on civ-level. If a position is appointed by a Land-holder, it only becomes available, when that level of landholder is created. &lt;br /&gt;
	&lt;br /&gt;
Only the replaced positions are culled and are no longer available. &lt;br /&gt;
A position that requires a certain population will become available, even if it doesn't have [APPOINTED_BY] or [ELECTED]. In that case, see 'automatic assignment' and 'assumption'&lt;br /&gt;
&lt;br /&gt;
In fortress mode, in some cases 'succession' is evaluated immediately after a position becomes available. See: Succession.&lt;br /&gt;
==Visibility of positions==&lt;br /&gt;
A position might be available, but can still be invisible for the player in the [[nobles screen]]. The positions with their respective holders are visible for players:&lt;br /&gt;
* All site-positions that are already filled-in (even if they could not be re-filled-in considering current conditions)&lt;br /&gt;
* Site positions that are appointable by a filled-in site position&lt;br /&gt;
* Site positions that are appointable by a filled-in civ position, when that civ positions holder becomes a citizen of your fortress.&lt;br /&gt;
* Civ positions of units that are also a citizen of your fortress.&lt;br /&gt;
If a position becomes available, for example because a certain pop number has been reached, or if it is available from the start(like expedition leader), as long as it cannot be appointed, it still is INVISIBLE for the player. &lt;br /&gt;
&lt;br /&gt;
It might strike someone as odd if a position becomes filled automatically in fortress mode when that position is not even visible. This might be the case if the current holder of a non-appointable position dies or succeeds another position. Regardless of player visibility, these positions will be automatically filled in if the necessary requisitions are met. It might happen with the expedition leader.&lt;br /&gt;
&lt;br /&gt;
A situation with a non-visible but available position, is for example when a position is solely appointed by the expedition leader, when the expedition leader's position is left vacant. It can no longer be appointed by the player and is invisible. Then, it gets automatically assumed, proving that the position still was available.&lt;br /&gt;
&lt;br /&gt;
A position that is both [APPOINTED_BY] and [ELECTED] is visible, but players cannot interact with it.&lt;br /&gt;
&lt;br /&gt;
={{text anchor|Evaluation of Positions}}=&lt;br /&gt;
The game does not continuously check whether positions should become available, elected or be [REPLACE_BY]. This is well-known behavior—for example with the [[mayor]], who does not appear automatically when the required population ([REQUIRES_POPULATION]) is reached. Instead, positions must somehow be evaluated. This applies in several other situations as well &lt;br /&gt;
&lt;br /&gt;
'''Cases that require a trigger:'''&lt;br /&gt;
* Election of a newly created position&lt;br /&gt;
* Election after the current holder dies&lt;br /&gt;
* Automatic assumption of a newly created position (this may take up to a day)&lt;br /&gt;
* New citizens (such as migrants) considering available positions&lt;br /&gt;
* Premature succession of a newly created position&lt;br /&gt;
&lt;br /&gt;
'''Cases that do not wait for a trigger:'''&lt;br /&gt;
* Succession following the death of the previous holder&lt;br /&gt;
* Automatic assumption of existing positions that have become vacant&lt;br /&gt;
&lt;br /&gt;
'''Triggers that cause the game to reevaluate noble positions:'''&lt;br /&gt;
* Succession of a [SITE]-position due to the death of the current holder&lt;br /&gt;
* [[Advanced_entity_position_mechanics#Election_Day|Election Day]]&lt;br /&gt;
* Automatic assumption of a [SITE]-position that becomes vacant&lt;br /&gt;
* (Re)assigning any site position manually&lt;br /&gt;
* Settlement elevation on the LAND_HOLDER track (e.g. gaining a [[Baron]] or [[Count]])&lt;br /&gt;
&lt;br /&gt;
=Gaining a position=&lt;br /&gt;
There are several ways a unit can gain a position:&lt;br /&gt;
* Appointment: A unit is appointed by another unit or by the player.&lt;br /&gt;
* Election: A unit is elected by and among the members of the entity&lt;br /&gt;
* Assumption: A position is neither elected or appointed: a random unit just simply 'takes' the position&lt;br /&gt;
* Succession: a unit is the valid successor of this position(A), either by its current position(B) or because they are that position(A)-holder's heir. &lt;br /&gt;
&lt;br /&gt;
Available positions will automatically be assigned to a random civ member when a new site/civ is created.&lt;br /&gt;
&lt;br /&gt;
==Who can take a position==&lt;br /&gt;
&lt;br /&gt;
* If so defined, a unit needs to be the right caste and/or class - it does not seem to work with creature types. &lt;br /&gt;
* The unit needs to be an adult member of the site or its parent civ's government; that is also CAN_LEARN or INTELLIGENT (SLOW_LEARNER cannot take positions) or otherwise is able to think.&lt;br /&gt;
&lt;br /&gt;
==Appointment==&lt;br /&gt;
&lt;br /&gt;
Positions that have an [APPOINTED_BY:position] token require that position to exist, to be available and appointed. Any position that is APPOINTED_BY can be appointed if the appointer's position is filled in. &lt;br /&gt;
For site-positions to be appointed, it is required that the appointer is present at that location.&lt;br /&gt;
&lt;br /&gt;
If the appointing unit is temporarily not present, or if that position is not filled, positions depending on it cannot be appointed. This is the case with [[militia captains]], when the [[militia commander]] is on a [[mission]]. &lt;br /&gt;
&lt;br /&gt;
A site position cannot appoint a civ position ''or'' LAND_HOLDER in any way whatsoever. &lt;br /&gt;
&lt;br /&gt;
Civ-level positions can appoint other civ-level positions and site-level positions can appoint other site-level positions.&lt;br /&gt;
&lt;br /&gt;
Contrary to what has been said elsewhere, civ-level nobles also can appoint site-level nobles. They need to be at the site to do so. Landholders can appoint both site-level and civ-level nobles. These systems are therefore not as separate as was assumed.&lt;br /&gt;
&lt;br /&gt;
'''Mutual appointment''' cannot take place. If these are the only requisites of the position, then the positions will never appear or get filled. These unfillable positions can be put to good use, for example, to replace a position that is no longer needed without creating a new one. &lt;br /&gt;
&lt;br /&gt;
'''Self appointment''' doesn't normally work. If you have a position that is only appointed by itself, it is never appointed and also cannot be assumed. However, if the position has a number higher than 1, and is filled by multiple units (for example by another position that is now empty), than those units can re-assign or appoint each other from that their shared position. &lt;br /&gt;
&lt;br /&gt;
If an APPOINTED_BY token refers to a non-existing position's code, the effects are as if the appointment token doesn't exist at all.&lt;br /&gt;
&lt;br /&gt;
===Automatic appointment in world-gen and on the civ level===&lt;br /&gt;
&lt;br /&gt;
Outside of fortress mode, the game will always attempt to appoint nobles whenever possible, as long as these positions are '''available''', even if they are invisible to the player.&lt;br /&gt;
It shows this message in legends:  &amp;quot;(unit name) has been appointed to the position of (position name)&amp;quot;&lt;br /&gt;
&lt;br /&gt;
In world-gen, all positions become available and are automatically appointed, taking population- and appointment-requirements into consideration. &lt;br /&gt;
&lt;br /&gt;
Positions that are REPLACED_BY are culled and won't be filled.&lt;br /&gt;
&lt;br /&gt;
If a citizen of your fortress holds a civ-level position that can appoint another civ-level position, the appointment will happen automatically and without player intervention. It may happen that another citizen of your fortress is appointed by that unit, creating civ-level position holders in your fortress, but it is unknown what is required to force this effect.&lt;br /&gt;
&lt;br /&gt;
===Manual appointments by players in fortress mode===&lt;br /&gt;
In fortress mode, the positions that need to be appointed stay empty on embark. and it is the player's job to appoint those. A player can appoint a unit to any available position, according to the hereabove mentioned conditions. The player takes the role of the automatic appointment-system, but has no direct control over elections, successions and replacement. There are some differences in what is possible at world-gen sites and at player-controlled sites.&lt;br /&gt;
&lt;br /&gt;
* A position that is appointed by a unit present as a fortress citizen, can be appointed, re-appointed or left vacant. This means also by civ-level nobles living as a citizen in your fortress; not when they are only visiting, like the diplomat.&lt;br /&gt;
* A position whose appointing positions are all either vacant or [REPLACED_BY] can no longer be appointed. If the position is already filled, it cannot be reappointed or vacated; the current holder simply remains in office.&lt;br /&gt;
* A position that is APPOINTED_BY a unit present as the land_holder of your site, can be appointed, reassigned or left vacant.&lt;br /&gt;
* A position that has SUCCESSION BY_HEIR or BY_POSITION can 'initially' be appointed and also re-appointed or left vacant, but as soon as the [[nobles]] screen closes, ''it can no longer be replaced or left vacant''. From then on, the succession-rules determine who gains that position when the current holder loses the position. This works even if the SUCCESSION:BY_POSITION-position is vacant or replaced.&lt;br /&gt;
* A position that is ELECTED nor APPOINTED_BY, can always be (re-)appointed by the player. This is the case with the [[Expedition leader]]. If it is left vacant however, it cannot be appointed, but will be assumed shortly after. &lt;br /&gt;
* A position that is both ELECTED and APPOINTED_BY, cannot be appointed by the player. Contrary to world-gen sites, its slot is visible, but it doesn't show the +-sign. This is either by AS_NEEDED or by a fixed number. Even if the position somehow gets filled (re)assignment is never possible&lt;br /&gt;
* A player can appoint a number of units to a position, as much as the NUMBER token dictates. If it is AS_NEEDED, the player may create as many slots as they like, also contrary to world-gen sites. &lt;br /&gt;
* A civ-position can never be appointed, even if the appointing civ noble is a citizen of your fortress. A civ position also never can be re-assigned or left vacant, would that position be defined as appointed by a site-position.&lt;br /&gt;
&lt;br /&gt;
==Election==&lt;br /&gt;
Read more in [[Elections]]. The message that is shown is: &amp;quot;(creature name) has been elected to the position of  (position name)&amp;quot;&lt;br /&gt;
&lt;br /&gt;
In worldgen, there is no functional difference between ELECTED and non-appointment, except that elected nobles tend to have high social skills and/or skills related to the position, while non-elected ones are assigned randomly. See: [[Elections]]&lt;br /&gt;
&lt;br /&gt;
A succession goes before an election. &lt;br /&gt;
&lt;br /&gt;
A position that is both ELECTED and APPOINTED_BY never gets elected. Even if the appointees' position somehow gets filled, (re)-elections won't happen. So, it doesn't seem possible to have an elected position become available when a certain other position becomes filled. &lt;br /&gt;
&lt;br /&gt;
An ELECTED civ-(or LAND_HOLDER) position at your site will never be (re)-elected in fortress mode. So real (re-)election only works with SITE-positions. &lt;br /&gt;
&lt;br /&gt;
=== {{text anchor|Election Day}} ===&lt;br /&gt;
Election Day takes place on the 17th of Summer. On this day, a full reevaluation is performed, including all currently elected positions, which are subject to re-election. Contrary to the information on [[Elections]], nothing occurs at the start of a season.&lt;br /&gt;
&lt;br /&gt;
Positions that are both [APPOINTED_BY] and [ELECTED] will not be re-elected on Election Day when assigned through [SUCCESSION].&lt;br /&gt;
&lt;br /&gt;
=== Election Eligiblity ===&lt;br /&gt;
Any citizen may stand for election. Eligibility cannot be restricted using [ACCEPTED_CREATURE], [REJECTED_CREATURE], [ACCEPTED_CLASS], [REJECTED_CLASS], or [GENDER]. Units currently having a [SUCCESSION]-position even may be elected for a position with a [SQUAD]-token, which is otherwise impossible to assign or even succeed.&lt;br /&gt;
&lt;br /&gt;
=== Skills ===&lt;br /&gt;
In elections, skills are taken into account for the tokens of the position which is elected.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Relevant skills per position token&lt;br /&gt;
|-&lt;br /&gt;
! Position Token !! Relevant skills&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#DELIVER_MESSAGES|[DELIVER_MESSAGES]]] || [[Ambusher]], [[Observer]] and [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#ACCOUNTING|[ACCOUNTING]]] || [[Record_keeper|Record keeper]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#ESPIONAGE|[ESPIONAGE]]] || [[Schemer]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#HEALTH_MANAGEMENT|[HEALTH_MANAGEMENT]]] || [[Diagnostician|Diagnostician]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#MAKE_INTRODUCTIONS|[MAKE_INTRODUCTIONS]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#MAKE_PEACE_AGREEMENTS|[MAKE_PEACE_AGREEMENTS]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#MAKE_TOPIC_AGREEMENTS|[MAKE_TOPIC_AGREEMENTS]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#MANAGE_PRODUCTION|[MANAGE_PRODUCTION]]] || [[Organizer]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#MEET_WORKERS|[MEET_WORKERS]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#RECEIVE_DIPLOMATS|[RECEIVE_DIPLOMATS]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#RELIGION|[RELIGION]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#TAME_EXOTICS|[TAME_EXOTICS]]] || [[Animal_trainer|Animal trainer]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#TRADE|[TRADE]]] || [[Social_skill|Social skills]] and [[Appraiser|Appraiser]]&lt;br /&gt;
|-&lt;br /&gt;
| [[Position_token#SQUAD|[SQUAD]]]-token || [[Tactician]] and [[Leader]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Assumption==&lt;br /&gt;
&lt;br /&gt;
A position that is not APPOINTED_BY nor ELECTED, or is appointed by positions that are not available in your site or civ, will be assumable by a random dwarf. If it has responsibilities that require certain skills, then these are taken into consideration on embark, but not when the position is assumed during the actual game. &lt;br /&gt;
&lt;br /&gt;
Normally, one to three units will take the into consideration to assume a position. Most of the time when there are multiple open positions, only a single unit will assume all of them. However, a position that has REJECTED_CREATURE, REJECTED_CLASS, ALLOWED_CREATURE or ALLOWED_CLASS will be filled with all different units, even if the creature or class mentioned is irrelevant. It seems that this forces the game to loop over all the available units.&lt;br /&gt;
&lt;br /&gt;
The message that is shown in Legends mode is: &amp;quot;(unit name) has assumed the position of (position name)&amp;quot;. This may also take place in fortress mode, which then shows this message to the player. &lt;br /&gt;
&lt;br /&gt;
If an assumable position becomes empty, it will be assumed within a day. This is the case when you leave the position of expedition-leader vacant. It also happens with entities. &lt;br /&gt;
&lt;br /&gt;
Assumable positions that become empty will not be assumed if that position has a valid [SUCCESSION] -successor. In that case, the successor inherits the position. &lt;br /&gt;
&lt;br /&gt;
Even positions that are somehow invisible because they cannot be directly APPOINTED_BY players, can be assumed. &lt;br /&gt;
&lt;br /&gt;
When you embark, the assumable positions are automatically assigned to a random unit. If there are multiple of these positions at embark, they all are assigned to the same unit. If there are enough positions available, multiple units may gain a position, but often no more than three different ones.&lt;br /&gt;
&lt;br /&gt;
If a dwarf in fortress mode assumes a position, that already has another position, it will leave the current position empty. When that position also is assumed, then this will continue until all positions have a dwarf appointed to them, with no other position.&lt;br /&gt;
&lt;br /&gt;
A unit that already has a position with a [SUCCESSION] token won't take assumable positions into consideration that have a [SQUAD] token. This can be used by the modder to prevent unwanted loss of current positions.&lt;br /&gt;
&lt;br /&gt;
A position that has an appointer which got replaced because of REPLACED_BY, will not become assumable. Also, positions that have an AS_NEEDED appointer that is not yet filled (or ever), will also not be assumed.&lt;br /&gt;
&lt;br /&gt;
==Succession==&lt;br /&gt;
&lt;br /&gt;
If a position-holder dies or advances to a new position via succession, the position will be granted to another unit based on the [SUCCESSION] tag. If they have an heir or the succeeding position exists, that unit will be assigned. If not, a new one will be appointed according to the usual rules. The message that is shown is: &amp;quot;(creature name) being the rightful heir, has inherited the position of (position name)&amp;quot;&lt;br /&gt;
&lt;br /&gt;
The succeeding creature will also lose its previous position. When succession is defined using BY_POSITION, the unit naturally loses the referenced position. However, it also loses any other positions it may hold. If a unit could simultaneously inherit multiple positions, the last-defined succession overrides the earlier one, clearing the previously acquired position&lt;br /&gt;
&lt;br /&gt;
Succession works both at site-level and at civ-level, both in world-gen and in fortress-mode. Succession by position on the civ-level is also visible and functional in fortress-mode. If both civ-level nobles are a citizen of your fortress, succession is applied visually. Vanilla example: The [[druid]] is succeeded by the [[acolyte]]. This means that as soon as the druid dies, the acolyte takes over. &lt;br /&gt;
&lt;br /&gt;
When a position that is succeeded by position becomes available, immediately it is checked if a position-successor is available and the position is filled with that unit. Even if this is an [ELECTED] position, succession goes first. When elections eventually do happen, succession plays no role.&lt;br /&gt;
&lt;br /&gt;
It is possible to assign multiple levels of [SUCCESSION:BY_POSITION] in different positions, creating a line of positions where the death of one causes all those &amp;quot;below&amp;quot; them to advance.&lt;br /&gt;
&lt;br /&gt;
A position can have multiple tokens with position-succession. It looks to be random which one is used. It is not always:&lt;br /&gt;
* The first or last defined token&lt;br /&gt;
* The first or last appointed unit&lt;br /&gt;
* the oldest or youngest&lt;br /&gt;
* one with a higher or lower precedence&lt;br /&gt;
* a unit with relevant skills&lt;br /&gt;
&lt;br /&gt;
When a position is defined with a Succession-type, that unit cannot have another position that has a Squad-type. If the succession-position itself has a squad, than it can be assigned another position with a squad, but then it will loose the previous succesion position. See further details by &amp;quot;Squad&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Assumed positions can also be succeeded by position, if the current holder dies. &lt;br /&gt;
&lt;br /&gt;
If the successor is an AS_NEEDED position, the used unit will leave a vacant position-slot on its removal by succession. This empty slot remains a real slot, which will only be cleaned up if you (un)appoint a unit to this position-series. It isn't cleaned up after regular position validation.&lt;br /&gt;
&lt;br /&gt;
A civ-level position of a unit living at your site might be inherited by a unit holding that does not currently live at your site. This, unfortunately, moves that position to a unit off site. This may also happen with the landholder of your site, for example when it is succeeded by another civ-level position. This currently poses an unsolved challenge. &lt;br /&gt;
&lt;br /&gt;
===Eligibility for succession===&lt;br /&gt;
Succession is restricted by the tokens [ACCEPTED_CREATURE], [REJECTED_CREATURE], [ACCEPTED_CLASS], [REJECTED_CLASS] and [GENDER].&lt;br /&gt;
&lt;br /&gt;
===Site and civ combined succession===&lt;br /&gt;
&lt;br /&gt;
Succession can work when combining site positions with civ-level positions or land_holders, but only in world-gen mode.  In fortress mode, it only works with combining the same level of nobles, with Landholders regarded as civ-level. So, in fortress mode, a site's position cannot succeed a landholder's position and it cannot succeed another type of civ-level position, and vice versa. &lt;br /&gt;
&lt;br /&gt;
This won't work even if the positions:&lt;br /&gt;
* are AS_NEEDED or having a fixed number.&lt;br /&gt;
* Are LAND_HOLDERs.&lt;br /&gt;
&lt;br /&gt;
===Succession [BY_HEIR]===&lt;br /&gt;
&lt;br /&gt;
When a heir is needed for succession, all children and then other relatives are validated. They cannot take the position if their status does not allow it, for example if they have become a member of another civilisation. See: &amp;quot;Who can take a position&amp;quot;. If the unit has no valid heir on that location, the position may go to a unit living on another site. This may cause the title of Landholder of some land to be inherited by a unit living somewhere else. That might be a problem, because then you lose your landholders.&lt;br /&gt;
&lt;br /&gt;
===Premature Succession===&lt;br /&gt;
&lt;br /&gt;
There are cases where [SUCCESSION:BY_POSITION] is applied prematurely: at the moment a position is first created and becomes appointable or assumable, rather than after a current holder leaves. In this situation, the succession mechanism assigns a holder immediately, without any player interaction.&lt;br /&gt;
&lt;br /&gt;
When a position becomes available for the first time, the game checks whether a valid successor-by-position exists. If so, that unit is assigned instantly. It can affect positions that would normally be appointed or elected by the player, causing succession to trigger before the player has any opportunity to intervene.&lt;br /&gt;
&lt;br /&gt;
This behavior occurs only in Fortress mode, but can be applied both on [SITE]-positions as well in civ-positions. That last one however is a bit harder to control. Example: [[Advanced entity position mechanics#The Archduke|The Archduke]]&lt;br /&gt;
&lt;br /&gt;
This premature succession only occurs the first time a position becomes available (i.e. when it is created and becomes appointable or assumable). Even if the position remains vacant and the conditions for succession improve later, premature succession will not trigger again. From that point onward, only normal succession rules apply.&lt;br /&gt;
&lt;br /&gt;
Using premature succession, a position that has [ELECTED], [APPOINTED_BY], or both, can be filled directly.&lt;br /&gt;
Notably, positions that combine [ELECTED] and [APPOINTED_BY] are normally impossible to fill through regular mechanics. Premature succession bypasses both election and appointment entirely, making this combination uniquely reachable through this mechanism.&lt;br /&gt;
&lt;br /&gt;
No initial election takes place, and no subsequent elections will ever occur for that position. Succession always takes precedence over election, both in premature succession and in normal succession cases.&lt;br /&gt;
&lt;br /&gt;
This behavior applies only in Fortress mode, not during world generation. World-gen uses simplified and more efficient mechanics, and this interaction does not occur there. Premature succession can affect both site-level and civilization-level positions.&lt;br /&gt;
&lt;br /&gt;
====Multiple succession chains====&lt;br /&gt;
&lt;br /&gt;
Multiple succession chains may be defined and are resolved in the order they appear in the raws.&lt;br /&gt;
&lt;br /&gt;
If a position has both:&lt;br /&gt;
* a direct succession chain (A → C), and&lt;br /&gt;
* a multi-step chain (A → B → C),&lt;br /&gt;
&lt;br /&gt;
and intermediate positions are vacant, resolution proceeds according to raw order. A common outcome is:&lt;br /&gt;
# The direct succession (A → C) is applied first, assigning A to C.&lt;br /&gt;
# The remaining chain then advances (A → B).&lt;br /&gt;
# If C still has empty slots, the final step (B → C) may occur.&lt;br /&gt;
&lt;br /&gt;
If position B is already filled, behavior depends entirely on raw definition order:&lt;br /&gt;
* nothing may happen, or&lt;br /&gt;
* B may move to C first, followed by A moving to B.&lt;br /&gt;
====Working triggers====&lt;br /&gt;
Premature succession is triggered when a succeedable position is created under the following conditions:&lt;br /&gt;
* The succeedable position is created because its [REQUIRES_POPULATION] threshold is reached. This applies even if the position is not [APPOINTED_BY]. Premature succession takes priority over automatic assumption (e.g. the mayor declaring themselves within a day).&lt;br /&gt;
** The position must either be assumable or appointed by an existing position. When said appointer-position also just has been created, the premature succession of the succeedable position happenes, even when the appointer-position is empty.&lt;br /&gt;
* The succeedable position can be [APPOINTED_BY] another position of the same level (site or civ) that has just been created because its [REQUIRES_POPULATION] was reached.&lt;br /&gt;
* The succeedable position can be appointed by another [SITE] [AS_NEEDED] position that has just been created and filled.&lt;br /&gt;
* The succeedable (site or civ) position is [APPOINTED_BY] the [LAND_HOLDER] position, which has just been created due to site elevation. This typically resolves when the diplomat leaves the map, at which point the landholder position becomes active.&lt;br /&gt;
* If all other requirements are met, premature succession can occur immediately after unpausing following embark, for positions with [REQUIRES_POPULATION:7].&lt;br /&gt;
&lt;br /&gt;
====Non-working triggers====&lt;br /&gt;
Premature succession does '''not''' occur in the following cases:&lt;br /&gt;
* An [AS_NEEDED] succeedable position slot is manually created by the player while its succeeding position is already filled. [AS_NEEDED] positions must always be appointed after creation.&lt;br /&gt;
* The succeeding position is filled after the succeedable position becomes available. The moment of creation is the decisive trigger; filling the source position later is too late.&lt;br /&gt;
* The succeedable position can be appointed by another site or civ position with a fixed number of slots that has just been appointed. In this case, the succeedable position is just available for appointment itself, nothing more&lt;br /&gt;
* Any situation occurring during world generation.&lt;br /&gt;
* The succeeding position is [REPLACED_BY] the succeedable position. In this case, replacement removes the unit from the source position first, leaving no holder available for the succession mechanism to use.rst, leaving no holder available for the succession mechanism to use.&lt;br /&gt;
* The position is [APPOINTED_BY] a civ-level position, that just became a citizen of your fortress. It must be noted that those civ-level positions were active all that time and the succeedable position could be appointed even before. The monarchs arrival does not trigger premature succession&lt;br /&gt;
&lt;br /&gt;
=Losing a position=&lt;br /&gt;
&lt;br /&gt;
A unit can lose a position when:&lt;br /&gt;
* It dies&lt;br /&gt;
* It succeeds another position, even if it has nothing to do with the previous position.&lt;br /&gt;
* It is assigned to another SQUAD-holding position&lt;br /&gt;
* It is convicted of a crime.&lt;br /&gt;
* Another unit is ELECTED for the position&lt;br /&gt;
* Its position becomes replaced&lt;br /&gt;
* Another unit is appointed by the player, or the position is left vacant. &lt;br /&gt;
* It has assumed another position, as this always leaves the previous position vacant.&lt;br /&gt;
&lt;br /&gt;
=Embarkment=&lt;br /&gt;
Two types of positions are automatically filled by embark. &lt;br /&gt;
* Positions without [APPOINTED_BY] or [ELECTED] (assumable). All these positions, even with a NUMBER higher than 1, are all filled with one to three dwarves. Contrary to assumption, this doesn't take into account any limitations. REJECTED_CLASS, ALLOWED_CLASS, REJECTED_CREATURE, ALLOWED_CREATURE and GENDER are applied, but without the normal spread you may expect with assumptions. Also it doesn't look at [SUCCESSION] and [SQUAD] limitations.&lt;br /&gt;
* Positions that are elected are filled-in by the normal election rules.&lt;br /&gt;
&lt;br /&gt;
Positions that have a defined appointer are never initially filled at embark.&lt;br /&gt;
&lt;br /&gt;
All positions that don't have [REQUIRES_POPULATION]  or with a [REQUIRES_POPULATION] of 7 or lower, will be available at embark.&lt;br /&gt;
&lt;br /&gt;
=Land Holders=&lt;br /&gt;
&lt;br /&gt;
A Landholder is a '''special civ-level noble''' who gets a certain piece of land to hold, when that land is elevated to a certain level, determined by the tag [LAND_HOLDER] and by the landholder triggers in the game's settings. In vanilla, these are the baron, the count and the duke. &lt;br /&gt;
&lt;br /&gt;
A unit gaining the landholder position does not migrate to that specific named land. In world-gen, they stay just where they are, probably at the capital. In fortress mode, you can suggest a citizen for the role. So for the time being that works.&lt;br /&gt;
&lt;br /&gt;
Succession is then a real issue. If you use BY_HEIR, its solved when that landholder has children living at your site. But when its not the case, the title just goes to anyone randomly. Succession BY_POSITION works, but only in the civ-chain, and there's no way to guarantee a civ-holder is at your site at that time. Even with 'automatic spread' positions, it goes to one of them randomly.&lt;br /&gt;
&lt;br /&gt;
==Functioning of the regular landholder chain==&lt;br /&gt;
&lt;br /&gt;
The distinct difference between a landholder and a regular civ-level noble, is that a landholder may gain the position of landholder &amp;quot;of (sitename)&amp;quot; They are then seen as ruler of a particular site. &lt;br /&gt;
&lt;br /&gt;
For a land_holder position to function as such, it has a few requirements:&lt;br /&gt;
* NUMBER:AS_NEEDED &lt;br /&gt;
* The first landholder-number of 1 is defined. &lt;br /&gt;
* No SITE (so civ) tag in that position.&lt;br /&gt;
*REPLACED_BY the next level landholder&lt;br /&gt;
If a landholder is defined with differentiating properties, it will function like a regular noble. A higher-up landholder that lacks the required tokens or connections will then not be used in elevation. &lt;br /&gt;
&lt;br /&gt;
If a fortress meets the trigger for a new LAND_HOLDER tier when a caravan leaves, then the next time the outpost liaison or equivalent arrives, they will offer to make you an official colony, which will allow you to select all positions for that LAND_HOLDER level. Each time they appear, the outpost liaison will only promote your fortress one tier up the LAND_HOLDER track. &lt;br /&gt;
&lt;br /&gt;
The landholder's LAND_NAME is not required for the functioning of this system. If omitted, messages will be shown with a more generic text.&lt;br /&gt;
&lt;br /&gt;
==Appointment==&lt;br /&gt;
&lt;br /&gt;
This mechanism differs from the regular methods of position management. It ignores all regular appointment- and election rules, so it more or less functions like automatic assignment. A landholder is, in vanilla, appointed by the monarch. Changing this doesn't seem to do anything. If they are appointed by a site-position, a not-yet-existing civ-position, or not appointed at all: the system keeps working as usual. &lt;br /&gt;
&lt;br /&gt;
A landholder can appoint civ-positions and site positions. This works as expected: the positions only are appointed then when that landholder becomes available on civ-level or when he arrives at that site for site-level positions. &lt;br /&gt;
&lt;br /&gt;
If your rank of landholder is the first of its rank in the realm, and is the sole appointer of some civ-position, then immediately as it gains the title, it will appoint the empty civ-slots. This may happen on your site, but the frequency and certainty is hard to determine.&lt;br /&gt;
&lt;br /&gt;
==Succession==&lt;br /&gt;
&lt;br /&gt;
Succession rules are applied to some extent:&lt;br /&gt;
* In world-gen it works according to succession rules, and site-positions can be used here.  This means that a site position or a civ-position can inherit a landholder position, and vice versa.&lt;br /&gt;
* In fortress mode, once a landholder has been appointed, it then can inherit civ-level positions, and vice versa. This means that your baron can become king. &lt;br /&gt;
* Succession rules do not apply within the [LAND_HOLDER] chain; a count will not inherit a baron's land. This is because succession does not work well with the AS_NEEDED token.&lt;br /&gt;
* Premature succession works in fortress mode with landholders. If a unit gets a landholder's position and that landholder is the appointer of an as yet empty position, which is defined as succeeding from a third one, then the succession is immediately applied. The landholder themselves can even be the successor of a newly created position.&lt;br /&gt;
* A landholder's position is, in fortress mode, not successionable by a site-position or vice versa&lt;br /&gt;
&lt;br /&gt;
===Impossibilities for succession by a site-position===&lt;br /&gt;
It would be very beneficial if the landholder can be succeeded by a [SITE]-position. So far, the following tests have not lead to positive results:&lt;br /&gt;
* making landholder and site-position both non-[DUTY_BOUND]&lt;br /&gt;
* make the site-position be [APPOINTED_BY] the landholder and/or the monarch&lt;br /&gt;
* give landholder and site-position [REJECTED_CREATURE]&lt;br /&gt;
* Let the monarch live at your site when succession could happen.&lt;br /&gt;
* Let the site-position be [REPLACED_BY] the landholder.&lt;br /&gt;
&lt;br /&gt;
If the vanilla [SUCCESSION:BY_HEIR]-tag is omitted, a seemingly random unit somewhere in the realm is assigned this position.&lt;br /&gt;
&lt;br /&gt;
==Nomination==&lt;br /&gt;
&lt;br /&gt;
The player is able to nominate a unit to become the LAND_HOLDER, but this only works with units of [LAND_HOLDER] level 1. The player can select all units, only limited by the PRECEDENCE of the current units' positions.&lt;br /&gt;
&lt;br /&gt;
A unit that has a position with a PRECEDENCE lower or equal to that of the landholder's position, cannot be selected. This means that a baron (or count) from another site or the monarch cannot be selected, because their precedence is lower or equal. &lt;br /&gt;
&lt;br /&gt;
The GENDER  token does not work here: also units with the wrong gender (sorry) can be selected.&lt;br /&gt;
&lt;br /&gt;
==Levels==&lt;br /&gt;
In mods, up to 10 levels of LAND_HOLDER may be defined. &lt;br /&gt;
&lt;br /&gt;
If a landholder is replaced by a wrong landholder number (1 replaced by 3), then the number 3 is still correctly attached to the settlement. &lt;br /&gt;
&lt;br /&gt;
If the current landholder has the highest available landholder number, then the next elevation will not happen - the diplomat will not elevate your fortress to a higher position, even if that position might be REPLACED_BY a lower landholder. &lt;br /&gt;
&lt;br /&gt;
These chains do work:&lt;br /&gt;
* 1 -&amp;gt; 2a - &amp;gt; 2b -&amp;gt; 3&lt;br /&gt;
* 1 -&amp;gt; 3 -&amp;gt; 2 -&amp;gt; 4&lt;br /&gt;
&lt;br /&gt;
These chains do not work:&lt;br /&gt;
* 2 -&amp;gt; 3 (need to start at 1)&lt;br /&gt;
* 1 -&amp;gt; 4 -&amp;gt; 2 -&amp;gt; 3 (stops after 4 as the highest)&lt;br /&gt;
* 1a -&amp;gt; 2, 1b -&amp;gt; 2 (only 1a and 2 work, 1b is not used)&lt;br /&gt;
&lt;br /&gt;
==Moving landholders==&lt;br /&gt;
&lt;br /&gt;
It may happen that a land-holder no longer lives at the site which they are the landholder of, specifically when the current landholder dies, leaving the title to an heir living somewhere else. &lt;br /&gt;
&lt;br /&gt;
To prevent this from happening, you can make their succession from heir and make sure that their kids live at your site. Or, you can make their position succeeded by another civ position, and make it so that this civ position is somehow available on your site. But if multiple of these positions exist, it cannot be guaranteed that a citizen of your fortress will inherit the title. &lt;br /&gt;
&lt;br /&gt;
In world gen, a landholder lacking the DUTY_BOUND-token will also move to the site they like, according to legends mode.&lt;br /&gt;
&lt;br /&gt;
==Replacement by a generic civ-position==&lt;br /&gt;
&lt;br /&gt;
If a landholder is replaced by an AS_NEEDED non-landholder civ-position, then this will work: the current landholder loses that title upon settlement-elevation and gains that civ-title. However, the civ-title lacks the landholder-property of being attached to the land. It will not show the name of the settlement alongside the position's name. So no &amp;quot;minister of Shovelmounts&amp;quot;&lt;br /&gt;
&lt;br /&gt;
If a landholder is replaced by a general AS_NEEDED civ-position, that itself is also replaced by a generic AS_NEEDED civ-position, then firstly the elevation is executed and also the unit gains that new position. However, he immediately loses it, because an AS_NEEDED position that is replaced by another position can be filled initially, but units wont be able to hold that title.&lt;br /&gt;
&lt;br /&gt;
==Landholder with fixed number==&lt;br /&gt;
&lt;br /&gt;
A landholder's position that has a fixed number will be created and filled directly when the civilisation is born, so this position slot is then not available for the regular landholder-mechanic and will also not be used. That landholder will thus not be attached to a settlement. &lt;br /&gt;
&lt;br /&gt;
It doesn't matter if the landholder's position is connected to the regular landholder's-chain with the REPLACE_BY token.&lt;br /&gt;
&lt;br /&gt;
==Responsibilities==&lt;br /&gt;
&lt;br /&gt;
When given a certain [RESPONSIBILITY], a landholder may function as a regular civ-level noble. If the position has [TRADE] or [OUTPOST_NEGOTIATING] responsibilities, then the landholder functions both as a diplomat and as an actual land holder. A landholder with the [MILITARY_STRATEGY]  responsibility will travel around taming creatures in world-gen, according to legends mode. &lt;br /&gt;
&lt;br /&gt;
Besides that, the responsibilities work the same as with any other on-site living position-holder, civ or otherwise.&lt;br /&gt;
&lt;br /&gt;
=Military=&lt;br /&gt;
==Squad management==&lt;br /&gt;
In the vanilla game, the Squad interface only becomes available after a militia commander has been appointed. Until then, the window displays:{{DFtext|You must appoint somebody first to create a squad.}}&lt;br /&gt;
&lt;br /&gt;
What’s surprising is how this is determined internally. In the entity raw definition, '''only the last two positions that include a [SQUAD] token are checked''' to decide whether the interface is accessible at all. As a result, if your hierarchy defines commanders A through E, appointing '''Commander D or E''' unlocks squad formation, while appointing A–C does nothing.&lt;br /&gt;
&lt;br /&gt;
In other words, squad availability is not tied to ''having a militia commander'', but to ''which specific positions happen to be last in the raw list''—a notably hacky implementation.&lt;br /&gt;
&lt;br /&gt;
These 'last two' are always the last two '''available positions.''' So if they get [REPLACED_BY] or become available because of [REQUIRES_POPULATION], the game adapts to those.&lt;br /&gt;
&lt;br /&gt;
==Squad assignment==&lt;br /&gt;
&lt;br /&gt;
Squads can be assigned, even if the leader position has no holder.&lt;br /&gt;
&lt;br /&gt;
A specific unit can only have one position associated with a squad. If it gains another 'squad holding position', it is unassigned from the first one. This does not work with a 0-squad, so only 1+squads are taken into consideration. This technique can possibly be used to distribute all positions equally among all citizens. It does however not work with election and assumption. &lt;br /&gt;
&lt;br /&gt;
If a civ-level position is associated with a squad and it gets a site-level squad-holding position assigned, it loses the current civ-position. &lt;br /&gt;
&lt;br /&gt;
Squads can get really messed up, if you make the position (or multiple) either elected or not-elected and not-appointed, then this can cause the game to assign multiple squads to the same unit. Automatic assignment and election does not take squads into account, but the nobles screen does. This can cause the positions to be cleared as the game figures out that they have more than one position, and immediately get elected or assumed again. &lt;br /&gt;
&lt;br /&gt;
Positions that cannot have a squad-position:&lt;br /&gt;
* A site- or civ-position with a [SUCCESSION] token cannot be appointed a squad-holding-position. The other way around, however, does work. For example, if a site-position with a [SUCCESSION]-token is appointed to a unit that has already a position with [SQUAD]. But when that squad position is assigned to another unit, it cannot be assigned back. &lt;br /&gt;
* A position with [SUCCESSION] can also not be assigned as a '''member''' of a squad.&lt;br /&gt;
* A squad-holding position with a formed squad cannot be appointed to another squad holding position.&lt;br /&gt;
&lt;br /&gt;
If a position has at least one squad member, it cannot be left vacant. First, the squad has to be disbanded, then the position may be cleared.&lt;br /&gt;
&lt;br /&gt;
==0-squads==&lt;br /&gt;
A 0-Squad is defined in a position as [SQUAD:0:member:members]. It does not seem to do anything useful as of now.&lt;br /&gt;
* It cannot be used to activate the [[Squad|military interface]]&lt;br /&gt;
* It does not restrict the assignment of [SUCCESSION] positions.&lt;br /&gt;
* Assigning this position does not clear any previously held squad position.&lt;br /&gt;
* The [[Leader]] and [[Tactician]] skill are not marked as relevant skills and are not taken into account in elections.&lt;br /&gt;
* It cannot be formed as a squad.&lt;br /&gt;
&lt;br /&gt;
=Further testing=&lt;br /&gt;
The following questions may need additional testing. Feel free to add or answer&lt;br /&gt;
* Everything regarding COMMANDING and army-structure&lt;br /&gt;
** [http://www.bay12forums.com/smf/index.php?topic=175437.msg8331668#msg8331668]&lt;br /&gt;
** [http://www.bay12forums.com/smf/index.php?topic=165213.msg8335682#msg8335682]&lt;br /&gt;
** [http://www.bay12forums.com/smf/index.php?topic=174584.msg8026854#msg8026854]&lt;br /&gt;
* Stuff about the monarch, its arrival and its entourage.&lt;br /&gt;
&lt;br /&gt;
=Oddities (Bugs)=&lt;br /&gt;
Almost everything on this page could be called an oddity. Because of their unexpected usability, some may also be referred to as “undocumented features.” Others, however, are simply odd and not particularly useful, yet I hesitate to call them “bugs.”&lt;br /&gt;
* If a certain threshold is reached that makes an elected position electable, and the triggering event that initiates this evaluation is an assumption, then the resulting assumption works partially as an election. It referred to in the messages as an election and the [REJECTED_CREATURE]-token is not applied, like it is with assumptions.&lt;br /&gt;
&lt;br /&gt;
=Examples=&lt;br /&gt;
&lt;br /&gt;
===The Founder===&lt;br /&gt;
The founder is a single dwarf, appointed at embark. They will be the only one ever to have this position and are not replaceable. When they lose their position some way, the position will not be assumed by another dwarf. &lt;br /&gt;
{{gamedata|title=The Founder|&lt;br /&gt;
[POSITION:THE_FOUNDER]&lt;br /&gt;
	[NAME:the founder:founders]&lt;br /&gt;
	[NUMBER:1] &lt;br /&gt;
	[SITE]&lt;br /&gt;
	[ALLOWED_CREATURE:DWARF:ALL]		- will only be filled at embark, but not assumable later.&lt;br /&gt;
	[REJECTED_CREATURE:DWARF:ALL]		- will only be filled at embark, but not assumable later.&lt;br /&gt;
	[SUCCESSION:BY_POSITION:THE_FOUNDER]	- not unassignable, also cannot be assigned to a [SQUAD] position.&lt;br /&gt;
	[PRECEDENCE:200] &lt;br /&gt;
	Non APPOINTED_BY&lt;br /&gt;
	Non ELECTED&lt;br /&gt;
	Optional: Add responsibilities to make the game select a unit with certain skills.&lt;br /&gt;
}}&lt;br /&gt;
===Marriage bar===&lt;br /&gt;
Dwarven matrons are held in great honour. Upon marriage, a female dwarf is no longer expected to perform menial labour. All dwarven males hold this position by default, granting their spouses exemption from menial work.&lt;br /&gt;
&lt;br /&gt;
The position becomes available with the arrival of the first migrants; otherwise, on embark, it would be assumed by females. Its succession rule is non-functional, but this prevents the player from unassigning the position. A squad size of 1 and the succession rules together prevent a unit from assuming the position more than once.&lt;br /&gt;
&lt;br /&gt;
With precedence set to NONE, the position name is hidden, while LAND_NAME remains visible on the nobles screen. All married females receive the suffix “, Mrs.” and are marked as Nobles.&lt;br /&gt;
&lt;br /&gt;
The practical usefulness of this position is debatable, but it serves as a clear demonstration of several mechanics.&lt;br /&gt;
{{gamedata|title=Mrs. Urist|&lt;br /&gt;
 &lt;br /&gt;
[POSITION:MRS_URIST]	&lt;br /&gt;
	[NUMBER:300]						&lt;br /&gt;
	[SITE]						&lt;br /&gt;
	[ALLOWED_CREATURE:DWARF:MALE]	&lt;br /&gt;
	Not APPOINTED_BY				&lt;br /&gt;
	Not ELECTED&lt;br /&gt;
	[LAND_NAME:Dwarven male]				&lt;br /&gt;
	[NAME:dwarven male:dwarven male]&lt;br /&gt;
	[PRECEDENCE:NONE]					&lt;br /&gt;
	[SPOUSE_FEMALE:, Mrs.:spouses]&lt;br /&gt;
	[MENIAL_WORK_EXEMPTION_SPOUSE]&lt;br /&gt;
	[REQUIRES_POPULATION:8]			&lt;br /&gt;
	[SUCCESSION:BY_POSITION:MONARCH]&lt;br /&gt;
	[SQUAD:1:member:members]&lt;br /&gt;
}}&lt;br /&gt;
===The Archduke===&lt;br /&gt;
The archduke is the leader of the civilization, but exists only from landholder 4-level. Until then, its position remains vacant. When a settlement is elevated to tier 4 (grand duke), the grand duke can appoint the ruler of the civilisation, the archduke. Because of 'Premature Succession', they themself inherit that position immediately, but only when in fortress mode. Its heir then becomes grand duke.&lt;br /&gt;
{{gamedata|title=The Archduke| no POSITION:MONARCH or other PRECEDENCE:1 &lt;br /&gt;
&lt;br /&gt;
[POSITION:THE_ARCHDUKE]&lt;br /&gt;
	[NAME:archduke:archdukes]&lt;br /&gt;
	[NAME_MALE:archduke:archdukes]&lt;br /&gt;
	[NAME_FEMALE:archduchess:archduchesses]&lt;br /&gt;
	[LAND_NAME:a archduchy]&lt;br /&gt;
	[NUMBER:1] &lt;br /&gt;
	[PRECEDENCE:1] &lt;br /&gt;
	[SUCCESSION:BY_POSITION:GRAND_DUKE]	&lt;br /&gt;
	[APPOINTED_BY:GRAND_DUKE]&lt;br /&gt;
	(add additional monarch-stuff, like spouse name, demands etc.)&lt;br /&gt;
	&lt;br /&gt;
[POSITION:GRAND_DUKE]&lt;br /&gt;
	[NAME:grand duke:grand dukes]&lt;br /&gt;
	[NAME_MALE:grand duke:grand dukes]&lt;br /&gt;
	[NAME_FEMALE:grand duchess:grand duchesses]&lt;br /&gt;
	[NUMBER:AS_NEEDED] &lt;br /&gt;
	[LAND_HOLDER:4]&lt;br /&gt;
	// Optional ...&lt;br /&gt;
	[PRECEDENCE:19]	&lt;br /&gt;
	[LAND_NAME:a archduchy] &lt;br /&gt;
	[RESPONSIBILITY:LAW_MAKING]&lt;br /&gt;
	[RESPONSIBILITY:RECEIVE_DIPLOMATS]&lt;br /&gt;
	[SUCCESSION:BY_HEIR]&lt;br /&gt;
	[APPOINTED_BY:THE_ARCHDUKE]&lt;br /&gt;
	(add additional landholder-stuff)&lt;br /&gt;
&lt;br /&gt;
!!add to [POSITION:DUKE]&lt;br /&gt;
	[REPLACED_BY:GRAND_DUKE]&lt;br /&gt;
&lt;br /&gt;
}}&lt;br /&gt;
{{Category|Modding}}&lt;br /&gt;
{{Category|Entities}}&lt;br /&gt;
{{Category|Guides}}&lt;/div&gt;</summary>
		<author><name>Joostheger</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=Entity_token&amp;diff=315835</id>
		<title>Entity token</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=Entity_token&amp;diff=315835"/>
		<updated>2026-04-21T20:10:45Z</updated>

		<summary type="html">&lt;p&gt;Joostheger: /* Placement */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Quality|Superior}}&lt;br /&gt;
{{av}}&lt;br /&gt;
{{Modding}}&lt;br /&gt;
'''Entity tokens''' define entities, or [[civilization]]s, in entity_*.txt files.&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;[OBJECT:ENTITY]&amp;lt;/code&amp;gt; [[token]] begins the definition of an entity [[raw file]]. Each new entity definition that follows begins with the &amp;lt;code&amp;gt;[ENTITY:''entity_ID'']&amp;lt;/code&amp;gt; token, where ''entity_ID'' is a unique identifier for that entity, and the entity's properties are then specified by the use of further entity tokens; or, tokens can be added to existing entities using &amp;lt;code&amp;gt;[SELECT_ENTITY:''entity_ID'']&amp;lt;/code&amp;gt; instead.&lt;br /&gt;
&lt;br /&gt;
All known entity tokens are listed below. &lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
{{clear}}&lt;br /&gt;
&lt;br /&gt;
== Gameplay ==&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! Token&lt;br /&gt;
! Arguments&lt;br /&gt;
! Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ALL_MAIN_POPS_CONTROLLABLE}}&lt;br /&gt;
| &lt;br /&gt;
| Allows adventure mode for entities with sites.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SITE_CONTROLLABLE}}&lt;br /&gt;
| &lt;br /&gt;
| Allows fortress mode. If multiple entities have the SITE_CONTROLLABLE token, then at embark the specific civs can be chosen on the civ list screen. At least one civilization must have this token.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CREATURE}}&lt;br /&gt;
| creature&lt;br /&gt;
|The type of creature that will inhabit the civilization. If multiple creature types are specified, each civilization will randomly choose one of the creatures. In entities with multiple possible creatures, you can manipulate the chance of one creature being chosen by adding multiple identical creature tags. For instance adding [CREATURE:DWARF][CREATURE:DWARF][CREATURE:DWARF][CREATURE:ELF] to the same entity will make the civs created about 75% dwarven, 25% elven. It should be noted that civilizations are in general weighted by this token: for example, if you have one entity with three [CREATURE:DWARF] tokens and another separate entity with a single [CREATURE:ELF] token, then you can expect to see three times as many of the former placed as the latter (assuming enough unclaimed [START_BIOME:X] space remains). Note that spawn rates are also limited by unclaimed biome space - if an entity can only spawn in a rarer set of biomes (only LAKE_TROPICAL_SALTWATER for example) then their spawn rate will end up being limited by the remaining unclaimed space in that biome type rather than the number of [CREATURE:X] tokens present in the entity raw.&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SOURCE_HFID}}&lt;br /&gt;
| integer&lt;br /&gt;
| Found on generated [[angel]] entities.  Appears to draw from creatures with this HFID, which associates the entity with a historical figure of the same ID corresponding to a [[deity]].&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Placement ==&lt;br /&gt;
&lt;br /&gt;
Entity spawning during world gen is influenced by several factors:&lt;br /&gt;
* The &amp;quot;[[Advanced world generation#Number of Civilizations|Number of Civilizations]]&amp;quot; world gen setting places a hard limit on the total number of entities spawned.&lt;br /&gt;
* The &amp;quot;[[Advanced world generation#Playable Civilization Required|Playable Civilization Required]]&amp;quot; world gen setting forces at least one of each [[Entity token#SITE_CONTROLLABLE|SITE_CONTROLLABLE]] entity to spawn (presumably still limited by &amp;quot;Number of Civilizations&amp;quot;).&lt;br /&gt;
* The number of &amp;lt;nowiki&amp;gt;[&amp;lt;/nowiki&amp;gt;[[Entity token#CREATURE|CREATURE]]:X] tokens present in an entity modifies its chance of spawning. An entity containing more &amp;lt;nowiki&amp;gt;[&amp;lt;/nowiki&amp;gt;[[Entity token#CREATURE|CREATURE]]:X] tokens will spawn more often (assuming other requirements are met) and may even block entities with fewer &amp;lt;nowiki&amp;gt;[&amp;lt;/nowiki&amp;gt;[[Entity token#CREATURE|CREATURE]]:X] tokens from spawning altogether. You can use [SELECT_ENTITY:VANILLA_ENTITY_X] followed by any number of duplicate &amp;lt;nowiki&amp;gt;[&amp;lt;/nowiki&amp;gt;[[Entity token#CREATURE|CREATURE]]:VANILLA_CREATURE_X] tokens to attempt to balance the spawn rates of the existing vanilla entities with any custom multi-creature entities you may add.&lt;br /&gt;
* The number of unclaimed [[Entity token#START_BIOME|START_BIOME]] or [[Entity token#EXCLUSIVE_START_BIOME|EXCLUSIVE_START_BIOME]] tiles remaining in the world limits the spawn rate for an entity and allows entities to block each other's spawns. If there is no &amp;quot;starting&amp;quot; [[Biome token|biome]] space left for an entity then it will not spawn and the game will try to spawn a different entity instead. This means that, on average, an entity that can start in ALL_MAIN [[Biome token|biomes]] will spawn more frequently than one that can start only in LAKE_TROPICAL_SALTWATER [[Biome token|biomes]]. This also means that entities whose starting [[Biome token|biomes]] do not overlap will not block each other's spawns.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! Token&lt;br /&gt;
! Arguments&lt;br /&gt;
! Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|BIOME_SUPPORT}}&lt;br /&gt;
|&lt;br /&gt;
* [[Biome token|biome]]&lt;br /&gt;
* frequency&lt;br /&gt;
| Controls the expansion of the civilization's territory.  The higher the number is relative to other BIOME_SUPPORT tokens in the entity, the faster it can spread through the biome.  These numbers are evaluated relative to each other, i.e. if one biome is 1 and the other is 2, the spread will be the same as if one was 100 and the other was 200.  Civs can spread out over biomes they cannot actually build in; for example, humans spread quickly over oceans but cannot actually build in them.&lt;br /&gt;
[BIOME_SUPPORT:ANY_GRASSLAND:4]&lt;br /&gt;
&lt;br /&gt;
The first entry of biome support should be the Start biome, as mentioned in [START_BIOME] or [EXCLUSIVE_START_BIOME], otherwise no other settlements after the first one are founded.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SETTLEMENT_BIOME}}&lt;br /&gt;
| [[Biome token|biome]]&lt;br /&gt;
| If the civ's territory crosses over this biome, it can build settlements here.&lt;br /&gt;
[SETTLEMENT_BIOME:ANY_GRASSLAND]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|START_BIOME}}&lt;br /&gt;
| [[Biome token|biome]]&lt;br /&gt;
| Combination of EXCLUSIVE_START_BIOME and SETTLEMENT_BIOME; allows the civ to start in and create settlements in the biome. Note that the civ's spawn rate may be limited if all of its START or EXCLUSIVE_START biome(s) are rare in the world or have already been fully occupied by other civ spawns.&lt;br /&gt;
[START_BIOME:ANY_FOREST]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|EXCLUSIVE_START_BIOME}}&lt;br /&gt;
| [[Biome token|biome]]&lt;br /&gt;
| The birth of the civilization can occur in this biome, but cannot (necessarily) build in it. If the civ does not have SETTLEMENT_BIOME or START_BIOME for the biome in question, it will only construct a single settlement there. Note that the civ's spawn rate may be limited if all of its START or EXCLUSIVE_START biome(s) are rare in the world or have already been fully occupied by other civ spawns.&lt;br /&gt;
[EXCLUSIVE_START_BIOME:MOUNTAIN]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|DEFAULT_SITE_TYPE}}&lt;br /&gt;
| site type&lt;br /&gt;
| Valid site types are DARK_FORTRESS (π), CAVE (•), CAVE_DETAILED (Ω), TREE_CITY (î), and CITY (#). Also recognizes PLAYER_FORTRESS  (creates a civ of hillocks only, that however do not contain any structures, when visited in adventure mode), and MONUMENT (creates a civ without visible sites (except tombs and castles), but may cause worldgen crashes). FORTRESS is no longer a valid entry, castles are currently controlled by BUILDS_OUTDOOR_FORTIFICATIONS. Defaults to CITY. Selecting CAVE causes the classic kobold behavior of not showing up on the &amp;quot;neighbors&amp;quot; section of the site selection screen.&lt;br /&gt;
Selecting DARK_FORTRESS also allows generation of [[underworld spire|certain other structures]]. It also gives the civ a [[demon|special overlord]]. DARK_FORTRESS may cause crashes during world gen at &amp;quot;Placing civilizations... (0)&amp;quot; if it combined with entity tokens that the vanilla ENTITY:EVIL does not use (likely the POSITION related tokens see [https://www.bay12forums.com/smf/index.php?topic=175747.0 this forum post]).&lt;br /&gt;
CAVE_DETAILED civilizations will create fortresses in mountainous regions and hillocks in non-mountainous regions. [DEFAULT_SITE_TYPE:CAVE_DETAILED]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|LIKES_SITE}}&lt;br /&gt;
| site type&lt;br /&gt;
| Most residents will try to move to this site type, unless already at one.&lt;br /&gt;
[LIKES_SITE:CAVE_DETAILED]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TOLERATES_SITE}}&lt;br /&gt;
| site type&lt;br /&gt;
| Some residents will try to move to this site type, unless already at one.&lt;br /&gt;
[TOLERATES_SITE:CITY]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|WORLD_CONSTRUCTION}}&lt;br /&gt;
| construction&lt;br /&gt;
| Controls which constructions the civ will build on the world map. Valid constructions are ROAD, TUNNEL, BRIDGE, and WALL.&lt;br /&gt;
[WORLD_CONSTRUCTION:BRIDGE]&lt;br /&gt;
[WORLD_CONSTRUCTION:ROAD]&lt;br /&gt;
[WORLD_CONSTRUCTION:TUNNEL]&lt;br /&gt;
[WORLD_CONSTRUCTION:WALL]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Population ==&lt;br /&gt;
&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! Token&lt;br /&gt;
! Arguments&lt;br /&gt;
! Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MAX_POP_NUMBER}}&lt;br /&gt;
| number&lt;br /&gt;
| Max '''historical''' population '''per entity'''. Multiply this by max starting civ to get the total maximum historical population of the species. Defaults to 500, but all vanilla entities use 10,000, except skulking uses 2,000. Does not limit the '''total''' population, but it will prevent new settlements upon reaching the number.&lt;br /&gt;
[MAX_POP_NUMBER:10000]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MAX_SITE_POP_NUMBER}}&lt;br /&gt;
| number &lt;br /&gt;
| Max historical population per individual site. Defaults to 50, but all the vanilla entities use 120.&lt;br /&gt;
[MAX_SITE_POP_NUMBER:120]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MAX_STARTING_CIV_NUMBER}}&lt;br /&gt;
| number&lt;br /&gt;
| Max number of civilizations of this entity type to spawn at world generation, which picks entities in some sequential order from the raws, looping through the list as needed. This is a hard limit, if set to 1, only 1 civilization of this type will be placed. If all entities have reached their limit, world generation will not try to place any more, even if its own [[Advanced_world_generation#Number_of_Civilizations|total limit]] has not been reached, and will continue on. Defaults to 3, but all vanilla entities use 100 (essentially unlimited).&lt;br /&gt;
[MAX_STARTING_CIV_NUMBER:100]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Flavor ==&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! Token&lt;br /&gt;
! Arguments&lt;br /&gt;
! Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PERMITTED_BUILDING}}&lt;br /&gt;
| building name &lt;br /&gt;
| The named, custom building can be built by a civilization in Fortress Mode.&lt;br /&gt;
[PERMITTED_BUILDING:SOAP_MAKER]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PERMITTED_JOB}}&lt;br /&gt;
| [[Unit type token|profession]]&lt;br /&gt;
| Allows this job type to be selected. This applies to worldgen creatures, in the embark screen, and in play. Certain professions also influence the availability of materials for trade.&lt;br /&gt;
[PERMITTED_JOB:MINER]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PERMITTED_REACTION}}&lt;br /&gt;
| reaction name &lt;br /&gt;
| Allows this reaction to be used by a civilization. It is used primarily in Fortress Mode, but also allows certain resources, such as [[steel]], to be available to a race. When creating custom reactions, this token '''must''' be present or the player will not be able to use the reaction in Fortress Mode.&lt;br /&gt;
[PERMITTED_REACTION:TAN_A_HIDE]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CURRENCY_BY_YEAR}}&lt;br /&gt;
| &lt;br /&gt;
| Causes the civ's currency to be numbered with the year it was minted.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CURRENCY}}&lt;br /&gt;
|&lt;br /&gt;
* inorganic material&lt;br /&gt;
* value&lt;br /&gt;
| What kind of metals the civ uses for coin minting, as well as the value of the [[coin]]. Only effective in Adventurer mode due to lack of [[dwarven economy]].&lt;br /&gt;
&lt;br /&gt;
[CURRENCY:SILVER:5]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ART_FACET_MODIFIER}}&lt;br /&gt;
|&lt;br /&gt;
* type&lt;br /&gt;
* number&lt;br /&gt;
| OWN_RACE, FANCIFUL, EVIL, GOOD&lt;br /&gt;
Number goes from 0 to 25600 where 256 is the default.&lt;br /&gt;
[ART_FACET_MODIFIER:OWN_RACE:512]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ART_IMAGE_ELEMENT_MODIFIER}}&lt;br /&gt;
|&lt;br /&gt;
* item&lt;br /&gt;
* number&lt;br /&gt;
| CREATURE, PLANT, TREE, SHAPE, ITEM&amp;lt;br /&amp;gt;0-25600&lt;br /&gt;
&lt;br /&gt;
Determines the chance of each image occurring in that entity's artwork, such as engravings and on artifacts, for default (non-historical) artwork.&lt;br /&gt;
&lt;br /&gt;
[ART_IMAGE_ELEMENT_MODIFIER:TREE:512]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ITEM_IMPROVEMENT_MODIFIER}}&lt;br /&gt;
|&lt;br /&gt;
* item&lt;br /&gt;
* number&lt;br /&gt;
| ART_IMAGE, COVERED or GLAZED, RINGS_HANGING, BANDS, SPIKES, ITEMSPECIFIC, THREAD, CLOTH, SEWN_IMAGE.&amp;lt;br /&amp;gt;Also available, but effect unknown: PAGES, ILLUSTRATION, INSTRUMENT_PIECE, WRITING, IMAGE_SET, COLORATION.&amp;lt;br /&amp;gt;0-25600&lt;br /&gt;
&lt;br /&gt;
Determines the chance of the entity using that particular artwork method, such as &amp;quot;encircled with bands&amp;quot; or &amp;quot;menaces with spikes&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[ITEM_IMPROVEMENT_MODIFIER:SPIKES:0]&lt;br /&gt;
&lt;br /&gt;
This also seems to change the amount that the entity will pay for items that are improved in these ways in their tokens.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TRANSLATION}}&lt;br /&gt;
| language&lt;br /&gt;
| What language raw the entity uses.&lt;br /&gt;
* If an entity lacks this tag, translations are drawn randomly from all translation files. Multiple translation tags will only result in the last one being used. Migrants will sometimes arrive with no name.&lt;br /&gt;
* If GEN_DIVINE is entered, the entity will use a generated divine language, that is, the same language that is used for the names of [[angel]]s.&lt;br /&gt;
* If the entity's main creature has {{token|UTTERANCES|c}}, then this token will be ignored (except when using the naming menu) in favor of procedural [[kobold]]-style [[Kobold language|pseudolanguage]].&lt;br /&gt;
[TRANSLATION:DWARF]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SELECT_SYMBOL}}&lt;br /&gt;
|&lt;br /&gt;
* category&lt;br /&gt;
* [[language#language_SYM.txt|symbol]]&lt;br /&gt;
| ALL, REMAINING, BATTLE, BRIDGE, CIV, CRAFT_GUILD, FESTIVAL (doesn't work, see below), HOSPITAL, LIBRARY, MERCHANT_COMPANY, MILITARY_UNIT, OTHER, RELIGION, ROAD, SIEGE, SITE, TEMPLE, TUNNEL, VESSEL, WALL, WAR&lt;br /&gt;
The entity will always use a word from the selected symbol(s) to generate names from that category.&lt;br /&gt;
* OTHER applies the symbol selection to personal names and site names. REMAINING will apply the symbol selection to all categories that have not already been declared above it.&lt;br /&gt;
* Specific to SELECT_SYMBOL, symbols selected this way will be used as &amp;quot;The X&amp;quot; in &amp;quot;The X of Y&amp;quot; names, and nouns from selected symbols can be used as first [[name]]s.&lt;br /&gt;
* FESTIVAL does not work. The game uses symbol NAME_FESTIVAL hardcoded. You may consider changing that symbol (with SELECT_SYMBOL), but then it's applied for all entities.&lt;br /&gt;
&lt;br /&gt;
[SELECT_SYMBOL:ALL:PEACE]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SUBSELECT_SYMBOL}}&lt;br /&gt;
|&lt;br /&gt;
* category&lt;br /&gt;
* [[language#language_SYM.txt|symbol]]&lt;br /&gt;
| As SELECT_SYMBOL, a word from the subselected symbol(s) will be used in names of that category, in addition to the word from SELECT_SYMBOL (if specified). Used in vanilla to put violent names in sieges and battles.&lt;br /&gt;
* Words chosen with SUBSELECT_SYMBOL will appear as either adjectives or &amp;quot;of Y&amp;quot; in &amp;quot;The X of Y&amp;quot; names.&lt;br /&gt;
* CULL_SYMBOL does not affect subselected symbols.&lt;br /&gt;
&lt;br /&gt;
[SELECT_SYMBOL:SIEGE:NAME_SIEGE]&lt;br /&gt;
&lt;br /&gt;
[SUBSELECT_SYMBOL:SIEGE:VIOLENT]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CULL_SYMBOL}}&lt;br /&gt;
|&lt;br /&gt;
* category&lt;br /&gt;
* [[Language#language_SYM.txt|symbol]]&lt;br /&gt;
| Causes the entity to not use the words in these SYM sets.&lt;br /&gt;
[CULL_SYMBOL:ALL:UGLY]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|FRIENDLY_COLOR}}&lt;br /&gt;
| see [[color]]&lt;br /&gt;
|&lt;br /&gt;
The color of this entity's civilization settlements in the world gen and embark screens, also used when announcing arrival of their caravan. Defaults to 7:0:1.&lt;br /&gt;
&lt;br /&gt;
[FRIENDLY_COLOR:1:0:1]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Religion ==&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! Token&lt;br /&gt;
! Arguments&lt;br /&gt;
! Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|RELIGION}}&lt;br /&gt;
| type&lt;br /&gt;
|&lt;br /&gt;
* REGIONAL_FORCE: The creatures will worship a single force associated with the terrain of their initial biome.&lt;br /&gt;
* PANTHEON: The creatures will worship a group of gods, each aligned with their spheres and other appropriate ones as well.&lt;br /&gt;
&lt;br /&gt;
Can be specified multiple times, and will pick randomly from the assigned types. Additional instances of each type will weight the random choice, but unlike {{token|CREATURE|e}}, will not make the entity more likely to spawn.&lt;br /&gt;
&lt;br /&gt;
[RELIGION:PANTHEON]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|RELIGION_SPHERE}}&lt;br /&gt;
| [[Sphere#Available_spheres|sphere]]&lt;br /&gt;
| Can be any available [[sphere]] - multiple entries are possible. Choosing a religious sphere will automatically make its opposing sphere not possible for the species to have: adding [[Sphere#WATER|WATER]], for example, means civs of this entity will never get [[Sphere#FIRE|FIRE]] as a religious sphere. Note that the [[Sphere#DEATH|DEATH]] sphere favours the appearance of necromancers (and therefore, towers) &amp;quot;in&amp;quot; the entity.&lt;br /&gt;
&lt;br /&gt;
[RELIGION_SPHERE:FORTRESSES]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SPHERE_ALIGNMENT}}&lt;br /&gt;
|&lt;br /&gt;
* [[Sphere#Available_spheres|sphere]]&lt;br /&gt;
* number&lt;br /&gt;
|&lt;br /&gt;
This token forces an entity to favor or disfavor particular religious spheres. Default is 256, minimum is 0, maximum is 25600.&lt;br /&gt;
* Presently, this doesn't cause them to acquire those spheres more often when generating a pantheon.&lt;br /&gt;
* [[Sphere#PLANTS|PLANTS]] and [[Sphere#ANIMALS|ANIMALS]] affect the prevalence of depicting {{token|VEGETATION}} and {{token|NATURAL}} creatures, respectively, in a similar fashion to {{token|ART_FACET_MODIFIER|e}}. &lt;br /&gt;
* [[Sphere#WAR|WAR]] modifies the effective [[item value]] of [[weapon]]s and [[armor]] to [[trader]]s of this entity. The multiplier is SPHERE_ALIGNMENT/256, though this only applies to equipment the entity's main creature can properly wield.&lt;br /&gt;
&lt;br /&gt;
[SPHERE_ALIGNMENT:TREES:512]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Leadership ==&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! Token&lt;br /&gt;
! Arguments&lt;br /&gt;
! Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|POSITION}}&lt;br /&gt;
| string&lt;br /&gt;
| Defines a leader/noble position for a civilization. These replace previous tags such as [MAYOR] and [CAN_HAVE_SITE_LEADER] and so on. To define a position further, see [[Position token]].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SITE_VARIABLE_POSITIONS}}&lt;br /&gt;
| Position responsibility or ALL&lt;br /&gt;
| Allows a site responsibility to be taken up by a dynamically generated position (lords, hearthpersons, etc.). Any defined positions holding a given responsibility will take precedence over generated positions for that responsibility. Also appears to cause site disputes.{{Verify}} See also: [[variable positions]]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|VARIABLE_POSITIONS}}&lt;br /&gt;
| Position responsibility or ALL&lt;br /&gt;
| Allows a responsibility to be taken up by a dynamically generated position (such as Law-maker). Any defined positions holding a given responsibility will take precedence over generated positions for that responsibility. See also: [[variable positions]]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Behavior ==&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! Token&lt;br /&gt;
! Arguments&lt;br /&gt;
! Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ETHIC}}&lt;br /&gt;
| &lt;br /&gt;
*behavior&lt;br /&gt;
*reaction&lt;br /&gt;
| Sets the civ's view of [[ethic]]s (certain behaviors), from capital punishment to completely acceptable. This also causes the civ to look upon opposing ethics with disfavor if their reaction to it is opposing, and when at extremes (one ACCEPTABLE, another civ UNTHINKABLE; for example) they will often go to war over it.&lt;br /&gt;
[ETHIC:EAT_SAPIENT_KILL:ACCEPTABLE]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|VALUE}}&lt;br /&gt;
| &lt;br /&gt;
*value&lt;br /&gt;
*number&lt;br /&gt;
| Sets the civ's [[Personality value|cultural values]]. Numbers range from -50 (complete anathema) to 0 (neutral) to 50 (highly valued).&lt;br /&gt;
[VALUE:CRAFTSMANSHIP:50]&lt;br /&gt;
&lt;br /&gt;
Certain values must be set to 15 or more for civs to create structures and form entities during history gen:&lt;br /&gt;
* 15+ KNOWLEDGE for libraries&lt;br /&gt;
* 15+ COOPERATION ''and'' 15+ CRAFTSMANSHIP for craft guilds&lt;br /&gt;
** Guilds also need guild-valid professions (see [[#PERMITTED_JOB|PERMITTED_JOB]])&lt;br /&gt;
&lt;br /&gt;
If the positions of an entity are variable (and include the CUSTOM_OFFICIAL_1), then CUNNING &amp;gt; 10 is needed for the CUSTOM_OFFICIAL_1 to have the espionage responsibility.&lt;br /&gt;
&lt;br /&gt;
Also note that the values of a civ can deviate from the fixed values set in the raws, if the civ is able to make libraries. See [[Library#Adventure mode|here]] for more details.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|VARIABLE_VALUE}}&lt;br /&gt;
|&lt;br /&gt;
*value or ALL&lt;br /&gt;
*min&lt;br /&gt;
*max&lt;br /&gt;
| Makes values randomized rather than specified.&lt;br /&gt;
This tag overrides the VALUE tag. Using [VARIABLE_VALUE:ALL:x:y] and then overwriting single values with further [VARIABLE_VALUE:value:x:y] tags works.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|WILL_ACCEPT_TRIBUTE}}&lt;br /&gt;
| &lt;br /&gt;
| Makes the civ's traders accept offered goods.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|WANDERER}}, {{text anchor|BEAST_HUNTER}}, {{text anchor|SCOUT}}, {{text anchor|MERCENARY}}&lt;br /&gt;
| &lt;br /&gt;
| The civ will send out these sorts of adventurers in worldgen, which seems to increase Tracker skill. These types of adventurers will sometimes be seen leading a battle (instead of war leaders or generals) in remote locations during world-gen, in charge of the defenders.&lt;br /&gt;
&lt;br /&gt;
Mercenaries and monster hunters from the civ may visit player's fortress and petition for residency there to enlist in the military or hunt monsters in caverns, respectively.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ABUSE_BODIES}}&lt;br /&gt;
| &lt;br /&gt;
| The civilization will mutilate bodies when they are the victors in history-gen warfare, such as hanging bodies from trees, putting them on spikes, and so forth. Adventurers killed in Adventurer mode will sometimes be impaled on spikes wherever they died, with or without this token, and regardless of whether they actually antagonized the townspeople.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ACTIVE_SEASON}}&lt;br /&gt;
| season&lt;br /&gt;
| The season when the civ is most active: when they will trade, interact with you via diplomats, and/or invade you. Civs can have multiple season entries. Note: If multiple caravans arrive at the same time, you are able to select which civ to trade with at the depot menu. ACTIVE_SEASON tags may be changed for a currently active fort.&lt;br /&gt;
[ACTIVE_SEASON:AUTUMN]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|AMBUSHER}}&lt;br /&gt;
| &lt;br /&gt;
| When invading, sneaks around and shoots at straggling members of your society. They will spawn on the edge of the map and will only be visible when one of their party are spotted; this can be quite dangerous to undefended trade depots. If the civilization also has the SIEGER token, they will eventually ramp it up to less subtle means of warfare.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|AT_PEACE_WITH_WILDLIFE}}&lt;br /&gt;
|&lt;br /&gt;
| Will not attack wildlife, and will not be attacked by them, even if you have them in your party. This can be somewhat disconcerting when attacked by bears in the forest, and your elven ally sits back and does nothing. Additionally, this token determines if the entity can settle in savage biomes.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|BABYSNATCHER}}&lt;br /&gt;
|&lt;br /&gt;
| Sends thieves to steal babies. Without this tag (or AMBUSHER, or ITEM_THIEF), enemy civs will only siege (if capable), and will siege as early as they would otherwise babysnatch. This can happen as early as the first year of the fort! In addition, babysnatcher civs will snatch children during worldgen, allowing them to become part of the civ if they do not escape. Also causes this civ to be hostile to any entity without this token.&lt;br /&gt;
&lt;br /&gt;
Note: If the playable civ in fortress mode has this tag (e.g. you add BABYSNATCHER to the dwarf entity) then the roles will be reversed and elves and humans will siege and ambush and goblins will be friendly to you. However, animals traded away to one's own caravan will count as snatched, reported upon the animal leaving the map, and the animal will not count as having been exported.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|BUILDS_OUTDOOR_FORTIFICATIONS}}&lt;br /&gt;
| &lt;br /&gt;
| Makes the civilization build castles from [[mead hall]]s. Only functions when the type of site built is a hamlet/town. This, combined with the correct type of [[position token|position]] associated with a site, is why adventurers can only lay claim to human sites. {{bug|8001}}&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|BUILDS_OUTDOOR_TOMBS}}&lt;br /&gt;
| &lt;br /&gt;
| Makes the civilization build tombs.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|BANDITRY}}&lt;br /&gt;
| percentage&lt;br /&gt;
| Sets a percentage of the entity population to be used as bandits.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|DIPLOMAT_BODYGUARDS}}&lt;br /&gt;
|&lt;br /&gt;
| Visiting diplomats are accompanied by a pair of soldiers.&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|GENERATED}}&lt;br /&gt;
|&lt;br /&gt;
| Found on generated divine &amp;quot;HF Guardian Entities&amp;quot;.  Cannot be used in user-defined raws.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|INVADERS_IGNORE_NEUTRALS}}&lt;br /&gt;
|&lt;br /&gt;
| Causes invaders to ignore visiting caravans and other neutral creatures.{{verify}}&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ITEM_THIEF}}&lt;br /&gt;
|&lt;br /&gt;
| Sends thieves to steal items. This will also occur in history generation, and thieves will have the &amp;quot;thief&amp;quot; profession. Items stolen in history gen will be scattered around that creature's home. Also causes that civ to be hostile to any entity without this token. Without this tag (or AMBUSHER, or BABYSNATCHER), enemy civs will only siege (if capable), and will siege as early as they would otherwise steal.&lt;br /&gt;
&lt;br /&gt;
Note: If the playable civ in Fortress Mode has this tag (e.g. you add ITEM_THIEF to the Dwarf entity) then the roles will be reversed and elves and humans will siege and ambush and kobolds will be friendly to you. However, ALL items traded away to one's own caravan will count as stolen, reported when the items leave the map, and the stolen items will not count as exported.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|LOCAL_BANDITRY}}&lt;br /&gt;
|&lt;br /&gt;
| Causes the entity to send out patrols that can ambush adventurers. Said patrols will be hostile to any adventurers they encounter, regardless of race or nationality.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MERCHANT_BODYGUARDS}}&lt;br /&gt;
|&lt;br /&gt;
| Caravan merchants are accompanied by soldiers.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MERCHANT_NOBILITY}}&lt;br /&gt;
|&lt;br /&gt;
| Merchants will engage in cross-civ trading and form companies.&lt;br /&gt;
&lt;br /&gt;
In previous versions, this resulted in the civ having a Guild Representative / Merchant Baron / Merchant Prince, but now this is controlled solely by positions.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PROGRESS_TRIGGER_POPULATION}}&lt;br /&gt;
| level&lt;br /&gt;
| 0 to 5, civ will come to site once population at site has reached that level. If multiple progress triggers exist for a civ, it will come when any one of them is fulfilled instead of waiting for all of them to be reached. A value of 0 disables the trigger. 1 corresponds to 20 dwarves, 2 to 50 dwarves, 3 to 80, 4 to 110, and 5 to 140. Progress triggers may be changed, added, or deleted for a currently active fort. Note: hostile civs require that this be fulfilled as well as at least one other non-siege trigger before visiting for non-siege activities.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PROGRESS_TRIGGER_PRODUCTION}}&lt;br /&gt;
| level&lt;br /&gt;
| 0 to 5, civ will come to site once created wealth has reached that level. If multiple progress triggers exist for a civ, it will come when any one of them is fulfilled instead of waiting for all of them to be reached. A value of 0 disables the trigger. 1 corresponds to 5000☼ created wealth, 2 to 25000☼, 3 to 100000☼, 4 to 200000☼, and 5 to 300000☼. Progress triggers may be changed, added, or deleted for a currently active fort.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PROGRESS_TRIGGER_TRADE}}&lt;br /&gt;
| level&lt;br /&gt;
| 0 to 5, civ will come to site once exported goods has reached that level. If multiple progress triggers exist for a civ, it will come when any one of them is fulfilled instead of waiting for all of them to be reached. A value of 0 disables the trigger. 1 corresponds to 500☼ exported wealth, 2 to 2500☼, 3 to 10000☼, 4 to 20000☼, and 5 to 30000☼. Progress triggers may be changed, added, or deleted for a currently active fort.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PROGRESS_TRIGGER_POP_SIEGE}}&lt;br /&gt;
| level&lt;br /&gt;
| 0 to 5, civ will begin to send sieges against the player civ when this level is reached if it is hostile.&lt;br /&gt;
&lt;br /&gt;
If multiple progress triggers exist for a civ, it will come when any one of them is fulfilled instead of waiting for all of them to be reached. A value of 0 disables the trigger.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PROGRESS_TRIGGER_PROD_SIEGE}}&lt;br /&gt;
| level&lt;br /&gt;
| 0 to 5, civ will begin to send sieges against the player civ when this level is reached if it is hostile.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PROGRESS_TRIGGER_TRADE_SIEGE}}&lt;br /&gt;
| level&lt;br /&gt;
| 0 to 5, civ will begin to send sieges against the player civ when this level is reached if it is hostile.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SIEGER}}&lt;br /&gt;
|&lt;br /&gt;
| Will start campfires and wait around at the edge of your map for a month or two before rushing in to attack. This will occur when the progress triggers for sieging are reached. If the civ lacks smaller methods of conflict (AMBUSHER, BABYSNATCHER, ITEM_THIEF), they will instead send smaller-scale sieges when their triggers for &amp;quot;first contact&amp;quot; are reached.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SIEGE_SKILLED_MINERS}}{{v|53.01}}&lt;br /&gt;
|&lt;br /&gt;
| Improves the skill of [[miner]] invaders by a factor of 5. Used for [[dwarves]] in vanilla.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SITE_GUARDIAN}}&lt;br /&gt;
|&lt;br /&gt;
| Guards certain special sites, such as a [[vault]] belonging to a [[demon]] allied with a [[deity]].  Used in generated divine entities. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SKULKING}}&lt;br /&gt;
|&lt;br /&gt;
| This makes the severity of attacks depend on the extent of item/baby thievery rather than the passage of time. Designed to go with ITEM_THIEF, may or may not work with BABYSNATCHER.  Prevents the civ from engaging in diplomacy or ending up at war.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TREE_CAP_DIPLOMACY}}&lt;br /&gt;
|&lt;br /&gt;
| Visiting diplomats impose tree cutting quotas; without this, they will simply compliment your fortress and leave. Also causes the diplomat to make unannounced first contact at the very beginning of the first spring after your fortress becomes a land holder.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|LAYER_LINKED}}&lt;br /&gt;
| &lt;br /&gt;
| Defines if a civilization is a hidden subterranean entity, such as [[bat man]] civilizations. May spawn in any of the three caverns; cavern dweller raids due to [[agitation]] will pull from these. If you embark as this civ, you have access to pets and trees from all three layers, not only the first. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|GENERATE_KEYBOARD_INSTRUMENTS}}, {{text anchor|GENERATE_PERCUSSION_INSTRUMENTS}}, {{text anchor|GENERATE_STRINGED_INSTRUMENTS}}, {{text anchor|GENERATE_WIND_INSTRUMENTS}}, {{text anchor|GENERATE_DANCE_FORMS}}, {{text anchor|GENERATE_MUSICAL_FORMS}}, {{text anchor|GENERATE_POETIC_FORMS}}&lt;br /&gt;
|&lt;br /&gt;
| Makes civilizations generate the given instruments/forms.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SCHOLAR}}&lt;br /&gt;
| scholar type&lt;br /&gt;
| ALL, ASTRONOMER, CHEMIST, DOCTOR, ENGINEER, GEOGRAPHER, HISTORIAN, MATHEMATICIAN, NATURALIST, PHILOSOPHER&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SET_SCHOLARS_ON_VALUES_AND_JOBS}}&lt;br /&gt;
|&lt;br /&gt;
| Generates scholars based on the values generated with the VARIABLE_VALUE tag.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NO_ARTIFACT_CLAIMS}}&lt;br /&gt;
|&lt;br /&gt;
| Used for kobolds.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MINING_UNDERWORLD_DISASTERS}}&lt;br /&gt;
|&lt;br /&gt;
| The civilization can breach the [[Underworld]] during world generation, spawning a civilization of {{token|EVIL}} creatures lead by a unique [[demon]].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MYTHICAL}}{{version|51.01-beta26}}&lt;br /&gt;
|&lt;br /&gt;
| Builds [[mysterious dungeon]]s.&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Available resources ==&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! Token&lt;br /&gt;
! Arguments&lt;br /&gt;
! Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|AMMO}}&lt;br /&gt;
| item token&lt;br /&gt;
| Used after a ranged weapon type.&lt;br /&gt;
[AMMO:ITEM_AMMO_BOLTS]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ARMOR}}&lt;br /&gt;
|&lt;br /&gt;
* item token&lt;br /&gt;
* rarity&lt;br /&gt;
| Rarity is optional, and valid values are FORCED, COMMON, UNCOMMON, and RARE (anything else is treated as COMMON). FORCED items will be available 100% of the time, COMMON items 50%, UNCOMMON items 10%, and RARE items 1%. If certain armor types are lacking after performing one pass of randomised checks, the game will repeat random checks until an option is successfully chosen.&lt;br /&gt;
[ARMOR:ITEM_ARMOR_PLATEMAIL:COMMON]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|DIGGER}}&lt;br /&gt;
| item token&lt;br /&gt;
| Causes the selected weapon to fall under the &amp;quot;digging tools&amp;quot; section of the embark screen. Also forces the weapon to be made out of metal, which can cause issues if a modded entity has access to picks without access to metal - for those cases, listing the pick under the [WEAPON] token works just as well. Note that this tag is neither necessary nor sufficient to allow use of that item as a mining tool – for that, the item itself needs to be a weapon with {{token|SKILL|wp|MINING}}.&lt;br /&gt;
[DIGGER:ITEM_WEAPON_PICK]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|GLOVES}}&lt;br /&gt;
|&lt;br /&gt;
* item token&lt;br /&gt;
* rarity&lt;br /&gt;
| Rarity is optional, and valid values are FORCED, COMMON, UNCOMMON, and RARE (anything else is treated as COMMON). Uses the same rarity values and methods as outlined in ARMOR.&lt;br /&gt;
[GLOVES:ITEM_GLOVES_GLOVES:COMMON]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|HELM}}&lt;br /&gt;
|&lt;br /&gt;
* item token&lt;br /&gt;
* rarity&lt;br /&gt;
| Rarity is optional, and valid values are FORCED, COMMON, UNCOMMON, and RARE (anything else is treated as COMMON). Uses the same rarity values and methods as outlined in ARMOR.&lt;br /&gt;
[HELM:ITEM_HELM_HELM:COMMON]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|INSTRUMENT}}&lt;br /&gt;
| item token&lt;br /&gt;
| No longer used due to the ability to generate instruments in world generation. It is still usable if pre-defined instruments are modded in, and generated musical forms are capable of selecting pre-defined instruments to use. However, reactions for making instruments, instrument parts, and/or assembling such instruments need to be added as well, as this token no longer adds such instruments to the craftdwarf's workshop menu.&lt;br /&gt;
[INSTRUMENT:ITEM_INSTRUMENT_FLUTE]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PANTS}}&lt;br /&gt;
|&lt;br /&gt;
* item token&lt;br /&gt;
* rarity&lt;br /&gt;
| Rarity is optional, and valid values are FORCED, COMMON, UNCOMMON, and RARE (anything else is treated as COMMON). Uses the same rarity values and methods as outlined in ARMOR.&lt;br /&gt;
[PANTS:ITEM_PANTS_PANTS:COMMON]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SHIELD}}&lt;br /&gt;
| item token&lt;br /&gt;
|&lt;br /&gt;
[SHIELD:ITEM_SHIELD_SHIELD]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SHOES}}&lt;br /&gt;
|&lt;br /&gt;
* item token&lt;br /&gt;
* rarity&lt;br /&gt;
| Rarity is optional, and valid values are FORCED, COMMON, UNCOMMON, and RARE (anything else is treated as COMMON). Uses the same rarity values and methods as outlined in ARMOR.&lt;br /&gt;
[SHOES:ITEM_SHOES_SHOES:COMMON]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SIEGEAMMO}}&lt;br /&gt;
| item token&lt;br /&gt;
|&lt;br /&gt;
[SIEGEAMMO:ITEM_SIEGEAMMO_BALLISTA]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TOOL}}&lt;br /&gt;
| item token&lt;br /&gt;
|&lt;br /&gt;
[TOOL:ITEM_TOOL_NEST_BOX]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TOY}}&lt;br /&gt;
| item token&lt;br /&gt;
|&lt;br /&gt;
[TOY:ITEM_TOY_PUZZLEBOX]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TRAPCOMP}}&lt;br /&gt;
| item token&lt;br /&gt;
|&lt;br /&gt;
[TRAPCOMP:ITEM_TRAPCOMP_GIANTAXEBLADE]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|WEAPON}}&lt;br /&gt;
| item token&lt;br /&gt;
| While this does not accept a rarity value, something similar can be achieved by having multiple variations of a weapon type with small differences and specifying each of them.{{cite forum|179547}}&lt;br /&gt;
[WEAPON:ITEM_WEAPON_AXE_BATTLE]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|USE_ANIMAL_PRODUCTS}}&lt;br /&gt;
|&lt;br /&gt;
| Allows use of products made from animals. All relevant creatures will be able to provide wool, silk, and extracts (including milk and venom) for trade, and non-sentient creatures (unless ethics state otherwise) will be able to provide eggs, caught fish, meat, leather, bone, shell, pearl, horn, and ivory.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|USE_ANY_PET_RACE}}&lt;br /&gt;
|&lt;br /&gt;
| Any creature in the civilization's list of usables (from the surrounding 7x7 or so of squares and map features in those squares) will be included in the initial usable creature list, which then gets pared down or otherwise considered. Without this, only common domestic and equipment creatures are added to the initial list.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|USE_CAVE_ANIMALS}}&lt;br /&gt;
|&lt;br /&gt;
| If they don't have it, creatures with exclusively subterranean biomes are skipped. If they have it, cave creatures will be included in the initial usable creature list.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|USE_EVIL_ANIMALS}}&lt;br /&gt;
|&lt;br /&gt;
| Without this, {{token|EVIL|c}} creatures are skipped, otherwise, evil creatures with {{token|SLOW_LEARNER|c}} or ''without'' {{token|CAN_LEARN|c}} will be included in the initial usable creature list, even the normally untameable species.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|USE_EVIL_PLANTS}}&lt;br /&gt;
|&lt;br /&gt;
| Same as USE_EVIL_ANIMALS for all uses of plants.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|USE_EVIL_WOOD}}&lt;br /&gt;
|&lt;br /&gt;
| Same as USE_EVIL_ANIMALS for all uses of wood.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|USE_GOOD_ANIMALS}}&lt;br /&gt;
|&lt;br /&gt;
| Without this, {{token|GOOD|c}} creatures are skipped, otherwise, good creatures ''without'' {{token|CAN_LEARN|c}} will be included in the initial usable creature list, even the normally untameable species.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|USE_GOOD_PLANTS}}&lt;br /&gt;
|&lt;br /&gt;
| Same as USE_GOOD_ANIMALS for all uses of plants.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|USE_GOOD_WOOD}}&lt;br /&gt;
|&lt;br /&gt;
| Same as USE_GOOD_ANIMALS for all uses of wood.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|USE_MISC_PROCESSED_WOOD_PRODUCTS}}&lt;br /&gt;
|&lt;br /&gt;
| If the relevant professions are permitted, controls availability of lye ({{token|LYE_MAKER|ut}}), charcoal ({{token|WOOD_BURNER|ut}}), and potash ({{token|POTASH_MAKER|ut}}).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|USE_NON_EXOTIC_PET_RACE}}&lt;br /&gt;
|&lt;br /&gt;
| Makes the civilization use all locally available non-exotic pets.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|COMMON_DOMESTIC_MOUNT}}&lt;br /&gt;
|&lt;br /&gt;
| Gives the civilization access to creatures with {{token|COMMON_DOMESTIC|c}} and {{token|MOUNT|c}}. Additionally, all available (based on USE_ANY_PET_RACE, USE_CAVE_ANIMALS, USE_GOOD_ANIMALS, and USE_EVIL_ANIMALS) creature with {{token|MOUNT|c}} and {{token|PET|c}} will be allowed for use as mounts during combat.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|COMMON_DOMESTIC_PACK}}&lt;br /&gt;
|&lt;br /&gt;
| Gives the civilization access to creatures with {{token|COMMON_DOMESTIC|c}} and {{token|PACK_ANIMAL.|c}} Additionally, all available (see above) creatures with {{token|PACK_ANIMAL|c}} and {{token|PET|c}} will be allowed for use during trade as pack animals.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|COMMON_DOMESTIC_PET}}&lt;br /&gt;
|&lt;br /&gt;
| Gives the civilization access to creatures with {{token|COMMON_DOMESTIC|c}} and {{token|PET|c}}. Additionally, all available (see above) creatures with {{token|PET|c}} will be allowed for use as pets.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|COMMON_DOMESTIC_PULL}}&lt;br /&gt;
|&lt;br /&gt;
| Gives the civilization access to creatures with {{token|COMMON_DOMESTIC|c}} and {{token|WAGON_PULLER|c}}. Additionally, all available (see above) creatures with {{token|WAGON_PULLER|c}} and {{token|PET|c}} will be allowed for use during trade to pull [[wagon]]s.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|RIVER_PRODUCTS}}&lt;br /&gt;
|&lt;br /&gt;
| Allow use of river products in the goods available for trade.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|OCEAN_PRODUCTS}}&lt;br /&gt;
|&lt;br /&gt;
| Allow use of ocean products (including [[amber]] and [[coral]]) in the goods available for trade. Without OCEAN_PRODUCTS, civilizations will not be able to trade ocean fish even if they are ''also'' available from other sources (e.g. [[sturgeon]]s and [[stingray]]s).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|INDOOR_FARMING}}&lt;br /&gt;
|&lt;br /&gt;
| Allow use of underground plant products in the goods available for trade. Lack of suitable vegetation in the caverns will cause [[World generation#Rejections|worldgen rejection]]s. According to Droseran: &amp;quot;Gives access to plants (structural material) and seeds. It only checks for {{token|EDIBLE_RAW|md}} or {{token|EDIBLE_COOKED|md}} on the plant's structural material. It doesn't check if the plant can be used in a reaction to produce something edible, only if it can be eaten raw or cooked. If an entity with this token is placed in a biome that doesn't have at least one of these tokens on the structural material, the map is rejected. Due to the randomness of plant selection in biomes, this can happen a lot as only about half of the vanilla plants have edible structural materials. Removing either of these tokens from plants dramatically increases map rejections.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|OUTDOOR_FARMING}}&lt;br /&gt;
|&lt;br /&gt;
| Allow use of outdoor plant products in the goods available for trade. Lack of suitable vegetation in this civilization's starting area will cause [[World generation#Rejections|worldgen rejection]]s. According to Droseran: &amp;quot;Gives access to plants (structural material) and seeds. It only checks for {{token|EDIBLE_RAW|md}} or {{token|EDIBLE_COOKED|md}} on the plant's structural material. It doesn't check if the plant can be used in a reaction to produce something edible, only if it can be eaten raw or cooked. If an entity with this token is placed in a biome that doesn't have at least one of these tokens on the structural material, the map is rejected. Due to the randomness of plant selection in biomes, this can happen a lot as only about half of the vanilla plants have edible structural materials. Removing either of these tokens from plants dramatically increases map rejections.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|INDOOR_GARDENS}}&lt;br /&gt;
|&lt;br /&gt;
| Allow use of underground plant growths (quarry bush leaves, in unmodded games) in the goods available for trade. According to Droseran: &amp;quot;Will never cause map rejections. It allows growths to be used, but doesn't care if none exist. If an entity doesn't have a farming token, they won't have seeds or plants available on embark/trade. But you can still farm in fortress mode with only this token, you just have to get the seeds manually or trading with another civ.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|OUTDOOR_GARDENS}}&lt;br /&gt;
|&lt;br /&gt;
| Allow use of outdoor plant growths in the goods available for trade. According to Droseran: &amp;quot;Will never cause map rejections. It allows growths to be used, but doesn't care if none exist. If an entity doesn't have a farming token, they won't have seeds or plants available on embark/trade. But you can still farm in fortress mode with only this token, you just have to get the seeds manually or trading with another civ.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|INDOOR_ORCHARDS}}&lt;br /&gt;
|&lt;br /&gt;
| Allows use of indoor tree growths in the goods available for trade. Not used in vanilla entities, as vanilla underground trees do not grow fruit. Needs INDOOR_WOOD to function. Will cause rejections, if growths are unavailable. According to Droseran: &amp;quot;Gives access to tree growths. It only checks for growths on trees that are {{token|EDIBLE_RAW|md}} or {{token|EDIBLE_COOKED|md}}. If an entity with this token is placed in a biome that does not have a tree with a growth with at least one of these tokens, the map is rejected.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|OUTDOOR_ORCHARDS}}&lt;br /&gt;
|&lt;br /&gt;
| Allows use of outdoor tree growths in the goods available for trade. Needs OUTDOOR_WOOD to function{{verify}}. According to Droseran: &amp;quot;Gives access to tree growths. It only checks for growths on trees that are [EDIBLE_RAW] or [EDIBLE_COOKED]. If an entity with this token is placed in a biome that does not have a tree with a growth with at least one of these tokens, the map is rejected.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CLOTHING}}&lt;br /&gt;
|&lt;br /&gt;
| Civilization members will attempt to wear clothing.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SUBTERRANEAN_CLOTHING}}&lt;br /&gt;
|&lt;br /&gt;
| Will wear things made of spider silk and other subterranean materials.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|EQUIPMENT_IMPROVEMENTS}}&lt;br /&gt;
|&lt;br /&gt;
| Adds decorations to equipment based on the level of the generated unit. Also improves item quality.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|IMPROVED_BOWS}}&lt;br /&gt;
|&lt;br /&gt;
| Adds decorations to weapons generated for bowman and master bowman.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|METAL_PREF}}&lt;br /&gt;
|&lt;br /&gt;
| Allows metal materials to be used to make cages (inexpensive metals only) and crafts.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|STONE_PREF}}&lt;br /&gt;
|&lt;br /&gt;
| Allows the civilization to make use of nearby stone types. If the {{token|FURNACE_OPERATOR|ut}} job is permitted, also allows ore-bearing stones to be smelted into metals.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|WOOD_WEAPONS}}&lt;br /&gt;
|&lt;br /&gt;
| The civilization can make traditionally metallic weapons such as swords and spears from wood.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|WOOD_ARMOR}}&lt;br /&gt;
|&lt;br /&gt;
| The civilization can make traditionally metallic armor such as mail shirts and helmets from wood.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|GEM_PREF}}&lt;br /&gt;
|&lt;br /&gt;
| Enables creatures of this entity to bring gems in trade.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|INDOOR_WOOD}}&lt;br /&gt;
|&lt;br /&gt;
| Allow use of subterranean wood types, such as tower-cap and fungiwood logs.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|OUTDOOR_WOOD}}&lt;br /&gt;
|&lt;br /&gt;
| Allow use of outdoor wood types, such as mangrove and oak.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|GEM_SHAPE}}&lt;br /&gt;
| [[Descriptor shape token|shape]]&lt;br /&gt;
| Precious gems cut by this civilization's jewelers can be of this shape.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|STONE_SHAPE}}&lt;br /&gt;
| [[Descriptor shape token|shape]]&lt;br /&gt;
| Ordinary non-gem stones cut by this civilization's jewelers can be of this shape.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|DIVINE_MAT_CLOTHING}}&lt;br /&gt;
|&lt;br /&gt;
| Allows use of materials with {{token|DIVINE|im}} for clothing. Used for generated divine entities.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|DIVINE_MAT_CRAFTS}}&lt;br /&gt;
|&lt;br /&gt;
| Allows use of materials with {{token|DIVINE|im}} for crafts.{{verify}} Used for generated divine entities.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|DIVINE_MAT_WEAPONS}}&lt;br /&gt;
|&lt;br /&gt;
| Allows use of metals with {{token|DIVINE|im}} for weapons. Used for generated divine entities.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|DIVINE_MAT_ARMOR}}&lt;br /&gt;
|&lt;br /&gt;
| Allows use of metals with {{token|DIVINE|im}} for armor. Used for generated divine entities.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Animal definitions ==&lt;br /&gt;
&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! Token&lt;br /&gt;
! Arguments&lt;br /&gt;
! Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ANIMAL}}&lt;br /&gt;
|&lt;br /&gt;
| Start an animal definition.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ANIMAL_TOKEN}}&lt;br /&gt;
| [[creature token]]&lt;br /&gt;
| Select specific creature.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ANIMAL_CASTE_TOKEN}}&lt;br /&gt;
| [[Caste|creature caste token]]&lt;br /&gt;
| Select specific creature caste (requires ANIMAL_TOKEN). Sites with animal populations will still include all castes, but only the selected ones will be used for specific roles.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ANIMAL_CLASS}}&lt;br /&gt;
| [[Creature token#CREATURE_CLASS|creature class]]&lt;br /&gt;
| Select creature castes with this creature class (multiple uses allowed).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ANIMAL_FORBIDDEN_CLASS}}&lt;br /&gt;
| [[Creature token#CREATURE_CLASS|creature class]]&lt;br /&gt;
| Forbid creature castes with this creature class (multiple uses allowed).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ANIMAL_ALWAYS_PRESENT}}&lt;br /&gt;
|&lt;br /&gt;
| Animal will be present even if it does not naturally occur in the entity's terrain. All creatures, including [[demon]]s, night trolls and other generated ones will be used if no specific creature or class is selected. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
* {{text anchor|ANIMAL_NEVER_MOUNT}}, {{text anchor|ANIMAL_ALWAYS_MOUNT}}&lt;br /&gt;
* {{text anchor|ANIMAL_NEVER_WAGON_PULLER}}, {{text anchor|ANIMAL_ALWAYS_WAGON_PULLER}}&lt;br /&gt;
* {{text anchor|ANIMAL_NEVER_SIEGE}}, {{text anchor|ANIMAL_ALWAYS_SIEGE}}&lt;br /&gt;
* {{text anchor|ANIMAL_NEVER_PET}}, {{text anchor|ANIMAL_ALWAYS_PET}}&lt;br /&gt;
* {{text anchor|ANIMAL_NEVER_PACK_ANIMAL}}, {{text anchor|ANIMAL_ALWAYS_PACK_ANIMAL}}&lt;br /&gt;
|&lt;br /&gt;
| Override creature usage tokens. Respectively:&lt;br /&gt;
* [[Creature token#MOUNT|MOUNT]] and [[Creature token#MOUNT_EXOTIC|MOUNT_EXOTIC]]&lt;br /&gt;
* [[Creature token#WAGON_PULLER|WAGON_PULLER]]&lt;br /&gt;
* [[Creature token#TRAINABLE_WAR|TRAINABLE_WAR]] and not [[Creature token#CAN_LEARN|CAN_LEARN]]&lt;br /&gt;
* [[Creature token#PET|PET]] and [[Creature token#PET_EXOTIC|PET_EXOTIC]]&lt;br /&gt;
* [[Creature token#PACK_ANIMAL|PACK_ANIMAL]]&lt;br /&gt;
ALWAYS overrides NEVER if a caste is matched by more than one animal definition.&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Tissue styling-related tokens ==&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! Token&lt;br /&gt;
! Arguments&lt;br /&gt;
! Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TISSUE_STYLE}}&lt;br /&gt;
| tissue style unit ID&lt;br /&gt;
| Select a tissue layer which has the ID attached using TISSUE_STYLE_UNIT token in unit raws. This allows setting further cultural style parameters for the selected tissue layer.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TS_MAINTAIN_LENGTH}}&lt;br /&gt;
|&lt;br /&gt;
* minimum length?&lt;br /&gt;
* maximum length?&lt;br /&gt;
| Presumably sets culturally preferred tissue length for selected tissue. Needs testing.&lt;br /&gt;
Dwarves have their beards set to 100:NONE by default.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TS_PREFERRED_SHAPING}}&lt;br /&gt;
| styling token&lt;br /&gt;
| Valid tokens are NEATLY_COMBED, BRAIDED, DOUBLE_BRAIDS, PONY_TAILS, CLEAN_SHAVEN and STANDARD_HAIR/BEARD/MOUSTACHE/SIDEBURNS_SHAPINGS.&lt;br /&gt;
Presumably sets culturally preferred tissue shapings for selected tissue. Needs testing.&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
:''Main articles: [[Entity examples]]''&lt;br /&gt;
&lt;br /&gt;
{{Category|Modding}}&lt;br /&gt;
{{Category|Tokens}}&lt;br /&gt;
{{Category|Entities}}&lt;br /&gt;
[[ru:Entity token]]&lt;/div&gt;</summary>
		<author><name>Joostheger</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=Entity_token&amp;diff=315777</id>
		<title>Entity token</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=Entity_token&amp;diff=315777"/>
		<updated>2026-04-09T14:34:24Z</updated>

		<summary type="html">&lt;p&gt;Joostheger: /* Flavor */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Quality|Superior}}&lt;br /&gt;
{{av}}&lt;br /&gt;
{{Modding}}&lt;br /&gt;
'''Entity tokens''' define entities, or [[civilization]]s, in entity_*.txt files.&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;[OBJECT:ENTITY]&amp;lt;/code&amp;gt; [[token]] begins the definition of an entity [[raw file]]. Each new entity definition that follows begins with the &amp;lt;code&amp;gt;[ENTITY:''entity_ID'']&amp;lt;/code&amp;gt; token, where ''entity_ID'' is a unique identifier for that entity, and the entity's properties are then specified by the use of further entity tokens; or, tokens can be added to existing entities using &amp;lt;code&amp;gt;[SELECT_ENTITY:''entity_ID'']&amp;lt;/code&amp;gt; instead.&lt;br /&gt;
&lt;br /&gt;
All known entity tokens are listed below. &lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
{{clear}}&lt;br /&gt;
&lt;br /&gt;
== Gameplay ==&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! Token&lt;br /&gt;
! Arguments&lt;br /&gt;
! Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ALL_MAIN_POPS_CONTROLLABLE}}&lt;br /&gt;
| &lt;br /&gt;
| Allows adventure mode for entities with sites.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SITE_CONTROLLABLE}}&lt;br /&gt;
| &lt;br /&gt;
| Allows fortress mode. If multiple entities have the SITE_CONTROLLABLE token, then at embark the specific civs can be chosen on the civ list screen. At least one civilization must have this token.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CREATURE}}&lt;br /&gt;
| creature&lt;br /&gt;
|The type of creature that will inhabit the civilization. If multiple creature types are specified, each civilization will randomly choose one of the creatures. In entities with multiple possible creatures, you can manipulate the chance of one creature being chosen by adding multiple identical creature tags. For instance adding [CREATURE:DWARF][CREATURE:DWARF][CREATURE:DWARF][CREATURE:ELF] to the same entity will make the civs created about 75% dwarven, 25% elven. It should be noted that civilizations are in general weighted by this token: for example, if you have one entity with three [CREATURE:DWARF] tokens and another separate entity with a single [CREATURE:ELF] token, then you can expect to see three times as many of the former placed as the latter (assuming enough unclaimed [START_BIOME:X] space remains). Note that spawn rates are also limited by unclaimed biome space - if an entity can only spawn in a rarer set of biomes (only LAKE_TROPICAL_SALTWATER for example) then their spawn rate will end up being limited by the remaining unclaimed space in that biome type rather than the number of [CREATURE:X] tokens present in the entity raw.&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SOURCE_HFID}}&lt;br /&gt;
| integer&lt;br /&gt;
| Found on generated [[angel]] entities.  Appears to draw from creatures with this HFID, which associates the entity with a historical figure of the same ID corresponding to a [[deity]].&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Placement ==&lt;br /&gt;
&lt;br /&gt;
Entity spawning during world gen is influenced by several factors:&lt;br /&gt;
* The &amp;quot;[[Advanced world generation#Number of Civilizations|Number of Civilizations]]&amp;quot; world gen setting places a hard limit on the total number of entities spawned.&lt;br /&gt;
* The &amp;quot;[[Advanced world generation#Playable Civilization Required|Playable Civilization Required]]&amp;quot; world gen setting forces at least one of each [[Entity token#SITE_CONTROLLABLE|SITE_CONTROLLABLE]] entity to spawn (presumably still limited by &amp;quot;Number of Civilizations&amp;quot;).&lt;br /&gt;
* The number of &amp;lt;nowiki&amp;gt;[&amp;lt;/nowiki&amp;gt;[[Entity token#CREATURE|CREATURE]]:X] tokens present in an entity modifies its chance of spawning. An entity containing more &amp;lt;nowiki&amp;gt;[&amp;lt;/nowiki&amp;gt;[[Entity token#CREATURE|CREATURE]]:X] tokens will spawn more often (assuming other requirements are met) and may even block entities with fewer &amp;lt;nowiki&amp;gt;[&amp;lt;/nowiki&amp;gt;[[Entity token#CREATURE|CREATURE]]:X] tokens from spawning altogether. You can use [SELECT_ENTITY:VANILLA_ENTITY_X] followed by any number of duplicate &amp;lt;nowiki&amp;gt;[&amp;lt;/nowiki&amp;gt;[[Entity token#CREATURE|CREATURE]]:VANILLA_CREATURE_X] tokens to attempt to balance the spawn rates of the existing vanilla entities with any custom multi-creature entities you may add.&lt;br /&gt;
* The number of unclaimed [[Entity token#START_BIOME|START_BIOME]] or [[Entity token#EXCLUSIVE_START_BIOME|EXCLUSIVE_START_BIOME]] tiles remaining in the world limits the spawn rate for an entity and allows entities to block each other's spawns. If there is no &amp;quot;starting&amp;quot; [[Biome token|biome]] space left for an entity then it will not spawn and the game will try to spawn a different entity instead. This means that, on average, an entity that can start in ALL_MAIN [[Biome token|biomes]] will spawn more frequently than one that can start only in LAKE_TROPICAL_SALTWATER [[Biome token|biomes]]. This also means that entities whose starting [[Biome token|biomes]] do not overlap will not block each other's spawns.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! Token&lt;br /&gt;
! Arguments&lt;br /&gt;
! Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|BIOME_SUPPORT}}&lt;br /&gt;
|&lt;br /&gt;
* [[Biome token|biome]]&lt;br /&gt;
* frequency&lt;br /&gt;
| Controls the expansion of the civilization's territory.  The higher the number is relative to other BIOME_SUPPORT tokens in the entity, the faster it can spread through the biome.  These numbers are evaluated relative to each other, i.e. if one biome is 1 and the other is 2, the spread will be the same as if one was 100 and the other was 200.  Civs can spread out over biomes they cannot actually build in; for example, humans spread quickly over oceans but cannot actually build in them.&lt;br /&gt;
[BIOME_SUPPORT:ANY_GRASSLAND:4]&lt;br /&gt;
&lt;br /&gt;
The first entry of biome support should be the Start biome, as mentioned in [START_BIOME] or [EXCLUSIVE_START_BIOME], otherwise no other settlements after the first one are founded.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SETTLEMENT_BIOME}}&lt;br /&gt;
| [[Biome token|biome]]&lt;br /&gt;
| If the civ's territory crosses over this biome, it can build settlements here.&lt;br /&gt;
[SETTLEMENT_BIOME:ANY_GRASSLAND]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|START_BIOME}}&lt;br /&gt;
| [[Biome token|biome]]&lt;br /&gt;
| Combination of EXCLUSIVE_START_BIOME and SETTLEMENT_BIOME; allows the civ to start in and create settlements in the biome. Note that the civ's spawn rate may be limited if all of its START or EXCLUSIVE_START biome(s) are rare in the world or have already been fully occupied by other civ spawns.&lt;br /&gt;
[START_BIOME:ANY_FOREST]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|EXCLUSIVE_START_BIOME}}&lt;br /&gt;
| [[Biome token|biome]]&lt;br /&gt;
| The birth of the civilization can occur in this biome, but cannot (necessarily) build in it. If the civ does not have SETTLEMENT_BIOME or START_BIOME for the biome in question, it will only construct a single settlement there. Note that the civ's spawn rate may be limited if all of its START or EXCLUSIVE_START biome(s) are rare in the world or have already been fully occupied by other civ spawns.&lt;br /&gt;
[EXCLUSIVE_START_BIOME:MOUNTAIN]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|DEFAULT_SITE_TYPE}}&lt;br /&gt;
| site type&lt;br /&gt;
| Valid site types are DARK_FORTRESS (π), CAVE (•), CAVE_DETAILED (Ω), TREE_CITY (î), and CITY (#). Also recognizes PLAYER_FORTRESS  (creates a civ of hillocks only), and MONUMENT (creates a civ without visible sites (except tombs and castles), but may cause worldgen crashes). FORTRESS is no longer a valid entry, castles are currently controlled by BUILDS_OUTDOOR_FORTIFICATIONS. Defaults to CITY. Selecting CAVE causes the classic kobold behavior of not showing up on the &amp;quot;neighbors&amp;quot; section of the site selection screen.&lt;br /&gt;
Selecting DARK_FORTRESS also allows generation of [[underworld spire|certain other structures]]. It also gives the civ a [[demon|special overlord]]. DARK_FORTRESS may cause crashes during world gen at &amp;quot;Placing civilizations... (0)&amp;quot; if it combined with entity tokens that the vanilla ENTITY:EVIL does not use (likely the POSITION related tokens see [https://www.bay12forums.com/smf/index.php?topic=175747.0 this forum post]).&lt;br /&gt;
CAVE_DETAILED civilizations will create fortresses in mountainous regions and hillocks in non-mountainous regions. [DEFAULT_SITE_TYPE:CAVE_DETAILED]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|LIKES_SITE}}&lt;br /&gt;
| site type&lt;br /&gt;
| Most residents will try to move to this site type, unless already at one.&lt;br /&gt;
[LIKES_SITE:CAVE_DETAILED]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TOLERATES_SITE}}&lt;br /&gt;
| site type&lt;br /&gt;
| Some residents will try to move to this site type, unless already at one.&lt;br /&gt;
[TOLERATES_SITE:CITY]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|WORLD_CONSTRUCTION}}&lt;br /&gt;
| construction&lt;br /&gt;
| Controls which constructions the civ will build on the world map. Valid constructions are ROAD, TUNNEL, BRIDGE, and WALL.&lt;br /&gt;
[WORLD_CONSTRUCTION:BRIDGE]&lt;br /&gt;
[WORLD_CONSTRUCTION:ROAD]&lt;br /&gt;
[WORLD_CONSTRUCTION:TUNNEL]&lt;br /&gt;
[WORLD_CONSTRUCTION:WALL]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Population ==&lt;br /&gt;
&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! Token&lt;br /&gt;
! Arguments&lt;br /&gt;
! Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MAX_POP_NUMBER}}&lt;br /&gt;
| number&lt;br /&gt;
| Max '''historical''' population '''per entity'''. Multiply this by max starting civ to get the total maximum historical population of the species. Defaults to 500, but all vanilla entities use 10,000, except skulking uses 2,000. Does not limit the '''total''' population, but it will prevent new settlements upon reaching the number.&lt;br /&gt;
[MAX_POP_NUMBER:10000]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MAX_SITE_POP_NUMBER}}&lt;br /&gt;
| number &lt;br /&gt;
| Max historical population per individual site. Defaults to 50, but all the vanilla entities use 120.&lt;br /&gt;
[MAX_SITE_POP_NUMBER:120]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MAX_STARTING_CIV_NUMBER}}&lt;br /&gt;
| number&lt;br /&gt;
| Max number of civilizations of this entity type to spawn at world generation, which picks entities in some sequential order from the raws, looping through the list as needed. This is a hard limit, if set to 1, only 1 civilization of this type will be placed. If all entities have reached their limit, world generation will not try to place any more, even if its own [[Advanced_world_generation#Number_of_Civilizations|total limit]] has not been reached, and will continue on. Defaults to 3, but all vanilla entities use 100 (essentially unlimited).&lt;br /&gt;
[MAX_STARTING_CIV_NUMBER:100]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Flavor ==&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! Token&lt;br /&gt;
! Arguments&lt;br /&gt;
! Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PERMITTED_BUILDING}}&lt;br /&gt;
| building name &lt;br /&gt;
| The named, custom building can be built by a civilization in Fortress Mode.&lt;br /&gt;
[PERMITTED_BUILDING:SOAP_MAKER]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PERMITTED_JOB}}&lt;br /&gt;
| [[Unit type token|profession]]&lt;br /&gt;
| Allows this job type to be selected. This applies to worldgen creatures, in the embark screen, and in play. Certain professions also influence the availability of materials for trade.&lt;br /&gt;
[PERMITTED_JOB:MINER]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PERMITTED_REACTION}}&lt;br /&gt;
| reaction name &lt;br /&gt;
| Allows this reaction to be used by a civilization. It is used primarily in Fortress Mode, but also allows certain resources, such as [[steel]], to be available to a race. When creating custom reactions, this token '''must''' be present or the player will not be able to use the reaction in Fortress Mode.&lt;br /&gt;
[PERMITTED_REACTION:TAN_A_HIDE]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CURRENCY_BY_YEAR}}&lt;br /&gt;
| &lt;br /&gt;
| Causes the civ's currency to be numbered with the year it was minted.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CURRENCY}}&lt;br /&gt;
|&lt;br /&gt;
* inorganic material&lt;br /&gt;
* value&lt;br /&gt;
| What kind of metals the civ uses for coin minting, as well as the value of the [[coin]]. Only effective in Adventurer mode due to lack of [[dwarven economy]].&lt;br /&gt;
&lt;br /&gt;
[CURRENCY:SILVER:5]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ART_FACET_MODIFIER}}&lt;br /&gt;
|&lt;br /&gt;
* type&lt;br /&gt;
* number&lt;br /&gt;
| OWN_RACE, FANCIFUL, EVIL, GOOD&lt;br /&gt;
Number goes from 0 to 25600 where 256 is the default.&lt;br /&gt;
[ART_FACET_MODIFIER:OWN_RACE:512]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ART_IMAGE_ELEMENT_MODIFIER}}&lt;br /&gt;
|&lt;br /&gt;
* item&lt;br /&gt;
* number&lt;br /&gt;
| CREATURE, PLANT, TREE, SHAPE, ITEM&amp;lt;br /&amp;gt;0-25600&lt;br /&gt;
&lt;br /&gt;
Determines the chance of each image occurring in that entity's artwork, such as engravings and on artifacts, for default (non-historical) artwork.&lt;br /&gt;
&lt;br /&gt;
[ART_IMAGE_ELEMENT_MODIFIER:TREE:512]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ITEM_IMPROVEMENT_MODIFIER}}&lt;br /&gt;
|&lt;br /&gt;
* item&lt;br /&gt;
* number&lt;br /&gt;
| ART_IMAGE, COVERED or GLAZED, RINGS_HANGING, BANDS, SPIKES, ITEMSPECIFIC, THREAD, CLOTH, SEWN_IMAGE.&amp;lt;br /&amp;gt;Also available, but effect unknown: PAGES, ILLUSTRATION, INSTRUMENT_PIECE, WRITING, IMAGE_SET, COLORATION.&amp;lt;br /&amp;gt;0-25600&lt;br /&gt;
&lt;br /&gt;
Determines the chance of the entity using that particular artwork method, such as &amp;quot;encircled with bands&amp;quot; or &amp;quot;menaces with spikes&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[ITEM_IMPROVEMENT_MODIFIER:SPIKES:0]&lt;br /&gt;
&lt;br /&gt;
This also seems to change the amount that the entity will pay for items that are improved in these ways in their tokens.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TRANSLATION}}&lt;br /&gt;
| language&lt;br /&gt;
| What language raw the entity uses.&lt;br /&gt;
* If an entity lacks this tag, translations are drawn randomly from all translation files. Multiple translation tags will only result in the last one being used. Migrants will sometimes arrive with no name.&lt;br /&gt;
* If GEN_DIVINE is entered, the entity will use a generated divine language, that is, the same language that is used for the names of [[angel]]s.&lt;br /&gt;
* If the entity's main creature has {{token|UTTERANCES|c}}, then this token will be ignored (except when using the naming menu) in favor of procedural [[kobold]]-style [[Kobold language|pseudolanguage]].&lt;br /&gt;
[TRANSLATION:DWARF]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SELECT_SYMBOL}}&lt;br /&gt;
|&lt;br /&gt;
* category&lt;br /&gt;
* [[language#language_SYM.txt|symbol]]&lt;br /&gt;
| ALL, REMAINING, BATTLE, BRIDGE, CIV, CRAFT_GUILD, FESTIVAL (doesn't work, see below), HOSPITAL, LIBRARY, MERCHANT_COMPANY, MILITARY_UNIT, OTHER, RELIGION, ROAD, SIEGE, SITE, TEMPLE, TUNNEL, VESSEL, WALL, WAR&lt;br /&gt;
The entity will always use a word from the selected symbol(s) to generate names from that category.&lt;br /&gt;
* OTHER applies the symbol selection to personal names and site names. REMAINING will apply the symbol selection to all categories that have not already been declared above it.&lt;br /&gt;
* Specific to SELECT_SYMBOL, symbols selected this way will be used as &amp;quot;The X&amp;quot; in &amp;quot;The X of Y&amp;quot; names, and nouns from selected symbols can be used as first [[name]]s.&lt;br /&gt;
* FESTIVAL does not work. The game uses symbol NAME_FESTIVAL hardcoded. You may consider changing that symbol (with SELECT_SYMBOL), but then it's applied for all entities.&lt;br /&gt;
&lt;br /&gt;
[SELECT_SYMBOL:ALL:PEACE]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SUBSELECT_SYMBOL}}&lt;br /&gt;
|&lt;br /&gt;
* category&lt;br /&gt;
* [[language#language_SYM.txt|symbol]]&lt;br /&gt;
| As SELECT_SYMBOL, a word from the subselected symbol(s) will be used in names of that category, in addition to the word from SELECT_SYMBOL (if specified). Used in vanilla to put violent names in sieges and battles.&lt;br /&gt;
* Words chosen with SUBSELECT_SYMBOL will appear as either adjectives or &amp;quot;of Y&amp;quot; in &amp;quot;The X of Y&amp;quot; names.&lt;br /&gt;
* CULL_SYMBOL does not affect subselected symbols.&lt;br /&gt;
&lt;br /&gt;
[SELECT_SYMBOL:SIEGE:NAME_SIEGE]&lt;br /&gt;
&lt;br /&gt;
[SUBSELECT_SYMBOL:SIEGE:VIOLENT]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CULL_SYMBOL}}&lt;br /&gt;
|&lt;br /&gt;
* category&lt;br /&gt;
* [[Language#language_SYM.txt|symbol]]&lt;br /&gt;
| Causes the entity to not use the words in these SYM sets.&lt;br /&gt;
[CULL_SYMBOL:ALL:UGLY]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|FRIENDLY_COLOR}}&lt;br /&gt;
| see [[color]]&lt;br /&gt;
|&lt;br /&gt;
The color of this entity's civilization settlements in the world gen and embark screens, also used when announcing arrival of their caravan. Defaults to 7:0:1.&lt;br /&gt;
&lt;br /&gt;
[FRIENDLY_COLOR:1:0:1]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Religion ==&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! Token&lt;br /&gt;
! Arguments&lt;br /&gt;
! Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|RELIGION}}&lt;br /&gt;
| type&lt;br /&gt;
|&lt;br /&gt;
* REGIONAL_FORCE: The creatures will worship a single force associated with the terrain of their initial biome.&lt;br /&gt;
* PANTHEON: The creatures will worship a group of gods, each aligned with their spheres and other appropriate ones as well.&lt;br /&gt;
&lt;br /&gt;
Can be specified multiple times, and will pick randomly from the assigned types. Additional instances of each type will weight the random choice, but unlike {{token|CREATURE|e}}, will not make the entity more likely to spawn.&lt;br /&gt;
&lt;br /&gt;
[RELIGION:PANTHEON]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|RELIGION_SPHERE}}&lt;br /&gt;
| [[Sphere#Available_spheres|sphere]]&lt;br /&gt;
| Can be any available [[sphere]] - multiple entries are possible. Choosing a religious sphere will automatically make its opposing sphere not possible for the species to have: adding [[Sphere#WATER|WATER]], for example, means civs of this entity will never get [[Sphere#FIRE|FIRE]] as a religious sphere. Note that the [[Sphere#DEATH|DEATH]] sphere favours the appearance of necromancers (and therefore, towers) &amp;quot;in&amp;quot; the entity.&lt;br /&gt;
&lt;br /&gt;
[RELIGION_SPHERE:FORTRESSES]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SPHERE_ALIGNMENT}}&lt;br /&gt;
|&lt;br /&gt;
* [[Sphere#Available_spheres|sphere]]&lt;br /&gt;
* number&lt;br /&gt;
|&lt;br /&gt;
This token forces an entity to favor or disfavor particular religious spheres. Default is 256, minimum is 0, maximum is 25600.&lt;br /&gt;
* Presently, this doesn't cause them to acquire those spheres more often when generating a pantheon.&lt;br /&gt;
* [[Sphere#PLANTS|PLANTS]] and [[Sphere#ANIMALS|ANIMALS]] affect the prevalence of depicting {{token|VEGETATION}} and {{token|NATURAL}} creatures, respectively, in a similar fashion to {{token|ART_FACET_MODIFIER|e}}. &lt;br /&gt;
* [[Sphere#WAR|WAR]] modifies the effective [[item value]] of [[weapon]]s and [[armor]] to [[trader]]s of this entity. The multiplier is SPHERE_ALIGNMENT/256, though this only applies to equipment the entity's main creature can properly wield.&lt;br /&gt;
&lt;br /&gt;
[SPHERE_ALIGNMENT:TREES:512]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Leadership ==&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! Token&lt;br /&gt;
! Arguments&lt;br /&gt;
! Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|POSITION}}&lt;br /&gt;
| string&lt;br /&gt;
| Defines a leader/noble position for a civilization. These replace previous tags such as [MAYOR] and [CAN_HAVE_SITE_LEADER] and so on. To define a position further, see [[Position token]].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SITE_VARIABLE_POSITIONS}}&lt;br /&gt;
| Position responsibility or ALL&lt;br /&gt;
| Allows a site responsibility to be taken up by a dynamically generated position (lords, hearthpersons, etc.). Any defined positions holding a given responsibility will take precedence over generated positions for that responsibility. Also appears to cause site disputes.{{Verify}} See also: [[variable positions]]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|VARIABLE_POSITIONS}}&lt;br /&gt;
| Position responsibility or ALL&lt;br /&gt;
| Allows a responsibility to be taken up by a dynamically generated position (such as Law-maker). Any defined positions holding a given responsibility will take precedence over generated positions for that responsibility. See also: [[variable positions]]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Behavior ==&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! Token&lt;br /&gt;
! Arguments&lt;br /&gt;
! Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ETHIC}}&lt;br /&gt;
| &lt;br /&gt;
*behavior&lt;br /&gt;
*reaction&lt;br /&gt;
| Sets the civ's view of [[ethic]]s (certain behaviors), from capital punishment to completely acceptable. This also causes the civ to look upon opposing ethics with disfavor if their reaction to it is opposing, and when at extremes (one ACCEPTABLE, another civ UNTHINKABLE; for example) they will often go to war over it.&lt;br /&gt;
[ETHIC:EAT_SAPIENT_KILL:ACCEPTABLE]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|VALUE}}&lt;br /&gt;
| &lt;br /&gt;
*value&lt;br /&gt;
*number&lt;br /&gt;
| Sets the civ's [[Personality value|cultural values]]. Numbers range from -50 (complete anathema) to 0 (neutral) to 50 (highly valued).&lt;br /&gt;
[VALUE:CRAFTSMANSHIP:50]&lt;br /&gt;
&lt;br /&gt;
Certain values must be set to 15 or more for civs to create structures and form entities during history gen:&lt;br /&gt;
* 15+ KNOWLEDGE for libraries&lt;br /&gt;
* 15+ COOPERATION ''and'' 15+ CRAFTSMANSHIP for craft guilds&lt;br /&gt;
** Guilds also need guild-valid professions (see [[#PERMITTED_JOB|PERMITTED_JOB]])&lt;br /&gt;
&lt;br /&gt;
If the positions of an entity are variable (and include the CUSTOM_OFFICIAL_1), then CUNNING &amp;gt; 10 is needed for the CUSTOM_OFFICIAL_1 to have the espionage responsibility.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|VARIABLE_VALUE}}&lt;br /&gt;
|&lt;br /&gt;
*value or ALL&lt;br /&gt;
*min&lt;br /&gt;
*max&lt;br /&gt;
| Makes values randomized rather than specified.&lt;br /&gt;
This tag overrides the VALUE tag. Using [VARIABLE_VALUE:ALL:x:y] and then overwriting single values with further [VARIABLE_VALUE:value:x:y] tags works.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|WILL_ACCEPT_TRIBUTE}}&lt;br /&gt;
| &lt;br /&gt;
| Makes the civ's traders accept offered goods.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|WANDERER}}, {{text anchor|BEAST_HUNTER}}, {{text anchor|SCOUT}}, {{text anchor|MERCENARY}}&lt;br /&gt;
| &lt;br /&gt;
| The civ will send out these sorts of adventurers in worldgen, which seems to increase Tracker skill. These types of adventurers will sometimes be seen leading a battle (instead of war leaders or generals) in remote locations during world-gen, in charge of the defenders.&lt;br /&gt;
&lt;br /&gt;
Mercenaries and monster hunters from the civ may visit player's fortress and petition for residency there to enlist in the military or hunt monsters in caverns, respectively.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ABUSE_BODIES}}&lt;br /&gt;
| &lt;br /&gt;
| The civilization will mutilate bodies when they are the victors in history-gen warfare, such as hanging bodies from trees, putting them on spikes, and so forth. Adventurers killed in Adventurer mode will sometimes be impaled on spikes wherever they died, with or without this token, and regardless of whether they actually antagonized the townspeople.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ACTIVE_SEASON}}&lt;br /&gt;
| season&lt;br /&gt;
| The season when the civ is most active: when they will trade, interact with you via diplomats, and/or invade you. Civs can have multiple season entries. Note: If multiple caravans arrive at the same time, you are able to select which civ to trade with at the depot menu. ACTIVE_SEASON tags may be changed for a currently active fort.&lt;br /&gt;
[ACTIVE_SEASON:AUTUMN]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|AMBUSHER}}&lt;br /&gt;
| &lt;br /&gt;
| When invading, sneaks around and shoots at straggling members of your society. They will spawn on the edge of the map and will only be visible when one of their party are spotted; this can be quite dangerous to undefended trade depots. If the civilization also has the SIEGER token, they will eventually ramp it up to less subtle means of warfare.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|AT_PEACE_WITH_WILDLIFE}}&lt;br /&gt;
|&lt;br /&gt;
| Will not attack wildlife, and will not be attacked by them, even if you have them in your party. This can be somewhat disconcerting when attacked by bears in the forest, and your elven ally sits back and does nothing. Additionally, this token determines if the entity can settle in savage biomes.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|BABYSNATCHER}}&lt;br /&gt;
|&lt;br /&gt;
| Sends thieves to steal babies. Without this tag (or AMBUSHER, or ITEM_THIEF), enemy civs will only siege (if capable), and will siege as early as they would otherwise babysnatch. This can happen as early as the first year of the fort! In addition, babysnatcher civs will snatch children during worldgen, allowing them to become part of the civ if they do not escape. Also causes this civ to be hostile to any entity without this token.&lt;br /&gt;
&lt;br /&gt;
Note: If the playable civ in fortress mode has this tag (e.g. you add BABYSNATCHER to the dwarf entity) then the roles will be reversed and elves and humans will siege and ambush and goblins will be friendly to you. However, animals traded away to one's own caravan will count as snatched, reported upon the animal leaving the map, and the animal will not count as having been exported.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|BUILDS_OUTDOOR_FORTIFICATIONS}}&lt;br /&gt;
| &lt;br /&gt;
| Makes the civilization build castles from [[mead hall]]s. Only functions when the type of site built is a hamlet/town. This, combined with the correct type of [[position token|position]] associated with a site, is why adventurers can only lay claim to human sites. {{bug|8001}}&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|BUILDS_OUTDOOR_TOMBS}}&lt;br /&gt;
| &lt;br /&gt;
| Makes the civilization build tombs.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|BANDITRY}}&lt;br /&gt;
| percentage&lt;br /&gt;
| Sets a percentage of the entity population to be used as bandits.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|DIPLOMAT_BODYGUARDS}}&lt;br /&gt;
|&lt;br /&gt;
| Visiting diplomats are accompanied by a pair of soldiers.&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|GENERATED}}&lt;br /&gt;
|&lt;br /&gt;
| Found on generated divine &amp;quot;HF Guardian Entities&amp;quot;.  Cannot be used in user-defined raws.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|INVADERS_IGNORE_NEUTRALS}}&lt;br /&gt;
|&lt;br /&gt;
| Causes invaders to ignore visiting caravans and other neutral creatures.{{verify}}&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ITEM_THIEF}}&lt;br /&gt;
|&lt;br /&gt;
| Sends thieves to steal items. This will also occur in history generation, and thieves will have the &amp;quot;thief&amp;quot; profession. Items stolen in history gen will be scattered around that creature's home. Also causes that civ to be hostile to any entity without this token. Without this tag (or AMBUSHER, or BABYSNATCHER), enemy civs will only siege (if capable), and will siege as early as they would otherwise steal.&lt;br /&gt;
&lt;br /&gt;
Note: If the playable civ in Fortress Mode has this tag (e.g. you add ITEM_THIEF to the Dwarf entity) then the roles will be reversed and elves and humans will siege and ambush and kobolds will be friendly to you. However, ALL items traded away to one's own caravan will count as stolen, reported when the items leave the map, and the stolen items will not count as exported.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|LOCAL_BANDITRY}}&lt;br /&gt;
|&lt;br /&gt;
| Causes the entity to send out patrols that can ambush adventurers. Said patrols will be hostile to any adventurers they encounter, regardless of race or nationality.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MERCHANT_BODYGUARDS}}&lt;br /&gt;
|&lt;br /&gt;
| Caravan merchants are accompanied by soldiers.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MERCHANT_NOBILITY}}&lt;br /&gt;
|&lt;br /&gt;
| Merchants will engage in cross-civ trading and form companies.&lt;br /&gt;
&lt;br /&gt;
In previous versions, this resulted in the civ having a Guild Representative / Merchant Baron / Merchant Prince, but now this is controlled solely by positions.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PROGRESS_TRIGGER_POPULATION}}&lt;br /&gt;
| level&lt;br /&gt;
| 0 to 5, civ will come to site once population at site has reached that level. If multiple progress triggers exist for a civ, it will come when any one of them is fulfilled instead of waiting for all of them to be reached. A value of 0 disables the trigger. 1 corresponds to 20 dwarves, 2 to 50 dwarves, 3 to 80, 4 to 110, and 5 to 140. Progress triggers may be changed, added, or deleted for a currently active fort. Note: hostile civs require that this be fulfilled as well as at least one other non-siege trigger before visiting for non-siege activities.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PROGRESS_TRIGGER_PRODUCTION}}&lt;br /&gt;
| level&lt;br /&gt;
| 0 to 5, civ will come to site once created wealth has reached that level. If multiple progress triggers exist for a civ, it will come when any one of them is fulfilled instead of waiting for all of them to be reached. A value of 0 disables the trigger. 1 corresponds to 5000☼ created wealth, 2 to 25000☼, 3 to 100000☼, 4 to 200000☼, and 5 to 300000☼. Progress triggers may be changed, added, or deleted for a currently active fort.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PROGRESS_TRIGGER_TRADE}}&lt;br /&gt;
| level&lt;br /&gt;
| 0 to 5, civ will come to site once exported goods has reached that level. If multiple progress triggers exist for a civ, it will come when any one of them is fulfilled instead of waiting for all of them to be reached. A value of 0 disables the trigger. 1 corresponds to 500☼ exported wealth, 2 to 2500☼, 3 to 10000☼, 4 to 20000☼, and 5 to 30000☼. Progress triggers may be changed, added, or deleted for a currently active fort.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PROGRESS_TRIGGER_POP_SIEGE}}&lt;br /&gt;
| level&lt;br /&gt;
| 0 to 5, civ will begin to send sieges against the player civ when this level is reached if it is hostile.&lt;br /&gt;
&lt;br /&gt;
If multiple progress triggers exist for a civ, it will come when any one of them is fulfilled instead of waiting for all of them to be reached. A value of 0 disables the trigger.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PROGRESS_TRIGGER_PROD_SIEGE}}&lt;br /&gt;
| level&lt;br /&gt;
| 0 to 5, civ will begin to send sieges against the player civ when this level is reached if it is hostile.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PROGRESS_TRIGGER_TRADE_SIEGE}}&lt;br /&gt;
| level&lt;br /&gt;
| 0 to 5, civ will begin to send sieges against the player civ when this level is reached if it is hostile.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SIEGER}}&lt;br /&gt;
|&lt;br /&gt;
| Will start campfires and wait around at the edge of your map for a month or two before rushing in to attack. This will occur when the progress triggers for sieging are reached. If the civ lacks smaller methods of conflict (AMBUSHER, BABYSNATCHER, ITEM_THIEF), they will instead send smaller-scale sieges when their triggers for &amp;quot;first contact&amp;quot; are reached.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SIEGE_SKILLED_MINERS}}{{v|53.01}}&lt;br /&gt;
|&lt;br /&gt;
| Improves the skill of [[miner]] invaders by a factor of 5. Used for [[dwarves]] in vanilla.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SITE_GUARDIAN}}&lt;br /&gt;
|&lt;br /&gt;
| Guards certain special sites, such as a [[vault]] belonging to a [[demon]] allied with a [[deity]].  Used in generated divine entities. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SKULKING}}&lt;br /&gt;
|&lt;br /&gt;
| This makes the severity of attacks depend on the extent of item/baby thievery rather than the passage of time. Designed to go with ITEM_THIEF, may or may not work with BABYSNATCHER.  Prevents the civ from engaging in diplomacy or ending up at war.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TREE_CAP_DIPLOMACY}}&lt;br /&gt;
|&lt;br /&gt;
| Visiting diplomats impose tree cutting quotas; without this, they will simply compliment your fortress and leave. Also causes the diplomat to make unannounced first contact at the very beginning of the first spring after your fortress becomes a land holder.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|LAYER_LINKED}}&lt;br /&gt;
| &lt;br /&gt;
| Defines if a civilization is a hidden subterranean entity, such as [[bat man]] civilizations. May spawn in any of the three caverns; cavern dweller raids due to [[agitation]] will pull from these. If you embark as this civ, you have access to pets and trees from all three layers, not only the first. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|GENERATE_KEYBOARD_INSTRUMENTS}}, {{text anchor|GENERATE_PERCUSSION_INSTRUMENTS}}, {{text anchor|GENERATE_STRINGED_INSTRUMENTS}}, {{text anchor|GENERATE_WIND_INSTRUMENTS}}, {{text anchor|GENERATE_DANCE_FORMS}}, {{text anchor|GENERATE_MUSICAL_FORMS}}, {{text anchor|GENERATE_POETIC_FORMS}}&lt;br /&gt;
|&lt;br /&gt;
| Makes civilizations generate the given instruments/forms.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SCHOLAR}}&lt;br /&gt;
| scholar type&lt;br /&gt;
| ALL, ASTRONOMER, CHEMIST, DOCTOR, ENGINEER, GEOGRAPHER, HISTORIAN, MATHEMATICIAN, NATURALIST, PHILOSOPHER&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SET_SCHOLARS_ON_VALUES_AND_JOBS}}&lt;br /&gt;
|&lt;br /&gt;
| Generates scholars based on the values generated with the VARIABLE_VALUE tag.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NO_ARTIFACT_CLAIMS}}&lt;br /&gt;
|&lt;br /&gt;
| Used for kobolds.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MINING_UNDERWORLD_DISASTERS}}&lt;br /&gt;
|&lt;br /&gt;
| The civilization can breach the [[Underworld]] during world generation, spawning a civilization of {{token|EVIL}} creatures lead by a unique [[demon]].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MYTHICAL}}{{version|51.01-beta26}}&lt;br /&gt;
|&lt;br /&gt;
| Builds [[mysterious dungeon]]s.&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Available resources ==&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! Token&lt;br /&gt;
! Arguments&lt;br /&gt;
! Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|AMMO}}&lt;br /&gt;
| item token&lt;br /&gt;
| Used after a ranged weapon type.&lt;br /&gt;
[AMMO:ITEM_AMMO_BOLTS]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ARMOR}}&lt;br /&gt;
|&lt;br /&gt;
* item token&lt;br /&gt;
* rarity&lt;br /&gt;
| Rarity is optional, and valid values are FORCED, COMMON, UNCOMMON, and RARE (anything else is treated as COMMON). FORCED items will be available 100% of the time, COMMON items 50%, UNCOMMON items 10%, and RARE items 1%. If certain armor types are lacking after performing one pass of randomised checks, the game will repeat random checks until an option is successfully chosen.&lt;br /&gt;
[ARMOR:ITEM_ARMOR_PLATEMAIL:COMMON]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|DIGGER}}&lt;br /&gt;
| item token&lt;br /&gt;
| Causes the selected weapon to fall under the &amp;quot;digging tools&amp;quot; section of the embark screen. Also forces the weapon to be made out of metal, which can cause issues if a modded entity has access to picks without access to metal - for those cases, listing the pick under the [WEAPON] token works just as well. Note that this tag is neither necessary nor sufficient to allow use of that item as a mining tool – for that, the item itself needs to be a weapon with {{token|SKILL|wp|MINING}}.&lt;br /&gt;
[DIGGER:ITEM_WEAPON_PICK]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|GLOVES}}&lt;br /&gt;
|&lt;br /&gt;
* item token&lt;br /&gt;
* rarity&lt;br /&gt;
| Rarity is optional, and valid values are FORCED, COMMON, UNCOMMON, and RARE (anything else is treated as COMMON). Uses the same rarity values and methods as outlined in ARMOR.&lt;br /&gt;
[GLOVES:ITEM_GLOVES_GLOVES:COMMON]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|HELM}}&lt;br /&gt;
|&lt;br /&gt;
* item token&lt;br /&gt;
* rarity&lt;br /&gt;
| Rarity is optional, and valid values are FORCED, COMMON, UNCOMMON, and RARE (anything else is treated as COMMON). Uses the same rarity values and methods as outlined in ARMOR.&lt;br /&gt;
[HELM:ITEM_HELM_HELM:COMMON]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|INSTRUMENT}}&lt;br /&gt;
| item token&lt;br /&gt;
| No longer used due to the ability to generate instruments in world generation. It is still usable if pre-defined instruments are modded in, and generated musical forms are capable of selecting pre-defined instruments to use. However, reactions for making instruments, instrument parts, and/or assembling such instruments need to be added as well, as this token no longer adds such instruments to the craftdwarf's workshop menu.&lt;br /&gt;
[INSTRUMENT:ITEM_INSTRUMENT_FLUTE]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PANTS}}&lt;br /&gt;
|&lt;br /&gt;
* item token&lt;br /&gt;
* rarity&lt;br /&gt;
| Rarity is optional, and valid values are FORCED, COMMON, UNCOMMON, and RARE (anything else is treated as COMMON). Uses the same rarity values and methods as outlined in ARMOR.&lt;br /&gt;
[PANTS:ITEM_PANTS_PANTS:COMMON]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SHIELD}}&lt;br /&gt;
| item token&lt;br /&gt;
|&lt;br /&gt;
[SHIELD:ITEM_SHIELD_SHIELD]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SHOES}}&lt;br /&gt;
|&lt;br /&gt;
* item token&lt;br /&gt;
* rarity&lt;br /&gt;
| Rarity is optional, and valid values are FORCED, COMMON, UNCOMMON, and RARE (anything else is treated as COMMON). Uses the same rarity values and methods as outlined in ARMOR.&lt;br /&gt;
[SHOES:ITEM_SHOES_SHOES:COMMON]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SIEGEAMMO}}&lt;br /&gt;
| item token&lt;br /&gt;
|&lt;br /&gt;
[SIEGEAMMO:ITEM_SIEGEAMMO_BALLISTA]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TOOL}}&lt;br /&gt;
| item token&lt;br /&gt;
|&lt;br /&gt;
[TOOL:ITEM_TOOL_NEST_BOX]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TOY}}&lt;br /&gt;
| item token&lt;br /&gt;
|&lt;br /&gt;
[TOY:ITEM_TOY_PUZZLEBOX]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TRAPCOMP}}&lt;br /&gt;
| item token&lt;br /&gt;
|&lt;br /&gt;
[TRAPCOMP:ITEM_TRAPCOMP_GIANTAXEBLADE]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|WEAPON}}&lt;br /&gt;
| item token&lt;br /&gt;
| While this does not accept a rarity value, something similar can be achieved by having multiple variations of a weapon type with small differences and specifying each of them.{{cite forum|179547}}&lt;br /&gt;
[WEAPON:ITEM_WEAPON_AXE_BATTLE]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|USE_ANIMAL_PRODUCTS}}&lt;br /&gt;
|&lt;br /&gt;
| Allows use of products made from animals. All relevant creatures will be able to provide wool, silk, and extracts (including milk and venom) for trade, and non-sentient creatures (unless ethics state otherwise) will be able to provide eggs, caught fish, meat, leather, bone, shell, pearl, horn, and ivory.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|USE_ANY_PET_RACE}}&lt;br /&gt;
|&lt;br /&gt;
| Any creature in the civilization's list of usables (from the surrounding 7x7 or so of squares and map features in those squares) will be included in the initial usable creature list, which then gets pared down or otherwise considered. Without this, only common domestic and equipment creatures are added to the initial list.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|USE_CAVE_ANIMALS}}&lt;br /&gt;
|&lt;br /&gt;
| If they don't have it, creatures with exclusively subterranean biomes are skipped. If they have it, cave creatures will be included in the initial usable creature list.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|USE_EVIL_ANIMALS}}&lt;br /&gt;
|&lt;br /&gt;
| Without this, {{token|EVIL|c}} creatures are skipped, otherwise, evil creatures with {{token|SLOW_LEARNER|c}} or ''without'' {{token|CAN_LEARN|c}} will be included in the initial usable creature list, even the normally untameable species.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|USE_EVIL_PLANTS}}&lt;br /&gt;
|&lt;br /&gt;
| Same as USE_EVIL_ANIMALS for all uses of plants.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|USE_EVIL_WOOD}}&lt;br /&gt;
|&lt;br /&gt;
| Same as USE_EVIL_ANIMALS for all uses of wood.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|USE_GOOD_ANIMALS}}&lt;br /&gt;
|&lt;br /&gt;
| Without this, {{token|GOOD|c}} creatures are skipped, otherwise, good creatures ''without'' {{token|CAN_LEARN|c}} will be included in the initial usable creature list, even the normally untameable species.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|USE_GOOD_PLANTS}}&lt;br /&gt;
|&lt;br /&gt;
| Same as USE_GOOD_ANIMALS for all uses of plants.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|USE_GOOD_WOOD}}&lt;br /&gt;
|&lt;br /&gt;
| Same as USE_GOOD_ANIMALS for all uses of wood.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|USE_MISC_PROCESSED_WOOD_PRODUCTS}}&lt;br /&gt;
|&lt;br /&gt;
| If the relevant professions are permitted, controls availability of lye ({{token|LYE_MAKER|ut}}), charcoal ({{token|WOOD_BURNER|ut}}), and potash ({{token|POTASH_MAKER|ut}}).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|USE_NON_EXOTIC_PET_RACE}}&lt;br /&gt;
|&lt;br /&gt;
| Makes the civilization use all locally available non-exotic pets.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|COMMON_DOMESTIC_MOUNT}}&lt;br /&gt;
|&lt;br /&gt;
| Gives the civilization access to creatures with {{token|COMMON_DOMESTIC|c}} and {{token|MOUNT|c}}. Additionally, all available (based on USE_ANY_PET_RACE, USE_CAVE_ANIMALS, USE_GOOD_ANIMALS, and USE_EVIL_ANIMALS) creature with {{token|MOUNT|c}} and {{token|PET|c}} will be allowed for use as mounts during combat.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|COMMON_DOMESTIC_PACK}}&lt;br /&gt;
|&lt;br /&gt;
| Gives the civilization access to creatures with {{token|COMMON_DOMESTIC|c}} and {{token|PACK_ANIMAL.|c}} Additionally, all available (see above) creatures with {{token|PACK_ANIMAL|c}} and {{token|PET|c}} will be allowed for use during trade as pack animals.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|COMMON_DOMESTIC_PET}}&lt;br /&gt;
|&lt;br /&gt;
| Gives the civilization access to creatures with {{token|COMMON_DOMESTIC|c}} and {{token|PET|c}}. Additionally, all available (see above) creatures with {{token|PET|c}} will be allowed for use as pets.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|COMMON_DOMESTIC_PULL}}&lt;br /&gt;
|&lt;br /&gt;
| Gives the civilization access to creatures with {{token|COMMON_DOMESTIC|c}} and {{token|WAGON_PULLER|c}}. Additionally, all available (see above) creatures with {{token|WAGON_PULLER|c}} and {{token|PET|c}} will be allowed for use during trade to pull [[wagon]]s.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|RIVER_PRODUCTS}}&lt;br /&gt;
|&lt;br /&gt;
| Allow use of river products in the goods available for trade.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|OCEAN_PRODUCTS}}&lt;br /&gt;
|&lt;br /&gt;
| Allow use of ocean products (including [[amber]] and [[coral]]) in the goods available for trade. Without OCEAN_PRODUCTS, civilizations will not be able to trade ocean fish even if they are ''also'' available from other sources (e.g. [[sturgeon]]s and [[stingray]]s).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|INDOOR_FARMING}}&lt;br /&gt;
|&lt;br /&gt;
| Allow use of underground plant products in the goods available for trade. Lack of suitable vegetation in the caverns will cause [[World generation#Rejections|worldgen rejection]]s. According to Droseran: &amp;quot;Gives access to plants (structural material) and seeds. It only checks for {{token|EDIBLE_RAW|md}} or {{token|EDIBLE_COOKED|md}} on the plant's structural material. It doesn't check if the plant can be used in a reaction to produce something edible, only if it can be eaten raw or cooked. If an entity with this token is placed in a biome that doesn't have at least one of these tokens on the structural material, the map is rejected. Due to the randomness of plant selection in biomes, this can happen a lot as only about half of the vanilla plants have edible structural materials. Removing either of these tokens from plants dramatically increases map rejections.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|OUTDOOR_FARMING}}&lt;br /&gt;
|&lt;br /&gt;
| Allow use of outdoor plant products in the goods available for trade. Lack of suitable vegetation in this civilization's starting area will cause [[World generation#Rejections|worldgen rejection]]s. According to Droseran: &amp;quot;Gives access to plants (structural material) and seeds. It only checks for {{token|EDIBLE_RAW|md}} or {{token|EDIBLE_COOKED|md}} on the plant's structural material. It doesn't check if the plant can be used in a reaction to produce something edible, only if it can be eaten raw or cooked. If an entity with this token is placed in a biome that doesn't have at least one of these tokens on the structural material, the map is rejected. Due to the randomness of plant selection in biomes, this can happen a lot as only about half of the vanilla plants have edible structural materials. Removing either of these tokens from plants dramatically increases map rejections.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|INDOOR_GARDENS}}&lt;br /&gt;
|&lt;br /&gt;
| Allow use of underground plant growths (quarry bush leaves, in unmodded games) in the goods available for trade. According to Droseran: &amp;quot;Will never cause map rejections. It allows growths to be used, but doesn't care if none exist. If an entity doesn't have a farming token, they won't have seeds or plants available on embark/trade. But you can still farm in fortress mode with only this token, you just have to get the seeds manually or trading with another civ.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|OUTDOOR_GARDENS}}&lt;br /&gt;
|&lt;br /&gt;
| Allow use of outdoor plant growths in the goods available for trade. According to Droseran: &amp;quot;Will never cause map rejections. It allows growths to be used, but doesn't care if none exist. If an entity doesn't have a farming token, they won't have seeds or plants available on embark/trade. But you can still farm in fortress mode with only this token, you just have to get the seeds manually or trading with another civ.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|INDOOR_ORCHARDS}}&lt;br /&gt;
|&lt;br /&gt;
| Allows use of indoor tree growths in the goods available for trade. Not used in vanilla entities, as vanilla underground trees do not grow fruit. Needs INDOOR_WOOD to function. Will cause rejections, if growths are unavailable. According to Droseran: &amp;quot;Gives access to tree growths. It only checks for growths on trees that are {{token|EDIBLE_RAW|md}} or {{token|EDIBLE_COOKED|md}}. If an entity with this token is placed in a biome that does not have a tree with a growth with at least one of these tokens, the map is rejected.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|OUTDOOR_ORCHARDS}}&lt;br /&gt;
|&lt;br /&gt;
| Allows use of outdoor tree growths in the goods available for trade. Needs OUTDOOR_WOOD to function{{verify}}. According to Droseran: &amp;quot;Gives access to tree growths. It only checks for growths on trees that are [EDIBLE_RAW] or [EDIBLE_COOKED]. If an entity with this token is placed in a biome that does not have a tree with a growth with at least one of these tokens, the map is rejected.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CLOTHING}}&lt;br /&gt;
|&lt;br /&gt;
| Civilization members will attempt to wear clothing.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SUBTERRANEAN_CLOTHING}}&lt;br /&gt;
|&lt;br /&gt;
| Will wear things made of spider silk and other subterranean materials.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|EQUIPMENT_IMPROVEMENTS}}&lt;br /&gt;
|&lt;br /&gt;
| Adds decorations to equipment based on the level of the generated unit. Also improves item quality.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|IMPROVED_BOWS}}&lt;br /&gt;
|&lt;br /&gt;
| Adds decorations to weapons generated for bowman and master bowman.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|METAL_PREF}}&lt;br /&gt;
|&lt;br /&gt;
| Allows metal materials to be used to make cages (inexpensive metals only) and crafts.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|STONE_PREF}}&lt;br /&gt;
|&lt;br /&gt;
| Allows the civilization to make use of nearby stone types. If the {{token|FURNACE_OPERATOR|ut}} job is permitted, also allows ore-bearing stones to be smelted into metals.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|WOOD_WEAPONS}}&lt;br /&gt;
|&lt;br /&gt;
| The civilization can make traditionally metallic weapons such as swords and spears from wood.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|WOOD_ARMOR}}&lt;br /&gt;
|&lt;br /&gt;
| The civilization can make traditionally metallic armor such as mail shirts and helmets from wood.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|GEM_PREF}}&lt;br /&gt;
|&lt;br /&gt;
| Enables creatures of this entity to bring gems in trade.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|INDOOR_WOOD}}&lt;br /&gt;
|&lt;br /&gt;
| Allow use of subterranean wood types, such as tower-cap and fungiwood logs.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|OUTDOOR_WOOD}}&lt;br /&gt;
|&lt;br /&gt;
| Allow use of outdoor wood types, such as mangrove and oak.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|GEM_SHAPE}}&lt;br /&gt;
| [[Descriptor shape token|shape]]&lt;br /&gt;
| Precious gems cut by this civilization's jewelers can be of this shape.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|STONE_SHAPE}}&lt;br /&gt;
| [[Descriptor shape token|shape]]&lt;br /&gt;
| Ordinary non-gem stones cut by this civilization's jewelers can be of this shape.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|DIVINE_MAT_CLOTHING}}&lt;br /&gt;
|&lt;br /&gt;
| Allows use of materials with {{token|DIVINE|im}} for clothing. Used for generated divine entities.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|DIVINE_MAT_CRAFTS}}&lt;br /&gt;
|&lt;br /&gt;
| Allows use of materials with {{token|DIVINE|im}} for crafts.{{verify}} Used for generated divine entities.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|DIVINE_MAT_WEAPONS}}&lt;br /&gt;
|&lt;br /&gt;
| Allows use of metals with {{token|DIVINE|im}} for weapons. Used for generated divine entities.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|DIVINE_MAT_ARMOR}}&lt;br /&gt;
|&lt;br /&gt;
| Allows use of metals with {{token|DIVINE|im}} for armor. Used for generated divine entities.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Animal definitions ==&lt;br /&gt;
&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! Token&lt;br /&gt;
! Arguments&lt;br /&gt;
! Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ANIMAL}}&lt;br /&gt;
|&lt;br /&gt;
| Start an animal definition.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ANIMAL_TOKEN}}&lt;br /&gt;
| [[creature token]]&lt;br /&gt;
| Select specific creature.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ANIMAL_CASTE_TOKEN}}&lt;br /&gt;
| [[Caste|creature caste token]]&lt;br /&gt;
| Select specific creature caste (requires ANIMAL_TOKEN). Sites with animal populations will still include all castes, but only the selected ones will be used for specific roles.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ANIMAL_CLASS}}&lt;br /&gt;
| [[Creature token#CREATURE_CLASS|creature class]]&lt;br /&gt;
| Select creature castes with this creature class (multiple uses allowed).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ANIMAL_FORBIDDEN_CLASS}}&lt;br /&gt;
| [[Creature token#CREATURE_CLASS|creature class]]&lt;br /&gt;
| Forbid creature castes with this creature class (multiple uses allowed).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ANIMAL_ALWAYS_PRESENT}}&lt;br /&gt;
|&lt;br /&gt;
| Animal will be present even if it does not naturally occur in the entity's terrain. All creatures, including [[demon]]s, night trolls and other generated ones will be used if no specific creature or class is selected. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
* {{text anchor|ANIMAL_NEVER_MOUNT}}, {{text anchor|ANIMAL_ALWAYS_MOUNT}}&lt;br /&gt;
* {{text anchor|ANIMAL_NEVER_WAGON_PULLER}}, {{text anchor|ANIMAL_ALWAYS_WAGON_PULLER}}&lt;br /&gt;
* {{text anchor|ANIMAL_NEVER_SIEGE}}, {{text anchor|ANIMAL_ALWAYS_SIEGE}}&lt;br /&gt;
* {{text anchor|ANIMAL_NEVER_PET}}, {{text anchor|ANIMAL_ALWAYS_PET}}&lt;br /&gt;
* {{text anchor|ANIMAL_NEVER_PACK_ANIMAL}}, {{text anchor|ANIMAL_ALWAYS_PACK_ANIMAL}}&lt;br /&gt;
|&lt;br /&gt;
| Override creature usage tokens. Respectively:&lt;br /&gt;
* [[Creature token#MOUNT|MOUNT]] and [[Creature token#MOUNT_EXOTIC|MOUNT_EXOTIC]]&lt;br /&gt;
* [[Creature token#WAGON_PULLER|WAGON_PULLER]]&lt;br /&gt;
* [[Creature token#TRAINABLE_WAR|TRAINABLE_WAR]] and not [[Creature token#CAN_LEARN|CAN_LEARN]]&lt;br /&gt;
* [[Creature token#PET|PET]] and [[Creature token#PET_EXOTIC|PET_EXOTIC]]&lt;br /&gt;
* [[Creature token#PACK_ANIMAL|PACK_ANIMAL]]&lt;br /&gt;
ALWAYS overrides NEVER if a caste is matched by more than one animal definition.&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Tissue styling-related tokens ==&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! Token&lt;br /&gt;
! Arguments&lt;br /&gt;
! Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TISSUE_STYLE}}&lt;br /&gt;
| tissue style unit ID&lt;br /&gt;
| Select a tissue layer which has the ID attached using TISSUE_STYLE_UNIT token in unit raws. This allows setting further cultural style parameters for the selected tissue layer.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TS_MAINTAIN_LENGTH}}&lt;br /&gt;
|&lt;br /&gt;
* minimum length?&lt;br /&gt;
* maximum length?&lt;br /&gt;
| Presumably sets culturally preferred tissue length for selected tissue. Needs testing.&lt;br /&gt;
Dwarves have their beards set to 100:NONE by default.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TS_PREFERRED_SHAPING}}&lt;br /&gt;
| styling token&lt;br /&gt;
| Valid tokens are NEATLY_COMBED, BRAIDED, DOUBLE_BRAIDS, PONY_TAILS, CLEAN_SHAVEN and STANDARD_HAIR/BEARD/MOUSTACHE/SIDEBURNS_SHAPINGS.&lt;br /&gt;
Presumably sets culturally preferred tissue shapings for selected tissue. Needs testing.&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
:''Main articles: [[Entity examples]]''&lt;br /&gt;
&lt;br /&gt;
{{Category|Modding}}&lt;br /&gt;
{{Category|Tokens}}&lt;br /&gt;
{{Category|Entities}}&lt;br /&gt;
[[ru:Entity token]]&lt;/div&gt;</summary>
		<author><name>Joostheger</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=Talk:Variable_positions&amp;diff=315775</id>
		<title>Talk:Variable positions</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=Talk:Variable_positions&amp;diff=315775"/>
		<updated>2026-04-09T11:01:51Z</updated>

		<summary type="html">&lt;p&gt;Joostheger: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;----Hi! nice work so far!&lt;br /&gt;
A few points:&lt;br /&gt;
* I really wonder where the differences between human and goblins are coming from. Do you have any idea? I almost know for sure that the difference in MARKET-positions is because of humans have the CITY- type in DEFAULT_SITE_TYPE. But the others, I dont know. perhaps because of their values or ethics?&lt;br /&gt;
* There is a lot of vague language in this article ('Some religious entities(...)', which ones?), but also to much certainty, at places :-) . I would suggest to make it more tight. ChatGPT or another text AI can be of good use there, to remove any ambiguity&lt;br /&gt;
* The number of -1 is very strange to me, because this is an invalid value when writing raws for entities. Do you have any idea what the circumstances are for these positions? I see for example with the priests. Can it be that PRIEST is REPLACED_BY HIGH_PRIEST and also by highest priest? In that case, number -1 means: &amp;quot;currently replaced&amp;quot;. It should not have a current holder. For example, can you check a site with a mayor, does the expedition leader has -1? in that case, its caused by replacement. &lt;br /&gt;
* Landholders are a strange bunch, I'm curious if you find out anything about those!&lt;br /&gt;
[[User:Joostheger|Joostheger]] ([[User talk:Joostheger|talk]]) 12:22, 12 February 2026 (UTC)&lt;br /&gt;
&lt;br /&gt;
Thank you.&lt;br /&gt;
* Not sure. The thing is even if the goblins do overtake another site, no market officials will be created. So it is more likely an ethics or values thing. The same for the reduced number of different officials.&lt;br /&gt;
* Well no. And the thing about &amp;quot;Some religious entities&amp;quot; in that case is, that some religious entities do not have any positions (eg. due to no variable position being created during world gen for these religious entities), but all of these entities (with no positions) will probably not create an abbot (CUSTOM_LAW_MAKER), but priest and so on (if the world-gen could/would be restarted). But without checking all religious entities without positions in detail, it might be that in some cases an religious entity (which could create an abbot) does not have a position at the end of world gen. So while there is from one perspective some ambiguity, from another perspective it is very precise.&lt;br /&gt;
* The number -1 means that it is unlimited, meaning for that position an unlimited amount of assignments can be created.&lt;br /&gt;
* No there is no replacement between the priest. Look at the responsibilities for priest and the others. Also the highest priest is capped at one (ie. like the pope), while their is an unlimited number of high priests possible (like cardinals or bishops).&lt;br /&gt;
* So far all entries in the variable position were empty. So it seems that neither humans nor goblins are landholders. And I still need a little bit more familiarity with Lua, for a few more complicated scripts (which also correctly query the different abstract building types).&lt;br /&gt;
&lt;br /&gt;
In general some info is still missing. And also I am in a few cases not sure yet, what exactly is the case, so some ambiguity might also stem from that. Only at the last step I will try to remove (unneccessary) ambiguity.&lt;br /&gt;
&lt;br /&gt;
ps. At some point the commented out text passages should be removed (deleted), but if I would try to do it, it will be detected as possibly harmful and not be allowed.[[Special:Contributions/91.49.240.46|91.49.240.46]] 13:15, 12 February 2026 (UTC)&lt;br /&gt;
----&lt;br /&gt;
* Ok ill help you remove the commented lines, but you really should create an account :-)&lt;br /&gt;
* The number unlimited is written in the raws as AS_NEEDED. is that correct? If you, i'll suggest to replace the -1 with AS_NEEDED, to make that consistent with other positions and understandability&lt;br /&gt;
* I dont think you'll find any other landholders by the way. I think it isnt in variable positions to have that. Landholders arent also neccesary to let the game run and simulate an interesint world, while these variable positions are.&lt;br /&gt;
[[User:Joostheger|Joostheger]] ([[User talk:Joostheger|talk]]) 14:52, 12 February 2026 (UTC)&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
* Well I might eventually create an account, iff no email address (etc.) needs to be provided.&lt;br /&gt;
* The translation of data into understandable form is not a priority, but -1 will be changed eventually (or a note added).&lt;br /&gt;
&lt;br /&gt;
ps. I will probably not edit anything in the next few hours on the article, so now or maybe tommorrow might be a good idea to remove the lines currently commented out.[[Special:Contributions/91.49.240.46|91.49.240.46]] 15:21, 12 February 2026 (UTC)&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
Most of the &amp;quot;easy&amp;quot; work has been done. Next steps would be (not necessarily in the stated order):&lt;br /&gt;
1. replacing/removing the technical flags.&lt;br /&gt;
2. further research on what the concret requirements for the creation of different official and market official positions on site level is.&lt;br /&gt;
3. Figureing out the reason why goblins so far only create variable positions on site level, when the leader was a custom bandit leader (ie. at least in case of the forced admin it should be possible).&lt;br /&gt;
4. Figureing out why the goblins only create a subset of all possible variable official positions (both on site and civ level).&lt;br /&gt;
5. Researching why the goblins do not create custom market officials.&lt;br /&gt;
6. Figureing out why in some cases the dwarves use the generic forced admin and not the forced admin from the dwarven raws.&lt;br /&gt;
7. Removing any ambiguity (if possible) from the page and improve understandability. For that I suggest that with pointing to the unclear part a discussion entry is made, so that I am made aware of it and can then clear it up.&lt;br /&gt;
8. Improve formatting and table presentation: ie. possibly move some info to other tables to reduce table width (of the existing table). Or use smaller fonts (scaling) for some table entries. etc.&lt;br /&gt;
9. Figureing out (and testing) which other values in the tags [variable_positions] (and variable_site_positions) are valid. I do not think that it is only [variable_positions:all]. (This won't be done by me).&lt;br /&gt;
10. Add section(s) for modifing the game data, so that in an existing world a few more variable positions are created (and filled with historical figures). So that the variable positions then function as if the variable positions had already been created (and filled) during world gen.&lt;br /&gt;
&lt;br /&gt;
I am probably missing a few things. But that is all for now, from my part. Further edits (by me) to the variable positions page will not be done before next week.[[Special:Contributions/91.49.240.46|91.49.240.46]] 17:32, 13 February 2026 (UTC)&lt;br /&gt;
----&lt;br /&gt;
a few thoughs on your questions:&lt;br /&gt;
3: I quess that the most important factors are their DEFAULT_SITE_TYPE and their values. 4: same. See: [[https://www.bay12forums.com/smf/index.php?topic=110027.msg8610297#msg8610297]]. 5: Because there are no markets in the dark fortress. 6: I think that the entity MOUNTAINS (dwarves) always uses the raw-forced administrator. I think that what you have seen, are probably not entity type 1, but maybe like outcasts or villains or whatever.  9: I can see what i can do [[User:Joostheger|Joostheger]] ([[User talk:Joostheger|talk]]) 21:10, 17 February 2026 (UTC)&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
Well the dwarves are (probably) supposed to only use the forced&lt;br /&gt;
administrator as defined in the raws, but they are not.&lt;br /&gt;
&lt;br /&gt;
In one case the site ruled by the forced administrator was originally&lt;br /&gt;
a human site, which was then taken over by a (dwarven) necromancer.&lt;br /&gt;
Afterwards a dwarven civ defeated the necromancer forces and formed a new government with a forced administrator (with precedence 100).&lt;br /&gt;
And the government still rules at the end of world gen.&lt;br /&gt;
&lt;br /&gt;
The other was originally a dwarven site (hillock). &lt;br /&gt;
It was then taken over by a necromancer (again dwarven).&lt;br /&gt;
The dwarves (original owners) then took the site back and put&lt;br /&gt;
a forced administrator in place (again with precedence 100). But the&lt;br /&gt;
site did change its owner again afterwards.&lt;br /&gt;
&lt;br /&gt;
To 3.: The goblins can take over other sites, so that is unlikely the cause. And would also not explain why the goblins with a custom bandit leader do create some officials, but the forced admin does not. (It is a totally different question, why the normal goblin site leaders do not create any officials.)&lt;br /&gt;
&lt;br /&gt;
To 4.: Well for one thing the ethics (and not the values) might play a role (ie. most things being a &amp;quot;personal matter&amp;quot;). For some other things (chef, grain official) it is probably either that the goblins do neither drink nor eat or it is (indirectly) because of that as they might not have some labors/jobs (see [[https://dwarffortressbugtracker.com/view.php?id=11727]]). The later is probably also the reason, why they do not have doctors. The values on the other hand will probably play a role, whether the custom law maker is a diplomat (or has the military strategy responsibility).&lt;br /&gt;
&lt;br /&gt;
To 5.: Again the goblins can take over other sites, so unless they always destroy the markets, when they occupy such a site, this cannot be the reason. But needs to be something else.&lt;br /&gt;
&lt;br /&gt;
To. 9: The question is, whether the definitions allows multiple variable_position tags (resp. site variable position tags) or if only one is evaluated (and used). Furthermore the question is, whether only ALL and the name of a responsibility (like MANAGE_WORK_ORDERS) is allowed or if the name of the custom officials (as used as code) is also valid. And then a follow-up question would be, if ie. MILITARY_STRATEGY is written as entry, whether this will always create the CUSTOM_MILITARY_STRATEGY. And what about the cases, when an official has usually two responsibilities (like the &amp;quot;chef&amp;quot;), will that official be created with only one resp., if only one is given. Do both responsibilities need to be written (ie. with a comma as separator) in one tag. But that are all modding related questions (and not questions for modifying an existing world).&lt;br /&gt;
&lt;br /&gt;
BTW: In many cases, when I looked into the history, a forced administrator was created usually after a site had been taken over by a necromancer (some time before). But I have not figured out yet, how I can easily check (from the entity definition), which group belongs to a necromancer and which not.[[Special:Contributions/91.49.240.46|91.49.240.46]] 16:44, 18 February 2026 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Variable Positions and Quests ==&lt;br /&gt;
&lt;br /&gt;
Quiet a few variable positions do have the same flags set as ie. the CUSTOM_BANDIT_LEADER (who is according to the Quest page) able to give out quests to adventurers, allthough some of the variable positions do not have any squads (which again according to the Quest page is necessary to be able to give out quests), but then again the question is, whether that information on the Quest page (which seems to have been more or less only been migrated from an older version to the current v5x version) is current (or has even been correct for the older version). It is probably a good idea if someone tests out in the adventure mode, if ie. the guild leader (dean/doyen), merchant corporation leader (and representative) and other variable positions (who are mentioned on this page to have the quest_giver and/or kill_quest flag set) are able to give out quests to adventurers and then ie. update the Quest page with the results.[[Special:Contributions/91.49.240.46|91.49.240.46]] 14:05, 7 March 2026 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Holding multiple variable positions in world-gen. ==&lt;br /&gt;
&lt;br /&gt;
Well while checking something else, I did come across a human necromancer, who currently holds 4 (variable) position assignments (and which are not former position assignments). The first three positions belong to an OUTCAST group, where the human holds the CUSTOM_OUTCAST_LT position (first assignment still active) and then two different CUSTOM_OUTCAST_FACTOR (assignments). The last position is the CUSTOM_LAW_MAKER (law-giver) of a human civilization (gained afterwards). The information is via dfhack and legends of a world directly after finishing world-gen (for the dfhack info a new game was started in the world and either before selecting the type of the game dfhack was used for analyzing the current game data or after selecting legends mode and analyzing the current game data with dfhack in addition to using the legends). In how far the necromancer is fullfilling all assignments is - of course - a totally different matter. An indepth analysis, how seldom/rare it is and which entities and position assignments are possible, will be done at a later date (possibly end of this month).[[Special:Contributions/91.49.243.26|91.49.243.26]] 11:52, 14 March 2026 (UT&lt;br /&gt;
----&lt;br /&gt;
Hello nameless one, love your work so far! Very impressive. &lt;br /&gt;
About CUSTOM_OUTCAST_LT being only a single one, there is another possible reason discussed in the forums. Search for 'army' and 'lieutentant'. It is, that there is (almost) never a reason to create more than one army commander, despite the civ being able to do so.&lt;br /&gt;
[[User:Joostheger|Joostheger]] ([[User talk:Joostheger|talk]]) 13:23, 15 March 2026 (UTC)&lt;br /&gt;
----&lt;br /&gt;
The squad size of the CUSTOM_OUTCAST_LT is zero (unless you do doubt the table entry), ie. in contrast to the usual army commanders. So the reason for no more than one CUSTOM_OUTCAST_LT has nothing to do, with being an army commander. To see for yourself, just ie. set the number for the OUTPOST_LIASION to AS_NEEDED and look whether you will get an OUTPOST_LIASION created (ie. the problem has not really anything to do with being an army commander or not, but with the AS_NEEDED or unlimited number, without the game knowing what condition to check, whether to create an (or another) assignment for the position, at least if the position is not tied to a number of locations/sites or the position being a landholder, which is again tied to the number of sites of a certain kind). And the reason for one CUSTOM_OUTCAST_LT getting created, instead of zero is already in the note.[[Special:Contributions/91.49.243.26|91.49.243.26]] 12:28, 16 March 2026 (UTC)&lt;br /&gt;
&lt;br /&gt;
Addition: The only discussion I could find in the bay12 forums are from 2021 and thus concern v47 and not the current version. Besides considering that in my current game one human civ attacks itself nearly each year, shortly after their caravan returns home, in some cases with the attacker only a yak bull or yak cow (otherwise usually a single human), I do not think that any previous info about creation of army commanders is relevant, as yak bulls (and yak cows) are doing just fine as army commanders (of their one-yak-army). Or to put it in other words army commanders are currently created on the fly (otherwise in a world I did analyze there would be no way that a necromancer, with a tower, even if the necromancer would draft all position holders and itself as an army commander, could attack 20-30 different sites all at the start of a season of the same year; this btw. happened at least twice in the span of the 250 years of history in world-gen allthough with different necromancers).&lt;br /&gt;
ps. If you are wondering the yak bulls/cows and the humans are previous traders, who visited my fortress.[[Special:Contributions/91.49.243.26|91.49.243.26]] 17:02, 16 March 2026 (UTC)&lt;br /&gt;
----&lt;br /&gt;
Here are the posts I was referring to. Do with it what you want.&lt;br /&gt;
* https://www.bay12forums.com/smf/index.php?topic=175437.msg8331668#msg8331668&lt;br /&gt;
* https://www.bay12forums.com/smf/index.php?topic=165213.msg8335682#msg8335682&lt;br /&gt;
&lt;br /&gt;
It surprises me that CUSTOM_OUTCAST_LT has a squad of 0, despite its obvious responsibilities. Since this game is far from finished, my guess is that this is just an oversight. I would be cautious in drawing conclusions, because a lot of what you're working with is outdated, and hasn't been seen by the developers for years.&lt;br /&gt;
another tip: in de old dev-diaries are hidden gems of information. See for example https://www.bay12games.com/dwarves/dev_2011.html and look for 'outcast'. &lt;br /&gt;
[[User:Joostheger|Joostheger]] ([[User talk:Joostheger|talk]]) 09:56, 17 March 2026 (UTC)&lt;br /&gt;
&lt;br /&gt;
---- Here's a piece of valuable information:&lt;br /&gt;
&amp;quot;I also allowed the '''variable-position''' cultures (humans and goblins) to '''form''' many more administrative '''positions''' to give them layers for the intrigue to operate over (the dwarves already have many layers, from the bookkeepers over to the landed nobles and monarch.) Now they can end up with a keeper of the seal, a royal justiciar, a chief housekeeper, a master of beasts, and many other randomized possibilities, '''depending on the values of the culture, its permitted professions and other traits'''. The positions overlap with the current dwarven responsibilities, though there are a few new ones. This doesn't mean much yet, specifically, but there will be some practical considerations implemented before we're through.&amp;quot; source:  https://www.bay12games.com/dwarves/dev_2018.html?utm_source=chatgpt.com&lt;br /&gt;
[[User:Joostheger|Joostheger]] ([[User talk:Joostheger|talk]]) 10:19, 7 April 2026 (UTC)&lt;br /&gt;
&lt;br /&gt;
Yeah, I will have to look into the intrique part at some point - currently I can only create the positions, create the assignments, have the position be filled, the corresponding historical events to be shown in legends, have the positions take care of their responsibilities and have them take residence in the appropiate building (with corresponding historical event to start ruling from a mead hall or keep), not knowing if that is enough to also get the &amp;quot;intrique&amp;quot; part going. But I did found a more or less intriqueing part, where a human site government had a baron and a baroness (at the same time, both baron/baroness created during world-gen) - the assignment did point to the histfig which assumed the position later (but in legends for both histfigs it was claimed that they are the current baron/baroness). And both had taken residence in the local keep (as a seat of power). I did come across this bit, when checking under which circumstances the law-giver will take up residence somewhere to rule. (Which as it turns out must be a keep in the capital, which means that the infrastructure.TOWN value must be greater than zero, but will not do so, if the captial is currently ruled by a FORCED_ADMINISTRATOR, who interestingly will not get upgraded to a CUSTOM_LAW_MAKER_2, if the ruled site is the capital. If the capital has a keep and the site government, which is part of the civ, is not ruled by a FORCED_ADMINISTRATOR than the law-giver and the site ruler will usually take residence in the keep to rule from it. In case of the FORCED_ADMINISTRATOR only the admin will take residence in the keep.)[[Special:Contributions/87.143.74.72|87.143.74.72]] 10:13, 9 April 2026 (UTC)&lt;br /&gt;
----&lt;br /&gt;
Yeah, but the intrigue is not the most interesting part here. It is that positions are created, based on cultural values. [[User:Joostheger|Joostheger]] ([[User talk:Joostheger|talk]]) 11:01, 9 April 2026 (UTC)&lt;/div&gt;</summary>
		<author><name>Joostheger</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=Talk:Variable_positions&amp;diff=315766</id>
		<title>Talk:Variable positions</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=Talk:Variable_positions&amp;diff=315766"/>
		<updated>2026-04-07T10:19:28Z</updated>

		<summary type="html">&lt;p&gt;Joostheger: /* Holding multiple variable positions in world-gen. */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;----Hi! nice work so far!&lt;br /&gt;
A few points:&lt;br /&gt;
* I really wonder where the differences between human and goblins are coming from. Do you have any idea? I almost know for sure that the difference in MARKET-positions is because of humans have the CITY- type in DEFAULT_SITE_TYPE. But the others, I dont know. perhaps because of their values or ethics?&lt;br /&gt;
* There is a lot of vague language in this article ('Some religious entities(...)', which ones?), but also to much certainty, at places :-) . I would suggest to make it more tight. ChatGPT or another text AI can be of good use there, to remove any ambiguity&lt;br /&gt;
* The number of -1 is very strange to me, because this is an invalid value when writing raws for entities. Do you have any idea what the circumstances are for these positions? I see for example with the priests. Can it be that PRIEST is REPLACED_BY HIGH_PRIEST and also by highest priest? In that case, number -1 means: &amp;quot;currently replaced&amp;quot;. It should not have a current holder. For example, can you check a site with a mayor, does the expedition leader has -1? in that case, its caused by replacement. &lt;br /&gt;
* Landholders are a strange bunch, I'm curious if you find out anything about those!&lt;br /&gt;
[[User:Joostheger|Joostheger]] ([[User talk:Joostheger|talk]]) 12:22, 12 February 2026 (UTC)&lt;br /&gt;
&lt;br /&gt;
Thank you.&lt;br /&gt;
* Not sure. The thing is even if the goblins do overtake another site, no market officials will be created. So it is more likely an ethics or values thing. The same for the reduced number of different officials.&lt;br /&gt;
* Well no. And the thing about &amp;quot;Some religious entities&amp;quot; in that case is, that some religious entities do not have any positions (eg. due to no variable position being created during world gen for these religious entities), but all of these entities (with no positions) will probably not create an abbot (CUSTOM_LAW_MAKER), but priest and so on (if the world-gen could/would be restarted). But without checking all religious entities without positions in detail, it might be that in some cases an religious entity (which could create an abbot) does not have a position at the end of world gen. So while there is from one perspective some ambiguity, from another perspective it is very precise.&lt;br /&gt;
* The number -1 means that it is unlimited, meaning for that position an unlimited amount of assignments can be created.&lt;br /&gt;
* No there is no replacement between the priest. Look at the responsibilities for priest and the others. Also the highest priest is capped at one (ie. like the pope), while their is an unlimited number of high priests possible (like cardinals or bishops).&lt;br /&gt;
* So far all entries in the variable position were empty. So it seems that neither humans nor goblins are landholders. And I still need a little bit more familiarity with Lua, for a few more complicated scripts (which also correctly query the different abstract building types).&lt;br /&gt;
&lt;br /&gt;
In general some info is still missing. And also I am in a few cases not sure yet, what exactly is the case, so some ambiguity might also stem from that. Only at the last step I will try to remove (unneccessary) ambiguity.&lt;br /&gt;
&lt;br /&gt;
ps. At some point the commented out text passages should be removed (deleted), but if I would try to do it, it will be detected as possibly harmful and not be allowed.[[Special:Contributions/91.49.240.46|91.49.240.46]] 13:15, 12 February 2026 (UTC)&lt;br /&gt;
----&lt;br /&gt;
* Ok ill help you remove the commented lines, but you really should create an account :-)&lt;br /&gt;
* The number unlimited is written in the raws as AS_NEEDED. is that correct? If you, i'll suggest to replace the -1 with AS_NEEDED, to make that consistent with other positions and understandability&lt;br /&gt;
* I dont think you'll find any other landholders by the way. I think it isnt in variable positions to have that. Landholders arent also neccesary to let the game run and simulate an interesint world, while these variable positions are.&lt;br /&gt;
[[User:Joostheger|Joostheger]] ([[User talk:Joostheger|talk]]) 14:52, 12 February 2026 (UTC)&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
* Well I might eventually create an account, iff no email address (etc.) needs to be provided.&lt;br /&gt;
* The translation of data into understandable form is not a priority, but -1 will be changed eventually (or a note added).&lt;br /&gt;
&lt;br /&gt;
ps. I will probably not edit anything in the next few hours on the article, so now or maybe tommorrow might be a good idea to remove the lines currently commented out.[[Special:Contributions/91.49.240.46|91.49.240.46]] 15:21, 12 February 2026 (UTC)&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
Most of the &amp;quot;easy&amp;quot; work has been done. Next steps would be (not necessarily in the stated order):&lt;br /&gt;
1. replacing/removing the technical flags.&lt;br /&gt;
2. further research on what the concret requirements for the creation of different official and market official positions on site level is.&lt;br /&gt;
3. Figureing out the reason why goblins so far only create variable positions on site level, when the leader was a custom bandit leader (ie. at least in case of the forced admin it should be possible).&lt;br /&gt;
4. Figureing out why the goblins only create a subset of all possible variable official positions (both on site and civ level).&lt;br /&gt;
5. Researching why the goblins do not create custom market officials.&lt;br /&gt;
6. Figureing out why in some cases the dwarves use the generic forced admin and not the forced admin from the dwarven raws.&lt;br /&gt;
7. Removing any ambiguity (if possible) from the page and improve understandability. For that I suggest that with pointing to the unclear part a discussion entry is made, so that I am made aware of it and can then clear it up.&lt;br /&gt;
8. Improve formatting and table presentation: ie. possibly move some info to other tables to reduce table width (of the existing table). Or use smaller fonts (scaling) for some table entries. etc.&lt;br /&gt;
9. Figureing out (and testing) which other values in the tags [variable_positions] (and variable_site_positions) are valid. I do not think that it is only [variable_positions:all]. (This won't be done by me).&lt;br /&gt;
10. Add section(s) for modifing the game data, so that in an existing world a few more variable positions are created (and filled with historical figures). So that the variable positions then function as if the variable positions had already been created (and filled) during world gen.&lt;br /&gt;
&lt;br /&gt;
I am probably missing a few things. But that is all for now, from my part. Further edits (by me) to the variable positions page will not be done before next week.[[Special:Contributions/91.49.240.46|91.49.240.46]] 17:32, 13 February 2026 (UTC)&lt;br /&gt;
----&lt;br /&gt;
a few thoughs on your questions:&lt;br /&gt;
3: I quess that the most important factors are their DEFAULT_SITE_TYPE and their values. 4: same. See: [[https://www.bay12forums.com/smf/index.php?topic=110027.msg8610297#msg8610297]]. 5: Because there are no markets in the dark fortress. 6: I think that the entity MOUNTAINS (dwarves) always uses the raw-forced administrator. I think that what you have seen, are probably not entity type 1, but maybe like outcasts or villains or whatever.  9: I can see what i can do [[User:Joostheger|Joostheger]] ([[User talk:Joostheger|talk]]) 21:10, 17 February 2026 (UTC)&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
Well the dwarves are (probably) supposed to only use the forced&lt;br /&gt;
administrator as defined in the raws, but they are not.&lt;br /&gt;
&lt;br /&gt;
In one case the site ruled by the forced administrator was originally&lt;br /&gt;
a human site, which was then taken over by a (dwarven) necromancer.&lt;br /&gt;
Afterwards a dwarven civ defeated the necromancer forces and formed a new government with a forced administrator (with precedence 100).&lt;br /&gt;
And the government still rules at the end of world gen.&lt;br /&gt;
&lt;br /&gt;
The other was originally a dwarven site (hillock). &lt;br /&gt;
It was then taken over by a necromancer (again dwarven).&lt;br /&gt;
The dwarves (original owners) then took the site back and put&lt;br /&gt;
a forced administrator in place (again with precedence 100). But the&lt;br /&gt;
site did change its owner again afterwards.&lt;br /&gt;
&lt;br /&gt;
To 3.: The goblins can take over other sites, so that is unlikely the cause. And would also not explain why the goblins with a custom bandit leader do create some officials, but the forced admin does not. (It is a totally different question, why the normal goblin site leaders do not create any officials.)&lt;br /&gt;
&lt;br /&gt;
To 4.: Well for one thing the ethics (and not the values) might play a role (ie. most things being a &amp;quot;personal matter&amp;quot;). For some other things (chef, grain official) it is probably either that the goblins do neither drink nor eat or it is (indirectly) because of that as they might not have some labors/jobs (see [[https://dwarffortressbugtracker.com/view.php?id=11727]]). The later is probably also the reason, why they do not have doctors. The values on the other hand will probably play a role, whether the custom law maker is a diplomat (or has the military strategy responsibility).&lt;br /&gt;
&lt;br /&gt;
To 5.: Again the goblins can take over other sites, so unless they always destroy the markets, when they occupy such a site, this cannot be the reason. But needs to be something else.&lt;br /&gt;
&lt;br /&gt;
To. 9: The question is, whether the definitions allows multiple variable_position tags (resp. site variable position tags) or if only one is evaluated (and used). Furthermore the question is, whether only ALL and the name of a responsibility (like MANAGE_WORK_ORDERS) is allowed or if the name of the custom officials (as used as code) is also valid. And then a follow-up question would be, if ie. MILITARY_STRATEGY is written as entry, whether this will always create the CUSTOM_MILITARY_STRATEGY. And what about the cases, when an official has usually two responsibilities (like the &amp;quot;chef&amp;quot;), will that official be created with only one resp., if only one is given. Do both responsibilities need to be written (ie. with a comma as separator) in one tag. But that are all modding related questions (and not questions for modifying an existing world).&lt;br /&gt;
&lt;br /&gt;
BTW: In many cases, when I looked into the history, a forced administrator was created usually after a site had been taken over by a necromancer (some time before). But I have not figured out yet, how I can easily check (from the entity definition), which group belongs to a necromancer and which not.[[Special:Contributions/91.49.240.46|91.49.240.46]] 16:44, 18 February 2026 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Variable Positions and Quests ==&lt;br /&gt;
&lt;br /&gt;
Quiet a few variable positions do have the same flags set as ie. the CUSTOM_BANDIT_LEADER (who is according to the Quest page) able to give out quests to adventurers, allthough some of the variable positions do not have any squads (which again according to the Quest page is necessary to be able to give out quests), but then again the question is, whether that information on the Quest page (which seems to have been more or less only been migrated from an older version to the current v5x version) is current (or has even been correct for the older version). It is probably a good idea if someone tests out in the adventure mode, if ie. the guild leader (dean/doyen), merchant corporation leader (and representative) and other variable positions (who are mentioned on this page to have the quest_giver and/or kill_quest flag set) are able to give out quests to adventurers and then ie. update the Quest page with the results.[[Special:Contributions/91.49.240.46|91.49.240.46]] 14:05, 7 March 2026 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Holding multiple variable positions in world-gen. ==&lt;br /&gt;
&lt;br /&gt;
Well while checking something else, I did come across a human necromancer, who currently holds 4 (variable) position assignments (and which are not former position assignments). The first three positions belong to an OUTCAST group, where the human holds the CUSTOM_OUTCAST_LT position (first assignment still active) and then two different CUSTOM_OUTCAST_FACTOR (assignments). The last position is the CUSTOM_LAW_MAKER (law-giver) of a human civilization (gained afterwards). The information is via dfhack and legends of a world directly after finishing world-gen (for the dfhack info a new game was started in the world and either before selecting the type of the game dfhack was used for analyzing the current game data or after selecting legends mode and analyzing the current game data with dfhack in addition to using the legends). In how far the necromancer is fullfilling all assignments is - of course - a totally different matter. An indepth analysis, how seldom/rare it is and which entities and position assignments are possible, will be done at a later date (possibly end of this month).[[Special:Contributions/91.49.243.26|91.49.243.26]] 11:52, 14 March 2026 (UT&lt;br /&gt;
----&lt;br /&gt;
Hello nameless one, love your work so far! Very impressive. &lt;br /&gt;
About CUSTOM_OUTCAST_LT being only a single one, there is another possible reason discussed in the forums. Search for 'army' and 'lieutentant'. It is, that there is (almost) never a reason to create more than one army commander, despite the civ being able to do so.&lt;br /&gt;
[[User:Joostheger|Joostheger]] ([[User talk:Joostheger|talk]]) 13:23, 15 March 2026 (UTC)&lt;br /&gt;
----&lt;br /&gt;
The squad size of the CUSTOM_OUTCAST_LT is zero (unless you do doubt the table entry), ie. in contrast to the usual army commanders. So the reason for no more than one CUSTOM_OUTCAST_LT has nothing to do, with being an army commander. To see for yourself, just ie. set the number for the OUTPOST_LIASION to AS_NEEDED and look whether you will get an OUTPOST_LIASION created (ie. the problem has not really anything to do with being an army commander or not, but with the AS_NEEDED or unlimited number, without the game knowing what condition to check, whether to create an (or another) assignment for the position, at least if the position is not tied to a number of locations/sites or the position being a landholder, which is again tied to the number of sites of a certain kind). And the reason for one CUSTOM_OUTCAST_LT getting created, instead of zero is already in the note.[[Special:Contributions/91.49.243.26|91.49.243.26]] 12:28, 16 March 2026 (UTC)&lt;br /&gt;
&lt;br /&gt;
Addition: The only discussion I could find in the bay12 forums are from 2021 and thus concern v47 and not the current version. Besides considering that in my current game one human civ attacks itself nearly each year, shortly after their caravan returns home, in some cases with the attacker only a yak bull or yak cow (otherwise usually a single human), I do not think that any previous info about creation of army commanders is relevant, as yak bulls (and yak cows) are doing just fine as army commanders (of their one-yak-army). Or to put it in other words army commanders are currently created on the fly (otherwise in a world I did analyze there would be no way that a necromancer, with a tower, even if the necromancer would draft all position holders and itself as an army commander, could attack 20-30 different sites all at the start of a season of the same year; this btw. happened at least twice in the span of the 250 years of history in world-gen allthough with different necromancers).&lt;br /&gt;
ps. If you are wondering the yak bulls/cows and the humans are previous traders, who visited my fortress.[[Special:Contributions/91.49.243.26|91.49.243.26]] 17:02, 16 March 2026 (UTC)&lt;br /&gt;
----&lt;br /&gt;
Here are the posts I was referring to. Do with it what you want.&lt;br /&gt;
* https://www.bay12forums.com/smf/index.php?topic=175437.msg8331668#msg8331668&lt;br /&gt;
* https://www.bay12forums.com/smf/index.php?topic=165213.msg8335682#msg8335682&lt;br /&gt;
&lt;br /&gt;
It surprises me that CUSTOM_OUTCAST_LT has a squad of 0, despite its obvious responsibilities. Since this game is far from finished, my guess is that this is just an oversight. I would be cautious in drawing conclusions, because a lot of what you're working with is outdated, and hasn't been seen by the developers for years.&lt;br /&gt;
another tip: in de old dev-diaries are hidden gems of information. See for example https://www.bay12games.com/dwarves/dev_2011.html and look for 'outcast'. &lt;br /&gt;
[[User:Joostheger|Joostheger]] ([[User talk:Joostheger|talk]]) 09:56, 17 March 2026 (UTC)&lt;br /&gt;
&lt;br /&gt;
---- Here's a piece of valuable information:&lt;br /&gt;
&amp;quot;I also allowed the '''variable-position''' cultures (humans and goblins) to '''form''' many more administrative '''positions''' to give them layers for the intrigue to operate over (the dwarves already have many layers, from the bookkeepers over to the landed nobles and monarch.) Now they can end up with a keeper of the seal, a royal justiciar, a chief housekeeper, a master of beasts, and many other randomized possibilities, '''depending on the values of the culture, its permitted professions and other traits'''. The positions overlap with the current dwarven responsibilities, though there are a few new ones. This doesn't mean much yet, specifically, but there will be some practical considerations implemented before we're through.&amp;quot; source:  https://www.bay12games.com/dwarves/dev_2018.html?utm_source=chatgpt.com&lt;br /&gt;
[[User:Joostheger|Joostheger]] ([[User talk:Joostheger|talk]]) 10:19, 7 April 2026 (UTC)&lt;/div&gt;</summary>
		<author><name>Joostheger</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=Entity_token&amp;diff=315763</id>
		<title>Entity token</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=Entity_token&amp;diff=315763"/>
		<updated>2026-04-07T08:50:44Z</updated>

		<summary type="html">&lt;p&gt;Joostheger: /* Placement */ apparently, the sequence in which biome support tokens are defined, matters.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Quality|Superior}}&lt;br /&gt;
{{av}}&lt;br /&gt;
{{Modding}}&lt;br /&gt;
'''Entity tokens''' define entities, or [[civilization]]s, in entity_*.txt files.&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;[OBJECT:ENTITY]&amp;lt;/code&amp;gt; [[token]] begins the definition of an entity [[raw file]]. Each new entity definition that follows begins with the &amp;lt;code&amp;gt;[ENTITY:''entity_ID'']&amp;lt;/code&amp;gt; token, where ''entity_ID'' is a unique identifier for that entity, and the entity's properties are then specified by the use of further entity tokens; or, tokens can be added to existing entities using &amp;lt;code&amp;gt;[SELECT_ENTITY:''entity_ID'']&amp;lt;/code&amp;gt; instead.&lt;br /&gt;
&lt;br /&gt;
All known entity tokens are listed below. &lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
{{clear}}&lt;br /&gt;
&lt;br /&gt;
== Gameplay ==&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! Token&lt;br /&gt;
! Arguments&lt;br /&gt;
! Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ALL_MAIN_POPS_CONTROLLABLE}}&lt;br /&gt;
| &lt;br /&gt;
| Allows adventure mode for entities with sites.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SITE_CONTROLLABLE}}&lt;br /&gt;
| &lt;br /&gt;
| Allows fortress mode. If multiple entities have the SITE_CONTROLLABLE token, then at embark the specific civs can be chosen on the civ list screen. At least one civilization must have this token.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CREATURE}}&lt;br /&gt;
| creature&lt;br /&gt;
|The type of creature that will inhabit the civilization. If multiple creature types are specified, each civilization will randomly choose one of the creatures. In entities with multiple possible creatures, you can manipulate the chance of one creature being chosen by adding multiple identical creature tags. For instance adding [CREATURE:DWARF][CREATURE:DWARF][CREATURE:DWARF][CREATURE:ELF] to the same entity will make the civs created about 75% dwarven, 25% elven. It should be noted that civilizations are in general weighted by this token: for example, if you have one entity with three [CREATURE:DWARF] tokens and another separate entity with a single [CREATURE:ELF] token, then you can expect to see three times as many of the former placed as the latter (assuming enough unclaimed [START_BIOME:X] space remains). Note that spawn rates are also limited by unclaimed biome space - if an entity can only spawn in a rarer set of biomes (only LAKE_TROPICAL_SALTWATER for example) then their spawn rate will end up being limited by the remaining unclaimed space in that biome type rather than the number of [CREATURE:X] tokens present in the entity raw.&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SOURCE_HFID}}&lt;br /&gt;
| integer&lt;br /&gt;
| Found on generated [[angel]] entities.  Appears to draw from creatures with this HFID, which associates the entity with a historical figure of the same ID corresponding to a [[deity]].&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Placement ==&lt;br /&gt;
&lt;br /&gt;
Entity spawning during world gen is influenced by several factors:&lt;br /&gt;
* The &amp;quot;[[Advanced world generation#Number of Civilizations|Number of Civilizations]]&amp;quot; world gen setting places a hard limit on the total number of entities spawned.&lt;br /&gt;
* The &amp;quot;[[Advanced world generation#Playable Civilization Required|Playable Civilization Required]]&amp;quot; world gen setting forces at least one of each [[Entity token#SITE_CONTROLLABLE|SITE_CONTROLLABLE]] entity to spawn (presumably still limited by &amp;quot;Number of Civilizations&amp;quot;).&lt;br /&gt;
* The number of &amp;lt;nowiki&amp;gt;[&amp;lt;/nowiki&amp;gt;[[Entity token#CREATURE|CREATURE]]:X] tokens present in an entity modifies its chance of spawning. An entity containing more &amp;lt;nowiki&amp;gt;[&amp;lt;/nowiki&amp;gt;[[Entity token#CREATURE|CREATURE]]:X] tokens will spawn more often (assuming other requirements are met) and may even block entities with fewer &amp;lt;nowiki&amp;gt;[&amp;lt;/nowiki&amp;gt;[[Entity token#CREATURE|CREATURE]]:X] tokens from spawning altogether. You can use [SELECT_ENTITY:VANILLA_ENTITY_X] followed by any number of duplicate &amp;lt;nowiki&amp;gt;[&amp;lt;/nowiki&amp;gt;[[Entity token#CREATURE|CREATURE]]:VANILLA_CREATURE_X] tokens to attempt to balance the spawn rates of the existing vanilla entities with any custom multi-creature entities you may add.&lt;br /&gt;
* The number of unclaimed [[Entity token#START_BIOME|START_BIOME]] or [[Entity token#EXCLUSIVE_START_BIOME|EXCLUSIVE_START_BIOME]] tiles remaining in the world limits the spawn rate for an entity and allows entities to block each other's spawns. If there is no &amp;quot;starting&amp;quot; [[Biome token|biome]] space left for an entity then it will not spawn and the game will try to spawn a different entity instead. This means that, on average, an entity that can start in ALL_MAIN [[Biome token|biomes]] will spawn more frequently than one that can start only in LAKE_TROPICAL_SALTWATER [[Biome token|biomes]]. This also means that entities whose starting [[Biome token|biomes]] do not overlap will not block each other's spawns.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! Token&lt;br /&gt;
! Arguments&lt;br /&gt;
! Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|BIOME_SUPPORT}}&lt;br /&gt;
|&lt;br /&gt;
* [[Biome token|biome]]&lt;br /&gt;
* frequency&lt;br /&gt;
| Controls the expansion of the civilization's territory.  The higher the number is relative to other BIOME_SUPPORT tokens in the entity, the faster it can spread through the biome.  These numbers are evaluated relative to each other, i.e. if one biome is 1 and the other is 2, the spread will be the same as if one was 100 and the other was 200.  Civs can spread out over biomes they cannot actually build in; for example, humans spread quickly over oceans but cannot actually build in them.&lt;br /&gt;
[BIOME_SUPPORT:ANY_GRASSLAND:4]&lt;br /&gt;
&lt;br /&gt;
The first entry of biome support should be the Start biome, as mentioned in [START_BIOME] or [EXCLUSIVE_START_BIOME], otherwise no other settlements after the first one are founded.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SETTLEMENT_BIOME}}&lt;br /&gt;
| [[Biome token|biome]]&lt;br /&gt;
| If the civ's territory crosses over this biome, it can build settlements here.&lt;br /&gt;
[SETTLEMENT_BIOME:ANY_GRASSLAND]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|START_BIOME}}&lt;br /&gt;
| [[Biome token|biome]]&lt;br /&gt;
| Combination of EXCLUSIVE_START_BIOME and SETTLEMENT_BIOME; allows the civ to start in and create settlements in the biome. Note that the civ's spawn rate may be limited if all of its START or EXCLUSIVE_START biome(s) are rare in the world or have already been fully occupied by other civ spawns.&lt;br /&gt;
[START_BIOME:ANY_FOREST]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|EXCLUSIVE_START_BIOME}}&lt;br /&gt;
| [[Biome token|biome]]&lt;br /&gt;
| The birth of the civilization can occur in this biome, but cannot (necessarily) build in it. If the civ does not have SETTLEMENT_BIOME or START_BIOME for the biome in question, it will only construct a single settlement there. Note that the civ's spawn rate may be limited if all of its START or EXCLUSIVE_START biome(s) are rare in the world or have already been fully occupied by other civ spawns.&lt;br /&gt;
[EXCLUSIVE_START_BIOME:MOUNTAIN]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|DEFAULT_SITE_TYPE}}&lt;br /&gt;
| site type&lt;br /&gt;
| Valid site types are DARK_FORTRESS (π), CAVE (•), CAVE_DETAILED (Ω), TREE_CITY (î), and CITY (#). Also recognizes PLAYER_FORTRESS  (creates a civ of hillocks only), and MONUMENT (creates a civ without visible sites (except tombs and castles), but may cause worldgen crashes). FORTRESS is no longer a valid entry, castles are currently controlled by BUILDS_OUTDOOR_FORTIFICATIONS. Defaults to CITY. Selecting CAVE causes the classic kobold behavior of not showing up on the &amp;quot;neighbors&amp;quot; section of the site selection screen.&lt;br /&gt;
Selecting DARK_FORTRESS also allows generation of [[underworld spire|certain other structures]]. It also gives the civ a [[demon|special overlord]]. DARK_FORTRESS may cause crashes during world gen at &amp;quot;Placing civilizations... (0)&amp;quot; if it combined with entity tokens that the vanilla ENTITY:EVIL does not use (likely the POSITION related tokens see [https://www.bay12forums.com/smf/index.php?topic=175747.0 this forum post]).&lt;br /&gt;
CAVE_DETAILED civilizations will create fortresses in mountainous regions and hillocks in non-mountainous regions. [DEFAULT_SITE_TYPE:CAVE_DETAILED]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|LIKES_SITE}}&lt;br /&gt;
| site type&lt;br /&gt;
| Most residents will try to move to this site type, unless already at one.&lt;br /&gt;
[LIKES_SITE:CAVE_DETAILED]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TOLERATES_SITE}}&lt;br /&gt;
| site type&lt;br /&gt;
| Some residents will try to move to this site type, unless already at one.&lt;br /&gt;
[TOLERATES_SITE:CITY]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|WORLD_CONSTRUCTION}}&lt;br /&gt;
| construction&lt;br /&gt;
| Controls which constructions the civ will build on the world map. Valid constructions are ROAD, TUNNEL, BRIDGE, and WALL.&lt;br /&gt;
[WORLD_CONSTRUCTION:BRIDGE]&lt;br /&gt;
[WORLD_CONSTRUCTION:ROAD]&lt;br /&gt;
[WORLD_CONSTRUCTION:TUNNEL]&lt;br /&gt;
[WORLD_CONSTRUCTION:WALL]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Population ==&lt;br /&gt;
&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! Token&lt;br /&gt;
! Arguments&lt;br /&gt;
! Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MAX_POP_NUMBER}}&lt;br /&gt;
| number&lt;br /&gt;
| Max '''historical''' population '''per entity'''. Multiply this by max starting civ to get the total maximum historical population of the species. Defaults to 500, but all vanilla entities use 10,000, except skulking uses 2,000. Does not limit the '''total''' population, but it will prevent new settlements upon reaching the number.&lt;br /&gt;
[MAX_POP_NUMBER:10000]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MAX_SITE_POP_NUMBER}}&lt;br /&gt;
| number &lt;br /&gt;
| Max historical population per individual site. Defaults to 50, but all the vanilla entities use 120.&lt;br /&gt;
[MAX_SITE_POP_NUMBER:120]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MAX_STARTING_CIV_NUMBER}}&lt;br /&gt;
| number&lt;br /&gt;
| Max number of civilizations of this entity type to spawn at world generation, which picks entities in some sequential order from the raws, looping through the list as needed. This is a hard limit, if set to 1, only 1 civilization of this type will be placed. If all entities have reached their limit, world generation will not try to place any more, even if its own [[Advanced_world_generation#Number_of_Civilizations|total limit]] has not been reached, and will continue on. Defaults to 3, but all vanilla entities use 100 (essentially unlimited).&lt;br /&gt;
[MAX_STARTING_CIV_NUMBER:100]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Flavor ==&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! Token&lt;br /&gt;
! Arguments&lt;br /&gt;
! Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PERMITTED_BUILDING}}&lt;br /&gt;
| building name &lt;br /&gt;
| The named, custom building can be built by a civilization in Fortress Mode.&lt;br /&gt;
[PERMITTED_BUILDING:SOAP_MAKER]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PERMITTED_JOB}}&lt;br /&gt;
| [[Unit type token|profession]]&lt;br /&gt;
| Allows this job type to be selected. This applies to worldgen creatures, in the embark screen, and in play. Certain professions also influence the availability of materials for trade.&lt;br /&gt;
[PERMITTED_JOB:MINER]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PERMITTED_REACTION}}&lt;br /&gt;
| reaction name &lt;br /&gt;
| Allows this reaction to be used by a civilization. It is used primarily in Fortress Mode, but also allows certain resources, such as [[steel]], to be available to a race. When creating custom reactions, this token '''must''' be present or the player will not be able to use the reaction in Fortress Mode.&lt;br /&gt;
[PERMITTED_REACTION:TAN_A_HIDE]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CURRENCY_BY_YEAR}}&lt;br /&gt;
| &lt;br /&gt;
| Causes the civ's currency to be numbered with the year it was minted.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CURRENCY}}&lt;br /&gt;
|&lt;br /&gt;
* inorganic material&lt;br /&gt;
* value&lt;br /&gt;
| What kind of metals the civ uses for coin minting, as well as the value of the [[coin]]. Only effective in Adventurer mode due to lack of [[dwarven economy]].&lt;br /&gt;
&lt;br /&gt;
[CURRENCY:SILVER:5]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ART_FACET_MODIFIER}}&lt;br /&gt;
|&lt;br /&gt;
* type&lt;br /&gt;
* number&lt;br /&gt;
| OWN_RACE, FANCIFUL, EVIL, GOOD&lt;br /&gt;
Number goes from 0 to 25600 where 256 is the default.&lt;br /&gt;
[ART_FACET_MODIFIER:OWN_RACE:512]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ART_IMAGE_ELEMENT_MODIFIER}}&lt;br /&gt;
|&lt;br /&gt;
* item&lt;br /&gt;
* number&lt;br /&gt;
| CREATURE, PLANT, TREE, SHAPE, ITEM&amp;lt;br /&amp;gt;0-25600&lt;br /&gt;
&lt;br /&gt;
Determines the chance of each image occurring in that entity's artwork, such as engravings and on artifacts, for default (non-historical) artwork.&lt;br /&gt;
&lt;br /&gt;
[ART_IMAGE_ELEMENT_MODIFIER:TREE:512]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ITEM_IMPROVEMENT_MODIFIER}}&lt;br /&gt;
|&lt;br /&gt;
* item&lt;br /&gt;
* number&lt;br /&gt;
| ART_IMAGE, COVERED or GLAZED, RINGS_HANGING, BANDS, SPIKES, ITEMSPECIFIC, THREAD, CLOTH, SEWN_IMAGE&amp;lt;br /&amp;gt;0-25600&lt;br /&gt;
&lt;br /&gt;
Determines the chance of the entity using that particular artwork method, such as &amp;quot;encircled with bands&amp;quot; or &amp;quot;menaces with spikes&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[ITEM_IMPROVEMENT_MODIFIER:SPIKES:0]&lt;br /&gt;
&lt;br /&gt;
This also seems to change the amount that the entity will pay for items that are improved in these ways in their tokens.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TRANSLATION}}&lt;br /&gt;
| language&lt;br /&gt;
| What language raw the entity uses.&lt;br /&gt;
* If an entity lacks this tag, translations are drawn randomly from all translation files. Multiple translation tags will only result in the last one being used. Migrants will sometimes arrive with no name.&lt;br /&gt;
* If GEN_DIVINE is entered, the entity will use a generated divine language, that is, the same language that is used for the names of [[angel]]s.&lt;br /&gt;
* If the entity's main creature has {{token|UTTERANCES|c}}, then this token will be ignored (except when using the naming menu) in favor of procedural [[kobold]]-style [[Kobold language|pseudolanguage]].&lt;br /&gt;
[TRANSLATION:DWARF]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SELECT_SYMBOL}}&lt;br /&gt;
|&lt;br /&gt;
* category&lt;br /&gt;
* [[language#language_SYM.txt|symbol]]&lt;br /&gt;
| ALL, REMAINING, BATTLE, BRIDGE, CIV, CRAFT_GUILD, FESTIVAL (doesn't work, see below), HOSPITAL, LIBRARY, MERCHANT_COMPANY, MILITARY_UNIT, OTHER, RELIGION, ROAD, SIEGE, SITE, TEMPLE, TUNNEL, VESSEL, WALL, WAR&lt;br /&gt;
The entity will always use a word from the selected symbol(s) to generate names from that category.&lt;br /&gt;
* OTHER applies the symbol selection to personal names and site names. REMAINING will apply the symbol selection to all categories that have not already been declared above it.&lt;br /&gt;
* Specific to SELECT_SYMBOL, symbols selected this way will be used as &amp;quot;The X&amp;quot; in &amp;quot;The X of Y&amp;quot; names, and nouns from selected symbols can be used as first [[name]]s.&lt;br /&gt;
* FESTIVAL does not work. The game uses symbol NAME_FESTIVAL hardcoded. You may consider changing that symbol (with SELECT_SYMBOL), but then it's applied for all entities.&lt;br /&gt;
&lt;br /&gt;
[SELECT_SYMBOL:ALL:PEACE]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SUBSELECT_SYMBOL}}&lt;br /&gt;
|&lt;br /&gt;
* category&lt;br /&gt;
* [[language#language_SYM.txt|symbol]]&lt;br /&gt;
| As SELECT_SYMBOL, a word from the subselected symbol(s) will be used in names of that category, in addition to the word from SELECT_SYMBOL (if specified). Used in vanilla to put violent names in sieges and battles.&lt;br /&gt;
* Words chosen with SUBSELECT_SYMBOL will appear as either adjectives or &amp;quot;of Y&amp;quot; in &amp;quot;The X of Y&amp;quot; names.&lt;br /&gt;
* CULL_SYMBOL does not affect subselected symbols.&lt;br /&gt;
&lt;br /&gt;
[SELECT_SYMBOL:SIEGE:NAME_SIEGE]&lt;br /&gt;
&lt;br /&gt;
[SUBSELECT_SYMBOL:SIEGE:VIOLENT]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CULL_SYMBOL}}&lt;br /&gt;
|&lt;br /&gt;
* category&lt;br /&gt;
* [[Language#language_SYM.txt|symbol]]&lt;br /&gt;
| Causes the entity to not use the words in these SYM sets.&lt;br /&gt;
[CULL_SYMBOL:ALL:UGLY]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|FRIENDLY_COLOR}}&lt;br /&gt;
| see [[color]]&lt;br /&gt;
|&lt;br /&gt;
The color of this entity's civilization settlements in the world gen and embark screens, also used when announcing arrival of their caravan. Defaults to 7:0:1.&lt;br /&gt;
&lt;br /&gt;
[FRIENDLY_COLOR:1:0:1]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Religion ==&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! Token&lt;br /&gt;
! Arguments&lt;br /&gt;
! Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|RELIGION}}&lt;br /&gt;
| type&lt;br /&gt;
|&lt;br /&gt;
* REGIONAL_FORCE: The creatures will worship a single force associated with the terrain of their initial biome.&lt;br /&gt;
* PANTHEON: The creatures will worship a group of gods, each aligned with their spheres and other appropriate ones as well.&lt;br /&gt;
&lt;br /&gt;
Can be specified multiple times, and will pick randomly from the assigned types. Additional instances of each type will weight the random choice, but unlike {{token|CREATURE|e}}, will not make the entity more likely to spawn.&lt;br /&gt;
&lt;br /&gt;
[RELIGION:PANTHEON]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|RELIGION_SPHERE}}&lt;br /&gt;
| [[Sphere#Available_spheres|sphere]]&lt;br /&gt;
| Can be any available [[sphere]] - multiple entries are possible. Choosing a religious sphere will automatically make its opposing sphere not possible for the species to have: adding [[Sphere#WATER|WATER]], for example, means civs of this entity will never get [[Sphere#FIRE|FIRE]] as a religious sphere. Note that the [[Sphere#DEATH|DEATH]] sphere favours the appearance of necromancers (and therefore, towers) &amp;quot;in&amp;quot; the entity.&lt;br /&gt;
&lt;br /&gt;
[RELIGION_SPHERE:FORTRESSES]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SPHERE_ALIGNMENT}}&lt;br /&gt;
|&lt;br /&gt;
* [[Sphere#Available_spheres|sphere]]&lt;br /&gt;
* number&lt;br /&gt;
|&lt;br /&gt;
This token forces an entity to favor or disfavor particular religious spheres. Default is 256, minimum is 0, maximum is 25600.&lt;br /&gt;
* Presently, this doesn't cause them to acquire those spheres more often when generating a pantheon.&lt;br /&gt;
* [[Sphere#PLANTS|PLANTS]] and [[Sphere#ANIMALS|ANIMALS]] affect the prevalence of depicting {{token|VEGETATION}} and {{token|NATURAL}} creatures, respectively, in a similar fashion to {{token|ART_FACET_MODIFIER|e}}. &lt;br /&gt;
* [[Sphere#WAR|WAR]] modifies the effective [[item value]] of [[weapon]]s and [[armor]] to [[trader]]s of this entity. The multiplier is SPHERE_ALIGNMENT/256, though this only applies to equipment the entity's main creature can properly wield.&lt;br /&gt;
&lt;br /&gt;
[SPHERE_ALIGNMENT:TREES:512]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Leadership ==&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! Token&lt;br /&gt;
! Arguments&lt;br /&gt;
! Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|POSITION}}&lt;br /&gt;
| string&lt;br /&gt;
| Defines a leader/noble position for a civilization. These replace previous tags such as [MAYOR] and [CAN_HAVE_SITE_LEADER] and so on. To define a position further, see [[Position token]].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SITE_VARIABLE_POSITIONS}}&lt;br /&gt;
| Position responsibility or ALL&lt;br /&gt;
| Allows a site responsibility to be taken up by a dynamically generated position (lords, hearthpersons, etc.). Any defined positions holding a given responsibility will take precedence over generated positions for that responsibility. Also appears to cause site disputes.{{Verify}} See also: [[variable positions]]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|VARIABLE_POSITIONS}}&lt;br /&gt;
| Position responsibility or ALL&lt;br /&gt;
| Allows a responsibility to be taken up by a dynamically generated position (such as Law-maker). Any defined positions holding a given responsibility will take precedence over generated positions for that responsibility. See also: [[variable positions]]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Behavior ==&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! Token&lt;br /&gt;
! Arguments&lt;br /&gt;
! Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ETHIC}}&lt;br /&gt;
| &lt;br /&gt;
*behavior&lt;br /&gt;
*reaction&lt;br /&gt;
| Sets the civ's view of [[ethic]]s (certain behaviors), from capital punishment to completely acceptable. This also causes the civ to look upon opposing ethics with disfavor if their reaction to it is opposing, and when at extremes (one ACCEPTABLE, another civ UNTHINKABLE; for example) they will often go to war over it.&lt;br /&gt;
[ETHIC:EAT_SAPIENT_KILL:ACCEPTABLE]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|VALUE}}&lt;br /&gt;
| &lt;br /&gt;
*value&lt;br /&gt;
*number&lt;br /&gt;
| Sets the civ's [[Personality value|cultural values]]. Numbers range from -50 (complete anathema) to 0 (neutral) to 50 (highly valued).&lt;br /&gt;
[VALUE:CRAFTSMANSHIP:50]&lt;br /&gt;
&lt;br /&gt;
Certain values must be set to 15 or more for civs to create structures and form entities during history gen:&lt;br /&gt;
* 15+ KNOWLEDGE for libraries&lt;br /&gt;
* 15+ COOPERATION ''and'' 15+ CRAFTSMANSHIP for craft guilds&lt;br /&gt;
** Guilds also need guild-valid professions (see [[#PERMITTED_JOB|PERMITTED_JOB]])&lt;br /&gt;
&lt;br /&gt;
If the positions of an entity are variable (and include the CUSTOM_OFFICIAL_1), then CUNNING &amp;gt; 10 is needed for the CUSTOM_OFFICIAL_1 to have the espionage responsibility.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|VARIABLE_VALUE}}&lt;br /&gt;
|&lt;br /&gt;
*value or ALL&lt;br /&gt;
*min&lt;br /&gt;
*max&lt;br /&gt;
| Makes values randomized rather than specified.&lt;br /&gt;
This tag overrides the VALUE tag. Using [VARIABLE_VALUE:ALL:x:y] and then overwriting single values with further [VARIABLE_VALUE:value:x:y] tags works.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|WILL_ACCEPT_TRIBUTE}}&lt;br /&gt;
| &lt;br /&gt;
| Makes the civ's traders accept offered goods.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|WANDERER}}, {{text anchor|BEAST_HUNTER}}, {{text anchor|SCOUT}}, {{text anchor|MERCENARY}}&lt;br /&gt;
| &lt;br /&gt;
| The civ will send out these sorts of adventurers in worldgen, which seems to increase Tracker skill. These types of adventurers will sometimes be seen leading a battle (instead of war leaders or generals) in remote locations during world-gen, in charge of the defenders.&lt;br /&gt;
&lt;br /&gt;
Mercenaries and monster hunters from the civ may visit player's fortress and petition for residency there to enlist in the military or hunt monsters in caverns, respectively.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ABUSE_BODIES}}&lt;br /&gt;
| &lt;br /&gt;
| The civilization will mutilate bodies when they are the victors in history-gen warfare, such as hanging bodies from trees, putting them on spikes, and so forth. Adventurers killed in Adventurer mode will sometimes be impaled on spikes wherever they died, with or without this token, and regardless of whether they actually antagonized the townspeople.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ACTIVE_SEASON}}&lt;br /&gt;
| season&lt;br /&gt;
| The season when the civ is most active: when they will trade, interact with you via diplomats, and/or invade you. Civs can have multiple season entries. Note: If multiple caravans arrive at the same time, you are able to select which civ to trade with at the depot menu. ACTIVE_SEASON tags may be changed for a currently active fort.&lt;br /&gt;
[ACTIVE_SEASON:AUTUMN]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|AMBUSHER}}&lt;br /&gt;
| &lt;br /&gt;
| When invading, sneaks around and shoots at straggling members of your society. They will spawn on the edge of the map and will only be visible when one of their party are spotted; this can be quite dangerous to undefended trade depots. If the civilization also has the SIEGER token, they will eventually ramp it up to less subtle means of warfare.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|AT_PEACE_WITH_WILDLIFE}}&lt;br /&gt;
|&lt;br /&gt;
| Will not attack wildlife, and will not be attacked by them, even if you have them in your party. This can be somewhat disconcerting when attacked by bears in the forest, and your elven ally sits back and does nothing. Additionally, this token determines if the entity can settle in savage biomes.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|BABYSNATCHER}}&lt;br /&gt;
|&lt;br /&gt;
| Sends thieves to steal babies. Without this tag (or AMBUSHER, or ITEM_THIEF), enemy civs will only siege (if capable), and will siege as early as they would otherwise babysnatch. This can happen as early as the first year of the fort! In addition, babysnatcher civs will snatch children during worldgen, allowing them to become part of the civ if they do not escape. Also causes this civ to be hostile to any entity without this token.&lt;br /&gt;
&lt;br /&gt;
Note: If the playable civ in fortress mode has this tag (e.g. you add BABYSNATCHER to the dwarf entity) then the roles will be reversed and elves and humans will siege and ambush and goblins will be friendly to you. However, animals traded away to one's own caravan will count as snatched, reported upon the animal leaving the map, and the animal will not count as having been exported.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|BUILDS_OUTDOOR_FORTIFICATIONS}}&lt;br /&gt;
| &lt;br /&gt;
| Makes the civilization build castles from [[mead hall]]s. Only functions when the type of site built is a hamlet/town. This, combined with the correct type of [[position token|position]] associated with a site, is why adventurers can only lay claim to human sites. {{bug|8001}}&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|BUILDS_OUTDOOR_TOMBS}}&lt;br /&gt;
| &lt;br /&gt;
| Makes the civilization build tombs.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|BANDITRY}}&lt;br /&gt;
| percentage&lt;br /&gt;
| Sets a percentage of the entity population to be used as bandits.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|DIPLOMAT_BODYGUARDS}}&lt;br /&gt;
|&lt;br /&gt;
| Visiting diplomats are accompanied by a pair of soldiers.&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|GENERATED}}&lt;br /&gt;
|&lt;br /&gt;
| Found on generated divine &amp;quot;HF Guardian Entities&amp;quot;.  Cannot be used in user-defined raws.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|INVADERS_IGNORE_NEUTRALS}}&lt;br /&gt;
|&lt;br /&gt;
| Causes invaders to ignore visiting caravans and other neutral creatures.{{verify}}&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ITEM_THIEF}}&lt;br /&gt;
|&lt;br /&gt;
| Sends thieves to steal items. This will also occur in history generation, and thieves will have the &amp;quot;thief&amp;quot; profession. Items stolen in history gen will be scattered around that creature's home. Also causes that civ to be hostile to any entity without this token. Without this tag (or AMBUSHER, or BABYSNATCHER), enemy civs will only siege (if capable), and will siege as early as they would otherwise steal.&lt;br /&gt;
&lt;br /&gt;
Note: If the playable civ in Fortress Mode has this tag (e.g. you add ITEM_THIEF to the Dwarf entity) then the roles will be reversed and elves and humans will siege and ambush and kobolds will be friendly to you. However, ALL items traded away to one's own caravan will count as stolen, reported when the items leave the map, and the stolen items will not count as exported.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|LOCAL_BANDITRY}}&lt;br /&gt;
|&lt;br /&gt;
| Causes the entity to send out patrols that can ambush adventurers. Said patrols will be hostile to any adventurers they encounter, regardless of race or nationality.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MERCHANT_BODYGUARDS}}&lt;br /&gt;
|&lt;br /&gt;
| Caravan merchants are accompanied by soldiers.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MERCHANT_NOBILITY}}&lt;br /&gt;
|&lt;br /&gt;
| Merchants will engage in cross-civ trading and form companies.&lt;br /&gt;
&lt;br /&gt;
In previous versions, this resulted in the civ having a Guild Representative / Merchant Baron / Merchant Prince, but now this is controlled solely by positions.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PROGRESS_TRIGGER_POPULATION}}&lt;br /&gt;
| level&lt;br /&gt;
| 0 to 5, civ will come to site once population at site has reached that level. If multiple progress triggers exist for a civ, it will come when any one of them is fulfilled instead of waiting for all of them to be reached. A value of 0 disables the trigger. 1 corresponds to 20 dwarves, 2 to 50 dwarves, 3 to 80, 4 to 110, and 5 to 140. Progress triggers may be changed, added, or deleted for a currently active fort. Note: hostile civs require that this be fulfilled as well as at least one other non-siege trigger before visiting for non-siege activities.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PROGRESS_TRIGGER_PRODUCTION}}&lt;br /&gt;
| level&lt;br /&gt;
| 0 to 5, civ will come to site once created wealth has reached that level. If multiple progress triggers exist for a civ, it will come when any one of them is fulfilled instead of waiting for all of them to be reached. A value of 0 disables the trigger. 1 corresponds to 5000☼ created wealth, 2 to 25000☼, 3 to 100000☼, 4 to 200000☼, and 5 to 300000☼. Progress triggers may be changed, added, or deleted for a currently active fort.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PROGRESS_TRIGGER_TRADE}}&lt;br /&gt;
| level&lt;br /&gt;
| 0 to 5, civ will come to site once exported goods has reached that level. If multiple progress triggers exist for a civ, it will come when any one of them is fulfilled instead of waiting for all of them to be reached. A value of 0 disables the trigger. 1 corresponds to 500☼ exported wealth, 2 to 2500☼, 3 to 10000☼, 4 to 20000☼, and 5 to 30000☼. Progress triggers may be changed, added, or deleted for a currently active fort.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PROGRESS_TRIGGER_POP_SIEGE}}&lt;br /&gt;
| level&lt;br /&gt;
| 0 to 5, civ will begin to send sieges against the player civ when this level is reached if it is hostile.&lt;br /&gt;
&lt;br /&gt;
If multiple progress triggers exist for a civ, it will come when any one of them is fulfilled instead of waiting for all of them to be reached. A value of 0 disables the trigger.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PROGRESS_TRIGGER_PROD_SIEGE}}&lt;br /&gt;
| level&lt;br /&gt;
| 0 to 5, civ will begin to send sieges against the player civ when this level is reached if it is hostile.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PROGRESS_TRIGGER_TRADE_SIEGE}}&lt;br /&gt;
| level&lt;br /&gt;
| 0 to 5, civ will begin to send sieges against the player civ when this level is reached if it is hostile.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SIEGER}}&lt;br /&gt;
|&lt;br /&gt;
| Will start campfires and wait around at the edge of your map for a month or two before rushing in to attack. This will occur when the progress triggers for sieging are reached. If the civ lacks smaller methods of conflict (AMBUSHER, BABYSNATCHER, ITEM_THIEF), they will instead send smaller-scale sieges when their triggers for &amp;quot;first contact&amp;quot; are reached.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SIEGE_SKILLED_MINERS}}{{v|53.01}}&lt;br /&gt;
|&lt;br /&gt;
| Improves the skill of [[miner]] invaders by a factor of 5. Used for [[dwarves]] in vanilla.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SITE_GUARDIAN}}&lt;br /&gt;
|&lt;br /&gt;
| Guards certain special sites, such as a [[vault]] belonging to a [[demon]] allied with a [[deity]].  Used in generated divine entities. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SKULKING}}&lt;br /&gt;
|&lt;br /&gt;
| This makes the severity of attacks depend on the extent of item/baby thievery rather than the passage of time. Designed to go with ITEM_THIEF, may or may not work with BABYSNATCHER.  Prevents the civ from engaging in diplomacy or ending up at war.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TREE_CAP_DIPLOMACY}}&lt;br /&gt;
|&lt;br /&gt;
| Visiting diplomats impose tree cutting quotas; without this, they will simply compliment your fortress and leave. Also causes the diplomat to make unannounced first contact at the very beginning of the first spring after your fortress becomes a land holder.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|LAYER_LINKED}}&lt;br /&gt;
| &lt;br /&gt;
| Defines if a civilization is a hidden subterranean entity, such as [[bat man]] civilizations. May spawn in any of the three caverns; cavern dweller raids due to [[agitation]] will pull from these. If you embark as this civ, you have access to pets and trees from all three layers, not only the first. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|GENERATE_KEYBOARD_INSTRUMENTS}}, {{text anchor|GENERATE_PERCUSSION_INSTRUMENTS}}, {{text anchor|GENERATE_STRINGED_INSTRUMENTS}}, {{text anchor|GENERATE_WIND_INSTRUMENTS}}, {{text anchor|GENERATE_DANCE_FORMS}}, {{text anchor|GENERATE_MUSICAL_FORMS}}, {{text anchor|GENERATE_POETIC_FORMS}}&lt;br /&gt;
|&lt;br /&gt;
| Makes civilizations generate the given instruments/forms.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SCHOLAR}}&lt;br /&gt;
| scholar type&lt;br /&gt;
| ALL, ASTRONOMER, CHEMIST, DOCTOR, ENGINEER, GEOGRAPHER, HISTORIAN, MATHEMATICIAN, NATURALIST, PHILOSOPHER&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SET_SCHOLARS_ON_VALUES_AND_JOBS}}&lt;br /&gt;
|&lt;br /&gt;
| Generates scholars based on the values generated with the VARIABLE_VALUE tag.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NO_ARTIFACT_CLAIMS}}&lt;br /&gt;
|&lt;br /&gt;
| Used for kobolds.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MINING_UNDERWORLD_DISASTERS}}&lt;br /&gt;
|&lt;br /&gt;
| The civilization can breach the [[Underworld]] during world generation, spawning a civilization of {{token|EVIL}} creatures lead by a unique [[demon]].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MYTHICAL}}{{version|51.01-beta26}}&lt;br /&gt;
|&lt;br /&gt;
| Builds [[mysterious dungeon]]s.&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Available resources ==&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! Token&lt;br /&gt;
! Arguments&lt;br /&gt;
! Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|AMMO}}&lt;br /&gt;
| item token&lt;br /&gt;
| Used after a ranged weapon type.&lt;br /&gt;
[AMMO:ITEM_AMMO_BOLTS]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ARMOR}}&lt;br /&gt;
|&lt;br /&gt;
* item token&lt;br /&gt;
* rarity&lt;br /&gt;
| Rarity is optional, and valid values are FORCED, COMMON, UNCOMMON, and RARE (anything else is treated as COMMON). FORCED items will be available 100% of the time, COMMON items 50%, UNCOMMON items 10%, and RARE items 1%. If certain armor types are lacking after performing one pass of randomised checks, the game will repeat random checks until an option is successfully chosen.&lt;br /&gt;
[ARMOR:ITEM_ARMOR_PLATEMAIL:COMMON]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|DIGGER}}&lt;br /&gt;
| item token&lt;br /&gt;
| Causes the selected weapon to fall under the &amp;quot;digging tools&amp;quot; section of the embark screen. Also forces the weapon to be made out of metal, which can cause issues if a modded entity has access to picks without access to metal - for those cases, listing the pick under the [WEAPON] token works just as well. Note that this tag is neither necessary nor sufficient to allow use of that item as a mining tool – for that, the item itself needs to be a weapon with {{token|SKILL|wp|MINING}}.&lt;br /&gt;
[DIGGER:ITEM_WEAPON_PICK]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|GLOVES}}&lt;br /&gt;
|&lt;br /&gt;
* item token&lt;br /&gt;
* rarity&lt;br /&gt;
| Rarity is optional, and valid values are FORCED, COMMON, UNCOMMON, and RARE (anything else is treated as COMMON). Uses the same rarity values and methods as outlined in ARMOR.&lt;br /&gt;
[GLOVES:ITEM_GLOVES_GLOVES:COMMON]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|HELM}}&lt;br /&gt;
|&lt;br /&gt;
* item token&lt;br /&gt;
* rarity&lt;br /&gt;
| Rarity is optional, and valid values are FORCED, COMMON, UNCOMMON, and RARE (anything else is treated as COMMON). Uses the same rarity values and methods as outlined in ARMOR.&lt;br /&gt;
[HELM:ITEM_HELM_HELM:COMMON]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|INSTRUMENT}}&lt;br /&gt;
| item token&lt;br /&gt;
| No longer used due to the ability to generate instruments in world generation. It is still usable if pre-defined instruments are modded in, and generated musical forms are capable of selecting pre-defined instruments to use. However, reactions for making instruments, instrument parts, and/or assembling such instruments need to be added as well, as this token no longer adds such instruments to the craftdwarf's workshop menu.&lt;br /&gt;
[INSTRUMENT:ITEM_INSTRUMENT_FLUTE]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PANTS}}&lt;br /&gt;
|&lt;br /&gt;
* item token&lt;br /&gt;
* rarity&lt;br /&gt;
| Rarity is optional, and valid values are FORCED, COMMON, UNCOMMON, and RARE (anything else is treated as COMMON). Uses the same rarity values and methods as outlined in ARMOR.&lt;br /&gt;
[PANTS:ITEM_PANTS_PANTS:COMMON]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SHIELD}}&lt;br /&gt;
| item token&lt;br /&gt;
|&lt;br /&gt;
[SHIELD:ITEM_SHIELD_SHIELD]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SHOES}}&lt;br /&gt;
|&lt;br /&gt;
* item token&lt;br /&gt;
* rarity&lt;br /&gt;
| Rarity is optional, and valid values are FORCED, COMMON, UNCOMMON, and RARE (anything else is treated as COMMON). Uses the same rarity values and methods as outlined in ARMOR.&lt;br /&gt;
[SHOES:ITEM_SHOES_SHOES:COMMON]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SIEGEAMMO}}&lt;br /&gt;
| item token&lt;br /&gt;
|&lt;br /&gt;
[SIEGEAMMO:ITEM_SIEGEAMMO_BALLISTA]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TOOL}}&lt;br /&gt;
| item token&lt;br /&gt;
|&lt;br /&gt;
[TOOL:ITEM_TOOL_NEST_BOX]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TOY}}&lt;br /&gt;
| item token&lt;br /&gt;
|&lt;br /&gt;
[TOY:ITEM_TOY_PUZZLEBOX]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TRAPCOMP}}&lt;br /&gt;
| item token&lt;br /&gt;
|&lt;br /&gt;
[TRAPCOMP:ITEM_TRAPCOMP_GIANTAXEBLADE]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|WEAPON}}&lt;br /&gt;
| item token&lt;br /&gt;
| While this does not accept a rarity value, something similar can be achieved by having multiple variations of a weapon type with small differences and specifying each of them.{{cite forum|179547}}&lt;br /&gt;
[WEAPON:ITEM_WEAPON_AXE_BATTLE]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|USE_ANIMAL_PRODUCTS}}&lt;br /&gt;
|&lt;br /&gt;
| Allows use of products made from animals. All relevant creatures will be able to provide wool, silk, and extracts (including milk and venom) for trade, and non-sentient creatures (unless ethics state otherwise) will be able to provide eggs, caught fish, meat, leather, bone, shell, pearl, horn, and ivory.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|USE_ANY_PET_RACE}}&lt;br /&gt;
|&lt;br /&gt;
| Any creature in the civilization's list of usables (from the surrounding 7x7 or so of squares and map features in those squares) will be included in the initial usable creature list, which then gets pared down or otherwise considered. Without this, only common domestic and equipment creatures are added to the initial list.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|USE_CAVE_ANIMALS}}&lt;br /&gt;
|&lt;br /&gt;
| If they don't have it, creatures with exclusively subterranean biomes are skipped. If they have it, cave creatures will be included in the initial usable creature list.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|USE_EVIL_ANIMALS}}&lt;br /&gt;
|&lt;br /&gt;
| Without this, {{token|EVIL|c}} creatures are skipped, otherwise, evil creatures with {{token|SLOW_LEARNER|c}} or ''without'' {{token|CAN_LEARN|c}} will be included in the initial usable creature list, even the normally untameable species.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|USE_EVIL_PLANTS}}&lt;br /&gt;
|&lt;br /&gt;
| Same as USE_EVIL_ANIMALS for all uses of plants.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|USE_EVIL_WOOD}}&lt;br /&gt;
|&lt;br /&gt;
| Same as USE_EVIL_ANIMALS for all uses of wood.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|USE_GOOD_ANIMALS}}&lt;br /&gt;
|&lt;br /&gt;
| Without this, {{token|GOOD|c}} creatures are skipped, otherwise, good creatures ''without'' {{token|CAN_LEARN|c}} will be included in the initial usable creature list, even the normally untameable species.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|USE_GOOD_PLANTS}}&lt;br /&gt;
|&lt;br /&gt;
| Same as USE_GOOD_ANIMALS for all uses of plants.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|USE_GOOD_WOOD}}&lt;br /&gt;
|&lt;br /&gt;
| Same as USE_GOOD_ANIMALS for all uses of wood.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|USE_MISC_PROCESSED_WOOD_PRODUCTS}}&lt;br /&gt;
|&lt;br /&gt;
| If the relevant professions are permitted, controls availability of lye ({{token|LYE_MAKER|ut}}), charcoal ({{token|WOOD_BURNER|ut}}), and potash ({{token|POTASH_MAKER|ut}}).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|USE_NON_EXOTIC_PET_RACE}}&lt;br /&gt;
|&lt;br /&gt;
| Makes the civilization use all locally available non-exotic pets.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|COMMON_DOMESTIC_MOUNT}}&lt;br /&gt;
|&lt;br /&gt;
| Gives the civilization access to creatures with {{token|COMMON_DOMESTIC|c}} and {{token|MOUNT|c}}. Additionally, all available (based on USE_ANY_PET_RACE, USE_CAVE_ANIMALS, USE_GOOD_ANIMALS, and USE_EVIL_ANIMALS) creature with {{token|MOUNT|c}} and {{token|PET|c}} will be allowed for use as mounts during combat.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|COMMON_DOMESTIC_PACK}}&lt;br /&gt;
|&lt;br /&gt;
| Gives the civilization access to creatures with {{token|COMMON_DOMESTIC|c}} and {{token|PACK_ANIMAL.|c}} Additionally, all available (see above) creatures with {{token|PACK_ANIMAL|c}} and {{token|PET|c}} will be allowed for use during trade as pack animals.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|COMMON_DOMESTIC_PET}}&lt;br /&gt;
|&lt;br /&gt;
| Gives the civilization access to creatures with {{token|COMMON_DOMESTIC|c}} and {{token|PET|c}}. Additionally, all available (see above) creatures with {{token|PET|c}} will be allowed for use as pets.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|COMMON_DOMESTIC_PULL}}&lt;br /&gt;
|&lt;br /&gt;
| Gives the civilization access to creatures with {{token|COMMON_DOMESTIC|c}} and {{token|WAGON_PULLER|c}}. Additionally, all available (see above) creatures with {{token|WAGON_PULLER|c}} and {{token|PET|c}} will be allowed for use during trade to pull [[wagon]]s.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|RIVER_PRODUCTS}}&lt;br /&gt;
|&lt;br /&gt;
| Allow use of river products in the goods available for trade.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|OCEAN_PRODUCTS}}&lt;br /&gt;
|&lt;br /&gt;
| Allow use of ocean products (including [[amber]] and [[coral]]) in the goods available for trade. Without OCEAN_PRODUCTS, civilizations will not be able to trade ocean fish even if they are ''also'' available from other sources (e.g. [[sturgeon]]s and [[stingray]]s).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|INDOOR_FARMING}}&lt;br /&gt;
|&lt;br /&gt;
| Allow use of underground plant products in the goods available for trade. Lack of suitable vegetation in the caverns will cause [[World generation#Rejections|worldgen rejection]]s. According to Droseran: &amp;quot;Gives access to plants (structural material) and seeds. It only checks for {{token|EDIBLE_RAW|md}} or {{token|EDIBLE_COOKED|md}} on the plant's structural material. It doesn't check if the plant can be used in a reaction to produce something edible, only if it can be eaten raw or cooked. If an entity with this token is placed in a biome that doesn't have at least one of these tokens on the structural material, the map is rejected. Due to the randomness of plant selection in biomes, this can happen a lot as only about half of the vanilla plants have edible structural materials. Removing either of these tokens from plants dramatically increases map rejections.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|OUTDOOR_FARMING}}&lt;br /&gt;
|&lt;br /&gt;
| Allow use of outdoor plant products in the goods available for trade. Lack of suitable vegetation in this civilization's starting area will cause [[World generation#Rejections|worldgen rejection]]s. According to Droseran: &amp;quot;Gives access to plants (structural material) and seeds. It only checks for {{token|EDIBLE_RAW|md}} or {{token|EDIBLE_COOKED|md}} on the plant's structural material. It doesn't check if the plant can be used in a reaction to produce something edible, only if it can be eaten raw or cooked. If an entity with this token is placed in a biome that doesn't have at least one of these tokens on the structural material, the map is rejected. Due to the randomness of plant selection in biomes, this can happen a lot as only about half of the vanilla plants have edible structural materials. Removing either of these tokens from plants dramatically increases map rejections.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|INDOOR_GARDENS}}&lt;br /&gt;
|&lt;br /&gt;
| Allow use of underground plant growths (quarry bush leaves, in unmodded games) in the goods available for trade. According to Droseran: &amp;quot;Will never cause map rejections. It allows growths to be used, but doesn't care if none exist. If an entity doesn't have a farming token, they won't have seeds or plants available on embark/trade. But you can still farm in fortress mode with only this token, you just have to get the seeds manually or trading with another civ.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|OUTDOOR_GARDENS}}&lt;br /&gt;
|&lt;br /&gt;
| Allow use of outdoor plant growths in the goods available for trade. According to Droseran: &amp;quot;Will never cause map rejections. It allows growths to be used, but doesn't care if none exist. If an entity doesn't have a farming token, they won't have seeds or plants available on embark/trade. But you can still farm in fortress mode with only this token, you just have to get the seeds manually or trading with another civ.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|INDOOR_ORCHARDS}}&lt;br /&gt;
|&lt;br /&gt;
| Allows use of indoor tree growths in the goods available for trade. Not used in vanilla entities, as vanilla underground trees do not grow fruit. Needs INDOOR_WOOD to function. Will cause rejections, if growths are unavailable. According to Droseran: &amp;quot;Gives access to tree growths. It only checks for growths on trees that are {{token|EDIBLE_RAW|md}} or {{token|EDIBLE_COOKED|md}}. If an entity with this token is placed in a biome that does not have a tree with a growth with at least one of these tokens, the map is rejected.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|OUTDOOR_ORCHARDS}}&lt;br /&gt;
|&lt;br /&gt;
| Allows use of outdoor tree growths in the goods available for trade. Needs OUTDOOR_WOOD to function{{verify}}. According to Droseran: &amp;quot;Gives access to tree growths. It only checks for growths on trees that are [EDIBLE_RAW] or [EDIBLE_COOKED]. If an entity with this token is placed in a biome that does not have a tree with a growth with at least one of these tokens, the map is rejected.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CLOTHING}}&lt;br /&gt;
|&lt;br /&gt;
| Civilization members will attempt to wear clothing.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SUBTERRANEAN_CLOTHING}}&lt;br /&gt;
|&lt;br /&gt;
| Will wear things made of spider silk and other subterranean materials.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|EQUIPMENT_IMPROVEMENTS}}&lt;br /&gt;
|&lt;br /&gt;
| Adds decorations to equipment based on the level of the generated unit. Also improves item quality.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|IMPROVED_BOWS}}&lt;br /&gt;
|&lt;br /&gt;
| Adds decorations to weapons generated for bowman and master bowman.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|METAL_PREF}}&lt;br /&gt;
|&lt;br /&gt;
| Allows metal materials to be used to make cages (inexpensive metals only) and crafts.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|STONE_PREF}}&lt;br /&gt;
|&lt;br /&gt;
| Allows the civilization to make use of nearby stone types. If the {{token|FURNACE_OPERATOR|ut}} job is permitted, also allows ore-bearing stones to be smelted into metals.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|WOOD_WEAPONS}}&lt;br /&gt;
|&lt;br /&gt;
| The civilization can make traditionally metallic weapons such as swords and spears from wood.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|WOOD_ARMOR}}&lt;br /&gt;
|&lt;br /&gt;
| The civilization can make traditionally metallic armor such as mail shirts and helmets from wood.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|GEM_PREF}}&lt;br /&gt;
|&lt;br /&gt;
| Enables creatures of this entity to bring gems in trade.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|INDOOR_WOOD}}&lt;br /&gt;
|&lt;br /&gt;
| Allow use of subterranean wood types, such as tower-cap and fungiwood logs.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|OUTDOOR_WOOD}}&lt;br /&gt;
|&lt;br /&gt;
| Allow use of outdoor wood types, such as mangrove and oak.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|GEM_SHAPE}}&lt;br /&gt;
| [[Descriptor shape token|shape]]&lt;br /&gt;
| Precious gems cut by this civilization's jewelers can be of this shape.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|STONE_SHAPE}}&lt;br /&gt;
| [[Descriptor shape token|shape]]&lt;br /&gt;
| Ordinary non-gem stones cut by this civilization's jewelers can be of this shape.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|DIVINE_MAT_CLOTHING}}&lt;br /&gt;
|&lt;br /&gt;
| Allows use of materials with {{token|DIVINE|im}} for clothing. Used for generated divine entities.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|DIVINE_MAT_CRAFTS}}&lt;br /&gt;
|&lt;br /&gt;
| Allows use of materials with {{token|DIVINE|im}} for crafts.{{verify}} Used for generated divine entities.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|DIVINE_MAT_WEAPONS}}&lt;br /&gt;
|&lt;br /&gt;
| Allows use of metals with {{token|DIVINE|im}} for weapons. Used for generated divine entities.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|DIVINE_MAT_ARMOR}}&lt;br /&gt;
|&lt;br /&gt;
| Allows use of metals with {{token|DIVINE|im}} for armor. Used for generated divine entities.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Animal definitions ==&lt;br /&gt;
&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! Token&lt;br /&gt;
! Arguments&lt;br /&gt;
! Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ANIMAL}}&lt;br /&gt;
|&lt;br /&gt;
| Start an animal definition.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ANIMAL_TOKEN}}&lt;br /&gt;
| [[creature token]]&lt;br /&gt;
| Select specific creature.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ANIMAL_CASTE_TOKEN}}&lt;br /&gt;
| [[Caste|creature caste token]]&lt;br /&gt;
| Select specific creature caste (requires ANIMAL_TOKEN). Sites with animal populations will still include all castes, but only the selected ones will be used for specific roles.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ANIMAL_CLASS}}&lt;br /&gt;
| [[Creature token#CREATURE_CLASS|creature class]]&lt;br /&gt;
| Select creature castes with this creature class (multiple uses allowed).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ANIMAL_FORBIDDEN_CLASS}}&lt;br /&gt;
| [[Creature token#CREATURE_CLASS|creature class]]&lt;br /&gt;
| Forbid creature castes with this creature class (multiple uses allowed).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ANIMAL_ALWAYS_PRESENT}}&lt;br /&gt;
|&lt;br /&gt;
| Animal will be present even if it does not naturally occur in the entity's terrain. All creatures, including [[demon]]s, night trolls and other generated ones will be used if no specific creature or class is selected. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
* {{text anchor|ANIMAL_NEVER_MOUNT}}, {{text anchor|ANIMAL_ALWAYS_MOUNT}}&lt;br /&gt;
* {{text anchor|ANIMAL_NEVER_WAGON_PULLER}}, {{text anchor|ANIMAL_ALWAYS_WAGON_PULLER}}&lt;br /&gt;
* {{text anchor|ANIMAL_NEVER_SIEGE}}, {{text anchor|ANIMAL_ALWAYS_SIEGE}}&lt;br /&gt;
* {{text anchor|ANIMAL_NEVER_PET}}, {{text anchor|ANIMAL_ALWAYS_PET}}&lt;br /&gt;
* {{text anchor|ANIMAL_NEVER_PACK_ANIMAL}}, {{text anchor|ANIMAL_ALWAYS_PACK_ANIMAL}}&lt;br /&gt;
|&lt;br /&gt;
| Override creature usage tokens. Respectively:&lt;br /&gt;
* [[Creature token#MOUNT|MOUNT]] and [[Creature token#MOUNT_EXOTIC|MOUNT_EXOTIC]]&lt;br /&gt;
* [[Creature token#WAGON_PULLER|WAGON_PULLER]]&lt;br /&gt;
* [[Creature token#TRAINABLE_WAR|TRAINABLE_WAR]] and not [[Creature token#CAN_LEARN|CAN_LEARN]]&lt;br /&gt;
* [[Creature token#PET|PET]] and [[Creature token#PET_EXOTIC|PET_EXOTIC]]&lt;br /&gt;
* [[Creature token#PACK_ANIMAL|PACK_ANIMAL]]&lt;br /&gt;
ALWAYS overrides NEVER if a caste is matched by more than one animal definition.&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Tissue styling-related tokens ==&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! Token&lt;br /&gt;
! Arguments&lt;br /&gt;
! Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TISSUE_STYLE}}&lt;br /&gt;
| tissue style unit ID&lt;br /&gt;
| Select a tissue layer which has the ID attached using TISSUE_STYLE_UNIT token in unit raws. This allows setting further cultural style parameters for the selected tissue layer.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TS_MAINTAIN_LENGTH}}&lt;br /&gt;
|&lt;br /&gt;
* minimum length?&lt;br /&gt;
* maximum length?&lt;br /&gt;
| Presumably sets culturally preferred tissue length for selected tissue. Needs testing.&lt;br /&gt;
Dwarves have their beards set to 100:NONE by default.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TS_PREFERRED_SHAPING}}&lt;br /&gt;
| styling token&lt;br /&gt;
| Valid tokens are NEATLY_COMBED, BRAIDED, DOUBLE_BRAIDS, PONY_TAILS, CLEAN_SHAVEN and STANDARD_HAIR/BEARD/MOUSTACHE/SIDEBURNS_SHAPINGS.&lt;br /&gt;
Presumably sets culturally preferred tissue shapings for selected tissue. Needs testing.&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
:''Main articles: [[Entity examples]]''&lt;br /&gt;
&lt;br /&gt;
{{Category|Modding}}&lt;br /&gt;
{{Category|Tokens}}&lt;br /&gt;
{{Category|Entities}}&lt;br /&gt;
[[ru:Entity token]]&lt;/div&gt;</summary>
		<author><name>Joostheger</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=Talk:Advanced_entity_position_mechanics&amp;diff=315708</id>
		<title>Talk:Advanced entity position mechanics</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=Talk:Advanced_entity_position_mechanics&amp;diff=315708"/>
		<updated>2026-04-03T08:57:26Z</updated>

		<summary type="html">&lt;p&gt;Joostheger: /* Possible vanilla Dwarven Civ landholder residence sites */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;These lines contradict eachother:&lt;br /&gt;
* Premature succession works in fortress mode with landholders. If a unit gets a landholdersposition and that landholder is the appointer of an yet-empty position, which is defined as succeeding from a third one, then the succession is immediately applied. The landholder himself can even be the successor of a newly created position.&lt;br /&gt;
* A landholder's position is, in fortress mode, not successable by a site-position or visa versa.&lt;br /&gt;
&lt;br /&gt;
Needs further investigation [[User:Joostheger|Joostheger]] ([[User talk:Joostheger|talk]])&lt;br /&gt;
----An interesting tidbit I did find, while validating some info for the variable positions (writing and running some Lua scripts for it): The FORCED_ADMINISTRATOR position of the dwarven civilization is actually used, eventhough I so far found only one instance (where the position was used). Interestingly the precedence was 100 (not 65) and was the only position of a site government belonging to a goblin civ. The site ruled was a Mountain Halls and most inhabitants were also dwarves. The other data in the position definition matched the raw-definition of the FORCED_ADMINISTRATOR (of the dwarven civ). So the token [CONQUERED_SITE] might mean that another civ conquering a site of a dwarven civ will (or might) use the forced administrator for governing that site (and not the other way round).[[Special:Contributions/91.49.240.46|91.49.240.46]] 21:10, 10 February 2026 (UTC)&lt;br /&gt;
----That is an interesting fact, but I doubt it still :-) My experience is that it just works. I think that FORCED_ADMINISTRATOR is also a generated position, used by other groups that have variable positions&lt;br /&gt;
[[User:Joostheger|Joostheger]] ([[User talk:Joostheger|talk]]) 08:50, 12 February 2026 (UTC)&lt;br /&gt;
&lt;br /&gt;
---- Well I had to create a larger world (with 250 year history) to get a few variable positions. As it turns out a FORCED_ADMINISTRATOR is used by all mayor civs, that have positions, even the tree-huggers. The dwarfs have precedence 65 for the position and all other 100 (not checked everything for the FORCED_ADMINISTRATOR). And the goblins and humans can have other site positions created afterwards, the human can even upgrade create a CUSTOM_LAW_MAKER_2 afterwards. All other vanilla races (elves and dwarves) will not get other site positions with a FORCED_ADMINISTRATOR. &lt;br /&gt;
ps. And yes this means that the assumption concerning the meaning of [CONQUERED_SITE] token is wrong.[[Special:Contributions/91.49.240.46|91.49.240.46]] 09:04, 12 February 2026 (UTC)&lt;br /&gt;
&lt;br /&gt;
In addition: The FORCED_ADMINISTRATOR position can appoint other positions, at least if these positions are variable and created afterwards (and the civ has variable positions). But the FORCED_ADMINISTRATOR will not appoint a CUSTOM_MILITARY_STRATEGY position, if the CUSTOM_MILITARY_GOALS position was created (before the creation of the CUSTOM_MILITARY_STRATEGY position), in that case the CUSTOM_MILITARY_STRATEGY position did appoint by the CUSTOM_MILITARY_GOALS position holder. This is probably due to the higher precedence of the CUSTOM_MILITARY_GOALS position in comparison to the FORCED_ADMINISTRATOR. I do need to check the high precedence CUSTOM_OFFICIALs though, whether the reason might be something else other than precedence.[[Special:Contributions/91.49.240.46|91.49.240.46]] 10:23, 12 February 2026 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Possible vanilla Dwarven Civ landholder residence sites ==&lt;br /&gt;
&lt;br /&gt;
It seems that in world-gen a dwarven civilization can make a town a land holder residence (a hamlet has not been found so far). This is rare. The only other sites a vanilla dwarven civ will consider a land holder residence is a (dwarven) Fortress - Hillocks or Mountain Halls will never be considered a land holder residence. These rare cases are related to a site being considered a &amp;quot;land for holding&amp;quot; and &amp;quot;central holding land&amp;quot; by a human civilization (which can only be hamlets or towns) - see note about the name baron (in the article Variable Positions). I have not yet figured out, if such a site after being taken over by a dwarven civ, if it is a town (and not a hamlet), will always be considered a land holder residence or only in some cases. Of course the town would need to be considered a land for holding by a human civ before the take over by a dwarven civ.&lt;br /&gt;
&lt;br /&gt;
BTW: I am not sure, where this tidbit of information does belong (this page, the variable positions page or the noble page, after adding a section about world-gen). As the above ie. implies also something about modded civilizations with landholders (or using some certain variable positions).[[Special:Contributions/87.143.66.20|87.143.66.20]] 03:41, 3 April 2026 (UTC)&lt;br /&gt;
&lt;br /&gt;
Correction: Slightly misread the script output (if two flags are true for dwarven civs in site entity links between a site and the entity of the civ, then the central holding land is missing and not the land holder residence flag). So also other sites can become a land holder residence, but the only non Fortress sites, which can receive all three flags (&amp;quot;land holder residence&amp;quot;, &amp;quot;central holding land&amp;quot; and &amp;quot;land for holding&amp;quot;) are towns. And this is indeed tied to the above (a human civ considering a town a central holding land and land for holding).[[Special:Contributions/87.143.66.20|87.143.66.20]] 04:09, 3 April 2026 (UTC)&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
Thank you for the insights. I believe that a site can get a landholder, if it has enough other sites economicly linked to them. There are mentions in the old devlogs about this. I think that any type of site (town, fortress, deep fortress, tree city) can become a landholders seat, because the economic system is generic for all kinds of sites. &lt;br /&gt;
When a market is build in a hamlet, it becomes a town. and when enough wealth is exported and generated, sites become economicly linked to them. And that triggers the elevation of that site to which it can have a landholder. &lt;br /&gt;
So, when I site has all the prerequisits for getting a landholder, it doesn't matter of which type of civ that landholder is. It may be a raw-defined dwarven baron, or a generated human baron-lord.&lt;br /&gt;
[[User:Joostheger|Joostheger]] ([[User talk:Joostheger|talk]]) 08:57, 3 April 2026 (UTC)&lt;/div&gt;</summary>
		<author><name>Joostheger</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=Entity_token&amp;diff=315605</id>
		<title>Entity token</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=Entity_token&amp;diff=315605"/>
		<updated>2026-03-25T14:00:01Z</updated>

		<summary type="html">&lt;p&gt;Joostheger: /* Population */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Quality|Superior}}&lt;br /&gt;
{{av}}&lt;br /&gt;
{{Modding}}&lt;br /&gt;
'''Entity tokens''' define entities, or [[civilization]]s, in entity_*.txt files.&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;[OBJECT:ENTITY]&amp;lt;/code&amp;gt; [[token]] begins the definition of an entity [[raw file]]. Each new entity definition that follows begins with the &amp;lt;code&amp;gt;[ENTITY:''entity_ID'']&amp;lt;/code&amp;gt; token, where ''entity_ID'' is a unique identifier for that entity, and the entity's properties are then specified by the use of further entity tokens; or, tokens can be added to existing entities using &amp;lt;code&amp;gt;[SELECT_ENTITY:''entity_ID'']&amp;lt;/code&amp;gt; instead.&lt;br /&gt;
&lt;br /&gt;
All known entity tokens are listed below. &lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
{{clear}}&lt;br /&gt;
&lt;br /&gt;
== Gameplay ==&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! Token&lt;br /&gt;
! Arguments&lt;br /&gt;
! Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ALL_MAIN_POPS_CONTROLLABLE}}&lt;br /&gt;
| &lt;br /&gt;
| Allows adventure mode for entities with sites.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SITE_CONTROLLABLE}}&lt;br /&gt;
| &lt;br /&gt;
| Allows fortress mode. If multiple entities have the SITE_CONTROLLABLE token, then at embark the specific civs can be chosen on the civ list screen. At least one civilization must have this token.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CREATURE}}&lt;br /&gt;
| creature&lt;br /&gt;
|The type of creature that will inhabit the civilization. If multiple creature types are specified, each civilization will randomly choose one of the creatures. In entities with multiple possible creatures, you can manipulate the chance of one creature being chosen by adding multiple identical creature tags. For instance adding [CREATURE:DWARF][CREATURE:DWARF][CREATURE:DWARF][CREATURE:ELF] to the same entity will make the civs created about 75% dwarven, 25% elven. It should be noted that civilizations are in general weighted by this token: for example, if you have one entity with three [CREATURE:DWARF] tokens and another separate entity with a single [CREATURE:ELF] token, then you can expect to see three times as many of the former placed as the latter (assuming enough unclaimed [START_BIOME:X] space remains). Note that spawn rates are also limited by unclaimed biome space - if an entity can only spawn in a rarer set of biomes (only LAKE_TROPICAL_SALTWATER for example) then their spawn rate will end up being limited by the remaining unclaimed space in that biome type rather than the number of [CREATURE:X] tokens present in the entity raw.&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SOURCE_HFID}}&lt;br /&gt;
| integer&lt;br /&gt;
| Found on generated [[angel]] entities.  Appears to draw from creatures with this HFID, which associates the entity with a historical figure of the same ID corresponding to a [[deity]].&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Placement ==&lt;br /&gt;
&lt;br /&gt;
Entity spawning during world gen is influenced by several factors:&lt;br /&gt;
* The &amp;quot;[[Advanced world generation#Number of Civilizations|Number of Civilizations]]&amp;quot; world gen setting places a hard limit on the total number of entities spawned.&lt;br /&gt;
* The &amp;quot;[[Advanced world generation#Playable Civilization Required|Playable Civilization Required]]&amp;quot; world gen setting forces at least one of each [[Entity token#SITE_CONTROLLABLE|SITE_CONTROLLABLE]] entity to spawn (presumably still limited by &amp;quot;Number of Civilizations&amp;quot;).&lt;br /&gt;
* The number of &amp;lt;nowiki&amp;gt;[&amp;lt;/nowiki&amp;gt;[[Entity token#CREATURE|CREATURE]]:X] tokens present in an entity modifies its chance of spawning. An entity containing more &amp;lt;nowiki&amp;gt;[&amp;lt;/nowiki&amp;gt;[[Entity token#CREATURE|CREATURE]]:X] tokens will spawn more often (assuming other requirements are met) and may even block entities with fewer &amp;lt;nowiki&amp;gt;[&amp;lt;/nowiki&amp;gt;[[Entity token#CREATURE|CREATURE]]:X] tokens from spawning altogether. You can use [SELECT_ENTITY:VANILLA_ENTITY_X] followed by any number of duplicate &amp;lt;nowiki&amp;gt;[&amp;lt;/nowiki&amp;gt;[[Entity token#CREATURE|CREATURE]]:VANILLA_CREATURE_X] tokens to attempt to balance the spawn rates of the existing vanilla entities with any custom multi-creature entities you may add.&lt;br /&gt;
* The number of unclaimed [[Entity token#START_BIOME|START_BIOME]] or [[Entity token#EXCLUSIVE_START_BIOME|EXCLUSIVE_START_BIOME]] tiles remaining in the world limits the spawn rate for an entity and allows entities to block each other's spawns. If there is no &amp;quot;starting&amp;quot; [[Biome token|biome]] space left for an entity then it will not spawn and the game will try to spawn a different entity instead. This means that, on average, an entity that can start in ALL_MAIN [[Biome token|biomes]] will spawn more frequently than one that can start only in LAKE_TROPICAL_SALTWATER [[Biome token|biomes]]. This also means that entities whose starting [[Biome token|biomes]] do not overlap will not block each other's spawns.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! Token&lt;br /&gt;
! Arguments&lt;br /&gt;
! Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|BIOME_SUPPORT}}&lt;br /&gt;
|&lt;br /&gt;
* [[Biome token|biome]]&lt;br /&gt;
* frequency&lt;br /&gt;
| Controls the expansion of the civilization's territory.  The higher the number is relative to other BIOME_SUPPORT tokens in the entity, the faster it can spread through the biome.  These numbers are evaluated relative to each other, i.e. if one biome is 1 and the other is 2, the spread will be the same as if one was 100 and the other was 200.  Civs can spread out over biomes they cannot actually build in; for example, humans spread quickly over oceans but cannot actually build in them.&lt;br /&gt;
[BIOME_SUPPORT:ANY_GRASSLAND:4]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SETTLEMENT_BIOME}}&lt;br /&gt;
| [[Biome token|biome]]&lt;br /&gt;
| If the civ's territory crosses over this biome, it can build settlements here.&lt;br /&gt;
[SETTLEMENT_BIOME:ANY_GRASSLAND]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|START_BIOME}}&lt;br /&gt;
| [[Biome token|biome]]&lt;br /&gt;
| Combination of EXCLUSIVE_START_BIOME and SETTLEMENT_BIOME; allows the civ to start in and create settlements in the biome. Note that the civ's spawn rate may be limited if all of its START or EXCLUSIVE_START biome(s) are rare in the world or have already been fully occupied by other civ spawns.&lt;br /&gt;
[START_BIOME:ANY_FOREST]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|EXCLUSIVE_START_BIOME}}&lt;br /&gt;
| [[Biome token|biome]]&lt;br /&gt;
| The birth of the civilization can occur in this biome, but cannot (necessarily) build in it. If the civ does not have SETTLEMENT_BIOME or START_BIOME for the biome in question, it will only construct a single settlement there. Note that the civ's spawn rate may be limited if all of its START or EXCLUSIVE_START biome(s) are rare in the world or have already been fully occupied by other civ spawns.&lt;br /&gt;
[EXCLUSIVE_START_BIOME:MOUNTAIN]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|DEFAULT_SITE_TYPE}}&lt;br /&gt;
| site type&lt;br /&gt;
| Valid site types are DARK_FORTRESS (π), CAVE (•), CAVE_DETAILED (Ω), TREE_CITY (î), and CITY (#). Also recognizes PLAYER_FORTRESS  (creates a civ of hillocks only), and MONUMENT (creates a civ without visible sites (except tombs and castles), but may cause worldgen crashes). FORTRESS is no longer a valid entry, castles are currently controlled by BUILDS_OUTDOOR_FORTIFICATIONS. Defaults to CITY. Selecting CAVE causes the classic kobold behavior of not showing up on the &amp;quot;neighbors&amp;quot; section of the site selection screen.&lt;br /&gt;
Selecting DARK_FORTRESS also allows generation of [[underworld spire|certain other structures]]. It also gives the civ a [[demon|special overlord]]. DARK_FORTRESS may cause crashes during world gen at &amp;quot;Placing civilizations... (0)&amp;quot; if it combined with entity tokens that the vanilla ENTITY:EVIL does not use (likely the POSITION related tokens see [https://www.bay12forums.com/smf/index.php?topic=175747.0 this forum post]).&lt;br /&gt;
CAVE_DETAILED civilizations will create fortresses in mountainous regions and hillocks in non-mountainous regions. [DEFAULT_SITE_TYPE:CAVE_DETAILED]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|LIKES_SITE}}&lt;br /&gt;
| site type&lt;br /&gt;
| Most residents will try to move to this site type, unless already at one.&lt;br /&gt;
[LIKES_SITE:CAVE_DETAILED]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TOLERATES_SITE}}&lt;br /&gt;
| site type&lt;br /&gt;
| Some residents will try to move to this site type, unless already at one.&lt;br /&gt;
[TOLERATES_SITE:CITY]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|WORLD_CONSTRUCTION}}&lt;br /&gt;
| construction&lt;br /&gt;
| Controls which constructions the civ will build on the world map. Valid constructions are ROAD, TUNNEL, BRIDGE, and WALL.&lt;br /&gt;
[WORLD_CONSTRUCTION:BRIDGE]&lt;br /&gt;
[WORLD_CONSTRUCTION:ROAD]&lt;br /&gt;
[WORLD_CONSTRUCTION:TUNNEL]&lt;br /&gt;
[WORLD_CONSTRUCTION:WALL]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Population ==&lt;br /&gt;
&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! Token&lt;br /&gt;
! Arguments&lt;br /&gt;
! Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MAX_POP_NUMBER}}&lt;br /&gt;
| number&lt;br /&gt;
| Max '''historical''' population '''per entity'''. Multiply this by max starting civ to get the total maximum historical population of the species. Defaults to 500, but all vanilla entities use 10,000, except skulking uses 2,000. Does not limit the '''total''' population, but it will prevent new settlements upon reaching the number.&lt;br /&gt;
[MAX_POP_NUMBER:10000]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MAX_SITE_POP_NUMBER}}&lt;br /&gt;
| number &lt;br /&gt;
| Max historical population per individual site. Defaults to 50, but all the vanilla entities use 120.&lt;br /&gt;
[MAX_SITE_POP_NUMBER:120]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MAX_STARTING_CIV_NUMBER}}&lt;br /&gt;
| number&lt;br /&gt;
| Max number of civilizations of this entity type to spawn at world generation, which picks entities in some sequential order from the raws, looping through the list as needed. This is a hard limit, if set to 1, only 1 civilization of this type will be placed. If all entities have reached their limit, world generation will not try to place any more, even if its own [[Advanced_world_generation#Number_of_Civilizations|total limit]] has not been reached, and will continue on. Defaults to 3, but all vanilla entities use 100 (essentially unlimited).&lt;br /&gt;
[MAX_STARTING_CIV_NUMBER:100]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Flavor ==&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! Token&lt;br /&gt;
! Arguments&lt;br /&gt;
! Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PERMITTED_BUILDING}}&lt;br /&gt;
| building name &lt;br /&gt;
| The named, custom building can be built by a civilization in Fortress Mode.&lt;br /&gt;
[PERMITTED_BUILDING:SOAP_MAKER]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PERMITTED_JOB}}&lt;br /&gt;
| [[Unit type token|profession]]&lt;br /&gt;
| Allows this job type to be selected. This applies to worldgen creatures, in the embark screen, and in play. Certain professions also influence the availability of materials for trade.&lt;br /&gt;
[PERMITTED_JOB:MINER]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PERMITTED_REACTION}}&lt;br /&gt;
| reaction name &lt;br /&gt;
| Allows this reaction to be used by a civilization. It is used primarily in Fortress Mode, but also allows certain resources, such as [[steel]], to be available to a race. When creating custom reactions, this token '''must''' be present or the player will not be able to use the reaction in Fortress Mode.&lt;br /&gt;
[PERMITTED_REACTION:TAN_A_HIDE]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CURRENCY_BY_YEAR}}&lt;br /&gt;
| &lt;br /&gt;
| Causes the civ's currency to be numbered with the year it was minted.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CURRENCY}}&lt;br /&gt;
|&lt;br /&gt;
* inorganic material&lt;br /&gt;
* value&lt;br /&gt;
| What kind of metals the civ uses for coin minting, as well as the value of the [[coin]]. Only effective in Adventurer mode due to lack of [[dwarven economy]].&lt;br /&gt;
&lt;br /&gt;
[CURRENCY:SILVER:5]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ART_FACET_MODIFIER}}&lt;br /&gt;
|&lt;br /&gt;
* type&lt;br /&gt;
* number&lt;br /&gt;
| OWN_RACE, FANCIFUL, EVIL, GOOD&lt;br /&gt;
Number goes from 0 to 25600 where 256 is the default.&lt;br /&gt;
[ART_FACET_MODIFIER:OWN_RACE:512]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ART_IMAGE_ELEMENT_MODIFIER}}&lt;br /&gt;
|&lt;br /&gt;
* item&lt;br /&gt;
* number&lt;br /&gt;
| CREATURE, PLANT, TREE, SHAPE, ITEM&amp;lt;br /&amp;gt;0-25600&lt;br /&gt;
&lt;br /&gt;
Determines the chance of each image occurring in that entity's artwork, such as engravings and on artifacts, for default (non-historical) artwork.&lt;br /&gt;
&lt;br /&gt;
[ART_IMAGE_ELEMENT_MODIFIER:TREE:512]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ITEM_IMPROVEMENT_MODIFIER}}&lt;br /&gt;
|&lt;br /&gt;
* item&lt;br /&gt;
* number&lt;br /&gt;
| ART_IMAGE, COVERED or GLAZED, RINGS_HANGING, BANDS, SPIKES, ITEMSPECIFIC, THREAD, CLOTH, SEWN_IMAGE&amp;lt;br /&amp;gt;0-25600&lt;br /&gt;
&lt;br /&gt;
Determines the chance of the entity using that particular artwork method, such as &amp;quot;encircled with bands&amp;quot; or &amp;quot;menaces with spikes&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[ITEM_IMPROVEMENT_MODIFIER:SPIKES:0]&lt;br /&gt;
&lt;br /&gt;
This also seems to change the amount that the entity will pay for items that are improved in these ways in their tokens.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TRANSLATION}}&lt;br /&gt;
| language&lt;br /&gt;
| What language raw the entity uses.&lt;br /&gt;
* If an entity lacks this tag, translations are drawn randomly from all translation files. Multiple translation tags will only result in the last one being used. Migrants will sometimes arrive with no name.&lt;br /&gt;
* If GEN_DIVINE is entered, the entity will use a generated divine language, that is, the same language that is used for the names of [[angel]]s.&lt;br /&gt;
* If the entity's main creature has {{token|UTTERANCES|c}}, then this token will be ignored (except when using the naming menu) in favor of procedural [[kobold]]-style [[Kobold language|pseudolanguage]].&lt;br /&gt;
[TRANSLATION:DWARF]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SELECT_SYMBOL}}&lt;br /&gt;
|&lt;br /&gt;
* category&lt;br /&gt;
* [[language#language_SYM.txt|symbol]]&lt;br /&gt;
| ALL, REMAINING, BATTLE, BRIDGE, CIV, CRAFT_GUILD, FESTIVAL (doesn't work, see below), HOSPITAL, LIBRARY, MERCHANT_COMPANY, MILITARY_UNIT, OTHER, RELIGION, ROAD, SIEGE, SITE, TEMPLE, TUNNEL, VESSEL, WALL, WAR&lt;br /&gt;
The entity will always use a word from the selected symbol(s) to generate names from that category.&lt;br /&gt;
* OTHER applies the symbol selection to personal names and site names. REMAINING will apply the symbol selection to all categories that have not already been declared above it.&lt;br /&gt;
* Specific to SELECT_SYMBOL, symbols selected this way will be used as &amp;quot;The X&amp;quot; in &amp;quot;The X of Y&amp;quot; names, and nouns from selected symbols can be used as first [[name]]s.&lt;br /&gt;
* FESTIVAL does not work. The game uses symbol NAME_FESTIVAL hardcoded. You may consider changing that symbol (with SELECT_SYMBOL), but then it's applied for all entities.&lt;br /&gt;
&lt;br /&gt;
[SELECT_SYMBOL:ALL:PEACE]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SUBSELECT_SYMBOL}}&lt;br /&gt;
|&lt;br /&gt;
* category&lt;br /&gt;
* [[language#language_SYM.txt|symbol]]&lt;br /&gt;
| As SELECT_SYMBOL, a word from the subselected symbol(s) will be used in names of that category, in addition to the word from SELECT_SYMBOL (if specified). Used in vanilla to put violent names in sieges and battles.&lt;br /&gt;
* Words chosen with SUBSELECT_SYMBOL will appear as either adjectives or &amp;quot;of Y&amp;quot; in &amp;quot;The X of Y&amp;quot; names.&lt;br /&gt;
* CULL_SYMBOL does not affect subselected symbols.&lt;br /&gt;
&lt;br /&gt;
[SELECT_SYMBOL:SIEGE:NAME_SIEGE]&lt;br /&gt;
&lt;br /&gt;
[SUBSELECT_SYMBOL:SIEGE:VIOLENT]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CULL_SYMBOL}}&lt;br /&gt;
|&lt;br /&gt;
* category&lt;br /&gt;
* [[Language#language_SYM.txt|symbol]]&lt;br /&gt;
| Causes the entity to not use the words in these SYM sets.&lt;br /&gt;
[CULL_SYMBOL:ALL:UGLY]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|FRIENDLY_COLOR}}&lt;br /&gt;
| see [[color]]&lt;br /&gt;
|&lt;br /&gt;
The color of this entity's civilization settlements in the world gen and embark screens, also used when announcing arrival of their caravan. Defaults to 7:0:1.&lt;br /&gt;
&lt;br /&gt;
[FRIENDLY_COLOR:1:0:1]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Religion ==&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! Token&lt;br /&gt;
! Arguments&lt;br /&gt;
! Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|RELIGION}}&lt;br /&gt;
| type&lt;br /&gt;
|&lt;br /&gt;
* REGIONAL_FORCE: The creatures will worship a single force associated with the terrain of their initial biome.&lt;br /&gt;
* PANTHEON: The creatures will worship a group of gods, each aligned with their spheres and other appropriate ones as well.&lt;br /&gt;
&lt;br /&gt;
Can be specified multiple times, and will pick randomly from the assigned types. Additional instances of each type will weight the random choice, but unlike {{token|CREATURE|e}}, will not make the entity more likely to spawn.&lt;br /&gt;
&lt;br /&gt;
[RELIGION:PANTHEON]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|RELIGION_SPHERE}}&lt;br /&gt;
| [[Sphere#Available_spheres|sphere]]&lt;br /&gt;
| Can be any available [[sphere]] - multiple entries are possible. Choosing a religious sphere will automatically make its opposing sphere not possible for the species to have: adding [[Sphere#WATER|WATER]], for example, means civs of this entity will never get [[Sphere#FIRE|FIRE]] as a religious sphere. Note that the [[Sphere#DEATH|DEATH]] sphere favours the appearance of necromancers (and therefore, towers) &amp;quot;in&amp;quot; the entity.&lt;br /&gt;
&lt;br /&gt;
[RELIGION_SPHERE:FORTRESSES]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SPHERE_ALIGNMENT}}&lt;br /&gt;
|&lt;br /&gt;
* [[Sphere#Available_spheres|sphere]]&lt;br /&gt;
* number&lt;br /&gt;
|&lt;br /&gt;
This token forces an entity to favor or disfavor particular religious spheres. Default is 256, minimum is 0, maximum is 25600.&lt;br /&gt;
* Presently, this doesn't cause them to acquire those spheres more often when generating a pantheon.&lt;br /&gt;
* [[Sphere#PLANTS|PLANTS]] and [[Sphere#ANIMALS|ANIMALS]] affect the prevalence of depicting {{token|VEGETATION}} and {{token|NATURAL}} creatures, respectively, in a similar fashion to {{token|ART_FACET_MODIFIER|e}}. &lt;br /&gt;
* [[Sphere#WAR|WAR]] modifies the effective [[item value]] of [[weapon]]s and [[armor]] to [[trader]]s of this entity. The multiplier is SPHERE_ALIGNMENT/256, though this only applies to equipment the entity's main creature can properly wield.&lt;br /&gt;
&lt;br /&gt;
[SPHERE_ALIGNMENT:TREES:512]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Leadership ==&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! Token&lt;br /&gt;
! Arguments&lt;br /&gt;
! Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|POSITION}}&lt;br /&gt;
| string&lt;br /&gt;
| Defines a leader/noble position for a civilization. These replace previous tags such as [MAYOR] and [CAN_HAVE_SITE_LEADER] and so on. To define a position further, see [[Position token]].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SITE_VARIABLE_POSITIONS}}&lt;br /&gt;
| Position responsibility or ALL&lt;br /&gt;
| Allows a site responsibility to be taken up by a dynamically generated position (lords, hearthpersons, etc.). Any defined positions holding a given responsibility will take precedence over generated positions for that responsibility. Also appears to cause site disputes.{{Verify}} See also: [[variable positions]]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|VARIABLE_POSITIONS}}&lt;br /&gt;
| Position responsibility or ALL&lt;br /&gt;
| Allows a responsibility to be taken up by a dynamically generated position (such as Law-maker). Any defined positions holding a given responsibility will take precedence over generated positions for that responsibility. See also: [[variable positions]]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Behavior ==&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! Token&lt;br /&gt;
! Arguments&lt;br /&gt;
! Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ETHIC}}&lt;br /&gt;
| &lt;br /&gt;
*behavior&lt;br /&gt;
*reaction&lt;br /&gt;
| Sets the civ's view of [[ethic]]s (certain behaviors), from capital punishment to completely acceptable. This also causes the civ to look upon opposing ethics with disfavor if their reaction to it is opposing, and when at extremes (one ACCEPTABLE, another civ UNTHINKABLE; for example) they will often go to war over it.&lt;br /&gt;
[ETHIC:EAT_SAPIENT_KILL:ACCEPTABLE]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|VALUE}}&lt;br /&gt;
| &lt;br /&gt;
*value&lt;br /&gt;
*number&lt;br /&gt;
| Sets the civ's [[Personality value|cultural values]]. Numbers range from -50 (complete anathema) to 0 (neutral) to 50 (highly valued).&lt;br /&gt;
[VALUE:CRAFTSMANSHIP:50]&lt;br /&gt;
&lt;br /&gt;
Certain values must be set to 15 or more for civs to create structures and form entities during history gen:&lt;br /&gt;
* 15+ KNOWLEDGE for libraries&lt;br /&gt;
* 15+ COOPERATION ''and'' 15+ CRAFTSMANSHIP for craft guilds&lt;br /&gt;
** Guilds also need guild-valid professions (see [[#PERMITTED_JOB|PERMITTED_JOB]])&lt;br /&gt;
&lt;br /&gt;
If the positions of an entity are variable (and include the CUSTOM_OFFICIAL_1), then CUNNING &amp;gt; 10 is needed for the CUSTOM_OFFICIAL_1 to have the espionage responsibility.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|VARIABLE_VALUE}}&lt;br /&gt;
|&lt;br /&gt;
*value or ALL&lt;br /&gt;
*min&lt;br /&gt;
*max&lt;br /&gt;
| Makes values randomized rather than specified.&lt;br /&gt;
This tag overrides the VALUE tag. Using [VARIABLE_VALUE:ALL:x:y] and then overwriting single values with further [VARIABLE_VALUE:value:x:y] tags works.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|WILL_ACCEPT_TRIBUTE}}&lt;br /&gt;
| &lt;br /&gt;
| Makes the civ's traders accept offered goods.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|WANDERER}}, {{text anchor|BEAST_HUNTER}}, {{text anchor|SCOUT}}, {{text anchor|MERCENARY}}&lt;br /&gt;
| &lt;br /&gt;
| The civ will send out these sorts of adventurers in worldgen, which seems to increase Tracker skill. These types of adventurers will sometimes be seen leading a battle (instead of war leaders or generals) in remote locations during world-gen, in charge of the defenders.&lt;br /&gt;
&lt;br /&gt;
Mercenaries and monster hunters from the civ may visit player's fortress and petition for residency there to enlist in the military or hunt monsters in caverns, respectively.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ABUSE_BODIES}}&lt;br /&gt;
| &lt;br /&gt;
| The civilization will mutilate bodies when they are the victors in history-gen warfare, such as hanging bodies from trees, putting them on spikes, and so forth. Adventurers killed in Adventurer mode will sometimes be impaled on spikes wherever they died, with or without this token, and regardless of whether they actually antagonized the townspeople.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ACTIVE_SEASON}}&lt;br /&gt;
| season&lt;br /&gt;
| The season when the civ is most active: when they will trade, interact with you via diplomats, and/or invade you. Civs can have multiple season entries. Note: If multiple caravans arrive at the same time, you are able to select which civ to trade with at the depot menu. ACTIVE_SEASON tags may be changed for a currently active fort.&lt;br /&gt;
[ACTIVE_SEASON:AUTUMN]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|AMBUSHER}}&lt;br /&gt;
| &lt;br /&gt;
| When invading, sneaks around and shoots at straggling members of your society. They will spawn on the edge of the map and will only be visible when one of their party are spotted; this can be quite dangerous to undefended trade depots. If the civilization also has the SIEGER token, they will eventually ramp it up to less subtle means of warfare.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|AT_PEACE_WITH_WILDLIFE}}&lt;br /&gt;
|&lt;br /&gt;
| Will not attack wildlife, and will not be attacked by them, even if you have them in your party. This can be somewhat disconcerting when attacked by bears in the forest, and your elven ally sits back and does nothing. Additionally, this token determines if the entity can settle in savage biomes.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|BABYSNATCHER}}&lt;br /&gt;
|&lt;br /&gt;
| Sends thieves to steal babies. Without this tag (or AMBUSHER, or ITEM_THIEF), enemy civs will only siege (if capable), and will siege as early as they would otherwise babysnatch. This can happen as early as the first year of the fort! In addition, babysnatcher civs will snatch children during worldgen, allowing them to become part of the civ if they do not escape. Also causes this civ to be hostile to any entity without this token.&lt;br /&gt;
&lt;br /&gt;
Note: If the playable civ in fortress mode has this tag (e.g. you add BABYSNATCHER to the dwarf entity) then the roles will be reversed and elves and humans will siege and ambush and goblins will be friendly to you. However, animals traded away to one's own caravan will count as snatched, reported upon the animal leaving the map, and the animal will not count as having been exported.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|BUILDS_OUTDOOR_FORTIFICATIONS}}&lt;br /&gt;
| &lt;br /&gt;
| Makes the civilization build castles from [[mead hall]]s. Only functions when the type of site built is a hamlet/town. This, combined with the correct type of [[position token|position]] associated with a site, is why adventurers can only lay claim to human sites. {{bug|8001}}&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|BUILDS_OUTDOOR_TOMBS}}&lt;br /&gt;
| &lt;br /&gt;
| Makes the civilization build tombs.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|BANDITRY}}&lt;br /&gt;
| percentage&lt;br /&gt;
| Sets a percentage of the entity population to be used as bandits.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|DIPLOMAT_BODYGUARDS}}&lt;br /&gt;
|&lt;br /&gt;
| Visiting diplomats are accompanied by a pair of soldiers.&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|GENERATED}}&lt;br /&gt;
|&lt;br /&gt;
| Found on generated divine &amp;quot;HF Guardian Entities&amp;quot;.  Cannot be used in user-defined raws.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|INVADERS_IGNORE_NEUTRALS}}&lt;br /&gt;
|&lt;br /&gt;
| Causes invaders to ignore visiting caravans and other neutral creatures.{{verify}}&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ITEM_THIEF}}&lt;br /&gt;
|&lt;br /&gt;
| Sends thieves to steal items. This will also occur in history generation, and thieves will have the &amp;quot;thief&amp;quot; profession. Items stolen in history gen will be scattered around that creature's home. Also causes that civ to be hostile to any entity without this token. Without this tag (or AMBUSHER, or BABYSNATCHER), enemy civs will only siege (if capable), and will siege as early as they would otherwise steal.&lt;br /&gt;
&lt;br /&gt;
Note: If the playable civ in Fortress Mode has this tag (e.g. you add ITEM_THIEF to the Dwarf entity) then the roles will be reversed and elves and humans will siege and ambush and kobolds will be friendly to you. However, ALL items traded away to one's own caravan will count as stolen, reported when the items leave the map, and the stolen items will not count as exported.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|LOCAL_BANDITRY}}&lt;br /&gt;
|&lt;br /&gt;
| Causes the entity to send out patrols that can ambush adventurers. Said patrols will be hostile to any adventurers they encounter, regardless of race or nationality.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MERCHANT_BODYGUARDS}}&lt;br /&gt;
|&lt;br /&gt;
| Caravan merchants are accompanied by soldiers.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MERCHANT_NOBILITY}}&lt;br /&gt;
|&lt;br /&gt;
| Merchants will engage in cross-civ trading and form companies.&lt;br /&gt;
&lt;br /&gt;
In previous versions, this resulted in the civ having a Guild Representative / Merchant Baron / Merchant Prince, but now this is controlled solely by positions.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PROGRESS_TRIGGER_POPULATION}}&lt;br /&gt;
| level&lt;br /&gt;
| 0 to 5, civ will come to site once population at site has reached that level. If multiple progress triggers exist for a civ, it will come when any one of them is fulfilled instead of waiting for all of them to be reached. A value of 0 disables the trigger. 1 corresponds to 20 dwarves, 2 to 50 dwarves, 3 to 80, 4 to 110, and 5 to 140. Progress triggers may be changed, added, or deleted for a currently active fort. Note: hostile civs require that this be fulfilled as well as at least one other non-siege trigger before visiting for non-siege activities.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PROGRESS_TRIGGER_PRODUCTION}}&lt;br /&gt;
| level&lt;br /&gt;
| 0 to 5, civ will come to site once created wealth has reached that level. If multiple progress triggers exist for a civ, it will come when any one of them is fulfilled instead of waiting for all of them to be reached. A value of 0 disables the trigger. 1 corresponds to 5000☼ created wealth, 2 to 25000☼, 3 to 100000☼, 4 to 200000☼, and 5 to 300000☼. Progress triggers may be changed, added, or deleted for a currently active fort.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PROGRESS_TRIGGER_TRADE}}&lt;br /&gt;
| level&lt;br /&gt;
| 0 to 5, civ will come to site once exported goods has reached that level. If multiple progress triggers exist for a civ, it will come when any one of them is fulfilled instead of waiting for all of them to be reached. A value of 0 disables the trigger. 1 corresponds to 500☼ exported wealth, 2 to 2500☼, 3 to 10000☼, 4 to 20000☼, and 5 to 30000☼. Progress triggers may be changed, added, or deleted for a currently active fort.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PROGRESS_TRIGGER_POP_SIEGE}}&lt;br /&gt;
| level&lt;br /&gt;
| 0 to 5, civ will begin to send sieges against the player civ when this level is reached if it is hostile.&lt;br /&gt;
&lt;br /&gt;
If multiple progress triggers exist for a civ, it will come when any one of them is fulfilled instead of waiting for all of them to be reached. A value of 0 disables the trigger.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PROGRESS_TRIGGER_PROD_SIEGE}}&lt;br /&gt;
| level&lt;br /&gt;
| 0 to 5, civ will begin to send sieges against the player civ when this level is reached if it is hostile.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PROGRESS_TRIGGER_TRADE_SIEGE}}&lt;br /&gt;
| level&lt;br /&gt;
| 0 to 5, civ will begin to send sieges against the player civ when this level is reached if it is hostile.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SIEGER}}&lt;br /&gt;
|&lt;br /&gt;
| Will start campfires and wait around at the edge of your map for a month or two before rushing in to attack. This will occur when the progress triggers for sieging are reached. If the civ lacks smaller methods of conflict (AMBUSHER, BABYSNATCHER, ITEM_THIEF), they will instead send smaller-scale sieges when their triggers for &amp;quot;first contact&amp;quot; are reached.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SIEGE_SKILLED_MINERS}}{{v|53.01}}&lt;br /&gt;
|&lt;br /&gt;
| Improves the skill of [[miner]] invaders by a factor of 5. Used for [[dwarves]] in vanilla.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SITE_GUARDIAN}}&lt;br /&gt;
|&lt;br /&gt;
| Guards certain special sites, such as a [[vault]] belonging to a [[demon]] allied with a [[deity]].  Used in generated divine entities. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SKULKING}}&lt;br /&gt;
|&lt;br /&gt;
| This makes the severity of attacks depend on the extent of item/baby thievery rather than the passage of time. Designed to go with ITEM_THIEF, may or may not work with BABYSNATCHER.  Prevents the civ from engaging in diplomacy or ending up at war.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TREE_CAP_DIPLOMACY}}&lt;br /&gt;
|&lt;br /&gt;
| Visiting diplomats impose tree cutting quotas; without this, they will simply compliment your fortress and leave. Also causes the diplomat to make unannounced first contact at the very beginning of the first spring after your fortress becomes a land holder.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|LAYER_LINKED}}&lt;br /&gt;
| &lt;br /&gt;
| Defines if a civilization is a hidden subterranean entity, such as [[bat man]] civilizations. May spawn in any of the three caverns; cavern dweller raids due to [[agitation]] will pull from these. If you embark as this civ, you have access to pets and trees from all three layers, not only the first. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|GENERATE_KEYBOARD_INSTRUMENTS}}, {{text anchor|GENERATE_PERCUSSION_INSTRUMENTS}}, {{text anchor|GENERATE_STRINGED_INSTRUMENTS}}, {{text anchor|GENERATE_WIND_INSTRUMENTS}}, {{text anchor|GENERATE_DANCE_FORMS}}, {{text anchor|GENERATE_MUSICAL_FORMS}}, {{text anchor|GENERATE_POETIC_FORMS}}&lt;br /&gt;
|&lt;br /&gt;
| Makes civilizations generate the given instruments/forms.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SCHOLAR}}&lt;br /&gt;
| scholar type&lt;br /&gt;
| ALL, ASTRONOMER, CHEMIST, DOCTOR, ENGINEER, GEOGRAPHER, HISTORIAN, MATHEMATICIAN, NATURALIST, PHILOSOPHER&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SET_SCHOLARS_ON_VALUES_AND_JOBS}}&lt;br /&gt;
|&lt;br /&gt;
| Generates scholars based on the values generated with the VARIABLE_VALUE tag.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NO_ARTIFACT_CLAIMS}}&lt;br /&gt;
|&lt;br /&gt;
| Used for kobolds.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MINING_UNDERWORLD_DISASTERS}}&lt;br /&gt;
|&lt;br /&gt;
| The civilization can breach the [[Underworld]] during world generation, spawning a civilization of {{token|EVIL}} creatures lead by a unique [[demon]].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MYTHICAL}}{{version|51.01-beta26}}&lt;br /&gt;
|&lt;br /&gt;
| Builds [[mysterious dungeon]]s.&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Available resources ==&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! Token&lt;br /&gt;
! Arguments&lt;br /&gt;
! Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|AMMO}}&lt;br /&gt;
| item token&lt;br /&gt;
| Used after a ranged weapon type.&lt;br /&gt;
[AMMO:ITEM_AMMO_BOLTS]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ARMOR}}&lt;br /&gt;
|&lt;br /&gt;
* item token&lt;br /&gt;
* rarity&lt;br /&gt;
| Rarity is optional, and valid values are FORCED, COMMON, UNCOMMON, and RARE (anything else is treated as COMMON). FORCED items will be available 100% of the time, COMMON items 50%, UNCOMMON items 10%, and RARE items 1%. If certain armor types are lacking after performing one pass of randomised checks, the game will repeat random checks until an option is successfully chosen.&lt;br /&gt;
[ARMOR:ITEM_ARMOR_PLATEMAIL:COMMON]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|DIGGER}}&lt;br /&gt;
| item token&lt;br /&gt;
| Causes the selected weapon to fall under the &amp;quot;digging tools&amp;quot; section of the embark screen. Also forces the weapon to be made out of metal, which can cause issues if a modded entity has access to picks without access to metal - for those cases, listing the pick under the [WEAPON] token works just as well. Note that this tag is neither necessary nor sufficient to allow use of that item as a mining tool – for that, the item itself needs to be a weapon with {{token|SKILL|wp|MINING}}.&lt;br /&gt;
[DIGGER:ITEM_WEAPON_PICK]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|GLOVES}}&lt;br /&gt;
|&lt;br /&gt;
* item token&lt;br /&gt;
* rarity&lt;br /&gt;
| Rarity is optional, and valid values are FORCED, COMMON, UNCOMMON, and RARE (anything else is treated as COMMON). Uses the same rarity values and methods as outlined in ARMOR.&lt;br /&gt;
[GLOVES:ITEM_GLOVES_GLOVES:COMMON]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|HELM}}&lt;br /&gt;
|&lt;br /&gt;
* item token&lt;br /&gt;
* rarity&lt;br /&gt;
| Rarity is optional, and valid values are FORCED, COMMON, UNCOMMON, and RARE (anything else is treated as COMMON). Uses the same rarity values and methods as outlined in ARMOR.&lt;br /&gt;
[HELM:ITEM_HELM_HELM:COMMON]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|INSTRUMENT}}&lt;br /&gt;
| item token&lt;br /&gt;
| No longer used due to the ability to generate instruments in world generation. It is still usable if pre-defined instruments are modded in, and generated musical forms are capable of selecting pre-defined instruments to use. However, reactions for making instruments, instrument parts, and/or assembling such instruments need to be added as well, as this token no longer adds such instruments to the craftdwarf's workshop menu.&lt;br /&gt;
[INSTRUMENT:ITEM_INSTRUMENT_FLUTE]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PANTS}}&lt;br /&gt;
|&lt;br /&gt;
* item token&lt;br /&gt;
* rarity&lt;br /&gt;
| Rarity is optional, and valid values are FORCED, COMMON, UNCOMMON, and RARE (anything else is treated as COMMON). Uses the same rarity values and methods as outlined in ARMOR.&lt;br /&gt;
[PANTS:ITEM_PANTS_PANTS:COMMON]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SHIELD}}&lt;br /&gt;
| item token&lt;br /&gt;
|&lt;br /&gt;
[SHIELD:ITEM_SHIELD_SHIELD]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SHOES}}&lt;br /&gt;
|&lt;br /&gt;
* item token&lt;br /&gt;
* rarity&lt;br /&gt;
| Rarity is optional, and valid values are FORCED, COMMON, UNCOMMON, and RARE (anything else is treated as COMMON). Uses the same rarity values and methods as outlined in ARMOR.&lt;br /&gt;
[SHOES:ITEM_SHOES_SHOES:COMMON]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SIEGEAMMO}}&lt;br /&gt;
| item token&lt;br /&gt;
|&lt;br /&gt;
[SIEGEAMMO:ITEM_SIEGEAMMO_BALLISTA]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TOOL}}&lt;br /&gt;
| item token&lt;br /&gt;
|&lt;br /&gt;
[TOOL:ITEM_TOOL_NEST_BOX]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TOY}}&lt;br /&gt;
| item token&lt;br /&gt;
|&lt;br /&gt;
[TOY:ITEM_TOY_PUZZLEBOX]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TRAPCOMP}}&lt;br /&gt;
| item token&lt;br /&gt;
|&lt;br /&gt;
[TRAPCOMP:ITEM_TRAPCOMP_GIANTAXEBLADE]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|WEAPON}}&lt;br /&gt;
| item token&lt;br /&gt;
| While this does not accept a rarity value, something similar can be achieved by having multiple variations of a weapon type with small differences and specifying each of them.{{cite forum|179547}}&lt;br /&gt;
[WEAPON:ITEM_WEAPON_AXE_BATTLE]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|USE_ANIMAL_PRODUCTS}}&lt;br /&gt;
|&lt;br /&gt;
| Allows use of products made from animals. All relevant creatures will be able to provide wool, silk, and extracts (including milk and venom) for trade, and non-sentient creatures (unless ethics state otherwise) will be able to provide eggs, caught fish, meat, leather, bone, shell, pearl, horn, and ivory.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|USE_ANY_PET_RACE}}&lt;br /&gt;
|&lt;br /&gt;
| Any creature in the civilization's list of usables (from the surrounding 7x7 or so of squares and map features in those squares) will be included in the initial usable creature list, which then gets pared down or otherwise considered. Without this, only common domestic and equipment creatures are added to the initial list.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|USE_CAVE_ANIMALS}}&lt;br /&gt;
|&lt;br /&gt;
| If they don't have it, creatures with exclusively subterranean biomes are skipped. If they have it, cave creatures will be included in the initial usable creature list.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|USE_EVIL_ANIMALS}}&lt;br /&gt;
|&lt;br /&gt;
| Without this, {{token|EVIL|c}} creatures are skipped, otherwise, evil creatures with {{token|SLOW_LEARNER|c}} or ''without'' {{token|CAN_LEARN|c}} will be included in the initial usable creature list, even the normally untameable species.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|USE_EVIL_PLANTS}}&lt;br /&gt;
|&lt;br /&gt;
| Same as USE_EVIL_ANIMALS for all uses of plants.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|USE_EVIL_WOOD}}&lt;br /&gt;
|&lt;br /&gt;
| Same as USE_EVIL_ANIMALS for all uses of wood.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|USE_GOOD_ANIMALS}}&lt;br /&gt;
|&lt;br /&gt;
| Without this, {{token|GOOD|c}} creatures are skipped, otherwise, good creatures ''without'' {{token|CAN_LEARN|c}} will be included in the initial usable creature list, even the normally untameable species.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|USE_GOOD_PLANTS}}&lt;br /&gt;
|&lt;br /&gt;
| Same as USE_GOOD_ANIMALS for all uses of plants.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|USE_GOOD_WOOD}}&lt;br /&gt;
|&lt;br /&gt;
| Same as USE_GOOD_ANIMALS for all uses of wood.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|USE_MISC_PROCESSED_WOOD_PRODUCTS}}&lt;br /&gt;
|&lt;br /&gt;
| If the relevant professions are permitted, controls availability of lye ({{token|LYE_MAKER|ut}}), charcoal ({{token|WOOD_BURNER|ut}}), and potash ({{token|POTASH_MAKER|ut}}).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|USE_NON_EXOTIC_PET_RACE}}&lt;br /&gt;
|&lt;br /&gt;
| Makes the civilization use all locally available non-exotic pets.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|COMMON_DOMESTIC_MOUNT}}&lt;br /&gt;
|&lt;br /&gt;
| Gives the civilization access to creatures with {{token|COMMON_DOMESTIC|c}} and {{token|MOUNT|c}}. Additionally, all available (based on USE_ANY_PET_RACE, USE_CAVE_ANIMALS, USE_GOOD_ANIMALS, and USE_EVIL_ANIMALS) creature with {{token|MOUNT|c}} and {{token|PET|c}} will be allowed for use as mounts during combat.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|COMMON_DOMESTIC_PACK}}&lt;br /&gt;
|&lt;br /&gt;
| Gives the civilization access to creatures with {{token|COMMON_DOMESTIC|c}} and {{token|PACK_ANIMAL.|c}} Additionally, all available (see above) creatures with {{token|PACK_ANIMAL|c}} and {{token|PET|c}} will be allowed for use during trade as pack animals.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|COMMON_DOMESTIC_PET}}&lt;br /&gt;
|&lt;br /&gt;
| Gives the civilization access to creatures with {{token|COMMON_DOMESTIC|c}} and {{token|PET|c}}. Additionally, all available (see above) creatures with {{token|PET|c}} will be allowed for use as pets.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|COMMON_DOMESTIC_PULL}}&lt;br /&gt;
|&lt;br /&gt;
| Gives the civilization access to creatures with {{token|COMMON_DOMESTIC|c}} and {{token|WAGON_PULLER|c}}. Additionally, all available (see above) creatures with {{token|WAGON_PULLER|c}} and {{token|PET|c}} will be allowed for use during trade to pull [[wagon]]s.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|RIVER_PRODUCTS}}&lt;br /&gt;
|&lt;br /&gt;
| Allow use of river products in the goods available for trade.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|OCEAN_PRODUCTS}}&lt;br /&gt;
|&lt;br /&gt;
| Allow use of ocean products (including [[amber]] and [[coral]]) in the goods available for trade. Without OCEAN_PRODUCTS, civilizations will not be able to trade ocean fish even if they are ''also'' available from other sources (e.g. [[sturgeon]]s and [[stingray]]s).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|INDOOR_FARMING}}&lt;br /&gt;
|&lt;br /&gt;
| Allow use of underground plant products in the goods available for trade. Lack of suitable vegetation in the caverns will cause [[World generation#Rejections|worldgen rejection]]s. According to Droseran: &amp;quot;Gives access to plants (structural material) and seeds. It only checks for {{token|EDIBLE_RAW|md}} or {{token|EDIBLE_COOKED|md}} on the plant's structural material. It doesn't check if the plant can be used in a reaction to produce something edible, only if it can be eaten raw or cooked. If an entity with this token is placed in a biome that doesn't have at least one of these tokens on the structural material, the map is rejected. Due to the randomness of plant selection in biomes, this can happen a lot as only about half of the vanilla plants have edible structural materials. Removing either of these tokens from plants dramatically increases map rejections.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|OUTDOOR_FARMING}}&lt;br /&gt;
|&lt;br /&gt;
| Allow use of outdoor plant products in the goods available for trade. Lack of suitable vegetation in this civilization's starting area will cause [[World generation#Rejections|worldgen rejection]]s. According to Droseran: &amp;quot;Gives access to plants (structural material) and seeds. It only checks for {{token|EDIBLE_RAW|md}} or {{token|EDIBLE_COOKED|md}} on the plant's structural material. It doesn't check if the plant can be used in a reaction to produce something edible, only if it can be eaten raw or cooked. If an entity with this token is placed in a biome that doesn't have at least one of these tokens on the structural material, the map is rejected. Due to the randomness of plant selection in biomes, this can happen a lot as only about half of the vanilla plants have edible structural materials. Removing either of these tokens from plants dramatically increases map rejections.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|INDOOR_GARDENS}}&lt;br /&gt;
|&lt;br /&gt;
| Allow use of underground plant growths (quarry bush leaves, in unmodded games) in the goods available for trade. According to Droseran: &amp;quot;Will never cause map rejections. It allows growths to be used, but doesn't care if none exist. If an entity doesn't have a farming token, they won't have seeds or plants available on embark/trade. But you can still farm in fortress mode with only this token, you just have to get the seeds manually or trading with another civ.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|OUTDOOR_GARDENS}}&lt;br /&gt;
|&lt;br /&gt;
| Allow use of outdoor plant growths in the goods available for trade. According to Droseran: &amp;quot;Will never cause map rejections. It allows growths to be used, but doesn't care if none exist. If an entity doesn't have a farming token, they won't have seeds or plants available on embark/trade. But you can still farm in fortress mode with only this token, you just have to get the seeds manually or trading with another civ.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|INDOOR_ORCHARDS}}&lt;br /&gt;
|&lt;br /&gt;
| Allows use of indoor tree growths in the goods available for trade. Not used in vanilla entities, as vanilla underground trees do not grow fruit. Needs INDOOR_WOOD to function. Will cause rejections, if growths are unavailable. According to Droseran: &amp;quot;Gives access to tree growths. It only checks for growths on trees that are {{token|EDIBLE_RAW|md}} or {{token|EDIBLE_COOKED|md}}. If an entity with this token is placed in a biome that does not have a tree with a growth with at least one of these tokens, the map is rejected.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|OUTDOOR_ORCHARDS}}&lt;br /&gt;
|&lt;br /&gt;
| Allows use of outdoor tree growths in the goods available for trade. Needs OUTDOOR_WOOD to function{{verify}}. According to Droseran: &amp;quot;Gives access to tree growths. It only checks for growths on trees that are [EDIBLE_RAW] or [EDIBLE_COOKED]. If an entity with this token is placed in a biome that does not have a tree with a growth with at least one of these tokens, the map is rejected.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CLOTHING}}&lt;br /&gt;
|&lt;br /&gt;
| Civilization members will attempt to wear clothing.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SUBTERRANEAN_CLOTHING}}&lt;br /&gt;
|&lt;br /&gt;
| Will wear things made of spider silk and other subterranean materials.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|EQUIPMENT_IMPROVEMENTS}}&lt;br /&gt;
|&lt;br /&gt;
| Adds decorations to equipment based on the level of the generated unit. Also improves item quality.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|IMPROVED_BOWS}}&lt;br /&gt;
|&lt;br /&gt;
| Adds decorations to weapons generated for bowman and master bowman.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|METAL_PREF}}&lt;br /&gt;
|&lt;br /&gt;
| Allows metal materials to be used to make cages (inexpensive metals only) and crafts.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|STONE_PREF}}&lt;br /&gt;
|&lt;br /&gt;
| Allows the civilization to make use of nearby stone types. If the {{token|FURNACE_OPERATOR|ut}} job is permitted, also allows ore-bearing stones to be smelted into metals.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|WOOD_WEAPONS}}&lt;br /&gt;
|&lt;br /&gt;
| The civilization can make traditionally metallic weapons such as swords and spears from wood.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|WOOD_ARMOR}}&lt;br /&gt;
|&lt;br /&gt;
| The civilization can make traditionally metallic armor such as mail shirts and helmets from wood.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|GEM_PREF}}&lt;br /&gt;
|&lt;br /&gt;
| Enables creatures of this entity to bring gems in trade.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|INDOOR_WOOD}}&lt;br /&gt;
|&lt;br /&gt;
| Allow use of subterranean wood types, such as tower-cap and fungiwood logs.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|OUTDOOR_WOOD}}&lt;br /&gt;
|&lt;br /&gt;
| Allow use of outdoor wood types, such as mangrove and oak.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|GEM_SHAPE}}&lt;br /&gt;
| [[Descriptor shape token|shape]]&lt;br /&gt;
| Precious gems cut by this civilization's jewelers can be of this shape.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|STONE_SHAPE}}&lt;br /&gt;
| [[Descriptor shape token|shape]]&lt;br /&gt;
| Ordinary non-gem stones cut by this civilization's jewelers can be of this shape.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|DIVINE_MAT_CLOTHING}}&lt;br /&gt;
|&lt;br /&gt;
| Allows use of materials with {{token|DIVINE|im}} for clothing. Used for generated divine entities.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|DIVINE_MAT_CRAFTS}}&lt;br /&gt;
|&lt;br /&gt;
| Allows use of materials with {{token|DIVINE|im}} for crafts.{{verify}} Used for generated divine entities.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|DIVINE_MAT_WEAPONS}}&lt;br /&gt;
|&lt;br /&gt;
| Allows use of metals with {{token|DIVINE|im}} for weapons. Used for generated divine entities.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|DIVINE_MAT_ARMOR}}&lt;br /&gt;
|&lt;br /&gt;
| Allows use of metals with {{token|DIVINE|im}} for armor. Used for generated divine entities.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Animal definitions ==&lt;br /&gt;
&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! Token&lt;br /&gt;
! Arguments&lt;br /&gt;
! Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ANIMAL}}&lt;br /&gt;
|&lt;br /&gt;
| Start an animal definition.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ANIMAL_TOKEN}}&lt;br /&gt;
| [[creature token]]&lt;br /&gt;
| Select specific creature.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ANIMAL_CASTE_TOKEN}}&lt;br /&gt;
| [[Caste|creature caste token]]&lt;br /&gt;
| Select specific creature caste (requires ANIMAL_TOKEN). Sites with animal populations will still include all castes, but only the selected ones will be used for specific roles.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ANIMAL_CLASS}}&lt;br /&gt;
| [[Creature token#CREATURE_CLASS|creature class]]&lt;br /&gt;
| Select creature castes with this creature class (multiple uses allowed).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ANIMAL_FORBIDDEN_CLASS}}&lt;br /&gt;
| [[Creature token#CREATURE_CLASS|creature class]]&lt;br /&gt;
| Forbid creature castes with this creature class (multiple uses allowed).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ANIMAL_ALWAYS_PRESENT}}&lt;br /&gt;
|&lt;br /&gt;
| Animal will be present even if it does not naturally occur in the entity's terrain. All creatures, including [[demon]]s, night trolls and other generated ones will be used if no specific creature or class is selected. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
* {{text anchor|ANIMAL_NEVER_MOUNT}}, {{text anchor|ANIMAL_ALWAYS_MOUNT}}&lt;br /&gt;
* {{text anchor|ANIMAL_NEVER_WAGON_PULLER}}, {{text anchor|ANIMAL_ALWAYS_WAGON_PULLER}}&lt;br /&gt;
* {{text anchor|ANIMAL_NEVER_SIEGE}}, {{text anchor|ANIMAL_ALWAYS_SIEGE}}&lt;br /&gt;
* {{text anchor|ANIMAL_NEVER_PET}}, {{text anchor|ANIMAL_ALWAYS_PET}}&lt;br /&gt;
* {{text anchor|ANIMAL_NEVER_PACK_ANIMAL}}, {{text anchor|ANIMAL_ALWAYS_PACK_ANIMAL}}&lt;br /&gt;
|&lt;br /&gt;
| Override creature usage tokens. Respectively:&lt;br /&gt;
* [[Creature token#MOUNT|MOUNT]] and [[Creature token#MOUNT_EXOTIC|MOUNT_EXOTIC]]&lt;br /&gt;
* [[Creature token#WAGON_PULLER|WAGON_PULLER]]&lt;br /&gt;
* [[Creature token#TRAINABLE_WAR|TRAINABLE_WAR]] and not [[Creature token#CAN_LEARN|CAN_LEARN]]&lt;br /&gt;
* [[Creature token#PET|PET]] and [[Creature token#PET_EXOTIC|PET_EXOTIC]]&lt;br /&gt;
* [[Creature token#PACK_ANIMAL|PACK_ANIMAL]]&lt;br /&gt;
ALWAYS overrides NEVER if a caste is matched by more than one animal definition.&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Tissue styling-related tokens ==&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! Token&lt;br /&gt;
! Arguments&lt;br /&gt;
! Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TISSUE_STYLE}}&lt;br /&gt;
| tissue style unit ID&lt;br /&gt;
| Select a tissue layer which has the ID attached using TISSUE_STYLE_UNIT token in unit raws. This allows setting further cultural style parameters for the selected tissue layer.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TS_MAINTAIN_LENGTH}}&lt;br /&gt;
|&lt;br /&gt;
* minimum length?&lt;br /&gt;
* maximum length?&lt;br /&gt;
| Presumably sets culturally preferred tissue length for selected tissue. Needs testing.&lt;br /&gt;
Dwarves have their beards set to 100:NONE by default.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TS_PREFERRED_SHAPING}}&lt;br /&gt;
| styling token&lt;br /&gt;
| Valid tokens are NEATLY_COMBED, BRAIDED, DOUBLE_BRAIDS, PONY_TAILS, CLEAN_SHAVEN and STANDARD_HAIR/BEARD/MOUSTACHE/SIDEBURNS_SHAPINGS.&lt;br /&gt;
Presumably sets culturally preferred tissue shapings for selected tissue. Needs testing.&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
:''Main articles: [[Entity examples]]''&lt;br /&gt;
&lt;br /&gt;
{{Category|Modding}}&lt;br /&gt;
{{Category|Tokens}}&lt;br /&gt;
{{Category|Entities}}&lt;br /&gt;
[[ru:Entity token]]&lt;/div&gt;</summary>
		<author><name>Joostheger</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=Talk:Variable_positions&amp;diff=315531</id>
		<title>Talk:Variable positions</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=Talk:Variable_positions&amp;diff=315531"/>
		<updated>2026-03-17T09:56:54Z</updated>

		<summary type="html">&lt;p&gt;Joostheger: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;----Hi! nice work so far!&lt;br /&gt;
A few points:&lt;br /&gt;
* I really wonder where the differences between human and goblins are coming from. Do you have any idea? I almost know for sure that the difference in MARKET-positions is because of humans have the CITY- type in DEFAULT_SITE_TYPE. But the others, I dont know. perhaps because of their values or ethics?&lt;br /&gt;
* There is a lot of vague language in this article ('Some religious entities(...)', which ones?), but also to much certainty, at places :-) . I would suggest to make it more tight. ChatGPT or another text AI can be of good use there, to remove any ambiguity&lt;br /&gt;
* The number of -1 is very strange to me, because this is an invalid value when writing raws for entities. Do you have any idea what the circumstances are for these positions? I see for example with the priests. Can it be that PRIEST is REPLACED_BY HIGH_PRIEST and also by highest priest? In that case, number -1 means: &amp;quot;currently replaced&amp;quot;. It should not have a current holder. For example, can you check a site with a mayor, does the expedition leader has -1? in that case, its caused by replacement. &lt;br /&gt;
* Landholders are a strange bunch, I'm curious if you find out anything about those!&lt;br /&gt;
[[User:Joostheger|Joostheger]] ([[User talk:Joostheger|talk]]) 12:22, 12 February 2026 (UTC)&lt;br /&gt;
&lt;br /&gt;
Thank you.&lt;br /&gt;
* Not sure. The thing is even if the goblins do overtake another site, no market officials will be created. So it is more likely an ethics or values thing. The same for the reduced number of different officials.&lt;br /&gt;
* Well no. And the thing about &amp;quot;Some religious entities&amp;quot; in that case is, that some religious entities do not have any positions (eg. due to no variable position being created during world gen for these religious entities), but all of these entities (with no positions) will probably not create an abbot (CUSTOM_LAW_MAKER), but priest and so on (if the world-gen could/would be restarted). But without checking all religious entities without positions in detail, it might be that in some cases an religious entity (which could create an abbot) does not have a position at the end of world gen. So while there is from one perspective some ambiguity, from another perspective it is very precise.&lt;br /&gt;
* The number -1 means that it is unlimited, meaning for that position an unlimited amount of assignments can be created.&lt;br /&gt;
* No there is no replacement between the priest. Look at the responsibilities for priest and the others. Also the highest priest is capped at one (ie. like the pope), while their is an unlimited number of high priests possible (like cardinals or bishops).&lt;br /&gt;
* So far all entries in the variable position were empty. So it seems that neither humans nor goblins are landholders. And I still need a little bit more familiarity with Lua, for a few more complicated scripts (which also correctly query the different abstract building types).&lt;br /&gt;
&lt;br /&gt;
In general some info is still missing. And also I am in a few cases not sure yet, what exactly is the case, so some ambiguity might also stem from that. Only at the last step I will try to remove (unneccessary) ambiguity.&lt;br /&gt;
&lt;br /&gt;
ps. At some point the commented out text passages should be removed (deleted), but if I would try to do it, it will be detected as possibly harmful and not be allowed.[[Special:Contributions/91.49.240.46|91.49.240.46]] 13:15, 12 February 2026 (UTC)&lt;br /&gt;
----&lt;br /&gt;
* Ok ill help you remove the commented lines, but you really should create an account :-)&lt;br /&gt;
* The number unlimited is written in the raws as AS_NEEDED. is that correct? If you, i'll suggest to replace the -1 with AS_NEEDED, to make that consistent with other positions and understandability&lt;br /&gt;
* I dont think you'll find any other landholders by the way. I think it isnt in variable positions to have that. Landholders arent also neccesary to let the game run and simulate an interesint world, while these variable positions are.&lt;br /&gt;
[[User:Joostheger|Joostheger]] ([[User talk:Joostheger|talk]]) 14:52, 12 February 2026 (UTC)&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
* Well I might eventually create an account, iff no email address (etc.) needs to be provided.&lt;br /&gt;
* The translation of data into understandable form is not a priority, but -1 will be changed eventually (or a note added).&lt;br /&gt;
&lt;br /&gt;
ps. I will probably not edit anything in the next few hours on the article, so now or maybe tommorrow might be a good idea to remove the lines currently commented out.[[Special:Contributions/91.49.240.46|91.49.240.46]] 15:21, 12 February 2026 (UTC)&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
Most of the &amp;quot;easy&amp;quot; work has been done. Next steps would be (not necessarily in the stated order):&lt;br /&gt;
1. replacing/removing the technical flags.&lt;br /&gt;
2. further research on what the concret requirements for the creation of different official and market official positions on site level is.&lt;br /&gt;
3. Figureing out the reason why goblins so far only create variable positions on site level, when the leader was a custom bandit leader (ie. at least in case of the forced admin it should be possible).&lt;br /&gt;
4. Figureing out why the goblins only create a subset of all possible variable official positions (both on site and civ level).&lt;br /&gt;
5. Researching why the goblins do not create custom market officials.&lt;br /&gt;
6. Figureing out why in some cases the dwarves use the generic forced admin and not the forced admin from the dwarven raws.&lt;br /&gt;
7. Removing any ambiguity (if possible) from the page and improve understandability. For that I suggest that with pointing to the unclear part a discussion entry is made, so that I am made aware of it and can then clear it up.&lt;br /&gt;
8. Improve formatting and table presentation: ie. possibly move some info to other tables to reduce table width (of the existing table). Or use smaller fonts (scaling) for some table entries. etc.&lt;br /&gt;
9. Figureing out (and testing) which other values in the tags [variable_positions] (and variable_site_positions) are valid. I do not think that it is only [variable_positions:all]. (This won't be done by me).&lt;br /&gt;
10. Add section(s) for modifing the game data, so that in an existing world a few more variable positions are created (and filled with historical figures). So that the variable positions then function as if the variable positions had already been created (and filled) during world gen.&lt;br /&gt;
&lt;br /&gt;
I am probably missing a few things. But that is all for now, from my part. Further edits (by me) to the variable positions page will not be done before next week.[[Special:Contributions/91.49.240.46|91.49.240.46]] 17:32, 13 February 2026 (UTC)&lt;br /&gt;
----&lt;br /&gt;
a few thoughs on your questions:&lt;br /&gt;
3: I quess that the most important factors are their DEFAULT_SITE_TYPE and their values. 4: same. See: [[https://www.bay12forums.com/smf/index.php?topic=110027.msg8610297#msg8610297]]. 5: Because there are no markets in the dark fortress. 6: I think that the entity MOUNTAINS (dwarves) always uses the raw-forced administrator. I think that what you have seen, are probably not entity type 1, but maybe like outcasts or villains or whatever.  9: I can see what i can do [[User:Joostheger|Joostheger]] ([[User talk:Joostheger|talk]]) 21:10, 17 February 2026 (UTC)&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
Well the dwarves are (probably) supposed to only use the forced&lt;br /&gt;
administrator as defined in the raws, but they are not.&lt;br /&gt;
&lt;br /&gt;
In one case the site ruled by the forced administrator was originally&lt;br /&gt;
a human site, which was then taken over by a (dwarven) necromancer.&lt;br /&gt;
Afterwards a dwarven civ defeated the necromancer forces and formed a new government with a forced administrator (with precedence 100).&lt;br /&gt;
And the government still rules at the end of world gen.&lt;br /&gt;
&lt;br /&gt;
The other was originally a dwarven site (hillock). &lt;br /&gt;
It was then taken over by a necromancer (again dwarven).&lt;br /&gt;
The dwarves (original owners) then took the site back and put&lt;br /&gt;
a forced administrator in place (again with precedence 100). But the&lt;br /&gt;
site did change its owner again afterwards.&lt;br /&gt;
&lt;br /&gt;
To 3.: The goblins can take over other sites, so that is unlikely the cause. And would also not explain why the goblins with a custom bandit leader do create some officials, but the forced admin does not. (It is a totally different question, why the normal goblin site leaders do not create any officials.)&lt;br /&gt;
&lt;br /&gt;
To 4.: Well for one thing the ethics (and not the values) might play a role (ie. most things being a &amp;quot;personal matter&amp;quot;). For some other things (chef, grain official) it is probably either that the goblins do neither drink nor eat or it is (indirectly) because of that as they might not have some labors/jobs (see [[https://dwarffortressbugtracker.com/view.php?id=11727]]). The later is probably also the reason, why they do not have doctors. The values on the other hand will probably play a role, whether the custom law maker is a diplomat (or has the military strategy responsibility).&lt;br /&gt;
&lt;br /&gt;
To 5.: Again the goblins can take over other sites, so unless they always destroy the markets, when they occupy such a site, this cannot be the reason. But needs to be something else.&lt;br /&gt;
&lt;br /&gt;
To. 9: The question is, whether the definitions allows multiple variable_position tags (resp. site variable position tags) or if only one is evaluated (and used). Furthermore the question is, whether only ALL and the name of a responsibility (like MANAGE_WORK_ORDERS) is allowed or if the name of the custom officials (as used as code) is also valid. And then a follow-up question would be, if ie. MILITARY_STRATEGY is written as entry, whether this will always create the CUSTOM_MILITARY_STRATEGY. And what about the cases, when an official has usually two responsibilities (like the &amp;quot;chef&amp;quot;), will that official be created with only one resp., if only one is given. Do both responsibilities need to be written (ie. with a comma as separator) in one tag. But that are all modding related questions (and not questions for modifying an existing world).&lt;br /&gt;
&lt;br /&gt;
BTW: In many cases, when I looked into the history, a forced administrator was created usually after a site had been taken over by a necromancer (some time before). But I have not figured out yet, how I can easily check (from the entity definition), which group belongs to a necromancer and which not.[[Special:Contributions/91.49.240.46|91.49.240.46]] 16:44, 18 February 2026 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Variable Positions and Quests ==&lt;br /&gt;
&lt;br /&gt;
Quiet a few variable positions do have the same flags set as ie. the CUSTOM_BANDIT_LEADER (who is according to the Quest page) able to give out quests to adventurers, allthough some of the variable positions do not have any squads (which again according to the Quest page is necessary to be able to give out quests), but then again the question is, whether that information on the Quest page (which seems to have been more or less only been migrated from an older version to the current v5x version) is current (or has even been correct for the older version). It is probably a good idea if someone tests out in the adventure mode, if ie. the guild leader (dean/doyen), merchant corporation leader (and representative) and other variable positions (who are mentioned on this page to have the quest_giver and/or kill_quest flag set) are able to give out quests to adventurers and then ie. update the Quest page with the results.[[Special:Contributions/91.49.240.46|91.49.240.46]] 14:05, 7 March 2026 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Holding multiple variable positions in world-gen. ==&lt;br /&gt;
&lt;br /&gt;
Well while checking something else, I did come across a human necromancer, who currently holds 4 (variable) position assignments (and which are not former position assignments). The first three positions belong to an OUTCAST group, where the human holds the CUSTOM_OUTCAST_LT position (first assignment still active) and then two different CUSTOM_OUTCAST_FACTOR (assignments). The last position is the CUSTOM_LAW_MAKER (law-giver) of a human civilization (gained afterwards). The information is via dfhack and legends of a world directly after finishing world-gen (for the dfhack info a new game was started in the world and either before selecting the type of the game dfhack was used for analyzing the current game data or after selecting legends mode and analyzing the current game data with dfhack in addition to using the legends). In how far the necromancer is fullfilling all assignments is - of course - a totally different matter. An indepth analysis, how seldom/rare it is and which entities and position assignments are possible, will be done at a later date (possibly end of this month).[[Special:Contributions/91.49.243.26|91.49.243.26]] 11:52, 14 March 2026 (UT&lt;br /&gt;
----&lt;br /&gt;
Hello nameless one, love your work so far! Very impressive. &lt;br /&gt;
About CUSTOM_OUTCAST_LT being only a single one, there is another possible reason discussed in the forums. Search for 'army' and 'lieutentant'. It is, that there is (almost) never a reason to create more than one army commander, despite the civ being able to do so.&lt;br /&gt;
[[User:Joostheger|Joostheger]] ([[User talk:Joostheger|talk]]) 13:23, 15 March 2026 (UTC)&lt;br /&gt;
----&lt;br /&gt;
The squad size of the CUSTOM_OUTCAST_LT is zero (unless you do doubt the table entry), ie. in contrast to the usual army commanders. So the reason for no more than one CUSTOM_OUTCAST_LT has nothing to do, with being an army commander. To see for yourself, just ie. set the number for the OUTPOST_LIASION to AS_NEEDED and look whether you will get an OUTPOST_LIASION created (ie. the problem has not really anything to do with being an army commander or not, but with the AS_NEEDED or unlimited number, without the game knowing what condition to check, whether to create an (or another) assignment for the position, at least if the position is not tied to a number of locations/sites or the position being a landholder, which is again tied to the number of sites of a certain kind). And the reason for one CUSTOM_OUTCAST_LT getting created, instead of zero is already in the note.[[Special:Contributions/91.49.243.26|91.49.243.26]] 12:28, 16 March 2026 (UTC)&lt;br /&gt;
&lt;br /&gt;
Addition: The only discussion I could find in the bay12 forums are from 2021 and thus concern v47 and not the current version. Besides considering that in my current game one human civ attacks itself nearly each year, shortly after their caravan returns home, in some cases with the attacker only a yak bull or yak cow (otherwise usually a single human), I do not think that any previous info about creation of army commanders is relevant, as yak bulls (and yak cows) are doing just fine as army commanders (of their one-yak-army). Or to put it in other words army commanders are currently created on the fly (otherwise in a world I did analyze there would be no way that a necromancer, with a tower, even if the necromancer would draft all position holders and itself as an army commander, could attack 20-30 different sites all at the start of a season of the same year; this btw. happened at least twice in the span of the 250 years of history in world-gen allthough with different necromancers).&lt;br /&gt;
ps. If you are wondering the yak bulls/cows and the humans are previous traders, who visited my fortress.[[Special:Contributions/91.49.243.26|91.49.243.26]] 17:02, 16 March 2026 (UTC)&lt;br /&gt;
----&lt;br /&gt;
Here are the posts I was referring to. Do with it what you want.&lt;br /&gt;
* https://www.bay12forums.com/smf/index.php?topic=175437.msg8331668#msg8331668&lt;br /&gt;
* https://www.bay12forums.com/smf/index.php?topic=165213.msg8335682#msg8335682&lt;br /&gt;
&lt;br /&gt;
It surprises me that CUSTOM_OUTCAST_LT has a squad of 0, despite its obvious responsibilities. Since this game is far from finished, my guess is that this is just an oversight. I would be cautious in drawing conclusions, because a lot of what you're working with is outdated, and hasn't been seen by the developers for years.&lt;br /&gt;
another tip: in de old dev-diaries are hidden gems of information. See for example https://www.bay12games.com/dwarves/dev_2011.html and look for 'outcast'. &lt;br /&gt;
[[User:Joostheger|Joostheger]] ([[User talk:Joostheger|talk]]) 09:56, 17 March 2026 (UTC)&lt;/div&gt;</summary>
		<author><name>Joostheger</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=Talk:Variable_positions&amp;diff=315514</id>
		<title>Talk:Variable positions</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=Talk:Variable_positions&amp;diff=315514"/>
		<updated>2026-03-15T13:23:20Z</updated>

		<summary type="html">&lt;p&gt;Joostheger: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;----Hi! nice work so far!&lt;br /&gt;
A few points:&lt;br /&gt;
* I really wonder where the differences between human and goblins are coming from. Do you have any idea? I almost know for sure that the difference in MARKET-positions is because of humans have the CITY- type in DEFAULT_SITE_TYPE. But the others, I dont know. perhaps because of their values or ethics?&lt;br /&gt;
* There is a lot of vague language in this article ('Some religious entities(...)', which ones?), but also to much certainty, at places :-) . I would suggest to make it more tight. ChatGPT or another text AI can be of good use there, to remove any ambiguity&lt;br /&gt;
* The number of -1 is very strange to me, because this is an invalid value when writing raws for entities. Do you have any idea what the circumstances are for these positions? I see for example with the priests. Can it be that PRIEST is REPLACED_BY HIGH_PRIEST and also by highest priest? In that case, number -1 means: &amp;quot;currently replaced&amp;quot;. It should not have a current holder. For example, can you check a site with a mayor, does the expedition leader has -1? in that case, its caused by replacement. &lt;br /&gt;
* Landholders are a strange bunch, I'm curious if you find out anything about those!&lt;br /&gt;
[[User:Joostheger|Joostheger]] ([[User talk:Joostheger|talk]]) 12:22, 12 February 2026 (UTC)&lt;br /&gt;
&lt;br /&gt;
Thank you.&lt;br /&gt;
* Not sure. The thing is even if the goblins do overtake another site, no market officials will be created. So it is more likely an ethics or values thing. The same for the reduced number of different officials.&lt;br /&gt;
* Well no. And the thing about &amp;quot;Some religious entities&amp;quot; in that case is, that some religious entities do not have any positions (eg. due to no variable position being created during world gen for these religious entities), but all of these entities (with no positions) will probably not create an abbot (CUSTOM_LAW_MAKER), but priest and so on (if the world-gen could/would be restarted). But without checking all religious entities without positions in detail, it might be that in some cases an religious entity (which could create an abbot) does not have a position at the end of world gen. So while there is from one perspective some ambiguity, from another perspective it is very precise.&lt;br /&gt;
* The number -1 means that it is unlimited, meaning for that position an unlimited amount of assignments can be created.&lt;br /&gt;
* No there is no replacement between the priest. Look at the responsibilities for priest and the others. Also the highest priest is capped at one (ie. like the pope), while their is an unlimited number of high priests possible (like cardinals or bishops).&lt;br /&gt;
* So far all entries in the variable position were empty. So it seems that neither humans nor goblins are landholders. And I still need a little bit more familiarity with Lua, for a few more complicated scripts (which also correctly query the different abstract building types).&lt;br /&gt;
&lt;br /&gt;
In general some info is still missing. And also I am in a few cases not sure yet, what exactly is the case, so some ambiguity might also stem from that. Only at the last step I will try to remove (unneccessary) ambiguity.&lt;br /&gt;
&lt;br /&gt;
ps. At some point the commented out text passages should be removed (deleted), but if I would try to do it, it will be detected as possibly harmful and not be allowed.[[Special:Contributions/91.49.240.46|91.49.240.46]] 13:15, 12 February 2026 (UTC)&lt;br /&gt;
----&lt;br /&gt;
* Ok ill help you remove the commented lines, but you really should create an account :-)&lt;br /&gt;
* The number unlimited is written in the raws as AS_NEEDED. is that correct? If you, i'll suggest to replace the -1 with AS_NEEDED, to make that consistent with other positions and understandability&lt;br /&gt;
* I dont think you'll find any other landholders by the way. I think it isnt in variable positions to have that. Landholders arent also neccesary to let the game run and simulate an interesint world, while these variable positions are.&lt;br /&gt;
[[User:Joostheger|Joostheger]] ([[User talk:Joostheger|talk]]) 14:52, 12 February 2026 (UTC)&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
* Well I might eventually create an account, iff no email address (etc.) needs to be provided.&lt;br /&gt;
* The translation of data into understandable form is not a priority, but -1 will be changed eventually (or a note added).&lt;br /&gt;
&lt;br /&gt;
ps. I will probably not edit anything in the next few hours on the article, so now or maybe tommorrow might be a good idea to remove the lines currently commented out.[[Special:Contributions/91.49.240.46|91.49.240.46]] 15:21, 12 February 2026 (UTC)&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
Most of the &amp;quot;easy&amp;quot; work has been done. Next steps would be (not necessarily in the stated order):&lt;br /&gt;
1. replacing/removing the technical flags.&lt;br /&gt;
2. further research on what the concret requirements for the creation of different official and market official positions on site level is.&lt;br /&gt;
3. Figureing out the reason why goblins so far only create variable positions on site level, when the leader was a custom bandit leader (ie. at least in case of the forced admin it should be possible).&lt;br /&gt;
4. Figureing out why the goblins only create a subset of all possible variable official positions (both on site and civ level).&lt;br /&gt;
5. Researching why the goblins do not create custom market officials.&lt;br /&gt;
6. Figureing out why in some cases the dwarves use the generic forced admin and not the forced admin from the dwarven raws.&lt;br /&gt;
7. Removing any ambiguity (if possible) from the page and improve understandability. For that I suggest that with pointing to the unclear part a discussion entry is made, so that I am made aware of it and can then clear it up.&lt;br /&gt;
8. Improve formatting and table presentation: ie. possibly move some info to other tables to reduce table width (of the existing table). Or use smaller fonts (scaling) for some table entries. etc.&lt;br /&gt;
9. Figureing out (and testing) which other values in the tags [variable_positions] (and variable_site_positions) are valid. I do not think that it is only [variable_positions:all]. (This won't be done by me).&lt;br /&gt;
10. Add section(s) for modifing the game data, so that in an existing world a few more variable positions are created (and filled with historical figures). So that the variable positions then function as if the variable positions had already been created (and filled) during world gen.&lt;br /&gt;
&lt;br /&gt;
I am probably missing a few things. But that is all for now, from my part. Further edits (by me) to the variable positions page will not be done before next week.[[Special:Contributions/91.49.240.46|91.49.240.46]] 17:32, 13 February 2026 (UTC)&lt;br /&gt;
----&lt;br /&gt;
a few thoughs on your questions:&lt;br /&gt;
3: I quess that the most important factors are their DEFAULT_SITE_TYPE and their values. 4: same. See: [[https://www.bay12forums.com/smf/index.php?topic=110027.msg8610297#msg8610297]]. 5: Because there are no markets in the dark fortress. 6: I think that the entity MOUNTAINS (dwarves) always uses the raw-forced administrator. I think that what you have seen, are probably not entity type 1, but maybe like outcasts or villains or whatever.  9: I can see what i can do [[User:Joostheger|Joostheger]] ([[User talk:Joostheger|talk]]) 21:10, 17 February 2026 (UTC)&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
Well the dwarves are (probably) supposed to only use the forced&lt;br /&gt;
administrator as defined in the raws, but they are not.&lt;br /&gt;
&lt;br /&gt;
In one case the site ruled by the forced administrator was originally&lt;br /&gt;
a human site, which was then taken over by a (dwarven) necromancer.&lt;br /&gt;
Afterwards a dwarven civ defeated the necromancer forces and formed a new government with a forced administrator (with precedence 100).&lt;br /&gt;
And the government still rules at the end of world gen.&lt;br /&gt;
&lt;br /&gt;
The other was originally a dwarven site (hillock). &lt;br /&gt;
It was then taken over by a necromancer (again dwarven).&lt;br /&gt;
The dwarves (original owners) then took the site back and put&lt;br /&gt;
a forced administrator in place (again with precedence 100). But the&lt;br /&gt;
site did change its owner again afterwards.&lt;br /&gt;
&lt;br /&gt;
To 3.: The goblins can take over other sites, so that is unlikely the cause. And would also not explain why the goblins with a custom bandit leader do create some officials, but the forced admin does not. (It is a totally different question, why the normal goblin site leaders do not create any officials.)&lt;br /&gt;
&lt;br /&gt;
To 4.: Well for one thing the ethics (and not the values) might play a role (ie. most things being a &amp;quot;personal matter&amp;quot;). For some other things (chef, grain official) it is probably either that the goblins do neither drink nor eat or it is (indirectly) because of that as they might not have some labors/jobs (see [[https://dwarffortressbugtracker.com/view.php?id=11727]]). The later is probably also the reason, why they do not have doctors. The values on the other hand will probably play a role, whether the custom law maker is a diplomat (or has the military strategy responsibility).&lt;br /&gt;
&lt;br /&gt;
To 5.: Again the goblins can take over other sites, so unless they always destroy the markets, when they occupy such a site, this cannot be the reason. But needs to be something else.&lt;br /&gt;
&lt;br /&gt;
To. 9: The question is, whether the definitions allows multiple variable_position tags (resp. site variable position tags) or if only one is evaluated (and used). Furthermore the question is, whether only ALL and the name of a responsibility (like MANAGE_WORK_ORDERS) is allowed or if the name of the custom officials (as used as code) is also valid. And then a follow-up question would be, if ie. MILITARY_STRATEGY is written as entry, whether this will always create the CUSTOM_MILITARY_STRATEGY. And what about the cases, when an official has usually two responsibilities (like the &amp;quot;chef&amp;quot;), will that official be created with only one resp., if only one is given. Do both responsibilities need to be written (ie. with a comma as separator) in one tag. But that are all modding related questions (and not questions for modifying an existing world).&lt;br /&gt;
&lt;br /&gt;
BTW: In many cases, when I looked into the history, a forced administrator was created usually after a site had been taken over by a necromancer (some time before). But I have not figured out yet, how I can easily check (from the entity definition), which group belongs to a necromancer and which not.[[Special:Contributions/91.49.240.46|91.49.240.46]] 16:44, 18 February 2026 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Variable Positions and Quests ==&lt;br /&gt;
&lt;br /&gt;
Quiet a few variable positions do have the same flags set as ie. the CUSTOM_BANDIT_LEADER (who is according to the Quest page) able to give out quests to adventurers, allthough some of the variable positions do not have any squads (which again according to the Quest page is necessary to be able to give out quests), but then again the question is, whether that information on the Quest page (which seems to have been more or less only been migrated from an older version to the current v5x version) is current (or has even been correct for the older version). It is probably a good idea if someone tests out in the adventure mode, if ie. the guild leader (dean/doyen), merchant corporation leader (and representative) and other variable positions (who are mentioned on this page to have the quest_giver and/or kill_quest flag set) are able to give out quests to adventurers and then ie. update the Quest page with the results.[[Special:Contributions/91.49.240.46|91.49.240.46]] 14:05, 7 March 2026 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Holding multiple variable positions in world-gen. ==&lt;br /&gt;
&lt;br /&gt;
Well while checking something else, I did come across a human necromancer, who currently holds 4 (variable) position assignments (and which are not former position assignments). The first three positions belong to an OUTCAST group, where the human holds the CUSTOM_OUTCAST_LT position (first assignment still active) and then two different CUSTOM_OUTCAST_FACTOR (assignments). The last position is the CUSTOM_LAW_MAKER (law-giver) of a human civilization (gained afterwards). The information is via dfhack and legends of a world directly after finishing world-gen (for the dfhack info a new game was started in the world and either before selecting the type of the game dfhack was used for analyzing the current game data or after selecting legends mode and analyzing the current game data with dfhack in addition to using the legends). In how far the necromancer is fullfilling all assignments is - of course - a totally different matter. An indepth analysis, how seldom/rare it is and which entities and position assignments are possible, will be done at a later date (possibly end of this month).[[Special:Contributions/91.49.243.26|91.49.243.26]] 11:52, 14 March 2026 (UT&lt;br /&gt;
----&lt;br /&gt;
Hello nameless one, love your work so far! Very impressive. &lt;br /&gt;
About CUSTOM_OUTCAST_LT being only a single one, there is another possible reason discussed in the forums. Search for 'army' and 'lieutentant'. It is, that there is (almost) never a reason to create more than one army commander, despite the civ being able to do so.&lt;br /&gt;
[[User:Joostheger|Joostheger]] ([[User talk:Joostheger|talk]]) 13:23, 15 March 2026 (UTC)&lt;/div&gt;</summary>
		<author><name>Joostheger</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=Advanced_entity_position_mechanics&amp;diff=315489</id>
		<title>Advanced entity position mechanics</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=Advanced_entity_position_mechanics&amp;diff=315489"/>
		<updated>2026-03-12T11:57:27Z</updated>

		<summary type="html">&lt;p&gt;Joostheger: /* Civ-level nobles living at your site */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Quality|Fine}}&lt;br /&gt;
{{Modding}}&lt;br /&gt;
&lt;br /&gt;
= Introduction = &lt;br /&gt;
&lt;br /&gt;
[http://www.bay12forums.com/smf/index.php?topic=182239.0 Discussion thread on the forum]&lt;br /&gt;
&lt;br /&gt;
This page documents observed and tested behavior of entity positions in Dwarf Fortress that is not fully described elsewhere on the wiki. It focuses on advanced interactions between position tokens, including appointment, succession, election, and responsibility handling, across both civilization-level and site-level entities.&lt;br /&gt;
&lt;br /&gt;
The mechanics described here are based on empirical testing in world generation and fortress mode, supplemented where necessary by raw analysis. In several cases, the game’s behavior is determined by evaluation order and interaction between multiple tags, rather than by individual tokens in isolation.&lt;br /&gt;
&lt;br /&gt;
This page is intended for modders and advanced players who are designing or debugging custom entity position structures. It does not restate basic position mechanics, but instead highlights edge cases, non-obvious interactions, and behaviors that may appear inconsistent or undocumented.&lt;br /&gt;
&lt;br /&gt;
Unless stated otherwise, the described behavior applies to current versions of the game and may differ from older releases.&lt;br /&gt;
&lt;br /&gt;
==What is an entity? What is a position?==&lt;br /&gt;
An [[entity]] is an organizational structure that can have relationships with other entities, usually known as a [[civilization]] or a &amp;quot;[[site]] government&amp;quot; in the game, but merchant [[guild]]s, religious organizations, necromancer towers, and [[bandit]] groups are also entities. An entity can have positions - in most cases, these are hardcoded and generated by the game, but as for civilizations and sites, the [[raw file]]s can be customised.&lt;br /&gt;
&lt;br /&gt;
A position is a special relationship between a unit and an entity. The unit holding a position has a larger influence over that entity than other citizens. Positions are mostly known as [[nobles]], but in this article. the technical term is used.&lt;br /&gt;
&lt;br /&gt;
=Position levels (Site/Civ) and their interaction=&lt;br /&gt;
There are two basic types of positions that are customizable: '''civ(ilization)''' level and '''site level'''. Positions with the tag [SITE] are at site level, positions without the tag [SITE] are at 'civ level'. These two types of nobles can be considered '''loosely related systems'''. There are a few places where they can interact with each other.&lt;br /&gt;
&lt;br /&gt;
Civ-level positions are in charge of the civilization as a whole, managing national [[trade]], laws, and [[war]]s. These are, for example, the vanilla [[monarch]], [[diplomat]] and [[general]]. (Note that the general doesn't do anything in either mode in the current version.)&lt;br /&gt;
&lt;br /&gt;
'''[LAND_HOLDER]''' nobles are also positions at civ-level. These units are members of the national government, but have gained authority over some land or site. Once they do, they move to that place, but their position is still regarded as a civ-level position.&lt;br /&gt;
&lt;br /&gt;
Site-level position holders are members of a site government (subsidiary to the civilization), and manage local affairs in that location. These are, for example, the [[mayor]], the [[sheriff]] and the [[broker]].&lt;br /&gt;
&lt;br /&gt;
==Table of interaction between different position levels==&lt;br /&gt;
In this table, the possible interactions between different position levels are summarized. &lt;br /&gt;
The header row shows the positions defining the tokens.&lt;br /&gt;
&lt;br /&gt;
The left column shows the position type that is referred to.&lt;br /&gt;
Example:  &lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! referred position-type&lt;br /&gt;
! LAND_HOLDER&lt;br /&gt;
|-&lt;br /&gt;
| civilization&lt;br /&gt;
|  &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;(baron is) APPOINTED_BY:MONARCH&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
color coding: &amp;lt;/br&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;Exists in vanilla&amp;lt;/span&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;Possible with mods&amp;lt;/span&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;Not possible&amp;lt;/span&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;possible to some extent.&amp;lt;/span&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;not yet fully investigated.&amp;lt;/span&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! referred position-type&lt;br /&gt;
! Civilization&lt;br /&gt;
! SITE&lt;br /&gt;
! LAND_HOLDER&lt;br /&gt;
! CONQUERED_SITE&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Civilization&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;SUCCESSION '''(1)'''&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| SITE&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;SUCCESSION '''(2)'''&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;APPOINTED_BY '''(3)'''&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;SUCCESSION '''(4)'''&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| LAND_HOLDER&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY '''(6)'''&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;SUCCESSION '''(5)'''&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;REPLACED_BY '''(7)'''&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;SUCCESSION '''(8)'''&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;CONQUERED_SITE&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; COMMANDER &amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; REPLACED_BY &amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt; SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; COMMANDER &amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; REPLACED_BY &amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt; SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; COMMANDER &amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; REPLACED_BY &amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; COMMANDER &amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; REPLACED_BY &amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Remarks:&lt;br /&gt;
# Works only in world-gen, if a unit with that civ-position is present at the site.&lt;br /&gt;
# Works only in world-gen, the site-position holding unit will then move to the capital.&lt;br /&gt;
# Is completely ignored&lt;br /&gt;
# Works only in world-gen.&lt;br /&gt;
# Works only in world-gen.&lt;br /&gt;
# Won't appear at all&lt;br /&gt;
# This is necessary for the landholder chain to work properly, it doesn’t work otherwise.&lt;br /&gt;
# This works only outside of the landholder chain, so when landholders are simply regarded as civ-level nobles. might also work in world-gen&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
== Other interactions ==&lt;br /&gt;
&lt;br /&gt;
Unfortunately, interactions with positions of other entities don't seem possible, such as APPOINTED_BY: HIGH_PRIEST. With [VARIABLE_POSITIONS], positions are automatically created with codes like CUSTOM_LAW_MAKER_2, but interaction with these positions don't seem to work, either. For more info on those, see [[Variable positions]]&lt;br /&gt;
&lt;br /&gt;
=General=&lt;br /&gt;
&lt;br /&gt;
==Civ-level nobles living at your site==&lt;br /&gt;
Nobles from your civilization can come to live at your fortress. This happens in vanilla with landholders such as [[Baron]], [[Count]] and [[Duke]], with the Monarch, but sometimes also with non-landed LAND_HOLDERS.&lt;br /&gt;
&lt;br /&gt;
When a civ-level noble becomes a [[citizen]] at your location, their position is shown among the site-level positions in your [[nobles screen]]. They appear to function as a site-level noble. They may have [[demand]]s, [[mandate]]s, [[squad]]s and the like. They can appoint nobles at the site-level.&lt;br /&gt;
&lt;br /&gt;
Even if they have certain site related [RESPONSIBILITY]ies, they will not do the tasks that go with them.&lt;br /&gt;
&lt;br /&gt;
==Fortress mode, world-gen and their differences==&lt;br /&gt;
Their are a few differences in how positions function between fortress mode (normal play mode) and the world generation (world-gen). &lt;br /&gt;
&lt;br /&gt;
In '''fortress mode''', the player has some control over the appointment of nobles, limited by elections, automatic filled-in positions and succession rules. Pre-fortress mode, which is referred to as '''world-gen''', the game will always attempt to assign nobles whenever possible. It is subjected to the same rules as in fortress-mode, but there are some exceptions. In '''[[World activities]]''', which is the thing that happens in the world while you play fortress mode, it seems as if the same rules are applied as fortress mode. &lt;br /&gt;
&lt;br /&gt;
A difference between player-fortress-mode and world-gen, is causes by visibility (see below). Positions that are not visible by the player and thus not available for assignment, will be available in world-gen and will thus be automatically assigned.&lt;br /&gt;
&lt;br /&gt;
In fortress mode, a position that is both [ELECTED] and [APPOINTED_BY], cannot be appointed by the player and is also not elected, and can thus not be filled. But in world-gen sites however, these positions are automatically filled.&lt;br /&gt;
&lt;br /&gt;
Positions with [AS_NEEDED] are almost never created and filled in world-gen (depending on their [RESPONSIBILITY]ies), but can always be used in player mode.&lt;br /&gt;
&lt;br /&gt;
A position can, in fortress mode, be filled by the same unit. A unit can gain multiple positions in fortress mode, for example because of [[elections]]. This will not happen in world-gen mode: a unit can only have one position. See also remarks on 'embark' and 'Losing a position'.&lt;br /&gt;
&lt;br /&gt;
In world-gen, [SUCCESSION] between civ-levels and [SITE-]levels may happen. This will not happen in fortress mode, or even off-site in [[World activities]].&lt;br /&gt;
&lt;br /&gt;
In fortress mode, premature SUCCESSION may happen. This will not happen in world-gen mode.&lt;br /&gt;
&lt;br /&gt;
==Units holding multiple positions in multiple entities==&lt;br /&gt;
A unit can hold multiple positions in its civilisation or in its site-entity, however this does not happen in world-gen. Only at player-managed sites can units be holding multiple positions at once. (It is probably not possible for a unit to hold a position in two different civilisations or two different sites.)&lt;br /&gt;
&lt;br /&gt;
In world-gen, if there are too many positions to be filled, they simply stay empty until more units are available. E.G, a unit at a site might inherit a civ-level position and still remain a member of the local government. When this happens however, they move to the capital. If a unit gains a new position, either inherited or otherwise, it drops the previous one. If a unit assumes a civ-position in fortress mode, it leaves the current position. &lt;br /&gt;
&lt;br /&gt;
If a unit holds the same (site-)position multiple times, it has no additional effect.&lt;br /&gt;
&lt;br /&gt;
If a unit holds multiple different positions of the same entity, it has all those positions' responsibilities and properties, stacked up. Presumably, the demands for those combined positions are determined by the highest.&lt;br /&gt;
 &lt;br /&gt;
A unit holding a position with a succession token can be assigned another position with a (different) succession token. &lt;br /&gt;
&lt;br /&gt;
A unit holding a position with a squad-position cannot hold another squad-position. It is dropped from the first, when it gets its second assigned. &lt;br /&gt;
A unit holding a position with a succession token cannot be assigned to a squad-position - the unit is simply not available. It works the other way around, though.&lt;br /&gt;
&lt;br /&gt;
=Specific Tags and functions=&lt;br /&gt;
==[PRECEDENCE]==&lt;br /&gt;
The first defined position with precedence of 1 counts as the ruler of the civ. See also: [[Position_token#PRECEDENCE|PRECEDENCE]]. &lt;br /&gt;
&lt;br /&gt;
If the precedence is omitted or has a negative value, the game sets 0 as precedence, which seems to have no effect whatsoever.&lt;br /&gt;
&lt;br /&gt;
When a unit has multiple positions, the name of the position with the highest rank in precedence is shown behind the unit's name.&lt;br /&gt;
&lt;br /&gt;
If you omit precedence entirely, or set it to [PRECEDENCE:NONE], the position name will not be shown after the unit’s name. Your *Urist Mason* will remain simply *Mason*. This can be useful for positions that are unimportant or purely functional. The position will also not appear in the civilisation overview of your site on the world map. The position name is shown in messages, but remains hidden on the nobles screen as well. To make it visible there, use [LAND_NAME].&lt;br /&gt;
&lt;br /&gt;
==[RESPONSIBILITY]ies==&lt;br /&gt;
Both civ and [SITE] positions can carry responsibilities. However, not all responsibilities are active for both types: some function only for civ positions, others only for site positions. When a civ noble arrives at a site and takes up residence, they do not perform responsibilities that are intended for SITE nobles. As a result, these responsibilities neither trigger their associated tasks nor unlock related game mechanics. For example, a civ-level manager living in a fortress will not perform management duties there and doesn't unlock the management-screen, even with an assigned office. &lt;br /&gt;
This behavior applies to the following [SITE]-level responsibilities:&lt;br /&gt;
* [RESPONSIBILITY:ACCOUNTING]&lt;br /&gt;
* [RESPONSIBILITY:BUILD_MORALE]&lt;br /&gt;
* [RESPONSIBILITY:HEALTH_MANAGEMENT]&lt;br /&gt;
* [RESPONSIBILITY:LAW_ENFORCEMENT]&lt;br /&gt;
* [RESPONSIBILITY:MANAGE_PRODUCTION]&lt;br /&gt;
* [RESPONSIBILITY:MEET_WORKERS]&lt;br /&gt;
* [RESPONSIBILITY:TRADE]  (functions differently)&lt;br /&gt;
Other responsibilities may be affected as well, but have not yet been fully tested.&lt;br /&gt;
&lt;br /&gt;
===World-gen effects of the [RESPONSIBILITY] of available positions ===&lt;br /&gt;
It is possible to cause civs and individual sites to change their behavior substantially when they reach a certain size, by controlling nobles. &lt;br /&gt;
* If a site can only appoint a position with [MILITARY_GOALS] after reaching a particular size, that site will not send armies on missions until the required size is reached.&lt;br /&gt;
* A civ-level [LAW_MAKING] position is required for the civilization to have any kind of cohesion. Without it, sites will be constantly embroiled in territorial disputes and civil wars will be commonplace.&lt;br /&gt;
* [MILITARY_STRATEGY] positions go out and tame wild animals. This makes your civ gain those animals as domesticated and also brings them in sieges.&lt;br /&gt;
* The [[Personality_facet|Personality]] of the position's holder determines how they lead the civ.&lt;br /&gt;
&lt;br /&gt;
===[DELIVERS_MESSAGES]===&lt;br /&gt;
The only [AS_NEEDED]-position that is created in worldgen based on responsibility is that of the site-level responsibility [DELIVERS_MESSAGES].&lt;br /&gt;
&lt;br /&gt;
===Outpost Liaisons and Diplomats===&lt;br /&gt;
Civ-positions with the responsibility [ESTABLISH_COLONY_TRADE_AGREEMENTS] ([[Outpost_Liaison|Outpost Liaison]]s) will meet with the site-noble who has responsibility for [RECEIVE_DIPLOMATS] and the highest rank of precedence (i.e. the lowest precedence value). Usually this is the [[Expedition_leader|Expedition leader]].&lt;br /&gt;
&lt;br /&gt;
Once a [LAND_HOLDER] is assigned to the site, civ-positions with the responsibility [MAKE_TOPIC_AGREEMENTS] ([[Diplomat]]s) will meet with '''civ'''-level nobles present at the site who have the [RECEIVE_DIPLOMATS] responsibility. If multiple eligible nobles are available, one is selected at random. If no eligible noble is present, the diplomat leaves angrily. If the landholder is no longer present at the site, diplomats will not arrive at all.&lt;br /&gt;
&lt;br /&gt;
It appears that Outpost Liaisons and Diplomats are chosen for a diplomatic mission based on availability. When multiple candidates exist, the position defined last in the raws is most often selected.&lt;br /&gt;
&lt;br /&gt;
===[TRADE]===&lt;br /&gt;
Civ-level nobles with [TRADE] will arrive with the caravan, just as the Outpost Liaison. Their behavior is no longer active in the vanilla game, but the mechanics are still present. See [[40d:Guild_representative|Guild representative]] for more details. This civ-noble will only meet with the SITE noble with [TRADE], usually the [[Broker]].&lt;br /&gt;
&lt;br /&gt;
If two civ-nobles exist with both [TRADE] and [ESTABLISH_COLONY_TRADE_AGREEMENTS], they both arrive at the same time. Even if both tokens are assigned to a single position, if more than one instance of that position exists, two of them will arrive. However in that case, somehow the elevation of the site and appointment of landholder isn't offered.&lt;br /&gt;
&lt;br /&gt;
If the SITE-noble they intend to meet has both [TRADE] and [RECEIVE_DIPLOMATS], only one meeting will proceed and the other is cancelled. However, when two SITE-nobles are available, each with either [TRADE] or [RECEIVE_DIPLOMATS], both meetings will proceed and both civ-nobles will attempt to negotiate a trade agreement. It is not known what happens if these agreements are accepted or refused.&lt;br /&gt;
&lt;br /&gt;
In the trade depot, the last defined position with the [TRADE] responsibility is shown as broker. However when requesting a trader, the first defined position with [TRADE] will actually go there to do the trade.&lt;br /&gt;
&lt;br /&gt;
==[NUMBER]==&lt;br /&gt;
A position might be defined with a number. In that case, as many as defined can be available. If the positions become available, in world-gen and when embarking, they are all filled-in completely.&lt;br /&gt;
&lt;br /&gt;
If the ruling position (with PRECEDENCE of 1) has a NUMBER higher than 1, a random unit of the ones holding these positions is shown as ruler in the embark screen.&lt;br /&gt;
&lt;br /&gt;
A [NUMBER] of 0 (zero) has the same effect as 1.&lt;br /&gt;
&lt;br /&gt;
===Automatic spreading of assumed, non-singular positions===&lt;br /&gt;
If there are civ positions that have a NUMBER higher then '1' and which are assumed (not APPOINTED_BY or ELECTED) but are '''not DUTY_BOUND''', these are automatically spread among the civilisation, based on population. If there are a number of '''20''' available slots of that position, they spread among a civilization with a combined population of, for example, 1000 of which your fortress has 100 (10%), '''2''' of your fortress' citizens will assume that position. &lt;br /&gt;
This may probably also work with elected and appointed positions, but that may be depending on the death of the current holders and this needs more testing. Assumption works within a day, anyway. &lt;br /&gt;
&lt;br /&gt;
===[AS_NEEDED]===&lt;br /&gt;
These positions can be created automatically by the game in world-gen. This, however, only works with: &lt;br /&gt;
* [LAND_HOLDER]'s&lt;br /&gt;
* squad commanders (needs more testing)&lt;br /&gt;
* Messengers at sites&lt;br /&gt;
&lt;br /&gt;
For all other types of positions, they're not created in world-gen, even if they are defined with RESPONSIBILITY's. For example, even in war, the game wouldn't create a MILITARY_GOALS position, if they have AS_NEEDED as number. &lt;br /&gt;
&lt;br /&gt;
However, in fortress mode / player mode, these positions can be created by the player at will.&lt;br /&gt;
&lt;br /&gt;
Positions with AS_NEEDED need to be created first, before any symbols are assignable as 'symbols' (objects) for the position holder to carry or wear.&lt;br /&gt;
&lt;br /&gt;
Positions with AS_NEEDED cannot be created and then ELECTED in fortress mode. It only works with APPOINTED_BY.&lt;br /&gt;
&lt;br /&gt;
==[REPLACED_BY], [REQUIRES_POPULATION], [REQUIRES_MARKET]==&lt;br /&gt;
&lt;br /&gt;
The token [REPLACED_BY:position] means that once the replacing position meets its requirements for activation, the 'to-be-replaced' position will disappear. This is defined in [REQUIRES_POPULATION] or [REQUIRES_MARKET]. The tags are closely related to each other and seem to only have a meaningful function if combined. Nobles with [REQUIRES_POPULATION] require the population to have a specific size. Nobles with [REQUIRES_MARKET] are only activated in market sites, such as fortresses or towns. [REQUIRES_POPULATION] and [REQUIRES_MARKET] can be combined, activating that position once both requirements are met. &lt;br /&gt;
&lt;br /&gt;
The [REQUIRES_MARKET] can be used to differentiate positions between hamlets and hillocks, and larger sites. IThe market always is build the year after the site is founded. So a position that is to be replaced, will be gone immediately.  &lt;br /&gt;
&lt;br /&gt;
The [REQUIRES_POPULATION]-tag works on the civ-level as well as on site-level, but those systems are in this mechanic strictly separated. Site-level positions cannot be replaced by civ-level positions and visa versa. This makes sense, because they both depend on their own population-count. When using REQUIRES_POPULATION on civ-level, it counts the total population of the civilisation. &lt;br /&gt;
&lt;br /&gt;
See also: [[Advanced_entity_position_mechanics#Evaluation_of_Positions|Evaluation of positions]]&lt;br /&gt;
&lt;br /&gt;
===Effect of replacement (and on [LAND_HOLDER]s)===&lt;br /&gt;
&lt;br /&gt;
Replacement is immediate and complete - the current holding unit loses the position, even before SUCCESSION_BY_POSITION rules are applied. A position with a number of 1 will replace all the slots of a position with a higher number of slots. &lt;br /&gt;
&lt;br /&gt;
Even if the next position is available but not visible, replacement still takes place. If a position is replaced, it is completely gone - it cannot be appointed, succeeded, elected or assumed any longer.&lt;br /&gt;
The unit immediately loses its position.&lt;br /&gt;
&lt;br /&gt;
In legends, replacement is mentioned as: &amp;quot;(unit name) ceased to be (position name)&amp;quot; The replacement of an AS_NEEDED position empties the position's slot forever. In fortress mode, it may seem as if you can create new slots and appoint new units in the nobles screen, but this is reversed as soon as you close the window.&lt;br /&gt;
&lt;br /&gt;
The landholder chain uses [REPLACED_BY] differently. It does not clear the position completely, but uses it for succession to the next level's position. [REPLACE_BY] is required to let that system work properly. This also means that the way in which landholders succeed (replace + as_needed) does not work in any other way. &lt;br /&gt;
&lt;br /&gt;
Replacement between LAND_HOLDERS and other site- or civ positions does not work in any way. Only the vanilla replacement sequence between levels of LAND_HOLDERs does work. If the token is omitted for landholders, the landholder chain is broken, so replacement is required for the landholder system to work.&lt;br /&gt;
&lt;br /&gt;
[REQUIRES_POPULATION] also does not work for [LAND_HOLDER], when you set [NUMBER] to 1. The position is not created when the required population is reached.&lt;br /&gt;
&lt;br /&gt;
===What doesn't work===&lt;br /&gt;
&lt;br /&gt;
'''Attention: If a position cannot be appointed, for example because of 'mutual appointment', it still exists according to replacement mechanics and will replace other positions if so defined. If a certain position(a) will be replaced by the baron's assistant, which can only be appointed by the [LAND_HOLDER] baron, than that position(s) still will be replaced from the start of the game, even if no baron or their assistant is ever present.'''&lt;br /&gt;
&lt;br /&gt;
A position that is replaced by a somehow non-fillable position is still replaced. This counts for mutual-appointing positions, replacement by not-yet-assigned landholders, replacement by AS_NEEDED positions, or replacement by not-yet-appointed positions. &lt;br /&gt;
&lt;br /&gt;
Replacement does not work if the replaced position is a [LAND_HOLDER], even with civ-positions. In that case, the LAND_HOLDER's position is not replaced. It does not matter if AS_NEEDED is used, or a fixed number, and it also does not matter what type of position the replacer is. So this only works (correctly) with positions that become available by REQUIRES_POPULATION.&lt;br /&gt;
&lt;br /&gt;
==[CONQUERED_SITE]==&lt;br /&gt;
&lt;br /&gt;
This tag determines which position is used to assign a [[Forced administrator]].&lt;br /&gt;
&lt;br /&gt;
In legends mode, this is visible as an event describing the reconquest of the site: a new group is formed and the forced administrator is installed as its ruler.&lt;br /&gt;
&lt;br /&gt;
All positions defined with this tag are assigned during this process, meaning multiple positions can be appointed at once.&lt;br /&gt;
&lt;br /&gt;
The holder of a position marked with [CONQUERED_SITE] cannot appoint any other [SITE] positions.&lt;br /&gt;
&lt;br /&gt;
Combining [CONQUERED_SITE] with [SITE] causes the position to function both as a forced administrator and as a normal site position available in fortress mode. However, this provides no meaningful additional mechanics and is effectively inferior to using [SITE] alone:&lt;br /&gt;
* [APPOINTED_BY] lines are completely ignored, meaning that the roles are automatically assumed.&lt;br /&gt;
* [SUCCESSION] is likewise ignored.&lt;br /&gt;
* the [CONQUERED_SITE]-position cannot appoint other [CONQUERED_SITE], [SITE] or combined positions.&lt;br /&gt;
&lt;br /&gt;
There have been remarks that reclaiming a fortress is unplayable because of the lack of regular nobles. Unfortunately, it seems that it can't be fixed by modding.&lt;br /&gt;
&lt;br /&gt;
=Availability and visibility=&lt;br /&gt;
==Availability of (new) positions==&lt;br /&gt;
Warning: Do not mistake &amp;quot;availability&amp;quot; for &amp;quot;visibility&amp;quot;! &lt;br /&gt;
&lt;br /&gt;
Of all the possible positions existing in your site's entity, there may only be some available. &lt;br /&gt;
* Positions with [REQUIRES_POPULATION] require the population to have a specific size.&lt;br /&gt;
* Positions with [REQUIRES_MARKET] will only appear in &amp;quot;large&amp;quot; sites (which may have different rules for different site types). This tag has no effect in fort mode.&lt;br /&gt;
* Positions that are appointed by positions that have an AS_NEEDED number. The appointable positions only become available after an appointer position-slot is created. This works also on civ-level. If a position is appointed by a Land-holder, it only becomes available, when that level of landholder is created. &lt;br /&gt;
	&lt;br /&gt;
Only the replaced positions are culled and are no longer available. &lt;br /&gt;
A position that requires a certain population will become available, even if it doesn't have [APPOINTED_BY] or [ELECTED]. In that case, see 'automatic assignment' and 'assumption'&lt;br /&gt;
&lt;br /&gt;
In fortress mode, in some cases 'succession' is evaluated immediately after a position becomes available. See: Succession.&lt;br /&gt;
==Visibility of positions==&lt;br /&gt;
A position might be available, but can still be invisible for the player in the [[nobles screen]]. The positions with their respective holders are visible for players:&lt;br /&gt;
* All site-positions that are already filled-in (even if they could not be re-filled-in considering current conditions)&lt;br /&gt;
* Site positions that are appointable by a filled-in site position&lt;br /&gt;
* Site positions that are appointable by a filled-in civ position, when that civ positions holder becomes a citizen of your fortress.&lt;br /&gt;
* Civ positions of units that are also a citizen of your fortress.&lt;br /&gt;
If a position becomes available, for example because a certain pop number has been reached, or if it is available from the start(like expedition leader), as long as it cannot be appointed, it still is INVISIBLE for the player. &lt;br /&gt;
&lt;br /&gt;
It might strike someone as odd if a position becomes filled automatically in fortress mode when that position is not even visible. This might be the case if the current holder of a non-appointable position dies or succeeds another position. Regardless of player visibility, these positions will be automatically filled in if the necessary requisitions are met. It might happen with the expedition leader.&lt;br /&gt;
&lt;br /&gt;
A situation with a non-visible but available position, is for example when a position is solely appointed by the expedition leader, when the expedition leader's position is left vacant. It can no longer be appointed by the player and is invisible. Then, it gets automatically assumed, proving that the position still was available.&lt;br /&gt;
&lt;br /&gt;
A position that is both [APPOINTED_BY] and [ELECTED] is visible, but players cannot interact with it.&lt;br /&gt;
&lt;br /&gt;
={{text anchor|Evaluation of Positions}}=&lt;br /&gt;
The game does not continuously check whether positions should become available, elected or be [REPLACE_BY]. This is well-known behavior—for example with the [[mayor]], who does not appear automatically when the required population ([REQUIRES_POPULATION]) is reached. Instead, positions must somehow be evaluated. This applies in several other situations as well &lt;br /&gt;
&lt;br /&gt;
'''Cases that require a trigger:'''&lt;br /&gt;
* Election of a newly created position&lt;br /&gt;
* Election after the current holder dies&lt;br /&gt;
* Automatic assumption of a newly created position (this may take up to a day)&lt;br /&gt;
* New citizens (such as migrants) considering available positions&lt;br /&gt;
* Premature succession of a newly created position&lt;br /&gt;
&lt;br /&gt;
'''Cases that do not wait for a trigger:'''&lt;br /&gt;
* Succession following the death of the previous holder&lt;br /&gt;
* Automatic assumption of existing positions that have become vacant&lt;br /&gt;
&lt;br /&gt;
'''Triggers that cause the game to reevaluate noble positions:'''&lt;br /&gt;
* Succession of a [SITE]-position due to the death of the current holder&lt;br /&gt;
* [[Advanced_entity_position_mechanics#Election_Day|Election Day]]&lt;br /&gt;
* Automatic assumption of a [SITE]-position that becomes vacant&lt;br /&gt;
* (Re)assigning any site position manually&lt;br /&gt;
* Settlement elevation on the LAND_HOLDER track (e.g. gaining a [[Baron]] or [[Count]])&lt;br /&gt;
&lt;br /&gt;
=Gaining a position=&lt;br /&gt;
There are several ways a unit can gain a position:&lt;br /&gt;
* Appointment: A unit is appointed by another unit or by the player.&lt;br /&gt;
* Election: A unit is elected by and among the members of the entity&lt;br /&gt;
* Assumption: A position is neither elected or appointed: a random unit just simply 'takes' the position&lt;br /&gt;
* Succession: a unit is the valid successor of this position(A), either by its current position(B) or because they are that position(A)-holder's heir. &lt;br /&gt;
&lt;br /&gt;
Available positions will automatically be assigned to a random civ member when a new site/civ is created.&lt;br /&gt;
&lt;br /&gt;
==Who can take a position==&lt;br /&gt;
&lt;br /&gt;
* If so defined, a unit needs to be the right caste and/or class - it does not seem to work with creature types. &lt;br /&gt;
* The unit needs to be an adult member of the site or its parent civ's government; that is also CAN_LEARN or INTELLIGENT (SLOW_LEARNER cannot take positions) or otherwise is able to think.&lt;br /&gt;
&lt;br /&gt;
==Appointment==&lt;br /&gt;
&lt;br /&gt;
Positions that have an [APPOINTED_BY:position] token require that position to exist, to be available and appointed. Any position that is APPOINTED_BY can be appointed if the appointer's position is filled in. &lt;br /&gt;
For site-positions to be appointed, it is required that the appointer is present at that location.&lt;br /&gt;
&lt;br /&gt;
If the appointing unit is temporarily not present, or if that position is not filled, positions depending on it cannot be appointed. This is the case with [[militia captains]], when the [[militia commander]] is on a [[mission]]. &lt;br /&gt;
&lt;br /&gt;
A site position cannot appoint a civ position ''or'' LAND_HOLDER in any way whatsoever. &lt;br /&gt;
&lt;br /&gt;
Civ-level positions can appoint other civ-level positions and site-level positions can appoint other site-level positions.&lt;br /&gt;
&lt;br /&gt;
Contrary to what has been said elsewhere, civ-level nobles also can appoint site-level nobles. They need to be at the site to do so. Landholders can appoint both site-level and civ-level nobles. These systems are therefore not as separate as was assumed.&lt;br /&gt;
&lt;br /&gt;
'''Mutual appointment''' cannot take place. If these are the only requisites of the position, then the positions will never appear or get filled. These unfillable positions can be put to good use, for example, to replace a position that is no longer needed without creating a new one. &lt;br /&gt;
&lt;br /&gt;
'''Self appointment''' doesn't normally work. If you have a position that is only appointed by itself, it is never appointed and also cannot be assumed. However, if the position has a number higher than 1, and is filled by multiple units (for example by another position that is now empty), than those units can re-assign or appoint each other from that their shared position. &lt;br /&gt;
&lt;br /&gt;
If an APPOINTED_BY token refers to a non-existing position's code, the effects are as if the appointment token doesn't exist at all.&lt;br /&gt;
&lt;br /&gt;
===Automatic appointment in world-gen and on the civ level===&lt;br /&gt;
&lt;br /&gt;
Outside of fortress mode, the game will always attempt to appoint nobles whenever possible, as long as these positions are '''available''', even if they are invisible to the player.&lt;br /&gt;
It shows this message in legends:  &amp;quot;(unit name) has been appointed to the position of (position name)&amp;quot;&lt;br /&gt;
&lt;br /&gt;
In world-gen, all positions become available and are automatically appointed, taking population- and appointment-requirements into consideration. &lt;br /&gt;
&lt;br /&gt;
Positions that are REPLACED_BY are culled and won't be filled.&lt;br /&gt;
&lt;br /&gt;
If a citizen of your fortress holds a civ-level position that can appoint another civ-level position, the appointment will happen automatically and without player intervention. It may happen that another citizen of your fortress is appointed by that unit, creating civ-level position holders in your fortress, but it is unknown what is required to force this effect.&lt;br /&gt;
&lt;br /&gt;
===Manual appointments by players in fortress mode===&lt;br /&gt;
In fortress mode, the positions that need to be appointed stay empty on embark. and it is the player's job to appoint those. A player can appoint a unit to any available position, according to the hereabove mentioned conditions. The player takes the role of the automatic appointment-system, but has no direct control over elections, successions and replacement. There are some differences in what is possible at world-gen sites and at player-controlled sites.&lt;br /&gt;
&lt;br /&gt;
* A position that is appointed by a unit present as a fortress citizen, can be appointed, re-appointed or left vacant. This means also by civ-level nobles living as a citizen in your fortress; not when they are only visiting, like the diplomat.&lt;br /&gt;
* A position whose appointing positions are all either vacant or [REPLACED_BY] can no longer be appointed. If the position is already filled, it cannot be reappointed or vacated; the current holder simply remains in office.&lt;br /&gt;
* A position that is APPOINTED_BY a unit present as the land_holder of your site, can be appointed, reassigned or left vacant.&lt;br /&gt;
* A position that has SUCCESSION BY_HEIR or BY_POSITION can 'initially' be appointed and also re-appointed or left vacant, but as soon as the [[nobles]] screen closes, ''it can no longer be replaced or left vacant''. From then on, the succession-rules determine who gains that position when the current holder loses the position. This works even if the SUCCESSION:BY_POSITION-position is vacant or replaced.&lt;br /&gt;
* A position that is ELECTED nor APPOINTED_BY, can always be (re-)appointed by the player. This is the case with the [[Expedition leader]]. If it is left vacant however, it cannot be appointed, but will be assumed shortly after. &lt;br /&gt;
* A position that is both ELECTED and APPOINTED_BY, cannot be appointed by the player. Contrary to world-gen sites, its slot is visible, but it doesn't show the +-sign. This is either by AS_NEEDED or by a fixed number. Even if the position somehow gets filled (re)assignment is never possible&lt;br /&gt;
* A player can appoint a number of units to a position, as much as the NUMBER token dictates. If it is AS_NEEDED, the player may create as many slots as they like, also contrary to world-gen sites. &lt;br /&gt;
* A civ-position can never be appointed, even if the appointing civ noble is a citizen of your fortress. A civ position also never can be re-assigned or left vacant, would that position be defined as appointed by a site-position.&lt;br /&gt;
&lt;br /&gt;
==Election==&lt;br /&gt;
Read more in [[Elections]]. The message that is shown is: &amp;quot;(creature name) has been elected to the position of  (position name)&amp;quot;&lt;br /&gt;
&lt;br /&gt;
In worldgen, there is no functional difference between ELECTED and non-appointment, except that elected nobles tend to have high social skills and/or skills related to the position, while non-elected ones are assigned randomly. See: [[Elections]]&lt;br /&gt;
&lt;br /&gt;
A succession goes before an election. &lt;br /&gt;
&lt;br /&gt;
A position that is both ELECTED and APPOINTED_BY never gets elected. Even if the appointees' position somehow gets filled, (re)-elections won't happen. So, it doesn't seem possible to have an elected position become available when a certain other position becomes filled. &lt;br /&gt;
&lt;br /&gt;
An ELECTED civ-(or LAND_HOLDER) position at your site will never be (re)-elected in fortress mode. So real (re-)election only works with SITE-positions. &lt;br /&gt;
&lt;br /&gt;
=== {{text anchor|Election Day}} ===&lt;br /&gt;
Election Day takes place on the 17th of Summer. On this day, a full reevaluation is performed, including all currently elected positions, which are subject to re-election. Contrary to the information on [[Elections]], nothing occurs at the start of a season.&lt;br /&gt;
&lt;br /&gt;
Positions that are both [APPOINTED_BY] and [ELECTED] will not be re-elected on Election Day when assigned through [SUCCESSION].&lt;br /&gt;
&lt;br /&gt;
=== Election Eligiblity ===&lt;br /&gt;
Any citizen may stand for election. Eligibility cannot be restricted using [ACCEPTED_CREATURE], [REJECTED_CREATURE], [ACCEPTED_CLASS], [REJECTED_CLASS], or [GENDER]. Units currently having a [SUCCESSION]-position even may be elected for a position with a [SQUAD]-token, which is otherwise impossible to assign or even succeed.&lt;br /&gt;
&lt;br /&gt;
=== Skills ===&lt;br /&gt;
In elections, skills are taken into account for the tokens of the position which is elected.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Relevant skills per position token&lt;br /&gt;
|-&lt;br /&gt;
! Position Token !! Relevant skills&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#DELIVER_MESSAGES|[DELIVER_MESSAGES]]] || [[Ambusher]], [[Observer]] and [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#ACCOUNTING|[ACCOUNTING]]] || [[Record_keeper|Record keeper]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#ESPIONAGE|[ESPIONAGE]]] || [[Schemer]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#HEALTH_MANAGEMENT|[HEALTH_MANAGEMENT]]] || [[Diagnostician|Diagnostician]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#MAKE_INTRODUCTIONS|[MAKE_INTRODUCTIONS]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#MAKE_PEACE_AGREEMENTS|[MAKE_PEACE_AGREEMENTS]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#MAKE_TOPIC_AGREEMENTS|[MAKE_TOPIC_AGREEMENTS]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#MANAGE_PRODUCTION|[MANAGE_PRODUCTION]]] || [[Organizer]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#MEET_WORKERS|[MEET_WORKERS]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#RECEIVE_DIPLOMATS|[RECEIVE_DIPLOMATS]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#RELIGION|[RELIGION]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#TAME_EXOTICS|[TAME_EXOTICS]]] || [[Animal_trainer|Animal trainer]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#TRADE|[TRADE]]] || [[Social_skill|Social skills]] and [[Appraiser|Appraiser]]&lt;br /&gt;
|-&lt;br /&gt;
| [[Position_token#SQUAD|[SQUAD]]]-token || [[Tactician]] and [[Leader]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Assumption==&lt;br /&gt;
&lt;br /&gt;
A position that is not APPOINTED_BY nor ELECTED, or is appointed by positions that are not available in your site or civ, will be assumable by a random dwarf. If it has responsibilities that require certain skills, then these are taken into consideration on embark, but not when the position is assumed during the actual game. &lt;br /&gt;
&lt;br /&gt;
Normally, one to three units will take the into consideration to assume a position. Most of the time when there are multiple open positions, only a single unit will assume all of them. However, a position that has REJECTED_CREATURE, REJECTED_CLASS, ALLOWED_CREATURE or ALLOWED_CLASS will be filled with all different units, even if the creature or class mentioned is irrelevant. It seems that this forces the game to loop over all the available units.&lt;br /&gt;
&lt;br /&gt;
The message that is shown in Legends mode is: &amp;quot;(unit name) has assumed the position of (position name)&amp;quot;. This may also take place in fortress mode, which then shows this message to the player. &lt;br /&gt;
&lt;br /&gt;
If an assumable position becomes empty, it will be assumed within a day. This is the case when you leave the position of expedition-leader vacant. It also happens with entities. &lt;br /&gt;
&lt;br /&gt;
Assumable positions that become empty will not be assumed if that position has a valid [SUCCESSION] -successor. In that case, the successor inherits the position. &lt;br /&gt;
&lt;br /&gt;
Even positions that are somehow invisible because they cannot be directly APPOINTED_BY players, can be assumed. &lt;br /&gt;
&lt;br /&gt;
When you embark, the assumable positions are automatically assigned to a random unit. If there are multiple of these positions at embark, they all are assigned to the same unit. If there are enough positions available, multiple units may gain a position, but often no more than three different ones.&lt;br /&gt;
&lt;br /&gt;
If a dwarf in fortress mode assumes a position, that already has another position, it will leave the current position empty. When that position also is assumed, then this will continue until all positions have a dwarf appointed to them, with no other position.&lt;br /&gt;
&lt;br /&gt;
A unit that already has a position with a [SUCCESSION] token won't take assumable positions into consideration that have a [SQUAD] token. This can be used by the modder to prevent unwanted loss of current positions.&lt;br /&gt;
&lt;br /&gt;
A position that has an appointer which got replaced because of REPLACED_BY, will not become assumable. Also, positions that have an AS_NEEDED appointer that is not yet filled (or ever), will also not be assumed.&lt;br /&gt;
&lt;br /&gt;
==Succession==&lt;br /&gt;
&lt;br /&gt;
If a position-holder dies or advances to a new position via succession, the position will be granted to another unit based on the [SUCCESSION] tag. If they have an heir or the succeeding position exists, that unit will be assigned. If not, a new one will be appointed according to the usual rules. The message that is shown is: &amp;quot;(creature name) being the rightful heir, has inherited the position of (position name)&amp;quot;&lt;br /&gt;
&lt;br /&gt;
The succeeding creature will also lose its previous position. When succession is defined using BY_POSITION, the unit naturally loses the referenced position. However, it also loses any other positions it may hold. If a unit could simultaneously inherit multiple positions, the last-defined succession overrides the earlier one, clearing the previously acquired position&lt;br /&gt;
&lt;br /&gt;
Succession works both at site-level and at civ-level, both in world-gen and in fortress-mode. Succession by position on the civ-level is also visible and functional in fortress-mode. If both civ-level nobles are a citizen of your fortress, succession is applied visually. Vanilla example: The [[druid]] is succeeded by the [[acolyte]]. This means that as soon as the druid dies, the acolyte takes over. &lt;br /&gt;
&lt;br /&gt;
When a position that is succeeded by position becomes available, immediately it is checked if a position-successor is available and the position is filled with that unit. Even if this is an [ELECTED] position, succession goes first. When elections eventually do happen, succession plays no role.&lt;br /&gt;
&lt;br /&gt;
It is possible to assign multiple levels of [SUCCESSION:BY_POSITION] in different positions, creating a line of positions where the death of one causes all those &amp;quot;below&amp;quot; them to advance.&lt;br /&gt;
&lt;br /&gt;
A position can have multiple tokens with position-succession. It looks to be random which one is used. It is not always:&lt;br /&gt;
* The first or last defined token&lt;br /&gt;
* The first or last appointed unit&lt;br /&gt;
* the oldest or youngest&lt;br /&gt;
* one with a higher or lower precedence&lt;br /&gt;
* a unit with relevant skills&lt;br /&gt;
&lt;br /&gt;
When a position is defined with a Succession-type, that unit cannot have another position that has a Squad-type. If the succession-position itself has a squad, than it can be assigned another position with a squad, but then it will loose the previous succesion position. See further details by &amp;quot;Squad&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Assumed positions can also be succeeded by position, if the current holder dies. &lt;br /&gt;
&lt;br /&gt;
If the successor is an AS_NEEDED position, the used unit will leave a vacant position-slot on its removal by succession. This empty slot remains a real slot, which will only be cleaned up if you (un)appoint a unit to this position-series. It isn't cleaned up after regular position validation.&lt;br /&gt;
&lt;br /&gt;
A civ-level position of a unit living at your site might be inherited by a unit holding that does not currently live at your site. This, unfortunately, moves that position to a unit off site. This may also happen with the landholder of your site, for example when it is succeeded by another civ-level position. This currently poses an unsolved challenge. &lt;br /&gt;
&lt;br /&gt;
===Eligibility for succession===&lt;br /&gt;
Succession is restricted by the tokens [ACCEPTED_CREATURE], [REJECTED_CREATURE], [ACCEPTED_CLASS], [REJECTED_CLASS] and [GENDER].&lt;br /&gt;
&lt;br /&gt;
===Site and civ combined succession===&lt;br /&gt;
&lt;br /&gt;
Succession can work when combining site positions with civ-level positions or land_holders, but only in world-gen mode.  In fortress mode, it only works with combining the same level of nobles, with Landholders regarded as civ-level. So, in fortress mode, a site's position cannot succeed a landholder's position and it cannot succeed another type of civ-level position, and vice versa. &lt;br /&gt;
&lt;br /&gt;
This won't work even if the positions:&lt;br /&gt;
* are AS_NEEDED or having a fixed number.&lt;br /&gt;
* Are LAND_HOLDERs.&lt;br /&gt;
&lt;br /&gt;
===Succession [BY_HEIR]===&lt;br /&gt;
&lt;br /&gt;
When a heir is needed for succession, all children and then other relatives are validated. They cannot take the position if their status does not allow it, for example if they have become a member of another civilisation. See: &amp;quot;Who can take a position&amp;quot;. If the unit has no valid heir on that location, the position may go to a unit living on another site. This may cause the title of Landholder of some land to be inherited by a unit living somewhere else. That might be a problem, because then you lose your landholders.&lt;br /&gt;
&lt;br /&gt;
===Premature Succession===&lt;br /&gt;
&lt;br /&gt;
There are cases where [SUCCESSION:BY_POSITION] is applied prematurely: at the moment a position is first created and becomes appointable or assumable, rather than after a current holder leaves. In this situation, the succession mechanism assigns a holder immediately, without any player interaction.&lt;br /&gt;
&lt;br /&gt;
When a position becomes available for the first time, the game checks whether a valid successor-by-position exists. If so, that unit is assigned instantly. It can affect positions that would normally be appointed or elected by the player, causing succession to trigger before the player has any opportunity to intervene.&lt;br /&gt;
&lt;br /&gt;
This behavior occurs only in Fortress mode, but can be applied both on [SITE]-positions as well in civ-positions. That last one however is a bit harder to control. Example: [[Advanced entity position mechanics#The Archduke|The Archduke]]&lt;br /&gt;
&lt;br /&gt;
This premature succession only occurs the first time a position becomes available (i.e. when it is created and becomes appointable or assumable). Even if the position remains vacant and the conditions for succession improve later, premature succession will not trigger again. From that point onward, only normal succession rules apply.&lt;br /&gt;
&lt;br /&gt;
Using premature succession, a position that has [ELECTED], [APPOINTED_BY], or both, can be filled directly.&lt;br /&gt;
Notably, positions that combine [ELECTED] and [APPOINTED_BY] are normally impossible to fill through regular mechanics. Premature succession bypasses both election and appointment entirely, making this combination uniquely reachable through this mechanism.&lt;br /&gt;
&lt;br /&gt;
No initial election takes place, and no subsequent elections will ever occur for that position. Succession always takes precedence over election, both in premature succession and in normal succession cases.&lt;br /&gt;
&lt;br /&gt;
This behavior applies only in Fortress mode, not during world generation. World-gen uses simplified and more efficient mechanics, and this interaction does not occur there. Premature succession can affect both site-level and civilization-level positions.&lt;br /&gt;
&lt;br /&gt;
====Multiple succession chains====&lt;br /&gt;
&lt;br /&gt;
Multiple succession chains may be defined and are resolved in the order they appear in the raws.&lt;br /&gt;
&lt;br /&gt;
If a position has both:&lt;br /&gt;
* a direct succession chain (A → C), and&lt;br /&gt;
* a multi-step chain (A → B → C),&lt;br /&gt;
&lt;br /&gt;
and intermediate positions are vacant, resolution proceeds according to raw order. A common outcome is:&lt;br /&gt;
# The direct succession (A → C) is applied first, assigning A to C.&lt;br /&gt;
# The remaining chain then advances (A → B).&lt;br /&gt;
# If C still has empty slots, the final step (B → C) may occur.&lt;br /&gt;
&lt;br /&gt;
If position B is already filled, behavior depends entirely on raw definition order:&lt;br /&gt;
* nothing may happen, or&lt;br /&gt;
* B may move to C first, followed by A moving to B.&lt;br /&gt;
====Working triggers====&lt;br /&gt;
Premature succession is triggered when a succeedable position is created under the following conditions:&lt;br /&gt;
* The succeedable position is created because its [REQUIRES_POPULATION] threshold is reached. This applies even if the position is not [APPOINTED_BY]. Premature succession takes priority over automatic assumption (e.g. the mayor declaring themselves within a day).&lt;br /&gt;
** The position must either be assumable or appointed by an existing position. When said appointer-position also just has been created, the premature succession of the succeedable position happenes, even when the appointer-position is empty.&lt;br /&gt;
* The succeedable position can be [APPOINTED_BY] another position of the same level (site or civ) that has just been created because its [REQUIRES_POPULATION] was reached.&lt;br /&gt;
* The succeedable position can be appointed by another [SITE] [AS_NEEDED] position that has just been created and filled.&lt;br /&gt;
* The succeedable (site or civ) position is [APPOINTED_BY] the [LAND_HOLDER] position, which has just been created due to site elevation. This typically resolves when the diplomat leaves the map, at which point the landholder position becomes active.&lt;br /&gt;
* If all other requirements are met, premature succession can occur immediately after unpausing following embark, for positions with [REQUIRES_POPULATION:7].&lt;br /&gt;
&lt;br /&gt;
====Non-working triggers====&lt;br /&gt;
Premature succession does '''not''' occur in the following cases:&lt;br /&gt;
* An [AS_NEEDED] succeedable position slot is manually created by the player while its succeeding position is already filled. [AS_NEEDED] positions must always be appointed after creation.&lt;br /&gt;
* The succeeding position is filled after the succeedable position becomes available. The moment of creation is the decisive trigger; filling the source position later is too late.&lt;br /&gt;
* The succeedable position can be appointed by another site or civ position with a fixed number of slots that has just been appointed. In this case, the succeedable position is just available for appointment itself, nothing more&lt;br /&gt;
* Any situation occurring during world generation.&lt;br /&gt;
* The succeeding position is [REPLACED_BY] the succeedable position. In this case, replacement removes the unit from the source position first, leaving no holder available for the succession mechanism to use.rst, leaving no holder available for the succession mechanism to use.&lt;br /&gt;
* The position is [APPOINTED_BY] a civ-level position, that just became a citizen of your fortress. It must be noted that those civ-level positions were active all that time and the succeedable position could be appointed even before. The monarchs arrival does not trigger premature succession&lt;br /&gt;
&lt;br /&gt;
=Losing a position=&lt;br /&gt;
&lt;br /&gt;
A unit can lose a position when:&lt;br /&gt;
* It dies&lt;br /&gt;
* It succeeds another position, even if it has nothing to do with the previous position.&lt;br /&gt;
* It is assigned to another SQUAD-holding position&lt;br /&gt;
* It is convicted of a crime.&lt;br /&gt;
* Another unit is ELECTED for the position&lt;br /&gt;
* Its position becomes replaced&lt;br /&gt;
* Another unit is appointed by the player, or the position is left vacant. &lt;br /&gt;
* It has assumed another position, as this always leaves the previous position vacant.&lt;br /&gt;
&lt;br /&gt;
=Embarkment=&lt;br /&gt;
Two types of positions are automatically filled by embark. &lt;br /&gt;
* Positions without [APPOINTED_BY] or [ELECTED] (assumable). All these positions, even with a NUMBER higher than 1, are all filled with one to three dwarves. Contrary to assumption, this doesn't take into account any limitations. REJECTED_CLASS, ALLOWED_CLASS, REJECTED_CREATURE, ALLOWED_CREATURE and GENDER are applied, but without the normal spread you may expect with assumptions. Also it doesn't look at [SUCCESSION] and [SQUAD] limitations.&lt;br /&gt;
* Positions that are elected are filled-in by the normal election rules.&lt;br /&gt;
&lt;br /&gt;
Positions that have a defined appointer are never initially filled at embark.&lt;br /&gt;
&lt;br /&gt;
All positions that don't have [REQUIRES_POPULATION]  or with a [REQUIRES_POPULATION] of 7 or lower, will be available at embark.&lt;br /&gt;
&lt;br /&gt;
=Land Holders=&lt;br /&gt;
&lt;br /&gt;
A Landholder is a '''special civ-level noble''' who gets a certain piece of land to hold, when that land is elevated to a certain level, determined by the tag [LAND_HOLDER] and by the landholder triggers in the game's settings. In vanilla, these are the baron, the count and the duke. &lt;br /&gt;
&lt;br /&gt;
A unit gaining the landholder position does not migrate to that specific named land. In world-gen, they stay just where they are, probably at the capital. In fortress mode, you can suggest a citizen for the role. So for the time being that works.&lt;br /&gt;
&lt;br /&gt;
Succession is then a real issue. If you use BY_HEIR, its solved when that landholder has children living at your site. But when its not the case, the title just goes to anyone randomly. Succession BY_POSITION works, but only in the civ-chain, and there's no way to guarantee a civ-holder is at your site at that time. Even with 'automatic spread' positions, it goes to one of them randomly.&lt;br /&gt;
&lt;br /&gt;
==Functioning of the regular landholder chain==&lt;br /&gt;
&lt;br /&gt;
The distinct difference between a landholder and a regular civ-level noble, is that a landholder may gain the position of landholder &amp;quot;of (sitename)&amp;quot; They are then seen as ruler of a particular site. &lt;br /&gt;
&lt;br /&gt;
For a land_holder position to function as such, it has a few requirements:&lt;br /&gt;
* NUMBER:AS_NEEDED &lt;br /&gt;
* The first landholder-number of 1 is defined. &lt;br /&gt;
* No SITE (so civ) tag in that position.&lt;br /&gt;
*REPLACED_BY the next level landholder&lt;br /&gt;
If a landholder is defined with differentiating properties, it will function like a regular noble. A higher-up landholder that lacks the required tokens or connections will then not be used in elevation. &lt;br /&gt;
&lt;br /&gt;
If a fortress meets the trigger for a new LAND_HOLDER tier when a caravan leaves, then the next time the outpost liaison or equivalent arrives, they will offer to make you an official colony, which will allow you to select all positions for that LAND_HOLDER level. Each time they appear, the outpost liaison will only promote your fortress one tier up the LAND_HOLDER track. &lt;br /&gt;
&lt;br /&gt;
The landholder's LAND_NAME is not required for the functioning of this system. If omitted, messages will be shown with a more generic text.&lt;br /&gt;
&lt;br /&gt;
==Appointment==&lt;br /&gt;
&lt;br /&gt;
This mechanism differs from the regular methods of position management. It ignores all regular appointment- and election rules, so it more or less functions like automatic assignment. A landholder is, in vanilla, appointed by the monarch. Changing this doesn't seem to do anything. If they are appointed by a site-position, a not-yet-existing civ-position, or not appointed at all: the system keeps working as usual. &lt;br /&gt;
&lt;br /&gt;
A landholder can appoint civ-positions and site positions. This works as expected: the positions only are appointed then when that landholder becomes available on civ-level or when he arrives at that site for site-level positions. &lt;br /&gt;
&lt;br /&gt;
If your rank of landholder is the first of its rank in the realm, and is the sole appointer of some civ-position, then immediately as it gains the title, it will appoint the empty civ-slots. This may happen on your site, but the frequency and certainty is hard to determine.&lt;br /&gt;
&lt;br /&gt;
==Succession==&lt;br /&gt;
&lt;br /&gt;
Succession rules are applied to some extent:&lt;br /&gt;
* In world-gen it works according to succession rules, and site-positions can be used here.  This means that a site position or a civ-position can inherit a landholder position, and vice versa.&lt;br /&gt;
* In fortress mode, once a landholder has been appointed, it then can inherit civ-level positions, and vice versa. This means that your baron can become king. &lt;br /&gt;
* Succession rules do not apply within the [LAND_HOLDER] chain; a count will not inherit a baron's land. This is because succession does not work well with the AS_NEEDED token.&lt;br /&gt;
* Premature succession works in fortress mode with landholders. If a unit gets a landholder's position and that landholder is the appointer of an as yet empty position, which is defined as succeeding from a third one, then the succession is immediately applied. The landholder themselves can even be the successor of a newly created position.&lt;br /&gt;
* A landholder's position is, in fortress mode, not successionable by a site-position or vice versa&lt;br /&gt;
&lt;br /&gt;
===Impossibilities for succession by a site-position===&lt;br /&gt;
It would be very beneficial if the landholder can be succeeded by a [SITE]-position. So far, the following tests have not lead to positive results:&lt;br /&gt;
* making landholder and site-position both non-[DUTY_BOUND]&lt;br /&gt;
* make the site-position be [APPOINTED_BY] the landholder and/or the monarch&lt;br /&gt;
* give landholder and site-position [REJECTED_CREATURE]&lt;br /&gt;
* Let the monarch live at your site when succession could happen.&lt;br /&gt;
* Let the site-position be [REPLACED_BY] the landholder.&lt;br /&gt;
&lt;br /&gt;
If the vanilla [SUCCESSION:BY_HEIR]-tag is omitted, a seemingly random unit somewhere in the realm is assigned this position.&lt;br /&gt;
&lt;br /&gt;
==Nomination==&lt;br /&gt;
&lt;br /&gt;
The player is able to nominate a unit to become the LAND_HOLDER, but this only works with units of [LAND_HOLDER] level 1. The player can select all units, only limited by the PRECEDENCE of the current units' positions.&lt;br /&gt;
&lt;br /&gt;
A unit that has a position with a PRECEDENCE lower or equal to that of the landholder's position, cannot be selected. This means that a baron (or count) from another site or the monarch cannot be selected, because their precedence is lower or equal. &lt;br /&gt;
&lt;br /&gt;
The GENDER  token does not work here: also units with the wrong gender (sorry) can be selected.&lt;br /&gt;
&lt;br /&gt;
==Levels==&lt;br /&gt;
In mods, up to 10 levels of LAND_HOLDER may be defined. &lt;br /&gt;
&lt;br /&gt;
If a landholder is replaced by a wrong landholder number (1 replaced by 3), then the number 3 is still correctly attached to the settlement. &lt;br /&gt;
&lt;br /&gt;
If the current landholder has the highest available landholder number, then the next elevation will not happen - the diplomat will not elevate your fortress to a higher position, even if that position might be REPLACED_BY a lower landholder. &lt;br /&gt;
&lt;br /&gt;
These chains do work:&lt;br /&gt;
* 1 -&amp;gt; 2a - &amp;gt; 2b -&amp;gt; 3&lt;br /&gt;
* 1 -&amp;gt; 3 -&amp;gt; 2 -&amp;gt; 4&lt;br /&gt;
&lt;br /&gt;
These chains do not work:&lt;br /&gt;
* 2 -&amp;gt; 3 (need to start at 1)&lt;br /&gt;
* 1 -&amp;gt; 4 -&amp;gt; 2 -&amp;gt; 3 (stops after 4 as the highest)&lt;br /&gt;
* 1a -&amp;gt; 2, 1b -&amp;gt; 2 (only 1a and 2 work, 1b is not used)&lt;br /&gt;
&lt;br /&gt;
==Moving landholders==&lt;br /&gt;
&lt;br /&gt;
It may happen that a land-holder no longer lives at the site which they are the landholder of, specifically when the current landholder dies, leaving the title to an heir living somewhere else. &lt;br /&gt;
&lt;br /&gt;
To prevent this from happening, you can make their succession from heir and make sure that their kids live at your site. Or, you can make their position succeeded by another civ position, and make it so that this civ position is somehow available on your site. But if multiple of these positions exist, it cannot be guaranteed that a citizen of your fortress will inherit the title. &lt;br /&gt;
&lt;br /&gt;
In world gen, a landholder lacking the DUTY_BOUND-token will also move to the site they like, according to legends mode.&lt;br /&gt;
&lt;br /&gt;
==Replacement by a generic civ-position==&lt;br /&gt;
&lt;br /&gt;
If a landholder is replaced by an AS_NEEDED non-landholder civ-position, then this will work: the current landholder loses that title upon settlement-elevation and gains that civ-title. However, the civ-title lacks the landholder-property of being attached to the land. It will not show the name of the settlement alongside the position's name. So no &amp;quot;minister of Shovelmounts&amp;quot;&lt;br /&gt;
&lt;br /&gt;
If a landholder is replaced by a general AS_NEEDED civ-position, that itself is also replaced by a generic AS_NEEDED civ-position, then firstly the elevation is executed and also the unit gains that new position. However, he immediately loses it, because an AS_NEEDED position that is replaced by another position can be filled initially, but units wont be able to hold that title.&lt;br /&gt;
&lt;br /&gt;
==Landholder with fixed number==&lt;br /&gt;
&lt;br /&gt;
A landholder's position that has a fixed number will be created and filled directly when the civilisation is born, so this position slot is then not available for the regular landholder-mechanic and will also not be used. That landholder will thus not be attached to a settlement. &lt;br /&gt;
&lt;br /&gt;
It doesn't matter if the landholder's position is connected to the regular landholder's-chain with the REPLACE_BY token.&lt;br /&gt;
&lt;br /&gt;
==Responsibilities==&lt;br /&gt;
&lt;br /&gt;
When given a certain [RESPONSIBILITY], a landholder may function as a regular civ-level noble. If the position has [TRADE] or [OUTPOST_NEGOTIATING] responsibilities, then the landholder functions both as a diplomat and as an actual land holder. A landholder with the [MILITARY_STRATEGY]  responsibility will travel around taming creatures in world-gen, according to legends mode. &lt;br /&gt;
&lt;br /&gt;
Besides that, the responsibilities work the same as with any other on-site living position-holder, civ or otherwise.&lt;br /&gt;
&lt;br /&gt;
=Military=&lt;br /&gt;
==Squad management==&lt;br /&gt;
In the vanilla game, the Squad interface only becomes available after a militia commander has been appointed. Until then, the window displays:{{DFtext|You must appoint somebody first to create a squad.}}&lt;br /&gt;
&lt;br /&gt;
What’s surprising is how this is determined internally. In the entity raw definition, '''only the last two positions that include a [SQUAD] token are checked''' to decide whether the interface is accessible at all. As a result, if your hierarchy defines commanders A through E, appointing '''Commander D or E''' unlocks squad formation, while appointing A–C does nothing.&lt;br /&gt;
&lt;br /&gt;
In other words, squad availability is not tied to ''having a militia commander'', but to ''which specific positions happen to be last in the raw list''—a notably hacky implementation.&lt;br /&gt;
&lt;br /&gt;
These 'last two' are always the last two '''available positions.''' So if they get [REPLACED_BY] or become available because of [REQUIRES_POPULATION], the game adapts to those.&lt;br /&gt;
&lt;br /&gt;
==Squad assignment==&lt;br /&gt;
&lt;br /&gt;
Squads can be assigned, even if the leader position has no holder.&lt;br /&gt;
&lt;br /&gt;
A specific unit can only have one position associated with a squad. If it gains another 'squad holding position', it is unassigned from the first one. This does not work with a 0-squad, so only 1+squads are taken into consideration. This technique can possibly be used to distribute all positions equally among all citizens. It does however not work with election and assumption. &lt;br /&gt;
&lt;br /&gt;
If a civ-level position is associated with a squad and it gets a site-level squad-holding position assigned, it loses the current civ-position. &lt;br /&gt;
&lt;br /&gt;
Squads can get really messed up, if you make the position (or multiple) either elected or not-elected and not-appointed, then this can cause the game to assign multiple squads to the same unit. Automatic assignment and election does not take squads into account, but the nobles screen does. This can cause the positions to be cleared as the game figures out that they have more than one position, and immediately get elected or assumed again. &lt;br /&gt;
&lt;br /&gt;
Positions that cannot have a squad-position:&lt;br /&gt;
* A site- or civ-position with a [SUCCESSION] token cannot be appointed a squad-holding-position. The other way around, however, does work. For example, if a site-position with a [SUCCESSION]-token is appointed to a unit that has already a position with [SQUAD]. But when that squad position is assigned to another unit, it cannot be assigned back. &lt;br /&gt;
* A position with [SUCCESSION] can also not be assigned as a '''member''' of a squad.&lt;br /&gt;
* A squad-holding position with a formed squad cannot be appointed to another squad holding position.&lt;br /&gt;
&lt;br /&gt;
If a position has at least one squad member, it cannot be left vacant. First, the squad has to be disbanded, then the position may be cleared.&lt;br /&gt;
&lt;br /&gt;
==0-squads==&lt;br /&gt;
A 0-Squad is defined in a position as [SQUAD:0:member:members]. It does not seem to do anything useful as of now.&lt;br /&gt;
* It cannot be used to activate the [[Squad|military interface]]&lt;br /&gt;
* It does not restrict the assignment of [SUCCESSION] positions.&lt;br /&gt;
* Assigning this position does not clear any previously held squad position.&lt;br /&gt;
* The [[Leader]] and [[Tactician]] skill are not marked as relevant skills and are not taken into account in elections.&lt;br /&gt;
* It cannot be formed as a squad.&lt;br /&gt;
&lt;br /&gt;
=Further testing=&lt;br /&gt;
The following questions may need additional testing. Feel free to add or answer&lt;br /&gt;
* Everything regarding COMMANDING and army-structure&lt;br /&gt;
** [http://www.bay12forums.com/smf/index.php?topic=175437.msg8331668#msg8331668]&lt;br /&gt;
** [http://www.bay12forums.com/smf/index.php?topic=165213.msg8335682#msg8335682]&lt;br /&gt;
** [http://www.bay12forums.com/smf/index.php?topic=174584.msg8026854#msg8026854]&lt;br /&gt;
* Stuff about the monarch, its arrival and its entourage.&lt;br /&gt;
&lt;br /&gt;
=Oddities (Bugs)=&lt;br /&gt;
Almost everything on this page could be called an oddity. Because of their unexpected usability, some may also be referred to as “undocumented features.” Others, however, are simply odd and not particularly useful, yet I hesitate to call them “bugs.”&lt;br /&gt;
* If a certain threshold is reached that makes an elected position electable, and the triggering event that initiates this evaluation is an assumption, then the resulting assumption is also referred to in the messages as an election&lt;br /&gt;
&lt;br /&gt;
=Examples=&lt;br /&gt;
&lt;br /&gt;
===The Founder===&lt;br /&gt;
The founder is a single dwarf, appointed at embark. They will be the only one ever to have this position and are not replaceable. When they lose their position some way, the position will not be assumed by another dwarf. &lt;br /&gt;
{{gamedata|title=The Founder|&lt;br /&gt;
[POSITION:THE_FOUNDER]&lt;br /&gt;
	[NAME:the founder:founders]&lt;br /&gt;
	[NUMBER:1] &lt;br /&gt;
	[SITE]&lt;br /&gt;
	[ALLOWED_CREATURE:DWARF:ALL]		- will only be filled at embark, but not assumable later.&lt;br /&gt;
	[REJECTED_CREATURE:DWARF:ALL]		- will only be filled at embark, but not assumable later.&lt;br /&gt;
	[SUCCESSION:BY_POSITION:THE_FOUNDER]	- not unassignable, also cannot be assigned to a [SQUAD] position.&lt;br /&gt;
	[PRECEDENCE:200] &lt;br /&gt;
	Non APPOINTED_BY&lt;br /&gt;
	Non ELECTED&lt;br /&gt;
	Optional: Add responsibilities to make the game select a unit with certain skills.&lt;br /&gt;
}}&lt;br /&gt;
===Marriage bar===&lt;br /&gt;
Dwarven matrons are held in great honour. Upon marriage, a female dwarf is no longer expected to perform menial labour. All dwarven males hold this position by default, granting their spouses exemption from menial work.&lt;br /&gt;
&lt;br /&gt;
The position becomes available with the arrival of the first migrants; otherwise, on embark, it would be assumed by females. Its succession rule is non-functional, but this prevents the player from unassigning the position. A squad size of 1 and the succession rules together prevent a unit from assuming the position more than once.&lt;br /&gt;
&lt;br /&gt;
With precedence set to NONE, the position name is hidden, while LAND_NAME remains visible on the nobles screen. All married females receive the suffix “, Mrs.” and are marked as Nobles.&lt;br /&gt;
&lt;br /&gt;
The practical usefulness of this position is debatable, but it serves as a clear demonstration of several mechanics.&lt;br /&gt;
{{gamedata|title=Mrs. Urist|&lt;br /&gt;
 &lt;br /&gt;
[POSITION:MRS_URIST]	&lt;br /&gt;
	[NUMBER:300]						&lt;br /&gt;
	[SITE]						&lt;br /&gt;
	[ALLOWED_CREATURE:DWARF:MALE]	&lt;br /&gt;
	Not APPOINTED_BY				&lt;br /&gt;
	Not ELECTED&lt;br /&gt;
	[LAND_NAME:Dwarven male]				&lt;br /&gt;
	[NAME:dwarven male:dwarven male]&lt;br /&gt;
	[PRECEDENCE:NONE]					&lt;br /&gt;
	[SPOUSE_FEMALE:, Mrs.:spouses]&lt;br /&gt;
	[MENIAL_WORK_EXEMPTION_SPOUSE]&lt;br /&gt;
	[REQUIRES_POPULATION:8]			&lt;br /&gt;
	[SUCCESSION:BY_POSITION:MONARCH]&lt;br /&gt;
	[SQUAD:1:member:members]&lt;br /&gt;
}}&lt;br /&gt;
===The Archduke===&lt;br /&gt;
The archduke is the leader of the civilization, but exists only from landholder 4-level. Until then, its position remains vacant. When a settlement is elevated to tier 4 (grand duke), the grand duke can appoint the ruler of the civilisation, the archduke. Because of 'Premature Succession', they themself inherit that position immediately, but only when in fortress mode. Its heir then becomes grand duke.&lt;br /&gt;
{{gamedata|title=The Archduke| no POSITION:MONARCH or other PRECEDENCE:1 &lt;br /&gt;
&lt;br /&gt;
[POSITION:THE_ARCHDUKE]&lt;br /&gt;
	[NAME:archduke:archdukes]&lt;br /&gt;
	[NAME_MALE:archduke:archdukes]&lt;br /&gt;
	[NAME_FEMALE:archduchess:archduchesses]&lt;br /&gt;
	[LAND_NAME:a archduchy]&lt;br /&gt;
	[NUMBER:1] &lt;br /&gt;
	[PRECEDENCE:1] &lt;br /&gt;
	[SUCCESSION:BY_POSITION:GRAND_DUKE]	&lt;br /&gt;
	[APPOINTED_BY:GRAND_DUKE]&lt;br /&gt;
	(add additional monarch-stuff, like spouse name, demands etc.)&lt;br /&gt;
	&lt;br /&gt;
[POSITION:GRAND_DUKE]&lt;br /&gt;
	[NAME:grand duke:grand dukes]&lt;br /&gt;
	[NAME_MALE:grand duke:grand dukes]&lt;br /&gt;
	[NAME_FEMALE:grand duchess:grand duchesses]&lt;br /&gt;
	[NUMBER:AS_NEEDED] &lt;br /&gt;
	[LAND_HOLDER:4]&lt;br /&gt;
	// Optional ...&lt;br /&gt;
	[PRECEDENCE:19]	&lt;br /&gt;
	[LAND_NAME:a archduchy] &lt;br /&gt;
	[RESPONSIBILITY:LAW_MAKING]&lt;br /&gt;
	[RESPONSIBILITY:RECEIVE_DIPLOMATS]&lt;br /&gt;
	[SUCCESSION:BY_HEIR]&lt;br /&gt;
	[APPOINTED_BY:THE_ARCHDUKE]&lt;br /&gt;
	(add additional landholder-stuff)&lt;br /&gt;
&lt;br /&gt;
!!add to [POSITION:DUKE]&lt;br /&gt;
	[REPLACED_BY:GRAND_DUKE]&lt;br /&gt;
&lt;br /&gt;
}}&lt;br /&gt;
{{Category|Modding}}&lt;br /&gt;
{{Category|Entities}}&lt;br /&gt;
{{Category|Guides}}&lt;/div&gt;</summary>
		<author><name>Joostheger</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=Advanced_entity_position_mechanics&amp;diff=315488</id>
		<title>Advanced entity position mechanics</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=Advanced_entity_position_mechanics&amp;diff=315488"/>
		<updated>2026-03-12T11:56:19Z</updated>

		<summary type="html">&lt;p&gt;Joostheger: /* Further testing */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Quality|Fine}}&lt;br /&gt;
{{Modding}}&lt;br /&gt;
&lt;br /&gt;
= Introduction = &lt;br /&gt;
&lt;br /&gt;
[http://www.bay12forums.com/smf/index.php?topic=182239.0 Discussion thread on the forum]&lt;br /&gt;
&lt;br /&gt;
This page documents observed and tested behavior of entity positions in Dwarf Fortress that is not fully described elsewhere on the wiki. It focuses on advanced interactions between position tokens, including appointment, succession, election, and responsibility handling, across both civilization-level and site-level entities.&lt;br /&gt;
&lt;br /&gt;
The mechanics described here are based on empirical testing in world generation and fortress mode, supplemented where necessary by raw analysis. In several cases, the game’s behavior is determined by evaluation order and interaction between multiple tags, rather than by individual tokens in isolation.&lt;br /&gt;
&lt;br /&gt;
This page is intended for modders and advanced players who are designing or debugging custom entity position structures. It does not restate basic position mechanics, but instead highlights edge cases, non-obvious interactions, and behaviors that may appear inconsistent or undocumented.&lt;br /&gt;
&lt;br /&gt;
Unless stated otherwise, the described behavior applies to current versions of the game and may differ from older releases.&lt;br /&gt;
&lt;br /&gt;
==What is an entity? What is a position?==&lt;br /&gt;
An [[entity]] is an organizational structure that can have relationships with other entities, usually known as a [[civilization]] or a &amp;quot;[[site]] government&amp;quot; in the game, but merchant [[guild]]s, religious organizations, necromancer towers, and [[bandit]] groups are also entities. An entity can have positions - in most cases, these are hardcoded and generated by the game, but as for civilizations and sites, the [[raw file]]s can be customised.&lt;br /&gt;
&lt;br /&gt;
A position is a special relationship between a unit and an entity. The unit holding a position has a larger influence over that entity than other citizens. Positions are mostly known as [[nobles]], but in this article. the technical term is used.&lt;br /&gt;
&lt;br /&gt;
=Position levels (Site/Civ) and their interaction=&lt;br /&gt;
There are two basic types of positions that are customizable: '''civ(ilization)''' level and '''site level'''. Positions with the tag [SITE] are at site level, positions without the tag [SITE] are at 'civ level'. These two types of nobles can be considered '''loosely related systems'''. There are a few places where they can interact with each other.&lt;br /&gt;
&lt;br /&gt;
Civ-level positions are in charge of the civilization as a whole, managing national [[trade]], laws, and [[war]]s. These are, for example, the vanilla [[monarch]], [[diplomat]] and [[general]]. (Note that the general doesn't do anything in either mode in the current version.)&lt;br /&gt;
&lt;br /&gt;
'''[LAND_HOLDER]''' nobles are also positions at civ-level. These units are members of the national government, but have gained authority over some land or site. Once they do, they move to that place, but their position is still regarded as a civ-level position.&lt;br /&gt;
&lt;br /&gt;
Site-level position holders are members of a site government (subsidiary to the civilization), and manage local affairs in that location. These are, for example, the [[mayor]], the [[sheriff]] and the [[broker]].&lt;br /&gt;
&lt;br /&gt;
==Table of interaction between different position levels==&lt;br /&gt;
In this table, the possible interactions between different position levels are summarized. &lt;br /&gt;
The header row shows the positions defining the tokens.&lt;br /&gt;
&lt;br /&gt;
The left column shows the position type that is referred to.&lt;br /&gt;
Example:  &lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! referred position-type&lt;br /&gt;
! LAND_HOLDER&lt;br /&gt;
|-&lt;br /&gt;
| civilization&lt;br /&gt;
|  &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;(baron is) APPOINTED_BY:MONARCH&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
color coding: &amp;lt;/br&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;Exists in vanilla&amp;lt;/span&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;Possible with mods&amp;lt;/span&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;Not possible&amp;lt;/span&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;possible to some extent.&amp;lt;/span&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;not yet fully investigated.&amp;lt;/span&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! referred position-type&lt;br /&gt;
! Civilization&lt;br /&gt;
! SITE&lt;br /&gt;
! LAND_HOLDER&lt;br /&gt;
! CONQUERED_SITE&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Civilization&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;SUCCESSION '''(1)'''&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| SITE&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;SUCCESSION '''(2)'''&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;APPOINTED_BY '''(3)'''&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;SUCCESSION '''(4)'''&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| LAND_HOLDER&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY '''(6)'''&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;SUCCESSION '''(5)'''&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;REPLACED_BY '''(7)'''&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;SUCCESSION '''(8)'''&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;CONQUERED_SITE&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; COMMANDER &amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; REPLACED_BY &amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt; SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; COMMANDER &amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; REPLACED_BY &amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt; SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; COMMANDER &amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; REPLACED_BY &amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; COMMANDER &amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; REPLACED_BY &amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Remarks:&lt;br /&gt;
# Works only in world-gen, if a unit with that civ-position is present at the site.&lt;br /&gt;
# Works only in world-gen, the site-position holding unit will then move to the capital.&lt;br /&gt;
# Is completely ignored&lt;br /&gt;
# Works only in world-gen.&lt;br /&gt;
# Works only in world-gen.&lt;br /&gt;
# Won't appear at all&lt;br /&gt;
# This is necessary for the landholder chain to work properly, it doesn’t work otherwise.&lt;br /&gt;
# This works only outside of the landholder chain, so when landholders are simply regarded as civ-level nobles. might also work in world-gen&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
== Other interactions ==&lt;br /&gt;
&lt;br /&gt;
Unfortunately, interactions with positions of other entities don't seem possible, such as APPOINTED_BY: HIGH_PRIEST. With [VARIABLE_POSITIONS], positions are automatically created with codes like CUSTOM_LAW_MAKER_2, but interaction with these positions don't seem to work, either. For more info on those, see [[Variable positions]]&lt;br /&gt;
&lt;br /&gt;
=General=&lt;br /&gt;
&lt;br /&gt;
==Civ-level nobles living at your site==&lt;br /&gt;
Nobles from your civilization can come to live at your fortress. This happens in vanilla with landholders such as [[Baron]], [[Count]] and [[Duke]], with the Monarch, but sometimes also with non-landed LAND_HOLDERS.&lt;br /&gt;
&lt;br /&gt;
When a civ-level noble becomes a [[citizen]] at your location, their position is shown among the site-level positions in your [[nobles screen]]. They appear to function as a site-level noble. They may have [[demand]]s, [[mandate]]s, [[squad]]s and the like. They can appoint nobles at the site-level.&lt;br /&gt;
&lt;br /&gt;
If they have certain [RESPONSIBILITY]ies, they do the tasks that go with them.&lt;br /&gt;
&lt;br /&gt;
==Fortress mode, world-gen and their differences==&lt;br /&gt;
Their are a few differences in how positions function between fortress mode (normal play mode) and the world generation (world-gen). &lt;br /&gt;
&lt;br /&gt;
In '''fortress mode''', the player has some control over the appointment of nobles, limited by elections, automatic filled-in positions and succession rules. Pre-fortress mode, which is referred to as '''world-gen''', the game will always attempt to assign nobles whenever possible. It is subjected to the same rules as in fortress-mode, but there are some exceptions. In '''[[World activities]]''', which is the thing that happens in the world while you play fortress mode, it seems as if the same rules are applied as fortress mode. &lt;br /&gt;
&lt;br /&gt;
A difference between player-fortress-mode and world-gen, is causes by visibility (see below). Positions that are not visible by the player and thus not available for assignment, will be available in world-gen and will thus be automatically assigned.&lt;br /&gt;
&lt;br /&gt;
In fortress mode, a position that is both [ELECTED] and [APPOINTED_BY], cannot be appointed by the player and is also not elected, and can thus not be filled. But in world-gen sites however, these positions are automatically filled.&lt;br /&gt;
&lt;br /&gt;
Positions with [AS_NEEDED] are almost never created and filled in world-gen (depending on their [RESPONSIBILITY]ies), but can always be used in player mode.&lt;br /&gt;
&lt;br /&gt;
A position can, in fortress mode, be filled by the same unit. A unit can gain multiple positions in fortress mode, for example because of [[elections]]. This will not happen in world-gen mode: a unit can only have one position. See also remarks on 'embark' and 'Losing a position'.&lt;br /&gt;
&lt;br /&gt;
In world-gen, [SUCCESSION] between civ-levels and [SITE-]levels may happen. This will not happen in fortress mode, or even off-site in [[World activities]].&lt;br /&gt;
&lt;br /&gt;
In fortress mode, premature SUCCESSION may happen. This will not happen in world-gen mode.&lt;br /&gt;
&lt;br /&gt;
==Units holding multiple positions in multiple entities==&lt;br /&gt;
A unit can hold multiple positions in its civilisation or in its site-entity, however this does not happen in world-gen. Only at player-managed sites can units be holding multiple positions at once. (It is probably not possible for a unit to hold a position in two different civilisations or two different sites.)&lt;br /&gt;
&lt;br /&gt;
In world-gen, if there are too many positions to be filled, they simply stay empty until more units are available. E.G, a unit at a site might inherit a civ-level position and still remain a member of the local government. When this happens however, they move to the capital. If a unit gains a new position, either inherited or otherwise, it drops the previous one. If a unit assumes a civ-position in fortress mode, it leaves the current position. &lt;br /&gt;
&lt;br /&gt;
If a unit holds the same (site-)position multiple times, it has no additional effect.&lt;br /&gt;
&lt;br /&gt;
If a unit holds multiple different positions of the same entity, it has all those positions' responsibilities and properties, stacked up. Presumably, the demands for those combined positions are determined by the highest.&lt;br /&gt;
 &lt;br /&gt;
A unit holding a position with a succession token can be assigned another position with a (different) succession token. &lt;br /&gt;
&lt;br /&gt;
A unit holding a position with a squad-position cannot hold another squad-position. It is dropped from the first, when it gets its second assigned. &lt;br /&gt;
A unit holding a position with a succession token cannot be assigned to a squad-position - the unit is simply not available. It works the other way around, though.&lt;br /&gt;
&lt;br /&gt;
=Specific Tags and functions=&lt;br /&gt;
==[PRECEDENCE]==&lt;br /&gt;
The first defined position with precedence of 1 counts as the ruler of the civ. See also: [[Position_token#PRECEDENCE|PRECEDENCE]]. &lt;br /&gt;
&lt;br /&gt;
If the precedence is omitted or has a negative value, the game sets 0 as precedence, which seems to have no effect whatsoever.&lt;br /&gt;
&lt;br /&gt;
When a unit has multiple positions, the name of the position with the highest rank in precedence is shown behind the unit's name.&lt;br /&gt;
&lt;br /&gt;
If you omit precedence entirely, or set it to [PRECEDENCE:NONE], the position name will not be shown after the unit’s name. Your *Urist Mason* will remain simply *Mason*. This can be useful for positions that are unimportant or purely functional. The position will also not appear in the civilisation overview of your site on the world map. The position name is shown in messages, but remains hidden on the nobles screen as well. To make it visible there, use [LAND_NAME].&lt;br /&gt;
&lt;br /&gt;
==[RESPONSIBILITY]ies==&lt;br /&gt;
Both civ and [SITE] positions can carry responsibilities. However, not all responsibilities are active for both types: some function only for civ positions, others only for site positions. When a civ noble arrives at a site and takes up residence, they do not perform responsibilities that are intended for SITE nobles. As a result, these responsibilities neither trigger their associated tasks nor unlock related game mechanics. For example, a civ-level manager living in a fortress will not perform management duties there and doesn't unlock the management-screen, even with an assigned office. &lt;br /&gt;
This behavior applies to the following [SITE]-level responsibilities:&lt;br /&gt;
* [RESPONSIBILITY:ACCOUNTING]&lt;br /&gt;
* [RESPONSIBILITY:BUILD_MORALE]&lt;br /&gt;
* [RESPONSIBILITY:HEALTH_MANAGEMENT]&lt;br /&gt;
* [RESPONSIBILITY:LAW_ENFORCEMENT]&lt;br /&gt;
* [RESPONSIBILITY:MANAGE_PRODUCTION]&lt;br /&gt;
* [RESPONSIBILITY:MEET_WORKERS]&lt;br /&gt;
* [RESPONSIBILITY:TRADE]  (functions differently)&lt;br /&gt;
Other responsibilities may be affected as well, but have not yet been fully tested.&lt;br /&gt;
&lt;br /&gt;
===World-gen effects of the [RESPONSIBILITY] of available positions ===&lt;br /&gt;
It is possible to cause civs and individual sites to change their behavior substantially when they reach a certain size, by controlling nobles. &lt;br /&gt;
* If a site can only appoint a position with [MILITARY_GOALS] after reaching a particular size, that site will not send armies on missions until the required size is reached.&lt;br /&gt;
* A civ-level [LAW_MAKING] position is required for the civilization to have any kind of cohesion. Without it, sites will be constantly embroiled in territorial disputes and civil wars will be commonplace.&lt;br /&gt;
* [MILITARY_STRATEGY] positions go out and tame wild animals. This makes your civ gain those animals as domesticated and also brings them in sieges.&lt;br /&gt;
* The [[Personality_facet|Personality]] of the position's holder determines how they lead the civ.&lt;br /&gt;
&lt;br /&gt;
===[DELIVERS_MESSAGES]===&lt;br /&gt;
The only [AS_NEEDED]-position that is created in worldgen based on responsibility is that of the site-level responsibility [DELIVERS_MESSAGES].&lt;br /&gt;
&lt;br /&gt;
===Outpost Liaisons and Diplomats===&lt;br /&gt;
Civ-positions with the responsibility [ESTABLISH_COLONY_TRADE_AGREEMENTS] ([[Outpost_Liaison|Outpost Liaison]]s) will meet with the site-noble who has responsibility for [RECEIVE_DIPLOMATS] and the highest rank of precedence (i.e. the lowest precedence value). Usually this is the [[Expedition_leader|Expedition leader]].&lt;br /&gt;
&lt;br /&gt;
Once a [LAND_HOLDER] is assigned to the site, civ-positions with the responsibility [MAKE_TOPIC_AGREEMENTS] ([[Diplomat]]s) will meet with '''civ'''-level nobles present at the site who have the [RECEIVE_DIPLOMATS] responsibility. If multiple eligible nobles are available, one is selected at random. If no eligible noble is present, the diplomat leaves angrily. If the landholder is no longer present at the site, diplomats will not arrive at all.&lt;br /&gt;
&lt;br /&gt;
It appears that Outpost Liaisons and Diplomats are chosen for a diplomatic mission based on availability. When multiple candidates exist, the position defined last in the raws is most often selected.&lt;br /&gt;
&lt;br /&gt;
===[TRADE]===&lt;br /&gt;
Civ-level nobles with [TRADE] will arrive with the caravan, just as the Outpost Liaison. Their behavior is no longer active in the vanilla game, but the mechanics are still present. See [[40d:Guild_representative|Guild representative]] for more details. This civ-noble will only meet with the SITE noble with [TRADE], usually the [[Broker]].&lt;br /&gt;
&lt;br /&gt;
If two civ-nobles exist with both [TRADE] and [ESTABLISH_COLONY_TRADE_AGREEMENTS], they both arrive at the same time. Even if both tokens are assigned to a single position, if more than one instance of that position exists, two of them will arrive. However in that case, somehow the elevation of the site and appointment of landholder isn't offered.&lt;br /&gt;
&lt;br /&gt;
If the SITE-noble they intend to meet has both [TRADE] and [RECEIVE_DIPLOMATS], only one meeting will proceed and the other is cancelled. However, when two SITE-nobles are available, each with either [TRADE] or [RECEIVE_DIPLOMATS], both meetings will proceed and both civ-nobles will attempt to negotiate a trade agreement. It is not known what happens if these agreements are accepted or refused.&lt;br /&gt;
&lt;br /&gt;
In the trade depot, the last defined position with the [TRADE] responsibility is shown as broker. However when requesting a trader, the first defined position with [TRADE] will actually go there to do the trade.&lt;br /&gt;
&lt;br /&gt;
==[NUMBER]==&lt;br /&gt;
A position might be defined with a number. In that case, as many as defined can be available. If the positions become available, in world-gen and when embarking, they are all filled-in completely.&lt;br /&gt;
&lt;br /&gt;
If the ruling position (with PRECEDENCE of 1) has a NUMBER higher than 1, a random unit of the ones holding these positions is shown as ruler in the embark screen.&lt;br /&gt;
&lt;br /&gt;
A [NUMBER] of 0 (zero) has the same effect as 1.&lt;br /&gt;
&lt;br /&gt;
===Automatic spreading of assumed, non-singular positions===&lt;br /&gt;
If there are civ positions that have a NUMBER higher then '1' and which are assumed (not APPOINTED_BY or ELECTED) but are '''not DUTY_BOUND''', these are automatically spread among the civilisation, based on population. If there are a number of '''20''' available slots of that position, they spread among a civilization with a combined population of, for example, 1000 of which your fortress has 100 (10%), '''2''' of your fortress' citizens will assume that position. &lt;br /&gt;
This may probably also work with elected and appointed positions, but that may be depending on the death of the current holders and this needs more testing. Assumption works within a day, anyway. &lt;br /&gt;
&lt;br /&gt;
===[AS_NEEDED]===&lt;br /&gt;
These positions can be created automatically by the game in world-gen. This, however, only works with: &lt;br /&gt;
* [LAND_HOLDER]'s&lt;br /&gt;
* squad commanders (needs more testing)&lt;br /&gt;
* Messengers at sites&lt;br /&gt;
&lt;br /&gt;
For all other types of positions, they're not created in world-gen, even if they are defined with RESPONSIBILITY's. For example, even in war, the game wouldn't create a MILITARY_GOALS position, if they have AS_NEEDED as number. &lt;br /&gt;
&lt;br /&gt;
However, in fortress mode / player mode, these positions can be created by the player at will.&lt;br /&gt;
&lt;br /&gt;
Positions with AS_NEEDED need to be created first, before any symbols are assignable as 'symbols' (objects) for the position holder to carry or wear.&lt;br /&gt;
&lt;br /&gt;
Positions with AS_NEEDED cannot be created and then ELECTED in fortress mode. It only works with APPOINTED_BY.&lt;br /&gt;
&lt;br /&gt;
==[REPLACED_BY], [REQUIRES_POPULATION], [REQUIRES_MARKET]==&lt;br /&gt;
&lt;br /&gt;
The token [REPLACED_BY:position] means that once the replacing position meets its requirements for activation, the 'to-be-replaced' position will disappear. This is defined in [REQUIRES_POPULATION] or [REQUIRES_MARKET]. The tags are closely related to each other and seem to only have a meaningful function if combined. Nobles with [REQUIRES_POPULATION] require the population to have a specific size. Nobles with [REQUIRES_MARKET] are only activated in market sites, such as fortresses or towns. [REQUIRES_POPULATION] and [REQUIRES_MARKET] can be combined, activating that position once both requirements are met. &lt;br /&gt;
&lt;br /&gt;
The [REQUIRES_MARKET] can be used to differentiate positions between hamlets and hillocks, and larger sites. IThe market always is build the year after the site is founded. So a position that is to be replaced, will be gone immediately.  &lt;br /&gt;
&lt;br /&gt;
The [REQUIRES_POPULATION]-tag works on the civ-level as well as on site-level, but those systems are in this mechanic strictly separated. Site-level positions cannot be replaced by civ-level positions and visa versa. This makes sense, because they both depend on their own population-count. When using REQUIRES_POPULATION on civ-level, it counts the total population of the civilisation. &lt;br /&gt;
&lt;br /&gt;
See also: [[Advanced_entity_position_mechanics#Evaluation_of_Positions|Evaluation of positions]]&lt;br /&gt;
&lt;br /&gt;
===Effect of replacement (and on [LAND_HOLDER]s)===&lt;br /&gt;
&lt;br /&gt;
Replacement is immediate and complete - the current holding unit loses the position, even before SUCCESSION_BY_POSITION rules are applied. A position with a number of 1 will replace all the slots of a position with a higher number of slots. &lt;br /&gt;
&lt;br /&gt;
Even if the next position is available but not visible, replacement still takes place. If a position is replaced, it is completely gone - it cannot be appointed, succeeded, elected or assumed any longer.&lt;br /&gt;
The unit immediately loses its position.&lt;br /&gt;
&lt;br /&gt;
In legends, replacement is mentioned as: &amp;quot;(unit name) ceased to be (position name)&amp;quot; The replacement of an AS_NEEDED position empties the position's slot forever. In fortress mode, it may seem as if you can create new slots and appoint new units in the nobles screen, but this is reversed as soon as you close the window.&lt;br /&gt;
&lt;br /&gt;
The landholder chain uses [REPLACED_BY] differently. It does not clear the position completely, but uses it for succession to the next level's position. [REPLACE_BY] is required to let that system work properly. This also means that the way in which landholders succeed (replace + as_needed) does not work in any other way. &lt;br /&gt;
&lt;br /&gt;
Replacement between LAND_HOLDERS and other site- or civ positions does not work in any way. Only the vanilla replacement sequence between levels of LAND_HOLDERs does work. If the token is omitted for landholders, the landholder chain is broken, so replacement is required for the landholder system to work.&lt;br /&gt;
&lt;br /&gt;
[REQUIRES_POPULATION] also does not work for [LAND_HOLDER], when you set [NUMBER] to 1. The position is not created when the required population is reached.&lt;br /&gt;
&lt;br /&gt;
===What doesn't work===&lt;br /&gt;
&lt;br /&gt;
'''Attention: If a position cannot be appointed, for example because of 'mutual appointment', it still exists according to replacement mechanics and will replace other positions if so defined. If a certain position(a) will be replaced by the baron's assistant, which can only be appointed by the [LAND_HOLDER] baron, than that position(s) still will be replaced from the start of the game, even if no baron or their assistant is ever present.'''&lt;br /&gt;
&lt;br /&gt;
A position that is replaced by a somehow non-fillable position is still replaced. This counts for mutual-appointing positions, replacement by not-yet-assigned landholders, replacement by AS_NEEDED positions, or replacement by not-yet-appointed positions. &lt;br /&gt;
&lt;br /&gt;
Replacement does not work if the replaced position is a [LAND_HOLDER], even with civ-positions. In that case, the LAND_HOLDER's position is not replaced. It does not matter if AS_NEEDED is used, or a fixed number, and it also does not matter what type of position the replacer is. So this only works (correctly) with positions that become available by REQUIRES_POPULATION.&lt;br /&gt;
&lt;br /&gt;
==[CONQUERED_SITE]==&lt;br /&gt;
&lt;br /&gt;
This tag determines which position is used to assign a [[Forced administrator]].&lt;br /&gt;
&lt;br /&gt;
In legends mode, this is visible as an event describing the reconquest of the site: a new group is formed and the forced administrator is installed as its ruler.&lt;br /&gt;
&lt;br /&gt;
All positions defined with this tag are assigned during this process, meaning multiple positions can be appointed at once.&lt;br /&gt;
&lt;br /&gt;
The holder of a position marked with [CONQUERED_SITE] cannot appoint any other [SITE] positions.&lt;br /&gt;
&lt;br /&gt;
Combining [CONQUERED_SITE] with [SITE] causes the position to function both as a forced administrator and as a normal site position available in fortress mode. However, this provides no meaningful additional mechanics and is effectively inferior to using [SITE] alone:&lt;br /&gt;
* [APPOINTED_BY] lines are completely ignored, meaning that the roles are automatically assumed.&lt;br /&gt;
* [SUCCESSION] is likewise ignored.&lt;br /&gt;
* the [CONQUERED_SITE]-position cannot appoint other [CONQUERED_SITE], [SITE] or combined positions.&lt;br /&gt;
&lt;br /&gt;
There have been remarks that reclaiming a fortress is unplayable because of the lack of regular nobles. Unfortunately, it seems that it can't be fixed by modding.&lt;br /&gt;
&lt;br /&gt;
=Availability and visibility=&lt;br /&gt;
==Availability of (new) positions==&lt;br /&gt;
Warning: Do not mistake &amp;quot;availability&amp;quot; for &amp;quot;visibility&amp;quot;! &lt;br /&gt;
&lt;br /&gt;
Of all the possible positions existing in your site's entity, there may only be some available. &lt;br /&gt;
* Positions with [REQUIRES_POPULATION] require the population to have a specific size.&lt;br /&gt;
* Positions with [REQUIRES_MARKET] will only appear in &amp;quot;large&amp;quot; sites (which may have different rules for different site types). This tag has no effect in fort mode.&lt;br /&gt;
* Positions that are appointed by positions that have an AS_NEEDED number. The appointable positions only become available after an appointer position-slot is created. This works also on civ-level. If a position is appointed by a Land-holder, it only becomes available, when that level of landholder is created. &lt;br /&gt;
	&lt;br /&gt;
Only the replaced positions are culled and are no longer available. &lt;br /&gt;
A position that requires a certain population will become available, even if it doesn't have [APPOINTED_BY] or [ELECTED]. In that case, see 'automatic assignment' and 'assumption'&lt;br /&gt;
&lt;br /&gt;
In fortress mode, in some cases 'succession' is evaluated immediately after a position becomes available. See: Succession.&lt;br /&gt;
==Visibility of positions==&lt;br /&gt;
A position might be available, but can still be invisible for the player in the [[nobles screen]]. The positions with their respective holders are visible for players:&lt;br /&gt;
* All site-positions that are already filled-in (even if they could not be re-filled-in considering current conditions)&lt;br /&gt;
* Site positions that are appointable by a filled-in site position&lt;br /&gt;
* Site positions that are appointable by a filled-in civ position, when that civ positions holder becomes a citizen of your fortress.&lt;br /&gt;
* Civ positions of units that are also a citizen of your fortress.&lt;br /&gt;
If a position becomes available, for example because a certain pop number has been reached, or if it is available from the start(like expedition leader), as long as it cannot be appointed, it still is INVISIBLE for the player. &lt;br /&gt;
&lt;br /&gt;
It might strike someone as odd if a position becomes filled automatically in fortress mode when that position is not even visible. This might be the case if the current holder of a non-appointable position dies or succeeds another position. Regardless of player visibility, these positions will be automatically filled in if the necessary requisitions are met. It might happen with the expedition leader.&lt;br /&gt;
&lt;br /&gt;
A situation with a non-visible but available position, is for example when a position is solely appointed by the expedition leader, when the expedition leader's position is left vacant. It can no longer be appointed by the player and is invisible. Then, it gets automatically assumed, proving that the position still was available.&lt;br /&gt;
&lt;br /&gt;
A position that is both [APPOINTED_BY] and [ELECTED] is visible, but players cannot interact with it.&lt;br /&gt;
&lt;br /&gt;
={{text anchor|Evaluation of Positions}}=&lt;br /&gt;
The game does not continuously check whether positions should become available, elected or be [REPLACE_BY]. This is well-known behavior—for example with the [[mayor]], who does not appear automatically when the required population ([REQUIRES_POPULATION]) is reached. Instead, positions must somehow be evaluated. This applies in several other situations as well &lt;br /&gt;
&lt;br /&gt;
'''Cases that require a trigger:'''&lt;br /&gt;
* Election of a newly created position&lt;br /&gt;
* Election after the current holder dies&lt;br /&gt;
* Automatic assumption of a newly created position (this may take up to a day)&lt;br /&gt;
* New citizens (such as migrants) considering available positions&lt;br /&gt;
* Premature succession of a newly created position&lt;br /&gt;
&lt;br /&gt;
'''Cases that do not wait for a trigger:'''&lt;br /&gt;
* Succession following the death of the previous holder&lt;br /&gt;
* Automatic assumption of existing positions that have become vacant&lt;br /&gt;
&lt;br /&gt;
'''Triggers that cause the game to reevaluate noble positions:'''&lt;br /&gt;
* Succession of a [SITE]-position due to the death of the current holder&lt;br /&gt;
* [[Advanced_entity_position_mechanics#Election_Day|Election Day]]&lt;br /&gt;
* Automatic assumption of a [SITE]-position that becomes vacant&lt;br /&gt;
* (Re)assigning any site position manually&lt;br /&gt;
* Settlement elevation on the LAND_HOLDER track (e.g. gaining a [[Baron]] or [[Count]])&lt;br /&gt;
&lt;br /&gt;
=Gaining a position=&lt;br /&gt;
There are several ways a unit can gain a position:&lt;br /&gt;
* Appointment: A unit is appointed by another unit or by the player.&lt;br /&gt;
* Election: A unit is elected by and among the members of the entity&lt;br /&gt;
* Assumption: A position is neither elected or appointed: a random unit just simply 'takes' the position&lt;br /&gt;
* Succession: a unit is the valid successor of this position(A), either by its current position(B) or because they are that position(A)-holder's heir. &lt;br /&gt;
&lt;br /&gt;
Available positions will automatically be assigned to a random civ member when a new site/civ is created.&lt;br /&gt;
&lt;br /&gt;
==Who can take a position==&lt;br /&gt;
&lt;br /&gt;
* If so defined, a unit needs to be the right caste and/or class - it does not seem to work with creature types. &lt;br /&gt;
* The unit needs to be an adult member of the site or its parent civ's government; that is also CAN_LEARN or INTELLIGENT (SLOW_LEARNER cannot take positions) or otherwise is able to think.&lt;br /&gt;
&lt;br /&gt;
==Appointment==&lt;br /&gt;
&lt;br /&gt;
Positions that have an [APPOINTED_BY:position] token require that position to exist, to be available and appointed. Any position that is APPOINTED_BY can be appointed if the appointer's position is filled in. &lt;br /&gt;
For site-positions to be appointed, it is required that the appointer is present at that location.&lt;br /&gt;
&lt;br /&gt;
If the appointing unit is temporarily not present, or if that position is not filled, positions depending on it cannot be appointed. This is the case with [[militia captains]], when the [[militia commander]] is on a [[mission]]. &lt;br /&gt;
&lt;br /&gt;
A site position cannot appoint a civ position ''or'' LAND_HOLDER in any way whatsoever. &lt;br /&gt;
&lt;br /&gt;
Civ-level positions can appoint other civ-level positions and site-level positions can appoint other site-level positions.&lt;br /&gt;
&lt;br /&gt;
Contrary to what has been said elsewhere, civ-level nobles also can appoint site-level nobles. They need to be at the site to do so. Landholders can appoint both site-level and civ-level nobles. These systems are therefore not as separate as was assumed.&lt;br /&gt;
&lt;br /&gt;
'''Mutual appointment''' cannot take place. If these are the only requisites of the position, then the positions will never appear or get filled. These unfillable positions can be put to good use, for example, to replace a position that is no longer needed without creating a new one. &lt;br /&gt;
&lt;br /&gt;
'''Self appointment''' doesn't normally work. If you have a position that is only appointed by itself, it is never appointed and also cannot be assumed. However, if the position has a number higher than 1, and is filled by multiple units (for example by another position that is now empty), than those units can re-assign or appoint each other from that their shared position. &lt;br /&gt;
&lt;br /&gt;
If an APPOINTED_BY token refers to a non-existing position's code, the effects are as if the appointment token doesn't exist at all.&lt;br /&gt;
&lt;br /&gt;
===Automatic appointment in world-gen and on the civ level===&lt;br /&gt;
&lt;br /&gt;
Outside of fortress mode, the game will always attempt to appoint nobles whenever possible, as long as these positions are '''available''', even if they are invisible to the player.&lt;br /&gt;
It shows this message in legends:  &amp;quot;(unit name) has been appointed to the position of (position name)&amp;quot;&lt;br /&gt;
&lt;br /&gt;
In world-gen, all positions become available and are automatically appointed, taking population- and appointment-requirements into consideration. &lt;br /&gt;
&lt;br /&gt;
Positions that are REPLACED_BY are culled and won't be filled.&lt;br /&gt;
&lt;br /&gt;
If a citizen of your fortress holds a civ-level position that can appoint another civ-level position, the appointment will happen automatically and without player intervention. It may happen that another citizen of your fortress is appointed by that unit, creating civ-level position holders in your fortress, but it is unknown what is required to force this effect.&lt;br /&gt;
&lt;br /&gt;
===Manual appointments by players in fortress mode===&lt;br /&gt;
In fortress mode, the positions that need to be appointed stay empty on embark. and it is the player's job to appoint those. A player can appoint a unit to any available position, according to the hereabove mentioned conditions. The player takes the role of the automatic appointment-system, but has no direct control over elections, successions and replacement. There are some differences in what is possible at world-gen sites and at player-controlled sites.&lt;br /&gt;
&lt;br /&gt;
* A position that is appointed by a unit present as a fortress citizen, can be appointed, re-appointed or left vacant. This means also by civ-level nobles living as a citizen in your fortress; not when they are only visiting, like the diplomat.&lt;br /&gt;
* A position whose appointing positions are all either vacant or [REPLACED_BY] can no longer be appointed. If the position is already filled, it cannot be reappointed or vacated; the current holder simply remains in office.&lt;br /&gt;
* A position that is APPOINTED_BY a unit present as the land_holder of your site, can be appointed, reassigned or left vacant.&lt;br /&gt;
* A position that has SUCCESSION BY_HEIR or BY_POSITION can 'initially' be appointed and also re-appointed or left vacant, but as soon as the [[nobles]] screen closes, ''it can no longer be replaced or left vacant''. From then on, the succession-rules determine who gains that position when the current holder loses the position. This works even if the SUCCESSION:BY_POSITION-position is vacant or replaced.&lt;br /&gt;
* A position that is ELECTED nor APPOINTED_BY, can always be (re-)appointed by the player. This is the case with the [[Expedition leader]]. If it is left vacant however, it cannot be appointed, but will be assumed shortly after. &lt;br /&gt;
* A position that is both ELECTED and APPOINTED_BY, cannot be appointed by the player. Contrary to world-gen sites, its slot is visible, but it doesn't show the +-sign. This is either by AS_NEEDED or by a fixed number. Even if the position somehow gets filled (re)assignment is never possible&lt;br /&gt;
* A player can appoint a number of units to a position, as much as the NUMBER token dictates. If it is AS_NEEDED, the player may create as many slots as they like, also contrary to world-gen sites. &lt;br /&gt;
* A civ-position can never be appointed, even if the appointing civ noble is a citizen of your fortress. A civ position also never can be re-assigned or left vacant, would that position be defined as appointed by a site-position.&lt;br /&gt;
&lt;br /&gt;
==Election==&lt;br /&gt;
Read more in [[Elections]]. The message that is shown is: &amp;quot;(creature name) has been elected to the position of  (position name)&amp;quot;&lt;br /&gt;
&lt;br /&gt;
In worldgen, there is no functional difference between ELECTED and non-appointment, except that elected nobles tend to have high social skills and/or skills related to the position, while non-elected ones are assigned randomly. See: [[Elections]]&lt;br /&gt;
&lt;br /&gt;
A succession goes before an election. &lt;br /&gt;
&lt;br /&gt;
A position that is both ELECTED and APPOINTED_BY never gets elected. Even if the appointees' position somehow gets filled, (re)-elections won't happen. So, it doesn't seem possible to have an elected position become available when a certain other position becomes filled. &lt;br /&gt;
&lt;br /&gt;
An ELECTED civ-(or LAND_HOLDER) position at your site will never be (re)-elected in fortress mode. So real (re-)election only works with SITE-positions. &lt;br /&gt;
&lt;br /&gt;
=== {{text anchor|Election Day}} ===&lt;br /&gt;
Election Day takes place on the 17th of Summer. On this day, a full reevaluation is performed, including all currently elected positions, which are subject to re-election. Contrary to the information on [[Elections]], nothing occurs at the start of a season.&lt;br /&gt;
&lt;br /&gt;
Positions that are both [APPOINTED_BY] and [ELECTED] will not be re-elected on Election Day when assigned through [SUCCESSION].&lt;br /&gt;
&lt;br /&gt;
=== Election Eligiblity ===&lt;br /&gt;
Any citizen may stand for election. Eligibility cannot be restricted using [ACCEPTED_CREATURE], [REJECTED_CREATURE], [ACCEPTED_CLASS], [REJECTED_CLASS], or [GENDER]. Units currently having a [SUCCESSION]-position even may be elected for a position with a [SQUAD]-token, which is otherwise impossible to assign or even succeed.&lt;br /&gt;
&lt;br /&gt;
=== Skills ===&lt;br /&gt;
In elections, skills are taken into account for the tokens of the position which is elected.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Relevant skills per position token&lt;br /&gt;
|-&lt;br /&gt;
! Position Token !! Relevant skills&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#DELIVER_MESSAGES|[DELIVER_MESSAGES]]] || [[Ambusher]], [[Observer]] and [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#ACCOUNTING|[ACCOUNTING]]] || [[Record_keeper|Record keeper]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#ESPIONAGE|[ESPIONAGE]]] || [[Schemer]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#HEALTH_MANAGEMENT|[HEALTH_MANAGEMENT]]] || [[Diagnostician|Diagnostician]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#MAKE_INTRODUCTIONS|[MAKE_INTRODUCTIONS]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#MAKE_PEACE_AGREEMENTS|[MAKE_PEACE_AGREEMENTS]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#MAKE_TOPIC_AGREEMENTS|[MAKE_TOPIC_AGREEMENTS]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#MANAGE_PRODUCTION|[MANAGE_PRODUCTION]]] || [[Organizer]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#MEET_WORKERS|[MEET_WORKERS]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#RECEIVE_DIPLOMATS|[RECEIVE_DIPLOMATS]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#RELIGION|[RELIGION]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#TAME_EXOTICS|[TAME_EXOTICS]]] || [[Animal_trainer|Animal trainer]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#TRADE|[TRADE]]] || [[Social_skill|Social skills]] and [[Appraiser|Appraiser]]&lt;br /&gt;
|-&lt;br /&gt;
| [[Position_token#SQUAD|[SQUAD]]]-token || [[Tactician]] and [[Leader]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Assumption==&lt;br /&gt;
&lt;br /&gt;
A position that is not APPOINTED_BY nor ELECTED, or is appointed by positions that are not available in your site or civ, will be assumable by a random dwarf. If it has responsibilities that require certain skills, then these are taken into consideration on embark, but not when the position is assumed during the actual game. &lt;br /&gt;
&lt;br /&gt;
Normally, one to three units will take the into consideration to assume a position. Most of the time when there are multiple open positions, only a single unit will assume all of them. However, a position that has REJECTED_CREATURE, REJECTED_CLASS, ALLOWED_CREATURE or ALLOWED_CLASS will be filled with all different units, even if the creature or class mentioned is irrelevant. It seems that this forces the game to loop over all the available units.&lt;br /&gt;
&lt;br /&gt;
The message that is shown in Legends mode is: &amp;quot;(unit name) has assumed the position of (position name)&amp;quot;. This may also take place in fortress mode, which then shows this message to the player. &lt;br /&gt;
&lt;br /&gt;
If an assumable position becomes empty, it will be assumed within a day. This is the case when you leave the position of expedition-leader vacant. It also happens with entities. &lt;br /&gt;
&lt;br /&gt;
Assumable positions that become empty will not be assumed if that position has a valid [SUCCESSION] -successor. In that case, the successor inherits the position. &lt;br /&gt;
&lt;br /&gt;
Even positions that are somehow invisible because they cannot be directly APPOINTED_BY players, can be assumed. &lt;br /&gt;
&lt;br /&gt;
When you embark, the assumable positions are automatically assigned to a random unit. If there are multiple of these positions at embark, they all are assigned to the same unit. If there are enough positions available, multiple units may gain a position, but often no more than three different ones.&lt;br /&gt;
&lt;br /&gt;
If a dwarf in fortress mode assumes a position, that already has another position, it will leave the current position empty. When that position also is assumed, then this will continue until all positions have a dwarf appointed to them, with no other position.&lt;br /&gt;
&lt;br /&gt;
A unit that already has a position with a [SUCCESSION] token won't take assumable positions into consideration that have a [SQUAD] token. This can be used by the modder to prevent unwanted loss of current positions.&lt;br /&gt;
&lt;br /&gt;
A position that has an appointer which got replaced because of REPLACED_BY, will not become assumable. Also, positions that have an AS_NEEDED appointer that is not yet filled (or ever), will also not be assumed.&lt;br /&gt;
&lt;br /&gt;
==Succession==&lt;br /&gt;
&lt;br /&gt;
If a position-holder dies or advances to a new position via succession, the position will be granted to another unit based on the [SUCCESSION] tag. If they have an heir or the succeeding position exists, that unit will be assigned. If not, a new one will be appointed according to the usual rules. The message that is shown is: &amp;quot;(creature name) being the rightful heir, has inherited the position of (position name)&amp;quot;&lt;br /&gt;
&lt;br /&gt;
The succeeding creature will also lose its previous position. When succession is defined using BY_POSITION, the unit naturally loses the referenced position. However, it also loses any other positions it may hold. If a unit could simultaneously inherit multiple positions, the last-defined succession overrides the earlier one, clearing the previously acquired position&lt;br /&gt;
&lt;br /&gt;
Succession works both at site-level and at civ-level, both in world-gen and in fortress-mode. Succession by position on the civ-level is also visible and functional in fortress-mode. If both civ-level nobles are a citizen of your fortress, succession is applied visually. Vanilla example: The [[druid]] is succeeded by the [[acolyte]]. This means that as soon as the druid dies, the acolyte takes over. &lt;br /&gt;
&lt;br /&gt;
When a position that is succeeded by position becomes available, immediately it is checked if a position-successor is available and the position is filled with that unit. Even if this is an [ELECTED] position, succession goes first. When elections eventually do happen, succession plays no role.&lt;br /&gt;
&lt;br /&gt;
It is possible to assign multiple levels of [SUCCESSION:BY_POSITION] in different positions, creating a line of positions where the death of one causes all those &amp;quot;below&amp;quot; them to advance.&lt;br /&gt;
&lt;br /&gt;
A position can have multiple tokens with position-succession. It looks to be random which one is used. It is not always:&lt;br /&gt;
* The first or last defined token&lt;br /&gt;
* The first or last appointed unit&lt;br /&gt;
* the oldest or youngest&lt;br /&gt;
* one with a higher or lower precedence&lt;br /&gt;
* a unit with relevant skills&lt;br /&gt;
&lt;br /&gt;
When a position is defined with a Succession-type, that unit cannot have another position that has a Squad-type. If the succession-position itself has a squad, than it can be assigned another position with a squad, but then it will loose the previous succesion position. See further details by &amp;quot;Squad&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Assumed positions can also be succeeded by position, if the current holder dies. &lt;br /&gt;
&lt;br /&gt;
If the successor is an AS_NEEDED position, the used unit will leave a vacant position-slot on its removal by succession. This empty slot remains a real slot, which will only be cleaned up if you (un)appoint a unit to this position-series. It isn't cleaned up after regular position validation.&lt;br /&gt;
&lt;br /&gt;
A civ-level position of a unit living at your site might be inherited by a unit holding that does not currently live at your site. This, unfortunately, moves that position to a unit off site. This may also happen with the landholder of your site, for example when it is succeeded by another civ-level position. This currently poses an unsolved challenge. &lt;br /&gt;
&lt;br /&gt;
===Eligibility for succession===&lt;br /&gt;
Succession is restricted by the tokens [ACCEPTED_CREATURE], [REJECTED_CREATURE], [ACCEPTED_CLASS], [REJECTED_CLASS] and [GENDER].&lt;br /&gt;
&lt;br /&gt;
===Site and civ combined succession===&lt;br /&gt;
&lt;br /&gt;
Succession can work when combining site positions with civ-level positions or land_holders, but only in world-gen mode.  In fortress mode, it only works with combining the same level of nobles, with Landholders regarded as civ-level. So, in fortress mode, a site's position cannot succeed a landholder's position and it cannot succeed another type of civ-level position, and vice versa. &lt;br /&gt;
&lt;br /&gt;
This won't work even if the positions:&lt;br /&gt;
* are AS_NEEDED or having a fixed number.&lt;br /&gt;
* Are LAND_HOLDERs.&lt;br /&gt;
&lt;br /&gt;
===Succession [BY_HEIR]===&lt;br /&gt;
&lt;br /&gt;
When a heir is needed for succession, all children and then other relatives are validated. They cannot take the position if their status does not allow it, for example if they have become a member of another civilisation. See: &amp;quot;Who can take a position&amp;quot;. If the unit has no valid heir on that location, the position may go to a unit living on another site. This may cause the title of Landholder of some land to be inherited by a unit living somewhere else. That might be a problem, because then you lose your landholders.&lt;br /&gt;
&lt;br /&gt;
===Premature Succession===&lt;br /&gt;
&lt;br /&gt;
There are cases where [SUCCESSION:BY_POSITION] is applied prematurely: at the moment a position is first created and becomes appointable or assumable, rather than after a current holder leaves. In this situation, the succession mechanism assigns a holder immediately, without any player interaction.&lt;br /&gt;
&lt;br /&gt;
When a position becomes available for the first time, the game checks whether a valid successor-by-position exists. If so, that unit is assigned instantly. It can affect positions that would normally be appointed or elected by the player, causing succession to trigger before the player has any opportunity to intervene.&lt;br /&gt;
&lt;br /&gt;
This behavior occurs only in Fortress mode, but can be applied both on [SITE]-positions as well in civ-positions. That last one however is a bit harder to control. Example: [[Advanced entity position mechanics#The Archduke|The Archduke]]&lt;br /&gt;
&lt;br /&gt;
This premature succession only occurs the first time a position becomes available (i.e. when it is created and becomes appointable or assumable). Even if the position remains vacant and the conditions for succession improve later, premature succession will not trigger again. From that point onward, only normal succession rules apply.&lt;br /&gt;
&lt;br /&gt;
Using premature succession, a position that has [ELECTED], [APPOINTED_BY], or both, can be filled directly.&lt;br /&gt;
Notably, positions that combine [ELECTED] and [APPOINTED_BY] are normally impossible to fill through regular mechanics. Premature succession bypasses both election and appointment entirely, making this combination uniquely reachable through this mechanism.&lt;br /&gt;
&lt;br /&gt;
No initial election takes place, and no subsequent elections will ever occur for that position. Succession always takes precedence over election, both in premature succession and in normal succession cases.&lt;br /&gt;
&lt;br /&gt;
This behavior applies only in Fortress mode, not during world generation. World-gen uses simplified and more efficient mechanics, and this interaction does not occur there. Premature succession can affect both site-level and civilization-level positions.&lt;br /&gt;
&lt;br /&gt;
====Multiple succession chains====&lt;br /&gt;
&lt;br /&gt;
Multiple succession chains may be defined and are resolved in the order they appear in the raws.&lt;br /&gt;
&lt;br /&gt;
If a position has both:&lt;br /&gt;
* a direct succession chain (A → C), and&lt;br /&gt;
* a multi-step chain (A → B → C),&lt;br /&gt;
&lt;br /&gt;
and intermediate positions are vacant, resolution proceeds according to raw order. A common outcome is:&lt;br /&gt;
# The direct succession (A → C) is applied first, assigning A to C.&lt;br /&gt;
# The remaining chain then advances (A → B).&lt;br /&gt;
# If C still has empty slots, the final step (B → C) may occur.&lt;br /&gt;
&lt;br /&gt;
If position B is already filled, behavior depends entirely on raw definition order:&lt;br /&gt;
* nothing may happen, or&lt;br /&gt;
* B may move to C first, followed by A moving to B.&lt;br /&gt;
====Working triggers====&lt;br /&gt;
Premature succession is triggered when a succeedable position is created under the following conditions:&lt;br /&gt;
* The succeedable position is created because its [REQUIRES_POPULATION] threshold is reached. This applies even if the position is not [APPOINTED_BY]. Premature succession takes priority over automatic assumption (e.g. the mayor declaring themselves within a day).&lt;br /&gt;
** The position must either be assumable or appointed by an existing position. When said appointer-position also just has been created, the premature succession of the succeedable position happenes, even when the appointer-position is empty.&lt;br /&gt;
* The succeedable position can be [APPOINTED_BY] another position of the same level (site or civ) that has just been created because its [REQUIRES_POPULATION] was reached.&lt;br /&gt;
* The succeedable position can be appointed by another [SITE] [AS_NEEDED] position that has just been created and filled.&lt;br /&gt;
* The succeedable (site or civ) position is [APPOINTED_BY] the [LAND_HOLDER] position, which has just been created due to site elevation. This typically resolves when the diplomat leaves the map, at which point the landholder position becomes active.&lt;br /&gt;
* If all other requirements are met, premature succession can occur immediately after unpausing following embark, for positions with [REQUIRES_POPULATION:7].&lt;br /&gt;
&lt;br /&gt;
====Non-working triggers====&lt;br /&gt;
Premature succession does '''not''' occur in the following cases:&lt;br /&gt;
* An [AS_NEEDED] succeedable position slot is manually created by the player while its succeeding position is already filled. [AS_NEEDED] positions must always be appointed after creation.&lt;br /&gt;
* The succeeding position is filled after the succeedable position becomes available. The moment of creation is the decisive trigger; filling the source position later is too late.&lt;br /&gt;
* The succeedable position can be appointed by another site or civ position with a fixed number of slots that has just been appointed. In this case, the succeedable position is just available for appointment itself, nothing more&lt;br /&gt;
* Any situation occurring during world generation.&lt;br /&gt;
* The succeeding position is [REPLACED_BY] the succeedable position. In this case, replacement removes the unit from the source position first, leaving no holder available for the succession mechanism to use.rst, leaving no holder available for the succession mechanism to use.&lt;br /&gt;
* The position is [APPOINTED_BY] a civ-level position, that just became a citizen of your fortress. It must be noted that those civ-level positions were active all that time and the succeedable position could be appointed even before. The monarchs arrival does not trigger premature succession&lt;br /&gt;
&lt;br /&gt;
=Losing a position=&lt;br /&gt;
&lt;br /&gt;
A unit can lose a position when:&lt;br /&gt;
* It dies&lt;br /&gt;
* It succeeds another position, even if it has nothing to do with the previous position.&lt;br /&gt;
* It is assigned to another SQUAD-holding position&lt;br /&gt;
* It is convicted of a crime.&lt;br /&gt;
* Another unit is ELECTED for the position&lt;br /&gt;
* Its position becomes replaced&lt;br /&gt;
* Another unit is appointed by the player, or the position is left vacant. &lt;br /&gt;
* It has assumed another position, as this always leaves the previous position vacant.&lt;br /&gt;
&lt;br /&gt;
=Embarkment=&lt;br /&gt;
Two types of positions are automatically filled by embark. &lt;br /&gt;
* Positions without [APPOINTED_BY] or [ELECTED] (assumable). All these positions, even with a NUMBER higher than 1, are all filled with one to three dwarves. Contrary to assumption, this doesn't take into account any limitations. REJECTED_CLASS, ALLOWED_CLASS, REJECTED_CREATURE, ALLOWED_CREATURE and GENDER are applied, but without the normal spread you may expect with assumptions. Also it doesn't look at [SUCCESSION] and [SQUAD] limitations.&lt;br /&gt;
* Positions that are elected are filled-in by the normal election rules.&lt;br /&gt;
&lt;br /&gt;
Positions that have a defined appointer are never initially filled at embark.&lt;br /&gt;
&lt;br /&gt;
All positions that don't have [REQUIRES_POPULATION]  or with a [REQUIRES_POPULATION] of 7 or lower, will be available at embark.&lt;br /&gt;
&lt;br /&gt;
=Land Holders=&lt;br /&gt;
&lt;br /&gt;
A Landholder is a '''special civ-level noble''' who gets a certain piece of land to hold, when that land is elevated to a certain level, determined by the tag [LAND_HOLDER] and by the landholder triggers in the game's settings. In vanilla, these are the baron, the count and the duke. &lt;br /&gt;
&lt;br /&gt;
A unit gaining the landholder position does not migrate to that specific named land. In world-gen, they stay just where they are, probably at the capital. In fortress mode, you can suggest a citizen for the role. So for the time being that works.&lt;br /&gt;
&lt;br /&gt;
Succession is then a real issue. If you use BY_HEIR, its solved when that landholder has children living at your site. But when its not the case, the title just goes to anyone randomly. Succession BY_POSITION works, but only in the civ-chain, and there's no way to guarantee a civ-holder is at your site at that time. Even with 'automatic spread' positions, it goes to one of them randomly.&lt;br /&gt;
&lt;br /&gt;
==Functioning of the regular landholder chain==&lt;br /&gt;
&lt;br /&gt;
The distinct difference between a landholder and a regular civ-level noble, is that a landholder may gain the position of landholder &amp;quot;of (sitename)&amp;quot; They are then seen as ruler of a particular site. &lt;br /&gt;
&lt;br /&gt;
For a land_holder position to function as such, it has a few requirements:&lt;br /&gt;
* NUMBER:AS_NEEDED &lt;br /&gt;
* The first landholder-number of 1 is defined. &lt;br /&gt;
* No SITE (so civ) tag in that position.&lt;br /&gt;
*REPLACED_BY the next level landholder&lt;br /&gt;
If a landholder is defined with differentiating properties, it will function like a regular noble. A higher-up landholder that lacks the required tokens or connections will then not be used in elevation. &lt;br /&gt;
&lt;br /&gt;
If a fortress meets the trigger for a new LAND_HOLDER tier when a caravan leaves, then the next time the outpost liaison or equivalent arrives, they will offer to make you an official colony, which will allow you to select all positions for that LAND_HOLDER level. Each time they appear, the outpost liaison will only promote your fortress one tier up the LAND_HOLDER track. &lt;br /&gt;
&lt;br /&gt;
The landholder's LAND_NAME is not required for the functioning of this system. If omitted, messages will be shown with a more generic text.&lt;br /&gt;
&lt;br /&gt;
==Appointment==&lt;br /&gt;
&lt;br /&gt;
This mechanism differs from the regular methods of position management. It ignores all regular appointment- and election rules, so it more or less functions like automatic assignment. A landholder is, in vanilla, appointed by the monarch. Changing this doesn't seem to do anything. If they are appointed by a site-position, a not-yet-existing civ-position, or not appointed at all: the system keeps working as usual. &lt;br /&gt;
&lt;br /&gt;
A landholder can appoint civ-positions and site positions. This works as expected: the positions only are appointed then when that landholder becomes available on civ-level or when he arrives at that site for site-level positions. &lt;br /&gt;
&lt;br /&gt;
If your rank of landholder is the first of its rank in the realm, and is the sole appointer of some civ-position, then immediately as it gains the title, it will appoint the empty civ-slots. This may happen on your site, but the frequency and certainty is hard to determine.&lt;br /&gt;
&lt;br /&gt;
==Succession==&lt;br /&gt;
&lt;br /&gt;
Succession rules are applied to some extent:&lt;br /&gt;
* In world-gen it works according to succession rules, and site-positions can be used here.  This means that a site position or a civ-position can inherit a landholder position, and vice versa.&lt;br /&gt;
* In fortress mode, once a landholder has been appointed, it then can inherit civ-level positions, and vice versa. This means that your baron can become king. &lt;br /&gt;
* Succession rules do not apply within the [LAND_HOLDER] chain; a count will not inherit a baron's land. This is because succession does not work well with the AS_NEEDED token.&lt;br /&gt;
* Premature succession works in fortress mode with landholders. If a unit gets a landholder's position and that landholder is the appointer of an as yet empty position, which is defined as succeeding from a third one, then the succession is immediately applied. The landholder themselves can even be the successor of a newly created position.&lt;br /&gt;
* A landholder's position is, in fortress mode, not successionable by a site-position or vice versa&lt;br /&gt;
&lt;br /&gt;
===Impossibilities for succession by a site-position===&lt;br /&gt;
It would be very beneficial if the landholder can be succeeded by a [SITE]-position. So far, the following tests have not lead to positive results:&lt;br /&gt;
* making landholder and site-position both non-[DUTY_BOUND]&lt;br /&gt;
* make the site-position be [APPOINTED_BY] the landholder and/or the monarch&lt;br /&gt;
* give landholder and site-position [REJECTED_CREATURE]&lt;br /&gt;
* Let the monarch live at your site when succession could happen.&lt;br /&gt;
* Let the site-position be [REPLACED_BY] the landholder.&lt;br /&gt;
&lt;br /&gt;
If the vanilla [SUCCESSION:BY_HEIR]-tag is omitted, a seemingly random unit somewhere in the realm is assigned this position.&lt;br /&gt;
&lt;br /&gt;
==Nomination==&lt;br /&gt;
&lt;br /&gt;
The player is able to nominate a unit to become the LAND_HOLDER, but this only works with units of [LAND_HOLDER] level 1. The player can select all units, only limited by the PRECEDENCE of the current units' positions.&lt;br /&gt;
&lt;br /&gt;
A unit that has a position with a PRECEDENCE lower or equal to that of the landholder's position, cannot be selected. This means that a baron (or count) from another site or the monarch cannot be selected, because their precedence is lower or equal. &lt;br /&gt;
&lt;br /&gt;
The GENDER  token does not work here: also units with the wrong gender (sorry) can be selected.&lt;br /&gt;
&lt;br /&gt;
==Levels==&lt;br /&gt;
In mods, up to 10 levels of LAND_HOLDER may be defined. &lt;br /&gt;
&lt;br /&gt;
If a landholder is replaced by a wrong landholder number (1 replaced by 3), then the number 3 is still correctly attached to the settlement. &lt;br /&gt;
&lt;br /&gt;
If the current landholder has the highest available landholder number, then the next elevation will not happen - the diplomat will not elevate your fortress to a higher position, even if that position might be REPLACED_BY a lower landholder. &lt;br /&gt;
&lt;br /&gt;
These chains do work:&lt;br /&gt;
* 1 -&amp;gt; 2a - &amp;gt; 2b -&amp;gt; 3&lt;br /&gt;
* 1 -&amp;gt; 3 -&amp;gt; 2 -&amp;gt; 4&lt;br /&gt;
&lt;br /&gt;
These chains do not work:&lt;br /&gt;
* 2 -&amp;gt; 3 (need to start at 1)&lt;br /&gt;
* 1 -&amp;gt; 4 -&amp;gt; 2 -&amp;gt; 3 (stops after 4 as the highest)&lt;br /&gt;
* 1a -&amp;gt; 2, 1b -&amp;gt; 2 (only 1a and 2 work, 1b is not used)&lt;br /&gt;
&lt;br /&gt;
==Moving landholders==&lt;br /&gt;
&lt;br /&gt;
It may happen that a land-holder no longer lives at the site which they are the landholder of, specifically when the current landholder dies, leaving the title to an heir living somewhere else. &lt;br /&gt;
&lt;br /&gt;
To prevent this from happening, you can make their succession from heir and make sure that their kids live at your site. Or, you can make their position succeeded by another civ position, and make it so that this civ position is somehow available on your site. But if multiple of these positions exist, it cannot be guaranteed that a citizen of your fortress will inherit the title. &lt;br /&gt;
&lt;br /&gt;
In world gen, a landholder lacking the DUTY_BOUND-token will also move to the site they like, according to legends mode.&lt;br /&gt;
&lt;br /&gt;
==Replacement by a generic civ-position==&lt;br /&gt;
&lt;br /&gt;
If a landholder is replaced by an AS_NEEDED non-landholder civ-position, then this will work: the current landholder loses that title upon settlement-elevation and gains that civ-title. However, the civ-title lacks the landholder-property of being attached to the land. It will not show the name of the settlement alongside the position's name. So no &amp;quot;minister of Shovelmounts&amp;quot;&lt;br /&gt;
&lt;br /&gt;
If a landholder is replaced by a general AS_NEEDED civ-position, that itself is also replaced by a generic AS_NEEDED civ-position, then firstly the elevation is executed and also the unit gains that new position. However, he immediately loses it, because an AS_NEEDED position that is replaced by another position can be filled initially, but units wont be able to hold that title.&lt;br /&gt;
&lt;br /&gt;
==Landholder with fixed number==&lt;br /&gt;
&lt;br /&gt;
A landholder's position that has a fixed number will be created and filled directly when the civilisation is born, so this position slot is then not available for the regular landholder-mechanic and will also not be used. That landholder will thus not be attached to a settlement. &lt;br /&gt;
&lt;br /&gt;
It doesn't matter if the landholder's position is connected to the regular landholder's-chain with the REPLACE_BY token.&lt;br /&gt;
&lt;br /&gt;
==Responsibilities==&lt;br /&gt;
&lt;br /&gt;
When given a certain [RESPONSIBILITY], a landholder may function as a regular civ-level noble. If the position has [TRADE] or [OUTPOST_NEGOTIATING] responsibilities, then the landholder functions both as a diplomat and as an actual land holder. A landholder with the [MILITARY_STRATEGY]  responsibility will travel around taming creatures in world-gen, according to legends mode. &lt;br /&gt;
&lt;br /&gt;
Besides that, the responsibilities work the same as with any other on-site living position-holder, civ or otherwise.&lt;br /&gt;
&lt;br /&gt;
=Military=&lt;br /&gt;
==Squad management==&lt;br /&gt;
In the vanilla game, the Squad interface only becomes available after a militia commander has been appointed. Until then, the window displays:{{DFtext|You must appoint somebody first to create a squad.}}&lt;br /&gt;
&lt;br /&gt;
What’s surprising is how this is determined internally. In the entity raw definition, '''only the last two positions that include a [SQUAD] token are checked''' to decide whether the interface is accessible at all. As a result, if your hierarchy defines commanders A through E, appointing '''Commander D or E''' unlocks squad formation, while appointing A–C does nothing.&lt;br /&gt;
&lt;br /&gt;
In other words, squad availability is not tied to ''having a militia commander'', but to ''which specific positions happen to be last in the raw list''—a notably hacky implementation.&lt;br /&gt;
&lt;br /&gt;
These 'last two' are always the last two '''available positions.''' So if they get [REPLACED_BY] or become available because of [REQUIRES_POPULATION], the game adapts to those.&lt;br /&gt;
&lt;br /&gt;
==Squad assignment==&lt;br /&gt;
&lt;br /&gt;
Squads can be assigned, even if the leader position has no holder.&lt;br /&gt;
&lt;br /&gt;
A specific unit can only have one position associated with a squad. If it gains another 'squad holding position', it is unassigned from the first one. This does not work with a 0-squad, so only 1+squads are taken into consideration. This technique can possibly be used to distribute all positions equally among all citizens. It does however not work with election and assumption. &lt;br /&gt;
&lt;br /&gt;
If a civ-level position is associated with a squad and it gets a site-level squad-holding position assigned, it loses the current civ-position. &lt;br /&gt;
&lt;br /&gt;
Squads can get really messed up, if you make the position (or multiple) either elected or not-elected and not-appointed, then this can cause the game to assign multiple squads to the same unit. Automatic assignment and election does not take squads into account, but the nobles screen does. This can cause the positions to be cleared as the game figures out that they have more than one position, and immediately get elected or assumed again. &lt;br /&gt;
&lt;br /&gt;
Positions that cannot have a squad-position:&lt;br /&gt;
* A site- or civ-position with a [SUCCESSION] token cannot be appointed a squad-holding-position. The other way around, however, does work. For example, if a site-position with a [SUCCESSION]-token is appointed to a unit that has already a position with [SQUAD]. But when that squad position is assigned to another unit, it cannot be assigned back. &lt;br /&gt;
* A position with [SUCCESSION] can also not be assigned as a '''member''' of a squad.&lt;br /&gt;
* A squad-holding position with a formed squad cannot be appointed to another squad holding position.&lt;br /&gt;
&lt;br /&gt;
If a position has at least one squad member, it cannot be left vacant. First, the squad has to be disbanded, then the position may be cleared.&lt;br /&gt;
&lt;br /&gt;
==0-squads==&lt;br /&gt;
A 0-Squad is defined in a position as [SQUAD:0:member:members]. It does not seem to do anything useful as of now.&lt;br /&gt;
* It cannot be used to activate the [[Squad|military interface]]&lt;br /&gt;
* It does not restrict the assignment of [SUCCESSION] positions.&lt;br /&gt;
* Assigning this position does not clear any previously held squad position.&lt;br /&gt;
* The [[Leader]] and [[Tactician]] skill are not marked as relevant skills and are not taken into account in elections.&lt;br /&gt;
* It cannot be formed as a squad.&lt;br /&gt;
&lt;br /&gt;
=Further testing=&lt;br /&gt;
The following questions may need additional testing. Feel free to add or answer&lt;br /&gt;
* Everything regarding COMMANDING and army-structure&lt;br /&gt;
** [http://www.bay12forums.com/smf/index.php?topic=175437.msg8331668#msg8331668]&lt;br /&gt;
** [http://www.bay12forums.com/smf/index.php?topic=165213.msg8335682#msg8335682]&lt;br /&gt;
** [http://www.bay12forums.com/smf/index.php?topic=174584.msg8026854#msg8026854]&lt;br /&gt;
* Stuff about the monarch, its arrival and its entourage.&lt;br /&gt;
&lt;br /&gt;
=Oddities (Bugs)=&lt;br /&gt;
Almost everything on this page could be called an oddity. Because of their unexpected usability, some may also be referred to as “undocumented features.” Others, however, are simply odd and not particularly useful, yet I hesitate to call them “bugs.”&lt;br /&gt;
* If a certain threshold is reached that makes an elected position electable, and the triggering event that initiates this evaluation is an assumption, then the resulting assumption is also referred to in the messages as an election&lt;br /&gt;
&lt;br /&gt;
=Examples=&lt;br /&gt;
&lt;br /&gt;
===The Founder===&lt;br /&gt;
The founder is a single dwarf, appointed at embark. They will be the only one ever to have this position and are not replaceable. When they lose their position some way, the position will not be assumed by another dwarf. &lt;br /&gt;
{{gamedata|title=The Founder|&lt;br /&gt;
[POSITION:THE_FOUNDER]&lt;br /&gt;
	[NAME:the founder:founders]&lt;br /&gt;
	[NUMBER:1] &lt;br /&gt;
	[SITE]&lt;br /&gt;
	[ALLOWED_CREATURE:DWARF:ALL]		- will only be filled at embark, but not assumable later.&lt;br /&gt;
	[REJECTED_CREATURE:DWARF:ALL]		- will only be filled at embark, but not assumable later.&lt;br /&gt;
	[SUCCESSION:BY_POSITION:THE_FOUNDER]	- not unassignable, also cannot be assigned to a [SQUAD] position.&lt;br /&gt;
	[PRECEDENCE:200] &lt;br /&gt;
	Non APPOINTED_BY&lt;br /&gt;
	Non ELECTED&lt;br /&gt;
	Optional: Add responsibilities to make the game select a unit with certain skills.&lt;br /&gt;
}}&lt;br /&gt;
===Marriage bar===&lt;br /&gt;
Dwarven matrons are held in great honour. Upon marriage, a female dwarf is no longer expected to perform menial labour. All dwarven males hold this position by default, granting their spouses exemption from menial work.&lt;br /&gt;
&lt;br /&gt;
The position becomes available with the arrival of the first migrants; otherwise, on embark, it would be assumed by females. Its succession rule is non-functional, but this prevents the player from unassigning the position. A squad size of 1 and the succession rules together prevent a unit from assuming the position more than once.&lt;br /&gt;
&lt;br /&gt;
With precedence set to NONE, the position name is hidden, while LAND_NAME remains visible on the nobles screen. All married females receive the suffix “, Mrs.” and are marked as Nobles.&lt;br /&gt;
&lt;br /&gt;
The practical usefulness of this position is debatable, but it serves as a clear demonstration of several mechanics.&lt;br /&gt;
{{gamedata|title=Mrs. Urist|&lt;br /&gt;
 &lt;br /&gt;
[POSITION:MRS_URIST]	&lt;br /&gt;
	[NUMBER:300]						&lt;br /&gt;
	[SITE]						&lt;br /&gt;
	[ALLOWED_CREATURE:DWARF:MALE]	&lt;br /&gt;
	Not APPOINTED_BY				&lt;br /&gt;
	Not ELECTED&lt;br /&gt;
	[LAND_NAME:Dwarven male]				&lt;br /&gt;
	[NAME:dwarven male:dwarven male]&lt;br /&gt;
	[PRECEDENCE:NONE]					&lt;br /&gt;
	[SPOUSE_FEMALE:, Mrs.:spouses]&lt;br /&gt;
	[MENIAL_WORK_EXEMPTION_SPOUSE]&lt;br /&gt;
	[REQUIRES_POPULATION:8]			&lt;br /&gt;
	[SUCCESSION:BY_POSITION:MONARCH]&lt;br /&gt;
	[SQUAD:1:member:members]&lt;br /&gt;
}}&lt;br /&gt;
===The Archduke===&lt;br /&gt;
The archduke is the leader of the civilization, but exists only from landholder 4-level. Until then, its position remains vacant. When a settlement is elevated to tier 4 (grand duke), the grand duke can appoint the ruler of the civilisation, the archduke. Because of 'Premature Succession', they themself inherit that position immediately, but only when in fortress mode. Its heir then becomes grand duke.&lt;br /&gt;
{{gamedata|title=The Archduke| no POSITION:MONARCH or other PRECEDENCE:1 &lt;br /&gt;
&lt;br /&gt;
[POSITION:THE_ARCHDUKE]&lt;br /&gt;
	[NAME:archduke:archdukes]&lt;br /&gt;
	[NAME_MALE:archduke:archdukes]&lt;br /&gt;
	[NAME_FEMALE:archduchess:archduchesses]&lt;br /&gt;
	[LAND_NAME:a archduchy]&lt;br /&gt;
	[NUMBER:1] &lt;br /&gt;
	[PRECEDENCE:1] &lt;br /&gt;
	[SUCCESSION:BY_POSITION:GRAND_DUKE]	&lt;br /&gt;
	[APPOINTED_BY:GRAND_DUKE]&lt;br /&gt;
	(add additional monarch-stuff, like spouse name, demands etc.)&lt;br /&gt;
	&lt;br /&gt;
[POSITION:GRAND_DUKE]&lt;br /&gt;
	[NAME:grand duke:grand dukes]&lt;br /&gt;
	[NAME_MALE:grand duke:grand dukes]&lt;br /&gt;
	[NAME_FEMALE:grand duchess:grand duchesses]&lt;br /&gt;
	[NUMBER:AS_NEEDED] &lt;br /&gt;
	[LAND_HOLDER:4]&lt;br /&gt;
	// Optional ...&lt;br /&gt;
	[PRECEDENCE:19]	&lt;br /&gt;
	[LAND_NAME:a archduchy] &lt;br /&gt;
	[RESPONSIBILITY:LAW_MAKING]&lt;br /&gt;
	[RESPONSIBILITY:RECEIVE_DIPLOMATS]&lt;br /&gt;
	[SUCCESSION:BY_HEIR]&lt;br /&gt;
	[APPOINTED_BY:THE_ARCHDUKE]&lt;br /&gt;
	(add additional landholder-stuff)&lt;br /&gt;
&lt;br /&gt;
!!add to [POSITION:DUKE]&lt;br /&gt;
	[REPLACED_BY:GRAND_DUKE]&lt;br /&gt;
&lt;br /&gt;
}}&lt;br /&gt;
{{Category|Modding}}&lt;br /&gt;
{{Category|Entities}}&lt;br /&gt;
{{Category|Guides}}&lt;/div&gt;</summary>
		<author><name>Joostheger</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=Position_token&amp;diff=315486</id>
		<title>Position token</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=Position_token&amp;diff=315486"/>
		<updated>2026-03-12T09:39:22Z</updated>

		<summary type="html">&lt;p&gt;Joostheger: added new found to replaced_by. /* Position tokens */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Quality|Fine}}&lt;br /&gt;
{{av}}&lt;br /&gt;
{{Modding}}&lt;br /&gt;
Position tokens define [[noble]] positions for civilizations and site governments, inside [[entity token]]s. In the vanilla game, position token definitions can be found in &amp;lt;code&amp;gt;[[Game folder|&amp;lt;Dwarf Fortress&amp;gt;]]\data\vanilla\vanilla_entities\objects\entity_default.txt&amp;lt;/code&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
{{clear}}&lt;br /&gt;
&lt;br /&gt;
==Code==&lt;br /&gt;
A position is defined with a position 'code', as an argument in the [POSITION]-tag. The same code may be used multiple times, they don't have to be unique. This code is used as reference by APPOINTED_BY, SUCCESSION:BY_POSITION, REPLACE_BY and COMMANDER. 'MONARCH' is an example of this code.&lt;br /&gt;
&lt;br /&gt;
==Position tokens==&lt;br /&gt;
These tokens belong in an entity definition, applying to a position (such as monarch) and should follow the [POSITION:POSITION_NAME] token.&lt;br /&gt;
&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#dddddd&amp;quot;&lt;br /&gt;
! Token&lt;br /&gt;
! Arguments&lt;br /&gt;
! Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ACCOUNT_EXEMPT}}&lt;br /&gt;
|&lt;br /&gt;
| The position holder is not subjected to the [[Dwarven economy|economy]]. Less than relevant right now.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ALLOWED_CLASS}}&lt;br /&gt;
| {{token|CREATURE_CLASS|creature}} token&lt;br /&gt;
| rowspan=2 | ALLOWED_CLASS: Only creatures with the specified [CREATURE_CLASS] token may be appointed to this position. Multiple entries are allowed. &amp;lt;/br&amp;gt; ALLOWED_CREATURE: Restricts the position to the specified creature and caste. Multiple entries are allowed. &amp;lt;/br&amp;gt; These tokens only apply within the entity’s own race (including its castes). &lt;br /&gt;
In world generation, they limit which units may be assigned to the position, but they do not prevent other creature types from acquiring the position through alternative means (for example, via a coup).&lt;br /&gt;
In fortress mode, these tokens are enforced during manual appointment and succession.&lt;br /&gt;
During world generation, if all allowed castes have a POP_RATIO of 0, a unit of an allowed caste will still be generated to fill the position.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ALLOWED_CREATURE}}&lt;br /&gt;
| CREATURE:CASTE&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|APPOINTED_BY}}&lt;br /&gt;
| position&lt;br /&gt;
| This position can only be chosen for the task from the nobles screen, and is available only if there is an *argument* present. For example, the GENERAL is [APPOINTED_BY:MONARCH]. Contrast [ELECTED]. Being appointed by a MONARCH seems to handle a lot of worldgen stuff, and interferes with fort mode titles. Multiple entries are allowed. If you have neither an ELECTED-token nor a APPOINTED_BY-token, the holder may always be changed (like the expedition leader).&lt;br /&gt;
''Read more: [[Advanced_Entity_Position_Mechanics#Appointment]]''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|BRAG_ON_KILL}}&lt;br /&gt;
| &lt;br /&gt;
| A creature that kills a member of this position will be sure to talk about it a lot.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CHAT_WORTHY}}&lt;br /&gt;
| &lt;br /&gt;
| In adventure mode, when referencing locations, an NPC may mention this position holder living there or having done some deed there; it also means that the position exists in world-gen, rather than being created only at the end of world-gen.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|COLOR}}&lt;br /&gt;
| [[Color]]&lt;br /&gt;
| Creatures of this position will have this [[Color]], instead of their profession color, e.g. [COLOR:5:0:1]. It is also applied to the name of the citizen in the units-screen.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|COMMANDER}}&lt;br /&gt;
| position:ALL&lt;br /&gt;
| This position will act as a commander of the specified position{{verify}}. E.g. GENERAL is [COMMANDER:LIEUTENANT:ALL]. Unknown if values other than ALL work. Multiple entries are allowed.&lt;br /&gt;
''Read more: [[Army]]''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CONQUERED_SITE}}&lt;br /&gt;
| &lt;br /&gt;
| This position is a puppet ruler, left behind in a conquered site.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|DEMAND_MAX}}&lt;br /&gt;
| number (0-100)&lt;br /&gt;
| How many demands the position can make of the population at one time.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|DESCRIPTION}}&lt;br /&gt;
| string. Readable up to 470 characters in the nobles' screen.&lt;br /&gt;
| description of this position in the nobles screen.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|DETERMINES_COIN_DESIGN}}&lt;br /&gt;
| &lt;br /&gt;
| The site's (or civ's) minted [[coin]]s, if any, will have images that reflect the personality of this position holder.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|DO_NOT_CULL}}&lt;br /&gt;
| &lt;br /&gt;
| The position won't be culled from Legends as &amp;quot;unimportant&amp;quot; during world generation.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|DUTY_BOUND}}&lt;br /&gt;
| &lt;br /&gt;
| Members of this position will never agree to 'join' your character during adventure mode. They also don't settle anywhere else but in the capital, and will not [[immigration|emigrate]] from their site. If they are not DUTY_BOUND, they will live anywhere as they like.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ELECTED}}&lt;br /&gt;
| &lt;br /&gt;
| The population will periodically select the most skill-eligible creature to fill this position for site-level positions at the player's fort. For responsibilities or positions that use more than one skill, no skill takes priority in electing a creature: an accomplished comedian is more qualified for the TRADE responsibility than a skilled appraiser. A creature may be elected to multiple positions at the same time. Contrast [APPOINTED_BY].&lt;br /&gt;
''More info: [[Elections]]''&lt;br /&gt;
''Read more: [[Advanced_Entity_Position_Mechanics#Elections]]''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|EXECUTION_SKILL}}&lt;br /&gt;
| weapon skill&lt;br /&gt;
| A mandatory sub-tag of [RESPONSIBILITY:EXECUTIONS]. Determines the weapon chosen by the executioner for their work.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|EXPORTED_IN_LEGENDS}}&lt;br /&gt;
| &lt;br /&gt;
| The various members who have filled this role will be listed in the civilisation's history.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|FLASHES}}&lt;br /&gt;
| &lt;br /&gt;
| The creature holding this position will visibly flash, like legendary citizens. Represents a properly noble station by default.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|GENDER}} &lt;br /&gt;
| male/female&lt;br /&gt;
| The position can only be held by the specified gender. Currently bugged {{bug|2714}}&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|KILL_QUEST}}&lt;br /&gt;
| &lt;br /&gt;
| The position can assign quests to adventurers.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|LAND_HOLDER}}&lt;br /&gt;
| importance tier (1-10)&lt;br /&gt;
| This is an alternative to SITE, allowing positions to be created at civ-level 'as needed' for all sites that meet the requirements to have them, which are the values set in [[Difficulty#Land_holder|land holder difficulty]] [[settings]]. The character is tied permanently to a particular site, but also operates at the civ-level.&lt;br /&gt;
''Read more: [[Advanced_Entity_Position_Mechanics#land holders]]''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|LAND_NAME}}&lt;br /&gt;
| string. Readable up to 21 characters in the nobles' screen.&lt;br /&gt;
| The name the area takes on when under the control of a LAND_HOLDER. E.g. for the DUKE, [LAND_NAME:a duchy]. If the position is not a [[LAND_HOLDER]], the land_name is still displayed left of the position in the nobles menu.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MANDATE_MAX}}&lt;br /&gt;
| number (0-100)&lt;br /&gt;
| The maximum number of mandates the position can make at once.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MENIAL_WORK_EXEMPTION}}&lt;br /&gt;
| &lt;br /&gt;
| The position holder cannot be assigned labors. It only works for [SITE]-positions.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MENIAL_WORK_EXEMPTION_SPOUSE}}&lt;br /&gt;
| &lt;br /&gt;
| The spouse of the position holder doesn't have to work, either - see above.&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MILITARY_SCREEN_ONLY}}&lt;br /&gt;
|&lt;br /&gt;
| This position cannot be appointed from the nobles screen. Intended for militia captains and other squad leaders to reduce clutter. Currently nonfunctional{{bug|8965}}&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NAME}}&lt;br /&gt;
| singular:plural. Readable up to 21 characters in the nobles' screen and up to 30 in the unit list.&lt;br /&gt;
| The name of the position.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NAME_MALE}}&lt;br /&gt;
| singular:plural. Readable up to 21 characters in the nobles' screen and up to 30 in the unit list.&lt;br /&gt;
| If the creature holding the position is male, this is the position's name. E.g. for MONARCH, [NAME_MALE:king:kings]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NAME_FEMALE}}&lt;br /&gt;
| singular:plural. Readable up to 21 characters in the nobles' screen and up to 30 in the unit list.&lt;br /&gt;
| If the creature holding the position is female, this is the position's name. E.g. for MONARCH, [NAME_FEMALE:queen:queens]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NUMBER}}&lt;br /&gt;
| &lt;br /&gt;
* number/AS_NEEDED&lt;br /&gt;
| How many of the position there should be. If the [SITE] token exists, this is per site, otherwise this is per civilisation. AS_NEEDED applies mainly to positions involved with the military command chain; this is used to allow armies to expand to whatever size they need to be. Other non-military positions like the land_holders or the [[messenger]] with NUMBER:AS_NEEDED will also be appointed. &lt;br /&gt;
The problem with [[Lieutenant]]s and [[Captain]]s not being created, is their AS_NEEDED number. They are only then created when they're needed, and that has some pretty unusual conditions. When a fixed number is used, they are appointed with the creation of the civ. &lt;br /&gt;
If the NUMBER is set at a fixed value higher than 1, the position is always filled up full. If the position is available on embark, it is completely filled up with only the first dwarf. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PRECEDENCE}}&lt;br /&gt;
| number (0-30000)/NONE&lt;br /&gt;
| How important the position is in society; a lower number is more important and displayed higher in the Nobles menu. For MONARCH it's 1, for MILITIA_CAPTAIN it's 200.&lt;br /&gt;
 &lt;br /&gt;
The game marks the first non-[SITE] position with [PRECEDENCE:1] as the ruler, for both embark screen and mountainhome purposes. When it is empty, [REPLACED_BY] another position, or not yet created because of [REQUIRES_POPULATION], the screen just says 'None' as the holders' name. &lt;br /&gt;
&lt;br /&gt;
Landholders can become the ruler, if they are the first defined position with precedence of 1. civ-position can also be created without precedence. Positions may have the same precedence and will be appointed, although the effect is unknown. Precedence has no effect on who's doing the job, if both positions have the same responsibilities.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PUNISHMENT_EXEMPTION}}&lt;br /&gt;
| &lt;br /&gt;
| The position holder will not be held accountable for his or her crimes. Currently nonfunctional.{{bug|4589}}{{verify|seems to prevent punishment when they are convicted of actual crime}}&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|QUEST_GIVER}}&lt;br /&gt;
|&lt;br /&gt;
| The position holder can give quests in Adventure mode. Functionality in 0.31.13 and later is uncertain.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|REJECTED_CLASS}}&lt;br /&gt;
| CREATURE_CLASS Token&lt;br /&gt;
| Creatures of the specified class cannot be appointed to this position. Multiple entries are allowed&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|REJECTED_CREATURE}}&lt;br /&gt;
| CREATURE:CASTE&lt;br /&gt;
| Restricts position holders by CREATURE type. Multiple entries are allowed. It doesn't seem to work in world-gen. When checking Legends mode, units are seen assigned this position regardless of their creature-type or caste. It does work in Fortress mode.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|REPLACED_BY}}&lt;br /&gt;
| position&lt;br /&gt;
| This position is absorbed by another down the line. For example, expedition leader is [REPLACED_BY:MAYOR]. Only a single entry is allowed. &lt;br /&gt;
&lt;br /&gt;
It can work with both [REQUIRES_POPULATION] and [REQUIRES_MARKET].&lt;br /&gt;
 &lt;br /&gt;
The tag differs in function for landholders, see [[Advanced_entity_position_mechanics]]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|REQUIRED_BEDROOM}}&lt;br /&gt;
| number (0-1000000)&lt;br /&gt;
| The position holder requires a bedroom with at least this value.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|REQUIRED_BOXES}}&lt;br /&gt;
| number (0-100)&lt;br /&gt;
| The position holder requires at least this many boxes.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|REQUIRED_CABINETS}}&lt;br /&gt;
| number (0-100)&lt;br /&gt;
| The position holder requires at least this many cabinets.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|REQUIRED_DINING}}&lt;br /&gt;
| number (0-1000000)&lt;br /&gt;
| The position holder requires a dining room with at least this value.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|REQUIRED_OFFICE}}&lt;br /&gt;
| number (0-1000000)&lt;br /&gt;
| The position holder requires an office with at least this value.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|REQUIRED_RACKS}}&lt;br /&gt;
| number (0-100)&lt;br /&gt;
| The position holder requires at least this many weapon racks.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|REQUIRED_STANDS}}&lt;br /&gt;
| number (0-100)&lt;br /&gt;
| The position holder requires at least this many armour stands.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|REQUIRED_TOMB}}&lt;br /&gt;
| number (0-1000000)&lt;br /&gt;
| The position holder requires a tomb with at least this value.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|REQUIRES_MARKET}}&lt;br /&gt;
| &lt;br /&gt;
| Does not have anything directly to do with [[trade depot|trade depots]].  It means that in minor sites (such as hillocks) the position will not appear, while in major sites (such as dwarf fortresses) it will. Depending on its economical position in the region, a [[hamlet]] may build a market and develop into a [[Town]] eventually. That is when this position becomes available. It only works in combination with the [SITE]-token.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|REQUIRES_POPULATION}}&lt;br /&gt;
| number&lt;br /&gt;
| The position requires the population to be at least this number before it becomes available, or before the position holder will move in.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|RESPONSIBILITY}}&lt;br /&gt;
| responsibility&lt;br /&gt;
| The position holder does a thing. See the table below for suitable arguments. A position does not need to have a responsibility.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|RULES_FROM_LOCATION}}&lt;br /&gt;
| &lt;br /&gt;
| If there is a special location set aside for rulers, such as a human castle/mead hall, the position holder will always be found at that particular location. Does nothing for dwarven nobles, because at present, dwarves have no such special locations. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SITE}}&lt;br /&gt;
| &lt;br /&gt;
| Every site government will have the defined number of this position instead of the whole civilization; provided that other criteria (if any) are met. Unless LAND_HOLDER is present instead, the defined number of the position will be created only for the civilization as a whole. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SLEEP_PRETENSION}}&lt;br /&gt;
| &lt;br /&gt;
| The position holder will get upset if someone with a higher PRECEDENCE holds quarters with a greater value than their own.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SPECIAL_BURIAL}}&lt;br /&gt;
| &lt;br /&gt;
| The civilization will inter the corpse of the position holder in a special grave, either in catacombs or in monuments. If that grave is disturbed, the position holder can return as a [[mummy]]. {{verify}}&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SPOUSE}}&lt;br /&gt;
| singular:plural. Readable up to 30 characters in the unit list.&lt;br /&gt;
| The name of the position holder's spouse.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SPOUSE_FEMALE}}&lt;br /&gt;
| singular:plural. Readable up to 30 characters in the unit list.&lt;br /&gt;
| If the spouse of the creature holding the position is female, this is the spouse's position name.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SPOUSE_MALE}}&lt;br /&gt;
| singular:plural. Readable up to 30 characters in the unit list.&lt;br /&gt;
| If the spouse of the creature holding the position is male, this is the spouse's position name.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SQUAD}}&lt;br /&gt;
| number:singular:plural&lt;br /&gt;
| The position holder is authorized to form a military squad, led by themselves using the [[leader]] and [[military tactics]] skills. The number denotes the maximum headcount. The noun used to describe the subordinates (e.g. royal guard) is used in adventure mode for the adventurer. This token is used together with [RESPONSIBILITY:LAW_ENFORCEMENT] for giving [[quest]]s to adventurers as [[Hearthperson|hearthpeople]]. Further details: [[Advanced_entity_position_mechanics#Military]]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SUCCESSION}}&lt;br /&gt;
| &lt;br /&gt;
* BY_HEIR / BY_POSITION:position&lt;br /&gt;
| How a new position holder is chosen. A single position can have multiple BY_POSITION tokens.  See [[Noble]] for more information on how succession is handled in the game. &lt;br /&gt;
The SUCCESSION-Tag is also considered when a new positions opens up, for example when a required population number is reached. If a valid successor is available, they will be the one taking that position initially, without appointment or election.&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Responsibilities ==&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#dddddd&amp;quot;&lt;br /&gt;
! Argument&lt;br /&gt;
! Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ACCOUNTING}}&lt;br /&gt;
| Found on [[bookkeeper]]. Position will use [[record keeper]] skill to keep track of stocks.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ADVISE_LEADERS}}&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ATTACK_ENEMIES}}&lt;br /&gt;
| Found on elven [[ranger captain]] and human warrior. Effect unknown.{{verify}}&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|BUILD_MORALE}}&lt;br /&gt;
| Found on [[champion]]. Citizens get a special thought for &amp;quot;talking to a pillar of society&amp;quot; when speaking to this noble.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|BUILDING_SAFETY}}&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|COLLECT_TAXES}}&lt;br /&gt;
| Currently unused - was originally assigned to the tax collector.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CONSTRUCTION_PERMITS}}&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|DELIVER_MESSAGES}}&lt;br /&gt;
| Found on [[messenger]]. Position travels to other sites and uses [[social skill]]s.&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|EQUIPMENT_MANIFESTS}}&lt;br /&gt;
| Currently unused - was originally assigned to the arsenal dwarf.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ESCORT_TAX_COLLECTOR}}&lt;br /&gt;
| Currently unused - was originally assigned to the Royal Guards (squad members beneath the Hammerer).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ESPIONAGE}}&lt;br /&gt;
| Found on [[dungeon master]] and the [[Elf|elven]] [[General|princess]] and uses the [[schemer]] skill.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ESTABLISH_COLONY_TRADE_AGREEMENTS}}&lt;br /&gt;
| Found on [[outpost liaison]]. Position travels with the caravan and uses [[social skill]]s to make trade agreements with any settlements that it visits, provided they are domestic, report the news and promote {{token|LAND_HOLDER|e}} positions. Also reports recent news. Presumably has no effect at site level. Crucially, it does not visit foreign settlements, but the civ-level TRADE position does the exact same thing in its position. They arrive the same time as the caravan arrives, and this can thus be modded by setting {{token|ACTIVE_SEASON|e}}&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|EXECUTIONS}}&lt;br /&gt;
| Found on [[hammerer]]. Position executes death penalty judgements with a weapon of the appropriate skill. Cannot be combined with LAW_ENFORCEMENT, resulting in the &amp;quot;Invalid Officer&amp;quot;-error.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|FIRE_SAFETY}}&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|FOOD_SUPPLY}}&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|HEALTH_MANAGEMENT}}&lt;br /&gt;
| Found on [[chief medical dwarf]]. Position will use [[diagnostician]] skill to evaluate [[wounds]] and schedule [[Health care|treatment]], reported in each citizen's Health tab.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|JUDGE}}&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|LAW_ENFORCEMENT}}&lt;br /&gt;
| Found on [[sheriff]]/[[captain of the guard]]. Position and its subordinates are in charge of punishing criminals. A {{token|SITE|position}} position holding this responsibility plus the {{token|SQUAD|position}} token (or allowing the entity to have a {{token|SITE_VARIABLE_POSITIONS|e}} with this responsibility) is required for an adventurer from a given civilization to start as a [[hearthperson]], [[Captain of the guard|fortress guard]], etc. Cannot be combined with EXECUTIONS, resulting in the &amp;quot;Invalid Officer&amp;quot;-error.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|LAW_MAKING}}&lt;br /&gt;
| Found on [[monarch]]s and [[:Category:Aristocrats|nobles]]. Will be referred to as the leader of the site in adventure mode and they may designate the site as being the capital city for civ-level positions. This position is in charge of creating procedural positions, corresponding to either {{token|VARIABLE_POSITIONS|e}} or {{token|SITE_VARIABLE_POSITIONS|e}}. Position-holders that have attained [[immortality]] may issue oppressive edicts to protect themselves against suspicion.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MAINTAIN_BRIDGES}}&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MAINTAIN_ROADS}}&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MAINTAIN_SEWERS}}&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MAINTAIN_TUNNELS}}&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MAKE_INTRODUCTIONS}}&lt;br /&gt;
| Position will make a 'social call' to an established foreign settlement, complimenting or insulting them depending on relations and reporting the news.  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MAKE_PEACE_AGREEMENTS}}&lt;br /&gt;
| Found on diplomat. Position negotiates peace treaties in order to end wars.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MAKE_TOPIC_AGREEMENTS}}&lt;br /&gt;
| Found on [[diplomat]]. Position negotiates special agreements, such as tree cutting quotas. Used when elevating a settlement in the {{token|LAND_HOLDER|position}} chain up from level 1.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MANAGE_ANIMALS}}&lt;br /&gt;
| Found on [[dungeon master]].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MANAGE_LEADER_HOUSEHOLD_CLEANLINESS}}&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MANAGE_LEADER_HOUSEHOLD_DRINKS}}&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MANAGE_LEADER_HOUSEHOLD_FOOD}}&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MANAGE_PRODUCTION}}&lt;br /&gt;
| Found on [[manager]]. Position enables the use of workshop profiles and uses the [[organizer]] skill to process work orders entered in the job manager after the fortress population reaches 20.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MEET_WORKERS}}&lt;br /&gt;
| Found on [[expedition leader]]/[[mayor]]. Position uses the various [[social skill]]s to hold meetings with unhappy citizens and try to pacify them with happy thoughts. In adventure mode, [SITE] positions with this responsibility handle petitions to make the player a performer for the local government.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MILITARY_GOALS}}&lt;br /&gt;
| Found on [[monarch]]/[[:Category:Aristocrats|landholder]]/[[:Category:Elected Nobles|leaders]]. Character is in charge of going to war and making peace for the government they work for. Without a position with this responsibility at civ level the civilization will not be able to make peace and its sites will wage war on each other constantly, and as a result, all viable civilizations must have one leader with this tag at civ level. This appears not to be a problem for [[kobold]]s, presumably due to the {{token|SKULKING|e}}. If no position has this responsibility in fortress mode, players are unable to start [[missions]].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MILITARY_STRATEGY}}&lt;br /&gt;
| Found on [[general]]/[[militia commander]]. Means that they will command the armies of their site or civilization. Issues the orders for the teams conducting raids or other operations away from the fortress. During worldgen, position will go on expeditions to tame exotic creatures. Counterintuitively not by the TAME_EXOTICS-position. The destinations of these expeditions are determined by the entities USE_(...)_ANIMALS-tokens. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|OVERSEE_LEADER_HOUSEHOLD}}&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PATROL_TERRITORY}}&lt;br /&gt;
| Found on elven ranger captain. Effect unknown.{{verify}}&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PREPARE_LEADER_MEALS}}&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|RECEIVE_DIPLOMATS}}&lt;br /&gt;
| Found on [[monarch]]/[[:Category:Aristocrats|landholder]]/[[:Category:Elected Nobles|leaders]]. Position uses the various social skills to hold meetings with incoming diplomats and liaisons.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|RELIGION}}&lt;br /&gt;
| Found on elven [[druid]] and uses [[social skill]]s. Position informs you about worship cults{{verify}}&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SORT_AMMUNITION}}&lt;br /&gt;
| Currently unused - was originally assigned to the arsenal dwarf.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TAME_EXOTICS}}&lt;br /&gt;
| Position will tame animals with the {{token|PET_EXOTIC}} token. Currently unused - was originally assigned to the dungeon master. Expeditions to tame exotic creatures will be done by the MILITARY_STRATEGY-position&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TRADE}}&lt;br /&gt;
| Found on [[broker]]. Position will use Appraisal skill to display value estimates and the various Social skills to trade at the depot. When applied to other civilizations, this position will arrive with the caravan to make trade agreements (like the Human Guild Representative from older versions) and behaves otherwise like the civ's own ESTABLISH_COLONY_TRADE_AGREEMENTS position holder. They arrive the same time as the caravan arrive and this can thus be modded by setting {{token|ACTIVE_SEASON|e}}&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|UPGRADE_SQUAD_EQUIPMENT}}&lt;br /&gt;
| Currently unused - was originally assigned to the arsenal dwarf.&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Related tokens ==&lt;br /&gt;
The following two ENTITY tokens are not actually position tokens, but bear mentioning on this page because they can modify the way that a civilization's positions behave:&lt;br /&gt;
&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#dddddd&amp;quot;&lt;br /&gt;
! Token&lt;br /&gt;
! Arguments&lt;br /&gt;
! Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|VARIABLE_POSITIONS}}&lt;br /&gt;
| Position responsibility or ALL&lt;br /&gt;
| Allows a responsibility to be taken up by a dynamically generated position (such as Law-maker).&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Why won't my positions appear? ==&lt;br /&gt;
The way DF determines what positions will actually ''appear'' in your fortress is somewhat counter-intuitive and fairly limiting. This guide should help you understand what you can do to actually get your positions working properly.&lt;br /&gt;
&lt;br /&gt;
There are five tokens governing which positions appear in your fortress - LAND_HOLDER, REQUIRES_POPULATION, APPOINTED_BY, ELECTED, and REPLACED_BY. The first two determine when your fortress is eligible for a new position, the next two determine how a new position for which your fortress is eligible can be added, and the fifth allows you to clear up obsolete positions. Unfortunately, they also interact in some strange ways that makes creating interesting position structures difficult.&lt;br /&gt;
&lt;br /&gt;
When you start a new fortress, DF compiles a list of your initial positions. To do this, it looks at the requirements for each position - any position whose only requirement is less than seven dwarves (either because they have no requirement tokens, or because their only requirement tokens are [REQUIRES_POPULATION: =&amp;lt; 7] or [LAND_HOLDER:some trigger whose only requirement is some number of dwarves equal to or less than 7]). Most importantly, ''any'' position whose only requirement is a LAND_HOLDER requirement, regardless of what the trigger for that requirement is, will be added if another eligible starting position is REPLACED_BY it. '''A non-LAND_HOLDER position that is REPLACED_BY a LAND_HOLDER position will never appear.''' With this list compiled, the game culls all positions that are REPLACED_BY another eligible position, and then culls all positions that have the APPOINTED_BY token. '''You may not embark with any appointed positions.''' Any remaining positions are then filled by a dwarf chosen at random.&lt;br /&gt;
&lt;br /&gt;
'''Positions do not automatically appear when you reach their requirements.''' For example, if you remove the ELECTED token from the Mayor, then the Mayor will never appear, even once you reach their required number of dwarves. '''For a position that does not appear at embark to appear in your fortress, it must be APPOINTED_BY another position or ELECTED.'''&lt;br /&gt;
&lt;br /&gt;
Naturally, this is more complicated than it looks. '''APPOINTED_BY positions must be appointed by another position already in your fortress, or a civ-level position. Only LAND_HOLDER positions may be appointed by civ-level positions.''' LAND_HOLDER positions that are APPOINTED_BY civ-level positions are inherently tied to civ-level tokens with the ESTABLISH_COLONY_TRADE_AGREEMENTS responsibility. If a fortress meets the LAND_HOLDER_TRIGGER for a new LAND_HOLDER tier when a caravan leaves, then the next time the outpost liaison or equivalent arrives, they will offer to make you an official colony, which will allow you to select all positions for that LAND_HOLDER level. '''Each time they appear, the outpost liaison will only promote your fortress one tier up the LAND_HOLDER track.''' The biggest problem with this system is that you may set your LAND_HOLDER_TRIGGERS such that you are eligible for the first tier of LAND_HOLDER positions at embark. '''If you are eligible for the first tier of LAND_HOLDER positions at embark, then all first-tier positions will appear twice - once at embark, and again when the outpost liaison comes to appoint you to the first tier.'''&lt;br /&gt;
&lt;br /&gt;
If civ-positions are neither APPOINTED_BY nor ELECTED, they still will be filled. &lt;br /&gt;
&lt;br /&gt;
Read more: [[Advanced_Entity_Position_Mechanics]]&lt;br /&gt;
&lt;br /&gt;
{{Category|Modding}}&lt;br /&gt;
{{Category|Tokens}}&lt;br /&gt;
[[ru:Position token]]&lt;/div&gt;</summary>
		<author><name>Joostheger</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=Advanced_entity_position_mechanics&amp;diff=315485</id>
		<title>Advanced entity position mechanics</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=Advanced_entity_position_mechanics&amp;diff=315485"/>
		<updated>2026-03-12T09:35:28Z</updated>

		<summary type="html">&lt;p&gt;Joostheger: found a way to combine REPLACED_BY and REQUIRES_MARKET /* [REPLACED_BY] and [REQUIRES_POPULATION] */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Quality|Fine}}&lt;br /&gt;
{{Modding}}&lt;br /&gt;
&lt;br /&gt;
= Introduction = &lt;br /&gt;
&lt;br /&gt;
[http://www.bay12forums.com/smf/index.php?topic=182239.0 Discussion thread on the forum]&lt;br /&gt;
&lt;br /&gt;
This page documents observed and tested behavior of entity positions in Dwarf Fortress that is not fully described elsewhere on the wiki. It focuses on advanced interactions between position tokens, including appointment, succession, election, and responsibility handling, across both civilization-level and site-level entities.&lt;br /&gt;
&lt;br /&gt;
The mechanics described here are based on empirical testing in world generation and fortress mode, supplemented where necessary by raw analysis. In several cases, the game’s behavior is determined by evaluation order and interaction between multiple tags, rather than by individual tokens in isolation.&lt;br /&gt;
&lt;br /&gt;
This page is intended for modders and advanced players who are designing or debugging custom entity position structures. It does not restate basic position mechanics, but instead highlights edge cases, non-obvious interactions, and behaviors that may appear inconsistent or undocumented.&lt;br /&gt;
&lt;br /&gt;
Unless stated otherwise, the described behavior applies to current versions of the game and may differ from older releases.&lt;br /&gt;
&lt;br /&gt;
==What is an entity? What is a position?==&lt;br /&gt;
An [[entity]] is an organizational structure that can have relationships with other entities, usually known as a [[civilization]] or a &amp;quot;[[site]] government&amp;quot; in the game, but merchant [[guild]]s, religious organizations, necromancer towers, and [[bandit]] groups are also entities. An entity can have positions - in most cases, these are hardcoded and generated by the game, but as for civilizations and sites, the [[raw file]]s can be customised.&lt;br /&gt;
&lt;br /&gt;
A position is a special relationship between a unit and an entity. The unit holding a position has a larger influence over that entity than other citizens. Positions are mostly known as [[nobles]], but in this article. the technical term is used.&lt;br /&gt;
&lt;br /&gt;
=Position levels (Site/Civ) and their interaction=&lt;br /&gt;
There are two basic types of positions that are customizable: '''civ(ilization)''' level and '''site level'''. Positions with the tag [SITE] are at site level, positions without the tag [SITE] are at 'civ level'. These two types of nobles can be considered '''loosely related systems'''. There are a few places where they can interact with each other.&lt;br /&gt;
&lt;br /&gt;
Civ-level positions are in charge of the civilization as a whole, managing national [[trade]], laws, and [[war]]s. These are, for example, the vanilla [[monarch]], [[diplomat]] and [[general]]. (Note that the general doesn't do anything in either mode in the current version.)&lt;br /&gt;
&lt;br /&gt;
'''[LAND_HOLDER]''' nobles are also positions at civ-level. These units are members of the national government, but have gained authority over some land or site. Once they do, they move to that place, but their position is still regarded as a civ-level position.&lt;br /&gt;
&lt;br /&gt;
Site-level position holders are members of a site government (subsidiary to the civilization), and manage local affairs in that location. These are, for example, the [[mayor]], the [[sheriff]] and the [[broker]].&lt;br /&gt;
&lt;br /&gt;
==Table of interaction between different position levels==&lt;br /&gt;
In this table, the possible interactions between different position levels are summarized. &lt;br /&gt;
The header row shows the positions defining the tokens.&lt;br /&gt;
&lt;br /&gt;
The left column shows the position type that is referred to.&lt;br /&gt;
Example:  &lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! referred position-type&lt;br /&gt;
! LAND_HOLDER&lt;br /&gt;
|-&lt;br /&gt;
| civilization&lt;br /&gt;
|  &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;(baron is) APPOINTED_BY:MONARCH&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
color coding: &amp;lt;/br&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;Exists in vanilla&amp;lt;/span&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;Possible with mods&amp;lt;/span&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;Not possible&amp;lt;/span&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;possible to some extent.&amp;lt;/span&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;not yet fully investigated.&amp;lt;/span&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! referred position-type&lt;br /&gt;
! Civilization&lt;br /&gt;
! SITE&lt;br /&gt;
! LAND_HOLDER&lt;br /&gt;
! CONQUERED_SITE&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Civilization&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;SUCCESSION '''(1)'''&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| SITE&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;SUCCESSION '''(2)'''&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;APPOINTED_BY '''(3)'''&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;SUCCESSION '''(4)'''&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| LAND_HOLDER&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY '''(6)'''&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;SUCCESSION '''(5)'''&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;REPLACED_BY '''(7)'''&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;SUCCESSION '''(8)'''&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;CONQUERED_SITE&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; COMMANDER &amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; REPLACED_BY &amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt; SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; COMMANDER &amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; REPLACED_BY &amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt; SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; COMMANDER &amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; REPLACED_BY &amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; COMMANDER &amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; REPLACED_BY &amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Remarks:&lt;br /&gt;
# Works only in world-gen, if a unit with that civ-position is present at the site.&lt;br /&gt;
# Works only in world-gen, the site-position holding unit will then move to the capital.&lt;br /&gt;
# Is completely ignored&lt;br /&gt;
# Works only in world-gen.&lt;br /&gt;
# Works only in world-gen.&lt;br /&gt;
# Won't appear at all&lt;br /&gt;
# This is necessary for the landholder chain to work properly, it doesn’t work otherwise.&lt;br /&gt;
# This works only outside of the landholder chain, so when landholders are simply regarded as civ-level nobles. might also work in world-gen&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
== Other interactions ==&lt;br /&gt;
&lt;br /&gt;
Unfortunately, interactions with positions of other entities don't seem possible, such as APPOINTED_BY: HIGH_PRIEST. With [VARIABLE_POSITIONS], positions are automatically created with codes like CUSTOM_LAW_MAKER_2, but interaction with these positions don't seem to work, either. For more info on those, see [[Variable positions]]&lt;br /&gt;
&lt;br /&gt;
=General=&lt;br /&gt;
&lt;br /&gt;
==Civ-level nobles living at your site==&lt;br /&gt;
Nobles from your civilization can come to live at your fortress. This happens in vanilla with landholders such as [[Baron]], [[Count]] and [[Duke]], with the Monarch, but sometimes also with non-landed LAND_HOLDERS.&lt;br /&gt;
&lt;br /&gt;
When a civ-level noble becomes a [[citizen]] at your location, their position is shown among the site-level positions in your [[nobles screen]]. They appear to function as a site-level noble. They may have [[demand]]s, [[mandate]]s, [[squad]]s and the like. They can appoint nobles at the site-level.&lt;br /&gt;
&lt;br /&gt;
If they have certain [RESPONSIBILITY]ies, they do the tasks that go with them.&lt;br /&gt;
&lt;br /&gt;
==Fortress mode, world-gen and their differences==&lt;br /&gt;
Their are a few differences in how positions function between fortress mode (normal play mode) and the world generation (world-gen). &lt;br /&gt;
&lt;br /&gt;
In '''fortress mode''', the player has some control over the appointment of nobles, limited by elections, automatic filled-in positions and succession rules. Pre-fortress mode, which is referred to as '''world-gen''', the game will always attempt to assign nobles whenever possible. It is subjected to the same rules as in fortress-mode, but there are some exceptions. In '''[[World activities]]''', which is the thing that happens in the world while you play fortress mode, it seems as if the same rules are applied as fortress mode. &lt;br /&gt;
&lt;br /&gt;
A difference between player-fortress-mode and world-gen, is causes by visibility (see below). Positions that are not visible by the player and thus not available for assignment, will be available in world-gen and will thus be automatically assigned.&lt;br /&gt;
&lt;br /&gt;
In fortress mode, a position that is both [ELECTED] and [APPOINTED_BY], cannot be appointed by the player and is also not elected, and can thus not be filled. But in world-gen sites however, these positions are automatically filled.&lt;br /&gt;
&lt;br /&gt;
Positions with [AS_NEEDED] are almost never created and filled in world-gen (depending on their [RESPONSIBILITY]ies), but can always be used in player mode.&lt;br /&gt;
&lt;br /&gt;
A position can, in fortress mode, be filled by the same unit. A unit can gain multiple positions in fortress mode, for example because of [[elections]]. This will not happen in world-gen mode: a unit can only have one position. See also remarks on 'embark' and 'Losing a position'.&lt;br /&gt;
&lt;br /&gt;
In world-gen, [SUCCESSION] between civ-levels and [SITE-]levels may happen. This will not happen in fortress mode, or even off-site in [[World activities]].&lt;br /&gt;
&lt;br /&gt;
In fortress mode, premature SUCCESSION may happen. This will not happen in world-gen mode.&lt;br /&gt;
&lt;br /&gt;
==Units holding multiple positions in multiple entities==&lt;br /&gt;
A unit can hold multiple positions in its civilisation or in its site-entity, however this does not happen in world-gen. Only at player-managed sites can units be holding multiple positions at once. (It is probably not possible for a unit to hold a position in two different civilisations or two different sites.)&lt;br /&gt;
&lt;br /&gt;
In world-gen, if there are too many positions to be filled, they simply stay empty until more units are available. E.G, a unit at a site might inherit a civ-level position and still remain a member of the local government. When this happens however, they move to the capital. If a unit gains a new position, either inherited or otherwise, it drops the previous one. If a unit assumes a civ-position in fortress mode, it leaves the current position. &lt;br /&gt;
&lt;br /&gt;
If a unit holds the same (site-)position multiple times, it has no additional effect.&lt;br /&gt;
&lt;br /&gt;
If a unit holds multiple different positions of the same entity, it has all those positions' responsibilities and properties, stacked up. Presumably, the demands for those combined positions are determined by the highest.&lt;br /&gt;
 &lt;br /&gt;
A unit holding a position with a succession token can be assigned another position with a (different) succession token. &lt;br /&gt;
&lt;br /&gt;
A unit holding a position with a squad-position cannot hold another squad-position. It is dropped from the first, when it gets its second assigned. &lt;br /&gt;
A unit holding a position with a succession token cannot be assigned to a squad-position - the unit is simply not available. It works the other way around, though.&lt;br /&gt;
&lt;br /&gt;
=Specific Tags and functions=&lt;br /&gt;
==[PRECEDENCE]==&lt;br /&gt;
The first defined position with precedence of 1 counts as the ruler of the civ. See also: [[Position_token#PRECEDENCE|PRECEDENCE]]. &lt;br /&gt;
&lt;br /&gt;
If the precedence is omitted or has a negative value, the game sets 0 as precedence, which seems to have no effect whatsoever.&lt;br /&gt;
&lt;br /&gt;
When a unit has multiple positions, the name of the position with the highest rank in precedence is shown behind the unit's name.&lt;br /&gt;
&lt;br /&gt;
If you omit precedence entirely, or set it to [PRECEDENCE:NONE], the position name will not be shown after the unit’s name. Your *Urist Mason* will remain simply *Mason*. This can be useful for positions that are unimportant or purely functional. The position will also not appear in the civilisation overview of your site on the world map. The position name is shown in messages, but remains hidden on the nobles screen as well. To make it visible there, use [LAND_NAME].&lt;br /&gt;
&lt;br /&gt;
==[RESPONSIBILITY]ies==&lt;br /&gt;
Both civ and [SITE] positions can carry responsibilities. However, not all responsibilities are active for both types: some function only for civ positions, others only for site positions. When a civ noble arrives at a site and takes up residence, they do not perform responsibilities that are intended for SITE nobles. As a result, these responsibilities neither trigger their associated tasks nor unlock related game mechanics. For example, a civ-level manager living in a fortress will not perform management duties there and doesn't unlock the management-screen, even with an assigned office. &lt;br /&gt;
This behavior applies to the following [SITE]-level responsibilities:&lt;br /&gt;
* [RESPONSIBILITY:ACCOUNTING]&lt;br /&gt;
* [RESPONSIBILITY:BUILD_MORALE]&lt;br /&gt;
* [RESPONSIBILITY:HEALTH_MANAGEMENT]&lt;br /&gt;
* [RESPONSIBILITY:LAW_ENFORCEMENT]&lt;br /&gt;
* [RESPONSIBILITY:MANAGE_PRODUCTION]&lt;br /&gt;
* [RESPONSIBILITY:MEET_WORKERS]&lt;br /&gt;
* [RESPONSIBILITY:TRADE]  (functions differently)&lt;br /&gt;
Other responsibilities may be affected as well, but have not yet been fully tested.&lt;br /&gt;
&lt;br /&gt;
===World-gen effects of the [RESPONSIBILITY] of available positions ===&lt;br /&gt;
It is possible to cause civs and individual sites to change their behavior substantially when they reach a certain size, by controlling nobles. &lt;br /&gt;
* If a site can only appoint a position with [MILITARY_GOALS] after reaching a particular size, that site will not send armies on missions until the required size is reached.&lt;br /&gt;
* A civ-level [LAW_MAKING] position is required for the civilization to have any kind of cohesion. Without it, sites will be constantly embroiled in territorial disputes and civil wars will be commonplace.&lt;br /&gt;
* [MILITARY_STRATEGY] positions go out and tame wild animals. This makes your civ gain those animals as domesticated and also brings them in sieges.&lt;br /&gt;
* The [[Personality_facet|Personality]] of the position's holder determines how they lead the civ.&lt;br /&gt;
&lt;br /&gt;
===[DELIVERS_MESSAGES]===&lt;br /&gt;
The only [AS_NEEDED]-position that is created in worldgen based on responsibility is that of the site-level responsibility [DELIVERS_MESSAGES].&lt;br /&gt;
&lt;br /&gt;
===Outpost Liaisons and Diplomats===&lt;br /&gt;
Civ-positions with the responsibility [ESTABLISH_COLONY_TRADE_AGREEMENTS] ([[Outpost_Liaison|Outpost Liaison]]s) will meet with the site-noble who has responsibility for [RECEIVE_DIPLOMATS] and the highest rank of precedence (i.e. the lowest precedence value). Usually this is the [[Expedition_leader|Expedition leader]].&lt;br /&gt;
&lt;br /&gt;
Once a [LAND_HOLDER] is assigned to the site, civ-positions with the responsibility [MAKE_TOPIC_AGREEMENTS] ([[Diplomat]]s) will meet with '''civ'''-level nobles present at the site who have the [RECEIVE_DIPLOMATS] responsibility. If multiple eligible nobles are available, one is selected at random. If no eligible noble is present, the diplomat leaves angrily. If the landholder is no longer present at the site, diplomats will not arrive at all.&lt;br /&gt;
&lt;br /&gt;
It appears that Outpost Liaisons and Diplomats are chosen for a diplomatic mission based on availability. When multiple candidates exist, the position defined last in the raws is most often selected.&lt;br /&gt;
&lt;br /&gt;
===[TRADE]===&lt;br /&gt;
Civ-level nobles with [TRADE] will arrive with the caravan, just as the Outpost Liaison. Their behavior is no longer active in the vanilla game, but the mechanics are still present. See [[40d:Guild_representative|Guild representative]] for more details. This civ-noble will only meet with the SITE noble with [TRADE], usually the [[Broker]].&lt;br /&gt;
&lt;br /&gt;
If two civ-nobles exist with both [TRADE] and [ESTABLISH_COLONY_TRADE_AGREEMENTS], they both arrive at the same time. Even if both tokens are assigned to a single position, if more than one instance of that position exists, two of them will arrive. However in that case, somehow the elevation of the site and appointment of landholder isn't offered.&lt;br /&gt;
&lt;br /&gt;
If the SITE-noble they intend to meet has both [TRADE] and [RECEIVE_DIPLOMATS], only one meeting will proceed and the other is cancelled. However, when two SITE-nobles are available, each with either [TRADE] or [RECEIVE_DIPLOMATS], both meetings will proceed and both civ-nobles will attempt to negotiate a trade agreement. It is not known what happens if these agreements are accepted or refused.&lt;br /&gt;
&lt;br /&gt;
In the trade depot, the last defined position with the [TRADE] responsibility is shown as broker. However when requesting a trader, the first defined position with [TRADE] will actually go there to do the trade.&lt;br /&gt;
&lt;br /&gt;
==[NUMBER]==&lt;br /&gt;
A position might be defined with a number. In that case, as many as defined can be available. If the positions become available, in world-gen and when embarking, they are all filled-in completely.&lt;br /&gt;
&lt;br /&gt;
If the ruling position (with PRECEDENCE of 1) has a NUMBER higher than 1, a random unit of the ones holding these positions is shown as ruler in the embark screen.&lt;br /&gt;
&lt;br /&gt;
A [NUMBER] of 0 (zero) has the same effect as 1.&lt;br /&gt;
&lt;br /&gt;
===Automatic spreading of assumed, non-singular positions===&lt;br /&gt;
If there are civ positions that have a NUMBER higher then '1' and which are assumed (not APPOINTED_BY or ELECTED) but are '''not DUTY_BOUND''', these are automatically spread among the civilisation, based on population. If there are a number of '''20''' available slots of that position, they spread among a civilization with a combined population of, for example, 1000 of which your fortress has 100 (10%), '''2''' of your fortress' citizens will assume that position. &lt;br /&gt;
This may probably also work with elected and appointed positions, but that may be depending on the death of the current holders and this needs more testing. Assumption works within a day, anyway. &lt;br /&gt;
&lt;br /&gt;
===[AS_NEEDED]===&lt;br /&gt;
These positions can be created automatically by the game in world-gen. This, however, only works with: &lt;br /&gt;
* [LAND_HOLDER]'s&lt;br /&gt;
* squad commanders (needs more testing)&lt;br /&gt;
* Messengers at sites&lt;br /&gt;
&lt;br /&gt;
For all other types of positions, they're not created in world-gen, even if they are defined with RESPONSIBILITY's. For example, even in war, the game wouldn't create a MILITARY_GOALS position, if they have AS_NEEDED as number. &lt;br /&gt;
&lt;br /&gt;
However, in fortress mode / player mode, these positions can be created by the player at will.&lt;br /&gt;
&lt;br /&gt;
Positions with AS_NEEDED need to be created first, before any symbols are assignable as 'symbols' (objects) for the position holder to carry or wear.&lt;br /&gt;
&lt;br /&gt;
Positions with AS_NEEDED cannot be created and then ELECTED in fortress mode. It only works with APPOINTED_BY.&lt;br /&gt;
&lt;br /&gt;
==[REPLACED_BY], [REQUIRES_POPULATION], [REQUIRES_MARKET]==&lt;br /&gt;
&lt;br /&gt;
The token [REPLACED_BY:position] means that once the replacing position meets its requirements for activation, the 'to-be-replaced' position will disappear. This is defined in [REQUIRES_POPULATION] or [REQUIRES_MARKET]. The tags are closely related to each other and seem to only have a meaningful function if combined. Nobles with [REQUIRES_POPULATION] require the population to have a specific size. Nobles with [REQUIRES_MARKET] are only activated in market sites, such as fortresses or towns. [REQUIRES_POPULATION] and [REQUIRES_MARKET] can be combined, activating that position once both requirements are met. &lt;br /&gt;
&lt;br /&gt;
The [REQUIRES_MARKET] can be used to differentiate positions between hamlets and hillocks, and larger sites. IThe market always is build the year after the site is founded. So a position that is to be replaced, will be gone immediately.  &lt;br /&gt;
&lt;br /&gt;
The [REQUIRES_POPULATION]-tag works on the civ-level as well as on site-level, but those systems are in this mechanic strictly separated. Site-level positions cannot be replaced by civ-level positions and visa versa. This makes sense, because they both depend on their own population-count. When using REQUIRES_POPULATION on civ-level, it counts the total population of the civilisation. &lt;br /&gt;
&lt;br /&gt;
See also: [[Advanced_entity_position_mechanics#Evaluation_of_Positions|Evaluation of positions]]&lt;br /&gt;
&lt;br /&gt;
===Effect of replacement (and on [LAND_HOLDER]s)===&lt;br /&gt;
&lt;br /&gt;
Replacement is immediate and complete - the current holding unit loses the position, even before SUCCESSION_BY_POSITION rules are applied. A position with a number of 1 will replace all the slots of a position with a higher number of slots. &lt;br /&gt;
&lt;br /&gt;
Even if the next position is available but not visible, replacement still takes place. If a position is replaced, it is completely gone - it cannot be appointed, succeeded, elected or assumed any longer.&lt;br /&gt;
The unit immediately loses its position.&lt;br /&gt;
&lt;br /&gt;
In legends, replacement is mentioned as: &amp;quot;(unit name) ceased to be (position name)&amp;quot; The replacement of an AS_NEEDED position empties the position's slot forever. In fortress mode, it may seem as if you can create new slots and appoint new units in the nobles screen, but this is reversed as soon as you close the window.&lt;br /&gt;
&lt;br /&gt;
The landholder chain uses [REPLACED_BY] differently. It does not clear the position completely, but uses it for succession to the next level's position. [REPLACE_BY] is required to let that system work properly. This also means that the way in which landholders succeed (replace + as_needed) does not work in any other way. &lt;br /&gt;
&lt;br /&gt;
Replacement between LAND_HOLDERS and other site- or civ positions does not work in any way. Only the vanilla replacement sequence between levels of LAND_HOLDERs does work. If the token is omitted for landholders, the landholder chain is broken, so replacement is required for the landholder system to work.&lt;br /&gt;
&lt;br /&gt;
[REQUIRES_POPULATION] also does not work for [LAND_HOLDER], when you set [NUMBER] to 1. The position is not created when the required population is reached.&lt;br /&gt;
&lt;br /&gt;
===What doesn't work===&lt;br /&gt;
&lt;br /&gt;
'''Attention: If a position cannot be appointed, for example because of 'mutual appointment', it still exists according to replacement mechanics and will replace other positions if so defined. If a certain position(a) will be replaced by the baron's assistant, which can only be appointed by the [LAND_HOLDER] baron, than that position(s) still will be replaced from the start of the game, even if no baron or their assistant is ever present.'''&lt;br /&gt;
&lt;br /&gt;
A position that is replaced by a somehow non-fillable position is still replaced. This counts for mutual-appointing positions, replacement by not-yet-assigned landholders, replacement by AS_NEEDED positions, or replacement by not-yet-appointed positions. &lt;br /&gt;
&lt;br /&gt;
Replacement does not work if the replaced position is a [LAND_HOLDER], even with civ-positions. In that case, the LAND_HOLDER's position is not replaced. It does not matter if AS_NEEDED is used, or a fixed number, and it also does not matter what type of position the replacer is. So this only works (correctly) with positions that become available by REQUIRES_POPULATION.&lt;br /&gt;
&lt;br /&gt;
==[CONQUERED_SITE]==&lt;br /&gt;
&lt;br /&gt;
This tag determines which position is used to assign a [[Forced administrator]].&lt;br /&gt;
&lt;br /&gt;
In legends mode, this is visible as an event describing the reconquest of the site: a new group is formed and the forced administrator is installed as its ruler.&lt;br /&gt;
&lt;br /&gt;
All positions defined with this tag are assigned during this process, meaning multiple positions can be appointed at once.&lt;br /&gt;
&lt;br /&gt;
The holder of a position marked with [CONQUERED_SITE] cannot appoint any other [SITE] positions.&lt;br /&gt;
&lt;br /&gt;
Combining [CONQUERED_SITE] with [SITE] causes the position to function both as a forced administrator and as a normal site position available in fortress mode. However, this provides no meaningful additional mechanics and is effectively inferior to using [SITE] alone:&lt;br /&gt;
* [APPOINTED_BY] lines are completely ignored, meaning that the roles are automatically assumed.&lt;br /&gt;
* [SUCCESSION] is likewise ignored.&lt;br /&gt;
* the [CONQUERED_SITE]-position cannot appoint other [CONQUERED_SITE], [SITE] or combined positions.&lt;br /&gt;
&lt;br /&gt;
There have been remarks that reclaiming a fortress is unplayable because of the lack of regular nobles. Unfortunately, it seems that it can't be fixed by modding.&lt;br /&gt;
&lt;br /&gt;
=Availability and visibility=&lt;br /&gt;
==Availability of (new) positions==&lt;br /&gt;
Warning: Do not mistake &amp;quot;availability&amp;quot; for &amp;quot;visibility&amp;quot;! &lt;br /&gt;
&lt;br /&gt;
Of all the possible positions existing in your site's entity, there may only be some available. &lt;br /&gt;
* Positions with [REQUIRES_POPULATION] require the population to have a specific size.&lt;br /&gt;
* Positions with [REQUIRES_MARKET] will only appear in &amp;quot;large&amp;quot; sites (which may have different rules for different site types). This tag has no effect in fort mode.&lt;br /&gt;
* Positions that are appointed by positions that have an AS_NEEDED number. The appointable positions only become available after an appointer position-slot is created. This works also on civ-level. If a position is appointed by a Land-holder, it only becomes available, when that level of landholder is created. &lt;br /&gt;
	&lt;br /&gt;
Only the replaced positions are culled and are no longer available. &lt;br /&gt;
A position that requires a certain population will become available, even if it doesn't have [APPOINTED_BY] or [ELECTED]. In that case, see 'automatic assignment' and 'assumption'&lt;br /&gt;
&lt;br /&gt;
In fortress mode, in some cases 'succession' is evaluated immediately after a position becomes available. See: Succession.&lt;br /&gt;
==Visibility of positions==&lt;br /&gt;
A position might be available, but can still be invisible for the player in the [[nobles screen]]. The positions with their respective holders are visible for players:&lt;br /&gt;
* All site-positions that are already filled-in (even if they could not be re-filled-in considering current conditions)&lt;br /&gt;
* Site positions that are appointable by a filled-in site position&lt;br /&gt;
* Site positions that are appointable by a filled-in civ position, when that civ positions holder becomes a citizen of your fortress.&lt;br /&gt;
* Civ positions of units that are also a citizen of your fortress.&lt;br /&gt;
If a position becomes available, for example because a certain pop number has been reached, or if it is available from the start(like expedition leader), as long as it cannot be appointed, it still is INVISIBLE for the player. &lt;br /&gt;
&lt;br /&gt;
It might strike someone as odd if a position becomes filled automatically in fortress mode when that position is not even visible. This might be the case if the current holder of a non-appointable position dies or succeeds another position. Regardless of player visibility, these positions will be automatically filled in if the necessary requisitions are met. It might happen with the expedition leader.&lt;br /&gt;
&lt;br /&gt;
A situation with a non-visible but available position, is for example when a position is solely appointed by the expedition leader, when the expedition leader's position is left vacant. It can no longer be appointed by the player and is invisible. Then, it gets automatically assumed, proving that the position still was available.&lt;br /&gt;
&lt;br /&gt;
A position that is both [APPOINTED_BY] and [ELECTED] is visible, but players cannot interact with it.&lt;br /&gt;
&lt;br /&gt;
={{text anchor|Evaluation of Positions}}=&lt;br /&gt;
The game does not continuously check whether positions should become available, elected or be [REPLACE_BY]. This is well-known behavior—for example with the [[mayor]], who does not appear automatically when the required population ([REQUIRES_POPULATION]) is reached. Instead, positions must somehow be evaluated. This applies in several other situations as well &lt;br /&gt;
&lt;br /&gt;
'''Cases that require a trigger:'''&lt;br /&gt;
* Election of a newly created position&lt;br /&gt;
* Election after the current holder dies&lt;br /&gt;
* Automatic assumption of a newly created position (this may take up to a day)&lt;br /&gt;
* New citizens (such as migrants) considering available positions&lt;br /&gt;
* Premature succession of a newly created position&lt;br /&gt;
&lt;br /&gt;
'''Cases that do not wait for a trigger:'''&lt;br /&gt;
* Succession following the death of the previous holder&lt;br /&gt;
* Automatic assumption of existing positions that have become vacant&lt;br /&gt;
&lt;br /&gt;
'''Triggers that cause the game to reevaluate noble positions:'''&lt;br /&gt;
* Succession of a [SITE]-position due to the death of the current holder&lt;br /&gt;
* [[Advanced_entity_position_mechanics#Election_Day|Election Day]]&lt;br /&gt;
* Automatic assumption of a [SITE]-position that becomes vacant&lt;br /&gt;
* (Re)assigning any site position manually&lt;br /&gt;
* Settlement elevation on the LAND_HOLDER track (e.g. gaining a [[Baron]] or [[Count]])&lt;br /&gt;
&lt;br /&gt;
=Gaining a position=&lt;br /&gt;
There are several ways a unit can gain a position:&lt;br /&gt;
* Appointment: A unit is appointed by another unit or by the player.&lt;br /&gt;
* Election: A unit is elected by and among the members of the entity&lt;br /&gt;
* Assumption: A position is neither elected or appointed: a random unit just simply 'takes' the position&lt;br /&gt;
* Succession: a unit is the valid successor of this position(A), either by its current position(B) or because they are that position(A)-holder's heir. &lt;br /&gt;
&lt;br /&gt;
Available positions will automatically be assigned to a random civ member when a new site/civ is created.&lt;br /&gt;
&lt;br /&gt;
==Who can take a position==&lt;br /&gt;
&lt;br /&gt;
* If so defined, a unit needs to be the right caste and/or class - it does not seem to work with creature types. &lt;br /&gt;
* The unit needs to be an adult member of the site or its parent civ's government; that is also CAN_LEARN or INTELLIGENT (SLOW_LEARNER cannot take positions) or otherwise is able to think.&lt;br /&gt;
&lt;br /&gt;
==Appointment==&lt;br /&gt;
&lt;br /&gt;
Positions that have an [APPOINTED_BY:position] token require that position to exist, to be available and appointed. Any position that is APPOINTED_BY can be appointed if the appointer's position is filled in. &lt;br /&gt;
For site-positions to be appointed, it is required that the appointer is present at that location.&lt;br /&gt;
&lt;br /&gt;
If the appointing unit is temporarily not present, or if that position is not filled, positions depending on it cannot be appointed. This is the case with [[militia captains]], when the [[militia commander]] is on a [[mission]]. &lt;br /&gt;
&lt;br /&gt;
A site position cannot appoint a civ position ''or'' LAND_HOLDER in any way whatsoever. &lt;br /&gt;
&lt;br /&gt;
Civ-level positions can appoint other civ-level positions and site-level positions can appoint other site-level positions.&lt;br /&gt;
&lt;br /&gt;
Contrary to what has been said elsewhere, civ-level nobles also can appoint site-level nobles. They need to be at the site to do so. Landholders can appoint both site-level and civ-level nobles. These systems are therefore not as separate as was assumed.&lt;br /&gt;
&lt;br /&gt;
'''Mutual appointment''' cannot take place. If these are the only requisites of the position, then the positions will never appear or get filled. These unfillable positions can be put to good use, for example, to replace a position that is no longer needed without creating a new one. &lt;br /&gt;
&lt;br /&gt;
'''Self appointment''' doesn't normally work. If you have a position that is only appointed by itself, it is never appointed and also cannot be assumed. However, if the position has a number higher than 1, and is filled by multiple units (for example by another position that is now empty), than those units can re-assign or appoint each other from that their shared position. &lt;br /&gt;
&lt;br /&gt;
If an APPOINTED_BY token refers to a non-existing position's code, the effects are as if the appointment token doesn't exist at all.&lt;br /&gt;
&lt;br /&gt;
===Automatic appointment in world-gen and on the civ level===&lt;br /&gt;
&lt;br /&gt;
Outside of fortress mode, the game will always attempt to appoint nobles whenever possible, as long as these positions are '''available''', even if they are invisible to the player.&lt;br /&gt;
It shows this message in legends:  &amp;quot;(unit name) has been appointed to the position of (position name)&amp;quot;&lt;br /&gt;
&lt;br /&gt;
In world-gen, all positions become available and are automatically appointed, taking population- and appointment-requirements into consideration. &lt;br /&gt;
&lt;br /&gt;
Positions that are REPLACED_BY are culled and won't be filled.&lt;br /&gt;
&lt;br /&gt;
If a citizen of your fortress holds a civ-level position that can appoint another civ-level position, the appointment will happen automatically and without player intervention. It may happen that another citizen of your fortress is appointed by that unit, creating civ-level position holders in your fortress, but it is unknown what is required to force this effect.&lt;br /&gt;
&lt;br /&gt;
===Manual appointments by players in fortress mode===&lt;br /&gt;
In fortress mode, the positions that need to be appointed stay empty on embark. and it is the player's job to appoint those. A player can appoint a unit to any available position, according to the hereabove mentioned conditions. The player takes the role of the automatic appointment-system, but has no direct control over elections, successions and replacement. There are some differences in what is possible at world-gen sites and at player-controlled sites.&lt;br /&gt;
&lt;br /&gt;
* A position that is appointed by a unit present as a fortress citizen, can be appointed, re-appointed or left vacant. This means also by civ-level nobles living as a citizen in your fortress; not when they are only visiting, like the diplomat.&lt;br /&gt;
* A position whose appointing positions are all either vacant or [REPLACED_BY] can no longer be appointed. If the position is already filled, it cannot be reappointed or vacated; the current holder simply remains in office.&lt;br /&gt;
* A position that is APPOINTED_BY a unit present as the land_holder of your site, can be appointed, reassigned or left vacant.&lt;br /&gt;
* A position that has SUCCESSION BY_HEIR or BY_POSITION can 'initially' be appointed and also re-appointed or left vacant, but as soon as the [[nobles]] screen closes, ''it can no longer be replaced or left vacant''. From then on, the succession-rules determine who gains that position when the current holder loses the position. This works even if the SUCCESSION:BY_POSITION-position is vacant or replaced.&lt;br /&gt;
* A position that is ELECTED nor APPOINTED_BY, can always be (re-)appointed by the player. This is the case with the [[Expedition leader]]. If it is left vacant however, it cannot be appointed, but will be assumed shortly after. &lt;br /&gt;
* A position that is both ELECTED and APPOINTED_BY, cannot be appointed by the player. Contrary to world-gen sites, its slot is visible, but it doesn't show the +-sign. This is either by AS_NEEDED or by a fixed number. Even if the position somehow gets filled (re)assignment is never possible&lt;br /&gt;
* A player can appoint a number of units to a position, as much as the NUMBER token dictates. If it is AS_NEEDED, the player may create as many slots as they like, also contrary to world-gen sites. &lt;br /&gt;
* A civ-position can never be appointed, even if the appointing civ noble is a citizen of your fortress. A civ position also never can be re-assigned or left vacant, would that position be defined as appointed by a site-position.&lt;br /&gt;
&lt;br /&gt;
==Election==&lt;br /&gt;
Read more in [[Elections]]. The message that is shown is: &amp;quot;(creature name) has been elected to the position of  (position name)&amp;quot;&lt;br /&gt;
&lt;br /&gt;
In worldgen, there is no functional difference between ELECTED and non-appointment, except that elected nobles tend to have high social skills and/or skills related to the position, while non-elected ones are assigned randomly. See: [[Elections]]&lt;br /&gt;
&lt;br /&gt;
A succession goes before an election. &lt;br /&gt;
&lt;br /&gt;
A position that is both ELECTED and APPOINTED_BY never gets elected. Even if the appointees' position somehow gets filled, (re)-elections won't happen. So, it doesn't seem possible to have an elected position become available when a certain other position becomes filled. &lt;br /&gt;
&lt;br /&gt;
An ELECTED civ-(or LAND_HOLDER) position at your site will never be (re)-elected in fortress mode. So real (re-)election only works with SITE-positions. &lt;br /&gt;
&lt;br /&gt;
=== {{text anchor|Election Day}} ===&lt;br /&gt;
Election Day takes place on the 17th of Summer. On this day, a full reevaluation is performed, including all currently elected positions, which are subject to re-election. Contrary to the information on [[Elections]], nothing occurs at the start of a season.&lt;br /&gt;
&lt;br /&gt;
Positions that are both [APPOINTED_BY] and [ELECTED] will not be re-elected on Election Day when assigned through [SUCCESSION].&lt;br /&gt;
&lt;br /&gt;
=== Election Eligiblity ===&lt;br /&gt;
Any citizen may stand for election. Eligibility cannot be restricted using [ACCEPTED_CREATURE], [REJECTED_CREATURE], [ACCEPTED_CLASS], [REJECTED_CLASS], or [GENDER]. Units currently having a [SUCCESSION]-position even may be elected for a position with a [SQUAD]-token, which is otherwise impossible to assign or even succeed.&lt;br /&gt;
&lt;br /&gt;
=== Skills ===&lt;br /&gt;
In elections, skills are taken into account for the tokens of the position which is elected.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Relevant skills per position token&lt;br /&gt;
|-&lt;br /&gt;
! Position Token !! Relevant skills&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#DELIVER_MESSAGES|[DELIVER_MESSAGES]]] || [[Ambusher]], [[Observer]] and [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#ACCOUNTING|[ACCOUNTING]]] || [[Record_keeper|Record keeper]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#ESPIONAGE|[ESPIONAGE]]] || [[Schemer]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#HEALTH_MANAGEMENT|[HEALTH_MANAGEMENT]]] || [[Diagnostician|Diagnostician]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#MAKE_INTRODUCTIONS|[MAKE_INTRODUCTIONS]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#MAKE_PEACE_AGREEMENTS|[MAKE_PEACE_AGREEMENTS]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#MAKE_TOPIC_AGREEMENTS|[MAKE_TOPIC_AGREEMENTS]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#MANAGE_PRODUCTION|[MANAGE_PRODUCTION]]] || [[Organizer]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#MEET_WORKERS|[MEET_WORKERS]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#RECEIVE_DIPLOMATS|[RECEIVE_DIPLOMATS]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#RELIGION|[RELIGION]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#TAME_EXOTICS|[TAME_EXOTICS]]] || [[Animal_trainer|Animal trainer]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#TRADE|[TRADE]]] || [[Social_skill|Social skills]] and [[Appraiser|Appraiser]]&lt;br /&gt;
|-&lt;br /&gt;
| [[Position_token#SQUAD|[SQUAD]]]-token || [[Tactician]] and [[Leader]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Assumption==&lt;br /&gt;
&lt;br /&gt;
A position that is not APPOINTED_BY nor ELECTED, or is appointed by positions that are not available in your site or civ, will be assumable by a random dwarf. If it has responsibilities that require certain skills, then these are taken into consideration on embark, but not when the position is assumed during the actual game. &lt;br /&gt;
&lt;br /&gt;
Normally, one to three units will take the into consideration to assume a position. Most of the time when there are multiple open positions, only a single unit will assume all of them. However, a position that has REJECTED_CREATURE, REJECTED_CLASS, ALLOWED_CREATURE or ALLOWED_CLASS will be filled with all different units, even if the creature or class mentioned is irrelevant. It seems that this forces the game to loop over all the available units.&lt;br /&gt;
&lt;br /&gt;
The message that is shown in Legends mode is: &amp;quot;(unit name) has assumed the position of (position name)&amp;quot;. This may also take place in fortress mode, which then shows this message to the player. &lt;br /&gt;
&lt;br /&gt;
If an assumable position becomes empty, it will be assumed within a day. This is the case when you leave the position of expedition-leader vacant. It also happens with entities. &lt;br /&gt;
&lt;br /&gt;
Assumable positions that become empty will not be assumed if that position has a valid [SUCCESSION] -successor. In that case, the successor inherits the position. &lt;br /&gt;
&lt;br /&gt;
Even positions that are somehow invisible because they cannot be directly APPOINTED_BY players, can be assumed. &lt;br /&gt;
&lt;br /&gt;
When you embark, the assumable positions are automatically assigned to a random unit. If there are multiple of these positions at embark, they all are assigned to the same unit. If there are enough positions available, multiple units may gain a position, but often no more than three different ones.&lt;br /&gt;
&lt;br /&gt;
If a dwarf in fortress mode assumes a position, that already has another position, it will leave the current position empty. When that position also is assumed, then this will continue until all positions have a dwarf appointed to them, with no other position.&lt;br /&gt;
&lt;br /&gt;
A unit that already has a position with a [SUCCESSION] token won't take assumable positions into consideration that have a [SQUAD] token. This can be used by the modder to prevent unwanted loss of current positions.&lt;br /&gt;
&lt;br /&gt;
A position that has an appointer which got replaced because of REPLACED_BY, will not become assumable. Also, positions that have an AS_NEEDED appointer that is not yet filled (or ever), will also not be assumed.&lt;br /&gt;
&lt;br /&gt;
==Succession==&lt;br /&gt;
&lt;br /&gt;
If a position-holder dies or advances to a new position via succession, the position will be granted to another unit based on the [SUCCESSION] tag. If they have an heir or the succeeding position exists, that unit will be assigned. If not, a new one will be appointed according to the usual rules. The message that is shown is: &amp;quot;(creature name) being the rightful heir, has inherited the position of (position name)&amp;quot;&lt;br /&gt;
&lt;br /&gt;
The succeeding creature will also lose its previous position. When succession is defined using BY_POSITION, the unit naturally loses the referenced position. However, it also loses any other positions it may hold. If a unit could simultaneously inherit multiple positions, the last-defined succession overrides the earlier one, clearing the previously acquired position&lt;br /&gt;
&lt;br /&gt;
Succession works both at site-level and at civ-level, both in world-gen and in fortress-mode. Succession by position on the civ-level is also visible and functional in fortress-mode. If both civ-level nobles are a citizen of your fortress, succession is applied visually. Vanilla example: The [[druid]] is succeeded by the [[acolyte]]. This means that as soon as the druid dies, the acolyte takes over. &lt;br /&gt;
&lt;br /&gt;
When a position that is succeeded by position becomes available, immediately it is checked if a position-successor is available and the position is filled with that unit. Even if this is an [ELECTED] position, succession goes first. When elections eventually do happen, succession plays no role.&lt;br /&gt;
&lt;br /&gt;
It is possible to assign multiple levels of [SUCCESSION:BY_POSITION] in different positions, creating a line of positions where the death of one causes all those &amp;quot;below&amp;quot; them to advance.&lt;br /&gt;
&lt;br /&gt;
A position can have multiple tokens with position-succession. It looks to be random which one is used. It is not always:&lt;br /&gt;
* The first or last defined token&lt;br /&gt;
* The first or last appointed unit&lt;br /&gt;
* the oldest or youngest&lt;br /&gt;
* one with a higher or lower precedence&lt;br /&gt;
* a unit with relevant skills&lt;br /&gt;
&lt;br /&gt;
When a position is defined with a Succession-type, that unit cannot have another position that has a Squad-type. If the succession-position itself has a squad, than it can be assigned another position with a squad, but then it will loose the previous succesion position. See further details by &amp;quot;Squad&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Assumed positions can also be succeeded by position, if the current holder dies. &lt;br /&gt;
&lt;br /&gt;
If the successor is an AS_NEEDED position, the used unit will leave a vacant position-slot on its removal by succession. This empty slot remains a real slot, which will only be cleaned up if you (un)appoint a unit to this position-series. It isn't cleaned up after regular position validation.&lt;br /&gt;
&lt;br /&gt;
A civ-level position of a unit living at your site might be inherited by a unit holding that does not currently live at your site. This, unfortunately, moves that position to a unit off site. This may also happen with the landholder of your site, for example when it is succeeded by another civ-level position. This currently poses an unsolved challenge. &lt;br /&gt;
&lt;br /&gt;
===Eligibility for succession===&lt;br /&gt;
Succession is restricted by the tokens [ACCEPTED_CREATURE], [REJECTED_CREATURE], [ACCEPTED_CLASS], [REJECTED_CLASS] and [GENDER].&lt;br /&gt;
&lt;br /&gt;
===Site and civ combined succession===&lt;br /&gt;
&lt;br /&gt;
Succession can work when combining site positions with civ-level positions or land_holders, but only in world-gen mode.  In fortress mode, it only works with combining the same level of nobles, with Landholders regarded as civ-level. So, in fortress mode, a site's position cannot succeed a landholder's position and it cannot succeed another type of civ-level position, and vice versa. &lt;br /&gt;
&lt;br /&gt;
This won't work even if the positions:&lt;br /&gt;
* are AS_NEEDED or having a fixed number.&lt;br /&gt;
* Are LAND_HOLDERs.&lt;br /&gt;
&lt;br /&gt;
===Succession [BY_HEIR]===&lt;br /&gt;
&lt;br /&gt;
When a heir is needed for succession, all children and then other relatives are validated. They cannot take the position if their status does not allow it, for example if they have become a member of another civilisation. See: &amp;quot;Who can take a position&amp;quot;. If the unit has no valid heir on that location, the position may go to a unit living on another site. This may cause the title of Landholder of some land to be inherited by a unit living somewhere else. That might be a problem, because then you lose your landholders.&lt;br /&gt;
&lt;br /&gt;
===Premature Succession===&lt;br /&gt;
&lt;br /&gt;
There are cases where [SUCCESSION:BY_POSITION] is applied prematurely: at the moment a position is first created and becomes appointable or assumable, rather than after a current holder leaves. In this situation, the succession mechanism assigns a holder immediately, without any player interaction.&lt;br /&gt;
&lt;br /&gt;
When a position becomes available for the first time, the game checks whether a valid successor-by-position exists. If so, that unit is assigned instantly. It can affect positions that would normally be appointed or elected by the player, causing succession to trigger before the player has any opportunity to intervene.&lt;br /&gt;
&lt;br /&gt;
This behavior occurs only in Fortress mode, but can be applied both on [SITE]-positions as well in civ-positions. That last one however is a bit harder to control. Example: [[Advanced entity position mechanics#The Archduke|The Archduke]]&lt;br /&gt;
&lt;br /&gt;
This premature succession only occurs the first time a position becomes available (i.e. when it is created and becomes appointable or assumable). Even if the position remains vacant and the conditions for succession improve later, premature succession will not trigger again. From that point onward, only normal succession rules apply.&lt;br /&gt;
&lt;br /&gt;
Using premature succession, a position that has [ELECTED], [APPOINTED_BY], or both, can be filled directly.&lt;br /&gt;
Notably, positions that combine [ELECTED] and [APPOINTED_BY] are normally impossible to fill through regular mechanics. Premature succession bypasses both election and appointment entirely, making this combination uniquely reachable through this mechanism.&lt;br /&gt;
&lt;br /&gt;
No initial election takes place, and no subsequent elections will ever occur for that position. Succession always takes precedence over election, both in premature succession and in normal succession cases.&lt;br /&gt;
&lt;br /&gt;
This behavior applies only in Fortress mode, not during world generation. World-gen uses simplified and more efficient mechanics, and this interaction does not occur there. Premature succession can affect both site-level and civilization-level positions.&lt;br /&gt;
&lt;br /&gt;
====Multiple succession chains====&lt;br /&gt;
&lt;br /&gt;
Multiple succession chains may be defined and are resolved in the order they appear in the raws.&lt;br /&gt;
&lt;br /&gt;
If a position has both:&lt;br /&gt;
* a direct succession chain (A → C), and&lt;br /&gt;
* a multi-step chain (A → B → C),&lt;br /&gt;
&lt;br /&gt;
and intermediate positions are vacant, resolution proceeds according to raw order. A common outcome is:&lt;br /&gt;
# The direct succession (A → C) is applied first, assigning A to C.&lt;br /&gt;
# The remaining chain then advances (A → B).&lt;br /&gt;
# If C still has empty slots, the final step (B → C) may occur.&lt;br /&gt;
&lt;br /&gt;
If position B is already filled, behavior depends entirely on raw definition order:&lt;br /&gt;
* nothing may happen, or&lt;br /&gt;
* B may move to C first, followed by A moving to B.&lt;br /&gt;
====Working triggers====&lt;br /&gt;
Premature succession is triggered when a succeedable position is created under the following conditions:&lt;br /&gt;
* The succeedable position is created because its [REQUIRES_POPULATION] threshold is reached. This applies even if the position is not [APPOINTED_BY]. Premature succession takes priority over automatic assumption (e.g. the mayor declaring themselves within a day).&lt;br /&gt;
** The position must either be assumable or appointed by an existing position. When said appointer-position also just has been created, the premature succession of the succeedable position happenes, even when the appointer-position is empty.&lt;br /&gt;
* The succeedable position can be [APPOINTED_BY] another position of the same level (site or civ) that has just been created because its [REQUIRES_POPULATION] was reached.&lt;br /&gt;
* The succeedable position can be appointed by another [SITE] [AS_NEEDED] position that has just been created and filled.&lt;br /&gt;
* The succeedable (site or civ) position is [APPOINTED_BY] the [LAND_HOLDER] position, which has just been created due to site elevation. This typically resolves when the diplomat leaves the map, at which point the landholder position becomes active.&lt;br /&gt;
* If all other requirements are met, premature succession can occur immediately after unpausing following embark, for positions with [REQUIRES_POPULATION:7].&lt;br /&gt;
&lt;br /&gt;
====Non-working triggers====&lt;br /&gt;
Premature succession does '''not''' occur in the following cases:&lt;br /&gt;
* An [AS_NEEDED] succeedable position slot is manually created by the player while its succeeding position is already filled. [AS_NEEDED] positions must always be appointed after creation.&lt;br /&gt;
* The succeeding position is filled after the succeedable position becomes available. The moment of creation is the decisive trigger; filling the source position later is too late.&lt;br /&gt;
* The succeedable position can be appointed by another site or civ position with a fixed number of slots that has just been appointed. In this case, the succeedable position is just available for appointment itself, nothing more&lt;br /&gt;
* Any situation occurring during world generation.&lt;br /&gt;
* The succeeding position is [REPLACED_BY] the succeedable position. In this case, replacement removes the unit from the source position first, leaving no holder available for the succession mechanism to use.rst, leaving no holder available for the succession mechanism to use.&lt;br /&gt;
* The position is [APPOINTED_BY] a civ-level position, that just became a citizen of your fortress. It must be noted that those civ-level positions were active all that time and the succeedable position could be appointed even before. The monarchs arrival does not trigger premature succession&lt;br /&gt;
&lt;br /&gt;
=Losing a position=&lt;br /&gt;
&lt;br /&gt;
A unit can lose a position when:&lt;br /&gt;
* It dies&lt;br /&gt;
* It succeeds another position, even if it has nothing to do with the previous position.&lt;br /&gt;
* It is assigned to another SQUAD-holding position&lt;br /&gt;
* It is convicted of a crime.&lt;br /&gt;
* Another unit is ELECTED for the position&lt;br /&gt;
* Its position becomes replaced&lt;br /&gt;
* Another unit is appointed by the player, or the position is left vacant. &lt;br /&gt;
* It has assumed another position, as this always leaves the previous position vacant.&lt;br /&gt;
&lt;br /&gt;
=Embarkment=&lt;br /&gt;
Two types of positions are automatically filled by embark. &lt;br /&gt;
* Positions without [APPOINTED_BY] or [ELECTED] (assumable). All these positions, even with a NUMBER higher than 1, are all filled with one to three dwarves. Contrary to assumption, this doesn't take into account any limitations. REJECTED_CLASS, ALLOWED_CLASS, REJECTED_CREATURE, ALLOWED_CREATURE and GENDER are applied, but without the normal spread you may expect with assumptions. Also it doesn't look at [SUCCESSION] and [SQUAD] limitations.&lt;br /&gt;
* Positions that are elected are filled-in by the normal election rules.&lt;br /&gt;
&lt;br /&gt;
Positions that have a defined appointer are never initially filled at embark.&lt;br /&gt;
&lt;br /&gt;
All positions that don't have [REQUIRES_POPULATION]  or with a [REQUIRES_POPULATION] of 7 or lower, will be available at embark.&lt;br /&gt;
&lt;br /&gt;
=Land Holders=&lt;br /&gt;
&lt;br /&gt;
A Landholder is a '''special civ-level noble''' who gets a certain piece of land to hold, when that land is elevated to a certain level, determined by the tag [LAND_HOLDER] and by the landholder triggers in the game's settings. In vanilla, these are the baron, the count and the duke. &lt;br /&gt;
&lt;br /&gt;
A unit gaining the landholder position does not migrate to that specific named land. In world-gen, they stay just where they are, probably at the capital. In fortress mode, you can suggest a citizen for the role. So for the time being that works.&lt;br /&gt;
&lt;br /&gt;
Succession is then a real issue. If you use BY_HEIR, its solved when that landholder has children living at your site. But when its not the case, the title just goes to anyone randomly. Succession BY_POSITION works, but only in the civ-chain, and there's no way to guarantee a civ-holder is at your site at that time. Even with 'automatic spread' positions, it goes to one of them randomly.&lt;br /&gt;
&lt;br /&gt;
==Functioning of the regular landholder chain==&lt;br /&gt;
&lt;br /&gt;
The distinct difference between a landholder and a regular civ-level noble, is that a landholder may gain the position of landholder &amp;quot;of (sitename)&amp;quot; They are then seen as ruler of a particular site. &lt;br /&gt;
&lt;br /&gt;
For a land_holder position to function as such, it has a few requirements:&lt;br /&gt;
* NUMBER:AS_NEEDED &lt;br /&gt;
* The first landholder-number of 1 is defined. &lt;br /&gt;
* No SITE (so civ) tag in that position.&lt;br /&gt;
*REPLACED_BY the next level landholder&lt;br /&gt;
If a landholder is defined with differentiating properties, it will function like a regular noble. A higher-up landholder that lacks the required tokens or connections will then not be used in elevation. &lt;br /&gt;
&lt;br /&gt;
If a fortress meets the trigger for a new LAND_HOLDER tier when a caravan leaves, then the next time the outpost liaison or equivalent arrives, they will offer to make you an official colony, which will allow you to select all positions for that LAND_HOLDER level. Each time they appear, the outpost liaison will only promote your fortress one tier up the LAND_HOLDER track. &lt;br /&gt;
&lt;br /&gt;
The landholder's LAND_NAME is not required for the functioning of this system. If omitted, messages will be shown with a more generic text.&lt;br /&gt;
&lt;br /&gt;
==Appointment==&lt;br /&gt;
&lt;br /&gt;
This mechanism differs from the regular methods of position management. It ignores all regular appointment- and election rules, so it more or less functions like automatic assignment. A landholder is, in vanilla, appointed by the monarch. Changing this doesn't seem to do anything. If they are appointed by a site-position, a not-yet-existing civ-position, or not appointed at all: the system keeps working as usual. &lt;br /&gt;
&lt;br /&gt;
A landholder can appoint civ-positions and site positions. This works as expected: the positions only are appointed then when that landholder becomes available on civ-level or when he arrives at that site for site-level positions. &lt;br /&gt;
&lt;br /&gt;
If your rank of landholder is the first of its rank in the realm, and is the sole appointer of some civ-position, then immediately as it gains the title, it will appoint the empty civ-slots. This may happen on your site, but the frequency and certainty is hard to determine.&lt;br /&gt;
&lt;br /&gt;
==Succession==&lt;br /&gt;
&lt;br /&gt;
Succession rules are applied to some extent:&lt;br /&gt;
* In world-gen it works according to succession rules, and site-positions can be used here.  This means that a site position or a civ-position can inherit a landholder position, and vice versa.&lt;br /&gt;
* In fortress mode, once a landholder has been appointed, it then can inherit civ-level positions, and vice versa. This means that your baron can become king. &lt;br /&gt;
* Succession rules do not apply within the [LAND_HOLDER] chain; a count will not inherit a baron's land. This is because succession does not work well with the AS_NEEDED token.&lt;br /&gt;
* Premature succession works in fortress mode with landholders. If a unit gets a landholder's position and that landholder is the appointer of an as yet empty position, which is defined as succeeding from a third one, then the succession is immediately applied. The landholder themselves can even be the successor of a newly created position.&lt;br /&gt;
* A landholder's position is, in fortress mode, not successionable by a site-position or vice versa&lt;br /&gt;
&lt;br /&gt;
===Impossibilities for succession by a site-position===&lt;br /&gt;
It would be very beneficial if the landholder can be succeeded by a [SITE]-position. So far, the following tests have not lead to positive results:&lt;br /&gt;
* making landholder and site-position both non-[DUTY_BOUND]&lt;br /&gt;
* make the site-position be [APPOINTED_BY] the landholder and/or the monarch&lt;br /&gt;
* give landholder and site-position [REJECTED_CREATURE]&lt;br /&gt;
* Let the monarch live at your site when succession could happen.&lt;br /&gt;
* Let the site-position be [REPLACED_BY] the landholder.&lt;br /&gt;
&lt;br /&gt;
If the vanilla [SUCCESSION:BY_HEIR]-tag is omitted, a seemingly random unit somewhere in the realm is assigned this position.&lt;br /&gt;
&lt;br /&gt;
==Nomination==&lt;br /&gt;
&lt;br /&gt;
The player is able to nominate a unit to become the LAND_HOLDER, but this only works with units of [LAND_HOLDER] level 1. The player can select all units, only limited by the PRECEDENCE of the current units' positions.&lt;br /&gt;
&lt;br /&gt;
A unit that has a position with a PRECEDENCE lower or equal to that of the landholder's position, cannot be selected. This means that a baron (or count) from another site or the monarch cannot be selected, because their precedence is lower or equal. &lt;br /&gt;
&lt;br /&gt;
The GENDER  token does not work here: also units with the wrong gender (sorry) can be selected.&lt;br /&gt;
&lt;br /&gt;
==Levels==&lt;br /&gt;
In mods, up to 10 levels of LAND_HOLDER may be defined. &lt;br /&gt;
&lt;br /&gt;
If a landholder is replaced by a wrong landholder number (1 replaced by 3), then the number 3 is still correctly attached to the settlement. &lt;br /&gt;
&lt;br /&gt;
If the current landholder has the highest available landholder number, then the next elevation will not happen - the diplomat will not elevate your fortress to a higher position, even if that position might be REPLACED_BY a lower landholder. &lt;br /&gt;
&lt;br /&gt;
These chains do work:&lt;br /&gt;
* 1 -&amp;gt; 2a - &amp;gt; 2b -&amp;gt; 3&lt;br /&gt;
* 1 -&amp;gt; 3 -&amp;gt; 2 -&amp;gt; 4&lt;br /&gt;
&lt;br /&gt;
These chains do not work:&lt;br /&gt;
* 2 -&amp;gt; 3 (need to start at 1)&lt;br /&gt;
* 1 -&amp;gt; 4 -&amp;gt; 2 -&amp;gt; 3 (stops after 4 as the highest)&lt;br /&gt;
* 1a -&amp;gt; 2, 1b -&amp;gt; 2 (only 1a and 2 work, 1b is not used)&lt;br /&gt;
&lt;br /&gt;
==Moving landholders==&lt;br /&gt;
&lt;br /&gt;
It may happen that a land-holder no longer lives at the site which they are the landholder of, specifically when the current landholder dies, leaving the title to an heir living somewhere else. &lt;br /&gt;
&lt;br /&gt;
To prevent this from happening, you can make their succession from heir and make sure that their kids live at your site. Or, you can make their position succeeded by another civ position, and make it so that this civ position is somehow available on your site. But if multiple of these positions exist, it cannot be guaranteed that a citizen of your fortress will inherit the title. &lt;br /&gt;
&lt;br /&gt;
In world gen, a landholder lacking the DUTY_BOUND-token will also move to the site they like, according to legends mode.&lt;br /&gt;
&lt;br /&gt;
==Replacement by a generic civ-position==&lt;br /&gt;
&lt;br /&gt;
If a landholder is replaced by an AS_NEEDED non-landholder civ-position, then this will work: the current landholder loses that title upon settlement-elevation and gains that civ-title. However, the civ-title lacks the landholder-property of being attached to the land. It will not show the name of the settlement alongside the position's name. So no &amp;quot;minister of Shovelmounts&amp;quot;&lt;br /&gt;
&lt;br /&gt;
If a landholder is replaced by a general AS_NEEDED civ-position, that itself is also replaced by a generic AS_NEEDED civ-position, then firstly the elevation is executed and also the unit gains that new position. However, he immediately loses it, because an AS_NEEDED position that is replaced by another position can be filled initially, but units wont be able to hold that title.&lt;br /&gt;
&lt;br /&gt;
==Landholder with fixed number==&lt;br /&gt;
&lt;br /&gt;
A landholder's position that has a fixed number will be created and filled directly when the civilisation is born, so this position slot is then not available for the regular landholder-mechanic and will also not be used. That landholder will thus not be attached to a settlement. &lt;br /&gt;
&lt;br /&gt;
It doesn't matter if the landholder's position is connected to the regular landholder's-chain with the REPLACE_BY token.&lt;br /&gt;
&lt;br /&gt;
==Responsibilities==&lt;br /&gt;
&lt;br /&gt;
When given a certain [RESPONSIBILITY], a landholder may function as a regular civ-level noble. If the position has [TRADE] or [OUTPOST_NEGOTIATING] responsibilities, then the landholder functions both as a diplomat and as an actual land holder. A landholder with the [MILITARY_STRATEGY]  responsibility will travel around taming creatures in world-gen, according to legends mode. &lt;br /&gt;
&lt;br /&gt;
Besides that, the responsibilities work the same as with any other on-site living position-holder, civ or otherwise.&lt;br /&gt;
&lt;br /&gt;
=Military=&lt;br /&gt;
==Squad management==&lt;br /&gt;
In the vanilla game, the Squad interface only becomes available after a militia commander has been appointed. Until then, the window displays:{{DFtext|You must appoint somebody first to create a squad.}}&lt;br /&gt;
&lt;br /&gt;
What’s surprising is how this is determined internally. In the entity raw definition, '''only the last two positions that include a [SQUAD] token are checked''' to decide whether the interface is accessible at all. As a result, if your hierarchy defines commanders A through E, appointing '''Commander D or E''' unlocks squad formation, while appointing A–C does nothing.&lt;br /&gt;
&lt;br /&gt;
In other words, squad availability is not tied to ''having a militia commander'', but to ''which specific positions happen to be last in the raw list''—a notably hacky implementation.&lt;br /&gt;
&lt;br /&gt;
These 'last two' are always the last two '''available positions.''' So if they get [REPLACED_BY] or become available because of [REQUIRES_POPULATION], the game adapts to those.&lt;br /&gt;
&lt;br /&gt;
==Squad assignment==&lt;br /&gt;
&lt;br /&gt;
Squads can be assigned, even if the leader position has no holder.&lt;br /&gt;
&lt;br /&gt;
A specific unit can only have one position associated with a squad. If it gains another 'squad holding position', it is unassigned from the first one. This does not work with a 0-squad, so only 1+squads are taken into consideration. This technique can possibly be used to distribute all positions equally among all citizens. It does however not work with election and assumption. &lt;br /&gt;
&lt;br /&gt;
If a civ-level position is associated with a squad and it gets a site-level squad-holding position assigned, it loses the current civ-position. &lt;br /&gt;
&lt;br /&gt;
Squads can get really messed up, if you make the position (or multiple) either elected or not-elected and not-appointed, then this can cause the game to assign multiple squads to the same unit. Automatic assignment and election does not take squads into account, but the nobles screen does. This can cause the positions to be cleared as the game figures out that they have more than one position, and immediately get elected or assumed again. &lt;br /&gt;
&lt;br /&gt;
Positions that cannot have a squad-position:&lt;br /&gt;
* A site- or civ-position with a [SUCCESSION] token cannot be appointed a squad-holding-position. The other way around, however, does work. For example, if a site-position with a [SUCCESSION]-token is appointed to a unit that has already a position with [SQUAD]. But when that squad position is assigned to another unit, it cannot be assigned back. &lt;br /&gt;
* A position with [SUCCESSION] can also not be assigned as a '''member''' of a squad.&lt;br /&gt;
* A squad-holding position with a formed squad cannot be appointed to another squad holding position.&lt;br /&gt;
&lt;br /&gt;
If a position has at least one squad member, it cannot be left vacant. First, the squad has to be disbanded, then the position may be cleared.&lt;br /&gt;
&lt;br /&gt;
==0-squads==&lt;br /&gt;
A 0-Squad is defined in a position as [SQUAD:0:member:members]. It does not seem to do anything useful as of now.&lt;br /&gt;
* It cannot be used to activate the [[Squad|military interface]]&lt;br /&gt;
* It does not restrict the assignment of [SUCCESSION] positions.&lt;br /&gt;
* Assigning this position does not clear any previously held squad position.&lt;br /&gt;
* The [[Leader]] and [[Tactician]] skill are not marked as relevant skills and are not taken into account in elections.&lt;br /&gt;
* It cannot be formed as a squad.&lt;br /&gt;
&lt;br /&gt;
=Further testing=&lt;br /&gt;
The following questions may need additional testing. Feel free to add or answer&lt;br /&gt;
* Everything regarding COMMANDING and army-structure&lt;br /&gt;
** [http://www.bay12forums.com/smf/index.php?topic=175437.msg8331668#msg8331668]&lt;br /&gt;
** [http://www.bay12forums.com/smf/index.php?topic=165213.msg8335682#msg8335682]&lt;br /&gt;
** [http://www.bay12forums.com/smf/index.php?topic=174584.msg8026854#msg8026854]&lt;br /&gt;
* Everything regarding CONQUERED_SITE, but it is presumably just like site. But what if you combine SITE or LAND_HOLDER with it?&lt;br /&gt;
* Stuff about the monarch, its arrival and its entourage.&lt;br /&gt;
&lt;br /&gt;
=Oddities (Bugs)=&lt;br /&gt;
Almost everything on this page could be called an oddity. Because of their unexpected usability, some may also be referred to as “undocumented features.” Others, however, are simply odd and not particularly useful, yet I hesitate to call them “bugs.”&lt;br /&gt;
* If a certain threshold is reached that makes an elected position electable, and the triggering event that initiates this evaluation is an assumption, then the resulting assumption is also referred to in the messages as an election&lt;br /&gt;
&lt;br /&gt;
=Examples=&lt;br /&gt;
&lt;br /&gt;
===The Founder===&lt;br /&gt;
The founder is a single dwarf, appointed at embark. They will be the only one ever to have this position and are not replaceable. When they lose their position some way, the position will not be assumed by another dwarf. &lt;br /&gt;
{{gamedata|title=The Founder|&lt;br /&gt;
[POSITION:THE_FOUNDER]&lt;br /&gt;
	[NAME:the founder:founders]&lt;br /&gt;
	[NUMBER:1] &lt;br /&gt;
	[SITE]&lt;br /&gt;
	[ALLOWED_CREATURE:DWARF:ALL]		- will only be filled at embark, but not assumable later.&lt;br /&gt;
	[REJECTED_CREATURE:DWARF:ALL]		- will only be filled at embark, but not assumable later.&lt;br /&gt;
	[SUCCESSION:BY_POSITION:THE_FOUNDER]	- not unassignable, also cannot be assigned to a [SQUAD] position.&lt;br /&gt;
	[PRECEDENCE:200] &lt;br /&gt;
	Non APPOINTED_BY&lt;br /&gt;
	Non ELECTED&lt;br /&gt;
	Optional: Add responsibilities to make the game select a unit with certain skills.&lt;br /&gt;
}}&lt;br /&gt;
===Marriage bar===&lt;br /&gt;
Dwarven matrons are held in great honour. Upon marriage, a female dwarf is no longer expected to perform menial labour. All dwarven males hold this position by default, granting their spouses exemption from menial work.&lt;br /&gt;
&lt;br /&gt;
The position becomes available with the arrival of the first migrants; otherwise, on embark, it would be assumed by females. Its succession rule is non-functional, but this prevents the player from unassigning the position. A squad size of 1 and the succession rules together prevent a unit from assuming the position more than once.&lt;br /&gt;
&lt;br /&gt;
With precedence set to NONE, the position name is hidden, while LAND_NAME remains visible on the nobles screen. All married females receive the suffix “, Mrs.” and are marked as Nobles.&lt;br /&gt;
&lt;br /&gt;
The practical usefulness of this position is debatable, but it serves as a clear demonstration of several mechanics.&lt;br /&gt;
{{gamedata|title=Mrs. Urist|&lt;br /&gt;
 &lt;br /&gt;
[POSITION:MRS_URIST]	&lt;br /&gt;
	[NUMBER:300]						&lt;br /&gt;
	[SITE]						&lt;br /&gt;
	[ALLOWED_CREATURE:DWARF:MALE]	&lt;br /&gt;
	Not APPOINTED_BY				&lt;br /&gt;
	Not ELECTED&lt;br /&gt;
	[LAND_NAME:Dwarven male]				&lt;br /&gt;
	[NAME:dwarven male:dwarven male]&lt;br /&gt;
	[PRECEDENCE:NONE]					&lt;br /&gt;
	[SPOUSE_FEMALE:, Mrs.:spouses]&lt;br /&gt;
	[MENIAL_WORK_EXEMPTION_SPOUSE]&lt;br /&gt;
	[REQUIRES_POPULATION:8]			&lt;br /&gt;
	[SUCCESSION:BY_POSITION:MONARCH]&lt;br /&gt;
	[SQUAD:1:member:members]&lt;br /&gt;
}}&lt;br /&gt;
===The Archduke===&lt;br /&gt;
The archduke is the leader of the civilization, but exists only from landholder 4-level. Until then, its position remains vacant. When a settlement is elevated to tier 4 (grand duke), the grand duke can appoint the ruler of the civilisation, the archduke. Because of 'Premature Succession', they themself inherit that position immediately, but only when in fortress mode. Its heir then becomes grand duke.&lt;br /&gt;
{{gamedata|title=The Archduke| no POSITION:MONARCH or other PRECEDENCE:1 &lt;br /&gt;
&lt;br /&gt;
[POSITION:THE_ARCHDUKE]&lt;br /&gt;
	[NAME:archduke:archdukes]&lt;br /&gt;
	[NAME_MALE:archduke:archdukes]&lt;br /&gt;
	[NAME_FEMALE:archduchess:archduchesses]&lt;br /&gt;
	[LAND_NAME:a archduchy]&lt;br /&gt;
	[NUMBER:1] &lt;br /&gt;
	[PRECEDENCE:1] &lt;br /&gt;
	[SUCCESSION:BY_POSITION:GRAND_DUKE]	&lt;br /&gt;
	[APPOINTED_BY:GRAND_DUKE]&lt;br /&gt;
	(add additional monarch-stuff, like spouse name, demands etc.)&lt;br /&gt;
	&lt;br /&gt;
[POSITION:GRAND_DUKE]&lt;br /&gt;
	[NAME:grand duke:grand dukes]&lt;br /&gt;
	[NAME_MALE:grand duke:grand dukes]&lt;br /&gt;
	[NAME_FEMALE:grand duchess:grand duchesses]&lt;br /&gt;
	[NUMBER:AS_NEEDED] &lt;br /&gt;
	[LAND_HOLDER:4]&lt;br /&gt;
	// Optional ...&lt;br /&gt;
	[PRECEDENCE:19]	&lt;br /&gt;
	[LAND_NAME:a archduchy] &lt;br /&gt;
	[RESPONSIBILITY:LAW_MAKING]&lt;br /&gt;
	[RESPONSIBILITY:RECEIVE_DIPLOMATS]&lt;br /&gt;
	[SUCCESSION:BY_HEIR]&lt;br /&gt;
	[APPOINTED_BY:THE_ARCHDUKE]&lt;br /&gt;
	(add additional landholder-stuff)&lt;br /&gt;
&lt;br /&gt;
!!add to [POSITION:DUKE]&lt;br /&gt;
	[REPLACED_BY:GRAND_DUKE]&lt;br /&gt;
&lt;br /&gt;
}}&lt;br /&gt;
{{Category|Modding}}&lt;br /&gt;
{{Category|Entities}}&lt;br /&gt;
{{Category|Guides}}&lt;/div&gt;</summary>
		<author><name>Joostheger</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=Advanced_entity_position_mechanics&amp;diff=315484</id>
		<title>Advanced entity position mechanics</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=Advanced_entity_position_mechanics&amp;diff=315484"/>
		<updated>2026-03-12T09:27:49Z</updated>

		<summary type="html">&lt;p&gt;Joostheger: /* Succession */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Quality|Fine}}&lt;br /&gt;
{{Modding}}&lt;br /&gt;
&lt;br /&gt;
= Introduction = &lt;br /&gt;
&lt;br /&gt;
[http://www.bay12forums.com/smf/index.php?topic=182239.0 Discussion thread on the forum]&lt;br /&gt;
&lt;br /&gt;
This page documents observed and tested behavior of entity positions in Dwarf Fortress that is not fully described elsewhere on the wiki. It focuses on advanced interactions between position tokens, including appointment, succession, election, and responsibility handling, across both civilization-level and site-level entities.&lt;br /&gt;
&lt;br /&gt;
The mechanics described here are based on empirical testing in world generation and fortress mode, supplemented where necessary by raw analysis. In several cases, the game’s behavior is determined by evaluation order and interaction between multiple tags, rather than by individual tokens in isolation.&lt;br /&gt;
&lt;br /&gt;
This page is intended for modders and advanced players who are designing or debugging custom entity position structures. It does not restate basic position mechanics, but instead highlights edge cases, non-obvious interactions, and behaviors that may appear inconsistent or undocumented.&lt;br /&gt;
&lt;br /&gt;
Unless stated otherwise, the described behavior applies to current versions of the game and may differ from older releases.&lt;br /&gt;
&lt;br /&gt;
==What is an entity? What is a position?==&lt;br /&gt;
An [[entity]] is an organizational structure that can have relationships with other entities, usually known as a [[civilization]] or a &amp;quot;[[site]] government&amp;quot; in the game, but merchant [[guild]]s, religious organizations, necromancer towers, and [[bandit]] groups are also entities. An entity can have positions - in most cases, these are hardcoded and generated by the game, but as for civilizations and sites, the [[raw file]]s can be customised.&lt;br /&gt;
&lt;br /&gt;
A position is a special relationship between a unit and an entity. The unit holding a position has a larger influence over that entity than other citizens. Positions are mostly known as [[nobles]], but in this article. the technical term is used.&lt;br /&gt;
&lt;br /&gt;
=Position levels (Site/Civ) and their interaction=&lt;br /&gt;
There are two basic types of positions that are customizable: '''civ(ilization)''' level and '''site level'''. Positions with the tag [SITE] are at site level, positions without the tag [SITE] are at 'civ level'. These two types of nobles can be considered '''loosely related systems'''. There are a few places where they can interact with each other.&lt;br /&gt;
&lt;br /&gt;
Civ-level positions are in charge of the civilization as a whole, managing national [[trade]], laws, and [[war]]s. These are, for example, the vanilla [[monarch]], [[diplomat]] and [[general]]. (Note that the general doesn't do anything in either mode in the current version.)&lt;br /&gt;
&lt;br /&gt;
'''[LAND_HOLDER]''' nobles are also positions at civ-level. These units are members of the national government, but have gained authority over some land or site. Once they do, they move to that place, but their position is still regarded as a civ-level position.&lt;br /&gt;
&lt;br /&gt;
Site-level position holders are members of a site government (subsidiary to the civilization), and manage local affairs in that location. These are, for example, the [[mayor]], the [[sheriff]] and the [[broker]].&lt;br /&gt;
&lt;br /&gt;
==Table of interaction between different position levels==&lt;br /&gt;
In this table, the possible interactions between different position levels are summarized. &lt;br /&gt;
The header row shows the positions defining the tokens.&lt;br /&gt;
&lt;br /&gt;
The left column shows the position type that is referred to.&lt;br /&gt;
Example:  &lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! referred position-type&lt;br /&gt;
! LAND_HOLDER&lt;br /&gt;
|-&lt;br /&gt;
| civilization&lt;br /&gt;
|  &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;(baron is) APPOINTED_BY:MONARCH&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
color coding: &amp;lt;/br&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;Exists in vanilla&amp;lt;/span&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;Possible with mods&amp;lt;/span&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;Not possible&amp;lt;/span&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;possible to some extent.&amp;lt;/span&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;not yet fully investigated.&amp;lt;/span&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! referred position-type&lt;br /&gt;
! Civilization&lt;br /&gt;
! SITE&lt;br /&gt;
! LAND_HOLDER&lt;br /&gt;
! CONQUERED_SITE&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Civilization&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;SUCCESSION '''(1)'''&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| SITE&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;SUCCESSION '''(2)'''&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;APPOINTED_BY '''(3)'''&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;SUCCESSION '''(4)'''&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| LAND_HOLDER&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY '''(6)'''&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;SUCCESSION '''(5)'''&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;REPLACED_BY '''(7)'''&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;SUCCESSION '''(8)'''&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;CONQUERED_SITE&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; COMMANDER &amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; REPLACED_BY &amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt; SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; COMMANDER &amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; REPLACED_BY &amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt; SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; COMMANDER &amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; REPLACED_BY &amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; COMMANDER &amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; REPLACED_BY &amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Remarks:&lt;br /&gt;
# Works only in world-gen, if a unit with that civ-position is present at the site.&lt;br /&gt;
# Works only in world-gen, the site-position holding unit will then move to the capital.&lt;br /&gt;
# Is completely ignored&lt;br /&gt;
# Works only in world-gen.&lt;br /&gt;
# Works only in world-gen.&lt;br /&gt;
# Won't appear at all&lt;br /&gt;
# This is necessary for the landholder chain to work properly, it doesn’t work otherwise.&lt;br /&gt;
# This works only outside of the landholder chain, so when landholders are simply regarded as civ-level nobles. might also work in world-gen&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
== Other interactions ==&lt;br /&gt;
&lt;br /&gt;
Unfortunately, interactions with positions of other entities don't seem possible, such as APPOINTED_BY: HIGH_PRIEST. With [VARIABLE_POSITIONS], positions are automatically created with codes like CUSTOM_LAW_MAKER_2, but interaction with these positions don't seem to work, either. For more info on those, see [[Variable positions]]&lt;br /&gt;
&lt;br /&gt;
=General=&lt;br /&gt;
&lt;br /&gt;
==Civ-level nobles living at your site==&lt;br /&gt;
Nobles from your civilization can come to live at your fortress. This happens in vanilla with landholders such as [[Baron]], [[Count]] and [[Duke]], with the Monarch, but sometimes also with non-landed LAND_HOLDERS.&lt;br /&gt;
&lt;br /&gt;
When a civ-level noble becomes a [[citizen]] at your location, their position is shown among the site-level positions in your [[nobles screen]]. They appear to function as a site-level noble. They may have [[demand]]s, [[mandate]]s, [[squad]]s and the like. They can appoint nobles at the site-level.&lt;br /&gt;
&lt;br /&gt;
If they have certain [RESPONSIBILITY]ies, they do the tasks that go with them.&lt;br /&gt;
&lt;br /&gt;
==Fortress mode, world-gen and their differences==&lt;br /&gt;
Their are a few differences in how positions function between fortress mode (normal play mode) and the world generation (world-gen). &lt;br /&gt;
&lt;br /&gt;
In '''fortress mode''', the player has some control over the appointment of nobles, limited by elections, automatic filled-in positions and succession rules. Pre-fortress mode, which is referred to as '''world-gen''', the game will always attempt to assign nobles whenever possible. It is subjected to the same rules as in fortress-mode, but there are some exceptions. In '''[[World activities]]''', which is the thing that happens in the world while you play fortress mode, it seems as if the same rules are applied as fortress mode. &lt;br /&gt;
&lt;br /&gt;
A difference between player-fortress-mode and world-gen, is causes by visibility (see below). Positions that are not visible by the player and thus not available for assignment, will be available in world-gen and will thus be automatically assigned.&lt;br /&gt;
&lt;br /&gt;
In fortress mode, a position that is both [ELECTED] and [APPOINTED_BY], cannot be appointed by the player and is also not elected, and can thus not be filled. But in world-gen sites however, these positions are automatically filled.&lt;br /&gt;
&lt;br /&gt;
Positions with [AS_NEEDED] are almost never created and filled in world-gen (depending on their [RESPONSIBILITY]ies), but can always be used in player mode.&lt;br /&gt;
&lt;br /&gt;
A position can, in fortress mode, be filled by the same unit. A unit can gain multiple positions in fortress mode, for example because of [[elections]]. This will not happen in world-gen mode: a unit can only have one position. See also remarks on 'embark' and 'Losing a position'.&lt;br /&gt;
&lt;br /&gt;
In world-gen, [SUCCESSION] between civ-levels and [SITE-]levels may happen. This will not happen in fortress mode, or even off-site in [[World activities]].&lt;br /&gt;
&lt;br /&gt;
In fortress mode, premature SUCCESSION may happen. This will not happen in world-gen mode.&lt;br /&gt;
&lt;br /&gt;
==Units holding multiple positions in multiple entities==&lt;br /&gt;
A unit can hold multiple positions in its civilisation or in its site-entity, however this does not happen in world-gen. Only at player-managed sites can units be holding multiple positions at once. (It is probably not possible for a unit to hold a position in two different civilisations or two different sites.)&lt;br /&gt;
&lt;br /&gt;
In world-gen, if there are too many positions to be filled, they simply stay empty until more units are available. E.G, a unit at a site might inherit a civ-level position and still remain a member of the local government. When this happens however, they move to the capital. If a unit gains a new position, either inherited or otherwise, it drops the previous one. If a unit assumes a civ-position in fortress mode, it leaves the current position. &lt;br /&gt;
&lt;br /&gt;
If a unit holds the same (site-)position multiple times, it has no additional effect.&lt;br /&gt;
&lt;br /&gt;
If a unit holds multiple different positions of the same entity, it has all those positions' responsibilities and properties, stacked up. Presumably, the demands for those combined positions are determined by the highest.&lt;br /&gt;
 &lt;br /&gt;
A unit holding a position with a succession token can be assigned another position with a (different) succession token. &lt;br /&gt;
&lt;br /&gt;
A unit holding a position with a squad-position cannot hold another squad-position. It is dropped from the first, when it gets its second assigned. &lt;br /&gt;
A unit holding a position with a succession token cannot be assigned to a squad-position - the unit is simply not available. It works the other way around, though.&lt;br /&gt;
&lt;br /&gt;
=Specific Tags and functions=&lt;br /&gt;
==[PRECEDENCE]==&lt;br /&gt;
The first defined position with precedence of 1 counts as the ruler of the civ. See also: [[Position_token#PRECEDENCE|PRECEDENCE]]. &lt;br /&gt;
&lt;br /&gt;
If the precedence is omitted or has a negative value, the game sets 0 as precedence, which seems to have no effect whatsoever.&lt;br /&gt;
&lt;br /&gt;
When a unit has multiple positions, the name of the position with the highest rank in precedence is shown behind the unit's name.&lt;br /&gt;
&lt;br /&gt;
If you omit precedence entirely, or set it to [PRECEDENCE:NONE], the position name will not be shown after the unit’s name. Your *Urist Mason* will remain simply *Mason*. This can be useful for positions that are unimportant or purely functional. The position will also not appear in the civilisation overview of your site on the world map. The position name is shown in messages, but remains hidden on the nobles screen as well. To make it visible there, use [LAND_NAME].&lt;br /&gt;
&lt;br /&gt;
==[RESPONSIBILITY]ies==&lt;br /&gt;
Both civ and [SITE] positions can carry responsibilities. However, not all responsibilities are active for both types: some function only for civ positions, others only for site positions. When a civ noble arrives at a site and takes up residence, they do not perform responsibilities that are intended for SITE nobles. As a result, these responsibilities neither trigger their associated tasks nor unlock related game mechanics. For example, a civ-level manager living in a fortress will not perform management duties there and doesn't unlock the management-screen, even with an assigned office. &lt;br /&gt;
This behavior applies to the following [SITE]-level responsibilities:&lt;br /&gt;
* [RESPONSIBILITY:ACCOUNTING]&lt;br /&gt;
* [RESPONSIBILITY:BUILD_MORALE]&lt;br /&gt;
* [RESPONSIBILITY:HEALTH_MANAGEMENT]&lt;br /&gt;
* [RESPONSIBILITY:LAW_ENFORCEMENT]&lt;br /&gt;
* [RESPONSIBILITY:MANAGE_PRODUCTION]&lt;br /&gt;
* [RESPONSIBILITY:MEET_WORKERS]&lt;br /&gt;
* [RESPONSIBILITY:TRADE]  (functions differently)&lt;br /&gt;
Other responsibilities may be affected as well, but have not yet been fully tested.&lt;br /&gt;
&lt;br /&gt;
===World-gen effects of the [RESPONSIBILITY] of available positions ===&lt;br /&gt;
It is possible to cause civs and individual sites to change their behavior substantially when they reach a certain size, by controlling nobles. &lt;br /&gt;
* If a site can only appoint a position with [MILITARY_GOALS] after reaching a particular size, that site will not send armies on missions until the required size is reached.&lt;br /&gt;
* A civ-level [LAW_MAKING] position is required for the civilization to have any kind of cohesion. Without it, sites will be constantly embroiled in territorial disputes and civil wars will be commonplace.&lt;br /&gt;
* [MILITARY_STRATEGY] positions go out and tame wild animals. This makes your civ gain those animals as domesticated and also brings them in sieges.&lt;br /&gt;
* The [[Personality_facet|Personality]] of the position's holder determines how they lead the civ.&lt;br /&gt;
&lt;br /&gt;
===[DELIVERS_MESSAGES]===&lt;br /&gt;
The only [AS_NEEDED]-position that is created in worldgen based on responsibility is that of the site-level responsibility [DELIVERS_MESSAGES].&lt;br /&gt;
&lt;br /&gt;
===Outpost Liaisons and Diplomats===&lt;br /&gt;
Civ-positions with the responsibility [ESTABLISH_COLONY_TRADE_AGREEMENTS] ([[Outpost_Liaison|Outpost Liaison]]s) will meet with the site-noble who has responsibility for [RECEIVE_DIPLOMATS] and the highest rank of precedence (i.e. the lowest precedence value). Usually this is the [[Expedition_leader|Expedition leader]].&lt;br /&gt;
&lt;br /&gt;
Once a [LAND_HOLDER] is assigned to the site, civ-positions with the responsibility [MAKE_TOPIC_AGREEMENTS] ([[Diplomat]]s) will meet with '''civ'''-level nobles present at the site who have the [RECEIVE_DIPLOMATS] responsibility. If multiple eligible nobles are available, one is selected at random. If no eligible noble is present, the diplomat leaves angrily. If the landholder is no longer present at the site, diplomats will not arrive at all.&lt;br /&gt;
&lt;br /&gt;
It appears that Outpost Liaisons and Diplomats are chosen for a diplomatic mission based on availability. When multiple candidates exist, the position defined last in the raws is most often selected.&lt;br /&gt;
&lt;br /&gt;
===[TRADE]===&lt;br /&gt;
Civ-level nobles with [TRADE] will arrive with the caravan, just as the Outpost Liaison. Their behavior is no longer active in the vanilla game, but the mechanics are still present. See [[40d:Guild_representative|Guild representative]] for more details. This civ-noble will only meet with the SITE noble with [TRADE], usually the [[Broker]].&lt;br /&gt;
&lt;br /&gt;
If two civ-nobles exist with both [TRADE] and [ESTABLISH_COLONY_TRADE_AGREEMENTS], they both arrive at the same time. Even if both tokens are assigned to a single position, if more than one instance of that position exists, two of them will arrive. However in that case, somehow the elevation of the site and appointment of landholder isn't offered.&lt;br /&gt;
&lt;br /&gt;
If the SITE-noble they intend to meet has both [TRADE] and [RECEIVE_DIPLOMATS], only one meeting will proceed and the other is cancelled. However, when two SITE-nobles are available, each with either [TRADE] or [RECEIVE_DIPLOMATS], both meetings will proceed and both civ-nobles will attempt to negotiate a trade agreement. It is not known what happens if these agreements are accepted or refused.&lt;br /&gt;
&lt;br /&gt;
In the trade depot, the last defined position with the [TRADE] responsibility is shown as broker. However when requesting a trader, the first defined position with [TRADE] will actually go there to do the trade.&lt;br /&gt;
&lt;br /&gt;
==[NUMBER]==&lt;br /&gt;
A position might be defined with a number. In that case, as many as defined can be available. If the positions become available, in world-gen and when embarking, they are all filled-in completely.&lt;br /&gt;
&lt;br /&gt;
If the ruling position (with PRECEDENCE of 1) has a NUMBER higher than 1, a random unit of the ones holding these positions is shown as ruler in the embark screen.&lt;br /&gt;
&lt;br /&gt;
A [NUMBER] of 0 (zero) has the same effect as 1.&lt;br /&gt;
&lt;br /&gt;
===Automatic spreading of assumed, non-singular positions===&lt;br /&gt;
If there are civ positions that have a NUMBER higher then '1' and which are assumed (not APPOINTED_BY or ELECTED) but are '''not DUTY_BOUND''', these are automatically spread among the civilisation, based on population. If there are a number of '''20''' available slots of that position, they spread among a civilization with a combined population of, for example, 1000 of which your fortress has 100 (10%), '''2''' of your fortress' citizens will assume that position. &lt;br /&gt;
This may probably also work with elected and appointed positions, but that may be depending on the death of the current holders and this needs more testing. Assumption works within a day, anyway. &lt;br /&gt;
&lt;br /&gt;
===[AS_NEEDED]===&lt;br /&gt;
These positions can be created automatically by the game in world-gen. This, however, only works with: &lt;br /&gt;
* [LAND_HOLDER]'s&lt;br /&gt;
* squad commanders (needs more testing)&lt;br /&gt;
* Messengers at sites&lt;br /&gt;
&lt;br /&gt;
For all other types of positions, they're not created in world-gen, even if they are defined with RESPONSIBILITY's. For example, even in war, the game wouldn't create a MILITARY_GOALS position, if they have AS_NEEDED as number. &lt;br /&gt;
&lt;br /&gt;
However, in fortress mode / player mode, these positions can be created by the player at will.&lt;br /&gt;
&lt;br /&gt;
Positions with AS_NEEDED need to be created first, before any symbols are assignable as 'symbols' (objects) for the position holder to carry or wear.&lt;br /&gt;
&lt;br /&gt;
Positions with AS_NEEDED cannot be created and then ELECTED in fortress mode. It only works with APPOINTED_BY.&lt;br /&gt;
&lt;br /&gt;
==[REPLACED_BY] and [REQUIRES_POPULATION]==&lt;br /&gt;
&lt;br /&gt;
The token REPLACED_BY:position means that once the replacing position reaches its required population-number, the 'to-be-replaced' position will disappear. This is defined in REQUIRES_POPULATION. These tags are closely related to each other and seem to only have a meaningful function if combined. Nobles with REQUIRES_POPULATION require the population to have a specific size. &lt;br /&gt;
&lt;br /&gt;
This works on the civ-level as well as on site-level, but those systems are in this mechanic strictly separated. Site-level positions cannot be replaced by civ-level positions and visa versa. This makes sense, because they both depend on their own population-count. When using REQUIRES_POPULATION on civ-level, it counts the total population of the civilisation. &lt;br /&gt;
&lt;br /&gt;
See also: [[Advanced_entity_position_mechanics#Evaluation_of_Positions|Evaluation of positions]]&lt;br /&gt;
&lt;br /&gt;
===Effect of replacement (and on [LAND_HOLDER]s)===&lt;br /&gt;
&lt;br /&gt;
Replacement is immediate and complete - the current holding unit loses the position, even before SUCCESSION_BY_POSITION rules are applied. A position with a number of 1 will replace all the slots of a position with a higher number of slots. &lt;br /&gt;
&lt;br /&gt;
Even if the next position is available but not visible, replacement still takes place. If a position is replaced, it is completely gone - it cannot be appointed, succeeded, elected or assumed any longer.&lt;br /&gt;
The unit immediately loses its position.&lt;br /&gt;
&lt;br /&gt;
In legends, replacement is mentioned as: &amp;quot;(unit name) ceased to be (position name)&amp;quot; The replacement of an AS_NEEDED position empties the position's slot forever. In fortress mode, it may seem as if you can create new slots and appoint new units in the nobles screen, but this is reversed as soon as you close the window.&lt;br /&gt;
&lt;br /&gt;
The landholder chain uses [REPLACED_BY] differently. It does not clear the position completely, but uses it for succession to the next level's position. [REPLACE_BY] is required to let that system work properly. This also means that the way in which landholders succeed (replace + as_needed) does not work in any other way. &lt;br /&gt;
&lt;br /&gt;
Replacement between LAND_HOLDERS and other site- or civ positions does not work in any way. Only the vanilla replacement sequence between levels of LAND_HOLDERs does work. If the token is omitted for landholders, the landholder chain is broken, so replacement is required for the landholder system to work.&lt;br /&gt;
&lt;br /&gt;
[REQUIRES_POPULATION] also does not work for [LAND_HOLDER], when you set [NUMBER] to 1. The position is not created when the required population is reached.&lt;br /&gt;
&lt;br /&gt;
===What doesn't work===&lt;br /&gt;
&lt;br /&gt;
'''Attention: If a position cannot be appointed, for example because of 'mutual appointment', it still exists according to replacement mechanics and will replace other positions if so defined. If a certain position(a) will be replaced by the baron's assistant, which can only be appointed by the [LAND_HOLDER] baron, than that position(s) still will be replaced from the start of the game, even if no baron or their assistant is ever present.'''&lt;br /&gt;
&lt;br /&gt;
A position that is replaced by a somehow non-fillable position is still replaced. This counts for mutual-appointing positions, replacement by not-yet-assigned landholders, replacement by AS_NEEDED positions, or replacement by not-yet-appointed positions. &lt;br /&gt;
&lt;br /&gt;
Replacement does not work if the replaced position is a [LAND_HOLDER], even with civ-positions. In that case, the LAND_HOLDER's position is not replaced. It does not matter if AS_NEEDED is used, or a fixed number, and it also does not matter what type of position the replacer is. So this only works (correctly) with positions that become available by REQUIRES_POPULATION.&lt;br /&gt;
&lt;br /&gt;
==[CONQUERED_SITE]==&lt;br /&gt;
&lt;br /&gt;
This tag determines which position is used to assign a [[Forced administrator]].&lt;br /&gt;
&lt;br /&gt;
In legends mode, this is visible as an event describing the reconquest of the site: a new group is formed and the forced administrator is installed as its ruler.&lt;br /&gt;
&lt;br /&gt;
All positions defined with this tag are assigned during this process, meaning multiple positions can be appointed at once.&lt;br /&gt;
&lt;br /&gt;
The holder of a position marked with [CONQUERED_SITE] cannot appoint any other [SITE] positions.&lt;br /&gt;
&lt;br /&gt;
Combining [CONQUERED_SITE] with [SITE] causes the position to function both as a forced administrator and as a normal site position available in fortress mode. However, this provides no meaningful additional mechanics and is effectively inferior to using [SITE] alone:&lt;br /&gt;
* [APPOINTED_BY] lines are completely ignored, meaning that the roles are automatically assumed.&lt;br /&gt;
* [SUCCESSION] is likewise ignored.&lt;br /&gt;
* the [CONQUERED_SITE]-position cannot appoint other [CONQUERED_SITE], [SITE] or combined positions.&lt;br /&gt;
&lt;br /&gt;
There have been remarks that reclaiming a fortress is unplayable because of the lack of regular nobles. Unfortunately, it seems that it can't be fixed by modding.&lt;br /&gt;
&lt;br /&gt;
=Availability and visibility=&lt;br /&gt;
==Availability of (new) positions==&lt;br /&gt;
Warning: Do not mistake &amp;quot;availability&amp;quot; for &amp;quot;visibility&amp;quot;! &lt;br /&gt;
&lt;br /&gt;
Of all the possible positions existing in your site's entity, there may only be some available. &lt;br /&gt;
* Positions with [REQUIRES_POPULATION] require the population to have a specific size.&lt;br /&gt;
* Positions with [REQUIRES_MARKET] will only appear in &amp;quot;large&amp;quot; sites (which may have different rules for different site types). This tag has no effect in fort mode.&lt;br /&gt;
* Positions that are appointed by positions that have an AS_NEEDED number. The appointable positions only become available after an appointer position-slot is created. This works also on civ-level. If a position is appointed by a Land-holder, it only becomes available, when that level of landholder is created. &lt;br /&gt;
	&lt;br /&gt;
Only the replaced positions are culled and are no longer available. &lt;br /&gt;
A position that requires a certain population will become available, even if it doesn't have [APPOINTED_BY] or [ELECTED]. In that case, see 'automatic assignment' and 'assumption'&lt;br /&gt;
&lt;br /&gt;
In fortress mode, in some cases 'succession' is evaluated immediately after a position becomes available. See: Succession.&lt;br /&gt;
==Visibility of positions==&lt;br /&gt;
A position might be available, but can still be invisible for the player in the [[nobles screen]]. The positions with their respective holders are visible for players:&lt;br /&gt;
* All site-positions that are already filled-in (even if they could not be re-filled-in considering current conditions)&lt;br /&gt;
* Site positions that are appointable by a filled-in site position&lt;br /&gt;
* Site positions that are appointable by a filled-in civ position, when that civ positions holder becomes a citizen of your fortress.&lt;br /&gt;
* Civ positions of units that are also a citizen of your fortress.&lt;br /&gt;
If a position becomes available, for example because a certain pop number has been reached, or if it is available from the start(like expedition leader), as long as it cannot be appointed, it still is INVISIBLE for the player. &lt;br /&gt;
&lt;br /&gt;
It might strike someone as odd if a position becomes filled automatically in fortress mode when that position is not even visible. This might be the case if the current holder of a non-appointable position dies or succeeds another position. Regardless of player visibility, these positions will be automatically filled in if the necessary requisitions are met. It might happen with the expedition leader.&lt;br /&gt;
&lt;br /&gt;
A situation with a non-visible but available position, is for example when a position is solely appointed by the expedition leader, when the expedition leader's position is left vacant. It can no longer be appointed by the player and is invisible. Then, it gets automatically assumed, proving that the position still was available.&lt;br /&gt;
&lt;br /&gt;
A position that is both [APPOINTED_BY] and [ELECTED] is visible, but players cannot interact with it.&lt;br /&gt;
&lt;br /&gt;
={{text anchor|Evaluation of Positions}}=&lt;br /&gt;
The game does not continuously check whether positions should become available, elected or be [REPLACE_BY]. This is well-known behavior—for example with the [[mayor]], who does not appear automatically when the required population ([REQUIRES_POPULATION]) is reached. Instead, positions must somehow be evaluated. This applies in several other situations as well &lt;br /&gt;
&lt;br /&gt;
'''Cases that require a trigger:'''&lt;br /&gt;
* Election of a newly created position&lt;br /&gt;
* Election after the current holder dies&lt;br /&gt;
* Automatic assumption of a newly created position (this may take up to a day)&lt;br /&gt;
* New citizens (such as migrants) considering available positions&lt;br /&gt;
* Premature succession of a newly created position&lt;br /&gt;
&lt;br /&gt;
'''Cases that do not wait for a trigger:'''&lt;br /&gt;
* Succession following the death of the previous holder&lt;br /&gt;
* Automatic assumption of existing positions that have become vacant&lt;br /&gt;
&lt;br /&gt;
'''Triggers that cause the game to reevaluate noble positions:'''&lt;br /&gt;
* Succession of a [SITE]-position due to the death of the current holder&lt;br /&gt;
* [[Advanced_entity_position_mechanics#Election_Day|Election Day]]&lt;br /&gt;
* Automatic assumption of a [SITE]-position that becomes vacant&lt;br /&gt;
* (Re)assigning any site position manually&lt;br /&gt;
* Settlement elevation on the LAND_HOLDER track (e.g. gaining a [[Baron]] or [[Count]])&lt;br /&gt;
&lt;br /&gt;
=Gaining a position=&lt;br /&gt;
There are several ways a unit can gain a position:&lt;br /&gt;
* Appointment: A unit is appointed by another unit or by the player.&lt;br /&gt;
* Election: A unit is elected by and among the members of the entity&lt;br /&gt;
* Assumption: A position is neither elected or appointed: a random unit just simply 'takes' the position&lt;br /&gt;
* Succession: a unit is the valid successor of this position(A), either by its current position(B) or because they are that position(A)-holder's heir. &lt;br /&gt;
&lt;br /&gt;
Available positions will automatically be assigned to a random civ member when a new site/civ is created.&lt;br /&gt;
&lt;br /&gt;
==Who can take a position==&lt;br /&gt;
&lt;br /&gt;
* If so defined, a unit needs to be the right caste and/or class - it does not seem to work with creature types. &lt;br /&gt;
* The unit needs to be an adult member of the site or its parent civ's government; that is also CAN_LEARN or INTELLIGENT (SLOW_LEARNER cannot take positions) or otherwise is able to think.&lt;br /&gt;
&lt;br /&gt;
==Appointment==&lt;br /&gt;
&lt;br /&gt;
Positions that have an [APPOINTED_BY:position] token require that position to exist, to be available and appointed. Any position that is APPOINTED_BY can be appointed if the appointer's position is filled in. &lt;br /&gt;
For site-positions to be appointed, it is required that the appointer is present at that location.&lt;br /&gt;
&lt;br /&gt;
If the appointing unit is temporarily not present, or if that position is not filled, positions depending on it cannot be appointed. This is the case with [[militia captains]], when the [[militia commander]] is on a [[mission]]. &lt;br /&gt;
&lt;br /&gt;
A site position cannot appoint a civ position ''or'' LAND_HOLDER in any way whatsoever. &lt;br /&gt;
&lt;br /&gt;
Civ-level positions can appoint other civ-level positions and site-level positions can appoint other site-level positions.&lt;br /&gt;
&lt;br /&gt;
Contrary to what has been said elsewhere, civ-level nobles also can appoint site-level nobles. They need to be at the site to do so. Landholders can appoint both site-level and civ-level nobles. These systems are therefore not as separate as was assumed.&lt;br /&gt;
&lt;br /&gt;
'''Mutual appointment''' cannot take place. If these are the only requisites of the position, then the positions will never appear or get filled. These unfillable positions can be put to good use, for example, to replace a position that is no longer needed without creating a new one. &lt;br /&gt;
&lt;br /&gt;
'''Self appointment''' doesn't normally work. If you have a position that is only appointed by itself, it is never appointed and also cannot be assumed. However, if the position has a number higher than 1, and is filled by multiple units (for example by another position that is now empty), than those units can re-assign or appoint each other from that their shared position. &lt;br /&gt;
&lt;br /&gt;
If an APPOINTED_BY token refers to a non-existing position's code, the effects are as if the appointment token doesn't exist at all.&lt;br /&gt;
&lt;br /&gt;
===Automatic appointment in world-gen and on the civ level===&lt;br /&gt;
&lt;br /&gt;
Outside of fortress mode, the game will always attempt to appoint nobles whenever possible, as long as these positions are '''available''', even if they are invisible to the player.&lt;br /&gt;
It shows this message in legends:  &amp;quot;(unit name) has been appointed to the position of (position name)&amp;quot;&lt;br /&gt;
&lt;br /&gt;
In world-gen, all positions become available and are automatically appointed, taking population- and appointment-requirements into consideration. &lt;br /&gt;
&lt;br /&gt;
Positions that are REPLACED_BY are culled and won't be filled.&lt;br /&gt;
&lt;br /&gt;
If a citizen of your fortress holds a civ-level position that can appoint another civ-level position, the appointment will happen automatically and without player intervention. It may happen that another citizen of your fortress is appointed by that unit, creating civ-level position holders in your fortress, but it is unknown what is required to force this effect.&lt;br /&gt;
&lt;br /&gt;
===Manual appointments by players in fortress mode===&lt;br /&gt;
In fortress mode, the positions that need to be appointed stay empty on embark. and it is the player's job to appoint those. A player can appoint a unit to any available position, according to the hereabove mentioned conditions. The player takes the role of the automatic appointment-system, but has no direct control over elections, successions and replacement. There are some differences in what is possible at world-gen sites and at player-controlled sites.&lt;br /&gt;
&lt;br /&gt;
* A position that is appointed by a unit present as a fortress citizen, can be appointed, re-appointed or left vacant. This means also by civ-level nobles living as a citizen in your fortress; not when they are only visiting, like the diplomat.&lt;br /&gt;
* A position whose appointing positions are all either vacant or [REPLACED_BY] can no longer be appointed. If the position is already filled, it cannot be reappointed or vacated; the current holder simply remains in office.&lt;br /&gt;
* A position that is APPOINTED_BY a unit present as the land_holder of your site, can be appointed, reassigned or left vacant.&lt;br /&gt;
* A position that has SUCCESSION BY_HEIR or BY_POSITION can 'initially' be appointed and also re-appointed or left vacant, but as soon as the [[nobles]] screen closes, ''it can no longer be replaced or left vacant''. From then on, the succession-rules determine who gains that position when the current holder loses the position. This works even if the SUCCESSION:BY_POSITION-position is vacant or replaced.&lt;br /&gt;
* A position that is ELECTED nor APPOINTED_BY, can always be (re-)appointed by the player. This is the case with the [[Expedition leader]]. If it is left vacant however, it cannot be appointed, but will be assumed shortly after. &lt;br /&gt;
* A position that is both ELECTED and APPOINTED_BY, cannot be appointed by the player. Contrary to world-gen sites, its slot is visible, but it doesn't show the +-sign. This is either by AS_NEEDED or by a fixed number. Even if the position somehow gets filled (re)assignment is never possible&lt;br /&gt;
* A player can appoint a number of units to a position, as much as the NUMBER token dictates. If it is AS_NEEDED, the player may create as many slots as they like, also contrary to world-gen sites. &lt;br /&gt;
* A civ-position can never be appointed, even if the appointing civ noble is a citizen of your fortress. A civ position also never can be re-assigned or left vacant, would that position be defined as appointed by a site-position.&lt;br /&gt;
&lt;br /&gt;
==Election==&lt;br /&gt;
Read more in [[Elections]]. The message that is shown is: &amp;quot;(creature name) has been elected to the position of  (position name)&amp;quot;&lt;br /&gt;
&lt;br /&gt;
In worldgen, there is no functional difference between ELECTED and non-appointment, except that elected nobles tend to have high social skills and/or skills related to the position, while non-elected ones are assigned randomly. See: [[Elections]]&lt;br /&gt;
&lt;br /&gt;
A succession goes before an election. &lt;br /&gt;
&lt;br /&gt;
A position that is both ELECTED and APPOINTED_BY never gets elected. Even if the appointees' position somehow gets filled, (re)-elections won't happen. So, it doesn't seem possible to have an elected position become available when a certain other position becomes filled. &lt;br /&gt;
&lt;br /&gt;
An ELECTED civ-(or LAND_HOLDER) position at your site will never be (re)-elected in fortress mode. So real (re-)election only works with SITE-positions. &lt;br /&gt;
&lt;br /&gt;
=== {{text anchor|Election Day}} ===&lt;br /&gt;
Election Day takes place on the 17th of Summer. On this day, a full reevaluation is performed, including all currently elected positions, which are subject to re-election. Contrary to the information on [[Elections]], nothing occurs at the start of a season.&lt;br /&gt;
&lt;br /&gt;
Positions that are both [APPOINTED_BY] and [ELECTED] will not be re-elected on Election Day when assigned through [SUCCESSION].&lt;br /&gt;
&lt;br /&gt;
=== Election Eligiblity ===&lt;br /&gt;
Any citizen may stand for election. Eligibility cannot be restricted using [ACCEPTED_CREATURE], [REJECTED_CREATURE], [ACCEPTED_CLASS], [REJECTED_CLASS], or [GENDER]. Units currently having a [SUCCESSION]-position even may be elected for a position with a [SQUAD]-token, which is otherwise impossible to assign or even succeed.&lt;br /&gt;
&lt;br /&gt;
=== Skills ===&lt;br /&gt;
In elections, skills are taken into account for the tokens of the position which is elected.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Relevant skills per position token&lt;br /&gt;
|-&lt;br /&gt;
! Position Token !! Relevant skills&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#DELIVER_MESSAGES|[DELIVER_MESSAGES]]] || [[Ambusher]], [[Observer]] and [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#ACCOUNTING|[ACCOUNTING]]] || [[Record_keeper|Record keeper]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#ESPIONAGE|[ESPIONAGE]]] || [[Schemer]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#HEALTH_MANAGEMENT|[HEALTH_MANAGEMENT]]] || [[Diagnostician|Diagnostician]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#MAKE_INTRODUCTIONS|[MAKE_INTRODUCTIONS]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#MAKE_PEACE_AGREEMENTS|[MAKE_PEACE_AGREEMENTS]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#MAKE_TOPIC_AGREEMENTS|[MAKE_TOPIC_AGREEMENTS]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#MANAGE_PRODUCTION|[MANAGE_PRODUCTION]]] || [[Organizer]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#MEET_WORKERS|[MEET_WORKERS]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#RECEIVE_DIPLOMATS|[RECEIVE_DIPLOMATS]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#RELIGION|[RELIGION]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#TAME_EXOTICS|[TAME_EXOTICS]]] || [[Animal_trainer|Animal trainer]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#TRADE|[TRADE]]] || [[Social_skill|Social skills]] and [[Appraiser|Appraiser]]&lt;br /&gt;
|-&lt;br /&gt;
| [[Position_token#SQUAD|[SQUAD]]]-token || [[Tactician]] and [[Leader]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Assumption==&lt;br /&gt;
&lt;br /&gt;
A position that is not APPOINTED_BY nor ELECTED, or is appointed by positions that are not available in your site or civ, will be assumable by a random dwarf. If it has responsibilities that require certain skills, then these are taken into consideration on embark, but not when the position is assumed during the actual game. &lt;br /&gt;
&lt;br /&gt;
Normally, one to three units will take the into consideration to assume a position. Most of the time when there are multiple open positions, only a single unit will assume all of them. However, a position that has REJECTED_CREATURE, REJECTED_CLASS, ALLOWED_CREATURE or ALLOWED_CLASS will be filled with all different units, even if the creature or class mentioned is irrelevant. It seems that this forces the game to loop over all the available units.&lt;br /&gt;
&lt;br /&gt;
The message that is shown in Legends mode is: &amp;quot;(unit name) has assumed the position of (position name)&amp;quot;. This may also take place in fortress mode, which then shows this message to the player. &lt;br /&gt;
&lt;br /&gt;
If an assumable position becomes empty, it will be assumed within a day. This is the case when you leave the position of expedition-leader vacant. It also happens with entities. &lt;br /&gt;
&lt;br /&gt;
Assumable positions that become empty will not be assumed if that position has a valid [SUCCESSION] -successor. In that case, the successor inherits the position. &lt;br /&gt;
&lt;br /&gt;
Even positions that are somehow invisible because they cannot be directly APPOINTED_BY players, can be assumed. &lt;br /&gt;
&lt;br /&gt;
When you embark, the assumable positions are automatically assigned to a random unit. If there are multiple of these positions at embark, they all are assigned to the same unit. If there are enough positions available, multiple units may gain a position, but often no more than three different ones.&lt;br /&gt;
&lt;br /&gt;
If a dwarf in fortress mode assumes a position, that already has another position, it will leave the current position empty. When that position also is assumed, then this will continue until all positions have a dwarf appointed to them, with no other position.&lt;br /&gt;
&lt;br /&gt;
A unit that already has a position with a [SUCCESSION] token won't take assumable positions into consideration that have a [SQUAD] token. This can be used by the modder to prevent unwanted loss of current positions.&lt;br /&gt;
&lt;br /&gt;
A position that has an appointer which got replaced because of REPLACED_BY, will not become assumable. Also, positions that have an AS_NEEDED appointer that is not yet filled (or ever), will also not be assumed.&lt;br /&gt;
&lt;br /&gt;
==Succession==&lt;br /&gt;
&lt;br /&gt;
If a position-holder dies or advances to a new position via succession, the position will be granted to another unit based on the [SUCCESSION] tag. If they have an heir or the succeeding position exists, that unit will be assigned. If not, a new one will be appointed according to the usual rules. The message that is shown is: &amp;quot;(creature name) being the rightful heir, has inherited the position of (position name)&amp;quot;&lt;br /&gt;
&lt;br /&gt;
The succeeding creature will also lose its previous position. When succession is defined using BY_POSITION, the unit naturally loses the referenced position. However, it also loses any other positions it may hold. If a unit could simultaneously inherit multiple positions, the last-defined succession overrides the earlier one, clearing the previously acquired position&lt;br /&gt;
&lt;br /&gt;
Succession works both at site-level and at civ-level, both in world-gen and in fortress-mode. Succession by position on the civ-level is also visible and functional in fortress-mode. If both civ-level nobles are a citizen of your fortress, succession is applied visually. Vanilla example: The [[druid]] is succeeded by the [[acolyte]]. This means that as soon as the druid dies, the acolyte takes over. &lt;br /&gt;
&lt;br /&gt;
When a position that is succeeded by position becomes available, immediately it is checked if a position-successor is available and the position is filled with that unit. Even if this is an [ELECTED] position, succession goes first. When elections eventually do happen, succession plays no role.&lt;br /&gt;
&lt;br /&gt;
It is possible to assign multiple levels of [SUCCESSION:BY_POSITION] in different positions, creating a line of positions where the death of one causes all those &amp;quot;below&amp;quot; them to advance.&lt;br /&gt;
&lt;br /&gt;
A position can have multiple tokens with position-succession. It looks to be random which one is used. It is not always:&lt;br /&gt;
* The first or last defined token&lt;br /&gt;
* The first or last appointed unit&lt;br /&gt;
* the oldest or youngest&lt;br /&gt;
* one with a higher or lower precedence&lt;br /&gt;
* a unit with relevant skills&lt;br /&gt;
&lt;br /&gt;
When a position is defined with a Succession-type, that unit cannot have another position that has a Squad-type. If the succession-position itself has a squad, than it can be assigned another position with a squad, but then it will loose the previous succesion position. See further details by &amp;quot;Squad&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Assumed positions can also be succeeded by position, if the current holder dies. &lt;br /&gt;
&lt;br /&gt;
If the successor is an AS_NEEDED position, the used unit will leave a vacant position-slot on its removal by succession. This empty slot remains a real slot, which will only be cleaned up if you (un)appoint a unit to this position-series. It isn't cleaned up after regular position validation.&lt;br /&gt;
&lt;br /&gt;
A civ-level position of a unit living at your site might be inherited by a unit holding that does not currently live at your site. This, unfortunately, moves that position to a unit off site. This may also happen with the landholder of your site, for example when it is succeeded by another civ-level position. This currently poses an unsolved challenge. &lt;br /&gt;
&lt;br /&gt;
===Eligibility for succession===&lt;br /&gt;
Succession is restricted by the tokens [ACCEPTED_CREATURE], [REJECTED_CREATURE], [ACCEPTED_CLASS], [REJECTED_CLASS] and [GENDER].&lt;br /&gt;
&lt;br /&gt;
===Site and civ combined succession===&lt;br /&gt;
&lt;br /&gt;
Succession can work when combining site positions with civ-level positions or land_holders, but only in world-gen mode.  In fortress mode, it only works with combining the same level of nobles, with Landholders regarded as civ-level. So, in fortress mode, a site's position cannot succeed a landholder's position and it cannot succeed another type of civ-level position, and vice versa. &lt;br /&gt;
&lt;br /&gt;
This won't work even if the positions:&lt;br /&gt;
* are AS_NEEDED or having a fixed number.&lt;br /&gt;
* Are LAND_HOLDERs.&lt;br /&gt;
&lt;br /&gt;
===Succession [BY_HEIR]===&lt;br /&gt;
&lt;br /&gt;
When a heir is needed for succession, all children and then other relatives are validated. They cannot take the position if their status does not allow it, for example if they have become a member of another civilisation. See: &amp;quot;Who can take a position&amp;quot;. If the unit has no valid heir on that location, the position may go to a unit living on another site. This may cause the title of Landholder of some land to be inherited by a unit living somewhere else. That might be a problem, because then you lose your landholders.&lt;br /&gt;
&lt;br /&gt;
===Premature Succession===&lt;br /&gt;
&lt;br /&gt;
There are cases where [SUCCESSION:BY_POSITION] is applied prematurely: at the moment a position is first created and becomes appointable or assumable, rather than after a current holder leaves. In this situation, the succession mechanism assigns a holder immediately, without any player interaction.&lt;br /&gt;
&lt;br /&gt;
When a position becomes available for the first time, the game checks whether a valid successor-by-position exists. If so, that unit is assigned instantly. It can affect positions that would normally be appointed or elected by the player, causing succession to trigger before the player has any opportunity to intervene.&lt;br /&gt;
&lt;br /&gt;
This behavior occurs only in Fortress mode, but can be applied both on [SITE]-positions as well in civ-positions. That last one however is a bit harder to control. Example: [[Advanced entity position mechanics#The Archduke|The Archduke]]&lt;br /&gt;
&lt;br /&gt;
This premature succession only occurs the first time a position becomes available (i.e. when it is created and becomes appointable or assumable). Even if the position remains vacant and the conditions for succession improve later, premature succession will not trigger again. From that point onward, only normal succession rules apply.&lt;br /&gt;
&lt;br /&gt;
Using premature succession, a position that has [ELECTED], [APPOINTED_BY], or both, can be filled directly.&lt;br /&gt;
Notably, positions that combine [ELECTED] and [APPOINTED_BY] are normally impossible to fill through regular mechanics. Premature succession bypasses both election and appointment entirely, making this combination uniquely reachable through this mechanism.&lt;br /&gt;
&lt;br /&gt;
No initial election takes place, and no subsequent elections will ever occur for that position. Succession always takes precedence over election, both in premature succession and in normal succession cases.&lt;br /&gt;
&lt;br /&gt;
This behavior applies only in Fortress mode, not during world generation. World-gen uses simplified and more efficient mechanics, and this interaction does not occur there. Premature succession can affect both site-level and civilization-level positions.&lt;br /&gt;
&lt;br /&gt;
====Multiple succession chains====&lt;br /&gt;
&lt;br /&gt;
Multiple succession chains may be defined and are resolved in the order they appear in the raws.&lt;br /&gt;
&lt;br /&gt;
If a position has both:&lt;br /&gt;
* a direct succession chain (A → C), and&lt;br /&gt;
* a multi-step chain (A → B → C),&lt;br /&gt;
&lt;br /&gt;
and intermediate positions are vacant, resolution proceeds according to raw order. A common outcome is:&lt;br /&gt;
# The direct succession (A → C) is applied first, assigning A to C.&lt;br /&gt;
# The remaining chain then advances (A → B).&lt;br /&gt;
# If C still has empty slots, the final step (B → C) may occur.&lt;br /&gt;
&lt;br /&gt;
If position B is already filled, behavior depends entirely on raw definition order:&lt;br /&gt;
* nothing may happen, or&lt;br /&gt;
* B may move to C first, followed by A moving to B.&lt;br /&gt;
====Working triggers====&lt;br /&gt;
Premature succession is triggered when a succeedable position is created under the following conditions:&lt;br /&gt;
* The succeedable position is created because its [REQUIRES_POPULATION] threshold is reached. This applies even if the position is not [APPOINTED_BY]. Premature succession takes priority over automatic assumption (e.g. the mayor declaring themselves within a day).&lt;br /&gt;
** The position must either be assumable or appointed by an existing position. When said appointer-position also just has been created, the premature succession of the succeedable position happenes, even when the appointer-position is empty.&lt;br /&gt;
* The succeedable position can be [APPOINTED_BY] another position of the same level (site or civ) that has just been created because its [REQUIRES_POPULATION] was reached.&lt;br /&gt;
* The succeedable position can be appointed by another [SITE] [AS_NEEDED] position that has just been created and filled.&lt;br /&gt;
* The succeedable (site or civ) position is [APPOINTED_BY] the [LAND_HOLDER] position, which has just been created due to site elevation. This typically resolves when the diplomat leaves the map, at which point the landholder position becomes active.&lt;br /&gt;
* If all other requirements are met, premature succession can occur immediately after unpausing following embark, for positions with [REQUIRES_POPULATION:7].&lt;br /&gt;
&lt;br /&gt;
====Non-working triggers====&lt;br /&gt;
Premature succession does '''not''' occur in the following cases:&lt;br /&gt;
* An [AS_NEEDED] succeedable position slot is manually created by the player while its succeeding position is already filled. [AS_NEEDED] positions must always be appointed after creation.&lt;br /&gt;
* The succeeding position is filled after the succeedable position becomes available. The moment of creation is the decisive trigger; filling the source position later is too late.&lt;br /&gt;
* The succeedable position can be appointed by another site or civ position with a fixed number of slots that has just been appointed. In this case, the succeedable position is just available for appointment itself, nothing more&lt;br /&gt;
* Any situation occurring during world generation.&lt;br /&gt;
* The succeeding position is [REPLACED_BY] the succeedable position. In this case, replacement removes the unit from the source position first, leaving no holder available for the succession mechanism to use.rst, leaving no holder available for the succession mechanism to use.&lt;br /&gt;
* The position is [APPOINTED_BY] a civ-level position, that just became a citizen of your fortress. It must be noted that those civ-level positions were active all that time and the succeedable position could be appointed even before. The monarchs arrival does not trigger premature succession&lt;br /&gt;
&lt;br /&gt;
=Losing a position=&lt;br /&gt;
&lt;br /&gt;
A unit can lose a position when:&lt;br /&gt;
* It dies&lt;br /&gt;
* It succeeds another position, even if it has nothing to do with the previous position.&lt;br /&gt;
* It is assigned to another SQUAD-holding position&lt;br /&gt;
* It is convicted of a crime.&lt;br /&gt;
* Another unit is ELECTED for the position&lt;br /&gt;
* Its position becomes replaced&lt;br /&gt;
* Another unit is appointed by the player, or the position is left vacant. &lt;br /&gt;
* It has assumed another position, as this always leaves the previous position vacant.&lt;br /&gt;
&lt;br /&gt;
=Embarkment=&lt;br /&gt;
Two types of positions are automatically filled by embark. &lt;br /&gt;
* Positions without [APPOINTED_BY] or [ELECTED] (assumable). All these positions, even with a NUMBER higher than 1, are all filled with one to three dwarves. Contrary to assumption, this doesn't take into account any limitations. REJECTED_CLASS, ALLOWED_CLASS, REJECTED_CREATURE, ALLOWED_CREATURE and GENDER are applied, but without the normal spread you may expect with assumptions. Also it doesn't look at [SUCCESSION] and [SQUAD] limitations.&lt;br /&gt;
* Positions that are elected are filled-in by the normal election rules.&lt;br /&gt;
&lt;br /&gt;
Positions that have a defined appointer are never initially filled at embark.&lt;br /&gt;
&lt;br /&gt;
All positions that don't have [REQUIRES_POPULATION]  or with a [REQUIRES_POPULATION] of 7 or lower, will be available at embark.&lt;br /&gt;
&lt;br /&gt;
=Land Holders=&lt;br /&gt;
&lt;br /&gt;
A Landholder is a '''special civ-level noble''' who gets a certain piece of land to hold, when that land is elevated to a certain level, determined by the tag [LAND_HOLDER] and by the landholder triggers in the game's settings. In vanilla, these are the baron, the count and the duke. &lt;br /&gt;
&lt;br /&gt;
A unit gaining the landholder position does not migrate to that specific named land. In world-gen, they stay just where they are, probably at the capital. In fortress mode, you can suggest a citizen for the role. So for the time being that works.&lt;br /&gt;
&lt;br /&gt;
Succession is then a real issue. If you use BY_HEIR, its solved when that landholder has children living at your site. But when its not the case, the title just goes to anyone randomly. Succession BY_POSITION works, but only in the civ-chain, and there's no way to guarantee a civ-holder is at your site at that time. Even with 'automatic spread' positions, it goes to one of them randomly.&lt;br /&gt;
&lt;br /&gt;
==Functioning of the regular landholder chain==&lt;br /&gt;
&lt;br /&gt;
The distinct difference between a landholder and a regular civ-level noble, is that a landholder may gain the position of landholder &amp;quot;of (sitename)&amp;quot; They are then seen as ruler of a particular site. &lt;br /&gt;
&lt;br /&gt;
For a land_holder position to function as such, it has a few requirements:&lt;br /&gt;
* NUMBER:AS_NEEDED &lt;br /&gt;
* The first landholder-number of 1 is defined. &lt;br /&gt;
* No SITE (so civ) tag in that position.&lt;br /&gt;
*REPLACED_BY the next level landholder&lt;br /&gt;
If a landholder is defined with differentiating properties, it will function like a regular noble. A higher-up landholder that lacks the required tokens or connections will then not be used in elevation. &lt;br /&gt;
&lt;br /&gt;
If a fortress meets the trigger for a new LAND_HOLDER tier when a caravan leaves, then the next time the outpost liaison or equivalent arrives, they will offer to make you an official colony, which will allow you to select all positions for that LAND_HOLDER level. Each time they appear, the outpost liaison will only promote your fortress one tier up the LAND_HOLDER track. &lt;br /&gt;
&lt;br /&gt;
The landholder's LAND_NAME is not required for the functioning of this system. If omitted, messages will be shown with a more generic text.&lt;br /&gt;
&lt;br /&gt;
==Appointment==&lt;br /&gt;
&lt;br /&gt;
This mechanism differs from the regular methods of position management. It ignores all regular appointment- and election rules, so it more or less functions like automatic assignment. A landholder is, in vanilla, appointed by the monarch. Changing this doesn't seem to do anything. If they are appointed by a site-position, a not-yet-existing civ-position, or not appointed at all: the system keeps working as usual. &lt;br /&gt;
&lt;br /&gt;
A landholder can appoint civ-positions and site positions. This works as expected: the positions only are appointed then when that landholder becomes available on civ-level or when he arrives at that site for site-level positions. &lt;br /&gt;
&lt;br /&gt;
If your rank of landholder is the first of its rank in the realm, and is the sole appointer of some civ-position, then immediately as it gains the title, it will appoint the empty civ-slots. This may happen on your site, but the frequency and certainty is hard to determine.&lt;br /&gt;
&lt;br /&gt;
==Succession==&lt;br /&gt;
&lt;br /&gt;
Succession rules are applied to some extent:&lt;br /&gt;
* In world-gen it works according to succession rules, and site-positions can be used here.  This means that a site position or a civ-position can inherit a landholder position, and vice versa.&lt;br /&gt;
* In fortress mode, once a landholder has been appointed, it then can inherit civ-level positions, and vice versa. This means that your baron can become king. &lt;br /&gt;
* Succession rules do not apply within the [LAND_HOLDER] chain; a count will not inherit a baron's land. This is because succession does not work well with the AS_NEEDED token.&lt;br /&gt;
* Premature succession works in fortress mode with landholders. If a unit gets a landholder's position and that landholder is the appointer of an as yet empty position, which is defined as succeeding from a third one, then the succession is immediately applied. The landholder themselves can even be the successor of a newly created position.&lt;br /&gt;
* A landholder's position is, in fortress mode, not successionable by a site-position or vice versa&lt;br /&gt;
&lt;br /&gt;
===Impossibilities for succession by a site-position===&lt;br /&gt;
It would be very beneficial if the landholder can be succeeded by a [SITE]-position. So far, the following tests have not lead to positive results:&lt;br /&gt;
* making landholder and site-position both non-[DUTY_BOUND]&lt;br /&gt;
* make the site-position be [APPOINTED_BY] the landholder and/or the monarch&lt;br /&gt;
* give landholder and site-position [REJECTED_CREATURE]&lt;br /&gt;
* Let the monarch live at your site when succession could happen.&lt;br /&gt;
* Let the site-position be [REPLACED_BY] the landholder.&lt;br /&gt;
&lt;br /&gt;
If the vanilla [SUCCESSION:BY_HEIR]-tag is omitted, a seemingly random unit somewhere in the realm is assigned this position.&lt;br /&gt;
&lt;br /&gt;
==Nomination==&lt;br /&gt;
&lt;br /&gt;
The player is able to nominate a unit to become the LAND_HOLDER, but this only works with units of [LAND_HOLDER] level 1. The player can select all units, only limited by the PRECEDENCE of the current units' positions.&lt;br /&gt;
&lt;br /&gt;
A unit that has a position with a PRECEDENCE lower or equal to that of the landholder's position, cannot be selected. This means that a baron (or count) from another site or the monarch cannot be selected, because their precedence is lower or equal. &lt;br /&gt;
&lt;br /&gt;
The GENDER  token does not work here: also units with the wrong gender (sorry) can be selected.&lt;br /&gt;
&lt;br /&gt;
==Levels==&lt;br /&gt;
In mods, up to 10 levels of LAND_HOLDER may be defined. &lt;br /&gt;
&lt;br /&gt;
If a landholder is replaced by a wrong landholder number (1 replaced by 3), then the number 3 is still correctly attached to the settlement. &lt;br /&gt;
&lt;br /&gt;
If the current landholder has the highest available landholder number, then the next elevation will not happen - the diplomat will not elevate your fortress to a higher position, even if that position might be REPLACED_BY a lower landholder. &lt;br /&gt;
&lt;br /&gt;
These chains do work:&lt;br /&gt;
* 1 -&amp;gt; 2a - &amp;gt; 2b -&amp;gt; 3&lt;br /&gt;
* 1 -&amp;gt; 3 -&amp;gt; 2 -&amp;gt; 4&lt;br /&gt;
&lt;br /&gt;
These chains do not work:&lt;br /&gt;
* 2 -&amp;gt; 3 (need to start at 1)&lt;br /&gt;
* 1 -&amp;gt; 4 -&amp;gt; 2 -&amp;gt; 3 (stops after 4 as the highest)&lt;br /&gt;
* 1a -&amp;gt; 2, 1b -&amp;gt; 2 (only 1a and 2 work, 1b is not used)&lt;br /&gt;
&lt;br /&gt;
==Moving landholders==&lt;br /&gt;
&lt;br /&gt;
It may happen that a land-holder no longer lives at the site which they are the landholder of, specifically when the current landholder dies, leaving the title to an heir living somewhere else. &lt;br /&gt;
&lt;br /&gt;
To prevent this from happening, you can make their succession from heir and make sure that their kids live at your site. Or, you can make their position succeeded by another civ position, and make it so that this civ position is somehow available on your site. But if multiple of these positions exist, it cannot be guaranteed that a citizen of your fortress will inherit the title. &lt;br /&gt;
&lt;br /&gt;
In world gen, a landholder lacking the DUTY_BOUND-token will also move to the site they like, according to legends mode.&lt;br /&gt;
&lt;br /&gt;
==Replacement by a generic civ-position==&lt;br /&gt;
&lt;br /&gt;
If a landholder is replaced by an AS_NEEDED non-landholder civ-position, then this will work: the current landholder loses that title upon settlement-elevation and gains that civ-title. However, the civ-title lacks the landholder-property of being attached to the land. It will not show the name of the settlement alongside the position's name. So no &amp;quot;minister of Shovelmounts&amp;quot;&lt;br /&gt;
&lt;br /&gt;
If a landholder is replaced by a general AS_NEEDED civ-position, that itself is also replaced by a generic AS_NEEDED civ-position, then firstly the elevation is executed and also the unit gains that new position. However, he immediately loses it, because an AS_NEEDED position that is replaced by another position can be filled initially, but units wont be able to hold that title.&lt;br /&gt;
&lt;br /&gt;
==Landholder with fixed number==&lt;br /&gt;
&lt;br /&gt;
A landholder's position that has a fixed number will be created and filled directly when the civilisation is born, so this position slot is then not available for the regular landholder-mechanic and will also not be used. That landholder will thus not be attached to a settlement. &lt;br /&gt;
&lt;br /&gt;
It doesn't matter if the landholder's position is connected to the regular landholder's-chain with the REPLACE_BY token.&lt;br /&gt;
&lt;br /&gt;
==Responsibilities==&lt;br /&gt;
&lt;br /&gt;
When given a certain [RESPONSIBILITY], a landholder may function as a regular civ-level noble. If the position has [TRADE] or [OUTPOST_NEGOTIATING] responsibilities, then the landholder functions both as a diplomat and as an actual land holder. A landholder with the [MILITARY_STRATEGY]  responsibility will travel around taming creatures in world-gen, according to legends mode. &lt;br /&gt;
&lt;br /&gt;
Besides that, the responsibilities work the same as with any other on-site living position-holder, civ or otherwise.&lt;br /&gt;
&lt;br /&gt;
=Military=&lt;br /&gt;
==Squad management==&lt;br /&gt;
In the vanilla game, the Squad interface only becomes available after a militia commander has been appointed. Until then, the window displays:{{DFtext|You must appoint somebody first to create a squad.}}&lt;br /&gt;
&lt;br /&gt;
What’s surprising is how this is determined internally. In the entity raw definition, '''only the last two positions that include a [SQUAD] token are checked''' to decide whether the interface is accessible at all. As a result, if your hierarchy defines commanders A through E, appointing '''Commander D or E''' unlocks squad formation, while appointing A–C does nothing.&lt;br /&gt;
&lt;br /&gt;
In other words, squad availability is not tied to ''having a militia commander'', but to ''which specific positions happen to be last in the raw list''—a notably hacky implementation.&lt;br /&gt;
&lt;br /&gt;
These 'last two' are always the last two '''available positions.''' So if they get [REPLACED_BY] or become available because of [REQUIRES_POPULATION], the game adapts to those.&lt;br /&gt;
&lt;br /&gt;
==Squad assignment==&lt;br /&gt;
&lt;br /&gt;
Squads can be assigned, even if the leader position has no holder.&lt;br /&gt;
&lt;br /&gt;
A specific unit can only have one position associated with a squad. If it gains another 'squad holding position', it is unassigned from the first one. This does not work with a 0-squad, so only 1+squads are taken into consideration. This technique can possibly be used to distribute all positions equally among all citizens. It does however not work with election and assumption. &lt;br /&gt;
&lt;br /&gt;
If a civ-level position is associated with a squad and it gets a site-level squad-holding position assigned, it loses the current civ-position. &lt;br /&gt;
&lt;br /&gt;
Squads can get really messed up, if you make the position (or multiple) either elected or not-elected and not-appointed, then this can cause the game to assign multiple squads to the same unit. Automatic assignment and election does not take squads into account, but the nobles screen does. This can cause the positions to be cleared as the game figures out that they have more than one position, and immediately get elected or assumed again. &lt;br /&gt;
&lt;br /&gt;
Positions that cannot have a squad-position:&lt;br /&gt;
* A site- or civ-position with a [SUCCESSION] token cannot be appointed a squad-holding-position. The other way around, however, does work. For example, if a site-position with a [SUCCESSION]-token is appointed to a unit that has already a position with [SQUAD]. But when that squad position is assigned to another unit, it cannot be assigned back. &lt;br /&gt;
* A position with [SUCCESSION] can also not be assigned as a '''member''' of a squad.&lt;br /&gt;
* A squad-holding position with a formed squad cannot be appointed to another squad holding position.&lt;br /&gt;
&lt;br /&gt;
If a position has at least one squad member, it cannot be left vacant. First, the squad has to be disbanded, then the position may be cleared.&lt;br /&gt;
&lt;br /&gt;
==0-squads==&lt;br /&gt;
A 0-Squad is defined in a position as [SQUAD:0:member:members]. It does not seem to do anything useful as of now.&lt;br /&gt;
* It cannot be used to activate the [[Squad|military interface]]&lt;br /&gt;
* It does not restrict the assignment of [SUCCESSION] positions.&lt;br /&gt;
* Assigning this position does not clear any previously held squad position.&lt;br /&gt;
* The [[Leader]] and [[Tactician]] skill are not marked as relevant skills and are not taken into account in elections.&lt;br /&gt;
* It cannot be formed as a squad.&lt;br /&gt;
&lt;br /&gt;
=Further testing=&lt;br /&gt;
The following questions may need additional testing. Feel free to add or answer&lt;br /&gt;
* Everything regarding COMMANDING and army-structure&lt;br /&gt;
** [http://www.bay12forums.com/smf/index.php?topic=175437.msg8331668#msg8331668]&lt;br /&gt;
** [http://www.bay12forums.com/smf/index.php?topic=165213.msg8335682#msg8335682]&lt;br /&gt;
** [http://www.bay12forums.com/smf/index.php?topic=174584.msg8026854#msg8026854]&lt;br /&gt;
* Everything regarding CONQUERED_SITE, but it is presumably just like site. But what if you combine SITE or LAND_HOLDER with it?&lt;br /&gt;
* Stuff about the monarch, its arrival and its entourage.&lt;br /&gt;
&lt;br /&gt;
=Oddities (Bugs)=&lt;br /&gt;
Almost everything on this page could be called an oddity. Because of their unexpected usability, some may also be referred to as “undocumented features.” Others, however, are simply odd and not particularly useful, yet I hesitate to call them “bugs.”&lt;br /&gt;
* If a certain threshold is reached that makes an elected position electable, and the triggering event that initiates this evaluation is an assumption, then the resulting assumption is also referred to in the messages as an election&lt;br /&gt;
&lt;br /&gt;
=Examples=&lt;br /&gt;
&lt;br /&gt;
===The Founder===&lt;br /&gt;
The founder is a single dwarf, appointed at embark. They will be the only one ever to have this position and are not replaceable. When they lose their position some way, the position will not be assumed by another dwarf. &lt;br /&gt;
{{gamedata|title=The Founder|&lt;br /&gt;
[POSITION:THE_FOUNDER]&lt;br /&gt;
	[NAME:the founder:founders]&lt;br /&gt;
	[NUMBER:1] &lt;br /&gt;
	[SITE]&lt;br /&gt;
	[ALLOWED_CREATURE:DWARF:ALL]		- will only be filled at embark, but not assumable later.&lt;br /&gt;
	[REJECTED_CREATURE:DWARF:ALL]		- will only be filled at embark, but not assumable later.&lt;br /&gt;
	[SUCCESSION:BY_POSITION:THE_FOUNDER]	- not unassignable, also cannot be assigned to a [SQUAD] position.&lt;br /&gt;
	[PRECEDENCE:200] &lt;br /&gt;
	Non APPOINTED_BY&lt;br /&gt;
	Non ELECTED&lt;br /&gt;
	Optional: Add responsibilities to make the game select a unit with certain skills.&lt;br /&gt;
}}&lt;br /&gt;
===Marriage bar===&lt;br /&gt;
Dwarven matrons are held in great honour. Upon marriage, a female dwarf is no longer expected to perform menial labour. All dwarven males hold this position by default, granting their spouses exemption from menial work.&lt;br /&gt;
&lt;br /&gt;
The position becomes available with the arrival of the first migrants; otherwise, on embark, it would be assumed by females. Its succession rule is non-functional, but this prevents the player from unassigning the position. A squad size of 1 and the succession rules together prevent a unit from assuming the position more than once.&lt;br /&gt;
&lt;br /&gt;
With precedence set to NONE, the position name is hidden, while LAND_NAME remains visible on the nobles screen. All married females receive the suffix “, Mrs.” and are marked as Nobles.&lt;br /&gt;
&lt;br /&gt;
The practical usefulness of this position is debatable, but it serves as a clear demonstration of several mechanics.&lt;br /&gt;
{{gamedata|title=Mrs. Urist|&lt;br /&gt;
 &lt;br /&gt;
[POSITION:MRS_URIST]	&lt;br /&gt;
	[NUMBER:300]						&lt;br /&gt;
	[SITE]						&lt;br /&gt;
	[ALLOWED_CREATURE:DWARF:MALE]	&lt;br /&gt;
	Not APPOINTED_BY				&lt;br /&gt;
	Not ELECTED&lt;br /&gt;
	[LAND_NAME:Dwarven male]				&lt;br /&gt;
	[NAME:dwarven male:dwarven male]&lt;br /&gt;
	[PRECEDENCE:NONE]					&lt;br /&gt;
	[SPOUSE_FEMALE:, Mrs.:spouses]&lt;br /&gt;
	[MENIAL_WORK_EXEMPTION_SPOUSE]&lt;br /&gt;
	[REQUIRES_POPULATION:8]			&lt;br /&gt;
	[SUCCESSION:BY_POSITION:MONARCH]&lt;br /&gt;
	[SQUAD:1:member:members]&lt;br /&gt;
}}&lt;br /&gt;
===The Archduke===&lt;br /&gt;
The archduke is the leader of the civilization, but exists only from landholder 4-level. Until then, its position remains vacant. When a settlement is elevated to tier 4 (grand duke), the grand duke can appoint the ruler of the civilisation, the archduke. Because of 'Premature Succession', they themself inherit that position immediately, but only when in fortress mode. Its heir then becomes grand duke.&lt;br /&gt;
{{gamedata|title=The Archduke| no POSITION:MONARCH or other PRECEDENCE:1 &lt;br /&gt;
&lt;br /&gt;
[POSITION:THE_ARCHDUKE]&lt;br /&gt;
	[NAME:archduke:archdukes]&lt;br /&gt;
	[NAME_MALE:archduke:archdukes]&lt;br /&gt;
	[NAME_FEMALE:archduchess:archduchesses]&lt;br /&gt;
	[LAND_NAME:a archduchy]&lt;br /&gt;
	[NUMBER:1] &lt;br /&gt;
	[PRECEDENCE:1] &lt;br /&gt;
	[SUCCESSION:BY_POSITION:GRAND_DUKE]	&lt;br /&gt;
	[APPOINTED_BY:GRAND_DUKE]&lt;br /&gt;
	(add additional monarch-stuff, like spouse name, demands etc.)&lt;br /&gt;
	&lt;br /&gt;
[POSITION:GRAND_DUKE]&lt;br /&gt;
	[NAME:grand duke:grand dukes]&lt;br /&gt;
	[NAME_MALE:grand duke:grand dukes]&lt;br /&gt;
	[NAME_FEMALE:grand duchess:grand duchesses]&lt;br /&gt;
	[NUMBER:AS_NEEDED] &lt;br /&gt;
	[LAND_HOLDER:4]&lt;br /&gt;
	// Optional ...&lt;br /&gt;
	[PRECEDENCE:19]	&lt;br /&gt;
	[LAND_NAME:a archduchy] &lt;br /&gt;
	[RESPONSIBILITY:LAW_MAKING]&lt;br /&gt;
	[RESPONSIBILITY:RECEIVE_DIPLOMATS]&lt;br /&gt;
	[SUCCESSION:BY_HEIR]&lt;br /&gt;
	[APPOINTED_BY:THE_ARCHDUKE]&lt;br /&gt;
	(add additional landholder-stuff)&lt;br /&gt;
&lt;br /&gt;
!!add to [POSITION:DUKE]&lt;br /&gt;
	[REPLACED_BY:GRAND_DUKE]&lt;br /&gt;
&lt;br /&gt;
}}&lt;br /&gt;
{{Category|Modding}}&lt;br /&gt;
{{Category|Entities}}&lt;br /&gt;
{{Category|Guides}}&lt;/div&gt;</summary>
		<author><name>Joostheger</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=Mayor&amp;diff=315414</id>
		<title>Mayor</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=Mayor&amp;diff=315414"/>
		<updated>2026-03-09T09:10:38Z</updated>

		<summary type="html">&lt;p&gt;Joostheger: Preparing a candidate is a perfectly legal way, and has nothing to do with rigging /* Ppreparing a candidate */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Quality|Superior}}&lt;br /&gt;
{{av}}&lt;br /&gt;
{{Noble&lt;br /&gt;
| noble= Mayor&lt;br /&gt;
| office= Decent Office&lt;br /&gt;
| quarters= Decent Quarters&lt;br /&gt;
| dining= Decent Dining Room&lt;br /&gt;
| chests=2&lt;br /&gt;
| cabinets=1&lt;br /&gt;
| racks=1&lt;br /&gt;
| stands=1&lt;br /&gt;
| mandates=1&lt;br /&gt;
| demands=2&lt;br /&gt;
| arrival=&lt;br /&gt;
* 50 population&lt;br /&gt;
* Elected&lt;br /&gt;
| function=&lt;br /&gt;
* Meet with foreign dignitaries&lt;br /&gt;
* Talk with unhappy citizens}}&lt;br /&gt;
The '''mayor''' is a [[noble]] whose job it is to speak with unhappy citizens, and (until a [[baron]] is appointed) entertain foreign [[diplomat]]s. They are automatically elected from the most social [[dwarf]], most likely the [[expedition leader]], once the population reaches 50. A new mayor may be elected from time to time as your dwarves' [[social skill]]s change.&lt;br /&gt;
&lt;br /&gt;
== Mayoral nobility ==&lt;br /&gt;
[[File:Goblin_slaying_Mayor.png‎|thumb|left|A dwarven mayor conducting a &amp;quot;meeting&amp;quot; with some goblin &amp;quot;liaisons&amp;quot;.]]A mayor or expedition leader is required to appoint other nobles. Should your leader suffer an [[unfortunate accident]], you will have to wait for a new leader to be elected before appointing nobles.&lt;br /&gt;
&lt;br /&gt;
Mayors are classy individuals, who require certain living standards in their rooms and furniture. They may [[demand]] certain types of furniture in their rooms and will get unhappy if you don't comply. They can [[mandate]] the production of certain goods, and receive a happy thought if you comply. If the mandated items are not produced in time, the mayor will receive an unhappy thought and will order the [[Justice|punishment]] of whoever they consider responsible. Likewise, they can prohibit the export of certain goods instead of mandating their construction, resulting in dwarves being punished for trade violations.&lt;br /&gt;
&lt;br /&gt;
Mayors are not replaced by [[baron]]s, [[duke]]s, [[count]]s or [[monarch]]s; if one of these nobles arrives, or if a citizen of your fortress is promoted to one of these positions, the mayor will still issue mandates and require quarters.&lt;br /&gt;
&lt;br /&gt;
== Mayoral elections ==&lt;br /&gt;
&lt;br /&gt;
If you don't have a mayor, then the first [[elections|election]] will be triggered at the beginning of any season when you have 50 or more dwarves (including [[children]]).  Also, if you have have 50 dwarves and no mayor, ''any'' change in the [[nobles]]' screen (including selecting &amp;quot;leave vacant&amp;quot;) will trigger an election ''immediately''.  (This can be used to &amp;quot;force&amp;quot; an election if one is not triggered normally.)&lt;br /&gt;
&lt;br /&gt;
Once you have a mayor, elections take place at exactly 4:00 PM on the 17th day of [[calendar|summer]] (specifically, 20000 season-ticks after the beginning of that season). Mayors elected in summer serve for that one year duration, but can be re-elected at that time.&lt;br /&gt;
&lt;br /&gt;
When an election happens, it's usually the dwarf with the highest [[social skill]]s who gets elected. In previous versions [[children]] had nothing to do but socialize, and did, therefore, gain lots of social skill, which carries over when a child becomes an adult at age 18, and so an 18-year-old mayor was not a rare sight. But in the current version, children prefer playing over socializing, and thus will only rarely become a mayor (with the possible exceptions of migrant children who already had high social skill on arrival, and of unhappy children constantly complaining). &lt;br /&gt;
&lt;br /&gt;
The mayor doesn't actually need to be a dwarf, any [[Citizenship|citizen]] can be elected - however, dwarves currently on a [[mission]], or otherwise absent from the fortress, cannot.  Prime candidates for mayor include [[vampire]]s (who tend to have high social skills if they have been around for a long time), tamed [[gremlin]]s, and other non-working citizens of your fortress, since they cannot be put to work either and have nothing to do but socialize and gain experience in all* relevant social skills. &lt;br /&gt;
&lt;br /&gt;
: ''(* Not all dwarves can learn [[Social_skill#Conversational_skills|all 10]] social skills. Depending on their [[personality value]]s and [[personality facet]]s, they may be unable to earn [[experience]] one or more; for example, [[liar]] is relatively uncommon. If dwarves arrive at your fortress with scores in a skill they do not qualify to learn, that skill will [[rust]] away from lack of new experience; this includes your starting dwarves. The lack of such skills does not prevent them from being elected, but does put them at a disadvantage, both during an election and then, &amp;lt;u&amp;gt;if&amp;lt;/u&amp;gt; elected, in handling some of their [[Social_skill#Conversational_skills|mayoral duties]].)''&lt;br /&gt;
&lt;br /&gt;
=== Preferred candidates ===&lt;br /&gt;
There are, perhaps, three main criteria which separate &amp;quot;good&amp;quot; candidates from less desirable ones. &lt;br /&gt;
&lt;br /&gt;
The first is their current role in the fortress, the current skills and services that they provide, be those artistic, industrial or military. If you're going to war, you don't want your one [[armorsmith]] to constantly leave the forge to [[meeting|hold meeting]]s with whiny dwarves and children. Similarly with outstanding military candidates - a mayor can't console anyone while they are at war. Likewise, a distant miner won't dig effectively if constantly walking back and forth to hold a meeting. And so forth - this is personal preference, but it can make a big difference if exactly the &amp;quot;wrong&amp;quot; profession suddenly has new demands placed upon them.&lt;br /&gt;
&lt;br /&gt;
The second is their fitness for the job itself. As mentioned above,  a vampire could be elected; there are uses in a fortress for a Vampire (properly isolated), and you don't want to have to choose between your Mayor draining dwarves or being isolated from their duties in consoling unhappy citizens.  A simple handicap or physical injury may prevent effective meetings.  Or just a lack of some of the social skills, precluding some of the mayoral functions - harder to console unhappy citizens if you're just too cruel to qualify for the [[Consoler]] skill.&lt;br /&gt;
&lt;br /&gt;
But the most significant factor in (un)desirability might be [[mandate]]s, which are temporary mayoral decrees for mandatory production of specific items, or bans on export of same via [[trade]]. Ignoring or overlooking a mandate results in dwarven [[justice]], a potentially fatal outcome, and then all the fallout from that victim's bereaved friends - no thank you.  Such mandated items are drawn directly from the [[preference]]s of the mayor, and so are predictable. While it may be not overly burdensome to (not) produce [[figurine]]s, or [[flood gate]]s, or [[buckler]]s for a while, it may be an entirely different matter for [[bed]]s, or [[goblet]]s, or [[breastplate]]s, or [[coffin]]s for the [[ghost|dead]].  Material preferences (e.g. a type of stone, metal, gem, wood, animal, food/drink, etc.) have no bearing on mandates.&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;best&amp;quot; candidate then is a dwarf that has no ''item preferences'' at all, which is uncommon but not too rare - perhaps(?) one in fifteen or twenty or so.  No item preferences means no mandates - and that's better for everyone.  Just hope that dwarf has solid social skills, or at least a potential for such (see previous).&lt;br /&gt;
&lt;br /&gt;
===Preparing a candidate ===&lt;br /&gt;
If an undesirable dwarf is elected, it is far from impossible to &amp;quot;groom&amp;quot; a different dwarf to win the next election.&lt;br /&gt;
&lt;br /&gt;
Elections are based on the Conversational/Social skills of all candidates, with the dwarf with higher social skills winning; but there are limited options for arranging for targeted extra experience in social skills.  The simplest is to remove all labors/tasks from the chosen dwarf, and let them socialize in a central [[meeting area]] full time, season after season - all (possible) skills will increase, slowly but surely. The other side of this coin would be to keep all &amp;lt;u&amp;gt;un&amp;lt;/u&amp;gt;desirable candidates away from social interaction as much as possible - keep them busy in workshops or far-away mines, or (better) enroll them in full-time [[military]] training. If the player decides to do mass-trading (with as many trade transactions as possible), the [[broker]] will earn significant additional social skill experience due to the high skill gain per trade transaction.  This is the best reliable way to try to influence that a certain dwarf will gain the social skills to (eventually) become (and stay!) mayor.&lt;br /&gt;
&lt;br /&gt;
Of course, the brute force method is the ever-popular [[unfortunate accident]], but that requires ''every'' other better-qualified dwarf to meet such an end, which could rapidly thin out otherwise useful citizens.  Less extreme would be to send all such contenders off map on a quick [[mission]] just before election time each year, or  year round (especially in the case of the Mayor themself, to prevent any experience gain) if your other residents can survive without the emotional support of [[meeting]] with the now-absent mayor.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- was removed in v50 apparently&lt;br /&gt;
== Miscellaneous ==&lt;br /&gt;
&lt;br /&gt;
Curiously, a mayor is able to appoint replacements for elected positions, including their own.{{bug|2512}} If your mayor likes something unpleasant like [[Finished goods|puzzleboxes]], you can simply have them appoint their own replacement. This also creates a historical event, which makes for good [[statue]]s of dwarves rejecting the old mayor with which to brighten up the new mayor's office. Note that the ex-mayor may periodically win election back into the mayorship.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Doesn't work; see bug 3047:  http://www.bay12games.com/dwarves/mantisbt/view.php?id=3047&lt;br /&gt;
If you manually select a higher-office noble like the monarch or duke to be your mayor, their mandates will all end when a new mayor is elected. Setting the game to pause and pop-up in announcements will help keep track of this whenever a new mayor is elected. This can provide a helpful relief from mandates on occasion.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{gamedata|	[POSITION:MAYOR]&lt;br /&gt;
		[NAME:mayor:mayors]&lt;br /&gt;
		[SITE]&lt;br /&gt;
		[NUMBER:1]&lt;br /&gt;
		[RESPONSIBILITY:MEET_WORKERS]&lt;br /&gt;
		[RESPONSIBILITY:RECEIVE_DIPLOMATS]&lt;br /&gt;
		[RESPONSIBILITY:MILITARY_GOALS]&lt;br /&gt;
		[REQUIRES_POPULATION:50]&lt;br /&gt;
		[RULES_FROM_LOCATION]&lt;br /&gt;
		[ELECTED]&lt;br /&gt;
		[PRECEDENCE:60]&lt;br /&gt;
		[FLASHES]&lt;br /&gt;
		[BRAG_ON_KILL]&lt;br /&gt;
		[CHAT_WORTHY]&lt;br /&gt;
		[DO_NOT_CULL]&lt;br /&gt;
		[KILL_QUEST]&lt;br /&gt;
		[COLOR:5:0:0]&lt;br /&gt;
		[ACCOUNT_EXEMPT]&lt;br /&gt;
		[DUTY_BOUND]&lt;br /&gt;
		[DEMAND_MAX:2]&lt;br /&gt;
		[MANDATE_MAX:1]&lt;br /&gt;
		[REQUIRED_BOXES:2]&lt;br /&gt;
		[REQUIRED_CABINETS:1]&lt;br /&gt;
		[REQUIRED_RACKS:1]&lt;br /&gt;
		[REQUIRED_STANDS:1]&lt;br /&gt;
		[REQUIRED_OFFICE:500]&lt;br /&gt;
		[REQUIRED_BEDROOM:500]&lt;br /&gt;
		[REQUIRED_DINING:500]}}&lt;br /&gt;
{{Nobles}}&lt;br /&gt;
{{Category|Elected Nobles}}&lt;/div&gt;</summary>
		<author><name>Joostheger</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=Mayor&amp;diff=315413</id>
		<title>Mayor</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=Mayor&amp;diff=315413"/>
		<updated>2026-03-09T09:10:05Z</updated>

		<summary type="html">&lt;p&gt;Joostheger: Preparing a candidate is a perfectly legal way, and has nothing to do with rigging. /* Rigging an election */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Quality|Superior}}&lt;br /&gt;
{{av}}&lt;br /&gt;
{{Noble&lt;br /&gt;
| noble= Mayor&lt;br /&gt;
| office= Decent Office&lt;br /&gt;
| quarters= Decent Quarters&lt;br /&gt;
| dining= Decent Dining Room&lt;br /&gt;
| chests=2&lt;br /&gt;
| cabinets=1&lt;br /&gt;
| racks=1&lt;br /&gt;
| stands=1&lt;br /&gt;
| mandates=1&lt;br /&gt;
| demands=2&lt;br /&gt;
| arrival=&lt;br /&gt;
* 50 population&lt;br /&gt;
* Elected&lt;br /&gt;
| function=&lt;br /&gt;
* Meet with foreign dignitaries&lt;br /&gt;
* Talk with unhappy citizens}}&lt;br /&gt;
The '''mayor''' is a [[noble]] whose job it is to speak with unhappy citizens, and (until a [[baron]] is appointed) entertain foreign [[diplomat]]s. They are automatically elected from the most social [[dwarf]], most likely the [[expedition leader]], once the population reaches 50. A new mayor may be elected from time to time as your dwarves' [[social skill]]s change.&lt;br /&gt;
&lt;br /&gt;
== Mayoral nobility ==&lt;br /&gt;
[[File:Goblin_slaying_Mayor.png‎|thumb|left|A dwarven mayor conducting a &amp;quot;meeting&amp;quot; with some goblin &amp;quot;liaisons&amp;quot;.]]A mayor or expedition leader is required to appoint other nobles. Should your leader suffer an [[unfortunate accident]], you will have to wait for a new leader to be elected before appointing nobles.&lt;br /&gt;
&lt;br /&gt;
Mayors are classy individuals, who require certain living standards in their rooms and furniture. They may [[demand]] certain types of furniture in their rooms and will get unhappy if you don't comply. They can [[mandate]] the production of certain goods, and receive a happy thought if you comply. If the mandated items are not produced in time, the mayor will receive an unhappy thought and will order the [[Justice|punishment]] of whoever they consider responsible. Likewise, they can prohibit the export of certain goods instead of mandating their construction, resulting in dwarves being punished for trade violations.&lt;br /&gt;
&lt;br /&gt;
Mayors are not replaced by [[baron]]s, [[duke]]s, [[count]]s or [[monarch]]s; if one of these nobles arrives, or if a citizen of your fortress is promoted to one of these positions, the mayor will still issue mandates and require quarters.&lt;br /&gt;
&lt;br /&gt;
== Mayoral elections ==&lt;br /&gt;
&lt;br /&gt;
If you don't have a mayor, then the first [[elections|election]] will be triggered at the beginning of any season when you have 50 or more dwarves (including [[children]]).  Also, if you have have 50 dwarves and no mayor, ''any'' change in the [[nobles]]' screen (including selecting &amp;quot;leave vacant&amp;quot;) will trigger an election ''immediately''.  (This can be used to &amp;quot;force&amp;quot; an election if one is not triggered normally.)&lt;br /&gt;
&lt;br /&gt;
Once you have a mayor, elections take place at exactly 4:00 PM on the 17th day of [[calendar|summer]] (specifically, 20000 season-ticks after the beginning of that season). Mayors elected in summer serve for that one year duration, but can be re-elected at that time.&lt;br /&gt;
&lt;br /&gt;
When an election happens, it's usually the dwarf with the highest [[social skill]]s who gets elected. In previous versions [[children]] had nothing to do but socialize, and did, therefore, gain lots of social skill, which carries over when a child becomes an adult at age 18, and so an 18-year-old mayor was not a rare sight. But in the current version, children prefer playing over socializing, and thus will only rarely become a mayor (with the possible exceptions of migrant children who already had high social skill on arrival, and of unhappy children constantly complaining). &lt;br /&gt;
&lt;br /&gt;
The mayor doesn't actually need to be a dwarf, any [[Citizenship|citizen]] can be elected - however, dwarves currently on a [[mission]], or otherwise absent from the fortress, cannot.  Prime candidates for mayor include [[vampire]]s (who tend to have high social skills if they have been around for a long time), tamed [[gremlin]]s, and other non-working citizens of your fortress, since they cannot be put to work either and have nothing to do but socialize and gain experience in all* relevant social skills. &lt;br /&gt;
&lt;br /&gt;
: ''(* Not all dwarves can learn [[Social_skill#Conversational_skills|all 10]] social skills. Depending on their [[personality value]]s and [[personality facet]]s, they may be unable to earn [[experience]] one or more; for example, [[liar]] is relatively uncommon. If dwarves arrive at your fortress with scores in a skill they do not qualify to learn, that skill will [[rust]] away from lack of new experience; this includes your starting dwarves. The lack of such skills does not prevent them from being elected, but does put them at a disadvantage, both during an election and then, &amp;lt;u&amp;gt;if&amp;lt;/u&amp;gt; elected, in handling some of their [[Social_skill#Conversational_skills|mayoral duties]].)''&lt;br /&gt;
&lt;br /&gt;
=== Preferred candidates ===&lt;br /&gt;
There are, perhaps, three main criteria which separate &amp;quot;good&amp;quot; candidates from less desirable ones. &lt;br /&gt;
&lt;br /&gt;
The first is their current role in the fortress, the current skills and services that they provide, be those artistic, industrial or military. If you're going to war, you don't want your one [[armorsmith]] to constantly leave the forge to [[meeting|hold meeting]]s with whiny dwarves and children. Similarly with outstanding military candidates - a mayor can't console anyone while they are at war. Likewise, a distant miner won't dig effectively if constantly walking back and forth to hold a meeting. And so forth - this is personal preference, but it can make a big difference if exactly the &amp;quot;wrong&amp;quot; profession suddenly has new demands placed upon them.&lt;br /&gt;
&lt;br /&gt;
The second is their fitness for the job itself. As mentioned above,  a vampire could be elected; there are uses in a fortress for a Vampire (properly isolated), and you don't want to have to choose between your Mayor draining dwarves or being isolated from their duties in consoling unhappy citizens.  A simple handicap or physical injury may prevent effective meetings.  Or just a lack of some of the social skills, precluding some of the mayoral functions - harder to console unhappy citizens if you're just too cruel to qualify for the [[Consoler]] skill.&lt;br /&gt;
&lt;br /&gt;
But the most significant factor in (un)desirability might be [[mandate]]s, which are temporary mayoral decrees for mandatory production of specific items, or bans on export of same via [[trade]]. Ignoring or overlooking a mandate results in dwarven [[justice]], a potentially fatal outcome, and then all the fallout from that victim's bereaved friends - no thank you.  Such mandated items are drawn directly from the [[preference]]s of the mayor, and so are predictable. While it may be not overly burdensome to (not) produce [[figurine]]s, or [[flood gate]]s, or [[buckler]]s for a while, it may be an entirely different matter for [[bed]]s, or [[goblet]]s, or [[breastplate]]s, or [[coffin]]s for the [[ghost|dead]].  Material preferences (e.g. a type of stone, metal, gem, wood, animal, food/drink, etc.) have no bearing on mandates.&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;best&amp;quot; candidate then is a dwarf that has no ''item preferences'' at all, which is uncommon but not too rare - perhaps(?) one in fifteen or twenty or so.  No item preferences means no mandates - and that's better for everyone.  Just hope that dwarf has solid social skills, or at least a potential for such (see previous).&lt;br /&gt;
&lt;br /&gt;
===Ppreparing a candidate ===&lt;br /&gt;
If an undesirable dwarf is elected, it is far from impossible to &amp;quot;groom&amp;quot; a different dwarf to win the next election.&lt;br /&gt;
&lt;br /&gt;
Elections are based on the Conversational/Social skills of all candidates, with the dwarf with higher social skills winning; but there are limited options for arranging for targeted extra experience in social skills.  The simplest is to remove all labors/tasks from the chosen dwarf, and let them socialize in a central [[meeting area]] full time, season after season - all (possible) skills will increase, slowly but surely. The other side of this coin would be to keep all &amp;lt;u&amp;gt;un&amp;lt;/u&amp;gt;desirable candidates away from social interaction as much as possible - keep them busy in workshops or far-away mines, or (better) enroll them in full-time [[military]] training. If the player decides to do mass-trading (with as many trade transactions as possible), the [[broker]] will earn significant additional social skill experience due to the high skill gain per trade transaction.  This is the best reliable way to try to influence that a certain dwarf will gain the social skills to (eventually) become (and stay!) mayor.&lt;br /&gt;
&lt;br /&gt;
Of course, the brute force method is the ever-popular [[unfortunate accident]], but that requires ''every'' other better-qualified dwarf to meet such an end, which could rapidly thin out otherwise useful citizens.  Less extreme would be to send all such contenders off map on a quick [[mission]] just before election time each year, or  year round (especially in the case of the Mayor themself, to prevent any experience gain) if your other residents can survive without the emotional support of [[meeting]] with the now-absent mayor.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- was removed in v50 apparently&lt;br /&gt;
== Miscellaneous ==&lt;br /&gt;
&lt;br /&gt;
Curiously, a mayor is able to appoint replacements for elected positions, including their own.{{bug|2512}} If your mayor likes something unpleasant like [[Finished goods|puzzleboxes]], you can simply have them appoint their own replacement. This also creates a historical event, which makes for good [[statue]]s of dwarves rejecting the old mayor with which to brighten up the new mayor's office. Note that the ex-mayor may periodically win election back into the mayorship.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Doesn't work; see bug 3047:  http://www.bay12games.com/dwarves/mantisbt/view.php?id=3047&lt;br /&gt;
If you manually select a higher-office noble like the monarch or duke to be your mayor, their mandates will all end when a new mayor is elected. Setting the game to pause and pop-up in announcements will help keep track of this whenever a new mayor is elected. This can provide a helpful relief from mandates on occasion.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{gamedata|	[POSITION:MAYOR]&lt;br /&gt;
		[NAME:mayor:mayors]&lt;br /&gt;
		[SITE]&lt;br /&gt;
		[NUMBER:1]&lt;br /&gt;
		[RESPONSIBILITY:MEET_WORKERS]&lt;br /&gt;
		[RESPONSIBILITY:RECEIVE_DIPLOMATS]&lt;br /&gt;
		[RESPONSIBILITY:MILITARY_GOALS]&lt;br /&gt;
		[REQUIRES_POPULATION:50]&lt;br /&gt;
		[RULES_FROM_LOCATION]&lt;br /&gt;
		[ELECTED]&lt;br /&gt;
		[PRECEDENCE:60]&lt;br /&gt;
		[FLASHES]&lt;br /&gt;
		[BRAG_ON_KILL]&lt;br /&gt;
		[CHAT_WORTHY]&lt;br /&gt;
		[DO_NOT_CULL]&lt;br /&gt;
		[KILL_QUEST]&lt;br /&gt;
		[COLOR:5:0:0]&lt;br /&gt;
		[ACCOUNT_EXEMPT]&lt;br /&gt;
		[DUTY_BOUND]&lt;br /&gt;
		[DEMAND_MAX:2]&lt;br /&gt;
		[MANDATE_MAX:1]&lt;br /&gt;
		[REQUIRED_BOXES:2]&lt;br /&gt;
		[REQUIRED_CABINETS:1]&lt;br /&gt;
		[REQUIRED_RACKS:1]&lt;br /&gt;
		[REQUIRED_STANDS:1]&lt;br /&gt;
		[REQUIRED_OFFICE:500]&lt;br /&gt;
		[REQUIRED_BEDROOM:500]&lt;br /&gt;
		[REQUIRED_DINING:500]}}&lt;br /&gt;
{{Nobles}}&lt;br /&gt;
{{Category|Elected Nobles}}&lt;/div&gt;</summary>
		<author><name>Joostheger</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=Mayor&amp;diff=315412</id>
		<title>Mayor</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=Mayor&amp;diff=315412"/>
		<updated>2026-03-09T09:04:43Z</updated>

		<summary type="html">&lt;p&gt;Joostheger: /* Mayoral elections */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Quality|Superior}}&lt;br /&gt;
{{av}}&lt;br /&gt;
{{Noble&lt;br /&gt;
| noble= Mayor&lt;br /&gt;
| office= Decent Office&lt;br /&gt;
| quarters= Decent Quarters&lt;br /&gt;
| dining= Decent Dining Room&lt;br /&gt;
| chests=2&lt;br /&gt;
| cabinets=1&lt;br /&gt;
| racks=1&lt;br /&gt;
| stands=1&lt;br /&gt;
| mandates=1&lt;br /&gt;
| demands=2&lt;br /&gt;
| arrival=&lt;br /&gt;
* 50 population&lt;br /&gt;
* Elected&lt;br /&gt;
| function=&lt;br /&gt;
* Meet with foreign dignitaries&lt;br /&gt;
* Talk with unhappy citizens}}&lt;br /&gt;
The '''mayor''' is a [[noble]] whose job it is to speak with unhappy citizens, and (until a [[baron]] is appointed) entertain foreign [[diplomat]]s. They are automatically elected from the most social [[dwarf]], most likely the [[expedition leader]], once the population reaches 50. A new mayor may be elected from time to time as your dwarves' [[social skill]]s change.&lt;br /&gt;
&lt;br /&gt;
== Mayoral nobility ==&lt;br /&gt;
[[File:Goblin_slaying_Mayor.png‎|thumb|left|A dwarven mayor conducting a &amp;quot;meeting&amp;quot; with some goblin &amp;quot;liaisons&amp;quot;.]]A mayor or expedition leader is required to appoint other nobles. Should your leader suffer an [[unfortunate accident]], you will have to wait for a new leader to be elected before appointing nobles.&lt;br /&gt;
&lt;br /&gt;
Mayors are classy individuals, who require certain living standards in their rooms and furniture. They may [[demand]] certain types of furniture in their rooms and will get unhappy if you don't comply. They can [[mandate]] the production of certain goods, and receive a happy thought if you comply. If the mandated items are not produced in time, the mayor will receive an unhappy thought and will order the [[Justice|punishment]] of whoever they consider responsible. Likewise, they can prohibit the export of certain goods instead of mandating their construction, resulting in dwarves being punished for trade violations.&lt;br /&gt;
&lt;br /&gt;
Mayors are not replaced by [[baron]]s, [[duke]]s, [[count]]s or [[monarch]]s; if one of these nobles arrives, or if a citizen of your fortress is promoted to one of these positions, the mayor will still issue mandates and require quarters.&lt;br /&gt;
&lt;br /&gt;
== Mayoral elections ==&lt;br /&gt;
&lt;br /&gt;
If you don't have a mayor, then the first [[elections|election]] will be triggered at the beginning of any season when you have 50 or more dwarves (including [[children]]).  Also, if you have have 50 dwarves and no mayor, ''any'' change in the [[nobles]]' screen (including selecting &amp;quot;leave vacant&amp;quot;) will trigger an election ''immediately''.  (This can be used to &amp;quot;force&amp;quot; an election if one is not triggered normally.)&lt;br /&gt;
&lt;br /&gt;
Once you have a mayor, elections take place at exactly 4:00 PM on the 17th day of [[calendar|summer]] (specifically, 20000 season-ticks after the beginning of that season). Mayors elected in summer serve for that one year duration, but can be re-elected at that time.&lt;br /&gt;
&lt;br /&gt;
When an election happens, it's usually the dwarf with the highest [[social skill]]s who gets elected. In previous versions [[children]] had nothing to do but socialize, and did, therefore, gain lots of social skill, which carries over when a child becomes an adult at age 18, and so an 18-year-old mayor was not a rare sight. But in the current version, children prefer playing over socializing, and thus will only rarely become a mayor (with the possible exceptions of migrant children who already had high social skill on arrival, and of unhappy children constantly complaining). &lt;br /&gt;
&lt;br /&gt;
The mayor doesn't actually need to be a dwarf, any [[Citizenship|citizen]] can be elected - however, dwarves currently on a [[mission]], or otherwise absent from the fortress, cannot.  Prime candidates for mayor include [[vampire]]s (who tend to have high social skills if they have been around for a long time), tamed [[gremlin]]s, and other non-working citizens of your fortress, since they cannot be put to work either and have nothing to do but socialize and gain experience in all* relevant social skills. &lt;br /&gt;
&lt;br /&gt;
: ''(* Not all dwarves can learn [[Social_skill#Conversational_skills|all 10]] social skills. Depending on their [[personality value]]s and [[personality facet]]s, they may be unable to earn [[experience]] one or more; for example, [[liar]] is relatively uncommon. If dwarves arrive at your fortress with scores in a skill they do not qualify to learn, that skill will [[rust]] away from lack of new experience; this includes your starting dwarves. The lack of such skills does not prevent them from being elected, but does put them at a disadvantage, both during an election and then, &amp;lt;u&amp;gt;if&amp;lt;/u&amp;gt; elected, in handling some of their [[Social_skill#Conversational_skills|mayoral duties]].)''&lt;br /&gt;
&lt;br /&gt;
=== Preferred candidates ===&lt;br /&gt;
There are, perhaps, three main criteria which separate &amp;quot;good&amp;quot; candidates from less desirable ones. &lt;br /&gt;
&lt;br /&gt;
The first is their current role in the fortress, the current skills and services that they provide, be those artistic, industrial or military. If you're going to war, you don't want your one [[armorsmith]] to constantly leave the forge to [[meeting|hold meeting]]s with whiny dwarves and children. Similarly with outstanding military candidates - a mayor can't console anyone while they are at war. Likewise, a distant miner won't dig effectively if constantly walking back and forth to hold a meeting. And so forth - this is personal preference, but it can make a big difference if exactly the &amp;quot;wrong&amp;quot; profession suddenly has new demands placed upon them.&lt;br /&gt;
&lt;br /&gt;
The second is their fitness for the job itself. As mentioned above,  a vampire could be elected; there are uses in a fortress for a Vampire (properly isolated), and you don't want to have to choose between your Mayor draining dwarves or being isolated from their duties in consoling unhappy citizens.  A simple handicap or physical injury may prevent effective meetings.  Or just a lack of some of the social skills, precluding some of the mayoral functions - harder to console unhappy citizens if you're just too cruel to qualify for the [[Consoler]] skill.&lt;br /&gt;
&lt;br /&gt;
But the most significant factor in (un)desirability might be [[mandate]]s, which are temporary mayoral decrees for mandatory production of specific items, or bans on export of same via [[trade]]. Ignoring or overlooking a mandate results in dwarven [[justice]], a potentially fatal outcome, and then all the fallout from that victim's bereaved friends - no thank you.  Such mandated items are drawn directly from the [[preference]]s of the mayor, and so are predictable. While it may be not overly burdensome to (not) produce [[figurine]]s, or [[flood gate]]s, or [[buckler]]s for a while, it may be an entirely different matter for [[bed]]s, or [[goblet]]s, or [[breastplate]]s, or [[coffin]]s for the [[ghost|dead]].  Material preferences (e.g. a type of stone, metal, gem, wood, animal, food/drink, etc.) have no bearing on mandates.&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;best&amp;quot; candidate then is a dwarf that has no ''item preferences'' at all, which is uncommon but not too rare - perhaps(?) one in fifteen or twenty or so.  No item preferences means no mandates - and that's better for everyone.  Just hope that dwarf has solid social skills, or at least a potential for such (see previous).&lt;br /&gt;
&lt;br /&gt;
=== Rigging an election ===&lt;br /&gt;
If an undesirable dwarf is elected, it is far from impossible to &amp;quot;groom&amp;quot; a different dwarf to win the next election.&lt;br /&gt;
&lt;br /&gt;
Elections are based on the Conversational/Social skills of all candidates, with the dwarf with higher social skills winning; but there are limited options for arranging for targeted extra experience in social skills.  The simplest is to remove all labors/tasks from the chosen dwarf, and let them socialize in a central [[meeting area]] full time, season after season - all (possible) skills will increase, slowly but surely. The other side of this coin would be to keep all &amp;lt;u&amp;gt;un&amp;lt;/u&amp;gt;desirable candidates away from social interaction as much as possible - keep them busy in workshops or far-away mines, or (better) enroll them in full-time [[military]] training. If the player decides to do mass-trading (with as many trade transactions as possible), the [[broker]] will earn significant additional social skill experience due to the high skill gain per trade transaction.  This is the best reliable way to try to influence that a certain dwarf will gain the social skills to (eventually) become (and stay!) mayor.&lt;br /&gt;
&lt;br /&gt;
Of course, the brute force method is the ever-popular [[unfortunate accident]], but that requires ''every'' other better-qualified dwarf to meet such an end, which could rapidly thin out otherwise useful citizens.  Less extreme would be to send all such contenders off map on a quick [[mission]] just before election time each year, or  year round (especially in the case of the Mayor themself, to prevent any experience gain) if your other residents can survive without the emotional support of [[meeting]] with the now-absent mayor.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- was removed in v50 apparently&lt;br /&gt;
== Miscellaneous ==&lt;br /&gt;
&lt;br /&gt;
Curiously, a mayor is able to appoint replacements for elected positions, including their own.{{bug|2512}} If your mayor likes something unpleasant like [[Finished goods|puzzleboxes]], you can simply have them appoint their own replacement. This also creates a historical event, which makes for good [[statue]]s of dwarves rejecting the old mayor with which to brighten up the new mayor's office. Note that the ex-mayor may periodically win election back into the mayorship.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Doesn't work; see bug 3047:  http://www.bay12games.com/dwarves/mantisbt/view.php?id=3047&lt;br /&gt;
If you manually select a higher-office noble like the monarch or duke to be your mayor, their mandates will all end when a new mayor is elected. Setting the game to pause and pop-up in announcements will help keep track of this whenever a new mayor is elected. This can provide a helpful relief from mandates on occasion.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{gamedata|	[POSITION:MAYOR]&lt;br /&gt;
		[NAME:mayor:mayors]&lt;br /&gt;
		[SITE]&lt;br /&gt;
		[NUMBER:1]&lt;br /&gt;
		[RESPONSIBILITY:MEET_WORKERS]&lt;br /&gt;
		[RESPONSIBILITY:RECEIVE_DIPLOMATS]&lt;br /&gt;
		[RESPONSIBILITY:MILITARY_GOALS]&lt;br /&gt;
		[REQUIRES_POPULATION:50]&lt;br /&gt;
		[RULES_FROM_LOCATION]&lt;br /&gt;
		[ELECTED]&lt;br /&gt;
		[PRECEDENCE:60]&lt;br /&gt;
		[FLASHES]&lt;br /&gt;
		[BRAG_ON_KILL]&lt;br /&gt;
		[CHAT_WORTHY]&lt;br /&gt;
		[DO_NOT_CULL]&lt;br /&gt;
		[KILL_QUEST]&lt;br /&gt;
		[COLOR:5:0:0]&lt;br /&gt;
		[ACCOUNT_EXEMPT]&lt;br /&gt;
		[DUTY_BOUND]&lt;br /&gt;
		[DEMAND_MAX:2]&lt;br /&gt;
		[MANDATE_MAX:1]&lt;br /&gt;
		[REQUIRED_BOXES:2]&lt;br /&gt;
		[REQUIRED_CABINETS:1]&lt;br /&gt;
		[REQUIRED_RACKS:1]&lt;br /&gt;
		[REQUIRED_STANDS:1]&lt;br /&gt;
		[REQUIRED_OFFICE:500]&lt;br /&gt;
		[REQUIRED_BEDROOM:500]&lt;br /&gt;
		[REQUIRED_DINING:500]}}&lt;br /&gt;
{{Nobles}}&lt;br /&gt;
{{Category|Elected Nobles}}&lt;/div&gt;</summary>
		<author><name>Joostheger</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=Position_token&amp;diff=315403</id>
		<title>Position token</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=Position_token&amp;diff=315403"/>
		<updated>2026-03-08T20:53:30Z</updated>

		<summary type="html">&lt;p&gt;Joostheger: /* Position tokens */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Quality|Fine}}&lt;br /&gt;
{{av}}&lt;br /&gt;
{{Modding}}&lt;br /&gt;
Position tokens define [[noble]] positions for civilizations and site governments, inside [[entity token]]s. In the vanilla game, position token definitions can be found in &amp;lt;code&amp;gt;[[Game folder|&amp;lt;Dwarf Fortress&amp;gt;]]\data\vanilla\vanilla_entities\objects\entity_default.txt&amp;lt;/code&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
{{clear}}&lt;br /&gt;
&lt;br /&gt;
==Code==&lt;br /&gt;
A position is defined with a position 'code', as an argument in the [POSITION]-tag. The same code may be used multiple times, they don't have to be unique. This code is used as reference by APPOINTED_BY, SUCCESSION:BY_POSITION, REPLACE_BY and COMMANDER. 'MONARCH' is an example of this code.&lt;br /&gt;
&lt;br /&gt;
==Position tokens==&lt;br /&gt;
These tokens belong in an entity definition, applying to a position (such as monarch) and should follow the [POSITION:POSITION_NAME] token.&lt;br /&gt;
&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#dddddd&amp;quot;&lt;br /&gt;
! Token&lt;br /&gt;
! Arguments&lt;br /&gt;
! Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ACCOUNT_EXEMPT}}&lt;br /&gt;
|&lt;br /&gt;
| The position holder is not subjected to the [[Dwarven economy|economy]]. Less than relevant right now.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ALLOWED_CLASS}}&lt;br /&gt;
| {{token|CREATURE_CLASS|creature}} token&lt;br /&gt;
| rowspan=2 | ALLOWED_CLASS: Only creatures with the specified [CREATURE_CLASS] token may be appointed to this position. Multiple entries are allowed. &amp;lt;/br&amp;gt; ALLOWED_CREATURE: Restricts the position to the specified creature and caste. Multiple entries are allowed. &amp;lt;/br&amp;gt; These tokens only apply within the entity’s own race (including its castes). &lt;br /&gt;
In world generation, they limit which units may be assigned to the position, but they do not prevent other creature types from acquiring the position through alternative means (for example, via a coup).&lt;br /&gt;
In fortress mode, these tokens are enforced during manual appointment and succession.&lt;br /&gt;
During world generation, if all allowed castes have a POP_RATIO of 0, a unit of an allowed caste will still be generated to fill the position.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ALLOWED_CREATURE}}&lt;br /&gt;
| CREATURE:CASTE&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|APPOINTED_BY}}&lt;br /&gt;
| position&lt;br /&gt;
| This position can only be chosen for the task from the nobles screen, and is available only if there is an *argument* present. For example, the GENERAL is [APPOINTED_BY:MONARCH]. Contrast [ELECTED]. Being appointed by a MONARCH seems to handle a lot of worldgen stuff, and interferes with fort mode titles. Multiple entries are allowed. If you have neither an ELECTED-token nor a APPOINTED_BY-token, the holder may always be changed (like the expedition leader).&lt;br /&gt;
''Read more: [[Advanced_Entity_Position_Mechanics#Appointment]]''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|BRAG_ON_KILL}}&lt;br /&gt;
| &lt;br /&gt;
| A creature that kills a member of this position will be sure to talk about it a lot.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CHAT_WORTHY}}&lt;br /&gt;
| &lt;br /&gt;
| In adventure mode, when referencing locations, an NPC may mention this position holder living there or having done some deed there; it also means that the position exists in world-gen, rather than being created only at the end of world-gen.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|COLOR}}&lt;br /&gt;
| [[Color]]&lt;br /&gt;
| Creatures of this position will have this [[Color]], instead of their profession color, e.g. [COLOR:5:0:1]. It is also applied to the name of the citizen in the units-screen.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|COMMANDER}}&lt;br /&gt;
| position:ALL&lt;br /&gt;
| This position will act as a commander of the specified position{{verify}}. E.g. GENERAL is [COMMANDER:LIEUTENANT:ALL]. Unknown if values other than ALL work. Multiple entries are allowed.&lt;br /&gt;
''Read more: [[Army]]''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CONQUERED_SITE}}&lt;br /&gt;
| &lt;br /&gt;
| This position is a puppet ruler, left behind in a conquered site.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|DEMAND_MAX}}&lt;br /&gt;
| number (0-100)&lt;br /&gt;
| How many demands the position can make of the population at one time.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|DESCRIPTION}}&lt;br /&gt;
| string. Readable up to 470 characters in the nobles' screen.&lt;br /&gt;
| description of this position in the nobles screen.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|DETERMINES_COIN_DESIGN}}&lt;br /&gt;
| &lt;br /&gt;
| The site's (or civ's) minted [[coin]]s, if any, will have images that reflect the personality of this position holder.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|DO_NOT_CULL}}&lt;br /&gt;
| &lt;br /&gt;
| The position won't be culled from Legends as &amp;quot;unimportant&amp;quot; during world generation.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|DUTY_BOUND}}&lt;br /&gt;
| &lt;br /&gt;
| Members of this position will never agree to 'join' your character during adventure mode. They also don't settle anywhere else but in the capital, and will not [[immigration|emigrate]] from their site. If they are not DUTY_BOUND, they will live anywhere as they like.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ELECTED}}&lt;br /&gt;
| &lt;br /&gt;
| The population will periodically select the most skill-eligible creature to fill this position for site-level positions at the player's fort. For responsibilities or positions that use more than one skill, no skill takes priority in electing a creature: an accomplished comedian is more qualified for the TRADE responsibility than a skilled appraiser. A creature may be elected to multiple positions at the same time. Contrast [APPOINTED_BY].&lt;br /&gt;
''More info: [[Elections]]''&lt;br /&gt;
''Read more: [[Advanced_Entity_Position_Mechanics#Elections]]''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|EXECUTION_SKILL}}&lt;br /&gt;
| weapon skill&lt;br /&gt;
| A mandatory sub-tag of [RESPONSIBILITY:EXECUTIONS]. Determines the weapon chosen by the executioner for their work.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|EXPORTED_IN_LEGENDS}}&lt;br /&gt;
| &lt;br /&gt;
| The various members who have filled this role will be listed in the civilisation's history.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|FLASHES}}&lt;br /&gt;
| &lt;br /&gt;
| The creature holding this position will visibly flash, like legendary citizens. Represents a properly noble station by default.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|GENDER}} &lt;br /&gt;
| male/female&lt;br /&gt;
| The position can only be held by the specified gender. Currently bugged {{bug|2714}}&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|KILL_QUEST}}&lt;br /&gt;
| &lt;br /&gt;
| The position can assign quests to adventurers.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|LAND_HOLDER}}&lt;br /&gt;
| importance tier (1-10)&lt;br /&gt;
| This is an alternative to SITE, allowing positions to be created at civ-level 'as needed' for all sites that meet the requirements to have them, which are the values set in [[Difficulty#Land_holder|land holder difficulty]] [[settings]]. The character is tied permanently to a particular site, but also operates at the civ-level.&lt;br /&gt;
''Read more: [[Advanced_Entity_Position_Mechanics#land holders]]''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|LAND_NAME}}&lt;br /&gt;
| string. Readable up to 21 characters in the nobles' screen.&lt;br /&gt;
| The name the area takes on when under the control of a LAND_HOLDER. E.g. for the DUKE, [LAND_NAME:a duchy]. If the position is not a [[LAND_HOLDER]], the land_name is still displayed left of the position in the nobles menu.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MANDATE_MAX}}&lt;br /&gt;
| number (0-100)&lt;br /&gt;
| The maximum number of mandates the position can make at once.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MENIAL_WORK_EXEMPTION}}&lt;br /&gt;
| &lt;br /&gt;
| The position holder cannot be assigned labors. It only works for [SITE]-positions.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MENIAL_WORK_EXEMPTION_SPOUSE}}&lt;br /&gt;
| &lt;br /&gt;
| The spouse of the position holder doesn't have to work, either - see above.&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MILITARY_SCREEN_ONLY}}&lt;br /&gt;
|&lt;br /&gt;
| This position cannot be appointed from the nobles screen. Intended for militia captains and other squad leaders to reduce clutter. Currently nonfunctional{{bug|8965}}&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NAME}}&lt;br /&gt;
| singular:plural. Readable up to 21 characters in the nobles' screen and up to 30 in the unit list.&lt;br /&gt;
| The name of the position.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NAME_MALE}}&lt;br /&gt;
| singular:plural. Readable up to 21 characters in the nobles' screen and up to 30 in the unit list.&lt;br /&gt;
| If the creature holding the position is male, this is the position's name. E.g. for MONARCH, [NAME_MALE:king:kings]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NAME_FEMALE}}&lt;br /&gt;
| singular:plural. Readable up to 21 characters in the nobles' screen and up to 30 in the unit list.&lt;br /&gt;
| If the creature holding the position is female, this is the position's name. E.g. for MONARCH, [NAME_FEMALE:queen:queens]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NUMBER}}&lt;br /&gt;
| &lt;br /&gt;
* number/AS_NEEDED&lt;br /&gt;
| How many of the position there should be. If the [SITE] token exists, this is per site, otherwise this is per civilisation. AS_NEEDED applies mainly to positions involved with the military command chain; this is used to allow armies to expand to whatever size they need to be. Other non-military positions like the land_holders or the [[messenger]] with NUMBER:AS_NEEDED will also be appointed. &lt;br /&gt;
The problem with [[Lieutenant]]s and [[Captain]]s not being created, is their AS_NEEDED number. They are only then created when they're needed, and that has some pretty unusual conditions. When a fixed number is used, they are appointed with the creation of the civ. &lt;br /&gt;
If the NUMBER is set at a fixed value higher than 1, the position is always filled up full. If the position is available on embark, it is completely filled up with only the first dwarf. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PRECEDENCE}}&lt;br /&gt;
| number (0-30000)/NONE&lt;br /&gt;
| How important the position is in society; a lower number is more important and displayed higher in the Nobles menu. For MONARCH it's 1, for MILITIA_CAPTAIN it's 200. The game marks the first non-[SITE] position with [PRECEDENCE:1] as the ruler, for both embark screen and mountainhome purposes. When it is empty, [REPLACED_BY] another position, or not yet created because of [REQUIRES_POPULATION], the screen just says 'None' as the holders' name. Landholders can become the ruler, if they are the first defined position with precedence of 1. civ-position can also be created without precedence. Positions may have the same precedence and will be appointed, although the effect is unknown. Precedence has no effect on who's doing the job, if both positions have the same responsibilities.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PUNISHMENT_EXEMPTION}}&lt;br /&gt;
| &lt;br /&gt;
| The position holder will not be held accountable for his or her crimes. Currently nonfunctional.{{bug|4589}}{{verify|seems to prevent punishment when they are convicted of actual crime}}&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|QUEST_GIVER}}&lt;br /&gt;
|&lt;br /&gt;
| The position holder can give quests in Adventure mode. Functionality in 0.31.13 and later is uncertain.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|REJECTED_CLASS}}&lt;br /&gt;
| CREATURE_CLASS Token&lt;br /&gt;
| Creatures of the specified class cannot be appointed to this position. Multiple entries are allowed&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|REJECTED_CREATURE}}&lt;br /&gt;
| CREATURE:CASTE&lt;br /&gt;
| Restricts position holders by CREATURE type. Multiple entries are allowed. It doesn't seem to work in world-gen. When checking Legends mode, units are seen assigned this position regardless of their creature-type or caste. It does work in Fortress mode.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|REPLACED_BY}}&lt;br /&gt;
| position&lt;br /&gt;
| This position is absorbed by another down the line. For example, expedition leader is [REPLACED_BY:MAYOR]. Only a single entry is allowed.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|REQUIRED_BEDROOM}}&lt;br /&gt;
| number (0-1000000)&lt;br /&gt;
| The position holder requires a bedroom with at least this value.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|REQUIRED_BOXES}}&lt;br /&gt;
| number (0-100)&lt;br /&gt;
| The position holder requires at least this many boxes.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|REQUIRED_CABINETS}}&lt;br /&gt;
| number (0-100)&lt;br /&gt;
| The position holder requires at least this many cabinets.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|REQUIRED_DINING}}&lt;br /&gt;
| number (0-1000000)&lt;br /&gt;
| The position holder requires a dining room with at least this value.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|REQUIRED_OFFICE}}&lt;br /&gt;
| number (0-1000000)&lt;br /&gt;
| The position holder requires an office with at least this value.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|REQUIRED_RACKS}}&lt;br /&gt;
| number (0-100)&lt;br /&gt;
| The position holder requires at least this many weapon racks.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|REQUIRED_STANDS}}&lt;br /&gt;
| number (0-100)&lt;br /&gt;
| The position holder requires at least this many armour stands.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|REQUIRED_TOMB}}&lt;br /&gt;
| number (0-1000000)&lt;br /&gt;
| The position holder requires a tomb with at least this value.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|REQUIRES_MARKET}}&lt;br /&gt;
| &lt;br /&gt;
| Does not have anything directly to do with [[trade depot|trade depots]].  It means that in minor sites (such as hillocks) the position will not appear, while in major sites (such as dwarf fortresses) it will. Depending on its economical position in the region, a [[hamlet]] may build a market and develop into a [[Town]] eventually. That is when this position becomes available. It only works in combination with the [SITE]-token.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|REQUIRES_POPULATION}}&lt;br /&gt;
| number&lt;br /&gt;
| The position requires the population to be at least this number before it becomes available, or before the position holder will move in.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|RESPONSIBILITY}}&lt;br /&gt;
| responsibility&lt;br /&gt;
| The position holder does a thing. See the table below for suitable arguments. A position does not need to have a responsibility.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|RULES_FROM_LOCATION}}&lt;br /&gt;
| &lt;br /&gt;
| If there is a special location set aside for rulers, such as a human castle/mead hall, the position holder will always be found at that particular location. Does nothing for dwarven nobles, because at present, dwarves have no such special locations. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SITE}}&lt;br /&gt;
| &lt;br /&gt;
| Every site government will have the defined number of this position instead of the whole civilization; provided that other criteria (if any) are met. Unless LAND_HOLDER is present instead, the defined number of the position will be created only for the civilization as a whole. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SLEEP_PRETENSION}}&lt;br /&gt;
| &lt;br /&gt;
| The position holder will get upset if someone with a higher PRECEDENCE holds quarters with a greater value than their own.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SPECIAL_BURIAL}}&lt;br /&gt;
| &lt;br /&gt;
| The civilization will inter the corpse of the position holder in a special grave, either in catacombs or in monuments. If that grave is disturbed, the position holder can return as a [[mummy]]. {{verify}}&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SPOUSE}}&lt;br /&gt;
| singular:plural. Readable up to 30 characters in the unit list.&lt;br /&gt;
| The name of the position holder's spouse.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SPOUSE_FEMALE}}&lt;br /&gt;
| singular:plural. Readable up to 30 characters in the unit list.&lt;br /&gt;
| If the spouse of the creature holding the position is female, this is the spouse's position name.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SPOUSE_MALE}}&lt;br /&gt;
| singular:plural. Readable up to 30 characters in the unit list.&lt;br /&gt;
| If the spouse of the creature holding the position is male, this is the spouse's position name.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SQUAD}}&lt;br /&gt;
| number:singular:plural&lt;br /&gt;
| The position holder is authorized to form a military squad, led by themselves using the [[leader]] and [[military tactics]] skills. The number denotes the maximum headcount. The noun used to describe the subordinates (e.g. royal guard) is used in adventure mode for the adventurer. This token is used together with [RESPONSIBILITY:LAW_ENFORCEMENT] for giving [[quest]]s to adventurers as [[Hearthperson|hearthpeople]]. Further details: [[Advanced_entity_position_mechanics#Military]]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SUCCESSION}}&lt;br /&gt;
| &lt;br /&gt;
* BY_HEIR / BY_POSITION:position&lt;br /&gt;
| How a new position holder is chosen. A single position can have multiple BY_POSITION tokens.  See [[Noble]] for more information on how succession is handled in the game. &lt;br /&gt;
The SUCCESSION-Tag is also considered when a new positions opens up, for example when a required population number is reached. If a valid successor is available, they will be the one taking that position initially, without appointment or election.&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Responsibilities ==&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#dddddd&amp;quot;&lt;br /&gt;
! Argument&lt;br /&gt;
! Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ACCOUNTING}}&lt;br /&gt;
| Found on [[bookkeeper]]. Position will use [[record keeper]] skill to keep track of stocks.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ADVISE_LEADERS}}&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ATTACK_ENEMIES}}&lt;br /&gt;
| Found on elven [[ranger captain]] and human warrior. Effect unknown.{{verify}}&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|BUILD_MORALE}}&lt;br /&gt;
| Found on [[champion]]. Citizens get a special thought for &amp;quot;talking to a pillar of society&amp;quot; when speaking to this noble.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|BUILDING_SAFETY}}&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|COLLECT_TAXES}}&lt;br /&gt;
| Currently unused - was originally assigned to the tax collector.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CONSTRUCTION_PERMITS}}&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|DELIVER_MESSAGES}}&lt;br /&gt;
| Found on [[messenger]]. Position travels to other sites and uses [[social skill]]s.&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|EQUIPMENT_MANIFESTS}}&lt;br /&gt;
| Currently unused - was originally assigned to the arsenal dwarf.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ESCORT_TAX_COLLECTOR}}&lt;br /&gt;
| Currently unused - was originally assigned to the Royal Guards (squad members beneath the Hammerer).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ESPIONAGE}}&lt;br /&gt;
| Found on [[dungeon master]] and the [[Elf|elven]] [[General|princess]] and uses the [[schemer]] skill.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ESTABLISH_COLONY_TRADE_AGREEMENTS}}&lt;br /&gt;
| Found on [[outpost liaison]]. Position travels with the caravan and uses [[social skill]]s to make trade agreements with any settlements that it visits, provided they are domestic, report the news and promote {{token|LAND_HOLDER|e}} positions. Also reports recent news. Presumably has no effect at site level. Crucially, it does not visit foreign settlements, but the civ-level TRADE position does the exact same thing in its position. They arrive the same time as the caravan arrives, and this can thus be modded by setting {{token|ACTIVE_SEASON|e}}&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|EXECUTIONS}}&lt;br /&gt;
| Found on [[hammerer]]. Position executes death penalty judgements with a weapon of the appropriate skill. Cannot be combined with LAW_ENFORCEMENT, resulting in the &amp;quot;Invalid Officer&amp;quot;-error.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|FIRE_SAFETY}}&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|FOOD_SUPPLY}}&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|HEALTH_MANAGEMENT}}&lt;br /&gt;
| Found on [[chief medical dwarf]]. Position will use [[diagnostician]] skill to evaluate [[wounds]] and schedule [[Health care|treatment]], reported in each citizen's Health tab.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|JUDGE}}&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|LAW_ENFORCEMENT}}&lt;br /&gt;
| Found on [[sheriff]]/[[captain of the guard]]. Position and its subordinates are in charge of punishing criminals. A {{token|SITE|position}} position holding this responsibility plus the {{token|SQUAD|position}} token (or allowing the entity to have a {{token|SITE_VARIABLE_POSITIONS|e}} with this responsibility) is required for an adventurer from a given civilization to start as a [[hearthperson]], [[Captain of the guard|fortress guard]], etc. Cannot be combined with EXECUTIONS, resulting in the &amp;quot;Invalid Officer&amp;quot;-error.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|LAW_MAKING}}&lt;br /&gt;
| Found on [[monarch]]s and [[:Category:Aristocrats|nobles]]. Will be referred to as the leader of the site in adventure mode and they may designate the site as being the capital city for civ-level positions. This position is in charge of creating procedural positions, corresponding to either {{token|VARIABLE_POSITIONS|e}} or {{token|SITE_VARIABLE_POSITIONS|e}}. Position-holders that have attained [[immortality]] may issue oppressive edicts to protect themselves against suspicion.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MAINTAIN_BRIDGES}}&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MAINTAIN_ROADS}}&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MAINTAIN_SEWERS}}&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MAINTAIN_TUNNELS}}&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MAKE_INTRODUCTIONS}}&lt;br /&gt;
| Position will make a 'social call' to an established foreign settlement, complimenting or insulting them depending on relations and reporting the news.  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MAKE_PEACE_AGREEMENTS}}&lt;br /&gt;
| Found on diplomat. Position negotiates peace treaties in order to end wars.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MAKE_TOPIC_AGREEMENTS}}&lt;br /&gt;
| Found on [[diplomat]]. Position negotiates special agreements, such as tree cutting quotas. Used when elevating a settlement in the {{token|LAND_HOLDER|position}} chain up from level 1.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MANAGE_ANIMALS}}&lt;br /&gt;
| Found on [[dungeon master]].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MANAGE_LEADER_HOUSEHOLD_CLEANLINESS}}&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MANAGE_LEADER_HOUSEHOLD_DRINKS}}&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MANAGE_LEADER_HOUSEHOLD_FOOD}}&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MANAGE_PRODUCTION}}&lt;br /&gt;
| Found on [[manager]]. Position enables the use of workshop profiles and uses the [[organizer]] skill to process work orders entered in the job manager after the fortress population reaches 20.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MEET_WORKERS}}&lt;br /&gt;
| Found on [[expedition leader]]/[[mayor]]. Position uses the various [[social skill]]s to hold meetings with unhappy citizens and try to pacify them with happy thoughts. In adventure mode, [SITE] positions with this responsibility handle petitions to make the player a performer for the local government.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MILITARY_GOALS}}&lt;br /&gt;
| Found on [[monarch]]/[[:Category:Aristocrats|landholder]]/[[:Category:Elected Nobles|leaders]]. Character is in charge of going to war and making peace for the government they work for. Without a position with this responsibility at civ level the civilization will not be able to make peace and its sites will wage war on each other constantly, and as a result, all viable civilizations must have one leader with this tag at civ level. This appears not to be a problem for [[kobold]]s, presumably due to the {{token|SKULKING|e}}. If no position has this responsibility in fortress mode, players are unable to start [[missions]].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MILITARY_STRATEGY}}&lt;br /&gt;
| Found on [[general]]/[[militia commander]]. Means that they will command the armies of their site or civilization. Issues the orders for the teams conducting raids or other operations away from the fortress. During worldgen, position will go on expeditions to tame exotic creatures. Counterintuitively not by the TAME_EXOTICS-position. The destinations of these expeditions are determined by the entities USE_(...)_ANIMALS-tokens. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|OVERSEE_LEADER_HOUSEHOLD}}&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PATROL_TERRITORY}}&lt;br /&gt;
| Found on elven ranger captain. Effect unknown.{{verify}}&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PREPARE_LEADER_MEALS}}&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|RECEIVE_DIPLOMATS}}&lt;br /&gt;
| Found on [[monarch]]/[[:Category:Aristocrats|landholder]]/[[:Category:Elected Nobles|leaders]]. Position uses the various social skills to hold meetings with incoming diplomats and liaisons.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|RELIGION}}&lt;br /&gt;
| Found on elven [[druid]] and uses [[social skill]]s. Position informs you about worship cults{{verify}}&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SORT_AMMUNITION}}&lt;br /&gt;
| Currently unused - was originally assigned to the arsenal dwarf.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TAME_EXOTICS}}&lt;br /&gt;
| Position will tame animals with the {{token|PET_EXOTIC}} token. Currently unused - was originally assigned to the dungeon master. Expeditions to tame exotic creatures will be done by the MILITARY_STRATEGY-position&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TRADE}}&lt;br /&gt;
| Found on [[broker]]. Position will use Appraisal skill to display value estimates and the various Social skills to trade at the depot. When applied to other civilizations, this position will arrive with the caravan to make trade agreements (like the Human Guild Representative from older versions) and behaves otherwise like the civ's own ESTABLISH_COLONY_TRADE_AGREEMENTS position holder. They arrive the same time as the caravan arrive and this can thus be modded by setting {{token|ACTIVE_SEASON|e}}&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|UPGRADE_SQUAD_EQUIPMENT}}&lt;br /&gt;
| Currently unused - was originally assigned to the arsenal dwarf.&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Related tokens ==&lt;br /&gt;
The following two ENTITY tokens are not actually position tokens, but bear mentioning on this page because they can modify the way that a civilization's positions behave:&lt;br /&gt;
&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#dddddd&amp;quot;&lt;br /&gt;
! Token&lt;br /&gt;
! Arguments&lt;br /&gt;
! Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|VARIABLE_POSITIONS}}&lt;br /&gt;
| Position responsibility or ALL&lt;br /&gt;
| Allows a responsibility to be taken up by a dynamically generated position (such as Law-maker).&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Why won't my positions appear? ==&lt;br /&gt;
The way DF determines what positions will actually ''appear'' in your fortress is somewhat counter-intuitive and fairly limiting. This guide should help you understand what you can do to actually get your positions working properly.&lt;br /&gt;
&lt;br /&gt;
There are five tokens governing which positions appear in your fortress - LAND_HOLDER, REQUIRES_POPULATION, APPOINTED_BY, ELECTED, and REPLACED_BY. The first two determine when your fortress is eligible for a new position, the next two determine how a new position for which your fortress is eligible can be added, and the fifth allows you to clear up obsolete positions. Unfortunately, they also interact in some strange ways that makes creating interesting position structures difficult.&lt;br /&gt;
&lt;br /&gt;
When you start a new fortress, DF compiles a list of your initial positions. To do this, it looks at the requirements for each position - any position whose only requirement is less than seven dwarves (either because they have no requirement tokens, or because their only requirement tokens are [REQUIRES_POPULATION: =&amp;lt; 7] or [LAND_HOLDER:some trigger whose only requirement is some number of dwarves equal to or less than 7]). Most importantly, ''any'' position whose only requirement is a LAND_HOLDER requirement, regardless of what the trigger for that requirement is, will be added if another eligible starting position is REPLACED_BY it. '''A non-LAND_HOLDER position that is REPLACED_BY a LAND_HOLDER position will never appear.''' With this list compiled, the game culls all positions that are REPLACED_BY another eligible position, and then culls all positions that have the APPOINTED_BY token. '''You may not embark with any appointed positions.''' Any remaining positions are then filled by a dwarf chosen at random.&lt;br /&gt;
&lt;br /&gt;
'''Positions do not automatically appear when you reach their requirements.''' For example, if you remove the ELECTED token from the Mayor, then the Mayor will never appear, even once you reach their required number of dwarves. '''For a position that does not appear at embark to appear in your fortress, it must be APPOINTED_BY another position or ELECTED.'''&lt;br /&gt;
&lt;br /&gt;
Naturally, this is more complicated than it looks. '''APPOINTED_BY positions must be appointed by another position already in your fortress, or a civ-level position. Only LAND_HOLDER positions may be appointed by civ-level positions.''' LAND_HOLDER positions that are APPOINTED_BY civ-level positions are inherently tied to civ-level tokens with the ESTABLISH_COLONY_TRADE_AGREEMENTS responsibility. If a fortress meets the LAND_HOLDER_TRIGGER for a new LAND_HOLDER tier when a caravan leaves, then the next time the outpost liaison or equivalent arrives, they will offer to make you an official colony, which will allow you to select all positions for that LAND_HOLDER level. '''Each time they appear, the outpost liaison will only promote your fortress one tier up the LAND_HOLDER track.''' The biggest problem with this system is that you may set your LAND_HOLDER_TRIGGERS such that you are eligible for the first tier of LAND_HOLDER positions at embark. '''If you are eligible for the first tier of LAND_HOLDER positions at embark, then all first-tier positions will appear twice - once at embark, and again when the outpost liaison comes to appoint you to the first tier.'''&lt;br /&gt;
&lt;br /&gt;
If civ-positions are neither APPOINTED_BY nor ELECTED, they still will be filled. &lt;br /&gt;
&lt;br /&gt;
Read more: [[Advanced_Entity_Position_Mechanics]]&lt;br /&gt;
&lt;br /&gt;
{{Category|Modding}}&lt;br /&gt;
{{Category|Tokens}}&lt;br /&gt;
[[ru:Position token]]&lt;/div&gt;</summary>
		<author><name>Joostheger</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=Position_token&amp;diff=315402</id>
		<title>Position token</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=Position_token&amp;diff=315402"/>
		<updated>2026-03-08T20:52:44Z</updated>

		<summary type="html">&lt;p&gt;Joostheger: /* Position tokens */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Quality|Fine}}&lt;br /&gt;
{{av}}&lt;br /&gt;
{{Modding}}&lt;br /&gt;
Position tokens define [[noble]] positions for civilizations and site governments, inside [[entity token]]s. In the vanilla game, position token definitions can be found in &amp;lt;code&amp;gt;[[Game folder|&amp;lt;Dwarf Fortress&amp;gt;]]\data\vanilla\vanilla_entities\objects\entity_default.txt&amp;lt;/code&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
{{clear}}&lt;br /&gt;
&lt;br /&gt;
==Code==&lt;br /&gt;
A position is defined with a position 'code', as an argument in the [POSITION]-tag. The same code may be used multiple times, they don't have to be unique. This code is used as reference by APPOINTED_BY, SUCCESSION:BY_POSITION, REPLACE_BY and COMMANDER. 'MONARCH' is an example of this code.&lt;br /&gt;
&lt;br /&gt;
==Position tokens==&lt;br /&gt;
These tokens belong in an entity definition, applying to a position (such as monarch) and should follow the [POSITION:POSITION_NAME] token.&lt;br /&gt;
&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#dddddd&amp;quot;&lt;br /&gt;
! Token&lt;br /&gt;
! Arguments&lt;br /&gt;
! Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ACCOUNT_EXEMPT}}&lt;br /&gt;
|&lt;br /&gt;
| The position holder is not subjected to the [[Dwarven economy|economy]]. Less than relevant right now.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ALLOWED_CLASS}}&lt;br /&gt;
| {{token|CREATURE_CLASS|creature}} token&lt;br /&gt;
| rowspan=2 | ALLOWED_CLASS: Only creatures with the specified [CREATURE_CLASS] token may be appointed to this position. Multiple entries are allowed. &amp;lt;/br&amp;gt; ALLOWED_CREATURE: Restricts the position to the specified creature and caste. Multiple entries are allowed. &amp;lt;/br&amp;gt; These tokens only apply within the entity’s own race (including its castes). &lt;br /&gt;
In world generation, they limit which units may be assigned to the position, but they do not prevent other creature types from acquiring the position through alternative means (for example, via a coup).&lt;br /&gt;
In fortress mode, these tokens are enforced during manual appointment and succession.&lt;br /&gt;
During world generation, if all allowed castes have a POP_RATIO of 0, a unit of an allowed caste will still be generated to fill the position.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ALLOWED_CREATURE}}&lt;br /&gt;
| CREATURE:CASTE&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|APPOINTED_BY}}&lt;br /&gt;
| position&lt;br /&gt;
| This position can only be chosen for the task from the nobles screen, and is available only if there is an *argument* present. For example, the GENERAL is [APPOINTED_BY:MONARCH]. Contrast [ELECTED]. Being appointed by a MONARCH seems to handle a lot of worldgen stuff, and interferes with fort mode titles. Multiple entries are allowed. If you have neither an ELECTED-token nor a APPOINTED_BY-token, the holder may always be changed (like the expedition leader).&lt;br /&gt;
''Read more: [[Advanced_Entity_Position_Mechanics#Appointment]]''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|BRAG_ON_KILL}}&lt;br /&gt;
| &lt;br /&gt;
| A creature that kills a member of this position will be sure to talk about it a lot.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CHAT_WORTHY}}&lt;br /&gt;
| &lt;br /&gt;
| In adventure mode, when referencing locations, an NPC may mention this position holder living there or having done some deed there; it also means that the position exists in world-gen, rather than being created only at the end of world-gen.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|COLOR}}&lt;br /&gt;
| [[Color]]&lt;br /&gt;
| Creatures of this position will have this [[Color]], instead of their profession color, e.g. [COLOR:5:0:1]. It is also applied to the name of the citizen in the units-screen.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|COMMANDER}}&lt;br /&gt;
| position:ALL&lt;br /&gt;
| This position will act as a commander of the specified position{{verify}}. E.g. GENERAL is [COMMANDER:LIEUTENANT:ALL]. Unknown if values other than ALL work. Multiple entries are allowed.&lt;br /&gt;
''Read more: [[Army]]''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CONQUERED_SITE}}&lt;br /&gt;
| &lt;br /&gt;
| This position is a puppet ruler, left behind in a conquered site.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|DEMAND_MAX}}&lt;br /&gt;
| number (0-100)&lt;br /&gt;
| How many demands the position can make of the population at one time.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|DESCRIPTION}}&lt;br /&gt;
| string. Readable up to 470 characters in the nobles' screen.&lt;br /&gt;
| description of this position in the nobles screen.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|DETERMINES_COIN_DESIGN}}&lt;br /&gt;
| &lt;br /&gt;
| The site's (or civ's) minted [[coin]]s, if any, will have images that reflect the personality of this position holder.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|DO_NOT_CULL}}&lt;br /&gt;
| &lt;br /&gt;
| The position won't be culled from Legends as &amp;quot;unimportant&amp;quot; during world generation.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|DUTY_BOUND}}&lt;br /&gt;
| &lt;br /&gt;
| Members of this position will never agree to 'join' your character during adventure mode. They also don't settle anywhere else but in the capital, and will not [[immigration|emigrate]] from their site. If they are not DUTY_BOUND, they will live anywhere as they like.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ELECTED}}&lt;br /&gt;
| &lt;br /&gt;
| The population will periodically select the most skill-eligible creature to fill this position for site-level positions at the player's fort. For responsibilities or positions that use more than one skill, no skill takes priority in electing a creature: an accomplished comedian is more qualified for the TRADE responsibility than a skilled appraiser. A creature may be elected to multiple positions at the same time. Contrast [APPOINTED_BY].&lt;br /&gt;
''More info: [[Elections]]''&lt;br /&gt;
''Read more: [[Advanced_Entity_Position_Mechanics#Elections]]''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|EXECUTION_SKILL}}&lt;br /&gt;
| weapon skill&lt;br /&gt;
| A mandatory sub-tag of [RESPONSIBILITY:EXECUTIONS]. Determines the weapon chosen by the executioner for their work.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|EXPORTED_IN_LEGENDS}}&lt;br /&gt;
| &lt;br /&gt;
| The various members who have filled this role will be listed in the civilisation's history.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|FLASHES}}&lt;br /&gt;
| &lt;br /&gt;
| The creature holding this position will visibly flash, like legendary citizens. Represents a properly noble station by default.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|GENDER}} &lt;br /&gt;
| male/female&lt;br /&gt;
| The position can only be held by the specified gender. Currently bugged {{bug|2714}}&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|KILL_QUEST}}&lt;br /&gt;
| &lt;br /&gt;
| The position can assign quests to adventurers.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|LAND_HOLDER}}&lt;br /&gt;
| importance tier (1-10)&lt;br /&gt;
| This is an alternative to SITE, allowing positions to be created at civ-level 'as needed' for all sites that meet the requirements to have them, which are the values set in [[Difficulty#Land_holder|land holder difficulty]] [[settings]]. The character is tied permanently to a particular site, but also operates at the civ-level.&lt;br /&gt;
''Read more: [[Advanced_Entity_Position_Mechanics#land holders]]''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|LAND_NAME}}&lt;br /&gt;
| string. Readable up to 21 characters in the nobles' screen.&lt;br /&gt;
| The name the area takes on when under the control of a LAND_HOLDER. E.g. for the DUKE, [LAND_NAME:a duchy]. If the position is not a [[LAND_HOLDER]], the land_name is still displayed left of the position in the nobles menu.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MANDATE_MAX}}&lt;br /&gt;
| number (0-100)&lt;br /&gt;
| The maximum number of mandates the position can make at once.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MENIAL_WORK_EXEMPTION}}&lt;br /&gt;
| &lt;br /&gt;
| The position holder cannot be assigned labors. It only works for [SITE]-positions.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MENIAL_WORK_EXEMPTION_SPOUSE}}&lt;br /&gt;
| &lt;br /&gt;
| The spouse of the position holder doesn't have to work, either - see above.&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MILITARY_SCREEN_ONLY}}&lt;br /&gt;
|&lt;br /&gt;
| This position cannot be appointed from the nobles screen. Intended for militia captains and other squad leaders to reduce clutter. Currently nonfunctional{{bug|8965}}&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NAME}}&lt;br /&gt;
| singular:plural. Readable up to 21 characters in the nobles' screen and up to 30 in the unit list.&lt;br /&gt;
| The name of the position.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NAME_MALE}}&lt;br /&gt;
| singular:plural. Readable up to 21 characters in the nobles' screen and up to 30 in the unit list.&lt;br /&gt;
| If the creature holding the position is male, this is the position's name. E.g. for MONARCH, [NAME_MALE:king:kings]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NAME_FEMALE}}&lt;br /&gt;
| singular:plural. Readable up to 21 characters in the nobles' screen and up to 30 in the unit list.&lt;br /&gt;
| If the creature holding the position is female, this is the position's name. E.g. for MONARCH, [NAME_FEMALE:queen:queens]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NUMBER}}&lt;br /&gt;
| &lt;br /&gt;
* number/AS_NEEDED&lt;br /&gt;
| How many of the position there should be. If the [SITE] token exists, this is per site, otherwise this is per civilisation. AS_NEEDED applies mainly to positions involved with the military command chain; this is used to allow armies to expand to whatever size they need to be. Other non-military positions like the land_holders or the [[messenger]] with NUMBER:AS_NEEDED will also be appointed. &lt;br /&gt;
The problem with [[Lieutenant]]s and [[Captain]]s not being created, is their AS_NEEDED number. They are only then created when they're needed, and that has some pretty unusual conditions. When a fixed number is used, they are appointed with the creation of the civ. &lt;br /&gt;
If the NUMBER is set at a fixed value higher than 1, the position is always filled up full. If the position is available on embark, it is completely filled up with only the first dwarf. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PRECEDENCE}}&lt;br /&gt;
| number (0-30000)/NONE&lt;br /&gt;
| How important the position is in society; a lower number is more important and displayed higher in the Nobles menu. For MONARCH it's 1, for MILITIA_CAPTAIN it's 200. The game marks the first non-[SITE] position with [PRECEDENCE:1] as the ruler, for both embark screen and mountainhome purposes. When it is empty, [REPLACED_BY] another position, or not yet created because of [REQUIRES_POPULATION], the screen just says 'None' as the holders' name. Landholders can become the ruler, if they are the first defined position with precedence of 1. civ-position can also be created without precedence. Positions may have the same precedence and will be appointed, although the effect is unknown. Precedence has no effect on who's doing the job, if both positions have the same responsibilities.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PUNISHMENT_EXEMPTION}}&lt;br /&gt;
| &lt;br /&gt;
| The position holder will not be held accountable for his or her crimes. Currently nonfunctional.{{bug|4589}}{{verify|seems to prevent punishment when they are convicted of actual crime}}&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|QUEST_GIVER}}&lt;br /&gt;
|&lt;br /&gt;
| The position holder can give quests in Adventure mode. Functionality in 0.31.13 and later is uncertain.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|REJECTED_CLASS}}&lt;br /&gt;
| CREATURE_CLASS Token&lt;br /&gt;
| Creatures of the specified class cannot be appointed to this position. Multiple entries are allowed&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|REJECTED_CREATURE}}&lt;br /&gt;
| CREATURE:CASTE&lt;br /&gt;
| Restricts position holders by CREATURE type. Multiple entries are allowed. It doesn't seem to work in world-gen. When checking Legends mode, units are seen assigned this position regardless of their creature-type or caste. It does work in Fortress mode.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|REPLACED_BY}}&lt;br /&gt;
| position&lt;br /&gt;
| This position is absorbed by another down the line. For example, expedition leader is [REPLACED_BY:MAYOR]. Only a single entry is allowed.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|REQUIRED_BEDROOM}}&lt;br /&gt;
| number (0-1000000)&lt;br /&gt;
| The position holder requires a bedroom with at least this value.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|REQUIRED_BOXES}}&lt;br /&gt;
| number (0-100)&lt;br /&gt;
| The position holder requires at least this many boxes.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|REQUIRED_CABINETS}}&lt;br /&gt;
| number (0-100)&lt;br /&gt;
| The position holder requires at least this many cabinets.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|REQUIRED_DINING}}&lt;br /&gt;
| number (0-1000000)&lt;br /&gt;
| The position holder requires a dining room with at least this value.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|REQUIRED_OFFICE}}&lt;br /&gt;
| number (0-1000000)&lt;br /&gt;
| The position holder requires an office with at least this value.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|REQUIRED_RACKS}}&lt;br /&gt;
| number (0-100)&lt;br /&gt;
| The position holder requires at least this many weapon racks.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|REQUIRED_STANDS}}&lt;br /&gt;
| number (0-100)&lt;br /&gt;
| The position holder requires at least this many armour stands.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|REQUIRED_TOMB}}&lt;br /&gt;
| number (0-1000000)&lt;br /&gt;
| The position holder requires a tomb with at least this value.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|REQUIRES_MARKET}}&lt;br /&gt;
| &lt;br /&gt;
| Does not have anything directly to do with [[trade depot|trade depots]].  It means that in minor sites (such as hillocks) the position will not appear, while in major sites (such as dwarf fortresses) it will. Depending on its economical position in the region, a [[hamlet]] may build a market and develop into a [[Town]] eventually. That is when this position becomes available.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|REQUIRES_POPULATION}}&lt;br /&gt;
| number&lt;br /&gt;
| The position requires the population to be at least this number before it becomes available, or before the position holder will move in.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|RESPONSIBILITY}}&lt;br /&gt;
| responsibility&lt;br /&gt;
| The position holder does a thing. See the table below for suitable arguments. A position does not need to have a responsibility.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|RULES_FROM_LOCATION}}&lt;br /&gt;
| &lt;br /&gt;
| If there is a special location set aside for rulers, such as a human castle/mead hall, the position holder will always be found at that particular location. Does nothing for dwarven nobles, because at present, dwarves have no such special locations. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SITE}}&lt;br /&gt;
| &lt;br /&gt;
| Every site government will have the defined number of this position instead of the whole civilization; provided that other criteria (if any) are met. Unless LAND_HOLDER is present instead, the defined number of the position will be created only for the civilization as a whole. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SLEEP_PRETENSION}}&lt;br /&gt;
| &lt;br /&gt;
| The position holder will get upset if someone with a higher PRECEDENCE holds quarters with a greater value than their own.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SPECIAL_BURIAL}}&lt;br /&gt;
| &lt;br /&gt;
| The civilization will inter the corpse of the position holder in a special grave, either in catacombs or in monuments. If that grave is disturbed, the position holder can return as a [[mummy]]. {{verify}}&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SPOUSE}}&lt;br /&gt;
| singular:plural. Readable up to 30 characters in the unit list.&lt;br /&gt;
| The name of the position holder's spouse.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SPOUSE_FEMALE}}&lt;br /&gt;
| singular:plural. Readable up to 30 characters in the unit list.&lt;br /&gt;
| If the spouse of the creature holding the position is female, this is the spouse's position name.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SPOUSE_MALE}}&lt;br /&gt;
| singular:plural. Readable up to 30 characters in the unit list.&lt;br /&gt;
| If the spouse of the creature holding the position is male, this is the spouse's position name.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SQUAD}}&lt;br /&gt;
| number:singular:plural&lt;br /&gt;
| The position holder is authorized to form a military squad, led by themselves using the [[leader]] and [[military tactics]] skills. The number denotes the maximum headcount. The noun used to describe the subordinates (e.g. royal guard) is used in adventure mode for the adventurer. This token is used together with [RESPONSIBILITY:LAW_ENFORCEMENT] for giving [[quest]]s to adventurers as [[Hearthperson|hearthpeople]]. Further details: [[Advanced_entity_position_mechanics#Military]]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SUCCESSION}}&lt;br /&gt;
| &lt;br /&gt;
* BY_HEIR / BY_POSITION:position&lt;br /&gt;
| How a new position holder is chosen. A single position can have multiple BY_POSITION tokens.  See [[Noble]] for more information on how succession is handled in the game. &lt;br /&gt;
The SUCCESSION-Tag is also considered when a new positions opens up, for example when a required population number is reached. If a valid successor is available, they will be the one taking that position initially, without appointment or election.&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Responsibilities ==&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#dddddd&amp;quot;&lt;br /&gt;
! Argument&lt;br /&gt;
! Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ACCOUNTING}}&lt;br /&gt;
| Found on [[bookkeeper]]. Position will use [[record keeper]] skill to keep track of stocks.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ADVISE_LEADERS}}&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ATTACK_ENEMIES}}&lt;br /&gt;
| Found on elven [[ranger captain]] and human warrior. Effect unknown.{{verify}}&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|BUILD_MORALE}}&lt;br /&gt;
| Found on [[champion]]. Citizens get a special thought for &amp;quot;talking to a pillar of society&amp;quot; when speaking to this noble.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|BUILDING_SAFETY}}&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|COLLECT_TAXES}}&lt;br /&gt;
| Currently unused - was originally assigned to the tax collector.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CONSTRUCTION_PERMITS}}&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|DELIVER_MESSAGES}}&lt;br /&gt;
| Found on [[messenger]]. Position travels to other sites and uses [[social skill]]s.&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|EQUIPMENT_MANIFESTS}}&lt;br /&gt;
| Currently unused - was originally assigned to the arsenal dwarf.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ESCORT_TAX_COLLECTOR}}&lt;br /&gt;
| Currently unused - was originally assigned to the Royal Guards (squad members beneath the Hammerer).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ESPIONAGE}}&lt;br /&gt;
| Found on [[dungeon master]] and the [[Elf|elven]] [[General|princess]] and uses the [[schemer]] skill.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ESTABLISH_COLONY_TRADE_AGREEMENTS}}&lt;br /&gt;
| Found on [[outpost liaison]]. Position travels with the caravan and uses [[social skill]]s to make trade agreements with any settlements that it visits, provided they are domestic, report the news and promote {{token|LAND_HOLDER|e}} positions. Also reports recent news. Presumably has no effect at site level. Crucially, it does not visit foreign settlements, but the civ-level TRADE position does the exact same thing in its position. They arrive the same time as the caravan arrives, and this can thus be modded by setting {{token|ACTIVE_SEASON|e}}&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|EXECUTIONS}}&lt;br /&gt;
| Found on [[hammerer]]. Position executes death penalty judgements with a weapon of the appropriate skill. Cannot be combined with LAW_ENFORCEMENT, resulting in the &amp;quot;Invalid Officer&amp;quot;-error.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|FIRE_SAFETY}}&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|FOOD_SUPPLY}}&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|HEALTH_MANAGEMENT}}&lt;br /&gt;
| Found on [[chief medical dwarf]]. Position will use [[diagnostician]] skill to evaluate [[wounds]] and schedule [[Health care|treatment]], reported in each citizen's Health tab.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|JUDGE}}&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|LAW_ENFORCEMENT}}&lt;br /&gt;
| Found on [[sheriff]]/[[captain of the guard]]. Position and its subordinates are in charge of punishing criminals. A {{token|SITE|position}} position holding this responsibility plus the {{token|SQUAD|position}} token (or allowing the entity to have a {{token|SITE_VARIABLE_POSITIONS|e}} with this responsibility) is required for an adventurer from a given civilization to start as a [[hearthperson]], [[Captain of the guard|fortress guard]], etc. Cannot be combined with EXECUTIONS, resulting in the &amp;quot;Invalid Officer&amp;quot;-error.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|LAW_MAKING}}&lt;br /&gt;
| Found on [[monarch]]s and [[:Category:Aristocrats|nobles]]. Will be referred to as the leader of the site in adventure mode and they may designate the site as being the capital city for civ-level positions. This position is in charge of creating procedural positions, corresponding to either {{token|VARIABLE_POSITIONS|e}} or {{token|SITE_VARIABLE_POSITIONS|e}}. Position-holders that have attained [[immortality]] may issue oppressive edicts to protect themselves against suspicion.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MAINTAIN_BRIDGES}}&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MAINTAIN_ROADS}}&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MAINTAIN_SEWERS}}&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MAINTAIN_TUNNELS}}&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MAKE_INTRODUCTIONS}}&lt;br /&gt;
| Position will make a 'social call' to an established foreign settlement, complimenting or insulting them depending on relations and reporting the news.  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MAKE_PEACE_AGREEMENTS}}&lt;br /&gt;
| Found on diplomat. Position negotiates peace treaties in order to end wars.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MAKE_TOPIC_AGREEMENTS}}&lt;br /&gt;
| Found on [[diplomat]]. Position negotiates special agreements, such as tree cutting quotas. Used when elevating a settlement in the {{token|LAND_HOLDER|position}} chain up from level 1.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MANAGE_ANIMALS}}&lt;br /&gt;
| Found on [[dungeon master]].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MANAGE_LEADER_HOUSEHOLD_CLEANLINESS}}&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MANAGE_LEADER_HOUSEHOLD_DRINKS}}&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MANAGE_LEADER_HOUSEHOLD_FOOD}}&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MANAGE_PRODUCTION}}&lt;br /&gt;
| Found on [[manager]]. Position enables the use of workshop profiles and uses the [[organizer]] skill to process work orders entered in the job manager after the fortress population reaches 20.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MEET_WORKERS}}&lt;br /&gt;
| Found on [[expedition leader]]/[[mayor]]. Position uses the various [[social skill]]s to hold meetings with unhappy citizens and try to pacify them with happy thoughts. In adventure mode, [SITE] positions with this responsibility handle petitions to make the player a performer for the local government.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MILITARY_GOALS}}&lt;br /&gt;
| Found on [[monarch]]/[[:Category:Aristocrats|landholder]]/[[:Category:Elected Nobles|leaders]]. Character is in charge of going to war and making peace for the government they work for. Without a position with this responsibility at civ level the civilization will not be able to make peace and its sites will wage war on each other constantly, and as a result, all viable civilizations must have one leader with this tag at civ level. This appears not to be a problem for [[kobold]]s, presumably due to the {{token|SKULKING|e}}. If no position has this responsibility in fortress mode, players are unable to start [[missions]].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MILITARY_STRATEGY}}&lt;br /&gt;
| Found on [[general]]/[[militia commander]]. Means that they will command the armies of their site or civilization. Issues the orders for the teams conducting raids or other operations away from the fortress. During worldgen, position will go on expeditions to tame exotic creatures. Counterintuitively not by the TAME_EXOTICS-position. The destinations of these expeditions are determined by the entities USE_(...)_ANIMALS-tokens. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|OVERSEE_LEADER_HOUSEHOLD}}&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PATROL_TERRITORY}}&lt;br /&gt;
| Found on elven ranger captain. Effect unknown.{{verify}}&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PREPARE_LEADER_MEALS}}&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|RECEIVE_DIPLOMATS}}&lt;br /&gt;
| Found on [[monarch]]/[[:Category:Aristocrats|landholder]]/[[:Category:Elected Nobles|leaders]]. Position uses the various social skills to hold meetings with incoming diplomats and liaisons.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|RELIGION}}&lt;br /&gt;
| Found on elven [[druid]] and uses [[social skill]]s. Position informs you about worship cults{{verify}}&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SORT_AMMUNITION}}&lt;br /&gt;
| Currently unused - was originally assigned to the arsenal dwarf.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TAME_EXOTICS}}&lt;br /&gt;
| Position will tame animals with the {{token|PET_EXOTIC}} token. Currently unused - was originally assigned to the dungeon master. Expeditions to tame exotic creatures will be done by the MILITARY_STRATEGY-position&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TRADE}}&lt;br /&gt;
| Found on [[broker]]. Position will use Appraisal skill to display value estimates and the various Social skills to trade at the depot. When applied to other civilizations, this position will arrive with the caravan to make trade agreements (like the Human Guild Representative from older versions) and behaves otherwise like the civ's own ESTABLISH_COLONY_TRADE_AGREEMENTS position holder. They arrive the same time as the caravan arrive and this can thus be modded by setting {{token|ACTIVE_SEASON|e}}&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|UPGRADE_SQUAD_EQUIPMENT}}&lt;br /&gt;
| Currently unused - was originally assigned to the arsenal dwarf.&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Related tokens ==&lt;br /&gt;
The following two ENTITY tokens are not actually position tokens, but bear mentioning on this page because they can modify the way that a civilization's positions behave:&lt;br /&gt;
&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#dddddd&amp;quot;&lt;br /&gt;
! Token&lt;br /&gt;
! Arguments&lt;br /&gt;
! Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|VARIABLE_POSITIONS}}&lt;br /&gt;
| Position responsibility or ALL&lt;br /&gt;
| Allows a responsibility to be taken up by a dynamically generated position (such as Law-maker).&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Why won't my positions appear? ==&lt;br /&gt;
The way DF determines what positions will actually ''appear'' in your fortress is somewhat counter-intuitive and fairly limiting. This guide should help you understand what you can do to actually get your positions working properly.&lt;br /&gt;
&lt;br /&gt;
There are five tokens governing which positions appear in your fortress - LAND_HOLDER, REQUIRES_POPULATION, APPOINTED_BY, ELECTED, and REPLACED_BY. The first two determine when your fortress is eligible for a new position, the next two determine how a new position for which your fortress is eligible can be added, and the fifth allows you to clear up obsolete positions. Unfortunately, they also interact in some strange ways that makes creating interesting position structures difficult.&lt;br /&gt;
&lt;br /&gt;
When you start a new fortress, DF compiles a list of your initial positions. To do this, it looks at the requirements for each position - any position whose only requirement is less than seven dwarves (either because they have no requirement tokens, or because their only requirement tokens are [REQUIRES_POPULATION: =&amp;lt; 7] or [LAND_HOLDER:some trigger whose only requirement is some number of dwarves equal to or less than 7]). Most importantly, ''any'' position whose only requirement is a LAND_HOLDER requirement, regardless of what the trigger for that requirement is, will be added if another eligible starting position is REPLACED_BY it. '''A non-LAND_HOLDER position that is REPLACED_BY a LAND_HOLDER position will never appear.''' With this list compiled, the game culls all positions that are REPLACED_BY another eligible position, and then culls all positions that have the APPOINTED_BY token. '''You may not embark with any appointed positions.''' Any remaining positions are then filled by a dwarf chosen at random.&lt;br /&gt;
&lt;br /&gt;
'''Positions do not automatically appear when you reach their requirements.''' For example, if you remove the ELECTED token from the Mayor, then the Mayor will never appear, even once you reach their required number of dwarves. '''For a position that does not appear at embark to appear in your fortress, it must be APPOINTED_BY another position or ELECTED.'''&lt;br /&gt;
&lt;br /&gt;
Naturally, this is more complicated than it looks. '''APPOINTED_BY positions must be appointed by another position already in your fortress, or a civ-level position. Only LAND_HOLDER positions may be appointed by civ-level positions.''' LAND_HOLDER positions that are APPOINTED_BY civ-level positions are inherently tied to civ-level tokens with the ESTABLISH_COLONY_TRADE_AGREEMENTS responsibility. If a fortress meets the LAND_HOLDER_TRIGGER for a new LAND_HOLDER tier when a caravan leaves, then the next time the outpost liaison or equivalent arrives, they will offer to make you an official colony, which will allow you to select all positions for that LAND_HOLDER level. '''Each time they appear, the outpost liaison will only promote your fortress one tier up the LAND_HOLDER track.''' The biggest problem with this system is that you may set your LAND_HOLDER_TRIGGERS such that you are eligible for the first tier of LAND_HOLDER positions at embark. '''If you are eligible for the first tier of LAND_HOLDER positions at embark, then all first-tier positions will appear twice - once at embark, and again when the outpost liaison comes to appoint you to the first tier.'''&lt;br /&gt;
&lt;br /&gt;
If civ-positions are neither APPOINTED_BY nor ELECTED, they still will be filled. &lt;br /&gt;
&lt;br /&gt;
Read more: [[Advanced_Entity_Position_Mechanics]]&lt;br /&gt;
&lt;br /&gt;
{{Category|Modding}}&lt;br /&gt;
{{Category|Tokens}}&lt;br /&gt;
[[ru:Position token]]&lt;/div&gt;</summary>
		<author><name>Joostheger</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=Intrigue&amp;diff=315241</id>
		<title>Intrigue</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=Intrigue&amp;diff=315241"/>
		<updated>2026-03-05T13:34:24Z</updated>

		<summary type="html">&lt;p&gt;Joostheger: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Quality|Superior}}&lt;br /&gt;
{{av}}&lt;br /&gt;
&lt;br /&gt;
The central feature of the 'villains release', '''intrigue''' is a collection of mechanics and tools that enable historical figures to enact [[villain]]ous plots, ensuring a constant stream of [[Fun]] for players. As of .47 interaction with this feature is still somewhat unfinished, with the January 2020 devlog indicating missing elements.&lt;br /&gt;
&lt;br /&gt;
== World gen and world activation ==&lt;br /&gt;
The main mechanic works through agreements: [[historical figure]]s reach out to one another and use a variety of tactics (persuasion, blackmail, bribes) to reach an agreement for a variety of things like funding, assassination, stealing. The historical figures keep a list of plots that they want to enact, and also keep track of how to deal with a variety of other figures. They make use of the [[schemer]]-skill.&lt;br /&gt;
&lt;br /&gt;
You can export a villainous network from the historical figures list in legends mode, as shown in the image below:&lt;br /&gt;
&lt;br /&gt;
[[File:Df_legends_villainous_network.png|center|Image showing a villainous network as exported from legends mode. Purple is the location of the leader, red the location of the members, and yellow, the location of corrupt officials.|thumb|800px]]&lt;br /&gt;
&lt;br /&gt;
The civilizations in world generation also have some basic counter-intelligence abilities, and though it's abstract like the rest of world generation, the spy masters and law enforcement position holders, like the villains, have to work in a more-or-less fair fashion to earn their victories. The game keeps track of the evidence they've collected from witnesses, interrogation and surveillance, and this gives them leads on further steps to take, in terms of who to surveil and who to interrogate.&lt;br /&gt;
&lt;br /&gt;
== Fortress mode ==&lt;br /&gt;
Members of these villainous networks, known as organisations, will occasionally visit your fortress with the intent of corrupting your residents to take part in plots. Unless you successfully interrogate them through the [[Justice]] screen, there will be no indication that the visitor has nefarious intentions; they may also use one or more pseudonyms, so any names of members acquired from previous interrogations may not be enough to identify them.&lt;br /&gt;
&lt;br /&gt;
Note that trying to interrogate a merchant can cause a wagon to fall apart.&lt;br /&gt;
&lt;br /&gt;
Corruption of residents is based on the initiator and recipient's social skills, much like interrogation, and if the corruption is successful, the recipient will become a part of the organisation, taking their part in whatever plot the organisation intends to enact within your fort.&lt;br /&gt;
&lt;br /&gt;
An interrogator can interview somebody that corrupted them. However, no crime report is generated, nor is the organization added to the counterintelligence screen.&lt;br /&gt;
&lt;br /&gt;
When interrogating a performer you granted long-term residence to as part of a [[Performer#Performance_Troupes|troupe]], they can &amp;quot;confess&amp;quot; this fact. This will show up as &amp;quot;A plot&amp;quot; in the Plots screen, despite it not being a plot at all.&lt;br /&gt;
&lt;br /&gt;
==== Potential plots ====&lt;br /&gt;
The following is an incomplete list of potential plots an organisation may enact:&lt;br /&gt;
* Infiltrate a [[site]]&lt;br /&gt;
* Corrupt a [[noble]] in a site&lt;br /&gt;
* Steal an object&lt;br /&gt;
&lt;br /&gt;
== Adventure mode ==&lt;br /&gt;
[[File:Adventurer_intrigue_tab.png|thumb|300px|Image showing a villainous network in adventure mode. This network consists of the master, a member (who is the master's childhood friend, incidentally), and two assets, which are position-holders corrupted into providing funds to the network.]]&lt;br /&gt;
&lt;br /&gt;
Intrigue in [[adventurer mode]] is mostly interacted with through the investigation and interrogation menus. There are two major investigatory tactics: Persuasion and Intimidation. Adventurers who wish to investigate benefit from the [[judge of intent]] skill as well. Currently, only asking for schemes will result in proper information appearing in the quest log.&lt;br /&gt;
&lt;br /&gt;
You can interrogate criminals after killing them, at least if they're intelligent undead.&lt;br /&gt;
&lt;br /&gt;
=== Persuasion ===&lt;br /&gt;
Persuasion mainly uses the persuade [[skill]]. Complementary to that are the flatterer (for flattering), comedian (for making jokes) and pacifier (for calming down) skills. You will want to make jokes and flatter an NPC to get them into a positive mood. Use pacifier skill to reduce impatience down to patient. After this, investigate using the persuasion tactic.&lt;br /&gt;
&lt;br /&gt;
=== Intimidation ===&lt;br /&gt;
Intimidation mainly uses the intimidate [[skill]]. To make intimidation more effective, you can fight with nearby NPCs, or the particular NPC in question. To avoid killing the NPC, make sure that you stay within the [[Level of conflict#Brawl|brawl]] escalation level - the NPC will rapidly become afraid of you. After this, investigate using the intimidation tactic.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
*[[Villain]]&lt;br /&gt;
*[[Agent]]&lt;br /&gt;
&lt;br /&gt;
{{category|Adventurer mode}}&lt;br /&gt;
{{category|Fortress mode}}&lt;br /&gt;
{{category|Game mechanics}}&lt;br /&gt;
[[ru:Intrigue]]&lt;/div&gt;</summary>
		<author><name>Joostheger</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=Schemer&amp;diff=315240</id>
		<title>Schemer</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=Schemer&amp;diff=315240"/>
		<updated>2026-03-05T13:33:03Z</updated>

		<summary type="html">&lt;p&gt;Joostheger: added info from de dev logs&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{migrated article}}&lt;br /&gt;
{{Quality|Tattered}}&lt;br /&gt;
{{av}}&lt;br /&gt;
{{Skill&lt;br /&gt;
| color      = 3:0&lt;br /&gt;
| skill      = Schemer&lt;br /&gt;
| profession = Unknown&lt;br /&gt;
| job name   = Unknown&lt;br /&gt;
| tasks      = Unknown&lt;br /&gt;
| attributes =&lt;br /&gt;
* Unknown&lt;br /&gt;
}}&lt;br /&gt;
{{stub}}&lt;br /&gt;
&lt;br /&gt;
'''Schemer''' is a [[skill]] presumably used as part of the [[intrigue]] system. It represents a character’s ability to manipulate, detect, and counter covert political activity.&lt;br /&gt;
&lt;br /&gt;
The [[dungeon master]] [[noble]] favors this skill, though its practical use in fortresses is not fully understood. Migrants may arrive with experience in scheming, making them interesting candidates for the position. However, some reports suggest that hostile agents can also infiltrate settlements with unusually high schemer skill.&lt;br /&gt;
&lt;br /&gt;
It appears to be possible to slowly train the skill by [[Justice#Interrogation|interrogating]] dwarves.&lt;br /&gt;
&lt;br /&gt;
In the wider world, skilled schemers may conduct complex intrigue operations. These include framing others for crimes, corruptly arranging imprisonment, sabotaging the reputation of individuals or organizations, or undermining diplomatic relations between civilizations. Such actions often rely on manipulating leaders, advisors, or law enforcement, and may involve exploiting the legal system so the victim receives a legitimate punishment.&lt;br /&gt;
&lt;br /&gt;
Scheming also has a defensive role. Skilled practitioners can recognize and counter attempts to influence leaders or officials through intrigue, helping to protect positions of power from manipulation.&lt;br /&gt;
&lt;br /&gt;
Within a fortress, the skill can be trained slowly through interrogations, though the full range of fortress-related uses remains unclear.&lt;br /&gt;
&lt;br /&gt;
{{Skills}}&lt;/div&gt;</summary>
		<author><name>Joostheger</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=Personality_goal&amp;diff=315149</id>
		<title>Personality goal</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=Personality_goal&amp;diff=315149"/>
		<updated>2026-02-24T09:34:30Z</updated>

		<summary type="html">&lt;p&gt;Joostheger: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Quality|Superior}}&lt;br /&gt;
{{av}}&lt;br /&gt;
[[File:personality_v50_preview.png|thumb|262px|right|Randomly generated personality of a [[miner]].]]&lt;br /&gt;
&lt;br /&gt;
Some creatures dream of accomplishing certain '''goals''' in their life, and these goals can, presumably, affect their behavior. If a creature has such goals, they will be listed in the &amp;quot;Values&amp;quot; sub-tab of the &amp;quot;Personality&amp;quot; tab of their character sheet. Dwarves will receive a happy thought upon completion of their goals, receiving the notation of &amp;quot;and this dream was realized&amp;quot; in the personality description following their original goals. Goals would apparently ''not'' currently be limited to one per creature, but for some sort of oversight: [http://www.bay12forums.com/smf/index.php?topic=169696.msg8083871#msg8083871]. A creature needs the ability to [[Learning|learn]] in order to have a goal in life.&lt;br /&gt;
&lt;br /&gt;
According to Toady, syndromes can cause creatures to re-evaluate their goals in worldgen; the boost to anxiety and distrust given to necromancers makes it more likely for them to develop the goal of ruling the world. [http://www.bay12forums.com/smf/index.php?topic=169696.msg8275328#msg8275328]&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable anchortable&amp;quot;&lt;br /&gt;
! Token&lt;br /&gt;
! Description&lt;br /&gt;
! Gameplay effects&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;background-color:#EDCF10&amp;quot; | {{text anchor|START_A_FAMILY}}&lt;br /&gt;
| dreams of raising a family&lt;br /&gt;
| Dream realized upon giving birth/fathering an infant.&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;background-color:#FFE111&amp;quot; | {{text anchor|RULE_THE_WORLD}}&lt;br /&gt;
| dreams of ruling the world&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;background-color:#EDCF10&amp;quot; | {{text anchor|CREATE_A_GREAT_WORK_OF_ART}}&lt;br /&gt;
| dreams of creating a great work of art&lt;br /&gt;
| Dream realized upon creation of Artifact or Masterpiece.&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;background-color:#FFE111&amp;quot; | {{text anchor|CRAFT_A_MASTERWORK}}&lt;br /&gt;
| dreams of crafting a masterwork someday&lt;br /&gt;
| Dream realized upon creation of Artifact or Masterpiece.&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;background-color:#EDCF10&amp;quot; | {{text anchor|BRING_PEACE_TO_THE_WORLD}}&lt;br /&gt;
| dreams of bringing lasting peace to the world&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;background-color:#FFE111&amp;quot; | {{text anchor|BECOME_A_LEGENDARY_WARRIOR}}&lt;br /&gt;
| dreams of becoming a legendary warrior&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;background-color:#EDCF10&amp;quot; | {{text anchor|MASTER_A_SKILL}}&lt;br /&gt;
| dreams of mastering a skill&lt;br /&gt;
| Dream realized upon reaching Legendary skill status.&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;background-color:#FFE111&amp;quot; | {{text anchor|FALL_IN_LOVE}}&lt;br /&gt;
| dreams of falling in love&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;background-color:#EDCF10&amp;quot; | {{text anchor|SEE_THE_GREAT_NATURAL_SITES}}&lt;br /&gt;
| dreams of seeing the great natural places of the world&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;background-color:#FFE111&amp;quot; | {{text anchor|IMMORTALITY}}&lt;br /&gt;
| has become obsessed with his/her own [[Immortality|mortality]]&lt;br /&gt;
| Leads to [[necromancer|necromancy]], which renders the seeker immune to death by old age. Creatures like [[goblin]]s and [[elf|elves]], who are immortal from the start, cannot have this goal. &lt;br /&gt;
Judging from the string dump, these personality facets may lead to choosing this goal:&lt;br /&gt;
* High Pride (being too proud to give in to death)&lt;br /&gt;
* High Vanity (being too vain to give in to death)&lt;br /&gt;
* High Ambition (having ambitions for which death was only a small obstacle)&lt;br /&gt;
* High Envy propensity (due to envy of those that live on)&lt;br /&gt;
* High Anxiety propensity (due to panic about what happens after death)&lt;br /&gt;
* Low Bravery (due to fear of death)&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;background-color:#EDCF10&amp;quot; | {{text anchor|MAKE_A_GREAT_DISCOVERY}}&lt;br /&gt;
| dreams of making a great discovery&lt;br /&gt;
| Dream realized upon discovering a [[topic]].&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;background-color:#FFE111&amp;quot; | {{text anchor|ATTAIN_RANK_IN_SOCIETY}}&lt;br /&gt;
| dreams of attaining rank in society&lt;br /&gt;
| Dream realized upon becoming a baron (and possibly other noble positions).&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;background-color:#EDCF10&amp;quot; | {{text anchor|BATHE_WORLD_IN_CHAOS}}&lt;br /&gt;
|dreams of bathing the world in chaos&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;background-color:#FFE111&amp;quot; | {{text anchor|STAY_ALIVE}}&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;background-color:#EDCF10&amp;quot; | {{text anchor|MAINTAIN_ENTITY_STATUS}}&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{{Category|Dwarves}}&lt;br /&gt;
{{Category|Modding}}&lt;br /&gt;
{{Category|Tokens}}&lt;/div&gt;</summary>
		<author><name>Joostheger</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=Talk:Variable_positions&amp;diff=315086</id>
		<title>Talk:Variable positions</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=Talk:Variable_positions&amp;diff=315086"/>
		<updated>2026-02-17T21:11:16Z</updated>

		<summary type="html">&lt;p&gt;Joostheger: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;----Hi! nice work so far!&lt;br /&gt;
A few points:&lt;br /&gt;
* I really wonder where the differences between human and goblins are coming from. Do you have any idea? I almost know for sure that the difference in MARKET-positions is because of humans have the CITY- type in DEFAULT_SITE_TYPE. But the others, I dont know. perhaps because of their values or ethics?&lt;br /&gt;
* There is a lot of vague language in this article ('Some religious entities(...)', which ones?), but also to much certainty, at places :-) . I would suggest to make it more tight. ChatGPT or another text AI can be of good use there, to remove any ambiguity&lt;br /&gt;
* The number of -1 is very strange to me, because this is an invalid value when writing raws for entities. Do you have any idea what the circumstances are for these positions? I see for example with the priests. Can it be that PRIEST is REPLACED_BY HIGH_PRIEST and also by highest priest? In that case, number -1 means: &amp;quot;currently replaced&amp;quot;. It should not have a current holder. For example, can you check a site with a mayor, does the expedition leader has -1? in that case, its caused by replacement. &lt;br /&gt;
* Landholders are a strange bunch, I'm curious if you find out anything about those!&lt;br /&gt;
[[User:Joostheger|Joostheger]] ([[User talk:Joostheger|talk]]) 12:22, 12 February 2026 (UTC)&lt;br /&gt;
&lt;br /&gt;
Thank you.&lt;br /&gt;
* Not sure. The thing is even if the goblins do overtake another site, no market officials will be created. So it is more likely an ethics or values thing. The same for the reduced number of different officials.&lt;br /&gt;
* Well no. And the thing about &amp;quot;Some religious entities&amp;quot; in that case is, that some religious entities do not have any positions (eg. due to no variable position being created during world gen for these religious entities), but all of these entities (with no positions) will probably not create an abbot (CUSTOM_LAW_MAKER), but priest and so on (if the world-gen could/would be restarted). But without checking all religious entities without positions in detail, it might be that in some cases an religious entity (which could create an abbot) does not have a position at the end of world gen. So while there is from one perspective some ambiguity, from another perspective it is very precise.&lt;br /&gt;
* The number -1 means that it is unlimited, meaning for that position an unlimited amount of assignments can be created.&lt;br /&gt;
* No there is no replacement between the priest. Look at the responsibilities for priest and the others. Also the highest priest is capped at one (ie. like the pope), while their is an unlimited number of high priests possible (like cardinals or bishops).&lt;br /&gt;
* So far all entries in the variable position were empty. So it seems that neither humans nor goblins are landholders. And I still need a little bit more familiarity with Lua, for a few more complicated scripts (which also correctly query the different abstract building types).&lt;br /&gt;
&lt;br /&gt;
In general some info is still missing. And also I am in a few cases not sure yet, what exactly is the case, so some ambiguity might also stem from that. Only at the last step I will try to remove (unneccessary) ambiguity.&lt;br /&gt;
&lt;br /&gt;
ps. At some point the commented out text passages should be removed (deleted), but if I would try to do it, it will be detected as possibly harmful and not be allowed.[[Special:Contributions/91.49.240.46|91.49.240.46]] 13:15, 12 February 2026 (UTC)&lt;br /&gt;
----&lt;br /&gt;
* Ok ill help you remove the commented lines, but you really should create an account :-)&lt;br /&gt;
* The number unlimited is written in the raws as AS_NEEDED. is that correct? If you, i'll suggest to replace the -1 with AS_NEEDED, to make that consistent with other positions and understandability&lt;br /&gt;
* I dont think you'll find any other landholders by the way. I think it isnt in variable positions to have that. Landholders arent also neccesary to let the game run and simulate an interesint world, while these variable positions are.&lt;br /&gt;
[[User:Joostheger|Joostheger]] ([[User talk:Joostheger|talk]]) 14:52, 12 February 2026 (UTC)&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
* Well I might eventually create an account, iff no email address (etc.) needs to be provided.&lt;br /&gt;
* The translation of data into understandable form is not a priority, but -1 will be changed eventually (or a note added).&lt;br /&gt;
&lt;br /&gt;
ps. I will probably not edit anything in the next few hours on the article, so now or maybe tommorrow might be a good idea to remove the lines currently commented out.[[Special:Contributions/91.49.240.46|91.49.240.46]] 15:21, 12 February 2026 (UTC)&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
Most of the &amp;quot;easy&amp;quot; work has been done. Next steps would be (not necessarily in the stated order):&lt;br /&gt;
1. replacing/removing the technical flags.&lt;br /&gt;
2. further research on what the concret requirements for the creation of different official and market official positions on site level is.&lt;br /&gt;
3. Figureing out the reason why goblins so far only create variable positions on site level, when the leader was a custom bandit leader (ie. at least in case of the forced admin it should be possible).&lt;br /&gt;
4. Figureing out why the goblins only create a subset of all possible variable official positions (both on site and civ level).&lt;br /&gt;
5. Researching why the goblins do not create custom market officials.&lt;br /&gt;
6. Figureing out why in some cases the dwarves use the generic forced admin and not the forced admin from the dwarven raws.&lt;br /&gt;
7. Removing any ambiguity (if possible) from the page and improve understandability. For that I suggest that with pointing to the unclear part a discussion entry is made, so that I am made aware of it and can then clear it up.&lt;br /&gt;
8. Improve formatting and table presentation: ie. possibly move some info to other tables to reduce table width (of the existing table). Or use smaller fonts (scaling) for some table entries. etc.&lt;br /&gt;
9. Figureing out (and testing) which other values in the tags [variable_positions] (and variable_site_positions) are valid. I do not think that it is only [variable_positions:all]. (This won't be done by me).&lt;br /&gt;
10. Add section(s) for modifing the game data, so that in an existing world a few more variable positions are created (and filled with historical figures). So that the variable positions then function as if the variable positions had already been created (and filled) during world gen.&lt;br /&gt;
&lt;br /&gt;
I am probably missing a few things. But that is all for now, from my part. Further edits (by me) to the variable positions page will not be done before next week.[[Special:Contributions/91.49.240.46|91.49.240.46]] 17:32, 13 February 2026 (UTC)&lt;br /&gt;
----&lt;br /&gt;
a few thoughs on your questions:&lt;br /&gt;
3: I quess that the most important factors are their DEFAULT_SITE_TYPE and their values. 4: same. See: [[https://www.bay12forums.com/smf/index.php?topic=110027.msg8610297#msg8610297]]. 5: Because there are no markets in the dark fortress. 6: I think that the entity MOUNTAINS (dwarves) always uses the raw-forced administrator. I think that what you have seen, are probably not entity type 1, but maybe like outcasts or villains or whatever.  9: I can see what i can do [[User:Joostheger|Joostheger]] ([[User talk:Joostheger|talk]]) 21:10, 17 February 2026 (UTC)&lt;/div&gt;</summary>
		<author><name>Joostheger</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=Variable_positions&amp;diff=315085</id>
		<title>Variable positions</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=Variable_positions&amp;diff=315085"/>
		<updated>2026-02-17T21:05:48Z</updated>

		<summary type="html">&lt;p&gt;Joostheger: removed as requested.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Quality|Fine}}&lt;br /&gt;
{{Modding}}&lt;br /&gt;
{{stub}}&lt;br /&gt;
This page documents the variable positions that entities create when neccesary. This is - in vanilla - the case for [[human]] and [[goblin]] [[Civilization|civilizations]], but also for merchants' companies, guilds, mercenary groups, [[Religion|religious groups]] and [[Criminal|criminal]]s.&lt;br /&gt;
&lt;br /&gt;
= Introduction = &lt;br /&gt;
Initially none of the positions marked as variable do exist for an entity. The positions will only exist for a given entity, if they are either created during world-gen, world activities(?) or by memory hacking or scripting (ie. with Lua). Ie. in vanilla all human civilizations have at the beginning of the world-generation no positions at all, neither on the site nor civ level, as all positions of the vanilla human civs are marked as variable (variable positions: all). When a variable (civ level) position is created, the position is only created for that civilization (entity) and not for any other entities of the same type. Ie. the creation of a law-giver for one human civ does not create law-givers for other human civs.&lt;br /&gt;
&lt;br /&gt;
Also presumably all site-level positions for each entity are created on a per site basis, meaning the creation of a site ruler for one site (of a civ) does not also create the site ruler positions for any other site (of that civ).&lt;br /&gt;
&lt;br /&gt;
The existence of a variable position does not mean that the position will also be filled by a historical figure. But during world-gen the creation of a position will usually be followed up with the position being filled. Ie. the human historical figure who forced the creation of a law-giver position, will usually become the first law-giver.&lt;br /&gt;
&lt;br /&gt;
For the succession rules of a variable position (after the position has been initially filled by a historical figure), presumably, the same rules as for non-variable positions apply.&lt;br /&gt;
&lt;br /&gt;
(Disclaimer: The following only applies during world-gen and normal world activities. Scripting and memory hacking can circumvent the normal limitations, but with currently unknown results).&lt;br /&gt;
&lt;br /&gt;
For civ level entities, if the law-giving position is a variable position, the law-giving position does not (seem to) have any further requirements to be created (ie. no other position being already created). Ie. this position can be created by force (or popular support etc.) by any historical figure of that civ. But for all other variable (civ-level) positions the law-giving position must exist as usually the historical figure, who is the law-giver, does create the other variable positions (for various reason).&lt;br /&gt;
&lt;br /&gt;
Something similar is probably the case for site level positions. Ie. if the ruler of a site is a variable position, that position needs to be created, before any other site-level variable positions can be created. And the site ruler can afterwards create other variable positions for that site. It is not yet clear if a site level ruling position can be created before a civ level ruling (law-giving) position is created (or exists). This also means that it should be possible, via memory-hacking or scripting, to create (and fill) the variable site level positions (for a player site), at least after the civ level law-giving position has been created (and the law-giving position has been filled), so that a human player site gets the maximum possible human site level positions (with the normal appointment rules for the succession/reappointment of the positions), without having to edit the raw files (as outlined in the human civ page), prior to creating a world, to make the variable positions of human civilisations to &amp;quot;static&amp;quot; ones.&lt;br /&gt;
&lt;br /&gt;
Presumably for guilds (Merchant Guild and others), mercenary groups, religious orders (and criminals) also a &amp;quot;leader&amp;quot; position needs to be created by a historical figure, before other variable positions for that entity can be created.&lt;br /&gt;
&lt;br /&gt;
== General Info ==&lt;br /&gt;
So far, no restrictions on allowed_class or allowed_creature have been found and also the rejected_creature and rejected_class entries are always empty. Squad_size is 0, except when a variable position (in the following sections) explictly states otherwise (ie. squad size for CUSTOM_BANDIT_LEADER, CUSTOM_LAW_MAKER and CUSTOM_LAW_MAKER_2 is 20). Also most other entries (of entity_position entry under &amp;quot;own&amp;quot;) not mentioned in their section have standard values (ie. are empty). The best_appointment_precedence of all positions is 30001. Also the execution skill is always set to &amp;quot;-1&amp;quot; even for the CUSTOM_OFFICIAL_9, whose sole responsiblity is executions.&lt;br /&gt;
&lt;br /&gt;
Also variable positions are usually only created (with the exception, if they replace another position), if the position will have at least one responsibility the already created (existing) positions for that entity does not have, regardless of whether there are any more prerequisites for a variable position to be created.&lt;br /&gt;
&lt;br /&gt;
== Sources to process ==&lt;br /&gt;
See spoiler-sections of those posts. &lt;br /&gt;
* https://www.bay12forums.com/smf/index.php?topic=178697.msg8295235#msg8295235&lt;br /&gt;
* https://www.bay12forums.com/smf/index.php?topic=175434.msg8084095#msg8084095&lt;br /&gt;
* https://www.bay12forums.com/smf/index.php?topic=175434.msg8083631#msg8083631 (first answer)&lt;br /&gt;
&lt;br /&gt;
= Civilizations =&lt;br /&gt;
If all positions of a civ are variable, then the CUSTOM_LAW_MAKER position needs to be created (in world-gen), before other positions (of the possible positions) can be created. After the creation (and filling) of the law-maker positions, the other variable positions (both CUSTOM_OFFICIALS_i and CUSTOM_MARKET_OFFICIALS_i, where i stands for a non-zero natural number) can be created in any order. These other positions are then always appointed by the law-maker of the civ. The law-maker position itself uses succession by heir.&lt;br /&gt;
&lt;br /&gt;
In contrast to e.g the positions of the dwarven civilizations, where the site nobility positions (eg. baron, duke) do get added to the own position list (vector) of the civilization, the CUSTOM_LAW_MAKER (and CUSTOM_LAW_MAKER_2) positions (of a site government) are not added to the own position list (at least for civs with all variable positions). The &amp;quot;own&amp;quot; positions list (of the civ entity) only exclusively contains the variable positions of the civ, which are all created by the civ, and no positions which are the &amp;quot;ruler&amp;quot; of a site (even if the variable site position was appointed by the law maker of the civ). Also the &amp;quot;site&amp;quot; positions list is empty (or at least no entries were found so far).&lt;br /&gt;
&lt;br /&gt;
The following table gives an overview over the different possible rulers of a human or goblin civilization.&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;sortable wikitable&amp;quot; style=&amp;quot;text-align:center;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;background:#F2F2F2;&amp;quot;&lt;br /&gt;
!Position!!Name!!succession type!!Responsibilities!!Demands!!Mandates!!Precedence!!is diplomat!!human!!goblin&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
!CUSTOM_LAW_MAKER&lt;br /&gt;
|master&lt;br /&gt;
|none&lt;br /&gt;
|law making, military goals, military strategy&lt;br /&gt;
|3&lt;br /&gt;
|2&lt;br /&gt;
|1&lt;br /&gt;
|no&lt;br /&gt;
|no&lt;br /&gt;
|yes&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
!CUSTOM_LAW_MAKER&lt;br /&gt;
|master&lt;br /&gt;
|none&lt;br /&gt;
|law making, military goals, &lt;br /&gt;
|3&lt;br /&gt;
|2&lt;br /&gt;
|1&lt;br /&gt;
|yes&lt;br /&gt;
|no&lt;br /&gt;
|yes&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
!CUSTOM_LAW_MAKER&lt;br /&gt;
|law-giver&lt;br /&gt;
|by heir&lt;br /&gt;
|law making, make peace agreements, military goals, military strategy&lt;br /&gt;
|3&lt;br /&gt;
|2&lt;br /&gt;
|1&lt;br /&gt;
|no&lt;br /&gt;
|yes&lt;br /&gt;
|no&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
!CUSTOM_LAW_MAKER&lt;br /&gt;
|law-giver&lt;br /&gt;
|by heir&lt;br /&gt;
|law making, make peace agreements, military goals&lt;br /&gt;
|3&lt;br /&gt;
|2&lt;br /&gt;
|1&lt;br /&gt;
|yes&lt;br /&gt;
|yes&lt;br /&gt;
|no&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Note that the ruler (law-giver or master) is not a diplomat, if and only if the ruler has the military strategy responsibility. Also note that the master of a goblin civilization does not have peace agreements as a responsibility.&lt;br /&gt;
&lt;br /&gt;
The following table gives an overview of the possible non-ruling civ-level positions:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable wikitable&amp;quot; style=&amp;quot;text-align:center;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;background:#F2F2F2;&amp;quot;&lt;br /&gt;
!Position!!Name prefix!!Name&amp;lt;sup&amp;gt;5&amp;lt;/sup&amp;gt;!!Responsibilities!!Demands!!Mandates!!Precedence!!Number!!Flags1&amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt;!!Flags2&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;!!Color!!human!!goblin&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
!CUSTOM_OFFICIAL_1&lt;br /&gt;
|yes&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;&lt;br /&gt;
|&amp;quot;keeper of the seal&amp;quot; / chancellor&lt;br /&gt;
|receive diplomats, make introductions and make topic agreements; optional: espionage&lt;br /&gt;
|3&lt;br /&gt;
|2&lt;br /&gt;
|20&lt;br /&gt;
|1&lt;br /&gt;
|yes&lt;br /&gt;
|no&lt;br /&gt;
|(5,0,1)&lt;br /&gt;
|yes&lt;br /&gt;
|yes&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
!CUSTOM_OFFICIAL_2&lt;br /&gt;
|yes&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;&lt;br /&gt;
|justiciar&lt;br /&gt;
|law enforcement, collect taxes&lt;br /&gt;
|3&lt;br /&gt;
|2&lt;br /&gt;
|60&lt;br /&gt;
|1&lt;br /&gt;
|yes&lt;br /&gt;
|no&lt;br /&gt;
|(5,0,1)&lt;br /&gt;
|yes&lt;br /&gt;
|no&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
!CUSTOM_OFFICIAL_3&lt;br /&gt;
|yes&lt;br /&gt;
|treasurer&lt;br /&gt;
|trade, accounting&lt;br /&gt;
|2&lt;br /&gt;
|1&lt;br /&gt;
|70&lt;br /&gt;
|1&lt;br /&gt;
|yes&lt;br /&gt;
|no&lt;br /&gt;
|(5,0,1)&lt;br /&gt;
|yes&lt;br /&gt;
|no&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
!CUSTOM_OFFICIAL_4&lt;br /&gt;
|yes&lt;br /&gt;
|advisor/counselor&lt;br /&gt;
|advise leaders&lt;br /&gt;
|2&lt;br /&gt;
|1&lt;br /&gt;
|55&lt;br /&gt;
|1&lt;br /&gt;
|yes&lt;br /&gt;
|no&lt;br /&gt;
|(5,0,1)&lt;br /&gt;
|yes&lt;br /&gt;
|yes&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
!CUSTOM_OFFICIAL_5&lt;br /&gt;
|yes&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;&lt;br /&gt;
|chamberlain&lt;br /&gt;
|oversee leader household&lt;br /&gt;
|1&lt;br /&gt;
|0&lt;br /&gt;
|80&lt;br /&gt;
|1&lt;br /&gt;
|yes&lt;br /&gt;
|no&lt;br /&gt;
|(5,0,1)&lt;br /&gt;
|yes&lt;br /&gt;
|yes&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
!CUSTOM_OFFICIAL_6&lt;br /&gt;
|no&lt;br /&gt;
|master of beasts&lt;br /&gt;
|tame exotics, manage animals&lt;br /&gt;
|1&lt;br /&gt;
|0&lt;br /&gt;
|90&lt;br /&gt;
|1&lt;br /&gt;
|yes&lt;br /&gt;
|no&lt;br /&gt;
|(5,0,1)&lt;br /&gt;
|yes&lt;br /&gt;
|yes&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
!CUSTOM_OFFICIAL_7&lt;br /&gt;
|yes&lt;br /&gt;
|butler / cup-bearer&lt;br /&gt;
|manage leader household food and drinks&lt;br /&gt;
|0&lt;br /&gt;
|0&lt;br /&gt;
|300&lt;br /&gt;
|1&lt;br /&gt;
|yes&lt;br /&gt;
|no&lt;br /&gt;
|(5,0,1)&lt;br /&gt;
|yes&lt;br /&gt;
|no&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
!CUSTOM_OFFICIAL_8&lt;br /&gt;
|yes&lt;br /&gt;
|doctor&lt;br /&gt;
|health management&lt;br /&gt;
|0&lt;br /&gt;
|0&lt;br /&gt;
|310&lt;br /&gt;
|1&lt;br /&gt;
|yes&lt;br /&gt;
|no&lt;br /&gt;
|(5,0,1)&lt;br /&gt;
|yes&lt;br /&gt;
|no&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
!CUSTOM_OFFICIAL_9&lt;br /&gt;
|yes&lt;br /&gt;
|executioner&lt;br /&gt;
|executions&lt;br /&gt;
|0&lt;br /&gt;
|0&lt;br /&gt;
|320&lt;br /&gt;
|1&lt;br /&gt;
|yes&lt;br /&gt;
|no&lt;br /&gt;
|(5,0,1)&lt;br /&gt;
|yes&lt;br /&gt;
|yes&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
!CUSTOM_OFFICIAL_10&lt;br /&gt;
|yes&lt;br /&gt;
|chef&lt;br /&gt;
|prepare leader meals&lt;br /&gt;
|0&lt;br /&gt;
|0&lt;br /&gt;
|330&lt;br /&gt;
|1&lt;br /&gt;
|yes&lt;br /&gt;
|no&lt;br /&gt;
|(5,0,1)&lt;br /&gt;
|yes&lt;br /&gt;
|no&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
!CUSTOM_OFFICIAL_11&lt;br /&gt;
|yes&lt;br /&gt;
|housekeeper&lt;br /&gt;
|manage leader household cleanliness&lt;br /&gt;
|0&lt;br /&gt;
|0&lt;br /&gt;
|340&lt;br /&gt;
|1&lt;br /&gt;
|yes&lt;br /&gt;
|no&lt;br /&gt;
|(5,0,1)&lt;br /&gt;
|yes&lt;br /&gt;
|no&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
!CUSTOM_MILITARY_STRATEGY&lt;br /&gt;
|no&lt;br /&gt;
|general/(field) marshal / constable&lt;br /&gt;
|military strategy&lt;br /&gt;
|3&lt;br /&gt;
|2&lt;br /&gt;
|50&lt;br /&gt;
|1&lt;br /&gt;
|yes&lt;br /&gt;
|yes&lt;br /&gt;
|(5,0,1)&lt;br /&gt;
|yes&lt;br /&gt;
|yes&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
!CUSTOM_MILITARY_GOALS&amp;lt;sup&amp;gt;4&amp;lt;/sup&amp;gt;&lt;br /&gt;
|no&lt;br /&gt;
|war leader&lt;br /&gt;
|military goals, optional: military strategy&lt;br /&gt;
|3&lt;br /&gt;
|2&lt;br /&gt;
|45&lt;br /&gt;
|1&lt;br /&gt;
|yes&lt;br /&gt;
|yes&lt;br /&gt;
|(5,0,1)&lt;br /&gt;
|no&lt;br /&gt;
|no&lt;br /&gt;
|}&lt;br /&gt;
: ''Note'': &lt;br /&gt;
:* &amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt;) These are the standard official flags: duty_bound, has_responsibilities, do_not_cull, has_met_pop_req, color, menial_work_exemption, has_received_positions and has_met_market_req.&lt;br /&gt;
:* &amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;) These are the following additional flags: flashes, brag_on_kill, chat_worthy, kill_quest, account_exempt, punishment_exemption, quest_giver and special_burial.&lt;br /&gt;
:* &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;): Name prefix can be empty.&lt;br /&gt;
:* &amp;lt;sup&amp;gt;4&amp;lt;/sup&amp;gt;) These would be the values for the CUSTOM_MILITARY_GOALS position, but on the civ-level that position is not created, as the military goals responsibility is already performed by the law-giver/master (and for the military strategy responsibility the CUSTOM_MILITARY_STRATEGY position is created instead). But a CUSTOM_MILITARY_GOALS position would be created, if the civ leader would not have the military goals responsibility. The CUSTOM_MILITARY_GOALS position is - in vanilla - only created for site governments and then only, if the site leader is the FORCED_ADMINISTRATOR.&lt;br /&gt;
:* &amp;lt;sup&amp;gt;5&amp;lt;/sup&amp;gt;): Name prefixes are: high, head, chief and royal.&lt;br /&gt;
&lt;br /&gt;
In the above table the responsibility &amp;quot;espionage&amp;quot; of the CUSTOM_OFFICIAL_1 is optional. Only if the CUSTOM_OFFICIAL_1 is created with the &amp;quot;espionage&amp;quot; responsibility such officials can also be created for the site governments (as all other responsibility are already performed by the standard custom site ruler). Also, the columns &amp;quot;human&amp;quot; and &amp;quot;goblin&amp;quot; dictate whether human and/or goblin civilizations can have the positions.&lt;br /&gt;
&lt;br /&gt;
= Site Governments =&lt;br /&gt;
If all positions of a civ (and with that of a site government) are variable, then a leader position for the site government needs to be created (in world-gen), before other positions (of the possible variable positions) can be created. The created position is usually the CUSTOM_LAW_MAKER, but other positions have been found, ie. CUSTOM_BANDIT_LEADER and FORCED_ADMINISTRATOR. &lt;br /&gt;
&lt;br /&gt;
Note that human and goblin civilizations can also create further site positions, if the current site leader is the CUSTOM_BANDIT_LEADER (both) or FORCED_ADMINISTRATOR (only encountered/found in case of humans). All other races (eg. dwarves and elves) cannot.&lt;br /&gt;
&lt;br /&gt;
Also a CUSTOM_LAW_MAKER can be created for a site government (of a human civilization) before a CUSTOM_LAW_MAKER for the civilization has been created.&lt;br /&gt;
&lt;br /&gt;
Also note that not all site government entities need to be a child of a civilization entity, if they are not, then the CUSTOM_BANDIT_LEADER is used as a site-ruler (regardless of race, ie. even dwarven and the rare elven site government without connection to a civ will use the CUSTOM_BANDIT_LEADER as initial ruler/leader).&lt;br /&gt;
&lt;br /&gt;
The following table gives an overview of the possible leader positions:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable wikitable&amp;quot; style=&amp;quot;text-align:center;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;background:#F2F2F2;&amp;quot;&lt;br /&gt;
!Position!!Name!!Responsibilities!!squad&amp;lt;sup&amp;gt;8&amp;lt;/sup&amp;gt; size!!Demands!!Mandates!!Precedence!!goblin!!human!!elf!!dwarf!!flags!!appointment type&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
!CUSTOM_BANDIT_LEADER&amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt;&lt;br /&gt;
|Boss, Captain, Chief, Chieftain, Commander, Leader, Master, Overlord, Ringleader or Warlord&lt;br /&gt;
|law making, law enforcement, receive diplomats, make introductions, make topic agreements, military strategy, military goals&lt;br /&gt;
|20&lt;br /&gt;
|2&lt;br /&gt;
|1&lt;br /&gt;
|55 or 10 (rare)&lt;br /&gt;
|yes&lt;br /&gt;
|yes&lt;br /&gt;
|yes&lt;br /&gt;
|yes&lt;br /&gt;
|standard bandit leader&lt;br /&gt;
|elected&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
!FORCED_ADMINISTRATOR&lt;br /&gt;
|administrator&lt;br /&gt;
|law making, receive diplomats, meet workers, make topic agreements&lt;br /&gt;
|0&lt;br /&gt;
|3&lt;br /&gt;
|2&lt;br /&gt;
|100&lt;br /&gt;
|yes&lt;br /&gt;
|yes&lt;br /&gt;
|yes&lt;br /&gt;
|yes&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;&lt;br /&gt;
|forced admin&lt;br /&gt;
|none&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
!FORCED_ADMINISTRATOR&amp;lt;sup&amp;gt;4&amp;lt;/sup&amp;gt;&lt;br /&gt;
|administrator&lt;br /&gt;
|law making, receive diplomats, meet workers, make topic agreements&lt;br /&gt;
|0&lt;br /&gt;
|3&lt;br /&gt;
|2&lt;br /&gt;
|65&lt;br /&gt;
|no&lt;br /&gt;
|no&lt;br /&gt;
|no&lt;br /&gt;
|yes&lt;br /&gt;
|dwarf forced admin&lt;br /&gt;
|none&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
!CUSTOM_LAW_MAKER&amp;lt;sup&amp;gt;5&amp;lt;/sup&amp;gt;&lt;br /&gt;
|law-giver&lt;br /&gt;
|law making, make peace agreements, military goals; optional&amp;lt;sup&amp;gt;6&amp;lt;/sup&amp;gt;: military strategy&lt;br /&gt;
|0&lt;br /&gt;
|3&lt;br /&gt;
|2&lt;br /&gt;
|1&lt;br /&gt;
|no&lt;br /&gt;
|yes&lt;br /&gt;
|no&lt;br /&gt;
|no&lt;br /&gt;
|civ law-giver&lt;br /&gt;
|by heir&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
!CUSTOM_LAW_MAKER&amp;lt;sup&amp;gt;6&amp;lt;/sup&amp;gt;&lt;br /&gt;
|lord&lt;br /&gt;
|law making, law enforcement, receive diplomats, make introductions, make peace agreements, make topic agreements, military strategy, military goals&lt;br /&gt;
|20&lt;br /&gt;
|3&lt;br /&gt;
|2&lt;br /&gt;
|1&lt;br /&gt;
|no&lt;br /&gt;
|yes&lt;br /&gt;
|no&lt;br /&gt;
|no&lt;br /&gt;
|standard leader&lt;br /&gt;
|by heir&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
!CUSTOM_LAW_MAKER&lt;br /&gt;
|lord&lt;br /&gt;
|law making, law enforcement, receive diplomats, make introductions, make peace agreements, make topic agreements, military strategy, military goals&lt;br /&gt;
|20&lt;br /&gt;
|3&lt;br /&gt;
|2&lt;br /&gt;
|40&lt;br /&gt;
|yes&lt;br /&gt;
|yes&lt;br /&gt;
|no&lt;br /&gt;
|no&lt;br /&gt;
|standard leader&lt;br /&gt;
|by heir&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
!CUSTOM_LAW_MAKER&lt;br /&gt;
|baron&lt;br /&gt;
|law making, law enforcement, receive diplomats, make introductions, make peace agreements, make topic agreements, military strategy, military goals&lt;br /&gt;
|20&lt;br /&gt;
|3&lt;br /&gt;
|2&lt;br /&gt;
|41&lt;br /&gt;
|no&lt;br /&gt;
|yes&lt;br /&gt;
|no&lt;br /&gt;
|no&lt;br /&gt;
|standard leader&lt;br /&gt;
|by heir; appointed by law-giver (civ)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
!CUSTOM_LAW_MAKER_2&amp;lt;sup&amp;gt;7&amp;lt;/sup&amp;gt;&lt;br /&gt;
|baron&lt;br /&gt;
|law making, law enforcement, receive diplomats, make introductions, make peace agreements, make topic agreements, military strategy, military goals&lt;br /&gt;
|20&lt;br /&gt;
|3&lt;br /&gt;
|2&lt;br /&gt;
|35&lt;br /&gt;
|no&lt;br /&gt;
|yes&lt;br /&gt;
|no&lt;br /&gt;
|no&lt;br /&gt;
|standard leader&lt;br /&gt;
|by heir; optional: appointed&amp;lt;sup&amp;gt;9&amp;lt;/sup&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
: ''Notes'':&lt;br /&gt;
:* &amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt;): Only leader position, if the entity (site-government) is not a child of a civilization, but can also appear, if the entity has a parent civ. Only site leader position of goblins, where other site positions will be created (both cases: with civ and without civ).&lt;br /&gt;
:* &amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;): 2 of the 53 forced administrator positions of dwarves (in a large 250 year histor world-gen world with many civs) used this forced administrator (rather than the one defined in the raws). No site official positions found for goblins so far, if the leader was a forced administrator.&lt;br /&gt;
:* &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;): The position has no appointed_by defined, nor any form of succession by position or heir. And the position is also not elected. So how and if a forced admin gets refilled, in case of death of the previous position holder, is unclear.&lt;br /&gt;
:* &amp;lt;sup&amp;gt;4&amp;lt;/sup&amp;gt;): This is the forced administrator as defined in the (vanilla) dwarf raws.&lt;br /&gt;
:* &amp;lt;sup&amp;gt;5&amp;lt;/sup&amp;gt;): Was created once in a large 250 year history world-gen world with many civs. The parent civ did not have a law-maker position created. But this definition is not always used, if the law-maker position of the parent civ has not been created. Also the site-entity was the original owner/creator of the site.&lt;br /&gt;
:* &amp;lt;sup&amp;gt;6&amp;lt;/sup&amp;gt;): This position can get created for a newly formed site-entity, if a site-entity has created the law-maker position and afterwards the site-entity gets conquered by another entity (of the same civ) and at the time of conquest no law-giver was created (yet) for the civ.&lt;br /&gt;
:* &amp;lt;sup&amp;gt;7&amp;lt;/sup&amp;gt;: Can be created (and replaces the former site ruler), if the ruler (of a human site entity) was either a FORCED_ADMINISTRATOR or a CUSTOM_LAW_MAKER with the name &amp;quot;lord&amp;quot;.&lt;br /&gt;
:*  &amp;lt;sup&amp;gt;8&amp;lt;/sup&amp;gt;): If the squad size is greater than zero, then the squad members are called soldiers (CUSTOM_BANDIT_LEADER) or hearthpeople (otherwise).&lt;br /&gt;
:* &amp;lt;sup&amp;gt;9&amp;lt;/sup&amp;gt;): Always appointed by the law-giver of the civilization, if the previous site leader was a forced administrator. Otherwise the appointed_by (and appointed_by_civ) definition is either empty or set to the law-giver of the civ, eg. a CUSTOM_LAW_MAKER_2, which replaces a CUSTOM_LAW_MAKER, can be appointed (in which case appointed by the law-giver of the civ) or not be appointed at all.&lt;br /&gt;
:* &amp;quot;by heir&amp;quot; in the appointment type definition entry means, that the succession is by heir. If nothing else is mentioned in the table cell, then the position did get filled immediatly upon creation of the position and the first position holder was not appointed by the civ-leader, otherwise the first position holder was appointed by the civ-leader.&lt;br /&gt;
:* &amp;quot;standard bandit leader&amp;quot; entry in &amp;quot;flags&amp;quot; table cell means the same flags as the CUSTOM_BANDIT_LEADER of bandit groups are set.&lt;br /&gt;
:* &amp;quot;forced admin&amp;quot; entry in &amp;quot;flags&amp;quot; table cell: is_law_maker, duty_bound, has_responsibitities, flashes, brag_on_kill, chat_worthy, do_not_cull, kill_quest, is_leader, is_diplomat, exported_in_legends, determines_coin_design, account_exempt, color, rules_from_location, menial_work_exemption, sleep_pretesion, punishment_exemption, has_received_positions, quest_giver, special_burial.&lt;br /&gt;
:* &amp;quot;dwarf forced admin&amp;quot; entry in &amp;quot;flags&amp;quot; table cell: is_law_maker, duty_bound, has_responsibitities, flashes, brag_on_kill, chat_worthy, do_not_cull, kill_quest, is_leader, is_diplomat, exported_in_legends, determines_coin_design, account_exempt, color,  menial_work_exemption, sleep_pretesion, punishment_exemption, has_received_positions, special_burial.&lt;br /&gt;
:* &amp;quot;standard leader&amp;quot; entry in &amp;quot;flags&amp;quot; table cell: is_law_maker, duty_bound, has_responsibilities, flashes, brag_on_kill, chat_worthy, do_not_cull, kill_quest, is_leader, exported_in_legends, determines_coin_design, account_exempt, color, rules_from_location, menial_work_exemption, punishment_exemption, has_received_positions, quest_giver, special_burial.&lt;br /&gt;
:* &amp;quot;civ law-giver&amp;quot; entry in &amp;quot;flags&amp;quot; table cell means that the flags of the CUSTOM_LAW_MAKER (civ level) are set, where the is_diplomat flag is only set, if (and only if) the law-giver does not have the military strategy responsibility. Also in this case the is_diplomat flag is only set, if the &amp;quot;law-giver&amp;quot; (of the site entity) does not have the military strategy responsibility.&lt;br /&gt;
:* Remark to forced administrator: The only differences between the forced administrator (only usable by the dwarves and defined in the raws) and the other forced administrator are, that the forced administrator of the dwarves is not a quest giver, does not rule from a location and has a different precedence.&lt;br /&gt;
:* The color of all leaders is the standard noble color (5,0,1), except for the forced administrators, who uses a different color entry (5,0,0).&lt;br /&gt;
&lt;br /&gt;
If a leader does exist for a site entity, other variable positions can be created for that entity. In rare cases a variable official (or market official) position can even be created, if the requirements are not met (at least one of the flags has_met_pop_req and has_met_market_req is false for the position entry).&lt;br /&gt;
&lt;br /&gt;
The following table gives an overview of the non-ruler variable positions of a site government.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable wikitable&amp;quot; style=&amp;quot;text-align:center;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;background:#F2F2F2;&amp;quot;&lt;br /&gt;
!Position!!Name prefix&amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt;!!Name!!Name suffix&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;!!Responsibilities!!Demands!!Mandates!!Precedence!!Number!!Color!!human!!goblin!!add. flags&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
!CUSTOM_MARKET_OFFICIAL_1&lt;br /&gt;
|no&lt;br /&gt;
|sewer &lt;br /&gt;
|always&lt;br /&gt;
|maintain sewers&lt;br /&gt;
|0&lt;br /&gt;
|0&lt;br /&gt;
|500&lt;br /&gt;
|1&lt;br /&gt;
|(5,0,1)&lt;br /&gt;
|yes&lt;br /&gt;
|no&lt;br /&gt;
|no&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
!CUSTOM_MARKET_OFFICIAL_2&lt;br /&gt;
|no&lt;br /&gt;
|grain / harvest &lt;br /&gt;
|always&lt;br /&gt;
|food supply&lt;br /&gt;
|1&lt;br /&gt;
|0&lt;br /&gt;
|450&lt;br /&gt;
|1&lt;br /&gt;
|(5,0,1)&lt;br /&gt;
|yes&lt;br /&gt;
|no&lt;br /&gt;
|no&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
!CUSTOM_MARKET_OFFICIAL_3&lt;br /&gt;
|no&lt;br /&gt;
|fire &lt;br /&gt;
|always&lt;br /&gt;
|fire safety&lt;br /&gt;
|0&lt;br /&gt;
|0&lt;br /&gt;
|475&lt;br /&gt;
|1&lt;br /&gt;
|(5,0,1)&lt;br /&gt;
|yes&lt;br /&gt;
|no&lt;br /&gt;
|no&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
!CUSTOM_MARKET_OFFICIAL_4&lt;br /&gt;
|no&lt;br /&gt;
|judge / magistrate / justice&lt;br /&gt;
|no&lt;br /&gt;
|judge&lt;br /&gt;
|1&lt;br /&gt;
|0&lt;br /&gt;
|350&lt;br /&gt;
|1&lt;br /&gt;
|(5,0,1)&lt;br /&gt;
|yes&lt;br /&gt;
|no&lt;br /&gt;
|no&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
!CUSTOM_MARKET_OFFICIAL_5&lt;br /&gt;
|no&lt;br /&gt;
|building &lt;br /&gt;
|always&lt;br /&gt;
|construction permits, building safety&lt;br /&gt;
|1&lt;br /&gt;
|0&lt;br /&gt;
|460&lt;br /&gt;
|1&lt;br /&gt;
|(5,0,1)&lt;br /&gt;
|yes&lt;br /&gt;
|no&lt;br /&gt;
|no&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
!CUSTOM_MARKET_OFFICIAL_6&lt;br /&gt;
|no&lt;br /&gt;
|road&lt;br /&gt;
|always&lt;br /&gt;
|maintain roads, bridges and tunnels&lt;br /&gt;
|1&lt;br /&gt;
|0&lt;br /&gt;
|375&lt;br /&gt;
|1&lt;br /&gt;
|(5,0,1)&lt;br /&gt;
|yes&lt;br /&gt;
|no&lt;br /&gt;
|no&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
!CUSTOM_OFFICIAL_1&amp;lt;sup&amp;gt;6,7,8&amp;lt;/sup&amp;gt;&lt;br /&gt;
|optional&lt;br /&gt;
|&amp;quot;keeper of the seal&amp;quot; / chancellor&lt;br /&gt;
|no&lt;br /&gt;
|espionage&lt;br /&gt;
|3&lt;br /&gt;
|2&lt;br /&gt;
|20&lt;br /&gt;
|1&lt;br /&gt;
|(5,0,1)&lt;br /&gt;
|yes&lt;br /&gt;
|yes&lt;br /&gt;
|no&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
!CUSTOM_OFFICIAL_2&amp;lt;sup&amp;gt;7,9&amp;lt;/sup&amp;gt;&lt;br /&gt;
|optional&lt;br /&gt;
|justiciar&lt;br /&gt;
|no&lt;br /&gt;
|collect taxes&lt;br /&gt;
|3&lt;br /&gt;
|2&lt;br /&gt;
|60&lt;br /&gt;
|1&lt;br /&gt;
|(5,0,1)&lt;br /&gt;
|yes&lt;br /&gt;
|no&lt;br /&gt;
|no&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
!CUSTOM_OFFICIAL_3&lt;br /&gt;
|always&lt;br /&gt;
|treasurer&lt;br /&gt;
|no&lt;br /&gt;
|trade, accounting&lt;br /&gt;
|2&lt;br /&gt;
|1&lt;br /&gt;
|70&lt;br /&gt;
|1&lt;br /&gt;
|(5,0,1)&lt;br /&gt;
|yes&lt;br /&gt;
|no&lt;br /&gt;
|no&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
!CUSTOM_OFFICIAL_4&lt;br /&gt;
|always &lt;br /&gt;
|advisor / counselor&lt;br /&gt;
|no&lt;br /&gt;
|advise leaders&lt;br /&gt;
|2&lt;br /&gt;
|1&lt;br /&gt;
|55&lt;br /&gt;
|1&lt;br /&gt;
|(5,0,1)&lt;br /&gt;
|yes&lt;br /&gt;
|yes&lt;br /&gt;
|no&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
!CUSTOM_OFFICIAL_5&lt;br /&gt;
|optional &lt;br /&gt;
|chamberlain&lt;br /&gt;
|no&lt;br /&gt;
|oversee leader houshold&lt;br /&gt;
|1&lt;br /&gt;
|0&lt;br /&gt;
|80&lt;br /&gt;
|1&lt;br /&gt;
|(5,0,1)&lt;br /&gt;
|yes&lt;br /&gt;
|yes&lt;br /&gt;
|no&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
!CUSTOM_OFFICIAL_6&lt;br /&gt;
|no&lt;br /&gt;
|master of beasts&lt;br /&gt;
|no&lt;br /&gt;
|tame exotics, manage animals&lt;br /&gt;
|1&lt;br /&gt;
|0&lt;br /&gt;
|90&lt;br /&gt;
|1&lt;br /&gt;
|(5,0,1)&lt;br /&gt;
|yes&lt;br /&gt;
|yes&lt;br /&gt;
|no&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
!CUSTOM_OFFICIAL_7&lt;br /&gt;
|always &lt;br /&gt;
|butler / cup-bearer&lt;br /&gt;
|no&lt;br /&gt;
|manage leader houshold food and drinks&lt;br /&gt;
|0&lt;br /&gt;
|0&lt;br /&gt;
|300&lt;br /&gt;
|1&lt;br /&gt;
|(5,0,1)&lt;br /&gt;
|yes&lt;br /&gt;
|no&lt;br /&gt;
|no&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
!CUSTOM_OFFICIAL_8&lt;br /&gt;
|always &lt;br /&gt;
|doctor&lt;br /&gt;
|no&lt;br /&gt;
|health management&lt;br /&gt;
|0&lt;br /&gt;
|0&lt;br /&gt;
|310&lt;br /&gt;
|1&lt;br /&gt;
|(5,0,1)&lt;br /&gt;
|yes&lt;br /&gt;
|no&lt;br /&gt;
|no&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
!CUSTOM_OFFICIAL_9&lt;br /&gt;
|always &lt;br /&gt;
|executioner&lt;br /&gt;
|no&lt;br /&gt;
|executions&lt;br /&gt;
|0&lt;br /&gt;
|0&lt;br /&gt;
|320&lt;br /&gt;
|1&lt;br /&gt;
|(5,0,1)&lt;br /&gt;
|yes&lt;br /&gt;
|yes&lt;br /&gt;
|no&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
!CUSTOM_OFFICIAL_10&lt;br /&gt;
|always &lt;br /&gt;
|chef&lt;br /&gt;
|no&lt;br /&gt;
|prepare leader meals&lt;br /&gt;
|0&lt;br /&gt;
|0&lt;br /&gt;
|330&lt;br /&gt;
|1&lt;br /&gt;
|(5,0,1)&lt;br /&gt;
|yes&lt;br /&gt;
|no&lt;br /&gt;
|no&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
!CUSTOM_OFFICIAL_11&lt;br /&gt;
|always &lt;br /&gt;
|housekeeper&lt;br /&gt;
|no&lt;br /&gt;
|manage leader houshold cleanliness&lt;br /&gt;
|0&lt;br /&gt;
|0&lt;br /&gt;
|340&lt;br /&gt;
|1&lt;br /&gt;
|(5,0,1)&lt;br /&gt;
|yes&lt;br /&gt;
|no&lt;br /&gt;
|no&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
!CUSTOM_MILITARY_STRATEGY&amp;lt;sup&amp;gt;4&amp;lt;/sup&amp;gt;&lt;br /&gt;
|no&lt;br /&gt;
|general/(field) marshal / constable&lt;br /&gt;
|no&lt;br /&gt;
|military strategy&lt;br /&gt;
|3&lt;br /&gt;
|2&lt;br /&gt;
|50&lt;br /&gt;
|1&lt;br /&gt;
|(5,0,1)&lt;br /&gt;
|yes&lt;br /&gt;
|no&lt;br /&gt;
|yes&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
!CUSTOM_MILITARY_GOALS&amp;lt;sup&amp;gt;5&amp;lt;/sup&amp;gt;&lt;br /&gt;
|no&lt;br /&gt;
|war leader&lt;br /&gt;
|no&lt;br /&gt;
|military goals, optional: military strategy&lt;br /&gt;
|3&lt;br /&gt;
|2&lt;br /&gt;
|45&lt;br /&gt;
|1&lt;br /&gt;
|(5,0,1)&lt;br /&gt;
|yes&lt;br /&gt;
|no&lt;br /&gt;
|yes&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
: ''Notes'': &lt;br /&gt;
:* &amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt;): The possible name prefixes are &amp;quot;chief&amp;quot;, &amp;quot;head&amp;quot; and &amp;quot;high&amp;quot; (always) and also &amp;quot;royal&amp;quot;, if the site leader has the name &amp;quot;law-giver&amp;quot;. The name prefix can be empty, if the cell entry is &amp;quot;optional&amp;quot;. A name prefix will always be present, if the cell entry is &amp;quot;always&amp;quot;.&lt;br /&gt;
:* &amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;): The possible name suffixes are &amp;quot;administrator&amp;quot;, &amp;quot;caretaker&amp;quot;, &amp;quot;commissioner&amp;quot;, &amp;quot;master&amp;quot; and &amp;quot;official&amp;quot;. A name suffix will always be present, if the cell entry is &amp;quot;always&amp;quot;.&lt;br /&gt;
:* &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;): The additional flags are: flashes, brag_on_kill, chat_worthy, kill_quest, account_exempt, punishment_exemption, quest_giver and special_burial.&lt;br /&gt;
:* &amp;lt;sup&amp;gt;4&amp;lt;/sup&amp;gt;): Only ever created, if the first site leader was a FORCED_ADMINISTRATOR. Can even be created, if the FORCED_ADMINISTRATOR has already been replaced by a CUSTOM_LAW_MAKER_2.&lt;br /&gt;
:* &amp;lt;sup&amp;gt;5&amp;lt;/sup&amp;gt;): Only created, either after the CUSTOM_MILITARY_GOALS position was created and the CUSTOM_MILITARY_GOALS position was not created with the military strategy responsibility or if the leader has the name law-giver (and does not have the military strategy responsibility). Can even be created, if the first site leader was a FORCED_ADMINISTRATOR, who has already been replaced by a CUSTOM_LAW_MAKER_2.&lt;br /&gt;
:* &amp;lt;sup&amp;gt;6&amp;lt;/sup&amp;gt;): If the leader name is not law-giver (and the first site leader was not a FORCED_ADMINISTRATOR), then a CUSTOM_OFFICIAL_1 has the espionage responsibilty. All CUSTOM_OFFICIAL_1 of a civ (regardless of whether the CUSTOM_OFFICIAL_1 belongs to a site government or the civ government) will either have the espionage responsibility or do not have the espionage responsibility. &lt;br /&gt;
:* &amp;lt;sup&amp;gt;7&amp;lt;/sup&amp;gt;): If the leader has the name law-giver then this official position has the responsibilities (and also optional resp.) as given in the civ table for the official position and not the responsibilities as in this table. Ie. that is the only case where a CUSTOM_OFFICIAL_1 can be created for a site government without the espionage responsibility.&lt;br /&gt;
:* &amp;lt;sup&amp;gt;8&amp;lt;/sup&amp;gt;): The CUSTOM_OFFICIAL_1 has always the responsibility make introductions, if the first site leader/ruler was a FORCED_ADMINISTRATOR, even if the FORCED_ADMINISTRATOR has already been replaced (by a CUSTOM_LAW_MAKER_2).&lt;br /&gt;
:* &amp;lt;sup&amp;gt;9&amp;lt;/sup&amp;gt;): The CUSTOM_OFFICIAL_2 has always the responsibility law enforcement, if the first site leader/ruler was a FORCED_ADMINISTRATOR, even if the FORCED_ADMINISTRATOR has already been replaced (by a CUSTOM_LAW_MAKER_2).&lt;br /&gt;
:* In the above table the columns &amp;quot;human&amp;quot; and &amp;quot;goblin&amp;quot; donate, whether a site government of a human civilization or of a goblin civilization can have that position (or at least, if the position was encountered so far). Note so far only goblin site governments with a CUSTOM_BANDIT_LEADER did have further positions created.&lt;br /&gt;
:* In addtion to the above table the &amp;quot;best_appointment_precedence&amp;quot; is 30001. Also the following flags are set (true) for all officials, regardless, of whether belonging to a human or goblin site government: duty_bound, has_responsibilities, do_not_cull, color, menial_work_exemption and has_received_positions.&lt;br /&gt;
:* All of the positions are appointed by the current ruler of the site (ie. CUSTOM_LAW_MAKER, CUSTOM_BANDIT_LEADER, FORCED_ADMINISTRATOR), except the CUSTOM_MILITARY_STRATEGY position will be appointed by the CUSTOM_MILITARY_GOALS position, if the CUSTOM_MILITARY_GOALS position was created prior and the current ruler of the site government is a forced administrator.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Additionally the position entry usually has the flag active set and the flag is_replaced is false, otherwise the position would no longer be active (and might have been replaced).&lt;br /&gt;
&lt;br /&gt;
= Bandits =&lt;br /&gt;
Bandits use the entity types 4 and 7, which are nomadic groups (type 4) and outcasts (type 7). It must also be noted that some CUSTOM_BANDIT_LEADER positions are used by site governments (typically goblin site governments) both with and without a parent civilization (site government is not a child of an entity of type 0).&lt;br /&gt;
&lt;br /&gt;
The following table gives an overview over the possible variable positions used by bandits (some further info on bandit leaders is below the table).&lt;br /&gt;
 &lt;br /&gt;
{|class=&amp;quot;sortable wikitable&amp;quot; style=&amp;quot;text-align:center;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;background:#F2F2F2;&amp;quot;&lt;br /&gt;
!Position!!Name!!appointment type!!Responsibilities!!squad size!!Demands!!Mandates!!Precedence!!Number!!add. flags&amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt;!!rules from location!!entity type&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
!CUSTOM_BANDIT_LEADER&lt;br /&gt;
|Boss, Captain, Chief, Chieftain, Commander, Leader, Master, Overlord, Ringleader or Warlord&lt;br /&gt;
|elected&lt;br /&gt;
|law making, law enforcement, receive diplomats, make introduction, make peace agreements, make topic agreements, military strategy and military goals&lt;br /&gt;
|20&lt;br /&gt;
|2&lt;br /&gt;
|1&lt;br /&gt;
|55&lt;br /&gt;
|1&lt;br /&gt;
|yes&lt;br /&gt;
|no&lt;br /&gt;
|nomadic, outcast&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
!CUSTOM_BANDIT_LEADER&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;&lt;br /&gt;
|Boss, Captain, Chief, Chieftain, Commander, Leader, Master, Overlord, Ringleader or Warlord&lt;br /&gt;
|elected&lt;br /&gt;
|law making, law enforcement, receive diplomats, make introduction, make peace agreements, make topic agreements, military strategy and military goals&lt;br /&gt;
|20&lt;br /&gt;
|2&lt;br /&gt;
|1&lt;br /&gt;
|10&lt;br /&gt;
|1&lt;br /&gt;
|yes&lt;br /&gt;
|no&lt;br /&gt;
|nomadic&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
!CUSTOM_OUTCAST_LT&lt;br /&gt;
|lieutenant&lt;br /&gt;
|appointed by bandit leader&lt;br /&gt;
|patrol territory, attack enemies&lt;br /&gt;
|0&lt;br /&gt;
|1&lt;br /&gt;
|0&lt;br /&gt;
|160&lt;br /&gt;
| -1&lt;br /&gt;
|no&lt;br /&gt;
|no&lt;br /&gt;
|outcast&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
!CUSTOM_OUTCAST_FACTOR&lt;br /&gt;
|representative&lt;br /&gt;
|appointed by bandit leader&lt;br /&gt;
|trade and accounting&lt;br /&gt;
|0&lt;br /&gt;
|1&lt;br /&gt;
|0&lt;br /&gt;
|70&lt;br /&gt;
| -1&lt;br /&gt;
|yes (except is_law_maker)&lt;br /&gt;
|yes&lt;br /&gt;
|outcast&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
: ''Notes'':&lt;br /&gt;
:* &amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt;): Additional flags are: is_law_maker, flashes, brag_on_kill, chat_worthy, kill_quest, account_exempt and quest_giver&lt;br /&gt;
:* &amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;): Only difference to the other CUSTOM_BANDIT_LEADER is the increased precedence of 10, encountered in 11 of 148 bandit leaders (148 of 175 nomadic groups had leaders). The reason is of yet unknown, except that the CUSTOM_BANDIT_LEADER is also used by the goblin civilization (and some site governments, without an entity link to a parent civ, had a nomadic group with a custom bandit leader as a child entity). &lt;br /&gt;
:* Further note the common flags of these positions are: duty_bound, has_responsibilities, do_not_cull, is_leader, has_met_pop_req, menial_work_exemption, has_received_positions and has_met_market_req.&lt;br /&gt;
:* The entity type in the above table refers to the (as displayed by dfhack's gm-editor, when viewing an entity).&lt;br /&gt;
&lt;br /&gt;
Additionally the bandit leader (CUSTOM_BANDIT_LEADER) always has a squad size of 20 and the squad members are refered to as &amp;quot;bandits&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
= Religious Entities =&lt;br /&gt;
Some religious entities, which are considered &amp;quot;child&amp;quot;-entities of civilizations (no religious entity which was not a &amp;quot;child&amp;quot; of a civ entity has been found so far), also have variable positions - the other religious entities have no positions at all.&lt;br /&gt;
If a religious entity rules a site (always monastery?), then the only variable position (of that entity) seems to be the CUSTOM_LAW_MAKER and the name of the position seems to be always &amp;quot;abbot&amp;quot;.&lt;br /&gt;
Otherwise the variable positions PRIEST, HIGH_PRIEST and HIGHEST_PRIEST can be created for that religious entity, where any such entity, if it has a position, will always have the PRIEST as position. Afterwards, the position HIGH_PRIEST can be created and at last - after the HIGH_PRIEST was created - the HIGHEST_PRIEST can be created. The names of these position are randomly created (more about the name generation is currently out-of-scope, ie. why a PRIEST might be called &amp;quot;sacred squid&amp;quot;, &amp;quot;holy burial&amp;quot;, &amp;quot;sacred rumor&amp;quot;, &amp;quot;holy lemon&amp;quot; or &amp;quot;sacred paper&amp;quot; is out-of-scope at least for this wiki article). No temple is needed in an associated site for a religious entity (not ruling from a monastery) to create a priest, high priest or highest priest position.&lt;br /&gt;
&lt;br /&gt;
An overview on the positions of religious entities is given in the following table:&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;sortable wikitable&amp;quot; style=&amp;quot;text-align:center;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;background:#F2F2F2;&amp;quot;&lt;br /&gt;
!Position!!name prefix!!name!!appointment type&amp;lt;sup&amp;gt;5&amp;lt;/sup&amp;gt;!!Responsibilities!!Precedence!!Demands!!Mandates!!number!!missing common flags&amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt;!!additional flags&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
!CUSTOM_LAW_MAKER&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|abbot&lt;br /&gt;
|heir&lt;br /&gt;
|law making, law enforcement, receive diplomats, make introductions, make peace agreements, make topic agreements, military strategy, military goals&lt;br /&gt;
|100&lt;br /&gt;
|3&lt;br /&gt;
|2&lt;br /&gt;
|1&lt;br /&gt;
|is_diplomat&lt;br /&gt;
|all &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
!PRIEST&lt;br /&gt;
|holy or sacred&lt;br /&gt;
|&amp;lt;i&amp;gt;random&amp;lt;/i&amp;gt;&amp;lt;sup&amp;gt;4&amp;lt;/sup&amp;gt;&lt;br /&gt;
|elected&lt;br /&gt;
|religion&lt;br /&gt;
|200&lt;br /&gt;
|0&lt;br /&gt;
|0&lt;br /&gt;
| -1&lt;br /&gt;
|none&lt;br /&gt;
|no&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
!HIGH_PRIEST&lt;br /&gt;
|high, first or exalted &lt;br /&gt;
|&amp;lt;i&amp;gt;random&amp;lt;/i&amp;gt;&amp;lt;sup&amp;gt;4&amp;lt;/sup&amp;gt;&lt;br /&gt;
|elected&lt;br /&gt;
|law_making, receive diplomats and make topic agreements&lt;br /&gt;
|50&lt;br /&gt;
|3&lt;br /&gt;
|2&lt;br /&gt;
| -1&lt;br /&gt;
|none&lt;br /&gt;
|all (except determines_coin_design)&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
!HIGHEST_PRIEST&lt;br /&gt;
|absolute or most sacred/high/exalted&lt;br /&gt;
|&amp;lt;i&amp;gt;random&amp;lt;/i&amp;gt;&amp;lt;sup&amp;gt;4&amp;lt;/sup&amp;gt;&lt;br /&gt;
|elected&lt;br /&gt;
|law_making, receive diplomats and make topic agreements &lt;br /&gt;
|1&lt;br /&gt;
|5&lt;br /&gt;
|3&lt;br /&gt;
|1&lt;br /&gt;
|none&lt;br /&gt;
|all (except determines_coin_design)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
&amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt;): The common flags are: duty_bound, has_responsibilities, chat_worthy, do_not_cull, is_leader, is_diplomat, has_met_pop_req, rules_from_location, menial_work_exemption, punishment_exemption, has_received_positions and has_met_market_req. So if one of the flags is mentioned in a column, then the position does not have that flag.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;): The additional flags (in this case) are: is_law_maker, flashes, brag_on_kill, kill_quest, exported_in_legends, account_exempt, quest_giver, special_burial.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;): Is always the only position for that religious entity. And so far any such entity, which was found, always governed/ruled a monastery.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;sup&amp;gt;4&amp;lt;/sup&amp;gt;): The name is one of the possible &amp;quot;name prefixes&amp;quot; for the position written before a completely random word, which may or may not depend on the religious spheres/domains worshipped by that religion.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;sup&amp;gt;5&amp;lt;/sup&amp;gt;): The appointment/succession type is actually determined by flags, ie. elected and succession_by_heir. One of the flags is also true for these positions (but not explicitly mentioned in the common/additional flags).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Additional notes: The PRIEST, HIGH_PRIEST and HIGHEST_PRIEST have a variable color entry, but the color-flag (of the position entry) is false, so it is unclear whether currently the color entry has any effect.&lt;br /&gt;
&lt;br /&gt;
= Mercenary Group =&lt;br /&gt;
&lt;br /&gt;
All mercenary entities will have at least one position (the CUSTOM_MERCENARY_LEADER). The only other possible position is the CUSTOM_MERCENARY_TREASURER.&lt;br /&gt;
&lt;br /&gt;
Basic information about both positions are found in the table below (and the explanations below the table).&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;sortable wikitable&amp;quot; style=&amp;quot;text-align:center;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;background:#F2F2F2;&amp;quot;&lt;br /&gt;
!Position!!Name!!appointment type!!Responsibilities!!Precedence!!Demands!!Mandates!!number!! imp. flags&amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
!CUSTOM_MERCENARY_LEADER&lt;br /&gt;
|usually &amp;quot;warlord&amp;quot;, &amp;quot;leader&amp;quot;, &amp;quot;general&amp;quot; or &amp;quot;overlord&amp;quot; but very unusual names are possible (see below table)&lt;br /&gt;
|elected&lt;br /&gt;
|law making, law enforcement, receive diplomats, make introductions, make peace agreements, make topic agreements, military strategy, military goals&lt;br /&gt;
|50&lt;br /&gt;
|2&lt;br /&gt;
|1&lt;br /&gt;
|1 &lt;br /&gt;
|yes&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
!CUSTOM_MERCENARY_TREASURER&lt;br /&gt;
|treasurer&lt;br /&gt;
|elected&lt;br /&gt;
|trade and accounting&lt;br /&gt;
|160&lt;br /&gt;
|1&lt;br /&gt;
|0&lt;br /&gt;
|1&lt;br /&gt;
|no&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Notes: &amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt;): The imp. flags are flashes, brag_on_kill, chat_worthy, punishment_exemption, kill_quest and quest giver.&lt;br /&gt;
&lt;br /&gt;
Both positions also have the is_leader flag and the following flags: duty_bound, has_responsibilities, has_met_pop_req, menial_work_exemption, has_received_positions and has_met_market_req.&lt;br /&gt;
&lt;br /&gt;
For the mercenary leader also illustrous names such as lord twinkle, lord duty, lord savant, maze commander or secret commander can be created. In these cases the name seems to be generated by either adding a random word after the word lord or adding a random word before commander.&lt;br /&gt;
&lt;br /&gt;
= Guilds =&lt;br /&gt;
All guilds will always have all four of the variable positions mentioned in this section. Note that &amp;quot;merchant guilds&amp;quot; are merchant companies and an entirely separate entity.&lt;br /&gt;
&lt;br /&gt;
The following table gives an overview of the four guild positions.&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;sortable wikitable&amp;quot; style=&amp;quot;text-align:center;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;background:#F2F2F2;&amp;quot;&lt;br /&gt;
!Position!!Name!!appointment type!!Responsibilities!!precedence!!demands!!mandates!!number!!add. flags&amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
!CUSTOM_GUILD_LEADER&lt;br /&gt;
|dean/doyen&lt;br /&gt;
|law making, law enforcement, receive diplomats, make introductions, make peace agreements, make topic agreements, military strategy, military goals&lt;br /&gt;
|elected&lt;br /&gt;
|50&lt;br /&gt;
|2&lt;br /&gt;
|1&lt;br /&gt;
|1&lt;br /&gt;
|yes&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
!CUSTOM_GUILD_ALDERPERSON&lt;br /&gt;
|alderperson&lt;br /&gt;
|meet workers, manage production&lt;br /&gt;
|elected&lt;br /&gt;
|150&lt;br /&gt;
|1&lt;br /&gt;
|0&lt;br /&gt;
|1&lt;br /&gt;
|no&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
!CUSTOM_GUILD_STEWARD&lt;br /&gt;
|steward or treasurer&lt;br /&gt;
|trade&lt;br /&gt;
|elected&lt;br /&gt;
|160&lt;br /&gt;
|1&lt;br /&gt;
|0&lt;br /&gt;
|1&lt;br /&gt;
|no&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
!CUSTOM_GUILD_CLERK&lt;br /&gt;
|clerk, bookkeeper, recordkeeper&lt;br /&gt;
|accounting&lt;br /&gt;
|elected&lt;br /&gt;
|170&lt;br /&gt;
|1&lt;br /&gt;
|0&lt;br /&gt;
|1&lt;br /&gt;
|no&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
&amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt;): The additional flags are: is_law_maker, flashes, brag_on_kill; chat_worthy, do_not_cull, kill_quest, account_exempt, rules_from_location, punishment_exemption and quest_giver.&lt;br /&gt;
&lt;br /&gt;
All positions have the following flags in common:&lt;br /&gt;
duty_bound, has_responsibilities, do_not_cull, is_leader, has_met_pop_req, menial_work_exemption, has_received_positions, has_met_market_positions.&lt;br /&gt;
&lt;br /&gt;
= Merchant Company =&lt;br /&gt;
Every merchant company will have a leader (CUSTOM_COMPANY_LEADER). Furthermore a merchant company can have a CUSTOM_COMPANY_FACTOR, to which an unlimited number of history figures can be assigned to (ie. a company can have multiple governors).&lt;br /&gt;
&lt;br /&gt;
An overview of both positions is given by the following table:&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;sortable wikitable&amp;quot; style=&amp;quot;text-align:center;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;background:#F2F2F2;&amp;quot;&lt;br /&gt;
!Position!!name!!appointment type!!Responsibilities!!Precedence!!Demands!!Mandates!!number!!additional flag&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
!CUSTOM_COMPANY_LEADER&lt;br /&gt;
|master or head&lt;br /&gt;
|elected or succession by heir&lt;br /&gt;
|law making, law enforcement, receive diplomats, make introductions, make peace agreements, make topic agreements, military goals, military strategy&lt;br /&gt;
|50&lt;br /&gt;
|2&lt;br /&gt;
|1&lt;br /&gt;
|1&lt;br /&gt;
|is_law_maker&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
!CUSTOM_COMPANY_FACTOR&lt;br /&gt;
|agent, factor, administrator or governor&lt;br /&gt;
|appointed by company leader&lt;br /&gt;
|trade and accounting&lt;br /&gt;
|200&lt;br /&gt;
|1&lt;br /&gt;
|0&lt;br /&gt;
| -1&lt;br /&gt;
|none&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Both positions have the following flags in common:&lt;br /&gt;
duty_bound, has_responsibilities, flashes, brag_on_kill, chat_worthy, do_not_cull, kill_quest, is_leader, account_exempt, has_met_pop_req, rules_from_location, menial_work_exemption, punishment_exemption, has_received_positions, quest_giver and has_met_market_req.&lt;br /&gt;
&lt;br /&gt;
Also note that in contrast to many other variable positions (of different entities) for the CUSTOM_COMPANY_LEADER both an election based appointment (or succession) and an succesion by heir is possible, but each merchant company will only have an elected leader or a leader (with inheritance).&lt;br /&gt;
&lt;br /&gt;
= Raw tokens =&lt;br /&gt;
The tokens that manage the creation of positions are [[Entity_token#SITE_VARIABLE_POSITIONS|SITE_VARIABLE_POSITIONS]] and [[Entity_token#VARIABLE_POSITIONS|VARIABLE_POSITIONS]]. &lt;br /&gt;
&lt;br /&gt;
SITE_VARIABLE_POSITIONS allows for the creation of lords, hearthpersons, and [[boss]]es, and [VARIABLE_POSITIONS] allows creation of Law-makers.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- commented out: no longer needed. Can be removed/deleted.&lt;br /&gt;
= Generated positions =&lt;br /&gt;
The following positions can be created. Note: these should be sorted among the different group types.&lt;br /&gt;
* CUSTOM_LAW_MAKER&lt;br /&gt;
* CUSTOM_LAW_MAKER_2&lt;br /&gt;
* CUSTOM_OUTCAST_LT&lt;br /&gt;
* CUSTOM_OUTCAST_FACTOR&lt;br /&gt;
* CUSTOM_COMPANY_LEADER&lt;br /&gt;
* CUSTOM_COMPANY_FACTOR&lt;br /&gt;
* CUSTOM_MERCENARY_LEADER&lt;br /&gt;
* CUSTOM_MERCENARY_TREASURER&lt;br /&gt;
* CUSTOM_BANDIT_LEADER&lt;br /&gt;
* CUSTOM_MARKET_OFFICIAL_#&lt;br /&gt;
* CUSTOM_OFFICIAL_#&lt;br /&gt;
* CUSTOM_MILITARY_STRATEGY&lt;br /&gt;
* CUSTOM_MILITARY_GOALS&lt;br /&gt;
* HIGHEST_PRIEST&lt;br /&gt;
* HIGH_PRIEST&lt;br /&gt;
* CUSTOM_GUILD_LEADER&lt;br /&gt;
* CUSTOM_GUILD_STEWARD&lt;br /&gt;
* CUSTOM_GUILD_CLERK&lt;br /&gt;
* CUSTOM_GUILD_ALDERPERSON&lt;br /&gt;
* WORSHIP_HF&lt;br /&gt;
&lt;br /&gt;
The following names can be seen given to those positions. Note: these should be sorted among the different positions.&lt;br /&gt;
* lord&lt;br /&gt;
* hearthperson&lt;br /&gt;
* factor&lt;br /&gt;
* agent&lt;br /&gt;
* governor&lt;br /&gt;
* lieutenant&lt;br /&gt;
* representative&lt;br /&gt;
* head&lt;br /&gt;
* chieftain&lt;br /&gt;
* warlord&lt;br /&gt;
* ringleader&lt;br /&gt;
* cup-bearer&lt;br /&gt;
* butler&lt;br /&gt;
* master of beasts&lt;br /&gt;
* sewer&lt;br /&gt;
* housekeeper&lt;br /&gt;
* chef&lt;br /&gt;
* executioner&lt;br /&gt;
* chancellor&lt;br /&gt;
* chief&lt;br /&gt;
* chamberlain&lt;br /&gt;
* captain&lt;br /&gt;
* chief / chieftess&lt;br /&gt;
* constable&lt;br /&gt;
* royal&lt;br /&gt;
* advisor&lt;br /&gt;
* counselor&lt;br /&gt;
* justiciar&lt;br /&gt;
* keeper of the seal&lt;br /&gt;
* law-giver&lt;br /&gt;
* baron&lt;br /&gt;
* marshal&lt;br /&gt;
* war leader&lt;br /&gt;
* most high priest&lt;br /&gt;
* absolute X&lt;br /&gt;
* most exalted X&lt;br /&gt;
* most high X&lt;br /&gt;
* most holy X&lt;br /&gt;
* most sacred X&lt;br /&gt;
* treasurer&lt;br /&gt;
* recordkeeper&lt;br /&gt;
* clerk&lt;br /&gt;
* bookkeeper&lt;br /&gt;
* doyen / doyenne&lt;br /&gt;
* dean&lt;br /&gt;
* steward&lt;br /&gt;
* alderperson&lt;br /&gt;
* X administrator&lt;br /&gt;
* X official (like grain official)&lt;br /&gt;
* X officials&lt;br /&gt;
* X commissioner&lt;br /&gt;
* X commissioners&lt;br /&gt;
* X caretakers&lt;br /&gt;
* judge&lt;br /&gt;
* justices&lt;br /&gt;
* magistrate&lt;br /&gt;
* abbot&lt;br /&gt;
&lt;br /&gt;
--&amp;gt;&lt;/div&gt;</summary>
		<author><name>Joostheger</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=Advanced_entity_position_mechanics&amp;diff=315084</id>
		<title>Advanced entity position mechanics</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=Advanced_entity_position_mechanics&amp;diff=315084"/>
		<updated>2026-02-17T21:02:30Z</updated>

		<summary type="html">&lt;p&gt;Joostheger: /* Working triggers */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Quality|Fine}}&lt;br /&gt;
{{Modding}}&lt;br /&gt;
&lt;br /&gt;
= Introduction = &lt;br /&gt;
&lt;br /&gt;
[http://www.bay12forums.com/smf/index.php?topic=182239.0 Discussion thread on the forum]&lt;br /&gt;
&lt;br /&gt;
This page documents observed and tested behavior of entity positions in Dwarf Fortress that is not fully described elsewhere on the wiki. It focuses on advanced interactions between position tokens, including appointment, succession, election, and responsibility handling, across both civilization-level and site-level entities.&lt;br /&gt;
&lt;br /&gt;
The mechanics described here are based on empirical testing in world generation and fortress mode, supplemented where necessary by raw analysis. In several cases, the game’s behavior is determined by evaluation order and interaction between multiple tags, rather than by individual tokens in isolation.&lt;br /&gt;
&lt;br /&gt;
This page is intended for modders and advanced players who are designing or debugging custom entity position structures. It does not restate basic position mechanics, but instead highlights edge cases, non-obvious interactions, and behaviors that may appear inconsistent or undocumented.&lt;br /&gt;
&lt;br /&gt;
Unless stated otherwise, the described behavior applies to current versions of the game and may differ from older releases.&lt;br /&gt;
&lt;br /&gt;
==What is an entity? What is a position?==&lt;br /&gt;
An [[entity]] is an organizational structure that can have relationships with other entities, usually known as a [[civilization]] or a &amp;quot;[[site]] government&amp;quot; in the game, but merchant [[guild]]s, religious organizations, necromancer towers, and [[bandit]] groups are also entities. An entity can have positions - in most cases, these are hardcoded and generated by the game, but as for civilizations and sites, the [[raw file]]s can be customised.&lt;br /&gt;
&lt;br /&gt;
A position is a special relationship between a unit and an entity. The unit holding a position has a larger influence over that entity than other citizens. Positions are mostly known as [[nobles]], but in this article. the technical term is used.&lt;br /&gt;
&lt;br /&gt;
=Position levels (Site/Civ) and their interaction=&lt;br /&gt;
There are two basic types of positions that are customizable: '''civ(ilization)''' level and '''site level'''. Positions with the tag [SITE] are at site level, positions without the tag [SITE] are at 'civ level'. These two types of nobles can be considered '''loosely related systems'''. There are a few places where they can interact with each other.&lt;br /&gt;
&lt;br /&gt;
Civ-level positions are in charge of the civilization as a whole, managing national [[trade]], laws, and [[war]]s. These are, for example, the vanilla [[monarch]], [[diplomat]] and [[general]]. (Note that the general doesn't do anything in either mode in the current version.)&lt;br /&gt;
&lt;br /&gt;
'''[LAND_HOLDER]''' nobles are also positions at civ-level. These units are members of the national government, but have gained authority over some land or site. Once they do, they move to that place, but their position is still regarded as a civ-level position.&lt;br /&gt;
&lt;br /&gt;
Site-level position holders are members of a site government (subsidiary to the civilization), and manage local affairs in that location. These are, for example, the [[mayor]], the [[sheriff]] and the [[broker]].&lt;br /&gt;
&lt;br /&gt;
==Table of interaction between different position levels==&lt;br /&gt;
In this table, the possible interactions between different position levels are summarized. &lt;br /&gt;
The header row shows the positions defining the tokens.&lt;br /&gt;
&lt;br /&gt;
The left column shows the position type that is referred to.&lt;br /&gt;
Example:  &lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! referred position-type&lt;br /&gt;
! LAND_HOLDER&lt;br /&gt;
|-&lt;br /&gt;
| civilization&lt;br /&gt;
|  &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;(baron is) APPOINTED_BY:MONARCH&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
color coding: &amp;lt;/br&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;Exists in vanilla&amp;lt;/span&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;Possible with mods&amp;lt;/span&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;Not possible&amp;lt;/span&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;possible to some extent.&amp;lt;/span&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;not yet fully investigated.&amp;lt;/span&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! referred position-type&lt;br /&gt;
! Civilization&lt;br /&gt;
! SITE&lt;br /&gt;
! LAND_HOLDER&lt;br /&gt;
! CONQUERED_SITE&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Civilization&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;SUCCESSION '''(1)'''&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| SITE&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;SUCCESSION '''(2)'''&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;APPOINTED_BY '''(3)'''&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;SUCCESSION '''(4)'''&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| LAND_HOLDER&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY '''(6)'''&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;SUCCESSION '''(5)'''&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;REPLACED_BY '''(7)'''&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;SUCCESSION '''(8)'''&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;CONQUERED_SITE&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; COMMANDER &amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; REPLACED_BY &amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt; SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; COMMANDER &amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; REPLACED_BY &amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt; SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; COMMANDER &amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; REPLACED_BY &amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; COMMANDER &amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; REPLACED_BY &amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Remarks:&lt;br /&gt;
# Works only in world-gen, if a unit with that civ-position is present at the site.&lt;br /&gt;
# Works only in world-gen, the site-position holding unit will then move to the capital.&lt;br /&gt;
# Is completely ignored&lt;br /&gt;
# Works only in world-gen.&lt;br /&gt;
# Works only in world-gen.&lt;br /&gt;
# Won't appear at all&lt;br /&gt;
# This is necessary for the landholder chain to work properly, it doesn’t work otherwise.&lt;br /&gt;
# This works only outside of the landholder chain, so when landholders are simply regarded as civ-level nobles. might also work in world-gen&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
== Other interactions ==&lt;br /&gt;
&lt;br /&gt;
Unfortunately, interactions with positions of other entities don't seem possible, such as APPOINTED_BY: HIGH_PRIEST. With [VARIABLE_POSITIONS], positions are automatically created with codes like CUSTOM_LAW_MAKER_2, but interaction with these positions don't seem to work, either. For more info on those, see [[Variable positions]]&lt;br /&gt;
&lt;br /&gt;
=General=&lt;br /&gt;
&lt;br /&gt;
==Civ-level nobles living at your site==&lt;br /&gt;
Nobles from your civilization can come to live at your fortress. This happens in vanilla with landholders such as [[Baron]], [[Count]] and [[Duke]], with the Monarch, but sometimes also with non-landed LAND_HOLDERS.&lt;br /&gt;
&lt;br /&gt;
When a civ-level noble becomes a [[citizen]] at your location, their position is shown among the site-level positions in your [[nobles screen]]. They appear to function as a site-level noble. They may have [[demand]]s, [[mandate]]s, [[squad]]s and the like. They can appoint nobles at the site-level.&lt;br /&gt;
&lt;br /&gt;
If they have certain [RESPONSIBILITY]ies, they do the tasks that go with them.&lt;br /&gt;
&lt;br /&gt;
==Fortress mode, world-gen and their differences==&lt;br /&gt;
Their are a few differences in how positions function between fortress mode (normal play mode) and the world generation (world-gen). &lt;br /&gt;
&lt;br /&gt;
In '''fortress mode''', the player has some control over the appointment of nobles, limited by elections, automatic filled-in positions and succession rules. Pre-fortress mode, which is referred to as '''world-gen''', the game will always attempt to assign nobles whenever possible. It is subjected to the same rules as in fortress-mode, but there are some exceptions. In '''[[World activities]]''', which is the thing that happens in the world while you play fortress mode, it seems as if the same rules are applied as fortress mode. &lt;br /&gt;
&lt;br /&gt;
A difference between player-fortress-mode and world-gen, is causes by visibility (see below). Positions that are not visible by the player and thus not available for assignment, will be available in world-gen and will thus be automatically assigned.&lt;br /&gt;
&lt;br /&gt;
In fortress mode, a position that is both [ELECTED] and [APPOINTED_BY], cannot be appointed by the player and is also not elected, and can thus not be filled. But in world-gen sites however, these positions are automatically filled.&lt;br /&gt;
&lt;br /&gt;
Positions with [AS_NEEDED] are almost never created and filled in world-gen (depending on their [RESPONSIBILITY]ies), but can always be used in player mode.&lt;br /&gt;
&lt;br /&gt;
A position can, in fortress mode, be filled by the same unit. A unit can gain multiple positions in fortress mode, for example because of [[elections]]. This will not happen in world-gen mode: a unit can only have one position. See also remarks on 'embark' and 'Losing a position'.&lt;br /&gt;
&lt;br /&gt;
In world-gen, [SUCCESSION] between civ-levels and [SITE-]levels may happen. This will not happen in fortress mode, or even off-site in [[World activities]].&lt;br /&gt;
&lt;br /&gt;
In fortress mode, premature SUCCESSION may happen. This will not happen in world-gen mode.&lt;br /&gt;
&lt;br /&gt;
==Units holding multiple positions in multiple entities==&lt;br /&gt;
A unit can hold multiple positions in its civilisation or in its site-entity, however this does not happen in world-gen. Only at player-managed sites can units be holding multiple positions at once. (It is probably not possible for a unit to hold a position in two different civilisations or two different sites.)&lt;br /&gt;
&lt;br /&gt;
In world-gen, if there are too many positions to be filled, they simply stay empty until more units are available. E.G, a unit at a site might inherit a civ-level position and still remain a member of the local government. When this happens however, they move to the capital. If a unit gains a new position, either inherited or otherwise, it drops the previous one. If a unit assumes a civ-position in fortress mode, it leaves the current position. &lt;br /&gt;
&lt;br /&gt;
If a unit holds the same (site-)position multiple times, it has no additional effect.&lt;br /&gt;
&lt;br /&gt;
If a unit holds multiple different positions of the same entity, it has all those positions' responsibilities and properties, stacked up. Presumably, the demands for those combined positions are determined by the highest.&lt;br /&gt;
 &lt;br /&gt;
A unit holding a position with a succession token can be assigned another position with a (different) succession token. &lt;br /&gt;
&lt;br /&gt;
A unit holding a position with a squad-position cannot hold another squad-position. It is dropped from the first, when it gets its second assigned. &lt;br /&gt;
A unit holding a position with a succession token cannot be assigned to a squad-position - the unit is simply not available. It works the other way around, though.&lt;br /&gt;
&lt;br /&gt;
=Specific Tags and functions=&lt;br /&gt;
==[PRECEDENCE]==&lt;br /&gt;
The first defined position with precedence of 1 counts as the ruler of the civ. See also: [[Position_token#PRECEDENCE|PRECEDENCE]]. &lt;br /&gt;
&lt;br /&gt;
If the precedence is omitted or has a negative value, the game sets 0 as precedence, which seems to have no effect whatsoever.&lt;br /&gt;
&lt;br /&gt;
When a unit has multiple positions, the name of the position with the highest rank in precedence is shown behind the unit's name.&lt;br /&gt;
&lt;br /&gt;
If you omit precedence entirely, or set it to [PRECEDENCE:NONE], the position name will not be shown after the unit’s name. Your *Urist Mason* will remain simply *Mason*. This can be useful for positions that are unimportant or purely functional. The position will also not appear in the civilisation overview of your site on the world map. The position name is shown in messages, but remains hidden on the nobles screen as well. To make it visible there, use [LAND_NAME].&lt;br /&gt;
&lt;br /&gt;
==[RESPONSIBILITY]ies==&lt;br /&gt;
Both civ and [SITE] positions can carry responsibilities. However, not all responsibilities are active for both types: some function only for civ positions, others only for site positions. When a civ noble arrives at a site and takes up residence, they do not perform responsibilities that are intended for SITE nobles. As a result, these responsibilities neither trigger their associated tasks nor unlock related game mechanics. For example, a civ-level manager living in a fortress will not perform management duties there and doesn't unlock the management-screen, even with an assigned office. &lt;br /&gt;
This behavior applies to the following [SITE]-level responsibilities:&lt;br /&gt;
* [RESPONSIBILITY:ACCOUNTING]&lt;br /&gt;
* [RESPONSIBILITY:BUILD_MORALE]&lt;br /&gt;
* [RESPONSIBILITY:HEALTH_MANAGEMENT]&lt;br /&gt;
* [RESPONSIBILITY:LAW_ENFORCEMENT]&lt;br /&gt;
* [RESPONSIBILITY:MANAGE_PRODUCTION]&lt;br /&gt;
* [RESPONSIBILITY:MEET_WORKERS]&lt;br /&gt;
* [RESPONSIBILITY:TRADE]  (functions differently)&lt;br /&gt;
Other responsibilities may be affected as well, but have not yet been fully tested.&lt;br /&gt;
&lt;br /&gt;
===World-gen effects of the [RESPONSIBILITY] of available positions ===&lt;br /&gt;
It is possible to cause civs and individual sites to change their behavior substantially when they reach a certain size, by controlling nobles. &lt;br /&gt;
* If a site can only appoint a position with [MILITARY_GOALS] after reaching a particular size, that site will not send armies on missions until the required size is reached.&lt;br /&gt;
* A civ-level [LAW_MAKING] position is required for the civilization to have any kind of cohesion. Without it, sites will be constantly embroiled in territorial disputes and civil wars will be commonplace.&lt;br /&gt;
* [MILITARY_STRATEGY] positions go out and tame wild animals. This makes your civ gain those animals as domesticated and also brings them in sieges.&lt;br /&gt;
* The [[Personality_facet|Personality]] of the position's holder determines how they lead the civ.&lt;br /&gt;
&lt;br /&gt;
===[DELIVERS_MESSAGES]===&lt;br /&gt;
The only [AS_NEEDED]-position that is created in worldgen based on responsibility is that of the site-level responsibility [DELIVERS_MESSAGES].&lt;br /&gt;
&lt;br /&gt;
===Outpost Liaisons and Diplomats===&lt;br /&gt;
Civ-positions with the responsibility [ESTABLISH_COLONY_TRADE_AGREEMENTS] ([[Outpost_Liaison|Outpost Liaison]]s) will meet with the site-noble who has responsibility for [RECEIVE_DIPLOMATS] and the highest rank of precedence (i.e. the lowest precedence value). Usually this is the [[Expedition_leader|Expedition leader]].&lt;br /&gt;
&lt;br /&gt;
Once a [LAND_HOLDER] is assigned to the site, civ-positions with the responsibility [MAKE_TOPIC_AGREEMENTS] ([[Diplomat]]s) will meet with '''civ'''-level nobles present at the site who have the [RECEIVE_DIPLOMATS] responsibility. If multiple eligible nobles are available, one is selected at random. If no eligible noble is present, the diplomat leaves angrily. If the landholder is no longer present at the site, diplomats will not arrive at all.&lt;br /&gt;
&lt;br /&gt;
It appears that Outpost Liaisons and Diplomats are chosen for a diplomatic mission based on availability. When multiple candidates exist, the position defined last in the raws is most often selected.&lt;br /&gt;
&lt;br /&gt;
===[TRADE]===&lt;br /&gt;
Civ-level nobles with [TRADE] will arrive with the caravan, just as the Outpost Liaison. Their behavior is no longer active in the vanilla game, but the mechanics are still present. See [[40d:Guild_representative|Guild representative]] for more details. This civ-noble will only meet with the SITE noble with [TRADE], usually the [[Broker]].&lt;br /&gt;
&lt;br /&gt;
If two civ-nobles exist with both [TRADE] and [ESTABLISH_COLONY_TRADE_AGREEMENTS], they both arrive at the same time. Even if both tokens are assigned to a single position, if more than one instance of that position exists, two of them will arrive. However in that case, somehow the elevation of the site and appointment of landholder isn't offered.&lt;br /&gt;
&lt;br /&gt;
If the SITE-noble they intend to meet has both [TRADE] and [RECEIVE_DIPLOMATS], only one meeting will proceed and the other is cancelled. However, when two SITE-nobles are available, each with either [TRADE] or [RECEIVE_DIPLOMATS], both meetings will proceed and both civ-nobles will attempt to negotiate a trade agreement. It is not known what happens if these agreements are accepted or refused.&lt;br /&gt;
&lt;br /&gt;
In the trade depot, the last defined position with the [TRADE] responsibility is shown as broker. However when requesting a trader, the first defined position with [TRADE] will actually go there to do the trade.&lt;br /&gt;
&lt;br /&gt;
==[NUMBER]==&lt;br /&gt;
A position might be defined with a number. In that case, as many as defined can be available. If the positions become available, in world-gen and when embarking, they are all filled-in completely.&lt;br /&gt;
&lt;br /&gt;
If the ruling position (with PRECEDENCE of 1) has a NUMBER higher than 1, a random unit of the ones holding these positions is shown as ruler in the embark screen.&lt;br /&gt;
&lt;br /&gt;
A [NUMBER] of 0 (zero) has the same effect as 1.&lt;br /&gt;
&lt;br /&gt;
===Automatic spreading of assumed, non-singular positions===&lt;br /&gt;
If there are civ positions that have a NUMBER higher then '1' and which are assumed (not APPOINTED_BY or ELECTED) but are '''not DUTY_BOUND''', these are automatically spread among the civilisation, based on population. If there are a number of '''20''' available slots of that position, they spread among a civilization with a combined population of, for example, 1000 of which your fortress has 100 (10%), '''2''' of your fortress' citizens will assume that position. &lt;br /&gt;
This may probably also work with elected and appointed positions, but that may be depending on the death of the current holders and this needs more testing. Assumption works within a day, anyway. &lt;br /&gt;
&lt;br /&gt;
===[AS_NEEDED]===&lt;br /&gt;
These positions can be created automatically by the game in world-gen. This, however, only works with: &lt;br /&gt;
* [LAND_HOLDER]'s&lt;br /&gt;
* squad commanders (needs more testing)&lt;br /&gt;
* Messengers at sites&lt;br /&gt;
&lt;br /&gt;
For all other types of positions, they're not created in world-gen, even if they are defined with RESPONSIBILITY's. For example, even in war, the game wouldn't create a MILITARY_GOALS position, if they have AS_NEEDED as number. &lt;br /&gt;
&lt;br /&gt;
However, in fortress mode / player mode, these positions can be created by the player at will.&lt;br /&gt;
&lt;br /&gt;
Positions with AS_NEEDED need to be created first, before any symbols are assignable as 'symbols' (objects) for the position holder to carry or wear.&lt;br /&gt;
&lt;br /&gt;
Positions with AS_NEEDED cannot be created and then ELECTED in fortress mode. It only works with APPOINTED_BY.&lt;br /&gt;
&lt;br /&gt;
==[REPLACED_BY] and [REQUIRES_POPULATION]==&lt;br /&gt;
&lt;br /&gt;
The token REPLACED_BY:position means that once the replacing position reaches its required population-number, the 'to-be-replaced' position will disappear. This is defined in REQUIRES_POPULATION. These tags are closely related to each other and seem to only have a meaningful function if combined. Nobles with REQUIRES_POPULATION require the population to have a specific size. &lt;br /&gt;
&lt;br /&gt;
This works on the civ-level as well as on site-level, but those systems are in this mechanic strictly separated. Site-level positions cannot be replaced by civ-level positions and visa versa. This makes sense, because they both depend on their own population-count. When using REQUIRES_POPULATION on civ-level, it counts the total population of the civilisation. &lt;br /&gt;
&lt;br /&gt;
See also: [[Advanced_entity_position_mechanics#Evaluation_of_Positions|Evaluation of positions]]&lt;br /&gt;
&lt;br /&gt;
===Effect of replacement (and on [LAND_HOLDER]s)===&lt;br /&gt;
&lt;br /&gt;
Replacement is immediate and complete - the current holding unit loses the position, even before SUCCESSION_BY_POSITION rules are applied. A position with a number of 1 will replace all the slots of a position with a higher number of slots. &lt;br /&gt;
&lt;br /&gt;
Even if the next position is available but not visible, replacement still takes place. If a position is replaced, it is completely gone - it cannot be appointed, succeeded, elected or assumed any longer.&lt;br /&gt;
The unit immediately loses its position.&lt;br /&gt;
&lt;br /&gt;
In legends, replacement is mentioned as: &amp;quot;(unit name) ceased to be (position name)&amp;quot; The replacement of an AS_NEEDED position empties the position's slot forever. In fortress mode, it may seem as if you can create new slots and appoint new units in the nobles screen, but this is reversed as soon as you close the window.&lt;br /&gt;
&lt;br /&gt;
The landholder chain uses [REPLACED_BY] differently. It does not clear the position completely, but uses it for succession to the next level's position. [REPLACE_BY] is required to let that system work properly. This also means that the way in which landholders succeed (replace + as_needed) does not work in any other way. &lt;br /&gt;
&lt;br /&gt;
Replacement between LAND_HOLDERS and other site- or civ positions does not work in any way. Only the vanilla replacement sequence between levels of LAND_HOLDERs does work. If the token is omitted for landholders, the landholder chain is broken, so replacement is required for the landholder system to work.&lt;br /&gt;
&lt;br /&gt;
[REQUIRES_POPULATION] also does not work for [LAND_HOLDER], when you set [NUMBER] to 1. The position is not created when the required population is reached.&lt;br /&gt;
&lt;br /&gt;
===What doesn't work===&lt;br /&gt;
&lt;br /&gt;
'''Attention: If a position cannot be appointed, for example because of 'mutual appointment', it still exists according to replacement mechanics and will replace other positions if so defined. If a certain position(a) will be replaced by the baron's assistant, which can only be appointed by the [LAND_HOLDER] baron, than that position(s) still will be replaced from the start of the game, even if no baron or their assistant is ever present.'''&lt;br /&gt;
&lt;br /&gt;
A position that is replaced by a somehow non-fillable position is still replaced. This counts for mutual-appointing positions, replacement by not-yet-assigned landholders, replacement by AS_NEEDED positions, or replacement by not-yet-appointed positions. &lt;br /&gt;
&lt;br /&gt;
Replacement does not work if the replaced position is a [LAND_HOLDER], even with civ-positions. In that case, the LAND_HOLDER's position is not replaced. It does not matter if AS_NEEDED is used, or a fixed number, and it also does not matter what type of position the replacer is. So this only works (correctly) with positions that become available by REQUIRES_POPULATION.&lt;br /&gt;
&lt;br /&gt;
==[CONQUERED_SITE]==&lt;br /&gt;
&lt;br /&gt;
This tag determines which position is used to assign a [[Forced administrator]].&lt;br /&gt;
&lt;br /&gt;
In legends mode, this is visible as an event describing the reconquest of the site: a new group is formed and the forced administrator is installed as its ruler.&lt;br /&gt;
&lt;br /&gt;
All positions defined with this tag are assigned during this process, meaning multiple positions can be appointed at once.&lt;br /&gt;
&lt;br /&gt;
The holder of a position marked with [CONQUERED_SITE] cannot appoint any other [SITE] positions.&lt;br /&gt;
&lt;br /&gt;
Combining [CONQUERED_SITE] with [SITE] causes the position to function both as a forced administrator and as a normal site position available in fortress mode. However, this provides no meaningful additional mechanics and is effectively inferior to using [SITE] alone:&lt;br /&gt;
* [APPOINTED_BY] lines are completely ignored, meaning that the roles are automatically assumed.&lt;br /&gt;
* [SUCCESSION] is likewise ignored.&lt;br /&gt;
* the [CONQUERED_SITE]-position cannot appoint other [CONQUERED_SITE], [SITE] or combined positions.&lt;br /&gt;
&lt;br /&gt;
There have been remarks that reclaiming a fortress is unplayable because of the lack of regular nobles. Unfortunately, it seems that it can't be fixed by modding.&lt;br /&gt;
&lt;br /&gt;
=Availability and visibility=&lt;br /&gt;
==Availability of (new) positions==&lt;br /&gt;
Warning: Do not mistake &amp;quot;availability&amp;quot; for &amp;quot;visibility&amp;quot;! &lt;br /&gt;
&lt;br /&gt;
Of all the possible positions existing in your site's entity, there may only be some available. &lt;br /&gt;
* Positions with [REQUIRES_POPULATION] require the population to have a specific size.&lt;br /&gt;
* Positions with [REQUIRES_MARKET] will only appear in &amp;quot;large&amp;quot; sites (which may have different rules for different site types). This tag has no effect in fort mode.&lt;br /&gt;
* Positions that are appointed by positions that have an AS_NEEDED number. The appointable positions only become available after an appointer position-slot is created. This works also on civ-level. If a position is appointed by a Land-holder, it only becomes available, when that level of landholder is created. &lt;br /&gt;
	&lt;br /&gt;
Only the replaced positions are culled and are no longer available. &lt;br /&gt;
A position that requires a certain population will become available, even if it doesn't have [APPOINTED_BY] or [ELECTED]. In that case, see 'automatic assignment' and 'assumption'&lt;br /&gt;
&lt;br /&gt;
In fortress mode, in some cases 'succession' is evaluated immediately after a position becomes available. See: Succession.&lt;br /&gt;
==Visibility of positions==&lt;br /&gt;
A position might be available, but can still be invisible for the player in the [[nobles screen]]. The positions with their respective holders are visible for players:&lt;br /&gt;
* All site-positions that are already filled-in (even if they could not be re-filled-in considering current conditions)&lt;br /&gt;
* Site positions that are appointable by a filled-in site position&lt;br /&gt;
* Site positions that are appointable by a filled-in civ position, when that civ positions holder becomes a citizen of your fortress.&lt;br /&gt;
* Civ positions of units that are also a citizen of your fortress.&lt;br /&gt;
If a position becomes available, for example because a certain pop number has been reached, or if it is available from the start(like expedition leader), as long as it cannot be appointed, it still is INVISIBLE for the player. &lt;br /&gt;
&lt;br /&gt;
It might strike someone as odd if a position becomes filled automatically in fortress mode when that position is not even visible. This might be the case if the current holder of a non-appointable position dies or succeeds another position. Regardless of player visibility, these positions will be automatically filled in if the necessary requisitions are met. It might happen with the expedition leader.&lt;br /&gt;
&lt;br /&gt;
A situation with a non-visible but available position, is for example when a position is solely appointed by the expedition leader, when the expedition leader's position is left vacant. It can no longer be appointed by the player and is invisible. Then, it gets automatically assumed, proving that the position still was available.&lt;br /&gt;
&lt;br /&gt;
A position that is both [APPOINTED_BY] and [ELECTED] is visible, but players cannot interact with it.&lt;br /&gt;
&lt;br /&gt;
={{text anchor|Evaluation of Positions}}=&lt;br /&gt;
The game does not continuously check whether positions should become available, elected or be [REPLACE_BY]. This is well-known behavior—for example with the [[mayor]], who does not appear automatically when the required population ([REQUIRES_POPULATION]) is reached. Instead, positions must somehow be evaluated. This applies in several other situations as well &lt;br /&gt;
&lt;br /&gt;
'''Cases that require a trigger:'''&lt;br /&gt;
* Election of a newly created position&lt;br /&gt;
* Election after the current holder dies&lt;br /&gt;
* Automatic assumption of a newly created position (this may take up to a day)&lt;br /&gt;
* New citizens (such as migrants) considering available positions&lt;br /&gt;
* Premature succession of a newly created position&lt;br /&gt;
&lt;br /&gt;
'''Cases that do not wait for a trigger:'''&lt;br /&gt;
* Succession following the death of the previous holder&lt;br /&gt;
* Automatic assumption of existing positions that have become vacant&lt;br /&gt;
&lt;br /&gt;
'''Triggers that cause the game to reevaluate noble positions:'''&lt;br /&gt;
* Succession of a [SITE]-position due to the death of the current holder&lt;br /&gt;
* [[Advanced_entity_position_mechanics#Election_Day|Election Day]]&lt;br /&gt;
* Automatic assumption of a [SITE]-position that becomes vacant&lt;br /&gt;
* (Re)assigning any site position manually&lt;br /&gt;
* Settlement elevation on the LAND_HOLDER track (e.g. gaining a [[Baron]] or [[Count]])&lt;br /&gt;
&lt;br /&gt;
=Gaining a position=&lt;br /&gt;
There are several ways a unit can gain a position:&lt;br /&gt;
* Appointment: A unit is appointed by another unit or by the player.&lt;br /&gt;
* Election: A unit is elected by and among the members of the entity&lt;br /&gt;
* Assumption: A position is neither elected or appointed: a random unit just simply 'takes' the position&lt;br /&gt;
* Succession: a unit is the valid successor of this position(A), either by its current position(B) or because they are that position(A)-holder's heir. &lt;br /&gt;
&lt;br /&gt;
Available positions will automatically be assigned to a random civ member when a new site/civ is created.&lt;br /&gt;
&lt;br /&gt;
==Who can take a position==&lt;br /&gt;
&lt;br /&gt;
* If so defined, a unit needs to be the right caste and/or class - it does not seem to work with creature types. &lt;br /&gt;
* The unit needs to be an adult member of the site or its parent civ's government; that is also CAN_LEARN or INTELLIGENT (SLOW_LEARNER cannot take positions) or otherwise is able to think.&lt;br /&gt;
&lt;br /&gt;
==Appointment==&lt;br /&gt;
&lt;br /&gt;
Positions that have an [APPOINTED_BY:position] token require that position to exist, to be available and appointed. Any position that is APPOINTED_BY can be appointed if the appointer's position is filled in. &lt;br /&gt;
For site-positions to be appointed, it is required that the appointer is present at that location.&lt;br /&gt;
&lt;br /&gt;
If the appointing unit is temporarily not present, or if that position is not filled, positions depending on it cannot be appointed. This is the case with [[militia captains]], when the [[militia commander]] is on a [[mission]]. &lt;br /&gt;
&lt;br /&gt;
A site position cannot appoint a civ position ''or'' LAND_HOLDER in any way whatsoever. &lt;br /&gt;
&lt;br /&gt;
Civ-level positions can appoint other civ-level positions and site-level positions can appoint other site-level positions.&lt;br /&gt;
&lt;br /&gt;
Contrary to what has been said elsewhere, civ-level nobles also can appoint site-level nobles. They need to be at the site to do so. Landholders can appoint both site-level and civ-level nobles. These systems are therefore not as separate as was assumed.&lt;br /&gt;
&lt;br /&gt;
'''Mutual appointment''' cannot take place. If these are the only requisites of the position, then the positions will never appear or get filled. These unfillable positions can be put to good use, for example, to replace a position that is no longer needed without creating a new one. &lt;br /&gt;
&lt;br /&gt;
'''Self appointment''' doesn't normally work. If you have a position that is only appointed by itself, it is never appointed and also cannot be assumed. However, if the position has a number higher than 1, and is filled by multiple units (for example by another position that is now empty), than those units can re-assign or appoint each other from that their shared position. &lt;br /&gt;
&lt;br /&gt;
If an APPOINTED_BY token refers to a non-existing position's code, the effects are as if the appointment token doesn't exist at all.&lt;br /&gt;
&lt;br /&gt;
===Automatic appointment in world-gen and on the civ level===&lt;br /&gt;
&lt;br /&gt;
Outside of fortress mode, the game will always attempt to appoint nobles whenever possible, as long as these positions are '''available''', even if they are invisible to the player.&lt;br /&gt;
It shows this message in legends:  &amp;quot;(unit name) has been appointed to the position of (position name)&amp;quot;&lt;br /&gt;
&lt;br /&gt;
In world-gen, all positions become available and are automatically appointed, taking population- and appointment-requirements into consideration. &lt;br /&gt;
&lt;br /&gt;
Positions that are REPLACED_BY are culled and won't be filled.&lt;br /&gt;
&lt;br /&gt;
If a citizen of your fortress holds a civ-level position that can appoint another civ-level position, the appointment will happen automatically and without player intervention. It may happen that another citizen of your fortress is appointed by that unit, creating civ-level position holders in your fortress, but it is unknown what is required to force this effect.&lt;br /&gt;
&lt;br /&gt;
===Manual appointments by players in fortress mode===&lt;br /&gt;
In fortress mode, the positions that need to be appointed stay empty on embark. and it is the player's job to appoint those. A player can appoint a unit to any available position, according to the hereabove mentioned conditions. The player takes the role of the automatic appointment-system, but has no direct control over elections, successions and replacement. There are some differences in what is possible at world-gen sites and at player-controlled sites.&lt;br /&gt;
&lt;br /&gt;
* A position that is appointed by a unit present as a fortress citizen, can be appointed, re-appointed or left vacant. This means also by civ-level nobles living as a citizen in your fortress; not when they are only visiting, like the diplomat.&lt;br /&gt;
* A position whose appointing positions are all either vacant or [REPLACED_BY] can no longer be appointed. If the position is already filled, it cannot be reappointed or vacated; the current holder simply remains in office.&lt;br /&gt;
* A position that is APPOINTED_BY a unit present as the land_holder of your site, can be appointed, reassigned or left vacant.&lt;br /&gt;
* A position that has SUCCESSION BY_HEIR or BY_POSITION can 'initially' be appointed and also re-appointed or left vacant, but as soon as the [[nobles]] screen closes, ''it can no longer be replaced or left vacant''. From then on, the succession-rules determine who gains that position when the current holder loses the position. This works even if the SUCCESSION:BY_POSITION-position is vacant or replaced.&lt;br /&gt;
* A position that is ELECTED nor APPOINTED_BY, can always be (re-)appointed by the player. This is the case with the [[Expedition leader]]. If it is left vacant however, it cannot be appointed, but will be assumed shortly after. &lt;br /&gt;
* A position that is both ELECTED and APPOINTED_BY, cannot be appointed by the player. Contrary to world-gen sites, its slot is visible, but it doesn't show the +-sign. This is either by AS_NEEDED or by a fixed number. Even if the position somehow gets filled (re)assignment is never possible&lt;br /&gt;
* A player can appoint a number of units to a position, as much as the NUMBER token dictates. If it is AS_NEEDED, the player may create as many slots as they like, also contrary to world-gen sites. &lt;br /&gt;
* A civ-position can never be appointed, even if the appointing civ noble is a citizen of your fortress. A civ position also never can be re-assigned or left vacant, would that position be defined as appointed by a site-position.&lt;br /&gt;
&lt;br /&gt;
==Election==&lt;br /&gt;
Read more in [[Elections]]. The message that is shown is: &amp;quot;(creature name) has been elected to the position of  (position name)&amp;quot;&lt;br /&gt;
&lt;br /&gt;
In worldgen, there is no functional difference between ELECTED and non-appointment, except that elected nobles tend to have high social skills and/or skills related to the position, while non-elected ones are assigned randomly. See: [[Elections]]&lt;br /&gt;
&lt;br /&gt;
A succession goes before an election. &lt;br /&gt;
&lt;br /&gt;
A position that is both ELECTED and APPOINTED_BY never gets elected. Even if the appointees' position somehow gets filled, (re)-elections won't happen. So, it doesn't seem possible to have an elected position become available when a certain other position becomes filled. &lt;br /&gt;
&lt;br /&gt;
An ELECTED civ-(or LAND_HOLDER) position at your site will never be (re)-elected in fortress mode. So real (re-)election only works with SITE-positions. &lt;br /&gt;
&lt;br /&gt;
=== {{text anchor|Election Day}} ===&lt;br /&gt;
Election Day takes place on the 17th of Summer. On this day, a full reevaluation is performed, including all currently elected positions, which are subject to re-election. Contrary to the information on [[Elections]], nothing occurs at the start of a season.&lt;br /&gt;
&lt;br /&gt;
Positions that are both [APPOINTED_BY] and [ELECTED] will not be re-elected on Election Day when assigned through [SUCCESSION].&lt;br /&gt;
&lt;br /&gt;
=== Election Eligiblity ===&lt;br /&gt;
Any citizen may stand for election. Eligibility cannot be restricted using [ACCEPTED_CREATURE], [REJECTED_CREATURE], [ACCEPTED_CLASS], [REJECTED_CLASS], or [GENDER]. Units currently having a [SUCCESSION]-position even may be elected for a position with a [SQUAD]-token, which is otherwise impossible to assign or even succeed.&lt;br /&gt;
&lt;br /&gt;
=== Skills ===&lt;br /&gt;
In elections, skills are taken into account for the tokens of the position which is elected.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Relevant skills per position token&lt;br /&gt;
|-&lt;br /&gt;
! Position Token !! Relevant skills&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#DELIVER_MESSAGES|[DELIVER_MESSAGES]]] || [[Ambusher]], [[Observer]] and [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#ACCOUNTING|[ACCOUNTING]]] || [[Record_keeper|Record keeper]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#ESPIONAGE|[ESPIONAGE]]] || [[Schemer]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#HEALTH_MANAGEMENT|[HEALTH_MANAGEMENT]]] || [[Diagnostician|Diagnostician]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#MAKE_INTRODUCTIONS|[MAKE_INTRODUCTIONS]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#MAKE_PEACE_AGREEMENTS|[MAKE_PEACE_AGREEMENTS]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#MAKE_TOPIC_AGREEMENTS|[MAKE_TOPIC_AGREEMENTS]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#MANAGE_PRODUCTION|[MANAGE_PRODUCTION]]] || [[Organizer]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#MEET_WORKERS|[MEET_WORKERS]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#RECEIVE_DIPLOMATS|[RECEIVE_DIPLOMATS]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#RELIGION|[RELIGION]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#TAME_EXOTICS|[TAME_EXOTICS]]] || [[Animal_trainer|Animal trainer]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#TRADE|[TRADE]]] || [[Social_skill|Social skills]] and [[Appraiser|Appraiser]]&lt;br /&gt;
|-&lt;br /&gt;
| [[Position_token#SQUAD|[SQUAD]]]-token || [[Tactician]] and [[Leader]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Assumption==&lt;br /&gt;
&lt;br /&gt;
A position that is not APPOINTED_BY nor ELECTED, or is appointed by positions that are not available in your site or civ, will be assumable by a random dwarf. If it has responsibilities that require certain skills, then these are taken into consideration on embark, but not when the position is assumed during the actual game. &lt;br /&gt;
&lt;br /&gt;
Normally, one to three units will take the into consideration to assume a position. Most of the time when there are multiple open positions, only a single unit will assume all of them. However, a position that has REJECTED_CREATURE, REJECTED_CLASS, ALLOWED_CREATURE or ALLOWED_CLASS will be filled with all different units, even if the creature or class mentioned is irrelevant. It seems that this forces the game to loop over all the available units.&lt;br /&gt;
&lt;br /&gt;
The message that is shown in Legends mode is: &amp;quot;(unit name) has assumed the position of (position name)&amp;quot;. This may also take place in fortress mode, which then shows this message to the player. &lt;br /&gt;
&lt;br /&gt;
If an assumable position becomes empty, it will be assumed within a day. This is the case when you leave the position of expedition-leader vacant. It also happens with entities. &lt;br /&gt;
&lt;br /&gt;
Assumable positions that become empty will not be assumed if that position has a valid [SUCCESSION] -successor. In that case, the successor inherits the position. &lt;br /&gt;
&lt;br /&gt;
Even positions that are somehow invisible because they cannot be directly APPOINTED_BY players, can be assumed. &lt;br /&gt;
&lt;br /&gt;
When you embark, the assumable positions are automatically assigned to a random unit. If there are multiple of these positions at embark, they all are assigned to the same unit. If there are enough positions available, multiple units may gain a position, but often no more than three different ones.&lt;br /&gt;
&lt;br /&gt;
If a dwarf in fortress mode assumes a position, that already has another position, it will leave the current position empty. When that position also is assumed, then this will continue until all positions have a dwarf appointed to them, with no other position.&lt;br /&gt;
&lt;br /&gt;
A unit that already has a position with a [SUCCESSION] token won't take assumable positions into consideration that have a [SQUAD] token. This can be used by the modder to prevent unwanted loss of current positions.&lt;br /&gt;
&lt;br /&gt;
A position that has an appointer which got replaced because of REPLACED_BY, will not become assumable. Also, positions that have an AS_NEEDED appointer that is not yet filled (or ever), will also not be assumed.&lt;br /&gt;
&lt;br /&gt;
==Succession==&lt;br /&gt;
&lt;br /&gt;
If a position-holder dies or advances to a new position via succession, the position will be granted to another unit based on the [SUCCESSION] tag. If they have an heir or the succeeding position exists, that unit will be assigned. If not, a new one will be appointed according to the usual rules. The message that is shown is: &amp;quot;(creature name) being the rightful heir, has inherited the position of (position name)&amp;quot;&lt;br /&gt;
&lt;br /&gt;
The succeeding creature will also lose its previous position. When succession is defined using BY_POSITION, the unit naturally loses the referenced position. However, it also loses any other positions it may hold. If a unit could simultaneously inherit multiple positions, the last-defined succession overrides the earlier one, clearing the previously acquired position&lt;br /&gt;
&lt;br /&gt;
Succession works both at site-level and at civ-level, both in world-gen and in fortress-mode. Succession by position on the civ-level is also visible and functional in fortress-mode. If both civ-level nobles are a citizen of your fortress, succession is applied visually. Vanilla example: The [[druid]] is succeeded by the [[acolyte]]. This means that as soon as the druid dies, the acolyte takes over. &lt;br /&gt;
&lt;br /&gt;
When a position that is succeeded by position becomes available, immediately it is checked if a position-successor is available and the position is filled with that unit. Even if this is an [ELECTED] position, succession goes first. When elections eventually do happen, succession plays no role.&lt;br /&gt;
&lt;br /&gt;
It is possible to assign multiple levels of [SUCCESSION:BY_POSITION] in different positions, creating a line of positions where the death of one causes all those &amp;quot;below&amp;quot; them to advance.&lt;br /&gt;
&lt;br /&gt;
A position can have multiple tokens with position-succession. It looks to be random which one is used. It is not always:&lt;br /&gt;
* The first or last defined token&lt;br /&gt;
* The first or last appointed unit&lt;br /&gt;
* the oldest or youngest&lt;br /&gt;
* one with a higher or lower precedence&lt;br /&gt;
* a unit with relevant skills&lt;br /&gt;
&lt;br /&gt;
When a position is defined with a Succession-type, that unit cannot have another position that has a Squad-type. If the succession-position itself has a squad, than it can be assigned another position with a squad, but then it will loose the previous succesion position. See further details by &amp;quot;Squad&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Assumed positions can also be succeeded by position, if the current holder dies. &lt;br /&gt;
&lt;br /&gt;
If the successor is an AS_NEEDED position, the used unit will leave a vacant position-slot on its removal by succession. This empty slot remains a real slot, which will only be cleaned up if you (un)appoint a unit to this position-series. It isn't cleaned up after regular position validation.&lt;br /&gt;
&lt;br /&gt;
A civ-level position of a unit living at your site might be inherited by a unit holding that does not currently live at your site. This, unfortunately, moves that position to a unit off site. This may also happen with the landholder of your site, for example when it is succeeded by another civ-level position. This currently poses an unsolved challenge. &lt;br /&gt;
&lt;br /&gt;
===Eligibility for succession===&lt;br /&gt;
Succession is restricted by the tokens [ACCEPTED_CREATURE], [REJECTED_CREATURE], [ACCEPTED_CLASS], [REJECTED_CLASS] and [GENDER].&lt;br /&gt;
&lt;br /&gt;
===Site and civ combined succession===&lt;br /&gt;
&lt;br /&gt;
Succession can work when combining site positions with civ-level positions or land_holders, but only in world-gen mode.  In fortress mode, it only works with combining the same level of nobles, with Landholders regarded as civ-level. So, in fortress mode, a site's position cannot succeed a landholder's position and it cannot succeed another type of civ-level position, and vice versa. &lt;br /&gt;
&lt;br /&gt;
This won't work even if the positions:&lt;br /&gt;
* are AS_NEEDED or having a fixed number.&lt;br /&gt;
* Are LAND_HOLDERs.&lt;br /&gt;
&lt;br /&gt;
===Succession [BY_HEIR]===&lt;br /&gt;
&lt;br /&gt;
When a heir is needed for succession, all children and then other relatives are validated. They cannot take the position if their status does not allow it, for example if they have become a member of another civilisation. See: &amp;quot;Who can take a position&amp;quot;. If the unit has no valid heir on that location, the position may go to a unit living on another site. This may cause the title of Landholder of some land to be inherited by a unit living somewhere else. That might be a problem, because then you lose your landholders.&lt;br /&gt;
&lt;br /&gt;
===Premature Succession===&lt;br /&gt;
&lt;br /&gt;
There are cases where [SUCCESSION:BY_POSITION] is applied prematurely: at the moment a position is first created and becomes appointable or assumable, rather than after a current holder leaves. In this situation, the succession mechanism assigns a holder immediately, without any player interaction.&lt;br /&gt;
&lt;br /&gt;
When a position becomes available for the first time, the game checks whether a valid successor-by-position exists. If so, that unit is assigned instantly. It can affect positions that would normally be appointed or elected by the player, causing succession to trigger before the player has any opportunity to intervene.&lt;br /&gt;
&lt;br /&gt;
This behavior occurs only in Fortress mode, but can be applied both on [SITE]-positions as well in civ-positions. That last one however is a bit harder to control. Example: [[Advanced entity position mechanics#The Archduke|The Archduke]]&lt;br /&gt;
&lt;br /&gt;
This premature succession only occurs the first time a position becomes available (i.e. when it is created and becomes appointable or assumable). Even if the position remains vacant and the conditions for succession improve later, premature succession will not trigger again. From that point onward, only normal succession rules apply.&lt;br /&gt;
&lt;br /&gt;
Using premature succession, a position that has [ELECTED], [APPOINTED_BY], or both, can be filled directly.&lt;br /&gt;
Notably, positions that combine [ELECTED] and [APPOINTED_BY] are normally impossible to fill through regular mechanics. Premature succession bypasses both election and appointment entirely, making this combination uniquely reachable through this mechanism.&lt;br /&gt;
&lt;br /&gt;
No initial election takes place, and no subsequent elections will ever occur for that position. Succession always takes precedence over election, both in premature succession and in normal succession cases.&lt;br /&gt;
&lt;br /&gt;
This behavior applies only in Fortress mode, not during world generation. World-gen uses simplified and more efficient mechanics, and this interaction does not occur there. Premature succession can affect both site-level and civilization-level positions.&lt;br /&gt;
&lt;br /&gt;
====Multiple succession chains====&lt;br /&gt;
&lt;br /&gt;
Multiple succession chains may be defined and are resolved in the order they appear in the raws.&lt;br /&gt;
&lt;br /&gt;
If a position has both:&lt;br /&gt;
* a direct succession chain (A → C), and&lt;br /&gt;
* a multi-step chain (A → B → C),&lt;br /&gt;
&lt;br /&gt;
and intermediate positions are vacant, resolution proceeds according to raw order. A common outcome is:&lt;br /&gt;
# The direct succession (A → C) is applied first, assigning A to C.&lt;br /&gt;
# The remaining chain then advances (A → B).&lt;br /&gt;
# If C still has empty slots, the final step (B → C) may occur.&lt;br /&gt;
&lt;br /&gt;
If position B is already filled, behavior depends entirely on raw definition order:&lt;br /&gt;
* nothing may happen, or&lt;br /&gt;
* B may move to C first, followed by A moving to B.&lt;br /&gt;
====Working triggers====&lt;br /&gt;
Premature succession is triggered when a succeedable position is created under the following conditions:&lt;br /&gt;
* The succeedable position is created because its [REQUIRES_POPULATION] threshold is reached. This applies even if the position is not [APPOINTED_BY]. Premature succession takes priority over automatic assumption (e.g. the mayor declaring themselves within a day).&lt;br /&gt;
** The position must either be assumable or appointed by an existing position. When said appointer-position also just has been created, the premature succession of the succeedable position happenes, even when the appointer-position is empty.&lt;br /&gt;
* The succeedable position can be [APPOINTED_BY] another position of the same level (site or civ) that has just been created because its [REQUIRES_POPULATION] was reached.&lt;br /&gt;
* The succeedable position can be appointed by another [SITE] [AS_NEEDED] position that has just been created and filled.&lt;br /&gt;
* The succeedable (site or civ) position is [APPOINTED_BY] the [LAND_HOLDER] position, which has just been created due to site elevation. This typically resolves when the diplomat leaves the map, at which point the landholder position becomes active.&lt;br /&gt;
* If all other requirements are met, premature succession can occur immediately after unpausing following embark, for positions with [REQUIRES_POPULATION:7].&lt;br /&gt;
&lt;br /&gt;
====Non-working triggers====&lt;br /&gt;
Premature succession does '''not''' occur in the following cases:&lt;br /&gt;
* An [AS_NEEDED] succeedable position slot is manually created by the player while its succeeding position is already filled. [AS_NEEDED] positions must always be appointed after creation.&lt;br /&gt;
* The succeeding position is filled after the succeedable position becomes available. The moment of creation is the decisive trigger; filling the source position later is too late.&lt;br /&gt;
* The succeedable position can be appointed by another site or civ position with a fixed number of slots that has just been appointed. In this case, the succeedable position is just available for appointment itself, nothing more&lt;br /&gt;
* Any situation occurring during world generation.&lt;br /&gt;
* The succeeding position is [REPLACED_BY] the succeedable position. In this case, replacement removes the unit from the source position first, leaving no holder available for the succession mechanism to use.rst, leaving no holder available for the succession mechanism to use.&lt;br /&gt;
* The position is [APPOINTED_BY] a civ-level position, that just became a citizen of your fortress. It must be noted that those civ-level positions were active all that time and the succeedable position could be appointed even before. The monarchs arrival does not trigger premature succession&lt;br /&gt;
&lt;br /&gt;
=Losing a position=&lt;br /&gt;
&lt;br /&gt;
A unit can lose a position when:&lt;br /&gt;
* It dies&lt;br /&gt;
* It succeeds another position, even if it has nothing to do with the previous position.&lt;br /&gt;
* It is assigned to another SQUAD-holding position&lt;br /&gt;
* It is convicted of a crime.&lt;br /&gt;
* Another unit is ELECTED for the position&lt;br /&gt;
* Its position becomes replaced&lt;br /&gt;
* Another unit is appointed by the player, or the position is left vacant. &lt;br /&gt;
* It has assumed another position, as this always leaves the previous position vacant.&lt;br /&gt;
&lt;br /&gt;
=Embarkment=&lt;br /&gt;
Two types of positions are automatically filled by embark. &lt;br /&gt;
* Positions without [APPOINTED_BY] or [ELECTED] (assumable). All these positions, even with a NUMBER higher than 1, are all filled with one to three dwarves. Contrary to assumption, this doesn't take into account any limitations. REJECTED_CLASS, ALLOWED_CLASS, REJECTED_CREATURE, ALLOWED_CREATURE and GENDER are applied, but without the normal spread you may expect with assumptions. Also it doesn't look at [SUCCESSION] and [SQUAD] limitations.&lt;br /&gt;
* Positions that are elected are filled-in by the normal election rules.&lt;br /&gt;
&lt;br /&gt;
Positions that have a defined appointer are never initially filled at embark.&lt;br /&gt;
&lt;br /&gt;
All positions that don't have [REQUIRES_POPULATION]  or with a [REQUIRES_POPULATION] of 7 or lower, will be available at embark.&lt;br /&gt;
&lt;br /&gt;
=Land Holders=&lt;br /&gt;
&lt;br /&gt;
A Landholder is a '''special civ-level noble''' who gets a certain piece of land to hold, when that land is elevated to a certain level, determined by the tag [LAND_HOLDER] and by the landholder triggers in the game's settings. In vanilla, these are the baron, the count and the duke. &lt;br /&gt;
&lt;br /&gt;
A unit gaining the landholder position does not migrate to that specific named land. In world-gen, they stay just where they are, probably at the capital. In fortress mode, you can suggest a citizen for the role. So for the time being that works.&lt;br /&gt;
&lt;br /&gt;
Succession is then a real issue. If you use BY_HEIR, its solved when that landholder has children living at your site. But when its not the case, the title just goes to anyone randomly. Succession BY_POSITION works, but only in the civ-chain, and there's no way to guarantee a civ-holder is at your site at that time. Even with 'automatic spread' positions, it goes to one of them randomly.&lt;br /&gt;
&lt;br /&gt;
==Functioning of the regular landholder chain==&lt;br /&gt;
&lt;br /&gt;
The distinct difference between a landholder and a regular civ-level noble, is that a landholder may gain the position of landholder &amp;quot;of (sitename)&amp;quot; They are then seen as ruler of a particular site. &lt;br /&gt;
&lt;br /&gt;
For a land_holder position to function as such, it has a few requirements:&lt;br /&gt;
* NUMBER:AS_NEEDED &lt;br /&gt;
* The first landholder-number of 1 is defined. &lt;br /&gt;
* No SITE (so civ) tag in that position.&lt;br /&gt;
*REPLACED_BY the next level landholder&lt;br /&gt;
If a landholder is defined with differentiating properties, it will function like a regular noble. A higher-up landholder that lacks the required tokens or connections will then not be used in elevation. &lt;br /&gt;
&lt;br /&gt;
If a fortress meets the trigger for a new LAND_HOLDER tier when a caravan leaves, then the next time the outpost liaison or equivalent arrives, they will offer to make you an official colony, which will allow you to select all positions for that LAND_HOLDER level. Each time they appear, the outpost liaison will only promote your fortress one tier up the LAND_HOLDER track. &lt;br /&gt;
&lt;br /&gt;
The landholder's LAND_NAME is not required for the functioning of this system. If omitted, messages will be shown with a more generic text.&lt;br /&gt;
&lt;br /&gt;
==Appointment==&lt;br /&gt;
&lt;br /&gt;
This mechanism differs from the regular methods of position management. It ignores all regular appointment- and election rules, so it more or less functions like automatic assignment. A landholder is, in vanilla, appointed by the monarch. Changing this doesn't seem to do anything. If they are appointed by a site-position, a not-yet-existing civ-position, or not appointed at all: the system keeps working as usual. &lt;br /&gt;
&lt;br /&gt;
A landholder can appoint civ-positions and site positions. This works as expected: the positions only are appointed then when that landholder becomes available on civ-level or when he arrives at that site for site-level positions. &lt;br /&gt;
&lt;br /&gt;
If your rank of landholder is the first of its rank in the realm, and is the sole appointer of some civ-position, then immediately as it gains the title, it will appoint the empty civ-slots. This may happen on your site, but the frequency and certainty is hard to determine.&lt;br /&gt;
&lt;br /&gt;
==Succession==&lt;br /&gt;
&lt;br /&gt;
Succession rules are applied to some extent:&lt;br /&gt;
* In world-gen it works according to succession rules, and site-positions can be used here.  This means that a site position or a civ-position can inherit a landholder position, and vice versa.&lt;br /&gt;
* In fortress mode, once a landholder has been appointed, it then can inherit civ-level positions, and vice versa. This means that your baron can become king. &lt;br /&gt;
* Succession rules do not apply within the [LAND_HOLDER] chain; a count will not inherit a baron's land. This is because succession does not work well with the AS_NEEDED token.&lt;br /&gt;
* Premature succession works in fortress mode with landholders. If a unit gets a landholder's position and that landholder is the appointer of an as yet empty position, which is defined as succeeding from a third one, then the succession is immediately applied. The landholder themselves can even be the successor of a newly created position.&lt;br /&gt;
* A landholder's position is, in fortress mode, not successionable by a site-position or vice versa&lt;br /&gt;
&lt;br /&gt;
===Impossibilities for succession by a site-position===&lt;br /&gt;
It would be very beneficial if the landholder can be succeeded by a [SITE]-position. So far, the following tests have not lead to positive results:&lt;br /&gt;
* making landholder and site-position both non-[DUTY_BOUND]&lt;br /&gt;
* make the site-position be [APPOINTED_BY] the landholder and/or the monarch&lt;br /&gt;
* give landholder and site-position [REJECTED_CREATURE]&lt;br /&gt;
* Let the monarch live at your site when succession could happen.&lt;br /&gt;
* Let the site-position be [REPLACED_BY] the landholder.&lt;br /&gt;
&lt;br /&gt;
==Nomination==&lt;br /&gt;
&lt;br /&gt;
The player is able to nominate a unit to become the LAND_HOLDER, but this only works with units of [LAND_HOLDER] level 1. The player can select all units, only limited by the PRECEDENCE of the current units' positions.&lt;br /&gt;
&lt;br /&gt;
A unit that has a position with a PRECEDENCE lower or equal to that of the landholder's position, cannot be selected. This means that a baron (or count) from another site or the monarch cannot be selected, because their precedence is lower or equal. &lt;br /&gt;
&lt;br /&gt;
The GENDER  token does not work here: also units with the wrong gender (sorry) can be selected.&lt;br /&gt;
&lt;br /&gt;
==Levels==&lt;br /&gt;
In mods, up to 10 levels of LAND_HOLDER may be defined. &lt;br /&gt;
&lt;br /&gt;
If a landholder is replaced by a wrong landholder number (1 replaced by 3), then the number 3 is still correctly attached to the settlement. &lt;br /&gt;
&lt;br /&gt;
If the current landholder has the highest available landholder number, then the next elevation will not happen - the diplomat will not elevate your fortress to a higher position, even if that position might be REPLACED_BY a lower landholder. &lt;br /&gt;
&lt;br /&gt;
These chains do work:&lt;br /&gt;
* 1 -&amp;gt; 2a - &amp;gt; 2b -&amp;gt; 3&lt;br /&gt;
* 1 -&amp;gt; 3 -&amp;gt; 2 -&amp;gt; 4&lt;br /&gt;
&lt;br /&gt;
These chains do not work:&lt;br /&gt;
* 2 -&amp;gt; 3 (need to start at 1)&lt;br /&gt;
* 1 -&amp;gt; 4 -&amp;gt; 2 -&amp;gt; 3 (stops after 4 as the highest)&lt;br /&gt;
* 1a -&amp;gt; 2, 1b -&amp;gt; 2 (only 1a and 2 work, 1b is not used)&lt;br /&gt;
&lt;br /&gt;
==Moving landholders==&lt;br /&gt;
&lt;br /&gt;
It may happen that a land-holder no longer lives at the site which they are the landholder of, specifically when the current landholder dies, leaving the title to an heir living somewhere else. &lt;br /&gt;
&lt;br /&gt;
To prevent this from happening, you can make their succession from heir and make sure that their kids live at your site. Or, you can make their position succeeded by another civ position, and make it so that this civ position is somehow available on your site. But if multiple of these positions exist, it cannot be guaranteed that a citizen of your fortress will inherit the title. &lt;br /&gt;
&lt;br /&gt;
In world gen, a landholder lacking the DUTY_BOUND-token will also move to the site they like, according to legends mode.&lt;br /&gt;
&lt;br /&gt;
==Replacement by a generic civ-position==&lt;br /&gt;
&lt;br /&gt;
If a landholder is replaced by an AS_NEEDED non-landholder civ-position, then this will work: the current landholder loses that title upon settlement-elevation and gains that civ-title. However, the civ-title lacks the landholder-property of being attached to the land. It will not show the name of the settlement alongside the position's name. So no &amp;quot;minister of Shovelmounts&amp;quot;&lt;br /&gt;
&lt;br /&gt;
If a landholder is replaced by a general AS_NEEDED civ-position, that itself is also replaced by a generic AS_NEEDED civ-position, then firstly the elevation is executed and also the unit gains that new position. However, he immediately loses it, because an AS_NEEDED position that is replaced by another position can be filled initially, but units wont be able to hold that title.&lt;br /&gt;
&lt;br /&gt;
==Landholder with fixed number==&lt;br /&gt;
&lt;br /&gt;
A landholder's position that has a fixed number will be created and filled directly when the civilisation is born, so this position slot is then not available for the regular landholder-mechanic and will also not be used. That landholder will thus not be attached to a settlement. &lt;br /&gt;
&lt;br /&gt;
It doesn't matter if the landholder's position is connected to the regular landholder's-chain with the REPLACE_BY token.&lt;br /&gt;
&lt;br /&gt;
==Responsibilities==&lt;br /&gt;
&lt;br /&gt;
When given a certain [RESPONSIBILITY], a landholder may function as a regular civ-level noble. If the position has [TRADE] or [OUTPOST_NEGOTIATING] responsibilities, then the landholder functions both as a diplomat and as an actual land holder. A landholder with the [MILITARY_STRATEGY]  responsibility will travel around taming creatures in world-gen, according to legends mode. &lt;br /&gt;
&lt;br /&gt;
Besides that, the responsibilities work the same as with any other on-site living position-holder, civ or otherwise.&lt;br /&gt;
&lt;br /&gt;
=Military=&lt;br /&gt;
==Squad management==&lt;br /&gt;
In the vanilla game, the Squad interface only becomes available after a militia commander has been appointed. Until then, the window displays:{{DFtext|You must appoint somebody first to create a squad.}}&lt;br /&gt;
&lt;br /&gt;
What’s surprising is how this is determined internally. In the entity raw definition, '''only the last two positions that include a [SQUAD] token are checked''' to decide whether the interface is accessible at all. As a result, if your hierarchy defines commanders A through E, appointing '''Commander D or E''' unlocks squad formation, while appointing A–C does nothing.&lt;br /&gt;
&lt;br /&gt;
In other words, squad availability is not tied to ''having a militia commander'', but to ''which specific positions happen to be last in the raw list''—a notably hacky implementation.&lt;br /&gt;
&lt;br /&gt;
These 'last two' are always the last two '''available positions.''' So if they get [REPLACED_BY] or become available because of [REQUIRES_POPULATION], the game adapts to those.&lt;br /&gt;
&lt;br /&gt;
==Squad assignment==&lt;br /&gt;
&lt;br /&gt;
Squads can be assigned, even if the leader position has no holder.&lt;br /&gt;
&lt;br /&gt;
A specific unit can only have one position associated with a squad. If it gains another 'squad holding position', it is unassigned from the first one. This does not work with a 0-squad, so only 1+squads are taken into consideration. This technique can possibly be used to distribute all positions equally among all citizens. It does however not work with election and assumption. &lt;br /&gt;
&lt;br /&gt;
If a civ-level position is associated with a squad and it gets a site-level squad-holding position assigned, it loses the current civ-position. &lt;br /&gt;
&lt;br /&gt;
Squads can get really messed up, if you make the position (or multiple) either elected or not-elected and not-appointed, then this can cause the game to assign multiple squads to the same unit. Automatic assignment and election does not take squads into account, but the nobles screen does. This can cause the positions to be cleared as the game figures out that they have more than one position, and immediately get elected or assumed again. &lt;br /&gt;
&lt;br /&gt;
Positions that cannot have a squad-position:&lt;br /&gt;
* A site- or civ-position with a [SUCCESSION] token cannot be appointed a squad-holding-position. The other way around, however, does work. For example, if a site-position with a [SUCCESSION]-token is appointed to a unit that has already a position with [SQUAD]. But when that squad position is assigned to another unit, it cannot be assigned back. &lt;br /&gt;
* A position with [SUCCESSION] can also not be assigned as a '''member''' of a squad.&lt;br /&gt;
* A squad-holding position with a formed squad cannot be appointed to another squad holding position.&lt;br /&gt;
&lt;br /&gt;
If a position has at least one squad member, it cannot be left vacant. First, the squad has to be disbanded, then the position may be cleared.&lt;br /&gt;
&lt;br /&gt;
==0-squads==&lt;br /&gt;
A 0-Squad is defined in a position as [SQUAD:0:member:members]. It does not seem to do anything useful as of now.&lt;br /&gt;
* It cannot be used to activate the [[Squad|military interface]]&lt;br /&gt;
* It does not restrict the assignment of [SUCCESSION] positions.&lt;br /&gt;
* Assigning this position does not clear any previously held squad position.&lt;br /&gt;
* The [[Leader]] and [[Tactician]] skill are not marked as relevant skills and are not taken into account in elections.&lt;br /&gt;
* It cannot be formed as a squad.&lt;br /&gt;
&lt;br /&gt;
=Further testing=&lt;br /&gt;
The following questions may need additional testing. Feel free to add or answer&lt;br /&gt;
* Everything regarding COMMANDING and army-structure&lt;br /&gt;
** [http://www.bay12forums.com/smf/index.php?topic=175437.msg8331668#msg8331668]&lt;br /&gt;
** [http://www.bay12forums.com/smf/index.php?topic=165213.msg8335682#msg8335682]&lt;br /&gt;
** [http://www.bay12forums.com/smf/index.php?topic=174584.msg8026854#msg8026854]&lt;br /&gt;
* Everything regarding CONQUERED_SITE, but it is presumably just like site. But what if you combine SITE or LAND_HOLDER with it?&lt;br /&gt;
* Stuff about the monarch, its arrival and its entourage.&lt;br /&gt;
&lt;br /&gt;
=Oddities (Bugs)=&lt;br /&gt;
Almost everything on this page could be called an oddity. Because of their unexpected usability, some may also be referred to as “undocumented features.” Others, however, are simply odd and not particularly useful, yet I hesitate to call them “bugs.”&lt;br /&gt;
* If a certain threshold is reached that makes an elected position electable, and the triggering event that initiates this evaluation is an assumption, then the resulting assumption is also referred to in the messages as an election&lt;br /&gt;
&lt;br /&gt;
=Examples=&lt;br /&gt;
&lt;br /&gt;
===The Founder===&lt;br /&gt;
The founder is a single dwarf, appointed at embark. They will be the only one ever to have this position and are not replaceable. When they lose their position some way, the position will not be assumed by another dwarf. &lt;br /&gt;
{{gamedata|title=The Founder|&lt;br /&gt;
[POSITION:THE_FOUNDER]&lt;br /&gt;
	[NAME:the founder:founders]&lt;br /&gt;
	[NUMBER:1] &lt;br /&gt;
	[SITE]&lt;br /&gt;
	[ALLOWED_CREATURE:DWARF:ALL]		- will only be filled at embark, but not assumable later.&lt;br /&gt;
	[REJECTED_CREATURE:DWARF:ALL]		- will only be filled at embark, but not assumable later.&lt;br /&gt;
	[SUCCESSION:BY_POSITION:THE_FOUNDER]	- not unassignable, also cannot be assigned to a [SQUAD] position.&lt;br /&gt;
	[PRECEDENCE:200] &lt;br /&gt;
	Non APPOINTED_BY&lt;br /&gt;
	Non ELECTED&lt;br /&gt;
	Optional: Add responsibilities to make the game select a unit with certain skills.&lt;br /&gt;
}}&lt;br /&gt;
===Marriage bar===&lt;br /&gt;
Dwarven matrons are held in great honour. Upon marriage, a female dwarf is no longer expected to perform menial labour. All dwarven males hold this position by default, granting their spouses exemption from menial work.&lt;br /&gt;
&lt;br /&gt;
The position becomes available with the arrival of the first migrants; otherwise, on embark, it would be assumed by females. Its succession rule is non-functional, but this prevents the player from unassigning the position. A squad size of 1 and the succession rules together prevent a unit from assuming the position more than once.&lt;br /&gt;
&lt;br /&gt;
With precedence set to NONE, the position name is hidden, while LAND_NAME remains visible on the nobles screen. All married females receive the suffix “, Mrs.” and are marked as Nobles.&lt;br /&gt;
&lt;br /&gt;
The practical usefulness of this position is debatable, but it serves as a clear demonstration of several mechanics.&lt;br /&gt;
{{gamedata|title=Mrs. Urist|&lt;br /&gt;
 &lt;br /&gt;
[POSITION:MRS_URIST]	&lt;br /&gt;
	[NUMBER:300]						&lt;br /&gt;
	[SITE]						&lt;br /&gt;
	[ALLOWED_CREATURE:DWARF:MALE]	&lt;br /&gt;
	Not APPOINTED_BY				&lt;br /&gt;
	Not ELECTED&lt;br /&gt;
	[LAND_NAME:Dwarven male]				&lt;br /&gt;
	[NAME:dwarven male:dwarven male]&lt;br /&gt;
	[PRECEDENCE:NONE]					&lt;br /&gt;
	[SPOUSE_FEMALE:, Mrs.:spouses]&lt;br /&gt;
	[MENIAL_WORK_EXEMPTION_SPOUSE]&lt;br /&gt;
	[REQUIRES_POPULATION:8]			&lt;br /&gt;
	[SUCCESSION:BY_POSITION:MONARCH]&lt;br /&gt;
	[SQUAD:1:member:members]&lt;br /&gt;
}}&lt;br /&gt;
===The Archduke===&lt;br /&gt;
The archduke is the leader of the civilization, but exists only from landholder 4-level. Until then, its position remains vacant. When a settlement is elevated to tier 4 (grand duke), the grand duke can appoint the ruler of the civilisation, the archduke. Because of 'Premature Succession', they themself inherit that position immediately, but only when in fortress mode. Its heir then becomes grand duke.&lt;br /&gt;
{{gamedata|title=The Archduke| no POSITION:MONARCH or other PRECEDENCE:1 &lt;br /&gt;
&lt;br /&gt;
[POSITION:THE_ARCHDUKE]&lt;br /&gt;
	[NAME:archduke:archdukes]&lt;br /&gt;
	[NAME_MALE:archduke:archdukes]&lt;br /&gt;
	[NAME_FEMALE:archduchess:archduchesses]&lt;br /&gt;
	[LAND_NAME:a archduchy]&lt;br /&gt;
	[NUMBER:1] &lt;br /&gt;
	[PRECEDENCE:1] &lt;br /&gt;
	[SUCCESSION:BY_POSITION:GRAND_DUKE]	&lt;br /&gt;
	[APPOINTED_BY:GRAND_DUKE]&lt;br /&gt;
	(add additional monarch-stuff, like spouse name, demands etc.)&lt;br /&gt;
	&lt;br /&gt;
[POSITION:GRAND_DUKE]&lt;br /&gt;
	[NAME:grand duke:grand dukes]&lt;br /&gt;
	[NAME_MALE:grand duke:grand dukes]&lt;br /&gt;
	[NAME_FEMALE:grand duchess:grand duchesses]&lt;br /&gt;
	[NUMBER:AS_NEEDED] &lt;br /&gt;
	[LAND_HOLDER:4]&lt;br /&gt;
	// Optional ...&lt;br /&gt;
	[PRECEDENCE:19]	&lt;br /&gt;
	[LAND_NAME:a archduchy] &lt;br /&gt;
	[RESPONSIBILITY:LAW_MAKING]&lt;br /&gt;
	[RESPONSIBILITY:RECEIVE_DIPLOMATS]&lt;br /&gt;
	[SUCCESSION:BY_HEIR]&lt;br /&gt;
	[APPOINTED_BY:THE_ARCHDUKE]&lt;br /&gt;
	(add additional landholder-stuff)&lt;br /&gt;
&lt;br /&gt;
!!add to [POSITION:DUKE]&lt;br /&gt;
	[REPLACED_BY:GRAND_DUKE]&lt;br /&gt;
&lt;br /&gt;
}}&lt;br /&gt;
{{Category|Modding}}&lt;br /&gt;
{{Category|Entities}}&lt;br /&gt;
{{Category|Guides}}&lt;/div&gt;</summary>
		<author><name>Joostheger</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=Talk:Variable_positions&amp;diff=314953</id>
		<title>Talk:Variable positions</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=Talk:Variable_positions&amp;diff=314953"/>
		<updated>2026-02-12T14:52:08Z</updated>

		<summary type="html">&lt;p&gt;Joostheger: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;----Hi! nice work so far!&lt;br /&gt;
A few points:&lt;br /&gt;
* I really wonder where the differences between human and goblins are coming from. Do you have any idea? I almost know for sure that the difference in MARKET-positions is because of humans have the CITY- type in DEFAULT_SITE_TYPE. But the others, I dont know. perhaps because of their values or ethics?&lt;br /&gt;
* There is a lot of vague language in this article ('Some religious entities(...)', which ones?), but also to much certainty, at places :-) . I would suggest to make it more tight. ChatGPT or another text AI can be of good use there, to remove any ambiguity&lt;br /&gt;
* The number of -1 is very strange to me, because this is an invalid value when writing raws for entities. Do you have any idea what the circumstances are for these positions? I see for example with the priests. Can it be that PRIEST is REPLACED_BY HIGH_PRIEST and also by highest priest? In that case, number -1 means: &amp;quot;currently replaced&amp;quot;. It should not have a current holder. For example, can you check a site with a mayor, does the expedition leader has -1? in that case, its caused by replacement. &lt;br /&gt;
* Landholders are a strange bunch, I'm curious if you find out anything about those!&lt;br /&gt;
[[User:Joostheger|Joostheger]] ([[User talk:Joostheger|talk]]) 12:22, 12 February 2026 (UTC)&lt;br /&gt;
&lt;br /&gt;
Thank you.&lt;br /&gt;
* Not sure. The thing is even if the goblins do overtake another site, no market officials will be created. So it is more likely an ethics or values thing. The same for the reduced number of different officials.&lt;br /&gt;
* Well no. And the thing about &amp;quot;Some religious entities&amp;quot; in that case is, that some religious entities do not have any positions (eg. due to no variable position being created during world gen for these religious entities), but all of these entities (with no positions) will probably not create an abbot (CUSTOM_LAW_MAKER), but priest and so on (if the world-gen could/would be restarted). But without checking all religious entities without positions in detail, it might be that in some cases an religious entity (which could create an abbot) does not have a position at the end of world gen. So while there is from one perspective some ambiguity, from another perspective it is very precise.&lt;br /&gt;
* The number -1 means that it is unlimited, meaning for that position an unlimited amount of assignments can be created.&lt;br /&gt;
* No there is no replacement between the priest. Look at the responsibilities for priest and the others. Also the highest priest is capped at one (ie. like the pope), while their is an unlimited number of high priests possible (like cardinals or bishops).&lt;br /&gt;
* So far all entries in the variable position were empty. So it seems that neither humans nor goblins are landholders. And I still need a little bit more familiarity with Lua, for a few more complicated scripts (which also correctly query the different abstract building types).&lt;br /&gt;
&lt;br /&gt;
In general some info is still missing. And also I am in a few cases not sure yet, what exactly is the case, so some ambiguity might also stem from that. Only at the last step I will try to remove (unneccessary) ambiguity.&lt;br /&gt;
&lt;br /&gt;
ps. At some point the commented out text passages should be removed (deleted), but if I would try to do it, it will be detected as possibly harmful and not be allowed.[[Special:Contributions/91.49.240.46|91.49.240.46]] 13:15, 12 February 2026 (UTC)&lt;br /&gt;
----&lt;br /&gt;
* Ok ill help you remove the commented lines, but you really should create an account :-)&lt;br /&gt;
* The number unlimited is written in the raws as AS_NEEDED. is that correct? If you, i'll suggest to replace the -1 with AS_NEEDED, to make that consistent with other positions and understandability&lt;br /&gt;
* I dont think you'll find any other landholders by the way. I think it isnt in variable positions to have that. Landholders arent also neccesary to let the game run and simulate an interesint world, while these variable positions are.&lt;br /&gt;
[[User:Joostheger|Joostheger]] ([[User talk:Joostheger|talk]]) 14:52, 12 February 2026 (UTC)&lt;/div&gt;</summary>
		<author><name>Joostheger</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=Talk:Variable_positions&amp;diff=314944</id>
		<title>Talk:Variable positions</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=Talk:Variable_positions&amp;diff=314944"/>
		<updated>2026-02-12T12:22:35Z</updated>

		<summary type="html">&lt;p&gt;Joostheger: Created page with &amp;quot;----Hi! nice work so far! A few points: * I really wonder where the differences between human and goblins are coming from. Do you have any idea? I almost know for sure that th...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;----Hi! nice work so far!&lt;br /&gt;
A few points:&lt;br /&gt;
* I really wonder where the differences between human and goblins are coming from. Do you have any idea? I almost know for sure that the difference in MARKET-positions is because of humans have the CITY- type in DEFAULT_SITE_TYPE. But the others, I dont know. perhaps because of their values or ethics?&lt;br /&gt;
* There is a lot of vague language in this article ('Some religious entities(...)', which ones?), but also to much certainty, at places :-) . I would suggest to make it more tight. ChatGPT or another text AI can be of good use there, to remove any ambiguity&lt;br /&gt;
* The number of -1 is very strange to me, because this is an invalid value when writing raws for entities. Do you have any idea what the circumstances are for these positions? I see for example with the priests. Can it be that PRIEST is REPLACED_BY HIGH_PRIEST and also by highest priest? In that case, number -1 means: &amp;quot;currently replaced&amp;quot;. It should not have a current holder. For example, can you check a site with a mayor, does the expedition leader has -1? in that case, its caused by replacement. &lt;br /&gt;
* Landholders are a strange bunch, I'm curious if you find out anything about those!&lt;br /&gt;
[[User:Joostheger|Joostheger]] ([[User talk:Joostheger|talk]]) 12:22, 12 February 2026 (UTC)&lt;/div&gt;</summary>
		<author><name>Joostheger</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=Variable_positions&amp;diff=314942</id>
		<title>Variable positions</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=Variable_positions&amp;diff=314942"/>
		<updated>2026-02-12T12:10:26Z</updated>

		<summary type="html">&lt;p&gt;Joostheger: fixed wrong collumns /* Bandits */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Quality|Fine}}&lt;br /&gt;
{{Modding}}&lt;br /&gt;
{{stub}}&lt;br /&gt;
This page documents the variable positions that entities create when neccesary. This is - in vanilla - the case for [[human]] and [[goblin]] [[Civilization|civilizations]], but also for merchants' companies, guilds, mercenary groups, [[Religion|religious groups]] and [[Criminal|criminal]]s.&lt;br /&gt;
&lt;br /&gt;
= Introduction = &lt;br /&gt;
Initially none of the positions marked as variable do exist for an entity. The positions will only exist for a given entity, if they are either created during world-gen, world activities(?) or by memory hacking or scripting (ie. with Lua). Ie. in vanilla all human civilizations have at the beginning of the world-generation no positions at all, neither on the site nor civ level, as all positions of the vanilla human civs are marked as variable (variable positions: all). When a variable (civ level) position is created, the position is only created for that civilization (entity) and not for any other entities of the same type. Ie. the creation of a law-giver for one human civ does not create law-givers for other human civs.&lt;br /&gt;
&lt;br /&gt;
Also presumably all site-level positions for each entity are created on a per site basis, meaning the creation of a site ruler for one site (of a civ) does not also create the site ruler positions for any other site (of that civ).&lt;br /&gt;
&lt;br /&gt;
The existence of a variable position does not mean that the position will also be filled by a historical figure. But during world-gen the creation of a position will usually be followed up with the position being filled. Ie. the human historical figure who forced the creation of a law-giver position, will usually become the first law-giver.&lt;br /&gt;
&lt;br /&gt;
For the succession rules of a variable position (after the position has been initially filled by a historical figure), presumably, the same rules as for non-variable positions apply.&lt;br /&gt;
&lt;br /&gt;
(Disclaimer: The following only applies during world-gen and normal world activities. Scripting and memory hacking can circumvent the normal limitations, but with currently unknown results).&lt;br /&gt;
&lt;br /&gt;
For civ level entities, if the law-giving position is a variable position, the law-giving position does not (seem to) have any further requirements to be created (ie. no other position being already created). Ie. this position can be created by force (or popular support etc.) by any historical figure of that civ. But for all other variable (civ-level) positions the law-giving position must exist as usually the historical figure, who is the law-giver, does create the other variable positions (for various reason).&lt;br /&gt;
&lt;br /&gt;
Something similar is probably the case for site level positions. Ie. if the ruler of a site is a variable position, that position needs to be created, before any other site-level variable positions can be created. And the site ruler can afterwards create other variable positions for that site. It is not yet clear if a site level ruling position can be created before a civ level ruling (law-giving) position is created (or exists). This also means that it should be possible, via memory-hacking or scripting, to create (and fill) the variable site level positions (for a player site), at least after the civ level law-giving position has been created (and the law-giving position has been filled), so that a human player site gets the maximum possible human site level positions (with the normal appointment rules for the succession/reappointment of the positions), without having to edit the raw files (as outlined in the human civ page), prior to creating a world, to make the variable positions of human civilisations to &amp;quot;static&amp;quot; ones.&lt;br /&gt;
&lt;br /&gt;
Presumably for guilds (Merchant Guild and others), mercenary groups, religious orders (and criminals) also a &amp;quot;leader&amp;quot; position needs to be created by a historical figure, before other variable positions for that entity can be created.&lt;br /&gt;
&lt;br /&gt;
== General Info ==&lt;br /&gt;
So far, no restrictions on allowed_class or allowed_creature have been found and also the rejected_creature and rejected_class entries are always empty. Squad_size is 0, except when a variable position (in the following sections) explictly states otherwise (ie. squad size for CUSTOM_BANDIT_LEADER, CUSTOM_LAW_MAKER and CUSTOM_LAW_MAKER_2 is 20). Also most other entries (of entity_position entry under &amp;quot;own&amp;quot;) not mentioned in their section have standard values (ie. are empty). The best_appointment_precedence of all positions is 30001. Also the execution skill is always set to &amp;quot;-1&amp;quot; even for the CUSTOM_OFFICIAL_9, whose sole responsiblity is executions.&lt;br /&gt;
&lt;br /&gt;
Also variable positions are usually only created (with the exception, if they replace another position), if the position will have at least one responsibility the already created (existing) positions for that entity does not have, regardless of whether there are any more prerequisites for a variable position to be created.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Commented out: Naming is mentioned elsewhere.&lt;br /&gt;
If the naming of a variable position is also variable, then the name has usually two parts and at least one part of the name has a few different possibilities defined (although one part might allow for an empty string, ie. name is only &amp;quot;chamberlain&amp;quot;, whereas another possible name would be &amp;quot;high chamberlain&amp;quot;). For some positions that are ie. &amp;quot;high&amp;quot;, &amp;quot;chief&amp;quot; and &amp;quot;head&amp;quot; for the first part (of a site variable position) or it might be &amp;quot;harvest&amp;quot; and &amp;quot;grain&amp;quot; (the later used for the official with the food supply responsibility). For some positions the list for the second part contains at least the words &amp;quot;administrator&amp;quot;, &amp;quot;official&amp;quot; and &amp;quot;commissioner&amp;quot;. But some variable positions have static names (fixed, possibly hardcoded and thus only ie. by raw-editing - or similiar editing after world-gen - changeable in-game displayed position names). Also in the variable naming-case a different subset of parts might be used for site government and civ government positions (ie. &amp;quot;royal&amp;quot; being reserved for civ government positions). The defined possibilities for the first and second part might be hardcoded or be defined somewhere in the raw files (investigation needed). --&amp;gt;&lt;br /&gt;
&amp;lt;!-- Commented out: No longer needed. Content has been moved in own section.&lt;br /&gt;
== Variable Civilization Government Positions ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== CUSTOM_OFFICIAL_1 ===&lt;br /&gt;
So far, two different names have been found, but in contrast to the other variable (CUSTOM_OFFICIAL) positions so far, the responsibilities are not fixed. The names are &amp;quot;Chancellor&amp;quot; and &amp;quot;Keeper of the Seal&amp;quot;. The responsibilities of the &amp;quot;Keeper of the Seal&amp;quot; were receive_diplomats, make_introductions and make_topic_agreements. The Chancellor additionally had espionage as responsibility.&lt;br /&gt;
&lt;br /&gt;
Shared values:&lt;br /&gt;
Standard_official_flags, standard color entry,&lt;br /&gt;
precedence: 20; number: 1, max mandates: 2; max demands: 3&lt;br /&gt;
best_appointment_precedence: 30001&lt;br /&gt;
&lt;br /&gt;
=== CUSTOM_OFFICIAL_2 (Justiciar) ===&lt;br /&gt;
Name found so far: chief justiciar.&lt;br /&gt;
responsibilities: law_enforcement, collect_taxes&lt;br /&gt;
precedence: 60 ; number: 1; max mandates: 2; max demands: 3;&lt;br /&gt;
best_appointment_precedence: 30001&lt;br /&gt;
&lt;br /&gt;
=== CUSTOM_OFFICIAL_3 (Treasurer) ===&lt;br /&gt;
Names found so far: chief/head/high treasurer.&lt;br /&gt;
As CUSTOM_OFFICIAL_3 of a site government (only difference: appointed by position 0 of the civ).&lt;br /&gt;
&lt;br /&gt;
=== CUSTOM_OFFICIAL_4 (Advisor) ===&lt;br /&gt;
Names found so far: chief/head advisor, chief/head/high/royal counselor.&lt;br /&gt;
As CUSTOM_OFFICIAL_4 of a site government (only difference: appointed by position 0 of the civ).&lt;br /&gt;
&lt;br /&gt;
=== CUSTOM_OFFICIAL_5 (Chamberlain) ===&lt;br /&gt;
Names found so far: Chamberlain, head/high chamberlain.&lt;br /&gt;
As CUSTOM_OFFICIAL_5 of a site government (only difference: appointed by position 0 of the civ).&lt;br /&gt;
&lt;br /&gt;
=== CUSTOM_OFFICIAL_6 (Master of Beasts) ===&lt;br /&gt;
Name always: Master of Beasts.&lt;br /&gt;
As CUSTOM_OFFICIAL_6 of a site government (only difference: appointed by position 0 of the civ).&lt;br /&gt;
&lt;br /&gt;
=== CUSTOM_OFFICIAL_7 (Cup-bearer) ===&lt;br /&gt;
Name found so far: chief cup-bearer.&lt;br /&gt;
Responsibilities: manage_leader_household_food, manage_leader_household_drinks&lt;br /&gt;
Standard_official_flags, standard color entry,&lt;br /&gt;
precedence: 300; number: 1; no demands/mandates;&lt;br /&gt;
best_appointment_precedence: 30001&lt;br /&gt;
&lt;br /&gt;
=== CUSTOM_OFFICIAL_8 (Doctor) ===&lt;br /&gt;
Name found so far: head doctor.&lt;br /&gt;
Responsibilities: health_management&lt;br /&gt;
Standard_official_flags, standard color entry,&lt;br /&gt;
precedence: 310; number: 1; no demands/mandates;&lt;br /&gt;
best_appointment_precedence: 30001&lt;br /&gt;
&lt;br /&gt;
=== CUSTOM_OFFICIAL_9 (Executioner) ===&lt;br /&gt;
Names found so far: royal/head/high/chief executioner.&lt;br /&gt;
Otherwise as CUSTOM_OFFICIAL_9 of a site government (only difference: appointed by position 0 of the civ).&lt;br /&gt;
&lt;br /&gt;
=== CUSTOM_OFFICIAL_10 (Chef) ===&lt;br /&gt;
Name found so far: high chef.&lt;br /&gt;
Responsibilities: PREPARE_LEADER_MEALS&lt;br /&gt;
Standard_official_flags, standard color entry,&lt;br /&gt;
precedence: 330; number: 1;  no demands/mandates;&lt;br /&gt;
best_appointment_precedence: 30001&lt;br /&gt;
&lt;br /&gt;
=== CUSTOM_OFFICIAL_11 (Housekeeper) ===&lt;br /&gt;
Names found so far: royal/chief/head/high housekeeper.&lt;br /&gt;
Otherwise as CUSTOM_OFFICIAL_11 of a site government (only difference: appointed by position 0 of the civ).&lt;br /&gt;
&lt;br /&gt;
=== CUSTOM_MILITARY_STRATEGY (Marshall) ===&lt;br /&gt;
Name found so far: Marshall.&lt;br /&gt;
responsibilities: military strategy&lt;br /&gt;
standard color entry.&lt;br /&gt;
precedence: 50; number: 1; max mandates: 2; max demands: 3;&lt;br /&gt;
best_appointment_precedence: 30001&lt;br /&gt;
Flags (additionally to standard_official_flags): flashes, brag_on_kill, chat_worthy, kill_quest, account_exempt, punishment_exemption, quest_giver, special_burial.&lt;br /&gt;
&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&amp;lt;!-- Commented out: No longer needed.&lt;br /&gt;
== Variable Site Government Positions ==&lt;br /&gt;
The initial CUSTOM_LAW_MAKER positions is normally not appointed by the law-giver of the civilization and in thtat case the historical figure occupying it is called &amp;quot;lord&amp;quot; (if male) and &amp;quot;lady&amp;quot; (if female). Only in the rare cases, where the CUSTOM_LAW_MAKER was appointed by the law-giver of the civ, the CUSTOM_LAW_MAKER is called &amp;quot;baron&amp;quot; instead (and no CUSTOM_LAW_MAKER_2 position will be created later on). If a law-giver of the civilization exists, then the lord of a site (leader of a site government) can be replaced by a CUSTOM_LAW_MAKER_2. The law-giver of the civilization appoints the CUSTOM_LAW_MAKER_2. The CUSTOM_LAW_MAKER_2 is (at least in case of the so far checked human civ) always called baron (if male) or baronness (if female). If a CUSTOM_LAW_MAKER_2 position has been created the flag &amp;quot;active&amp;quot; (of the original CUSTOM_LAW_MAKER position) is set to false and the flag &amp;quot;has_been_replaced&amp;quot; is set to true. The position of the CUSTOM_LAW_MAKER is always the next_position_id of the civ (either at the time of creation of the CUSTOM_LAW_MAKER position for the site or the time of creation of the site government). The creation of a variable position (for a site government) always increments the next_position_id by 1 (and also increases next_assignment_id by 1, which is always on creation of an entity with all variable positions and thus no positions existing on creation of the entity initialized to 0).&lt;br /&gt;
&lt;br /&gt;
Regardless of whether a lord/lady has been upgraded to a baron/baroness other variable positions (both CUSTOM_OFFICIALS_i and CUSTOM_MARKET_OFFICIALS_i, where i stands for a non-zero natural number) can be created in any order. These other positions are then always appointed by the lord (or baron) of the site. In case the position has been created before a lord has been upgraded to a baron the appointed_by and appointed_by_civ (in the position definition) refer to the position of the lord (and are not updated to point to the CUSTOM_LAW_MAKER_2 position, when it gets created). In case the positions are created after a lord has been elevated to a baron the appointed_by and appointed_by_civ (in the position definition) refer to the position of the baron.&lt;br /&gt;
&lt;br /&gt;
NOTE (further research needed): It seems as if CUSTOM_MARKET_OFFICIAL_I can only be created if the site (ruled by the site government) has a market (abstract_building_marketst). It is not clear whether an additional prerequisite for the upgrading to the CUSTOM_LAW_MAKER_2 exists, ie. if the ruled site does need to have a keep (abstract_building_keepst). Furthermore so far it seems that only CUSTOM_OFFICIAL_I can be created for a site, if the civ has also (already) created the CUSTOM_OFFICIAL_I position.&lt;br /&gt;
&lt;br /&gt;
Note: The historical figure currently holding the position of a CUSTOM_LAW_MAKER (or CUSTOM_LAW_MAKER_2) of a site government has (often/usually) under histfig_site_links an entry of the type histfig_site_link_seat_of_powerst (which points to the site belonging to the site government, ie. &amp;quot;site&amp;quot; has the id of the site and &amp;quot;entity&amp;quot; has the id of the entity as values).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
(Note: the following subsections might need moving into a wiki table).&lt;br /&gt;
So far the following CUSTOM_OFFICIAL_i and CUSTOM_MARKET_OFFICIAL_i (for site governments) have been found (except for the position_id, appointed_by, appointed_by_civ and name entries the values for CUSTOM_OFFICIAL_i are usually the same for civ positions and site government positions):&lt;br /&gt;
&lt;br /&gt;
=== CUSTOM_OFFICIAL_1 (Chancellor/Keeper of the Seal) ===&lt;br /&gt;
The name is variable. Both Chancellor and Keeper of the Seal are used, with a possible additional word from the list &amp;quot;high&amp;quot;, &amp;quot;head&amp;quot; and &amp;quot;chief&amp;quot; as prefix, ie. &amp;quot;high chancellor&amp;quot; or &amp;quot;chief keeper of the seal&amp;quot;.&lt;br /&gt;
Only responsibility is espionage, the additional responsibilities of the Chancellor/Keeper of the Seal are lost (ie. still performed by the Lord/Baron of the site and not outsourced to the chancellor). The rest is as the CUSTOM_OFFICIAL_1 of the civ.&lt;br /&gt;
&lt;br /&gt;
=== CUSTOM_OFFICIAL_2 (Justiciar) ===&lt;br /&gt;
The name is &amp;quot;justiciar&amp;quot;, allthough an additional word as prefix has so far only been found on the civ level, it can be assumed that &amp;quot;high&amp;quot;, &amp;quot;head&amp;quot; and &amp;quot;chief&amp;quot; are possible prefix words.&lt;br /&gt;
Difference to CUSTOM_OFFICIAL_2 on the civ level (except for the standard differences): Only responsibility: Collect taxes.&lt;br /&gt;
Meaning law enforcement is still performed by the CUSTOM_LAW_MAKER (CUSTOM_LAW_MAKER_2) of the site government.&lt;br /&gt;
&lt;br /&gt;
=== CUSTOM_OFFICIAL_3 (treasurer) ===&lt;br /&gt;
The name is variable. Always the word &amp;quot;treasurer&amp;quot; is used, with &amp;quot;high&amp;quot;, &amp;quot;chief&amp;quot; or &amp;quot;head&amp;quot; as prefix.&lt;br /&gt;
The other entries of the CUSTOM_OFFICIAL_3 are fixed (except the position_id, appointed_by and appointed_by_civ entries - see above). The responsibilities are trade and accounting.&lt;br /&gt;
precedence: 70; number: 1; mandates (max): 1; demands (max): 2; &lt;br /&gt;
best_appointment_precedence: 30001 (disclaimer: needs verification, whether this is only the case for the specific world or a general hard-coded value).&lt;br /&gt;
standard custom official flags, which means: &amp;quot;duty_bound&amp;quot;, &amp;quot;has_responsibilities&amp;quot;, &amp;quot;do_not_cull&amp;quot;, &amp;quot;has_met_pop_req&amp;quot;, &amp;quot;color&amp;quot;, &amp;quot;menial_work_exemption&amp;quot;, &amp;quot;has_received_positions&amp;quot;, &amp;quot;active&amp;quot; and &amp;quot;has_met_market_req&amp;quot; set to true.&lt;br /&gt;
standard color entry, which means 0: 5, 1: 0 and 2: 1 (number before the &amp;quot;:&amp;quot; is the index and the number after the &amp;quot;:&amp;quot; is the actual value).&lt;br /&gt;
&lt;br /&gt;
=== CUSTOM_OFFICIAL_4 (advisor) ===&lt;br /&gt;
The name is variable. The second part of the name is either &amp;quot;counselor&amp;quot; or &amp;quot;advisor&amp;quot;. The first part is one of &amp;quot;chief&amp;quot;, &amp;quot;head&amp;quot; and &amp;quot;high&amp;quot;.&lt;br /&gt;
The other entries of the CUSTOM_OFFICIAL_4 are fixed (except the position_id, appointed_by and appointed_by_civ entries - see above). The responsibilites is advise_leaders.&lt;br /&gt;
precedence: 55; number: 1; mandates (max): 1; demands (max): 2; &lt;br /&gt;
best_appointment_precedence: 30001 &lt;br /&gt;
standard custom official flags and standard color entry.&lt;br /&gt;
&lt;br /&gt;
=== CUSTOM_OFFICIAL_5 (Chamberlain) ===&lt;br /&gt;
The name is variable. Always the word &amp;quot;Chamberlain&amp;quot; is used, either without prefix or one of the words &amp;quot;chief&amp;quot;, &amp;quot;head&amp;quot; and &amp;quot;high&amp;quot; as prefix.&lt;br /&gt;
Responsibility: Oversee_leader_household&lt;br /&gt;
precedence: 80; number: 1; demand (max): 1&lt;br /&gt;
best_appointment_precedence: 30001 &lt;br /&gt;
standard custom official flags and standard color entry.&lt;br /&gt;
&lt;br /&gt;
=== CUSTOM_OFFICIAL_6 (Master of beasts) ===&lt;br /&gt;
The name is fixed: &amp;quot;master of beasts&amp;quot; (no &amp;quot;beast tamer&amp;quot; or any other names as alternative). &lt;br /&gt;
The responsibilities are manage_animals and tame_exotics.&lt;br /&gt;
Again the entries, except position_id and appointed_by and appointed_by_civ entries, are fixed.&lt;br /&gt;
precedence: 90; number: 1; mandates (max): 0; demands (max): 1; &lt;br /&gt;
best_appointment_precedence: 30001 &lt;br /&gt;
standard custom official flags and standard color entry.&lt;br /&gt;
&lt;br /&gt;
=== CUSTOM_OFFICIAL_7 (Butler/Cup-bearer) ===&lt;br /&gt;
The name is variable. The second part of the name is either &amp;quot;butler&amp;quot; or &amp;quot;cup-bearer&amp;quot;. The first part is any of &amp;quot;high&amp;quot;, &amp;quot;head&amp;quot; and &amp;quot;chief&amp;quot;.&lt;br /&gt;
Rest as the civ case.&lt;br /&gt;
&lt;br /&gt;
=== CUSTOM_OFFICIAL_8 (Doctor) ===&lt;br /&gt;
The name is variable. Always the word &amp;quot;doctor&amp;quot; is used, with either no prefix or with one of &amp;quot;high&amp;quot;, &amp;quot;head&amp;quot; and &amp;quot;chief&amp;quot;.&lt;br /&gt;
Rest as the civ case.&lt;br /&gt;
&lt;br /&gt;
=== CUSTOM_OFFICIAL_9 (Executioner) ===&lt;br /&gt;
The name is variable. Always the word &amp;quot;executioner&amp;quot; is used, with either &amp;quot;chief&amp;quot;, &amp;quot;head&amp;quot; or &amp;quot;head&amp;quot; as prefix.&lt;br /&gt;
The other entries are fixed (except for the usual exceptions). The responsibilities are, unsurprisingly, executions.&lt;br /&gt;
precedence: 320; number: 1; no mandates or demands&lt;br /&gt;
best_appointment_precedence: 30001 &lt;br /&gt;
standard custom official flags and standard color entry.&lt;br /&gt;
&lt;br /&gt;
=== CUSTOM_OFFICIAL_10 (Chef) ===&lt;br /&gt;
The name is variable. Always the word &amp;quot;chef&amp;quot; is used, with either &amp;quot;chief&amp;quot;, &amp;quot;head&amp;quot; or &amp;quot;head&amp;quot; as prefix.&lt;br /&gt;
Rest as the civ case.&lt;br /&gt;
&lt;br /&gt;
=== CUSTOM_OFFICIAL_11 (Housekeeper) ===&lt;br /&gt;
The name is variable. Always the word &amp;quot;housekeeper&amp;quot; is used, with either &amp;quot;chief&amp;quot;, &amp;quot;head&amp;quot; or &amp;quot;head&amp;quot; as prefix.&lt;br /&gt;
The other entries are fixed (except for the usual exceptions). Responsibility: Cleaning (&amp;quot;MANAGE_LEADER_HOUSEHOLD_CLEANLINESS&amp;quot;).&lt;br /&gt;
precedence: 340; number: 1; no mandates or demands&lt;br /&gt;
best_appointment_precedence: 30001 &lt;br /&gt;
standard custom official flags and standard color entry.&lt;br /&gt;
&lt;br /&gt;
=== CUSTOM_MARKET_OFFICIAL_2 (Food Administrator) ===&lt;br /&gt;
The name is variable. The name seems to be generated by &amp;quot;grain&amp;quot; or &amp;quot;harvest&amp;quot; as first word and one of the words of &amp;quot;commissioner&amp;quot;, &amp;quot;caretaker&amp;quot;, &amp;quot;official&amp;quot; and &amp;quot;administrator&amp;quot; as second word, ie. harvest caretaker.&lt;br /&gt;
Responsibility: food_supply&lt;br /&gt;
precedence: 450; number: 1; demand (max): 1&lt;br /&gt;
best_appointment_precedence: 30001&lt;br /&gt;
standard custom official flags and standard color entry.&lt;br /&gt;
&lt;br /&gt;
=== CUSTOM_MARKET_OFFICIAL_3 ((Unneeded) Fire Safety) ===&lt;br /&gt;
The name is variable. The first word of the name seems to be always &amp;quot;fire&amp;quot; and the second word seems to be one of&lt;br /&gt;
&amp;quot;administrator&amp;quot;, &amp;quot;official&amp;quot; and &amp;quot;commissioner&amp;quot;, allthough not found also &amp;quot;caretaker&amp;quot; might belong to the list (allthough fire caretaker might sound strange). &lt;br /&gt;
Responsibility: fire_safety&lt;br /&gt;
precedence: 475; number: 1; no mandates or demands&lt;br /&gt;
best_appointment_precedence: 30001 &lt;br /&gt;
standard custom official flags and standard color entry.&lt;br /&gt;
&lt;br /&gt;
=== CUSTOM_MARKET_OFFICIAL_4 (Judge) ===&lt;br /&gt;
The name is variable, allthough either judge or magistrate seems to be used as name.&lt;br /&gt;
precedence: 350, number: 1, standard_color_entry,&lt;br /&gt;
standard_official_flags,&lt;br /&gt;
responsibility: judge&lt;br /&gt;
demand (max): 1&lt;br /&gt;
best_appointment_precedence: 30001&lt;br /&gt;
&lt;br /&gt;
=== CUSTOM_MARKET_OFFICIAL_5 ((Unneeded) Building Commissioners) ===&lt;br /&gt;
The name is variable. First word of name is &amp;quot;building&amp;quot; and second word one of administrator, official, commissioner and caretaker. &lt;br /&gt;
Responsibilities: building_safety and construction_permits.&lt;br /&gt;
precedence: 460; number: 1; demand (max): 1&lt;br /&gt;
best_appointment_precedence: 30001&lt;br /&gt;
standard custom official flags and standard color entry.&lt;br /&gt;
&lt;br /&gt;
=== CUSTOM_MARKET_OFFICIAL_6 (Road Caretaker) ===&lt;br /&gt;
The name is variable. First word of name is &amp;quot;road&amp;quot; and the second word one of &amp;quot;administrator&amp;quot;, &amp;quot;commissioner&amp;quot;, &amp;quot;caretaker&amp;quot; (and possible &amp;quot;official&amp;quot;).&lt;br /&gt;
Responsibility: maintain_roads, maintain_bridges and surprisingly maintain_tunnels.&lt;br /&gt;
precedence: 375; number: 1; demand (max): 1&lt;br /&gt;
best_appointment_precedence: 30001&lt;br /&gt;
standard custom official flags and standard color entry.&lt;br /&gt;
&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&amp;lt;!-- Commented out: No longer needed.&lt;br /&gt;
&lt;br /&gt;
== Religious Entities ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
PRIEST:&lt;br /&gt;
elected, duty_bound, has_responsibilities, chat_worthy, do_not_cull, is_leader, is_diplomat, account_exempt, has_met_pop_req, rules_from_location, menial_work_exemption, punishment_exemption, has_received_positions, active, has_met_market_req&lt;br /&gt;
responsibility: religion&lt;br /&gt;
number: -1&lt;br /&gt;
precedence: 200, no mandates/demands&lt;br /&gt;
best_appointment_precedence: 30001&lt;br /&gt;
color entry is variable, ie. (0,0,1), (1,0,1) or (7,0,1), but color entry is the same for all positions of that religious entity.&lt;br /&gt;
&lt;br /&gt;
HIGH_PRIEST:&lt;br /&gt;
is_law_maker, elected, duty_bound, has_responsibilities, flashes, brag_on_kill, chat_worthy, do_not_cull, kill_quest, is_leader, is_diplomat, exported_in_legends, account_exempt, has_met_pop_req, rules_from_location, menial_work_exemption, punishment_exemption, has_received_positions, quest_giver, special_burial, has_met_market_req, active&lt;br /&gt;
responsibilities: law_making, receive_diplomats, make_topic_agreements, religion&lt;br /&gt;
number: -1&lt;br /&gt;
precedence: 50, mandates (max): 2, demands (max): 3&lt;br /&gt;
best_appointment_precedence: 30001&lt;br /&gt;
color entry is variable (see PRIEST)&lt;br /&gt;
&lt;br /&gt;
HIGHEST_PRIEST:&lt;br /&gt;
is_law_maker, elected, duty_bound, has_responsibilities, flashes, brag_on_kill, chat_worthy, do_not_cull, kill_quest, is_leader, is_diplomat, exported_in_legends, account_exempt, has_met_pop_req, rules_from_location, menial_work_exemption, punishment_exemption, has_received_positions, quest_giver, special_burial, has_met_market_req, active&lt;br /&gt;
responsibilities: law_making, receive_diplomats, make_topic_agreements, religion&lt;br /&gt;
number: 1&lt;br /&gt;
precedence: 1, mandates (max). 3, demand (max): 5&lt;br /&gt;
best_appointment_precedence: 30001&lt;br /&gt;
&lt;br /&gt;
== Nomadic Entities (Bandits) ==&lt;br /&gt;
Nomadic entities are usually some kind of bandit groups. The only position they seem to be able to get is the CUSTOM_BANDIT_LEADER, with such illustrous names as Boss, Captain, Chief, Chieftain, Commander, Leader, Master, Overlord, Ringleader or Warlord (and possibly even some more). The CUSTOM_BANDIT_LEADER always has a squad_size of 20 and a precedence of 55. Also no succession is defined. The flags, which are set to true are: is_law_maker, elected, duty_bound, has_responsibilities, flashes, brag_on_kill, chat_worthy, do_not_cull, kill_quest, is_leader, account_exempt, has_met_pop_req, menial_work_exemption, punishment_exemption, has_received_positions, quest_giver and has_met_market_req (and usually also active). Responsibilities are law_making, law_enforcement, receive_diplomats, make_introductions, make_peace_agreements, make_topic_agreements, military_goals and military_strategy. Also the standard color entry is used. And the bandit leader has max mandates 1 and max demands 2. And as always the best_appointment_precedence is 30001. The squad members are always named soldiers (and not bandits).&lt;br /&gt;
&lt;br /&gt;
Values for CUSTOM_BANDIT_LEADER are the same as for the entity of type 7 (outcast).&lt;br /&gt;
&lt;br /&gt;
== Outcast (Bandits, entity type 7) ==&lt;br /&gt;
Possible positions are CUSTOM_BANDIT_LEADER, CUSTOM_OUTCAST_LT, CUSTOM_OUTCAST_FACTOR. The name of the bandit leaders are the same (and possibly also the other variable values) as for the the bandit leader of nomadic groups. The CUSTOM_OUTCAST_LT seems to be always called lieutenant and the custom_outcast_factor seems to be always called representative. (Allthough the sample size is kinda low).&lt;br /&gt;
&lt;br /&gt;
CUSTOM_BANDIT_LEADER&lt;br /&gt;
is_law_maker, elected, duty_bound, has_responsibilities, flashes, brag_on_kill, chat_worthy, do_not_cull, kill_quest, is_leader, account_exempt, has_met_pop_req, menial_work_exemption, punishment_exemption, has_received_positions, active, quest_giver, has_met_market_req&lt;br /&gt;
squad_size: 20&lt;br /&gt;
precedence: 55&lt;br /&gt;
number: 1&lt;br /&gt;
responsibilities: law_making, law_giving, receive_diplomats, make_introductions, make_peace_agreements, make_topic_agreements,&lt;br /&gt;
military_goals, military_strategy&lt;br /&gt;
mandate_max: 1; demand_max: 2; default_color_entry&lt;br /&gt;
best_appointment_precedence: 30001&lt;br /&gt;
&lt;br /&gt;
CUSTOM_OUTCAST_LT&lt;br /&gt;
duty_bound, has_responsibilities, do_not_cull, is_leader, has_met_pop_req, menial_work_exemption, has_received_positions, has_met_market_req, active.&lt;br /&gt;
responsibilities: attack_enemies, patrol_territory&lt;br /&gt;
number -1&lt;br /&gt;
precedence: 160, mandate (max): 0, demand (max) 1, default_color_entry&lt;br /&gt;
appointed by CUSTOM_BANDIT_LEADER (same entity).&lt;br /&gt;
best_appointment_precedence 30001&lt;br /&gt;
&lt;br /&gt;
CUSTOM_OUTCAST_FACTOR&lt;br /&gt;
duty_bound, has_responsibilities, flashes, brag_on_kill, chat_worthy, do_not_cull, kill_quest, is_leader, account_exempt, has_met_pop_req, rules_from_location, menial_work_exemption, punishment_exemption, has_received_positions, quest_giver, has_met_market_req, active.&lt;br /&gt;
responsibilities: trade, accounting&lt;br /&gt;
number: -1, &lt;br /&gt;
precedence: 70,  mandate (max): 0, demand (max) 1, default_color_entry&lt;br /&gt;
appointed by CUSTOM_BANDIT_LEADER (same entity).&lt;br /&gt;
best_appointment_precedence 30001&lt;br /&gt;
&lt;br /&gt;
== Guilds (Entity type 10) ==&lt;br /&gt;
The positions of guild entities are CUSTOM_GUILD_LEADER, CUSTOM_GUILD_ALDERPERSON, CUSTOM_GUILD_STEWARD, CUSTOM_GUILD_CLERK.&lt;br /&gt;
It seems that after (or with) the creation of a guild the above positions are always created.&lt;br /&gt;
Possible names for the clerk positions are Clerk, Bookkeeper and Recordkeeper.&lt;br /&gt;
Possible names for the steward position are steward and treasurer.&lt;br /&gt;
The guild leader is called doyen or dean. And the alderperson position is always called alderperson.&lt;br /&gt;
&lt;br /&gt;
CUSTOM_GUILD_LEADER&lt;br /&gt;
is_law_maker, elected, has_responsibilities, flashes, brag_on_kill, chat_worthy, do_not_cull, kill_quest, is_leader, account_exempt, has_met_pop_req, rules_from_location, menial_work_exemption, punishment_exemption, has_received_positions, quest_giver, has_met_market_req, active.&lt;br /&gt;
number: 1&lt;br /&gt;
precedence: 50, mandate (max): 1, demand (max): 2, default_color_entry&lt;br /&gt;
Responsibilities: law_making, law_enforcement, receive_diplomats, make_introductions, make_peace_agreements, make_topic_agreements, military_goals, military_strategy.&lt;br /&gt;
best_appointment_precedence 30001&lt;br /&gt;
&lt;br /&gt;
CUSTOM_GUILD_ALDERPERSON&lt;br /&gt;
elected, duty_bound, has_responsibilities, do_not_cull, is_leader, has_met_pop_req, menial_work_exemption, has_received_positions, has_met_market_req, active&lt;br /&gt;
number: 1&lt;br /&gt;
precedence: 150,  mandate (max): 0, demand (max) 1, default_color_entry&lt;br /&gt;
responsibilities: meet_workers, manage_production&lt;br /&gt;
best_appointment_precedence 30001&lt;br /&gt;
&lt;br /&gt;
CUSTOM_GUILD_STEWARD&lt;br /&gt;
elected, duty_bound, has_responsibilities, do_not_cull, is_leader, has_met_pop_req, menial_work_exemption, has_received_positions, has_met_market_req, active&lt;br /&gt;
responsibilities: trade&lt;br /&gt;
number: 1&lt;br /&gt;
precedence: 160,  mandate (max): 0, demand (max) 1, default_color_entry&lt;br /&gt;
best_appointment_precedence 30001&lt;br /&gt;
&lt;br /&gt;
CUSTOM_GUILD_CLERK&lt;br /&gt;
elected, duty_bound, has_responsibilities, do_not_cull,  is_leader, has_met_pop_req, menial_work_exemption, has_received_positions, has_met_market_req, active&lt;br /&gt;
responsibilities: accounting&lt;br /&gt;
number: 1&lt;br /&gt;
precedence: 170,  mandate (max): 0, demand (max) 1, default_color_entry&lt;br /&gt;
best_appointment_precedence 30001&lt;br /&gt;
&lt;br /&gt;
== Mercenaries (Entity Type 6) ==&lt;br /&gt;
The only position of military entities (mercenary groups) seems to be the CUSTOM_MERCENARY_LEADER, who can ie. be called Leader or General.&lt;br /&gt;
&lt;br /&gt;
CUSTOM_MERCENARY_LEADER&lt;br /&gt;
is_law_maker, elected, duty_bound, has_responsibilities, flashes, brag_on_kill, chat_worthy, do_not_cull, kill_quest, is_leader, has_met_pop_req, menial_work_exemption, punishment_exemption, has_received_positions, quest_giver, has_met_market_req, active.&lt;br /&gt;
precedence: 50, mandate (max): 1, demand (max): 2, default_color_entry&lt;br /&gt;
no succession defined&lt;br /&gt;
Responsibilities: law_making, law_enforcement, receive_diplomats, make_introductions, make_peace_agreements, make_topic_agreements, military_goals, military_strategy.&lt;br /&gt;
best_appointment_precedence 30001&lt;br /&gt;
&lt;br /&gt;
== Merchants (Entity Type 9) ==&lt;br /&gt;
Positions found so far: CUSTOM_COMPANY_LEADER (called ie. head or master) and CUSTOM_COMPANY_FACTOR (called ie. agent or factor).&lt;br /&gt;
&lt;br /&gt;
CUSTOM_COMPANY_LEADER&lt;br /&gt;
is_law_maker, duty_bound, succession_by_heir, has_responsibilities, flashes, brag_on_kill, chat_worthy, do_not_cull, kill_quest, is_leader, account_exempt, has_met_pop_req, rules_from_location, menial_work_exemption, punishment_exemption, has_received_positions, quest_giver, has_met_market_req, active.&lt;br /&gt;
precedence: 50, mandate (max): 1, demand (max): 2, default_color_entry&lt;br /&gt;
Responsibilities: law_making, law_enforcement, receive_diplomats, make_introductions, make_peace_agreements, make_topic_agreements, military_goals, military_strategy.&lt;br /&gt;
best_appointment_precedence 30001&lt;br /&gt;
&lt;br /&gt;
CUSTOM_COMPANY_FACTOR&lt;br /&gt;
duty_bound, has_responsibilities, flashes, brag_on_kill, chat_worthy, do_not_cull, kill_quest, is_leader, account_exempt, has_met_pop_req, rules_from_location, menial_work_exemption, punishment_exemption, has_received_positions, quest_giver, has_met_market_req, active.&lt;br /&gt;
precedence: 200, mandate (max): 0, demand (max): 1, default_color_entry&lt;br /&gt;
Responsibilities: trade, accounting&lt;br /&gt;
number: -1&lt;br /&gt;
appointed by CUSTOM_COMPANY_LEADER (same entity).&lt;br /&gt;
best_appointment_precedence 30001&lt;br /&gt;
&lt;br /&gt;
== Other not mentioned entities ==&lt;br /&gt;
The other entities like performance troupes (entity type 8) and migrating groups (entity type 3) do not seem to have positions.&lt;br /&gt;
Instances of the entity type 2 (called VesselCrew according to dfhack) were so far not found.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Sources to process ==&lt;br /&gt;
See spoiler-sections of those posts. &lt;br /&gt;
* https://www.bay12forums.com/smf/index.php?topic=178697.msg8295235#msg8295235&lt;br /&gt;
* https://www.bay12forums.com/smf/index.php?topic=175434.msg8084095#msg8084095&lt;br /&gt;
* https://www.bay12forums.com/smf/index.php?topic=175434.msg8083631#msg8083631 (first answer)&lt;br /&gt;
&lt;br /&gt;
= Civilizations =&lt;br /&gt;
If all positions of a civ are variable, then the CUSTOM_LAW_MAKER position needs to be created (in world-gen), before other positions (of the possible positions) can be created. After the creation (and filling) of the law-maker positions, the other variable positions (both CUSTOM_OFFICIALS_i and CUSTOM_MARKET_OFFICIALS_i, where i stands for a non-zero natural number) can be created in any order. These other positions are then always appointed by the law-maker of the civ. The law-maker position itself uses succession by heir.&lt;br /&gt;
&lt;br /&gt;
In contrast to e.g the positions of the dwarven civilizations, where the site nobility positions (eg. baron, duke) do get added to the own position list (vector) of the civilization, the CUSTOM_LAW_MAKER (and CUSTOM_LAW_MAKER_2) positions (of a site government) are not added to the own position list (at least for civs with all variable positions). The &amp;quot;own&amp;quot; positions list (of the civ entity) only exclusively contains the variable positions of the civ, which are all created by the civ, and no positions which are the &amp;quot;ruler&amp;quot; of a site (even if the variable site position was appointed by the law maker of the civ). Also the &amp;quot;site&amp;quot; positions list is empty (or at least no entries were found so far).&lt;br /&gt;
&lt;br /&gt;
The following table gives an overview over the different possible rulers of a human or goblin civilization.&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;sortable wikitable&amp;quot; style=&amp;quot;text-align:center;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;background:#F2F2F2;&amp;quot;&lt;br /&gt;
!Position!!Name!!succession type!!Responsibilities!!Demands!!Mandates!!Precedence!!is diplomat!!human!!goblin&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
!CUSTOM_LAW_MAKER&lt;br /&gt;
|master&lt;br /&gt;
|none&lt;br /&gt;
|law making, military goals, military strategy&lt;br /&gt;
|3&lt;br /&gt;
|2&lt;br /&gt;
|1&lt;br /&gt;
|no&lt;br /&gt;
|no&lt;br /&gt;
|yes&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
!CUSTOM_LAW_MAKER&lt;br /&gt;
|master&lt;br /&gt;
|none&lt;br /&gt;
|law making, military goals, &lt;br /&gt;
|3&lt;br /&gt;
|2&lt;br /&gt;
|1&lt;br /&gt;
|yes&lt;br /&gt;
|no&lt;br /&gt;
|yes&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
!CUSTOM_LAW_MAKER&lt;br /&gt;
|law-giver&lt;br /&gt;
|by heir&lt;br /&gt;
|law making, make peace agreements, military goals, military strategy&lt;br /&gt;
|3&lt;br /&gt;
|2&lt;br /&gt;
|1&lt;br /&gt;
|no&lt;br /&gt;
|yes&lt;br /&gt;
|no&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
!CUSTOM_LAW_MAKER&lt;br /&gt;
|law-giver&lt;br /&gt;
|by heir&lt;br /&gt;
|law making, make peace agreements, military goals&lt;br /&gt;
|3&lt;br /&gt;
|2&lt;br /&gt;
|1&lt;br /&gt;
|yes&lt;br /&gt;
|yes&lt;br /&gt;
|no&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Note that the ruler (law-giver or master) is not a diplomat, if and only if the ruler has the military strategy responsibility. Also note that the master of a goblin civilization does not have peace agreements as responsibilities.&lt;br /&gt;
&lt;br /&gt;
The following table gives an overview of the possible non-ruling civ-level positions:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable wikitable&amp;quot; style=&amp;quot;text-align:center;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;background:#F2F2F2;&amp;quot;&lt;br /&gt;
!Position!!Name prefix!!Name&amp;lt;sup&amp;gt;5&amp;lt;/sup&amp;gt;!!Responsibilities!!Demands!!Mandates!!Precedence!!Number!!Flags1&amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt;!!Flags2&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;!!Color!!human!!goblin&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
!CUSTOM_OFFICIAL_1&lt;br /&gt;
|yes&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;&lt;br /&gt;
|&amp;quot;keeper of the seal&amp;quot; / chancellor&lt;br /&gt;
|receive diplomats, make introductionsa and make topic agreements; optional: espionage&lt;br /&gt;
|3&lt;br /&gt;
|2&lt;br /&gt;
|20&lt;br /&gt;
|1&lt;br /&gt;
|yes&lt;br /&gt;
|no&lt;br /&gt;
|(5,0,1)&lt;br /&gt;
|yes&lt;br /&gt;
|yes&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
!CUSTOM_OFFICIAL_2&lt;br /&gt;
|yes&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;&lt;br /&gt;
|justiciar&lt;br /&gt;
|law enforcement, collect taxes&lt;br /&gt;
|3&lt;br /&gt;
|2&lt;br /&gt;
|60&lt;br /&gt;
|1&lt;br /&gt;
|yes&lt;br /&gt;
|no&lt;br /&gt;
|(5,0,1)&lt;br /&gt;
|yes&lt;br /&gt;
|no&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
!CUSTOM_OFFICIAL_3&lt;br /&gt;
|yes&lt;br /&gt;
|treasurer&lt;br /&gt;
|trade, accounting&lt;br /&gt;
|2&lt;br /&gt;
|1&lt;br /&gt;
|70&lt;br /&gt;
|1&lt;br /&gt;
|yes&lt;br /&gt;
|no&lt;br /&gt;
|(5,0,1)&lt;br /&gt;
|yes&lt;br /&gt;
|no&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
!CUSTOM_OFFICIAL_4&lt;br /&gt;
|yes&lt;br /&gt;
|advisor/counselor&lt;br /&gt;
|advise leaders&lt;br /&gt;
|2&lt;br /&gt;
|1&lt;br /&gt;
|55&lt;br /&gt;
|1&lt;br /&gt;
|yes&lt;br /&gt;
|no&lt;br /&gt;
|(5,0,1)&lt;br /&gt;
|yes&lt;br /&gt;
|yes&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
!CUSTOM_OFFICIAL_5&lt;br /&gt;
|yes&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;&lt;br /&gt;
|chamberlain&lt;br /&gt;
|oversee leader houshold&lt;br /&gt;
|1&lt;br /&gt;
|0&lt;br /&gt;
|80&lt;br /&gt;
|1&lt;br /&gt;
|yes&lt;br /&gt;
|no&lt;br /&gt;
|(5,0,1)&lt;br /&gt;
|yes&lt;br /&gt;
|yes&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
!CUSTOM_OFFICIAL_6&lt;br /&gt;
|no&lt;br /&gt;
|master of beasts&lt;br /&gt;
|tame exotics, manage animals&lt;br /&gt;
|1&lt;br /&gt;
|0&lt;br /&gt;
|90&lt;br /&gt;
|1&lt;br /&gt;
|yes&lt;br /&gt;
|no&lt;br /&gt;
|(5,0,1)&lt;br /&gt;
|yes&lt;br /&gt;
|yes&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
!CUSTOM_OFFICIAL_7&lt;br /&gt;
|yes&lt;br /&gt;
|butler / cup-bearer&lt;br /&gt;
|manage leader houshold food and drinks&lt;br /&gt;
|0&lt;br /&gt;
|0&lt;br /&gt;
|300&lt;br /&gt;
|1&lt;br /&gt;
|yes&lt;br /&gt;
|no&lt;br /&gt;
|(5,0,1)&lt;br /&gt;
|yes&lt;br /&gt;
|no&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
!CUSTOM_OFFICIAL_8&lt;br /&gt;
|yes&lt;br /&gt;
|doctor&lt;br /&gt;
|health management&lt;br /&gt;
|0&lt;br /&gt;
|0&lt;br /&gt;
|310&lt;br /&gt;
|1&lt;br /&gt;
|yes&lt;br /&gt;
|no&lt;br /&gt;
|(5,0,1)&lt;br /&gt;
|yes&lt;br /&gt;
|no&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
!CUSTOM_OFFICIAL_9&lt;br /&gt;
|yes&lt;br /&gt;
|executioner&lt;br /&gt;
|executions&lt;br /&gt;
|0&lt;br /&gt;
|0&lt;br /&gt;
|320&lt;br /&gt;
|1&lt;br /&gt;
|yes&lt;br /&gt;
|no&lt;br /&gt;
|(5,0,1)&lt;br /&gt;
|yes&lt;br /&gt;
|yes&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
!CUSTOM_OFFICIAL_10&lt;br /&gt;
|yes&lt;br /&gt;
|chef&lt;br /&gt;
|prepare leader meals&lt;br /&gt;
|0&lt;br /&gt;
|0&lt;br /&gt;
|330&lt;br /&gt;
|1&lt;br /&gt;
|yes&lt;br /&gt;
|no&lt;br /&gt;
|(5,0,1)&lt;br /&gt;
|yes&lt;br /&gt;
|no&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
!CUSTOM_OFFICIAL_11&lt;br /&gt;
|yes&lt;br /&gt;
|housekeeper&lt;br /&gt;
|manage leader houshold cleanliness&lt;br /&gt;
|0&lt;br /&gt;
|0&lt;br /&gt;
|340&lt;br /&gt;
|1&lt;br /&gt;
|yes&lt;br /&gt;
|no&lt;br /&gt;
|(5,0,1)&lt;br /&gt;
|yes&lt;br /&gt;
|no&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
!CUSTOM_MILITARY_STRATEGY&lt;br /&gt;
|no&lt;br /&gt;
|general/(field) marshal / constable&lt;br /&gt;
|military strategy&lt;br /&gt;
|3&lt;br /&gt;
|2&lt;br /&gt;
|50&lt;br /&gt;
|1&lt;br /&gt;
|yes&lt;br /&gt;
|yes&lt;br /&gt;
|(5,0,1)&lt;br /&gt;
|yes&lt;br /&gt;
|yes&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
!CUSTOM_MILITARY_GOALS&amp;lt;sup&amp;gt;4&amp;lt;/sup&amp;gt;&lt;br /&gt;
|no&lt;br /&gt;
|war leader&lt;br /&gt;
|military goals, optional: military strategy&lt;br /&gt;
|3&lt;br /&gt;
|2&lt;br /&gt;
|45&lt;br /&gt;
|1&lt;br /&gt;
|yes&lt;br /&gt;
|yes&lt;br /&gt;
|(5,0,1)&lt;br /&gt;
|no&lt;br /&gt;
|no&lt;br /&gt;
|}&lt;br /&gt;
: ''Note'': &lt;br /&gt;
:* &amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt;) These are the standard official flags: duty_bound, has_responsibilities, do_not_cull, has_met_pop_req, color, menial_work_exemption, has_received_positions and has_met_market_req.&lt;br /&gt;
:* &amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;) These are the following additional flags: flashes, brag_on_kill, chat_worthy, kill_quest, account_exempt, punishment_exemption, quest_giver andspecial_burial.&lt;br /&gt;
:* &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;): Name prefix can be empty.&lt;br /&gt;
:* &amp;lt;sup&amp;gt;4&amp;lt;/sup&amp;gt;) These would be the values for the CUSTOM_MILITARY_GOALS position, but on the civ-level that position is not created, as the military goals responsibility is already performed by the law-giver/master (and for the military strategy responsibility the CUSTOM_MILITARY_STRATEGY position is created instead). But a CUSTOM_MILITARY_GOALS position would be created, if the civ-leader would not have the military goals responsibility. The CUSTOM_MILITARY_GOALS position is - in vanilla - only created for site governments and then only, if the site leader is the FORCED_ADMINISTRATOR.&lt;br /&gt;
:* &amp;lt;sup&amp;gt;5&amp;lt;/sup&amp;gt;): Name prefixes are: high, head, chief and royal.&lt;br /&gt;
&lt;br /&gt;
In the above table the responsibility &amp;quot;espionage&amp;quot; of the CUSTOM_OFFICIAL_1 is optional. Only if the CUSTOM_OFFICIAL_1 is created with the &amp;quot;espionage&amp;quot; responsibility such officials can also be created for the site governments (as all other responsibility are already performed by the standard custom site ruler). Also, the columns &amp;quot;human&amp;quot; and &amp;quot;goblin&amp;quot; dictate whether human and/or goblin civilizations can have the positions.&lt;br /&gt;
&lt;br /&gt;
= Site Governments =&lt;br /&gt;
If all positions of a civ (and with that of a site government) are variable, then a leader position for the site government needs to be created (in world-gen), before other positions (of the possible variable positions) can be created. The created position is usually the CUSTOM_LAW_MAKER, but other positions have been found, ie. CUSTOM_BANDIT_LEADER and FORCED_ADMINISTRATOR. &lt;br /&gt;
&lt;br /&gt;
Note that human and goblin civilizations can also create further site positions, if the current site leader is the FORCED_ADMINISTRATOR. All other races (eg. dwarves and elves) cannot.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following table gives an overview of the non-ruler variable positions of a site government.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable wikitable&amp;quot; style=&amp;quot;text-align:center;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;background:#F2F2F2;&amp;quot;&lt;br /&gt;
!Position!!Name first!!Name second !!Responsibilities!!Demands!!Mandates!!Precedence!!Number!!Color!!human!!goblin!!add. flags&amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
!CUSTOM_MARKET_OFFICIAL_1&lt;br /&gt;
|sewer &lt;br /&gt;
|master / administrator / caretaker / commissioner / official&lt;br /&gt;
|maintain sewers&lt;br /&gt;
|0&lt;br /&gt;
|0&lt;br /&gt;
|500&lt;br /&gt;
|1&lt;br /&gt;
|(5,0,1)&lt;br /&gt;
|yes&lt;br /&gt;
|no&lt;br /&gt;
|no&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
!CUSTOM_MARKET_OFFICIAL_2&lt;br /&gt;
|grain / harvest &lt;br /&gt;
|official / administrator / caretaker / commissioner&lt;br /&gt;
|food supply&lt;br /&gt;
|1&lt;br /&gt;
|0&lt;br /&gt;
|450&lt;br /&gt;
|1&lt;br /&gt;
|(5,0,1)&lt;br /&gt;
|yes&lt;br /&gt;
|no&lt;br /&gt;
|no&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
!CUSTOM_MARKET_OFFICIAL_3&lt;br /&gt;
|fire &lt;br /&gt;
|administrator / official / commissioner&lt;br /&gt;
|fire safety&lt;br /&gt;
|0&lt;br /&gt;
|0&lt;br /&gt;
|475&lt;br /&gt;
|1&lt;br /&gt;
|(5,0,1)&lt;br /&gt;
|yes&lt;br /&gt;
|no&lt;br /&gt;
|no&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
!CUSTOM_MARKET_OFFICIAL_4&lt;br /&gt;
|&lt;br /&gt;
|judge / magistrate / justice&lt;br /&gt;
|judge&lt;br /&gt;
|1&lt;br /&gt;
|0&lt;br /&gt;
|350&lt;br /&gt;
|1&lt;br /&gt;
|(5,0,1)&lt;br /&gt;
|yes&lt;br /&gt;
|no&lt;br /&gt;
|no&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
!CUSTOM_MARKET_OFFICIAL_5&lt;br /&gt;
|building &lt;br /&gt;
|caretaker / administrator / official / commissioner&lt;br /&gt;
|construction permits, building safety&lt;br /&gt;
|1&lt;br /&gt;
|0&lt;br /&gt;
|460&lt;br /&gt;
|1&lt;br /&gt;
|(5,0,1)&lt;br /&gt;
|yes&lt;br /&gt;
|no&lt;br /&gt;
|no&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
!CUSTOM_MARKET_OFFICIAL_6&lt;br /&gt;
|road&lt;br /&gt;
|administrator / official / commissioner&lt;br /&gt;
|maintain roads, bridges and tunnels&lt;br /&gt;
|1&lt;br /&gt;
|0&lt;br /&gt;
|375&lt;br /&gt;
|1&lt;br /&gt;
|(5,0,1)&lt;br /&gt;
|yes&lt;br /&gt;
|no&lt;br /&gt;
|no&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
!CUSTOM_OFFICIAL_1&lt;br /&gt;
|(high / head / chief) &lt;br /&gt;
|&amp;quot;keeper of the seal&amp;quot; / chancellor&lt;br /&gt;
|espionage&lt;br /&gt;
|3&lt;br /&gt;
|2&lt;br /&gt;
|20&lt;br /&gt;
|1&lt;br /&gt;
|(5,0,1)&lt;br /&gt;
|yes&lt;br /&gt;
|yes&lt;br /&gt;
|no&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
!CUSTOM_OFFICIAL_2&lt;br /&gt;
|(chief / head / high) &lt;br /&gt;
|justiciar&lt;br /&gt;
|collect taxes&lt;br /&gt;
|3&lt;br /&gt;
|2&lt;br /&gt;
|60&lt;br /&gt;
|1&lt;br /&gt;
|(5,0,1)&lt;br /&gt;
|yes&lt;br /&gt;
|no&lt;br /&gt;
|no&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
!CUSTOM_OFFICIAL_3&lt;br /&gt;
|chief / high / head &lt;br /&gt;
|treasurer&lt;br /&gt;
|trade, accounting&lt;br /&gt;
|2&lt;br /&gt;
|1&lt;br /&gt;
|70&lt;br /&gt;
|1&lt;br /&gt;
|(5,0,1)&lt;br /&gt;
|yes&lt;br /&gt;
|no&lt;br /&gt;
|no&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
!CUSTOM_OFFICIAL_4&lt;br /&gt;
|chief / high / head &lt;br /&gt;
|advisor / counselor&lt;br /&gt;
|advise leaders&lt;br /&gt;
|2&lt;br /&gt;
|1&lt;br /&gt;
|55&lt;br /&gt;
|1&lt;br /&gt;
|(5,0,1)&lt;br /&gt;
|yes&lt;br /&gt;
|yes&lt;br /&gt;
|no&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
!CUSTOM_OFFICIAL_5&lt;br /&gt;
|(chief / high / head) &lt;br /&gt;
|chamberlain&lt;br /&gt;
|oversee leader houshold&lt;br /&gt;
|1&lt;br /&gt;
|0&lt;br /&gt;
|80&lt;br /&gt;
|1&lt;br /&gt;
|(5,0,1)&lt;br /&gt;
|yes&lt;br /&gt;
|yes&lt;br /&gt;
|no&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
!CUSTOM_OFFICIAL_6&lt;br /&gt;
|&lt;br /&gt;
|master of beasts&lt;br /&gt;
|tame exotics, manage animals&lt;br /&gt;
|1&lt;br /&gt;
|0&lt;br /&gt;
|90&lt;br /&gt;
|1&lt;br /&gt;
|(5,0,1)&lt;br /&gt;
|yes&lt;br /&gt;
|yes&lt;br /&gt;
|no&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
!CUSTOM_OFFICIAL_7&lt;br /&gt;
|chief / head / high &lt;br /&gt;
|butler / cup-bearer&lt;br /&gt;
|manage leader houshold food and drinks&lt;br /&gt;
|0&lt;br /&gt;
|0&lt;br /&gt;
|300&lt;br /&gt;
|1&lt;br /&gt;
|(5,0,1)&lt;br /&gt;
|yes&lt;br /&gt;
|no&lt;br /&gt;
|no&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
!CUSTOM_OFFICIAL_8&lt;br /&gt;
|chief / high / head &lt;br /&gt;
|doctor&lt;br /&gt;
|health management&lt;br /&gt;
|0&lt;br /&gt;
|0&lt;br /&gt;
|310&lt;br /&gt;
|1&lt;br /&gt;
|(5,0,1)&lt;br /&gt;
|yes&lt;br /&gt;
|no&lt;br /&gt;
|no&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
!CUSTOM_OFFICIAL_9&lt;br /&gt;
|head / high / chief &lt;br /&gt;
|executioner&lt;br /&gt;
|executions&lt;br /&gt;
|0&lt;br /&gt;
|0&lt;br /&gt;
|320&lt;br /&gt;
|1&lt;br /&gt;
|(5,0,1)&lt;br /&gt;
|yes&lt;br /&gt;
|yes&lt;br /&gt;
|no&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
!CUSTOM_OFFICIAL_10&lt;br /&gt;
|chief / high / head &lt;br /&gt;
|chef&lt;br /&gt;
|prepare leader meals&lt;br /&gt;
|0&lt;br /&gt;
|0&lt;br /&gt;
|330&lt;br /&gt;
|1&lt;br /&gt;
|(5,0,1)&lt;br /&gt;
|yes&lt;br /&gt;
|no&lt;br /&gt;
|no&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
!CUSTOM_OFFICIAL_11&lt;br /&gt;
|chief / head / high &lt;br /&gt;
|housekeeper&lt;br /&gt;
|manage leader houshold cleanliness&lt;br /&gt;
|0&lt;br /&gt;
|0&lt;br /&gt;
|340&lt;br /&gt;
|1&lt;br /&gt;
|(5,0,1)&lt;br /&gt;
|yes&lt;br /&gt;
|no&lt;br /&gt;
|no&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
!CUSTOM_MILITARY_STRATEGY&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|general/(field) marshal / constable&lt;br /&gt;
|military strategy&lt;br /&gt;
|3&lt;br /&gt;
|2&lt;br /&gt;
|50&lt;br /&gt;
|1&lt;br /&gt;
|(5,0,1)&lt;br /&gt;
|yes&lt;br /&gt;
|no&lt;br /&gt;
|yes&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
!CUSTOM_MILITARY_GOALS&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|war leader&lt;br /&gt;
|military goals, optional: military strategy&lt;br /&gt;
|3&lt;br /&gt;
|2&lt;br /&gt;
|45&lt;br /&gt;
|1&lt;br /&gt;
|(5,0,1)&lt;br /&gt;
|yes&lt;br /&gt;
|no&lt;br /&gt;
|yes&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
: ''Notes'': &lt;br /&gt;
:* &amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt;): The additional flags are: flashes, brag_on_kill, chat_worthy, kill_quest, account_exempt, punishment_exemption, quest_giver and special_burial.&lt;br /&gt;
:* &amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;): Only ever created, if the current site leader is a FORCED_ADMINISTRATOR.&lt;br /&gt;
:* In the above table the columns &amp;quot;human&amp;quot; and &amp;quot;goblin&amp;quot; donate, whether a site government of a human civilization or of a goblin civilization can have that position (or at least, if the position was encountered so far). Also the custom officials (CUSTOM_OFFICIAL_1 etc.), in contrast to market officials (CUSTOM_MARKET_OFFICIAL_1 etc.), seem to only be generated, if a) the parent civ did generate the position and b) the official has a responsibility that the site-ruler does not have.&lt;br /&gt;
:* In addtion to the above table the &amp;quot;best_appointment_precedence&amp;quot; is 30001. Also the following flags are set (true) for all officials, regardless, of whether belonging to a human or goblin site government: duty_bound, has_responsibilities, do_not_cull, has_met_pop_req, color, menial_work_exemption, has_received_positions and has_met_market_req.&lt;br /&gt;
&lt;br /&gt;
Additionally the position entry usually has the flag active set and the flag is_replaced is false, otherwise the position would no longer be active (and might have been replaced).&lt;br /&gt;
&lt;br /&gt;
= Bandits =&lt;br /&gt;
Bandits use the entity types 4 and 7, which are nomadic groups (type 4) and outcasts (type 7). It must also be noted that some CUSTOM_BANDIT_LEADER positions are used by site governments (typically goblin site governments) both with and without a parent civilization (site government is not a child of an entity of type 0).&lt;br /&gt;
&lt;br /&gt;
The following table gives an overview over the possible variable positions used by bandits (some further info on bandit leaders is below the table).&lt;br /&gt;
 &lt;br /&gt;
{|class=&amp;quot;sortable wikitable&amp;quot; style=&amp;quot;text-align:center;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;background:#F2F2F2;&amp;quot;&lt;br /&gt;
!Position!!Name!!appointment type!!Responsibilities!!squad size!!Demands!!Mandates!!Precedence!!Number!!add. flags&amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt;!!rules from location!!entity type&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
!CUSTOM_BANDIT_LEADER&lt;br /&gt;
|Boss, Captain, Chief, Chieftain, Commander, Leader, Master, Overlord, Ringleader or Warlord&lt;br /&gt;
|elected&lt;br /&gt;
|law making, law enforcement, receive diplomats, make introduction, make peace agreements, make topic agreements, military strategy and military goals&lt;br /&gt;
|20&lt;br /&gt;
|2&lt;br /&gt;
|1&lt;br /&gt;
|55&lt;br /&gt;
|1&lt;br /&gt;
|yes&lt;br /&gt;
|no&lt;br /&gt;
|nomadic, outcast&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
!CUSTOM_BANDIT_LEADER&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;&lt;br /&gt;
|Boss, Captain, Chief, Chieftain, Commander, Leader, Master, Overlord, Ringleader or Warlord&lt;br /&gt;
|elected&lt;br /&gt;
|law making, law enforcement, receive diplomats, make introduction, make peace agreements, make topic agreements, military strategy and military goals&lt;br /&gt;
|20&lt;br /&gt;
|2&lt;br /&gt;
|1&lt;br /&gt;
|10&lt;br /&gt;
|1&lt;br /&gt;
|yes&lt;br /&gt;
|no&lt;br /&gt;
|nomadic&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
!CUSTOM_OUTCAST_LT&lt;br /&gt;
|lieutenant&lt;br /&gt;
|appointed by bandit leader&lt;br /&gt;
|patrol territory, attack enemies&lt;br /&gt;
|0&lt;br /&gt;
|1&lt;br /&gt;
|0&lt;br /&gt;
|160&lt;br /&gt;
| -1&lt;br /&gt;
|no&lt;br /&gt;
|no&lt;br /&gt;
|outcast&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
!CUSTOM_OUTCAST_FACTOR&lt;br /&gt;
|representative&lt;br /&gt;
|appointed by bandit leader&lt;br /&gt;
|trade and accounting&lt;br /&gt;
|0&lt;br /&gt;
|1&lt;br /&gt;
|0&lt;br /&gt;
|70&lt;br /&gt;
| -1&lt;br /&gt;
|yes (except is_law_maker)&lt;br /&gt;
|yes&lt;br /&gt;
|outcast&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
: ''Notes'':&lt;br /&gt;
:* &amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt;): Additional flags are: is_law_maker, flashes, brag_on_kill, chat_worthy, kill_quest, account_exempt and quest_giver&lt;br /&gt;
:* &amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;): Only difference to the other CUSTOM_BANDIT_LEADER is the increased precedence of 10, encountered in 11 of 148 bandit leaders (148 of 175 nomadic groups had leaders). The reason is of yet unknown, except that the CUSTOM_BANDIT_LEADER is also used by the goblin civilization (and some site governments, without an entity link to a parent civ, had a nomadic group with a custom bandit leader as a child entity). &lt;br /&gt;
:* Further note the common flags of these positions are: duty_bound, has_responsibilities, do_not_cull, is_leader, has_met_pop_req, menial_work_exemption, has_received_positions and has_met_market_req.&lt;br /&gt;
:* The entity type in the above table refers to the (as displayed by dfhack's gm-editor, when viewing an entity).&lt;br /&gt;
&lt;br /&gt;
Additionally the bandit leader (CUSTOM_BANDIT_LEADER) always has a squad size of 20 and the squad members are refered to as &amp;quot;bandits&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
= Religious Entities =&lt;br /&gt;
Some religious entities, which are considered &amp;quot;child&amp;quot;-entities of civilizations (no religious entity which was not a &amp;quot;child&amp;quot; of a civ entity has been found so far), also have variable positions.&lt;br /&gt;
If a religious entity rules a site (always monastery?), then the only variable position (of that entity) seems to be the CUSTOM_LAW_MAKER and the name of the position seems to be always &amp;quot;abbot&amp;quot;.&lt;br /&gt;
Otherwise the variable positions PRIEST, HIGH_PRIEST and HIGHEST_PRIEST can be created for that religious entity, where any such entity, if it has a position, will always have the PRIEST as position. Afterwards, the position HIGH_PRIEST can be created and at last - after the HIGH_PRIEST was created - the HIGHEST_PRIEST can be created. The names of these position are randomly created (more about the name generation is currently out-of-scope, ie. why a PRIEST might be called &amp;quot;sacred squid&amp;quot;, &amp;quot;holy burial&amp;quot;, &amp;quot;sacred rumor&amp;quot;, &amp;quot;holy lemon&amp;quot; or &amp;quot;sacred paper&amp;quot; is out-of-scope at least for this wiki-article). No temple is needed in an associated site for a religious entity (not ruling from a monastery) to create a priest, high priest or highest priest position.&lt;br /&gt;
&lt;br /&gt;
An overview on the positions of religious entities is given in the following table:&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;sortable wikitable&amp;quot; style=&amp;quot;text-align:center;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;background:#F2F2F2;&amp;quot;&lt;br /&gt;
!Position!!name prefix!!name!!appointment type&amp;lt;sup&amp;gt;5&amp;lt;/sup&amp;gt;!!Responsibilities!!Precedence!!Demands!!Mandates!!number!!missing common flags&amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt;!!additional flags&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
!CUSTOM_LAW_MAKER&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|abbot&lt;br /&gt;
|heir&lt;br /&gt;
|law making, law enforcement, receive diplomats, make introductions, make peace agreements, make topic agreements, military strategy, military goals&lt;br /&gt;
|100&lt;br /&gt;
|3&lt;br /&gt;
|2&lt;br /&gt;
|1&lt;br /&gt;
|is_diplomat&lt;br /&gt;
|all &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
!PRIEST&lt;br /&gt;
|holy or sacred&lt;br /&gt;
|&amp;lt;i&amp;gt;random&amp;lt;/i&amp;gt;&amp;lt;sup&amp;gt;4&amp;lt;/sup&amp;gt;&lt;br /&gt;
|elected&lt;br /&gt;
|religion&lt;br /&gt;
|200&lt;br /&gt;
|0&lt;br /&gt;
|0&lt;br /&gt;
| -1&lt;br /&gt;
|none&lt;br /&gt;
|no&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
!HIGH_PRIEST&lt;br /&gt;
|high, first or exalted &lt;br /&gt;
|&amp;lt;i&amp;gt;random&amp;lt;/i&amp;gt;&amp;lt;sup&amp;gt;4&amp;lt;/sup&amp;gt;&lt;br /&gt;
|elected&lt;br /&gt;
|law_making, receive diplomats and make topic agreements&lt;br /&gt;
|50&lt;br /&gt;
|3&lt;br /&gt;
|2&lt;br /&gt;
| -1&lt;br /&gt;
|none&lt;br /&gt;
|all (except determines_coin_design)&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
!HIGHEST_PRIEST&lt;br /&gt;
|absolute or most sacred/high/exalted&lt;br /&gt;
|&amp;lt;i&amp;gt;random&amp;lt;/i&amp;gt;&amp;lt;sup&amp;gt;4&amp;lt;/sup&amp;gt;&lt;br /&gt;
|elected&lt;br /&gt;
|law_making, receive diplomats and make topic agreements &lt;br /&gt;
|1&lt;br /&gt;
|5&lt;br /&gt;
|3&lt;br /&gt;
|1&lt;br /&gt;
|none&lt;br /&gt;
|all (except determines_coin_design)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
&amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt;): The common flags are: duty_bound, has_responsibilities, chat_worty, do_not_cull, is_leader, is_diplomat, has_met_pop_req, rules_from_location, menial_work_exemption, punishment_exemption, has_received_positions and has_met_market_req. So if one of the flags is mentioned in a column, then the position does not have that flag.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;): The additional flags (in this case) are: is_law_maker, flashes, brag_on_kill, kill_quest, exported_in_legends, account_exempt, quest_giver, special_burial.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;): Is always the only position for that religious entity. And so far any such entity, which was found, always governed/ruled a monastary.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;sup&amp;gt;4&amp;lt;/sup&amp;gt;): The name is one of the possible &amp;quot;name prefix&amp;quot; for the position written before a completly random word, which may or may not depend on the religious spheres/domains worshipped by that religion.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;sup&amp;gt;5&amp;lt;/sup&amp;gt;): The appointment/succession type is actually determined by flags, ie. elected and succession_by_heir. One of the flags is also true for these positions (but not explictly mentioned in the common/additional flags).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Additional notes: The PRIEST, HIGH_PRIEST and HIGHEST_PRIEST have a variable color entry, but the color-flag (of the position entry) is false, so it is unclear, whether currently the color entry has any effect.&lt;br /&gt;
&lt;br /&gt;
= Mercenary Group =&lt;br /&gt;
&lt;br /&gt;
All mercenary entities will have at least one position (the CUSTOM_MERCENARY_LEADER). The only other possible position is the CUSTOM_MERCENARY_TREASURER.&lt;br /&gt;
&lt;br /&gt;
Basic information about both positions are found in the table below (and the explanations below the table).&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;sortable wikitable&amp;quot; style=&amp;quot;text-align:center;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;background:#F2F2F2;&amp;quot;&lt;br /&gt;
!Position!!Name!!appointment type!!Responsibilities!!Precedence!!Demands!!Mandates!!number!! imp. flags&amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
!CUSTOM_MERCENARY_LEADER&lt;br /&gt;
|usually &amp;quot;warlord&amp;quot;, &amp;quot;leader&amp;quot;, &amp;quot;general&amp;quot; or &amp;quot;overlord&amp;quot; but very unusual names are possible (see below table)&lt;br /&gt;
|elected&lt;br /&gt;
|law making, law enforcement, receive diplomats, make introductions, make peace agreements, make topic agreements, military strategy, military goals&lt;br /&gt;
|50&lt;br /&gt;
|2&lt;br /&gt;
|1&lt;br /&gt;
|1 &lt;br /&gt;
|yes&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
!CUSTOM_MERCENARY_TREASURER&lt;br /&gt;
|treasurer&lt;br /&gt;
|elected&lt;br /&gt;
|trade and accounting&lt;br /&gt;
|160&lt;br /&gt;
|1&lt;br /&gt;
|0&lt;br /&gt;
|1&lt;br /&gt;
|no&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Notes: &amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt;): The imp. flags are flashes, brag_on_kill, chat_worthy, punishment_exemption, kill_quest and quest giver.&lt;br /&gt;
&lt;br /&gt;
Both positions also have the is_leader flag and the following flags: duty_bound, has_responsibilities, has_met_pop_req, menial_work_exemption, has_received_positions and has_met_market_req.&lt;br /&gt;
&lt;br /&gt;
For the mercenary leader also illustrous names such as lord twinkle, lord duty, lord savant, maze commander or secret commander can be created. In these cases the name seems to be generated by either adding a random word after the word lord or adding a random word before commander.&lt;br /&gt;
&lt;br /&gt;
= Guilds =&lt;br /&gt;
All guilds will always have all four of the variable positions mentioned in this section. Note that &amp;quot;merchant guilds&amp;quot; are merchant companies and an entirely separate entity.&lt;br /&gt;
&lt;br /&gt;
The following table gives an overview of the four guild positions.&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;sortable wikitable&amp;quot; style=&amp;quot;text-align:center;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;background:#F2F2F2;&amp;quot;&lt;br /&gt;
!Position!!Name!!appointment type!!Responsibilities!!precedence!!demands!!mandates!!number!!add. flags&amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
!CUSTOM_GUILD_LEADER&lt;br /&gt;
|dean/doyen&lt;br /&gt;
|law making, law enforcement, receive diplomats, make introductions, make peace agreements, make topic agreements, military strategy, military goals&lt;br /&gt;
|elected&lt;br /&gt;
|50&lt;br /&gt;
|2&lt;br /&gt;
|1&lt;br /&gt;
|1&lt;br /&gt;
|yes&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
!CUSTOM_GUILD_ALDERPERSON&lt;br /&gt;
|alderperson&lt;br /&gt;
|meet workers, manage production&lt;br /&gt;
|elected&lt;br /&gt;
|150&lt;br /&gt;
|1&lt;br /&gt;
|0&lt;br /&gt;
|1&lt;br /&gt;
|no&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
!CUSTOM_GUILD_STEWARD&lt;br /&gt;
|steward or treasurer&lt;br /&gt;
|trade&lt;br /&gt;
|elected&lt;br /&gt;
|160&lt;br /&gt;
|1&lt;br /&gt;
|0&lt;br /&gt;
|1&lt;br /&gt;
|no&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
!CUSTOM_GUILD_CLERK&lt;br /&gt;
|clerk, bookkeeper, recordkeeper&lt;br /&gt;
|accounting&lt;br /&gt;
|elected&lt;br /&gt;
|170&lt;br /&gt;
|1&lt;br /&gt;
|0&lt;br /&gt;
|1&lt;br /&gt;
|no&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
&amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt;): The additional flags are: is_law_maker, flashes, brag_on_kill; chat_worthy, do_not_cull, kill_quest, account_exempt, rules_from_location, punishment_exemption and quest_giver.&lt;br /&gt;
&lt;br /&gt;
All positions have the following flags in common:&lt;br /&gt;
duty_bound, has_responsibilities, do_not_cull, is_leader, has_met_pop_req, menial_work_exemption, has_received_positions, has_met_market_positions.&lt;br /&gt;
&lt;br /&gt;
= Merchant Company =&lt;br /&gt;
Every merchant company will have a leader (CUSTOM_COMPANY_LEADER). Furthermore a merchant company can have a CUSTOM_COMPANY_FACTOR, to which an unlimited number of history figures can be assigned to (ie. a company can have multiple governors).&lt;br /&gt;
&lt;br /&gt;
An overview of both positions is given by the following table:&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;sortable wikitable&amp;quot; style=&amp;quot;text-align:center;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;background:#F2F2F2;&amp;quot;&lt;br /&gt;
!Position!!name!!appointment type!!Responsibilities!!Precedence!!Demands!!Mandates!!number!!additional flag&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
!CUSTOM_COMPANY_LEADER&lt;br /&gt;
|master or head&lt;br /&gt;
|elected or succession by heir&lt;br /&gt;
|law making, law enforcement, receive diplomats, make introductions, make peace agreements, make topic agreements, military goals, military strategy&lt;br /&gt;
|50&lt;br /&gt;
|2&lt;br /&gt;
|1&lt;br /&gt;
|1&lt;br /&gt;
|is_law_maker&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
!CUSTOM_COMPANY_FACTOR&lt;br /&gt;
|agent, factor, administrator or governor&lt;br /&gt;
|appointed by company leader&lt;br /&gt;
|trade and accounting&lt;br /&gt;
|200&lt;br /&gt;
|1&lt;br /&gt;
|0&lt;br /&gt;
| -1&lt;br /&gt;
|none&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Both positions have the following flags in common:&lt;br /&gt;
duty_bound, has_responsibilities, flashes, brag_on_kill, chat_worthy, do_not_cull, kill_quest, is_leader, account_exempt, has_met_pop_req, rules_from_location, menial_work_exemption, punishment_exemption, has_received_positions, quest_giver and has_met_market_req.&lt;br /&gt;
&lt;br /&gt;
Also note that in contrast to many other variable positions (of different entities) for the CUSTOM_COMPANY_LEADER both an election based appointment (or succession) and an succesion by heir is possible, but each merchant company will only have an elected leader or a leader (with inheritance).&lt;br /&gt;
&lt;br /&gt;
= Raw tokens =&lt;br /&gt;
The tokens that manage the creation of positions are [[Entity_token#SITE_VARIABLE_POSITIONS|SITE_VARIABLE_POSITIONS]] and [[Entity_token#VARIABLE_POSITIONS|VARIABLE_POSITIONS]]. &lt;br /&gt;
&lt;br /&gt;
SITE_VARIABLE_POSITIONS allows for the creation of lords, hearthpersons, and [[boss]]es, and [VARIABLE_POSITIONS] allows creation of Law-makers.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- commented out: no longer needed. Can be removed/deleted.&lt;br /&gt;
= Generated positions =&lt;br /&gt;
The following positions can be created. Note: these should be sorted among the different group types.&lt;br /&gt;
* CUSTOM_LAW_MAKER&lt;br /&gt;
* CUSTOM_LAW_MAKER_2&lt;br /&gt;
* CUSTOM_OUTCAST_LT&lt;br /&gt;
* CUSTOM_OUTCAST_FACTOR&lt;br /&gt;
* CUSTOM_COMPANY_LEADER&lt;br /&gt;
* CUSTOM_COMPANY_FACTOR&lt;br /&gt;
* CUSTOM_MERCENARY_LEADER&lt;br /&gt;
* CUSTOM_MERCENARY_TREASURER&lt;br /&gt;
* CUSTOM_BANDIT_LEADER&lt;br /&gt;
* CUSTOM_MARKET_OFFICIAL_#&lt;br /&gt;
* CUSTOM_OFFICIAL_#&lt;br /&gt;
* CUSTOM_MILITARY_STRATEGY&lt;br /&gt;
* CUSTOM_MILITARY_GOALS&lt;br /&gt;
* HIGHEST_PRIEST&lt;br /&gt;
* HIGH_PRIEST&lt;br /&gt;
* CUSTOM_GUILD_LEADER&lt;br /&gt;
* CUSTOM_GUILD_STEWARD&lt;br /&gt;
* CUSTOM_GUILD_CLERK&lt;br /&gt;
* CUSTOM_GUILD_ALDERPERSON&lt;br /&gt;
* WORSHIP_HF&lt;br /&gt;
&lt;br /&gt;
The following names can be seen given to those positions. Note: these should be sorted among the different positions.&lt;br /&gt;
* lord&lt;br /&gt;
* hearthperson&lt;br /&gt;
* factor&lt;br /&gt;
* agent&lt;br /&gt;
* governor&lt;br /&gt;
* lieutenant&lt;br /&gt;
* representative&lt;br /&gt;
* head&lt;br /&gt;
* chieftain&lt;br /&gt;
* warlord&lt;br /&gt;
* ringleader&lt;br /&gt;
* cup-bearer&lt;br /&gt;
* butler&lt;br /&gt;
* master of beasts&lt;br /&gt;
* sewer&lt;br /&gt;
* housekeeper&lt;br /&gt;
* chef&lt;br /&gt;
* executioner&lt;br /&gt;
* chancellor&lt;br /&gt;
* chief&lt;br /&gt;
* chamberlain&lt;br /&gt;
* captain&lt;br /&gt;
* chief / chieftess&lt;br /&gt;
* constable&lt;br /&gt;
* royal&lt;br /&gt;
* advisor&lt;br /&gt;
* counselor&lt;br /&gt;
* justiciar&lt;br /&gt;
* keeper of the seal&lt;br /&gt;
* law-giver&lt;br /&gt;
* baron&lt;br /&gt;
* marshal&lt;br /&gt;
* war leader&lt;br /&gt;
* most high priest&lt;br /&gt;
* absolute X&lt;br /&gt;
* most exalted X&lt;br /&gt;
* most high X&lt;br /&gt;
* most holy X&lt;br /&gt;
* most sacred X&lt;br /&gt;
* treasurer&lt;br /&gt;
* recordkeeper&lt;br /&gt;
* clerk&lt;br /&gt;
* bookkeeper&lt;br /&gt;
* doyen / doyenne&lt;br /&gt;
* dean&lt;br /&gt;
* steward&lt;br /&gt;
* alderperson&lt;br /&gt;
* X administrator&lt;br /&gt;
* X official (like grain official)&lt;br /&gt;
* X officials&lt;br /&gt;
* X commissioner&lt;br /&gt;
* X commissioners&lt;br /&gt;
* X caretakers&lt;br /&gt;
* judge&lt;br /&gt;
* justices&lt;br /&gt;
* magistrate&lt;br /&gt;
* abbot&lt;br /&gt;
&lt;br /&gt;
--&amp;gt;&lt;/div&gt;</summary>
		<author><name>Joostheger</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=Position_token&amp;diff=314933</id>
		<title>Position token</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=Position_token&amp;diff=314933"/>
		<updated>2026-02-12T10:41:59Z</updated>

		<summary type="html">&lt;p&gt;Joostheger: /* Position tokens */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Quality|Fine}}&lt;br /&gt;
{{av}}&lt;br /&gt;
{{Modding}}&lt;br /&gt;
Position tokens define [[noble]] positions for civilizations and site governments, inside [[entity token]]s. In the vanilla game, position token definitions can be found in &amp;lt;code&amp;gt;[[Game folder|&amp;lt;Dwarf Fortress&amp;gt;]]\data\vanilla\vanilla_entities\objects\entity_default.txt&amp;lt;/code&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
{{clear}}&lt;br /&gt;
&lt;br /&gt;
==Code==&lt;br /&gt;
A position is defined with a position 'code', as an argument in the [POSITION]-tag. The same code may be used multiple times, they don't have to be unique. This code is used as reference by APPOINTED_BY, SUCCESSION:BY_POSITION, REPLACE_BY and COMMANDER. 'MONARCH' is an example of this code.&lt;br /&gt;
&lt;br /&gt;
==Position tokens==&lt;br /&gt;
These tokens belong in an entity definition, applying to a position (such as monarch) and should follow the [POSITION:POSITION_NAME] token.&lt;br /&gt;
&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#dddddd&amp;quot;&lt;br /&gt;
! Token&lt;br /&gt;
! Arguments&lt;br /&gt;
! Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ACCOUNT_EXEMPT}}&lt;br /&gt;
|&lt;br /&gt;
| The position holder is not subjected to the [[Dwarven economy|economy]]. Less than relevant right now.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ALLOWED_CLASS}}&lt;br /&gt;
| {{token|CREATURE_CLASS|creature}} token&lt;br /&gt;
| rowspan=2 | ALLOWED_CLASS: Only creatures with the specified [CREATURE_CLASS] token may be appointed to this position. Multiple entries are allowed. &amp;lt;/br&amp;gt; ALLOWED_CREATURE: Restricts the position to the specified creature and caste. Multiple entries are allowed. &amp;lt;/br&amp;gt; These tokens only apply within the entity’s own race (including its castes). &lt;br /&gt;
In world generation, they limit which units may be assigned to the position, but they do not prevent other creature types from acquiring the position through alternative means (for example, via a coup).&lt;br /&gt;
In fortress mode, these tokens are enforced during manual appointment and succession.&lt;br /&gt;
During world generation, if all allowed castes have a POP_RATIO of 0, a unit of an allowed caste will still be generated to fill the position.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ALLOWED_CREATURE}}&lt;br /&gt;
| CREATURE:CASTE&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|APPOINTED_BY}}&lt;br /&gt;
| position&lt;br /&gt;
| This position can only be chosen for the task from the nobles screen, and is available only if there is an *argument* present. For example, the GENERAL is [APPOINTED_BY:MONARCH]. Contrast [ELECTED]. Being appointed by a MONARCH seems to handle a lot of worldgen stuff, and interferes with fort mode titles. Multiple entries are allowed. If you have neither an ELECTED-token nor a APPOINTED_BY-token, the holder may always be changed (like the expedition leader).&lt;br /&gt;
''Read more: [[Advanced_Entity_Position_Mechanics#Appointment]]''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|BRAG_ON_KILL}}&lt;br /&gt;
| &lt;br /&gt;
| A creature that kills a member of this position will be sure to talk about it a lot.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CHAT_WORTHY}}&lt;br /&gt;
| &lt;br /&gt;
| In adventure mode, when referencing locations, an NPC may mention this position holder living there or having done some deed there; it also means that the position exists in world-gen, rather than being created only at the end of world-gen.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|COLOR}}&lt;br /&gt;
| [[Color]]&lt;br /&gt;
| Creatures of this position will have this [[Color]], instead of their profession color, e.g. [COLOR:5:0:1]. It is also applied to the name of the citizen in the units-screen.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|COMMANDER}}&lt;br /&gt;
| position:ALL&lt;br /&gt;
| This position will act as a commander of the specified position{{verify}}. E.g. GENERAL is [COMMANDER:LIEUTENANT:ALL]. Unknown if values other than ALL work. Multiple entries are allowed.&lt;br /&gt;
''Read more: [[Army]]''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CONQUERED_SITE}}&lt;br /&gt;
| &lt;br /&gt;
| This position is a puppet ruler, left behind in a conquered site.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|DEMAND_MAX}}&lt;br /&gt;
| number (0-100)&lt;br /&gt;
| How many demands the position can make of the population at one time.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|DESCRIPTION}}&lt;br /&gt;
| string. Readable up to 470 characters in the nobles' screen.&lt;br /&gt;
| description of this position in the nobles screen.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|DETERMINES_COIN_DESIGN}}&lt;br /&gt;
| &lt;br /&gt;
| The site's (or civ's) minted [[coin]]s, if any, will have images that reflect the personality of this position holder.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|DO_NOT_CULL}}&lt;br /&gt;
| &lt;br /&gt;
| The position won't be culled from Legends as &amp;quot;unimportant&amp;quot; during world generation.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|DUTY_BOUND}}&lt;br /&gt;
| &lt;br /&gt;
| Members of this position will never agree to 'join' your character during adventure mode. They also don't settle anywhere else but in the capital, and will not [[immigration|emigrate]] from their site. If they are not DUTY_BOUND, they will live anywhere as they like.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ELECTED}}&lt;br /&gt;
| &lt;br /&gt;
| The population will periodically select the most skill-eligible creature to fill this position for site-level positions at the player's fort. For responsibilities or positions that use more than one skill, no skill takes priority in electing a creature: an accomplished comedian is more qualified for the TRADE responsibility than a skilled appraiser. A creature may be elected to multiple positions at the same time. Contrast [APPOINTED_BY].&lt;br /&gt;
''More info: [[Elections]]''&lt;br /&gt;
''Read more: [[Advanced_Entity_Position_Mechanics#Elections]]''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|EXECUTION_SKILL}}&lt;br /&gt;
| weapon skill&lt;br /&gt;
| A mandatory sub-tag of [RESPONSIBILITY:EXECUTIONS]. Determines the weapon chosen by the executioner for their work.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|EXPORTED_IN_LEGENDS}}&lt;br /&gt;
| &lt;br /&gt;
| The various members who have filled this role will be listed in the civilisation's history.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|FLASHES}}&lt;br /&gt;
| &lt;br /&gt;
| The creature holding this position will visibly flash, like legendary citizens. Represents a properly noble station by default.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|GENDER}} &lt;br /&gt;
| male/female&lt;br /&gt;
| The position can only be held by the specified gender. Currently bugged {{bug|2714}}&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|KILL_QUEST}}&lt;br /&gt;
| &lt;br /&gt;
| The position can assign quests to adventurers.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|LAND_HOLDER}}&lt;br /&gt;
| importance tier (1-10)&lt;br /&gt;
| This is an alternative to SITE, allowing positions to be created at civ-level 'as needed' for all sites that meet the requirements to have them, which are the values set in [[Difficulty#Land_holder|land holder difficulty]] [[settings]]. The character is tied permanently to a particular site, but also operates at the civ-level.&lt;br /&gt;
''Read more: [[Advanced_Entity_Position_Mechanics#land holders]]''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|LAND_NAME}}&lt;br /&gt;
| string. Readable up to 21 characters in the nobles' screen.&lt;br /&gt;
| The name the area takes on when under the control of a LAND_HOLDER. E.g. for the DUKE, [LAND_NAME:a duchy]. If the position is not a [[LAND_HOLDER]], the land_name is still displayed left of the position in the nobles menu.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MANDATE_MAX}}&lt;br /&gt;
| number (0-100)&lt;br /&gt;
| The maximum number of mandates the position can make at once.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MENIAL_WORK_EXEMPTION}}&lt;br /&gt;
| &lt;br /&gt;
| The position holder cannot be assigned labors. It only works for [SITE]-positions.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MENIAL_WORK_EXEMPTION_SPOUSE}}&lt;br /&gt;
| &lt;br /&gt;
| The spouse of the position holder doesn't have to work, either - see above.&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MILITARY_SCREEN_ONLY}}&lt;br /&gt;
|&lt;br /&gt;
| This position cannot be appointed from the nobles screen. Intended for militia captains and other squad leaders to reduce clutter. Currently nonfunctional{{bug|8965}}&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NAME}}&lt;br /&gt;
| singular:plural. Readable up to 21 characters in the nobles' screen and up to 30 in the unit list.&lt;br /&gt;
| The name of the position.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NAME_MALE}}&lt;br /&gt;
| singular:plural. Readable up to 21 characters in the nobles' screen and up to 30 in the unit list.&lt;br /&gt;
| If the creature holding the position is male, this is the position's name. E.g. for MONARCH, [NAME_MALE:king:kings]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NAME_FEMALE}}&lt;br /&gt;
| singular:plural. Readable up to 21 characters in the nobles' screen and up to 30 in the unit list.&lt;br /&gt;
| If the creature holding the position is female, this is the position's name. E.g. for MONARCH, [NAME_FEMALE:queen:queens]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NUMBER}}&lt;br /&gt;
| &lt;br /&gt;
* number/AS_NEEDED&lt;br /&gt;
| How many of the position there should be. If the [SITE] token exists, this is per site, otherwise this is per civilisation. AS_NEEDED applies mainly to positions involved with the military command chain; this is used to allow armies to expand to whatever size they need to be. Other non-military positions like the land_holders or the [[messenger]] with NUMBER:AS_NEEDED will also be appointed. &lt;br /&gt;
The problem with [[Lieutenant]]s and [[Captain]]s not being created, is their AS_NEEDED number. They are only then created when they're needed, and that has some pretty unusual conditions. When a fixed number is used, they are appointed with the creation of the civ. &lt;br /&gt;
If the NUMBER is set at a fixed value higher than 1, the position is always filled up full. If the position is available on embark, it is completely filled up with only the first dwarf. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PRECEDENCE}}&lt;br /&gt;
| number (0-30000)/NONE&lt;br /&gt;
| How important the position is in society; a lower number is more important and displayed higher in the Nobles menu. For MONARCH it's 1, for MILITIA_CAPTAIN it's 200. The game marks the first non-[SITE] position with [PRECEDENCE:1] as the ruler, for both embark screen and mountainhome purposes. When it is empty, [REPLACED_BY] another position, or not yet created because of [REQUIRES_POPULATION], the screen just says 'None' as the holders' name. Landholders can become the ruler, if they are the first defined position with precedence of 1. civ-position can also be created without precedence. Positions may have the same precedence and will be appointed, although the effect is unknown. Precedence has no effect on who's doing the job, if both positions have the same responsibilities.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PUNISHMENT_EXEMPTION}}&lt;br /&gt;
| &lt;br /&gt;
| The position holder will not be held accountable for his or her crimes. Currently nonfunctional.{{bug|4589}}{{verify|seems to prevent punishment when they are convicted of actual crime}}&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|QUEST_GIVER}}&lt;br /&gt;
|&lt;br /&gt;
| The position holder can give quests in Adventure mode. Functionality in 0.31.13 and later is uncertain.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|REJECTED_CLASS}}&lt;br /&gt;
| CREATURE_CLASS Token&lt;br /&gt;
| Creatures of the specified class cannot be appointed to this position. Multiple entries are allowed&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|REJECTED_CREATURE}}&lt;br /&gt;
| CREATURE:CASTE&lt;br /&gt;
| Restricts position holders by CREATURE type. Multiple entries are allowed. It doesn't seem to work in world-gen. When checking Legends mode, units are seen assigned this position regardless of their creature-type or caste. It does work in Fortress mode.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|REPLACED_BY}}&lt;br /&gt;
| position&lt;br /&gt;
| This position is absorbed by another down the line. For example, expedition leader is [REPLACED_BY:MAYOR]. Only a single entry is allowed.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|REQUIRED_BEDROOM}}&lt;br /&gt;
| number (0-1000000)&lt;br /&gt;
| The position holder requires a bedroom with at least this value.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|REQUIRED_BOXES}}&lt;br /&gt;
| number (0-100)&lt;br /&gt;
| The position holder requires at least this many boxes.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|REQUIRED_CABINETS}}&lt;br /&gt;
| number (0-100)&lt;br /&gt;
| The position holder requires at least this many cabinets.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|REQUIRED_DINING}}&lt;br /&gt;
| number (0-1000000)&lt;br /&gt;
| The position holder requires a dining room with at least this value.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|REQUIRED_OFFICE}}&lt;br /&gt;
| number (0-1000000)&lt;br /&gt;
| The position holder requires an office with at least this value.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|REQUIRED_RACKS}}&lt;br /&gt;
| number (0-100)&lt;br /&gt;
| The position holder requires at least this many weapon racks.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|REQUIRED_STANDS}}&lt;br /&gt;
| number (0-100)&lt;br /&gt;
| The position holder requires at least this many armour stands.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|REQUIRED_TOMB}}&lt;br /&gt;
| number (0-1000000)&lt;br /&gt;
| The position holder requires a tomb with at least this value.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|REQUIRES_MARKET}}&lt;br /&gt;
| &lt;br /&gt;
| Does not have anything directly to do with markets.  It means that in minor sites (such as hillocks) the position will not appear, while in major sites (such as dwarf fortresses) it will.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|REQUIRES_POPULATION}}&lt;br /&gt;
| number&lt;br /&gt;
| The position requires the population to be at least this number before it becomes available, or before the position holder will move in.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|RESPONSIBILITY}}&lt;br /&gt;
| responsibility&lt;br /&gt;
| The position holder does a thing. See the table below for suitable arguments. A position does not need to have a responsibility.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|RULES_FROM_LOCATION}}&lt;br /&gt;
| &lt;br /&gt;
| If there is a special location set aside for rulers, such as a human castle/mead hall, the position holder will always be found at that particular location. Does nothing for dwarven nobles, because at present, dwarves have no such special locations. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SITE}}&lt;br /&gt;
| &lt;br /&gt;
| Every site government will have the defined number of this position instead of the whole civilization; provided that other criteria (if any) are met. Unless LAND_HOLDER is present instead, the defined number of the position will be created only for the civilization as a whole. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SLEEP_PRETENSION}}&lt;br /&gt;
| &lt;br /&gt;
| The position holder will get upset if someone with a higher PRECEDENCE holds quarters with a greater value than their own.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SPECIAL_BURIAL}}&lt;br /&gt;
| &lt;br /&gt;
| The civilization will inter the corpse of the position holder in a special grave, either in catacombs or in monuments. If that grave is disturbed, the position holder can return as a [[mummy]]. {{verify}}&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SPOUSE}}&lt;br /&gt;
| singular:plural. Readable up to 30 characters in the unit list.&lt;br /&gt;
| The name of the position holder's spouse.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SPOUSE_FEMALE}}&lt;br /&gt;
| singular:plural. Readable up to 30 characters in the unit list.&lt;br /&gt;
| If the spouse of the creature holding the position is female, this is the spouse's position name.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SPOUSE_MALE}}&lt;br /&gt;
| singular:plural. Readable up to 30 characters in the unit list.&lt;br /&gt;
| If the spouse of the creature holding the position is male, this is the spouse's position name.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SQUAD}}&lt;br /&gt;
| number:singular:plural&lt;br /&gt;
| The position holder is authorized to form a military squad, led by themselves using the [[leader]] and [[military tactics]] skills. The number denotes the maximum headcount. The noun used to describe the subordinates (e.g. royal guard) is used in adventure mode for the adventurer. This token is used together with [RESPONSIBILITY:LAW_ENFORCEMENT] for giving [[quest]]s to adventurers as [[Hearthperson|hearthpeople]]. Further details: [[Advanced_entity_position_mechanics#Military]]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SUCCESSION}}&lt;br /&gt;
| &lt;br /&gt;
* BY_HEIR / BY_POSITION:position&lt;br /&gt;
| How a new position holder is chosen. A single position can have multiple BY_POSITION tokens.  See [[Noble]] for more information on how succession is handled in the game. &lt;br /&gt;
The SUCCESSION-Tag is also considered when a new positions opens up, for example when a required population number is reached. If a valid successor is available, they will be the one taking that position initially, without appointment or election.&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Responsibilities ==&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#dddddd&amp;quot;&lt;br /&gt;
! Argument&lt;br /&gt;
! Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ACCOUNTING}}&lt;br /&gt;
| Found on [[bookkeeper]]. Position will use [[record keeper]] skill to keep track of stocks.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ADVISE_LEADERS}}&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ATTACK_ENEMIES}}&lt;br /&gt;
| Found on elven [[ranger captain]] and human warrior. Effect unknown.{{verify}}&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|BUILD_MORALE}}&lt;br /&gt;
| Found on [[champion]]. Citizens get a special thought for &amp;quot;talking to a pillar of society&amp;quot; when speaking to this noble.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|BUILDING_SAFETY}}&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|COLLECT_TAXES}}&lt;br /&gt;
| Currently unused - was originally assigned to the tax collector.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CONSTRUCTION_PERMITS}}&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|DELIVER_MESSAGES}}&lt;br /&gt;
| Found on [[messenger]]. Position travels to other sites and uses [[social skill]]s.&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|EQUIPMENT_MANIFESTS}}&lt;br /&gt;
| Currently unused - was originally assigned to the arsenal dwarf.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ESCORT_TAX_COLLECTOR}}&lt;br /&gt;
| Currently unused - was originally assigned to the Royal Guards (squad members beneath the Hammerer).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ESPIONAGE}}&lt;br /&gt;
| Found on [[dungeon master]] and the [[Elf|elven]] [[General|princess]] and uses the [[schemer]] skill.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ESTABLISH_COLONY_TRADE_AGREEMENTS}}&lt;br /&gt;
| Found on [[outpost liaison]]. Position travels with the caravan and uses [[social skill]]s to make trade agreements with any settlements that it visits, provided they are domestic, report the news and promote {{token|LAND_HOLDER|e}} positions. Also reports recent news. Presumably has no effect at site level. Crucially, it does not visit foreign settlements, but the civ-level TRADE position does the exact same thing in its position. They arrive the same time as the caravan arrives, and this can thus be modded by setting {{token|ACTIVE_SEASON|e}}&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|EXECUTIONS}}&lt;br /&gt;
| Found on [[hammerer]]. Position executes death penalty judgements with a weapon of the appropriate skill. Cannot be combined with LAW_ENFORCEMENT, resulting in the &amp;quot;Invalid Officer&amp;quot;-error.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|FIRE_SAFETY}}&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|FOOD_SUPPLY}}&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|HEALTH_MANAGEMENT}}&lt;br /&gt;
| Found on [[chief medical dwarf]]. Position will use [[diagnostician]] skill to evaluate [[wounds]] and schedule [[Health care|treatment]], reported in each citizen's Health tab.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|JUDGE}}&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|LAW_ENFORCEMENT}}&lt;br /&gt;
| Found on [[sheriff]]/[[captain of the guard]]. Position and its subordinates are in charge of punishing criminals. A {{token|SITE|position}} position holding this responsibility plus the {{token|SQUAD|position}} token (or allowing the entity to have a {{token|SITE_VARIABLE_POSITIONS|e}} with this responsibility) is required for an adventurer from a given civilization to start as a [[hearthperson]], [[Captain of the guard|fortress guard]], etc. Cannot be combined with EXECUTIONS, resulting in the &amp;quot;Invalid Officer&amp;quot;-error.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|LAW_MAKING}}&lt;br /&gt;
| Found on [[monarch]]s and [[:Category:Aristocrats|nobles]]. Will be referred to as the leader of the site in adventure mode and they may designate the site as being the capital city for civ-level positions. This position is in charge of creating procedural positions, corresponding to either {{token|VARIABLE_POSITIONS|e}} or {{token|SITE_VARIABLE_POSITIONS|e}}. Position-holders that have attained [[immortality]] may issue oppressive edicts to protect themselves against suspicion.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MAINTAIN_BRIDGES}}&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MAINTAIN_ROADS}}&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MAINTAIN_SEWERS}}&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MAINTAIN_TUNNELS}}&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MAKE_INTRODUCTIONS}}&lt;br /&gt;
| Position will make a 'social call' to an established foreign settlement, complimenting or insulting them depending on relations and reporting the news.  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MAKE_PEACE_AGREEMENTS}}&lt;br /&gt;
| Found on diplomat. Position negotiates peace treaties in order to end wars.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MAKE_TOPIC_AGREEMENTS}}&lt;br /&gt;
| Found on [[diplomat]]. Position negotiates special agreements, such as tree cutting quotas. Used when elevating a settlement in the {{token|LAND_HOLDER|position}} chain up from level 1.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MANAGE_ANIMALS}}&lt;br /&gt;
| Found on [[dungeon master]].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MANAGE_LEADER_HOUSEHOLD_CLEANLINESS}}&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MANAGE_LEADER_HOUSEHOLD_DRINKS}}&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MANAGE_LEADER_HOUSEHOLD_FOOD}}&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MANAGE_PRODUCTION}}&lt;br /&gt;
| Found on [[manager]]. Position enables the use of workshop profiles and uses the [[organizer]] skill to process work orders entered in the job manager after the fortress population reaches 20.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MEET_WORKERS}}&lt;br /&gt;
| Found on [[expedition leader]]/[[mayor]]. Position uses the various [[social skill]]s to hold meetings with unhappy citizens and try to pacify them with happy thoughts. In adventure mode, [SITE] positions with this responsibility handle petitions to make the player a performer for the local government.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MILITARY_GOALS}}&lt;br /&gt;
| Found on [[monarch]]/[[:Category:Aristocrats|landholder]]/[[:Category:Elected Nobles|leaders]]. Character is in charge of going to war and making peace for the government they work for. Without a position with this responsibility at civ level the civilization will not be able to make peace and its sites will wage war on each other constantly, and as a result, all viable civilizations must have one leader with this tag at civ level. This appears not to be a problem for [[kobold]]s, presumably due to the {{token|SKULKING|e}}. If no position has this responsibility in fortress mode, players are unable to start [[missions]].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MILITARY_STRATEGY}}&lt;br /&gt;
| Found on [[general]]/[[militia commander]]. Means that they will command the armies of their site or civilization. Issues the orders for the teams conducting raids or other operations away from the fortress. During worldgen, position will go on expeditions to tame exotic creatures. Counterintuitively not by the TAME_EXOTICS-position. The destinations of these expeditions are determined by the entities USE_(...)_ANIMALS-tokens. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|OVERSEE_LEADER_HOUSEHOLD}}&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PATROL_TERRITORY}}&lt;br /&gt;
| Found on elven ranger captain. Effect unknown.{{verify}}&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PREPARE_LEADER_MEALS}}&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|RECEIVE_DIPLOMATS}}&lt;br /&gt;
| Found on [[monarch]]/[[:Category:Aristocrats|landholder]]/[[:Category:Elected Nobles|leaders]]. Position uses the various social skills to hold meetings with incoming diplomats and liaisons.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|RELIGION}}&lt;br /&gt;
| Found on elven [[druid]] and uses [[social skill]]s. Position informs you about worship cults{{verify}}&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SORT_AMMUNITION}}&lt;br /&gt;
| Currently unused - was originally assigned to the arsenal dwarf.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TAME_EXOTICS}}&lt;br /&gt;
| Position will tame animals with the {{token|PET_EXOTIC}} token. Currently unused - was originally assigned to the dungeon master. Expeditions to tame exotic creatures will be done by the MILITARY_STRATEGY-position&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TRADE}}&lt;br /&gt;
| Found on [[broker]]. Position will use Appraisal skill to display value estimates and the various Social skills to trade at the depot. When applied to other civilizations, this position will arrive with the caravan to make trade agreements (like the Human Guild Representative from older versions) and behaves otherwise like the civ's own ESTABLISH_COLONY_TRADE_AGREEMENTS position holder. They arrive the same time as the caravan arrive and this can thus be modded by setting {{token|ACTIVE_SEASON|e}}&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|UPGRADE_SQUAD_EQUIPMENT}}&lt;br /&gt;
| Currently unused - was originally assigned to the arsenal dwarf.&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Related tokens ==&lt;br /&gt;
The following two ENTITY tokens are not actually position tokens, but bear mentioning on this page because they can modify the way that a civilization's positions behave:&lt;br /&gt;
&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#dddddd&amp;quot;&lt;br /&gt;
! Token&lt;br /&gt;
! Arguments&lt;br /&gt;
! Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|VARIABLE_POSITIONS}}&lt;br /&gt;
| Position responsibility or ALL&lt;br /&gt;
| Allows a responsibility to be taken up by a dynamically generated position (such as Law-maker).&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Why won't my positions appear? ==&lt;br /&gt;
The way DF determines what positions will actually ''appear'' in your fortress is somewhat counter-intuitive and fairly limiting. This guide should help you understand what you can do to actually get your positions working properly.&lt;br /&gt;
&lt;br /&gt;
There are five tokens governing which positions appear in your fortress - LAND_HOLDER, REQUIRES_POPULATION, APPOINTED_BY, ELECTED, and REPLACED_BY. The first two determine when your fortress is eligible for a new position, the next two determine how a new position for which your fortress is eligible can be added, and the fifth allows you to clear up obsolete positions. Unfortunately, they also interact in some strange ways that makes creating interesting position structures difficult.&lt;br /&gt;
&lt;br /&gt;
When you start a new fortress, DF compiles a list of your initial positions. To do this, it looks at the requirements for each position - any position whose only requirement is less than seven dwarves (either because they have no requirement tokens, or because their only requirement tokens are [REQUIRES_POPULATION: =&amp;lt; 7] or [LAND_HOLDER:some trigger whose only requirement is some number of dwarves equal to or less than 7]). Most importantly, ''any'' position whose only requirement is a LAND_HOLDER requirement, regardless of what the trigger for that requirement is, will be added if another eligible starting position is REPLACED_BY it. '''A non-LAND_HOLDER position that is REPLACED_BY a LAND_HOLDER position will never appear.''' With this list compiled, the game culls all positions that are REPLACED_BY another eligible position, and then culls all positions that have the APPOINTED_BY token. '''You may not embark with any appointed positions.''' Any remaining positions are then filled by a dwarf chosen at random.&lt;br /&gt;
&lt;br /&gt;
'''Positions do not automatically appear when you reach their requirements.''' For example, if you remove the ELECTED token from the Mayor, then the Mayor will never appear, even once you reach their required number of dwarves. '''For a position that does not appear at embark to appear in your fortress, it must be APPOINTED_BY another position or ELECTED.'''&lt;br /&gt;
&lt;br /&gt;
Naturally, this is more complicated than it looks. '''APPOINTED_BY positions must be appointed by another position already in your fortress, or a civ-level position. Only LAND_HOLDER positions may be appointed by civ-level positions.''' LAND_HOLDER positions that are APPOINTED_BY civ-level positions are inherently tied to civ-level tokens with the ESTABLISH_COLONY_TRADE_AGREEMENTS responsibility. If a fortress meets the LAND_HOLDER_TRIGGER for a new LAND_HOLDER tier when a caravan leaves, then the next time the outpost liaison or equivalent arrives, they will offer to make you an official colony, which will allow you to select all positions for that LAND_HOLDER level. '''Each time they appear, the outpost liaison will only promote your fortress one tier up the LAND_HOLDER track.''' The biggest problem with this system is that you may set your LAND_HOLDER_TRIGGERS such that you are eligible for the first tier of LAND_HOLDER positions at embark. '''If you are eligible for the first tier of LAND_HOLDER positions at embark, then all first-tier positions will appear twice - once at embark, and again when the outpost liaison comes to appoint you to the first tier.'''&lt;br /&gt;
&lt;br /&gt;
If civ-positions are neither APPOINTED_BY nor ELECTED, they still will be filled. &lt;br /&gt;
&lt;br /&gt;
Read more: [[Advanced_Entity_Position_Mechanics]]&lt;br /&gt;
&lt;br /&gt;
{{Category|Modding}}&lt;br /&gt;
{{Category|Tokens}}&lt;br /&gt;
[[ru:Position token]]&lt;/div&gt;</summary>
		<author><name>Joostheger</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=Talk:Army&amp;diff=314923</id>
		<title>Talk:Army</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=Talk:Army&amp;diff=314923"/>
		<updated>2026-02-12T09:08:48Z</updated>

		<summary type="html">&lt;p&gt;Joostheger: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Could we get a screenshot of different types of army on the Adventure travel map?&lt;br /&gt;
&lt;br /&gt;
[[User:DPhKraken|DPhKraken]] ([[User talk:DPhKraken|talk]]) 22:16, 3 December 2024 (UTC)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I have tried to force a lieutenant to be appointed, but to no avail. I removed all other commanders and limit stricktly that this was the only position that had even a squad. I made the civ much more aggresive, nothing worked. &lt;br /&gt;
[[User:Joostheger|Joostheger]] ([[User talk:Joostheger|talk]]) 09:08, 12 February 2026 (UTC)&lt;/div&gt;</summary>
		<author><name>Joostheger</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=Position_token&amp;diff=314922</id>
		<title>Position token</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=Position_token&amp;diff=314922"/>
		<updated>2026-02-12T09:05:53Z</updated>

		<summary type="html">&lt;p&gt;Joostheger: /* Position tokens */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Quality|Fine}}&lt;br /&gt;
{{av}}&lt;br /&gt;
{{Modding}}&lt;br /&gt;
Position tokens define [[noble]] positions for civilizations and site governments, inside [[entity token]]s. In the vanilla game, position token definitions can be found in &amp;lt;code&amp;gt;[[Game folder|&amp;lt;Dwarf Fortress&amp;gt;]]\data\vanilla\vanilla_entities\objects\entity_default.txt&amp;lt;/code&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
{{clear}}&lt;br /&gt;
&lt;br /&gt;
==Code==&lt;br /&gt;
A position is defined with a position 'code', as an argument in the [POSITION]-tag. The same code may be used multiple times, they don't have to be unique. This code is used as reference by APPOINTED_BY, SUCCESSION:BY_POSITION, REPLACE_BY and COMMANDER. 'MONARCH' is an example of this code.&lt;br /&gt;
&lt;br /&gt;
==Position tokens==&lt;br /&gt;
These tokens belong in an entity definition, applying to a position (such as monarch) and should follow the [POSITION:POSITION_NAME] token.&lt;br /&gt;
&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#dddddd&amp;quot;&lt;br /&gt;
! Token&lt;br /&gt;
! Arguments&lt;br /&gt;
! Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ACCOUNT_EXEMPT}}&lt;br /&gt;
|&lt;br /&gt;
| The position holder is not subjected to the [[Dwarven economy|economy]]. Less than relevant right now.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ALLOWED_CLASS}}&lt;br /&gt;
| {{token|CREATURE_CLASS|creature}} token&lt;br /&gt;
| rowspan=2 | ALLOWED_CLASS: Only creatures with the specified {{token|CREATURE_CLASS|creature}} token can be appointed to this position. Multiple entries are allowed.&amp;lt;/br&amp;gt; ALLOWED_CREATURE: Restricts the position to only the defined [[caste]]. Multiple entries are allowed. &amp;lt;/br&amp;gt;  Only works with a creature (and caste) of the entity's current race, but does not prevent other creature-types from gaining that position, at least not in world-gen. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ALLOWED_CREATURE}}&lt;br /&gt;
| CREATURE:CASTE&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|APPOINTED_BY}}&lt;br /&gt;
| position&lt;br /&gt;
| This position can only be chosen for the task from the nobles screen, and is available only if there is an *argument* present. For example, the GENERAL is [APPOINTED_BY:MONARCH]. Contrast [ELECTED]. Being appointed by a MONARCH seems to handle a lot of worldgen stuff, and interferes with fort mode titles. Multiple entries are allowed. If you have neither an ELECTED-token nor a APPOINTED_BY-token, the holder may always be changed (like the expedition leader).&lt;br /&gt;
''Read more: [[Advanced_Entity_Position_Mechanics#Appointment]]''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|BRAG_ON_KILL}}&lt;br /&gt;
| &lt;br /&gt;
| A creature that kills a member of this position will be sure to talk about it a lot.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CHAT_WORTHY}}&lt;br /&gt;
| &lt;br /&gt;
| In adventure mode, when referencing locations, an NPC may mention this position holder living there or having done some deed there; it also means that the position exists in world-gen, rather than being created only at the end of world-gen.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|COLOR}}&lt;br /&gt;
| [[Color]]&lt;br /&gt;
| Creatures of this position will have this [[Color]], instead of their profession color, e.g. [COLOR:5:0:1]. It is also applied to the name of the citizen in the units-screen.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|COMMANDER}}&lt;br /&gt;
| position:ALL&lt;br /&gt;
| This position will act as a commander of the specified position{{verify}}. E.g. GENERAL is [COMMANDER:LIEUTENANT:ALL]. Unknown if values other than ALL work. Multiple entries are allowed.&lt;br /&gt;
''Read more: [[Army]]''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CONQUERED_SITE}}&lt;br /&gt;
| &lt;br /&gt;
| This position is a puppet ruler, left behind in a conquered site.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|DEMAND_MAX}}&lt;br /&gt;
| number (0-100)&lt;br /&gt;
| How many demands the position can make of the population at one time.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|DESCRIPTION}}&lt;br /&gt;
| string. Readable up to 470 characters in the nobles' screen.&lt;br /&gt;
| description of this position in the nobles screen.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|DETERMINES_COIN_DESIGN}}&lt;br /&gt;
| &lt;br /&gt;
| The site's (or civ's) minted [[coin]]s, if any, will have images that reflect the personality of this position holder.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|DO_NOT_CULL}}&lt;br /&gt;
| &lt;br /&gt;
| The position won't be culled from Legends as &amp;quot;unimportant&amp;quot; during world generation.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|DUTY_BOUND}}&lt;br /&gt;
| &lt;br /&gt;
| Members of this position will never agree to 'join' your character during adventure mode. They also don't settle anywhere else but in the capital, and will not [[immigration|emigrate]] from their site. If they are not DUTY_BOUND, they will live anywhere as they like.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ELECTED}}&lt;br /&gt;
| &lt;br /&gt;
| The population will periodically select the most skill-eligible creature to fill this position for site-level positions at the player's fort. For responsibilities or positions that use more than one skill, no skill takes priority in electing a creature: an accomplished comedian is more qualified for the TRADE responsibility than a skilled appraiser. A creature may be elected to multiple positions at the same time. Contrast [APPOINTED_BY].&lt;br /&gt;
''More info: [[Elections]]''&lt;br /&gt;
''Read more: [[Advanced_Entity_Position_Mechanics#Elections]]''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|EXECUTION_SKILL}}&lt;br /&gt;
| weapon skill&lt;br /&gt;
| A mandatory sub-tag of [RESPONSIBILITY:EXECUTIONS]. Determines the weapon chosen by the executioner for their work.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|EXPORTED_IN_LEGENDS}}&lt;br /&gt;
| &lt;br /&gt;
| The various members who have filled this role will be listed in the civilisation's history.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|FLASHES}}&lt;br /&gt;
| &lt;br /&gt;
| The creature holding this position will visibly flash, like legendary citizens. Represents a properly noble station by default.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|GENDER}} &lt;br /&gt;
| male/female&lt;br /&gt;
| The position can only be held by the specified gender. Currently bugged {{bug|2714}}&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|KILL_QUEST}}&lt;br /&gt;
| &lt;br /&gt;
| The position can assign quests to adventurers.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|LAND_HOLDER}}&lt;br /&gt;
| importance tier (1-10)&lt;br /&gt;
| This is an alternative to SITE, allowing positions to be created at civ-level 'as needed' for all sites that meet the requirements to have them, which are the values set in [[Difficulty#Land_holder|land holder difficulty]] [[settings]]. The character is tied permanently to a particular site, but also operates at the civ-level.&lt;br /&gt;
''Read more: [[Advanced_Entity_Position_Mechanics#land holders]]''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|LAND_NAME}}&lt;br /&gt;
| string. Readable up to 21 characters in the nobles' screen.&lt;br /&gt;
| The name the area takes on when under the control of a LAND_HOLDER. E.g. for the DUKE, [LAND_NAME:a duchy]. If the position is not a [[LAND_HOLDER]], the land_name is still displayed left of the position in the nobles menu.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MANDATE_MAX}}&lt;br /&gt;
| number (0-100)&lt;br /&gt;
| The maximum number of mandates the position can make at once.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MENIAL_WORK_EXEMPTION}}&lt;br /&gt;
| &lt;br /&gt;
| The position holder cannot be assigned labors. It only works for [SITE]-positions.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MENIAL_WORK_EXEMPTION_SPOUSE}}&lt;br /&gt;
| &lt;br /&gt;
| The spouse of the position holder doesn't have to work, either - see above.&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MILITARY_SCREEN_ONLY}}&lt;br /&gt;
|&lt;br /&gt;
| This position cannot be appointed from the nobles screen. Intended for militia captains and other squad leaders to reduce clutter. Currently nonfunctional{{bug|8965}}&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NAME}}&lt;br /&gt;
| singular:plural. Readable up to 21 characters in the nobles' screen and up to 30 in the unit list.&lt;br /&gt;
| The name of the position.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NAME_MALE}}&lt;br /&gt;
| singular:plural. Readable up to 21 characters in the nobles' screen and up to 30 in the unit list.&lt;br /&gt;
| If the creature holding the position is male, this is the position's name. E.g. for MONARCH, [NAME_MALE:king:kings]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NAME_FEMALE}}&lt;br /&gt;
| singular:plural. Readable up to 21 characters in the nobles' screen and up to 30 in the unit list.&lt;br /&gt;
| If the creature holding the position is female, this is the position's name. E.g. for MONARCH, [NAME_FEMALE:queen:queens]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NUMBER}}&lt;br /&gt;
| &lt;br /&gt;
* number/AS_NEEDED&lt;br /&gt;
| How many of the position there should be. If the [SITE] token exists, this is per site, otherwise this is per civilisation. AS_NEEDED applies mainly to positions involved with the military command chain; this is used to allow armies to expand to whatever size they need to be. Other non-military positions like the land_holders or the [[messenger]] with NUMBER:AS_NEEDED will also be appointed. &lt;br /&gt;
The problem with [[Lieutenant]]s and [[Captain]]s not being created, is their AS_NEEDED number. They are only then created when they're needed, and that has some pretty unusual conditions. When a fixed number is used, they are appointed with the creation of the civ. &lt;br /&gt;
If the NUMBER is set at a fixed value higher than 1, the position is always filled up full. If the position is available on embark, it is completely filled up with only the first dwarf. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PRECEDENCE}}&lt;br /&gt;
| number (0-30000)/NONE&lt;br /&gt;
| How important the position is in society; a lower number is more important and displayed higher in the Nobles menu. For MONARCH it's 1, for MILITIA_CAPTAIN it's 200. The game marks the first non-[SITE] position with [PRECEDENCE:1] as the ruler, for both embark screen and mountainhome purposes. When it is empty, [REPLACED_BY] another position, or not yet created because of [REQUIRES_POPULATION], the screen just says 'None' as the holders' name. Landholders can become the ruler, if they are the first defined position with precedence of 1. civ-position can also be created without precedence. Positions may have the same precedence and will be appointed, although the effect is unknown. Precedence has no effect on who's doing the job, if both positions have the same responsibilities.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PUNISHMENT_EXEMPTION}}&lt;br /&gt;
| &lt;br /&gt;
| The position holder will not be held accountable for his or her crimes. Currently nonfunctional.{{bug|4589}}{{verify|seems to prevent punishment when they are convicted of actual crime}}&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|QUEST_GIVER}}&lt;br /&gt;
|&lt;br /&gt;
| The position holder can give quests in Adventure mode. Functionality in 0.31.13 and later is uncertain.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|REJECTED_CLASS}}&lt;br /&gt;
| CREATURE_CLASS Token&lt;br /&gt;
| Creatures of the specified class cannot be appointed to this position. Multiple entries are allowed&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|REJECTED_CREATURE}}&lt;br /&gt;
| CREATURE:CASTE&lt;br /&gt;
| Restricts position holders by CREATURE type. Multiple entries are allowed. It doesn't seem to work in world-gen. When checking Legends mode, units are seen assigned this position regardless of their creature-type or caste. It does work in Fortress mode.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|REPLACED_BY}}&lt;br /&gt;
| position&lt;br /&gt;
| This position is absorbed by another down the line. For example, expedition leader is [REPLACED_BY:MAYOR]. Only a single entry is allowed.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|REQUIRED_BEDROOM}}&lt;br /&gt;
| number (0-1000000)&lt;br /&gt;
| The position holder requires a bedroom with at least this value.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|REQUIRED_BOXES}}&lt;br /&gt;
| number (0-100)&lt;br /&gt;
| The position holder requires at least this many boxes.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|REQUIRED_CABINETS}}&lt;br /&gt;
| number (0-100)&lt;br /&gt;
| The position holder requires at least this many cabinets.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|REQUIRED_DINING}}&lt;br /&gt;
| number (0-1000000)&lt;br /&gt;
| The position holder requires a dining room with at least this value.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|REQUIRED_OFFICE}}&lt;br /&gt;
| number (0-1000000)&lt;br /&gt;
| The position holder requires an office with at least this value.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|REQUIRED_RACKS}}&lt;br /&gt;
| number (0-100)&lt;br /&gt;
| The position holder requires at least this many weapon racks.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|REQUIRED_STANDS}}&lt;br /&gt;
| number (0-100)&lt;br /&gt;
| The position holder requires at least this many armour stands.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|REQUIRED_TOMB}}&lt;br /&gt;
| number (0-1000000)&lt;br /&gt;
| The position holder requires a tomb with at least this value.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|REQUIRES_MARKET}}&lt;br /&gt;
| &lt;br /&gt;
| Does not have anything directly to do with markets.  It means that in minor sites (such as hillocks) the position will not appear, while in major sites (such as dwarf fortresses) it will.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|REQUIRES_POPULATION}}&lt;br /&gt;
| number&lt;br /&gt;
| The position requires the population to be at least this number before it becomes available, or before the position holder will move in.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|RESPONSIBILITY}}&lt;br /&gt;
| responsibility&lt;br /&gt;
| The position holder does a thing. See the table below for suitable arguments. A position does not need to have a responsibility.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|RULES_FROM_LOCATION}}&lt;br /&gt;
| &lt;br /&gt;
| If there is a special location set aside for rulers, such as a human castle/mead hall, the position holder will always be found at that particular location. Does nothing for dwarven nobles, because at present, dwarves have no such special locations. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SITE}}&lt;br /&gt;
| &lt;br /&gt;
| Every site government will have the defined number of this position instead of the whole civilization; provided that other criteria (if any) are met. Unless LAND_HOLDER is present instead, the defined number of the position will be created only for the civilization as a whole. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SLEEP_PRETENSION}}&lt;br /&gt;
| &lt;br /&gt;
| The position holder will get upset if someone with a higher PRECEDENCE holds quarters with a greater value than their own.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SPECIAL_BURIAL}}&lt;br /&gt;
| &lt;br /&gt;
| The civilization will inter the corpse of the position holder in a special grave, either in catacombs or in monuments. If that grave is disturbed, the position holder can return as a [[mummy]]. {{verify}}&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SPOUSE}}&lt;br /&gt;
| singular:plural. Readable up to 30 characters in the unit list.&lt;br /&gt;
| The name of the position holder's spouse.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SPOUSE_FEMALE}}&lt;br /&gt;
| singular:plural. Readable up to 30 characters in the unit list.&lt;br /&gt;
| If the spouse of the creature holding the position is female, this is the spouse's position name.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SPOUSE_MALE}}&lt;br /&gt;
| singular:plural. Readable up to 30 characters in the unit list.&lt;br /&gt;
| If the spouse of the creature holding the position is male, this is the spouse's position name.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SQUAD}}&lt;br /&gt;
| number:singular:plural&lt;br /&gt;
| The position holder is authorized to form a military squad, led by themselves using the [[leader]] and [[military tactics]] skills. The number denotes the maximum headcount. The noun used to describe the subordinates (e.g. royal guard) is used in adventure mode for the adventurer. This token is used together with [RESPONSIBILITY:LAW_ENFORCEMENT] for giving [[quest]]s to adventurers as [[Hearthperson|hearthpeople]]. Further details: [[Advanced_entity_position_mechanics#Military]]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SUCCESSION}}&lt;br /&gt;
| &lt;br /&gt;
* BY_HEIR / BY_POSITION:position&lt;br /&gt;
| How a new position holder is chosen. A single position can have multiple BY_POSITION tokens.  See [[Noble]] for more information on how succession is handled in the game. &lt;br /&gt;
The SUCCESSION-Tag is also considered when a new positions opens up, for example when a required population number is reached. If a valid successor is available, they will be the one taking that position initially, without appointment or election.&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Responsibilities ==&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#dddddd&amp;quot;&lt;br /&gt;
! Argument&lt;br /&gt;
! Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ACCOUNTING}}&lt;br /&gt;
| Found on [[bookkeeper]]. Position will use [[record keeper]] skill to keep track of stocks.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ADVISE_LEADERS}}&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ATTACK_ENEMIES}}&lt;br /&gt;
| Found on elven [[ranger captain]] and human warrior. Effect unknown.{{verify}}&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|BUILD_MORALE}}&lt;br /&gt;
| Found on [[champion]]. Citizens get a special thought for &amp;quot;talking to a pillar of society&amp;quot; when speaking to this noble.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|BUILDING_SAFETY}}&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|COLLECT_TAXES}}&lt;br /&gt;
| Currently unused - was originally assigned to the tax collector.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CONSTRUCTION_PERMITS}}&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|DELIVER_MESSAGES}}&lt;br /&gt;
| Found on [[messenger]]. Position travels to other sites and uses [[social skill]]s.&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|EQUIPMENT_MANIFESTS}}&lt;br /&gt;
| Currently unused - was originally assigned to the arsenal dwarf.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ESCORT_TAX_COLLECTOR}}&lt;br /&gt;
| Currently unused - was originally assigned to the Royal Guards (squad members beneath the Hammerer).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ESPIONAGE}}&lt;br /&gt;
| Found on [[dungeon master]] and the [[Elf|elven]] [[General|princess]] and uses the [[schemer]] skill.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ESTABLISH_COLONY_TRADE_AGREEMENTS}}&lt;br /&gt;
| Found on [[outpost liaison]]. Position travels with the caravan and uses [[social skill]]s to make trade agreements with any settlements that it visits, provided they are domestic, report the news and promote {{token|LAND_HOLDER|e}} positions. Also reports recent news. Presumably has no effect at site level. Crucially, it does not visit foreign settlements, but the civ-level TRADE position does the exact same thing in its position. They arrive the same time as the caravan arrives, and this can thus be modded by setting {{token|ACTIVE_SEASON|e}}&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|EXECUTIONS}}&lt;br /&gt;
| Found on [[hammerer]]. Position executes death penalty judgements with a weapon of the appropriate skill. Cannot be combined with LAW_ENFORCEMENT, resulting in the &amp;quot;Invalid Officer&amp;quot;-error.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|FIRE_SAFETY}}&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|FOOD_SUPPLY}}&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|HEALTH_MANAGEMENT}}&lt;br /&gt;
| Found on [[chief medical dwarf]]. Position will use [[diagnostician]] skill to evaluate [[wounds]] and schedule [[Health care|treatment]], reported in each citizen's Health tab.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|JUDGE}}&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|LAW_ENFORCEMENT}}&lt;br /&gt;
| Found on [[sheriff]]/[[captain of the guard]]. Position and its subordinates are in charge of punishing criminals. A {{token|SITE|position}} position holding this responsibility plus the {{token|SQUAD|position}} token (or allowing the entity to have a {{token|SITE_VARIABLE_POSITIONS|e}} with this responsibility) is required for an adventurer from a given civilization to start as a [[hearthperson]], [[Captain of the guard|fortress guard]], etc. Cannot be combined with EXECUTIONS, resulting in the &amp;quot;Invalid Officer&amp;quot;-error.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|LAW_MAKING}}&lt;br /&gt;
| Found on [[monarch]]s and [[:Category:Aristocrats|nobles]]. Will be referred to as the leader of the site in adventure mode and they may designate the site as being the capital city for civ-level positions. This position is in charge of creating procedural positions, corresponding to either {{token|VARIABLE_POSITIONS|e}} or {{token|SITE_VARIABLE_POSITIONS|e}}. Position-holders that have attained [[immortality]] may issue oppressive edicts to protect themselves against suspicion.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MAINTAIN_BRIDGES}}&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MAINTAIN_ROADS}}&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MAINTAIN_SEWERS}}&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MAINTAIN_TUNNELS}}&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MAKE_INTRODUCTIONS}}&lt;br /&gt;
| Position will make a 'social call' to an established foreign settlement, complimenting or insulting them depending on relations and reporting the news.  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MAKE_PEACE_AGREEMENTS}}&lt;br /&gt;
| Found on diplomat. Position negotiates peace treaties in order to end wars.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MAKE_TOPIC_AGREEMENTS}}&lt;br /&gt;
| Found on [[diplomat]]. Position negotiates special agreements, such as tree cutting quotas. Used when elevating a settlement in the {{token|LAND_HOLDER|position}} chain up from level 1.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MANAGE_ANIMALS}}&lt;br /&gt;
| Found on [[dungeon master]].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MANAGE_LEADER_HOUSEHOLD_CLEANLINESS}}&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MANAGE_LEADER_HOUSEHOLD_DRINKS}}&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MANAGE_LEADER_HOUSEHOLD_FOOD}}&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MANAGE_PRODUCTION}}&lt;br /&gt;
| Found on [[manager]]. Position enables the use of workshop profiles and uses the [[organizer]] skill to process work orders entered in the job manager after the fortress population reaches 20.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MEET_WORKERS}}&lt;br /&gt;
| Found on [[expedition leader]]/[[mayor]]. Position uses the various [[social skill]]s to hold meetings with unhappy citizens and try to pacify them with happy thoughts. In adventure mode, [SITE] positions with this responsibility handle petitions to make the player a performer for the local government.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MILITARY_GOALS}}&lt;br /&gt;
| Found on [[monarch]]/[[:Category:Aristocrats|landholder]]/[[:Category:Elected Nobles|leaders]]. Character is in charge of going to war and making peace for the government they work for. Without a position with this responsibility at civ level the civilization will not be able to make peace and its sites will wage war on each other constantly, and as a result, all viable civilizations must have one leader with this tag at civ level. This appears not to be a problem for [[kobold]]s, presumably due to the {{token|SKULKING|e}}. If no position has this responsibility in fortress mode, players are unable to start [[missions]].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MILITARY_STRATEGY}}&lt;br /&gt;
| Found on [[general]]/[[militia commander]]. Means that they will command the armies of their site or civilization. Issues the orders for the teams conducting raids or other operations away from the fortress. During worldgen, position will go on expeditions to tame exotic creatures. Counterintuitively not by the TAME_EXOTICS-position. The destinations of these expeditions are determined by the entities USE_(...)_ANIMALS-tokens. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|OVERSEE_LEADER_HOUSEHOLD}}&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PATROL_TERRITORY}}&lt;br /&gt;
| Found on elven ranger captain. Effect unknown.{{verify}}&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PREPARE_LEADER_MEALS}}&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|RECEIVE_DIPLOMATS}}&lt;br /&gt;
| Found on [[monarch]]/[[:Category:Aristocrats|landholder]]/[[:Category:Elected Nobles|leaders]]. Position uses the various social skills to hold meetings with incoming diplomats and liaisons.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|RELIGION}}&lt;br /&gt;
| Found on elven [[druid]] and uses [[social skill]]s. Position informs you about worship cults{{verify}}&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SORT_AMMUNITION}}&lt;br /&gt;
| Currently unused - was originally assigned to the arsenal dwarf.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TAME_EXOTICS}}&lt;br /&gt;
| Position will tame animals with the {{token|PET_EXOTIC}} token. Currently unused - was originally assigned to the dungeon master. Expeditions to tame exotic creatures will be done by the MILITARY_STRATEGY-position&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TRADE}}&lt;br /&gt;
| Found on [[broker]]. Position will use Appraisal skill to display value estimates and the various Social skills to trade at the depot. When applied to other civilizations, this position will arrive with the caravan to make trade agreements (like the Human Guild Representative from older versions) and behaves otherwise like the civ's own ESTABLISH_COLONY_TRADE_AGREEMENTS position holder. They arrive the same time as the caravan arrive and this can thus be modded by setting {{token|ACTIVE_SEASON|e}}&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|UPGRADE_SQUAD_EQUIPMENT}}&lt;br /&gt;
| Currently unused - was originally assigned to the arsenal dwarf.&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Related tokens ==&lt;br /&gt;
The following two ENTITY tokens are not actually position tokens, but bear mentioning on this page because they can modify the way that a civilization's positions behave:&lt;br /&gt;
&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#dddddd&amp;quot;&lt;br /&gt;
! Token&lt;br /&gt;
! Arguments&lt;br /&gt;
! Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|VARIABLE_POSITIONS}}&lt;br /&gt;
| Position responsibility or ALL&lt;br /&gt;
| Allows a responsibility to be taken up by a dynamically generated position (such as Law-maker).&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Why won't my positions appear? ==&lt;br /&gt;
The way DF determines what positions will actually ''appear'' in your fortress is somewhat counter-intuitive and fairly limiting. This guide should help you understand what you can do to actually get your positions working properly.&lt;br /&gt;
&lt;br /&gt;
There are five tokens governing which positions appear in your fortress - LAND_HOLDER, REQUIRES_POPULATION, APPOINTED_BY, ELECTED, and REPLACED_BY. The first two determine when your fortress is eligible for a new position, the next two determine how a new position for which your fortress is eligible can be added, and the fifth allows you to clear up obsolete positions. Unfortunately, they also interact in some strange ways that makes creating interesting position structures difficult.&lt;br /&gt;
&lt;br /&gt;
When you start a new fortress, DF compiles a list of your initial positions. To do this, it looks at the requirements for each position - any position whose only requirement is less than seven dwarves (either because they have no requirement tokens, or because their only requirement tokens are [REQUIRES_POPULATION: =&amp;lt; 7] or [LAND_HOLDER:some trigger whose only requirement is some number of dwarves equal to or less than 7]). Most importantly, ''any'' position whose only requirement is a LAND_HOLDER requirement, regardless of what the trigger for that requirement is, will be added if another eligible starting position is REPLACED_BY it. '''A non-LAND_HOLDER position that is REPLACED_BY a LAND_HOLDER position will never appear.''' With this list compiled, the game culls all positions that are REPLACED_BY another eligible position, and then culls all positions that have the APPOINTED_BY token. '''You may not embark with any appointed positions.''' Any remaining positions are then filled by a dwarf chosen at random.&lt;br /&gt;
&lt;br /&gt;
'''Positions do not automatically appear when you reach their requirements.''' For example, if you remove the ELECTED token from the Mayor, then the Mayor will never appear, even once you reach their required number of dwarves. '''For a position that does not appear at embark to appear in your fortress, it must be APPOINTED_BY another position or ELECTED.'''&lt;br /&gt;
&lt;br /&gt;
Naturally, this is more complicated than it looks. '''APPOINTED_BY positions must be appointed by another position already in your fortress, or a civ-level position. Only LAND_HOLDER positions may be appointed by civ-level positions.''' LAND_HOLDER positions that are APPOINTED_BY civ-level positions are inherently tied to civ-level tokens with the ESTABLISH_COLONY_TRADE_AGREEMENTS responsibility. If a fortress meets the LAND_HOLDER_TRIGGER for a new LAND_HOLDER tier when a caravan leaves, then the next time the outpost liaison or equivalent arrives, they will offer to make you an official colony, which will allow you to select all positions for that LAND_HOLDER level. '''Each time they appear, the outpost liaison will only promote your fortress one tier up the LAND_HOLDER track.''' The biggest problem with this system is that you may set your LAND_HOLDER_TRIGGERS such that you are eligible for the first tier of LAND_HOLDER positions at embark. '''If you are eligible for the first tier of LAND_HOLDER positions at embark, then all first-tier positions will appear twice - once at embark, and again when the outpost liaison comes to appoint you to the first tier.'''&lt;br /&gt;
&lt;br /&gt;
If civ-positions are neither APPOINTED_BY nor ELECTED, they still will be filled. &lt;br /&gt;
&lt;br /&gt;
Read more: [[Advanced_Entity_Position_Mechanics]]&lt;br /&gt;
&lt;br /&gt;
{{Category|Modding}}&lt;br /&gt;
{{Category|Tokens}}&lt;br /&gt;
[[ru:Position token]]&lt;/div&gt;</summary>
		<author><name>Joostheger</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=Talk:Advanced_entity_position_mechanics&amp;diff=314920</id>
		<title>Talk:Advanced entity position mechanics</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=Talk:Advanced_entity_position_mechanics&amp;diff=314920"/>
		<updated>2026-02-12T08:50:36Z</updated>

		<summary type="html">&lt;p&gt;Joostheger: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;These lines contradict eachother:&lt;br /&gt;
* Premature succession works in fortress mode with landholders. If a unit gets a landholdersposition and that landholder is the appointer of an yet-empty position, which is defined as succeeding from a third one, then the succession is immediately applied. The landholder himself can even be the successor of a newly created position.&lt;br /&gt;
* A landholder's position is, in fortress mode, not successable by a site-position or visa versa.&lt;br /&gt;
&lt;br /&gt;
Needs further investigation [[User:Joostheger|Joostheger]] ([[User talk:Joostheger|talk]])&lt;br /&gt;
----An interesting tidbit I did find, while validating some info for the variable positions (writing and running some Lua scripts for it): The FORCED_ADMINISTRATOR position of the dwarven civilization is actually used, eventhough I so far found only one instance (where the position was used). Interestingly the precedence was 100 (not 65) and was the only position of a site government belonging to a goblin civ. The site ruled was a Mountain Halls and most inhabitants were also dwarves. The other data in the position definition matched the raw-definition of the FORCED_ADMINISTRATOR (of the dwarven civ). So the token [CONQUERED_SITE] might mean that another civ conquering a site of a dwarven civ will (or might) use the forced administrator for governing that site (and not the other way round).[[Special:Contributions/91.49.240.46|91.49.240.46]] 21:10, 10 February 2026 (UTC)&lt;br /&gt;
----That is an interesting fact, but I doubt it still :-) My experience is that it just works. I think that FORCED_ADMINISTRATOR is also a generated position, used by other groups that have variable positions&lt;br /&gt;
[[User:Joostheger|Joostheger]] ([[User talk:Joostheger|talk]]) 08:50, 12 February 2026 (UTC)&lt;/div&gt;</summary>
		<author><name>Joostheger</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=Advanced_entity_position_mechanics&amp;diff=314919</id>
		<title>Advanced entity position mechanics</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=Advanced_entity_position_mechanics&amp;diff=314919"/>
		<updated>2026-02-12T08:48:26Z</updated>

		<summary type="html">&lt;p&gt;Joostheger: /* [CONQUERED_SITE] */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Quality|Fine}}&lt;br /&gt;
{{Modding}}&lt;br /&gt;
&lt;br /&gt;
= Introduction = &lt;br /&gt;
&lt;br /&gt;
[http://www.bay12forums.com/smf/index.php?topic=182239.0 Discussion thread on the forum]&lt;br /&gt;
&lt;br /&gt;
This page documents observed and tested behavior of entity positions in Dwarf Fortress that is not fully described elsewhere on the wiki. It focuses on advanced interactions between position tokens, including appointment, succession, election, and responsibility handling, across both civilization-level and site-level entities.&lt;br /&gt;
&lt;br /&gt;
The mechanics described here are based on empirical testing in world generation and fortress mode, supplemented where necessary by raw analysis. In several cases, the game’s behavior is determined by evaluation order and interaction between multiple tags, rather than by individual tokens in isolation.&lt;br /&gt;
&lt;br /&gt;
This page is intended for modders and advanced players who are designing or debugging custom entity position structures. It does not restate basic position mechanics, but instead highlights edge cases, non-obvious interactions, and behaviors that may appear inconsistent or undocumented.&lt;br /&gt;
&lt;br /&gt;
Unless stated otherwise, the described behavior applies to current versions of the game and may differ from older releases.&lt;br /&gt;
&lt;br /&gt;
==What is an entity? What is a position?==&lt;br /&gt;
An [[entity]] is an organizational structure that can have relationships with other entities, usually known as a [[civilization]] or a &amp;quot;[[site]] government&amp;quot; in the game, but merchant [[guild]]s, religious organizations, necromancer towers, and [[bandit]] groups are also entities. An entity can have positions - in most cases, these are hardcoded and generated by the game, but as for civilizations and sites, the [[raw file]]s can be customised.&lt;br /&gt;
&lt;br /&gt;
A position is a special relationship between a unit and an entity. The unit holding a position has a larger influence over that entity than other citizens. Positions are mostly known as [[nobles]], but in this article. the technical term is used.&lt;br /&gt;
&lt;br /&gt;
=Position levels (Site/Civ) and their interaction=&lt;br /&gt;
There are two basic types of positions that are customizable: '''civ(ilization)''' level and '''site level'''. Positions with the tag [SITE] are at site level, positions without the tag [SITE] are at 'civ level'. These two types of nobles can be considered '''loosely related systems'''. There are a few places where they can interact with each other.&lt;br /&gt;
&lt;br /&gt;
Civ-level positions are in charge of the civilization as a whole, managing national [[trade]], laws, and [[war]]s. These are, for example, the vanilla [[monarch]], [[diplomat]] and [[general]]. (Note that the general doesn't do anything in either mode in the current version.)&lt;br /&gt;
&lt;br /&gt;
'''[LAND_HOLDER]''' nobles are also positions at civ-level. These units are members of the national government, but have gained authority over some land or site. Once they do, they move to that place, but their position is still regarded as a civ-level position.&lt;br /&gt;
&lt;br /&gt;
Site-level position holders are members of a site government (subsidiary to the civilization), and manage local affairs in that location. These are, for example, the [[mayor]], the [[sheriff]] and the [[broker]].&lt;br /&gt;
&lt;br /&gt;
==Table of interaction between different position levels==&lt;br /&gt;
In this table, the possible interactions between different position levels are summarized. &lt;br /&gt;
The header row shows the positions defining the tokens.&lt;br /&gt;
&lt;br /&gt;
The left column shows the position type that is referred to.&lt;br /&gt;
Example:  &lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! referred position-type&lt;br /&gt;
! LAND_HOLDER&lt;br /&gt;
|-&lt;br /&gt;
| civilization&lt;br /&gt;
|  &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;(baron is) APPOINTED_BY:MONARCH&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
color coding: &amp;lt;/br&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;Exists in vanilla&amp;lt;/span&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;Possible with mods&amp;lt;/span&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;Not possible&amp;lt;/span&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;possible to some extent.&amp;lt;/span&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;not yet fully investigated.&amp;lt;/span&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! referred position-type&lt;br /&gt;
! Civilization&lt;br /&gt;
! SITE&lt;br /&gt;
! LAND_HOLDER&lt;br /&gt;
! CONQUERED_SITE&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Civilization&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;SUCCESSION '''(1)'''&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| SITE&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;SUCCESSION '''(2)'''&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;APPOINTED_BY '''(3)'''&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;SUCCESSION '''(4)'''&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| LAND_HOLDER&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY '''(6)'''&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;SUCCESSION '''(5)'''&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;REPLACED_BY '''(7)'''&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;SUCCESSION '''(8)'''&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;CONQUERED_SITE&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; COMMANDER &amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; REPLACED_BY &amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt; SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; COMMANDER &amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; REPLACED_BY &amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt; SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; COMMANDER &amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; REPLACED_BY &amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; COMMANDER &amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; REPLACED_BY &amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Remarks:&lt;br /&gt;
# Works only in world-gen, if a unit with that civ-position is present at the site.&lt;br /&gt;
# Works only in world-gen, the site-position holding unit will then move to the capital.&lt;br /&gt;
# Is completely ignored&lt;br /&gt;
# Works only in world-gen.&lt;br /&gt;
# Works only in world-gen.&lt;br /&gt;
# Won't appear at all&lt;br /&gt;
# This is necessary for the landholder chain to work properly, it doesn’t work otherwise.&lt;br /&gt;
# This works only outside of the landholder chain, so when landholders are simply regarded as civ-level nobles. might also work in world-gen&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
== Other interactions ==&lt;br /&gt;
&lt;br /&gt;
Unfortunately, interactions with positions of other entities don't seem possible, such as APPOINTED_BY: HIGH_PRIEST. With [VARIABLE_POSITIONS], positions are automatically created with codes like CUSTOM_LAW_MAKER_2, but interaction with these positions don't seem to work, either. For more info on those, see [[Variable positions]]&lt;br /&gt;
&lt;br /&gt;
=General=&lt;br /&gt;
&lt;br /&gt;
==Civ-level nobles living at your site==&lt;br /&gt;
Nobles from your civilization can come to live at your fortress. This happens in vanilla with landholders such as [[Baron]], [[Count]] and [[Duke]], with the Monarch, but sometimes also with non-landed LAND_HOLDERS.&lt;br /&gt;
&lt;br /&gt;
When a civ-level noble becomes a [[citizen]] at your location, their position is shown among the site-level positions in your [[nobles screen]]. They appear to function as a site-level noble. They may have [[demand]]s, [[mandate]]s, [[squad]]s and the like. They can appoint nobles at the site-level.&lt;br /&gt;
&lt;br /&gt;
If they have certain [RESPONSIBILITY]ies, they do the tasks that go with them.&lt;br /&gt;
&lt;br /&gt;
==Fortress mode, world-gen and their differences==&lt;br /&gt;
Their are a few differences in how positions function between fortress mode (normal play mode) and the world generation (world-gen). &lt;br /&gt;
&lt;br /&gt;
In '''fortress mode''', the player has some control over the appointment of nobles, limited by elections, automatic filled-in positions and succession rules. Pre-fortress mode, which is referred to as '''world-gen''', the game will always attempt to assign nobles whenever possible. It is subjected to the same rules as in fortress-mode, but there are some exceptions. In '''[[World activities]]''', which is the thing that happens in the world while you play fortress mode, it seems as if the same rules are applied as fortress mode. &lt;br /&gt;
&lt;br /&gt;
A difference between player-fortress-mode and world-gen, is causes by visibility (see below). Positions that are not visible by the player and thus not available for assignment, will be available in world-gen and will thus be automatically assigned.&lt;br /&gt;
&lt;br /&gt;
In fortress mode, a position that is both [ELECTED] and [APPOINTED_BY], cannot be appointed by the player and is also not elected, and can thus not be filled. But in world-gen sites however, these positions are automatically filled.&lt;br /&gt;
&lt;br /&gt;
Positions with [AS_NEEDED] are almost never created and filled in world-gen (depending on their [RESPONSIBILITY]ies), but can always be used in player mode.&lt;br /&gt;
&lt;br /&gt;
A position can, in fortress mode, be filled by the same unit. A unit can gain multiple positions in fortress mode, for example because of [[elections]]. This will not happen in world-gen mode: a unit can only have one position. See also remarks on 'embark' and 'Losing a position'.&lt;br /&gt;
&lt;br /&gt;
In world-gen, [SUCCESSION] between civ-levels and [SITE-]levels may happen. This will not happen in fortress mode, or even off-site in [[World activities]].&lt;br /&gt;
&lt;br /&gt;
In fortress mode, premature SUCCESSION may happen. This will not happen in world-gen mode.&lt;br /&gt;
&lt;br /&gt;
==Units holding multiple positions in multiple entities==&lt;br /&gt;
A unit can hold multiple positions in its civilisation or in its site-entity, however this does not happen in world-gen. Only at player-managed sites can units be holding multiple positions at once. (It is probably not possible for a unit to hold a position in two different civilisations or two different sites.)&lt;br /&gt;
&lt;br /&gt;
In world-gen, if there are too many positions to be filled, they simply stay empty until more units are available. E.G, a unit at a site might inherit a civ-level position and still remain a member of the local government. When this happens however, they move to the capital. If a unit gains a new position, either inherited or otherwise, it drops the previous one. If a unit assumes a civ-position in fortress mode, it leaves the current position. &lt;br /&gt;
&lt;br /&gt;
If a unit holds the same (site-)position multiple times, it has no additional effect.&lt;br /&gt;
&lt;br /&gt;
If a unit holds multiple different positions of the same entity, it has all those positions' responsibilities and properties, stacked up. Presumably, the demands for those combined positions are determined by the highest.&lt;br /&gt;
 &lt;br /&gt;
A unit holding a position with a succession token can be assigned another position with a (different) succession token. &lt;br /&gt;
&lt;br /&gt;
A unit holding a position with a squad-position cannot hold another squad-position. It is dropped from the first, when it gets its second assigned. &lt;br /&gt;
A unit holding a position with a succession token cannot be assigned to a squad-position - the unit is simply not available. It works the other way around, though.&lt;br /&gt;
&lt;br /&gt;
=Specific Tags and functions=&lt;br /&gt;
==[PRECEDENCE]==&lt;br /&gt;
The first defined position with precedence of 1 counts as the ruler of the civ. See also: [[Position_token#PRECEDENCE|PRECEDENCE]]. &lt;br /&gt;
&lt;br /&gt;
If the precedence is omitted or has a negative value, the game sets 0 as precedence, which seems to have no effect whatsoever.&lt;br /&gt;
&lt;br /&gt;
When a unit has multiple positions, the name of the position with the highest rank in precedence is shown behind the unit's name.&lt;br /&gt;
&lt;br /&gt;
If you omit precedence entirely, or set it to [PRECEDENCE:NONE], the position name will not be shown after the unit’s name. Your *Urist Mason* will remain simply *Mason*. This can be useful for positions that are unimportant or purely functional. The position will also not appear in the civilisation overview of your site on the world map. The position name is shown in messages, but remains hidden on the nobles screen as well. To make it visible there, use [LAND_NAME].&lt;br /&gt;
&lt;br /&gt;
==[RESPONSIBILITY]ies==&lt;br /&gt;
Both civ and [SITE] positions can carry responsibilities. However, not all responsibilities are active for both types: some function only for civ positions, others only for site positions. When a civ noble arrives at a site and takes up residence, they do not perform responsibilities that are intended for SITE nobles. As a result, these responsibilities neither trigger their associated tasks nor unlock related game mechanics. For example, a civ-level manager living in a fortress will not perform management duties there and doesn't unlock the management-screen, even with an assigned office. &lt;br /&gt;
This behavior applies to the following [SITE]-level responsibilities:&lt;br /&gt;
* [RESPONSIBILITY:ACCOUNTING]&lt;br /&gt;
* [RESPONSIBILITY:BUILD_MORALE]&lt;br /&gt;
* [RESPONSIBILITY:HEALTH_MANAGEMENT]&lt;br /&gt;
* [RESPONSIBILITY:LAW_ENFORCEMENT]&lt;br /&gt;
* [RESPONSIBILITY:MANAGE_PRODUCTION]&lt;br /&gt;
* [RESPONSIBILITY:MEET_WORKERS]&lt;br /&gt;
* [RESPONSIBILITY:TRADE]  (functions differently)&lt;br /&gt;
Other responsibilities may be affected as well, but have not yet been fully tested.&lt;br /&gt;
&lt;br /&gt;
===World-gen effects of the [RESPONSIBILITY] of available positions ===&lt;br /&gt;
It is possible to cause civs and individual sites to change their behavior substantially when they reach a certain size, by controlling nobles. &lt;br /&gt;
* If a site can only appoint a position with [MILITARY_GOALS] after reaching a particular size, that site will not send armies on missions until the required size is reached.&lt;br /&gt;
* A civ-level [LAW_MAKING] position is required for the civilization to have any kind of cohesion. Without it, sites will be constantly embroiled in territorial disputes and civil wars will be commonplace.&lt;br /&gt;
* [MILITARY_STRATEGY] positions go out and tame wild animals. This makes your civ gain those animals as domesticated and also brings them in sieges.&lt;br /&gt;
* The [[Personality_facet|Personality]] of the position's holder determines how they lead the civ.&lt;br /&gt;
&lt;br /&gt;
===[DELIVERS_MESSAGES]===&lt;br /&gt;
The only [AS_NEEDED]-position that is created in worldgen based on responsibility is that of the site-level responsibility [DELIVERS_MESSAGES].&lt;br /&gt;
&lt;br /&gt;
===Outpost Liaisons and Diplomats===&lt;br /&gt;
Civ-positions with the responsibility [ESTABLISH_COLONY_TRADE_AGREEMENTS] ([[Outpost_Liaison|Outpost Liaison]]s) will meet with the site-noble who has responsibility for [RECEIVE_DIPLOMATS] and the highest rank of precedence (i.e. the lowest precedence value). Usually this is the [[Expedition_leader|Expedition leader]].&lt;br /&gt;
&lt;br /&gt;
Once a [LAND_HOLDER] is assigned to the site, civ-positions with the responsibility [MAKE_TOPIC_AGREEMENTS] ([[Diplomat]]s) will meet with '''civ'''-level nobles present at the site who have the [RECEIVE_DIPLOMATS] responsibility. If multiple eligible nobles are available, one is selected at random. If no eligible noble is present, the diplomat leaves angrily. If the landholder is no longer present at the site, diplomats will not arrive at all.&lt;br /&gt;
&lt;br /&gt;
It appears that Outpost Liaisons and Diplomats are chosen for a diplomatic mission based on availability. When multiple candidates exist, the position defined last in the raws is most often selected.&lt;br /&gt;
&lt;br /&gt;
===[TRADE]===&lt;br /&gt;
Civ-level nobles with [TRADE] will arrive with the caravan, just as the Outpost Liaison. Their behavior is no longer active in the vanilla game, but the mechanics are still present. See [[40d:Guild_representative|Guild representative]] for more details. This civ-noble will only meet with the SITE noble with [TRADE], usually the [[Broker]].&lt;br /&gt;
&lt;br /&gt;
If two civ-nobles exist with both [TRADE] and [ESTABLISH_COLONY_TRADE_AGREEMENTS], they both arrive at the same time. Even if both tokens are assigned to a single position, if more than one instance of that position exists, two of them will arrive. However in that case, somehow the elevation of the site and appointment of landholder isn't offered.&lt;br /&gt;
&lt;br /&gt;
If the SITE-noble they intend to meet has both [TRADE] and [RECEIVE_DIPLOMATS], only one meeting will proceed and the other is cancelled. However, when two SITE-nobles are available, each with either [TRADE] or [RECEIVE_DIPLOMATS], both meetings will proceed and both civ-nobles will attempt to negotiate a trade agreement. It is not known what happens if these agreements are accepted or refused.&lt;br /&gt;
&lt;br /&gt;
In the trade depot, the last defined position with the [TRADE] responsibility is shown as broker. However when requesting a trader, the first defined position with [TRADE] will actually go there to do the trade.&lt;br /&gt;
&lt;br /&gt;
==[NUMBER]==&lt;br /&gt;
A position might be defined with a number. In that case, as many as defined can be available. If the positions become available, in world-gen and when embarking, they are all filled-in completely.&lt;br /&gt;
&lt;br /&gt;
If the ruling position (with PRECEDENCE of 1) has a NUMBER higher than 1, a random unit of the ones holding these positions is shown as ruler in the embark screen.&lt;br /&gt;
&lt;br /&gt;
A [NUMBER] of 0 (zero) has the same effect as 1.&lt;br /&gt;
&lt;br /&gt;
===Automatic spreading of assumed, non-singular positions===&lt;br /&gt;
If there are civ positions that have a NUMBER higher then '1' and which are assumed (not APPOINTED_BY or ELECTED) but are '''not DUTY_BOUND''', these are automatically spread among the civilisation, based on population. If there are a number of '''20''' available slots of that position, they spread among a civilization with a combined population of, for example, 1000 of which your fortress has 100 (10%), '''2''' of your fortress' citizens will assume that position. &lt;br /&gt;
This may probably also work with elected and appointed positions, but that may be depending on the death of the current holders and this needs more testing. Assumption works within a day, anyway. &lt;br /&gt;
&lt;br /&gt;
===[AS_NEEDED]===&lt;br /&gt;
These positions can be created automatically by the game in world-gen. This, however, only works with: &lt;br /&gt;
* [LAND_HOLDER]'s&lt;br /&gt;
* squad commanders (needs more testing)&lt;br /&gt;
* Messengers at sites&lt;br /&gt;
&lt;br /&gt;
For all other types of positions, they're not created in world-gen, even if they are defined with RESPONSIBILITY's. For example, even in war, the game wouldn't create a MILITARY_GOALS position, if they have AS_NEEDED as number. &lt;br /&gt;
&lt;br /&gt;
However, in fortress mode / player mode, these positions can be created by the player at will.&lt;br /&gt;
&lt;br /&gt;
Positions with AS_NEEDED need to be created first, before any symbols are assignable as 'symbols' (objects) for the position holder to carry or wear.&lt;br /&gt;
&lt;br /&gt;
Positions with AS_NEEDED cannot be created and then ELECTED in fortress mode. It only works with APPOINTED_BY.&lt;br /&gt;
&lt;br /&gt;
==[REPLACED_BY] and [REQUIRES_POPULATION]==&lt;br /&gt;
&lt;br /&gt;
The token REPLACED_BY:position means that once the replacing position reaches its required population-number, the 'to-be-replaced' position will disappear. This is defined in REQUIRES_POPULATION. These tags are closely related to each other and seem to only have a meaningful function if combined. Nobles with REQUIRES_POPULATION require the population to have a specific size. &lt;br /&gt;
&lt;br /&gt;
This works on the civ-level as well as on site-level, but those systems are in this mechanic strictly separated. Site-level positions cannot be replaced by civ-level positions and visa versa. This makes sense, because they both depend on their own population-count. When using REQUIRES_POPULATION on civ-level, it counts the total population of the civilisation. &lt;br /&gt;
&lt;br /&gt;
See also: [[Advanced_entity_position_mechanics#Evaluation_of_Positions|Evaluation of positions]]&lt;br /&gt;
&lt;br /&gt;
===Effect of replacement (and on [LAND_HOLDER]s)===&lt;br /&gt;
&lt;br /&gt;
Replacement is immediate and complete - the current holding unit loses the position, even before SUCCESSION_BY_POSITION rules are applied. A position with a number of 1 will replace all the slots of a position with a higher number of slots. &lt;br /&gt;
&lt;br /&gt;
Even if the next position is available but not visible, replacement still takes place. If a position is replaced, it is completely gone - it cannot be appointed, succeeded, elected or assumed any longer.&lt;br /&gt;
The unit immediately loses its position.&lt;br /&gt;
&lt;br /&gt;
In legends, replacement is mentioned as: &amp;quot;(unit name) ceased to be (position name)&amp;quot; The replacement of an AS_NEEDED position empties the position's slot forever. In fortress mode, it may seem as if you can create new slots and appoint new units in the nobles screen, but this is reversed as soon as you close the window.&lt;br /&gt;
&lt;br /&gt;
The landholder chain uses [REPLACED_BY] differently. It does not clear the position completely, but uses it for succession to the next level's position. [REPLACE_BY] is required to let that system work properly. This also means that the way in which landholders succeed (replace + as_needed) does not work in any other way. &lt;br /&gt;
&lt;br /&gt;
Replacement between LAND_HOLDERS and other site- or civ positions does not work in any way. Only the vanilla replacement sequence between levels of LAND_HOLDERs does work. If the token is omitted for landholders, the landholder chain is broken, so replacement is required for the landholder system to work.&lt;br /&gt;
&lt;br /&gt;
[REQUIRES_POPULATION] also does not work for [LAND_HOLDER], when you set [NUMBER] to 1. The position is not created when the required population is reached.&lt;br /&gt;
&lt;br /&gt;
===What doesn't work===&lt;br /&gt;
&lt;br /&gt;
'''Attention: If a position cannot be appointed, for example because of 'mutual appointment', it still exists according to replacement mechanics and will replace other positions if so defined. If a certain position(a) will be replaced by the baron's assistant, which can only be appointed by the [LAND_HOLDER] baron, than that position(s) still will be replaced from the start of the game, even if no baron or their assistant is ever present.'''&lt;br /&gt;
&lt;br /&gt;
A position that is replaced by a somehow non-fillable position is still replaced. This counts for mutual-appointing positions, replacement by not-yet-assigned landholders, replacement by AS_NEEDED positions, or replacement by not-yet-appointed positions. &lt;br /&gt;
&lt;br /&gt;
Replacement does not work if the replaced position is a [LAND_HOLDER], even with civ-positions. In that case, the LAND_HOLDER's position is not replaced. It does not matter if AS_NEEDED is used, or a fixed number, and it also does not matter what type of position the replacer is. So this only works (correctly) with positions that become available by REQUIRES_POPULATION.&lt;br /&gt;
&lt;br /&gt;
==[CONQUERED_SITE]==&lt;br /&gt;
&lt;br /&gt;
This tag determines which position is used to assign a [[Forced administrator]].&lt;br /&gt;
&lt;br /&gt;
In legends mode, this is visible as an event describing the reconquest of the site: a new group is formed and the forced administrator is installed as its ruler.&lt;br /&gt;
&lt;br /&gt;
All positions defined with this tag are assigned during this process, meaning multiple positions can be appointed at once.&lt;br /&gt;
&lt;br /&gt;
The holder of a position marked with [CONQUERED_SITE] cannot appoint any other [SITE] positions.&lt;br /&gt;
&lt;br /&gt;
Combining [CONQUERED_SITE] with [SITE] causes the position to function both as a forced administrator and as a normal site position available in fortress mode. However, this provides no meaningful additional mechanics and is effectively inferior to using [SITE] alone:&lt;br /&gt;
* [APPOINTED_BY] lines are completely ignored, meaning that the roles are automatically assumed.&lt;br /&gt;
* [SUCCESSION] is likewise ignored.&lt;br /&gt;
* the [CONQUERED_SITE]-position cannot appoint other [CONQUERED_SITE], [SITE] or combined positions.&lt;br /&gt;
&lt;br /&gt;
There have been remarks that reclaiming a fortress is unplayable because of the lack of regular nobles. Unfortunately, it seems that it can't be fixed by modding.&lt;br /&gt;
&lt;br /&gt;
=Availability and visibility=&lt;br /&gt;
==Availability of (new) positions==&lt;br /&gt;
Warning: Do not mistake &amp;quot;availability&amp;quot; for &amp;quot;visibility&amp;quot;! &lt;br /&gt;
&lt;br /&gt;
Of all the possible positions existing in your site's entity, there may only be some available. &lt;br /&gt;
* Positions with [REQUIRES_POPULATION] require the population to have a specific size.&lt;br /&gt;
* Positions with [REQUIRES_MARKET] will only appear in &amp;quot;large&amp;quot; sites (which may have different rules for different site types). This tag has no effect in fort mode.&lt;br /&gt;
* Positions that are appointed by positions that have an AS_NEEDED number. The appointable positions only become available after an appointer position-slot is created. This works also on civ-level. If a position is appointed by a Land-holder, it only becomes available, when that level of landholder is created. &lt;br /&gt;
	&lt;br /&gt;
Only the replaced positions are culled and are no longer available. &lt;br /&gt;
A position that requires a certain population will become available, even if it doesn't have [APPOINTED_BY] or [ELECTED]. In that case, see 'automatic assignment' and 'assumption'&lt;br /&gt;
&lt;br /&gt;
In fortress mode, in some cases 'succession' is evaluated immediately after a position becomes available. See: Succession.&lt;br /&gt;
==Visibility of positions==&lt;br /&gt;
A position might be available, but can still be invisible for the player in the [[nobles screen]]. The positions with their respective holders are visible for players:&lt;br /&gt;
* All site-positions that are already filled-in (even if they could not be re-filled-in considering current conditions)&lt;br /&gt;
* Site positions that are appointable by a filled-in site position&lt;br /&gt;
* Site positions that are appointable by a filled-in civ position, when that civ positions holder becomes a citizen of your fortress.&lt;br /&gt;
* Civ positions of units that are also a citizen of your fortress.&lt;br /&gt;
If a position becomes available, for example because a certain pop number has been reached, or if it is available from the start(like expedition leader), as long as it cannot be appointed, it still is INVISIBLE for the player. &lt;br /&gt;
&lt;br /&gt;
It might strike someone as odd if a position becomes filled automatically in fortress mode when that position is not even visible. This might be the case if the current holder of a non-appointable position dies or succeeds another position. Regardless of player visibility, these positions will be automatically filled in if the necessary requisitions are met. It might happen with the expedition leader.&lt;br /&gt;
&lt;br /&gt;
A situation with a non-visible but available position, is for example when a position is solely appointed by the expedition leader, when the expedition leader's position is left vacant. It can no longer be appointed by the player and is invisible. Then, it gets automatically assumed, proving that the position still was available.&lt;br /&gt;
&lt;br /&gt;
A position that is both [APPOINTED_BY] and [ELECTED] is visible, but players cannot interact with it.&lt;br /&gt;
&lt;br /&gt;
={{text anchor|Evaluation of Positions}}=&lt;br /&gt;
The game does not continuously check whether positions should become available, elected or be [REPLACE_BY]. This is well-known behavior—for example with the [[mayor]], who does not appear automatically when the required population ([REQUIRES_POPULATION]) is reached. Instead, positions must somehow be evaluated. This applies in several other situations as well &lt;br /&gt;
&lt;br /&gt;
'''Cases that require a trigger:'''&lt;br /&gt;
* Election of a newly created position&lt;br /&gt;
* Election after the current holder dies&lt;br /&gt;
* Automatic assumption of a newly created position (this may take up to a day)&lt;br /&gt;
* New citizens (such as migrants) considering available positions&lt;br /&gt;
* Premature succession of a newly created position&lt;br /&gt;
&lt;br /&gt;
'''Cases that do not wait for a trigger:'''&lt;br /&gt;
* Succession following the death of the previous holder&lt;br /&gt;
* Automatic assumption of existing positions that have become vacant&lt;br /&gt;
&lt;br /&gt;
'''Triggers that cause the game to reevaluate noble positions:'''&lt;br /&gt;
* Succession of a [SITE]-position due to the death of the current holder&lt;br /&gt;
* [[Advanced_entity_position_mechanics#Election_Day|Election Day]]&lt;br /&gt;
* Automatic assumption of a [SITE]-position that becomes vacant&lt;br /&gt;
* (Re)assigning any site position manually&lt;br /&gt;
* Settlement elevation on the LAND_HOLDER track (e.g. gaining a [[Baron]] or [[Count]])&lt;br /&gt;
&lt;br /&gt;
=Gaining a position=&lt;br /&gt;
There are several ways a unit can gain a position:&lt;br /&gt;
* Appointment: A unit is appointed by another unit or by the player.&lt;br /&gt;
* Election: A unit is elected by and among the members of the entity&lt;br /&gt;
* Assumption: A position is neither elected or appointed: a random unit just simply 'takes' the position&lt;br /&gt;
* Succession: a unit is the valid successor of this position(A), either by its current position(B) or because they are that position(A)-holder's heir. &lt;br /&gt;
&lt;br /&gt;
Available positions will automatically be assigned to a random civ member when a new site/civ is created.&lt;br /&gt;
&lt;br /&gt;
==Who can take a position==&lt;br /&gt;
&lt;br /&gt;
* If so defined, a unit needs to be the right caste and/or class - it does not seem to work with creature types. &lt;br /&gt;
* The unit needs to be an adult member of the site or its parent civ's government; that is also CAN_LEARN or INTELLIGENT (SLOW_LEARNER cannot take positions) or otherwise is able to think.&lt;br /&gt;
&lt;br /&gt;
==Appointment==&lt;br /&gt;
&lt;br /&gt;
Positions that have an [APPOINTED_BY:position] token require that position to exist, to be available and appointed. Any position that is APPOINTED_BY can be appointed if the appointer's position is filled in. &lt;br /&gt;
For site-positions to be appointed, it is required that the appointer is present at that location.&lt;br /&gt;
&lt;br /&gt;
If the appointing unit is temporarily not present, or if that position is not filled, positions depending on it cannot be appointed. This is the case with [[militia captains]], when the [[militia commander]] is on a [[mission]]. &lt;br /&gt;
&lt;br /&gt;
A site position cannot appoint a civ position ''or'' LAND_HOLDER in any way whatsoever. &lt;br /&gt;
&lt;br /&gt;
Civ-level positions can appoint other civ-level positions and site-level positions can appoint other site-level positions.&lt;br /&gt;
&lt;br /&gt;
Contrary to what has been said elsewhere, civ-level nobles also can appoint site-level nobles. They need to be at the site to do so. Landholders can appoint both site-level and civ-level nobles. These systems are therefore not as separate as was assumed.&lt;br /&gt;
&lt;br /&gt;
'''Mutual appointment''' cannot take place. If these are the only requisites of the position, then the positions will never appear or get filled. These unfillable positions can be put to good use, for example, to replace a position that is no longer needed without creating a new one. &lt;br /&gt;
&lt;br /&gt;
'''Self appointment''' doesn't normally work. If you have a position that is only appointed by itself, it is never appointed and also cannot be assumed. However, if the position has a number higher than 1, and is filled by multiple units (for example by another position that is now empty), than those units can re-assign or appoint each other from that their shared position. &lt;br /&gt;
&lt;br /&gt;
If an APPOINTED_BY token refers to a non-existing position's code, the effects are as if the appointment token doesn't exist at all.&lt;br /&gt;
&lt;br /&gt;
===Automatic appointment in world-gen and on the civ level===&lt;br /&gt;
&lt;br /&gt;
Outside of fortress mode, the game will always attempt to appoint nobles whenever possible, as long as these positions are '''available''', even if they are invisible to the player.&lt;br /&gt;
It shows this message in legends:  &amp;quot;(unit name) has been appointed to the position of (position name)&amp;quot;&lt;br /&gt;
&lt;br /&gt;
In world-gen, all positions become available and are automatically appointed, taking population- and appointment-requirements into consideration. &lt;br /&gt;
&lt;br /&gt;
Positions that are REPLACED_BY are culled and won't be filled.&lt;br /&gt;
&lt;br /&gt;
If a citizen of your fortress holds a civ-level position that can appoint another civ-level position, the appointment will happen automatically and without player intervention. It may happen that another citizen of your fortress is appointed by that unit, creating civ-level position holders in your fortress, but it is unknown what is required to force this effect.&lt;br /&gt;
&lt;br /&gt;
===Manual appointments by players in fortress mode===&lt;br /&gt;
In fortress mode, the positions that need to be appointed stay empty on embark. and it is the player's job to appoint those. A player can appoint a unit to any available position, according to the hereabove mentioned conditions. The player takes the role of the automatic appointment-system, but has no direct control over elections, successions and replacement. There are some differences in what is possible at world-gen sites and at player-controlled sites.&lt;br /&gt;
&lt;br /&gt;
* A position that is appointed by a unit present as a fortress citizen, can be appointed, re-appointed or left vacant. This means also by civ-level nobles living as a citizen in your fortress; not when they are only visiting, like the diplomat.&lt;br /&gt;
* A position whose appointing positions are all either vacant or [REPLACED_BY] can no longer be appointed. If the position is already filled, it cannot be reappointed or vacated; the current holder simply remains in office.&lt;br /&gt;
* A position that is APPOINTED_BY a unit present as the land_holder of your site, can be appointed, reassigned or left vacant.&lt;br /&gt;
* A position that has SUCCESSION BY_HEIR or BY_POSITION can 'initially' be appointed and also re-appointed or left vacant, but as soon as the [[nobles]] screen closes, ''it can no longer be replaced or left vacant''. From then on, the succession-rules determine who gains that position when the current holder loses the position. This works even if the SUCCESSION:BY_POSITION-position is vacant or replaced.&lt;br /&gt;
* A position that is ELECTED nor APPOINTED_BY, can always be (re-)appointed by the player. This is the case with the [[Expedition leader]]. If it is left vacant however, it cannot be appointed, but will be assumed shortly after. &lt;br /&gt;
* A position that is both ELECTED and APPOINTED_BY, cannot be appointed by the player. Contrary to world-gen sites, its slot is visible, but it doesn't show the +-sign. This is either by AS_NEEDED or by a fixed number. Even if the position somehow gets filled (re)assignment is never possible&lt;br /&gt;
* A player can appoint a number of units to a position, as much as the NUMBER token dictates. If it is AS_NEEDED, the player may create as many slots as they like, also contrary to world-gen sites. &lt;br /&gt;
* A civ-position can never be appointed, even if the appointing civ noble is a citizen of your fortress. A civ position also never can be re-assigned or left vacant, would that position be defined as appointed by a site-position.&lt;br /&gt;
&lt;br /&gt;
==Election==&lt;br /&gt;
Read more in [[Elections]]. The message that is shown is: &amp;quot;(creature name) has been elected to the position of  (position name)&amp;quot;&lt;br /&gt;
&lt;br /&gt;
In worldgen, there is no functional difference between ELECTED and non-appointment, except that elected nobles tend to have high social skills and/or skills related to the position, while non-elected ones are assigned randomly. See: [[Elections]]&lt;br /&gt;
&lt;br /&gt;
A succession goes before an election. &lt;br /&gt;
&lt;br /&gt;
A position that is both ELECTED and APPOINTED_BY never gets elected. Even if the appointees' position somehow gets filled, (re)-elections won't happen. So, it doesn't seem possible to have an elected position become available when a certain other position becomes filled. &lt;br /&gt;
&lt;br /&gt;
An ELECTED civ-(or LAND_HOLDER) position at your site will never be (re)-elected in fortress mode. So real (re-)election only works with SITE-positions. &lt;br /&gt;
&lt;br /&gt;
=== {{text anchor|Election Day}} ===&lt;br /&gt;
Election Day takes place on the 17th of Summer. On this day, a full reevaluation is performed, including all currently elected positions, which are subject to re-election. Contrary to the information on [[Elections]], nothing occurs at the start of a season.&lt;br /&gt;
&lt;br /&gt;
Positions that are both [APPOINTED_BY] and [ELECTED] will not be re-elected on Election Day when assigned through [SUCCESSION].&lt;br /&gt;
&lt;br /&gt;
=== Election Eligiblity ===&lt;br /&gt;
Any citizen may stand for election. Eligibility cannot be restricted using [ACCEPTED_CREATURE], [REJECTED_CREATURE], [ACCEPTED_CLASS], [REJECTED_CLASS], or [GENDER]. Units currently having a [SUCCESSION]-position even may be elected for a position with a [SQUAD]-token, which is otherwise impossible to assign or even succeed.&lt;br /&gt;
&lt;br /&gt;
=== Skills ===&lt;br /&gt;
In elections, skills are taken into account for the tokens of the position which is elected.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Relevant skills per position token&lt;br /&gt;
|-&lt;br /&gt;
! Position Token !! Relevant skills&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#DELIVER_MESSAGES|[DELIVER_MESSAGES]]] || [[Ambusher]], [[Observer]] and [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#ACCOUNTING|[ACCOUNTING]]] || [[Record_keeper|Record keeper]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#ESPIONAGE|[ESPIONAGE]]] || [[Schemer]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#HEALTH_MANAGEMENT|[HEALTH_MANAGEMENT]]] || [[Diagnostician|Diagnostician]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#MAKE_INTRODUCTIONS|[MAKE_INTRODUCTIONS]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#MAKE_PEACE_AGREEMENTS|[MAKE_PEACE_AGREEMENTS]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#MAKE_TOPIC_AGREEMENTS|[MAKE_TOPIC_AGREEMENTS]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#MANAGE_PRODUCTION|[MANAGE_PRODUCTION]]] || [[Organizer]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#MEET_WORKERS|[MEET_WORKERS]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#RECEIVE_DIPLOMATS|[RECEIVE_DIPLOMATS]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#RELIGION|[RELIGION]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#TAME_EXOTICS|[TAME_EXOTICS]]] || [[Animal_trainer|Animal trainer]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#TRADE|[TRADE]]] || [[Social_skill|Social skills]] and [[Appraiser|Appraiser]]&lt;br /&gt;
|-&lt;br /&gt;
| [[Position_token#SQUAD|[SQUAD]]]-token || [[Tactician]] and [[Leader]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Assumption==&lt;br /&gt;
&lt;br /&gt;
A position that is not APPOINTED_BY nor ELECTED, or is appointed by positions that are not available in your site or civ, will be assumable by a random dwarf. If it has responsibilities that require certain skills, then these are taken into consideration on embark, but not when the position is assumed during the actual game. &lt;br /&gt;
&lt;br /&gt;
Normally, one to three units will take the into consideration to assume a position. Most of the time when there are multiple open positions, only a single unit will assume all of them. However, a position that has REJECTED_CREATURE, REJECTED_CLASS, ALLOWED_CREATURE or ALLOWED_CLASS will be filled with all different units, even if the creature or class mentioned is irrelevant. It seems that this forces the game to loop over all the available units.&lt;br /&gt;
&lt;br /&gt;
The message that is shown in Legends mode is: &amp;quot;(unit name) has assumed the position of (position name)&amp;quot;. This may also take place in fortress mode, which then shows this message to the player. &lt;br /&gt;
&lt;br /&gt;
If an assumable position becomes empty, it will be assumed within a day. This is the case when you leave the position of expedition-leader vacant. It also happens with entities. &lt;br /&gt;
&lt;br /&gt;
Assumable positions that become empty will not be assumed if that position has a valid [SUCCESSION] -successor. In that case, the successor inherits the position. &lt;br /&gt;
&lt;br /&gt;
Even positions that are somehow invisible because they cannot be directly APPOINTED_BY players, can be assumed. &lt;br /&gt;
&lt;br /&gt;
When you embark, the assumable positions are automatically assigned to a random unit. If there are multiple of these positions at embark, they all are assigned to the same unit. If there are enough positions available, multiple units may gain a position, but often no more than three different ones.&lt;br /&gt;
&lt;br /&gt;
If a dwarf in fortress mode assumes a position, that already has another position, it will leave the current position empty. When that position also is assumed, then this will continue until all positions have a dwarf appointed to them, with no other position.&lt;br /&gt;
&lt;br /&gt;
A unit that already has a position with a [SUCCESSION] token won't take assumable positions into consideration that have a [SQUAD] token. This can be used by the modder to prevent unwanted loss of current positions.&lt;br /&gt;
&lt;br /&gt;
A position that has an appointer which got replaced because of REPLACED_BY, will not become assumable. Also, positions that have an AS_NEEDED appointer that is not yet filled (or ever), will also not be assumed.&lt;br /&gt;
&lt;br /&gt;
==Succession==&lt;br /&gt;
&lt;br /&gt;
If a position-holder dies or advances to a new position via succession, the position will be granted to another unit based on the [SUCCESSION] tag. If they have an heir or the succeeding position exists, that unit will be assigned. If not, a new one will be appointed according to the usual rules. The message that is shown is: &amp;quot;(creature name) being the rightful heir, has inherited the position of (position name)&amp;quot;&lt;br /&gt;
&lt;br /&gt;
The succeeding creature will also lose its previous position. When succession is defined using BY_POSITION, the unit naturally loses the referenced position. However, it also loses any other positions it may hold. If a unit could simultaneously inherit multiple positions, the last-defined succession overrides the earlier one, clearing the previously acquired position&lt;br /&gt;
&lt;br /&gt;
Succession works both at site-level and at civ-level, both in world-gen and in fortress-mode. Succession by position on the civ-level is also visible and functional in fortress-mode. If both civ-level nobles are a citizen of your fortress, succession is applied visually. Vanilla example: The [[druid]] is succeeded by the [[acolyte]]. This means that as soon as the druid dies, the acolyte takes over. &lt;br /&gt;
&lt;br /&gt;
When a position that is succeeded by position becomes available, immediately it is checked if a position-successor is available and the position is filled with that unit. Even if this is an [ELECTED] position, succession goes first. When elections eventually do happen, succession plays no role.&lt;br /&gt;
&lt;br /&gt;
It is possible to assign multiple levels of [SUCCESSION:BY_POSITION] in different positions, creating a line of positions where the death of one causes all those &amp;quot;below&amp;quot; them to advance.&lt;br /&gt;
&lt;br /&gt;
A position can have multiple tokens with position-succession. It looks to be random which one is used. It is not always:&lt;br /&gt;
* The first or last defined token&lt;br /&gt;
* The first or last appointed unit&lt;br /&gt;
* the oldest or youngest&lt;br /&gt;
* one with a higher or lower precedence&lt;br /&gt;
* a unit with relevant skills&lt;br /&gt;
&lt;br /&gt;
When a position is defined with a Succession-type, that unit cannot have another position that has a Squad-type. If the succession-position itself has a squad, than it can be assigned another position with a squad, but then it will loose the previous succesion position. See further details by &amp;quot;Squad&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Assumed positions can also be succeeded by position, if the current holder dies. &lt;br /&gt;
&lt;br /&gt;
If the successor is an AS_NEEDED position, the used unit will leave a vacant position-slot on its removal by succession. This empty slot remains a real slot, which will only be cleaned up if you (un)appoint a unit to this position-series. It isn't cleaned up after regular position validation.&lt;br /&gt;
&lt;br /&gt;
A civ-level position of a unit living at your site might be inherited by a unit holding that does not currently live at your site. This, unfortunately, moves that position to a unit off site. This may also happen with the landholder of your site, for example when it is succeeded by another civ-level position. This currently poses an unsolved challenge. &lt;br /&gt;
&lt;br /&gt;
===Eligibility for succession===&lt;br /&gt;
Succession is restricted by the tokens [ACCEPTED_CREATURE], [REJECTED_CREATURE], [ACCEPTED_CLASS], [REJECTED_CLASS] and [GENDER].&lt;br /&gt;
&lt;br /&gt;
===Site and civ combined succession===&lt;br /&gt;
&lt;br /&gt;
Succession can work when combining site positions with civ-level positions or land_holders, but only in world-gen mode.  In fortress mode, it only works with combining the same level of nobles, with Landholders regarded as civ-level. So, in fortress mode, a site's position cannot succeed a landholder's position and it cannot succeed another type of civ-level position, and vice versa. &lt;br /&gt;
&lt;br /&gt;
This won't work even if the positions:&lt;br /&gt;
* are AS_NEEDED or having a fixed number.&lt;br /&gt;
* Are LAND_HOLDERs.&lt;br /&gt;
&lt;br /&gt;
===Succession [BY_HEIR]===&lt;br /&gt;
&lt;br /&gt;
When a heir is needed for succession, all children and then other relatives are validated. They cannot take the position if their status does not allow it, for example if they have become a member of another civilisation. See: &amp;quot;Who can take a position&amp;quot;. If the unit has no valid heir on that location, the position may go to a unit living on another site. This may cause the title of Landholder of some land to be inherited by a unit living somewhere else. That might be a problem, because then you lose your landholders.&lt;br /&gt;
&lt;br /&gt;
===Premature Succession===&lt;br /&gt;
&lt;br /&gt;
There are cases where [SUCCESSION:BY_POSITION] is applied prematurely: at the moment a position is first created and becomes appointable or assumable, rather than after a current holder leaves. In this situation, the succession mechanism assigns a holder immediately, without any player interaction.&lt;br /&gt;
&lt;br /&gt;
When a position becomes available for the first time, the game checks whether a valid successor-by-position exists. If so, that unit is assigned instantly. It can affect positions that would normally be appointed or elected by the player, causing succession to trigger before the player has any opportunity to intervene.&lt;br /&gt;
&lt;br /&gt;
This behavior occurs only in Fortress mode, but can be applied both on [SITE]-positions as well in civ-positions. That last one however is a bit harder to control. Example: [[Advanced entity position mechanics#The Archduke|The Archduke]]&lt;br /&gt;
&lt;br /&gt;
This premature succession only occurs the first time a position becomes available (i.e. when it is created and becomes appointable or assumable). Even if the position remains vacant and the conditions for succession improve later, premature succession will not trigger again. From that point onward, only normal succession rules apply.&lt;br /&gt;
&lt;br /&gt;
Using premature succession, a position that has [ELECTED], [APPOINTED_BY], or both, can be filled directly.&lt;br /&gt;
Notably, positions that combine [ELECTED] and [APPOINTED_BY] are normally impossible to fill through regular mechanics. Premature succession bypasses both election and appointment entirely, making this combination uniquely reachable through this mechanism.&lt;br /&gt;
&lt;br /&gt;
No initial election takes place, and no subsequent elections will ever occur for that position. Succession always takes precedence over election, both in premature succession and in normal succession cases.&lt;br /&gt;
&lt;br /&gt;
This behavior applies only in Fortress mode, not during world generation. World-gen uses simplified and more efficient mechanics, and this interaction does not occur there. Premature succession can affect both site-level and civilization-level positions.&lt;br /&gt;
&lt;br /&gt;
====Multiple succession chains====&lt;br /&gt;
&lt;br /&gt;
Multiple succession chains may be defined and are resolved in the order they appear in the raws.&lt;br /&gt;
&lt;br /&gt;
If a position has both:&lt;br /&gt;
* a direct succession chain (A → C), and&lt;br /&gt;
* a multi-step chain (A → B → C),&lt;br /&gt;
&lt;br /&gt;
and intermediate positions are vacant, resolution proceeds according to raw order. A common outcome is:&lt;br /&gt;
# The direct succession (A → C) is applied first, assigning A to C.&lt;br /&gt;
# The remaining chain then advances (A → B).&lt;br /&gt;
# If C still has empty slots, the final step (B → C) may occur.&lt;br /&gt;
&lt;br /&gt;
If position B is already filled, behavior depends entirely on raw definition order:&lt;br /&gt;
* nothing may happen, or&lt;br /&gt;
* B may move to C first, followed by A moving to B.&lt;br /&gt;
====Working triggers====&lt;br /&gt;
Premature succession is triggered when a succeedable position is created under the following conditions:&lt;br /&gt;
* The succeedable position is created because its [REQUIRES_POPULATION] threshold is reached. This applies even if the position is not [APPOINTED_BY]. Premature succession takes priority over automatic assumption (e.g. the mayor declaring themselves within a day).&lt;br /&gt;
* The succeedable position can be [APPOINTED_BY] another position of the same level (site or civ) that has just been created because its [REQUIRES_POPULATION] was reached.&lt;br /&gt;
* The succeedable position can be appointed by another [SITE] [AS_NEEDED] position that has just been created and filled.&lt;br /&gt;
* The succeedable (site or civ) position is [APPOINTED_BY] the [LAND_HOLDER] position, which has just been created due to site elevation. This typically resolves when the diplomat leaves the map, at which point the landholder position becomes active.&lt;br /&gt;
* If all other requirements are met, premature succession can occur immediately after unpausing following embark, for positions with [REQUIRES_POPULATION:7].&lt;br /&gt;
====Non-working triggers====&lt;br /&gt;
Premature succession does '''not''' occur in the following cases:&lt;br /&gt;
* An [AS_NEEDED] succeedable position slot is manually created by the player while its succeeding position is already filled. [AS_NEEDED] positions must always be appointed after creation.&lt;br /&gt;
* The succeeding position is filled after the succeedable position becomes available. The moment of creation is the decisive trigger; filling the source position later is too late.&lt;br /&gt;
* The succeedable position can be appointed by another site or civ position with a fixed number of slots that has just been appointed. In this case, the succeedable position is just available for appointment itself, nothing more&lt;br /&gt;
* Any situation occurring during world generation.&lt;br /&gt;
* The succeeding position is [REPLACED_BY] the succeedable position. In this case, replacement removes the unit from the source position first, leaving no holder available for the succession mechanism to use.rst, leaving no holder available for the succession mechanism to use.&lt;br /&gt;
* The position is [APPOINTED_BY] a civ-level position, that just became a citizen of your fortress. It must be noted that those civ-level positions were active all that time and the succeedable position could be appointed even before. The monarchs arrival does not trigger premature succession&lt;br /&gt;
&lt;br /&gt;
=Losing a position=&lt;br /&gt;
&lt;br /&gt;
A unit can lose a position when:&lt;br /&gt;
* It dies&lt;br /&gt;
* It succeeds another position, even if it has nothing to do with the previous position.&lt;br /&gt;
* It is assigned to another SQUAD-holding position&lt;br /&gt;
* It is convicted of a crime.&lt;br /&gt;
* Another unit is ELECTED for the position&lt;br /&gt;
* Its position becomes replaced&lt;br /&gt;
* Another unit is appointed by the player, or the position is left vacant. &lt;br /&gt;
* It has assumed another position, as this always leaves the previous position vacant.&lt;br /&gt;
&lt;br /&gt;
=Embarkment=&lt;br /&gt;
Two types of positions are automatically filled by embark. &lt;br /&gt;
* Positions without [APPOINTED_BY] or [ELECTED] (assumable). All these positions, even with a NUMBER higher than 1, are all filled with one to three dwarves. Contrary to assumption, this doesn't take into account any limitations. REJECTED_CLASS, ALLOWED_CLASS, REJECTED_CREATURE, ALLOWED_CREATURE and GENDER are applied, but without the normal spread you may expect with assumptions. Also it doesn't look at [SUCCESSION] and [SQUAD] limitations.&lt;br /&gt;
* Positions that are elected are filled-in by the normal election rules.&lt;br /&gt;
&lt;br /&gt;
Positions that have a defined appointer are never initially filled at embark.&lt;br /&gt;
&lt;br /&gt;
All positions that don't have [REQUIRES_POPULATION]  or with a [REQUIRES_POPULATION] of 7 or lower, will be available at embark.&lt;br /&gt;
&lt;br /&gt;
=Land Holders=&lt;br /&gt;
&lt;br /&gt;
A Landholder is a '''special civ-level noble''' who gets a certain piece of land to hold, when that land is elevated to a certain level, determined by the tag [LAND_HOLDER] and by the landholder triggers in the game's settings. In vanilla, these are the baron, the count and the duke. &lt;br /&gt;
&lt;br /&gt;
A unit gaining the landholder position does not migrate to that specific named land. In world-gen, they stay just where they are, probably at the capital. In fortress mode, you can suggest a citizen for the role. So for the time being that works.&lt;br /&gt;
&lt;br /&gt;
Succession is then a real issue. If you use BY_HEIR, its solved when that landholder has children living at your site. But when its not the case, the title just goes to anyone randomly. Succession BY_POSITION works, but only in the civ-chain, and there's no way to guarantee a civ-holder is at your site at that time. Even with 'automatic spread' positions, it goes to one of them randomly.&lt;br /&gt;
&lt;br /&gt;
==Functioning of the regular landholder chain==&lt;br /&gt;
&lt;br /&gt;
The distinct difference between a landholder and a regular civ-level noble, is that a landholder may gain the position of landholder &amp;quot;of (sitename)&amp;quot; They are then seen as ruler of a particular site. &lt;br /&gt;
&lt;br /&gt;
For a land_holder position to function as such, it has a few requirements:&lt;br /&gt;
* NUMBER:AS_NEEDED &lt;br /&gt;
* The first landholder-number of 1 is defined. &lt;br /&gt;
* No SITE (so civ) tag in that position.&lt;br /&gt;
*REPLACED_BY the next level landholder&lt;br /&gt;
If a landholder is defined with differentiating properties, it will function like a regular noble. A higher-up landholder that lacks the required tokens or connections will then not be used in elevation. &lt;br /&gt;
&lt;br /&gt;
If a fortress meets the trigger for a new LAND_HOLDER tier when a caravan leaves, then the next time the outpost liaison or equivalent arrives, they will offer to make you an official colony, which will allow you to select all positions for that LAND_HOLDER level. Each time they appear, the outpost liaison will only promote your fortress one tier up the LAND_HOLDER track. &lt;br /&gt;
&lt;br /&gt;
The landholder's LAND_NAME is not required for the functioning of this system. If omitted, messages will be shown with a more generic text.&lt;br /&gt;
&lt;br /&gt;
==Appointment==&lt;br /&gt;
&lt;br /&gt;
This mechanism differs from the regular methods of position management. It ignores all regular appointment- and election rules, so it more or less functions like automatic assignment. A landholder is, in vanilla, appointed by the monarch. Changing this doesn't seem to do anything. If they are appointed by a site-position, a not-yet-existing civ-position, or not appointed at all: the system keeps working as usual. &lt;br /&gt;
&lt;br /&gt;
A landholder can appoint civ-positions and site positions. This works as expected: the positions only are appointed then when that landholder becomes available on civ-level or when he arrives at that site for site-level positions. &lt;br /&gt;
&lt;br /&gt;
If your rank of landholder is the first of its rank in the realm, and is the sole appointer of some civ-position, then immediately as it gains the title, it will appoint the empty civ-slots. This may happen on your site, but the frequency and certainty is hard to determine.&lt;br /&gt;
&lt;br /&gt;
==Succession==&lt;br /&gt;
&lt;br /&gt;
Succession rules are applied to some extent:&lt;br /&gt;
* In world-gen it works according to succession rules, and site-positions can be used here.  This means that a site position or a civ-position can inherit a landholder position, and vice versa.&lt;br /&gt;
* In fortress mode, once a landholder has been appointed, it then can inherit civ-level positions, and vice versa. This means that your baron can become king. &lt;br /&gt;
* Succession rules do not apply within the [LAND_HOLDER] chain; a count will not inherit a baron's land. This is because succession does not work well with the AS_NEEDED token.&lt;br /&gt;
* Premature succession works in fortress mode with landholders. If a unit gets a landholder's position and that landholder is the appointer of an as yet empty position, which is defined as succeeding from a third one, then the succession is immediately applied. The landholder themselves can even be the successor of a newly created position.&lt;br /&gt;
* A landholder's position is, in fortress mode, not successionable by a site-position or vice versa&lt;br /&gt;
&lt;br /&gt;
===Impossibilities for succession by a site-position===&lt;br /&gt;
It would be very beneficial if the landholder can be succeeded by a [SITE]-position. So far, the following tests have not lead to positive results:&lt;br /&gt;
* making landholder and site-position both non-[DUTY_BOUND]&lt;br /&gt;
* make the site-position be [APPOINTED_BY] the landholder and/or the monarch&lt;br /&gt;
* give landholder and site-position [REJECTED_CREATURE]&lt;br /&gt;
* Let the monarch live at your site when succession could happen.&lt;br /&gt;
* Let the site-position be [REPLACED_BY] the landholder.&lt;br /&gt;
&lt;br /&gt;
==Nomination==&lt;br /&gt;
&lt;br /&gt;
The player is able to nominate a unit to become the LAND_HOLDER, but this only works with units of [LAND_HOLDER] level 1. The player can select all units, only limited by the PRECEDENCE of the current units' positions.&lt;br /&gt;
&lt;br /&gt;
A unit that has a position with a PRECEDENCE lower or equal to that of the landholder's position, cannot be selected. This means that a baron (or count) from another site or the monarch cannot be selected, because their precedence is lower or equal. &lt;br /&gt;
&lt;br /&gt;
The GENDER  token does not work here: also units with the wrong gender (sorry) can be selected.&lt;br /&gt;
&lt;br /&gt;
==Levels==&lt;br /&gt;
In mods, up to 10 levels of LAND_HOLDER may be defined. &lt;br /&gt;
&lt;br /&gt;
If a landholder is replaced by a wrong landholder number (1 replaced by 3), then the number 3 is still correctly attached to the settlement. &lt;br /&gt;
&lt;br /&gt;
If the current landholder has the highest available landholder number, then the next elevation will not happen - the diplomat will not elevate your fortress to a higher position, even if that position might be REPLACED_BY a lower landholder. &lt;br /&gt;
&lt;br /&gt;
These chains do work:&lt;br /&gt;
* 1 -&amp;gt; 2a - &amp;gt; 2b -&amp;gt; 3&lt;br /&gt;
* 1 -&amp;gt; 3 -&amp;gt; 2 -&amp;gt; 4&lt;br /&gt;
&lt;br /&gt;
These chains do not work:&lt;br /&gt;
* 2 -&amp;gt; 3 (need to start at 1)&lt;br /&gt;
* 1 -&amp;gt; 4 -&amp;gt; 2 -&amp;gt; 3 (stops after 4 as the highest)&lt;br /&gt;
* 1a -&amp;gt; 2, 1b -&amp;gt; 2 (only 1a and 2 work, 1b is not used)&lt;br /&gt;
&lt;br /&gt;
==Moving landholders==&lt;br /&gt;
&lt;br /&gt;
It may happen that a land-holder no longer lives at the site which they are the landholder of, specifically when the current landholder dies, leaving the title to an heir living somewhere else. &lt;br /&gt;
&lt;br /&gt;
To prevent this from happening, you can make their succession from heir and make sure that their kids live at your site. Or, you can make their position succeeded by another civ position, and make it so that this civ position is somehow available on your site. But if multiple of these positions exist, it cannot be guaranteed that a citizen of your fortress will inherit the title. &lt;br /&gt;
&lt;br /&gt;
In world gen, a landholder lacking the DUTY_BOUND-token will also move to the site they like, according to legends mode.&lt;br /&gt;
&lt;br /&gt;
==Replacement by a generic civ-position==&lt;br /&gt;
&lt;br /&gt;
If a landholder is replaced by an AS_NEEDED non-landholder civ-position, then this will work: the current landholder loses that title upon settlement-elevation and gains that civ-title. However, the civ-title lacks the landholder-property of being attached to the land. It will not show the name of the settlement alongside the position's name. So no &amp;quot;minister of Shovelmounts&amp;quot;&lt;br /&gt;
&lt;br /&gt;
If a landholder is replaced by a general AS_NEEDED civ-position, that itself is also replaced by a generic AS_NEEDED civ-position, then firstly the elevation is executed and also the unit gains that new position. However, he immediately loses it, because an AS_NEEDED position that is replaced by another position can be filled initially, but units wont be able to hold that title.&lt;br /&gt;
&lt;br /&gt;
==Landholder with fixed number==&lt;br /&gt;
&lt;br /&gt;
A landholder's position that has a fixed number will be created and filled directly when the civilisation is born, so this position slot is then not available for the regular landholder-mechanic and will also not be used. That landholder will thus not be attached to a settlement. &lt;br /&gt;
&lt;br /&gt;
It doesn't matter if the landholder's position is connected to the regular landholder's-chain with the REPLACE_BY token.&lt;br /&gt;
&lt;br /&gt;
==Responsibilities==&lt;br /&gt;
&lt;br /&gt;
When given a certain [RESPONSIBILITY], a landholder may function as a regular civ-level noble. If the position has [TRADE] or [OUTPOST_NEGOTIATING] responsibilities, then the landholder functions both as a diplomat and as an actual land holder. A landholder with the [MILITARY_STRATEGY]  responsibility will travel around taming creatures in world-gen, according to legends mode. &lt;br /&gt;
&lt;br /&gt;
Besides that, the responsibilities work the same as with any other on-site living position-holder, civ or otherwise.&lt;br /&gt;
&lt;br /&gt;
=Military=&lt;br /&gt;
==Squad management==&lt;br /&gt;
In the vanilla game, the Squad interface only becomes available after a militia commander has been appointed. Until then, the window displays:{{DFtext|You must appoint somebody first to create a squad.}}&lt;br /&gt;
&lt;br /&gt;
What’s surprising is how this is determined internally. In the entity raw definition, '''only the last two positions that include a [SQUAD] token are checked''' to decide whether the interface is accessible at all. As a result, if your hierarchy defines commanders A through E, appointing '''Commander D or E''' unlocks squad formation, while appointing A–C does nothing.&lt;br /&gt;
&lt;br /&gt;
In other words, squad availability is not tied to ''having a militia commander'', but to ''which specific positions happen to be last in the raw list''—a notably hacky implementation.&lt;br /&gt;
&lt;br /&gt;
These 'last two' are always the last two '''available positions.''' So if they get [REPLACED_BY] or become available because of [REQUIRES_POPULATION], the game adapts to those.&lt;br /&gt;
&lt;br /&gt;
==Squad assignment==&lt;br /&gt;
&lt;br /&gt;
Squads can be assigned, even if the leader position has no holder.&lt;br /&gt;
&lt;br /&gt;
A specific unit can only have one position associated with a squad. If it gains another 'squad holding position', it is unassigned from the first one. This does not work with a 0-squad, so only 1+squads are taken into consideration. This technique can possibly be used to distribute all positions equally among all citizens. It does however not work with election and assumption. &lt;br /&gt;
&lt;br /&gt;
If a civ-level position is associated with a squad and it gets a site-level squad-holding position assigned, it loses the current civ-position. &lt;br /&gt;
&lt;br /&gt;
Squads can get really messed up, if you make the position (or multiple) either elected or not-elected and not-appointed, then this can cause the game to assign multiple squads to the same unit. Automatic assignment and election does not take squads into account, but the nobles screen does. This can cause the positions to be cleared as the game figures out that they have more than one position, and immediately get elected or assumed again. &lt;br /&gt;
&lt;br /&gt;
Positions that cannot have a squad-position:&lt;br /&gt;
* A site- or civ-position with a [SUCCESSION] token cannot be appointed a squad-holding-position. The other way around, however, does work. For example, if a site-position with a [SUCCESSION]-token is appointed to a unit that has already a position with [SQUAD]. But when that squad position is assigned to another unit, it cannot be assigned back. &lt;br /&gt;
* A position with [SUCCESSION] can also not be assigned as a '''member''' of a squad.&lt;br /&gt;
* A squad-holding position with a formed squad cannot be appointed to another squad holding position.&lt;br /&gt;
&lt;br /&gt;
If a position has at least one squad member, it cannot be left vacant. First, the squad has to be disbanded, then the position may be cleared.&lt;br /&gt;
&lt;br /&gt;
==0-squads==&lt;br /&gt;
A 0-Squad is defined in a position as [SQUAD:0:member:members]. It does not seem to do anything useful as of now.&lt;br /&gt;
* It cannot be used to activate the [[Squad|military interface]]&lt;br /&gt;
* It does not restrict the assignment of [SUCCESSION] positions.&lt;br /&gt;
* Assigning this position does not clear any previously held squad position.&lt;br /&gt;
* The [[Leader]] and [[Tactician]] skill are not marked as relevant skills and are not taken into account in elections.&lt;br /&gt;
* It cannot be formed as a squad.&lt;br /&gt;
&lt;br /&gt;
=Further testing=&lt;br /&gt;
The following questions may need additional testing. Feel free to add or answer&lt;br /&gt;
* Everything regarding COMMANDING and army-structure&lt;br /&gt;
** [http://www.bay12forums.com/smf/index.php?topic=175437.msg8331668#msg8331668]&lt;br /&gt;
** [http://www.bay12forums.com/smf/index.php?topic=165213.msg8335682#msg8335682]&lt;br /&gt;
** [http://www.bay12forums.com/smf/index.php?topic=174584.msg8026854#msg8026854]&lt;br /&gt;
* Everything regarding CONQUERED_SITE, but it is presumably just like site. But what if you combine SITE or LAND_HOLDER with it?&lt;br /&gt;
* Stuff about the monarch, its arrival and its entourage.&lt;br /&gt;
&lt;br /&gt;
=Oddities (Bugs)=&lt;br /&gt;
Almost everything on this page could be called an oddity. Because of their unexpected usability, some may also be referred to as “undocumented features.” Others, however, are simply odd and not particularly useful, yet I hesitate to call them “bugs.”&lt;br /&gt;
* If a certain threshold is reached that makes an elected position electable, and the triggering event that initiates this evaluation is an assumption, then the resulting assumption is also referred to in the messages as an election&lt;br /&gt;
&lt;br /&gt;
=Examples=&lt;br /&gt;
&lt;br /&gt;
===The Founder===&lt;br /&gt;
The founder is a single dwarf, appointed at embark. They will be the only one ever to have this position and are not replaceable. When they lose their position some way, the position will not be assumed by another dwarf. &lt;br /&gt;
{{gamedata|title=The Founder|&lt;br /&gt;
[POSITION:THE_FOUNDER]&lt;br /&gt;
	[NAME:the founder:founders]&lt;br /&gt;
	[NUMBER:1] &lt;br /&gt;
	[SITE]&lt;br /&gt;
	[ALLOWED_CREATURE:DWARF:ALL]		- will only be filled at embark, but not assumable later.&lt;br /&gt;
	[REJECTED_CREATURE:DWARF:ALL]		- will only be filled at embark, but not assumable later.&lt;br /&gt;
	[SUCCESSION:BY_POSITION:THE_FOUNDER]	- not unassignable, also cannot be assigned to a [SQUAD] position.&lt;br /&gt;
	[PRECEDENCE:200] &lt;br /&gt;
	Non APPOINTED_BY&lt;br /&gt;
	Non ELECTED&lt;br /&gt;
	Optional: Add responsibilities to make the game select a unit with certain skills.&lt;br /&gt;
}}&lt;br /&gt;
===Marriage bar===&lt;br /&gt;
Dwarven matrons are held in great honour. Upon marriage, a female dwarf is no longer expected to perform menial labour. All dwarven males hold this position by default, granting their spouses exemption from menial work.&lt;br /&gt;
&lt;br /&gt;
The position becomes available with the arrival of the first migrants; otherwise, on embark, it would be assumed by females. Its succession rule is non-functional, but this prevents the player from unassigning the position. A squad size of 1 and the succession rules together prevent a unit from assuming the position more than once.&lt;br /&gt;
&lt;br /&gt;
With precedence set to NONE, the position name is hidden, while LAND_NAME remains visible on the nobles screen. All married females receive the suffix “, Mrs.” and are marked as Nobles.&lt;br /&gt;
&lt;br /&gt;
The practical usefulness of this position is debatable, but it serves as a clear demonstration of several mechanics.&lt;br /&gt;
{{gamedata|title=Mrs. Urist|&lt;br /&gt;
 &lt;br /&gt;
[POSITION:MRS_URIST]	&lt;br /&gt;
	[NUMBER:300]						&lt;br /&gt;
	[SITE]						&lt;br /&gt;
	[ALLOWED_CREATURE:DWARF:MALE]	&lt;br /&gt;
	Not APPOINTED_BY				&lt;br /&gt;
	Not ELECTED&lt;br /&gt;
	[LAND_NAME:Dwarven male]				&lt;br /&gt;
	[NAME:dwarven male:dwarven male]&lt;br /&gt;
	[PRECEDENCE:NONE]					&lt;br /&gt;
	[SPOUSE_FEMALE:, Mrs.:spouses]&lt;br /&gt;
	[MENIAL_WORK_EXEMPTION_SPOUSE]&lt;br /&gt;
	[REQUIRES_POPULATION:8]			&lt;br /&gt;
	[SUCCESSION:BY_POSITION:MONARCH]&lt;br /&gt;
	[SQUAD:1:member:members]&lt;br /&gt;
}}&lt;br /&gt;
===The Archduke===&lt;br /&gt;
The archduke is the leader of the civilization, but exists only from landholder 4-level. Until then, its position remains vacant. When a settlement is elevated to tier 4 (grand duke), the grand duke can appoint the ruler of the civilisation, the archduke. Because of 'Premature Succession', they themself inherit that position immediately, but only when in fortress mode. Its heir then becomes grand duke.&lt;br /&gt;
{{gamedata|title=The Archduke| no POSITION:MONARCH or other PRECEDENCE:1 &lt;br /&gt;
&lt;br /&gt;
[POSITION:THE_ARCHDUKE]&lt;br /&gt;
	[NAME:archduke:archdukes]&lt;br /&gt;
	[NAME_MALE:archduke:archdukes]&lt;br /&gt;
	[NAME_FEMALE:archduchess:archduchesses]&lt;br /&gt;
	[LAND_NAME:a archduchy]&lt;br /&gt;
	[NUMBER:1] &lt;br /&gt;
	[PRECEDENCE:1] &lt;br /&gt;
	[SUCCESSION:BY_POSITION:GRAND_DUKE]	&lt;br /&gt;
	[APPOINTED_BY:GRAND_DUKE]&lt;br /&gt;
	(add additional monarch-stuff, like spouse name, demands etc.)&lt;br /&gt;
	&lt;br /&gt;
[POSITION:GRAND_DUKE]&lt;br /&gt;
	[NAME:grand duke:grand dukes]&lt;br /&gt;
	[NAME_MALE:grand duke:grand dukes]&lt;br /&gt;
	[NAME_FEMALE:grand duchess:grand duchesses]&lt;br /&gt;
	[NUMBER:AS_NEEDED] &lt;br /&gt;
	[LAND_HOLDER:4]&lt;br /&gt;
	// Optional ...&lt;br /&gt;
	[PRECEDENCE:19]	&lt;br /&gt;
	[LAND_NAME:a archduchy] &lt;br /&gt;
	[RESPONSIBILITY:LAW_MAKING]&lt;br /&gt;
	[RESPONSIBILITY:RECEIVE_DIPLOMATS]&lt;br /&gt;
	[SUCCESSION:BY_HEIR]&lt;br /&gt;
	[APPOINTED_BY:THE_ARCHDUKE]&lt;br /&gt;
	(add additional landholder-stuff)&lt;br /&gt;
&lt;br /&gt;
!!add to [POSITION:DUKE]&lt;br /&gt;
	[REPLACED_BY:GRAND_DUKE]&lt;br /&gt;
&lt;br /&gt;
}}&lt;br /&gt;
{{Category|Modding}}&lt;br /&gt;
{{Category|Entities}}&lt;br /&gt;
{{Category|Guides}}&lt;/div&gt;</summary>
		<author><name>Joostheger</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=Advanced_entity_position_mechanics&amp;diff=314918</id>
		<title>Advanced entity position mechanics</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=Advanced_entity_position_mechanics&amp;diff=314918"/>
		<updated>2026-02-12T08:35:10Z</updated>

		<summary type="html">&lt;p&gt;Joostheger: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Quality|Fine}}&lt;br /&gt;
{{Modding}}&lt;br /&gt;
&lt;br /&gt;
= Introduction = &lt;br /&gt;
&lt;br /&gt;
[http://www.bay12forums.com/smf/index.php?topic=182239.0 Discussion thread on the forum]&lt;br /&gt;
&lt;br /&gt;
This page documents observed and tested behavior of entity positions in Dwarf Fortress that is not fully described elsewhere on the wiki. It focuses on advanced interactions between position tokens, including appointment, succession, election, and responsibility handling, across both civilization-level and site-level entities.&lt;br /&gt;
&lt;br /&gt;
The mechanics described here are based on empirical testing in world generation and fortress mode, supplemented where necessary by raw analysis. In several cases, the game’s behavior is determined by evaluation order and interaction between multiple tags, rather than by individual tokens in isolation.&lt;br /&gt;
&lt;br /&gt;
This page is intended for modders and advanced players who are designing or debugging custom entity position structures. It does not restate basic position mechanics, but instead highlights edge cases, non-obvious interactions, and behaviors that may appear inconsistent or undocumented.&lt;br /&gt;
&lt;br /&gt;
Unless stated otherwise, the described behavior applies to current versions of the game and may differ from older releases.&lt;br /&gt;
&lt;br /&gt;
==What is an entity? What is a position?==&lt;br /&gt;
An [[entity]] is an organizational structure that can have relationships with other entities, usually known as a [[civilization]] or a &amp;quot;[[site]] government&amp;quot; in the game, but merchant [[guild]]s, religious organizations, necromancer towers, and [[bandit]] groups are also entities. An entity can have positions - in most cases, these are hardcoded and generated by the game, but as for civilizations and sites, the [[raw file]]s can be customised.&lt;br /&gt;
&lt;br /&gt;
A position is a special relationship between a unit and an entity. The unit holding a position has a larger influence over that entity than other citizens. Positions are mostly known as [[nobles]], but in this article. the technical term is used.&lt;br /&gt;
&lt;br /&gt;
=Position levels (Site/Civ) and their interaction=&lt;br /&gt;
There are two basic types of positions that are customizable: '''civ(ilization)''' level and '''site level'''. Positions with the tag [SITE] are at site level, positions without the tag [SITE] are at 'civ level'. These two types of nobles can be considered '''loosely related systems'''. There are a few places where they can interact with each other.&lt;br /&gt;
&lt;br /&gt;
Civ-level positions are in charge of the civilization as a whole, managing national [[trade]], laws, and [[war]]s. These are, for example, the vanilla [[monarch]], [[diplomat]] and [[general]]. (Note that the general doesn't do anything in either mode in the current version.)&lt;br /&gt;
&lt;br /&gt;
'''[LAND_HOLDER]''' nobles are also positions at civ-level. These units are members of the national government, but have gained authority over some land or site. Once they do, they move to that place, but their position is still regarded as a civ-level position.&lt;br /&gt;
&lt;br /&gt;
Site-level position holders are members of a site government (subsidiary to the civilization), and manage local affairs in that location. These are, for example, the [[mayor]], the [[sheriff]] and the [[broker]].&lt;br /&gt;
&lt;br /&gt;
==Table of interaction between different position levels==&lt;br /&gt;
In this table, the possible interactions between different position levels are summarized. &lt;br /&gt;
The header row shows the positions defining the tokens.&lt;br /&gt;
&lt;br /&gt;
The left column shows the position type that is referred to.&lt;br /&gt;
Example:  &lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! referred position-type&lt;br /&gt;
! LAND_HOLDER&lt;br /&gt;
|-&lt;br /&gt;
| civilization&lt;br /&gt;
|  &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;(baron is) APPOINTED_BY:MONARCH&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
color coding: &amp;lt;/br&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;Exists in vanilla&amp;lt;/span&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;Possible with mods&amp;lt;/span&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;Not possible&amp;lt;/span&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;possible to some extent.&amp;lt;/span&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;not yet fully investigated.&amp;lt;/span&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! referred position-type&lt;br /&gt;
! Civilization&lt;br /&gt;
! SITE&lt;br /&gt;
! LAND_HOLDER&lt;br /&gt;
! CONQUERED_SITE&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Civilization&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;SUCCESSION '''(1)'''&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| SITE&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;SUCCESSION '''(2)'''&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;APPOINTED_BY '''(3)'''&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;SUCCESSION '''(4)'''&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| LAND_HOLDER&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY '''(6)'''&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;SUCCESSION '''(5)'''&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;REPLACED_BY '''(7)'''&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;SUCCESSION '''(8)'''&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;CONQUERED_SITE&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; COMMANDER &amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; REPLACED_BY &amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt; SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; COMMANDER &amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; REPLACED_BY &amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt; SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; COMMANDER &amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; REPLACED_BY &amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; COMMANDER &amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; REPLACED_BY &amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Remarks:&lt;br /&gt;
# Works only in world-gen, if a unit with that civ-position is present at the site.&lt;br /&gt;
# Works only in world-gen, the site-position holding unit will then move to the capital.&lt;br /&gt;
# Is completely ignored&lt;br /&gt;
# Works only in world-gen.&lt;br /&gt;
# Works only in world-gen.&lt;br /&gt;
# Won't appear at all&lt;br /&gt;
# This is necessary for the landholder chain to work properly, it doesn’t work otherwise.&lt;br /&gt;
# This works only outside of the landholder chain, so when landholders are simply regarded as civ-level nobles. might also work in world-gen&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
== Other interactions ==&lt;br /&gt;
&lt;br /&gt;
Unfortunately, interactions with positions of other entities don't seem possible, such as APPOINTED_BY: HIGH_PRIEST. With [VARIABLE_POSITIONS], positions are automatically created with codes like CUSTOM_LAW_MAKER_2, but interaction with these positions don't seem to work, either. For more info on those, see [[Variable positions]]&lt;br /&gt;
&lt;br /&gt;
=General=&lt;br /&gt;
&lt;br /&gt;
==Civ-level nobles living at your site==&lt;br /&gt;
Nobles from your civilization can come to live at your fortress. This happens in vanilla with landholders such as [[Baron]], [[Count]] and [[Duke]], with the Monarch, but sometimes also with non-landed LAND_HOLDERS.&lt;br /&gt;
&lt;br /&gt;
When a civ-level noble becomes a [[citizen]] at your location, their position is shown among the site-level positions in your [[nobles screen]]. They appear to function as a site-level noble. They may have [[demand]]s, [[mandate]]s, [[squad]]s and the like. They can appoint nobles at the site-level.&lt;br /&gt;
&lt;br /&gt;
If they have certain [RESPONSIBILITY]ies, they do the tasks that go with them.&lt;br /&gt;
&lt;br /&gt;
==Fortress mode, world-gen and their differences==&lt;br /&gt;
Their are a few differences in how positions function between fortress mode (normal play mode) and the world generation (world-gen). &lt;br /&gt;
&lt;br /&gt;
In '''fortress mode''', the player has some control over the appointment of nobles, limited by elections, automatic filled-in positions and succession rules. Pre-fortress mode, which is referred to as '''world-gen''', the game will always attempt to assign nobles whenever possible. It is subjected to the same rules as in fortress-mode, but there are some exceptions. In '''[[World activities]]''', which is the thing that happens in the world while you play fortress mode, it seems as if the same rules are applied as fortress mode. &lt;br /&gt;
&lt;br /&gt;
A difference between player-fortress-mode and world-gen, is causes by visibility (see below). Positions that are not visible by the player and thus not available for assignment, will be available in world-gen and will thus be automatically assigned.&lt;br /&gt;
&lt;br /&gt;
In fortress mode, a position that is both [ELECTED] and [APPOINTED_BY], cannot be appointed by the player and is also not elected, and can thus not be filled. But in world-gen sites however, these positions are automatically filled.&lt;br /&gt;
&lt;br /&gt;
Positions with [AS_NEEDED] are almost never created and filled in world-gen (depending on their [RESPONSIBILITY]ies), but can always be used in player mode.&lt;br /&gt;
&lt;br /&gt;
A position can, in fortress mode, be filled by the same unit. A unit can gain multiple positions in fortress mode, for example because of [[elections]]. This will not happen in world-gen mode: a unit can only have one position. See also remarks on 'embark' and 'Losing a position'.&lt;br /&gt;
&lt;br /&gt;
In world-gen, [SUCCESSION] between civ-levels and [SITE-]levels may happen. This will not happen in fortress mode, or even off-site in [[World activities]].&lt;br /&gt;
&lt;br /&gt;
In fortress mode, premature SUCCESSION may happen. This will not happen in world-gen mode.&lt;br /&gt;
&lt;br /&gt;
==Units holding multiple positions in multiple entities==&lt;br /&gt;
A unit can hold multiple positions in its civilisation or in its site-entity, however this does not happen in world-gen. Only at player-managed sites can units be holding multiple positions at once. (It is probably not possible for a unit to hold a position in two different civilisations or two different sites.)&lt;br /&gt;
&lt;br /&gt;
In world-gen, if there are too many positions to be filled, they simply stay empty until more units are available. E.G, a unit at a site might inherit a civ-level position and still remain a member of the local government. When this happens however, they move to the capital. If a unit gains a new position, either inherited or otherwise, it drops the previous one. If a unit assumes a civ-position in fortress mode, it leaves the current position. &lt;br /&gt;
&lt;br /&gt;
If a unit holds the same (site-)position multiple times, it has no additional effect.&lt;br /&gt;
&lt;br /&gt;
If a unit holds multiple different positions of the same entity, it has all those positions' responsibilities and properties, stacked up. Presumably, the demands for those combined positions are determined by the highest.&lt;br /&gt;
 &lt;br /&gt;
A unit holding a position with a succession token can be assigned another position with a (different) succession token. &lt;br /&gt;
&lt;br /&gt;
A unit holding a position with a squad-position cannot hold another squad-position. It is dropped from the first, when it gets its second assigned. &lt;br /&gt;
A unit holding a position with a succession token cannot be assigned to a squad-position - the unit is simply not available. It works the other way around, though.&lt;br /&gt;
&lt;br /&gt;
=Specific Tags and functions=&lt;br /&gt;
==[PRECEDENCE]==&lt;br /&gt;
The first defined position with precedence of 1 counts as the ruler of the civ. See also: [[Position_token#PRECEDENCE|PRECEDENCE]]. &lt;br /&gt;
&lt;br /&gt;
If the precedence is omitted or has a negative value, the game sets 0 as precedence, which seems to have no effect whatsoever.&lt;br /&gt;
&lt;br /&gt;
When a unit has multiple positions, the name of the position with the highest rank in precedence is shown behind the unit's name.&lt;br /&gt;
&lt;br /&gt;
If you omit precedence entirely, or set it to [PRECEDENCE:NONE], the position name will not be shown after the unit’s name. Your *Urist Mason* will remain simply *Mason*. This can be useful for positions that are unimportant or purely functional. The position will also not appear in the civilisation overview of your site on the world map. The position name is shown in messages, but remains hidden on the nobles screen as well. To make it visible there, use [LAND_NAME].&lt;br /&gt;
&lt;br /&gt;
==[RESPONSIBILITY]ies==&lt;br /&gt;
Both civ and [SITE] positions can carry responsibilities. However, not all responsibilities are active for both types: some function only for civ positions, others only for site positions. When a civ noble arrives at a site and takes up residence, they do not perform responsibilities that are intended for SITE nobles. As a result, these responsibilities neither trigger their associated tasks nor unlock related game mechanics. For example, a civ-level manager living in a fortress will not perform management duties there and doesn't unlock the management-screen, even with an assigned office. &lt;br /&gt;
This behavior applies to the following [SITE]-level responsibilities:&lt;br /&gt;
* [RESPONSIBILITY:ACCOUNTING]&lt;br /&gt;
* [RESPONSIBILITY:BUILD_MORALE]&lt;br /&gt;
* [RESPONSIBILITY:HEALTH_MANAGEMENT]&lt;br /&gt;
* [RESPONSIBILITY:LAW_ENFORCEMENT]&lt;br /&gt;
* [RESPONSIBILITY:MANAGE_PRODUCTION]&lt;br /&gt;
* [RESPONSIBILITY:MEET_WORKERS]&lt;br /&gt;
* [RESPONSIBILITY:TRADE]  (functions differently)&lt;br /&gt;
Other responsibilities may be affected as well, but have not yet been fully tested.&lt;br /&gt;
&lt;br /&gt;
===World-gen effects of the [RESPONSIBILITY] of available positions ===&lt;br /&gt;
It is possible to cause civs and individual sites to change their behavior substantially when they reach a certain size, by controlling nobles. &lt;br /&gt;
* If a site can only appoint a position with [MILITARY_GOALS] after reaching a particular size, that site will not send armies on missions until the required size is reached.&lt;br /&gt;
* A civ-level [LAW_MAKING] position is required for the civilization to have any kind of cohesion. Without it, sites will be constantly embroiled in territorial disputes and civil wars will be commonplace.&lt;br /&gt;
* [MILITARY_STRATEGY] positions go out and tame wild animals. This makes your civ gain those animals as domesticated and also brings them in sieges.&lt;br /&gt;
* The [[Personality_facet|Personality]] of the position's holder determines how they lead the civ.&lt;br /&gt;
&lt;br /&gt;
===[DELIVERS_MESSAGES]===&lt;br /&gt;
The only [AS_NEEDED]-position that is created in worldgen based on responsibility is that of the site-level responsibility [DELIVERS_MESSAGES].&lt;br /&gt;
&lt;br /&gt;
===Outpost Liaisons and Diplomats===&lt;br /&gt;
Civ-positions with the responsibility [ESTABLISH_COLONY_TRADE_AGREEMENTS] ([[Outpost_Liaison|Outpost Liaison]]s) will meet with the site-noble who has responsibility for [RECEIVE_DIPLOMATS] and the highest rank of precedence (i.e. the lowest precedence value). Usually this is the [[Expedition_leader|Expedition leader]].&lt;br /&gt;
&lt;br /&gt;
Once a [LAND_HOLDER] is assigned to the site, civ-positions with the responsibility [MAKE_TOPIC_AGREEMENTS] ([[Diplomat]]s) will meet with '''civ'''-level nobles present at the site who have the [RECEIVE_DIPLOMATS] responsibility. If multiple eligible nobles are available, one is selected at random. If no eligible noble is present, the diplomat leaves angrily. If the landholder is no longer present at the site, diplomats will not arrive at all.&lt;br /&gt;
&lt;br /&gt;
It appears that Outpost Liaisons and Diplomats are chosen for a diplomatic mission based on availability. When multiple candidates exist, the position defined last in the raws is most often selected.&lt;br /&gt;
&lt;br /&gt;
===[TRADE]===&lt;br /&gt;
Civ-level nobles with [TRADE] will arrive with the caravan, just as the Outpost Liaison. Their behavior is no longer active in the vanilla game, but the mechanics are still present. See [[40d:Guild_representative|Guild representative]] for more details. This civ-noble will only meet with the SITE noble with [TRADE], usually the [[Broker]].&lt;br /&gt;
&lt;br /&gt;
If two civ-nobles exist with both [TRADE] and [ESTABLISH_COLONY_TRADE_AGREEMENTS], they both arrive at the same time. Even if both tokens are assigned to a single position, if more than one instance of that position exists, two of them will arrive. However in that case, somehow the elevation of the site and appointment of landholder isn't offered.&lt;br /&gt;
&lt;br /&gt;
If the SITE-noble they intend to meet has both [TRADE] and [RECEIVE_DIPLOMATS], only one meeting will proceed and the other is cancelled. However, when two SITE-nobles are available, each with either [TRADE] or [RECEIVE_DIPLOMATS], both meetings will proceed and both civ-nobles will attempt to negotiate a trade agreement. It is not known what happens if these agreements are accepted or refused.&lt;br /&gt;
&lt;br /&gt;
In the trade depot, the last defined position with the [TRADE] responsibility is shown as broker. However when requesting a trader, the first defined position with [TRADE] will actually go there to do the trade.&lt;br /&gt;
&lt;br /&gt;
==[NUMBER]==&lt;br /&gt;
A position might be defined with a number. In that case, as many as defined can be available. If the positions become available, in world-gen and when embarking, they are all filled-in completely.&lt;br /&gt;
&lt;br /&gt;
If the ruling position (with PRECEDENCE of 1) has a NUMBER higher than 1, a random unit of the ones holding these positions is shown as ruler in the embark screen.&lt;br /&gt;
&lt;br /&gt;
A [NUMBER] of 0 (zero) has the same effect as 1.&lt;br /&gt;
&lt;br /&gt;
===Automatic spreading of assumed, non-singular positions===&lt;br /&gt;
If there are civ positions that have a NUMBER higher then '1' and which are assumed (not APPOINTED_BY or ELECTED) but are '''not DUTY_BOUND''', these are automatically spread among the civilisation, based on population. If there are a number of '''20''' available slots of that position, they spread among a civilization with a combined population of, for example, 1000 of which your fortress has 100 (10%), '''2''' of your fortress' citizens will assume that position. &lt;br /&gt;
This may probably also work with elected and appointed positions, but that may be depending on the death of the current holders and this needs more testing. Assumption works within a day, anyway. &lt;br /&gt;
&lt;br /&gt;
===[AS_NEEDED]===&lt;br /&gt;
These positions can be created automatically by the game in world-gen. This, however, only works with: &lt;br /&gt;
* [LAND_HOLDER]'s&lt;br /&gt;
* squad commanders (needs more testing)&lt;br /&gt;
* Messengers at sites&lt;br /&gt;
&lt;br /&gt;
For all other types of positions, they're not created in world-gen, even if they are defined with RESPONSIBILITY's. For example, even in war, the game wouldn't create a MILITARY_GOALS position, if they have AS_NEEDED as number. &lt;br /&gt;
&lt;br /&gt;
However, in fortress mode / player mode, these positions can be created by the player at will.&lt;br /&gt;
&lt;br /&gt;
Positions with AS_NEEDED need to be created first, before any symbols are assignable as 'symbols' (objects) for the position holder to carry or wear.&lt;br /&gt;
&lt;br /&gt;
Positions with AS_NEEDED cannot be created and then ELECTED in fortress mode. It only works with APPOINTED_BY.&lt;br /&gt;
&lt;br /&gt;
==[REPLACED_BY] and [REQUIRES_POPULATION]==&lt;br /&gt;
&lt;br /&gt;
The token REPLACED_BY:position means that once the replacing position reaches its required population-number, the 'to-be-replaced' position will disappear. This is defined in REQUIRES_POPULATION. These tags are closely related to each other and seem to only have a meaningful function if combined. Nobles with REQUIRES_POPULATION require the population to have a specific size. &lt;br /&gt;
&lt;br /&gt;
This works on the civ-level as well as on site-level, but those systems are in this mechanic strictly separated. Site-level positions cannot be replaced by civ-level positions and visa versa. This makes sense, because they both depend on their own population-count. When using REQUIRES_POPULATION on civ-level, it counts the total population of the civilisation. &lt;br /&gt;
&lt;br /&gt;
See also: [[Advanced_entity_position_mechanics#Evaluation_of_Positions|Evaluation of positions]]&lt;br /&gt;
&lt;br /&gt;
===Effect of replacement (and on [LAND_HOLDER]s)===&lt;br /&gt;
&lt;br /&gt;
Replacement is immediate and complete - the current holding unit loses the position, even before SUCCESSION_BY_POSITION rules are applied. A position with a number of 1 will replace all the slots of a position with a higher number of slots. &lt;br /&gt;
&lt;br /&gt;
Even if the next position is available but not visible, replacement still takes place. If a position is replaced, it is completely gone - it cannot be appointed, succeeded, elected or assumed any longer.&lt;br /&gt;
The unit immediately loses its position.&lt;br /&gt;
&lt;br /&gt;
In legends, replacement is mentioned as: &amp;quot;(unit name) ceased to be (position name)&amp;quot; The replacement of an AS_NEEDED position empties the position's slot forever. In fortress mode, it may seem as if you can create new slots and appoint new units in the nobles screen, but this is reversed as soon as you close the window.&lt;br /&gt;
&lt;br /&gt;
The landholder chain uses [REPLACED_BY] differently. It does not clear the position completely, but uses it for succession to the next level's position. [REPLACE_BY] is required to let that system work properly. This also means that the way in which landholders succeed (replace + as_needed) does not work in any other way. &lt;br /&gt;
&lt;br /&gt;
Replacement between LAND_HOLDERS and other site- or civ positions does not work in any way. Only the vanilla replacement sequence between levels of LAND_HOLDERs does work. If the token is omitted for landholders, the landholder chain is broken, so replacement is required for the landholder system to work.&lt;br /&gt;
&lt;br /&gt;
[REQUIRES_POPULATION] also does not work for [LAND_HOLDER], when you set [NUMBER] to 1. The position is not created when the required population is reached.&lt;br /&gt;
&lt;br /&gt;
===What doesn't work===&lt;br /&gt;
&lt;br /&gt;
'''Attention: If a position cannot be appointed, for example because of 'mutual appointment', it still exists according to replacement mechanics and will replace other positions if so defined. If a certain position(a) will be replaced by the baron's assistant, which can only be appointed by the [LAND_HOLDER] baron, than that position(s) still will be replaced from the start of the game, even if no baron or their assistant is ever present.'''&lt;br /&gt;
&lt;br /&gt;
A position that is replaced by a somehow non-fillable position is still replaced. This counts for mutual-appointing positions, replacement by not-yet-assigned landholders, replacement by AS_NEEDED positions, or replacement by not-yet-appointed positions. &lt;br /&gt;
&lt;br /&gt;
Replacement does not work if the replaced position is a [LAND_HOLDER], even with civ-positions. In that case, the LAND_HOLDER's position is not replaced. It does not matter if AS_NEEDED is used, or a fixed number, and it also does not matter what type of position the replacer is. So this only works (correctly) with positions that become available by REQUIRES_POPULATION.&lt;br /&gt;
&lt;br /&gt;
==[CONQUERED_SITE]==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Availability and visibility=&lt;br /&gt;
==Availability of (new) positions==&lt;br /&gt;
Warning: Do not mistake &amp;quot;availability&amp;quot; for &amp;quot;visibility&amp;quot;! &lt;br /&gt;
&lt;br /&gt;
Of all the possible positions existing in your site's entity, there may only be some available. &lt;br /&gt;
* Positions with [REQUIRES_POPULATION] require the population to have a specific size.&lt;br /&gt;
* Positions with [REQUIRES_MARKET] will only appear in &amp;quot;large&amp;quot; sites (which may have different rules for different site types). This tag has no effect in fort mode.&lt;br /&gt;
* Positions that are appointed by positions that have an AS_NEEDED number. The appointable positions only become available after an appointer position-slot is created. This works also on civ-level. If a position is appointed by a Land-holder, it only becomes available, when that level of landholder is created. &lt;br /&gt;
	&lt;br /&gt;
Only the replaced positions are culled and are no longer available. &lt;br /&gt;
A position that requires a certain population will become available, even if it doesn't have [APPOINTED_BY] or [ELECTED]. In that case, see 'automatic assignment' and 'assumption'&lt;br /&gt;
&lt;br /&gt;
In fortress mode, in some cases 'succession' is evaluated immediately after a position becomes available. See: Succession.&lt;br /&gt;
==Visibility of positions==&lt;br /&gt;
A position might be available, but can still be invisible for the player in the [[nobles screen]]. The positions with their respective holders are visible for players:&lt;br /&gt;
* All site-positions that are already filled-in (even if they could not be re-filled-in considering current conditions)&lt;br /&gt;
* Site positions that are appointable by a filled-in site position&lt;br /&gt;
* Site positions that are appointable by a filled-in civ position, when that civ positions holder becomes a citizen of your fortress.&lt;br /&gt;
* Civ positions of units that are also a citizen of your fortress.&lt;br /&gt;
If a position becomes available, for example because a certain pop number has been reached, or if it is available from the start(like expedition leader), as long as it cannot be appointed, it still is INVISIBLE for the player. &lt;br /&gt;
&lt;br /&gt;
It might strike someone as odd if a position becomes filled automatically in fortress mode when that position is not even visible. This might be the case if the current holder of a non-appointable position dies or succeeds another position. Regardless of player visibility, these positions will be automatically filled in if the necessary requisitions are met. It might happen with the expedition leader.&lt;br /&gt;
&lt;br /&gt;
A situation with a non-visible but available position, is for example when a position is solely appointed by the expedition leader, when the expedition leader's position is left vacant. It can no longer be appointed by the player and is invisible. Then, it gets automatically assumed, proving that the position still was available.&lt;br /&gt;
&lt;br /&gt;
A position that is both [APPOINTED_BY] and [ELECTED] is visible, but players cannot interact with it.&lt;br /&gt;
&lt;br /&gt;
={{text anchor|Evaluation of Positions}}=&lt;br /&gt;
The game does not continuously check whether positions should become available, elected or be [REPLACE_BY]. This is well-known behavior—for example with the [[mayor]], who does not appear automatically when the required population ([REQUIRES_POPULATION]) is reached. Instead, positions must somehow be evaluated. This applies in several other situations as well &lt;br /&gt;
&lt;br /&gt;
'''Cases that require a trigger:'''&lt;br /&gt;
* Election of a newly created position&lt;br /&gt;
* Election after the current holder dies&lt;br /&gt;
* Automatic assumption of a newly created position (this may take up to a day)&lt;br /&gt;
* New citizens (such as migrants) considering available positions&lt;br /&gt;
* Premature succession of a newly created position&lt;br /&gt;
&lt;br /&gt;
'''Cases that do not wait for a trigger:'''&lt;br /&gt;
* Succession following the death of the previous holder&lt;br /&gt;
* Automatic assumption of existing positions that have become vacant&lt;br /&gt;
&lt;br /&gt;
'''Triggers that cause the game to reevaluate noble positions:'''&lt;br /&gt;
* Succession of a [SITE]-position due to the death of the current holder&lt;br /&gt;
* [[Advanced_entity_position_mechanics#Election_Day|Election Day]]&lt;br /&gt;
* Automatic assumption of a [SITE]-position that becomes vacant&lt;br /&gt;
* (Re)assigning any site position manually&lt;br /&gt;
* Settlement elevation on the LAND_HOLDER track (e.g. gaining a [[Baron]] or [[Count]])&lt;br /&gt;
&lt;br /&gt;
=Gaining a position=&lt;br /&gt;
There are several ways a unit can gain a position:&lt;br /&gt;
* Appointment: A unit is appointed by another unit or by the player.&lt;br /&gt;
* Election: A unit is elected by and among the members of the entity&lt;br /&gt;
* Assumption: A position is neither elected or appointed: a random unit just simply 'takes' the position&lt;br /&gt;
* Succession: a unit is the valid successor of this position(A), either by its current position(B) or because they are that position(A)-holder's heir. &lt;br /&gt;
&lt;br /&gt;
Available positions will automatically be assigned to a random civ member when a new site/civ is created.&lt;br /&gt;
&lt;br /&gt;
==Who can take a position==&lt;br /&gt;
&lt;br /&gt;
* If so defined, a unit needs to be the right caste and/or class - it does not seem to work with creature types. &lt;br /&gt;
* The unit needs to be an adult member of the site or its parent civ's government; that is also CAN_LEARN or INTELLIGENT (SLOW_LEARNER cannot take positions) or otherwise is able to think.&lt;br /&gt;
&lt;br /&gt;
==Appointment==&lt;br /&gt;
&lt;br /&gt;
Positions that have an [APPOINTED_BY:position] token require that position to exist, to be available and appointed. Any position that is APPOINTED_BY can be appointed if the appointer's position is filled in. &lt;br /&gt;
For site-positions to be appointed, it is required that the appointer is present at that location.&lt;br /&gt;
&lt;br /&gt;
If the appointing unit is temporarily not present, or if that position is not filled, positions depending on it cannot be appointed. This is the case with [[militia captains]], when the [[militia commander]] is on a [[mission]]. &lt;br /&gt;
&lt;br /&gt;
A site position cannot appoint a civ position ''or'' LAND_HOLDER in any way whatsoever. &lt;br /&gt;
&lt;br /&gt;
Civ-level positions can appoint other civ-level positions and site-level positions can appoint other site-level positions.&lt;br /&gt;
&lt;br /&gt;
Contrary to what has been said elsewhere, civ-level nobles also can appoint site-level nobles. They need to be at the site to do so. Landholders can appoint both site-level and civ-level nobles. These systems are therefore not as separate as was assumed.&lt;br /&gt;
&lt;br /&gt;
'''Mutual appointment''' cannot take place. If these are the only requisites of the position, then the positions will never appear or get filled. These unfillable positions can be put to good use, for example, to replace a position that is no longer needed without creating a new one. &lt;br /&gt;
&lt;br /&gt;
'''Self appointment''' doesn't normally work. If you have a position that is only appointed by itself, it is never appointed and also cannot be assumed. However, if the position has a number higher than 1, and is filled by multiple units (for example by another position that is now empty), than those units can re-assign or appoint each other from that their shared position. &lt;br /&gt;
&lt;br /&gt;
If an APPOINTED_BY token refers to a non-existing position's code, the effects are as if the appointment token doesn't exist at all.&lt;br /&gt;
&lt;br /&gt;
===Automatic appointment in world-gen and on the civ level===&lt;br /&gt;
&lt;br /&gt;
Outside of fortress mode, the game will always attempt to appoint nobles whenever possible, as long as these positions are '''available''', even if they are invisible to the player.&lt;br /&gt;
It shows this message in legends:  &amp;quot;(unit name) has been appointed to the position of (position name)&amp;quot;&lt;br /&gt;
&lt;br /&gt;
In world-gen, all positions become available and are automatically appointed, taking population- and appointment-requirements into consideration. &lt;br /&gt;
&lt;br /&gt;
Positions that are REPLACED_BY are culled and won't be filled.&lt;br /&gt;
&lt;br /&gt;
If a citizen of your fortress holds a civ-level position that can appoint another civ-level position, the appointment will happen automatically and without player intervention. It may happen that another citizen of your fortress is appointed by that unit, creating civ-level position holders in your fortress, but it is unknown what is required to force this effect.&lt;br /&gt;
&lt;br /&gt;
===Manual appointments by players in fortress mode===&lt;br /&gt;
In fortress mode, the positions that need to be appointed stay empty on embark. and it is the player's job to appoint those. A player can appoint a unit to any available position, according to the hereabove mentioned conditions. The player takes the role of the automatic appointment-system, but has no direct control over elections, successions and replacement. There are some differences in what is possible at world-gen sites and at player-controlled sites.&lt;br /&gt;
&lt;br /&gt;
* A position that is appointed by a unit present as a fortress citizen, can be appointed, re-appointed or left vacant. This means also by civ-level nobles living as a citizen in your fortress; not when they are only visiting, like the diplomat.&lt;br /&gt;
* A position whose appointing positions are all either vacant or [REPLACED_BY] can no longer be appointed. If the position is already filled, it cannot be reappointed or vacated; the current holder simply remains in office.&lt;br /&gt;
* A position that is APPOINTED_BY a unit present as the land_holder of your site, can be appointed, reassigned or left vacant.&lt;br /&gt;
* A position that has SUCCESSION BY_HEIR or BY_POSITION can 'initially' be appointed and also re-appointed or left vacant, but as soon as the [[nobles]] screen closes, ''it can no longer be replaced or left vacant''. From then on, the succession-rules determine who gains that position when the current holder loses the position. This works even if the SUCCESSION:BY_POSITION-position is vacant or replaced.&lt;br /&gt;
* A position that is ELECTED nor APPOINTED_BY, can always be (re-)appointed by the player. This is the case with the [[Expedition leader]]. If it is left vacant however, it cannot be appointed, but will be assumed shortly after. &lt;br /&gt;
* A position that is both ELECTED and APPOINTED_BY, cannot be appointed by the player. Contrary to world-gen sites, its slot is visible, but it doesn't show the +-sign. This is either by AS_NEEDED or by a fixed number. Even if the position somehow gets filled (re)assignment is never possible&lt;br /&gt;
* A player can appoint a number of units to a position, as much as the NUMBER token dictates. If it is AS_NEEDED, the player may create as many slots as they like, also contrary to world-gen sites. &lt;br /&gt;
* A civ-position can never be appointed, even if the appointing civ noble is a citizen of your fortress. A civ position also never can be re-assigned or left vacant, would that position be defined as appointed by a site-position.&lt;br /&gt;
&lt;br /&gt;
==Election==&lt;br /&gt;
Read more in [[Elections]]. The message that is shown is: &amp;quot;(creature name) has been elected to the position of  (position name)&amp;quot;&lt;br /&gt;
&lt;br /&gt;
In worldgen, there is no functional difference between ELECTED and non-appointment, except that elected nobles tend to have high social skills and/or skills related to the position, while non-elected ones are assigned randomly. See: [[Elections]]&lt;br /&gt;
&lt;br /&gt;
A succession goes before an election. &lt;br /&gt;
&lt;br /&gt;
A position that is both ELECTED and APPOINTED_BY never gets elected. Even if the appointees' position somehow gets filled, (re)-elections won't happen. So, it doesn't seem possible to have an elected position become available when a certain other position becomes filled. &lt;br /&gt;
&lt;br /&gt;
An ELECTED civ-(or LAND_HOLDER) position at your site will never be (re)-elected in fortress mode. So real (re-)election only works with SITE-positions. &lt;br /&gt;
&lt;br /&gt;
=== {{text anchor|Election Day}} ===&lt;br /&gt;
Election Day takes place on the 17th of Summer. On this day, a full reevaluation is performed, including all currently elected positions, which are subject to re-election. Contrary to the information on [[Elections]], nothing occurs at the start of a season.&lt;br /&gt;
&lt;br /&gt;
Positions that are both [APPOINTED_BY] and [ELECTED] will not be re-elected on Election Day when assigned through [SUCCESSION].&lt;br /&gt;
&lt;br /&gt;
=== Election Eligiblity ===&lt;br /&gt;
Any citizen may stand for election. Eligibility cannot be restricted using [ACCEPTED_CREATURE], [REJECTED_CREATURE], [ACCEPTED_CLASS], [REJECTED_CLASS], or [GENDER]. Units currently having a [SUCCESSION]-position even may be elected for a position with a [SQUAD]-token, which is otherwise impossible to assign or even succeed.&lt;br /&gt;
&lt;br /&gt;
=== Skills ===&lt;br /&gt;
In elections, skills are taken into account for the tokens of the position which is elected.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Relevant skills per position token&lt;br /&gt;
|-&lt;br /&gt;
! Position Token !! Relevant skills&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#DELIVER_MESSAGES|[DELIVER_MESSAGES]]] || [[Ambusher]], [[Observer]] and [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#ACCOUNTING|[ACCOUNTING]]] || [[Record_keeper|Record keeper]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#ESPIONAGE|[ESPIONAGE]]] || [[Schemer]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#HEALTH_MANAGEMENT|[HEALTH_MANAGEMENT]]] || [[Diagnostician|Diagnostician]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#MAKE_INTRODUCTIONS|[MAKE_INTRODUCTIONS]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#MAKE_PEACE_AGREEMENTS|[MAKE_PEACE_AGREEMENTS]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#MAKE_TOPIC_AGREEMENTS|[MAKE_TOPIC_AGREEMENTS]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#MANAGE_PRODUCTION|[MANAGE_PRODUCTION]]] || [[Organizer]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#MEET_WORKERS|[MEET_WORKERS]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#RECEIVE_DIPLOMATS|[RECEIVE_DIPLOMATS]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#RELIGION|[RELIGION]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#TAME_EXOTICS|[TAME_EXOTICS]]] || [[Animal_trainer|Animal trainer]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#TRADE|[TRADE]]] || [[Social_skill|Social skills]] and [[Appraiser|Appraiser]]&lt;br /&gt;
|-&lt;br /&gt;
| [[Position_token#SQUAD|[SQUAD]]]-token || [[Tactician]] and [[Leader]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Assumption==&lt;br /&gt;
&lt;br /&gt;
A position that is not APPOINTED_BY nor ELECTED, or is appointed by positions that are not available in your site or civ, will be assumable by a random dwarf. If it has responsibilities that require certain skills, then these are taken into consideration on embark, but not when the position is assumed during the actual game. &lt;br /&gt;
&lt;br /&gt;
Normally, one to three units will take the into consideration to assume a position. Most of the time when there are multiple open positions, only a single unit will assume all of them. However, a position that has REJECTED_CREATURE, REJECTED_CLASS, ALLOWED_CREATURE or ALLOWED_CLASS will be filled with all different units, even if the creature or class mentioned is irrelevant. It seems that this forces the game to loop over all the available units.&lt;br /&gt;
&lt;br /&gt;
The message that is shown in Legends mode is: &amp;quot;(unit name) has assumed the position of (position name)&amp;quot;. This may also take place in fortress mode, which then shows this message to the player. &lt;br /&gt;
&lt;br /&gt;
If an assumable position becomes empty, it will be assumed within a day. This is the case when you leave the position of expedition-leader vacant. It also happens with entities. &lt;br /&gt;
&lt;br /&gt;
Assumable positions that become empty will not be assumed if that position has a valid [SUCCESSION] -successor. In that case, the successor inherits the position. &lt;br /&gt;
&lt;br /&gt;
Even positions that are somehow invisible because they cannot be directly APPOINTED_BY players, can be assumed. &lt;br /&gt;
&lt;br /&gt;
When you embark, the assumable positions are automatically assigned to a random unit. If there are multiple of these positions at embark, they all are assigned to the same unit. If there are enough positions available, multiple units may gain a position, but often no more than three different ones.&lt;br /&gt;
&lt;br /&gt;
If a dwarf in fortress mode assumes a position, that already has another position, it will leave the current position empty. When that position also is assumed, then this will continue until all positions have a dwarf appointed to them, with no other position.&lt;br /&gt;
&lt;br /&gt;
A unit that already has a position with a [SUCCESSION] token won't take assumable positions into consideration that have a [SQUAD] token. This can be used by the modder to prevent unwanted loss of current positions.&lt;br /&gt;
&lt;br /&gt;
A position that has an appointer which got replaced because of REPLACED_BY, will not become assumable. Also, positions that have an AS_NEEDED appointer that is not yet filled (or ever), will also not be assumed.&lt;br /&gt;
&lt;br /&gt;
==Succession==&lt;br /&gt;
&lt;br /&gt;
If a position-holder dies or advances to a new position via succession, the position will be granted to another unit based on the [SUCCESSION] tag. If they have an heir or the succeeding position exists, that unit will be assigned. If not, a new one will be appointed according to the usual rules. The message that is shown is: &amp;quot;(creature name) being the rightful heir, has inherited the position of (position name)&amp;quot;&lt;br /&gt;
&lt;br /&gt;
The succeeding creature will also lose its previous position. When succession is defined using BY_POSITION, the unit naturally loses the referenced position. However, it also loses any other positions it may hold. If a unit could simultaneously inherit multiple positions, the last-defined succession overrides the earlier one, clearing the previously acquired position&lt;br /&gt;
&lt;br /&gt;
Succession works both at site-level and at civ-level, both in world-gen and in fortress-mode. Succession by position on the civ-level is also visible and functional in fortress-mode. If both civ-level nobles are a citizen of your fortress, succession is applied visually. Vanilla example: The [[druid]] is succeeded by the [[acolyte]]. This means that as soon as the druid dies, the acolyte takes over. &lt;br /&gt;
&lt;br /&gt;
When a position that is succeeded by position becomes available, immediately it is checked if a position-successor is available and the position is filled with that unit. Even if this is an [ELECTED] position, succession goes first. When elections eventually do happen, succession plays no role.&lt;br /&gt;
&lt;br /&gt;
It is possible to assign multiple levels of [SUCCESSION:BY_POSITION] in different positions, creating a line of positions where the death of one causes all those &amp;quot;below&amp;quot; them to advance.&lt;br /&gt;
&lt;br /&gt;
A position can have multiple tokens with position-succession. It looks to be random which one is used. It is not always:&lt;br /&gt;
* The first or last defined token&lt;br /&gt;
* The first or last appointed unit&lt;br /&gt;
* the oldest or youngest&lt;br /&gt;
* one with a higher or lower precedence&lt;br /&gt;
* a unit with relevant skills&lt;br /&gt;
&lt;br /&gt;
When a position is defined with a Succession-type, that unit cannot have another position that has a Squad-type. If the succession-position itself has a squad, than it can be assigned another position with a squad, but then it will loose the previous succesion position. See further details by &amp;quot;Squad&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Assumed positions can also be succeeded by position, if the current holder dies. &lt;br /&gt;
&lt;br /&gt;
If the successor is an AS_NEEDED position, the used unit will leave a vacant position-slot on its removal by succession. This empty slot remains a real slot, which will only be cleaned up if you (un)appoint a unit to this position-series. It isn't cleaned up after regular position validation.&lt;br /&gt;
&lt;br /&gt;
A civ-level position of a unit living at your site might be inherited by a unit holding that does not currently live at your site. This, unfortunately, moves that position to a unit off site. This may also happen with the landholder of your site, for example when it is succeeded by another civ-level position. This currently poses an unsolved challenge. &lt;br /&gt;
&lt;br /&gt;
===Eligibility for succession===&lt;br /&gt;
Succession is restricted by the tokens [ACCEPTED_CREATURE], [REJECTED_CREATURE], [ACCEPTED_CLASS], [REJECTED_CLASS] and [GENDER].&lt;br /&gt;
&lt;br /&gt;
===Site and civ combined succession===&lt;br /&gt;
&lt;br /&gt;
Succession can work when combining site positions with civ-level positions or land_holders, but only in world-gen mode.  In fortress mode, it only works with combining the same level of nobles, with Landholders regarded as civ-level. So, in fortress mode, a site's position cannot succeed a landholder's position and it cannot succeed another type of civ-level position, and vice versa. &lt;br /&gt;
&lt;br /&gt;
This won't work even if the positions:&lt;br /&gt;
* are AS_NEEDED or having a fixed number.&lt;br /&gt;
* Are LAND_HOLDERs.&lt;br /&gt;
&lt;br /&gt;
===Succession [BY_HEIR]===&lt;br /&gt;
&lt;br /&gt;
When a heir is needed for succession, all children and then other relatives are validated. They cannot take the position if their status does not allow it, for example if they have become a member of another civilisation. See: &amp;quot;Who can take a position&amp;quot;. If the unit has no valid heir on that location, the position may go to a unit living on another site. This may cause the title of Landholder of some land to be inherited by a unit living somewhere else. That might be a problem, because then you lose your landholders.&lt;br /&gt;
&lt;br /&gt;
===Premature Succession===&lt;br /&gt;
&lt;br /&gt;
There are cases where [SUCCESSION:BY_POSITION] is applied prematurely: at the moment a position is first created and becomes appointable or assumable, rather than after a current holder leaves. In this situation, the succession mechanism assigns a holder immediately, without any player interaction.&lt;br /&gt;
&lt;br /&gt;
When a position becomes available for the first time, the game checks whether a valid successor-by-position exists. If so, that unit is assigned instantly. It can affect positions that would normally be appointed or elected by the player, causing succession to trigger before the player has any opportunity to intervene.&lt;br /&gt;
&lt;br /&gt;
This behavior occurs only in Fortress mode, but can be applied both on [SITE]-positions as well in civ-positions. That last one however is a bit harder to control. Example: [[Advanced entity position mechanics#The Archduke|The Archduke]]&lt;br /&gt;
&lt;br /&gt;
This premature succession only occurs the first time a position becomes available (i.e. when it is created and becomes appointable or assumable). Even if the position remains vacant and the conditions for succession improve later, premature succession will not trigger again. From that point onward, only normal succession rules apply.&lt;br /&gt;
&lt;br /&gt;
Using premature succession, a position that has [ELECTED], [APPOINTED_BY], or both, can be filled directly.&lt;br /&gt;
Notably, positions that combine [ELECTED] and [APPOINTED_BY] are normally impossible to fill through regular mechanics. Premature succession bypasses both election and appointment entirely, making this combination uniquely reachable through this mechanism.&lt;br /&gt;
&lt;br /&gt;
No initial election takes place, and no subsequent elections will ever occur for that position. Succession always takes precedence over election, both in premature succession and in normal succession cases.&lt;br /&gt;
&lt;br /&gt;
This behavior applies only in Fortress mode, not during world generation. World-gen uses simplified and more efficient mechanics, and this interaction does not occur there. Premature succession can affect both site-level and civilization-level positions.&lt;br /&gt;
&lt;br /&gt;
====Multiple succession chains====&lt;br /&gt;
&lt;br /&gt;
Multiple succession chains may be defined and are resolved in the order they appear in the raws.&lt;br /&gt;
&lt;br /&gt;
If a position has both:&lt;br /&gt;
* a direct succession chain (A → C), and&lt;br /&gt;
* a multi-step chain (A → B → C),&lt;br /&gt;
&lt;br /&gt;
and intermediate positions are vacant, resolution proceeds according to raw order. A common outcome is:&lt;br /&gt;
# The direct succession (A → C) is applied first, assigning A to C.&lt;br /&gt;
# The remaining chain then advances (A → B).&lt;br /&gt;
# If C still has empty slots, the final step (B → C) may occur.&lt;br /&gt;
&lt;br /&gt;
If position B is already filled, behavior depends entirely on raw definition order:&lt;br /&gt;
* nothing may happen, or&lt;br /&gt;
* B may move to C first, followed by A moving to B.&lt;br /&gt;
====Working triggers====&lt;br /&gt;
Premature succession is triggered when a succeedable position is created under the following conditions:&lt;br /&gt;
* The succeedable position is created because its [REQUIRES_POPULATION] threshold is reached. This applies even if the position is not [APPOINTED_BY]. Premature succession takes priority over automatic assumption (e.g. the mayor declaring themselves within a day).&lt;br /&gt;
* The succeedable position can be [APPOINTED_BY] another position of the same level (site or civ) that has just been created because its [REQUIRES_POPULATION] was reached.&lt;br /&gt;
* The succeedable position can be appointed by another [SITE] [AS_NEEDED] position that has just been created and filled.&lt;br /&gt;
* The succeedable (site or civ) position is [APPOINTED_BY] the [LAND_HOLDER] position, which has just been created due to site elevation. This typically resolves when the diplomat leaves the map, at which point the landholder position becomes active.&lt;br /&gt;
* If all other requirements are met, premature succession can occur immediately after unpausing following embark, for positions with [REQUIRES_POPULATION:7].&lt;br /&gt;
====Non-working triggers====&lt;br /&gt;
Premature succession does '''not''' occur in the following cases:&lt;br /&gt;
* An [AS_NEEDED] succeedable position slot is manually created by the player while its succeeding position is already filled. [AS_NEEDED] positions must always be appointed after creation.&lt;br /&gt;
* The succeeding position is filled after the succeedable position becomes available. The moment of creation is the decisive trigger; filling the source position later is too late.&lt;br /&gt;
* The succeedable position can be appointed by another site or civ position with a fixed number of slots that has just been appointed. In this case, the succeedable position is just available for appointment itself, nothing more&lt;br /&gt;
* Any situation occurring during world generation.&lt;br /&gt;
* The succeeding position is [REPLACED_BY] the succeedable position. In this case, replacement removes the unit from the source position first, leaving no holder available for the succession mechanism to use.rst, leaving no holder available for the succession mechanism to use.&lt;br /&gt;
* The position is [APPOINTED_BY] a civ-level position, that just became a citizen of your fortress. It must be noted that those civ-level positions were active all that time and the succeedable position could be appointed even before. The monarchs arrival does not trigger premature succession&lt;br /&gt;
&lt;br /&gt;
=Losing a position=&lt;br /&gt;
&lt;br /&gt;
A unit can lose a position when:&lt;br /&gt;
* It dies&lt;br /&gt;
* It succeeds another position, even if it has nothing to do with the previous position.&lt;br /&gt;
* It is assigned to another SQUAD-holding position&lt;br /&gt;
* It is convicted of a crime.&lt;br /&gt;
* Another unit is ELECTED for the position&lt;br /&gt;
* Its position becomes replaced&lt;br /&gt;
* Another unit is appointed by the player, or the position is left vacant. &lt;br /&gt;
* It has assumed another position, as this always leaves the previous position vacant.&lt;br /&gt;
&lt;br /&gt;
=Embarkment=&lt;br /&gt;
Two types of positions are automatically filled by embark. &lt;br /&gt;
* Positions without [APPOINTED_BY] or [ELECTED] (assumable). All these positions, even with a NUMBER higher than 1, are all filled with one to three dwarves. Contrary to assumption, this doesn't take into account any limitations. REJECTED_CLASS, ALLOWED_CLASS, REJECTED_CREATURE, ALLOWED_CREATURE and GENDER are applied, but without the normal spread you may expect with assumptions. Also it doesn't look at [SUCCESSION] and [SQUAD] limitations.&lt;br /&gt;
* Positions that are elected are filled-in by the normal election rules.&lt;br /&gt;
&lt;br /&gt;
Positions that have a defined appointer are never initially filled at embark.&lt;br /&gt;
&lt;br /&gt;
All positions that don't have [REQUIRES_POPULATION]  or with a [REQUIRES_POPULATION] of 7 or lower, will be available at embark.&lt;br /&gt;
&lt;br /&gt;
=Land Holders=&lt;br /&gt;
&lt;br /&gt;
A Landholder is a '''special civ-level noble''' who gets a certain piece of land to hold, when that land is elevated to a certain level, determined by the tag [LAND_HOLDER] and by the landholder triggers in the game's settings. In vanilla, these are the baron, the count and the duke. &lt;br /&gt;
&lt;br /&gt;
A unit gaining the landholder position does not migrate to that specific named land. In world-gen, they stay just where they are, probably at the capital. In fortress mode, you can suggest a citizen for the role. So for the time being that works.&lt;br /&gt;
&lt;br /&gt;
Succession is then a real issue. If you use BY_HEIR, its solved when that landholder has children living at your site. But when its not the case, the title just goes to anyone randomly. Succession BY_POSITION works, but only in the civ-chain, and there's no way to guarantee a civ-holder is at your site at that time. Even with 'automatic spread' positions, it goes to one of them randomly.&lt;br /&gt;
&lt;br /&gt;
==Functioning of the regular landholder chain==&lt;br /&gt;
&lt;br /&gt;
The distinct difference between a landholder and a regular civ-level noble, is that a landholder may gain the position of landholder &amp;quot;of (sitename)&amp;quot; They are then seen as ruler of a particular site. &lt;br /&gt;
&lt;br /&gt;
For a land_holder position to function as such, it has a few requirements:&lt;br /&gt;
* NUMBER:AS_NEEDED &lt;br /&gt;
* The first landholder-number of 1 is defined. &lt;br /&gt;
* No SITE (so civ) tag in that position.&lt;br /&gt;
*REPLACED_BY the next level landholder&lt;br /&gt;
If a landholder is defined with differentiating properties, it will function like a regular noble. A higher-up landholder that lacks the required tokens or connections will then not be used in elevation. &lt;br /&gt;
&lt;br /&gt;
If a fortress meets the trigger for a new LAND_HOLDER tier when a caravan leaves, then the next time the outpost liaison or equivalent arrives, they will offer to make you an official colony, which will allow you to select all positions for that LAND_HOLDER level. Each time they appear, the outpost liaison will only promote your fortress one tier up the LAND_HOLDER track. &lt;br /&gt;
&lt;br /&gt;
The landholder's LAND_NAME is not required for the functioning of this system. If omitted, messages will be shown with a more generic text.&lt;br /&gt;
&lt;br /&gt;
==Appointment==&lt;br /&gt;
&lt;br /&gt;
This mechanism differs from the regular methods of position management. It ignores all regular appointment- and election rules, so it more or less functions like automatic assignment. A landholder is, in vanilla, appointed by the monarch. Changing this doesn't seem to do anything. If they are appointed by a site-position, a not-yet-existing civ-position, or not appointed at all: the system keeps working as usual. &lt;br /&gt;
&lt;br /&gt;
A landholder can appoint civ-positions and site positions. This works as expected: the positions only are appointed then when that landholder becomes available on civ-level or when he arrives at that site for site-level positions. &lt;br /&gt;
&lt;br /&gt;
If your rank of landholder is the first of its rank in the realm, and is the sole appointer of some civ-position, then immediately as it gains the title, it will appoint the empty civ-slots. This may happen on your site, but the frequency and certainty is hard to determine.&lt;br /&gt;
&lt;br /&gt;
==Succession==&lt;br /&gt;
&lt;br /&gt;
Succession rules are applied to some extent:&lt;br /&gt;
* In world-gen it works according to succession rules, and site-positions can be used here.  This means that a site position or a civ-position can inherit a landholder position, and vice versa.&lt;br /&gt;
* In fortress mode, once a landholder has been appointed, it then can inherit civ-level positions, and vice versa. This means that your baron can become king. &lt;br /&gt;
* Succession rules do not apply within the [LAND_HOLDER] chain; a count will not inherit a baron's land. This is because succession does not work well with the AS_NEEDED token.&lt;br /&gt;
* Premature succession works in fortress mode with landholders. If a unit gets a landholder's position and that landholder is the appointer of an as yet empty position, which is defined as succeeding from a third one, then the succession is immediately applied. The landholder themselves can even be the successor of a newly created position.&lt;br /&gt;
* A landholder's position is, in fortress mode, not successionable by a site-position or vice versa&lt;br /&gt;
&lt;br /&gt;
===Impossibilities for succession by a site-position===&lt;br /&gt;
It would be very beneficial if the landholder can be succeeded by a [SITE]-position. So far, the following tests have not lead to positive results:&lt;br /&gt;
* making landholder and site-position both non-[DUTY_BOUND]&lt;br /&gt;
* make the site-position be [APPOINTED_BY] the landholder and/or the monarch&lt;br /&gt;
* give landholder and site-position [REJECTED_CREATURE]&lt;br /&gt;
* Let the monarch live at your site when succession could happen.&lt;br /&gt;
* Let the site-position be [REPLACED_BY] the landholder.&lt;br /&gt;
&lt;br /&gt;
==Nomination==&lt;br /&gt;
&lt;br /&gt;
The player is able to nominate a unit to become the LAND_HOLDER, but this only works with units of [LAND_HOLDER] level 1. The player can select all units, only limited by the PRECEDENCE of the current units' positions.&lt;br /&gt;
&lt;br /&gt;
A unit that has a position with a PRECEDENCE lower or equal to that of the landholder's position, cannot be selected. This means that a baron (or count) from another site or the monarch cannot be selected, because their precedence is lower or equal. &lt;br /&gt;
&lt;br /&gt;
The GENDER  token does not work here: also units with the wrong gender (sorry) can be selected.&lt;br /&gt;
&lt;br /&gt;
==Levels==&lt;br /&gt;
In mods, up to 10 levels of LAND_HOLDER may be defined. &lt;br /&gt;
&lt;br /&gt;
If a landholder is replaced by a wrong landholder number (1 replaced by 3), then the number 3 is still correctly attached to the settlement. &lt;br /&gt;
&lt;br /&gt;
If the current landholder has the highest available landholder number, then the next elevation will not happen - the diplomat will not elevate your fortress to a higher position, even if that position might be REPLACED_BY a lower landholder. &lt;br /&gt;
&lt;br /&gt;
These chains do work:&lt;br /&gt;
* 1 -&amp;gt; 2a - &amp;gt; 2b -&amp;gt; 3&lt;br /&gt;
* 1 -&amp;gt; 3 -&amp;gt; 2 -&amp;gt; 4&lt;br /&gt;
&lt;br /&gt;
These chains do not work:&lt;br /&gt;
* 2 -&amp;gt; 3 (need to start at 1)&lt;br /&gt;
* 1 -&amp;gt; 4 -&amp;gt; 2 -&amp;gt; 3 (stops after 4 as the highest)&lt;br /&gt;
* 1a -&amp;gt; 2, 1b -&amp;gt; 2 (only 1a and 2 work, 1b is not used)&lt;br /&gt;
&lt;br /&gt;
==Moving landholders==&lt;br /&gt;
&lt;br /&gt;
It may happen that a land-holder no longer lives at the site which they are the landholder of, specifically when the current landholder dies, leaving the title to an heir living somewhere else. &lt;br /&gt;
&lt;br /&gt;
To prevent this from happening, you can make their succession from heir and make sure that their kids live at your site. Or, you can make their position succeeded by another civ position, and make it so that this civ position is somehow available on your site. But if multiple of these positions exist, it cannot be guaranteed that a citizen of your fortress will inherit the title. &lt;br /&gt;
&lt;br /&gt;
In world gen, a landholder lacking the DUTY_BOUND-token will also move to the site they like, according to legends mode.&lt;br /&gt;
&lt;br /&gt;
==Replacement by a generic civ-position==&lt;br /&gt;
&lt;br /&gt;
If a landholder is replaced by an AS_NEEDED non-landholder civ-position, then this will work: the current landholder loses that title upon settlement-elevation and gains that civ-title. However, the civ-title lacks the landholder-property of being attached to the land. It will not show the name of the settlement alongside the position's name. So no &amp;quot;minister of Shovelmounts&amp;quot;&lt;br /&gt;
&lt;br /&gt;
If a landholder is replaced by a general AS_NEEDED civ-position, that itself is also replaced by a generic AS_NEEDED civ-position, then firstly the elevation is executed and also the unit gains that new position. However, he immediately loses it, because an AS_NEEDED position that is replaced by another position can be filled initially, but units wont be able to hold that title.&lt;br /&gt;
&lt;br /&gt;
==Landholder with fixed number==&lt;br /&gt;
&lt;br /&gt;
A landholder's position that has a fixed number will be created and filled directly when the civilisation is born, so this position slot is then not available for the regular landholder-mechanic and will also not be used. That landholder will thus not be attached to a settlement. &lt;br /&gt;
&lt;br /&gt;
It doesn't matter if the landholder's position is connected to the regular landholder's-chain with the REPLACE_BY token.&lt;br /&gt;
&lt;br /&gt;
==Responsibilities==&lt;br /&gt;
&lt;br /&gt;
When given a certain [RESPONSIBILITY], a landholder may function as a regular civ-level noble. If the position has [TRADE] or [OUTPOST_NEGOTIATING] responsibilities, then the landholder functions both as a diplomat and as an actual land holder. A landholder with the [MILITARY_STRATEGY]  responsibility will travel around taming creatures in world-gen, according to legends mode. &lt;br /&gt;
&lt;br /&gt;
Besides that, the responsibilities work the same as with any other on-site living position-holder, civ or otherwise.&lt;br /&gt;
&lt;br /&gt;
=Military=&lt;br /&gt;
==Squad management==&lt;br /&gt;
In the vanilla game, the Squad interface only becomes available after a militia commander has been appointed. Until then, the window displays:{{DFtext|You must appoint somebody first to create a squad.}}&lt;br /&gt;
&lt;br /&gt;
What’s surprising is how this is determined internally. In the entity raw definition, '''only the last two positions that include a [SQUAD] token are checked''' to decide whether the interface is accessible at all. As a result, if your hierarchy defines commanders A through E, appointing '''Commander D or E''' unlocks squad formation, while appointing A–C does nothing.&lt;br /&gt;
&lt;br /&gt;
In other words, squad availability is not tied to ''having a militia commander'', but to ''which specific positions happen to be last in the raw list''—a notably hacky implementation.&lt;br /&gt;
&lt;br /&gt;
These 'last two' are always the last two '''available positions.''' So if they get [REPLACED_BY] or become available because of [REQUIRES_POPULATION], the game adapts to those.&lt;br /&gt;
&lt;br /&gt;
==Squad assignment==&lt;br /&gt;
&lt;br /&gt;
Squads can be assigned, even if the leader position has no holder.&lt;br /&gt;
&lt;br /&gt;
A specific unit can only have one position associated with a squad. If it gains another 'squad holding position', it is unassigned from the first one. This does not work with a 0-squad, so only 1+squads are taken into consideration. This technique can possibly be used to distribute all positions equally among all citizens. It does however not work with election and assumption. &lt;br /&gt;
&lt;br /&gt;
If a civ-level position is associated with a squad and it gets a site-level squad-holding position assigned, it loses the current civ-position. &lt;br /&gt;
&lt;br /&gt;
Squads can get really messed up, if you make the position (or multiple) either elected or not-elected and not-appointed, then this can cause the game to assign multiple squads to the same unit. Automatic assignment and election does not take squads into account, but the nobles screen does. This can cause the positions to be cleared as the game figures out that they have more than one position, and immediately get elected or assumed again. &lt;br /&gt;
&lt;br /&gt;
Positions that cannot have a squad-position:&lt;br /&gt;
* A site- or civ-position with a [SUCCESSION] token cannot be appointed a squad-holding-position. The other way around, however, does work. For example, if a site-position with a [SUCCESSION]-token is appointed to a unit that has already a position with [SQUAD]. But when that squad position is assigned to another unit, it cannot be assigned back. &lt;br /&gt;
* A position with [SUCCESSION] can also not be assigned as a '''member''' of a squad.&lt;br /&gt;
* A squad-holding position with a formed squad cannot be appointed to another squad holding position.&lt;br /&gt;
&lt;br /&gt;
If a position has at least one squad member, it cannot be left vacant. First, the squad has to be disbanded, then the position may be cleared.&lt;br /&gt;
&lt;br /&gt;
==0-squads==&lt;br /&gt;
A 0-Squad is defined in a position as [SQUAD:0:member:members]. It does not seem to do anything useful as of now.&lt;br /&gt;
* It cannot be used to activate the [[Squad|military interface]]&lt;br /&gt;
* It does not restrict the assignment of [SUCCESSION] positions.&lt;br /&gt;
* Assigning this position does not clear any previously held squad position.&lt;br /&gt;
* The [[Leader]] and [[Tactician]] skill are not marked as relevant skills and are not taken into account in elections.&lt;br /&gt;
* It cannot be formed as a squad.&lt;br /&gt;
&lt;br /&gt;
=Further testing=&lt;br /&gt;
The following questions may need additional testing. Feel free to add or answer&lt;br /&gt;
* Everything regarding COMMANDING and army-structure&lt;br /&gt;
** [http://www.bay12forums.com/smf/index.php?topic=175437.msg8331668#msg8331668]&lt;br /&gt;
** [http://www.bay12forums.com/smf/index.php?topic=165213.msg8335682#msg8335682]&lt;br /&gt;
** [http://www.bay12forums.com/smf/index.php?topic=174584.msg8026854#msg8026854]&lt;br /&gt;
* Everything regarding CONQUERED_SITE, but it is presumably just like site. But what if you combine SITE or LAND_HOLDER with it?&lt;br /&gt;
* Stuff about the monarch, its arrival and its entourage.&lt;br /&gt;
&lt;br /&gt;
=Oddities (Bugs)=&lt;br /&gt;
Almost everything on this page could be called an oddity. Because of their unexpected usability, some may also be referred to as “undocumented features.” Others, however, are simply odd and not particularly useful, yet I hesitate to call them “bugs.”&lt;br /&gt;
* If a certain threshold is reached that makes an elected position electable, and the triggering event that initiates this evaluation is an assumption, then the resulting assumption is also referred to in the messages as an election&lt;br /&gt;
&lt;br /&gt;
=Examples=&lt;br /&gt;
&lt;br /&gt;
===The Founder===&lt;br /&gt;
The founder is a single dwarf, appointed at embark. They will be the only one ever to have this position and are not replaceable. When they lose their position some way, the position will not be assumed by another dwarf. &lt;br /&gt;
{{gamedata|title=The Founder|&lt;br /&gt;
[POSITION:THE_FOUNDER]&lt;br /&gt;
	[NAME:the founder:founders]&lt;br /&gt;
	[NUMBER:1] &lt;br /&gt;
	[SITE]&lt;br /&gt;
	[ALLOWED_CREATURE:DWARF:ALL]		- will only be filled at embark, but not assumable later.&lt;br /&gt;
	[REJECTED_CREATURE:DWARF:ALL]		- will only be filled at embark, but not assumable later.&lt;br /&gt;
	[SUCCESSION:BY_POSITION:THE_FOUNDER]	- not unassignable, also cannot be assigned to a [SQUAD] position.&lt;br /&gt;
	[PRECEDENCE:200] &lt;br /&gt;
	Non APPOINTED_BY&lt;br /&gt;
	Non ELECTED&lt;br /&gt;
	Optional: Add responsibilities to make the game select a unit with certain skills.&lt;br /&gt;
}}&lt;br /&gt;
===Marriage bar===&lt;br /&gt;
Dwarven matrons are held in great honour. Upon marriage, a female dwarf is no longer expected to perform menial labour. All dwarven males hold this position by default, granting their spouses exemption from menial work.&lt;br /&gt;
&lt;br /&gt;
The position becomes available with the arrival of the first migrants; otherwise, on embark, it would be assumed by females. Its succession rule is non-functional, but this prevents the player from unassigning the position. A squad size of 1 and the succession rules together prevent a unit from assuming the position more than once.&lt;br /&gt;
&lt;br /&gt;
With precedence set to NONE, the position name is hidden, while LAND_NAME remains visible on the nobles screen. All married females receive the suffix “, Mrs.” and are marked as Nobles.&lt;br /&gt;
&lt;br /&gt;
The practical usefulness of this position is debatable, but it serves as a clear demonstration of several mechanics.&lt;br /&gt;
{{gamedata|title=Mrs. Urist|&lt;br /&gt;
 &lt;br /&gt;
[POSITION:MRS_URIST]	&lt;br /&gt;
	[NUMBER:300]						&lt;br /&gt;
	[SITE]						&lt;br /&gt;
	[ALLOWED_CREATURE:DWARF:MALE]	&lt;br /&gt;
	Not APPOINTED_BY				&lt;br /&gt;
	Not ELECTED&lt;br /&gt;
	[LAND_NAME:Dwarven male]				&lt;br /&gt;
	[NAME:dwarven male:dwarven male]&lt;br /&gt;
	[PRECEDENCE:NONE]					&lt;br /&gt;
	[SPOUSE_FEMALE:, Mrs.:spouses]&lt;br /&gt;
	[MENIAL_WORK_EXEMPTION_SPOUSE]&lt;br /&gt;
	[REQUIRES_POPULATION:8]			&lt;br /&gt;
	[SUCCESSION:BY_POSITION:MONARCH]&lt;br /&gt;
	[SQUAD:1:member:members]&lt;br /&gt;
}}&lt;br /&gt;
===The Archduke===&lt;br /&gt;
The archduke is the leader of the civilization, but exists only from landholder 4-level. Until then, its position remains vacant. When a settlement is elevated to tier 4 (grand duke), the grand duke can appoint the ruler of the civilisation, the archduke. Because of 'Premature Succession', they themself inherit that position immediately, but only when in fortress mode. Its heir then becomes grand duke.&lt;br /&gt;
{{gamedata|title=The Archduke| no POSITION:MONARCH or other PRECEDENCE:1 &lt;br /&gt;
&lt;br /&gt;
[POSITION:THE_ARCHDUKE]&lt;br /&gt;
	[NAME:archduke:archdukes]&lt;br /&gt;
	[NAME_MALE:archduke:archdukes]&lt;br /&gt;
	[NAME_FEMALE:archduchess:archduchesses]&lt;br /&gt;
	[LAND_NAME:a archduchy]&lt;br /&gt;
	[NUMBER:1] &lt;br /&gt;
	[PRECEDENCE:1] &lt;br /&gt;
	[SUCCESSION:BY_POSITION:GRAND_DUKE]	&lt;br /&gt;
	[APPOINTED_BY:GRAND_DUKE]&lt;br /&gt;
	(add additional monarch-stuff, like spouse name, demands etc.)&lt;br /&gt;
	&lt;br /&gt;
[POSITION:GRAND_DUKE]&lt;br /&gt;
	[NAME:grand duke:grand dukes]&lt;br /&gt;
	[NAME_MALE:grand duke:grand dukes]&lt;br /&gt;
	[NAME_FEMALE:grand duchess:grand duchesses]&lt;br /&gt;
	[NUMBER:AS_NEEDED] &lt;br /&gt;
	[LAND_HOLDER:4]&lt;br /&gt;
	// Optional ...&lt;br /&gt;
	[PRECEDENCE:19]	&lt;br /&gt;
	[LAND_NAME:a archduchy] &lt;br /&gt;
	[RESPONSIBILITY:LAW_MAKING]&lt;br /&gt;
	[RESPONSIBILITY:RECEIVE_DIPLOMATS]&lt;br /&gt;
	[SUCCESSION:BY_HEIR]&lt;br /&gt;
	[APPOINTED_BY:THE_ARCHDUKE]&lt;br /&gt;
	(add additional landholder-stuff)&lt;br /&gt;
&lt;br /&gt;
!!add to [POSITION:DUKE]&lt;br /&gt;
	[REPLACED_BY:GRAND_DUKE]&lt;br /&gt;
&lt;br /&gt;
}}&lt;br /&gt;
{{Category|Modding}}&lt;br /&gt;
{{Category|Entities}}&lt;br /&gt;
{{Category|Guides}}&lt;/div&gt;</summary>
		<author><name>Joostheger</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=Advanced_entity_position_mechanics&amp;diff=314917</id>
		<title>Advanced entity position mechanics</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=Advanced_entity_position_mechanics&amp;diff=314917"/>
		<updated>2026-02-12T08:31:02Z</updated>

		<summary type="html">&lt;p&gt;Joostheger: /* Specific Tags */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Quality|Fine}}&lt;br /&gt;
{{Modding}}&lt;br /&gt;
&lt;br /&gt;
= Introduction = &lt;br /&gt;
&lt;br /&gt;
[http://www.bay12forums.com/smf/index.php?topic=182239.0 Discussion thread on the forum]&lt;br /&gt;
&lt;br /&gt;
This page documents observed and tested behavior of entity positions in Dwarf Fortress that is not fully described elsewhere on the wiki. It focuses on advanced interactions between position tokens, including appointment, succession, election, and responsibility handling, across both civilization-level and site-level entities.&lt;br /&gt;
&lt;br /&gt;
The mechanics described here are based on empirical testing in world generation and fortress mode, supplemented where necessary by raw analysis. In several cases, the game’s behavior is determined by evaluation order and interaction between multiple tags, rather than by individual tokens in isolation.&lt;br /&gt;
&lt;br /&gt;
This page is intended for modders and advanced players who are designing or debugging custom entity position structures. It does not restate basic position mechanics, but instead highlights edge cases, non-obvious interactions, and behaviors that may appear inconsistent or undocumented.&lt;br /&gt;
&lt;br /&gt;
Unless stated otherwise, the described behavior applies to current versions of the game and may differ from older releases.&lt;br /&gt;
&lt;br /&gt;
==What is an entity? What is a position?==&lt;br /&gt;
An [[entity]] is an organizational structure that can have relationships with other entities, usually known as a [[civilization]] or a &amp;quot;[[site]] government&amp;quot; in the game, but merchant [[guild]]s, religious organizations, necromancer towers, and [[bandit]] groups are also entities. An entity can have positions - in most cases, these are hardcoded and generated by the game, but as for civilizations and sites, the [[raw file]]s can be customised.&lt;br /&gt;
&lt;br /&gt;
A position is a special relationship between a unit and an entity. The unit holding a position has a larger influence over that entity than other citizens. Positions are mostly known as [[nobles]], but in this article. the technical term is used.&lt;br /&gt;
&lt;br /&gt;
=Position levels (Site/Civ) and their interaction=&lt;br /&gt;
There are two basic types of positions that are customizable: '''civ(ilization)''' level and '''site level'''. Positions with the tag [SITE] are at site level, positions without the tag [SITE] are at 'civ level'. These two types of nobles can be considered '''loosely related systems'''. There are a few places where they can interact with each other.&lt;br /&gt;
&lt;br /&gt;
Civ-level positions are in charge of the civilization as a whole, managing national [[trade]], laws, and [[war]]s. These are, for example, the vanilla [[monarch]], [[diplomat]] and [[general]]. (Note that the general doesn't do anything in either mode in the current version.)&lt;br /&gt;
&lt;br /&gt;
'''[LAND_HOLDER]''' nobles are also positions at civ-level. These units are members of the national government, but have gained authority over some land or site. Once they do, they move to that place, but their position is still regarded as a civ-level position.&lt;br /&gt;
&lt;br /&gt;
Site-level position holders are members of a site government (subsidiary to the civilization), and manage local affairs in that location. These are, for example, the [[mayor]], the [[sheriff]] and the [[broker]].&lt;br /&gt;
&lt;br /&gt;
==Table of interaction between different position levels==&lt;br /&gt;
In this table, the possible interactions between different position levels are summarized. &lt;br /&gt;
The header row shows the positions defining the tokens.&lt;br /&gt;
&lt;br /&gt;
The left column shows the position type that is referred to.&lt;br /&gt;
Example:  &lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! referred position-type&lt;br /&gt;
! LAND_HOLDER&lt;br /&gt;
|-&lt;br /&gt;
| civilization&lt;br /&gt;
|  &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;(baron is) APPOINTED_BY:MONARCH&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
color coding: &amp;lt;/br&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;Exists in vanilla&amp;lt;/span&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;Possible with mods&amp;lt;/span&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;Not possible&amp;lt;/span&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;possible to some extent.&amp;lt;/span&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;not yet fully investigated.&amp;lt;/span&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! referred position-type&lt;br /&gt;
! Civilization&lt;br /&gt;
! SITE&lt;br /&gt;
! LAND_HOLDER&lt;br /&gt;
! CONQUERED_SITE&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Civilization&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;SUCCESSION '''(1)'''&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| SITE&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;SUCCESSION '''(2)'''&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;APPOINTED_BY '''(3)'''&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;SUCCESSION '''(4)'''&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| LAND_HOLDER&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY '''(6)'''&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;SUCCESSION '''(5)'''&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;REPLACED_BY '''(7)'''&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;SUCCESSION '''(8)'''&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;CONQUERED_SITE&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; COMMANDER &amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; REPLACED_BY &amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt; SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; COMMANDER &amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; REPLACED_BY &amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt; SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; COMMANDER &amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; REPLACED_BY &amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; COMMANDER &amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; REPLACED_BY &amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Remarks:&lt;br /&gt;
# Works only in world-gen, if a unit with that civ-position is present at the site.&lt;br /&gt;
# Works only in world-gen, the site-position holding unit will then move to the capital.&lt;br /&gt;
# Is completely ignored&lt;br /&gt;
# Works only in world-gen.&lt;br /&gt;
# Works only in world-gen.&lt;br /&gt;
# Won't appear at all&lt;br /&gt;
# This is necessary for the landholder chain to work properly, it doesn’t work otherwise.&lt;br /&gt;
# This works only outside of the landholder chain, so when landholders are simply regarded as civ-level nobles. might also work in world-gen&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
== Other interactions ==&lt;br /&gt;
&lt;br /&gt;
Unfortunately, interactions with positions of other entities don't seem possible, such as APPOINTED_BY: HIGH_PRIEST. With [VARIABLE_POSITIONS], positions are automatically created with codes like CUSTOM_LAW_MAKER_2, but interaction with these positions don't seem to work, either. For more info on those, see [[Variable positions]]&lt;br /&gt;
&lt;br /&gt;
=General=&lt;br /&gt;
&lt;br /&gt;
==Civ-level nobles living at your site==&lt;br /&gt;
Nobles from your civilization can come to live at your fortress. This happens in vanilla with landholders such as [[Baron]], [[Count]] and [[Duke]], with the Monarch, but sometimes also with non-landed LAND_HOLDERS.&lt;br /&gt;
&lt;br /&gt;
When a civ-level noble becomes a [[citizen]] at your location, their position is shown among the site-level positions in your [[nobles screen]]. They appear to function as a site-level noble. They may have [[demand]]s, [[mandate]]s, [[squad]]s and the like. They can appoint nobles at the site-level.&lt;br /&gt;
&lt;br /&gt;
If they have certain [RESPONSIBILITY]ies, they do the tasks that go with them.&lt;br /&gt;
&lt;br /&gt;
==Fortress mode, world-gen and their differences==&lt;br /&gt;
Their are a few differences in how positions function between fortress mode (normal play mode) and the world generation (world-gen). &lt;br /&gt;
&lt;br /&gt;
In '''fortress mode''', the player has some control over the appointment of nobles, limited by elections, automatic filled-in positions and succession rules. Pre-fortress mode, which is referred to as '''world-gen''', the game will always attempt to assign nobles whenever possible. It is subjected to the same rules as in fortress-mode, but there are some exceptions. In '''[[World activities]]''', which is the thing that happens in the world while you play fortress mode, it seems as if the same rules are applied as fortress mode. &lt;br /&gt;
&lt;br /&gt;
A difference between player-fortress-mode and world-gen, is causes by visibility (see below). Positions that are not visible by the player and thus not available for assignment, will be available in world-gen and will thus be automatically assigned.&lt;br /&gt;
&lt;br /&gt;
In fortress mode, a position that is both [ELECTED] and [APPOINTED_BY], cannot be appointed by the player and is also not elected, and can thus not be filled. But in world-gen sites however, these positions are automatically filled.&lt;br /&gt;
&lt;br /&gt;
Positions with [AS_NEEDED] are almost never created and filled in world-gen (depending on their [RESPONSIBILITY]ies), but can always be used in player mode.&lt;br /&gt;
&lt;br /&gt;
A position can, in fortress mode, be filled by the same unit. A unit can gain multiple positions in fortress mode, for example because of [[elections]]. This will not happen in world-gen mode: a unit can only have one position. See also remarks on 'embark' and 'Losing a position'.&lt;br /&gt;
&lt;br /&gt;
In world-gen, [SUCCESSION] between civ-levels and [SITE-]levels may happen. This will not happen in fortress mode, or even off-site in [[World activities]].&lt;br /&gt;
&lt;br /&gt;
In fortress mode, premature SUCCESSION may happen. This will not happen in world-gen mode.&lt;br /&gt;
&lt;br /&gt;
==Units holding multiple positions in multiple entities==&lt;br /&gt;
A unit can hold multiple positions in its civilisation or in its site-entity, however this does not happen in world-gen. Only at player-managed sites can units be holding multiple positions at once. (It is probably not possible for a unit to hold a position in two different civilisations or two different sites.)&lt;br /&gt;
&lt;br /&gt;
In world-gen, if there are too many positions to be filled, they simply stay empty until more units are available. E.G, a unit at a site might inherit a civ-level position and still remain a member of the local government. When this happens however, they move to the capital. If a unit gains a new position, either inherited or otherwise, it drops the previous one. If a unit assumes a civ-position in fortress mode, it leaves the current position. &lt;br /&gt;
&lt;br /&gt;
If a unit holds the same (site-)position multiple times, it has no additional effect.&lt;br /&gt;
&lt;br /&gt;
If a unit holds multiple different positions of the same entity, it has all those positions' responsibilities and properties, stacked up. Presumably, the demands for those combined positions are determined by the highest.&lt;br /&gt;
 &lt;br /&gt;
A unit holding a position with a succession token can be assigned another position with a (different) succession token. &lt;br /&gt;
&lt;br /&gt;
A unit holding a position with a squad-position cannot hold another squad-position. It is dropped from the first, when it gets its second assigned. &lt;br /&gt;
A unit holding a position with a succession token cannot be assigned to a squad-position - the unit is simply not available. It works the other way around, though.&lt;br /&gt;
&lt;br /&gt;
=Specific Tags and functions=&lt;br /&gt;
==[PRECEDENCE]==&lt;br /&gt;
The first defined position with precedence of 1 counts as the ruler of the civ. See also: [[Position_token#PRECEDENCE|PRECEDENCE]]. &lt;br /&gt;
&lt;br /&gt;
If the precedence is omitted or has a negative value, the game sets 0 as precedence, which seems to have no effect whatsoever.&lt;br /&gt;
&lt;br /&gt;
When a unit has multiple positions, the name of the position with the highest rank in precedence is shown behind the unit's name.&lt;br /&gt;
&lt;br /&gt;
If you omit precedence entirely, or set it to [PRECEDENCE:NONE], the position name will not be shown after the unit’s name. Your *Urist Mason* will remain simply *Mason*. This can be useful for positions that are unimportant or purely functional. The position will also not appear in the civilisation overview of your site on the world map. The position name is shown in messages, but remains hidden on the nobles screen as well. To make it visible there, use [LAND_NAME].&lt;br /&gt;
&lt;br /&gt;
==[RESPONSIBILITY]ies==&lt;br /&gt;
Both civ and [SITE] positions can carry responsibilities. However, not all responsibilities are active for both types: some function only for civ positions, others only for site positions. When a civ noble arrives at a site and takes up residence, they do not perform responsibilities that are intended for SITE nobles. As a result, these responsibilities neither trigger their associated tasks nor unlock related game mechanics. For example, a civ-level manager living in a fortress will not perform management duties there and doesn't unlock the management-screen, even with an assigned office. &lt;br /&gt;
This behavior applies to the following [SITE]-level responsibilities:&lt;br /&gt;
* [RESPONSIBILITY:ACCOUNTING]&lt;br /&gt;
* [RESPONSIBILITY:BUILD_MORALE]&lt;br /&gt;
* [RESPONSIBILITY:HEALTH_MANAGEMENT]&lt;br /&gt;
* [RESPONSIBILITY:LAW_ENFORCEMENT]&lt;br /&gt;
* [RESPONSIBILITY:MANAGE_PRODUCTION]&lt;br /&gt;
* [RESPONSIBILITY:MEET_WORKERS]&lt;br /&gt;
* [RESPONSIBILITY:TRADE]  (functions differently)&lt;br /&gt;
Other responsibilities may be affected as well, but have not yet been fully tested.&lt;br /&gt;
&lt;br /&gt;
==[DELIVERS_MESSAGES]==&lt;br /&gt;
The only [AS_NEEDED]-position that is created in worldgen based on responsibility is that of the site-level responsibility [DELIVERS_MESSAGES].&lt;br /&gt;
&lt;br /&gt;
==Outpost Liaisons and Diplomats==&lt;br /&gt;
Civ-positions with the responsibility [ESTABLISH_COLONY_TRADE_AGREEMENTS] ([[Outpost_Liaison|Outpost Liaison]]s) will meet with the site-noble who has responsibility for [RECEIVE_DIPLOMATS] and the highest rank of precedence (i.e. the lowest precedence value). Usually this is the [[Expedition_leader|Expedition leader]].&lt;br /&gt;
&lt;br /&gt;
Once a [LAND_HOLDER] is assigned to the site, civ-positions with the responsibility [MAKE_TOPIC_AGREEMENTS] ([[Diplomat]]s) will meet with '''civ'''-level nobles present at the site who have the [RECEIVE_DIPLOMATS] responsibility. If multiple eligible nobles are available, one is selected at random. If no eligible noble is present, the diplomat leaves angrily. If the landholder is no longer present at the site, diplomats will not arrive at all.&lt;br /&gt;
&lt;br /&gt;
It appears that Outpost Liaisons and Diplomats are chosen for a diplomatic mission based on availability. When multiple candidates exist, the position defined last in the raws is most often selected.&lt;br /&gt;
&lt;br /&gt;
==[TRADE]==&lt;br /&gt;
Civ-level nobles with [TRADE] will arrive with the caravan, just as the Outpost Liaison. Their behavior is no longer active in the vanilla game, but the mechanics are still present. See [[40d:Guild_representative|Guild representative]] for more details. This civ-noble will only meet with the SITE noble with [TRADE], usually the [[Broker]].&lt;br /&gt;
&lt;br /&gt;
If two civ-nobles exist with both [TRADE] and [ESTABLISH_COLONY_TRADE_AGREEMENTS], they both arrive at the same time. Even if both tokens are assigned to a single position, if more than one instance of that position exists, two of them will arrive. However in that case, somehow the elevation of the site and appointment of landholder isn't offered.&lt;br /&gt;
&lt;br /&gt;
If the SITE-noble they intend to meet has both [TRADE] and [RECEIVE_DIPLOMATS], only one meeting will proceed and the other is cancelled. However, when two SITE-nobles are available, each with either [TRADE] or [RECEIVE_DIPLOMATS], both meetings will proceed and both civ-nobles will attempt to negotiate a trade agreement. It is not known what happens if these agreements are accepted or refused.&lt;br /&gt;
&lt;br /&gt;
In the trade depot, the last defined position with the [TRADE] responsibility is shown as broker. However when requesting a trader, the first defined position with [TRADE] will actually go there to do the trade.&lt;br /&gt;
&lt;br /&gt;
==World-gen effects of the [RESPONSIBILITY] of available positions ==&lt;br /&gt;
It is possible to cause civs and individual sites to change their behavior substantially when they reach a certain size, by controlling nobles. &lt;br /&gt;
* If a site can only appoint a position with [MILITARY_GOALS] after reaching a particular size, that site will not send armies on missions until the required size is reached.&lt;br /&gt;
* A civ-level [LAW_MAKING] position is required for the civilization to have any kind of cohesion. Without it, sites will be constantly embroiled in territorial disputes and civil wars will be commonplace.&lt;br /&gt;
* [MILITARY_STRATEGY] positions go out and tame wild animals. This makes your civ gain those animals as domesticated and also brings them in sieges.&lt;br /&gt;
* The [[Personality_facet|Personality]] of the position's holder determines how they lead the civ.&lt;br /&gt;
&lt;br /&gt;
=Availability and visibility=&lt;br /&gt;
==Availability of (new) positions==&lt;br /&gt;
Warning: Do not mistake &amp;quot;availability&amp;quot; for &amp;quot;visibility&amp;quot;! &lt;br /&gt;
&lt;br /&gt;
Of all the possible positions existing in your site's entity, there may only be some available. &lt;br /&gt;
* Positions with [REQUIRES_POPULATION] require the population to have a specific size.&lt;br /&gt;
* Positions with [REQUIRES_MARKET] will only appear in &amp;quot;large&amp;quot; sites (which may have different rules for different site types). This tag has no effect in fort mode.&lt;br /&gt;
* Positions that are appointed by positions that have an AS_NEEDED number. The appointable positions only become available after an appointer position-slot is created. This works also on civ-level. If a position is appointed by a Land-holder, it only becomes available, when that level of landholder is created. &lt;br /&gt;
	&lt;br /&gt;
Only the replaced positions are culled and are no longer available. &lt;br /&gt;
A position that requires a certain population will become available, even if it doesn't have [APPOINTED_BY] or [ELECTED]. In that case, see 'automatic assignment' and 'assumption'&lt;br /&gt;
&lt;br /&gt;
In fortress mode, in some cases 'succession' is evaluated immediately after a position becomes available. See: Succession.&lt;br /&gt;
==Visibility of positions==&lt;br /&gt;
A position might be available, but can still be invisible for the player in the [[nobles screen]]. The positions with their respective holders are visible for players:&lt;br /&gt;
* All site-positions that are already filled-in (even if they could not be re-filled-in considering current conditions)&lt;br /&gt;
* Site positions that are appointable by a filled-in site position&lt;br /&gt;
* Site positions that are appointable by a filled-in civ position, when that civ positions holder becomes a citizen of your fortress.&lt;br /&gt;
* Civ positions of units that are also a citizen of your fortress.&lt;br /&gt;
If a position becomes available, for example because a certain pop number has been reached, or if it is available from the start(like expedition leader), as long as it cannot be appointed, it still is INVISIBLE for the player. &lt;br /&gt;
&lt;br /&gt;
It might strike someone as odd if a position becomes filled automatically in fortress mode when that position is not even visible. This might be the case if the current holder of a non-appointable position dies or succeeds another position. Regardless of player visibility, these positions will be automatically filled in if the necessary requisitions are met. It might happen with the expedition leader.&lt;br /&gt;
&lt;br /&gt;
A situation with a non-visible but available position, is for example when a position is solely appointed by the expedition leader, when the expedition leader's position is left vacant. It can no longer be appointed by the player and is invisible. Then, it gets automatically assumed, proving that the position still was available.&lt;br /&gt;
&lt;br /&gt;
A position that is both [APPOINTED_BY] and [ELECTED] is visible, but players cannot interact with it.&lt;br /&gt;
&lt;br /&gt;
=[NUMBER]=&lt;br /&gt;
A position might be defined with a number. In that case, as many as defined can be available. If the positions become available, in world-gen and when embarking, they are all filled-in completely.&lt;br /&gt;
&lt;br /&gt;
If the ruling position (with PRECEDENCE of 1) has a NUMBER higher than 1, a random unit of the ones holding these positions is shown as ruler in the embark screen.&lt;br /&gt;
&lt;br /&gt;
A [NUMBER] of 0 (zero) has the same effect as 1.&lt;br /&gt;
&lt;br /&gt;
==Automatic spreading of assumed, non-singular positions==&lt;br /&gt;
If there are civ positions that have a NUMBER higher then '1' and which are assumed (not APPOINTED_BY or ELECTED) but are '''not DUTY_BOUND''', these are automatically spread among the civilisation, based on population. If there are a number of '''20''' available slots of that position, they spread among a civilization with a combined population of, for example, 1000 of which your fortress has 100 (10%), '''2''' of your fortress' citizens will assume that position. &lt;br /&gt;
This may probably also work with elected and appointed positions, but that may be depending on the death of the current holders and this needs more testing. Assumption works within a day, anyway. &lt;br /&gt;
&lt;br /&gt;
==[AS_NEEDED]==&lt;br /&gt;
These positions can be created automatically by the game in world-gen. This, however, only works with: &lt;br /&gt;
* [LAND_HOLDER]'s&lt;br /&gt;
* squad commanders (needs more testing)&lt;br /&gt;
* Messengers at sites&lt;br /&gt;
&lt;br /&gt;
For all other types of positions, they're not created in world-gen, even if they are defined with RESPONSIBILITY's. For example, even in war, the game wouldn't create a MILITARY_GOALS position, if they have AS_NEEDED as number. &lt;br /&gt;
&lt;br /&gt;
However, in fortress mode / player mode, these positions can be created by the player at will.&lt;br /&gt;
&lt;br /&gt;
Positions with AS_NEEDED need to be created first, before any symbols are assignable as 'symbols' (objects) for the position holder to carry or wear.&lt;br /&gt;
&lt;br /&gt;
Positions with AS_NEEDED cannot be created and then ELECTED in fortress mode. It only works with APPOINTED_BY.&lt;br /&gt;
&lt;br /&gt;
=Replacement and Required Population=&lt;br /&gt;
&lt;br /&gt;
The token REPLACED_BY:position means that once the replacing position reaches its required population-number, the 'to-be-replaced' position will disappear. This is defined in REQUIRES_POPULATION. These tags are closely related to each other and seem to only have a meaningful function if combined. Nobles with REQUIRES_POPULATION require the population to have a specific size. &lt;br /&gt;
&lt;br /&gt;
This works on the civ-level as well as on site-level, but those systems are in this mechanic strictly separated. Site-level positions cannot be replaced by civ-level positions and visa versa. This makes sense, because they both depend on their own population-count. When using REQUIRES_POPULATION on civ-level, it counts the total population of the civilisation. &lt;br /&gt;
&lt;br /&gt;
See also: [[Advanced_entity_position_mechanics#Evaluation_of_Positions|Evaluation of positions]]&lt;br /&gt;
&lt;br /&gt;
==Effect of replacement (and on [LAND_HOLDER]s)==&lt;br /&gt;
&lt;br /&gt;
Replacement is immediate and complete - the current holding unit loses the position, even before SUCCESSION_BY_POSITION rules are applied. A position with a number of 1 will replace all the slots of a position with a higher number of slots. &lt;br /&gt;
&lt;br /&gt;
Even if the next position is available but not visible, replacement still takes place. If a position is replaced, it is completely gone - it cannot be appointed, succeeded, elected or assumed any longer.&lt;br /&gt;
The unit immediately loses its position.&lt;br /&gt;
&lt;br /&gt;
In legends, replacement is mentioned as: &amp;quot;(unit name) ceased to be (position name)&amp;quot; The replacement of an AS_NEEDED position empties the position's slot forever. In fortress mode, it may seem as if you can create new slots and appoint new units in the nobles screen, but this is reversed as soon as you close the window.&lt;br /&gt;
&lt;br /&gt;
The landholder chain uses [REPLACED_BY] differently. It does not clear the position completely, but uses it for succession to the next level's position. [REPLACE_BY] is required to let that system work properly. This also means that the way in which landholders succeed (replace + as_needed) does not work in any other way. &lt;br /&gt;
&lt;br /&gt;
Replacement between LAND_HOLDERS and other site- or civ positions does not work in any way. Only the vanilla replacement sequence between levels of LAND_HOLDERs does work. If the token is omitted for landholders, the landholder chain is broken, so replacement is required for the landholder system to work.&lt;br /&gt;
&lt;br /&gt;
[REQUIRES_POPULATION] also does not work for [LAND_HOLDER], when you set [NUMBER] to 1. The position is not created when the required population is reached.&lt;br /&gt;
&lt;br /&gt;
==What doesn't work==&lt;br /&gt;
&lt;br /&gt;
'''Attention: If a position cannot be appointed, for example because of 'mutual appointment', it still exists according to replacement mechanics and will replace other positions if so defined. If a certain position(a) will be replaced by the baron's assistant, which can only be appointed by the [LAND_HOLDER] baron, than that position(s) still will be replaced from the start of the game, even if no baron or their assistant is ever present.'''&lt;br /&gt;
&lt;br /&gt;
A position that is replaced by a somehow non-fillable position is still replaced. This counts for mutual-appointing positions, replacement by not-yet-assigned landholders, replacement by AS_NEEDED positions, or replacement by not-yet-appointed positions. &lt;br /&gt;
&lt;br /&gt;
Replacement does not work if the replaced position is a [LAND_HOLDER], even with civ-positions. In that case, the LAND_HOLDER's position is not replaced. It does not matter if AS_NEEDED is used, or a fixed number, and it also does not matter what type of position the replacer is. So this only works (correctly) with positions that become available by REQUIRES_POPULATION.&lt;br /&gt;
&lt;br /&gt;
={{text anchor|Evaluation of Positions}}=&lt;br /&gt;
The game does not continuously check whether positions should become available, elected or be [REPLACE_BY]. This is well-known behavior—for example with the [[mayor]], who does not appear automatically when the required population ([REQUIRES_POPULATION]) is reached. Instead, positions must somehow be evaluated. This applies in several other situations as well &lt;br /&gt;
&lt;br /&gt;
'''Cases that require a trigger:'''&lt;br /&gt;
* Election of a newly created position&lt;br /&gt;
* Election after the current holder dies&lt;br /&gt;
* Automatic assumption of a newly created position (this may take up to a day)&lt;br /&gt;
* New citizens (such as migrants) considering available positions&lt;br /&gt;
* Premature succession of a newly created position&lt;br /&gt;
&lt;br /&gt;
'''Cases that do not wait for a trigger:'''&lt;br /&gt;
* Succession following the death of the previous holder&lt;br /&gt;
* Automatic assumption of existing positions that have become vacant&lt;br /&gt;
&lt;br /&gt;
'''Triggers that cause the game to reevaluate noble positions:'''&lt;br /&gt;
* Succession of a [SITE]-position due to the death of the current holder&lt;br /&gt;
* [[Advanced_entity_position_mechanics#Election_Day|Election Day]]&lt;br /&gt;
* Automatic assumption of a [SITE]-position that becomes vacant&lt;br /&gt;
* (Re)assigning any site position manually&lt;br /&gt;
* Settlement elevation on the LAND_HOLDER track (e.g. gaining a [[Baron]] or [[Count]])&lt;br /&gt;
&lt;br /&gt;
=Gaining a position=&lt;br /&gt;
There are several ways a unit can gain a position:&lt;br /&gt;
* Appointment: A unit is appointed by another unit or by the player.&lt;br /&gt;
* Election: A unit is elected by and among the members of the entity&lt;br /&gt;
* Assumption: A position is neither elected or appointed: a random unit just simply 'takes' the position&lt;br /&gt;
* Succession: a unit is the valid successor of this position(A), either by its current position(B) or because they are that position(A)-holder's heir. &lt;br /&gt;
&lt;br /&gt;
Available positions will automatically be assigned to a random civ member when a new site/civ is created.&lt;br /&gt;
&lt;br /&gt;
==Who can take a position==&lt;br /&gt;
&lt;br /&gt;
* If so defined, a unit needs to be the right caste and/or class - it does not seem to work with creature types. &lt;br /&gt;
* The unit needs to be an adult member of the site or its parent civ's government; that is also CAN_LEARN or INTELLIGENT (SLOW_LEARNER cannot take positions) or otherwise is able to think.&lt;br /&gt;
&lt;br /&gt;
==Appointment==&lt;br /&gt;
&lt;br /&gt;
Positions that have an [APPOINTED_BY:position] token require that position to exist, to be available and appointed. Any position that is APPOINTED_BY can be appointed if the appointer's position is filled in. &lt;br /&gt;
For site-positions to be appointed, it is required that the appointer is present at that location.&lt;br /&gt;
&lt;br /&gt;
If the appointing unit is temporarily not present, or if that position is not filled, positions depending on it cannot be appointed. This is the case with [[militia captains]], when the [[militia commander]] is on a [[mission]]. &lt;br /&gt;
&lt;br /&gt;
A site position cannot appoint a civ position ''or'' LAND_HOLDER in any way whatsoever. &lt;br /&gt;
&lt;br /&gt;
Civ-level positions can appoint other civ-level positions and site-level positions can appoint other site-level positions.&lt;br /&gt;
&lt;br /&gt;
Contrary to what has been said elsewhere, civ-level nobles also can appoint site-level nobles. They need to be at the site to do so. Landholders can appoint both site-level and civ-level nobles. These systems are therefore not as separate as was assumed.&lt;br /&gt;
&lt;br /&gt;
'''Mutual appointment''' cannot take place. If these are the only requisites of the position, then the positions will never appear or get filled. These unfillable positions can be put to good use, for example, to replace a position that is no longer needed without creating a new one. &lt;br /&gt;
&lt;br /&gt;
'''Self appointment''' doesn't normally work. If you have a position that is only appointed by itself, it is never appointed and also cannot be assumed. However, if the position has a number higher than 1, and is filled by multiple units (for example by another position that is now empty), than those units can re-assign or appoint each other from that their shared position. &lt;br /&gt;
&lt;br /&gt;
If an APPOINTED_BY token refers to a non-existing position's code, the effects are as if the appointment token doesn't exist at all.&lt;br /&gt;
&lt;br /&gt;
===Automatic appointment in world-gen and on the civ level===&lt;br /&gt;
&lt;br /&gt;
Outside of fortress mode, the game will always attempt to appoint nobles whenever possible, as long as these positions are '''available''', even if they are invisible to the player.&lt;br /&gt;
It shows this message in legends:  &amp;quot;(unit name) has been appointed to the position of (position name)&amp;quot;&lt;br /&gt;
&lt;br /&gt;
In world-gen, all positions become available and are automatically appointed, taking population- and appointment-requirements into consideration. &lt;br /&gt;
&lt;br /&gt;
Positions that are REPLACED_BY are culled and won't be filled.&lt;br /&gt;
&lt;br /&gt;
If a citizen of your fortress holds a civ-level position that can appoint another civ-level position, the appointment will happen automatically and without player intervention. It may happen that another citizen of your fortress is appointed by that unit, creating civ-level position holders in your fortress, but it is unknown what is required to force this effect.&lt;br /&gt;
&lt;br /&gt;
===Manual appointments by players in fortress mode===&lt;br /&gt;
In fortress mode, the positions that need to be appointed stay empty on embark. and it is the player's job to appoint those. A player can appoint a unit to any available position, according to the hereabove mentioned conditions. The player takes the role of the automatic appointment-system, but has no direct control over elections, successions and replacement. There are some differences in what is possible at world-gen sites and at player-controlled sites.&lt;br /&gt;
&lt;br /&gt;
* A position that is appointed by a unit present as a fortress citizen, can be appointed, re-appointed or left vacant. This means also by civ-level nobles living as a citizen in your fortress; not when they are only visiting, like the diplomat.&lt;br /&gt;
* A position whose appointing positions are all either vacant or [REPLACED_BY] can no longer be appointed. If the position is already filled, it cannot be reappointed or vacated; the current holder simply remains in office.&lt;br /&gt;
* A position that is APPOINTED_BY a unit present as the land_holder of your site, can be appointed, reassigned or left vacant.&lt;br /&gt;
* A position that has SUCCESSION BY_HEIR or BY_POSITION can 'initially' be appointed and also re-appointed or left vacant, but as soon as the [[nobles]] screen closes, ''it can no longer be replaced or left vacant''. From then on, the succession-rules determine who gains that position when the current holder loses the position. This works even if the SUCCESSION:BY_POSITION-position is vacant or replaced.&lt;br /&gt;
* A position that is ELECTED nor APPOINTED_BY, can always be (re-)appointed by the player. This is the case with the [[Expedition leader]]. If it is left vacant however, it cannot be appointed, but will be assumed shortly after. &lt;br /&gt;
* A position that is both ELECTED and APPOINTED_BY, cannot be appointed by the player. Contrary to world-gen sites, its slot is visible, but it doesn't show the +-sign. This is either by AS_NEEDED or by a fixed number. Even if the position somehow gets filled (re)assignment is never possible&lt;br /&gt;
* A player can appoint a number of units to a position, as much as the NUMBER token dictates. If it is AS_NEEDED, the player may create as many slots as they like, also contrary to world-gen sites. &lt;br /&gt;
* A civ-position can never be appointed, even if the appointing civ noble is a citizen of your fortress. A civ position also never can be re-assigned or left vacant, would that position be defined as appointed by a site-position.&lt;br /&gt;
&lt;br /&gt;
==Election==&lt;br /&gt;
Read more in [[Elections]]. The message that is shown is: &amp;quot;(creature name) has been elected to the position of  (position name)&amp;quot;&lt;br /&gt;
&lt;br /&gt;
In worldgen, there is no functional difference between ELECTED and non-appointment, except that elected nobles tend to have high social skills and/or skills related to the position, while non-elected ones are assigned randomly. See: [[Elections]]&lt;br /&gt;
&lt;br /&gt;
A succession goes before an election. &lt;br /&gt;
&lt;br /&gt;
A position that is both ELECTED and APPOINTED_BY never gets elected. Even if the appointees' position somehow gets filled, (re)-elections won't happen. So, it doesn't seem possible to have an elected position become available when a certain other position becomes filled. &lt;br /&gt;
&lt;br /&gt;
An ELECTED civ-(or LAND_HOLDER) position at your site will never be (re)-elected in fortress mode. So real (re-)election only works with SITE-positions. &lt;br /&gt;
&lt;br /&gt;
=== {{text anchor|Election Day}} ===&lt;br /&gt;
Election Day takes place on the 17th of Summer. On this day, a full reevaluation is performed, including all currently elected positions, which are subject to re-election. Contrary to the information on [[Elections]], nothing occurs at the start of a season.&lt;br /&gt;
&lt;br /&gt;
Positions that are both [APPOINTED_BY] and [ELECTED] will not be re-elected on Election Day when assigned through [SUCCESSION].&lt;br /&gt;
&lt;br /&gt;
=== Election Eligiblity ===&lt;br /&gt;
Any citizen may stand for election. Eligibility cannot be restricted using [ACCEPTED_CREATURE], [REJECTED_CREATURE], [ACCEPTED_CLASS], [REJECTED_CLASS], or [GENDER]. Units currently having a [SUCCESSION]-position even may be elected for a position with a [SQUAD]-token, which is otherwise impossible to assign or even succeed.&lt;br /&gt;
&lt;br /&gt;
=== Skills ===&lt;br /&gt;
In elections, skills are taken into account for the tokens of the position which is elected.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Relevant skills per position token&lt;br /&gt;
|-&lt;br /&gt;
! Position Token !! Relevant skills&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#DELIVER_MESSAGES|[DELIVER_MESSAGES]]] || [[Ambusher]], [[Observer]] and [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#ACCOUNTING|[ACCOUNTING]]] || [[Record_keeper|Record keeper]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#ESPIONAGE|[ESPIONAGE]]] || [[Schemer]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#HEALTH_MANAGEMENT|[HEALTH_MANAGEMENT]]] || [[Diagnostician|Diagnostician]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#MAKE_INTRODUCTIONS|[MAKE_INTRODUCTIONS]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#MAKE_PEACE_AGREEMENTS|[MAKE_PEACE_AGREEMENTS]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#MAKE_TOPIC_AGREEMENTS|[MAKE_TOPIC_AGREEMENTS]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#MANAGE_PRODUCTION|[MANAGE_PRODUCTION]]] || [[Organizer]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#MEET_WORKERS|[MEET_WORKERS]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#RECEIVE_DIPLOMATS|[RECEIVE_DIPLOMATS]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#RELIGION|[RELIGION]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#TAME_EXOTICS|[TAME_EXOTICS]]] || [[Animal_trainer|Animal trainer]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#TRADE|[TRADE]]] || [[Social_skill|Social skills]] and [[Appraiser|Appraiser]]&lt;br /&gt;
|-&lt;br /&gt;
| [[Position_token#SQUAD|[SQUAD]]]-token || [[Tactician]] and [[Leader]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Assumption==&lt;br /&gt;
&lt;br /&gt;
A position that is not APPOINTED_BY nor ELECTED, or is appointed by positions that are not available in your site or civ, will be assumable by a random dwarf. If it has responsibilities that require certain skills, then these are taken into consideration on embark, but not when the position is assumed during the actual game. &lt;br /&gt;
&lt;br /&gt;
Normally, one to three units will take the into consideration to assume a position. Most of the time when there are multiple open positions, only a single unit will assume all of them. However, a position that has REJECTED_CREATURE, REJECTED_CLASS, ALLOWED_CREATURE or ALLOWED_CLASS will be filled with all different units, even if the creature or class mentioned is irrelevant. It seems that this forces the game to loop over all the available units.&lt;br /&gt;
&lt;br /&gt;
The message that is shown in Legends mode is: &amp;quot;(unit name) has assumed the position of (position name)&amp;quot;. This may also take place in fortress mode, which then shows this message to the player. &lt;br /&gt;
&lt;br /&gt;
If an assumable position becomes empty, it will be assumed within a day. This is the case when you leave the position of expedition-leader vacant. It also happens with entities. &lt;br /&gt;
&lt;br /&gt;
Assumable positions that become empty will not be assumed if that position has a valid [SUCCESSION] -successor. In that case, the successor inherits the position. &lt;br /&gt;
&lt;br /&gt;
Even positions that are somehow invisible because they cannot be directly APPOINTED_BY players, can be assumed. &lt;br /&gt;
&lt;br /&gt;
When you embark, the assumable positions are automatically assigned to a random unit. If there are multiple of these positions at embark, they all are assigned to the same unit. If there are enough positions available, multiple units may gain a position, but often no more than three different ones.&lt;br /&gt;
&lt;br /&gt;
If a dwarf in fortress mode assumes a position, that already has another position, it will leave the current position empty. When that position also is assumed, then this will continue until all positions have a dwarf appointed to them, with no other position.&lt;br /&gt;
&lt;br /&gt;
A unit that already has a position with a [SUCCESSION] token won't take assumable positions into consideration that have a [SQUAD] token. This can be used by the modder to prevent unwanted loss of current positions.&lt;br /&gt;
&lt;br /&gt;
A position that has an appointer which got replaced because of REPLACED_BY, will not become assumable. Also, positions that have an AS_NEEDED appointer that is not yet filled (or ever), will also not be assumed.&lt;br /&gt;
&lt;br /&gt;
==Succession==&lt;br /&gt;
&lt;br /&gt;
If a position-holder dies or advances to a new position via succession, the position will be granted to another unit based on the [SUCCESSION] tag. If they have an heir or the succeeding position exists, that unit will be assigned. If not, a new one will be appointed according to the usual rules. The message that is shown is: &amp;quot;(creature name) being the rightful heir, has inherited the position of (position name)&amp;quot;&lt;br /&gt;
&lt;br /&gt;
The succeeding creature will also lose its previous position. When succession is defined using BY_POSITION, the unit naturally loses the referenced position. However, it also loses any other positions it may hold. If a unit could simultaneously inherit multiple positions, the last-defined succession overrides the earlier one, clearing the previously acquired position&lt;br /&gt;
&lt;br /&gt;
Succession works both at site-level and at civ-level, both in world-gen and in fortress-mode. Succession by position on the civ-level is also visible and functional in fortress-mode. If both civ-level nobles are a citizen of your fortress, succession is applied visually. Vanilla example: The [[druid]] is succeeded by the [[acolyte]]. This means that as soon as the druid dies, the acolyte takes over. &lt;br /&gt;
&lt;br /&gt;
When a position that is succeeded by position becomes available, immediately it is checked if a position-successor is available and the position is filled with that unit. Even if this is an [ELECTED] position, succession goes first. When elections eventually do happen, succession plays no role.&lt;br /&gt;
&lt;br /&gt;
It is possible to assign multiple levels of [SUCCESSION:BY_POSITION] in different positions, creating a line of positions where the death of one causes all those &amp;quot;below&amp;quot; them to advance.&lt;br /&gt;
&lt;br /&gt;
A position can have multiple tokens with position-succession. It looks to be random which one is used. It is not always:&lt;br /&gt;
* The first or last defined token&lt;br /&gt;
* The first or last appointed unit&lt;br /&gt;
* the oldest or youngest&lt;br /&gt;
* one with a higher or lower precedence&lt;br /&gt;
* a unit with relevant skills&lt;br /&gt;
&lt;br /&gt;
When a position is defined with a Succession-type, that unit cannot have another position that has a Squad-type. If the succession-position itself has a squad, than it can be assigned another position with a squad, but then it will loose the previous succesion position. See further details by &amp;quot;Squad&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Assumed positions can also be succeeded by position, if the current holder dies. &lt;br /&gt;
&lt;br /&gt;
If the successor is an AS_NEEDED position, the used unit will leave a vacant position-slot on its removal by succession. This empty slot remains a real slot, which will only be cleaned up if you (un)appoint a unit to this position-series. It isn't cleaned up after regular position validation.&lt;br /&gt;
&lt;br /&gt;
A civ-level position of a unit living at your site might be inherited by a unit holding that does not currently live at your site. This, unfortunately, moves that position to a unit off site. This may also happen with the landholder of your site, for example when it is succeeded by another civ-level position. This currently poses an unsolved challenge. &lt;br /&gt;
&lt;br /&gt;
===Eligibility for succession===&lt;br /&gt;
Succession is restricted by the tokens [ACCEPTED_CREATURE], [REJECTED_CREATURE], [ACCEPTED_CLASS], [REJECTED_CLASS] and [GENDER].&lt;br /&gt;
&lt;br /&gt;
===Site and civ combined succession===&lt;br /&gt;
&lt;br /&gt;
Succession can work when combining site positions with civ-level positions or land_holders, but only in world-gen mode.  In fortress mode, it only works with combining the same level of nobles, with Landholders regarded as civ-level. So, in fortress mode, a site's position cannot succeed a landholder's position and it cannot succeed another type of civ-level position, and vice versa. &lt;br /&gt;
&lt;br /&gt;
This won't work even if the positions:&lt;br /&gt;
* are AS_NEEDED or having a fixed number.&lt;br /&gt;
* Are LAND_HOLDERs.&lt;br /&gt;
&lt;br /&gt;
===Succession [BY_HEIR]===&lt;br /&gt;
&lt;br /&gt;
When a heir is needed for succession, all children and then other relatives are validated. They cannot take the position if their status does not allow it, for example if they have become a member of another civilisation. See: &amp;quot;Who can take a position&amp;quot;. If the unit has no valid heir on that location, the position may go to a unit living on another site. This may cause the title of Landholder of some land to be inherited by a unit living somewhere else. That might be a problem, because then you lose your landholders.&lt;br /&gt;
&lt;br /&gt;
===Premature Succession===&lt;br /&gt;
&lt;br /&gt;
There are cases where [SUCCESSION:BY_POSITION] is applied prematurely: at the moment a position is first created and becomes appointable or assumable, rather than after a current holder leaves. In this situation, the succession mechanism assigns a holder immediately, without any player interaction.&lt;br /&gt;
&lt;br /&gt;
When a position becomes available for the first time, the game checks whether a valid successor-by-position exists. If so, that unit is assigned instantly. It can affect positions that would normally be appointed or elected by the player, causing succession to trigger before the player has any opportunity to intervene.&lt;br /&gt;
&lt;br /&gt;
This behavior occurs only in Fortress mode, but can be applied both on [SITE]-positions as well in civ-positions. That last one however is a bit harder to control. Example: [[Advanced entity position mechanics#The Archduke|The Archduke]]&lt;br /&gt;
&lt;br /&gt;
This premature succession only occurs the first time a position becomes available (i.e. when it is created and becomes appointable or assumable). Even if the position remains vacant and the conditions for succession improve later, premature succession will not trigger again. From that point onward, only normal succession rules apply.&lt;br /&gt;
&lt;br /&gt;
Using premature succession, a position that has [ELECTED], [APPOINTED_BY], or both, can be filled directly.&lt;br /&gt;
Notably, positions that combine [ELECTED] and [APPOINTED_BY] are normally impossible to fill through regular mechanics. Premature succession bypasses both election and appointment entirely, making this combination uniquely reachable through this mechanism.&lt;br /&gt;
&lt;br /&gt;
No initial election takes place, and no subsequent elections will ever occur for that position. Succession always takes precedence over election, both in premature succession and in normal succession cases.&lt;br /&gt;
&lt;br /&gt;
This behavior applies only in Fortress mode, not during world generation. World-gen uses simplified and more efficient mechanics, and this interaction does not occur there. Premature succession can affect both site-level and civilization-level positions.&lt;br /&gt;
&lt;br /&gt;
====Multiple succession chains====&lt;br /&gt;
&lt;br /&gt;
Multiple succession chains may be defined and are resolved in the order they appear in the raws.&lt;br /&gt;
&lt;br /&gt;
If a position has both:&lt;br /&gt;
* a direct succession chain (A → C), and&lt;br /&gt;
* a multi-step chain (A → B → C),&lt;br /&gt;
&lt;br /&gt;
and intermediate positions are vacant, resolution proceeds according to raw order. A common outcome is:&lt;br /&gt;
# The direct succession (A → C) is applied first, assigning A to C.&lt;br /&gt;
# The remaining chain then advances (A → B).&lt;br /&gt;
# If C still has empty slots, the final step (B → C) may occur.&lt;br /&gt;
&lt;br /&gt;
If position B is already filled, behavior depends entirely on raw definition order:&lt;br /&gt;
* nothing may happen, or&lt;br /&gt;
* B may move to C first, followed by A moving to B.&lt;br /&gt;
====Working triggers====&lt;br /&gt;
Premature succession is triggered when a succeedable position is created under the following conditions:&lt;br /&gt;
* The succeedable position is created because its [REQUIRES_POPULATION] threshold is reached. This applies even if the position is not [APPOINTED_BY]. Premature succession takes priority over automatic assumption (e.g. the mayor declaring themselves within a day).&lt;br /&gt;
* The succeedable position can be [APPOINTED_BY] another position of the same level (site or civ) that has just been created because its [REQUIRES_POPULATION] was reached.&lt;br /&gt;
* The succeedable position can be appointed by another [SITE] [AS_NEEDED] position that has just been created and filled.&lt;br /&gt;
* The succeedable (site or civ) position is [APPOINTED_BY] the [LAND_HOLDER] position, which has just been created due to site elevation. This typically resolves when the diplomat leaves the map, at which point the landholder position becomes active.&lt;br /&gt;
* If all other requirements are met, premature succession can occur immediately after unpausing following embark, for positions with [REQUIRES_POPULATION:7].&lt;br /&gt;
====Non-working triggers====&lt;br /&gt;
Premature succession does '''not''' occur in the following cases:&lt;br /&gt;
* An [AS_NEEDED] succeedable position slot is manually created by the player while its succeeding position is already filled. [AS_NEEDED] positions must always be appointed after creation.&lt;br /&gt;
* The succeeding position is filled after the succeedable position becomes available. The moment of creation is the decisive trigger; filling the source position later is too late.&lt;br /&gt;
* The succeedable position can be appointed by another site or civ position with a fixed number of slots that has just been appointed. In this case, the succeedable position is just available for appointment itself, nothing more&lt;br /&gt;
* Any situation occurring during world generation.&lt;br /&gt;
* The succeeding position is [REPLACED_BY] the succeedable position. In this case, replacement removes the unit from the source position first, leaving no holder available for the succession mechanism to use.rst, leaving no holder available for the succession mechanism to use.&lt;br /&gt;
* The position is [APPOINTED_BY] a civ-level position, that just became a citizen of your fortress. It must be noted that those civ-level positions were active all that time and the succeedable position could be appointed even before. The monarchs arrival does not trigger premature succession&lt;br /&gt;
&lt;br /&gt;
=Losing a position=&lt;br /&gt;
&lt;br /&gt;
A unit can lose a position when:&lt;br /&gt;
* It dies&lt;br /&gt;
* It succeeds another position, even if it has nothing to do with the previous position.&lt;br /&gt;
* It is assigned to another SQUAD-holding position&lt;br /&gt;
* It is convicted of a crime.&lt;br /&gt;
* Another unit is ELECTED for the position&lt;br /&gt;
* Its position becomes replaced&lt;br /&gt;
* Another unit is appointed by the player, or the position is left vacant. &lt;br /&gt;
* It has assumed another position, as this always leaves the previous position vacant.&lt;br /&gt;
&lt;br /&gt;
=Embarkment=&lt;br /&gt;
Two types of positions are automatically filled by embark. &lt;br /&gt;
* Positions without [APPOINTED_BY] or [ELECTED] (assumable). All these positions, even with a NUMBER higher than 1, are all filled with one to three dwarves. Contrary to assumption, this doesn't take into account any limitations. REJECTED_CLASS, ALLOWED_CLASS, REJECTED_CREATURE, ALLOWED_CREATURE and GENDER are applied, but without the normal spread you may expect with assumptions. Also it doesn't look at [SUCCESSION] and [SQUAD] limitations.&lt;br /&gt;
* Positions that are elected are filled-in by the normal election rules.&lt;br /&gt;
&lt;br /&gt;
Positions that have a defined appointer are never initially filled at embark.&lt;br /&gt;
&lt;br /&gt;
All positions that don't have [REQUIRES_POPULATION]  or with a [REQUIRES_POPULATION] of 7 or lower, will be available at embark.&lt;br /&gt;
&lt;br /&gt;
=Land Holders=&lt;br /&gt;
&lt;br /&gt;
A Landholder is a '''special civ-level noble''' who gets a certain piece of land to hold, when that land is elevated to a certain level, determined by the tag [LAND_HOLDER] and by the landholder triggers in the game's settings. In vanilla, these are the baron, the count and the duke. &lt;br /&gt;
&lt;br /&gt;
A unit gaining the landholder position does not migrate to that specific named land. In world-gen, they stay just where they are, probably at the capital. In fortress mode, you can suggest a citizen for the role. So for the time being that works.&lt;br /&gt;
&lt;br /&gt;
Succession is then a real issue. If you use BY_HEIR, its solved when that landholder has children living at your site. But when its not the case, the title just goes to anyone randomly. Succession BY_POSITION works, but only in the civ-chain, and there's no way to guarantee a civ-holder is at your site at that time. Even with 'automatic spread' positions, it goes to one of them randomly.&lt;br /&gt;
&lt;br /&gt;
==Functioning of the regular landholder chain==&lt;br /&gt;
&lt;br /&gt;
The distinct difference between a landholder and a regular civ-level noble, is that a landholder may gain the position of landholder &amp;quot;of (sitename)&amp;quot; They are then seen as ruler of a particular site. &lt;br /&gt;
&lt;br /&gt;
For a land_holder position to function as such, it has a few requirements:&lt;br /&gt;
* NUMBER:AS_NEEDED &lt;br /&gt;
* The first landholder-number of 1 is defined. &lt;br /&gt;
* No SITE (so civ) tag in that position.&lt;br /&gt;
*REPLACED_BY the next level landholder&lt;br /&gt;
If a landholder is defined with differentiating properties, it will function like a regular noble. A higher-up landholder that lacks the required tokens or connections will then not be used in elevation. &lt;br /&gt;
&lt;br /&gt;
If a fortress meets the trigger for a new LAND_HOLDER tier when a caravan leaves, then the next time the outpost liaison or equivalent arrives, they will offer to make you an official colony, which will allow you to select all positions for that LAND_HOLDER level. Each time they appear, the outpost liaison will only promote your fortress one tier up the LAND_HOLDER track. &lt;br /&gt;
&lt;br /&gt;
The landholder's LAND_NAME is not required for the functioning of this system. If omitted, messages will be shown with a more generic text.&lt;br /&gt;
&lt;br /&gt;
==Appointment==&lt;br /&gt;
&lt;br /&gt;
This mechanism differs from the regular methods of position management. It ignores all regular appointment- and election rules, so it more or less functions like automatic assignment. A landholder is, in vanilla, appointed by the monarch. Changing this doesn't seem to do anything. If they are appointed by a site-position, a not-yet-existing civ-position, or not appointed at all: the system keeps working as usual. &lt;br /&gt;
&lt;br /&gt;
A landholder can appoint civ-positions and site positions. This works as expected: the positions only are appointed then when that landholder becomes available on civ-level or when he arrives at that site for site-level positions. &lt;br /&gt;
&lt;br /&gt;
If your rank of landholder is the first of its rank in the realm, and is the sole appointer of some civ-position, then immediately as it gains the title, it will appoint the empty civ-slots. This may happen on your site, but the frequency and certainty is hard to determine.&lt;br /&gt;
&lt;br /&gt;
==Succession==&lt;br /&gt;
&lt;br /&gt;
Succession rules are applied to some extent:&lt;br /&gt;
* In world-gen it works according to succession rules, and site-positions can be used here.  This means that a site position or a civ-position can inherit a landholder position, and vice versa.&lt;br /&gt;
* In fortress mode, once a landholder has been appointed, it then can inherit civ-level positions, and vice versa. This means that your baron can become king. &lt;br /&gt;
* Succession rules do not apply within the [LAND_HOLDER] chain; a count will not inherit a baron's land. This is because succession does not work well with the AS_NEEDED token.&lt;br /&gt;
* Premature succession works in fortress mode with landholders. If a unit gets a landholder's position and that landholder is the appointer of an as yet empty position, which is defined as succeeding from a third one, then the succession is immediately applied. The landholder themselves can even be the successor of a newly created position.&lt;br /&gt;
* A landholder's position is, in fortress mode, not successionable by a site-position or vice versa&lt;br /&gt;
&lt;br /&gt;
===Impossibilities for succession by a site-position===&lt;br /&gt;
It would be very beneficial if the landholder can be succeeded by a [SITE]-position. So far, the following tests have not lead to positive results:&lt;br /&gt;
* making landholder and site-position both non-[DUTY_BOUND]&lt;br /&gt;
* make the site-position be [APPOINTED_BY] the landholder and/or the monarch&lt;br /&gt;
* give landholder and site-position [REJECTED_CREATURE]&lt;br /&gt;
* Let the monarch live at your site when succession could happen.&lt;br /&gt;
* Let the site-position be [REPLACED_BY] the landholder.&lt;br /&gt;
&lt;br /&gt;
==Nomination==&lt;br /&gt;
&lt;br /&gt;
The player is able to nominate a unit to become the LAND_HOLDER, but this only works with units of [LAND_HOLDER] level 1. The player can select all units, only limited by the PRECEDENCE of the current units' positions.&lt;br /&gt;
&lt;br /&gt;
A unit that has a position with a PRECEDENCE lower or equal to that of the landholder's position, cannot be selected. This means that a baron (or count) from another site or the monarch cannot be selected, because their precedence is lower or equal. &lt;br /&gt;
&lt;br /&gt;
The GENDER  token does not work here: also units with the wrong gender (sorry) can be selected.&lt;br /&gt;
&lt;br /&gt;
==Levels==&lt;br /&gt;
In mods, up to 10 levels of LAND_HOLDER may be defined. &lt;br /&gt;
&lt;br /&gt;
If a landholder is replaced by a wrong landholder number (1 replaced by 3), then the number 3 is still correctly attached to the settlement. &lt;br /&gt;
&lt;br /&gt;
If the current landholder has the highest available landholder number, then the next elevation will not happen - the diplomat will not elevate your fortress to a higher position, even if that position might be REPLACED_BY a lower landholder. &lt;br /&gt;
&lt;br /&gt;
These chains do work:&lt;br /&gt;
* 1 -&amp;gt; 2a - &amp;gt; 2b -&amp;gt; 3&lt;br /&gt;
* 1 -&amp;gt; 3 -&amp;gt; 2 -&amp;gt; 4&lt;br /&gt;
&lt;br /&gt;
These chains do not work:&lt;br /&gt;
* 2 -&amp;gt; 3 (need to start at 1)&lt;br /&gt;
* 1 -&amp;gt; 4 -&amp;gt; 2 -&amp;gt; 3 (stops after 4 as the highest)&lt;br /&gt;
* 1a -&amp;gt; 2, 1b -&amp;gt; 2 (only 1a and 2 work, 1b is not used)&lt;br /&gt;
&lt;br /&gt;
==Moving landholders==&lt;br /&gt;
&lt;br /&gt;
It may happen that a land-holder no longer lives at the site which they are the landholder of, specifically when the current landholder dies, leaving the title to an heir living somewhere else. &lt;br /&gt;
&lt;br /&gt;
To prevent this from happening, you can make their succession from heir and make sure that their kids live at your site. Or, you can make their position succeeded by another civ position, and make it so that this civ position is somehow available on your site. But if multiple of these positions exist, it cannot be guaranteed that a citizen of your fortress will inherit the title. &lt;br /&gt;
&lt;br /&gt;
In world gen, a landholder lacking the DUTY_BOUND-token will also move to the site they like, according to legends mode.&lt;br /&gt;
&lt;br /&gt;
==Replacement by a generic civ-position==&lt;br /&gt;
&lt;br /&gt;
If a landholder is replaced by an AS_NEEDED non-landholder civ-position, then this will work: the current landholder loses that title upon settlement-elevation and gains that civ-title. However, the civ-title lacks the landholder-property of being attached to the land. It will not show the name of the settlement alongside the position's name. So no &amp;quot;minister of Shovelmounts&amp;quot;&lt;br /&gt;
&lt;br /&gt;
If a landholder is replaced by a general AS_NEEDED civ-position, that itself is also replaced by a generic AS_NEEDED civ-position, then firstly the elevation is executed and also the unit gains that new position. However, he immediately loses it, because an AS_NEEDED position that is replaced by another position can be filled initially, but units wont be able to hold that title.&lt;br /&gt;
&lt;br /&gt;
==Landholder with fixed number==&lt;br /&gt;
&lt;br /&gt;
A landholder's position that has a fixed number will be created and filled directly when the civilisation is born, so this position slot is then not available for the regular landholder-mechanic and will also not be used. That landholder will thus not be attached to a settlement. &lt;br /&gt;
&lt;br /&gt;
It doesn't matter if the landholder's position is connected to the regular landholder's-chain with the REPLACE_BY token.&lt;br /&gt;
&lt;br /&gt;
==Responsibilities==&lt;br /&gt;
&lt;br /&gt;
When given a certain [RESPONSIBILITY], a landholder may function as a regular civ-level noble. If the position has [TRADE] or [OUTPOST_NEGOTIATING] responsibilities, then the landholder functions both as a diplomat and as an actual land holder. A landholder with the [MILITARY_STRATEGY]  responsibility will travel around taming creatures in world-gen, according to legends mode. &lt;br /&gt;
&lt;br /&gt;
Besides that, the responsibilities work the same as with any other on-site living position-holder, civ or otherwise.&lt;br /&gt;
&lt;br /&gt;
=Military=&lt;br /&gt;
==Squad management==&lt;br /&gt;
In the vanilla game, the Squad interface only becomes available after a militia commander has been appointed. Until then, the window displays:{{DFtext|You must appoint somebody first to create a squad.}}&lt;br /&gt;
&lt;br /&gt;
What’s surprising is how this is determined internally. In the entity raw definition, '''only the last two positions that include a [SQUAD] token are checked''' to decide whether the interface is accessible at all. As a result, if your hierarchy defines commanders A through E, appointing '''Commander D or E''' unlocks squad formation, while appointing A–C does nothing.&lt;br /&gt;
&lt;br /&gt;
In other words, squad availability is not tied to ''having a militia commander'', but to ''which specific positions happen to be last in the raw list''—a notably hacky implementation.&lt;br /&gt;
&lt;br /&gt;
These 'last two' are always the last two '''available positions.''' So if they get [REPLACED_BY] or become available because of [REQUIRES_POPULATION], the game adapts to those.&lt;br /&gt;
&lt;br /&gt;
==Squad assignment==&lt;br /&gt;
&lt;br /&gt;
Squads can be assigned, even if the leader position has no holder.&lt;br /&gt;
&lt;br /&gt;
A specific unit can only have one position associated with a squad. If it gains another 'squad holding position', it is unassigned from the first one. This does not work with a 0-squad, so only 1+squads are taken into consideration. This technique can possibly be used to distribute all positions equally among all citizens. It does however not work with election and assumption. &lt;br /&gt;
&lt;br /&gt;
If a civ-level position is associated with a squad and it gets a site-level squad-holding position assigned, it loses the current civ-position. &lt;br /&gt;
&lt;br /&gt;
Squads can get really messed up, if you make the position (or multiple) either elected or not-elected and not-appointed, then this can cause the game to assign multiple squads to the same unit. Automatic assignment and election does not take squads into account, but the nobles screen does. This can cause the positions to be cleared as the game figures out that they have more than one position, and immediately get elected or assumed again. &lt;br /&gt;
&lt;br /&gt;
Positions that cannot have a squad-position:&lt;br /&gt;
* A site- or civ-position with a [SUCCESSION] token cannot be appointed a squad-holding-position. The other way around, however, does work. For example, if a site-position with a [SUCCESSION]-token is appointed to a unit that has already a position with [SQUAD]. But when that squad position is assigned to another unit, it cannot be assigned back. &lt;br /&gt;
* A position with [SUCCESSION] can also not be assigned as a '''member''' of a squad.&lt;br /&gt;
* A squad-holding position with a formed squad cannot be appointed to another squad holding position.&lt;br /&gt;
&lt;br /&gt;
If a position has at least one squad member, it cannot be left vacant. First, the squad has to be disbanded, then the position may be cleared.&lt;br /&gt;
&lt;br /&gt;
==0-squads==&lt;br /&gt;
A 0-Squad is defined in a position as [SQUAD:0:member:members]. It does not seem to do anything useful as of now.&lt;br /&gt;
* It cannot be used to activate the [[Squad|military interface]]&lt;br /&gt;
* It does not restrict the assignment of [SUCCESSION] positions.&lt;br /&gt;
* Assigning this position does not clear any previously held squad position.&lt;br /&gt;
* The [[Leader]] and [[Tactician]] skill are not marked as relevant skills and are not taken into account in elections.&lt;br /&gt;
* It cannot be formed as a squad.&lt;br /&gt;
&lt;br /&gt;
=Further testing=&lt;br /&gt;
The following questions may need additional testing. Feel free to add or answer&lt;br /&gt;
* Everything regarding COMMANDING and army-structure&lt;br /&gt;
** [http://www.bay12forums.com/smf/index.php?topic=175437.msg8331668#msg8331668]&lt;br /&gt;
** [http://www.bay12forums.com/smf/index.php?topic=165213.msg8335682#msg8335682]&lt;br /&gt;
** [http://www.bay12forums.com/smf/index.php?topic=174584.msg8026854#msg8026854]&lt;br /&gt;
* Everything regarding CONQUERED_SITE, but it is presumably just like site. But what if you combine SITE or LAND_HOLDER with it?&lt;br /&gt;
* Stuff about the monarch, its arrival and its entourage.&lt;br /&gt;
&lt;br /&gt;
=Oddities (Bugs)=&lt;br /&gt;
Almost everything on this page could be called an oddity. Because of their unexpected usability, some may also be referred to as “undocumented features.” Others, however, are simply odd and not particularly useful, yet I hesitate to call them “bugs.”&lt;br /&gt;
* If a certain threshold is reached that makes an elected position electable, and the triggering event that initiates this evaluation is an assumption, then the resulting assumption is also referred to in the messages as an election&lt;br /&gt;
&lt;br /&gt;
=Examples=&lt;br /&gt;
&lt;br /&gt;
===The Founder===&lt;br /&gt;
The founder is a single dwarf, appointed at embark. They will be the only one ever to have this position and are not replaceable. When they lose their position some way, the position will not be assumed by another dwarf. &lt;br /&gt;
{{gamedata|title=The Founder|&lt;br /&gt;
[POSITION:THE_FOUNDER]&lt;br /&gt;
	[NAME:the founder:founders]&lt;br /&gt;
	[NUMBER:1] &lt;br /&gt;
	[SITE]&lt;br /&gt;
	[ALLOWED_CREATURE:DWARF:ALL]		- will only be filled at embark, but not assumable later.&lt;br /&gt;
	[REJECTED_CREATURE:DWARF:ALL]		- will only be filled at embark, but not assumable later.&lt;br /&gt;
	[SUCCESSION:BY_POSITION:THE_FOUNDER]	- not unassignable, also cannot be assigned to a [SQUAD] position.&lt;br /&gt;
	[PRECEDENCE:200] &lt;br /&gt;
	Non APPOINTED_BY&lt;br /&gt;
	Non ELECTED&lt;br /&gt;
	Optional: Add responsibilities to make the game select a unit with certain skills.&lt;br /&gt;
}}&lt;br /&gt;
===Marriage bar===&lt;br /&gt;
Dwarven matrons are held in great honour. Upon marriage, a female dwarf is no longer expected to perform menial labour. All dwarven males hold this position by default, granting their spouses exemption from menial work.&lt;br /&gt;
&lt;br /&gt;
The position becomes available with the arrival of the first migrants; otherwise, on embark, it would be assumed by females. Its succession rule is non-functional, but this prevents the player from unassigning the position. A squad size of 1 and the succession rules together prevent a unit from assuming the position more than once.&lt;br /&gt;
&lt;br /&gt;
With precedence set to NONE, the position name is hidden, while LAND_NAME remains visible on the nobles screen. All married females receive the suffix “, Mrs.” and are marked as Nobles.&lt;br /&gt;
&lt;br /&gt;
The practical usefulness of this position is debatable, but it serves as a clear demonstration of several mechanics.&lt;br /&gt;
{{gamedata|title=Mrs. Urist|&lt;br /&gt;
 &lt;br /&gt;
[POSITION:MRS_URIST]	&lt;br /&gt;
	[NUMBER:300]						&lt;br /&gt;
	[SITE]						&lt;br /&gt;
	[ALLOWED_CREATURE:DWARF:MALE]	&lt;br /&gt;
	Not APPOINTED_BY				&lt;br /&gt;
	Not ELECTED&lt;br /&gt;
	[LAND_NAME:Dwarven male]				&lt;br /&gt;
	[NAME:dwarven male:dwarven male]&lt;br /&gt;
	[PRECEDENCE:NONE]					&lt;br /&gt;
	[SPOUSE_FEMALE:, Mrs.:spouses]&lt;br /&gt;
	[MENIAL_WORK_EXEMPTION_SPOUSE]&lt;br /&gt;
	[REQUIRES_POPULATION:8]			&lt;br /&gt;
	[SUCCESSION:BY_POSITION:MONARCH]&lt;br /&gt;
	[SQUAD:1:member:members]&lt;br /&gt;
}}&lt;br /&gt;
===The Archduke===&lt;br /&gt;
The archduke is the leader of the civilization, but exists only from landholder 4-level. Until then, its position remains vacant. When a settlement is elevated to tier 4 (grand duke), the grand duke can appoint the ruler of the civilisation, the archduke. Because of 'Premature Succession', they themself inherit that position immediately, but only when in fortress mode. Its heir then becomes grand duke.&lt;br /&gt;
{{gamedata|title=The Archduke| no POSITION:MONARCH or other PRECEDENCE:1 &lt;br /&gt;
&lt;br /&gt;
[POSITION:THE_ARCHDUKE]&lt;br /&gt;
	[NAME:archduke:archdukes]&lt;br /&gt;
	[NAME_MALE:archduke:archdukes]&lt;br /&gt;
	[NAME_FEMALE:archduchess:archduchesses]&lt;br /&gt;
	[LAND_NAME:a archduchy]&lt;br /&gt;
	[NUMBER:1] &lt;br /&gt;
	[PRECEDENCE:1] &lt;br /&gt;
	[SUCCESSION:BY_POSITION:GRAND_DUKE]	&lt;br /&gt;
	[APPOINTED_BY:GRAND_DUKE]&lt;br /&gt;
	(add additional monarch-stuff, like spouse name, demands etc.)&lt;br /&gt;
	&lt;br /&gt;
[POSITION:GRAND_DUKE]&lt;br /&gt;
	[NAME:grand duke:grand dukes]&lt;br /&gt;
	[NAME_MALE:grand duke:grand dukes]&lt;br /&gt;
	[NAME_FEMALE:grand duchess:grand duchesses]&lt;br /&gt;
	[NUMBER:AS_NEEDED] &lt;br /&gt;
	[LAND_HOLDER:4]&lt;br /&gt;
	// Optional ...&lt;br /&gt;
	[PRECEDENCE:19]	&lt;br /&gt;
	[LAND_NAME:a archduchy] &lt;br /&gt;
	[RESPONSIBILITY:LAW_MAKING]&lt;br /&gt;
	[RESPONSIBILITY:RECEIVE_DIPLOMATS]&lt;br /&gt;
	[SUCCESSION:BY_HEIR]&lt;br /&gt;
	[APPOINTED_BY:THE_ARCHDUKE]&lt;br /&gt;
	(add additional landholder-stuff)&lt;br /&gt;
&lt;br /&gt;
!!add to [POSITION:DUKE]&lt;br /&gt;
	[REPLACED_BY:GRAND_DUKE]&lt;br /&gt;
&lt;br /&gt;
}}&lt;br /&gt;
{{Category|Modding}}&lt;br /&gt;
{{Category|Entities}}&lt;br /&gt;
{{Category|Guides}}&lt;/div&gt;</summary>
		<author><name>Joostheger</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=Advanced_entity_position_mechanics&amp;diff=314916</id>
		<title>Advanced entity position mechanics</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=Advanced_entity_position_mechanics&amp;diff=314916"/>
		<updated>2026-02-12T08:30:44Z</updated>

		<summary type="html">&lt;p&gt;Joostheger: /* [RESPONSIBILITY]ies */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Quality|Fine}}&lt;br /&gt;
{{Modding}}&lt;br /&gt;
&lt;br /&gt;
= Introduction = &lt;br /&gt;
&lt;br /&gt;
[http://www.bay12forums.com/smf/index.php?topic=182239.0 Discussion thread on the forum]&lt;br /&gt;
&lt;br /&gt;
This page documents observed and tested behavior of entity positions in Dwarf Fortress that is not fully described elsewhere on the wiki. It focuses on advanced interactions between position tokens, including appointment, succession, election, and responsibility handling, across both civilization-level and site-level entities.&lt;br /&gt;
&lt;br /&gt;
The mechanics described here are based on empirical testing in world generation and fortress mode, supplemented where necessary by raw analysis. In several cases, the game’s behavior is determined by evaluation order and interaction between multiple tags, rather than by individual tokens in isolation.&lt;br /&gt;
&lt;br /&gt;
This page is intended for modders and advanced players who are designing or debugging custom entity position structures. It does not restate basic position mechanics, but instead highlights edge cases, non-obvious interactions, and behaviors that may appear inconsistent or undocumented.&lt;br /&gt;
&lt;br /&gt;
Unless stated otherwise, the described behavior applies to current versions of the game and may differ from older releases.&lt;br /&gt;
&lt;br /&gt;
==What is an entity? What is a position?==&lt;br /&gt;
An [[entity]] is an organizational structure that can have relationships with other entities, usually known as a [[civilization]] or a &amp;quot;[[site]] government&amp;quot; in the game, but merchant [[guild]]s, religious organizations, necromancer towers, and [[bandit]] groups are also entities. An entity can have positions - in most cases, these are hardcoded and generated by the game, but as for civilizations and sites, the [[raw file]]s can be customised.&lt;br /&gt;
&lt;br /&gt;
A position is a special relationship between a unit and an entity. The unit holding a position has a larger influence over that entity than other citizens. Positions are mostly known as [[nobles]], but in this article. the technical term is used.&lt;br /&gt;
&lt;br /&gt;
=Position levels (Site/Civ) and their interaction=&lt;br /&gt;
There are two basic types of positions that are customizable: '''civ(ilization)''' level and '''site level'''. Positions with the tag [SITE] are at site level, positions without the tag [SITE] are at 'civ level'. These two types of nobles can be considered '''loosely related systems'''. There are a few places where they can interact with each other.&lt;br /&gt;
&lt;br /&gt;
Civ-level positions are in charge of the civilization as a whole, managing national [[trade]], laws, and [[war]]s. These are, for example, the vanilla [[monarch]], [[diplomat]] and [[general]]. (Note that the general doesn't do anything in either mode in the current version.)&lt;br /&gt;
&lt;br /&gt;
'''[LAND_HOLDER]''' nobles are also positions at civ-level. These units are members of the national government, but have gained authority over some land or site. Once they do, they move to that place, but their position is still regarded as a civ-level position.&lt;br /&gt;
&lt;br /&gt;
Site-level position holders are members of a site government (subsidiary to the civilization), and manage local affairs in that location. These are, for example, the [[mayor]], the [[sheriff]] and the [[broker]].&lt;br /&gt;
&lt;br /&gt;
==Table of interaction between different position levels==&lt;br /&gt;
In this table, the possible interactions between different position levels are summarized. &lt;br /&gt;
The header row shows the positions defining the tokens.&lt;br /&gt;
&lt;br /&gt;
The left column shows the position type that is referred to.&lt;br /&gt;
Example:  &lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! referred position-type&lt;br /&gt;
! LAND_HOLDER&lt;br /&gt;
|-&lt;br /&gt;
| civilization&lt;br /&gt;
|  &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;(baron is) APPOINTED_BY:MONARCH&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
color coding: &amp;lt;/br&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;Exists in vanilla&amp;lt;/span&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;Possible with mods&amp;lt;/span&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;Not possible&amp;lt;/span&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;possible to some extent.&amp;lt;/span&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;not yet fully investigated.&amp;lt;/span&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! referred position-type&lt;br /&gt;
! Civilization&lt;br /&gt;
! SITE&lt;br /&gt;
! LAND_HOLDER&lt;br /&gt;
! CONQUERED_SITE&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Civilization&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;SUCCESSION '''(1)'''&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| SITE&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;SUCCESSION '''(2)'''&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;APPOINTED_BY '''(3)'''&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;SUCCESSION '''(4)'''&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| LAND_HOLDER&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY '''(6)'''&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;SUCCESSION '''(5)'''&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;REPLACED_BY '''(7)'''&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;SUCCESSION '''(8)'''&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;CONQUERED_SITE&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; COMMANDER &amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; REPLACED_BY &amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt; SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; COMMANDER &amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; REPLACED_BY &amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt; SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; COMMANDER &amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; REPLACED_BY &amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; COMMANDER &amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; REPLACED_BY &amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Remarks:&lt;br /&gt;
# Works only in world-gen, if a unit with that civ-position is present at the site.&lt;br /&gt;
# Works only in world-gen, the site-position holding unit will then move to the capital.&lt;br /&gt;
# Is completely ignored&lt;br /&gt;
# Works only in world-gen.&lt;br /&gt;
# Works only in world-gen.&lt;br /&gt;
# Won't appear at all&lt;br /&gt;
# This is necessary for the landholder chain to work properly, it doesn’t work otherwise.&lt;br /&gt;
# This works only outside of the landholder chain, so when landholders are simply regarded as civ-level nobles. might also work in world-gen&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
== Other interactions ==&lt;br /&gt;
&lt;br /&gt;
Unfortunately, interactions with positions of other entities don't seem possible, such as APPOINTED_BY: HIGH_PRIEST. With [VARIABLE_POSITIONS], positions are automatically created with codes like CUSTOM_LAW_MAKER_2, but interaction with these positions don't seem to work, either. For more info on those, see [[Variable positions]]&lt;br /&gt;
&lt;br /&gt;
=General=&lt;br /&gt;
&lt;br /&gt;
==Civ-level nobles living at your site==&lt;br /&gt;
Nobles from your civilization can come to live at your fortress. This happens in vanilla with landholders such as [[Baron]], [[Count]] and [[Duke]], with the Monarch, but sometimes also with non-landed LAND_HOLDERS.&lt;br /&gt;
&lt;br /&gt;
When a civ-level noble becomes a [[citizen]] at your location, their position is shown among the site-level positions in your [[nobles screen]]. They appear to function as a site-level noble. They may have [[demand]]s, [[mandate]]s, [[squad]]s and the like. They can appoint nobles at the site-level.&lt;br /&gt;
&lt;br /&gt;
If they have certain [RESPONSIBILITY]ies, they do the tasks that go with them.&lt;br /&gt;
&lt;br /&gt;
==Fortress mode, world-gen and their differences==&lt;br /&gt;
Their are a few differences in how positions function between fortress mode (normal play mode) and the world generation (world-gen). &lt;br /&gt;
&lt;br /&gt;
In '''fortress mode''', the player has some control over the appointment of nobles, limited by elections, automatic filled-in positions and succession rules. Pre-fortress mode, which is referred to as '''world-gen''', the game will always attempt to assign nobles whenever possible. It is subjected to the same rules as in fortress-mode, but there are some exceptions. In '''[[World activities]]''', which is the thing that happens in the world while you play fortress mode, it seems as if the same rules are applied as fortress mode. &lt;br /&gt;
&lt;br /&gt;
A difference between player-fortress-mode and world-gen, is causes by visibility (see below). Positions that are not visible by the player and thus not available for assignment, will be available in world-gen and will thus be automatically assigned.&lt;br /&gt;
&lt;br /&gt;
In fortress mode, a position that is both [ELECTED] and [APPOINTED_BY], cannot be appointed by the player and is also not elected, and can thus not be filled. But in world-gen sites however, these positions are automatically filled.&lt;br /&gt;
&lt;br /&gt;
Positions with [AS_NEEDED] are almost never created and filled in world-gen (depending on their [RESPONSIBILITY]ies), but can always be used in player mode.&lt;br /&gt;
&lt;br /&gt;
A position can, in fortress mode, be filled by the same unit. A unit can gain multiple positions in fortress mode, for example because of [[elections]]. This will not happen in world-gen mode: a unit can only have one position. See also remarks on 'embark' and 'Losing a position'.&lt;br /&gt;
&lt;br /&gt;
In world-gen, [SUCCESSION] between civ-levels and [SITE-]levels may happen. This will not happen in fortress mode, or even off-site in [[World activities]].&lt;br /&gt;
&lt;br /&gt;
In fortress mode, premature SUCCESSION may happen. This will not happen in world-gen mode.&lt;br /&gt;
&lt;br /&gt;
==Units holding multiple positions in multiple entities==&lt;br /&gt;
A unit can hold multiple positions in its civilisation or in its site-entity, however this does not happen in world-gen. Only at player-managed sites can units be holding multiple positions at once. (It is probably not possible for a unit to hold a position in two different civilisations or two different sites.)&lt;br /&gt;
&lt;br /&gt;
In world-gen, if there are too many positions to be filled, they simply stay empty until more units are available. E.G, a unit at a site might inherit a civ-level position and still remain a member of the local government. When this happens however, they move to the capital. If a unit gains a new position, either inherited or otherwise, it drops the previous one. If a unit assumes a civ-position in fortress mode, it leaves the current position. &lt;br /&gt;
&lt;br /&gt;
If a unit holds the same (site-)position multiple times, it has no additional effect.&lt;br /&gt;
&lt;br /&gt;
If a unit holds multiple different positions of the same entity, it has all those positions' responsibilities and properties, stacked up. Presumably, the demands for those combined positions are determined by the highest.&lt;br /&gt;
 &lt;br /&gt;
A unit holding a position with a succession token can be assigned another position with a (different) succession token. &lt;br /&gt;
&lt;br /&gt;
A unit holding a position with a squad-position cannot hold another squad-position. It is dropped from the first, when it gets its second assigned. &lt;br /&gt;
A unit holding a position with a succession token cannot be assigned to a squad-position - the unit is simply not available. It works the other way around, though.&lt;br /&gt;
&lt;br /&gt;
=Specific Tags=&lt;br /&gt;
==[PRECEDENCE]==&lt;br /&gt;
The first defined position with precedence of 1 counts as the ruler of the civ. See also: [[Position_token#PRECEDENCE|PRECEDENCE]]. &lt;br /&gt;
&lt;br /&gt;
If the precedence is omitted or has a negative value, the game sets 0 as precedence, which seems to have no effect whatsoever.&lt;br /&gt;
&lt;br /&gt;
When a unit has multiple positions, the name of the position with the highest rank in precedence is shown behind the unit's name.&lt;br /&gt;
&lt;br /&gt;
If you omit precedence entirely, or set it to [PRECEDENCE:NONE], the position name will not be shown after the unit’s name. Your *Urist Mason* will remain simply *Mason*. This can be useful for positions that are unimportant or purely functional. The position will also not appear in the civilisation overview of your site on the world map. The position name is shown in messages, but remains hidden on the nobles screen as well. To make it visible there, use [LAND_NAME].&lt;br /&gt;
&lt;br /&gt;
==[RESPONSIBILITY]ies==&lt;br /&gt;
Both civ and [SITE] positions can carry responsibilities. However, not all responsibilities are active for both types: some function only for civ positions, others only for site positions. When a civ noble arrives at a site and takes up residence, they do not perform responsibilities that are intended for SITE nobles. As a result, these responsibilities neither trigger their associated tasks nor unlock related game mechanics. For example, a civ-level manager living in a fortress will not perform management duties there and doesn't unlock the management-screen, even with an assigned office. &lt;br /&gt;
This behavior applies to the following [SITE]-level responsibilities:&lt;br /&gt;
* [RESPONSIBILITY:ACCOUNTING]&lt;br /&gt;
* [RESPONSIBILITY:BUILD_MORALE]&lt;br /&gt;
* [RESPONSIBILITY:HEALTH_MANAGEMENT]&lt;br /&gt;
* [RESPONSIBILITY:LAW_ENFORCEMENT]&lt;br /&gt;
* [RESPONSIBILITY:MANAGE_PRODUCTION]&lt;br /&gt;
* [RESPONSIBILITY:MEET_WORKERS]&lt;br /&gt;
* [RESPONSIBILITY:TRADE]  (functions differently)&lt;br /&gt;
Other responsibilities may be affected as well, but have not yet been fully tested.&lt;br /&gt;
&lt;br /&gt;
==[DELIVERS_MESSAGES]==&lt;br /&gt;
The only [AS_NEEDED]-position that is created in worldgen based on responsibility is that of the site-level responsibility [DELIVERS_MESSAGES].&lt;br /&gt;
&lt;br /&gt;
==Outpost Liaisons and Diplomats==&lt;br /&gt;
Civ-positions with the responsibility [ESTABLISH_COLONY_TRADE_AGREEMENTS] ([[Outpost_Liaison|Outpost Liaison]]s) will meet with the site-noble who has responsibility for [RECEIVE_DIPLOMATS] and the highest rank of precedence (i.e. the lowest precedence value). Usually this is the [[Expedition_leader|Expedition leader]].&lt;br /&gt;
&lt;br /&gt;
Once a [LAND_HOLDER] is assigned to the site, civ-positions with the responsibility [MAKE_TOPIC_AGREEMENTS] ([[Diplomat]]s) will meet with '''civ'''-level nobles present at the site who have the [RECEIVE_DIPLOMATS] responsibility. If multiple eligible nobles are available, one is selected at random. If no eligible noble is present, the diplomat leaves angrily. If the landholder is no longer present at the site, diplomats will not arrive at all.&lt;br /&gt;
&lt;br /&gt;
It appears that Outpost Liaisons and Diplomats are chosen for a diplomatic mission based on availability. When multiple candidates exist, the position defined last in the raws is most often selected.&lt;br /&gt;
&lt;br /&gt;
==[TRADE]==&lt;br /&gt;
Civ-level nobles with [TRADE] will arrive with the caravan, just as the Outpost Liaison. Their behavior is no longer active in the vanilla game, but the mechanics are still present. See [[40d:Guild_representative|Guild representative]] for more details. This civ-noble will only meet with the SITE noble with [TRADE], usually the [[Broker]].&lt;br /&gt;
&lt;br /&gt;
If two civ-nobles exist with both [TRADE] and [ESTABLISH_COLONY_TRADE_AGREEMENTS], they both arrive at the same time. Even if both tokens are assigned to a single position, if more than one instance of that position exists, two of them will arrive. However in that case, somehow the elevation of the site and appointment of landholder isn't offered.&lt;br /&gt;
&lt;br /&gt;
If the SITE-noble they intend to meet has both [TRADE] and [RECEIVE_DIPLOMATS], only one meeting will proceed and the other is cancelled. However, when two SITE-nobles are available, each with either [TRADE] or [RECEIVE_DIPLOMATS], both meetings will proceed and both civ-nobles will attempt to negotiate a trade agreement. It is not known what happens if these agreements are accepted or refused.&lt;br /&gt;
&lt;br /&gt;
In the trade depot, the last defined position with the [TRADE] responsibility is shown as broker. However when requesting a trader, the first defined position with [TRADE] will actually go there to do the trade.&lt;br /&gt;
&lt;br /&gt;
==World-gen effects of the [RESPONSIBILITY] of available positions ==&lt;br /&gt;
It is possible to cause civs and individual sites to change their behavior substantially when they reach a certain size, by controlling nobles. &lt;br /&gt;
* If a site can only appoint a position with [MILITARY_GOALS] after reaching a particular size, that site will not send armies on missions until the required size is reached.&lt;br /&gt;
* A civ-level [LAW_MAKING] position is required for the civilization to have any kind of cohesion. Without it, sites will be constantly embroiled in territorial disputes and civil wars will be commonplace.&lt;br /&gt;
* [MILITARY_STRATEGY] positions go out and tame wild animals. This makes your civ gain those animals as domesticated and also brings them in sieges.&lt;br /&gt;
* The [[Personality_facet|Personality]] of the position's holder determines how they lead the civ.&lt;br /&gt;
&lt;br /&gt;
=Availability and visibility=&lt;br /&gt;
==Availability of (new) positions==&lt;br /&gt;
Warning: Do not mistake &amp;quot;availability&amp;quot; for &amp;quot;visibility&amp;quot;! &lt;br /&gt;
&lt;br /&gt;
Of all the possible positions existing in your site's entity, there may only be some available. &lt;br /&gt;
* Positions with [REQUIRES_POPULATION] require the population to have a specific size.&lt;br /&gt;
* Positions with [REQUIRES_MARKET] will only appear in &amp;quot;large&amp;quot; sites (which may have different rules for different site types). This tag has no effect in fort mode.&lt;br /&gt;
* Positions that are appointed by positions that have an AS_NEEDED number. The appointable positions only become available after an appointer position-slot is created. This works also on civ-level. If a position is appointed by a Land-holder, it only becomes available, when that level of landholder is created. &lt;br /&gt;
	&lt;br /&gt;
Only the replaced positions are culled and are no longer available. &lt;br /&gt;
A position that requires a certain population will become available, even if it doesn't have [APPOINTED_BY] or [ELECTED]. In that case, see 'automatic assignment' and 'assumption'&lt;br /&gt;
&lt;br /&gt;
In fortress mode, in some cases 'succession' is evaluated immediately after a position becomes available. See: Succession.&lt;br /&gt;
==Visibility of positions==&lt;br /&gt;
A position might be available, but can still be invisible for the player in the [[nobles screen]]. The positions with their respective holders are visible for players:&lt;br /&gt;
* All site-positions that are already filled-in (even if they could not be re-filled-in considering current conditions)&lt;br /&gt;
* Site positions that are appointable by a filled-in site position&lt;br /&gt;
* Site positions that are appointable by a filled-in civ position, when that civ positions holder becomes a citizen of your fortress.&lt;br /&gt;
* Civ positions of units that are also a citizen of your fortress.&lt;br /&gt;
If a position becomes available, for example because a certain pop number has been reached, or if it is available from the start(like expedition leader), as long as it cannot be appointed, it still is INVISIBLE for the player. &lt;br /&gt;
&lt;br /&gt;
It might strike someone as odd if a position becomes filled automatically in fortress mode when that position is not even visible. This might be the case if the current holder of a non-appointable position dies or succeeds another position. Regardless of player visibility, these positions will be automatically filled in if the necessary requisitions are met. It might happen with the expedition leader.&lt;br /&gt;
&lt;br /&gt;
A situation with a non-visible but available position, is for example when a position is solely appointed by the expedition leader, when the expedition leader's position is left vacant. It can no longer be appointed by the player and is invisible. Then, it gets automatically assumed, proving that the position still was available.&lt;br /&gt;
&lt;br /&gt;
A position that is both [APPOINTED_BY] and [ELECTED] is visible, but players cannot interact with it.&lt;br /&gt;
&lt;br /&gt;
=[NUMBER]=&lt;br /&gt;
A position might be defined with a number. In that case, as many as defined can be available. If the positions become available, in world-gen and when embarking, they are all filled-in completely.&lt;br /&gt;
&lt;br /&gt;
If the ruling position (with PRECEDENCE of 1) has a NUMBER higher than 1, a random unit of the ones holding these positions is shown as ruler in the embark screen.&lt;br /&gt;
&lt;br /&gt;
A [NUMBER] of 0 (zero) has the same effect as 1.&lt;br /&gt;
&lt;br /&gt;
==Automatic spreading of assumed, non-singular positions==&lt;br /&gt;
If there are civ positions that have a NUMBER higher then '1' and which are assumed (not APPOINTED_BY or ELECTED) but are '''not DUTY_BOUND''', these are automatically spread among the civilisation, based on population. If there are a number of '''20''' available slots of that position, they spread among a civilization with a combined population of, for example, 1000 of which your fortress has 100 (10%), '''2''' of your fortress' citizens will assume that position. &lt;br /&gt;
This may probably also work with elected and appointed positions, but that may be depending on the death of the current holders and this needs more testing. Assumption works within a day, anyway. &lt;br /&gt;
&lt;br /&gt;
==[AS_NEEDED]==&lt;br /&gt;
These positions can be created automatically by the game in world-gen. This, however, only works with: &lt;br /&gt;
* [LAND_HOLDER]'s&lt;br /&gt;
* squad commanders (needs more testing)&lt;br /&gt;
* Messengers at sites&lt;br /&gt;
&lt;br /&gt;
For all other types of positions, they're not created in world-gen, even if they are defined with RESPONSIBILITY's. For example, even in war, the game wouldn't create a MILITARY_GOALS position, if they have AS_NEEDED as number. &lt;br /&gt;
&lt;br /&gt;
However, in fortress mode / player mode, these positions can be created by the player at will.&lt;br /&gt;
&lt;br /&gt;
Positions with AS_NEEDED need to be created first, before any symbols are assignable as 'symbols' (objects) for the position holder to carry or wear.&lt;br /&gt;
&lt;br /&gt;
Positions with AS_NEEDED cannot be created and then ELECTED in fortress mode. It only works with APPOINTED_BY.&lt;br /&gt;
&lt;br /&gt;
=Replacement and Required Population=&lt;br /&gt;
&lt;br /&gt;
The token REPLACED_BY:position means that once the replacing position reaches its required population-number, the 'to-be-replaced' position will disappear. This is defined in REQUIRES_POPULATION. These tags are closely related to each other and seem to only have a meaningful function if combined. Nobles with REQUIRES_POPULATION require the population to have a specific size. &lt;br /&gt;
&lt;br /&gt;
This works on the civ-level as well as on site-level, but those systems are in this mechanic strictly separated. Site-level positions cannot be replaced by civ-level positions and visa versa. This makes sense, because they both depend on their own population-count. When using REQUIRES_POPULATION on civ-level, it counts the total population of the civilisation. &lt;br /&gt;
&lt;br /&gt;
See also: [[Advanced_entity_position_mechanics#Evaluation_of_Positions|Evaluation of positions]]&lt;br /&gt;
&lt;br /&gt;
==Effect of replacement (and on [LAND_HOLDER]s)==&lt;br /&gt;
&lt;br /&gt;
Replacement is immediate and complete - the current holding unit loses the position, even before SUCCESSION_BY_POSITION rules are applied. A position with a number of 1 will replace all the slots of a position with a higher number of slots. &lt;br /&gt;
&lt;br /&gt;
Even if the next position is available but not visible, replacement still takes place. If a position is replaced, it is completely gone - it cannot be appointed, succeeded, elected or assumed any longer.&lt;br /&gt;
The unit immediately loses its position.&lt;br /&gt;
&lt;br /&gt;
In legends, replacement is mentioned as: &amp;quot;(unit name) ceased to be (position name)&amp;quot; The replacement of an AS_NEEDED position empties the position's slot forever. In fortress mode, it may seem as if you can create new slots and appoint new units in the nobles screen, but this is reversed as soon as you close the window.&lt;br /&gt;
&lt;br /&gt;
The landholder chain uses [REPLACED_BY] differently. It does not clear the position completely, but uses it for succession to the next level's position. [REPLACE_BY] is required to let that system work properly. This also means that the way in which landholders succeed (replace + as_needed) does not work in any other way. &lt;br /&gt;
&lt;br /&gt;
Replacement between LAND_HOLDERS and other site- or civ positions does not work in any way. Only the vanilla replacement sequence between levels of LAND_HOLDERs does work. If the token is omitted for landholders, the landholder chain is broken, so replacement is required for the landholder system to work.&lt;br /&gt;
&lt;br /&gt;
[REQUIRES_POPULATION] also does not work for [LAND_HOLDER], when you set [NUMBER] to 1. The position is not created when the required population is reached.&lt;br /&gt;
&lt;br /&gt;
==What doesn't work==&lt;br /&gt;
&lt;br /&gt;
'''Attention: If a position cannot be appointed, for example because of 'mutual appointment', it still exists according to replacement mechanics and will replace other positions if so defined. If a certain position(a) will be replaced by the baron's assistant, which can only be appointed by the [LAND_HOLDER] baron, than that position(s) still will be replaced from the start of the game, even if no baron or their assistant is ever present.'''&lt;br /&gt;
&lt;br /&gt;
A position that is replaced by a somehow non-fillable position is still replaced. This counts for mutual-appointing positions, replacement by not-yet-assigned landholders, replacement by AS_NEEDED positions, or replacement by not-yet-appointed positions. &lt;br /&gt;
&lt;br /&gt;
Replacement does not work if the replaced position is a [LAND_HOLDER], even with civ-positions. In that case, the LAND_HOLDER's position is not replaced. It does not matter if AS_NEEDED is used, or a fixed number, and it also does not matter what type of position the replacer is. So this only works (correctly) with positions that become available by REQUIRES_POPULATION.&lt;br /&gt;
&lt;br /&gt;
={{text anchor|Evaluation of Positions}}=&lt;br /&gt;
The game does not continuously check whether positions should become available, elected or be [REPLACE_BY]. This is well-known behavior—for example with the [[mayor]], who does not appear automatically when the required population ([REQUIRES_POPULATION]) is reached. Instead, positions must somehow be evaluated. This applies in several other situations as well &lt;br /&gt;
&lt;br /&gt;
'''Cases that require a trigger:'''&lt;br /&gt;
* Election of a newly created position&lt;br /&gt;
* Election after the current holder dies&lt;br /&gt;
* Automatic assumption of a newly created position (this may take up to a day)&lt;br /&gt;
* New citizens (such as migrants) considering available positions&lt;br /&gt;
* Premature succession of a newly created position&lt;br /&gt;
&lt;br /&gt;
'''Cases that do not wait for a trigger:'''&lt;br /&gt;
* Succession following the death of the previous holder&lt;br /&gt;
* Automatic assumption of existing positions that have become vacant&lt;br /&gt;
&lt;br /&gt;
'''Triggers that cause the game to reevaluate noble positions:'''&lt;br /&gt;
* Succession of a [SITE]-position due to the death of the current holder&lt;br /&gt;
* [[Advanced_entity_position_mechanics#Election_Day|Election Day]]&lt;br /&gt;
* Automatic assumption of a [SITE]-position that becomes vacant&lt;br /&gt;
* (Re)assigning any site position manually&lt;br /&gt;
* Settlement elevation on the LAND_HOLDER track (e.g. gaining a [[Baron]] or [[Count]])&lt;br /&gt;
&lt;br /&gt;
=Gaining a position=&lt;br /&gt;
There are several ways a unit can gain a position:&lt;br /&gt;
* Appointment: A unit is appointed by another unit or by the player.&lt;br /&gt;
* Election: A unit is elected by and among the members of the entity&lt;br /&gt;
* Assumption: A position is neither elected or appointed: a random unit just simply 'takes' the position&lt;br /&gt;
* Succession: a unit is the valid successor of this position(A), either by its current position(B) or because they are that position(A)-holder's heir. &lt;br /&gt;
&lt;br /&gt;
Available positions will automatically be assigned to a random civ member when a new site/civ is created.&lt;br /&gt;
&lt;br /&gt;
==Who can take a position==&lt;br /&gt;
&lt;br /&gt;
* If so defined, a unit needs to be the right caste and/or class - it does not seem to work with creature types. &lt;br /&gt;
* The unit needs to be an adult member of the site or its parent civ's government; that is also CAN_LEARN or INTELLIGENT (SLOW_LEARNER cannot take positions) or otherwise is able to think.&lt;br /&gt;
&lt;br /&gt;
==Appointment==&lt;br /&gt;
&lt;br /&gt;
Positions that have an [APPOINTED_BY:position] token require that position to exist, to be available and appointed. Any position that is APPOINTED_BY can be appointed if the appointer's position is filled in. &lt;br /&gt;
For site-positions to be appointed, it is required that the appointer is present at that location.&lt;br /&gt;
&lt;br /&gt;
If the appointing unit is temporarily not present, or if that position is not filled, positions depending on it cannot be appointed. This is the case with [[militia captains]], when the [[militia commander]] is on a [[mission]]. &lt;br /&gt;
&lt;br /&gt;
A site position cannot appoint a civ position ''or'' LAND_HOLDER in any way whatsoever. &lt;br /&gt;
&lt;br /&gt;
Civ-level positions can appoint other civ-level positions and site-level positions can appoint other site-level positions.&lt;br /&gt;
&lt;br /&gt;
Contrary to what has been said elsewhere, civ-level nobles also can appoint site-level nobles. They need to be at the site to do so. Landholders can appoint both site-level and civ-level nobles. These systems are therefore not as separate as was assumed.&lt;br /&gt;
&lt;br /&gt;
'''Mutual appointment''' cannot take place. If these are the only requisites of the position, then the positions will never appear or get filled. These unfillable positions can be put to good use, for example, to replace a position that is no longer needed without creating a new one. &lt;br /&gt;
&lt;br /&gt;
'''Self appointment''' doesn't normally work. If you have a position that is only appointed by itself, it is never appointed and also cannot be assumed. However, if the position has a number higher than 1, and is filled by multiple units (for example by another position that is now empty), than those units can re-assign or appoint each other from that their shared position. &lt;br /&gt;
&lt;br /&gt;
If an APPOINTED_BY token refers to a non-existing position's code, the effects are as if the appointment token doesn't exist at all.&lt;br /&gt;
&lt;br /&gt;
===Automatic appointment in world-gen and on the civ level===&lt;br /&gt;
&lt;br /&gt;
Outside of fortress mode, the game will always attempt to appoint nobles whenever possible, as long as these positions are '''available''', even if they are invisible to the player.&lt;br /&gt;
It shows this message in legends:  &amp;quot;(unit name) has been appointed to the position of (position name)&amp;quot;&lt;br /&gt;
&lt;br /&gt;
In world-gen, all positions become available and are automatically appointed, taking population- and appointment-requirements into consideration. &lt;br /&gt;
&lt;br /&gt;
Positions that are REPLACED_BY are culled and won't be filled.&lt;br /&gt;
&lt;br /&gt;
If a citizen of your fortress holds a civ-level position that can appoint another civ-level position, the appointment will happen automatically and without player intervention. It may happen that another citizen of your fortress is appointed by that unit, creating civ-level position holders in your fortress, but it is unknown what is required to force this effect.&lt;br /&gt;
&lt;br /&gt;
===Manual appointments by players in fortress mode===&lt;br /&gt;
In fortress mode, the positions that need to be appointed stay empty on embark. and it is the player's job to appoint those. A player can appoint a unit to any available position, according to the hereabove mentioned conditions. The player takes the role of the automatic appointment-system, but has no direct control over elections, successions and replacement. There are some differences in what is possible at world-gen sites and at player-controlled sites.&lt;br /&gt;
&lt;br /&gt;
* A position that is appointed by a unit present as a fortress citizen, can be appointed, re-appointed or left vacant. This means also by civ-level nobles living as a citizen in your fortress; not when they are only visiting, like the diplomat.&lt;br /&gt;
* A position whose appointing positions are all either vacant or [REPLACED_BY] can no longer be appointed. If the position is already filled, it cannot be reappointed or vacated; the current holder simply remains in office.&lt;br /&gt;
* A position that is APPOINTED_BY a unit present as the land_holder of your site, can be appointed, reassigned or left vacant.&lt;br /&gt;
* A position that has SUCCESSION BY_HEIR or BY_POSITION can 'initially' be appointed and also re-appointed or left vacant, but as soon as the [[nobles]] screen closes, ''it can no longer be replaced or left vacant''. From then on, the succession-rules determine who gains that position when the current holder loses the position. This works even if the SUCCESSION:BY_POSITION-position is vacant or replaced.&lt;br /&gt;
* A position that is ELECTED nor APPOINTED_BY, can always be (re-)appointed by the player. This is the case with the [[Expedition leader]]. If it is left vacant however, it cannot be appointed, but will be assumed shortly after. &lt;br /&gt;
* A position that is both ELECTED and APPOINTED_BY, cannot be appointed by the player. Contrary to world-gen sites, its slot is visible, but it doesn't show the +-sign. This is either by AS_NEEDED or by a fixed number. Even if the position somehow gets filled (re)assignment is never possible&lt;br /&gt;
* A player can appoint a number of units to a position, as much as the NUMBER token dictates. If it is AS_NEEDED, the player may create as many slots as they like, also contrary to world-gen sites. &lt;br /&gt;
* A civ-position can never be appointed, even if the appointing civ noble is a citizen of your fortress. A civ position also never can be re-assigned or left vacant, would that position be defined as appointed by a site-position.&lt;br /&gt;
&lt;br /&gt;
==Election==&lt;br /&gt;
Read more in [[Elections]]. The message that is shown is: &amp;quot;(creature name) has been elected to the position of  (position name)&amp;quot;&lt;br /&gt;
&lt;br /&gt;
In worldgen, there is no functional difference between ELECTED and non-appointment, except that elected nobles tend to have high social skills and/or skills related to the position, while non-elected ones are assigned randomly. See: [[Elections]]&lt;br /&gt;
&lt;br /&gt;
A succession goes before an election. &lt;br /&gt;
&lt;br /&gt;
A position that is both ELECTED and APPOINTED_BY never gets elected. Even if the appointees' position somehow gets filled, (re)-elections won't happen. So, it doesn't seem possible to have an elected position become available when a certain other position becomes filled. &lt;br /&gt;
&lt;br /&gt;
An ELECTED civ-(or LAND_HOLDER) position at your site will never be (re)-elected in fortress mode. So real (re-)election only works with SITE-positions. &lt;br /&gt;
&lt;br /&gt;
=== {{text anchor|Election Day}} ===&lt;br /&gt;
Election Day takes place on the 17th of Summer. On this day, a full reevaluation is performed, including all currently elected positions, which are subject to re-election. Contrary to the information on [[Elections]], nothing occurs at the start of a season.&lt;br /&gt;
&lt;br /&gt;
Positions that are both [APPOINTED_BY] and [ELECTED] will not be re-elected on Election Day when assigned through [SUCCESSION].&lt;br /&gt;
&lt;br /&gt;
=== Election Eligiblity ===&lt;br /&gt;
Any citizen may stand for election. Eligibility cannot be restricted using [ACCEPTED_CREATURE], [REJECTED_CREATURE], [ACCEPTED_CLASS], [REJECTED_CLASS], or [GENDER]. Units currently having a [SUCCESSION]-position even may be elected for a position with a [SQUAD]-token, which is otherwise impossible to assign or even succeed.&lt;br /&gt;
&lt;br /&gt;
=== Skills ===&lt;br /&gt;
In elections, skills are taken into account for the tokens of the position which is elected.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Relevant skills per position token&lt;br /&gt;
|-&lt;br /&gt;
! Position Token !! Relevant skills&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#DELIVER_MESSAGES|[DELIVER_MESSAGES]]] || [[Ambusher]], [[Observer]] and [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#ACCOUNTING|[ACCOUNTING]]] || [[Record_keeper|Record keeper]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#ESPIONAGE|[ESPIONAGE]]] || [[Schemer]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#HEALTH_MANAGEMENT|[HEALTH_MANAGEMENT]]] || [[Diagnostician|Diagnostician]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#MAKE_INTRODUCTIONS|[MAKE_INTRODUCTIONS]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#MAKE_PEACE_AGREEMENTS|[MAKE_PEACE_AGREEMENTS]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#MAKE_TOPIC_AGREEMENTS|[MAKE_TOPIC_AGREEMENTS]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#MANAGE_PRODUCTION|[MANAGE_PRODUCTION]]] || [[Organizer]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#MEET_WORKERS|[MEET_WORKERS]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#RECEIVE_DIPLOMATS|[RECEIVE_DIPLOMATS]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#RELIGION|[RELIGION]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#TAME_EXOTICS|[TAME_EXOTICS]]] || [[Animal_trainer|Animal trainer]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#TRADE|[TRADE]]] || [[Social_skill|Social skills]] and [[Appraiser|Appraiser]]&lt;br /&gt;
|-&lt;br /&gt;
| [[Position_token#SQUAD|[SQUAD]]]-token || [[Tactician]] and [[Leader]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Assumption==&lt;br /&gt;
&lt;br /&gt;
A position that is not APPOINTED_BY nor ELECTED, or is appointed by positions that are not available in your site or civ, will be assumable by a random dwarf. If it has responsibilities that require certain skills, then these are taken into consideration on embark, but not when the position is assumed during the actual game. &lt;br /&gt;
&lt;br /&gt;
Normally, one to three units will take the into consideration to assume a position. Most of the time when there are multiple open positions, only a single unit will assume all of them. However, a position that has REJECTED_CREATURE, REJECTED_CLASS, ALLOWED_CREATURE or ALLOWED_CLASS will be filled with all different units, even if the creature or class mentioned is irrelevant. It seems that this forces the game to loop over all the available units.&lt;br /&gt;
&lt;br /&gt;
The message that is shown in Legends mode is: &amp;quot;(unit name) has assumed the position of (position name)&amp;quot;. This may also take place in fortress mode, which then shows this message to the player. &lt;br /&gt;
&lt;br /&gt;
If an assumable position becomes empty, it will be assumed within a day. This is the case when you leave the position of expedition-leader vacant. It also happens with entities. &lt;br /&gt;
&lt;br /&gt;
Assumable positions that become empty will not be assumed if that position has a valid [SUCCESSION] -successor. In that case, the successor inherits the position. &lt;br /&gt;
&lt;br /&gt;
Even positions that are somehow invisible because they cannot be directly APPOINTED_BY players, can be assumed. &lt;br /&gt;
&lt;br /&gt;
When you embark, the assumable positions are automatically assigned to a random unit. If there are multiple of these positions at embark, they all are assigned to the same unit. If there are enough positions available, multiple units may gain a position, but often no more than three different ones.&lt;br /&gt;
&lt;br /&gt;
If a dwarf in fortress mode assumes a position, that already has another position, it will leave the current position empty. When that position also is assumed, then this will continue until all positions have a dwarf appointed to them, with no other position.&lt;br /&gt;
&lt;br /&gt;
A unit that already has a position with a [SUCCESSION] token won't take assumable positions into consideration that have a [SQUAD] token. This can be used by the modder to prevent unwanted loss of current positions.&lt;br /&gt;
&lt;br /&gt;
A position that has an appointer which got replaced because of REPLACED_BY, will not become assumable. Also, positions that have an AS_NEEDED appointer that is not yet filled (or ever), will also not be assumed.&lt;br /&gt;
&lt;br /&gt;
==Succession==&lt;br /&gt;
&lt;br /&gt;
If a position-holder dies or advances to a new position via succession, the position will be granted to another unit based on the [SUCCESSION] tag. If they have an heir or the succeeding position exists, that unit will be assigned. If not, a new one will be appointed according to the usual rules. The message that is shown is: &amp;quot;(creature name) being the rightful heir, has inherited the position of (position name)&amp;quot;&lt;br /&gt;
&lt;br /&gt;
The succeeding creature will also lose its previous position. When succession is defined using BY_POSITION, the unit naturally loses the referenced position. However, it also loses any other positions it may hold. If a unit could simultaneously inherit multiple positions, the last-defined succession overrides the earlier one, clearing the previously acquired position&lt;br /&gt;
&lt;br /&gt;
Succession works both at site-level and at civ-level, both in world-gen and in fortress-mode. Succession by position on the civ-level is also visible and functional in fortress-mode. If both civ-level nobles are a citizen of your fortress, succession is applied visually. Vanilla example: The [[druid]] is succeeded by the [[acolyte]]. This means that as soon as the druid dies, the acolyte takes over. &lt;br /&gt;
&lt;br /&gt;
When a position that is succeeded by position becomes available, immediately it is checked if a position-successor is available and the position is filled with that unit. Even if this is an [ELECTED] position, succession goes first. When elections eventually do happen, succession plays no role.&lt;br /&gt;
&lt;br /&gt;
It is possible to assign multiple levels of [SUCCESSION:BY_POSITION] in different positions, creating a line of positions where the death of one causes all those &amp;quot;below&amp;quot; them to advance.&lt;br /&gt;
&lt;br /&gt;
A position can have multiple tokens with position-succession. It looks to be random which one is used. It is not always:&lt;br /&gt;
* The first or last defined token&lt;br /&gt;
* The first or last appointed unit&lt;br /&gt;
* the oldest or youngest&lt;br /&gt;
* one with a higher or lower precedence&lt;br /&gt;
* a unit with relevant skills&lt;br /&gt;
&lt;br /&gt;
When a position is defined with a Succession-type, that unit cannot have another position that has a Squad-type. If the succession-position itself has a squad, than it can be assigned another position with a squad, but then it will loose the previous succesion position. See further details by &amp;quot;Squad&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Assumed positions can also be succeeded by position, if the current holder dies. &lt;br /&gt;
&lt;br /&gt;
If the successor is an AS_NEEDED position, the used unit will leave a vacant position-slot on its removal by succession. This empty slot remains a real slot, which will only be cleaned up if you (un)appoint a unit to this position-series. It isn't cleaned up after regular position validation.&lt;br /&gt;
&lt;br /&gt;
A civ-level position of a unit living at your site might be inherited by a unit holding that does not currently live at your site. This, unfortunately, moves that position to a unit off site. This may also happen with the landholder of your site, for example when it is succeeded by another civ-level position. This currently poses an unsolved challenge. &lt;br /&gt;
&lt;br /&gt;
===Eligibility for succession===&lt;br /&gt;
Succession is restricted by the tokens [ACCEPTED_CREATURE], [REJECTED_CREATURE], [ACCEPTED_CLASS], [REJECTED_CLASS] and [GENDER].&lt;br /&gt;
&lt;br /&gt;
===Site and civ combined succession===&lt;br /&gt;
&lt;br /&gt;
Succession can work when combining site positions with civ-level positions or land_holders, but only in world-gen mode.  In fortress mode, it only works with combining the same level of nobles, with Landholders regarded as civ-level. So, in fortress mode, a site's position cannot succeed a landholder's position and it cannot succeed another type of civ-level position, and vice versa. &lt;br /&gt;
&lt;br /&gt;
This won't work even if the positions:&lt;br /&gt;
* are AS_NEEDED or having a fixed number.&lt;br /&gt;
* Are LAND_HOLDERs.&lt;br /&gt;
&lt;br /&gt;
===Succession [BY_HEIR]===&lt;br /&gt;
&lt;br /&gt;
When a heir is needed for succession, all children and then other relatives are validated. They cannot take the position if their status does not allow it, for example if they have become a member of another civilisation. See: &amp;quot;Who can take a position&amp;quot;. If the unit has no valid heir on that location, the position may go to a unit living on another site. This may cause the title of Landholder of some land to be inherited by a unit living somewhere else. That might be a problem, because then you lose your landholders.&lt;br /&gt;
&lt;br /&gt;
===Premature Succession===&lt;br /&gt;
&lt;br /&gt;
There are cases where [SUCCESSION:BY_POSITION] is applied prematurely: at the moment a position is first created and becomes appointable or assumable, rather than after a current holder leaves. In this situation, the succession mechanism assigns a holder immediately, without any player interaction.&lt;br /&gt;
&lt;br /&gt;
When a position becomes available for the first time, the game checks whether a valid successor-by-position exists. If so, that unit is assigned instantly. It can affect positions that would normally be appointed or elected by the player, causing succession to trigger before the player has any opportunity to intervene.&lt;br /&gt;
&lt;br /&gt;
This behavior occurs only in Fortress mode, but can be applied both on [SITE]-positions as well in civ-positions. That last one however is a bit harder to control. Example: [[Advanced entity position mechanics#The Archduke|The Archduke]]&lt;br /&gt;
&lt;br /&gt;
This premature succession only occurs the first time a position becomes available (i.e. when it is created and becomes appointable or assumable). Even if the position remains vacant and the conditions for succession improve later, premature succession will not trigger again. From that point onward, only normal succession rules apply.&lt;br /&gt;
&lt;br /&gt;
Using premature succession, a position that has [ELECTED], [APPOINTED_BY], or both, can be filled directly.&lt;br /&gt;
Notably, positions that combine [ELECTED] and [APPOINTED_BY] are normally impossible to fill through regular mechanics. Premature succession bypasses both election and appointment entirely, making this combination uniquely reachable through this mechanism.&lt;br /&gt;
&lt;br /&gt;
No initial election takes place, and no subsequent elections will ever occur for that position. Succession always takes precedence over election, both in premature succession and in normal succession cases.&lt;br /&gt;
&lt;br /&gt;
This behavior applies only in Fortress mode, not during world generation. World-gen uses simplified and more efficient mechanics, and this interaction does not occur there. Premature succession can affect both site-level and civilization-level positions.&lt;br /&gt;
&lt;br /&gt;
====Multiple succession chains====&lt;br /&gt;
&lt;br /&gt;
Multiple succession chains may be defined and are resolved in the order they appear in the raws.&lt;br /&gt;
&lt;br /&gt;
If a position has both:&lt;br /&gt;
* a direct succession chain (A → C), and&lt;br /&gt;
* a multi-step chain (A → B → C),&lt;br /&gt;
&lt;br /&gt;
and intermediate positions are vacant, resolution proceeds according to raw order. A common outcome is:&lt;br /&gt;
# The direct succession (A → C) is applied first, assigning A to C.&lt;br /&gt;
# The remaining chain then advances (A → B).&lt;br /&gt;
# If C still has empty slots, the final step (B → C) may occur.&lt;br /&gt;
&lt;br /&gt;
If position B is already filled, behavior depends entirely on raw definition order:&lt;br /&gt;
* nothing may happen, or&lt;br /&gt;
* B may move to C first, followed by A moving to B.&lt;br /&gt;
====Working triggers====&lt;br /&gt;
Premature succession is triggered when a succeedable position is created under the following conditions:&lt;br /&gt;
* The succeedable position is created because its [REQUIRES_POPULATION] threshold is reached. This applies even if the position is not [APPOINTED_BY]. Premature succession takes priority over automatic assumption (e.g. the mayor declaring themselves within a day).&lt;br /&gt;
* The succeedable position can be [APPOINTED_BY] another position of the same level (site or civ) that has just been created because its [REQUIRES_POPULATION] was reached.&lt;br /&gt;
* The succeedable position can be appointed by another [SITE] [AS_NEEDED] position that has just been created and filled.&lt;br /&gt;
* The succeedable (site or civ) position is [APPOINTED_BY] the [LAND_HOLDER] position, which has just been created due to site elevation. This typically resolves when the diplomat leaves the map, at which point the landholder position becomes active.&lt;br /&gt;
* If all other requirements are met, premature succession can occur immediately after unpausing following embark, for positions with [REQUIRES_POPULATION:7].&lt;br /&gt;
====Non-working triggers====&lt;br /&gt;
Premature succession does '''not''' occur in the following cases:&lt;br /&gt;
* An [AS_NEEDED] succeedable position slot is manually created by the player while its succeeding position is already filled. [AS_NEEDED] positions must always be appointed after creation.&lt;br /&gt;
* The succeeding position is filled after the succeedable position becomes available. The moment of creation is the decisive trigger; filling the source position later is too late.&lt;br /&gt;
* The succeedable position can be appointed by another site or civ position with a fixed number of slots that has just been appointed. In this case, the succeedable position is just available for appointment itself, nothing more&lt;br /&gt;
* Any situation occurring during world generation.&lt;br /&gt;
* The succeeding position is [REPLACED_BY] the succeedable position. In this case, replacement removes the unit from the source position first, leaving no holder available for the succession mechanism to use.rst, leaving no holder available for the succession mechanism to use.&lt;br /&gt;
* The position is [APPOINTED_BY] a civ-level position, that just became a citizen of your fortress. It must be noted that those civ-level positions were active all that time and the succeedable position could be appointed even before. The monarchs arrival does not trigger premature succession&lt;br /&gt;
&lt;br /&gt;
=Losing a position=&lt;br /&gt;
&lt;br /&gt;
A unit can lose a position when:&lt;br /&gt;
* It dies&lt;br /&gt;
* It succeeds another position, even if it has nothing to do with the previous position.&lt;br /&gt;
* It is assigned to another SQUAD-holding position&lt;br /&gt;
* It is convicted of a crime.&lt;br /&gt;
* Another unit is ELECTED for the position&lt;br /&gt;
* Its position becomes replaced&lt;br /&gt;
* Another unit is appointed by the player, or the position is left vacant. &lt;br /&gt;
* It has assumed another position, as this always leaves the previous position vacant.&lt;br /&gt;
&lt;br /&gt;
=Embarkment=&lt;br /&gt;
Two types of positions are automatically filled by embark. &lt;br /&gt;
* Positions without [APPOINTED_BY] or [ELECTED] (assumable). All these positions, even with a NUMBER higher than 1, are all filled with one to three dwarves. Contrary to assumption, this doesn't take into account any limitations. REJECTED_CLASS, ALLOWED_CLASS, REJECTED_CREATURE, ALLOWED_CREATURE and GENDER are applied, but without the normal spread you may expect with assumptions. Also it doesn't look at [SUCCESSION] and [SQUAD] limitations.&lt;br /&gt;
* Positions that are elected are filled-in by the normal election rules.&lt;br /&gt;
&lt;br /&gt;
Positions that have a defined appointer are never initially filled at embark.&lt;br /&gt;
&lt;br /&gt;
All positions that don't have [REQUIRES_POPULATION]  or with a [REQUIRES_POPULATION] of 7 or lower, will be available at embark.&lt;br /&gt;
&lt;br /&gt;
=Land Holders=&lt;br /&gt;
&lt;br /&gt;
A Landholder is a '''special civ-level noble''' who gets a certain piece of land to hold, when that land is elevated to a certain level, determined by the tag [LAND_HOLDER] and by the landholder triggers in the game's settings. In vanilla, these are the baron, the count and the duke. &lt;br /&gt;
&lt;br /&gt;
A unit gaining the landholder position does not migrate to that specific named land. In world-gen, they stay just where they are, probably at the capital. In fortress mode, you can suggest a citizen for the role. So for the time being that works.&lt;br /&gt;
&lt;br /&gt;
Succession is then a real issue. If you use BY_HEIR, its solved when that landholder has children living at your site. But when its not the case, the title just goes to anyone randomly. Succession BY_POSITION works, but only in the civ-chain, and there's no way to guarantee a civ-holder is at your site at that time. Even with 'automatic spread' positions, it goes to one of them randomly.&lt;br /&gt;
&lt;br /&gt;
==Functioning of the regular landholder chain==&lt;br /&gt;
&lt;br /&gt;
The distinct difference between a landholder and a regular civ-level noble, is that a landholder may gain the position of landholder &amp;quot;of (sitename)&amp;quot; They are then seen as ruler of a particular site. &lt;br /&gt;
&lt;br /&gt;
For a land_holder position to function as such, it has a few requirements:&lt;br /&gt;
* NUMBER:AS_NEEDED &lt;br /&gt;
* The first landholder-number of 1 is defined. &lt;br /&gt;
* No SITE (so civ) tag in that position.&lt;br /&gt;
*REPLACED_BY the next level landholder&lt;br /&gt;
If a landholder is defined with differentiating properties, it will function like a regular noble. A higher-up landholder that lacks the required tokens or connections will then not be used in elevation. &lt;br /&gt;
&lt;br /&gt;
If a fortress meets the trigger for a new LAND_HOLDER tier when a caravan leaves, then the next time the outpost liaison or equivalent arrives, they will offer to make you an official colony, which will allow you to select all positions for that LAND_HOLDER level. Each time they appear, the outpost liaison will only promote your fortress one tier up the LAND_HOLDER track. &lt;br /&gt;
&lt;br /&gt;
The landholder's LAND_NAME is not required for the functioning of this system. If omitted, messages will be shown with a more generic text.&lt;br /&gt;
&lt;br /&gt;
==Appointment==&lt;br /&gt;
&lt;br /&gt;
This mechanism differs from the regular methods of position management. It ignores all regular appointment- and election rules, so it more or less functions like automatic assignment. A landholder is, in vanilla, appointed by the monarch. Changing this doesn't seem to do anything. If they are appointed by a site-position, a not-yet-existing civ-position, or not appointed at all: the system keeps working as usual. &lt;br /&gt;
&lt;br /&gt;
A landholder can appoint civ-positions and site positions. This works as expected: the positions only are appointed then when that landholder becomes available on civ-level or when he arrives at that site for site-level positions. &lt;br /&gt;
&lt;br /&gt;
If your rank of landholder is the first of its rank in the realm, and is the sole appointer of some civ-position, then immediately as it gains the title, it will appoint the empty civ-slots. This may happen on your site, but the frequency and certainty is hard to determine.&lt;br /&gt;
&lt;br /&gt;
==Succession==&lt;br /&gt;
&lt;br /&gt;
Succession rules are applied to some extent:&lt;br /&gt;
* In world-gen it works according to succession rules, and site-positions can be used here.  This means that a site position or a civ-position can inherit a landholder position, and vice versa.&lt;br /&gt;
* In fortress mode, once a landholder has been appointed, it then can inherit civ-level positions, and vice versa. This means that your baron can become king. &lt;br /&gt;
* Succession rules do not apply within the [LAND_HOLDER] chain; a count will not inherit a baron's land. This is because succession does not work well with the AS_NEEDED token.&lt;br /&gt;
* Premature succession works in fortress mode with landholders. If a unit gets a landholder's position and that landholder is the appointer of an as yet empty position, which is defined as succeeding from a third one, then the succession is immediately applied. The landholder themselves can even be the successor of a newly created position.&lt;br /&gt;
* A landholder's position is, in fortress mode, not successionable by a site-position or vice versa&lt;br /&gt;
&lt;br /&gt;
===Impossibilities for succession by a site-position===&lt;br /&gt;
It would be very beneficial if the landholder can be succeeded by a [SITE]-position. So far, the following tests have not lead to positive results:&lt;br /&gt;
* making landholder and site-position both non-[DUTY_BOUND]&lt;br /&gt;
* make the site-position be [APPOINTED_BY] the landholder and/or the monarch&lt;br /&gt;
* give landholder and site-position [REJECTED_CREATURE]&lt;br /&gt;
* Let the monarch live at your site when succession could happen.&lt;br /&gt;
* Let the site-position be [REPLACED_BY] the landholder.&lt;br /&gt;
&lt;br /&gt;
==Nomination==&lt;br /&gt;
&lt;br /&gt;
The player is able to nominate a unit to become the LAND_HOLDER, but this only works with units of [LAND_HOLDER] level 1. The player can select all units, only limited by the PRECEDENCE of the current units' positions.&lt;br /&gt;
&lt;br /&gt;
A unit that has a position with a PRECEDENCE lower or equal to that of the landholder's position, cannot be selected. This means that a baron (or count) from another site or the monarch cannot be selected, because their precedence is lower or equal. &lt;br /&gt;
&lt;br /&gt;
The GENDER  token does not work here: also units with the wrong gender (sorry) can be selected.&lt;br /&gt;
&lt;br /&gt;
==Levels==&lt;br /&gt;
In mods, up to 10 levels of LAND_HOLDER may be defined. &lt;br /&gt;
&lt;br /&gt;
If a landholder is replaced by a wrong landholder number (1 replaced by 3), then the number 3 is still correctly attached to the settlement. &lt;br /&gt;
&lt;br /&gt;
If the current landholder has the highest available landholder number, then the next elevation will not happen - the diplomat will not elevate your fortress to a higher position, even if that position might be REPLACED_BY a lower landholder. &lt;br /&gt;
&lt;br /&gt;
These chains do work:&lt;br /&gt;
* 1 -&amp;gt; 2a - &amp;gt; 2b -&amp;gt; 3&lt;br /&gt;
* 1 -&amp;gt; 3 -&amp;gt; 2 -&amp;gt; 4&lt;br /&gt;
&lt;br /&gt;
These chains do not work:&lt;br /&gt;
* 2 -&amp;gt; 3 (need to start at 1)&lt;br /&gt;
* 1 -&amp;gt; 4 -&amp;gt; 2 -&amp;gt; 3 (stops after 4 as the highest)&lt;br /&gt;
* 1a -&amp;gt; 2, 1b -&amp;gt; 2 (only 1a and 2 work, 1b is not used)&lt;br /&gt;
&lt;br /&gt;
==Moving landholders==&lt;br /&gt;
&lt;br /&gt;
It may happen that a land-holder no longer lives at the site which they are the landholder of, specifically when the current landholder dies, leaving the title to an heir living somewhere else. &lt;br /&gt;
&lt;br /&gt;
To prevent this from happening, you can make their succession from heir and make sure that their kids live at your site. Or, you can make their position succeeded by another civ position, and make it so that this civ position is somehow available on your site. But if multiple of these positions exist, it cannot be guaranteed that a citizen of your fortress will inherit the title. &lt;br /&gt;
&lt;br /&gt;
In world gen, a landholder lacking the DUTY_BOUND-token will also move to the site they like, according to legends mode.&lt;br /&gt;
&lt;br /&gt;
==Replacement by a generic civ-position==&lt;br /&gt;
&lt;br /&gt;
If a landholder is replaced by an AS_NEEDED non-landholder civ-position, then this will work: the current landholder loses that title upon settlement-elevation and gains that civ-title. However, the civ-title lacks the landholder-property of being attached to the land. It will not show the name of the settlement alongside the position's name. So no &amp;quot;minister of Shovelmounts&amp;quot;&lt;br /&gt;
&lt;br /&gt;
If a landholder is replaced by a general AS_NEEDED civ-position, that itself is also replaced by a generic AS_NEEDED civ-position, then firstly the elevation is executed and also the unit gains that new position. However, he immediately loses it, because an AS_NEEDED position that is replaced by another position can be filled initially, but units wont be able to hold that title.&lt;br /&gt;
&lt;br /&gt;
==Landholder with fixed number==&lt;br /&gt;
&lt;br /&gt;
A landholder's position that has a fixed number will be created and filled directly when the civilisation is born, so this position slot is then not available for the regular landholder-mechanic and will also not be used. That landholder will thus not be attached to a settlement. &lt;br /&gt;
&lt;br /&gt;
It doesn't matter if the landholder's position is connected to the regular landholder's-chain with the REPLACE_BY token.&lt;br /&gt;
&lt;br /&gt;
==Responsibilities==&lt;br /&gt;
&lt;br /&gt;
When given a certain [RESPONSIBILITY], a landholder may function as a regular civ-level noble. If the position has [TRADE] or [OUTPOST_NEGOTIATING] responsibilities, then the landholder functions both as a diplomat and as an actual land holder. A landholder with the [MILITARY_STRATEGY]  responsibility will travel around taming creatures in world-gen, according to legends mode. &lt;br /&gt;
&lt;br /&gt;
Besides that, the responsibilities work the same as with any other on-site living position-holder, civ or otherwise.&lt;br /&gt;
&lt;br /&gt;
=Military=&lt;br /&gt;
==Squad management==&lt;br /&gt;
In the vanilla game, the Squad interface only becomes available after a militia commander has been appointed. Until then, the window displays:{{DFtext|You must appoint somebody first to create a squad.}}&lt;br /&gt;
&lt;br /&gt;
What’s surprising is how this is determined internally. In the entity raw definition, '''only the last two positions that include a [SQUAD] token are checked''' to decide whether the interface is accessible at all. As a result, if your hierarchy defines commanders A through E, appointing '''Commander D or E''' unlocks squad formation, while appointing A–C does nothing.&lt;br /&gt;
&lt;br /&gt;
In other words, squad availability is not tied to ''having a militia commander'', but to ''which specific positions happen to be last in the raw list''—a notably hacky implementation.&lt;br /&gt;
&lt;br /&gt;
These 'last two' are always the last two '''available positions.''' So if they get [REPLACED_BY] or become available because of [REQUIRES_POPULATION], the game adapts to those.&lt;br /&gt;
&lt;br /&gt;
==Squad assignment==&lt;br /&gt;
&lt;br /&gt;
Squads can be assigned, even if the leader position has no holder.&lt;br /&gt;
&lt;br /&gt;
A specific unit can only have one position associated with a squad. If it gains another 'squad holding position', it is unassigned from the first one. This does not work with a 0-squad, so only 1+squads are taken into consideration. This technique can possibly be used to distribute all positions equally among all citizens. It does however not work with election and assumption. &lt;br /&gt;
&lt;br /&gt;
If a civ-level position is associated with a squad and it gets a site-level squad-holding position assigned, it loses the current civ-position. &lt;br /&gt;
&lt;br /&gt;
Squads can get really messed up, if you make the position (or multiple) either elected or not-elected and not-appointed, then this can cause the game to assign multiple squads to the same unit. Automatic assignment and election does not take squads into account, but the nobles screen does. This can cause the positions to be cleared as the game figures out that they have more than one position, and immediately get elected or assumed again. &lt;br /&gt;
&lt;br /&gt;
Positions that cannot have a squad-position:&lt;br /&gt;
* A site- or civ-position with a [SUCCESSION] token cannot be appointed a squad-holding-position. The other way around, however, does work. For example, if a site-position with a [SUCCESSION]-token is appointed to a unit that has already a position with [SQUAD]. But when that squad position is assigned to another unit, it cannot be assigned back. &lt;br /&gt;
* A position with [SUCCESSION] can also not be assigned as a '''member''' of a squad.&lt;br /&gt;
* A squad-holding position with a formed squad cannot be appointed to another squad holding position.&lt;br /&gt;
&lt;br /&gt;
If a position has at least one squad member, it cannot be left vacant. First, the squad has to be disbanded, then the position may be cleared.&lt;br /&gt;
&lt;br /&gt;
==0-squads==&lt;br /&gt;
A 0-Squad is defined in a position as [SQUAD:0:member:members]. It does not seem to do anything useful as of now.&lt;br /&gt;
* It cannot be used to activate the [[Squad|military interface]]&lt;br /&gt;
* It does not restrict the assignment of [SUCCESSION] positions.&lt;br /&gt;
* Assigning this position does not clear any previously held squad position.&lt;br /&gt;
* The [[Leader]] and [[Tactician]] skill are not marked as relevant skills and are not taken into account in elections.&lt;br /&gt;
* It cannot be formed as a squad.&lt;br /&gt;
&lt;br /&gt;
=Further testing=&lt;br /&gt;
The following questions may need additional testing. Feel free to add or answer&lt;br /&gt;
* Everything regarding COMMANDING and army-structure&lt;br /&gt;
** [http://www.bay12forums.com/smf/index.php?topic=175437.msg8331668#msg8331668]&lt;br /&gt;
** [http://www.bay12forums.com/smf/index.php?topic=165213.msg8335682#msg8335682]&lt;br /&gt;
** [http://www.bay12forums.com/smf/index.php?topic=174584.msg8026854#msg8026854]&lt;br /&gt;
* Everything regarding CONQUERED_SITE, but it is presumably just like site. But what if you combine SITE or LAND_HOLDER with it?&lt;br /&gt;
* Stuff about the monarch, its arrival and its entourage.&lt;br /&gt;
&lt;br /&gt;
=Oddities (Bugs)=&lt;br /&gt;
Almost everything on this page could be called an oddity. Because of their unexpected usability, some may also be referred to as “undocumented features.” Others, however, are simply odd and not particularly useful, yet I hesitate to call them “bugs.”&lt;br /&gt;
* If a certain threshold is reached that makes an elected position electable, and the triggering event that initiates this evaluation is an assumption, then the resulting assumption is also referred to in the messages as an election&lt;br /&gt;
&lt;br /&gt;
=Examples=&lt;br /&gt;
&lt;br /&gt;
===The Founder===&lt;br /&gt;
The founder is a single dwarf, appointed at embark. They will be the only one ever to have this position and are not replaceable. When they lose their position some way, the position will not be assumed by another dwarf. &lt;br /&gt;
{{gamedata|title=The Founder|&lt;br /&gt;
[POSITION:THE_FOUNDER]&lt;br /&gt;
	[NAME:the founder:founders]&lt;br /&gt;
	[NUMBER:1] &lt;br /&gt;
	[SITE]&lt;br /&gt;
	[ALLOWED_CREATURE:DWARF:ALL]		- will only be filled at embark, but not assumable later.&lt;br /&gt;
	[REJECTED_CREATURE:DWARF:ALL]		- will only be filled at embark, but not assumable later.&lt;br /&gt;
	[SUCCESSION:BY_POSITION:THE_FOUNDER]	- not unassignable, also cannot be assigned to a [SQUAD] position.&lt;br /&gt;
	[PRECEDENCE:200] &lt;br /&gt;
	Non APPOINTED_BY&lt;br /&gt;
	Non ELECTED&lt;br /&gt;
	Optional: Add responsibilities to make the game select a unit with certain skills.&lt;br /&gt;
}}&lt;br /&gt;
===Marriage bar===&lt;br /&gt;
Dwarven matrons are held in great honour. Upon marriage, a female dwarf is no longer expected to perform menial labour. All dwarven males hold this position by default, granting their spouses exemption from menial work.&lt;br /&gt;
&lt;br /&gt;
The position becomes available with the arrival of the first migrants; otherwise, on embark, it would be assumed by females. Its succession rule is non-functional, but this prevents the player from unassigning the position. A squad size of 1 and the succession rules together prevent a unit from assuming the position more than once.&lt;br /&gt;
&lt;br /&gt;
With precedence set to NONE, the position name is hidden, while LAND_NAME remains visible on the nobles screen. All married females receive the suffix “, Mrs.” and are marked as Nobles.&lt;br /&gt;
&lt;br /&gt;
The practical usefulness of this position is debatable, but it serves as a clear demonstration of several mechanics.&lt;br /&gt;
{{gamedata|title=Mrs. Urist|&lt;br /&gt;
 &lt;br /&gt;
[POSITION:MRS_URIST]	&lt;br /&gt;
	[NUMBER:300]						&lt;br /&gt;
	[SITE]						&lt;br /&gt;
	[ALLOWED_CREATURE:DWARF:MALE]	&lt;br /&gt;
	Not APPOINTED_BY				&lt;br /&gt;
	Not ELECTED&lt;br /&gt;
	[LAND_NAME:Dwarven male]				&lt;br /&gt;
	[NAME:dwarven male:dwarven male]&lt;br /&gt;
	[PRECEDENCE:NONE]					&lt;br /&gt;
	[SPOUSE_FEMALE:, Mrs.:spouses]&lt;br /&gt;
	[MENIAL_WORK_EXEMPTION_SPOUSE]&lt;br /&gt;
	[REQUIRES_POPULATION:8]			&lt;br /&gt;
	[SUCCESSION:BY_POSITION:MONARCH]&lt;br /&gt;
	[SQUAD:1:member:members]&lt;br /&gt;
}}&lt;br /&gt;
===The Archduke===&lt;br /&gt;
The archduke is the leader of the civilization, but exists only from landholder 4-level. Until then, its position remains vacant. When a settlement is elevated to tier 4 (grand duke), the grand duke can appoint the ruler of the civilisation, the archduke. Because of 'Premature Succession', they themself inherit that position immediately, but only when in fortress mode. Its heir then becomes grand duke.&lt;br /&gt;
{{gamedata|title=The Archduke| no POSITION:MONARCH or other PRECEDENCE:1 &lt;br /&gt;
&lt;br /&gt;
[POSITION:THE_ARCHDUKE]&lt;br /&gt;
	[NAME:archduke:archdukes]&lt;br /&gt;
	[NAME_MALE:archduke:archdukes]&lt;br /&gt;
	[NAME_FEMALE:archduchess:archduchesses]&lt;br /&gt;
	[LAND_NAME:a archduchy]&lt;br /&gt;
	[NUMBER:1] &lt;br /&gt;
	[PRECEDENCE:1] &lt;br /&gt;
	[SUCCESSION:BY_POSITION:GRAND_DUKE]	&lt;br /&gt;
	[APPOINTED_BY:GRAND_DUKE]&lt;br /&gt;
	(add additional monarch-stuff, like spouse name, demands etc.)&lt;br /&gt;
	&lt;br /&gt;
[POSITION:GRAND_DUKE]&lt;br /&gt;
	[NAME:grand duke:grand dukes]&lt;br /&gt;
	[NAME_MALE:grand duke:grand dukes]&lt;br /&gt;
	[NAME_FEMALE:grand duchess:grand duchesses]&lt;br /&gt;
	[NUMBER:AS_NEEDED] &lt;br /&gt;
	[LAND_HOLDER:4]&lt;br /&gt;
	// Optional ...&lt;br /&gt;
	[PRECEDENCE:19]	&lt;br /&gt;
	[LAND_NAME:a archduchy] &lt;br /&gt;
	[RESPONSIBILITY:LAW_MAKING]&lt;br /&gt;
	[RESPONSIBILITY:RECEIVE_DIPLOMATS]&lt;br /&gt;
	[SUCCESSION:BY_HEIR]&lt;br /&gt;
	[APPOINTED_BY:THE_ARCHDUKE]&lt;br /&gt;
	(add additional landholder-stuff)&lt;br /&gt;
&lt;br /&gt;
!!add to [POSITION:DUKE]&lt;br /&gt;
	[REPLACED_BY:GRAND_DUKE]&lt;br /&gt;
&lt;br /&gt;
}}&lt;br /&gt;
{{Category|Modding}}&lt;br /&gt;
{{Category|Entities}}&lt;br /&gt;
{{Category|Guides}}&lt;/div&gt;</summary>
		<author><name>Joostheger</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=Advanced_entity_position_mechanics&amp;diff=314915</id>
		<title>Advanced entity position mechanics</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=Advanced_entity_position_mechanics&amp;diff=314915"/>
		<updated>2026-02-12T08:30:36Z</updated>

		<summary type="html">&lt;p&gt;Joostheger: /* [PRECEDENCE] */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Quality|Fine}}&lt;br /&gt;
{{Modding}}&lt;br /&gt;
&lt;br /&gt;
= Introduction = &lt;br /&gt;
&lt;br /&gt;
[http://www.bay12forums.com/smf/index.php?topic=182239.0 Discussion thread on the forum]&lt;br /&gt;
&lt;br /&gt;
This page documents observed and tested behavior of entity positions in Dwarf Fortress that is not fully described elsewhere on the wiki. It focuses on advanced interactions between position tokens, including appointment, succession, election, and responsibility handling, across both civilization-level and site-level entities.&lt;br /&gt;
&lt;br /&gt;
The mechanics described here are based on empirical testing in world generation and fortress mode, supplemented where necessary by raw analysis. In several cases, the game’s behavior is determined by evaluation order and interaction between multiple tags, rather than by individual tokens in isolation.&lt;br /&gt;
&lt;br /&gt;
This page is intended for modders and advanced players who are designing or debugging custom entity position structures. It does not restate basic position mechanics, but instead highlights edge cases, non-obvious interactions, and behaviors that may appear inconsistent or undocumented.&lt;br /&gt;
&lt;br /&gt;
Unless stated otherwise, the described behavior applies to current versions of the game and may differ from older releases.&lt;br /&gt;
&lt;br /&gt;
==What is an entity? What is a position?==&lt;br /&gt;
An [[entity]] is an organizational structure that can have relationships with other entities, usually known as a [[civilization]] or a &amp;quot;[[site]] government&amp;quot; in the game, but merchant [[guild]]s, religious organizations, necromancer towers, and [[bandit]] groups are also entities. An entity can have positions - in most cases, these are hardcoded and generated by the game, but as for civilizations and sites, the [[raw file]]s can be customised.&lt;br /&gt;
&lt;br /&gt;
A position is a special relationship between a unit and an entity. The unit holding a position has a larger influence over that entity than other citizens. Positions are mostly known as [[nobles]], but in this article. the technical term is used.&lt;br /&gt;
&lt;br /&gt;
=Position levels (Site/Civ) and their interaction=&lt;br /&gt;
There are two basic types of positions that are customizable: '''civ(ilization)''' level and '''site level'''. Positions with the tag [SITE] are at site level, positions without the tag [SITE] are at 'civ level'. These two types of nobles can be considered '''loosely related systems'''. There are a few places where they can interact with each other.&lt;br /&gt;
&lt;br /&gt;
Civ-level positions are in charge of the civilization as a whole, managing national [[trade]], laws, and [[war]]s. These are, for example, the vanilla [[monarch]], [[diplomat]] and [[general]]. (Note that the general doesn't do anything in either mode in the current version.)&lt;br /&gt;
&lt;br /&gt;
'''[LAND_HOLDER]''' nobles are also positions at civ-level. These units are members of the national government, but have gained authority over some land or site. Once they do, they move to that place, but their position is still regarded as a civ-level position.&lt;br /&gt;
&lt;br /&gt;
Site-level position holders are members of a site government (subsidiary to the civilization), and manage local affairs in that location. These are, for example, the [[mayor]], the [[sheriff]] and the [[broker]].&lt;br /&gt;
&lt;br /&gt;
==Table of interaction between different position levels==&lt;br /&gt;
In this table, the possible interactions between different position levels are summarized. &lt;br /&gt;
The header row shows the positions defining the tokens.&lt;br /&gt;
&lt;br /&gt;
The left column shows the position type that is referred to.&lt;br /&gt;
Example:  &lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! referred position-type&lt;br /&gt;
! LAND_HOLDER&lt;br /&gt;
|-&lt;br /&gt;
| civilization&lt;br /&gt;
|  &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;(baron is) APPOINTED_BY:MONARCH&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
color coding: &amp;lt;/br&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;Exists in vanilla&amp;lt;/span&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;Possible with mods&amp;lt;/span&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;Not possible&amp;lt;/span&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;possible to some extent.&amp;lt;/span&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;not yet fully investigated.&amp;lt;/span&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! referred position-type&lt;br /&gt;
! Civilization&lt;br /&gt;
! SITE&lt;br /&gt;
! LAND_HOLDER&lt;br /&gt;
! CONQUERED_SITE&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Civilization&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;SUCCESSION '''(1)'''&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| SITE&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;SUCCESSION '''(2)'''&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;APPOINTED_BY '''(3)'''&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;SUCCESSION '''(4)'''&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| LAND_HOLDER&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY '''(6)'''&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;SUCCESSION '''(5)'''&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;REPLACED_BY '''(7)'''&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;SUCCESSION '''(8)'''&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;CONQUERED_SITE&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; COMMANDER &amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; REPLACED_BY &amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt; SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; COMMANDER &amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; REPLACED_BY &amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt; SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; COMMANDER &amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; REPLACED_BY &amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; COMMANDER &amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; REPLACED_BY &amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Remarks:&lt;br /&gt;
# Works only in world-gen, if a unit with that civ-position is present at the site.&lt;br /&gt;
# Works only in world-gen, the site-position holding unit will then move to the capital.&lt;br /&gt;
# Is completely ignored&lt;br /&gt;
# Works only in world-gen.&lt;br /&gt;
# Works only in world-gen.&lt;br /&gt;
# Won't appear at all&lt;br /&gt;
# This is necessary for the landholder chain to work properly, it doesn’t work otherwise.&lt;br /&gt;
# This works only outside of the landholder chain, so when landholders are simply regarded as civ-level nobles. might also work in world-gen&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
== Other interactions ==&lt;br /&gt;
&lt;br /&gt;
Unfortunately, interactions with positions of other entities don't seem possible, such as APPOINTED_BY: HIGH_PRIEST. With [VARIABLE_POSITIONS], positions are automatically created with codes like CUSTOM_LAW_MAKER_2, but interaction with these positions don't seem to work, either. For more info on those, see [[Variable positions]]&lt;br /&gt;
&lt;br /&gt;
=General=&lt;br /&gt;
&lt;br /&gt;
==Civ-level nobles living at your site==&lt;br /&gt;
Nobles from your civilization can come to live at your fortress. This happens in vanilla with landholders such as [[Baron]], [[Count]] and [[Duke]], with the Monarch, but sometimes also with non-landed LAND_HOLDERS.&lt;br /&gt;
&lt;br /&gt;
When a civ-level noble becomes a [[citizen]] at your location, their position is shown among the site-level positions in your [[nobles screen]]. They appear to function as a site-level noble. They may have [[demand]]s, [[mandate]]s, [[squad]]s and the like. They can appoint nobles at the site-level.&lt;br /&gt;
&lt;br /&gt;
If they have certain [RESPONSIBILITY]ies, they do the tasks that go with them.&lt;br /&gt;
&lt;br /&gt;
==Fortress mode, world-gen and their differences==&lt;br /&gt;
Their are a few differences in how positions function between fortress mode (normal play mode) and the world generation (world-gen). &lt;br /&gt;
&lt;br /&gt;
In '''fortress mode''', the player has some control over the appointment of nobles, limited by elections, automatic filled-in positions and succession rules. Pre-fortress mode, which is referred to as '''world-gen''', the game will always attempt to assign nobles whenever possible. It is subjected to the same rules as in fortress-mode, but there are some exceptions. In '''[[World activities]]''', which is the thing that happens in the world while you play fortress mode, it seems as if the same rules are applied as fortress mode. &lt;br /&gt;
&lt;br /&gt;
A difference between player-fortress-mode and world-gen, is causes by visibility (see below). Positions that are not visible by the player and thus not available for assignment, will be available in world-gen and will thus be automatically assigned.&lt;br /&gt;
&lt;br /&gt;
In fortress mode, a position that is both [ELECTED] and [APPOINTED_BY], cannot be appointed by the player and is also not elected, and can thus not be filled. But in world-gen sites however, these positions are automatically filled.&lt;br /&gt;
&lt;br /&gt;
Positions with [AS_NEEDED] are almost never created and filled in world-gen (depending on their [RESPONSIBILITY]ies), but can always be used in player mode.&lt;br /&gt;
&lt;br /&gt;
A position can, in fortress mode, be filled by the same unit. A unit can gain multiple positions in fortress mode, for example because of [[elections]]. This will not happen in world-gen mode: a unit can only have one position. See also remarks on 'embark' and 'Losing a position'.&lt;br /&gt;
&lt;br /&gt;
In world-gen, [SUCCESSION] between civ-levels and [SITE-]levels may happen. This will not happen in fortress mode, or even off-site in [[World activities]].&lt;br /&gt;
&lt;br /&gt;
In fortress mode, premature SUCCESSION may happen. This will not happen in world-gen mode.&lt;br /&gt;
&lt;br /&gt;
==Units holding multiple positions in multiple entities==&lt;br /&gt;
A unit can hold multiple positions in its civilisation or in its site-entity, however this does not happen in world-gen. Only at player-managed sites can units be holding multiple positions at once. (It is probably not possible for a unit to hold a position in two different civilisations or two different sites.)&lt;br /&gt;
&lt;br /&gt;
In world-gen, if there are too many positions to be filled, they simply stay empty until more units are available. E.G, a unit at a site might inherit a civ-level position and still remain a member of the local government. When this happens however, they move to the capital. If a unit gains a new position, either inherited or otherwise, it drops the previous one. If a unit assumes a civ-position in fortress mode, it leaves the current position. &lt;br /&gt;
&lt;br /&gt;
If a unit holds the same (site-)position multiple times, it has no additional effect.&lt;br /&gt;
&lt;br /&gt;
If a unit holds multiple different positions of the same entity, it has all those positions' responsibilities and properties, stacked up. Presumably, the demands for those combined positions are determined by the highest.&lt;br /&gt;
 &lt;br /&gt;
A unit holding a position with a succession token can be assigned another position with a (different) succession token. &lt;br /&gt;
&lt;br /&gt;
A unit holding a position with a squad-position cannot hold another squad-position. It is dropped from the first, when it gets its second assigned. &lt;br /&gt;
A unit holding a position with a succession token cannot be assigned to a squad-position - the unit is simply not available. It works the other way around, though.&lt;br /&gt;
&lt;br /&gt;
=Specific Tags=&lt;br /&gt;
==[PRECEDENCE]==&lt;br /&gt;
The first defined position with precedence of 1 counts as the ruler of the civ. See also: [[Position_token#PRECEDENCE|PRECEDENCE]]. &lt;br /&gt;
&lt;br /&gt;
If the precedence is omitted or has a negative value, the game sets 0 as precedence, which seems to have no effect whatsoever.&lt;br /&gt;
&lt;br /&gt;
When a unit has multiple positions, the name of the position with the highest rank in precedence is shown behind the unit's name.&lt;br /&gt;
&lt;br /&gt;
If you omit precedence entirely, or set it to [PRECEDENCE:NONE], the position name will not be shown after the unit’s name. Your *Urist Mason* will remain simply *Mason*. This can be useful for positions that are unimportant or purely functional. The position will also not appear in the civilisation overview of your site on the world map. The position name is shown in messages, but remains hidden on the nobles screen as well. To make it visible there, use [LAND_NAME].&lt;br /&gt;
&lt;br /&gt;
=[RESPONSIBILITY]ies=&lt;br /&gt;
Both civ and [SITE] positions can carry responsibilities. However, not all responsibilities are active for both types: some function only for civ positions, others only for site positions. When a civ noble arrives at a site and takes up residence, they do not perform responsibilities that are intended for SITE nobles. As a result, these responsibilities neither trigger their associated tasks nor unlock related game mechanics. For example, a civ-level manager living in a fortress will not perform management duties there and doesn't unlock the management-screen, even with an assigned office. &lt;br /&gt;
This behavior applies to the following [SITE]-level responsibilities:&lt;br /&gt;
* [RESPONSIBILITY:ACCOUNTING]&lt;br /&gt;
* [RESPONSIBILITY:BUILD_MORALE]&lt;br /&gt;
* [RESPONSIBILITY:HEALTH_MANAGEMENT]&lt;br /&gt;
* [RESPONSIBILITY:LAW_ENFORCEMENT]&lt;br /&gt;
* [RESPONSIBILITY:MANAGE_PRODUCTION]&lt;br /&gt;
* [RESPONSIBILITY:MEET_WORKERS]&lt;br /&gt;
* [RESPONSIBILITY:TRADE]  (functions differently)&lt;br /&gt;
Other responsibilities may be affected as well, but have not yet been fully tested.&lt;br /&gt;
&lt;br /&gt;
==[DELIVERS_MESSAGES]==&lt;br /&gt;
The only [AS_NEEDED]-position that is created in worldgen based on responsibility is that of the site-level responsibility [DELIVERS_MESSAGES].&lt;br /&gt;
&lt;br /&gt;
==Outpost Liaisons and Diplomats==&lt;br /&gt;
Civ-positions with the responsibility [ESTABLISH_COLONY_TRADE_AGREEMENTS] ([[Outpost_Liaison|Outpost Liaison]]s) will meet with the site-noble who has responsibility for [RECEIVE_DIPLOMATS] and the highest rank of precedence (i.e. the lowest precedence value). Usually this is the [[Expedition_leader|Expedition leader]].&lt;br /&gt;
&lt;br /&gt;
Once a [LAND_HOLDER] is assigned to the site, civ-positions with the responsibility [MAKE_TOPIC_AGREEMENTS] ([[Diplomat]]s) will meet with '''civ'''-level nobles present at the site who have the [RECEIVE_DIPLOMATS] responsibility. If multiple eligible nobles are available, one is selected at random. If no eligible noble is present, the diplomat leaves angrily. If the landholder is no longer present at the site, diplomats will not arrive at all.&lt;br /&gt;
&lt;br /&gt;
It appears that Outpost Liaisons and Diplomats are chosen for a diplomatic mission based on availability. When multiple candidates exist, the position defined last in the raws is most often selected.&lt;br /&gt;
&lt;br /&gt;
==[TRADE]==&lt;br /&gt;
Civ-level nobles with [TRADE] will arrive with the caravan, just as the Outpost Liaison. Their behavior is no longer active in the vanilla game, but the mechanics are still present. See [[40d:Guild_representative|Guild representative]] for more details. This civ-noble will only meet with the SITE noble with [TRADE], usually the [[Broker]].&lt;br /&gt;
&lt;br /&gt;
If two civ-nobles exist with both [TRADE] and [ESTABLISH_COLONY_TRADE_AGREEMENTS], they both arrive at the same time. Even if both tokens are assigned to a single position, if more than one instance of that position exists, two of them will arrive. However in that case, somehow the elevation of the site and appointment of landholder isn't offered.&lt;br /&gt;
&lt;br /&gt;
If the SITE-noble they intend to meet has both [TRADE] and [RECEIVE_DIPLOMATS], only one meeting will proceed and the other is cancelled. However, when two SITE-nobles are available, each with either [TRADE] or [RECEIVE_DIPLOMATS], both meetings will proceed and both civ-nobles will attempt to negotiate a trade agreement. It is not known what happens if these agreements are accepted or refused.&lt;br /&gt;
&lt;br /&gt;
In the trade depot, the last defined position with the [TRADE] responsibility is shown as broker. However when requesting a trader, the first defined position with [TRADE] will actually go there to do the trade.&lt;br /&gt;
&lt;br /&gt;
==World-gen effects of the [RESPONSIBILITY] of available positions ==&lt;br /&gt;
It is possible to cause civs and individual sites to change their behavior substantially when they reach a certain size, by controlling nobles. &lt;br /&gt;
* If a site can only appoint a position with [MILITARY_GOALS] after reaching a particular size, that site will not send armies on missions until the required size is reached.&lt;br /&gt;
* A civ-level [LAW_MAKING] position is required for the civilization to have any kind of cohesion. Without it, sites will be constantly embroiled in territorial disputes and civil wars will be commonplace.&lt;br /&gt;
* [MILITARY_STRATEGY] positions go out and tame wild animals. This makes your civ gain those animals as domesticated and also brings them in sieges.&lt;br /&gt;
* The [[Personality_facet|Personality]] of the position's holder determines how they lead the civ.&lt;br /&gt;
&lt;br /&gt;
=Availability and visibility=&lt;br /&gt;
==Availability of (new) positions==&lt;br /&gt;
Warning: Do not mistake &amp;quot;availability&amp;quot; for &amp;quot;visibility&amp;quot;! &lt;br /&gt;
&lt;br /&gt;
Of all the possible positions existing in your site's entity, there may only be some available. &lt;br /&gt;
* Positions with [REQUIRES_POPULATION] require the population to have a specific size.&lt;br /&gt;
* Positions with [REQUIRES_MARKET] will only appear in &amp;quot;large&amp;quot; sites (which may have different rules for different site types). This tag has no effect in fort mode.&lt;br /&gt;
* Positions that are appointed by positions that have an AS_NEEDED number. The appointable positions only become available after an appointer position-slot is created. This works also on civ-level. If a position is appointed by a Land-holder, it only becomes available, when that level of landholder is created. &lt;br /&gt;
	&lt;br /&gt;
Only the replaced positions are culled and are no longer available. &lt;br /&gt;
A position that requires a certain population will become available, even if it doesn't have [APPOINTED_BY] or [ELECTED]. In that case, see 'automatic assignment' and 'assumption'&lt;br /&gt;
&lt;br /&gt;
In fortress mode, in some cases 'succession' is evaluated immediately after a position becomes available. See: Succession.&lt;br /&gt;
==Visibility of positions==&lt;br /&gt;
A position might be available, but can still be invisible for the player in the [[nobles screen]]. The positions with their respective holders are visible for players:&lt;br /&gt;
* All site-positions that are already filled-in (even if they could not be re-filled-in considering current conditions)&lt;br /&gt;
* Site positions that are appointable by a filled-in site position&lt;br /&gt;
* Site positions that are appointable by a filled-in civ position, when that civ positions holder becomes a citizen of your fortress.&lt;br /&gt;
* Civ positions of units that are also a citizen of your fortress.&lt;br /&gt;
If a position becomes available, for example because a certain pop number has been reached, or if it is available from the start(like expedition leader), as long as it cannot be appointed, it still is INVISIBLE for the player. &lt;br /&gt;
&lt;br /&gt;
It might strike someone as odd if a position becomes filled automatically in fortress mode when that position is not even visible. This might be the case if the current holder of a non-appointable position dies or succeeds another position. Regardless of player visibility, these positions will be automatically filled in if the necessary requisitions are met. It might happen with the expedition leader.&lt;br /&gt;
&lt;br /&gt;
A situation with a non-visible but available position, is for example when a position is solely appointed by the expedition leader, when the expedition leader's position is left vacant. It can no longer be appointed by the player and is invisible. Then, it gets automatically assumed, proving that the position still was available.&lt;br /&gt;
&lt;br /&gt;
A position that is both [APPOINTED_BY] and [ELECTED] is visible, but players cannot interact with it.&lt;br /&gt;
&lt;br /&gt;
=[NUMBER]=&lt;br /&gt;
A position might be defined with a number. In that case, as many as defined can be available. If the positions become available, in world-gen and when embarking, they are all filled-in completely.&lt;br /&gt;
&lt;br /&gt;
If the ruling position (with PRECEDENCE of 1) has a NUMBER higher than 1, a random unit of the ones holding these positions is shown as ruler in the embark screen.&lt;br /&gt;
&lt;br /&gt;
A [NUMBER] of 0 (zero) has the same effect as 1.&lt;br /&gt;
&lt;br /&gt;
==Automatic spreading of assumed, non-singular positions==&lt;br /&gt;
If there are civ positions that have a NUMBER higher then '1' and which are assumed (not APPOINTED_BY or ELECTED) but are '''not DUTY_BOUND''', these are automatically spread among the civilisation, based on population. If there are a number of '''20''' available slots of that position, they spread among a civilization with a combined population of, for example, 1000 of which your fortress has 100 (10%), '''2''' of your fortress' citizens will assume that position. &lt;br /&gt;
This may probably also work with elected and appointed positions, but that may be depending on the death of the current holders and this needs more testing. Assumption works within a day, anyway. &lt;br /&gt;
&lt;br /&gt;
==[AS_NEEDED]==&lt;br /&gt;
These positions can be created automatically by the game in world-gen. This, however, only works with: &lt;br /&gt;
* [LAND_HOLDER]'s&lt;br /&gt;
* squad commanders (needs more testing)&lt;br /&gt;
* Messengers at sites&lt;br /&gt;
&lt;br /&gt;
For all other types of positions, they're not created in world-gen, even if they are defined with RESPONSIBILITY's. For example, even in war, the game wouldn't create a MILITARY_GOALS position, if they have AS_NEEDED as number. &lt;br /&gt;
&lt;br /&gt;
However, in fortress mode / player mode, these positions can be created by the player at will.&lt;br /&gt;
&lt;br /&gt;
Positions with AS_NEEDED need to be created first, before any symbols are assignable as 'symbols' (objects) for the position holder to carry or wear.&lt;br /&gt;
&lt;br /&gt;
Positions with AS_NEEDED cannot be created and then ELECTED in fortress mode. It only works with APPOINTED_BY.&lt;br /&gt;
&lt;br /&gt;
=Replacement and Required Population=&lt;br /&gt;
&lt;br /&gt;
The token REPLACED_BY:position means that once the replacing position reaches its required population-number, the 'to-be-replaced' position will disappear. This is defined in REQUIRES_POPULATION. These tags are closely related to each other and seem to only have a meaningful function if combined. Nobles with REQUIRES_POPULATION require the population to have a specific size. &lt;br /&gt;
&lt;br /&gt;
This works on the civ-level as well as on site-level, but those systems are in this mechanic strictly separated. Site-level positions cannot be replaced by civ-level positions and visa versa. This makes sense, because they both depend on their own population-count. When using REQUIRES_POPULATION on civ-level, it counts the total population of the civilisation. &lt;br /&gt;
&lt;br /&gt;
See also: [[Advanced_entity_position_mechanics#Evaluation_of_Positions|Evaluation of positions]]&lt;br /&gt;
&lt;br /&gt;
==Effect of replacement (and on [LAND_HOLDER]s)==&lt;br /&gt;
&lt;br /&gt;
Replacement is immediate and complete - the current holding unit loses the position, even before SUCCESSION_BY_POSITION rules are applied. A position with a number of 1 will replace all the slots of a position with a higher number of slots. &lt;br /&gt;
&lt;br /&gt;
Even if the next position is available but not visible, replacement still takes place. If a position is replaced, it is completely gone - it cannot be appointed, succeeded, elected or assumed any longer.&lt;br /&gt;
The unit immediately loses its position.&lt;br /&gt;
&lt;br /&gt;
In legends, replacement is mentioned as: &amp;quot;(unit name) ceased to be (position name)&amp;quot; The replacement of an AS_NEEDED position empties the position's slot forever. In fortress mode, it may seem as if you can create new slots and appoint new units in the nobles screen, but this is reversed as soon as you close the window.&lt;br /&gt;
&lt;br /&gt;
The landholder chain uses [REPLACED_BY] differently. It does not clear the position completely, but uses it for succession to the next level's position. [REPLACE_BY] is required to let that system work properly. This also means that the way in which landholders succeed (replace + as_needed) does not work in any other way. &lt;br /&gt;
&lt;br /&gt;
Replacement between LAND_HOLDERS and other site- or civ positions does not work in any way. Only the vanilla replacement sequence between levels of LAND_HOLDERs does work. If the token is omitted for landholders, the landholder chain is broken, so replacement is required for the landholder system to work.&lt;br /&gt;
&lt;br /&gt;
[REQUIRES_POPULATION] also does not work for [LAND_HOLDER], when you set [NUMBER] to 1. The position is not created when the required population is reached.&lt;br /&gt;
&lt;br /&gt;
==What doesn't work==&lt;br /&gt;
&lt;br /&gt;
'''Attention: If a position cannot be appointed, for example because of 'mutual appointment', it still exists according to replacement mechanics and will replace other positions if so defined. If a certain position(a) will be replaced by the baron's assistant, which can only be appointed by the [LAND_HOLDER] baron, than that position(s) still will be replaced from the start of the game, even if no baron or their assistant is ever present.'''&lt;br /&gt;
&lt;br /&gt;
A position that is replaced by a somehow non-fillable position is still replaced. This counts for mutual-appointing positions, replacement by not-yet-assigned landholders, replacement by AS_NEEDED positions, or replacement by not-yet-appointed positions. &lt;br /&gt;
&lt;br /&gt;
Replacement does not work if the replaced position is a [LAND_HOLDER], even with civ-positions. In that case, the LAND_HOLDER's position is not replaced. It does not matter if AS_NEEDED is used, or a fixed number, and it also does not matter what type of position the replacer is. So this only works (correctly) with positions that become available by REQUIRES_POPULATION.&lt;br /&gt;
&lt;br /&gt;
={{text anchor|Evaluation of Positions}}=&lt;br /&gt;
The game does not continuously check whether positions should become available, elected or be [REPLACE_BY]. This is well-known behavior—for example with the [[mayor]], who does not appear automatically when the required population ([REQUIRES_POPULATION]) is reached. Instead, positions must somehow be evaluated. This applies in several other situations as well &lt;br /&gt;
&lt;br /&gt;
'''Cases that require a trigger:'''&lt;br /&gt;
* Election of a newly created position&lt;br /&gt;
* Election after the current holder dies&lt;br /&gt;
* Automatic assumption of a newly created position (this may take up to a day)&lt;br /&gt;
* New citizens (such as migrants) considering available positions&lt;br /&gt;
* Premature succession of a newly created position&lt;br /&gt;
&lt;br /&gt;
'''Cases that do not wait for a trigger:'''&lt;br /&gt;
* Succession following the death of the previous holder&lt;br /&gt;
* Automatic assumption of existing positions that have become vacant&lt;br /&gt;
&lt;br /&gt;
'''Triggers that cause the game to reevaluate noble positions:'''&lt;br /&gt;
* Succession of a [SITE]-position due to the death of the current holder&lt;br /&gt;
* [[Advanced_entity_position_mechanics#Election_Day|Election Day]]&lt;br /&gt;
* Automatic assumption of a [SITE]-position that becomes vacant&lt;br /&gt;
* (Re)assigning any site position manually&lt;br /&gt;
* Settlement elevation on the LAND_HOLDER track (e.g. gaining a [[Baron]] or [[Count]])&lt;br /&gt;
&lt;br /&gt;
=Gaining a position=&lt;br /&gt;
There are several ways a unit can gain a position:&lt;br /&gt;
* Appointment: A unit is appointed by another unit or by the player.&lt;br /&gt;
* Election: A unit is elected by and among the members of the entity&lt;br /&gt;
* Assumption: A position is neither elected or appointed: a random unit just simply 'takes' the position&lt;br /&gt;
* Succession: a unit is the valid successor of this position(A), either by its current position(B) or because they are that position(A)-holder's heir. &lt;br /&gt;
&lt;br /&gt;
Available positions will automatically be assigned to a random civ member when a new site/civ is created.&lt;br /&gt;
&lt;br /&gt;
==Who can take a position==&lt;br /&gt;
&lt;br /&gt;
* If so defined, a unit needs to be the right caste and/or class - it does not seem to work with creature types. &lt;br /&gt;
* The unit needs to be an adult member of the site or its parent civ's government; that is also CAN_LEARN or INTELLIGENT (SLOW_LEARNER cannot take positions) or otherwise is able to think.&lt;br /&gt;
&lt;br /&gt;
==Appointment==&lt;br /&gt;
&lt;br /&gt;
Positions that have an [APPOINTED_BY:position] token require that position to exist, to be available and appointed. Any position that is APPOINTED_BY can be appointed if the appointer's position is filled in. &lt;br /&gt;
For site-positions to be appointed, it is required that the appointer is present at that location.&lt;br /&gt;
&lt;br /&gt;
If the appointing unit is temporarily not present, or if that position is not filled, positions depending on it cannot be appointed. This is the case with [[militia captains]], when the [[militia commander]] is on a [[mission]]. &lt;br /&gt;
&lt;br /&gt;
A site position cannot appoint a civ position ''or'' LAND_HOLDER in any way whatsoever. &lt;br /&gt;
&lt;br /&gt;
Civ-level positions can appoint other civ-level positions and site-level positions can appoint other site-level positions.&lt;br /&gt;
&lt;br /&gt;
Contrary to what has been said elsewhere, civ-level nobles also can appoint site-level nobles. They need to be at the site to do so. Landholders can appoint both site-level and civ-level nobles. These systems are therefore not as separate as was assumed.&lt;br /&gt;
&lt;br /&gt;
'''Mutual appointment''' cannot take place. If these are the only requisites of the position, then the positions will never appear or get filled. These unfillable positions can be put to good use, for example, to replace a position that is no longer needed without creating a new one. &lt;br /&gt;
&lt;br /&gt;
'''Self appointment''' doesn't normally work. If you have a position that is only appointed by itself, it is never appointed and also cannot be assumed. However, if the position has a number higher than 1, and is filled by multiple units (for example by another position that is now empty), than those units can re-assign or appoint each other from that their shared position. &lt;br /&gt;
&lt;br /&gt;
If an APPOINTED_BY token refers to a non-existing position's code, the effects are as if the appointment token doesn't exist at all.&lt;br /&gt;
&lt;br /&gt;
===Automatic appointment in world-gen and on the civ level===&lt;br /&gt;
&lt;br /&gt;
Outside of fortress mode, the game will always attempt to appoint nobles whenever possible, as long as these positions are '''available''', even if they are invisible to the player.&lt;br /&gt;
It shows this message in legends:  &amp;quot;(unit name) has been appointed to the position of (position name)&amp;quot;&lt;br /&gt;
&lt;br /&gt;
In world-gen, all positions become available and are automatically appointed, taking population- and appointment-requirements into consideration. &lt;br /&gt;
&lt;br /&gt;
Positions that are REPLACED_BY are culled and won't be filled.&lt;br /&gt;
&lt;br /&gt;
If a citizen of your fortress holds a civ-level position that can appoint another civ-level position, the appointment will happen automatically and without player intervention. It may happen that another citizen of your fortress is appointed by that unit, creating civ-level position holders in your fortress, but it is unknown what is required to force this effect.&lt;br /&gt;
&lt;br /&gt;
===Manual appointments by players in fortress mode===&lt;br /&gt;
In fortress mode, the positions that need to be appointed stay empty on embark. and it is the player's job to appoint those. A player can appoint a unit to any available position, according to the hereabove mentioned conditions. The player takes the role of the automatic appointment-system, but has no direct control over elections, successions and replacement. There are some differences in what is possible at world-gen sites and at player-controlled sites.&lt;br /&gt;
&lt;br /&gt;
* A position that is appointed by a unit present as a fortress citizen, can be appointed, re-appointed or left vacant. This means also by civ-level nobles living as a citizen in your fortress; not when they are only visiting, like the diplomat.&lt;br /&gt;
* A position whose appointing positions are all either vacant or [REPLACED_BY] can no longer be appointed. If the position is already filled, it cannot be reappointed or vacated; the current holder simply remains in office.&lt;br /&gt;
* A position that is APPOINTED_BY a unit present as the land_holder of your site, can be appointed, reassigned or left vacant.&lt;br /&gt;
* A position that has SUCCESSION BY_HEIR or BY_POSITION can 'initially' be appointed and also re-appointed or left vacant, but as soon as the [[nobles]] screen closes, ''it can no longer be replaced or left vacant''. From then on, the succession-rules determine who gains that position when the current holder loses the position. This works even if the SUCCESSION:BY_POSITION-position is vacant or replaced.&lt;br /&gt;
* A position that is ELECTED nor APPOINTED_BY, can always be (re-)appointed by the player. This is the case with the [[Expedition leader]]. If it is left vacant however, it cannot be appointed, but will be assumed shortly after. &lt;br /&gt;
* A position that is both ELECTED and APPOINTED_BY, cannot be appointed by the player. Contrary to world-gen sites, its slot is visible, but it doesn't show the +-sign. This is either by AS_NEEDED or by a fixed number. Even if the position somehow gets filled (re)assignment is never possible&lt;br /&gt;
* A player can appoint a number of units to a position, as much as the NUMBER token dictates. If it is AS_NEEDED, the player may create as many slots as they like, also contrary to world-gen sites. &lt;br /&gt;
* A civ-position can never be appointed, even if the appointing civ noble is a citizen of your fortress. A civ position also never can be re-assigned or left vacant, would that position be defined as appointed by a site-position.&lt;br /&gt;
&lt;br /&gt;
==Election==&lt;br /&gt;
Read more in [[Elections]]. The message that is shown is: &amp;quot;(creature name) has been elected to the position of  (position name)&amp;quot;&lt;br /&gt;
&lt;br /&gt;
In worldgen, there is no functional difference between ELECTED and non-appointment, except that elected nobles tend to have high social skills and/or skills related to the position, while non-elected ones are assigned randomly. See: [[Elections]]&lt;br /&gt;
&lt;br /&gt;
A succession goes before an election. &lt;br /&gt;
&lt;br /&gt;
A position that is both ELECTED and APPOINTED_BY never gets elected. Even if the appointees' position somehow gets filled, (re)-elections won't happen. So, it doesn't seem possible to have an elected position become available when a certain other position becomes filled. &lt;br /&gt;
&lt;br /&gt;
An ELECTED civ-(or LAND_HOLDER) position at your site will never be (re)-elected in fortress mode. So real (re-)election only works with SITE-positions. &lt;br /&gt;
&lt;br /&gt;
=== {{text anchor|Election Day}} ===&lt;br /&gt;
Election Day takes place on the 17th of Summer. On this day, a full reevaluation is performed, including all currently elected positions, which are subject to re-election. Contrary to the information on [[Elections]], nothing occurs at the start of a season.&lt;br /&gt;
&lt;br /&gt;
Positions that are both [APPOINTED_BY] and [ELECTED] will not be re-elected on Election Day when assigned through [SUCCESSION].&lt;br /&gt;
&lt;br /&gt;
=== Election Eligiblity ===&lt;br /&gt;
Any citizen may stand for election. Eligibility cannot be restricted using [ACCEPTED_CREATURE], [REJECTED_CREATURE], [ACCEPTED_CLASS], [REJECTED_CLASS], or [GENDER]. Units currently having a [SUCCESSION]-position even may be elected for a position with a [SQUAD]-token, which is otherwise impossible to assign or even succeed.&lt;br /&gt;
&lt;br /&gt;
=== Skills ===&lt;br /&gt;
In elections, skills are taken into account for the tokens of the position which is elected.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Relevant skills per position token&lt;br /&gt;
|-&lt;br /&gt;
! Position Token !! Relevant skills&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#DELIVER_MESSAGES|[DELIVER_MESSAGES]]] || [[Ambusher]], [[Observer]] and [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#ACCOUNTING|[ACCOUNTING]]] || [[Record_keeper|Record keeper]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#ESPIONAGE|[ESPIONAGE]]] || [[Schemer]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#HEALTH_MANAGEMENT|[HEALTH_MANAGEMENT]]] || [[Diagnostician|Diagnostician]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#MAKE_INTRODUCTIONS|[MAKE_INTRODUCTIONS]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#MAKE_PEACE_AGREEMENTS|[MAKE_PEACE_AGREEMENTS]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#MAKE_TOPIC_AGREEMENTS|[MAKE_TOPIC_AGREEMENTS]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#MANAGE_PRODUCTION|[MANAGE_PRODUCTION]]] || [[Organizer]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#MEET_WORKERS|[MEET_WORKERS]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#RECEIVE_DIPLOMATS|[RECEIVE_DIPLOMATS]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#RELIGION|[RELIGION]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#TAME_EXOTICS|[TAME_EXOTICS]]] || [[Animal_trainer|Animal trainer]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#TRADE|[TRADE]]] || [[Social_skill|Social skills]] and [[Appraiser|Appraiser]]&lt;br /&gt;
|-&lt;br /&gt;
| [[Position_token#SQUAD|[SQUAD]]]-token || [[Tactician]] and [[Leader]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Assumption==&lt;br /&gt;
&lt;br /&gt;
A position that is not APPOINTED_BY nor ELECTED, or is appointed by positions that are not available in your site or civ, will be assumable by a random dwarf. If it has responsibilities that require certain skills, then these are taken into consideration on embark, but not when the position is assumed during the actual game. &lt;br /&gt;
&lt;br /&gt;
Normally, one to three units will take the into consideration to assume a position. Most of the time when there are multiple open positions, only a single unit will assume all of them. However, a position that has REJECTED_CREATURE, REJECTED_CLASS, ALLOWED_CREATURE or ALLOWED_CLASS will be filled with all different units, even if the creature or class mentioned is irrelevant. It seems that this forces the game to loop over all the available units.&lt;br /&gt;
&lt;br /&gt;
The message that is shown in Legends mode is: &amp;quot;(unit name) has assumed the position of (position name)&amp;quot;. This may also take place in fortress mode, which then shows this message to the player. &lt;br /&gt;
&lt;br /&gt;
If an assumable position becomes empty, it will be assumed within a day. This is the case when you leave the position of expedition-leader vacant. It also happens with entities. &lt;br /&gt;
&lt;br /&gt;
Assumable positions that become empty will not be assumed if that position has a valid [SUCCESSION] -successor. In that case, the successor inherits the position. &lt;br /&gt;
&lt;br /&gt;
Even positions that are somehow invisible because they cannot be directly APPOINTED_BY players, can be assumed. &lt;br /&gt;
&lt;br /&gt;
When you embark, the assumable positions are automatically assigned to a random unit. If there are multiple of these positions at embark, they all are assigned to the same unit. If there are enough positions available, multiple units may gain a position, but often no more than three different ones.&lt;br /&gt;
&lt;br /&gt;
If a dwarf in fortress mode assumes a position, that already has another position, it will leave the current position empty. When that position also is assumed, then this will continue until all positions have a dwarf appointed to them, with no other position.&lt;br /&gt;
&lt;br /&gt;
A unit that already has a position with a [SUCCESSION] token won't take assumable positions into consideration that have a [SQUAD] token. This can be used by the modder to prevent unwanted loss of current positions.&lt;br /&gt;
&lt;br /&gt;
A position that has an appointer which got replaced because of REPLACED_BY, will not become assumable. Also, positions that have an AS_NEEDED appointer that is not yet filled (or ever), will also not be assumed.&lt;br /&gt;
&lt;br /&gt;
==Succession==&lt;br /&gt;
&lt;br /&gt;
If a position-holder dies or advances to a new position via succession, the position will be granted to another unit based on the [SUCCESSION] tag. If they have an heir or the succeeding position exists, that unit will be assigned. If not, a new one will be appointed according to the usual rules. The message that is shown is: &amp;quot;(creature name) being the rightful heir, has inherited the position of (position name)&amp;quot;&lt;br /&gt;
&lt;br /&gt;
The succeeding creature will also lose its previous position. When succession is defined using BY_POSITION, the unit naturally loses the referenced position. However, it also loses any other positions it may hold. If a unit could simultaneously inherit multiple positions, the last-defined succession overrides the earlier one, clearing the previously acquired position&lt;br /&gt;
&lt;br /&gt;
Succession works both at site-level and at civ-level, both in world-gen and in fortress-mode. Succession by position on the civ-level is also visible and functional in fortress-mode. If both civ-level nobles are a citizen of your fortress, succession is applied visually. Vanilla example: The [[druid]] is succeeded by the [[acolyte]]. This means that as soon as the druid dies, the acolyte takes over. &lt;br /&gt;
&lt;br /&gt;
When a position that is succeeded by position becomes available, immediately it is checked if a position-successor is available and the position is filled with that unit. Even if this is an [ELECTED] position, succession goes first. When elections eventually do happen, succession plays no role.&lt;br /&gt;
&lt;br /&gt;
It is possible to assign multiple levels of [SUCCESSION:BY_POSITION] in different positions, creating a line of positions where the death of one causes all those &amp;quot;below&amp;quot; them to advance.&lt;br /&gt;
&lt;br /&gt;
A position can have multiple tokens with position-succession. It looks to be random which one is used. It is not always:&lt;br /&gt;
* The first or last defined token&lt;br /&gt;
* The first or last appointed unit&lt;br /&gt;
* the oldest or youngest&lt;br /&gt;
* one with a higher or lower precedence&lt;br /&gt;
* a unit with relevant skills&lt;br /&gt;
&lt;br /&gt;
When a position is defined with a Succession-type, that unit cannot have another position that has a Squad-type. If the succession-position itself has a squad, than it can be assigned another position with a squad, but then it will loose the previous succesion position. See further details by &amp;quot;Squad&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Assumed positions can also be succeeded by position, if the current holder dies. &lt;br /&gt;
&lt;br /&gt;
If the successor is an AS_NEEDED position, the used unit will leave a vacant position-slot on its removal by succession. This empty slot remains a real slot, which will only be cleaned up if you (un)appoint a unit to this position-series. It isn't cleaned up after regular position validation.&lt;br /&gt;
&lt;br /&gt;
A civ-level position of a unit living at your site might be inherited by a unit holding that does not currently live at your site. This, unfortunately, moves that position to a unit off site. This may also happen with the landholder of your site, for example when it is succeeded by another civ-level position. This currently poses an unsolved challenge. &lt;br /&gt;
&lt;br /&gt;
===Eligibility for succession===&lt;br /&gt;
Succession is restricted by the tokens [ACCEPTED_CREATURE], [REJECTED_CREATURE], [ACCEPTED_CLASS], [REJECTED_CLASS] and [GENDER].&lt;br /&gt;
&lt;br /&gt;
===Site and civ combined succession===&lt;br /&gt;
&lt;br /&gt;
Succession can work when combining site positions with civ-level positions or land_holders, but only in world-gen mode.  In fortress mode, it only works with combining the same level of nobles, with Landholders regarded as civ-level. So, in fortress mode, a site's position cannot succeed a landholder's position and it cannot succeed another type of civ-level position, and vice versa. &lt;br /&gt;
&lt;br /&gt;
This won't work even if the positions:&lt;br /&gt;
* are AS_NEEDED or having a fixed number.&lt;br /&gt;
* Are LAND_HOLDERs.&lt;br /&gt;
&lt;br /&gt;
===Succession [BY_HEIR]===&lt;br /&gt;
&lt;br /&gt;
When a heir is needed for succession, all children and then other relatives are validated. They cannot take the position if their status does not allow it, for example if they have become a member of another civilisation. See: &amp;quot;Who can take a position&amp;quot;. If the unit has no valid heir on that location, the position may go to a unit living on another site. This may cause the title of Landholder of some land to be inherited by a unit living somewhere else. That might be a problem, because then you lose your landholders.&lt;br /&gt;
&lt;br /&gt;
===Premature Succession===&lt;br /&gt;
&lt;br /&gt;
There are cases where [SUCCESSION:BY_POSITION] is applied prematurely: at the moment a position is first created and becomes appointable or assumable, rather than after a current holder leaves. In this situation, the succession mechanism assigns a holder immediately, without any player interaction.&lt;br /&gt;
&lt;br /&gt;
When a position becomes available for the first time, the game checks whether a valid successor-by-position exists. If so, that unit is assigned instantly. It can affect positions that would normally be appointed or elected by the player, causing succession to trigger before the player has any opportunity to intervene.&lt;br /&gt;
&lt;br /&gt;
This behavior occurs only in Fortress mode, but can be applied both on [SITE]-positions as well in civ-positions. That last one however is a bit harder to control. Example: [[Advanced entity position mechanics#The Archduke|The Archduke]]&lt;br /&gt;
&lt;br /&gt;
This premature succession only occurs the first time a position becomes available (i.e. when it is created and becomes appointable or assumable). Even if the position remains vacant and the conditions for succession improve later, premature succession will not trigger again. From that point onward, only normal succession rules apply.&lt;br /&gt;
&lt;br /&gt;
Using premature succession, a position that has [ELECTED], [APPOINTED_BY], or both, can be filled directly.&lt;br /&gt;
Notably, positions that combine [ELECTED] and [APPOINTED_BY] are normally impossible to fill through regular mechanics. Premature succession bypasses both election and appointment entirely, making this combination uniquely reachable through this mechanism.&lt;br /&gt;
&lt;br /&gt;
No initial election takes place, and no subsequent elections will ever occur for that position. Succession always takes precedence over election, both in premature succession and in normal succession cases.&lt;br /&gt;
&lt;br /&gt;
This behavior applies only in Fortress mode, not during world generation. World-gen uses simplified and more efficient mechanics, and this interaction does not occur there. Premature succession can affect both site-level and civilization-level positions.&lt;br /&gt;
&lt;br /&gt;
====Multiple succession chains====&lt;br /&gt;
&lt;br /&gt;
Multiple succession chains may be defined and are resolved in the order they appear in the raws.&lt;br /&gt;
&lt;br /&gt;
If a position has both:&lt;br /&gt;
* a direct succession chain (A → C), and&lt;br /&gt;
* a multi-step chain (A → B → C),&lt;br /&gt;
&lt;br /&gt;
and intermediate positions are vacant, resolution proceeds according to raw order. A common outcome is:&lt;br /&gt;
# The direct succession (A → C) is applied first, assigning A to C.&lt;br /&gt;
# The remaining chain then advances (A → B).&lt;br /&gt;
# If C still has empty slots, the final step (B → C) may occur.&lt;br /&gt;
&lt;br /&gt;
If position B is already filled, behavior depends entirely on raw definition order:&lt;br /&gt;
* nothing may happen, or&lt;br /&gt;
* B may move to C first, followed by A moving to B.&lt;br /&gt;
====Working triggers====&lt;br /&gt;
Premature succession is triggered when a succeedable position is created under the following conditions:&lt;br /&gt;
* The succeedable position is created because its [REQUIRES_POPULATION] threshold is reached. This applies even if the position is not [APPOINTED_BY]. Premature succession takes priority over automatic assumption (e.g. the mayor declaring themselves within a day).&lt;br /&gt;
* The succeedable position can be [APPOINTED_BY] another position of the same level (site or civ) that has just been created because its [REQUIRES_POPULATION] was reached.&lt;br /&gt;
* The succeedable position can be appointed by another [SITE] [AS_NEEDED] position that has just been created and filled.&lt;br /&gt;
* The succeedable (site or civ) position is [APPOINTED_BY] the [LAND_HOLDER] position, which has just been created due to site elevation. This typically resolves when the diplomat leaves the map, at which point the landholder position becomes active.&lt;br /&gt;
* If all other requirements are met, premature succession can occur immediately after unpausing following embark, for positions with [REQUIRES_POPULATION:7].&lt;br /&gt;
====Non-working triggers====&lt;br /&gt;
Premature succession does '''not''' occur in the following cases:&lt;br /&gt;
* An [AS_NEEDED] succeedable position slot is manually created by the player while its succeeding position is already filled. [AS_NEEDED] positions must always be appointed after creation.&lt;br /&gt;
* The succeeding position is filled after the succeedable position becomes available. The moment of creation is the decisive trigger; filling the source position later is too late.&lt;br /&gt;
* The succeedable position can be appointed by another site or civ position with a fixed number of slots that has just been appointed. In this case, the succeedable position is just available for appointment itself, nothing more&lt;br /&gt;
* Any situation occurring during world generation.&lt;br /&gt;
* The succeeding position is [REPLACED_BY] the succeedable position. In this case, replacement removes the unit from the source position first, leaving no holder available for the succession mechanism to use.rst, leaving no holder available for the succession mechanism to use.&lt;br /&gt;
* The position is [APPOINTED_BY] a civ-level position, that just became a citizen of your fortress. It must be noted that those civ-level positions were active all that time and the succeedable position could be appointed even before. The monarchs arrival does not trigger premature succession&lt;br /&gt;
&lt;br /&gt;
=Losing a position=&lt;br /&gt;
&lt;br /&gt;
A unit can lose a position when:&lt;br /&gt;
* It dies&lt;br /&gt;
* It succeeds another position, even if it has nothing to do with the previous position.&lt;br /&gt;
* It is assigned to another SQUAD-holding position&lt;br /&gt;
* It is convicted of a crime.&lt;br /&gt;
* Another unit is ELECTED for the position&lt;br /&gt;
* Its position becomes replaced&lt;br /&gt;
* Another unit is appointed by the player, or the position is left vacant. &lt;br /&gt;
* It has assumed another position, as this always leaves the previous position vacant.&lt;br /&gt;
&lt;br /&gt;
=Embarkment=&lt;br /&gt;
Two types of positions are automatically filled by embark. &lt;br /&gt;
* Positions without [APPOINTED_BY] or [ELECTED] (assumable). All these positions, even with a NUMBER higher than 1, are all filled with one to three dwarves. Contrary to assumption, this doesn't take into account any limitations. REJECTED_CLASS, ALLOWED_CLASS, REJECTED_CREATURE, ALLOWED_CREATURE and GENDER are applied, but without the normal spread you may expect with assumptions. Also it doesn't look at [SUCCESSION] and [SQUAD] limitations.&lt;br /&gt;
* Positions that are elected are filled-in by the normal election rules.&lt;br /&gt;
&lt;br /&gt;
Positions that have a defined appointer are never initially filled at embark.&lt;br /&gt;
&lt;br /&gt;
All positions that don't have [REQUIRES_POPULATION]  or with a [REQUIRES_POPULATION] of 7 or lower, will be available at embark.&lt;br /&gt;
&lt;br /&gt;
=Land Holders=&lt;br /&gt;
&lt;br /&gt;
A Landholder is a '''special civ-level noble''' who gets a certain piece of land to hold, when that land is elevated to a certain level, determined by the tag [LAND_HOLDER] and by the landholder triggers in the game's settings. In vanilla, these are the baron, the count and the duke. &lt;br /&gt;
&lt;br /&gt;
A unit gaining the landholder position does not migrate to that specific named land. In world-gen, they stay just where they are, probably at the capital. In fortress mode, you can suggest a citizen for the role. So for the time being that works.&lt;br /&gt;
&lt;br /&gt;
Succession is then a real issue. If you use BY_HEIR, its solved when that landholder has children living at your site. But when its not the case, the title just goes to anyone randomly. Succession BY_POSITION works, but only in the civ-chain, and there's no way to guarantee a civ-holder is at your site at that time. Even with 'automatic spread' positions, it goes to one of them randomly.&lt;br /&gt;
&lt;br /&gt;
==Functioning of the regular landholder chain==&lt;br /&gt;
&lt;br /&gt;
The distinct difference between a landholder and a regular civ-level noble, is that a landholder may gain the position of landholder &amp;quot;of (sitename)&amp;quot; They are then seen as ruler of a particular site. &lt;br /&gt;
&lt;br /&gt;
For a land_holder position to function as such, it has a few requirements:&lt;br /&gt;
* NUMBER:AS_NEEDED &lt;br /&gt;
* The first landholder-number of 1 is defined. &lt;br /&gt;
* No SITE (so civ) tag in that position.&lt;br /&gt;
*REPLACED_BY the next level landholder&lt;br /&gt;
If a landholder is defined with differentiating properties, it will function like a regular noble. A higher-up landholder that lacks the required tokens or connections will then not be used in elevation. &lt;br /&gt;
&lt;br /&gt;
If a fortress meets the trigger for a new LAND_HOLDER tier when a caravan leaves, then the next time the outpost liaison or equivalent arrives, they will offer to make you an official colony, which will allow you to select all positions for that LAND_HOLDER level. Each time they appear, the outpost liaison will only promote your fortress one tier up the LAND_HOLDER track. &lt;br /&gt;
&lt;br /&gt;
The landholder's LAND_NAME is not required for the functioning of this system. If omitted, messages will be shown with a more generic text.&lt;br /&gt;
&lt;br /&gt;
==Appointment==&lt;br /&gt;
&lt;br /&gt;
This mechanism differs from the regular methods of position management. It ignores all regular appointment- and election rules, so it more or less functions like automatic assignment. A landholder is, in vanilla, appointed by the monarch. Changing this doesn't seem to do anything. If they are appointed by a site-position, a not-yet-existing civ-position, or not appointed at all: the system keeps working as usual. &lt;br /&gt;
&lt;br /&gt;
A landholder can appoint civ-positions and site positions. This works as expected: the positions only are appointed then when that landholder becomes available on civ-level or when he arrives at that site for site-level positions. &lt;br /&gt;
&lt;br /&gt;
If your rank of landholder is the first of its rank in the realm, and is the sole appointer of some civ-position, then immediately as it gains the title, it will appoint the empty civ-slots. This may happen on your site, but the frequency and certainty is hard to determine.&lt;br /&gt;
&lt;br /&gt;
==Succession==&lt;br /&gt;
&lt;br /&gt;
Succession rules are applied to some extent:&lt;br /&gt;
* In world-gen it works according to succession rules, and site-positions can be used here.  This means that a site position or a civ-position can inherit a landholder position, and vice versa.&lt;br /&gt;
* In fortress mode, once a landholder has been appointed, it then can inherit civ-level positions, and vice versa. This means that your baron can become king. &lt;br /&gt;
* Succession rules do not apply within the [LAND_HOLDER] chain; a count will not inherit a baron's land. This is because succession does not work well with the AS_NEEDED token.&lt;br /&gt;
* Premature succession works in fortress mode with landholders. If a unit gets a landholder's position and that landholder is the appointer of an as yet empty position, which is defined as succeeding from a third one, then the succession is immediately applied. The landholder themselves can even be the successor of a newly created position.&lt;br /&gt;
* A landholder's position is, in fortress mode, not successionable by a site-position or vice versa&lt;br /&gt;
&lt;br /&gt;
===Impossibilities for succession by a site-position===&lt;br /&gt;
It would be very beneficial if the landholder can be succeeded by a [SITE]-position. So far, the following tests have not lead to positive results:&lt;br /&gt;
* making landholder and site-position both non-[DUTY_BOUND]&lt;br /&gt;
* make the site-position be [APPOINTED_BY] the landholder and/or the monarch&lt;br /&gt;
* give landholder and site-position [REJECTED_CREATURE]&lt;br /&gt;
* Let the monarch live at your site when succession could happen.&lt;br /&gt;
* Let the site-position be [REPLACED_BY] the landholder.&lt;br /&gt;
&lt;br /&gt;
==Nomination==&lt;br /&gt;
&lt;br /&gt;
The player is able to nominate a unit to become the LAND_HOLDER, but this only works with units of [LAND_HOLDER] level 1. The player can select all units, only limited by the PRECEDENCE of the current units' positions.&lt;br /&gt;
&lt;br /&gt;
A unit that has a position with a PRECEDENCE lower or equal to that of the landholder's position, cannot be selected. This means that a baron (or count) from another site or the monarch cannot be selected, because their precedence is lower or equal. &lt;br /&gt;
&lt;br /&gt;
The GENDER  token does not work here: also units with the wrong gender (sorry) can be selected.&lt;br /&gt;
&lt;br /&gt;
==Levels==&lt;br /&gt;
In mods, up to 10 levels of LAND_HOLDER may be defined. &lt;br /&gt;
&lt;br /&gt;
If a landholder is replaced by a wrong landholder number (1 replaced by 3), then the number 3 is still correctly attached to the settlement. &lt;br /&gt;
&lt;br /&gt;
If the current landholder has the highest available landholder number, then the next elevation will not happen - the diplomat will not elevate your fortress to a higher position, even if that position might be REPLACED_BY a lower landholder. &lt;br /&gt;
&lt;br /&gt;
These chains do work:&lt;br /&gt;
* 1 -&amp;gt; 2a - &amp;gt; 2b -&amp;gt; 3&lt;br /&gt;
* 1 -&amp;gt; 3 -&amp;gt; 2 -&amp;gt; 4&lt;br /&gt;
&lt;br /&gt;
These chains do not work:&lt;br /&gt;
* 2 -&amp;gt; 3 (need to start at 1)&lt;br /&gt;
* 1 -&amp;gt; 4 -&amp;gt; 2 -&amp;gt; 3 (stops after 4 as the highest)&lt;br /&gt;
* 1a -&amp;gt; 2, 1b -&amp;gt; 2 (only 1a and 2 work, 1b is not used)&lt;br /&gt;
&lt;br /&gt;
==Moving landholders==&lt;br /&gt;
&lt;br /&gt;
It may happen that a land-holder no longer lives at the site which they are the landholder of, specifically when the current landholder dies, leaving the title to an heir living somewhere else. &lt;br /&gt;
&lt;br /&gt;
To prevent this from happening, you can make their succession from heir and make sure that their kids live at your site. Or, you can make their position succeeded by another civ position, and make it so that this civ position is somehow available on your site. But if multiple of these positions exist, it cannot be guaranteed that a citizen of your fortress will inherit the title. &lt;br /&gt;
&lt;br /&gt;
In world gen, a landholder lacking the DUTY_BOUND-token will also move to the site they like, according to legends mode.&lt;br /&gt;
&lt;br /&gt;
==Replacement by a generic civ-position==&lt;br /&gt;
&lt;br /&gt;
If a landholder is replaced by an AS_NEEDED non-landholder civ-position, then this will work: the current landholder loses that title upon settlement-elevation and gains that civ-title. However, the civ-title lacks the landholder-property of being attached to the land. It will not show the name of the settlement alongside the position's name. So no &amp;quot;minister of Shovelmounts&amp;quot;&lt;br /&gt;
&lt;br /&gt;
If a landholder is replaced by a general AS_NEEDED civ-position, that itself is also replaced by a generic AS_NEEDED civ-position, then firstly the elevation is executed and also the unit gains that new position. However, he immediately loses it, because an AS_NEEDED position that is replaced by another position can be filled initially, but units wont be able to hold that title.&lt;br /&gt;
&lt;br /&gt;
==Landholder with fixed number==&lt;br /&gt;
&lt;br /&gt;
A landholder's position that has a fixed number will be created and filled directly when the civilisation is born, so this position slot is then not available for the regular landholder-mechanic and will also not be used. That landholder will thus not be attached to a settlement. &lt;br /&gt;
&lt;br /&gt;
It doesn't matter if the landholder's position is connected to the regular landholder's-chain with the REPLACE_BY token.&lt;br /&gt;
&lt;br /&gt;
==Responsibilities==&lt;br /&gt;
&lt;br /&gt;
When given a certain [RESPONSIBILITY], a landholder may function as a regular civ-level noble. If the position has [TRADE] or [OUTPOST_NEGOTIATING] responsibilities, then the landholder functions both as a diplomat and as an actual land holder. A landholder with the [MILITARY_STRATEGY]  responsibility will travel around taming creatures in world-gen, according to legends mode. &lt;br /&gt;
&lt;br /&gt;
Besides that, the responsibilities work the same as with any other on-site living position-holder, civ or otherwise.&lt;br /&gt;
&lt;br /&gt;
=Military=&lt;br /&gt;
==Squad management==&lt;br /&gt;
In the vanilla game, the Squad interface only becomes available after a militia commander has been appointed. Until then, the window displays:{{DFtext|You must appoint somebody first to create a squad.}}&lt;br /&gt;
&lt;br /&gt;
What’s surprising is how this is determined internally. In the entity raw definition, '''only the last two positions that include a [SQUAD] token are checked''' to decide whether the interface is accessible at all. As a result, if your hierarchy defines commanders A through E, appointing '''Commander D or E''' unlocks squad formation, while appointing A–C does nothing.&lt;br /&gt;
&lt;br /&gt;
In other words, squad availability is not tied to ''having a militia commander'', but to ''which specific positions happen to be last in the raw list''—a notably hacky implementation.&lt;br /&gt;
&lt;br /&gt;
These 'last two' are always the last two '''available positions.''' So if they get [REPLACED_BY] or become available because of [REQUIRES_POPULATION], the game adapts to those.&lt;br /&gt;
&lt;br /&gt;
==Squad assignment==&lt;br /&gt;
&lt;br /&gt;
Squads can be assigned, even if the leader position has no holder.&lt;br /&gt;
&lt;br /&gt;
A specific unit can only have one position associated with a squad. If it gains another 'squad holding position', it is unassigned from the first one. This does not work with a 0-squad, so only 1+squads are taken into consideration. This technique can possibly be used to distribute all positions equally among all citizens. It does however not work with election and assumption. &lt;br /&gt;
&lt;br /&gt;
If a civ-level position is associated with a squad and it gets a site-level squad-holding position assigned, it loses the current civ-position. &lt;br /&gt;
&lt;br /&gt;
Squads can get really messed up, if you make the position (or multiple) either elected or not-elected and not-appointed, then this can cause the game to assign multiple squads to the same unit. Automatic assignment and election does not take squads into account, but the nobles screen does. This can cause the positions to be cleared as the game figures out that they have more than one position, and immediately get elected or assumed again. &lt;br /&gt;
&lt;br /&gt;
Positions that cannot have a squad-position:&lt;br /&gt;
* A site- or civ-position with a [SUCCESSION] token cannot be appointed a squad-holding-position. The other way around, however, does work. For example, if a site-position with a [SUCCESSION]-token is appointed to a unit that has already a position with [SQUAD]. But when that squad position is assigned to another unit, it cannot be assigned back. &lt;br /&gt;
* A position with [SUCCESSION] can also not be assigned as a '''member''' of a squad.&lt;br /&gt;
* A squad-holding position with a formed squad cannot be appointed to another squad holding position.&lt;br /&gt;
&lt;br /&gt;
If a position has at least one squad member, it cannot be left vacant. First, the squad has to be disbanded, then the position may be cleared.&lt;br /&gt;
&lt;br /&gt;
==0-squads==&lt;br /&gt;
A 0-Squad is defined in a position as [SQUAD:0:member:members]. It does not seem to do anything useful as of now.&lt;br /&gt;
* It cannot be used to activate the [[Squad|military interface]]&lt;br /&gt;
* It does not restrict the assignment of [SUCCESSION] positions.&lt;br /&gt;
* Assigning this position does not clear any previously held squad position.&lt;br /&gt;
* The [[Leader]] and [[Tactician]] skill are not marked as relevant skills and are not taken into account in elections.&lt;br /&gt;
* It cannot be formed as a squad.&lt;br /&gt;
&lt;br /&gt;
=Further testing=&lt;br /&gt;
The following questions may need additional testing. Feel free to add or answer&lt;br /&gt;
* Everything regarding COMMANDING and army-structure&lt;br /&gt;
** [http://www.bay12forums.com/smf/index.php?topic=175437.msg8331668#msg8331668]&lt;br /&gt;
** [http://www.bay12forums.com/smf/index.php?topic=165213.msg8335682#msg8335682]&lt;br /&gt;
** [http://www.bay12forums.com/smf/index.php?topic=174584.msg8026854#msg8026854]&lt;br /&gt;
* Everything regarding CONQUERED_SITE, but it is presumably just like site. But what if you combine SITE or LAND_HOLDER with it?&lt;br /&gt;
* Stuff about the monarch, its arrival and its entourage.&lt;br /&gt;
&lt;br /&gt;
=Oddities (Bugs)=&lt;br /&gt;
Almost everything on this page could be called an oddity. Because of their unexpected usability, some may also be referred to as “undocumented features.” Others, however, are simply odd and not particularly useful, yet I hesitate to call them “bugs.”&lt;br /&gt;
* If a certain threshold is reached that makes an elected position electable, and the triggering event that initiates this evaluation is an assumption, then the resulting assumption is also referred to in the messages as an election&lt;br /&gt;
&lt;br /&gt;
=Examples=&lt;br /&gt;
&lt;br /&gt;
===The Founder===&lt;br /&gt;
The founder is a single dwarf, appointed at embark. They will be the only one ever to have this position and are not replaceable. When they lose their position some way, the position will not be assumed by another dwarf. &lt;br /&gt;
{{gamedata|title=The Founder|&lt;br /&gt;
[POSITION:THE_FOUNDER]&lt;br /&gt;
	[NAME:the founder:founders]&lt;br /&gt;
	[NUMBER:1] &lt;br /&gt;
	[SITE]&lt;br /&gt;
	[ALLOWED_CREATURE:DWARF:ALL]		- will only be filled at embark, but not assumable later.&lt;br /&gt;
	[REJECTED_CREATURE:DWARF:ALL]		- will only be filled at embark, but not assumable later.&lt;br /&gt;
	[SUCCESSION:BY_POSITION:THE_FOUNDER]	- not unassignable, also cannot be assigned to a [SQUAD] position.&lt;br /&gt;
	[PRECEDENCE:200] &lt;br /&gt;
	Non APPOINTED_BY&lt;br /&gt;
	Non ELECTED&lt;br /&gt;
	Optional: Add responsibilities to make the game select a unit with certain skills.&lt;br /&gt;
}}&lt;br /&gt;
===Marriage bar===&lt;br /&gt;
Dwarven matrons are held in great honour. Upon marriage, a female dwarf is no longer expected to perform menial labour. All dwarven males hold this position by default, granting their spouses exemption from menial work.&lt;br /&gt;
&lt;br /&gt;
The position becomes available with the arrival of the first migrants; otherwise, on embark, it would be assumed by females. Its succession rule is non-functional, but this prevents the player from unassigning the position. A squad size of 1 and the succession rules together prevent a unit from assuming the position more than once.&lt;br /&gt;
&lt;br /&gt;
With precedence set to NONE, the position name is hidden, while LAND_NAME remains visible on the nobles screen. All married females receive the suffix “, Mrs.” and are marked as Nobles.&lt;br /&gt;
&lt;br /&gt;
The practical usefulness of this position is debatable, but it serves as a clear demonstration of several mechanics.&lt;br /&gt;
{{gamedata|title=Mrs. Urist|&lt;br /&gt;
 &lt;br /&gt;
[POSITION:MRS_URIST]	&lt;br /&gt;
	[NUMBER:300]						&lt;br /&gt;
	[SITE]						&lt;br /&gt;
	[ALLOWED_CREATURE:DWARF:MALE]	&lt;br /&gt;
	Not APPOINTED_BY				&lt;br /&gt;
	Not ELECTED&lt;br /&gt;
	[LAND_NAME:Dwarven male]				&lt;br /&gt;
	[NAME:dwarven male:dwarven male]&lt;br /&gt;
	[PRECEDENCE:NONE]					&lt;br /&gt;
	[SPOUSE_FEMALE:, Mrs.:spouses]&lt;br /&gt;
	[MENIAL_WORK_EXEMPTION_SPOUSE]&lt;br /&gt;
	[REQUIRES_POPULATION:8]			&lt;br /&gt;
	[SUCCESSION:BY_POSITION:MONARCH]&lt;br /&gt;
	[SQUAD:1:member:members]&lt;br /&gt;
}}&lt;br /&gt;
===The Archduke===&lt;br /&gt;
The archduke is the leader of the civilization, but exists only from landholder 4-level. Until then, its position remains vacant. When a settlement is elevated to tier 4 (grand duke), the grand duke can appoint the ruler of the civilisation, the archduke. Because of 'Premature Succession', they themself inherit that position immediately, but only when in fortress mode. Its heir then becomes grand duke.&lt;br /&gt;
{{gamedata|title=The Archduke| no POSITION:MONARCH or other PRECEDENCE:1 &lt;br /&gt;
&lt;br /&gt;
[POSITION:THE_ARCHDUKE]&lt;br /&gt;
	[NAME:archduke:archdukes]&lt;br /&gt;
	[NAME_MALE:archduke:archdukes]&lt;br /&gt;
	[NAME_FEMALE:archduchess:archduchesses]&lt;br /&gt;
	[LAND_NAME:a archduchy]&lt;br /&gt;
	[NUMBER:1] &lt;br /&gt;
	[PRECEDENCE:1] &lt;br /&gt;
	[SUCCESSION:BY_POSITION:GRAND_DUKE]	&lt;br /&gt;
	[APPOINTED_BY:GRAND_DUKE]&lt;br /&gt;
	(add additional monarch-stuff, like spouse name, demands etc.)&lt;br /&gt;
	&lt;br /&gt;
[POSITION:GRAND_DUKE]&lt;br /&gt;
	[NAME:grand duke:grand dukes]&lt;br /&gt;
	[NAME_MALE:grand duke:grand dukes]&lt;br /&gt;
	[NAME_FEMALE:grand duchess:grand duchesses]&lt;br /&gt;
	[NUMBER:AS_NEEDED] &lt;br /&gt;
	[LAND_HOLDER:4]&lt;br /&gt;
	// Optional ...&lt;br /&gt;
	[PRECEDENCE:19]	&lt;br /&gt;
	[LAND_NAME:a archduchy] &lt;br /&gt;
	[RESPONSIBILITY:LAW_MAKING]&lt;br /&gt;
	[RESPONSIBILITY:RECEIVE_DIPLOMATS]&lt;br /&gt;
	[SUCCESSION:BY_HEIR]&lt;br /&gt;
	[APPOINTED_BY:THE_ARCHDUKE]&lt;br /&gt;
	(add additional landholder-stuff)&lt;br /&gt;
&lt;br /&gt;
!!add to [POSITION:DUKE]&lt;br /&gt;
	[REPLACED_BY:GRAND_DUKE]&lt;br /&gt;
&lt;br /&gt;
}}&lt;br /&gt;
{{Category|Modding}}&lt;br /&gt;
{{Category|Entities}}&lt;br /&gt;
{{Category|Guides}}&lt;/div&gt;</summary>
		<author><name>Joostheger</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=Advanced_entity_position_mechanics&amp;diff=314914</id>
		<title>Advanced entity position mechanics</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=Advanced_entity_position_mechanics&amp;diff=314914"/>
		<updated>2026-02-12T08:29:50Z</updated>

		<summary type="html">&lt;p&gt;Joostheger: /* Table of interaction between different position levels */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Quality|Fine}}&lt;br /&gt;
{{Modding}}&lt;br /&gt;
&lt;br /&gt;
= Introduction = &lt;br /&gt;
&lt;br /&gt;
[http://www.bay12forums.com/smf/index.php?topic=182239.0 Discussion thread on the forum]&lt;br /&gt;
&lt;br /&gt;
This page documents observed and tested behavior of entity positions in Dwarf Fortress that is not fully described elsewhere on the wiki. It focuses on advanced interactions between position tokens, including appointment, succession, election, and responsibility handling, across both civilization-level and site-level entities.&lt;br /&gt;
&lt;br /&gt;
The mechanics described here are based on empirical testing in world generation and fortress mode, supplemented where necessary by raw analysis. In several cases, the game’s behavior is determined by evaluation order and interaction between multiple tags, rather than by individual tokens in isolation.&lt;br /&gt;
&lt;br /&gt;
This page is intended for modders and advanced players who are designing or debugging custom entity position structures. It does not restate basic position mechanics, but instead highlights edge cases, non-obvious interactions, and behaviors that may appear inconsistent or undocumented.&lt;br /&gt;
&lt;br /&gt;
Unless stated otherwise, the described behavior applies to current versions of the game and may differ from older releases.&lt;br /&gt;
&lt;br /&gt;
==What is an entity? What is a position?==&lt;br /&gt;
An [[entity]] is an organizational structure that can have relationships with other entities, usually known as a [[civilization]] or a &amp;quot;[[site]] government&amp;quot; in the game, but merchant [[guild]]s, religious organizations, necromancer towers, and [[bandit]] groups are also entities. An entity can have positions - in most cases, these are hardcoded and generated by the game, but as for civilizations and sites, the [[raw file]]s can be customised.&lt;br /&gt;
&lt;br /&gt;
A position is a special relationship between a unit and an entity. The unit holding a position has a larger influence over that entity than other citizens. Positions are mostly known as [[nobles]], but in this article. the technical term is used.&lt;br /&gt;
&lt;br /&gt;
=Position levels (Site/Civ) and their interaction=&lt;br /&gt;
There are two basic types of positions that are customizable: '''civ(ilization)''' level and '''site level'''. Positions with the tag [SITE] are at site level, positions without the tag [SITE] are at 'civ level'. These two types of nobles can be considered '''loosely related systems'''. There are a few places where they can interact with each other.&lt;br /&gt;
&lt;br /&gt;
Civ-level positions are in charge of the civilization as a whole, managing national [[trade]], laws, and [[war]]s. These are, for example, the vanilla [[monarch]], [[diplomat]] and [[general]]. (Note that the general doesn't do anything in either mode in the current version.)&lt;br /&gt;
&lt;br /&gt;
'''[LAND_HOLDER]''' nobles are also positions at civ-level. These units are members of the national government, but have gained authority over some land or site. Once they do, they move to that place, but their position is still regarded as a civ-level position.&lt;br /&gt;
&lt;br /&gt;
Site-level position holders are members of a site government (subsidiary to the civilization), and manage local affairs in that location. These are, for example, the [[mayor]], the [[sheriff]] and the [[broker]].&lt;br /&gt;
&lt;br /&gt;
==Table of interaction between different position levels==&lt;br /&gt;
In this table, the possible interactions between different position levels are summarized. &lt;br /&gt;
The header row shows the positions defining the tokens.&lt;br /&gt;
&lt;br /&gt;
The left column shows the position type that is referred to.&lt;br /&gt;
Example:  &lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! referred position-type&lt;br /&gt;
! LAND_HOLDER&lt;br /&gt;
|-&lt;br /&gt;
| civilization&lt;br /&gt;
|  &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;(baron is) APPOINTED_BY:MONARCH&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
color coding: &amp;lt;/br&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;Exists in vanilla&amp;lt;/span&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;Possible with mods&amp;lt;/span&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;Not possible&amp;lt;/span&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;possible to some extent.&amp;lt;/span&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;not yet fully investigated.&amp;lt;/span&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! referred position-type&lt;br /&gt;
! Civilization&lt;br /&gt;
! SITE&lt;br /&gt;
! LAND_HOLDER&lt;br /&gt;
! CONQUERED_SITE&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Civilization&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;SUCCESSION '''(1)'''&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| SITE&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;SUCCESSION '''(2)'''&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;APPOINTED_BY '''(3)'''&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;SUCCESSION '''(4)'''&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| LAND_HOLDER&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY '''(6)'''&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;SUCCESSION '''(5)'''&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;REPLACED_BY '''(7)'''&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;SUCCESSION '''(8)'''&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;CONQUERED_SITE&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; COMMANDER &amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; REPLACED_BY &amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt; SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; COMMANDER &amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; REPLACED_BY &amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt; SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; COMMANDER &amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; REPLACED_BY &amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; COMMANDER &amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; REPLACED_BY &amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Remarks:&lt;br /&gt;
# Works only in world-gen, if a unit with that civ-position is present at the site.&lt;br /&gt;
# Works only in world-gen, the site-position holding unit will then move to the capital.&lt;br /&gt;
# Is completely ignored&lt;br /&gt;
# Works only in world-gen.&lt;br /&gt;
# Works only in world-gen.&lt;br /&gt;
# Won't appear at all&lt;br /&gt;
# This is necessary for the landholder chain to work properly, it doesn’t work otherwise.&lt;br /&gt;
# This works only outside of the landholder chain, so when landholders are simply regarded as civ-level nobles. might also work in world-gen&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
== Other interactions ==&lt;br /&gt;
&lt;br /&gt;
Unfortunately, interactions with positions of other entities don't seem possible, such as APPOINTED_BY: HIGH_PRIEST. With [VARIABLE_POSITIONS], positions are automatically created with codes like CUSTOM_LAW_MAKER_2, but interaction with these positions don't seem to work, either. For more info on those, see [[Variable positions]]&lt;br /&gt;
&lt;br /&gt;
=General=&lt;br /&gt;
&lt;br /&gt;
==Civ-level nobles living at your site==&lt;br /&gt;
Nobles from your civilization can come to live at your fortress. This happens in vanilla with landholders such as [[Baron]], [[Count]] and [[Duke]], with the Monarch, but sometimes also with non-landed LAND_HOLDERS.&lt;br /&gt;
&lt;br /&gt;
When a civ-level noble becomes a [[citizen]] at your location, their position is shown among the site-level positions in your [[nobles screen]]. They appear to function as a site-level noble. They may have [[demand]]s, [[mandate]]s, [[squad]]s and the like. They can appoint nobles at the site-level.&lt;br /&gt;
&lt;br /&gt;
If they have certain [RESPONSIBILITY]ies, they do the tasks that go with them.&lt;br /&gt;
&lt;br /&gt;
==Fortress mode, world-gen and their differences==&lt;br /&gt;
Their are a few differences in how positions function between fortress mode (normal play mode) and the world generation (world-gen). &lt;br /&gt;
&lt;br /&gt;
In '''fortress mode''', the player has some control over the appointment of nobles, limited by elections, automatic filled-in positions and succession rules. Pre-fortress mode, which is referred to as '''world-gen''', the game will always attempt to assign nobles whenever possible. It is subjected to the same rules as in fortress-mode, but there are some exceptions. In '''[[World activities]]''', which is the thing that happens in the world while you play fortress mode, it seems as if the same rules are applied as fortress mode. &lt;br /&gt;
&lt;br /&gt;
A difference between player-fortress-mode and world-gen, is causes by visibility (see below). Positions that are not visible by the player and thus not available for assignment, will be available in world-gen and will thus be automatically assigned.&lt;br /&gt;
&lt;br /&gt;
In fortress mode, a position that is both [ELECTED] and [APPOINTED_BY], cannot be appointed by the player and is also not elected, and can thus not be filled. But in world-gen sites however, these positions are automatically filled.&lt;br /&gt;
&lt;br /&gt;
Positions with [AS_NEEDED] are almost never created and filled in world-gen (depending on their [RESPONSIBILITY]ies), but can always be used in player mode.&lt;br /&gt;
&lt;br /&gt;
A position can, in fortress mode, be filled by the same unit. A unit can gain multiple positions in fortress mode, for example because of [[elections]]. This will not happen in world-gen mode: a unit can only have one position. See also remarks on 'embark' and 'Losing a position'.&lt;br /&gt;
&lt;br /&gt;
In world-gen, [SUCCESSION] between civ-levels and [SITE-]levels may happen. This will not happen in fortress mode, or even off-site in [[World activities]].&lt;br /&gt;
&lt;br /&gt;
In fortress mode, premature SUCCESSION may happen. This will not happen in world-gen mode.&lt;br /&gt;
&lt;br /&gt;
==Units holding multiple positions in multiple entities==&lt;br /&gt;
A unit can hold multiple positions in its civilisation or in its site-entity, however this does not happen in world-gen. Only at player-managed sites can units be holding multiple positions at once. (It is probably not possible for a unit to hold a position in two different civilisations or two different sites.)&lt;br /&gt;
&lt;br /&gt;
In world-gen, if there are too many positions to be filled, they simply stay empty until more units are available. E.G, a unit at a site might inherit a civ-level position and still remain a member of the local government. When this happens however, they move to the capital. If a unit gains a new position, either inherited or otherwise, it drops the previous one. If a unit assumes a civ-position in fortress mode, it leaves the current position. &lt;br /&gt;
&lt;br /&gt;
If a unit holds the same (site-)position multiple times, it has no additional effect.&lt;br /&gt;
&lt;br /&gt;
If a unit holds multiple different positions of the same entity, it has all those positions' responsibilities and properties, stacked up. Presumably, the demands for those combined positions are determined by the highest.&lt;br /&gt;
 &lt;br /&gt;
A unit holding a position with a succession token can be assigned another position with a (different) succession token. &lt;br /&gt;
&lt;br /&gt;
A unit holding a position with a squad-position cannot hold another squad-position. It is dropped from the first, when it gets its second assigned. &lt;br /&gt;
A unit holding a position with a succession token cannot be assigned to a squad-position - the unit is simply not available. It works the other way around, though.&lt;br /&gt;
&lt;br /&gt;
=[PRECEDENCE]=&lt;br /&gt;
The first defined position with precedence of 1 counts as the ruler of the civ. See also: [[Position_token#PRECEDENCE|PRECEDENCE]]. &lt;br /&gt;
&lt;br /&gt;
If the precedence is omitted or has a negative value, the game sets 0 as precedence, which seems to have no effect whatsoever.&lt;br /&gt;
&lt;br /&gt;
When a unit has multiple positions, the name of the position with the highest rank in precedence is shown behind the unit's name.&lt;br /&gt;
&lt;br /&gt;
If you omit precedence entirely, or set it to [PRECEDENCE:NONE], the position name will not be shown after the unit’s name. Your *Urist Mason* will remain simply *Mason*. This can be useful for positions that are unimportant or purely functional. The position will also not appear in the civilisation overview of your site on the world map. The position name is shown in messages, but remains hidden on the nobles screen as well. To make it visible there, use [LAND_NAME].&lt;br /&gt;
&lt;br /&gt;
=[RESPONSIBILITY]ies=&lt;br /&gt;
Both civ and [SITE] positions can carry responsibilities. However, not all responsibilities are active for both types: some function only for civ positions, others only for site positions. When a civ noble arrives at a site and takes up residence, they do not perform responsibilities that are intended for SITE nobles. As a result, these responsibilities neither trigger their associated tasks nor unlock related game mechanics. For example, a civ-level manager living in a fortress will not perform management duties there and doesn't unlock the management-screen, even with an assigned office. &lt;br /&gt;
This behavior applies to the following [SITE]-level responsibilities:&lt;br /&gt;
* [RESPONSIBILITY:ACCOUNTING]&lt;br /&gt;
* [RESPONSIBILITY:BUILD_MORALE]&lt;br /&gt;
* [RESPONSIBILITY:HEALTH_MANAGEMENT]&lt;br /&gt;
* [RESPONSIBILITY:LAW_ENFORCEMENT]&lt;br /&gt;
* [RESPONSIBILITY:MANAGE_PRODUCTION]&lt;br /&gt;
* [RESPONSIBILITY:MEET_WORKERS]&lt;br /&gt;
* [RESPONSIBILITY:TRADE]  (functions differently)&lt;br /&gt;
Other responsibilities may be affected as well, but have not yet been fully tested.&lt;br /&gt;
&lt;br /&gt;
==[DELIVERS_MESSAGES]==&lt;br /&gt;
The only [AS_NEEDED]-position that is created in worldgen based on responsibility is that of the site-level responsibility [DELIVERS_MESSAGES].&lt;br /&gt;
&lt;br /&gt;
==Outpost Liaisons and Diplomats==&lt;br /&gt;
Civ-positions with the responsibility [ESTABLISH_COLONY_TRADE_AGREEMENTS] ([[Outpost_Liaison|Outpost Liaison]]s) will meet with the site-noble who has responsibility for [RECEIVE_DIPLOMATS] and the highest rank of precedence (i.e. the lowest precedence value). Usually this is the [[Expedition_leader|Expedition leader]].&lt;br /&gt;
&lt;br /&gt;
Once a [LAND_HOLDER] is assigned to the site, civ-positions with the responsibility [MAKE_TOPIC_AGREEMENTS] ([[Diplomat]]s) will meet with '''civ'''-level nobles present at the site who have the [RECEIVE_DIPLOMATS] responsibility. If multiple eligible nobles are available, one is selected at random. If no eligible noble is present, the diplomat leaves angrily. If the landholder is no longer present at the site, diplomats will not arrive at all.&lt;br /&gt;
&lt;br /&gt;
It appears that Outpost Liaisons and Diplomats are chosen for a diplomatic mission based on availability. When multiple candidates exist, the position defined last in the raws is most often selected.&lt;br /&gt;
&lt;br /&gt;
==[TRADE]==&lt;br /&gt;
Civ-level nobles with [TRADE] will arrive with the caravan, just as the Outpost Liaison. Their behavior is no longer active in the vanilla game, but the mechanics are still present. See [[40d:Guild_representative|Guild representative]] for more details. This civ-noble will only meet with the SITE noble with [TRADE], usually the [[Broker]].&lt;br /&gt;
&lt;br /&gt;
If two civ-nobles exist with both [TRADE] and [ESTABLISH_COLONY_TRADE_AGREEMENTS], they both arrive at the same time. Even if both tokens are assigned to a single position, if more than one instance of that position exists, two of them will arrive. However in that case, somehow the elevation of the site and appointment of landholder isn't offered.&lt;br /&gt;
&lt;br /&gt;
If the SITE-noble they intend to meet has both [TRADE] and [RECEIVE_DIPLOMATS], only one meeting will proceed and the other is cancelled. However, when two SITE-nobles are available, each with either [TRADE] or [RECEIVE_DIPLOMATS], both meetings will proceed and both civ-nobles will attempt to negotiate a trade agreement. It is not known what happens if these agreements are accepted or refused.&lt;br /&gt;
&lt;br /&gt;
In the trade depot, the last defined position with the [TRADE] responsibility is shown as broker. However when requesting a trader, the first defined position with [TRADE] will actually go there to do the trade.&lt;br /&gt;
&lt;br /&gt;
==World-gen effects of the [RESPONSIBILITY] of available positions ==&lt;br /&gt;
It is possible to cause civs and individual sites to change their behavior substantially when they reach a certain size, by controlling nobles. &lt;br /&gt;
* If a site can only appoint a position with [MILITARY_GOALS] after reaching a particular size, that site will not send armies on missions until the required size is reached.&lt;br /&gt;
* A civ-level [LAW_MAKING] position is required for the civilization to have any kind of cohesion. Without it, sites will be constantly embroiled in territorial disputes and civil wars will be commonplace.&lt;br /&gt;
* [MILITARY_STRATEGY] positions go out and tame wild animals. This makes your civ gain those animals as domesticated and also brings them in sieges.&lt;br /&gt;
* The [[Personality_facet|Personality]] of the position's holder determines how they lead the civ.&lt;br /&gt;
&lt;br /&gt;
=Availability and visibility=&lt;br /&gt;
==Availability of (new) positions==&lt;br /&gt;
Warning: Do not mistake &amp;quot;availability&amp;quot; for &amp;quot;visibility&amp;quot;! &lt;br /&gt;
&lt;br /&gt;
Of all the possible positions existing in your site's entity, there may only be some available. &lt;br /&gt;
* Positions with [REQUIRES_POPULATION] require the population to have a specific size.&lt;br /&gt;
* Positions with [REQUIRES_MARKET] will only appear in &amp;quot;large&amp;quot; sites (which may have different rules for different site types). This tag has no effect in fort mode.&lt;br /&gt;
* Positions that are appointed by positions that have an AS_NEEDED number. The appointable positions only become available after an appointer position-slot is created. This works also on civ-level. If a position is appointed by a Land-holder, it only becomes available, when that level of landholder is created. &lt;br /&gt;
	&lt;br /&gt;
Only the replaced positions are culled and are no longer available. &lt;br /&gt;
A position that requires a certain population will become available, even if it doesn't have [APPOINTED_BY] or [ELECTED]. In that case, see 'automatic assignment' and 'assumption'&lt;br /&gt;
&lt;br /&gt;
In fortress mode, in some cases 'succession' is evaluated immediately after a position becomes available. See: Succession.&lt;br /&gt;
==Visibility of positions==&lt;br /&gt;
A position might be available, but can still be invisible for the player in the [[nobles screen]]. The positions with their respective holders are visible for players:&lt;br /&gt;
* All site-positions that are already filled-in (even if they could not be re-filled-in considering current conditions)&lt;br /&gt;
* Site positions that are appointable by a filled-in site position&lt;br /&gt;
* Site positions that are appointable by a filled-in civ position, when that civ positions holder becomes a citizen of your fortress.&lt;br /&gt;
* Civ positions of units that are also a citizen of your fortress.&lt;br /&gt;
If a position becomes available, for example because a certain pop number has been reached, or if it is available from the start(like expedition leader), as long as it cannot be appointed, it still is INVISIBLE for the player. &lt;br /&gt;
&lt;br /&gt;
It might strike someone as odd if a position becomes filled automatically in fortress mode when that position is not even visible. This might be the case if the current holder of a non-appointable position dies or succeeds another position. Regardless of player visibility, these positions will be automatically filled in if the necessary requisitions are met. It might happen with the expedition leader.&lt;br /&gt;
&lt;br /&gt;
A situation with a non-visible but available position, is for example when a position is solely appointed by the expedition leader, when the expedition leader's position is left vacant. It can no longer be appointed by the player and is invisible. Then, it gets automatically assumed, proving that the position still was available.&lt;br /&gt;
&lt;br /&gt;
A position that is both [APPOINTED_BY] and [ELECTED] is visible, but players cannot interact with it.&lt;br /&gt;
&lt;br /&gt;
=[NUMBER]=&lt;br /&gt;
A position might be defined with a number. In that case, as many as defined can be available. If the positions become available, in world-gen and when embarking, they are all filled-in completely.&lt;br /&gt;
&lt;br /&gt;
If the ruling position (with PRECEDENCE of 1) has a NUMBER higher than 1, a random unit of the ones holding these positions is shown as ruler in the embark screen.&lt;br /&gt;
&lt;br /&gt;
A [NUMBER] of 0 (zero) has the same effect as 1.&lt;br /&gt;
&lt;br /&gt;
==Automatic spreading of assumed, non-singular positions==&lt;br /&gt;
If there are civ positions that have a NUMBER higher then '1' and which are assumed (not APPOINTED_BY or ELECTED) but are '''not DUTY_BOUND''', these are automatically spread among the civilisation, based on population. If there are a number of '''20''' available slots of that position, they spread among a civilization with a combined population of, for example, 1000 of which your fortress has 100 (10%), '''2''' of your fortress' citizens will assume that position. &lt;br /&gt;
This may probably also work with elected and appointed positions, but that may be depending on the death of the current holders and this needs more testing. Assumption works within a day, anyway. &lt;br /&gt;
&lt;br /&gt;
==[AS_NEEDED]==&lt;br /&gt;
These positions can be created automatically by the game in world-gen. This, however, only works with: &lt;br /&gt;
* [LAND_HOLDER]'s&lt;br /&gt;
* squad commanders (needs more testing)&lt;br /&gt;
* Messengers at sites&lt;br /&gt;
&lt;br /&gt;
For all other types of positions, they're not created in world-gen, even if they are defined with RESPONSIBILITY's. For example, even in war, the game wouldn't create a MILITARY_GOALS position, if they have AS_NEEDED as number. &lt;br /&gt;
&lt;br /&gt;
However, in fortress mode / player mode, these positions can be created by the player at will.&lt;br /&gt;
&lt;br /&gt;
Positions with AS_NEEDED need to be created first, before any symbols are assignable as 'symbols' (objects) for the position holder to carry or wear.&lt;br /&gt;
&lt;br /&gt;
Positions with AS_NEEDED cannot be created and then ELECTED in fortress mode. It only works with APPOINTED_BY.&lt;br /&gt;
&lt;br /&gt;
=Replacement and Required Population=&lt;br /&gt;
&lt;br /&gt;
The token REPLACED_BY:position means that once the replacing position reaches its required population-number, the 'to-be-replaced' position will disappear. This is defined in REQUIRES_POPULATION. These tags are closely related to each other and seem to only have a meaningful function if combined. Nobles with REQUIRES_POPULATION require the population to have a specific size. &lt;br /&gt;
&lt;br /&gt;
This works on the civ-level as well as on site-level, but those systems are in this mechanic strictly separated. Site-level positions cannot be replaced by civ-level positions and visa versa. This makes sense, because they both depend on their own population-count. When using REQUIRES_POPULATION on civ-level, it counts the total population of the civilisation. &lt;br /&gt;
&lt;br /&gt;
See also: [[Advanced_entity_position_mechanics#Evaluation_of_Positions|Evaluation of positions]]&lt;br /&gt;
&lt;br /&gt;
==Effect of replacement (and on [LAND_HOLDER]s)==&lt;br /&gt;
&lt;br /&gt;
Replacement is immediate and complete - the current holding unit loses the position, even before SUCCESSION_BY_POSITION rules are applied. A position with a number of 1 will replace all the slots of a position with a higher number of slots. &lt;br /&gt;
&lt;br /&gt;
Even if the next position is available but not visible, replacement still takes place. If a position is replaced, it is completely gone - it cannot be appointed, succeeded, elected or assumed any longer.&lt;br /&gt;
The unit immediately loses its position.&lt;br /&gt;
&lt;br /&gt;
In legends, replacement is mentioned as: &amp;quot;(unit name) ceased to be (position name)&amp;quot; The replacement of an AS_NEEDED position empties the position's slot forever. In fortress mode, it may seem as if you can create new slots and appoint new units in the nobles screen, but this is reversed as soon as you close the window.&lt;br /&gt;
&lt;br /&gt;
The landholder chain uses [REPLACED_BY] differently. It does not clear the position completely, but uses it for succession to the next level's position. [REPLACE_BY] is required to let that system work properly. This also means that the way in which landholders succeed (replace + as_needed) does not work in any other way. &lt;br /&gt;
&lt;br /&gt;
Replacement between LAND_HOLDERS and other site- or civ positions does not work in any way. Only the vanilla replacement sequence between levels of LAND_HOLDERs does work. If the token is omitted for landholders, the landholder chain is broken, so replacement is required for the landholder system to work.&lt;br /&gt;
&lt;br /&gt;
[REQUIRES_POPULATION] also does not work for [LAND_HOLDER], when you set [NUMBER] to 1. The position is not created when the required population is reached.&lt;br /&gt;
&lt;br /&gt;
==What doesn't work==&lt;br /&gt;
&lt;br /&gt;
'''Attention: If a position cannot be appointed, for example because of 'mutual appointment', it still exists according to replacement mechanics and will replace other positions if so defined. If a certain position(a) will be replaced by the baron's assistant, which can only be appointed by the [LAND_HOLDER] baron, than that position(s) still will be replaced from the start of the game, even if no baron or their assistant is ever present.'''&lt;br /&gt;
&lt;br /&gt;
A position that is replaced by a somehow non-fillable position is still replaced. This counts for mutual-appointing positions, replacement by not-yet-assigned landholders, replacement by AS_NEEDED positions, or replacement by not-yet-appointed positions. &lt;br /&gt;
&lt;br /&gt;
Replacement does not work if the replaced position is a [LAND_HOLDER], even with civ-positions. In that case, the LAND_HOLDER's position is not replaced. It does not matter if AS_NEEDED is used, or a fixed number, and it also does not matter what type of position the replacer is. So this only works (correctly) with positions that become available by REQUIRES_POPULATION.&lt;br /&gt;
&lt;br /&gt;
={{text anchor|Evaluation of Positions}}=&lt;br /&gt;
The game does not continuously check whether positions should become available, elected or be [REPLACE_BY]. This is well-known behavior—for example with the [[mayor]], who does not appear automatically when the required population ([REQUIRES_POPULATION]) is reached. Instead, positions must somehow be evaluated. This applies in several other situations as well &lt;br /&gt;
&lt;br /&gt;
'''Cases that require a trigger:'''&lt;br /&gt;
* Election of a newly created position&lt;br /&gt;
* Election after the current holder dies&lt;br /&gt;
* Automatic assumption of a newly created position (this may take up to a day)&lt;br /&gt;
* New citizens (such as migrants) considering available positions&lt;br /&gt;
* Premature succession of a newly created position&lt;br /&gt;
&lt;br /&gt;
'''Cases that do not wait for a trigger:'''&lt;br /&gt;
* Succession following the death of the previous holder&lt;br /&gt;
* Automatic assumption of existing positions that have become vacant&lt;br /&gt;
&lt;br /&gt;
'''Triggers that cause the game to reevaluate noble positions:'''&lt;br /&gt;
* Succession of a [SITE]-position due to the death of the current holder&lt;br /&gt;
* [[Advanced_entity_position_mechanics#Election_Day|Election Day]]&lt;br /&gt;
* Automatic assumption of a [SITE]-position that becomes vacant&lt;br /&gt;
* (Re)assigning any site position manually&lt;br /&gt;
* Settlement elevation on the LAND_HOLDER track (e.g. gaining a [[Baron]] or [[Count]])&lt;br /&gt;
&lt;br /&gt;
=Gaining a position=&lt;br /&gt;
There are several ways a unit can gain a position:&lt;br /&gt;
* Appointment: A unit is appointed by another unit or by the player.&lt;br /&gt;
* Election: A unit is elected by and among the members of the entity&lt;br /&gt;
* Assumption: A position is neither elected or appointed: a random unit just simply 'takes' the position&lt;br /&gt;
* Succession: a unit is the valid successor of this position(A), either by its current position(B) or because they are that position(A)-holder's heir. &lt;br /&gt;
&lt;br /&gt;
Available positions will automatically be assigned to a random civ member when a new site/civ is created.&lt;br /&gt;
&lt;br /&gt;
==Who can take a position==&lt;br /&gt;
&lt;br /&gt;
* If so defined, a unit needs to be the right caste and/or class - it does not seem to work with creature types. &lt;br /&gt;
* The unit needs to be an adult member of the site or its parent civ's government; that is also CAN_LEARN or INTELLIGENT (SLOW_LEARNER cannot take positions) or otherwise is able to think.&lt;br /&gt;
&lt;br /&gt;
==Appointment==&lt;br /&gt;
&lt;br /&gt;
Positions that have an [APPOINTED_BY:position] token require that position to exist, to be available and appointed. Any position that is APPOINTED_BY can be appointed if the appointer's position is filled in. &lt;br /&gt;
For site-positions to be appointed, it is required that the appointer is present at that location.&lt;br /&gt;
&lt;br /&gt;
If the appointing unit is temporarily not present, or if that position is not filled, positions depending on it cannot be appointed. This is the case with [[militia captains]], when the [[militia commander]] is on a [[mission]]. &lt;br /&gt;
&lt;br /&gt;
A site position cannot appoint a civ position ''or'' LAND_HOLDER in any way whatsoever. &lt;br /&gt;
&lt;br /&gt;
Civ-level positions can appoint other civ-level positions and site-level positions can appoint other site-level positions.&lt;br /&gt;
&lt;br /&gt;
Contrary to what has been said elsewhere, civ-level nobles also can appoint site-level nobles. They need to be at the site to do so. Landholders can appoint both site-level and civ-level nobles. These systems are therefore not as separate as was assumed.&lt;br /&gt;
&lt;br /&gt;
'''Mutual appointment''' cannot take place. If these are the only requisites of the position, then the positions will never appear or get filled. These unfillable positions can be put to good use, for example, to replace a position that is no longer needed without creating a new one. &lt;br /&gt;
&lt;br /&gt;
'''Self appointment''' doesn't normally work. If you have a position that is only appointed by itself, it is never appointed and also cannot be assumed. However, if the position has a number higher than 1, and is filled by multiple units (for example by another position that is now empty), than those units can re-assign or appoint each other from that their shared position. &lt;br /&gt;
&lt;br /&gt;
If an APPOINTED_BY token refers to a non-existing position's code, the effects are as if the appointment token doesn't exist at all.&lt;br /&gt;
&lt;br /&gt;
===Automatic appointment in world-gen and on the civ level===&lt;br /&gt;
&lt;br /&gt;
Outside of fortress mode, the game will always attempt to appoint nobles whenever possible, as long as these positions are '''available''', even if they are invisible to the player.&lt;br /&gt;
It shows this message in legends:  &amp;quot;(unit name) has been appointed to the position of (position name)&amp;quot;&lt;br /&gt;
&lt;br /&gt;
In world-gen, all positions become available and are automatically appointed, taking population- and appointment-requirements into consideration. &lt;br /&gt;
&lt;br /&gt;
Positions that are REPLACED_BY are culled and won't be filled.&lt;br /&gt;
&lt;br /&gt;
If a citizen of your fortress holds a civ-level position that can appoint another civ-level position, the appointment will happen automatically and without player intervention. It may happen that another citizen of your fortress is appointed by that unit, creating civ-level position holders in your fortress, but it is unknown what is required to force this effect.&lt;br /&gt;
&lt;br /&gt;
===Manual appointments by players in fortress mode===&lt;br /&gt;
In fortress mode, the positions that need to be appointed stay empty on embark. and it is the player's job to appoint those. A player can appoint a unit to any available position, according to the hereabove mentioned conditions. The player takes the role of the automatic appointment-system, but has no direct control over elections, successions and replacement. There are some differences in what is possible at world-gen sites and at player-controlled sites.&lt;br /&gt;
&lt;br /&gt;
* A position that is appointed by a unit present as a fortress citizen, can be appointed, re-appointed or left vacant. This means also by civ-level nobles living as a citizen in your fortress; not when they are only visiting, like the diplomat.&lt;br /&gt;
* A position whose appointing positions are all either vacant or [REPLACED_BY] can no longer be appointed. If the position is already filled, it cannot be reappointed or vacated; the current holder simply remains in office.&lt;br /&gt;
* A position that is APPOINTED_BY a unit present as the land_holder of your site, can be appointed, reassigned or left vacant.&lt;br /&gt;
* A position that has SUCCESSION BY_HEIR or BY_POSITION can 'initially' be appointed and also re-appointed or left vacant, but as soon as the [[nobles]] screen closes, ''it can no longer be replaced or left vacant''. From then on, the succession-rules determine who gains that position when the current holder loses the position. This works even if the SUCCESSION:BY_POSITION-position is vacant or replaced.&lt;br /&gt;
* A position that is ELECTED nor APPOINTED_BY, can always be (re-)appointed by the player. This is the case with the [[Expedition leader]]. If it is left vacant however, it cannot be appointed, but will be assumed shortly after. &lt;br /&gt;
* A position that is both ELECTED and APPOINTED_BY, cannot be appointed by the player. Contrary to world-gen sites, its slot is visible, but it doesn't show the +-sign. This is either by AS_NEEDED or by a fixed number. Even if the position somehow gets filled (re)assignment is never possible&lt;br /&gt;
* A player can appoint a number of units to a position, as much as the NUMBER token dictates. If it is AS_NEEDED, the player may create as many slots as they like, also contrary to world-gen sites. &lt;br /&gt;
* A civ-position can never be appointed, even if the appointing civ noble is a citizen of your fortress. A civ position also never can be re-assigned or left vacant, would that position be defined as appointed by a site-position.&lt;br /&gt;
&lt;br /&gt;
==Election==&lt;br /&gt;
Read more in [[Elections]]. The message that is shown is: &amp;quot;(creature name) has been elected to the position of  (position name)&amp;quot;&lt;br /&gt;
&lt;br /&gt;
In worldgen, there is no functional difference between ELECTED and non-appointment, except that elected nobles tend to have high social skills and/or skills related to the position, while non-elected ones are assigned randomly. See: [[Elections]]&lt;br /&gt;
&lt;br /&gt;
A succession goes before an election. &lt;br /&gt;
&lt;br /&gt;
A position that is both ELECTED and APPOINTED_BY never gets elected. Even if the appointees' position somehow gets filled, (re)-elections won't happen. So, it doesn't seem possible to have an elected position become available when a certain other position becomes filled. &lt;br /&gt;
&lt;br /&gt;
An ELECTED civ-(or LAND_HOLDER) position at your site will never be (re)-elected in fortress mode. So real (re-)election only works with SITE-positions. &lt;br /&gt;
&lt;br /&gt;
=== {{text anchor|Election Day}} ===&lt;br /&gt;
Election Day takes place on the 17th of Summer. On this day, a full reevaluation is performed, including all currently elected positions, which are subject to re-election. Contrary to the information on [[Elections]], nothing occurs at the start of a season.&lt;br /&gt;
&lt;br /&gt;
Positions that are both [APPOINTED_BY] and [ELECTED] will not be re-elected on Election Day when assigned through [SUCCESSION].&lt;br /&gt;
&lt;br /&gt;
=== Election Eligiblity ===&lt;br /&gt;
Any citizen may stand for election. Eligibility cannot be restricted using [ACCEPTED_CREATURE], [REJECTED_CREATURE], [ACCEPTED_CLASS], [REJECTED_CLASS], or [GENDER]. Units currently having a [SUCCESSION]-position even may be elected for a position with a [SQUAD]-token, which is otherwise impossible to assign or even succeed.&lt;br /&gt;
&lt;br /&gt;
=== Skills ===&lt;br /&gt;
In elections, skills are taken into account for the tokens of the position which is elected.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Relevant skills per position token&lt;br /&gt;
|-&lt;br /&gt;
! Position Token !! Relevant skills&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#DELIVER_MESSAGES|[DELIVER_MESSAGES]]] || [[Ambusher]], [[Observer]] and [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#ACCOUNTING|[ACCOUNTING]]] || [[Record_keeper|Record keeper]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#ESPIONAGE|[ESPIONAGE]]] || [[Schemer]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#HEALTH_MANAGEMENT|[HEALTH_MANAGEMENT]]] || [[Diagnostician|Diagnostician]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#MAKE_INTRODUCTIONS|[MAKE_INTRODUCTIONS]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#MAKE_PEACE_AGREEMENTS|[MAKE_PEACE_AGREEMENTS]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#MAKE_TOPIC_AGREEMENTS|[MAKE_TOPIC_AGREEMENTS]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#MANAGE_PRODUCTION|[MANAGE_PRODUCTION]]] || [[Organizer]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#MEET_WORKERS|[MEET_WORKERS]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#RECEIVE_DIPLOMATS|[RECEIVE_DIPLOMATS]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#RELIGION|[RELIGION]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#TAME_EXOTICS|[TAME_EXOTICS]]] || [[Animal_trainer|Animal trainer]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#TRADE|[TRADE]]] || [[Social_skill|Social skills]] and [[Appraiser|Appraiser]]&lt;br /&gt;
|-&lt;br /&gt;
| [[Position_token#SQUAD|[SQUAD]]]-token || [[Tactician]] and [[Leader]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Assumption==&lt;br /&gt;
&lt;br /&gt;
A position that is not APPOINTED_BY nor ELECTED, or is appointed by positions that are not available in your site or civ, will be assumable by a random dwarf. If it has responsibilities that require certain skills, then these are taken into consideration on embark, but not when the position is assumed during the actual game. &lt;br /&gt;
&lt;br /&gt;
Normally, one to three units will take the into consideration to assume a position. Most of the time when there are multiple open positions, only a single unit will assume all of them. However, a position that has REJECTED_CREATURE, REJECTED_CLASS, ALLOWED_CREATURE or ALLOWED_CLASS will be filled with all different units, even if the creature or class mentioned is irrelevant. It seems that this forces the game to loop over all the available units.&lt;br /&gt;
&lt;br /&gt;
The message that is shown in Legends mode is: &amp;quot;(unit name) has assumed the position of (position name)&amp;quot;. This may also take place in fortress mode, which then shows this message to the player. &lt;br /&gt;
&lt;br /&gt;
If an assumable position becomes empty, it will be assumed within a day. This is the case when you leave the position of expedition-leader vacant. It also happens with entities. &lt;br /&gt;
&lt;br /&gt;
Assumable positions that become empty will not be assumed if that position has a valid [SUCCESSION] -successor. In that case, the successor inherits the position. &lt;br /&gt;
&lt;br /&gt;
Even positions that are somehow invisible because they cannot be directly APPOINTED_BY players, can be assumed. &lt;br /&gt;
&lt;br /&gt;
When you embark, the assumable positions are automatically assigned to a random unit. If there are multiple of these positions at embark, they all are assigned to the same unit. If there are enough positions available, multiple units may gain a position, but often no more than three different ones.&lt;br /&gt;
&lt;br /&gt;
If a dwarf in fortress mode assumes a position, that already has another position, it will leave the current position empty. When that position also is assumed, then this will continue until all positions have a dwarf appointed to them, with no other position.&lt;br /&gt;
&lt;br /&gt;
A unit that already has a position with a [SUCCESSION] token won't take assumable positions into consideration that have a [SQUAD] token. This can be used by the modder to prevent unwanted loss of current positions.&lt;br /&gt;
&lt;br /&gt;
A position that has an appointer which got replaced because of REPLACED_BY, will not become assumable. Also, positions that have an AS_NEEDED appointer that is not yet filled (or ever), will also not be assumed.&lt;br /&gt;
&lt;br /&gt;
==Succession==&lt;br /&gt;
&lt;br /&gt;
If a position-holder dies or advances to a new position via succession, the position will be granted to another unit based on the [SUCCESSION] tag. If they have an heir or the succeeding position exists, that unit will be assigned. If not, a new one will be appointed according to the usual rules. The message that is shown is: &amp;quot;(creature name) being the rightful heir, has inherited the position of (position name)&amp;quot;&lt;br /&gt;
&lt;br /&gt;
The succeeding creature will also lose its previous position. When succession is defined using BY_POSITION, the unit naturally loses the referenced position. However, it also loses any other positions it may hold. If a unit could simultaneously inherit multiple positions, the last-defined succession overrides the earlier one, clearing the previously acquired position&lt;br /&gt;
&lt;br /&gt;
Succession works both at site-level and at civ-level, both in world-gen and in fortress-mode. Succession by position on the civ-level is also visible and functional in fortress-mode. If both civ-level nobles are a citizen of your fortress, succession is applied visually. Vanilla example: The [[druid]] is succeeded by the [[acolyte]]. This means that as soon as the druid dies, the acolyte takes over. &lt;br /&gt;
&lt;br /&gt;
When a position that is succeeded by position becomes available, immediately it is checked if a position-successor is available and the position is filled with that unit. Even if this is an [ELECTED] position, succession goes first. When elections eventually do happen, succession plays no role.&lt;br /&gt;
&lt;br /&gt;
It is possible to assign multiple levels of [SUCCESSION:BY_POSITION] in different positions, creating a line of positions where the death of one causes all those &amp;quot;below&amp;quot; them to advance.&lt;br /&gt;
&lt;br /&gt;
A position can have multiple tokens with position-succession. It looks to be random which one is used. It is not always:&lt;br /&gt;
* The first or last defined token&lt;br /&gt;
* The first or last appointed unit&lt;br /&gt;
* the oldest or youngest&lt;br /&gt;
* one with a higher or lower precedence&lt;br /&gt;
* a unit with relevant skills&lt;br /&gt;
&lt;br /&gt;
When a position is defined with a Succession-type, that unit cannot have another position that has a Squad-type. If the succession-position itself has a squad, than it can be assigned another position with a squad, but then it will loose the previous succesion position. See further details by &amp;quot;Squad&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Assumed positions can also be succeeded by position, if the current holder dies. &lt;br /&gt;
&lt;br /&gt;
If the successor is an AS_NEEDED position, the used unit will leave a vacant position-slot on its removal by succession. This empty slot remains a real slot, which will only be cleaned up if you (un)appoint a unit to this position-series. It isn't cleaned up after regular position validation.&lt;br /&gt;
&lt;br /&gt;
A civ-level position of a unit living at your site might be inherited by a unit holding that does not currently live at your site. This, unfortunately, moves that position to a unit off site. This may also happen with the landholder of your site, for example when it is succeeded by another civ-level position. This currently poses an unsolved challenge. &lt;br /&gt;
&lt;br /&gt;
===Eligibility for succession===&lt;br /&gt;
Succession is restricted by the tokens [ACCEPTED_CREATURE], [REJECTED_CREATURE], [ACCEPTED_CLASS], [REJECTED_CLASS] and [GENDER].&lt;br /&gt;
&lt;br /&gt;
===Site and civ combined succession===&lt;br /&gt;
&lt;br /&gt;
Succession can work when combining site positions with civ-level positions or land_holders, but only in world-gen mode.  In fortress mode, it only works with combining the same level of nobles, with Landholders regarded as civ-level. So, in fortress mode, a site's position cannot succeed a landholder's position and it cannot succeed another type of civ-level position, and vice versa. &lt;br /&gt;
&lt;br /&gt;
This won't work even if the positions:&lt;br /&gt;
* are AS_NEEDED or having a fixed number.&lt;br /&gt;
* Are LAND_HOLDERs.&lt;br /&gt;
&lt;br /&gt;
===Succession [BY_HEIR]===&lt;br /&gt;
&lt;br /&gt;
When a heir is needed for succession, all children and then other relatives are validated. They cannot take the position if their status does not allow it, for example if they have become a member of another civilisation. See: &amp;quot;Who can take a position&amp;quot;. If the unit has no valid heir on that location, the position may go to a unit living on another site. This may cause the title of Landholder of some land to be inherited by a unit living somewhere else. That might be a problem, because then you lose your landholders.&lt;br /&gt;
&lt;br /&gt;
===Premature Succession===&lt;br /&gt;
&lt;br /&gt;
There are cases where [SUCCESSION:BY_POSITION] is applied prematurely: at the moment a position is first created and becomes appointable or assumable, rather than after a current holder leaves. In this situation, the succession mechanism assigns a holder immediately, without any player interaction.&lt;br /&gt;
&lt;br /&gt;
When a position becomes available for the first time, the game checks whether a valid successor-by-position exists. If so, that unit is assigned instantly. It can affect positions that would normally be appointed or elected by the player, causing succession to trigger before the player has any opportunity to intervene.&lt;br /&gt;
&lt;br /&gt;
This behavior occurs only in Fortress mode, but can be applied both on [SITE]-positions as well in civ-positions. That last one however is a bit harder to control. Example: [[Advanced entity position mechanics#The Archduke|The Archduke]]&lt;br /&gt;
&lt;br /&gt;
This premature succession only occurs the first time a position becomes available (i.e. when it is created and becomes appointable or assumable). Even if the position remains vacant and the conditions for succession improve later, premature succession will not trigger again. From that point onward, only normal succession rules apply.&lt;br /&gt;
&lt;br /&gt;
Using premature succession, a position that has [ELECTED], [APPOINTED_BY], or both, can be filled directly.&lt;br /&gt;
Notably, positions that combine [ELECTED] and [APPOINTED_BY] are normally impossible to fill through regular mechanics. Premature succession bypasses both election and appointment entirely, making this combination uniquely reachable through this mechanism.&lt;br /&gt;
&lt;br /&gt;
No initial election takes place, and no subsequent elections will ever occur for that position. Succession always takes precedence over election, both in premature succession and in normal succession cases.&lt;br /&gt;
&lt;br /&gt;
This behavior applies only in Fortress mode, not during world generation. World-gen uses simplified and more efficient mechanics, and this interaction does not occur there. Premature succession can affect both site-level and civilization-level positions.&lt;br /&gt;
&lt;br /&gt;
====Multiple succession chains====&lt;br /&gt;
&lt;br /&gt;
Multiple succession chains may be defined and are resolved in the order they appear in the raws.&lt;br /&gt;
&lt;br /&gt;
If a position has both:&lt;br /&gt;
* a direct succession chain (A → C), and&lt;br /&gt;
* a multi-step chain (A → B → C),&lt;br /&gt;
&lt;br /&gt;
and intermediate positions are vacant, resolution proceeds according to raw order. A common outcome is:&lt;br /&gt;
# The direct succession (A → C) is applied first, assigning A to C.&lt;br /&gt;
# The remaining chain then advances (A → B).&lt;br /&gt;
# If C still has empty slots, the final step (B → C) may occur.&lt;br /&gt;
&lt;br /&gt;
If position B is already filled, behavior depends entirely on raw definition order:&lt;br /&gt;
* nothing may happen, or&lt;br /&gt;
* B may move to C first, followed by A moving to B.&lt;br /&gt;
====Working triggers====&lt;br /&gt;
Premature succession is triggered when a succeedable position is created under the following conditions:&lt;br /&gt;
* The succeedable position is created because its [REQUIRES_POPULATION] threshold is reached. This applies even if the position is not [APPOINTED_BY]. Premature succession takes priority over automatic assumption (e.g. the mayor declaring themselves within a day).&lt;br /&gt;
* The succeedable position can be [APPOINTED_BY] another position of the same level (site or civ) that has just been created because its [REQUIRES_POPULATION] was reached.&lt;br /&gt;
* The succeedable position can be appointed by another [SITE] [AS_NEEDED] position that has just been created and filled.&lt;br /&gt;
* The succeedable (site or civ) position is [APPOINTED_BY] the [LAND_HOLDER] position, which has just been created due to site elevation. This typically resolves when the diplomat leaves the map, at which point the landholder position becomes active.&lt;br /&gt;
* If all other requirements are met, premature succession can occur immediately after unpausing following embark, for positions with [REQUIRES_POPULATION:7].&lt;br /&gt;
====Non-working triggers====&lt;br /&gt;
Premature succession does '''not''' occur in the following cases:&lt;br /&gt;
* An [AS_NEEDED] succeedable position slot is manually created by the player while its succeeding position is already filled. [AS_NEEDED] positions must always be appointed after creation.&lt;br /&gt;
* The succeeding position is filled after the succeedable position becomes available. The moment of creation is the decisive trigger; filling the source position later is too late.&lt;br /&gt;
* The succeedable position can be appointed by another site or civ position with a fixed number of slots that has just been appointed. In this case, the succeedable position is just available for appointment itself, nothing more&lt;br /&gt;
* Any situation occurring during world generation.&lt;br /&gt;
* The succeeding position is [REPLACED_BY] the succeedable position. In this case, replacement removes the unit from the source position first, leaving no holder available for the succession mechanism to use.rst, leaving no holder available for the succession mechanism to use.&lt;br /&gt;
* The position is [APPOINTED_BY] a civ-level position, that just became a citizen of your fortress. It must be noted that those civ-level positions were active all that time and the succeedable position could be appointed even before. The monarchs arrival does not trigger premature succession&lt;br /&gt;
&lt;br /&gt;
=Losing a position=&lt;br /&gt;
&lt;br /&gt;
A unit can lose a position when:&lt;br /&gt;
* It dies&lt;br /&gt;
* It succeeds another position, even if it has nothing to do with the previous position.&lt;br /&gt;
* It is assigned to another SQUAD-holding position&lt;br /&gt;
* It is convicted of a crime.&lt;br /&gt;
* Another unit is ELECTED for the position&lt;br /&gt;
* Its position becomes replaced&lt;br /&gt;
* Another unit is appointed by the player, or the position is left vacant. &lt;br /&gt;
* It has assumed another position, as this always leaves the previous position vacant.&lt;br /&gt;
&lt;br /&gt;
=Embarkment=&lt;br /&gt;
Two types of positions are automatically filled by embark. &lt;br /&gt;
* Positions without [APPOINTED_BY] or [ELECTED] (assumable). All these positions, even with a NUMBER higher than 1, are all filled with one to three dwarves. Contrary to assumption, this doesn't take into account any limitations. REJECTED_CLASS, ALLOWED_CLASS, REJECTED_CREATURE, ALLOWED_CREATURE and GENDER are applied, but without the normal spread you may expect with assumptions. Also it doesn't look at [SUCCESSION] and [SQUAD] limitations.&lt;br /&gt;
* Positions that are elected are filled-in by the normal election rules.&lt;br /&gt;
&lt;br /&gt;
Positions that have a defined appointer are never initially filled at embark.&lt;br /&gt;
&lt;br /&gt;
All positions that don't have [REQUIRES_POPULATION]  or with a [REQUIRES_POPULATION] of 7 or lower, will be available at embark.&lt;br /&gt;
&lt;br /&gt;
=Land Holders=&lt;br /&gt;
&lt;br /&gt;
A Landholder is a '''special civ-level noble''' who gets a certain piece of land to hold, when that land is elevated to a certain level, determined by the tag [LAND_HOLDER] and by the landholder triggers in the game's settings. In vanilla, these are the baron, the count and the duke. &lt;br /&gt;
&lt;br /&gt;
A unit gaining the landholder position does not migrate to that specific named land. In world-gen, they stay just where they are, probably at the capital. In fortress mode, you can suggest a citizen for the role. So for the time being that works.&lt;br /&gt;
&lt;br /&gt;
Succession is then a real issue. If you use BY_HEIR, its solved when that landholder has children living at your site. But when its not the case, the title just goes to anyone randomly. Succession BY_POSITION works, but only in the civ-chain, and there's no way to guarantee a civ-holder is at your site at that time. Even with 'automatic spread' positions, it goes to one of them randomly.&lt;br /&gt;
&lt;br /&gt;
==Functioning of the regular landholder chain==&lt;br /&gt;
&lt;br /&gt;
The distinct difference between a landholder and a regular civ-level noble, is that a landholder may gain the position of landholder &amp;quot;of (sitename)&amp;quot; They are then seen as ruler of a particular site. &lt;br /&gt;
&lt;br /&gt;
For a land_holder position to function as such, it has a few requirements:&lt;br /&gt;
* NUMBER:AS_NEEDED &lt;br /&gt;
* The first landholder-number of 1 is defined. &lt;br /&gt;
* No SITE (so civ) tag in that position.&lt;br /&gt;
*REPLACED_BY the next level landholder&lt;br /&gt;
If a landholder is defined with differentiating properties, it will function like a regular noble. A higher-up landholder that lacks the required tokens or connections will then not be used in elevation. &lt;br /&gt;
&lt;br /&gt;
If a fortress meets the trigger for a new LAND_HOLDER tier when a caravan leaves, then the next time the outpost liaison or equivalent arrives, they will offer to make you an official colony, which will allow you to select all positions for that LAND_HOLDER level. Each time they appear, the outpost liaison will only promote your fortress one tier up the LAND_HOLDER track. &lt;br /&gt;
&lt;br /&gt;
The landholder's LAND_NAME is not required for the functioning of this system. If omitted, messages will be shown with a more generic text.&lt;br /&gt;
&lt;br /&gt;
==Appointment==&lt;br /&gt;
&lt;br /&gt;
This mechanism differs from the regular methods of position management. It ignores all regular appointment- and election rules, so it more or less functions like automatic assignment. A landholder is, in vanilla, appointed by the monarch. Changing this doesn't seem to do anything. If they are appointed by a site-position, a not-yet-existing civ-position, or not appointed at all: the system keeps working as usual. &lt;br /&gt;
&lt;br /&gt;
A landholder can appoint civ-positions and site positions. This works as expected: the positions only are appointed then when that landholder becomes available on civ-level or when he arrives at that site for site-level positions. &lt;br /&gt;
&lt;br /&gt;
If your rank of landholder is the first of its rank in the realm, and is the sole appointer of some civ-position, then immediately as it gains the title, it will appoint the empty civ-slots. This may happen on your site, but the frequency and certainty is hard to determine.&lt;br /&gt;
&lt;br /&gt;
==Succession==&lt;br /&gt;
&lt;br /&gt;
Succession rules are applied to some extent:&lt;br /&gt;
* In world-gen it works according to succession rules, and site-positions can be used here.  This means that a site position or a civ-position can inherit a landholder position, and vice versa.&lt;br /&gt;
* In fortress mode, once a landholder has been appointed, it then can inherit civ-level positions, and vice versa. This means that your baron can become king. &lt;br /&gt;
* Succession rules do not apply within the [LAND_HOLDER] chain; a count will not inherit a baron's land. This is because succession does not work well with the AS_NEEDED token.&lt;br /&gt;
* Premature succession works in fortress mode with landholders. If a unit gets a landholder's position and that landholder is the appointer of an as yet empty position, which is defined as succeeding from a third one, then the succession is immediately applied. The landholder themselves can even be the successor of a newly created position.&lt;br /&gt;
* A landholder's position is, in fortress mode, not successionable by a site-position or vice versa&lt;br /&gt;
&lt;br /&gt;
===Impossibilities for succession by a site-position===&lt;br /&gt;
It would be very beneficial if the landholder can be succeeded by a [SITE]-position. So far, the following tests have not lead to positive results:&lt;br /&gt;
* making landholder and site-position both non-[DUTY_BOUND]&lt;br /&gt;
* make the site-position be [APPOINTED_BY] the landholder and/or the monarch&lt;br /&gt;
* give landholder and site-position [REJECTED_CREATURE]&lt;br /&gt;
* Let the monarch live at your site when succession could happen.&lt;br /&gt;
* Let the site-position be [REPLACED_BY] the landholder.&lt;br /&gt;
&lt;br /&gt;
==Nomination==&lt;br /&gt;
&lt;br /&gt;
The player is able to nominate a unit to become the LAND_HOLDER, but this only works with units of [LAND_HOLDER] level 1. The player can select all units, only limited by the PRECEDENCE of the current units' positions.&lt;br /&gt;
&lt;br /&gt;
A unit that has a position with a PRECEDENCE lower or equal to that of the landholder's position, cannot be selected. This means that a baron (or count) from another site or the monarch cannot be selected, because their precedence is lower or equal. &lt;br /&gt;
&lt;br /&gt;
The GENDER  token does not work here: also units with the wrong gender (sorry) can be selected.&lt;br /&gt;
&lt;br /&gt;
==Levels==&lt;br /&gt;
In mods, up to 10 levels of LAND_HOLDER may be defined. &lt;br /&gt;
&lt;br /&gt;
If a landholder is replaced by a wrong landholder number (1 replaced by 3), then the number 3 is still correctly attached to the settlement. &lt;br /&gt;
&lt;br /&gt;
If the current landholder has the highest available landholder number, then the next elevation will not happen - the diplomat will not elevate your fortress to a higher position, even if that position might be REPLACED_BY a lower landholder. &lt;br /&gt;
&lt;br /&gt;
These chains do work:&lt;br /&gt;
* 1 -&amp;gt; 2a - &amp;gt; 2b -&amp;gt; 3&lt;br /&gt;
* 1 -&amp;gt; 3 -&amp;gt; 2 -&amp;gt; 4&lt;br /&gt;
&lt;br /&gt;
These chains do not work:&lt;br /&gt;
* 2 -&amp;gt; 3 (need to start at 1)&lt;br /&gt;
* 1 -&amp;gt; 4 -&amp;gt; 2 -&amp;gt; 3 (stops after 4 as the highest)&lt;br /&gt;
* 1a -&amp;gt; 2, 1b -&amp;gt; 2 (only 1a and 2 work, 1b is not used)&lt;br /&gt;
&lt;br /&gt;
==Moving landholders==&lt;br /&gt;
&lt;br /&gt;
It may happen that a land-holder no longer lives at the site which they are the landholder of, specifically when the current landholder dies, leaving the title to an heir living somewhere else. &lt;br /&gt;
&lt;br /&gt;
To prevent this from happening, you can make their succession from heir and make sure that their kids live at your site. Or, you can make their position succeeded by another civ position, and make it so that this civ position is somehow available on your site. But if multiple of these positions exist, it cannot be guaranteed that a citizen of your fortress will inherit the title. &lt;br /&gt;
&lt;br /&gt;
In world gen, a landholder lacking the DUTY_BOUND-token will also move to the site they like, according to legends mode.&lt;br /&gt;
&lt;br /&gt;
==Replacement by a generic civ-position==&lt;br /&gt;
&lt;br /&gt;
If a landholder is replaced by an AS_NEEDED non-landholder civ-position, then this will work: the current landholder loses that title upon settlement-elevation and gains that civ-title. However, the civ-title lacks the landholder-property of being attached to the land. It will not show the name of the settlement alongside the position's name. So no &amp;quot;minister of Shovelmounts&amp;quot;&lt;br /&gt;
&lt;br /&gt;
If a landholder is replaced by a general AS_NEEDED civ-position, that itself is also replaced by a generic AS_NEEDED civ-position, then firstly the elevation is executed and also the unit gains that new position. However, he immediately loses it, because an AS_NEEDED position that is replaced by another position can be filled initially, but units wont be able to hold that title.&lt;br /&gt;
&lt;br /&gt;
==Landholder with fixed number==&lt;br /&gt;
&lt;br /&gt;
A landholder's position that has a fixed number will be created and filled directly when the civilisation is born, so this position slot is then not available for the regular landholder-mechanic and will also not be used. That landholder will thus not be attached to a settlement. &lt;br /&gt;
&lt;br /&gt;
It doesn't matter if the landholder's position is connected to the regular landholder's-chain with the REPLACE_BY token.&lt;br /&gt;
&lt;br /&gt;
==Responsibilities==&lt;br /&gt;
&lt;br /&gt;
When given a certain [RESPONSIBILITY], a landholder may function as a regular civ-level noble. If the position has [TRADE] or [OUTPOST_NEGOTIATING] responsibilities, then the landholder functions both as a diplomat and as an actual land holder. A landholder with the [MILITARY_STRATEGY]  responsibility will travel around taming creatures in world-gen, according to legends mode. &lt;br /&gt;
&lt;br /&gt;
Besides that, the responsibilities work the same as with any other on-site living position-holder, civ or otherwise.&lt;br /&gt;
&lt;br /&gt;
=Military=&lt;br /&gt;
==Squad management==&lt;br /&gt;
In the vanilla game, the Squad interface only becomes available after a militia commander has been appointed. Until then, the window displays:{{DFtext|You must appoint somebody first to create a squad.}}&lt;br /&gt;
&lt;br /&gt;
What’s surprising is how this is determined internally. In the entity raw definition, '''only the last two positions that include a [SQUAD] token are checked''' to decide whether the interface is accessible at all. As a result, if your hierarchy defines commanders A through E, appointing '''Commander D or E''' unlocks squad formation, while appointing A–C does nothing.&lt;br /&gt;
&lt;br /&gt;
In other words, squad availability is not tied to ''having a militia commander'', but to ''which specific positions happen to be last in the raw list''—a notably hacky implementation.&lt;br /&gt;
&lt;br /&gt;
These 'last two' are always the last two '''available positions.''' So if they get [REPLACED_BY] or become available because of [REQUIRES_POPULATION], the game adapts to those.&lt;br /&gt;
&lt;br /&gt;
==Squad assignment==&lt;br /&gt;
&lt;br /&gt;
Squads can be assigned, even if the leader position has no holder.&lt;br /&gt;
&lt;br /&gt;
A specific unit can only have one position associated with a squad. If it gains another 'squad holding position', it is unassigned from the first one. This does not work with a 0-squad, so only 1+squads are taken into consideration. This technique can possibly be used to distribute all positions equally among all citizens. It does however not work with election and assumption. &lt;br /&gt;
&lt;br /&gt;
If a civ-level position is associated with a squad and it gets a site-level squad-holding position assigned, it loses the current civ-position. &lt;br /&gt;
&lt;br /&gt;
Squads can get really messed up, if you make the position (or multiple) either elected or not-elected and not-appointed, then this can cause the game to assign multiple squads to the same unit. Automatic assignment and election does not take squads into account, but the nobles screen does. This can cause the positions to be cleared as the game figures out that they have more than one position, and immediately get elected or assumed again. &lt;br /&gt;
&lt;br /&gt;
Positions that cannot have a squad-position:&lt;br /&gt;
* A site- or civ-position with a [SUCCESSION] token cannot be appointed a squad-holding-position. The other way around, however, does work. For example, if a site-position with a [SUCCESSION]-token is appointed to a unit that has already a position with [SQUAD]. But when that squad position is assigned to another unit, it cannot be assigned back. &lt;br /&gt;
* A position with [SUCCESSION] can also not be assigned as a '''member''' of a squad.&lt;br /&gt;
* A squad-holding position with a formed squad cannot be appointed to another squad holding position.&lt;br /&gt;
&lt;br /&gt;
If a position has at least one squad member, it cannot be left vacant. First, the squad has to be disbanded, then the position may be cleared.&lt;br /&gt;
&lt;br /&gt;
==0-squads==&lt;br /&gt;
A 0-Squad is defined in a position as [SQUAD:0:member:members]. It does not seem to do anything useful as of now.&lt;br /&gt;
* It cannot be used to activate the [[Squad|military interface]]&lt;br /&gt;
* It does not restrict the assignment of [SUCCESSION] positions.&lt;br /&gt;
* Assigning this position does not clear any previously held squad position.&lt;br /&gt;
* The [[Leader]] and [[Tactician]] skill are not marked as relevant skills and are not taken into account in elections.&lt;br /&gt;
* It cannot be formed as a squad.&lt;br /&gt;
&lt;br /&gt;
=Further testing=&lt;br /&gt;
The following questions may need additional testing. Feel free to add or answer&lt;br /&gt;
* Everything regarding COMMANDING and army-structure&lt;br /&gt;
** [http://www.bay12forums.com/smf/index.php?topic=175437.msg8331668#msg8331668]&lt;br /&gt;
** [http://www.bay12forums.com/smf/index.php?topic=165213.msg8335682#msg8335682]&lt;br /&gt;
** [http://www.bay12forums.com/smf/index.php?topic=174584.msg8026854#msg8026854]&lt;br /&gt;
* Everything regarding CONQUERED_SITE, but it is presumably just like site. But what if you combine SITE or LAND_HOLDER with it?&lt;br /&gt;
* Stuff about the monarch, its arrival and its entourage.&lt;br /&gt;
&lt;br /&gt;
=Oddities (Bugs)=&lt;br /&gt;
Almost everything on this page could be called an oddity. Because of their unexpected usability, some may also be referred to as “undocumented features.” Others, however, are simply odd and not particularly useful, yet I hesitate to call them “bugs.”&lt;br /&gt;
* If a certain threshold is reached that makes an elected position electable, and the triggering event that initiates this evaluation is an assumption, then the resulting assumption is also referred to in the messages as an election&lt;br /&gt;
&lt;br /&gt;
=Examples=&lt;br /&gt;
&lt;br /&gt;
===The Founder===&lt;br /&gt;
The founder is a single dwarf, appointed at embark. They will be the only one ever to have this position and are not replaceable. When they lose their position some way, the position will not be assumed by another dwarf. &lt;br /&gt;
{{gamedata|title=The Founder|&lt;br /&gt;
[POSITION:THE_FOUNDER]&lt;br /&gt;
	[NAME:the founder:founders]&lt;br /&gt;
	[NUMBER:1] &lt;br /&gt;
	[SITE]&lt;br /&gt;
	[ALLOWED_CREATURE:DWARF:ALL]		- will only be filled at embark, but not assumable later.&lt;br /&gt;
	[REJECTED_CREATURE:DWARF:ALL]		- will only be filled at embark, but not assumable later.&lt;br /&gt;
	[SUCCESSION:BY_POSITION:THE_FOUNDER]	- not unassignable, also cannot be assigned to a [SQUAD] position.&lt;br /&gt;
	[PRECEDENCE:200] &lt;br /&gt;
	Non APPOINTED_BY&lt;br /&gt;
	Non ELECTED&lt;br /&gt;
	Optional: Add responsibilities to make the game select a unit with certain skills.&lt;br /&gt;
}}&lt;br /&gt;
===Marriage bar===&lt;br /&gt;
Dwarven matrons are held in great honour. Upon marriage, a female dwarf is no longer expected to perform menial labour. All dwarven males hold this position by default, granting their spouses exemption from menial work.&lt;br /&gt;
&lt;br /&gt;
The position becomes available with the arrival of the first migrants; otherwise, on embark, it would be assumed by females. Its succession rule is non-functional, but this prevents the player from unassigning the position. A squad size of 1 and the succession rules together prevent a unit from assuming the position more than once.&lt;br /&gt;
&lt;br /&gt;
With precedence set to NONE, the position name is hidden, while LAND_NAME remains visible on the nobles screen. All married females receive the suffix “, Mrs.” and are marked as Nobles.&lt;br /&gt;
&lt;br /&gt;
The practical usefulness of this position is debatable, but it serves as a clear demonstration of several mechanics.&lt;br /&gt;
{{gamedata|title=Mrs. Urist|&lt;br /&gt;
 &lt;br /&gt;
[POSITION:MRS_URIST]	&lt;br /&gt;
	[NUMBER:300]						&lt;br /&gt;
	[SITE]						&lt;br /&gt;
	[ALLOWED_CREATURE:DWARF:MALE]	&lt;br /&gt;
	Not APPOINTED_BY				&lt;br /&gt;
	Not ELECTED&lt;br /&gt;
	[LAND_NAME:Dwarven male]				&lt;br /&gt;
	[NAME:dwarven male:dwarven male]&lt;br /&gt;
	[PRECEDENCE:NONE]					&lt;br /&gt;
	[SPOUSE_FEMALE:, Mrs.:spouses]&lt;br /&gt;
	[MENIAL_WORK_EXEMPTION_SPOUSE]&lt;br /&gt;
	[REQUIRES_POPULATION:8]			&lt;br /&gt;
	[SUCCESSION:BY_POSITION:MONARCH]&lt;br /&gt;
	[SQUAD:1:member:members]&lt;br /&gt;
}}&lt;br /&gt;
===The Archduke===&lt;br /&gt;
The archduke is the leader of the civilization, but exists only from landholder 4-level. Until then, its position remains vacant. When a settlement is elevated to tier 4 (grand duke), the grand duke can appoint the ruler of the civilisation, the archduke. Because of 'Premature Succession', they themself inherit that position immediately, but only when in fortress mode. Its heir then becomes grand duke.&lt;br /&gt;
{{gamedata|title=The Archduke| no POSITION:MONARCH or other PRECEDENCE:1 &lt;br /&gt;
&lt;br /&gt;
[POSITION:THE_ARCHDUKE]&lt;br /&gt;
	[NAME:archduke:archdukes]&lt;br /&gt;
	[NAME_MALE:archduke:archdukes]&lt;br /&gt;
	[NAME_FEMALE:archduchess:archduchesses]&lt;br /&gt;
	[LAND_NAME:a archduchy]&lt;br /&gt;
	[NUMBER:1] &lt;br /&gt;
	[PRECEDENCE:1] &lt;br /&gt;
	[SUCCESSION:BY_POSITION:GRAND_DUKE]	&lt;br /&gt;
	[APPOINTED_BY:GRAND_DUKE]&lt;br /&gt;
	(add additional monarch-stuff, like spouse name, demands etc.)&lt;br /&gt;
	&lt;br /&gt;
[POSITION:GRAND_DUKE]&lt;br /&gt;
	[NAME:grand duke:grand dukes]&lt;br /&gt;
	[NAME_MALE:grand duke:grand dukes]&lt;br /&gt;
	[NAME_FEMALE:grand duchess:grand duchesses]&lt;br /&gt;
	[NUMBER:AS_NEEDED] &lt;br /&gt;
	[LAND_HOLDER:4]&lt;br /&gt;
	// Optional ...&lt;br /&gt;
	[PRECEDENCE:19]	&lt;br /&gt;
	[LAND_NAME:a archduchy] &lt;br /&gt;
	[RESPONSIBILITY:LAW_MAKING]&lt;br /&gt;
	[RESPONSIBILITY:RECEIVE_DIPLOMATS]&lt;br /&gt;
	[SUCCESSION:BY_HEIR]&lt;br /&gt;
	[APPOINTED_BY:THE_ARCHDUKE]&lt;br /&gt;
	(add additional landholder-stuff)&lt;br /&gt;
&lt;br /&gt;
!!add to [POSITION:DUKE]&lt;br /&gt;
	[REPLACED_BY:GRAND_DUKE]&lt;br /&gt;
&lt;br /&gt;
}}&lt;br /&gt;
{{Category|Modding}}&lt;br /&gt;
{{Category|Entities}}&lt;br /&gt;
{{Category|Guides}}&lt;/div&gt;</summary>
		<author><name>Joostheger</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=Advanced_entity_position_mechanics&amp;diff=314872</id>
		<title>Advanced entity position mechanics</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=Advanced_entity_position_mechanics&amp;diff=314872"/>
		<updated>2026-02-10T10:37:47Z</updated>

		<summary type="html">&lt;p&gt;Joostheger: /* The Archduke */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Quality|Fine}}&lt;br /&gt;
{{Modding}}&lt;br /&gt;
&lt;br /&gt;
= Introduction = &lt;br /&gt;
&lt;br /&gt;
[http://www.bay12forums.com/smf/index.php?topic=182239.0 Discussion thread on the forum]&lt;br /&gt;
&lt;br /&gt;
This page documents observed and tested behavior of entity positions in Dwarf Fortress that is not fully described elsewhere on the wiki. It focuses on advanced interactions between position tokens, including appointment, succession, election, and responsibility handling, across both civilization-level and site-level entities.&lt;br /&gt;
&lt;br /&gt;
The mechanics described here are based on empirical testing in world generation and fortress mode, supplemented where necessary by raw analysis. In several cases, the game’s behavior is determined by evaluation order and interaction between multiple tags, rather than by individual tokens in isolation.&lt;br /&gt;
&lt;br /&gt;
This page is intended for modders and advanced players who are designing or debugging custom entity position structures. It does not restate basic position mechanics, but instead highlights edge cases, non-obvious interactions, and behaviors that may appear inconsistent or undocumented.&lt;br /&gt;
&lt;br /&gt;
Unless stated otherwise, the described behavior applies to current versions of the game and may differ from older releases.&lt;br /&gt;
&lt;br /&gt;
==What is an entity? What is a position?==&lt;br /&gt;
An [[entity]] is an organizational structure that can have relationships with other entities, usually known as a [[civilization]] or a &amp;quot;[[site]] government&amp;quot; in the game, but merchant [[guild]]s, religious organizations, necromancer towers, and [[bandit]] groups are also entities. An entity can have positions - in most cases, these are hardcoded and generated by the game, but as for civilizations and sites, the [[raw file]]s can be customised.&lt;br /&gt;
&lt;br /&gt;
A position is a special relationship between a unit and an entity. The unit holding a position has a larger influence over that entity than other citizens. Positions are mostly known as [[nobles]], but in this article. the technical term is used.&lt;br /&gt;
&lt;br /&gt;
=Position levels (Site/Civ) and their interaction=&lt;br /&gt;
There are two basic types of positions that are customizable: '''civ(ilization)''' level and '''site level'''. Positions with the tag [SITE] are at site level, positions without the tag [SITE] are at 'civ level'. These two types of nobles can be considered '''loosely related systems'''. There are a few places where they can interact with each other.&lt;br /&gt;
&lt;br /&gt;
Civ-level positions are in charge of the civilization as a whole, managing national [[trade]], laws, and [[war]]s. These are, for example, the vanilla [[monarch]], [[diplomat]] and [[general]]. (Note that the general doesn't do anything in either mode in the current version.)&lt;br /&gt;
&lt;br /&gt;
'''[LAND_HOLDER]''' nobles are also positions at civ-level. These units are members of the national government, but have gained authority over some land or site. Once they do, they move to that place, but their position is still regarded as a civ-level position.&lt;br /&gt;
&lt;br /&gt;
Site-level position holders are members of a site government (subsidiary to the civilization), and manage local affairs in that location. These are, for example, the [[mayor]], the [[sheriff]] and the [[broker]].&lt;br /&gt;
&lt;br /&gt;
==Table of interaction between different position levels==&lt;br /&gt;
In this table, the possible interactions between different position levels are summarized. &lt;br /&gt;
The header row shows the positions defining the tokens.&lt;br /&gt;
&lt;br /&gt;
The left column shows the position type that is referred to.&lt;br /&gt;
Example:  &lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! referred position-type&lt;br /&gt;
! LAND_HOLDER&lt;br /&gt;
|-&lt;br /&gt;
| civilization&lt;br /&gt;
|  &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;(baron is) APPOINTED_BY:MONARCH&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
color coding: &amp;lt;/br&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;Exists in vanilla&amp;lt;/span&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;Possible with mods&amp;lt;/span&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;Not possible&amp;lt;/span&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;possible to some extent.&amp;lt;/span&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;not yet fully investigated.&amp;lt;/span&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! referred position-type&lt;br /&gt;
! Civilization&lt;br /&gt;
! SITE&lt;br /&gt;
! LAND_HOLDER&lt;br /&gt;
! CONQUERED_SITE&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Civilization&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;SUCCESSION '''(1)'''&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| SITE&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;SUCCESSION '''(2)'''&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;APPOINTED_BY '''(3)'''&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;SUCCESSION '''(4)'''&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| LAND_HOLDER&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY '''(6)'''&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;SUCCESSION '''(5)'''&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;REPLACED_BY '''(7)'''&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;SUCCESSION '''(8)'''&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;CONQUERED_SITE&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; COMMANDER &amp;lt;/br&amp;gt; REPLACED_BY &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt; SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;APPOINTED_BY &amp;lt;/br&amp;gt; COMMANDER &amp;lt;/br&amp;gt; REPLACED_BY &amp;lt;/br&amp;gt; SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;APPOINTED_BY &amp;lt;/br&amp;gt; COMMANDER &amp;lt;/br&amp;gt; REPLACED_BY &amp;lt;/br&amp;gt; SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;APPOINTED_BY &amp;lt;/br&amp;gt; COMMANDER &amp;lt;/br&amp;gt; REPLACED_BY &amp;lt;/br&amp;gt; SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Remarks:&lt;br /&gt;
# Works only in world-gen, if a unit with that civ-position is present at the site.&lt;br /&gt;
# Works only in world-gen, the site-position holding unit will then move to the capital.&lt;br /&gt;
# Is completely ignored&lt;br /&gt;
# Works only in world-gen.&lt;br /&gt;
# Works only in world-gen.&lt;br /&gt;
# Won't appear at all&lt;br /&gt;
# This is necessary for the landholder chain to work properly, it doesn’t work otherwise.&lt;br /&gt;
# This works only outside of the landholder chain, so when landholders are simply regarded as civ-level nobles. might also work in world-gen&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
== Other interactions ==&lt;br /&gt;
&lt;br /&gt;
Unfortunately, interactions with positions of other entities don't seem possible, such as APPOINTED_BY: HIGH_PRIEST. With [VARIABLE_POSITIONS], positions are automatically created with codes like CUSTOM_LAW_MAKER_2, but interaction with these positions don't seem to work, either. For more info on those, see [[Variable positions]]&lt;br /&gt;
&lt;br /&gt;
=General=&lt;br /&gt;
&lt;br /&gt;
==Civ-level nobles living at your site==&lt;br /&gt;
Nobles from your civilization can come to live at your fortress. This happens in vanilla with landholders such as [[Baron]], [[Count]] and [[Duke]], with the Monarch, but sometimes also with non-landed LAND_HOLDERS.&lt;br /&gt;
&lt;br /&gt;
When a civ-level noble becomes a [[citizen]] at your location, their position is shown among the site-level positions in your [[nobles screen]]. They appear to function as a site-level noble. They may have [[demand]]s, [[mandate]]s, [[squad]]s and the like. They can appoint nobles at the site-level.&lt;br /&gt;
&lt;br /&gt;
If they have certain [RESPONSIBILITY]ies, they do the tasks that go with them.&lt;br /&gt;
&lt;br /&gt;
==Fortress mode, world-gen and their differences==&lt;br /&gt;
Their are a few differences in how positions function between fortress mode (normal play mode) and the world generation (world-gen). &lt;br /&gt;
&lt;br /&gt;
In '''fortress mode''', the player has some control over the appointment of nobles, limited by elections, automatic filled-in positions and succession rules. Pre-fortress mode, which is referred to as '''world-gen''', the game will always attempt to assign nobles whenever possible. It is subjected to the same rules as in fortress-mode, but there are some exceptions. In '''[[World activities]]''', which is the thing that happens in the world while you play fortress mode, it seems as if the same rules are applied as fortress mode. &lt;br /&gt;
&lt;br /&gt;
A difference between player-fortress-mode and world-gen, is causes by visibility (see below). Positions that are not visible by the player and thus not available for assignment, will be available in world-gen and will thus be automatically assigned.&lt;br /&gt;
&lt;br /&gt;
In fortress mode, a position that is both [ELECTED] and [APPOINTED_BY], cannot be appointed by the player and is also not elected, and can thus not be filled. But in world-gen sites however, these positions are automatically filled.&lt;br /&gt;
&lt;br /&gt;
Positions with [AS_NEEDED] are almost never created and filled in world-gen (depending on their [RESPONSIBILITY]ies), but can always be used in player mode.&lt;br /&gt;
&lt;br /&gt;
A position can, in fortress mode, be filled by the same unit. A unit can gain multiple positions in fortress mode, for example because of [[elections]]. This will not happen in world-gen mode: a unit can only have one position. See also remarks on 'embark' and 'Losing a position'.&lt;br /&gt;
&lt;br /&gt;
In world-gen, [SUCCESSION] between civ-levels and [SITE-]levels may happen. This will not happen in fortress mode, or even off-site in [[World activities]].&lt;br /&gt;
&lt;br /&gt;
In fortress mode, premature SUCCESSION may happen. This will not happen in world-gen mode.&lt;br /&gt;
&lt;br /&gt;
==Units holding multiple positions in multiple entities==&lt;br /&gt;
A unit can hold multiple positions in its civilisation or in its site-entity, however this does not happen in world-gen. Only at player-managed sites can units be holding multiple positions at once. (It is probably not possible for a unit to hold a position in two different civilisations or two different sites.)&lt;br /&gt;
&lt;br /&gt;
In world-gen, if there are too many positions to be filled, they simply stay empty until more units are available. E.G, a unit at a site might inherit a civ-level position and still remain a member of the local government. When this happens however, they move to the capital. If a unit gains a new position, either inherited or otherwise, it drops the previous one. If a unit assumes a civ-position in fortress mode, it leaves the current position. &lt;br /&gt;
&lt;br /&gt;
If a unit holds the same (site-)position multiple times, it has no additional effect.&lt;br /&gt;
&lt;br /&gt;
If a unit holds multiple different positions of the same entity, it has all those positions' responsibilities and properties, stacked up. Presumably, the demands for those combined positions are determined by the highest.&lt;br /&gt;
 &lt;br /&gt;
A unit holding a position with a succession token can be assigned another position with a (different) succession token. &lt;br /&gt;
&lt;br /&gt;
A unit holding a position with a squad-position cannot hold another squad-position. It is dropped from the first, when it gets its second assigned. &lt;br /&gt;
A unit holding a position with a succession token cannot be assigned to a squad-position - the unit is simply not available. It works the other way around, though.&lt;br /&gt;
&lt;br /&gt;
=[PRECEDENCE]=&lt;br /&gt;
The first defined position with precedence of 1 counts as the ruler of the civ. See also: [[Position_token#PRECEDENCE|PRECEDENCE]]. &lt;br /&gt;
&lt;br /&gt;
If the precedence is omitted or has a negative value, the game sets 0 as precedence, which seems to have no effect whatsoever.&lt;br /&gt;
&lt;br /&gt;
When a unit has multiple positions, the name of the position with the highest rank in precedence is shown behind the unit's name.&lt;br /&gt;
&lt;br /&gt;
If you omit precedence entirely, or set it to [PRECEDENCE:NONE], the position name will not be shown after the unit’s name. Your *Urist Mason* will remain simply *Mason*. This can be useful for positions that are unimportant or purely functional. The position will also not appear in the civilisation overview of your site on the world map. The position name is shown in messages, but remains hidden on the nobles screen as well. To make it visible there, use [LAND_NAME].&lt;br /&gt;
&lt;br /&gt;
=[RESPONSIBILITY]ies=&lt;br /&gt;
Both civ and [SITE] positions can carry responsibilities. However, not all responsibilities are active for both types: some function only for civ positions, others only for site positions. When a civ noble arrives at a site and takes up residence, they do not perform responsibilities that are intended for SITE nobles. As a result, these responsibilities neither trigger their associated tasks nor unlock related game mechanics. For example, a civ-level manager living in a fortress will not perform management duties there and doesn't unlock the management-screen, even with an assigned office. &lt;br /&gt;
This behavior applies to the following [SITE]-level responsibilities:&lt;br /&gt;
* [RESPONSIBILITY:ACCOUNTING]&lt;br /&gt;
* [RESPONSIBILITY:BUILD_MORALE]&lt;br /&gt;
* [RESPONSIBILITY:HEALTH_MANAGEMENT]&lt;br /&gt;
* [RESPONSIBILITY:LAW_ENFORCEMENT]&lt;br /&gt;
* [RESPONSIBILITY:MANAGE_PRODUCTION]&lt;br /&gt;
* [RESPONSIBILITY:MEET_WORKERS]&lt;br /&gt;
* [RESPONSIBILITY:TRADE]  (functions differently)&lt;br /&gt;
Other responsibilities may be affected as well, but have not yet been fully tested.&lt;br /&gt;
&lt;br /&gt;
==[DELIVERS_MESSAGES]==&lt;br /&gt;
The only [AS_NEEDED]-position that is created in worldgen based on responsibility is that of the site-level responsibility [DELIVERS_MESSAGES].&lt;br /&gt;
&lt;br /&gt;
==Outpost Liaisons and Diplomats==&lt;br /&gt;
Civ-positions with the responsibility [ESTABLISH_COLONY_TRADE_AGREEMENTS] ([[Outpost_Liaison|Outpost Liaison]]s) will meet with the site-noble who has responsibility for [RECEIVE_DIPLOMATS] and the highest rank of precedence (i.e. the lowest precedence value). Usually this is the [[Expedition_leader|Expedition leader]].&lt;br /&gt;
&lt;br /&gt;
Once a [LAND_HOLDER] is assigned to the site, civ-positions with the responsibility [MAKE_TOPIC_AGREEMENTS] ([[Diplomat]]s) will meet with '''civ'''-level nobles present at the site who have the [RECEIVE_DIPLOMATS] responsibility. If multiple eligible nobles are available, one is selected at random. If no eligible noble is present, the diplomat leaves angrily. If the landholder is no longer present at the site, diplomats will not arrive at all.&lt;br /&gt;
&lt;br /&gt;
It appears that Outpost Liaisons and Diplomats are chosen for a diplomatic mission based on availability. When multiple candidates exist, the position defined last in the raws is most often selected.&lt;br /&gt;
&lt;br /&gt;
==[TRADE]==&lt;br /&gt;
Civ-level nobles with [TRADE] will arrive with the caravan, just as the Outpost Liaison. Their behavior is no longer active in the vanilla game, but the mechanics are still present. See [[40d:Guild_representative|Guild representative]] for more details. This civ-noble will only meet with the SITE noble with [TRADE], usually the [[Broker]].&lt;br /&gt;
&lt;br /&gt;
If two civ-nobles exist with both [TRADE] and [ESTABLISH_COLONY_TRADE_AGREEMENTS], they both arrive at the same time. Even if both tokens are assigned to a single position, if more than one instance of that position exists, two of them will arrive. However in that case, somehow the elevation of the site and appointment of landholder isn't offered.&lt;br /&gt;
&lt;br /&gt;
If the SITE-noble they intend to meet has both [TRADE] and [RECEIVE_DIPLOMATS], only one meeting will proceed and the other is cancelled. However, when two SITE-nobles are available, each with either [TRADE] or [RECEIVE_DIPLOMATS], both meetings will proceed and both civ-nobles will attempt to negotiate a trade agreement. It is not known what happens if these agreements are accepted or refused.&lt;br /&gt;
&lt;br /&gt;
In the trade depot, the last defined position with the [TRADE] responsibility is shown as broker. However when requesting a trader, the first defined position with [TRADE] will actually go there to do the trade.&lt;br /&gt;
&lt;br /&gt;
==World-gen effects of the [RESPONSIBILITY] of available positions ==&lt;br /&gt;
It is possible to cause civs and individual sites to change their behavior substantially when they reach a certain size, by controlling nobles. &lt;br /&gt;
* If a site can only appoint a position with [MILITARY_GOALS] after reaching a particular size, that site will not send armies on missions until the required size is reached.&lt;br /&gt;
* A civ-level [LAW_MAKING] position is required for the civilization to have any kind of cohesion. Without it, sites will be constantly embroiled in territorial disputes and civil wars will be commonplace.&lt;br /&gt;
* [MILITARY_STRATEGY] positions go out and tame wild animals. This makes your civ gain those animals as domesticated and also brings them in sieges.&lt;br /&gt;
* The [[Personality_facet|Personality]] of the position's holder determines how they lead the civ.&lt;br /&gt;
&lt;br /&gt;
=Availability and visibility=&lt;br /&gt;
==Availability of (new) positions==&lt;br /&gt;
Warning: Do not mistake &amp;quot;availability&amp;quot; for &amp;quot;visibility&amp;quot;! &lt;br /&gt;
&lt;br /&gt;
Of all the possible positions existing in your site's entity, there may only be some available. &lt;br /&gt;
* Positions with [REQUIRES_POPULATION] require the population to have a specific size.&lt;br /&gt;
* Positions with [REQUIRES_MARKET] will only appear in &amp;quot;large&amp;quot; sites (which may have different rules for different site types). This tag has no effect in fort mode.&lt;br /&gt;
* Positions that are appointed by positions that have an AS_NEEDED number. The appointable positions only become available after an appointer position-slot is created. This works also on civ-level. If a position is appointed by a Land-holder, it only becomes available, when that level of landholder is created. &lt;br /&gt;
	&lt;br /&gt;
Only the replaced positions are culled and are no longer available. &lt;br /&gt;
A position that requires a certain population will become available, even if it doesn't have [APPOINTED_BY] or [ELECTED]. In that case, see 'automatic assignment' and 'assumption'&lt;br /&gt;
&lt;br /&gt;
In fortress mode, in some cases 'succession' is evaluated immediately after a position becomes available. See: Succession.&lt;br /&gt;
==Visibility of positions==&lt;br /&gt;
A position might be available, but can still be invisible for the player in the [[nobles screen]]. The positions with their respective holders are visible for players:&lt;br /&gt;
* All site-positions that are already filled-in (even if they could not be re-filled-in considering current conditions)&lt;br /&gt;
* Site positions that are appointable by a filled-in site position&lt;br /&gt;
* Site positions that are appointable by a filled-in civ position, when that civ positions holder becomes a citizen of your fortress.&lt;br /&gt;
* Civ positions of units that are also a citizen of your fortress.&lt;br /&gt;
If a position becomes available, for example because a certain pop number has been reached, or if it is available from the start(like expedition leader), as long as it cannot be appointed, it still is INVISIBLE for the player. &lt;br /&gt;
&lt;br /&gt;
It might strike someone as odd if a position becomes filled automatically in fortress mode when that position is not even visible. This might be the case if the current holder of a non-appointable position dies or succeeds another position. Regardless of player visibility, these positions will be automatically filled in if the necessary requisitions are met. It might happen with the expedition leader.&lt;br /&gt;
&lt;br /&gt;
A situation with a non-visible but available position, is for example when a position is solely appointed by the expedition leader, when the expedition leader's position is left vacant. It can no longer be appointed by the player and is invisible. Then, it gets automatically assumed, proving that the position still was available.&lt;br /&gt;
&lt;br /&gt;
A position that is both [APPOINTED_BY] and [ELECTED] is visible, but players cannot interact with it.&lt;br /&gt;
&lt;br /&gt;
=[NUMBER]=&lt;br /&gt;
A position might be defined with a number. In that case, as many as defined can be available. If the positions become available, in world-gen and when embarking, they are all filled-in completely.&lt;br /&gt;
&lt;br /&gt;
If the ruling position (with PRECEDENCE of 1) has a NUMBER higher than 1, a random unit of the ones holding these positions is shown as ruler in the embark screen.&lt;br /&gt;
&lt;br /&gt;
A [NUMBER] of 0 (zero) has the same effect as 1.&lt;br /&gt;
&lt;br /&gt;
==Automatic spreading of assumed, non-singular positions==&lt;br /&gt;
If there are civ positions that have a NUMBER higher then '1' and which are assumed (not APPOINTED_BY or ELECTED) but are '''not DUTY_BOUND''', these are automatically spread among the civilisation, based on population. If there are a number of '''20''' available slots of that position, they spread among a civilization with a combined population of, for example, 1000 of which your fortress has 100 (10%), '''2''' of your fortress' citizens will assume that position. &lt;br /&gt;
This may probably also work with elected and appointed positions, but that may be depending on the death of the current holders and this needs more testing. Assumption works within a day, anyway. &lt;br /&gt;
&lt;br /&gt;
==[AS_NEEDED]==&lt;br /&gt;
These positions can be created automatically by the game in world-gen. This, however, only works with: &lt;br /&gt;
* [LAND_HOLDER]'s&lt;br /&gt;
* squad commanders (needs more testing)&lt;br /&gt;
* Messengers at sites&lt;br /&gt;
&lt;br /&gt;
For all other types of positions, they're not created in world-gen, even if they are defined with RESPONSIBILITY's. For example, even in war, the game wouldn't create a MILITARY_GOALS position, if they have AS_NEEDED as number. &lt;br /&gt;
&lt;br /&gt;
However, in fortress mode / player mode, these positions can be created by the player at will.&lt;br /&gt;
&lt;br /&gt;
Positions with AS_NEEDED need to be created first, before any symbols are assignable as 'symbols' (objects) for the position holder to carry or wear.&lt;br /&gt;
&lt;br /&gt;
Positions with AS_NEEDED cannot be created and then ELECTED in fortress mode. It only works with APPOINTED_BY.&lt;br /&gt;
&lt;br /&gt;
=Replacement and Required Population=&lt;br /&gt;
&lt;br /&gt;
The token REPLACED_BY:position means that once the replacing position reaches its required population-number, the 'to-be-replaced' position will disappear. This is defined in REQUIRES_POPULATION. These tags are closely related to each other and seem to only have a meaningful function if combined. Nobles with REQUIRES_POPULATION require the population to have a specific size. &lt;br /&gt;
&lt;br /&gt;
This works on the civ-level as well as on site-level, but those systems are in this mechanic strictly separated. Site-level positions cannot be replaced by civ-level positions and visa versa. This makes sense, because they both depend on their own population-count. When using REQUIRES_POPULATION on civ-level, it counts the total population of the civilisation. &lt;br /&gt;
&lt;br /&gt;
See also: [[Advanced_entity_position_mechanics#Evaluation_of_Positions|Evaluation of positions]]&lt;br /&gt;
&lt;br /&gt;
==Effect of replacement (and on [LAND_HOLDER]s)==&lt;br /&gt;
&lt;br /&gt;
Replacement is immediate and complete - the current holding unit loses the position, even before SUCCESSION_BY_POSITION rules are applied. A position with a number of 1 will replace all the slots of a position with a higher number of slots. &lt;br /&gt;
&lt;br /&gt;
Even if the next position is available but not visible, replacement still takes place. If a position is replaced, it is completely gone - it cannot be appointed, succeeded, elected or assumed any longer.&lt;br /&gt;
The unit immediately loses its position.&lt;br /&gt;
&lt;br /&gt;
In legends, replacement is mentioned as: &amp;quot;(unit name) ceased to be (position name)&amp;quot; The replacement of an AS_NEEDED position empties the position's slot forever. In fortress mode, it may seem as if you can create new slots and appoint new units in the nobles screen, but this is reversed as soon as you close the window.&lt;br /&gt;
&lt;br /&gt;
The landholder chain uses [REPLACED_BY] differently. It does not clear the position completely, but uses it for succession to the next level's position. [REPLACE_BY] is required to let that system work properly. This also means that the way in which landholders succeed (replace + as_needed) does not work in any other way. &lt;br /&gt;
&lt;br /&gt;
Replacement between LAND_HOLDERS and other site- or civ positions does not work in any way. Only the vanilla replacement sequence between levels of LAND_HOLDERs does work. If the token is omitted for landholders, the landholder chain is broken, so replacement is required for the landholder system to work.&lt;br /&gt;
&lt;br /&gt;
[REQUIRES_POPULATION] also does not work for [LAND_HOLDER], when you set [NUMBER] to 1. The position is not created when the required population is reached.&lt;br /&gt;
&lt;br /&gt;
==What doesn't work==&lt;br /&gt;
&lt;br /&gt;
'''Attention: If a position cannot be appointed, for example because of 'mutual appointment', it still exists according to replacement mechanics and will replace other positions if so defined. If a certain position(a) will be replaced by the baron's assistant, which can only be appointed by the [LAND_HOLDER] baron, than that position(s) still will be replaced from the start of the game, even if no baron or their assistant is ever present.'''&lt;br /&gt;
&lt;br /&gt;
A position that is replaced by a somehow not-fillable position, is still replaced. This counts for mutual-appointing positions, replacement by not-yet-assigned landholders, replacement by AS_NEEDED positions, or replacement by not-yet-appointed positions. &lt;br /&gt;
&lt;br /&gt;
Replacement does not work if the replaced position is a [LAND_HOLDER], even with civ-positions. In that case, the LAND_HOLDER's position is not replaced. It does not matter if AS_NEEDED is used, or a fixed number, and it also does not matter what type of position the replacer is. So this only works (correctly) with positions that become available by REQUIRES_POPULATION.&lt;br /&gt;
&lt;br /&gt;
={{text anchor|Evaluation of Positions}}=&lt;br /&gt;
The game does not continuously check whether positions should become available, elected or be [REPLACE_BY]. This is well-known behavior—for example with the [[mayor]], who does not appear automatically when the required population ([REQUIRES_POPULATION]) is reached. Instead, positions must somehow be evaluated. This applies in several other situations as well &lt;br /&gt;
&lt;br /&gt;
'''Cases that require a trigger:'''&lt;br /&gt;
* Election of a newly created position&lt;br /&gt;
* Election after the current holder dies&lt;br /&gt;
* Automatic assumption of a newly created position (this may take up to a day)&lt;br /&gt;
* New citizens (such as migrants) considering available positions&lt;br /&gt;
* Premature succession of a newly created position&lt;br /&gt;
&lt;br /&gt;
'''Cases that do not wait for a trigger:'''&lt;br /&gt;
* Succession following the death of the previous holder&lt;br /&gt;
* Automatic assumption of existing positions that have become vacant&lt;br /&gt;
&lt;br /&gt;
'''Triggers that cause the game to reevaluate noble positions:'''&lt;br /&gt;
* Succession of a [SITE]-position due to the death of the current holder&lt;br /&gt;
* [[Advanced_entity_position_mechanics#Election_Day|Election Day]]&lt;br /&gt;
* Automatic assumption of a [SITE]-position that becomes vacant&lt;br /&gt;
* (Re)assigning any site position manually&lt;br /&gt;
* Settlement elevation on the LAND_HOLDER track (e.g. gaining a [[Baron]] or [[Count]])&lt;br /&gt;
&lt;br /&gt;
=Gaining a position=&lt;br /&gt;
There are several ways a unit can gain a position:&lt;br /&gt;
* Appointment: A unit is appointed by another unit or by the player.&lt;br /&gt;
* Election: A unit is elected by and among the members of the entity&lt;br /&gt;
* Assumption: A position is neither elected or appointed: a random unit just simply 'takes' the position&lt;br /&gt;
* Succession: a unit is the valid successor of this position(A), either by its current position(B) or because they are that position(A)-holder's heir. &lt;br /&gt;
&lt;br /&gt;
Available positions will automatically be assigned to a random civ member when a new site/civ is created.&lt;br /&gt;
&lt;br /&gt;
==Who can take a position==&lt;br /&gt;
&lt;br /&gt;
* If so defined, a unit needs to be the right caste and/or class - it does not seem to work with creature types. &lt;br /&gt;
* The unit needs to be an adult member of the site or its parent civ-government; that is also CAN_LEARN or INTELLIGENT (SLOW_LEARNER cannot take positions) or otherwise is able to think.&lt;br /&gt;
&lt;br /&gt;
==Appointment==&lt;br /&gt;
&lt;br /&gt;
Positions that have an [APPOINTED_BY:position] token require that position to exist, to be available and appointed. Any position that is APPOINTED_BY can be appointed if the appointer's position is filled in. &lt;br /&gt;
For site-positions to be appointed, it is required that the appointer is present at that location.&lt;br /&gt;
&lt;br /&gt;
If the appointing unit is temporarily not present, or if that position is not filled, positions depending on it cannot be appointed. This is the case with [[militia captains]], when the [[militia commander]] is on a [[mission]]. &lt;br /&gt;
&lt;br /&gt;
A site position cannot appoint a civ position ''or'' LAND_HOLDER in any way whatsoever. &lt;br /&gt;
&lt;br /&gt;
Civ-level positions can appoint other civ-level positions and site-level positions can appoint other site-level positions.&lt;br /&gt;
&lt;br /&gt;
Contrary to what has been said elsewhere, civ-level nobles also can appoint site-level nobles. They need to be at the site to do so. Landholders can appoint both site-level and civ-level nobles. These systems are therefore not as separate as was assumed.&lt;br /&gt;
&lt;br /&gt;
'''Mutual appointment''' cannot take place. If these are the only requisites of the position, then the positions will never appear or get filled. These unfillable positions can be put to good use, for example, to replace a position that is no longer needed without creating a new one. &lt;br /&gt;
&lt;br /&gt;
'''Self appointment''' doesn't normally work. If you have a position that is only appointed by itself, it is never appointed and also cannot be assumed. However, if the position has a number higher than 1, and is filled by multiple units (for example by another position that is now empty), than those units can re-assign or appoint each other from that their shared position. &lt;br /&gt;
&lt;br /&gt;
If an APPOINTED_BY token refers to a non-existing position's code, the effects are as if the appointment token doesn't exist at all.&lt;br /&gt;
&lt;br /&gt;
===Automatic appointment in world-gen and on the civ level===&lt;br /&gt;
&lt;br /&gt;
Outside of fortress mode, the game will always attempt to appoint nobles whenever possible, as long as these positions are '''available''', even if they are invisible to the player.&lt;br /&gt;
It shows this message in legends:  &amp;quot;(unit name) has been appointed to the position of (position name)&amp;quot;&lt;br /&gt;
&lt;br /&gt;
In world-gen, all positions become available and are automatically appointed, taking population- and appointment-requirements into consideration. &lt;br /&gt;
&lt;br /&gt;
Positions that are REPLACED_BY are culled and won't be filled.&lt;br /&gt;
&lt;br /&gt;
If a citizen of your fortress holds a civ-level position that can appoint another civ-level position, the appointment will happen automatically and without player intervention. It may happen that another citizen of your fortress is appointed by that unit, creating civ-level position holders in your fortress, but it is unknown what is required to force this effect.&lt;br /&gt;
&lt;br /&gt;
===Manual appointments by players in fortress mode===&lt;br /&gt;
In fortress mode, the positions that need to be appointed stay empty on embark. and it is the player's job to appoint those. A player can appoint a unit to any available position, according to the hereabove mentioned conditions. The player takes the role of the automatic appointment-system, but has no direct control over elections, successions and replacement. There are some differences in what is possible at world-gen sites and at player-controlled sites.&lt;br /&gt;
&lt;br /&gt;
* A position that is appointed by a unit present as a fortress citizen, can be appointed, re-appointed or left vacant. This means also by civ-level nobles living as a citizen in your fortress; not when they are only visiting, like the diplomat.&lt;br /&gt;
* A position whose appointing positions are all either vacant or [REPLACED_BY] can no longer be appointed. If the position is already filled, it cannot be reappointed or vacated; the current holder simply remains in office.&lt;br /&gt;
* A position that is APPOINTED_BY a unit present as the land_holder of your site, can be appointed, reassigned or left vacant.&lt;br /&gt;
* A position that has SUCCESSION BY_HEIR or BY_POSITION can 'initially' be appointed and also re-appointed or left vacant, but as soon as the [[nobles]] screen closes, ''it can no longer be replaced or left vacant''. From then on, the succession-rules determine who gains that position when the current holder loses the position. This works even if the SUCCESSION:BY_POSITION-position is vacant or replaced.&lt;br /&gt;
* A position that is ELECTED nor APPOINTED_BY, can always be (re-)appointed by the player. This is the case with the [[Expedition leader]]. If it is left vacant however, it cannot be appointed, but will be assumed shortly after. &lt;br /&gt;
* A position that is both ELECTED and APPOINTED_BY, cannot be appointed by the player. Contrary to world-gen sites, its slot is visible, but it doesn't show the +-sign. This is either by AS_NEEDED or by a fixed number. Even if the position somehow gets filled (re)assignment is never possible&lt;br /&gt;
* A player can appoint a number of units to a position, as much as the NUMBER token dictates. If it is AS_NEEDED, the player may create as many slots as they like, also contrary to world-gen sites. &lt;br /&gt;
* A civ-position can never be appointed, even if the appointing civ noble is a citizen of your fortress. A civ position also never can be re-assigned or left vacant, would that position be defined as appointed by a site-position.&lt;br /&gt;
&lt;br /&gt;
==Election==&lt;br /&gt;
Read more in [[Elections]]. The message that is shown is: &amp;quot;(creature name) has been elected to the position of  (position name)&amp;quot;&lt;br /&gt;
&lt;br /&gt;
In worldgen, there is no functional difference between ELECTED and non-appointment, except that elected nobles tend to have high social skills and/or skills related to the position, while non-elected ones are assigned randomly. See: [[Elections]]&lt;br /&gt;
&lt;br /&gt;
A succession goes before an election. &lt;br /&gt;
&lt;br /&gt;
A position that is both ELECTED and APPOINTED_BY never gets elected. Even if the appointees' position somehow gets filled, (re)-elections won't happen. So, it doesn't seem possible to have an elected position become available when a certain other position becomes filled. &lt;br /&gt;
&lt;br /&gt;
An ELECTED civ-(or LAND_HOLDER) position at your site will never be (re)-elected in fortress mode. So real (re-)election only works with SITE-positions. &lt;br /&gt;
&lt;br /&gt;
=== {{text anchor|Election Day}} ===&lt;br /&gt;
Election Day takes place on the 17th of Summer. On this day, a full reevaluation is performed, including all currently elected positions, which are subject to re-election. Contrary to the information on [[Elections]], nothing occurs at the start of a season.&lt;br /&gt;
&lt;br /&gt;
Positions that are both [APPOINTED_BY] and [ELECTED] will not be re-elected on Election Day when assigned through [SUCCESSION].&lt;br /&gt;
&lt;br /&gt;
=== Election Eligiblity ===&lt;br /&gt;
Any citizen may stand for election. Eligibility cannot be restricted using [ACCEPTED_CREATURE], [REJECTED_CREATURE], [ACCEPTED_CLASS], [REJECTED_CLASS], or [GENDER]. Units currently having a [SUCCESSION]-position even may be elected for a position with a [SQUAD]-token, which is otherwise impossible to assign or even succeed.&lt;br /&gt;
&lt;br /&gt;
=== Skills ===&lt;br /&gt;
In elections, skills are taken into account for the tokens of the position which is elected.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Relevant skills per position token&lt;br /&gt;
|-&lt;br /&gt;
! Position Token !! Relevant skills&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#DELIVER_MESSAGES|[DELIVER_MESSAGES]]] || [[Ambusher]], [[Observer]] and [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#ACCOUNTING|[ACCOUNTING]]] || [[Record_keeper|Record keeper]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#ESPIONAGE|[ESPIONAGE]]] || [[Schemer]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#HEALTH_MANAGEMENT|[HEALTH_MANAGEMENT]]] || [[Diagnostician|Diagnostician]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#MAKE_INTRODUCTIONS|[MAKE_INTRODUCTIONS]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#MAKE_PEACE_AGREEMENTS|[MAKE_PEACE_AGREEMENTS]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#MAKE_TOPIC_AGREEMENTS|[MAKE_TOPIC_AGREEMENTS]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#MANAGE_PRODUCTION|[MANAGE_PRODUCTION]]] || [[Organizer]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#MEET_WORKERS|[MEET_WORKERS]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#RECEIVE_DIPLOMATS|[RECEIVE_DIPLOMATS]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#RELIGION|[RELIGION]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#TAME_EXOTICS|[TAME_EXOTICS]]] || [[Animal_trainer|Animal trainer]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#TRADE|[TRADE]]] || [[Social_skill|Social skills]] and [[Appraiser|Appraiser]]&lt;br /&gt;
|-&lt;br /&gt;
| [[Position_token#SQUAD|[SQUAD]]]-token || [[Tactician]] and [[Leader]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Assumption==&lt;br /&gt;
&lt;br /&gt;
A position that is not APPOINTED_BY nor ELECTED, or is appointed by positions that are not available in your site or civ, will be assumable by a random dwarf. If it has responsibilities that require certain skills, then these are taken into consideration on embark, but not when the position is assumed during the actual game. &lt;br /&gt;
&lt;br /&gt;
Normally, one to three units will take the into consideration to assume a position. Most of the time when there are multiple open positions, only a single unit will assume all of them. However, a position that has REJECTED_CREATURE, REJECTED_CLASS, ALLOWED_CREATURE or ALLOWED_CLASS will be filled with all different units, even if the creature or class mentioned is irrelevant. It seems that this forces the game to loop over all the available units.&lt;br /&gt;
&lt;br /&gt;
The message that is shown in Legends mode is: &amp;quot;(unit name) has assumed the position of (position name)&amp;quot;. This may also take place in fortress mode, which then shows this message to the player. &lt;br /&gt;
&lt;br /&gt;
If an assumable position becomes empty, it will be assumed within a day. This is the case when you leave the position of expedition-leader vacant. It also happens with entities. &lt;br /&gt;
&lt;br /&gt;
Assumable positions that become empty will not be assumed if that position has a valid [SUCCESSION] -successor. In that case, the successor inherits the position. &lt;br /&gt;
&lt;br /&gt;
Even positions that are somehow invisible because they cannot be directly APPOINTED_BY players, can be assumed. &lt;br /&gt;
&lt;br /&gt;
When you embark, the assumable positions are automatically assigned to a random unit. If there are multiple of these positions at embark, they all are assigned to the same unit. If there are enough positions available, multiple units may gain a position, but often no more than three different ones.&lt;br /&gt;
&lt;br /&gt;
If a dwarf in fortress mode assumes a position, that already has another position, it will leave the current position empty. When that position also is assumed, then this will continue until all positions have a dwarf appointed to them, with no other position.&lt;br /&gt;
&lt;br /&gt;
A unit that already has a position with a [SUCCESSION] token won't take assumable positions into consideration that have a [SQUAD] token. This can be used by the modder to prevent unwanted loss of current positions.&lt;br /&gt;
&lt;br /&gt;
A position that has an appointer which got replaced because of REPLACED_BY, will not become assumable. Also, positions that have an AS_NEEDED appointer that is not yet filled (or ever), will also not be assumed.&lt;br /&gt;
&lt;br /&gt;
==Succession==&lt;br /&gt;
&lt;br /&gt;
If a position-holder dies or advances to a new position via succession, the position will be granted to another unit based on the [SUCCESSION] tag. If they have an heir or the succeeding position exists, that unit will be assigned. If not, a new one will be appointed according to the usual rules. The message that is shown is: &amp;quot;(creature name) being the rightful heir, has inherited the position of (position name)&amp;quot;&lt;br /&gt;
&lt;br /&gt;
The succeeding creature will also lose its previous position. When succession is defined using BY_POSITION, the unit naturally loses the referenced position. However, it also loses any other positions it may hold. If a unit could simultaneously inherit multiple positions, the last-defined succession overrides the earlier one, clearing the previously acquired position&lt;br /&gt;
&lt;br /&gt;
Succession works both at site-level and at civ-level, both in world-gen and in fortress-mode. Succession by position on the civ-level is also visible and functional in fortress-mode. If both civ-level nobles are a citizen of your fortress, succession is applied visually. Vanilla example: The [[druid]] is succeeded by the [[acolyte]]. This means that as soon as the druid dies, the acolyte takes over. &lt;br /&gt;
&lt;br /&gt;
When a position that is succeeded by position becomes available, immediately it is checked if a position-successor is available and the position is filled with that unit. Even if this is an [ELECTED] position, succession goes first. When elections eventually do happen, succession plays no role.&lt;br /&gt;
&lt;br /&gt;
It is possible to assign multiple levels of [SUCCESSION:BY_POSITION] in different positions, creating a line of positions where the death of one causes all those &amp;quot;below&amp;quot; them to advance.&lt;br /&gt;
&lt;br /&gt;
A position can have multiple tokens with position-succession. It looks to be random which one is used. It is not always:&lt;br /&gt;
* The first or last defined token&lt;br /&gt;
* The first or last appointed unit&lt;br /&gt;
* the oldest or youngest&lt;br /&gt;
* one with a higher or lower precedence&lt;br /&gt;
* a unit with relevant skills&lt;br /&gt;
&lt;br /&gt;
When a position is defined with a Succession-type, that unit cannot have another position that has a Squad-type. If the succession-position itself has a squad, than it can be assigned another position with a squad, but then it will loose the previous succesion position. See further details by &amp;quot;Squad&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Assumed positions can also be succeeded by position, if the current holder dies. &lt;br /&gt;
&lt;br /&gt;
If the successor is an AS_NEEDED position, the used unit will leave a vacant position-slot on its removal by succession. This empty slot remains a real slot, which will only be cleaned up if you (un)appoint a unit to this position-series. It isn't cleaned up after regular position validation.&lt;br /&gt;
&lt;br /&gt;
A civ-level position of a unit living at your site might be inherited by a unit holding that does not currently live at your site. This, unfortunately, moves that position to a unit off site. This may also happen with the landholder of your site, for example when it is succeeded by another civ-level position. This currently poses an unsolved challenge. &lt;br /&gt;
&lt;br /&gt;
===Eligibility for succession===&lt;br /&gt;
Succession is restricted by the tokens [ACCEPTED_CREATURE], [REJECTED_CREATURE], [ACCEPTED_CLASS], [REJECTED_CLASS] and [GENDER].&lt;br /&gt;
&lt;br /&gt;
===Site and civ combined succession===&lt;br /&gt;
&lt;br /&gt;
Succession can work when combining site positions with civ-level positions or land_holders, but only in world-gen mode.  In fortress mode, it only works with combining the same level of nobles, with Landholders regarded as civ-level. So, in fortress mode, a site's position cannot succeed a landholder's position and it cannot succeed another type of civ-level position, and vice versa. &lt;br /&gt;
&lt;br /&gt;
This won't work even if the positions:&lt;br /&gt;
* are AS_NEEDED or having a fixed number.&lt;br /&gt;
* Are LAND_HOLDERs.&lt;br /&gt;
&lt;br /&gt;
===Succession [BY_HEIR]===&lt;br /&gt;
&lt;br /&gt;
When a heir is needed for succession, all children and then other relatives are validated. They cannot take the position if their status does not allow it, for example if they have become a member of another civilisation. See: &amp;quot;Who can take a position&amp;quot;. If the unit has no valid heir on that location, the position may go to a unit living on another site. This may cause the title of Landholder of some land to be inherited by a unit living somewhere else. That might be a problem, because then you lose your landholders.&lt;br /&gt;
&lt;br /&gt;
===Premature Succession===&lt;br /&gt;
&lt;br /&gt;
There are cases where [SUCCESSION:BY_POSITION] is applied prematurely: at the moment a position is first created and becomes appointable or assumable, rather than after a current holder leaves. In this situation, the succession mechanism assigns a holder immediately, without any player interaction.&lt;br /&gt;
&lt;br /&gt;
When a position becomes available for the first time, the game checks whether a valid successor-by-position exists. If so, that unit is assigned instantly. It can affect positions that would normally be appointed or elected by the player, causing succession to trigger before the player has any opportunity to intervene.&lt;br /&gt;
&lt;br /&gt;
This behavior occurs only in Fortress mode, but can be applied both on [SITE]-positions as well in civ-positions. That last one however is a bit harder to control. Example: [[Advanced entity position mechanics#The Archduke|The Archduke]]&lt;br /&gt;
&lt;br /&gt;
This premature succession only occurs the first time a position becomes available (i.e. when it is created and becomes appointable or assumable). Even if the position remains vacant and the conditions for succession improve later, premature succession will not trigger again. From that point onward, only normal succession rules apply.&lt;br /&gt;
&lt;br /&gt;
Using premature succession, a position that has [ELECTED], [APPOINTED_BY], or both, can be filled directly.&lt;br /&gt;
Notably, positions that combine [ELECTED] and [APPOINTED_BY] are normally impossible to fill through regular mechanics. Premature succession bypasses both election and appointment entirely, making this combination uniquely reachable through this mechanism.&lt;br /&gt;
&lt;br /&gt;
No initial election takes place, and no subsequent elections will ever occur for that position. Succession always takes precedence over election, both in premature succession and in normal succession cases.&lt;br /&gt;
&lt;br /&gt;
This behavior applies only in Fortress mode, not during world generation. World-gen uses simplified and more efficient mechanics, and this interaction does not occur there. Premature succession can affect both site-level and civilization-level positions.&lt;br /&gt;
&lt;br /&gt;
====Multiple succession chains====&lt;br /&gt;
&lt;br /&gt;
Multiple succession chains may be defined and are resolved in the order they appear in the raws.&lt;br /&gt;
&lt;br /&gt;
If a position has both:&lt;br /&gt;
* a direct succession chain (A → C), and&lt;br /&gt;
* a multi-step chain (A → B → C),&lt;br /&gt;
&lt;br /&gt;
and intermediate positions are vacant, resolution proceeds according to raw order. A common outcome is:&lt;br /&gt;
# The direct succession (A → C) is applied first, assigning A to C.&lt;br /&gt;
# The remaining chain then advances (A → B).&lt;br /&gt;
# If C still has empty slots, the final step (B → C) may occur.&lt;br /&gt;
&lt;br /&gt;
If position B is already filled, behavior depends entirely on raw definition order:&lt;br /&gt;
* nothing may happen, or&lt;br /&gt;
* B may move to C first, followed by A moving to B.&lt;br /&gt;
====Working triggers====&lt;br /&gt;
Premature succession is triggered when a succeedable position is created under the following conditions:&lt;br /&gt;
* The succeedable position is created because its [REQUIRES_POPULATION] threshold is reached. This applies even if the position is not [APPOINTED_BY]. Premature succession takes priority over automatic assumption (e.g. the mayor declaring themselves within a day).&lt;br /&gt;
* The succeedable position can be [APPOINTED_BY] another position of the same level (site or civ) that has just been created because its [REQUIRES_POPULATION] was reached.&lt;br /&gt;
* The succeedable position can be appointed by another [SITE] [AS_NEEDED] position that has just been created and filled.&lt;br /&gt;
* The succeedable (site or civ) position is [APPOINTED_BY] the [LAND_HOLDER] position, which has just been created due to site elevation. This typically resolves when the diplomat leaves the map, at which point the landholder position becomes active.&lt;br /&gt;
* If all other requirements are met, premature succession can occur immediately after unpausing following embark, for positions with [REQUIRES_POPULATION:7].&lt;br /&gt;
====Non-working triggers====&lt;br /&gt;
Premature succession does '''not''' occur in the following cases:&lt;br /&gt;
* An [AS_NEEDED] succeedable position slot is manually created by the player while its succeeding position is already filled. [AS_NEEDED] positions must always be appointed after creation.&lt;br /&gt;
* The succeeding position is filled after the succeedable position becomes available. The moment of creation is the decisive trigger; filling the source position later is too late.&lt;br /&gt;
* The succeedable position can be appointed by another site or civ position with a fixed number of slots that has just been appointed. In this case, the succeedable position is just available for appointment itself, nothing more&lt;br /&gt;
* Any situation occurring during world generation.&lt;br /&gt;
* The succeeding position is [REPLACED_BY] the succeedable position. In this case, replacement removes the unit from the source position first, leaving no holder available for the succession mechanism to use.rst, leaving no holder available for the succession mechanism to use.&lt;br /&gt;
* The position is [APPOINTED_BY] a civ-level position, that just became a citizen of your fortress. It must be noted that those civ-level positions were active all that time and the succeedable position could be appointed even before. The monarchs arrival does not trigger premature succession&lt;br /&gt;
&lt;br /&gt;
=Losing a position=&lt;br /&gt;
&lt;br /&gt;
A unit can lose a position when:&lt;br /&gt;
* It dies&lt;br /&gt;
* It succeeds another position, even if it has nothing to do with the previous position.&lt;br /&gt;
* It is assigned to another SQUAD-holding position&lt;br /&gt;
* It is convicted of a crime.&lt;br /&gt;
* Another unit is ELECTED for the position&lt;br /&gt;
* Its position becomes replaced&lt;br /&gt;
* Another unit is appointed by the player, or the position is left vacant. &lt;br /&gt;
* It has assumed another position, as this always leaves the previous position vacant.&lt;br /&gt;
&lt;br /&gt;
=Embarkment=&lt;br /&gt;
Two types of positions are automatically filled by embark. &lt;br /&gt;
* Positions without [APPOINTED_BY] or [ELECTED] (assumable). All these positions, even with a NUMBER higher than 1, are all filled with one to three dwarves. Contrary to assumption, this doesn't take into account any limitations. REJECTED_CLASS, ALLOWED_CLASS, REJECTED_CREATURE, ALLOWED_CREATURE and GENDER are applied, but without the normal spread you may expect with assumptions. Also it doesn't look at [SUCCESSION] and [SQUAD] limitations.&lt;br /&gt;
* Positions that are elected are filled-in by the normal election rules.&lt;br /&gt;
&lt;br /&gt;
Positions that have a defined appointer are never initially filled at embark.&lt;br /&gt;
&lt;br /&gt;
All positions that don't have [REQUIRES_POPULATION]  or with a [REQUIRES_POPULATION] of 7 or lower, will be available at embark.&lt;br /&gt;
&lt;br /&gt;
=Land Holders=&lt;br /&gt;
&lt;br /&gt;
A Landholder is a '''special civ-level noble''' who gets a certain piece of land to hold, when that land is elevated to a certain level, determined by the tag [LAND_HOLDER] and by the landholder triggers in the game's settings. In vanilla, these are the baron, the count and the duke. &lt;br /&gt;
&lt;br /&gt;
A unit gaining the landholder position does not migrate to that specific named land. In world-gen, they stay just where they are, probably at the capital. In fortress mode, you can suggest a citizen for the role. So for the time being that works.&lt;br /&gt;
&lt;br /&gt;
Succession is then a real issue. If you use BY_HEIR, its solved when that landholder has children living at your site. But when its not the case, the title just goes to anyone randomly. Succession BY_POSITION works, but only in the civ-chain, and there's no way to guarantee a civ-holder is at your site at that time. Even with 'automatic spread' positions, it goes to one of them randomly.&lt;br /&gt;
&lt;br /&gt;
==Functioning of the regular landholder chain==&lt;br /&gt;
&lt;br /&gt;
The distinct difference between a landholder and a regular civ-level noble, is that a landholder may gain the position of landholder &amp;quot;of (sitename)&amp;quot; They are then seen as ruler of a particular site. &lt;br /&gt;
&lt;br /&gt;
For a land_holder position to function as such, it has a few requirements:&lt;br /&gt;
* NUMBER:AS_NEEDED &lt;br /&gt;
* The first landholder-number of 1 is defined. &lt;br /&gt;
* No SITE (so civ) tag in that position.&lt;br /&gt;
*REPLACED_BY the next level landholder&lt;br /&gt;
If a landholder is defined with differentiating properties, it will function like a regular noble. A higher-up landholder that lacks the required tokens or connections will then not be used in elevation. &lt;br /&gt;
&lt;br /&gt;
If a fortress meets the trigger for a new LAND_HOLDER tier when a caravan leaves, then the next time the outpost liaison or equivalent arrives, they will offer to make you an official colony, which will allow you to select all positions for that LAND_HOLDER level. Each time they appear, the outpost liaison will only promote your fortress one tier up the LAND_HOLDER track. &lt;br /&gt;
&lt;br /&gt;
The landholder's LAND_NAME is not required for the functioning of this system. If omitted, messages will be shown with a more generic text.&lt;br /&gt;
&lt;br /&gt;
==Appointment==&lt;br /&gt;
&lt;br /&gt;
This mechanism differs from the regular methods of position management. It ignores all regular appointment- and election rules, so it more or less functions like automatic assignment. A landholder is, in vanilla, appointed by the monarch. Changing this doesn't seem to do anything. If they are appointed by a site-position, a not-yet-existing civ-position, or not appointed at all: the system keeps working as usual. &lt;br /&gt;
&lt;br /&gt;
A landholder can appoint civ-positions and site positions. This works as expected: the positions only are appointed then when that landholder becomes available on civ-level or when he arrives at that site for site-level positions. &lt;br /&gt;
&lt;br /&gt;
If your rank of landholder is the first of its rank in the realm, and is the sole appointer of some civ-position, then immediately as it gains the title, it will appoint the empty civ-slots. This may happen on your site, but the frequency and certainty is hard to determine.&lt;br /&gt;
&lt;br /&gt;
==Succession==&lt;br /&gt;
&lt;br /&gt;
Succession rules are applied to some extent:&lt;br /&gt;
* In world-gen it works according to succession rules, and site-positions can be used here.  This means that a site position or a civ-position can inherit a landholder position, and vice versa.&lt;br /&gt;
* In fortress mode, once a landholder has been appointed, it then can inherit civ-level positions, and vice versa. This means that your baron can become king. &lt;br /&gt;
* Succession rules do not apply within the [LAND_HOLDER] chain; a count will not inherit a baron's land. This is because succession does not work well with the AS_NEEDED token.&lt;br /&gt;
* Premature succession works in fortress mode with landholders. If a unit gets a landholder's position and that landholder is the appointer of an as yet empty position, which is defined as succeeding from a third one, then the succession is immediately applied. The landholder themselves can even be the successor of a newly created position.&lt;br /&gt;
* A landholder's position is, in fortress mode, not successionable by a site-position or vice versa&lt;br /&gt;
&lt;br /&gt;
===Impossibilities for succession by a site-position===&lt;br /&gt;
It would be very beneficial if the landholder can be succeeded by a [SITE]-position. So far, the following tests have not lead to positive results:&lt;br /&gt;
* making landholder and site-position both non-[DUTY_BOUND]&lt;br /&gt;
* make the site-position be [APPOINTED_BY] the landholder and/or the monarch&lt;br /&gt;
* give landholder and site-position [REJECTED_CREATURE]&lt;br /&gt;
* Let the monarch live at your site when succession could happen.&lt;br /&gt;
* Let the site-position be [REPLACED_BY] the landholder.&lt;br /&gt;
&lt;br /&gt;
==Nomination==&lt;br /&gt;
&lt;br /&gt;
The player is able to nominate a unit to become the LAND_HOLDER, but this only works with units of [LAND_HOLDER] level 1. The player can select all units, only limited by the PRECEDENCE of the current units' positions.&lt;br /&gt;
&lt;br /&gt;
A unit that has a position with a PRECEDENCE lower or equal to that of the landholder's position, cannot be selected. This means that a baron (or count) from another site or the monarch cannot be selected, because their precedence is lower or equal. &lt;br /&gt;
&lt;br /&gt;
The GENDER  token does not work here: also units with the wrong gender (sorry) can be selected.&lt;br /&gt;
&lt;br /&gt;
==Levels==&lt;br /&gt;
In mods, up to 10 levels of LAND_HOLDER may be defined. &lt;br /&gt;
&lt;br /&gt;
If a landholder is replaced by a wrong landholder number (1 replaced by 3), then the number 3 is still correctly attached to the settlement. &lt;br /&gt;
&lt;br /&gt;
If the current landholder has the highest available landholder number, then the next elevation will not happen - the diplomat will not elevate your fortress to a higher position, even if that position might be REPLACED_BY a lower landholder. &lt;br /&gt;
&lt;br /&gt;
These chains do work:&lt;br /&gt;
* 1 -&amp;gt; 2a - &amp;gt; 2b -&amp;gt; 3&lt;br /&gt;
* 1 -&amp;gt; 3 -&amp;gt; 2 -&amp;gt; 4&lt;br /&gt;
&lt;br /&gt;
These chains do not work:&lt;br /&gt;
* 2 -&amp;gt; 3 (need to start at 1)&lt;br /&gt;
* 1 -&amp;gt; 4 -&amp;gt; 2 -&amp;gt; 3 (stops after 4 as the highest)&lt;br /&gt;
* 1a -&amp;gt; 2, 1b -&amp;gt; 2 (only 1a and 2 work, 1b is not used)&lt;br /&gt;
&lt;br /&gt;
==Moving landholders==&lt;br /&gt;
&lt;br /&gt;
It may happen that a land-holder no longer lives at the site which they are the landholder of, specifically when the current landholder dies, leaving the title to an heir living somewhere else. &lt;br /&gt;
&lt;br /&gt;
To prevent this from happening, you can make their succession from heir and make sure that their kids live at your site. Or, you can make their position succeeded by another civ position, and make it so that this civ position is somehow available on your site. But if multiple of these positions exist, it cannot be guaranteed that a citizen of your fortress will inherit the title. &lt;br /&gt;
&lt;br /&gt;
In world gen, a landholder lacking the DUTY_BOUND-token will also move to the site they like, according to legends mode.&lt;br /&gt;
&lt;br /&gt;
==Replacement by a generic civ-position==&lt;br /&gt;
&lt;br /&gt;
If a landholder is replaced by an AS_NEEDED non-landholder civ-position, then this will work: the current landholder loses that title upon settlement-elevation and gains that civ-title. However, the civ-title lacks the landholder-property of being attached to the land. It will not show the name of the settlement alongside the position's name. So no &amp;quot;minister of Shovelmounts&amp;quot;&lt;br /&gt;
&lt;br /&gt;
If a landholder is replaced by a general AS_NEEDED civ-position, that itself is also replaced by a generic AS_NEEDED civ-position, then firstly the elevation is executed and also the unit gains that new position. However, he immediately loses it, because an AS_NEEDED position that is replaced by another position can be filled initially, but units wont be able to hold that title.&lt;br /&gt;
&lt;br /&gt;
==Landholder with fixed number==&lt;br /&gt;
&lt;br /&gt;
A landholder's position that has a fixed number will be created and filled directly when the civilisation is born, so this position slot is then not available for the regular landholder-mechanic and will also not be used. That landholder will thus not be attached to a settlement. &lt;br /&gt;
&lt;br /&gt;
It doesn't matter if the landholder's position is connected to the regular landholder's-chain with the REPLACE_BY token.&lt;br /&gt;
&lt;br /&gt;
==Responsibilities==&lt;br /&gt;
&lt;br /&gt;
When given a certain [RESPONSIBILITY], a landholder may function as a regular civ-level noble. If the position has [TRADE] or [OUTPOST_NEGOTIATING] responsibilities, then the landholder functions both as a diplomat and as an actual land holder. A landholder with the [MILITARY_STRATEGY]  responsibility will travel around taming creatures in world-gen, according to legends mode. &lt;br /&gt;
&lt;br /&gt;
Besides that, the responsibilities work the same as with any other on-site living position-holder, civ or otherwise.&lt;br /&gt;
&lt;br /&gt;
=Military=&lt;br /&gt;
==Squad management==&lt;br /&gt;
In the vanilla game, the Squad interface only becomes available after a militia commander has been appointed. Until then, the window displays:{{DFtext|You must appoint somebody first to create a squad.}}&lt;br /&gt;
&lt;br /&gt;
What’s surprising is how this is determined internally. In the entity raw definition, '''only the last two positions that include a [SQUAD] token are checked''' to decide whether the interface is accessible at all. As a result, if your hierarchy defines commanders A through E, appointing '''Commander D or E''' unlocks squad formation, while appointing A–C does nothing.&lt;br /&gt;
&lt;br /&gt;
In other words, squad availability is not tied to ''having a militia commander'', but to ''which specific positions happen to be last in the raw list''—a notably hacky implementation.&lt;br /&gt;
&lt;br /&gt;
These 'last two' are always the last two '''available positions.''' So if they get [REPLACED_BY] or become available because of [REQUIRES_POPULATION], the game adapts to those.&lt;br /&gt;
&lt;br /&gt;
==Squad assignment==&lt;br /&gt;
&lt;br /&gt;
Squads can be assigned, even if the leader position has no holder.&lt;br /&gt;
&lt;br /&gt;
A specific unit can only have one position associated with a squad. If it gains another 'squad holding position', it is unassigned from the first one. This does not work with a 0-squad, so only 1+squads are taken into consideration. This technique can possibly be used to distribute all positions equally among all citizens. It does however not work with election and assumption. &lt;br /&gt;
&lt;br /&gt;
If a civ-level position is associated with a squad and it gets a site-level squad-holding position assigned, it loses the current civ-position. &lt;br /&gt;
&lt;br /&gt;
Squads can get really messed up, if you make the position (or multiple) either elected or not-elected and not-appointed, then this can cause the game to assign multiple squads to the same unit. Automatic assignment and election does not take squads into account, but the nobles screen does. This can cause the positions to be cleared as the game figures out that they have more than one position, and immediately get elected or assumed again. &lt;br /&gt;
&lt;br /&gt;
Positions that cannot have a squad-position:&lt;br /&gt;
* A site- or civ-position with a [SUCCESSION] token cannot be appointed a squad-holding-position. The other way around, however, does work. For example, if a site-position with a [SUCCESSION]-token is appointed to a unit that has already a position with [SQUAD]. But when that squad position is assigned to another unit, it cannot be assigned back. &lt;br /&gt;
* A position with [SUCCESSION] can also not be assigned as a '''member''' of a squad.&lt;br /&gt;
* A squad-holding position with a formed squad cannot be appointed to another squad holding position.&lt;br /&gt;
&lt;br /&gt;
If a position has at least one squad member, it cannot be left vacant. First, the squad has to be disbanded, then the position may be cleared.&lt;br /&gt;
&lt;br /&gt;
==0-squads==&lt;br /&gt;
A 0-Squad is defined in a position as [SQUAD:0:member:members]. It does not seem to do anything useful as of now.&lt;br /&gt;
* It cannot be used to activate the [[Squad|military interface]]&lt;br /&gt;
* It does not restrict the assignment of [SUCCESSION] positions.&lt;br /&gt;
* Assigning this position does not clear any previously held squad position.&lt;br /&gt;
* The [[Leader]] and [[Tactician]] skill are not marked as relevant skills and are not taken into account in elections.&lt;br /&gt;
* It cannot be formed as a squad.&lt;br /&gt;
&lt;br /&gt;
=Further testing=&lt;br /&gt;
The following questions may need additional testing. Feel free to add or answer&lt;br /&gt;
* Everything regarding COMMANDING and army-structure&lt;br /&gt;
** [http://www.bay12forums.com/smf/index.php?topic=175437.msg8331668#msg8331668]&lt;br /&gt;
** [http://www.bay12forums.com/smf/index.php?topic=165213.msg8335682#msg8335682]&lt;br /&gt;
** [http://www.bay12forums.com/smf/index.php?topic=174584.msg8026854#msg8026854]&lt;br /&gt;
* Everything regarding CONQUERED_SITE, but it is presumably just like site. But what if you combine SITE or LAND_HOLDER with it?&lt;br /&gt;
* Stuff about the monarch, its arrival and its entourage.&lt;br /&gt;
&lt;br /&gt;
=Oddities (Bugs)=&lt;br /&gt;
Almost everything on this page could be called an oddity. Because of their unexpected usability, some may also be referred to as “undocumented features.” Others, however, are simply odd and not particularly useful, yet I hesitate to call them “bugs.”&lt;br /&gt;
* If a certain threshold is reached that makes an elected position electable, and the triggering event that initiates this evaluation is an assumption, then the resulting assumption is also referred to in the messages as an election&lt;br /&gt;
&lt;br /&gt;
=Examples=&lt;br /&gt;
&lt;br /&gt;
===The Founder===&lt;br /&gt;
The founder is a single dwarf, appointed at embark. They will be the only one ever to have this position and are not replaceable. When they lose their position some way, the position will not be assumed by another dwarf. &lt;br /&gt;
{{gamedata|title=The Founder|&lt;br /&gt;
[POSITION:THE_FOUNDER]&lt;br /&gt;
	[NAME:the founder:founders]&lt;br /&gt;
	[NUMBER:1] &lt;br /&gt;
	[SITE]&lt;br /&gt;
	[ALLOWED_CREATURE:DWARF:ALL]		- will only be filled at embark, but not assumable later.&lt;br /&gt;
	[REJECTED_CREATURE:DWARF:ALL]		- will only be filled at embark, but not assumable later.&lt;br /&gt;
	[SUCCESSION:BY_POSITION:THE_FOUNDER]	- not unassignable, also cannot be assigned to a [SQUAD] position.&lt;br /&gt;
	[PRECEDENCE:200] &lt;br /&gt;
	Non APPOINTED_BY&lt;br /&gt;
	Non ELECTED&lt;br /&gt;
	Optional: Add responsibilities to make the game select a unit with certain skills.&lt;br /&gt;
}}&lt;br /&gt;
===Marriage bar===&lt;br /&gt;
Dwarven matrons are held in great honour. Upon marriage, a female dwarf is no longer expected to perform menial labour. All dwarven males hold this position by default, granting their spouses exemption from menial work.&lt;br /&gt;
&lt;br /&gt;
The position becomes available with the arrival of the first migrants; otherwise, on embark, it would be assumed by females. Its succession rule is non-functional, but this prevents the player from unassigning the position. A squad size of 1 and the succession rules together prevent a unit from assuming the position more than once.&lt;br /&gt;
&lt;br /&gt;
With precedence set to NONE, the position name is hidden, while LAND_NAME remains visible on the nobles screen. All married females receive the suffix “, Mrs.” and are marked as Nobles.&lt;br /&gt;
&lt;br /&gt;
The practical usefulness of this position is debatable, but it serves as a clear demonstration of several mechanics.&lt;br /&gt;
{{gamedata|title=Mrs. Urist|&lt;br /&gt;
 &lt;br /&gt;
[POSITION:MRS_URIST]	&lt;br /&gt;
	[NUMBER:300]						&lt;br /&gt;
	[SITE]						&lt;br /&gt;
	[ALLOWED_CREATURE:DWARF:MALE]	&lt;br /&gt;
	Not APPOINTED_BY				&lt;br /&gt;
	Not ELECTED&lt;br /&gt;
	[LAND_NAME:Dwarven male]				&lt;br /&gt;
	[NAME:dwarven male:dwarven male]&lt;br /&gt;
	[PRECEDENCE:NONE]					&lt;br /&gt;
	[SPOUSE_FEMALE:, Mrs.:spouses]&lt;br /&gt;
	[MENIAL_WORK_EXEMPTION_SPOUSE]&lt;br /&gt;
	[REQUIRES_POPULATION:8]			&lt;br /&gt;
	[SUCCESSION:BY_POSITION:MONARCH]&lt;br /&gt;
	[SQUAD:1:member:members]&lt;br /&gt;
}}&lt;br /&gt;
===The Archduke===&lt;br /&gt;
The archduke is the leader of the civilization, but exists only from landholder 4-level. Until then, its position remains vacant. When a settlement is elevated to tier 4 (grand duke), the grand duke can appoint the ruler of the civilisation, the archduke. Because of 'Premature Succession', they themself inherents that position immediately, but only when in fortress mode. Its heir then becomes grand duke.&lt;br /&gt;
{{gamedata|title=The Archduke| no POSITION:MONARCH or other PRECEDENCE:1 &lt;br /&gt;
&lt;br /&gt;
[POSITION:THE_ARCHDUKE]&lt;br /&gt;
	[NAME:archduke:archdukes]&lt;br /&gt;
	[NAME_MALE:archduke:archdukes]&lt;br /&gt;
	[NAME_FEMALE:archduchess:archduchesses]&lt;br /&gt;
	[LAND_NAME:a archduchy]&lt;br /&gt;
	[NUMBER:1] &lt;br /&gt;
	[PRECEDENCE:1] &lt;br /&gt;
	[SUCCESSION:BY_POSITION:GRAND_DUKE]	&lt;br /&gt;
	[APPOINTED_BY:GRAND_DUKE]&lt;br /&gt;
	(add additional monarch-stuff, like spouse name, demands etc.)&lt;br /&gt;
	&lt;br /&gt;
[POSITION:GRAND_DUKE]&lt;br /&gt;
	[NAME:grand duke:grand dukes]&lt;br /&gt;
	[NAME_MALE:grand duke:grand dukes]&lt;br /&gt;
	[NAME_FEMALE:grand duchess:grand duchesses]&lt;br /&gt;
	[NUMBER:AS_NEEDED] &lt;br /&gt;
	[LAND_HOLDER:4]&lt;br /&gt;
	// Optional ...&lt;br /&gt;
	[PRECEDENCE:19]	&lt;br /&gt;
	[LAND_NAME:a archduchy] &lt;br /&gt;
	[RESPONSIBILITY:LAW_MAKING]&lt;br /&gt;
	[RESPONSIBILITY:RECEIVE_DIPLOMATS]&lt;br /&gt;
	[SUCCESSION:BY_HEIR]&lt;br /&gt;
	[APPOINTED_BY:THE_ARCHDUKE]&lt;br /&gt;
	(add additional landholder-stuff)&lt;br /&gt;
&lt;br /&gt;
!!add to [POSITION:DUKE]&lt;br /&gt;
	[REPLACED_BY:GRAND_DUKE]&lt;br /&gt;
&lt;br /&gt;
}}&lt;br /&gt;
{{Category|Modding}}&lt;br /&gt;
{{Category|Entities}}&lt;br /&gt;
{{Category|Guides}}&lt;/div&gt;</summary>
		<author><name>Joostheger</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=Advanced_entity_position_mechanics&amp;diff=314871</id>
		<title>Advanced entity position mechanics</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=Advanced_entity_position_mechanics&amp;diff=314871"/>
		<updated>2026-02-10T10:36:39Z</updated>

		<summary type="html">&lt;p&gt;Joostheger: /* The Archduke */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Quality|Fine}}&lt;br /&gt;
{{Modding}}&lt;br /&gt;
&lt;br /&gt;
= Introduction = &lt;br /&gt;
&lt;br /&gt;
[http://www.bay12forums.com/smf/index.php?topic=182239.0 Discussion thread on the forum]&lt;br /&gt;
&lt;br /&gt;
This page documents observed and tested behavior of entity positions in Dwarf Fortress that is not fully described elsewhere on the wiki. It focuses on advanced interactions between position tokens, including appointment, succession, election, and responsibility handling, across both civilization-level and site-level entities.&lt;br /&gt;
&lt;br /&gt;
The mechanics described here are based on empirical testing in world generation and fortress mode, supplemented where necessary by raw analysis. In several cases, the game’s behavior is determined by evaluation order and interaction between multiple tags, rather than by individual tokens in isolation.&lt;br /&gt;
&lt;br /&gt;
This page is intended for modders and advanced players who are designing or debugging custom entity position structures. It does not restate basic position mechanics, but instead highlights edge cases, non-obvious interactions, and behaviors that may appear inconsistent or undocumented.&lt;br /&gt;
&lt;br /&gt;
Unless stated otherwise, the described behavior applies to current versions of the game and may differ from older releases.&lt;br /&gt;
&lt;br /&gt;
==What is an entity? What is a position?==&lt;br /&gt;
An [[entity]] is an organizational structure that can have relationships with other entities, usually known as a [[civilization]] or a &amp;quot;[[site]] government&amp;quot; in the game, but merchant [[guild]]s, religious organizations, necromancer towers, and [[bandit]] groups are also entities. An entity can have positions - in most cases, these are hardcoded and generated by the game, but as for civilizations and sites, the [[raw file]]s can be customised.&lt;br /&gt;
&lt;br /&gt;
A position is a special relationship between a unit and an entity. The unit holding a position has a larger influence over that entity than other citizens. Positions are mostly known as [[nobles]], but in this article. the technical term is used.&lt;br /&gt;
&lt;br /&gt;
=Position levels (Site/Civ) and their interaction=&lt;br /&gt;
There are two basic types of positions that are customizable: '''civ(ilization)''' level and '''site level'''. Positions with the tag [SITE] are at site level, positions without the tag [SITE] are at 'civ level'. These two types of nobles can be considered '''loosely related systems'''. There are a few places where they can interact with each other.&lt;br /&gt;
&lt;br /&gt;
Civ-level positions are in charge of the civilization as a whole, managing national [[trade]], laws, and [[war]]s. These are, for example, the vanilla [[monarch]], [[diplomat]] and [[general]]. (Note that the general doesn't do anything in either mode in the current version.)&lt;br /&gt;
&lt;br /&gt;
'''[LAND_HOLDER]''' nobles are also positions at civ-level. These units are members of the national government, but have gained authority over some land or site. Once they do, they move to that place, but their position is still regarded as a civ-level position.&lt;br /&gt;
&lt;br /&gt;
Site-level position holders are members of a site government (subsidiary to the civilization), and manage local affairs in that location. These are, for example, the [[mayor]], the [[sheriff]] and the [[broker]].&lt;br /&gt;
&lt;br /&gt;
==Table of interaction between different position levels==&lt;br /&gt;
In this table, the possible interactions between different position levels are summarized. &lt;br /&gt;
The header row shows the positions defining the tokens.&lt;br /&gt;
&lt;br /&gt;
The left column shows the position type that is referred to.&lt;br /&gt;
Example:  &lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! referred position-type&lt;br /&gt;
! LAND_HOLDER&lt;br /&gt;
|-&lt;br /&gt;
| civilization&lt;br /&gt;
|  &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;(baron is) APPOINTED_BY:MONARCH&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
color coding: &amp;lt;/br&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;Exists in vanilla&amp;lt;/span&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;Possible with mods&amp;lt;/span&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;Not possible&amp;lt;/span&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;possible to some extent.&amp;lt;/span&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;not yet fully investigated.&amp;lt;/span&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! referred position-type&lt;br /&gt;
! Civilization&lt;br /&gt;
! SITE&lt;br /&gt;
! LAND_HOLDER&lt;br /&gt;
! CONQUERED_SITE&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Civilization&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;SUCCESSION '''(1)'''&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| SITE&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;SUCCESSION '''(2)'''&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;APPOINTED_BY '''(3)'''&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;SUCCESSION '''(4)'''&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| LAND_HOLDER&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY '''(6)'''&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;SUCCESSION '''(5)'''&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;REPLACED_BY '''(7)'''&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;SUCCESSION '''(8)'''&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;CONQUERED_SITE&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; COMMANDER &amp;lt;/br&amp;gt; REPLACED_BY &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt; SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;APPOINTED_BY &amp;lt;/br&amp;gt; COMMANDER &amp;lt;/br&amp;gt; REPLACED_BY &amp;lt;/br&amp;gt; SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;APPOINTED_BY &amp;lt;/br&amp;gt; COMMANDER &amp;lt;/br&amp;gt; REPLACED_BY &amp;lt;/br&amp;gt; SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;APPOINTED_BY &amp;lt;/br&amp;gt; COMMANDER &amp;lt;/br&amp;gt; REPLACED_BY &amp;lt;/br&amp;gt; SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Remarks:&lt;br /&gt;
# Works only in world-gen, if a unit with that civ-position is present at the site.&lt;br /&gt;
# Works only in world-gen, the site-position holding unit will then move to the capital.&lt;br /&gt;
# Is completely ignored&lt;br /&gt;
# Works only in world-gen.&lt;br /&gt;
# Works only in world-gen.&lt;br /&gt;
# Won't appear at all&lt;br /&gt;
# This is necessary for the landholder chain to work properly, it doesn’t work otherwise.&lt;br /&gt;
# This works only outside of the landholder chain, so when landholders are simply regarded as civ-level nobles. might also work in world-gen&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
== Other interactions ==&lt;br /&gt;
&lt;br /&gt;
Unfortunately, interactions with positions of other entities don't seem possible, such as APPOINTED_BY: HIGH_PRIEST. With [VARIABLE_POSITIONS], positions are automatically created with codes like CUSTOM_LAW_MAKER_2, but interaction with these positions don't seem to work, either. For more info on those, see [[Variable positions]]&lt;br /&gt;
&lt;br /&gt;
=General=&lt;br /&gt;
&lt;br /&gt;
==Civ-level nobles living at your site==&lt;br /&gt;
Nobles from your civilization can come to live at your fortress. This happens in vanilla with landholders such as [[Baron]], [[Count]] and [[Duke]], with the Monarch, but sometimes also with non-landed LAND_HOLDERS.&lt;br /&gt;
&lt;br /&gt;
When a civ-level noble becomes a [[citizen]] at your location, their position is shown among the site-level positions in your [[nobles screen]]. They appear to function as a site-level noble. They may have [[demand]]s, [[mandate]]s, [[squad]]s and the like. They can appoint nobles at the site-level.&lt;br /&gt;
&lt;br /&gt;
If they have certain [RESPONSIBILITY]ies, they do the tasks that go with them.&lt;br /&gt;
&lt;br /&gt;
==Fortress mode, world-gen and their differences==&lt;br /&gt;
Their are a few differences in how positions function between fortress mode (normal play mode) and the world generation (world-gen). &lt;br /&gt;
&lt;br /&gt;
In '''fortress mode''', the player has some control over the appointment of nobles, limited by elections, automatic filled-in positions and succession rules. Pre-fortress mode, which is referred to as '''world-gen''', the game will always attempt to assign nobles whenever possible. It is subjected to the same rules as in fortress-mode, but there are some exceptions. In '''[[World activities]]''', which is the thing that happens in the world while you play fortress mode, it seems as if the same rules are applied as fortress mode. &lt;br /&gt;
&lt;br /&gt;
A difference between player-fortress-mode and world-gen, is causes by visibility (see below). Positions that are not visible by the player and thus not available for assignment, will be available in world-gen and will thus be automatically assigned.&lt;br /&gt;
&lt;br /&gt;
In fortress mode, a position that is both [ELECTED] and [APPOINTED_BY], cannot be appointed by the player and is also not elected, and can thus not be filled. But in world-gen sites however, these positions are automatically filled.&lt;br /&gt;
&lt;br /&gt;
Positions with [AS_NEEDED] are almost never created and filled in world-gen (depending on their [RESPONSIBILITY]ies), but can always be used in player mode.&lt;br /&gt;
&lt;br /&gt;
A position can, in fortress mode, be filled by the same unit. A unit can gain multiple positions in fortress mode, for example because of [[elections]]. This will not happen in world-gen mode: a unit can only have one position. See also remarks on 'embark' and 'Losing a position'.&lt;br /&gt;
&lt;br /&gt;
In world-gen, [SUCCESSION] between civ-levels and [SITE-]levels may happen. This will not happen in fortress mode, or even off-site in [[World activities]].&lt;br /&gt;
&lt;br /&gt;
In fortress mode, premature SUCCESSION may happen. This will not happen in world-gen mode.&lt;br /&gt;
&lt;br /&gt;
==Units holding multiple positions in multiple entities==&lt;br /&gt;
A unit can hold multiple positions in its civilisation or in its site-entity, however this does not happen in world-gen. Only at player-managed sites can units be holding multiple positions at once. (It is probably not possible for a unit to hold a position in two different civilisations or two different sites.)&lt;br /&gt;
&lt;br /&gt;
In world-gen, if there are too many positions to be filled, they simply stay empty until more units are available. E.G, a unit at a site might inherit a civ-level position and still remain a member of the local government. When this happens however, they move to the capital. If a unit gains a new position, either inherited or otherwise, it drops the previous one. If a unit assumes a civ-position in fortress mode, it leaves the current position. &lt;br /&gt;
&lt;br /&gt;
If a unit holds the same (site-)position multiple times, it has no additional effect.&lt;br /&gt;
&lt;br /&gt;
If a unit holds multiple different positions of the same entity, it has all those positions' responsibilities and properties, stacked up. Presumably, the demands for those combined positions are determined by the highest.&lt;br /&gt;
 &lt;br /&gt;
A unit holding a position with a succession token can be assigned another position with a (different) succession token. &lt;br /&gt;
&lt;br /&gt;
A unit holding a position with a squad-position cannot hold another squad-position. It is dropped from the first, when it gets its second assigned. &lt;br /&gt;
A unit holding a position with a succession token cannot be assigned to a squad-position - the unit is simply not available. It works the other way around, though.&lt;br /&gt;
&lt;br /&gt;
=[PRECEDENCE]=&lt;br /&gt;
The first defined position with precedence of 1 counts as the ruler of the civ. See also: [[Position_token#PRECEDENCE|PRECEDENCE]]. &lt;br /&gt;
&lt;br /&gt;
If the precedence is omitted or has a negative value, the game sets 0 as precedence, which seems to have no effect whatsoever.&lt;br /&gt;
&lt;br /&gt;
When a unit has multiple positions, the name of the position with the highest rank in precedence is shown behind the unit's name.&lt;br /&gt;
&lt;br /&gt;
If you omit precedence entirely, or set it to [PRECEDENCE:NONE], the position name will not be shown after the unit’s name. Your *Urist Mason* will remain simply *Mason*. This can be useful for positions that are unimportant or purely functional. The position will also not appear in the civilisation overview of your site on the world map. The position name is shown in messages, but remains hidden on the nobles screen as well. To make it visible there, use [LAND_NAME].&lt;br /&gt;
&lt;br /&gt;
=[RESPONSIBILITY]ies=&lt;br /&gt;
Both civ and [SITE] positions can carry responsibilities. However, not all responsibilities are active for both types: some function only for civ positions, others only for site positions. When a civ noble arrives at a site and takes up residence, they do not perform responsibilities that are intended for SITE nobles. As a result, these responsibilities neither trigger their associated tasks nor unlock related game mechanics. For example, a civ-level manager living in a fortress will not perform management duties there and doesn't unlock the management-screen, even with an assigned office. &lt;br /&gt;
This behavior applies to the following [SITE]-level responsibilities:&lt;br /&gt;
* [RESPONSIBILITY:ACCOUNTING]&lt;br /&gt;
* [RESPONSIBILITY:BUILD_MORALE]&lt;br /&gt;
* [RESPONSIBILITY:HEALTH_MANAGEMENT]&lt;br /&gt;
* [RESPONSIBILITY:LAW_ENFORCEMENT]&lt;br /&gt;
* [RESPONSIBILITY:MANAGE_PRODUCTION]&lt;br /&gt;
* [RESPONSIBILITY:MEET_WORKERS]&lt;br /&gt;
* [RESPONSIBILITY:TRADE]  (functions differently)&lt;br /&gt;
Other responsibilities may be affected as well, but have not yet been fully tested.&lt;br /&gt;
&lt;br /&gt;
==[DELIVERS_MESSAGES]==&lt;br /&gt;
The only [AS_NEEDED]-position that is created in worldgen based on responsibility is that of the site-level responsibility [DELIVERS_MESSAGES].&lt;br /&gt;
&lt;br /&gt;
==Outpost Liaisons and Diplomats==&lt;br /&gt;
Civ-positions with the responsibility [ESTABLISH_COLONY_TRADE_AGREEMENTS] ([[Outpost_Liaison|Outpost Liaison]]s) will meet with the site-noble who has responsibility for [RECEIVE_DIPLOMATS] and the highest rank of precedence (i.e. the lowest precedence value). Usually this is the [[Expedition_leader|Expedition leader]].&lt;br /&gt;
&lt;br /&gt;
Once a [LAND_HOLDER] is assigned to the site, civ-positions with the responsibility [MAKE_TOPIC_AGREEMENTS] ([[Diplomat]]s) will meet with '''civ'''-level nobles present at the site who have the [RECEIVE_DIPLOMATS] responsibility. If multiple eligible nobles are available, one is selected at random. If no eligible noble is present, the diplomat leaves angrily. If the landholder is no longer present at the site, diplomats will not arrive at all.&lt;br /&gt;
&lt;br /&gt;
It appears that Outpost Liaisons and Diplomats are chosen for a diplomatic mission based on availability. When multiple candidates exist, the position defined last in the raws is most often selected.&lt;br /&gt;
&lt;br /&gt;
==[TRADE]==&lt;br /&gt;
Civ-level nobles with [TRADE] will arrive with the caravan, just as the Outpost Liaison. Their behavior is no longer active in the vanilla game, but the mechanics are still present. See [[40d:Guild_representative|Guild representative]] for more details. This civ-noble will only meet with the SITE noble with [TRADE], usually the [[Broker]].&lt;br /&gt;
&lt;br /&gt;
If two civ-nobles exist with both [TRADE] and [ESTABLISH_COLONY_TRADE_AGREEMENTS], they both arrive at the same time. Even if both tokens are assigned to a single position, if more than one instance of that position exists, two of them will arrive. However in that case, somehow the elevation of the site and appointment of landholder isn't offered.&lt;br /&gt;
&lt;br /&gt;
If the SITE-noble they intend to meet has both [TRADE] and [RECEIVE_DIPLOMATS], only one meeting will proceed and the other is cancelled. However, when two SITE-nobles are available, each with either [TRADE] or [RECEIVE_DIPLOMATS], both meetings will proceed and both civ-nobles will attempt to negotiate a trade agreement. It is not known what happens if these agreements are accepted or refused.&lt;br /&gt;
&lt;br /&gt;
In the trade depot, the last defined position with the [TRADE] responsibility is shown as broker. However when requesting a trader, the first defined position with [TRADE] will actually go there to do the trade.&lt;br /&gt;
&lt;br /&gt;
==World-gen effects of the [RESPONSIBILITY] of available positions ==&lt;br /&gt;
It is possible to cause civs and individual sites to change their behavior substantially when they reach a certain size, by controlling nobles. &lt;br /&gt;
* If a site can only appoint a position with [MILITARY_GOALS] after reaching a particular size, that site will not send armies on missions until the required size is reached.&lt;br /&gt;
* A civ-level [LAW_MAKING] position is required for the civilization to have any kind of cohesion. Without it, sites will be constantly embroiled in territorial disputes and civil wars will be commonplace.&lt;br /&gt;
* [MILITARY_STRATEGY] positions go out and tame wild animals. This makes your civ gain those animals as domesticated and also brings them in sieges.&lt;br /&gt;
* The [[Personality_facet|Personality]] of the position's holder determines how they lead the civ.&lt;br /&gt;
&lt;br /&gt;
=Availability and visibility=&lt;br /&gt;
==Availability of (new) positions==&lt;br /&gt;
Warning: Do not mistake &amp;quot;availability&amp;quot; for &amp;quot;visibility&amp;quot;! &lt;br /&gt;
&lt;br /&gt;
Of all the possible positions existing in your site's entity, there may only be some available. &lt;br /&gt;
* Positions with [REQUIRES_POPULATION] require the population to have a specific size.&lt;br /&gt;
* Positions with [REQUIRES_MARKET] will only appear in &amp;quot;large&amp;quot; sites (which may have different rules for different site types). This tag has no effect in fort mode.&lt;br /&gt;
* Positions that are appointed by positions that have an AS_NEEDED number. The appointable positions only become available after an appointer position-slot is created. This works also on civ-level. If a position is appointed by a Land-holder, it only becomes available, when that level of landholder is created. &lt;br /&gt;
	&lt;br /&gt;
Only the replaced positions are culled and are no longer available. &lt;br /&gt;
A position that requires a certain population will become available, even if it doesn't have [APPOINTED_BY] or [ELECTED]. In that case, see 'automatic assignment' and 'assumption'&lt;br /&gt;
&lt;br /&gt;
In fortress mode, in some cases 'succession' is evaluated immediately after a position becomes available. See: Succession.&lt;br /&gt;
==Visibility of positions==&lt;br /&gt;
A position might be available, but can still be invisible for the player in the [[nobles screen]]. The positions with their respective holders are visible for players:&lt;br /&gt;
* All site-positions that are already filled-in (even if they could not be re-filled-in considering current conditions)&lt;br /&gt;
* Site positions that are appointable by a filled-in site position&lt;br /&gt;
* Site positions that are appointable by a filled-in civ position, when that civ positions holder becomes a citizen of your fortress.&lt;br /&gt;
* Civ positions of units that are also a citizen of your fortress.&lt;br /&gt;
If a position becomes available, for example because a certain pop number has been reached, or if it is available from the start(like expedition leader), as long as it cannot be appointed, it still is INVISIBLE for the player. &lt;br /&gt;
&lt;br /&gt;
It might strike someone as odd if a position becomes filled automatically in fortress mode when that position is not even visible. This might be the case if the current holder of a non-appointable position dies or succeeds another position. Regardless of player visibility, these positions will be automatically filled in if the necessary requisitions are met. It might happen with the expedition leader.&lt;br /&gt;
&lt;br /&gt;
A situation with a non-visible but available position, is for example when a position is solely appointed by the expedition leader, when the expedition leader's position is left vacant. It can no longer be appointed by the player and is invisible. Then, it gets automatically assumed, proving that the position still was available.&lt;br /&gt;
&lt;br /&gt;
A position that is both [APPOINTED_BY] and [ELECTED] is visible, but players cannot interact with it.&lt;br /&gt;
&lt;br /&gt;
=[NUMBER]=&lt;br /&gt;
A position might be defined with a number. In that case, as many as defined can be available. If the positions become available, in world-gen and when embarking, they are all filled-in completely.&lt;br /&gt;
&lt;br /&gt;
If the ruling position (with PRECEDENCE of 1) has a NUMBER higher than 1, a random unit of the ones holding these positions is shown as ruler in the embark screen.&lt;br /&gt;
&lt;br /&gt;
A [NUMBER] of 0 (zero) has the same effect as 1.&lt;br /&gt;
&lt;br /&gt;
==Automatic spreading of assumed, non-singular positions==&lt;br /&gt;
If there are civ positions that have a NUMBER higher then '1' and which are assumed (not APPOINTED_BY or ELECTED) but are '''not DUTY_BOUND''', these are automatically spread among the civilisation, based on population. If there are a number of '''20''' available slots of that position, they spread among a civilization with a combined population of, for example, 1000 of which your fortress has 100 (10%), '''2''' of your fortress' citizens will assume that position. &lt;br /&gt;
This may probably also work with elected and appointed positions, but that may be depending on the death of the current holders and this needs more testing. Assumption works within a day, anyway. &lt;br /&gt;
&lt;br /&gt;
==[AS_NEEDED]==&lt;br /&gt;
These positions can be created automatically by the game in world-gen. This, however, only works with: &lt;br /&gt;
* [LAND_HOLDER]'s&lt;br /&gt;
* squad commanders (needs more testing)&lt;br /&gt;
* Messengers at sites&lt;br /&gt;
&lt;br /&gt;
For all other types of positions, they're not created in world-gen, even if they are defined with RESPONSIBILITY's. For example, even in war, the game wouldn't create a MILITARY_GOALS position, if they have AS_NEEDED as number. &lt;br /&gt;
&lt;br /&gt;
However, in fortress mode / player mode, these positions can be created by the player at will.&lt;br /&gt;
&lt;br /&gt;
Positions with AS_NEEDED need to be created first, before any symbols are assignable as 'symbols' (objects) for the position holder to carry or wear.&lt;br /&gt;
&lt;br /&gt;
Positions with AS_NEEDED cannot be created and then ELECTED in fortress mode. It only works with APPOINTED_BY.&lt;br /&gt;
&lt;br /&gt;
=Replacement and Required Population=&lt;br /&gt;
&lt;br /&gt;
The token REPLACED_BY:position means that once the replacing position reaches its required population-number, the 'to-be-replaced' position will disappear. This is defined in REQUIRES_POPULATION. These tags are closely related to each other and seem to only have a meaningful function if combined. Nobles with REQUIRES_POPULATION require the population to have a specific size. &lt;br /&gt;
&lt;br /&gt;
This works on the civ-level as well as on site-level, but those systems are in this mechanic strictly separated. Site-level positions cannot be replaced by civ-level positions and visa versa. This makes sense, because they both depend on their own population-count. When using REQUIRES_POPULATION on civ-level, it counts the total population of the civilisation. &lt;br /&gt;
&lt;br /&gt;
See also: [[Advanced_entity_position_mechanics#Evaluation_of_Positions|Evaluation of positions]]&lt;br /&gt;
&lt;br /&gt;
==Effect of replacement (and on [LAND_HOLDER]s)==&lt;br /&gt;
&lt;br /&gt;
Replacement is immediate and complete - the current holding unit loses the position, even before SUCCESSION_BY_POSITION rules are applied. A position with a number of 1 will replace all the slots of a position with a higher number of slots. &lt;br /&gt;
&lt;br /&gt;
Even if the next position is available but not visible, replacement still takes place. If a position is replaced, it is completely gone - it cannot be appointed, succeeded, elected or assumed any longer.&lt;br /&gt;
The unit immediately loses its position.&lt;br /&gt;
&lt;br /&gt;
In legends, replacement is mentioned as: &amp;quot;(unit name) ceased to be (position name)&amp;quot; The replacement of an AS_NEEDED position empties the position's slot forever. In fortress mode, it may seem as if you can create new slots and appoint new units in the nobles screen, but this is reversed as soon as you close the window.&lt;br /&gt;
&lt;br /&gt;
The landholder chain uses [REPLACED_BY] differently. It does not clear the position completely, but uses it for succession to the next level's position. [REPLACE_BY] is required to let that system work properly. This also means that the way in which landholders succeed (replace + as_needed) does not work in any other way. &lt;br /&gt;
&lt;br /&gt;
Replacement between LAND_HOLDERS and other site- or civ positions does not work in any way. Only the vanilla replacement sequence between levels of LAND_HOLDERs does work. If the token is omitted for landholders, the landholder chain is broken, so replacement is required for the landholder system to work.&lt;br /&gt;
&lt;br /&gt;
[REQUIRES_POPULATION] also does not work for [LAND_HOLDER], when you set [NUMBER] to 1. The position is not created when the required population is reached.&lt;br /&gt;
&lt;br /&gt;
==What doesn't work==&lt;br /&gt;
&lt;br /&gt;
'''Attention: If a position cannot be appointed, for example because of 'mutual appointment', it still exists according to replacement mechanics and will replace other positions if so defined. If a certain position(a) will be replaced by the baron's assistant, which can only be appointed by the [LAND_HOLDER] baron, than that position(s) still will be replaced from the start of the game, even if no baron or their assistant is ever present.'''&lt;br /&gt;
&lt;br /&gt;
A position that is replaced by a somehow not-fillable position, is still replaced. This counts for mutual-appointing positions, replacement by not-yet-assigned landholders, replacement by AS_NEEDED positions, or replacement by not-yet-appointed positions. &lt;br /&gt;
&lt;br /&gt;
Replacement does not work if the replaced position is a [LAND_HOLDER], even with civ-positions. In that case, the LAND_HOLDER's position is not replaced. It does not matter if AS_NEEDED is used, or a fixed number, and it also does not matter what type of position the replacer is. So this only works (correctly) with positions that become available by REQUIRES_POPULATION.&lt;br /&gt;
&lt;br /&gt;
={{text anchor|Evaluation of Positions}}=&lt;br /&gt;
The game does not continuously check whether positions should become available, elected or be [REPLACE_BY]. This is well-known behavior—for example with the [[mayor]], who does not appear automatically when the required population ([REQUIRES_POPULATION]) is reached. Instead, positions must somehow be evaluated. This applies in several other situations as well &lt;br /&gt;
&lt;br /&gt;
'''Cases that require a trigger:'''&lt;br /&gt;
* Election of a newly created position&lt;br /&gt;
* Election after the current holder dies&lt;br /&gt;
* Automatic assumption of a newly created position (this may take up to a day)&lt;br /&gt;
* New citizens (such as migrants) considering available positions&lt;br /&gt;
* Premature succession of a newly created position&lt;br /&gt;
&lt;br /&gt;
'''Cases that do not wait for a trigger:'''&lt;br /&gt;
* Succession following the death of the previous holder&lt;br /&gt;
* Automatic assumption of existing positions that have become vacant&lt;br /&gt;
&lt;br /&gt;
'''Triggers that cause the game to reevaluate noble positions:'''&lt;br /&gt;
* Succession of a [SITE]-position due to the death of the current holder&lt;br /&gt;
* [[Advanced_entity_position_mechanics#Election_Day|Election Day]]&lt;br /&gt;
* Automatic assumption of a [SITE]-position that becomes vacant&lt;br /&gt;
* (Re)assigning any site position manually&lt;br /&gt;
* Settlement elevation on the LAND_HOLDER track (e.g. gaining a [[Baron]] or [[Count]])&lt;br /&gt;
&lt;br /&gt;
=Gaining a position=&lt;br /&gt;
There are several ways a unit can gain a position:&lt;br /&gt;
* Appointment: A unit is appointed by another unit or by the player.&lt;br /&gt;
* Election: A unit is elected by and among the members of the entity&lt;br /&gt;
* Assumption: A position is neither elected or appointed: a random unit just simply 'takes' the position&lt;br /&gt;
* Succession: a unit is the valid successor of this position(A), either by its current position(B) or because they are that position(A)-holder's heir. &lt;br /&gt;
&lt;br /&gt;
Available positions will automatically be assigned to a random civ member when a new site/civ is created.&lt;br /&gt;
&lt;br /&gt;
==Who can take a position==&lt;br /&gt;
&lt;br /&gt;
* If so defined, a unit needs to be the right caste and/or class - it does not seem to work with creature types. &lt;br /&gt;
* The unit needs to be an adult member of the site or its parent civ-government; that is also CAN_LEARN or INTELLIGENT (SLOW_LEARNER cannot take positions) or otherwise is able to think.&lt;br /&gt;
&lt;br /&gt;
==Appointment==&lt;br /&gt;
&lt;br /&gt;
Positions that have an [APPOINTED_BY:position] token require that position to exist, to be available and appointed. Any position that is APPOINTED_BY can be appointed if the appointer's position is filled in. &lt;br /&gt;
For site-positions to be appointed, it is required that the appointer is present at that location.&lt;br /&gt;
&lt;br /&gt;
If the appointing unit is temporarily not present, or if that position is not filled, positions depending on it cannot be appointed. This is the case with [[militia captains]], when the [[militia commander]] is on a [[mission]]. &lt;br /&gt;
&lt;br /&gt;
A site position cannot appoint a civ position ''or'' LAND_HOLDER in any way whatsoever. &lt;br /&gt;
&lt;br /&gt;
Civ-level positions can appoint other civ-level positions and site-level positions can appoint other site-level positions.&lt;br /&gt;
&lt;br /&gt;
Contrary to what has been said elsewhere, civ-level nobles also can appoint site-level nobles. They need to be at the site to do so. Landholders can appoint both site-level and civ-level nobles. These systems are therefore not as separate as was assumed.&lt;br /&gt;
&lt;br /&gt;
'''Mutual appointment''' cannot take place. If these are the only requisites of the position, then the positions will never appear or get filled. These unfillable positions can be put to good use, for example, to replace a position that is no longer needed without creating a new one. &lt;br /&gt;
&lt;br /&gt;
'''Self appointment''' doesn't normally work. If you have a position that is only appointed by itself, it is never appointed and also cannot be assumed. However, if the position has a number higher than 1, and is filled by multiple units (for example by another position that is now empty), than those units can re-assign or appoint each other from that their shared position. &lt;br /&gt;
&lt;br /&gt;
If an APPOINTED_BY token refers to a non-existing position's code, the effects are as if the appointment token doesn't exist at all.&lt;br /&gt;
&lt;br /&gt;
===Automatic appointment in world-gen and on the civ level===&lt;br /&gt;
&lt;br /&gt;
Outside of fortress mode, the game will always attempt to appoint nobles whenever possible, as long as these positions are '''available''', even if they are invisible to the player.&lt;br /&gt;
It shows this message in legends:  &amp;quot;(unit name) has been appointed to the position of (position name)&amp;quot;&lt;br /&gt;
&lt;br /&gt;
In world-gen, all positions become available and are automatically appointed, taking population- and appointment-requirements into consideration. &lt;br /&gt;
&lt;br /&gt;
Positions that are REPLACED_BY are culled and won't be filled.&lt;br /&gt;
&lt;br /&gt;
If a citizen of your fortress holds a civ-level position that can appoint another civ-level position, the appointment will happen automatically and without player intervention. It may happen that another citizen of your fortress is appointed by that unit, creating civ-level position holders in your fortress, but it is unknown what is required to force this effect.&lt;br /&gt;
&lt;br /&gt;
===Manual appointments by players in fortress mode===&lt;br /&gt;
In fortress mode, the positions that need to be appointed stay empty on embark. and it is the player's job to appoint those. A player can appoint a unit to any available position, according to the hereabove mentioned conditions. The player takes the role of the automatic appointment-system, but has no direct control over elections, successions and replacement. There are some differences in what is possible at world-gen sites and at player-controlled sites.&lt;br /&gt;
&lt;br /&gt;
* A position that is appointed by a unit present as a fortress citizen, can be appointed, re-appointed or left vacant. This means also by civ-level nobles living as a citizen in your fortress; not when they are only visiting, like the diplomat.&lt;br /&gt;
* A position whose appointing positions are all either vacant or [REPLACED_BY] can no longer be appointed. If the position is already filled, it cannot be reappointed or vacated; the current holder simply remains in office.&lt;br /&gt;
* A position that is APPOINTED_BY a unit present as the land_holder of your site, can be appointed, reassigned or left vacant.&lt;br /&gt;
* A position that has SUCCESSION BY_HEIR or BY_POSITION can 'initially' be appointed and also re-appointed or left vacant, but as soon as the [[nobles]] screen closes, ''it can no longer be replaced or left vacant''. From then on, the succession-rules determine who gains that position when the current holder loses the position. This works even if the SUCCESSION:BY_POSITION-position is vacant or replaced.&lt;br /&gt;
* A position that is ELECTED nor APPOINTED_BY, can always be (re-)appointed by the player. This is the case with the [[Expedition leader]]. If it is left vacant however, it cannot be appointed, but will be assumed shortly after. &lt;br /&gt;
* A position that is both ELECTED and APPOINTED_BY, cannot be appointed by the player. Contrary to world-gen sites, its slot is visible, but it doesn't show the +-sign. This is either by AS_NEEDED or by a fixed number. Even if the position somehow gets filled (re)assignment is never possible&lt;br /&gt;
* A player can appoint a number of units to a position, as much as the NUMBER token dictates. If it is AS_NEEDED, the player may create as many slots as they like, also contrary to world-gen sites. &lt;br /&gt;
* A civ-position can never be appointed, even if the appointing civ noble is a citizen of your fortress. A civ position also never can be re-assigned or left vacant, would that position be defined as appointed by a site-position.&lt;br /&gt;
&lt;br /&gt;
==Election==&lt;br /&gt;
Read more in [[Elections]]. The message that is shown is: &amp;quot;(creature name) has been elected to the position of  (position name)&amp;quot;&lt;br /&gt;
&lt;br /&gt;
In worldgen, there is no functional difference between ELECTED and non-appointment, except that elected nobles tend to have high social skills and/or skills related to the position, while non-elected ones are assigned randomly. See: [[Elections]]&lt;br /&gt;
&lt;br /&gt;
A succession goes before an election. &lt;br /&gt;
&lt;br /&gt;
A position that is both ELECTED and APPOINTED_BY never gets elected. Even if the appointees' position somehow gets filled, (re)-elections won't happen. So, it doesn't seem possible to have an elected position become available when a certain other position becomes filled. &lt;br /&gt;
&lt;br /&gt;
An ELECTED civ-(or LAND_HOLDER) position at your site will never be (re)-elected in fortress mode. So real (re-)election only works with SITE-positions. &lt;br /&gt;
&lt;br /&gt;
=== {{text anchor|Election Day}} ===&lt;br /&gt;
Election Day takes place on the 17th of Summer. On this day, a full reevaluation is performed, including all currently elected positions, which are subject to re-election. Contrary to the information on [[Elections]], nothing occurs at the start of a season.&lt;br /&gt;
&lt;br /&gt;
Positions that are both [APPOINTED_BY] and [ELECTED] will not be re-elected on Election Day when assigned through [SUCCESSION].&lt;br /&gt;
&lt;br /&gt;
=== Election Eligiblity ===&lt;br /&gt;
Any citizen may stand for election. Eligibility cannot be restricted using [ACCEPTED_CREATURE], [REJECTED_CREATURE], [ACCEPTED_CLASS], [REJECTED_CLASS], or [GENDER]. Units currently having a [SUCCESSION]-position even may be elected for a position with a [SQUAD]-token, which is otherwise impossible to assign or even succeed.&lt;br /&gt;
&lt;br /&gt;
=== Skills ===&lt;br /&gt;
In elections, skills are taken into account for the tokens of the position which is elected.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Relevant skills per position token&lt;br /&gt;
|-&lt;br /&gt;
! Position Token !! Relevant skills&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#DELIVER_MESSAGES|[DELIVER_MESSAGES]]] || [[Ambusher]], [[Observer]] and [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#ACCOUNTING|[ACCOUNTING]]] || [[Record_keeper|Record keeper]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#ESPIONAGE|[ESPIONAGE]]] || [[Schemer]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#HEALTH_MANAGEMENT|[HEALTH_MANAGEMENT]]] || [[Diagnostician|Diagnostician]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#MAKE_INTRODUCTIONS|[MAKE_INTRODUCTIONS]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#MAKE_PEACE_AGREEMENTS|[MAKE_PEACE_AGREEMENTS]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#MAKE_TOPIC_AGREEMENTS|[MAKE_TOPIC_AGREEMENTS]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#MANAGE_PRODUCTION|[MANAGE_PRODUCTION]]] || [[Organizer]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#MEET_WORKERS|[MEET_WORKERS]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#RECEIVE_DIPLOMATS|[RECEIVE_DIPLOMATS]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#RELIGION|[RELIGION]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#TAME_EXOTICS|[TAME_EXOTICS]]] || [[Animal_trainer|Animal trainer]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#TRADE|[TRADE]]] || [[Social_skill|Social skills]] and [[Appraiser|Appraiser]]&lt;br /&gt;
|-&lt;br /&gt;
| [[Position_token#SQUAD|[SQUAD]]]-token || [[Tactician]] and [[Leader]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Assumption==&lt;br /&gt;
&lt;br /&gt;
A position that is not APPOINTED_BY nor ELECTED, or is appointed by positions that are not available in your site or civ, will be assumable by a random dwarf. If it has responsibilities that require certain skills, then these are taken into consideration on embark, but not when the position is assumed during the actual game. &lt;br /&gt;
&lt;br /&gt;
Normally, one to three units will take the into consideration to assume a position. Most of the time when there are multiple open positions, only a single unit will assume all of them. However, a position that has REJECTED_CREATURE, REJECTED_CLASS, ALLOWED_CREATURE or ALLOWED_CLASS will be filled with all different units, even if the creature or class mentioned is irrelevant. It seems that this forces the game to loop over all the available units.&lt;br /&gt;
&lt;br /&gt;
The message that is shown in Legends mode is: &amp;quot;(unit name) has assumed the position of (position name)&amp;quot;. This may also take place in fortress mode, which then shows this message to the player. &lt;br /&gt;
&lt;br /&gt;
If an assumable position becomes empty, it will be assumed within a day. This is the case when you leave the position of expedition-leader vacant. It also happens with entities. &lt;br /&gt;
&lt;br /&gt;
Assumable positions that become empty will not be assumed if that position has a valid [SUCCESSION] -successor. In that case, the successor inherits the position. &lt;br /&gt;
&lt;br /&gt;
Even positions that are somehow invisible because they cannot be directly APPOINTED_BY players, can be assumed. &lt;br /&gt;
&lt;br /&gt;
When you embark, the assumable positions are automatically assigned to a random unit. If there are multiple of these positions at embark, they all are assigned to the same unit. If there are enough positions available, multiple units may gain a position, but often no more than three different ones.&lt;br /&gt;
&lt;br /&gt;
If a dwarf in fortress mode assumes a position, that already has another position, it will leave the current position empty. When that position also is assumed, then this will continue until all positions have a dwarf appointed to them, with no other position.&lt;br /&gt;
&lt;br /&gt;
A unit that already has a position with a [SUCCESSION] token won't take assumable positions into consideration that have a [SQUAD] token. This can be used by the modder to prevent unwanted loss of current positions.&lt;br /&gt;
&lt;br /&gt;
A position that has an appointer which got replaced because of REPLACED_BY, will not become assumable. Also, positions that have an AS_NEEDED appointer that is not yet filled (or ever), will also not be assumed.&lt;br /&gt;
&lt;br /&gt;
==Succession==&lt;br /&gt;
&lt;br /&gt;
If a position-holder dies or advances to a new position via succession, the position will be granted to another unit based on the [SUCCESSION] tag. If they have an heir or the succeeding position exists, that unit will be assigned. If not, a new one will be appointed according to the usual rules. The message that is shown is: &amp;quot;(creature name) being the rightful heir, has inherited the position of (position name)&amp;quot;&lt;br /&gt;
&lt;br /&gt;
The succeeding creature will also lose its previous position. When succession is defined using BY_POSITION, the unit naturally loses the referenced position. However, it also loses any other positions it may hold. If a unit could simultaneously inherit multiple positions, the last-defined succession overrides the earlier one, clearing the previously acquired position&lt;br /&gt;
&lt;br /&gt;
Succession works both at site-level and at civ-level, both in world-gen and in fortress-mode. Succession by position on the civ-level is also visible and functional in fortress-mode. If both civ-level nobles are a citizen of your fortress, succession is applied visually. Vanilla example: The [[druid]] is succeeded by the [[acolyte]]. This means that as soon as the druid dies, the acolyte takes over. &lt;br /&gt;
&lt;br /&gt;
When a position that is succeeded by position becomes available, immediately it is checked if a position-successor is available and the position is filled with that unit. Even if this is an [ELECTED] position, succession goes first. When elections eventually do happen, succession plays no role.&lt;br /&gt;
&lt;br /&gt;
It is possible to assign multiple levels of [SUCCESSION:BY_POSITION] in different positions, creating a line of positions where the death of one causes all those &amp;quot;below&amp;quot; them to advance.&lt;br /&gt;
&lt;br /&gt;
A position can have multiple tokens with position-succession. It looks to be random which one is used. It is not always:&lt;br /&gt;
* The first or last defined token&lt;br /&gt;
* The first or last appointed unit&lt;br /&gt;
* the oldest or youngest&lt;br /&gt;
* one with a higher or lower precedence&lt;br /&gt;
* a unit with relevant skills&lt;br /&gt;
&lt;br /&gt;
When a position is defined with a Succession-type, that unit cannot have another position that has a Squad-type. If the succession-position itself has a squad, than it can be assigned another position with a squad, but then it will loose the previous succesion position. See further details by &amp;quot;Squad&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Assumed positions can also be succeeded by position, if the current holder dies. &lt;br /&gt;
&lt;br /&gt;
If the successor is an AS_NEEDED position, the used unit will leave a vacant position-slot on its removal by succession. This empty slot remains a real slot, which will only be cleaned up if you (un)appoint a unit to this position-series. It isn't cleaned up after regular position validation.&lt;br /&gt;
&lt;br /&gt;
A civ-level position of a unit living at your site might be inherited by a unit holding that does not currently live at your site. This, unfortunately, moves that position to a unit off site. This may also happen with the landholder of your site, for example when it is succeeded by another civ-level position. This currently poses an unsolved challenge. &lt;br /&gt;
&lt;br /&gt;
===Eligibility for succession===&lt;br /&gt;
Succession is restricted by the tokens [ACCEPTED_CREATURE], [REJECTED_CREATURE], [ACCEPTED_CLASS], [REJECTED_CLASS] and [GENDER].&lt;br /&gt;
&lt;br /&gt;
===Site and civ combined succession===&lt;br /&gt;
&lt;br /&gt;
Succession can work when combining site positions with civ-level positions or land_holders, but only in world-gen mode.  In fortress mode, it only works with combining the same level of nobles, with Landholders regarded as civ-level. So, in fortress mode, a site's position cannot succeed a landholder's position and it cannot succeed another type of civ-level position, and vice versa. &lt;br /&gt;
&lt;br /&gt;
This won't work even if the positions:&lt;br /&gt;
* are AS_NEEDED or having a fixed number.&lt;br /&gt;
* Are LAND_HOLDERs.&lt;br /&gt;
&lt;br /&gt;
===Succession [BY_HEIR]===&lt;br /&gt;
&lt;br /&gt;
When a heir is needed for succession, all children and then other relatives are validated. They cannot take the position if their status does not allow it, for example if they have become a member of another civilisation. See: &amp;quot;Who can take a position&amp;quot;. If the unit has no valid heir on that location, the position may go to a unit living on another site. This may cause the title of Landholder of some land to be inherited by a unit living somewhere else. That might be a problem, because then you lose your landholders.&lt;br /&gt;
&lt;br /&gt;
===Premature Succession===&lt;br /&gt;
&lt;br /&gt;
There are cases where [SUCCESSION:BY_POSITION] is applied prematurely: at the moment a position is first created and becomes appointable or assumable, rather than after a current holder leaves. In this situation, the succession mechanism assigns a holder immediately, without any player interaction.&lt;br /&gt;
&lt;br /&gt;
When a position becomes available for the first time, the game checks whether a valid successor-by-position exists. If so, that unit is assigned instantly. It can affect positions that would normally be appointed or elected by the player, causing succession to trigger before the player has any opportunity to intervene.&lt;br /&gt;
&lt;br /&gt;
This behavior occurs only in Fortress mode, but can be applied both on [SITE]-positions as well in civ-positions. That last one however is a bit harder to control. Example: [[Advanced entity position mechanics#The Archduke|The Archduke]]&lt;br /&gt;
&lt;br /&gt;
This premature succession only occurs the first time a position becomes available (i.e. when it is created and becomes appointable or assumable). Even if the position remains vacant and the conditions for succession improve later, premature succession will not trigger again. From that point onward, only normal succession rules apply.&lt;br /&gt;
&lt;br /&gt;
Using premature succession, a position that has [ELECTED], [APPOINTED_BY], or both, can be filled directly.&lt;br /&gt;
Notably, positions that combine [ELECTED] and [APPOINTED_BY] are normally impossible to fill through regular mechanics. Premature succession bypasses both election and appointment entirely, making this combination uniquely reachable through this mechanism.&lt;br /&gt;
&lt;br /&gt;
No initial election takes place, and no subsequent elections will ever occur for that position. Succession always takes precedence over election, both in premature succession and in normal succession cases.&lt;br /&gt;
&lt;br /&gt;
This behavior applies only in Fortress mode, not during world generation. World-gen uses simplified and more efficient mechanics, and this interaction does not occur there. Premature succession can affect both site-level and civilization-level positions.&lt;br /&gt;
&lt;br /&gt;
====Multiple succession chains====&lt;br /&gt;
&lt;br /&gt;
Multiple succession chains may be defined and are resolved in the order they appear in the raws.&lt;br /&gt;
&lt;br /&gt;
If a position has both:&lt;br /&gt;
* a direct succession chain (A → C), and&lt;br /&gt;
* a multi-step chain (A → B → C),&lt;br /&gt;
&lt;br /&gt;
and intermediate positions are vacant, resolution proceeds according to raw order. A common outcome is:&lt;br /&gt;
# The direct succession (A → C) is applied first, assigning A to C.&lt;br /&gt;
# The remaining chain then advances (A → B).&lt;br /&gt;
# If C still has empty slots, the final step (B → C) may occur.&lt;br /&gt;
&lt;br /&gt;
If position B is already filled, behavior depends entirely on raw definition order:&lt;br /&gt;
* nothing may happen, or&lt;br /&gt;
* B may move to C first, followed by A moving to B.&lt;br /&gt;
====Working triggers====&lt;br /&gt;
Premature succession is triggered when a succeedable position is created under the following conditions:&lt;br /&gt;
* The succeedable position is created because its [REQUIRES_POPULATION] threshold is reached. This applies even if the position is not [APPOINTED_BY]. Premature succession takes priority over automatic assumption (e.g. the mayor declaring themselves within a day).&lt;br /&gt;
* The succeedable position can be [APPOINTED_BY] another position of the same level (site or civ) that has just been created because its [REQUIRES_POPULATION] was reached.&lt;br /&gt;
* The succeedable position can be appointed by another [SITE] [AS_NEEDED] position that has just been created and filled.&lt;br /&gt;
* The succeedable (site or civ) position is [APPOINTED_BY] the [LAND_HOLDER] position, which has just been created due to site elevation. This typically resolves when the diplomat leaves the map, at which point the landholder position becomes active.&lt;br /&gt;
* If all other requirements are met, premature succession can occur immediately after unpausing following embark, for positions with [REQUIRES_POPULATION:7].&lt;br /&gt;
====Non-working triggers====&lt;br /&gt;
Premature succession does '''not''' occur in the following cases:&lt;br /&gt;
* An [AS_NEEDED] succeedable position slot is manually created by the player while its succeeding position is already filled. [AS_NEEDED] positions must always be appointed after creation.&lt;br /&gt;
* The succeeding position is filled after the succeedable position becomes available. The moment of creation is the decisive trigger; filling the source position later is too late.&lt;br /&gt;
* The succeedable position can be appointed by another site or civ position with a fixed number of slots that has just been appointed. In this case, the succeedable position is just available for appointment itself, nothing more&lt;br /&gt;
* Any situation occurring during world generation.&lt;br /&gt;
* The succeeding position is [REPLACED_BY] the succeedable position. In this case, replacement removes the unit from the source position first, leaving no holder available for the succession mechanism to use.rst, leaving no holder available for the succession mechanism to use.&lt;br /&gt;
* The position is [APPOINTED_BY] a civ-level position, that just became a citizen of your fortress. It must be noted that those civ-level positions were active all that time and the succeedable position could be appointed even before. The monarchs arrival does not trigger premature succession&lt;br /&gt;
&lt;br /&gt;
=Losing a position=&lt;br /&gt;
&lt;br /&gt;
A unit can lose a position when:&lt;br /&gt;
* It dies&lt;br /&gt;
* It succeeds another position, even if it has nothing to do with the previous position.&lt;br /&gt;
* It is assigned to another SQUAD-holding position&lt;br /&gt;
* It is convicted of a crime.&lt;br /&gt;
* Another unit is ELECTED for the position&lt;br /&gt;
* Its position becomes replaced&lt;br /&gt;
* Another unit is appointed by the player, or the position is left vacant. &lt;br /&gt;
* It has assumed another position, as this always leaves the previous position vacant.&lt;br /&gt;
&lt;br /&gt;
=Embarkment=&lt;br /&gt;
Two types of positions are automatically filled by embark. &lt;br /&gt;
* Positions without [APPOINTED_BY] or [ELECTED] (assumable). All these positions, even with a NUMBER higher than 1, are all filled with one to three dwarves. Contrary to assumption, this doesn't take into account any limitations. REJECTED_CLASS, ALLOWED_CLASS, REJECTED_CREATURE, ALLOWED_CREATURE and GENDER are applied, but without the normal spread you may expect with assumptions. Also it doesn't look at [SUCCESSION] and [SQUAD] limitations.&lt;br /&gt;
* Positions that are elected are filled-in by the normal election rules.&lt;br /&gt;
&lt;br /&gt;
Positions that have a defined appointer are never initially filled at embark.&lt;br /&gt;
&lt;br /&gt;
All positions that don't have [REQUIRES_POPULATION]  or with a [REQUIRES_POPULATION] of 7 or lower, will be available at embark.&lt;br /&gt;
&lt;br /&gt;
=Land Holders=&lt;br /&gt;
&lt;br /&gt;
A Landholder is a '''special civ-level noble''' who gets a certain piece of land to hold, when that land is elevated to a certain level, determined by the tag [LAND_HOLDER] and by the landholder triggers in the game's settings. In vanilla, these are the baron, the count and the duke. &lt;br /&gt;
&lt;br /&gt;
A unit gaining the landholder position does not migrate to that specific named land. In world-gen, they stay just where they are, probably at the capital. In fortress mode, you can suggest a citizen for the role. So for the time being that works.&lt;br /&gt;
&lt;br /&gt;
Succession is then a real issue. If you use BY_HEIR, its solved when that landholder has children living at your site. But when its not the case, the title just goes to anyone randomly. Succession BY_POSITION works, but only in the civ-chain, and there's no way to guarantee a civ-holder is at your site at that time. Even with 'automatic spread' positions, it goes to one of them randomly.&lt;br /&gt;
&lt;br /&gt;
==Functioning of the regular landholder chain==&lt;br /&gt;
&lt;br /&gt;
The distinct difference between a landholder and a regular civ-level noble, is that a landholder may gain the position of landholder &amp;quot;of (sitename)&amp;quot; They are then seen as ruler of a particular site. &lt;br /&gt;
&lt;br /&gt;
For a land_holder position to function as such, it has a few requirements:&lt;br /&gt;
* NUMBER:AS_NEEDED &lt;br /&gt;
* The first landholder-number of 1 is defined. &lt;br /&gt;
* No SITE (so civ) tag in that position.&lt;br /&gt;
*REPLACED_BY the next level landholder&lt;br /&gt;
If a landholder is defined with differentiating properties, it will function like a regular noble. A higher-up landholder that lacks the required tokens or connections will then not be used in elevation. &lt;br /&gt;
&lt;br /&gt;
If a fortress meets the trigger for a new LAND_HOLDER tier when a caravan leaves, then the next time the outpost liaison or equivalent arrives, they will offer to make you an official colony, which will allow you to select all positions for that LAND_HOLDER level. Each time they appear, the outpost liaison will only promote your fortress one tier up the LAND_HOLDER track. &lt;br /&gt;
&lt;br /&gt;
The landholder's LAND_NAME is not required for the functioning of this system. If omitted, messages will be shown with a more generic text.&lt;br /&gt;
&lt;br /&gt;
==Appointment==&lt;br /&gt;
&lt;br /&gt;
This mechanism differs from the regular methods of position management. It ignores all regular appointment- and election rules, so it more or less functions like automatic assignment. A landholder is, in vanilla, appointed by the monarch. Changing this doesn't seem to do anything. If they are appointed by a site-position, a not-yet-existing civ-position, or not appointed at all: the system keeps working as usual. &lt;br /&gt;
&lt;br /&gt;
A landholder can appoint civ-positions and site positions. This works as expected: the positions only are appointed then when that landholder becomes available on civ-level or when he arrives at that site for site-level positions. &lt;br /&gt;
&lt;br /&gt;
If your rank of landholder is the first of its rank in the realm, and is the sole appointer of some civ-position, then immediately as it gains the title, it will appoint the empty civ-slots. This may happen on your site, but the frequency and certainty is hard to determine.&lt;br /&gt;
&lt;br /&gt;
==Succession==&lt;br /&gt;
&lt;br /&gt;
Succession rules are applied to some extent:&lt;br /&gt;
* In world-gen it works according to succession rules, and site-positions can be used here.  This means that a site position or a civ-position can inherit a landholder position, and vice versa.&lt;br /&gt;
* In fortress mode, once a landholder has been appointed, it then can inherit civ-level positions, and vice versa. This means that your baron can become king. &lt;br /&gt;
* Succession rules do not apply within the [LAND_HOLDER] chain; a count will not inherit a baron's land. This is because succession does not work well with the AS_NEEDED token.&lt;br /&gt;
* Premature succession works in fortress mode with landholders. If a unit gets a landholder's position and that landholder is the appointer of an as yet empty position, which is defined as succeeding from a third one, then the succession is immediately applied. The landholder themselves can even be the successor of a newly created position.&lt;br /&gt;
* A landholder's position is, in fortress mode, not successionable by a site-position or vice versa&lt;br /&gt;
&lt;br /&gt;
===Impossibilities for succession by a site-position===&lt;br /&gt;
It would be very beneficial if the landholder can be succeeded by a [SITE]-position. So far, the following tests have not lead to positive results:&lt;br /&gt;
* making landholder and site-position both non-[DUTY_BOUND]&lt;br /&gt;
* make the site-position be [APPOINTED_BY] the landholder and/or the monarch&lt;br /&gt;
* give landholder and site-position [REJECTED_CREATURE]&lt;br /&gt;
* Let the monarch live at your site when succession could happen.&lt;br /&gt;
* Let the site-position be [REPLACED_BY] the landholder.&lt;br /&gt;
&lt;br /&gt;
==Nomination==&lt;br /&gt;
&lt;br /&gt;
The player is able to nominate a unit to become the LAND_HOLDER, but this only works with units of [LAND_HOLDER] level 1. The player can select all units, only limited by the PRECEDENCE of the current units' positions.&lt;br /&gt;
&lt;br /&gt;
A unit that has a position with a PRECEDENCE lower or equal to that of the landholder's position, cannot be selected. This means that a baron (or count) from another site or the monarch cannot be selected, because their precedence is lower or equal. &lt;br /&gt;
&lt;br /&gt;
The GENDER  token does not work here: also units with the wrong gender (sorry) can be selected.&lt;br /&gt;
&lt;br /&gt;
==Levels==&lt;br /&gt;
In mods, up to 10 levels of LAND_HOLDER may be defined. &lt;br /&gt;
&lt;br /&gt;
If a landholder is replaced by a wrong landholder number (1 replaced by 3), then the number 3 is still correctly attached to the settlement. &lt;br /&gt;
&lt;br /&gt;
If the current landholder has the highest available landholder number, then the next elevation will not happen - the diplomat will not elevate your fortress to a higher position, even if that position might be REPLACED_BY a lower landholder. &lt;br /&gt;
&lt;br /&gt;
These chains do work:&lt;br /&gt;
* 1 -&amp;gt; 2a - &amp;gt; 2b -&amp;gt; 3&lt;br /&gt;
* 1 -&amp;gt; 3 -&amp;gt; 2 -&amp;gt; 4&lt;br /&gt;
&lt;br /&gt;
These chains do not work:&lt;br /&gt;
* 2 -&amp;gt; 3 (need to start at 1)&lt;br /&gt;
* 1 -&amp;gt; 4 -&amp;gt; 2 -&amp;gt; 3 (stops after 4 as the highest)&lt;br /&gt;
* 1a -&amp;gt; 2, 1b -&amp;gt; 2 (only 1a and 2 work, 1b is not used)&lt;br /&gt;
&lt;br /&gt;
==Moving landholders==&lt;br /&gt;
&lt;br /&gt;
It may happen that a land-holder no longer lives at the site which they are the landholder of, specifically when the current landholder dies, leaving the title to an heir living somewhere else. &lt;br /&gt;
&lt;br /&gt;
To prevent this from happening, you can make their succession from heir and make sure that their kids live at your site. Or, you can make their position succeeded by another civ position, and make it so that this civ position is somehow available on your site. But if multiple of these positions exist, it cannot be guaranteed that a citizen of your fortress will inherit the title. &lt;br /&gt;
&lt;br /&gt;
In world gen, a landholder lacking the DUTY_BOUND-token will also move to the site they like, according to legends mode.&lt;br /&gt;
&lt;br /&gt;
==Replacement by a generic civ-position==&lt;br /&gt;
&lt;br /&gt;
If a landholder is replaced by an AS_NEEDED non-landholder civ-position, then this will work: the current landholder loses that title upon settlement-elevation and gains that civ-title. However, the civ-title lacks the landholder-property of being attached to the land. It will not show the name of the settlement alongside the position's name. So no &amp;quot;minister of Shovelmounts&amp;quot;&lt;br /&gt;
&lt;br /&gt;
If a landholder is replaced by a general AS_NEEDED civ-position, that itself is also replaced by a generic AS_NEEDED civ-position, then firstly the elevation is executed and also the unit gains that new position. However, he immediately loses it, because an AS_NEEDED position that is replaced by another position can be filled initially, but units wont be able to hold that title.&lt;br /&gt;
&lt;br /&gt;
==Landholder with fixed number==&lt;br /&gt;
&lt;br /&gt;
A landholder's position that has a fixed number will be created and filled directly when the civilisation is born, so this position slot is then not available for the regular landholder-mechanic and will also not be used. That landholder will thus not be attached to a settlement. &lt;br /&gt;
&lt;br /&gt;
It doesn't matter if the landholder's position is connected to the regular landholder's-chain with the REPLACE_BY token.&lt;br /&gt;
&lt;br /&gt;
==Responsibilities==&lt;br /&gt;
&lt;br /&gt;
When given a certain [RESPONSIBILITY], a landholder may function as a regular civ-level noble. If the position has [TRADE] or [OUTPOST_NEGOTIATING] responsibilities, then the landholder functions both as a diplomat and as an actual land holder. A landholder with the [MILITARY_STRATEGY]  responsibility will travel around taming creatures in world-gen, according to legends mode. &lt;br /&gt;
&lt;br /&gt;
Besides that, the responsibilities work the same as with any other on-site living position-holder, civ or otherwise.&lt;br /&gt;
&lt;br /&gt;
=Military=&lt;br /&gt;
==Squad management==&lt;br /&gt;
In the vanilla game, the Squad interface only becomes available after a militia commander has been appointed. Until then, the window displays:{{DFtext|You must appoint somebody first to create a squad.}}&lt;br /&gt;
&lt;br /&gt;
What’s surprising is how this is determined internally. In the entity raw definition, '''only the last two positions that include a [SQUAD] token are checked''' to decide whether the interface is accessible at all. As a result, if your hierarchy defines commanders A through E, appointing '''Commander D or E''' unlocks squad formation, while appointing A–C does nothing.&lt;br /&gt;
&lt;br /&gt;
In other words, squad availability is not tied to ''having a militia commander'', but to ''which specific positions happen to be last in the raw list''—a notably hacky implementation.&lt;br /&gt;
&lt;br /&gt;
These 'last two' are always the last two '''available positions.''' So if they get [REPLACED_BY] or become available because of [REQUIRES_POPULATION], the game adapts to those.&lt;br /&gt;
&lt;br /&gt;
==Squad assignment==&lt;br /&gt;
&lt;br /&gt;
Squads can be assigned, even if the leader position has no holder.&lt;br /&gt;
&lt;br /&gt;
A specific unit can only have one position associated with a squad. If it gains another 'squad holding position', it is unassigned from the first one. This does not work with a 0-squad, so only 1+squads are taken into consideration. This technique can possibly be used to distribute all positions equally among all citizens. It does however not work with election and assumption. &lt;br /&gt;
&lt;br /&gt;
If a civ-level position is associated with a squad and it gets a site-level squad-holding position assigned, it loses the current civ-position. &lt;br /&gt;
&lt;br /&gt;
Squads can get really messed up, if you make the position (or multiple) either elected or not-elected and not-appointed, then this can cause the game to assign multiple squads to the same unit. Automatic assignment and election does not take squads into account, but the nobles screen does. This can cause the positions to be cleared as the game figures out that they have more than one position, and immediately get elected or assumed again. &lt;br /&gt;
&lt;br /&gt;
Positions that cannot have a squad-position:&lt;br /&gt;
* A site- or civ-position with a [SUCCESSION] token cannot be appointed a squad-holding-position. The other way around, however, does work. For example, if a site-position with a [SUCCESSION]-token is appointed to a unit that has already a position with [SQUAD]. But when that squad position is assigned to another unit, it cannot be assigned back. &lt;br /&gt;
* A position with [SUCCESSION] can also not be assigned as a '''member''' of a squad.&lt;br /&gt;
* A squad-holding position with a formed squad cannot be appointed to another squad holding position.&lt;br /&gt;
&lt;br /&gt;
If a position has at least one squad member, it cannot be left vacant. First, the squad has to be disbanded, then the position may be cleared.&lt;br /&gt;
&lt;br /&gt;
==0-squads==&lt;br /&gt;
A 0-Squad is defined in a position as [SQUAD:0:member:members]. It does not seem to do anything useful as of now.&lt;br /&gt;
* It cannot be used to activate the [[Squad|military interface]]&lt;br /&gt;
* It does not restrict the assignment of [SUCCESSION] positions.&lt;br /&gt;
* Assigning this position does not clear any previously held squad position.&lt;br /&gt;
* The [[Leader]] and [[Tactician]] skill are not marked as relevant skills and are not taken into account in elections.&lt;br /&gt;
* It cannot be formed as a squad.&lt;br /&gt;
&lt;br /&gt;
=Further testing=&lt;br /&gt;
The following questions may need additional testing. Feel free to add or answer&lt;br /&gt;
* Everything regarding COMMANDING and army-structure&lt;br /&gt;
** [http://www.bay12forums.com/smf/index.php?topic=175437.msg8331668#msg8331668]&lt;br /&gt;
** [http://www.bay12forums.com/smf/index.php?topic=165213.msg8335682#msg8335682]&lt;br /&gt;
** [http://www.bay12forums.com/smf/index.php?topic=174584.msg8026854#msg8026854]&lt;br /&gt;
* Everything regarding CONQUERED_SITE, but it is presumably just like site. But what if you combine SITE or LAND_HOLDER with it?&lt;br /&gt;
* Stuff about the monarch, its arrival and its entourage.&lt;br /&gt;
&lt;br /&gt;
=Oddities (Bugs)=&lt;br /&gt;
Almost everything on this page could be called an oddity. Because of their unexpected usability, some may also be referred to as “undocumented features.” Others, however, are simply odd and not particularly useful, yet I hesitate to call them “bugs.”&lt;br /&gt;
* If a certain threshold is reached that makes an elected position electable, and the triggering event that initiates this evaluation is an assumption, then the resulting assumption is also referred to in the messages as an election&lt;br /&gt;
&lt;br /&gt;
=Examples=&lt;br /&gt;
&lt;br /&gt;
===The Founder===&lt;br /&gt;
The founder is a single dwarf, appointed at embark. They will be the only one ever to have this position and are not replaceable. When they lose their position some way, the position will not be assumed by another dwarf. &lt;br /&gt;
{{gamedata|title=The Founder|&lt;br /&gt;
[POSITION:THE_FOUNDER]&lt;br /&gt;
	[NAME:the founder:founders]&lt;br /&gt;
	[NUMBER:1] &lt;br /&gt;
	[SITE]&lt;br /&gt;
	[ALLOWED_CREATURE:DWARF:ALL]		- will only be filled at embark, but not assumable later.&lt;br /&gt;
	[REJECTED_CREATURE:DWARF:ALL]		- will only be filled at embark, but not assumable later.&lt;br /&gt;
	[SUCCESSION:BY_POSITION:THE_FOUNDER]	- not unassignable, also cannot be assigned to a [SQUAD] position.&lt;br /&gt;
	[PRECEDENCE:200] &lt;br /&gt;
	Non APPOINTED_BY&lt;br /&gt;
	Non ELECTED&lt;br /&gt;
	Optional: Add responsibilities to make the game select a unit with certain skills.&lt;br /&gt;
}}&lt;br /&gt;
===Marriage bar===&lt;br /&gt;
Dwarven matrons are held in great honour. Upon marriage, a female dwarf is no longer expected to perform menial labour. All dwarven males hold this position by default, granting their spouses exemption from menial work.&lt;br /&gt;
&lt;br /&gt;
The position becomes available with the arrival of the first migrants; otherwise, on embark, it would be assumed by females. Its succession rule is non-functional, but this prevents the player from unassigning the position. A squad size of 1 and the succession rules together prevent a unit from assuming the position more than once.&lt;br /&gt;
&lt;br /&gt;
With precedence set to NONE, the position name is hidden, while LAND_NAME remains visible on the nobles screen. All married females receive the suffix “, Mrs.” and are marked as Nobles.&lt;br /&gt;
&lt;br /&gt;
The practical usefulness of this position is debatable, but it serves as a clear demonstration of several mechanics.&lt;br /&gt;
{{gamedata|title=Mrs. Urist|&lt;br /&gt;
 &lt;br /&gt;
[POSITION:MRS_URIST]	&lt;br /&gt;
	[NUMBER:300]						&lt;br /&gt;
	[SITE]						&lt;br /&gt;
	[ALLOWED_CREATURE:DWARF:MALE]	&lt;br /&gt;
	Not APPOINTED_BY				&lt;br /&gt;
	Not ELECTED&lt;br /&gt;
	[LAND_NAME:Dwarven male]				&lt;br /&gt;
	[NAME:dwarven male:dwarven male]&lt;br /&gt;
	[PRECEDENCE:NONE]					&lt;br /&gt;
	[SPOUSE_FEMALE:, Mrs.:spouses]&lt;br /&gt;
	[MENIAL_WORK_EXEMPTION_SPOUSE]&lt;br /&gt;
	[REQUIRES_POPULATION:8]			&lt;br /&gt;
	[SUCCESSION:BY_POSITION:MONARCH]&lt;br /&gt;
	[SQUAD:1:member:members]&lt;br /&gt;
}}&lt;br /&gt;
===The Archduke===&lt;br /&gt;
The archduke is the leader of the civilization, but exists only from landholder 4-level. Until then, its position remains vacant. When a settlement is elevated to tier 4 (grand duke), the grand duke can appoint the ruler of the civilisation, the archduke. Because of 'Premature Succession', they themself inherents that position immediately, but only when in fortress mode. Its heir then becomes grand duke.&lt;br /&gt;
{{gamedata|title=The Archduke| no POSITION:MONARCH&lt;br /&gt;
&lt;br /&gt;
[POSITION:THE_ARCHDUKE]&lt;br /&gt;
	[NAME:archduke:archdukes]&lt;br /&gt;
	[NAME_MALE:archduke:archdukes]&lt;br /&gt;
	[NAME_FEMALE:archduchess:archduchesses]&lt;br /&gt;
	[LAND_NAME:a archduchy]&lt;br /&gt;
	[NUMBER:1] &lt;br /&gt;
	[PRECEDENCE:1] &lt;br /&gt;
	[SUCCESSION:BY_POSITION:GRAND_DUKE]	&lt;br /&gt;
	[APPOINTED_BY:GRAND_DUKE]&lt;br /&gt;
	(add additional monarch-stuff, like spouse name, demands etc.)&lt;br /&gt;
	&lt;br /&gt;
[POSITION:GRAND_DUKE]&lt;br /&gt;
	[NAME:grand duke:grand dukes]&lt;br /&gt;
	[NAME_MALE:grand duke:grand dukes]&lt;br /&gt;
	[NAME_FEMALE:grand duchess:grand duchesses]&lt;br /&gt;
	[NUMBER:AS_NEEDED] &lt;br /&gt;
	[LAND_HOLDER:4]&lt;br /&gt;
	// Optional ...&lt;br /&gt;
	[PRECEDENCE:19]	&lt;br /&gt;
	[LAND_NAME:a archduchy] &lt;br /&gt;
	[RESPONSIBILITY:LAW_MAKING]&lt;br /&gt;
	[RESPONSIBILITY:RECEIVE_DIPLOMATS]&lt;br /&gt;
	[SUCCESSION:BY_HEIR]&lt;br /&gt;
	[APPOINTED_BY:THE_ARCHDUKE]&lt;br /&gt;
	(add additional landholder-stuff)&lt;br /&gt;
&lt;br /&gt;
!!add to [POSITION:DUKE]&lt;br /&gt;
	[REPLACED_BY:GRAND_DUKE]&lt;br /&gt;
&lt;br /&gt;
}}&lt;br /&gt;
{{Category|Modding}}&lt;br /&gt;
{{Category|Entities}}&lt;br /&gt;
{{Category|Guides}}&lt;/div&gt;</summary>
		<author><name>Joostheger</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=Advanced_entity_position_mechanics&amp;diff=314870</id>
		<title>Advanced entity position mechanics</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=Advanced_entity_position_mechanics&amp;diff=314870"/>
		<updated>2026-02-10T10:35:57Z</updated>

		<summary type="html">&lt;p&gt;Joostheger: /* Premature Succession */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Quality|Fine}}&lt;br /&gt;
{{Modding}}&lt;br /&gt;
&lt;br /&gt;
= Introduction = &lt;br /&gt;
&lt;br /&gt;
[http://www.bay12forums.com/smf/index.php?topic=182239.0 Discussion thread on the forum]&lt;br /&gt;
&lt;br /&gt;
This page documents observed and tested behavior of entity positions in Dwarf Fortress that is not fully described elsewhere on the wiki. It focuses on advanced interactions between position tokens, including appointment, succession, election, and responsibility handling, across both civilization-level and site-level entities.&lt;br /&gt;
&lt;br /&gt;
The mechanics described here are based on empirical testing in world generation and fortress mode, supplemented where necessary by raw analysis. In several cases, the game’s behavior is determined by evaluation order and interaction between multiple tags, rather than by individual tokens in isolation.&lt;br /&gt;
&lt;br /&gt;
This page is intended for modders and advanced players who are designing or debugging custom entity position structures. It does not restate basic position mechanics, but instead highlights edge cases, non-obvious interactions, and behaviors that may appear inconsistent or undocumented.&lt;br /&gt;
&lt;br /&gt;
Unless stated otherwise, the described behavior applies to current versions of the game and may differ from older releases.&lt;br /&gt;
&lt;br /&gt;
==What is an entity? What is a position?==&lt;br /&gt;
An [[entity]] is an organizational structure that can have relationships with other entities, usually known as a [[civilization]] or a &amp;quot;[[site]] government&amp;quot; in the game, but merchant [[guild]]s, religious organizations, necromancer towers, and [[bandit]] groups are also entities. An entity can have positions - in most cases, these are hardcoded and generated by the game, but as for civilizations and sites, the [[raw file]]s can be customised.&lt;br /&gt;
&lt;br /&gt;
A position is a special relationship between a unit and an entity. The unit holding a position has a larger influence over that entity than other citizens. Positions are mostly known as [[nobles]], but in this article. the technical term is used.&lt;br /&gt;
&lt;br /&gt;
=Position levels (Site/Civ) and their interaction=&lt;br /&gt;
There are two basic types of positions that are customizable: '''civ(ilization)''' level and '''site level'''. Positions with the tag [SITE] are at site level, positions without the tag [SITE] are at 'civ level'. These two types of nobles can be considered '''loosely related systems'''. There are a few places where they can interact with each other.&lt;br /&gt;
&lt;br /&gt;
Civ-level positions are in charge of the civilization as a whole, managing national [[trade]], laws, and [[war]]s. These are, for example, the vanilla [[monarch]], [[diplomat]] and [[general]]. (Note that the general doesn't do anything in either mode in the current version.)&lt;br /&gt;
&lt;br /&gt;
'''[LAND_HOLDER]''' nobles are also positions at civ-level. These units are members of the national government, but have gained authority over some land or site. Once they do, they move to that place, but their position is still regarded as a civ-level position.&lt;br /&gt;
&lt;br /&gt;
Site-level position holders are members of a site government (subsidiary to the civilization), and manage local affairs in that location. These are, for example, the [[mayor]], the [[sheriff]] and the [[broker]].&lt;br /&gt;
&lt;br /&gt;
==Table of interaction between different position levels==&lt;br /&gt;
In this table, the possible interactions between different position levels are summarized. &lt;br /&gt;
The header row shows the positions defining the tokens.&lt;br /&gt;
&lt;br /&gt;
The left column shows the position type that is referred to.&lt;br /&gt;
Example:  &lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! referred position-type&lt;br /&gt;
! LAND_HOLDER&lt;br /&gt;
|-&lt;br /&gt;
| civilization&lt;br /&gt;
|  &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;(baron is) APPOINTED_BY:MONARCH&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
color coding: &amp;lt;/br&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;Exists in vanilla&amp;lt;/span&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;Possible with mods&amp;lt;/span&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;Not possible&amp;lt;/span&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;possible to some extent.&amp;lt;/span&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;not yet fully investigated.&amp;lt;/span&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! referred position-type&lt;br /&gt;
! Civilization&lt;br /&gt;
! SITE&lt;br /&gt;
! LAND_HOLDER&lt;br /&gt;
! CONQUERED_SITE&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Civilization&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;SUCCESSION '''(1)'''&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| SITE&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;SUCCESSION '''(2)'''&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;APPOINTED_BY '''(3)'''&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;SUCCESSION '''(4)'''&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| LAND_HOLDER&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY '''(6)'''&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;SUCCESSION '''(5)'''&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;REPLACED_BY '''(7)'''&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;SUCCESSION '''(8)'''&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;CONQUERED_SITE&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; COMMANDER &amp;lt;/br&amp;gt; REPLACED_BY &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt; SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;APPOINTED_BY &amp;lt;/br&amp;gt; COMMANDER &amp;lt;/br&amp;gt; REPLACED_BY &amp;lt;/br&amp;gt; SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;APPOINTED_BY &amp;lt;/br&amp;gt; COMMANDER &amp;lt;/br&amp;gt; REPLACED_BY &amp;lt;/br&amp;gt; SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;APPOINTED_BY &amp;lt;/br&amp;gt; COMMANDER &amp;lt;/br&amp;gt; REPLACED_BY &amp;lt;/br&amp;gt; SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Remarks:&lt;br /&gt;
# Works only in world-gen, if a unit with that civ-position is present at the site.&lt;br /&gt;
# Works only in world-gen, the site-position holding unit will then move to the capital.&lt;br /&gt;
# Is completely ignored&lt;br /&gt;
# Works only in world-gen.&lt;br /&gt;
# Works only in world-gen.&lt;br /&gt;
# Won't appear at all&lt;br /&gt;
# This is necessary for the landholder chain to work properly, it doesn’t work otherwise.&lt;br /&gt;
# This works only outside of the landholder chain, so when landholders are simply regarded as civ-level nobles. might also work in world-gen&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
== Other interactions ==&lt;br /&gt;
&lt;br /&gt;
Unfortunately, interactions with positions of other entities don't seem possible, such as APPOINTED_BY: HIGH_PRIEST. With [VARIABLE_POSITIONS], positions are automatically created with codes like CUSTOM_LAW_MAKER_2, but interaction with these positions don't seem to work, either. For more info on those, see [[Variable positions]]&lt;br /&gt;
&lt;br /&gt;
=General=&lt;br /&gt;
&lt;br /&gt;
==Civ-level nobles living at your site==&lt;br /&gt;
Nobles from your civilization can come to live at your fortress. This happens in vanilla with landholders such as [[Baron]], [[Count]] and [[Duke]], with the Monarch, but sometimes also with non-landed LAND_HOLDERS.&lt;br /&gt;
&lt;br /&gt;
When a civ-level noble becomes a [[citizen]] at your location, their position is shown among the site-level positions in your [[nobles screen]]. They appear to function as a site-level noble. They may have [[demand]]s, [[mandate]]s, [[squad]]s and the like. They can appoint nobles at the site-level.&lt;br /&gt;
&lt;br /&gt;
If they have certain [RESPONSIBILITY]ies, they do the tasks that go with them.&lt;br /&gt;
&lt;br /&gt;
==Fortress mode, world-gen and their differences==&lt;br /&gt;
Their are a few differences in how positions function between fortress mode (normal play mode) and the world generation (world-gen). &lt;br /&gt;
&lt;br /&gt;
In '''fortress mode''', the player has some control over the appointment of nobles, limited by elections, automatic filled-in positions and succession rules. Pre-fortress mode, which is referred to as '''world-gen''', the game will always attempt to assign nobles whenever possible. It is subjected to the same rules as in fortress-mode, but there are some exceptions. In '''[[World activities]]''', which is the thing that happens in the world while you play fortress mode, it seems as if the same rules are applied as fortress mode. &lt;br /&gt;
&lt;br /&gt;
A difference between player-fortress-mode and world-gen, is causes by visibility (see below). Positions that are not visible by the player and thus not available for assignment, will be available in world-gen and will thus be automatically assigned.&lt;br /&gt;
&lt;br /&gt;
In fortress mode, a position that is both [ELECTED] and [APPOINTED_BY], cannot be appointed by the player and is also not elected, and can thus not be filled. But in world-gen sites however, these positions are automatically filled.&lt;br /&gt;
&lt;br /&gt;
Positions with [AS_NEEDED] are almost never created and filled in world-gen (depending on their [RESPONSIBILITY]ies), but can always be used in player mode.&lt;br /&gt;
&lt;br /&gt;
A position can, in fortress mode, be filled by the same unit. A unit can gain multiple positions in fortress mode, for example because of [[elections]]. This will not happen in world-gen mode: a unit can only have one position. See also remarks on 'embark' and 'Losing a position'.&lt;br /&gt;
&lt;br /&gt;
In world-gen, [SUCCESSION] between civ-levels and [SITE-]levels may happen. This will not happen in fortress mode, or even off-site in [[World activities]].&lt;br /&gt;
&lt;br /&gt;
In fortress mode, premature SUCCESSION may happen. This will not happen in world-gen mode.&lt;br /&gt;
&lt;br /&gt;
==Units holding multiple positions in multiple entities==&lt;br /&gt;
A unit can hold multiple positions in its civilisation or in its site-entity, however this does not happen in world-gen. Only at player-managed sites can units be holding multiple positions at once. (It is probably not possible for a unit to hold a position in two different civilisations or two different sites.)&lt;br /&gt;
&lt;br /&gt;
In world-gen, if there are too many positions to be filled, they simply stay empty until more units are available. E.G, a unit at a site might inherit a civ-level position and still remain a member of the local government. When this happens however, they move to the capital. If a unit gains a new position, either inherited or otherwise, it drops the previous one. If a unit assumes a civ-position in fortress mode, it leaves the current position. &lt;br /&gt;
&lt;br /&gt;
If a unit holds the same (site-)position multiple times, it has no additional effect.&lt;br /&gt;
&lt;br /&gt;
If a unit holds multiple different positions of the same entity, it has all those positions' responsibilities and properties, stacked up. Presumably, the demands for those combined positions are determined by the highest.&lt;br /&gt;
 &lt;br /&gt;
A unit holding a position with a succession token can be assigned another position with a (different) succession token. &lt;br /&gt;
&lt;br /&gt;
A unit holding a position with a squad-position cannot hold another squad-position. It is dropped from the first, when it gets its second assigned. &lt;br /&gt;
A unit holding a position with a succession token cannot be assigned to a squad-position - the unit is simply not available. It works the other way around, though.&lt;br /&gt;
&lt;br /&gt;
=[PRECEDENCE]=&lt;br /&gt;
The first defined position with precedence of 1 counts as the ruler of the civ. See also: [[Position_token#PRECEDENCE|PRECEDENCE]]. &lt;br /&gt;
&lt;br /&gt;
If the precedence is omitted or has a negative value, the game sets 0 as precedence, which seems to have no effect whatsoever.&lt;br /&gt;
&lt;br /&gt;
When a unit has multiple positions, the name of the position with the highest rank in precedence is shown behind the unit's name.&lt;br /&gt;
&lt;br /&gt;
If you omit precedence entirely, or set it to [PRECEDENCE:NONE], the position name will not be shown after the unit’s name. Your *Urist Mason* will remain simply *Mason*. This can be useful for positions that are unimportant or purely functional. The position will also not appear in the civilisation overview of your site on the world map. The position name is shown in messages, but remains hidden on the nobles screen as well. To make it visible there, use [LAND_NAME].&lt;br /&gt;
&lt;br /&gt;
=[RESPONSIBILITY]ies=&lt;br /&gt;
Both civ and [SITE] positions can carry responsibilities. However, not all responsibilities are active for both types: some function only for civ positions, others only for site positions. When a civ noble arrives at a site and takes up residence, they do not perform responsibilities that are intended for SITE nobles. As a result, these responsibilities neither trigger their associated tasks nor unlock related game mechanics. For example, a civ-level manager living in a fortress will not perform management duties there and doesn't unlock the management-screen, even with an assigned office. &lt;br /&gt;
This behavior applies to the following [SITE]-level responsibilities:&lt;br /&gt;
* [RESPONSIBILITY:ACCOUNTING]&lt;br /&gt;
* [RESPONSIBILITY:BUILD_MORALE]&lt;br /&gt;
* [RESPONSIBILITY:HEALTH_MANAGEMENT]&lt;br /&gt;
* [RESPONSIBILITY:LAW_ENFORCEMENT]&lt;br /&gt;
* [RESPONSIBILITY:MANAGE_PRODUCTION]&lt;br /&gt;
* [RESPONSIBILITY:MEET_WORKERS]&lt;br /&gt;
* [RESPONSIBILITY:TRADE]  (functions differently)&lt;br /&gt;
Other responsibilities may be affected as well, but have not yet been fully tested.&lt;br /&gt;
&lt;br /&gt;
==[DELIVERS_MESSAGES]==&lt;br /&gt;
The only [AS_NEEDED]-position that is created in worldgen based on responsibility is that of the site-level responsibility [DELIVERS_MESSAGES].&lt;br /&gt;
&lt;br /&gt;
==Outpost Liaisons and Diplomats==&lt;br /&gt;
Civ-positions with the responsibility [ESTABLISH_COLONY_TRADE_AGREEMENTS] ([[Outpost_Liaison|Outpost Liaison]]s) will meet with the site-noble who has responsibility for [RECEIVE_DIPLOMATS] and the highest rank of precedence (i.e. the lowest precedence value). Usually this is the [[Expedition_leader|Expedition leader]].&lt;br /&gt;
&lt;br /&gt;
Once a [LAND_HOLDER] is assigned to the site, civ-positions with the responsibility [MAKE_TOPIC_AGREEMENTS] ([[Diplomat]]s) will meet with '''civ'''-level nobles present at the site who have the [RECEIVE_DIPLOMATS] responsibility. If multiple eligible nobles are available, one is selected at random. If no eligible noble is present, the diplomat leaves angrily. If the landholder is no longer present at the site, diplomats will not arrive at all.&lt;br /&gt;
&lt;br /&gt;
It appears that Outpost Liaisons and Diplomats are chosen for a diplomatic mission based on availability. When multiple candidates exist, the position defined last in the raws is most often selected.&lt;br /&gt;
&lt;br /&gt;
==[TRADE]==&lt;br /&gt;
Civ-level nobles with [TRADE] will arrive with the caravan, just as the Outpost Liaison. Their behavior is no longer active in the vanilla game, but the mechanics are still present. See [[40d:Guild_representative|Guild representative]] for more details. This civ-noble will only meet with the SITE noble with [TRADE], usually the [[Broker]].&lt;br /&gt;
&lt;br /&gt;
If two civ-nobles exist with both [TRADE] and [ESTABLISH_COLONY_TRADE_AGREEMENTS], they both arrive at the same time. Even if both tokens are assigned to a single position, if more than one instance of that position exists, two of them will arrive. However in that case, somehow the elevation of the site and appointment of landholder isn't offered.&lt;br /&gt;
&lt;br /&gt;
If the SITE-noble they intend to meet has both [TRADE] and [RECEIVE_DIPLOMATS], only one meeting will proceed and the other is cancelled. However, when two SITE-nobles are available, each with either [TRADE] or [RECEIVE_DIPLOMATS], both meetings will proceed and both civ-nobles will attempt to negotiate a trade agreement. It is not known what happens if these agreements are accepted or refused.&lt;br /&gt;
&lt;br /&gt;
In the trade depot, the last defined position with the [TRADE] responsibility is shown as broker. However when requesting a trader, the first defined position with [TRADE] will actually go there to do the trade.&lt;br /&gt;
&lt;br /&gt;
==World-gen effects of the [RESPONSIBILITY] of available positions ==&lt;br /&gt;
It is possible to cause civs and individual sites to change their behavior substantially when they reach a certain size, by controlling nobles. &lt;br /&gt;
* If a site can only appoint a position with [MILITARY_GOALS] after reaching a particular size, that site will not send armies on missions until the required size is reached.&lt;br /&gt;
* A civ-level [LAW_MAKING] position is required for the civilization to have any kind of cohesion. Without it, sites will be constantly embroiled in territorial disputes and civil wars will be commonplace.&lt;br /&gt;
* [MILITARY_STRATEGY] positions go out and tame wild animals. This makes your civ gain those animals as domesticated and also brings them in sieges.&lt;br /&gt;
* The [[Personality_facet|Personality]] of the position's holder determines how they lead the civ.&lt;br /&gt;
&lt;br /&gt;
=Availability and visibility=&lt;br /&gt;
==Availability of (new) positions==&lt;br /&gt;
Warning: Do not mistake &amp;quot;availability&amp;quot; for &amp;quot;visibility&amp;quot;! &lt;br /&gt;
&lt;br /&gt;
Of all the possible positions existing in your site's entity, there may only be some available. &lt;br /&gt;
* Positions with [REQUIRES_POPULATION] require the population to have a specific size.&lt;br /&gt;
* Positions with [REQUIRES_MARKET] will only appear in &amp;quot;large&amp;quot; sites (which may have different rules for different site types). This tag has no effect in fort mode.&lt;br /&gt;
* Positions that are appointed by positions that have an AS_NEEDED number. The appointable positions only become available after an appointer position-slot is created. This works also on civ-level. If a position is appointed by a Land-holder, it only becomes available, when that level of landholder is created. &lt;br /&gt;
	&lt;br /&gt;
Only the replaced positions are culled and are no longer available. &lt;br /&gt;
A position that requires a certain population will become available, even if it doesn't have [APPOINTED_BY] or [ELECTED]. In that case, see 'automatic assignment' and 'assumption'&lt;br /&gt;
&lt;br /&gt;
In fortress mode, in some cases 'succession' is evaluated immediately after a position becomes available. See: Succession.&lt;br /&gt;
==Visibility of positions==&lt;br /&gt;
A position might be available, but can still be invisible for the player in the [[nobles screen]]. The positions with their respective holders are visible for players:&lt;br /&gt;
* All site-positions that are already filled-in (even if they could not be re-filled-in considering current conditions)&lt;br /&gt;
* Site positions that are appointable by a filled-in site position&lt;br /&gt;
* Site positions that are appointable by a filled-in civ position, when that civ positions holder becomes a citizen of your fortress.&lt;br /&gt;
* Civ positions of units that are also a citizen of your fortress.&lt;br /&gt;
If a position becomes available, for example because a certain pop number has been reached, or if it is available from the start(like expedition leader), as long as it cannot be appointed, it still is INVISIBLE for the player. &lt;br /&gt;
&lt;br /&gt;
It might strike someone as odd if a position becomes filled automatically in fortress mode when that position is not even visible. This might be the case if the current holder of a non-appointable position dies or succeeds another position. Regardless of player visibility, these positions will be automatically filled in if the necessary requisitions are met. It might happen with the expedition leader.&lt;br /&gt;
&lt;br /&gt;
A situation with a non-visible but available position, is for example when a position is solely appointed by the expedition leader, when the expedition leader's position is left vacant. It can no longer be appointed by the player and is invisible. Then, it gets automatically assumed, proving that the position still was available.&lt;br /&gt;
&lt;br /&gt;
A position that is both [APPOINTED_BY] and [ELECTED] is visible, but players cannot interact with it.&lt;br /&gt;
&lt;br /&gt;
=[NUMBER]=&lt;br /&gt;
A position might be defined with a number. In that case, as many as defined can be available. If the positions become available, in world-gen and when embarking, they are all filled-in completely.&lt;br /&gt;
&lt;br /&gt;
If the ruling position (with PRECEDENCE of 1) has a NUMBER higher than 1, a random unit of the ones holding these positions is shown as ruler in the embark screen.&lt;br /&gt;
&lt;br /&gt;
A [NUMBER] of 0 (zero) has the same effect as 1.&lt;br /&gt;
&lt;br /&gt;
==Automatic spreading of assumed, non-singular positions==&lt;br /&gt;
If there are civ positions that have a NUMBER higher then '1' and which are assumed (not APPOINTED_BY or ELECTED) but are '''not DUTY_BOUND''', these are automatically spread among the civilisation, based on population. If there are a number of '''20''' available slots of that position, they spread among a civilization with a combined population of, for example, 1000 of which your fortress has 100 (10%), '''2''' of your fortress' citizens will assume that position. &lt;br /&gt;
This may probably also work with elected and appointed positions, but that may be depending on the death of the current holders and this needs more testing. Assumption works within a day, anyway. &lt;br /&gt;
&lt;br /&gt;
==[AS_NEEDED]==&lt;br /&gt;
These positions can be created automatically by the game in world-gen. This, however, only works with: &lt;br /&gt;
* [LAND_HOLDER]'s&lt;br /&gt;
* squad commanders (needs more testing)&lt;br /&gt;
* Messengers at sites&lt;br /&gt;
&lt;br /&gt;
For all other types of positions, they're not created in world-gen, even if they are defined with RESPONSIBILITY's. For example, even in war, the game wouldn't create a MILITARY_GOALS position, if they have AS_NEEDED as number. &lt;br /&gt;
&lt;br /&gt;
However, in fortress mode / player mode, these positions can be created by the player at will.&lt;br /&gt;
&lt;br /&gt;
Positions with AS_NEEDED need to be created first, before any symbols are assignable as 'symbols' (objects) for the position holder to carry or wear.&lt;br /&gt;
&lt;br /&gt;
Positions with AS_NEEDED cannot be created and then ELECTED in fortress mode. It only works with APPOINTED_BY.&lt;br /&gt;
&lt;br /&gt;
=Replacement and Required Population=&lt;br /&gt;
&lt;br /&gt;
The token REPLACED_BY:position means that once the replacing position reaches its required population-number, the 'to-be-replaced' position will disappear. This is defined in REQUIRES_POPULATION. These tags are closely related to each other and seem to only have a meaningful function if combined. Nobles with REQUIRES_POPULATION require the population to have a specific size. &lt;br /&gt;
&lt;br /&gt;
This works on the civ-level as well as on site-level, but those systems are in this mechanic strictly separated. Site-level positions cannot be replaced by civ-level positions and visa versa. This makes sense, because they both depend on their own population-count. When using REQUIRES_POPULATION on civ-level, it counts the total population of the civilisation. &lt;br /&gt;
&lt;br /&gt;
See also: [[Advanced_entity_position_mechanics#Evaluation_of_Positions|Evaluation of positions]]&lt;br /&gt;
&lt;br /&gt;
==Effect of replacement (and on [LAND_HOLDER]s)==&lt;br /&gt;
&lt;br /&gt;
Replacement is immediate and complete - the current holding unit loses the position, even before SUCCESSION_BY_POSITION rules are applied. A position with a number of 1 will replace all the slots of a position with a higher number of slots. &lt;br /&gt;
&lt;br /&gt;
Even if the next position is available but not visible, replacement still takes place. If a position is replaced, it is completely gone - it cannot be appointed, succeeded, elected or assumed any longer.&lt;br /&gt;
The unit immediately loses its position.&lt;br /&gt;
&lt;br /&gt;
In legends, replacement is mentioned as: &amp;quot;(unit name) ceased to be (position name)&amp;quot; The replacement of an AS_NEEDED position empties the position's slot forever. In fortress mode, it may seem as if you can create new slots and appoint new units in the nobles screen, but this is reversed as soon as you close the window.&lt;br /&gt;
&lt;br /&gt;
The landholder chain uses [REPLACED_BY] differently. It does not clear the position completely, but uses it for succession to the next level's position. [REPLACE_BY] is required to let that system work properly. This also means that the way in which landholders succeed (replace + as_needed) does not work in any other way. &lt;br /&gt;
&lt;br /&gt;
Replacement between LAND_HOLDERS and other site- or civ positions does not work in any way. Only the vanilla replacement sequence between levels of LAND_HOLDERs does work. If the token is omitted for landholders, the landholder chain is broken, so replacement is required for the landholder system to work.&lt;br /&gt;
&lt;br /&gt;
[REQUIRES_POPULATION] also does not work for [LAND_HOLDER], when you set [NUMBER] to 1. The position is not created when the required population is reached.&lt;br /&gt;
&lt;br /&gt;
==What doesn't work==&lt;br /&gt;
&lt;br /&gt;
'''Attention: If a position cannot be appointed, for example because of 'mutual appointment', it still exists according to replacement mechanics and will replace other positions if so defined. If a certain position(a) will be replaced by the baron's assistant, which can only be appointed by the [LAND_HOLDER] baron, than that position(s) still will be replaced from the start of the game, even if no baron or their assistant is ever present.'''&lt;br /&gt;
&lt;br /&gt;
A position that is replaced by a somehow not-fillable position, is still replaced. This counts for mutual-appointing positions, replacement by not-yet-assigned landholders, replacement by AS_NEEDED positions, or replacement by not-yet-appointed positions. &lt;br /&gt;
&lt;br /&gt;
Replacement does not work if the replaced position is a [LAND_HOLDER], even with civ-positions. In that case, the LAND_HOLDER's position is not replaced. It does not matter if AS_NEEDED is used, or a fixed number, and it also does not matter what type of position the replacer is. So this only works (correctly) with positions that become available by REQUIRES_POPULATION.&lt;br /&gt;
&lt;br /&gt;
={{text anchor|Evaluation of Positions}}=&lt;br /&gt;
The game does not continuously check whether positions should become available, elected or be [REPLACE_BY]. This is well-known behavior—for example with the [[mayor]], who does not appear automatically when the required population ([REQUIRES_POPULATION]) is reached. Instead, positions must somehow be evaluated. This applies in several other situations as well &lt;br /&gt;
&lt;br /&gt;
'''Cases that require a trigger:'''&lt;br /&gt;
* Election of a newly created position&lt;br /&gt;
* Election after the current holder dies&lt;br /&gt;
* Automatic assumption of a newly created position (this may take up to a day)&lt;br /&gt;
* New citizens (such as migrants) considering available positions&lt;br /&gt;
* Premature succession of a newly created position&lt;br /&gt;
&lt;br /&gt;
'''Cases that do not wait for a trigger:'''&lt;br /&gt;
* Succession following the death of the previous holder&lt;br /&gt;
* Automatic assumption of existing positions that have become vacant&lt;br /&gt;
&lt;br /&gt;
'''Triggers that cause the game to reevaluate noble positions:'''&lt;br /&gt;
* Succession of a [SITE]-position due to the death of the current holder&lt;br /&gt;
* [[Advanced_entity_position_mechanics#Election_Day|Election Day]]&lt;br /&gt;
* Automatic assumption of a [SITE]-position that becomes vacant&lt;br /&gt;
* (Re)assigning any site position manually&lt;br /&gt;
* Settlement elevation on the LAND_HOLDER track (e.g. gaining a [[Baron]] or [[Count]])&lt;br /&gt;
&lt;br /&gt;
=Gaining a position=&lt;br /&gt;
There are several ways a unit can gain a position:&lt;br /&gt;
* Appointment: A unit is appointed by another unit or by the player.&lt;br /&gt;
* Election: A unit is elected by and among the members of the entity&lt;br /&gt;
* Assumption: A position is neither elected or appointed: a random unit just simply 'takes' the position&lt;br /&gt;
* Succession: a unit is the valid successor of this position(A), either by its current position(B) or because they are that position(A)-holder's heir. &lt;br /&gt;
&lt;br /&gt;
Available positions will automatically be assigned to a random civ member when a new site/civ is created.&lt;br /&gt;
&lt;br /&gt;
==Who can take a position==&lt;br /&gt;
&lt;br /&gt;
* If so defined, a unit needs to be the right caste and/or class - it does not seem to work with creature types. &lt;br /&gt;
* The unit needs to be an adult member of the site or its parent civ-government; that is also CAN_LEARN or INTELLIGENT (SLOW_LEARNER cannot take positions) or otherwise is able to think.&lt;br /&gt;
&lt;br /&gt;
==Appointment==&lt;br /&gt;
&lt;br /&gt;
Positions that have an [APPOINTED_BY:position] token require that position to exist, to be available and appointed. Any position that is APPOINTED_BY can be appointed if the appointer's position is filled in. &lt;br /&gt;
For site-positions to be appointed, it is required that the appointer is present at that location.&lt;br /&gt;
&lt;br /&gt;
If the appointing unit is temporarily not present, or if that position is not filled, positions depending on it cannot be appointed. This is the case with [[militia captains]], when the [[militia commander]] is on a [[mission]]. &lt;br /&gt;
&lt;br /&gt;
A site position cannot appoint a civ position ''or'' LAND_HOLDER in any way whatsoever. &lt;br /&gt;
&lt;br /&gt;
Civ-level positions can appoint other civ-level positions and site-level positions can appoint other site-level positions.&lt;br /&gt;
&lt;br /&gt;
Contrary to what has been said elsewhere, civ-level nobles also can appoint site-level nobles. They need to be at the site to do so. Landholders can appoint both site-level and civ-level nobles. These systems are therefore not as separate as was assumed.&lt;br /&gt;
&lt;br /&gt;
'''Mutual appointment''' cannot take place. If these are the only requisites of the position, then the positions will never appear or get filled. These unfillable positions can be put to good use, for example, to replace a position that is no longer needed without creating a new one. &lt;br /&gt;
&lt;br /&gt;
'''Self appointment''' doesn't normally work. If you have a position that is only appointed by itself, it is never appointed and also cannot be assumed. However, if the position has a number higher than 1, and is filled by multiple units (for example by another position that is now empty), than those units can re-assign or appoint each other from that their shared position. &lt;br /&gt;
&lt;br /&gt;
If an APPOINTED_BY token refers to a non-existing position's code, the effects are as if the appointment token doesn't exist at all.&lt;br /&gt;
&lt;br /&gt;
===Automatic appointment in world-gen and on the civ level===&lt;br /&gt;
&lt;br /&gt;
Outside of fortress mode, the game will always attempt to appoint nobles whenever possible, as long as these positions are '''available''', even if they are invisible to the player.&lt;br /&gt;
It shows this message in legends:  &amp;quot;(unit name) has been appointed to the position of (position name)&amp;quot;&lt;br /&gt;
&lt;br /&gt;
In world-gen, all positions become available and are automatically appointed, taking population- and appointment-requirements into consideration. &lt;br /&gt;
&lt;br /&gt;
Positions that are REPLACED_BY are culled and won't be filled.&lt;br /&gt;
&lt;br /&gt;
If a citizen of your fortress holds a civ-level position that can appoint another civ-level position, the appointment will happen automatically and without player intervention. It may happen that another citizen of your fortress is appointed by that unit, creating civ-level position holders in your fortress, but it is unknown what is required to force this effect.&lt;br /&gt;
&lt;br /&gt;
===Manual appointments by players in fortress mode===&lt;br /&gt;
In fortress mode, the positions that need to be appointed stay empty on embark. and it is the player's job to appoint those. A player can appoint a unit to any available position, according to the hereabove mentioned conditions. The player takes the role of the automatic appointment-system, but has no direct control over elections, successions and replacement. There are some differences in what is possible at world-gen sites and at player-controlled sites.&lt;br /&gt;
&lt;br /&gt;
* A position that is appointed by a unit present as a fortress citizen, can be appointed, re-appointed or left vacant. This means also by civ-level nobles living as a citizen in your fortress; not when they are only visiting, like the diplomat.&lt;br /&gt;
* A position whose appointing positions are all either vacant or [REPLACED_BY] can no longer be appointed. If the position is already filled, it cannot be reappointed or vacated; the current holder simply remains in office.&lt;br /&gt;
* A position that is APPOINTED_BY a unit present as the land_holder of your site, can be appointed, reassigned or left vacant.&lt;br /&gt;
* A position that has SUCCESSION BY_HEIR or BY_POSITION can 'initially' be appointed and also re-appointed or left vacant, but as soon as the [[nobles]] screen closes, ''it can no longer be replaced or left vacant''. From then on, the succession-rules determine who gains that position when the current holder loses the position. This works even if the SUCCESSION:BY_POSITION-position is vacant or replaced.&lt;br /&gt;
* A position that is ELECTED nor APPOINTED_BY, can always be (re-)appointed by the player. This is the case with the [[Expedition leader]]. If it is left vacant however, it cannot be appointed, but will be assumed shortly after. &lt;br /&gt;
* A position that is both ELECTED and APPOINTED_BY, cannot be appointed by the player. Contrary to world-gen sites, its slot is visible, but it doesn't show the +-sign. This is either by AS_NEEDED or by a fixed number. Even if the position somehow gets filled (re)assignment is never possible&lt;br /&gt;
* A player can appoint a number of units to a position, as much as the NUMBER token dictates. If it is AS_NEEDED, the player may create as many slots as they like, also contrary to world-gen sites. &lt;br /&gt;
* A civ-position can never be appointed, even if the appointing civ noble is a citizen of your fortress. A civ position also never can be re-assigned or left vacant, would that position be defined as appointed by a site-position.&lt;br /&gt;
&lt;br /&gt;
==Election==&lt;br /&gt;
Read more in [[Elections]]. The message that is shown is: &amp;quot;(creature name) has been elected to the position of  (position name)&amp;quot;&lt;br /&gt;
&lt;br /&gt;
In worldgen, there is no functional difference between ELECTED and non-appointment, except that elected nobles tend to have high social skills and/or skills related to the position, while non-elected ones are assigned randomly. See: [[Elections]]&lt;br /&gt;
&lt;br /&gt;
A succession goes before an election. &lt;br /&gt;
&lt;br /&gt;
A position that is both ELECTED and APPOINTED_BY never gets elected. Even if the appointees' position somehow gets filled, (re)-elections won't happen. So, it doesn't seem possible to have an elected position become available when a certain other position becomes filled. &lt;br /&gt;
&lt;br /&gt;
An ELECTED civ-(or LAND_HOLDER) position at your site will never be (re)-elected in fortress mode. So real (re-)election only works with SITE-positions. &lt;br /&gt;
&lt;br /&gt;
=== {{text anchor|Election Day}} ===&lt;br /&gt;
Election Day takes place on the 17th of Summer. On this day, a full reevaluation is performed, including all currently elected positions, which are subject to re-election. Contrary to the information on [[Elections]], nothing occurs at the start of a season.&lt;br /&gt;
&lt;br /&gt;
Positions that are both [APPOINTED_BY] and [ELECTED] will not be re-elected on Election Day when assigned through [SUCCESSION].&lt;br /&gt;
&lt;br /&gt;
=== Election Eligiblity ===&lt;br /&gt;
Any citizen may stand for election. Eligibility cannot be restricted using [ACCEPTED_CREATURE], [REJECTED_CREATURE], [ACCEPTED_CLASS], [REJECTED_CLASS], or [GENDER]. Units currently having a [SUCCESSION]-position even may be elected for a position with a [SQUAD]-token, which is otherwise impossible to assign or even succeed.&lt;br /&gt;
&lt;br /&gt;
=== Skills ===&lt;br /&gt;
In elections, skills are taken into account for the tokens of the position which is elected.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Relevant skills per position token&lt;br /&gt;
|-&lt;br /&gt;
! Position Token !! Relevant skills&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#DELIVER_MESSAGES|[DELIVER_MESSAGES]]] || [[Ambusher]], [[Observer]] and [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#ACCOUNTING|[ACCOUNTING]]] || [[Record_keeper|Record keeper]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#ESPIONAGE|[ESPIONAGE]]] || [[Schemer]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#HEALTH_MANAGEMENT|[HEALTH_MANAGEMENT]]] || [[Diagnostician|Diagnostician]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#MAKE_INTRODUCTIONS|[MAKE_INTRODUCTIONS]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#MAKE_PEACE_AGREEMENTS|[MAKE_PEACE_AGREEMENTS]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#MAKE_TOPIC_AGREEMENTS|[MAKE_TOPIC_AGREEMENTS]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#MANAGE_PRODUCTION|[MANAGE_PRODUCTION]]] || [[Organizer]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#MEET_WORKERS|[MEET_WORKERS]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#RECEIVE_DIPLOMATS|[RECEIVE_DIPLOMATS]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#RELIGION|[RELIGION]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#TAME_EXOTICS|[TAME_EXOTICS]]] || [[Animal_trainer|Animal trainer]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#TRADE|[TRADE]]] || [[Social_skill|Social skills]] and [[Appraiser|Appraiser]]&lt;br /&gt;
|-&lt;br /&gt;
| [[Position_token#SQUAD|[SQUAD]]]-token || [[Tactician]] and [[Leader]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Assumption==&lt;br /&gt;
&lt;br /&gt;
A position that is not APPOINTED_BY nor ELECTED, or is appointed by positions that are not available in your site or civ, will be assumable by a random dwarf. If it has responsibilities that require certain skills, then these are taken into consideration on embark, but not when the position is assumed during the actual game. &lt;br /&gt;
&lt;br /&gt;
Normally, one to three units will take the into consideration to assume a position. Most of the time when there are multiple open positions, only a single unit will assume all of them. However, a position that has REJECTED_CREATURE, REJECTED_CLASS, ALLOWED_CREATURE or ALLOWED_CLASS will be filled with all different units, even if the creature or class mentioned is irrelevant. It seems that this forces the game to loop over all the available units.&lt;br /&gt;
&lt;br /&gt;
The message that is shown in Legends mode is: &amp;quot;(unit name) has assumed the position of (position name)&amp;quot;. This may also take place in fortress mode, which then shows this message to the player. &lt;br /&gt;
&lt;br /&gt;
If an assumable position becomes empty, it will be assumed within a day. This is the case when you leave the position of expedition-leader vacant. It also happens with entities. &lt;br /&gt;
&lt;br /&gt;
Assumable positions that become empty will not be assumed if that position has a valid [SUCCESSION] -successor. In that case, the successor inherits the position. &lt;br /&gt;
&lt;br /&gt;
Even positions that are somehow invisible because they cannot be directly APPOINTED_BY players, can be assumed. &lt;br /&gt;
&lt;br /&gt;
When you embark, the assumable positions are automatically assigned to a random unit. If there are multiple of these positions at embark, they all are assigned to the same unit. If there are enough positions available, multiple units may gain a position, but often no more than three different ones.&lt;br /&gt;
&lt;br /&gt;
If a dwarf in fortress mode assumes a position, that already has another position, it will leave the current position empty. When that position also is assumed, then this will continue until all positions have a dwarf appointed to them, with no other position.&lt;br /&gt;
&lt;br /&gt;
A unit that already has a position with a [SUCCESSION] token won't take assumable positions into consideration that have a [SQUAD] token. This can be used by the modder to prevent unwanted loss of current positions.&lt;br /&gt;
&lt;br /&gt;
A position that has an appointer which got replaced because of REPLACED_BY, will not become assumable. Also, positions that have an AS_NEEDED appointer that is not yet filled (or ever), will also not be assumed.&lt;br /&gt;
&lt;br /&gt;
==Succession==&lt;br /&gt;
&lt;br /&gt;
If a position-holder dies or advances to a new position via succession, the position will be granted to another unit based on the [SUCCESSION] tag. If they have an heir or the succeeding position exists, that unit will be assigned. If not, a new one will be appointed according to the usual rules. The message that is shown is: &amp;quot;(creature name) being the rightful heir, has inherited the position of (position name)&amp;quot;&lt;br /&gt;
&lt;br /&gt;
The succeeding creature will also lose its previous position. When succession is defined using BY_POSITION, the unit naturally loses the referenced position. However, it also loses any other positions it may hold. If a unit could simultaneously inherit multiple positions, the last-defined succession overrides the earlier one, clearing the previously acquired position&lt;br /&gt;
&lt;br /&gt;
Succession works both at site-level and at civ-level, both in world-gen and in fortress-mode. Succession by position on the civ-level is also visible and functional in fortress-mode. If both civ-level nobles are a citizen of your fortress, succession is applied visually. Vanilla example: The [[druid]] is succeeded by the [[acolyte]]. This means that as soon as the druid dies, the acolyte takes over. &lt;br /&gt;
&lt;br /&gt;
When a position that is succeeded by position becomes available, immediately it is checked if a position-successor is available and the position is filled with that unit. Even if this is an [ELECTED] position, succession goes first. When elections eventually do happen, succession plays no role.&lt;br /&gt;
&lt;br /&gt;
It is possible to assign multiple levels of [SUCCESSION:BY_POSITION] in different positions, creating a line of positions where the death of one causes all those &amp;quot;below&amp;quot; them to advance.&lt;br /&gt;
&lt;br /&gt;
A position can have multiple tokens with position-succession. It looks to be random which one is used. It is not always:&lt;br /&gt;
* The first or last defined token&lt;br /&gt;
* The first or last appointed unit&lt;br /&gt;
* the oldest or youngest&lt;br /&gt;
* one with a higher or lower precedence&lt;br /&gt;
* a unit with relevant skills&lt;br /&gt;
&lt;br /&gt;
When a position is defined with a Succession-type, that unit cannot have another position that has a Squad-type. If the succession-position itself has a squad, than it can be assigned another position with a squad, but then it will loose the previous succesion position. See further details by &amp;quot;Squad&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Assumed positions can also be succeeded by position, if the current holder dies. &lt;br /&gt;
&lt;br /&gt;
If the successor is an AS_NEEDED position, the used unit will leave a vacant position-slot on its removal by succession. This empty slot remains a real slot, which will only be cleaned up if you (un)appoint a unit to this position-series. It isn't cleaned up after regular position validation.&lt;br /&gt;
&lt;br /&gt;
A civ-level position of a unit living at your site might be inherited by a unit holding that does not currently live at your site. This, unfortunately, moves that position to a unit off site. This may also happen with the landholder of your site, for example when it is succeeded by another civ-level position. This currently poses an unsolved challenge. &lt;br /&gt;
&lt;br /&gt;
===Eligibility for succession===&lt;br /&gt;
Succession is restricted by the tokens [ACCEPTED_CREATURE], [REJECTED_CREATURE], [ACCEPTED_CLASS], [REJECTED_CLASS] and [GENDER].&lt;br /&gt;
&lt;br /&gt;
===Site and civ combined succession===&lt;br /&gt;
&lt;br /&gt;
Succession can work when combining site positions with civ-level positions or land_holders, but only in world-gen mode.  In fortress mode, it only works with combining the same level of nobles, with Landholders regarded as civ-level. So, in fortress mode, a site's position cannot succeed a landholder's position and it cannot succeed another type of civ-level position, and vice versa. &lt;br /&gt;
&lt;br /&gt;
This won't work even if the positions:&lt;br /&gt;
* are AS_NEEDED or having a fixed number.&lt;br /&gt;
* Are LAND_HOLDERs.&lt;br /&gt;
&lt;br /&gt;
===Succession [BY_HEIR]===&lt;br /&gt;
&lt;br /&gt;
When a heir is needed for succession, all children and then other relatives are validated. They cannot take the position if their status does not allow it, for example if they have become a member of another civilisation. See: &amp;quot;Who can take a position&amp;quot;. If the unit has no valid heir on that location, the position may go to a unit living on another site. This may cause the title of Landholder of some land to be inherited by a unit living somewhere else. That might be a problem, because then you lose your landholders.&lt;br /&gt;
&lt;br /&gt;
===Premature Succession===&lt;br /&gt;
&lt;br /&gt;
There are cases where [SUCCESSION:BY_POSITION] is applied prematurely: at the moment a position is first created and becomes appointable or assumable, rather than after a current holder leaves. In this situation, the succession mechanism assigns a holder immediately, without any player interaction.&lt;br /&gt;
&lt;br /&gt;
When a position becomes available for the first time, the game checks whether a valid successor-by-position exists. If so, that unit is assigned instantly. It can affect positions that would normally be appointed or elected by the player, causing succession to trigger before the player has any opportunity to intervene.&lt;br /&gt;
&lt;br /&gt;
This behavior occurs only in Fortress mode, but can be applied both on [SITE]-positions as well in civ-positions. That last one however is a bit harder to control. Example: [[Advanced entity position mechanics#The Archduke|The Archduke]]&lt;br /&gt;
&lt;br /&gt;
This premature succession only occurs the first time a position becomes available (i.e. when it is created and becomes appointable or assumable). Even if the position remains vacant and the conditions for succession improve later, premature succession will not trigger again. From that point onward, only normal succession rules apply.&lt;br /&gt;
&lt;br /&gt;
Using premature succession, a position that has [ELECTED], [APPOINTED_BY], or both, can be filled directly.&lt;br /&gt;
Notably, positions that combine [ELECTED] and [APPOINTED_BY] are normally impossible to fill through regular mechanics. Premature succession bypasses both election and appointment entirely, making this combination uniquely reachable through this mechanism.&lt;br /&gt;
&lt;br /&gt;
No initial election takes place, and no subsequent elections will ever occur for that position. Succession always takes precedence over election, both in premature succession and in normal succession cases.&lt;br /&gt;
&lt;br /&gt;
This behavior applies only in Fortress mode, not during world generation. World-gen uses simplified and more efficient mechanics, and this interaction does not occur there. Premature succession can affect both site-level and civilization-level positions.&lt;br /&gt;
&lt;br /&gt;
====Multiple succession chains====&lt;br /&gt;
&lt;br /&gt;
Multiple succession chains may be defined and are resolved in the order they appear in the raws.&lt;br /&gt;
&lt;br /&gt;
If a position has both:&lt;br /&gt;
* a direct succession chain (A → C), and&lt;br /&gt;
* a multi-step chain (A → B → C),&lt;br /&gt;
&lt;br /&gt;
and intermediate positions are vacant, resolution proceeds according to raw order. A common outcome is:&lt;br /&gt;
# The direct succession (A → C) is applied first, assigning A to C.&lt;br /&gt;
# The remaining chain then advances (A → B).&lt;br /&gt;
# If C still has empty slots, the final step (B → C) may occur.&lt;br /&gt;
&lt;br /&gt;
If position B is already filled, behavior depends entirely on raw definition order:&lt;br /&gt;
* nothing may happen, or&lt;br /&gt;
* B may move to C first, followed by A moving to B.&lt;br /&gt;
====Working triggers====&lt;br /&gt;
Premature succession is triggered when a succeedable position is created under the following conditions:&lt;br /&gt;
* The succeedable position is created because its [REQUIRES_POPULATION] threshold is reached. This applies even if the position is not [APPOINTED_BY]. Premature succession takes priority over automatic assumption (e.g. the mayor declaring themselves within a day).&lt;br /&gt;
* The succeedable position can be [APPOINTED_BY] another position of the same level (site or civ) that has just been created because its [REQUIRES_POPULATION] was reached.&lt;br /&gt;
* The succeedable position can be appointed by another [SITE] [AS_NEEDED] position that has just been created and filled.&lt;br /&gt;
* The succeedable (site or civ) position is [APPOINTED_BY] the [LAND_HOLDER] position, which has just been created due to site elevation. This typically resolves when the diplomat leaves the map, at which point the landholder position becomes active.&lt;br /&gt;
* If all other requirements are met, premature succession can occur immediately after unpausing following embark, for positions with [REQUIRES_POPULATION:7].&lt;br /&gt;
====Non-working triggers====&lt;br /&gt;
Premature succession does '''not''' occur in the following cases:&lt;br /&gt;
* An [AS_NEEDED] succeedable position slot is manually created by the player while its succeeding position is already filled. [AS_NEEDED] positions must always be appointed after creation.&lt;br /&gt;
* The succeeding position is filled after the succeedable position becomes available. The moment of creation is the decisive trigger; filling the source position later is too late.&lt;br /&gt;
* The succeedable position can be appointed by another site or civ position with a fixed number of slots that has just been appointed. In this case, the succeedable position is just available for appointment itself, nothing more&lt;br /&gt;
* Any situation occurring during world generation.&lt;br /&gt;
* The succeeding position is [REPLACED_BY] the succeedable position. In this case, replacement removes the unit from the source position first, leaving no holder available for the succession mechanism to use.rst, leaving no holder available for the succession mechanism to use.&lt;br /&gt;
* The position is [APPOINTED_BY] a civ-level position, that just became a citizen of your fortress. It must be noted that those civ-level positions were active all that time and the succeedable position could be appointed even before. The monarchs arrival does not trigger premature succession&lt;br /&gt;
&lt;br /&gt;
=Losing a position=&lt;br /&gt;
&lt;br /&gt;
A unit can lose a position when:&lt;br /&gt;
* It dies&lt;br /&gt;
* It succeeds another position, even if it has nothing to do with the previous position.&lt;br /&gt;
* It is assigned to another SQUAD-holding position&lt;br /&gt;
* It is convicted of a crime.&lt;br /&gt;
* Another unit is ELECTED for the position&lt;br /&gt;
* Its position becomes replaced&lt;br /&gt;
* Another unit is appointed by the player, or the position is left vacant. &lt;br /&gt;
* It has assumed another position, as this always leaves the previous position vacant.&lt;br /&gt;
&lt;br /&gt;
=Embarkment=&lt;br /&gt;
Two types of positions are automatically filled by embark. &lt;br /&gt;
* Positions without [APPOINTED_BY] or [ELECTED] (assumable). All these positions, even with a NUMBER higher than 1, are all filled with one to three dwarves. Contrary to assumption, this doesn't take into account any limitations. REJECTED_CLASS, ALLOWED_CLASS, REJECTED_CREATURE, ALLOWED_CREATURE and GENDER are applied, but without the normal spread you may expect with assumptions. Also it doesn't look at [SUCCESSION] and [SQUAD] limitations.&lt;br /&gt;
* Positions that are elected are filled-in by the normal election rules.&lt;br /&gt;
&lt;br /&gt;
Positions that have a defined appointer are never initially filled at embark.&lt;br /&gt;
&lt;br /&gt;
All positions that don't have [REQUIRES_POPULATION]  or with a [REQUIRES_POPULATION] of 7 or lower, will be available at embark.&lt;br /&gt;
&lt;br /&gt;
=Land Holders=&lt;br /&gt;
&lt;br /&gt;
A Landholder is a '''special civ-level noble''' who gets a certain piece of land to hold, when that land is elevated to a certain level, determined by the tag [LAND_HOLDER] and by the landholder triggers in the game's settings. In vanilla, these are the baron, the count and the duke. &lt;br /&gt;
&lt;br /&gt;
A unit gaining the landholder position does not migrate to that specific named land. In world-gen, they stay just where they are, probably at the capital. In fortress mode, you can suggest a citizen for the role. So for the time being that works.&lt;br /&gt;
&lt;br /&gt;
Succession is then a real issue. If you use BY_HEIR, its solved when that landholder has children living at your site. But when its not the case, the title just goes to anyone randomly. Succession BY_POSITION works, but only in the civ-chain, and there's no way to guarantee a civ-holder is at your site at that time. Even with 'automatic spread' positions, it goes to one of them randomly.&lt;br /&gt;
&lt;br /&gt;
==Functioning of the regular landholder chain==&lt;br /&gt;
&lt;br /&gt;
The distinct difference between a landholder and a regular civ-level noble, is that a landholder may gain the position of landholder &amp;quot;of (sitename)&amp;quot; They are then seen as ruler of a particular site. &lt;br /&gt;
&lt;br /&gt;
For a land_holder position to function as such, it has a few requirements:&lt;br /&gt;
* NUMBER:AS_NEEDED &lt;br /&gt;
* The first landholder-number of 1 is defined. &lt;br /&gt;
* No SITE (so civ) tag in that position.&lt;br /&gt;
*REPLACED_BY the next level landholder&lt;br /&gt;
If a landholder is defined with differentiating properties, it will function like a regular noble. A higher-up landholder that lacks the required tokens or connections will then not be used in elevation. &lt;br /&gt;
&lt;br /&gt;
If a fortress meets the trigger for a new LAND_HOLDER tier when a caravan leaves, then the next time the outpost liaison or equivalent arrives, they will offer to make you an official colony, which will allow you to select all positions for that LAND_HOLDER level. Each time they appear, the outpost liaison will only promote your fortress one tier up the LAND_HOLDER track. &lt;br /&gt;
&lt;br /&gt;
The landholder's LAND_NAME is not required for the functioning of this system. If omitted, messages will be shown with a more generic text.&lt;br /&gt;
&lt;br /&gt;
==Appointment==&lt;br /&gt;
&lt;br /&gt;
This mechanism differs from the regular methods of position management. It ignores all regular appointment- and election rules, so it more or less functions like automatic assignment. A landholder is, in vanilla, appointed by the monarch. Changing this doesn't seem to do anything. If they are appointed by a site-position, a not-yet-existing civ-position, or not appointed at all: the system keeps working as usual. &lt;br /&gt;
&lt;br /&gt;
A landholder can appoint civ-positions and site positions. This works as expected: the positions only are appointed then when that landholder becomes available on civ-level or when he arrives at that site for site-level positions. &lt;br /&gt;
&lt;br /&gt;
If your rank of landholder is the first of its rank in the realm, and is the sole appointer of some civ-position, then immediately as it gains the title, it will appoint the empty civ-slots. This may happen on your site, but the frequency and certainty is hard to determine.&lt;br /&gt;
&lt;br /&gt;
==Succession==&lt;br /&gt;
&lt;br /&gt;
Succession rules are applied to some extent:&lt;br /&gt;
* In world-gen it works according to succession rules, and site-positions can be used here.  This means that a site position or a civ-position can inherit a landholder position, and vice versa.&lt;br /&gt;
* In fortress mode, once a landholder has been appointed, it then can inherit civ-level positions, and vice versa. This means that your baron can become king. &lt;br /&gt;
* Succession rules do not apply within the [LAND_HOLDER] chain; a count will not inherit a baron's land. This is because succession does not work well with the AS_NEEDED token.&lt;br /&gt;
* Premature succession works in fortress mode with landholders. If a unit gets a landholder's position and that landholder is the appointer of an as yet empty position, which is defined as succeeding from a third one, then the succession is immediately applied. The landholder themselves can even be the successor of a newly created position.&lt;br /&gt;
* A landholder's position is, in fortress mode, not successionable by a site-position or vice versa&lt;br /&gt;
&lt;br /&gt;
===Impossibilities for succession by a site-position===&lt;br /&gt;
It would be very beneficial if the landholder can be succeeded by a [SITE]-position. So far, the following tests have not lead to positive results:&lt;br /&gt;
* making landholder and site-position both non-[DUTY_BOUND]&lt;br /&gt;
* make the site-position be [APPOINTED_BY] the landholder and/or the monarch&lt;br /&gt;
* give landholder and site-position [REJECTED_CREATURE]&lt;br /&gt;
* Let the monarch live at your site when succession could happen.&lt;br /&gt;
* Let the site-position be [REPLACED_BY] the landholder.&lt;br /&gt;
&lt;br /&gt;
==Nomination==&lt;br /&gt;
&lt;br /&gt;
The player is able to nominate a unit to become the LAND_HOLDER, but this only works with units of [LAND_HOLDER] level 1. The player can select all units, only limited by the PRECEDENCE of the current units' positions.&lt;br /&gt;
&lt;br /&gt;
A unit that has a position with a PRECEDENCE lower or equal to that of the landholder's position, cannot be selected. This means that a baron (or count) from another site or the monarch cannot be selected, because their precedence is lower or equal. &lt;br /&gt;
&lt;br /&gt;
The GENDER  token does not work here: also units with the wrong gender (sorry) can be selected.&lt;br /&gt;
&lt;br /&gt;
==Levels==&lt;br /&gt;
In mods, up to 10 levels of LAND_HOLDER may be defined. &lt;br /&gt;
&lt;br /&gt;
If a landholder is replaced by a wrong landholder number (1 replaced by 3), then the number 3 is still correctly attached to the settlement. &lt;br /&gt;
&lt;br /&gt;
If the current landholder has the highest available landholder number, then the next elevation will not happen - the diplomat will not elevate your fortress to a higher position, even if that position might be REPLACED_BY a lower landholder. &lt;br /&gt;
&lt;br /&gt;
These chains do work:&lt;br /&gt;
* 1 -&amp;gt; 2a - &amp;gt; 2b -&amp;gt; 3&lt;br /&gt;
* 1 -&amp;gt; 3 -&amp;gt; 2 -&amp;gt; 4&lt;br /&gt;
&lt;br /&gt;
These chains do not work:&lt;br /&gt;
* 2 -&amp;gt; 3 (need to start at 1)&lt;br /&gt;
* 1 -&amp;gt; 4 -&amp;gt; 2 -&amp;gt; 3 (stops after 4 as the highest)&lt;br /&gt;
* 1a -&amp;gt; 2, 1b -&amp;gt; 2 (only 1a and 2 work, 1b is not used)&lt;br /&gt;
&lt;br /&gt;
==Moving landholders==&lt;br /&gt;
&lt;br /&gt;
It may happen that a land-holder no longer lives at the site which they are the landholder of, specifically when the current landholder dies, leaving the title to an heir living somewhere else. &lt;br /&gt;
&lt;br /&gt;
To prevent this from happening, you can make their succession from heir and make sure that their kids live at your site. Or, you can make their position succeeded by another civ position, and make it so that this civ position is somehow available on your site. But if multiple of these positions exist, it cannot be guaranteed that a citizen of your fortress will inherit the title. &lt;br /&gt;
&lt;br /&gt;
In world gen, a landholder lacking the DUTY_BOUND-token will also move to the site they like, according to legends mode.&lt;br /&gt;
&lt;br /&gt;
==Replacement by a generic civ-position==&lt;br /&gt;
&lt;br /&gt;
If a landholder is replaced by an AS_NEEDED non-landholder civ-position, then this will work: the current landholder loses that title upon settlement-elevation and gains that civ-title. However, the civ-title lacks the landholder-property of being attached to the land. It will not show the name of the settlement alongside the position's name. So no &amp;quot;minister of Shovelmounts&amp;quot;&lt;br /&gt;
&lt;br /&gt;
If a landholder is replaced by a general AS_NEEDED civ-position, that itself is also replaced by a generic AS_NEEDED civ-position, then firstly the elevation is executed and also the unit gains that new position. However, he immediately loses it, because an AS_NEEDED position that is replaced by another position can be filled initially, but units wont be able to hold that title.&lt;br /&gt;
&lt;br /&gt;
==Landholder with fixed number==&lt;br /&gt;
&lt;br /&gt;
A landholder's position that has a fixed number will be created and filled directly when the civilisation is born, so this position slot is then not available for the regular landholder-mechanic and will also not be used. That landholder will thus not be attached to a settlement. &lt;br /&gt;
&lt;br /&gt;
It doesn't matter if the landholder's position is connected to the regular landholder's-chain with the REPLACE_BY token.&lt;br /&gt;
&lt;br /&gt;
==Responsibilities==&lt;br /&gt;
&lt;br /&gt;
When given a certain [RESPONSIBILITY], a landholder may function as a regular civ-level noble. If the position has [TRADE] or [OUTPOST_NEGOTIATING] responsibilities, then the landholder functions both as a diplomat and as an actual land holder. A landholder with the [MILITARY_STRATEGY]  responsibility will travel around taming creatures in world-gen, according to legends mode. &lt;br /&gt;
&lt;br /&gt;
Besides that, the responsibilities work the same as with any other on-site living position-holder, civ or otherwise.&lt;br /&gt;
&lt;br /&gt;
=Military=&lt;br /&gt;
==Squad management==&lt;br /&gt;
In the vanilla game, the Squad interface only becomes available after a militia commander has been appointed. Until then, the window displays:{{DFtext|You must appoint somebody first to create a squad.}}&lt;br /&gt;
&lt;br /&gt;
What’s surprising is how this is determined internally. In the entity raw definition, '''only the last two positions that include a [SQUAD] token are checked''' to decide whether the interface is accessible at all. As a result, if your hierarchy defines commanders A through E, appointing '''Commander D or E''' unlocks squad formation, while appointing A–C does nothing.&lt;br /&gt;
&lt;br /&gt;
In other words, squad availability is not tied to ''having a militia commander'', but to ''which specific positions happen to be last in the raw list''—a notably hacky implementation.&lt;br /&gt;
&lt;br /&gt;
These 'last two' are always the last two '''available positions.''' So if they get [REPLACED_BY] or become available because of [REQUIRES_POPULATION], the game adapts to those.&lt;br /&gt;
&lt;br /&gt;
==Squad assignment==&lt;br /&gt;
&lt;br /&gt;
Squads can be assigned, even if the leader position has no holder.&lt;br /&gt;
&lt;br /&gt;
A specific unit can only have one position associated with a squad. If it gains another 'squad holding position', it is unassigned from the first one. This does not work with a 0-squad, so only 1+squads are taken into consideration. This technique can possibly be used to distribute all positions equally among all citizens. It does however not work with election and assumption. &lt;br /&gt;
&lt;br /&gt;
If a civ-level position is associated with a squad and it gets a site-level squad-holding position assigned, it loses the current civ-position. &lt;br /&gt;
&lt;br /&gt;
Squads can get really messed up, if you make the position (or multiple) either elected or not-elected and not-appointed, then this can cause the game to assign multiple squads to the same unit. Automatic assignment and election does not take squads into account, but the nobles screen does. This can cause the positions to be cleared as the game figures out that they have more than one position, and immediately get elected or assumed again. &lt;br /&gt;
&lt;br /&gt;
Positions that cannot have a squad-position:&lt;br /&gt;
* A site- or civ-position with a [SUCCESSION] token cannot be appointed a squad-holding-position. The other way around, however, does work. For example, if a site-position with a [SUCCESSION]-token is appointed to a unit that has already a position with [SQUAD]. But when that squad position is assigned to another unit, it cannot be assigned back. &lt;br /&gt;
* A position with [SUCCESSION] can also not be assigned as a '''member''' of a squad.&lt;br /&gt;
* A squad-holding position with a formed squad cannot be appointed to another squad holding position.&lt;br /&gt;
&lt;br /&gt;
If a position has at least one squad member, it cannot be left vacant. First, the squad has to be disbanded, then the position may be cleared.&lt;br /&gt;
&lt;br /&gt;
==0-squads==&lt;br /&gt;
A 0-Squad is defined in a position as [SQUAD:0:member:members]. It does not seem to do anything useful as of now.&lt;br /&gt;
* It cannot be used to activate the [[Squad|military interface]]&lt;br /&gt;
* It does not restrict the assignment of [SUCCESSION] positions.&lt;br /&gt;
* Assigning this position does not clear any previously held squad position.&lt;br /&gt;
* The [[Leader]] and [[Tactician]] skill are not marked as relevant skills and are not taken into account in elections.&lt;br /&gt;
* It cannot be formed as a squad.&lt;br /&gt;
&lt;br /&gt;
=Further testing=&lt;br /&gt;
The following questions may need additional testing. Feel free to add or answer&lt;br /&gt;
* Everything regarding COMMANDING and army-structure&lt;br /&gt;
** [http://www.bay12forums.com/smf/index.php?topic=175437.msg8331668#msg8331668]&lt;br /&gt;
** [http://www.bay12forums.com/smf/index.php?topic=165213.msg8335682#msg8335682]&lt;br /&gt;
** [http://www.bay12forums.com/smf/index.php?topic=174584.msg8026854#msg8026854]&lt;br /&gt;
* Everything regarding CONQUERED_SITE, but it is presumably just like site. But what if you combine SITE or LAND_HOLDER with it?&lt;br /&gt;
* Stuff about the monarch, its arrival and its entourage.&lt;br /&gt;
&lt;br /&gt;
=Oddities (Bugs)=&lt;br /&gt;
Almost everything on this page could be called an oddity. Because of their unexpected usability, some may also be referred to as “undocumented features.” Others, however, are simply odd and not particularly useful, yet I hesitate to call them “bugs.”&lt;br /&gt;
* If a certain threshold is reached that makes an elected position electable, and the triggering event that initiates this evaluation is an assumption, then the resulting assumption is also referred to in the messages as an election&lt;br /&gt;
&lt;br /&gt;
=Examples=&lt;br /&gt;
&lt;br /&gt;
===The Founder===&lt;br /&gt;
The founder is a single dwarf, appointed at embark. They will be the only one ever to have this position and are not replaceable. When they lose their position some way, the position will not be assumed by another dwarf. &lt;br /&gt;
{{gamedata|title=The Founder|&lt;br /&gt;
[POSITION:THE_FOUNDER]&lt;br /&gt;
	[NAME:the founder:founders]&lt;br /&gt;
	[NUMBER:1] &lt;br /&gt;
	[SITE]&lt;br /&gt;
	[ALLOWED_CREATURE:DWARF:ALL]		- will only be filled at embark, but not assumable later.&lt;br /&gt;
	[REJECTED_CREATURE:DWARF:ALL]		- will only be filled at embark, but not assumable later.&lt;br /&gt;
	[SUCCESSION:BY_POSITION:THE_FOUNDER]	- not unassignable, also cannot be assigned to a [SQUAD] position.&lt;br /&gt;
	[PRECEDENCE:200] &lt;br /&gt;
	Non APPOINTED_BY&lt;br /&gt;
	Non ELECTED&lt;br /&gt;
	Optional: Add responsibilities to make the game select a unit with certain skills.&lt;br /&gt;
}}&lt;br /&gt;
===Marriage bar===&lt;br /&gt;
Dwarven matrons are held in great honour. Upon marriage, a female dwarf is no longer expected to perform menial labour. All dwarven males hold this position by default, granting their spouses exemption from menial work.&lt;br /&gt;
&lt;br /&gt;
The position becomes available with the arrival of the first migrants; otherwise, on embark, it would be assumed by females. Its succession rule is non-functional, but this prevents the player from unassigning the position. A squad size of 1 and the succession rules together prevent a unit from assuming the position more than once.&lt;br /&gt;
&lt;br /&gt;
With precedence set to NONE, the position name is hidden, while LAND_NAME remains visible on the nobles screen. All married females receive the suffix “, Mrs.” and are marked as Nobles.&lt;br /&gt;
&lt;br /&gt;
The practical usefulness of this position is debatable, but it serves as a clear demonstration of several mechanics.&lt;br /&gt;
{{gamedata|title=Mrs. Urist|&lt;br /&gt;
 &lt;br /&gt;
[POSITION:MRS_URIST]	&lt;br /&gt;
	[NUMBER:300]						&lt;br /&gt;
	[SITE]						&lt;br /&gt;
	[ALLOWED_CREATURE:DWARF:MALE]	&lt;br /&gt;
	Not APPOINTED_BY				&lt;br /&gt;
	Not ELECTED&lt;br /&gt;
	[LAND_NAME:Dwarven male]				&lt;br /&gt;
	[NAME:dwarven male:dwarven male]&lt;br /&gt;
	[PRECEDENCE:NONE]					&lt;br /&gt;
	[SPOUSE_FEMALE:, Mrs.:spouses]&lt;br /&gt;
	[MENIAL_WORK_EXEMPTION_SPOUSE]&lt;br /&gt;
	[REQUIRES_POPULATION:8]			&lt;br /&gt;
	[SUCCESSION:BY_POSITION:MONARCH]&lt;br /&gt;
	[SQUAD:1:member:members]&lt;br /&gt;
}}&lt;br /&gt;
===The Archduke===&lt;br /&gt;
The archduke is the leader of the civilization, but exists only from landholder 4-level. Until then, its position remains vacant. When a settlement is elevated to tier 4 (grand duke), the grand duke can appoint the ruler of the civilisation, the archduke. Because of 'Premature Succession', they themself inherents that position immediately. Its heir then becomes grand duke.&lt;br /&gt;
{{gamedata|title=The Archduke| no POSITION:MONARCH&lt;br /&gt;
&lt;br /&gt;
[POSITION:THE_ARCHDUKE]&lt;br /&gt;
	[NAME:archduke:archdukes]&lt;br /&gt;
	[NAME_MALE:archduke:archdukes]&lt;br /&gt;
	[NAME_FEMALE:archduchess:archduchesses]&lt;br /&gt;
	[LAND_NAME:a archduchy]&lt;br /&gt;
	[NUMBER:1] &lt;br /&gt;
	[PRECEDENCE:1] &lt;br /&gt;
	[SUCCESSION:BY_POSITION:GRAND_DUKE]	&lt;br /&gt;
	[APPOINTED_BY:GRAND_DUKE]&lt;br /&gt;
	(add additional monarch-stuff, like spouse name, demands etc.)&lt;br /&gt;
	&lt;br /&gt;
[POSITION:GRAND_DUKE]&lt;br /&gt;
	[NAME:grand duke:grand dukes]&lt;br /&gt;
	[NAME_MALE:grand duke:grand dukes]&lt;br /&gt;
	[NAME_FEMALE:grand duchess:grand duchesses]&lt;br /&gt;
	[NUMBER:AS_NEEDED] &lt;br /&gt;
	[LAND_HOLDER:4]&lt;br /&gt;
	// Optional ...&lt;br /&gt;
	[PRECEDENCE:19]	&lt;br /&gt;
	[LAND_NAME:a archduchy] &lt;br /&gt;
	[RESPONSIBILITY:LAW_MAKING]&lt;br /&gt;
	[RESPONSIBILITY:RECEIVE_DIPLOMATS]&lt;br /&gt;
	[SUCCESSION:BY_HEIR]&lt;br /&gt;
	[APPOINTED_BY:THE_ARCHDUKE]&lt;br /&gt;
	(add additional landholder-stuff)&lt;br /&gt;
&lt;br /&gt;
!!add to [POSITION:DUKE]&lt;br /&gt;
	[REPLACED_BY:GRAND_DUKE]&lt;br /&gt;
&lt;br /&gt;
}}&lt;br /&gt;
{{Category|Modding}}&lt;br /&gt;
{{Category|Entities}}&lt;br /&gt;
{{Category|Guides}}&lt;/div&gt;</summary>
		<author><name>Joostheger</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=Advanced_entity_position_mechanics&amp;diff=314869</id>
		<title>Advanced entity position mechanics</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=Advanced_entity_position_mechanics&amp;diff=314869"/>
		<updated>2026-02-10T10:33:50Z</updated>

		<summary type="html">&lt;p&gt;Joostheger: /* Examples */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Quality|Fine}}&lt;br /&gt;
{{Modding}}&lt;br /&gt;
&lt;br /&gt;
= Introduction = &lt;br /&gt;
&lt;br /&gt;
[http://www.bay12forums.com/smf/index.php?topic=182239.0 Discussion thread on the forum]&lt;br /&gt;
&lt;br /&gt;
This page documents observed and tested behavior of entity positions in Dwarf Fortress that is not fully described elsewhere on the wiki. It focuses on advanced interactions between position tokens, including appointment, succession, election, and responsibility handling, across both civilization-level and site-level entities.&lt;br /&gt;
&lt;br /&gt;
The mechanics described here are based on empirical testing in world generation and fortress mode, supplemented where necessary by raw analysis. In several cases, the game’s behavior is determined by evaluation order and interaction between multiple tags, rather than by individual tokens in isolation.&lt;br /&gt;
&lt;br /&gt;
This page is intended for modders and advanced players who are designing or debugging custom entity position structures. It does not restate basic position mechanics, but instead highlights edge cases, non-obvious interactions, and behaviors that may appear inconsistent or undocumented.&lt;br /&gt;
&lt;br /&gt;
Unless stated otherwise, the described behavior applies to current versions of the game and may differ from older releases.&lt;br /&gt;
&lt;br /&gt;
==What is an entity? What is a position?==&lt;br /&gt;
An [[entity]] is an organizational structure that can have relationships with other entities, usually known as a [[civilization]] or a &amp;quot;[[site]] government&amp;quot; in the game, but merchant [[guild]]s, religious organizations, necromancer towers, and [[bandit]] groups are also entities. An entity can have positions - in most cases, these are hardcoded and generated by the game, but as for civilizations and sites, the [[raw file]]s can be customised.&lt;br /&gt;
&lt;br /&gt;
A position is a special relationship between a unit and an entity. The unit holding a position has a larger influence over that entity than other citizens. Positions are mostly known as [[nobles]], but in this article. the technical term is used.&lt;br /&gt;
&lt;br /&gt;
=Position levels (Site/Civ) and their interaction=&lt;br /&gt;
There are two basic types of positions that are customizable: '''civ(ilization)''' level and '''site level'''. Positions with the tag [SITE] are at site level, positions without the tag [SITE] are at 'civ level'. These two types of nobles can be considered '''loosely related systems'''. There are a few places where they can interact with each other.&lt;br /&gt;
&lt;br /&gt;
Civ-level positions are in charge of the civilization as a whole, managing national [[trade]], laws, and [[war]]s. These are, for example, the vanilla [[monarch]], [[diplomat]] and [[general]]. (Note that the general doesn't do anything in either mode in the current version.)&lt;br /&gt;
&lt;br /&gt;
'''[LAND_HOLDER]''' nobles are also positions at civ-level. These units are members of the national government, but have gained authority over some land or site. Once they do, they move to that place, but their position is still regarded as a civ-level position.&lt;br /&gt;
&lt;br /&gt;
Site-level position holders are members of a site government (subsidiary to the civilization), and manage local affairs in that location. These are, for example, the [[mayor]], the [[sheriff]] and the [[broker]].&lt;br /&gt;
&lt;br /&gt;
==Table of interaction between different position levels==&lt;br /&gt;
In this table, the possible interactions between different position levels are summarized. &lt;br /&gt;
The header row shows the positions defining the tokens.&lt;br /&gt;
&lt;br /&gt;
The left column shows the position type that is referred to.&lt;br /&gt;
Example:  &lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! referred position-type&lt;br /&gt;
! LAND_HOLDER&lt;br /&gt;
|-&lt;br /&gt;
| civilization&lt;br /&gt;
|  &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;(baron is) APPOINTED_BY:MONARCH&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
color coding: &amp;lt;/br&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;Exists in vanilla&amp;lt;/span&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;Possible with mods&amp;lt;/span&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;Not possible&amp;lt;/span&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;possible to some extent.&amp;lt;/span&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;not yet fully investigated.&amp;lt;/span&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! referred position-type&lt;br /&gt;
! Civilization&lt;br /&gt;
! SITE&lt;br /&gt;
! LAND_HOLDER&lt;br /&gt;
! CONQUERED_SITE&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Civilization&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;SUCCESSION '''(1)'''&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| SITE&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;SUCCESSION '''(2)'''&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;APPOINTED_BY '''(3)'''&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;SUCCESSION '''(4)'''&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| LAND_HOLDER&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY '''(6)'''&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;SUCCESSION '''(5)'''&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;REPLACED_BY '''(7)'''&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;SUCCESSION '''(8)'''&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;CONQUERED_SITE&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; COMMANDER &amp;lt;/br&amp;gt; REPLACED_BY &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt; SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;APPOINTED_BY &amp;lt;/br&amp;gt; COMMANDER &amp;lt;/br&amp;gt; REPLACED_BY &amp;lt;/br&amp;gt; SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;APPOINTED_BY &amp;lt;/br&amp;gt; COMMANDER &amp;lt;/br&amp;gt; REPLACED_BY &amp;lt;/br&amp;gt; SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;APPOINTED_BY &amp;lt;/br&amp;gt; COMMANDER &amp;lt;/br&amp;gt; REPLACED_BY &amp;lt;/br&amp;gt; SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Remarks:&lt;br /&gt;
# Works only in world-gen, if a unit with that civ-position is present at the site.&lt;br /&gt;
# Works only in world-gen, the site-position holding unit will then move to the capital.&lt;br /&gt;
# Is completely ignored&lt;br /&gt;
# Works only in world-gen.&lt;br /&gt;
# Works only in world-gen.&lt;br /&gt;
# Won't appear at all&lt;br /&gt;
# This is necessary for the landholder chain to work properly, it doesn’t work otherwise.&lt;br /&gt;
# This works only outside of the landholder chain, so when landholders are simply regarded as civ-level nobles. might also work in world-gen&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
== Other interactions ==&lt;br /&gt;
&lt;br /&gt;
Unfortunately, interactions with positions of other entities don't seem possible, such as APPOINTED_BY: HIGH_PRIEST. With [VARIABLE_POSITIONS], positions are automatically created with codes like CUSTOM_LAW_MAKER_2, but interaction with these positions don't seem to work, either. For more info on those, see [[Variable positions]]&lt;br /&gt;
&lt;br /&gt;
=General=&lt;br /&gt;
&lt;br /&gt;
==Civ-level nobles living at your site==&lt;br /&gt;
Nobles from your civilization can come to live at your fortress. This happens in vanilla with landholders such as [[Baron]], [[Count]] and [[Duke]], with the Monarch, but sometimes also with non-landed LAND_HOLDERS.&lt;br /&gt;
&lt;br /&gt;
When a civ-level noble becomes a [[citizen]] at your location, their position is shown among the site-level positions in your [[nobles screen]]. They appear to function as a site-level noble. They may have [[demand]]s, [[mandate]]s, [[squad]]s and the like. They can appoint nobles at the site-level.&lt;br /&gt;
&lt;br /&gt;
If they have certain [RESPONSIBILITY]ies, they do the tasks that go with them.&lt;br /&gt;
&lt;br /&gt;
==Fortress mode, world-gen and their differences==&lt;br /&gt;
Their are a few differences in how positions function between fortress mode (normal play mode) and the world generation (world-gen). &lt;br /&gt;
&lt;br /&gt;
In '''fortress mode''', the player has some control over the appointment of nobles, limited by elections, automatic filled-in positions and succession rules. Pre-fortress mode, which is referred to as '''world-gen''', the game will always attempt to assign nobles whenever possible. It is subjected to the same rules as in fortress-mode, but there are some exceptions. In '''[[World activities]]''', which is the thing that happens in the world while you play fortress mode, it seems as if the same rules are applied as fortress mode. &lt;br /&gt;
&lt;br /&gt;
A difference between player-fortress-mode and world-gen, is causes by visibility (see below). Positions that are not visible by the player and thus not available for assignment, will be available in world-gen and will thus be automatically assigned.&lt;br /&gt;
&lt;br /&gt;
In fortress mode, a position that is both [ELECTED] and [APPOINTED_BY], cannot be appointed by the player and is also not elected, and can thus not be filled. But in world-gen sites however, these positions are automatically filled.&lt;br /&gt;
&lt;br /&gt;
Positions with [AS_NEEDED] are almost never created and filled in world-gen (depending on their [RESPONSIBILITY]ies), but can always be used in player mode.&lt;br /&gt;
&lt;br /&gt;
A position can, in fortress mode, be filled by the same unit. A unit can gain multiple positions in fortress mode, for example because of [[elections]]. This will not happen in world-gen mode: a unit can only have one position. See also remarks on 'embark' and 'Losing a position'.&lt;br /&gt;
&lt;br /&gt;
In world-gen, [SUCCESSION] between civ-levels and [SITE-]levels may happen. This will not happen in fortress mode, or even off-site in [[World activities]].&lt;br /&gt;
&lt;br /&gt;
In fortress mode, premature SUCCESSION may happen. This will not happen in world-gen mode.&lt;br /&gt;
&lt;br /&gt;
==Units holding multiple positions in multiple entities==&lt;br /&gt;
A unit can hold multiple positions in its civilisation or in its site-entity, however this does not happen in world-gen. Only at player-managed sites can units be holding multiple positions at once. (It is probably not possible for a unit to hold a position in two different civilisations or two different sites.)&lt;br /&gt;
&lt;br /&gt;
In world-gen, if there are too many positions to be filled, they simply stay empty until more units are available. E.G, a unit at a site might inherit a civ-level position and still remain a member of the local government. When this happens however, they move to the capital. If a unit gains a new position, either inherited or otherwise, it drops the previous one. If a unit assumes a civ-position in fortress mode, it leaves the current position. &lt;br /&gt;
&lt;br /&gt;
If a unit holds the same (site-)position multiple times, it has no additional effect.&lt;br /&gt;
&lt;br /&gt;
If a unit holds multiple different positions of the same entity, it has all those positions' responsibilities and properties, stacked up. Presumably, the demands for those combined positions are determined by the highest.&lt;br /&gt;
 &lt;br /&gt;
A unit holding a position with a succession token can be assigned another position with a (different) succession token. &lt;br /&gt;
&lt;br /&gt;
A unit holding a position with a squad-position cannot hold another squad-position. It is dropped from the first, when it gets its second assigned. &lt;br /&gt;
A unit holding a position with a succession token cannot be assigned to a squad-position - the unit is simply not available. It works the other way around, though.&lt;br /&gt;
&lt;br /&gt;
=[PRECEDENCE]=&lt;br /&gt;
The first defined position with precedence of 1 counts as the ruler of the civ. See also: [[Position_token#PRECEDENCE|PRECEDENCE]]. &lt;br /&gt;
&lt;br /&gt;
If the precedence is omitted or has a negative value, the game sets 0 as precedence, which seems to have no effect whatsoever.&lt;br /&gt;
&lt;br /&gt;
When a unit has multiple positions, the name of the position with the highest rank in precedence is shown behind the unit's name.&lt;br /&gt;
&lt;br /&gt;
If you omit precedence entirely, or set it to [PRECEDENCE:NONE], the position name will not be shown after the unit’s name. Your *Urist Mason* will remain simply *Mason*. This can be useful for positions that are unimportant or purely functional. The position will also not appear in the civilisation overview of your site on the world map. The position name is shown in messages, but remains hidden on the nobles screen as well. To make it visible there, use [LAND_NAME].&lt;br /&gt;
&lt;br /&gt;
=[RESPONSIBILITY]ies=&lt;br /&gt;
Both civ and [SITE] positions can carry responsibilities. However, not all responsibilities are active for both types: some function only for civ positions, others only for site positions. When a civ noble arrives at a site and takes up residence, they do not perform responsibilities that are intended for SITE nobles. As a result, these responsibilities neither trigger their associated tasks nor unlock related game mechanics. For example, a civ-level manager living in a fortress will not perform management duties there and doesn't unlock the management-screen, even with an assigned office. &lt;br /&gt;
This behavior applies to the following [SITE]-level responsibilities:&lt;br /&gt;
* [RESPONSIBILITY:ACCOUNTING]&lt;br /&gt;
* [RESPONSIBILITY:BUILD_MORALE]&lt;br /&gt;
* [RESPONSIBILITY:HEALTH_MANAGEMENT]&lt;br /&gt;
* [RESPONSIBILITY:LAW_ENFORCEMENT]&lt;br /&gt;
* [RESPONSIBILITY:MANAGE_PRODUCTION]&lt;br /&gt;
* [RESPONSIBILITY:MEET_WORKERS]&lt;br /&gt;
* [RESPONSIBILITY:TRADE]  (functions differently)&lt;br /&gt;
Other responsibilities may be affected as well, but have not yet been fully tested.&lt;br /&gt;
&lt;br /&gt;
==[DELIVERS_MESSAGES]==&lt;br /&gt;
The only [AS_NEEDED]-position that is created in worldgen based on responsibility is that of the site-level responsibility [DELIVERS_MESSAGES].&lt;br /&gt;
&lt;br /&gt;
==Outpost Liaisons and Diplomats==&lt;br /&gt;
Civ-positions with the responsibility [ESTABLISH_COLONY_TRADE_AGREEMENTS] ([[Outpost_Liaison|Outpost Liaison]]s) will meet with the site-noble who has responsibility for [RECEIVE_DIPLOMATS] and the highest rank of precedence (i.e. the lowest precedence value). Usually this is the [[Expedition_leader|Expedition leader]].&lt;br /&gt;
&lt;br /&gt;
Once a [LAND_HOLDER] is assigned to the site, civ-positions with the responsibility [MAKE_TOPIC_AGREEMENTS] ([[Diplomat]]s) will meet with '''civ'''-level nobles present at the site who have the [RECEIVE_DIPLOMATS] responsibility. If multiple eligible nobles are available, one is selected at random. If no eligible noble is present, the diplomat leaves angrily. If the landholder is no longer present at the site, diplomats will not arrive at all.&lt;br /&gt;
&lt;br /&gt;
It appears that Outpost Liaisons and Diplomats are chosen for a diplomatic mission based on availability. When multiple candidates exist, the position defined last in the raws is most often selected.&lt;br /&gt;
&lt;br /&gt;
==[TRADE]==&lt;br /&gt;
Civ-level nobles with [TRADE] will arrive with the caravan, just as the Outpost Liaison. Their behavior is no longer active in the vanilla game, but the mechanics are still present. See [[40d:Guild_representative|Guild representative]] for more details. This civ-noble will only meet with the SITE noble with [TRADE], usually the [[Broker]].&lt;br /&gt;
&lt;br /&gt;
If two civ-nobles exist with both [TRADE] and [ESTABLISH_COLONY_TRADE_AGREEMENTS], they both arrive at the same time. Even if both tokens are assigned to a single position, if more than one instance of that position exists, two of them will arrive. However in that case, somehow the elevation of the site and appointment of landholder isn't offered.&lt;br /&gt;
&lt;br /&gt;
If the SITE-noble they intend to meet has both [TRADE] and [RECEIVE_DIPLOMATS], only one meeting will proceed and the other is cancelled. However, when two SITE-nobles are available, each with either [TRADE] or [RECEIVE_DIPLOMATS], both meetings will proceed and both civ-nobles will attempt to negotiate a trade agreement. It is not known what happens if these agreements are accepted or refused.&lt;br /&gt;
&lt;br /&gt;
In the trade depot, the last defined position with the [TRADE] responsibility is shown as broker. However when requesting a trader, the first defined position with [TRADE] will actually go there to do the trade.&lt;br /&gt;
&lt;br /&gt;
==World-gen effects of the [RESPONSIBILITY] of available positions ==&lt;br /&gt;
It is possible to cause civs and individual sites to change their behavior substantially when they reach a certain size, by controlling nobles. &lt;br /&gt;
* If a site can only appoint a position with [MILITARY_GOALS] after reaching a particular size, that site will not send armies on missions until the required size is reached.&lt;br /&gt;
* A civ-level [LAW_MAKING] position is required for the civilization to have any kind of cohesion. Without it, sites will be constantly embroiled in territorial disputes and civil wars will be commonplace.&lt;br /&gt;
* [MILITARY_STRATEGY] positions go out and tame wild animals. This makes your civ gain those animals as domesticated and also brings them in sieges.&lt;br /&gt;
* The [[Personality_facet|Personality]] of the position's holder determines how they lead the civ.&lt;br /&gt;
&lt;br /&gt;
=Availability and visibility=&lt;br /&gt;
==Availability of (new) positions==&lt;br /&gt;
Warning: Do not mistake &amp;quot;availability&amp;quot; for &amp;quot;visibility&amp;quot;! &lt;br /&gt;
&lt;br /&gt;
Of all the possible positions existing in your site's entity, there may only be some available. &lt;br /&gt;
* Positions with [REQUIRES_POPULATION] require the population to have a specific size.&lt;br /&gt;
* Positions with [REQUIRES_MARKET] will only appear in &amp;quot;large&amp;quot; sites (which may have different rules for different site types). This tag has no effect in fort mode.&lt;br /&gt;
* Positions that are appointed by positions that have an AS_NEEDED number. The appointable positions only become available after an appointer position-slot is created. This works also on civ-level. If a position is appointed by a Land-holder, it only becomes available, when that level of landholder is created. &lt;br /&gt;
	&lt;br /&gt;
Only the replaced positions are culled and are no longer available. &lt;br /&gt;
A position that requires a certain population will become available, even if it doesn't have [APPOINTED_BY] or [ELECTED]. In that case, see 'automatic assignment' and 'assumption'&lt;br /&gt;
&lt;br /&gt;
In fortress mode, in some cases 'succession' is evaluated immediately after a position becomes available. See: Succession.&lt;br /&gt;
==Visibility of positions==&lt;br /&gt;
A position might be available, but can still be invisible for the player in the [[nobles screen]]. The positions with their respective holders are visible for players:&lt;br /&gt;
* All site-positions that are already filled-in (even if they could not be re-filled-in considering current conditions)&lt;br /&gt;
* Site positions that are appointable by a filled-in site position&lt;br /&gt;
* Site positions that are appointable by a filled-in civ position, when that civ positions holder becomes a citizen of your fortress.&lt;br /&gt;
* Civ positions of units that are also a citizen of your fortress.&lt;br /&gt;
If a position becomes available, for example because a certain pop number has been reached, or if it is available from the start(like expedition leader), as long as it cannot be appointed, it still is INVISIBLE for the player. &lt;br /&gt;
&lt;br /&gt;
It might strike someone as odd if a position becomes filled automatically in fortress mode when that position is not even visible. This might be the case if the current holder of a non-appointable position dies or succeeds another position. Regardless of player visibility, these positions will be automatically filled in if the necessary requisitions are met. It might happen with the expedition leader.&lt;br /&gt;
&lt;br /&gt;
A situation with a non-visible but available position, is for example when a position is solely appointed by the expedition leader, when the expedition leader's position is left vacant. It can no longer be appointed by the player and is invisible. Then, it gets automatically assumed, proving that the position still was available.&lt;br /&gt;
&lt;br /&gt;
A position that is both [APPOINTED_BY] and [ELECTED] is visible, but players cannot interact with it.&lt;br /&gt;
&lt;br /&gt;
=[NUMBER]=&lt;br /&gt;
A position might be defined with a number. In that case, as many as defined can be available. If the positions become available, in world-gen and when embarking, they are all filled-in completely.&lt;br /&gt;
&lt;br /&gt;
If the ruling position (with PRECEDENCE of 1) has a NUMBER higher than 1, a random unit of the ones holding these positions is shown as ruler in the embark screen.&lt;br /&gt;
&lt;br /&gt;
A [NUMBER] of 0 (zero) has the same effect as 1.&lt;br /&gt;
&lt;br /&gt;
==Automatic spreading of assumed, non-singular positions==&lt;br /&gt;
If there are civ positions that have a NUMBER higher then '1' and which are assumed (not APPOINTED_BY or ELECTED) but are '''not DUTY_BOUND''', these are automatically spread among the civilisation, based on population. If there are a number of '''20''' available slots of that position, they spread among a civilization with a combined population of, for example, 1000 of which your fortress has 100 (10%), '''2''' of your fortress' citizens will assume that position. &lt;br /&gt;
This may probably also work with elected and appointed positions, but that may be depending on the death of the current holders and this needs more testing. Assumption works within a day, anyway. &lt;br /&gt;
&lt;br /&gt;
==[AS_NEEDED]==&lt;br /&gt;
These positions can be created automatically by the game in world-gen. This, however, only works with: &lt;br /&gt;
* [LAND_HOLDER]'s&lt;br /&gt;
* squad commanders (needs more testing)&lt;br /&gt;
* Messengers at sites&lt;br /&gt;
&lt;br /&gt;
For all other types of positions, they're not created in world-gen, even if they are defined with RESPONSIBILITY's. For example, even in war, the game wouldn't create a MILITARY_GOALS position, if they have AS_NEEDED as number. &lt;br /&gt;
&lt;br /&gt;
However, in fortress mode / player mode, these positions can be created by the player at will.&lt;br /&gt;
&lt;br /&gt;
Positions with AS_NEEDED need to be created first, before any symbols are assignable as 'symbols' (objects) for the position holder to carry or wear.&lt;br /&gt;
&lt;br /&gt;
Positions with AS_NEEDED cannot be created and then ELECTED in fortress mode. It only works with APPOINTED_BY.&lt;br /&gt;
&lt;br /&gt;
=Replacement and Required Population=&lt;br /&gt;
&lt;br /&gt;
The token REPLACED_BY:position means that once the replacing position reaches its required population-number, the 'to-be-replaced' position will disappear. This is defined in REQUIRES_POPULATION. These tags are closely related to each other and seem to only have a meaningful function if combined. Nobles with REQUIRES_POPULATION require the population to have a specific size. &lt;br /&gt;
&lt;br /&gt;
This works on the civ-level as well as on site-level, but those systems are in this mechanic strictly separated. Site-level positions cannot be replaced by civ-level positions and visa versa. This makes sense, because they both depend on their own population-count. When using REQUIRES_POPULATION on civ-level, it counts the total population of the civilisation. &lt;br /&gt;
&lt;br /&gt;
See also: [[Advanced_entity_position_mechanics#Evaluation_of_Positions|Evaluation of positions]]&lt;br /&gt;
&lt;br /&gt;
==Effect of replacement (and on [LAND_HOLDER]s)==&lt;br /&gt;
&lt;br /&gt;
Replacement is immediate and complete - the current holding unit loses the position, even before SUCCESSION_BY_POSITION rules are applied. A position with a number of 1 will replace all the slots of a position with a higher number of slots. &lt;br /&gt;
&lt;br /&gt;
Even if the next position is available but not visible, replacement still takes place. If a position is replaced, it is completely gone - it cannot be appointed, succeeded, elected or assumed any longer.&lt;br /&gt;
The unit immediately loses its position.&lt;br /&gt;
&lt;br /&gt;
In legends, replacement is mentioned as: &amp;quot;(unit name) ceased to be (position name)&amp;quot; The replacement of an AS_NEEDED position empties the position's slot forever. In fortress mode, it may seem as if you can create new slots and appoint new units in the nobles screen, but this is reversed as soon as you close the window.&lt;br /&gt;
&lt;br /&gt;
The landholder chain uses [REPLACED_BY] differently. It does not clear the position completely, but uses it for succession to the next level's position. [REPLACE_BY] is required to let that system work properly. This also means that the way in which landholders succeed (replace + as_needed) does not work in any other way. &lt;br /&gt;
&lt;br /&gt;
Replacement between LAND_HOLDERS and other site- or civ positions does not work in any way. Only the vanilla replacement sequence between levels of LAND_HOLDERs does work. If the token is omitted for landholders, the landholder chain is broken, so replacement is required for the landholder system to work.&lt;br /&gt;
&lt;br /&gt;
[REQUIRES_POPULATION] also does not work for [LAND_HOLDER], when you set [NUMBER] to 1. The position is not created when the required population is reached.&lt;br /&gt;
&lt;br /&gt;
==What doesn't work==&lt;br /&gt;
&lt;br /&gt;
'''Attention: If a position cannot be appointed, for example because of 'mutual appointment', it still exists according to replacement mechanics and will replace other positions if so defined. If a certain position(a) will be replaced by the baron's assistant, which can only be appointed by the [LAND_HOLDER] baron, than that position(s) still will be replaced from the start of the game, even if no baron or their assistant is ever present.'''&lt;br /&gt;
&lt;br /&gt;
A position that is replaced by a somehow not-fillable position, is still replaced. This counts for mutual-appointing positions, replacement by not-yet-assigned landholders, replacement by AS_NEEDED positions, or replacement by not-yet-appointed positions. &lt;br /&gt;
&lt;br /&gt;
Replacement does not work if the replaced position is a [LAND_HOLDER], even with civ-positions. In that case, the LAND_HOLDER's position is not replaced. It does not matter if AS_NEEDED is used, or a fixed number, and it also does not matter what type of position the replacer is. So this only works (correctly) with positions that become available by REQUIRES_POPULATION.&lt;br /&gt;
&lt;br /&gt;
={{text anchor|Evaluation of Positions}}=&lt;br /&gt;
The game does not continuously check whether positions should become available, elected or be [REPLACE_BY]. This is well-known behavior—for example with the [[mayor]], who does not appear automatically when the required population ([REQUIRES_POPULATION]) is reached. Instead, positions must somehow be evaluated. This applies in several other situations as well &lt;br /&gt;
&lt;br /&gt;
'''Cases that require a trigger:'''&lt;br /&gt;
* Election of a newly created position&lt;br /&gt;
* Election after the current holder dies&lt;br /&gt;
* Automatic assumption of a newly created position (this may take up to a day)&lt;br /&gt;
* New citizens (such as migrants) considering available positions&lt;br /&gt;
* Premature succession of a newly created position&lt;br /&gt;
&lt;br /&gt;
'''Cases that do not wait for a trigger:'''&lt;br /&gt;
* Succession following the death of the previous holder&lt;br /&gt;
* Automatic assumption of existing positions that have become vacant&lt;br /&gt;
&lt;br /&gt;
'''Triggers that cause the game to reevaluate noble positions:'''&lt;br /&gt;
* Succession of a [SITE]-position due to the death of the current holder&lt;br /&gt;
* [[Advanced_entity_position_mechanics#Election_Day|Election Day]]&lt;br /&gt;
* Automatic assumption of a [SITE]-position that becomes vacant&lt;br /&gt;
* (Re)assigning any site position manually&lt;br /&gt;
* Settlement elevation on the LAND_HOLDER track (e.g. gaining a [[Baron]] or [[Count]])&lt;br /&gt;
&lt;br /&gt;
=Gaining a position=&lt;br /&gt;
There are several ways a unit can gain a position:&lt;br /&gt;
* Appointment: A unit is appointed by another unit or by the player.&lt;br /&gt;
* Election: A unit is elected by and among the members of the entity&lt;br /&gt;
* Assumption: A position is neither elected or appointed: a random unit just simply 'takes' the position&lt;br /&gt;
* Succession: a unit is the valid successor of this position(A), either by its current position(B) or because they are that position(A)-holder's heir. &lt;br /&gt;
&lt;br /&gt;
Available positions will automatically be assigned to a random civ member when a new site/civ is created.&lt;br /&gt;
&lt;br /&gt;
==Who can take a position==&lt;br /&gt;
&lt;br /&gt;
* If so defined, a unit needs to be the right caste and/or class - it does not seem to work with creature types. &lt;br /&gt;
* The unit needs to be an adult member of the site or its parent civ-government; that is also CAN_LEARN or INTELLIGENT (SLOW_LEARNER cannot take positions) or otherwise is able to think.&lt;br /&gt;
&lt;br /&gt;
==Appointment==&lt;br /&gt;
&lt;br /&gt;
Positions that have an [APPOINTED_BY:position] token require that position to exist, to be available and appointed. Any position that is APPOINTED_BY can be appointed if the appointer's position is filled in. &lt;br /&gt;
For site-positions to be appointed, it is required that the appointer is present at that location.&lt;br /&gt;
&lt;br /&gt;
If the appointing unit is temporarily not present, or if that position is not filled, positions depending on it cannot be appointed. This is the case with [[militia captains]], when the [[militia commander]] is on a [[mission]]. &lt;br /&gt;
&lt;br /&gt;
A site position cannot appoint a civ position ''or'' LAND_HOLDER in any way whatsoever. &lt;br /&gt;
&lt;br /&gt;
Civ-level positions can appoint other civ-level positions and site-level positions can appoint other site-level positions.&lt;br /&gt;
&lt;br /&gt;
Contrary to what has been said elsewhere, civ-level nobles also can appoint site-level nobles. They need to be at the site to do so. Landholders can appoint both site-level and civ-level nobles. These systems are therefore not as separate as was assumed.&lt;br /&gt;
&lt;br /&gt;
'''Mutual appointment''' cannot take place. If these are the only requisites of the position, then the positions will never appear or get filled. These unfillable positions can be put to good use, for example, to replace a position that is no longer needed without creating a new one. &lt;br /&gt;
&lt;br /&gt;
'''Self appointment''' doesn't normally work. If you have a position that is only appointed by itself, it is never appointed and also cannot be assumed. However, if the position has a number higher than 1, and is filled by multiple units (for example by another position that is now empty), than those units can re-assign or appoint each other from that their shared position. &lt;br /&gt;
&lt;br /&gt;
If an APPOINTED_BY token refers to a non-existing position's code, the effects are as if the appointment token doesn't exist at all.&lt;br /&gt;
&lt;br /&gt;
===Automatic appointment in world-gen and on the civ level===&lt;br /&gt;
&lt;br /&gt;
Outside of fortress mode, the game will always attempt to appoint nobles whenever possible, as long as these positions are '''available''', even if they are invisible to the player.&lt;br /&gt;
It shows this message in legends:  &amp;quot;(unit name) has been appointed to the position of (position name)&amp;quot;&lt;br /&gt;
&lt;br /&gt;
In world-gen, all positions become available and are automatically appointed, taking population- and appointment-requirements into consideration. &lt;br /&gt;
&lt;br /&gt;
Positions that are REPLACED_BY are culled and won't be filled.&lt;br /&gt;
&lt;br /&gt;
If a citizen of your fortress holds a civ-level position that can appoint another civ-level position, the appointment will happen automatically and without player intervention. It may happen that another citizen of your fortress is appointed by that unit, creating civ-level position holders in your fortress, but it is unknown what is required to force this effect.&lt;br /&gt;
&lt;br /&gt;
===Manual appointments by players in fortress mode===&lt;br /&gt;
In fortress mode, the positions that need to be appointed stay empty on embark. and it is the player's job to appoint those. A player can appoint a unit to any available position, according to the hereabove mentioned conditions. The player takes the role of the automatic appointment-system, but has no direct control over elections, successions and replacement. There are some differences in what is possible at world-gen sites and at player-controlled sites.&lt;br /&gt;
&lt;br /&gt;
* A position that is appointed by a unit present as a fortress citizen, can be appointed, re-appointed or left vacant. This means also by civ-level nobles living as a citizen in your fortress; not when they are only visiting, like the diplomat.&lt;br /&gt;
* A position whose appointing positions are all either vacant or [REPLACED_BY] can no longer be appointed. If the position is already filled, it cannot be reappointed or vacated; the current holder simply remains in office.&lt;br /&gt;
* A position that is APPOINTED_BY a unit present as the land_holder of your site, can be appointed, reassigned or left vacant.&lt;br /&gt;
* A position that has SUCCESSION BY_HEIR or BY_POSITION can 'initially' be appointed and also re-appointed or left vacant, but as soon as the [[nobles]] screen closes, ''it can no longer be replaced or left vacant''. From then on, the succession-rules determine who gains that position when the current holder loses the position. This works even if the SUCCESSION:BY_POSITION-position is vacant or replaced.&lt;br /&gt;
* A position that is ELECTED nor APPOINTED_BY, can always be (re-)appointed by the player. This is the case with the [[Expedition leader]]. If it is left vacant however, it cannot be appointed, but will be assumed shortly after. &lt;br /&gt;
* A position that is both ELECTED and APPOINTED_BY, cannot be appointed by the player. Contrary to world-gen sites, its slot is visible, but it doesn't show the +-sign. This is either by AS_NEEDED or by a fixed number. Even if the position somehow gets filled (re)assignment is never possible&lt;br /&gt;
* A player can appoint a number of units to a position, as much as the NUMBER token dictates. If it is AS_NEEDED, the player may create as many slots as they like, also contrary to world-gen sites. &lt;br /&gt;
* A civ-position can never be appointed, even if the appointing civ noble is a citizen of your fortress. A civ position also never can be re-assigned or left vacant, would that position be defined as appointed by a site-position.&lt;br /&gt;
&lt;br /&gt;
==Election==&lt;br /&gt;
Read more in [[Elections]]. The message that is shown is: &amp;quot;(creature name) has been elected to the position of  (position name)&amp;quot;&lt;br /&gt;
&lt;br /&gt;
In worldgen, there is no functional difference between ELECTED and non-appointment, except that elected nobles tend to have high social skills and/or skills related to the position, while non-elected ones are assigned randomly. See: [[Elections]]&lt;br /&gt;
&lt;br /&gt;
A succession goes before an election. &lt;br /&gt;
&lt;br /&gt;
A position that is both ELECTED and APPOINTED_BY never gets elected. Even if the appointees' position somehow gets filled, (re)-elections won't happen. So, it doesn't seem possible to have an elected position become available when a certain other position becomes filled. &lt;br /&gt;
&lt;br /&gt;
An ELECTED civ-(or LAND_HOLDER) position at your site will never be (re)-elected in fortress mode. So real (re-)election only works with SITE-positions. &lt;br /&gt;
&lt;br /&gt;
=== {{text anchor|Election Day}} ===&lt;br /&gt;
Election Day takes place on the 17th of Summer. On this day, a full reevaluation is performed, including all currently elected positions, which are subject to re-election. Contrary to the information on [[Elections]], nothing occurs at the start of a season.&lt;br /&gt;
&lt;br /&gt;
Positions that are both [APPOINTED_BY] and [ELECTED] will not be re-elected on Election Day when assigned through [SUCCESSION].&lt;br /&gt;
&lt;br /&gt;
=== Election Eligiblity ===&lt;br /&gt;
Any citizen may stand for election. Eligibility cannot be restricted using [ACCEPTED_CREATURE], [REJECTED_CREATURE], [ACCEPTED_CLASS], [REJECTED_CLASS], or [GENDER]. Units currently having a [SUCCESSION]-position even may be elected for a position with a [SQUAD]-token, which is otherwise impossible to assign or even succeed.&lt;br /&gt;
&lt;br /&gt;
=== Skills ===&lt;br /&gt;
In elections, skills are taken into account for the tokens of the position which is elected.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Relevant skills per position token&lt;br /&gt;
|-&lt;br /&gt;
! Position Token !! Relevant skills&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#DELIVER_MESSAGES|[DELIVER_MESSAGES]]] || [[Ambusher]], [[Observer]] and [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#ACCOUNTING|[ACCOUNTING]]] || [[Record_keeper|Record keeper]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#ESPIONAGE|[ESPIONAGE]]] || [[Schemer]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#HEALTH_MANAGEMENT|[HEALTH_MANAGEMENT]]] || [[Diagnostician|Diagnostician]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#MAKE_INTRODUCTIONS|[MAKE_INTRODUCTIONS]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#MAKE_PEACE_AGREEMENTS|[MAKE_PEACE_AGREEMENTS]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#MAKE_TOPIC_AGREEMENTS|[MAKE_TOPIC_AGREEMENTS]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#MANAGE_PRODUCTION|[MANAGE_PRODUCTION]]] || [[Organizer]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#MEET_WORKERS|[MEET_WORKERS]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#RECEIVE_DIPLOMATS|[RECEIVE_DIPLOMATS]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#RELIGION|[RELIGION]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#TAME_EXOTICS|[TAME_EXOTICS]]] || [[Animal_trainer|Animal trainer]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#TRADE|[TRADE]]] || [[Social_skill|Social skills]] and [[Appraiser|Appraiser]]&lt;br /&gt;
|-&lt;br /&gt;
| [[Position_token#SQUAD|[SQUAD]]]-token || [[Tactician]] and [[Leader]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Assumption==&lt;br /&gt;
&lt;br /&gt;
A position that is not APPOINTED_BY nor ELECTED, or is appointed by positions that are not available in your site or civ, will be assumable by a random dwarf. If it has responsibilities that require certain skills, then these are taken into consideration on embark, but not when the position is assumed during the actual game. &lt;br /&gt;
&lt;br /&gt;
Normally, one to three units will take the into consideration to assume a position. Most of the time when there are multiple open positions, only a single unit will assume all of them. However, a position that has REJECTED_CREATURE, REJECTED_CLASS, ALLOWED_CREATURE or ALLOWED_CLASS will be filled with all different units, even if the creature or class mentioned is irrelevant. It seems that this forces the game to loop over all the available units.&lt;br /&gt;
&lt;br /&gt;
The message that is shown in Legends mode is: &amp;quot;(unit name) has assumed the position of (position name)&amp;quot;. This may also take place in fortress mode, which then shows this message to the player. &lt;br /&gt;
&lt;br /&gt;
If an assumable position becomes empty, it will be assumed within a day. This is the case when you leave the position of expedition-leader vacant. It also happens with entities. &lt;br /&gt;
&lt;br /&gt;
Assumable positions that become empty will not be assumed if that position has a valid [SUCCESSION] -successor. In that case, the successor inherits the position. &lt;br /&gt;
&lt;br /&gt;
Even positions that are somehow invisible because they cannot be directly APPOINTED_BY players, can be assumed. &lt;br /&gt;
&lt;br /&gt;
When you embark, the assumable positions are automatically assigned to a random unit. If there are multiple of these positions at embark, they all are assigned to the same unit. If there are enough positions available, multiple units may gain a position, but often no more than three different ones.&lt;br /&gt;
&lt;br /&gt;
If a dwarf in fortress mode assumes a position, that already has another position, it will leave the current position empty. When that position also is assumed, then this will continue until all positions have a dwarf appointed to them, with no other position.&lt;br /&gt;
&lt;br /&gt;
A unit that already has a position with a [SUCCESSION] token won't take assumable positions into consideration that have a [SQUAD] token. This can be used by the modder to prevent unwanted loss of current positions.&lt;br /&gt;
&lt;br /&gt;
A position that has an appointer which got replaced because of REPLACED_BY, will not become assumable. Also, positions that have an AS_NEEDED appointer that is not yet filled (or ever), will also not be assumed.&lt;br /&gt;
&lt;br /&gt;
==Succession==&lt;br /&gt;
&lt;br /&gt;
If a position-holder dies or advances to a new position via succession, the position will be granted to another unit based on the [SUCCESSION] tag. If they have an heir or the succeeding position exists, that unit will be assigned. If not, a new one will be appointed according to the usual rules. The message that is shown is: &amp;quot;(creature name) being the rightful heir, has inherited the position of (position name)&amp;quot;&lt;br /&gt;
&lt;br /&gt;
The succeeding creature will also lose its previous position. When succession is defined using BY_POSITION, the unit naturally loses the referenced position. However, it also loses any other positions it may hold. If a unit could simultaneously inherit multiple positions, the last-defined succession overrides the earlier one, clearing the previously acquired position&lt;br /&gt;
&lt;br /&gt;
Succession works both at site-level and at civ-level, both in world-gen and in fortress-mode. Succession by position on the civ-level is also visible and functional in fortress-mode. If both civ-level nobles are a citizen of your fortress, succession is applied visually. Vanilla example: The [[druid]] is succeeded by the [[acolyte]]. This means that as soon as the druid dies, the acolyte takes over. &lt;br /&gt;
&lt;br /&gt;
When a position that is succeeded by position becomes available, immediately it is checked if a position-successor is available and the position is filled with that unit. Even if this is an [ELECTED] position, succession goes first. When elections eventually do happen, succession plays no role.&lt;br /&gt;
&lt;br /&gt;
It is possible to assign multiple levels of [SUCCESSION:BY_POSITION] in different positions, creating a line of positions where the death of one causes all those &amp;quot;below&amp;quot; them to advance.&lt;br /&gt;
&lt;br /&gt;
A position can have multiple tokens with position-succession. It looks to be random which one is used. It is not always:&lt;br /&gt;
* The first or last defined token&lt;br /&gt;
* The first or last appointed unit&lt;br /&gt;
* the oldest or youngest&lt;br /&gt;
* one with a higher or lower precedence&lt;br /&gt;
* a unit with relevant skills&lt;br /&gt;
&lt;br /&gt;
When a position is defined with a Succession-type, that unit cannot have another position that has a Squad-type. If the succession-position itself has a squad, than it can be assigned another position with a squad, but then it will loose the previous succesion position. See further details by &amp;quot;Squad&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Assumed positions can also be succeeded by position, if the current holder dies. &lt;br /&gt;
&lt;br /&gt;
If the successor is an AS_NEEDED position, the used unit will leave a vacant position-slot on its removal by succession. This empty slot remains a real slot, which will only be cleaned up if you (un)appoint a unit to this position-series. It isn't cleaned up after regular position validation.&lt;br /&gt;
&lt;br /&gt;
A civ-level position of a unit living at your site might be inherited by a unit holding that does not currently live at your site. This, unfortunately, moves that position to a unit off site. This may also happen with the landholder of your site, for example when it is succeeded by another civ-level position. This currently poses an unsolved challenge. &lt;br /&gt;
&lt;br /&gt;
===Eligibility for succession===&lt;br /&gt;
Succession is restricted by the tokens [ACCEPTED_CREATURE], [REJECTED_CREATURE], [ACCEPTED_CLASS], [REJECTED_CLASS] and [GENDER].&lt;br /&gt;
&lt;br /&gt;
===Site and civ combined succession===&lt;br /&gt;
&lt;br /&gt;
Succession can work when combining site positions with civ-level positions or land_holders, but only in world-gen mode.  In fortress mode, it only works with combining the same level of nobles, with Landholders regarded as civ-level. So, in fortress mode, a site's position cannot succeed a landholder's position and it cannot succeed another type of civ-level position, and vice versa. &lt;br /&gt;
&lt;br /&gt;
This won't work even if the positions:&lt;br /&gt;
* are AS_NEEDED or having a fixed number.&lt;br /&gt;
* Are LAND_HOLDERs.&lt;br /&gt;
&lt;br /&gt;
===Succession [BY_HEIR]===&lt;br /&gt;
&lt;br /&gt;
When a heir is needed for succession, all children and then other relatives are validated. They cannot take the position if their status does not allow it, for example if they have become a member of another civilisation. See: &amp;quot;Who can take a position&amp;quot;. If the unit has no valid heir on that location, the position may go to a unit living on another site. This may cause the title of Landholder of some land to be inherited by a unit living somewhere else. That might be a problem, because then you lose your landholders.&lt;br /&gt;
&lt;br /&gt;
===Premature Succession===&lt;br /&gt;
&lt;br /&gt;
There are cases where [SUCCESSION:BY_POSITION] is applied prematurely: at the moment a position is first created and becomes appointable or assumable, rather than after a current holder leaves. In this situation, the succession mechanism assigns a holder immediately, without any player interaction.&lt;br /&gt;
&lt;br /&gt;
When a position becomes available for the first time, the game checks whether a valid successor-by-position exists. If so, that unit is assigned instantly. It can affect positions that would normally be appointed or elected by the player, causing succession to trigger before the player has any opportunity to intervene.&lt;br /&gt;
&lt;br /&gt;
This behavior occurs only in Fortress mode, but can be applied both on [SITE]-positions as well in civ-positions. That last one however is a bit harder to control.&lt;br /&gt;
&lt;br /&gt;
This premature succession only occurs the first time a position becomes available (i.e. when it is created and becomes appointable or assumable). Even if the position remains vacant and the conditions for succession improve later, premature succession will not trigger again. From that point onward, only normal succession rules apply.&lt;br /&gt;
&lt;br /&gt;
Using premature succession, a position that has [ELECTED], [APPOINTED_BY], or both, can be filled directly.&lt;br /&gt;
Notably, positions that combine [ELECTED] and [APPOINTED_BY] are normally impossible to fill through regular mechanics. Premature succession bypasses both election and appointment entirely, making this combination uniquely reachable through this mechanism.&lt;br /&gt;
&lt;br /&gt;
No initial election takes place, and no subsequent elections will ever occur for that position. Succession always takes precedence over election, both in premature succession and in normal succession cases.&lt;br /&gt;
&lt;br /&gt;
This behavior applies only in Fortress mode, not during world generation. World-gen uses simplified and more efficient mechanics, and this interaction does not occur there. Premature succession can affect both site-level and civilization-level positions.&lt;br /&gt;
&lt;br /&gt;
====Multiple succession chains====&lt;br /&gt;
&lt;br /&gt;
Multiple succession chains may be defined and are resolved in the order they appear in the raws.&lt;br /&gt;
&lt;br /&gt;
If a position has both:&lt;br /&gt;
* a direct succession chain (A → C), and&lt;br /&gt;
* a multi-step chain (A → B → C),&lt;br /&gt;
&lt;br /&gt;
and intermediate positions are vacant, resolution proceeds according to raw order. A common outcome is:&lt;br /&gt;
# The direct succession (A → C) is applied first, assigning A to C.&lt;br /&gt;
# The remaining chain then advances (A → B).&lt;br /&gt;
# If C still has empty slots, the final step (B → C) may occur.&lt;br /&gt;
&lt;br /&gt;
If position B is already filled, behavior depends entirely on raw definition order:&lt;br /&gt;
* nothing may happen, or&lt;br /&gt;
* B may move to C first, followed by A moving to B.&lt;br /&gt;
====Working triggers====&lt;br /&gt;
Premature succession is triggered when a succeedable position is created under the following conditions:&lt;br /&gt;
* The succeedable position is created because its [REQUIRES_POPULATION] threshold is reached. This applies even if the position is not [APPOINTED_BY]. Premature succession takes priority over automatic assumption (e.g. the mayor declaring themselves within a day).&lt;br /&gt;
* The succeedable position can be [APPOINTED_BY] another position of the same level (site or civ) that has just been created because its [REQUIRES_POPULATION] was reached.&lt;br /&gt;
* The succeedable position can be appointed by another [SITE] [AS_NEEDED] position that has just been created and filled.&lt;br /&gt;
* The succeedable (site or civ) position is [APPOINTED_BY] the [LAND_HOLDER] position, which has just been created due to site elevation. This typically resolves when the diplomat leaves the map, at which point the landholder position becomes active.&lt;br /&gt;
* If all other requirements are met, premature succession can occur immediately after unpausing following embark, for positions with [REQUIRES_POPULATION:7].&lt;br /&gt;
====Non-working triggers====&lt;br /&gt;
Premature succession does '''not''' occur in the following cases:&lt;br /&gt;
* An [AS_NEEDED] succeedable position slot is manually created by the player while its succeeding position is already filled. [AS_NEEDED] positions must always be appointed after creation.&lt;br /&gt;
* The succeeding position is filled after the succeedable position becomes available. The moment of creation is the decisive trigger; filling the source position later is too late.&lt;br /&gt;
* The succeedable position can be appointed by another site or civ position with a fixed number of slots that has just been appointed. In this case, the succeedable position is just available for appointment itself, nothing more&lt;br /&gt;
* Any situation occurring during world generation.&lt;br /&gt;
* The succeeding position is [REPLACED_BY] the succeedable position. In this case, replacement removes the unit from the source position first, leaving no holder available for the succession mechanism to use.rst, leaving no holder available for the succession mechanism to use.&lt;br /&gt;
* The position is [APPOINTED_BY] a civ-level position, that just became a citizen of your fortress. It must be noted that those civ-level positions were active all that time and the succeedable position could be appointed even before. The monarchs arrival does not trigger premature succession&lt;br /&gt;
&lt;br /&gt;
=Losing a position=&lt;br /&gt;
&lt;br /&gt;
A unit can lose a position when:&lt;br /&gt;
* It dies&lt;br /&gt;
* It succeeds another position, even if it has nothing to do with the previous position.&lt;br /&gt;
* It is assigned to another SQUAD-holding position&lt;br /&gt;
* It is convicted of a crime.&lt;br /&gt;
* Another unit is ELECTED for the position&lt;br /&gt;
* Its position becomes replaced&lt;br /&gt;
* Another unit is appointed by the player, or the position is left vacant. &lt;br /&gt;
* It has assumed another position, as this always leaves the previous position vacant.&lt;br /&gt;
&lt;br /&gt;
=Embarkment=&lt;br /&gt;
Two types of positions are automatically filled by embark. &lt;br /&gt;
* Positions without [APPOINTED_BY] or [ELECTED] (assumable). All these positions, even with a NUMBER higher than 1, are all filled with one to three dwarves. Contrary to assumption, this doesn't take into account any limitations. REJECTED_CLASS, ALLOWED_CLASS, REJECTED_CREATURE, ALLOWED_CREATURE and GENDER are applied, but without the normal spread you may expect with assumptions. Also it doesn't look at [SUCCESSION] and [SQUAD] limitations.&lt;br /&gt;
* Positions that are elected are filled-in by the normal election rules.&lt;br /&gt;
&lt;br /&gt;
Positions that have a defined appointer are never initially filled at embark.&lt;br /&gt;
&lt;br /&gt;
All positions that don't have [REQUIRES_POPULATION]  or with a [REQUIRES_POPULATION] of 7 or lower, will be available at embark.&lt;br /&gt;
&lt;br /&gt;
=Land Holders=&lt;br /&gt;
&lt;br /&gt;
A Landholder is a '''special civ-level noble''' who gets a certain piece of land to hold, when that land is elevated to a certain level, determined by the tag [LAND_HOLDER] and by the landholder triggers in the game's settings. In vanilla, these are the baron, the count and the duke. &lt;br /&gt;
&lt;br /&gt;
A unit gaining the landholder position does not migrate to that specific named land. In world-gen, they stay just where they are, probably at the capital. In fortress mode, you can suggest a citizen for the role. So for the time being that works.&lt;br /&gt;
&lt;br /&gt;
Succession is then a real issue. If you use BY_HEIR, its solved when that landholder has children living at your site. But when its not the case, the title just goes to anyone randomly. Succession BY_POSITION works, but only in the civ-chain, and there's no way to guarantee a civ-holder is at your site at that time. Even with 'automatic spread' positions, it goes to one of them randomly.&lt;br /&gt;
&lt;br /&gt;
==Functioning of the regular landholder chain==&lt;br /&gt;
&lt;br /&gt;
The distinct difference between a landholder and a regular civ-level noble, is that a landholder may gain the position of landholder &amp;quot;of (sitename)&amp;quot; They are then seen as ruler of a particular site. &lt;br /&gt;
&lt;br /&gt;
For a land_holder position to function as such, it has a few requirements:&lt;br /&gt;
* NUMBER:AS_NEEDED &lt;br /&gt;
* The first landholder-number of 1 is defined. &lt;br /&gt;
* No SITE (so civ) tag in that position.&lt;br /&gt;
*REPLACED_BY the next level landholder&lt;br /&gt;
If a landholder is defined with differentiating properties, it will function like a regular noble. A higher-up landholder that lacks the required tokens or connections will then not be used in elevation. &lt;br /&gt;
&lt;br /&gt;
If a fortress meets the trigger for a new LAND_HOLDER tier when a caravan leaves, then the next time the outpost liaison or equivalent arrives, they will offer to make you an official colony, which will allow you to select all positions for that LAND_HOLDER level. Each time they appear, the outpost liaison will only promote your fortress one tier up the LAND_HOLDER track. &lt;br /&gt;
&lt;br /&gt;
The landholder's LAND_NAME is not required for the functioning of this system. If omitted, messages will be shown with a more generic text.&lt;br /&gt;
&lt;br /&gt;
==Appointment==&lt;br /&gt;
&lt;br /&gt;
This mechanism differs from the regular methods of position management. It ignores all regular appointment- and election rules, so it more or less functions like automatic assignment. A landholder is, in vanilla, appointed by the monarch. Changing this doesn't seem to do anything. If they are appointed by a site-position, a not-yet-existing civ-position, or not appointed at all: the system keeps working as usual. &lt;br /&gt;
&lt;br /&gt;
A landholder can appoint civ-positions and site positions. This works as expected: the positions only are appointed then when that landholder becomes available on civ-level or when he arrives at that site for site-level positions. &lt;br /&gt;
&lt;br /&gt;
If your rank of landholder is the first of its rank in the realm, and is the sole appointer of some civ-position, then immediately as it gains the title, it will appoint the empty civ-slots. This may happen on your site, but the frequency and certainty is hard to determine.&lt;br /&gt;
&lt;br /&gt;
==Succession==&lt;br /&gt;
&lt;br /&gt;
Succession rules are applied to some extent:&lt;br /&gt;
* In world-gen it works according to succession rules, and site-positions can be used here.  This means that a site position or a civ-position can inherit a landholder position, and vice versa.&lt;br /&gt;
* In fortress mode, once a landholder has been appointed, it then can inherit civ-level positions, and vice versa. This means that your baron can become king. &lt;br /&gt;
* Succession rules do not apply within the [LAND_HOLDER] chain; a count will not inherit a baron's land. This is because succession does not work well with the AS_NEEDED token.&lt;br /&gt;
* Premature succession works in fortress mode with landholders. If a unit gets a landholder's position and that landholder is the appointer of an as yet empty position, which is defined as succeeding from a third one, then the succession is immediately applied. The landholder themselves can even be the successor of a newly created position.&lt;br /&gt;
* A landholder's position is, in fortress mode, not successionable by a site-position or vice versa&lt;br /&gt;
&lt;br /&gt;
===Impossibilities for succession by a site-position===&lt;br /&gt;
It would be very beneficial if the landholder can be succeeded by a [SITE]-position. So far, the following tests have not lead to positive results:&lt;br /&gt;
* making landholder and site-position both non-[DUTY_BOUND]&lt;br /&gt;
* make the site-position be [APPOINTED_BY] the landholder and/or the monarch&lt;br /&gt;
* give landholder and site-position [REJECTED_CREATURE]&lt;br /&gt;
* Let the monarch live at your site when succession could happen.&lt;br /&gt;
* Let the site-position be [REPLACED_BY] the landholder.&lt;br /&gt;
&lt;br /&gt;
==Nomination==&lt;br /&gt;
&lt;br /&gt;
The player is able to nominate a unit to become the LAND_HOLDER, but this only works with units of [LAND_HOLDER] level 1. The player can select all units, only limited by the PRECEDENCE of the current units' positions.&lt;br /&gt;
&lt;br /&gt;
A unit that has a position with a PRECEDENCE lower or equal to that of the landholder's position, cannot be selected. This means that a baron (or count) from another site or the monarch cannot be selected, because their precedence is lower or equal. &lt;br /&gt;
&lt;br /&gt;
The GENDER  token does not work here: also units with the wrong gender (sorry) can be selected.&lt;br /&gt;
&lt;br /&gt;
==Levels==&lt;br /&gt;
In mods, up to 10 levels of LAND_HOLDER may be defined. &lt;br /&gt;
&lt;br /&gt;
If a landholder is replaced by a wrong landholder number (1 replaced by 3), then the number 3 is still correctly attached to the settlement. &lt;br /&gt;
&lt;br /&gt;
If the current landholder has the highest available landholder number, then the next elevation will not happen - the diplomat will not elevate your fortress to a higher position, even if that position might be REPLACED_BY a lower landholder. &lt;br /&gt;
&lt;br /&gt;
These chains do work:&lt;br /&gt;
* 1 -&amp;gt; 2a - &amp;gt; 2b -&amp;gt; 3&lt;br /&gt;
* 1 -&amp;gt; 3 -&amp;gt; 2 -&amp;gt; 4&lt;br /&gt;
&lt;br /&gt;
These chains do not work:&lt;br /&gt;
* 2 -&amp;gt; 3 (need to start at 1)&lt;br /&gt;
* 1 -&amp;gt; 4 -&amp;gt; 2 -&amp;gt; 3 (stops after 4 as the highest)&lt;br /&gt;
* 1a -&amp;gt; 2, 1b -&amp;gt; 2 (only 1a and 2 work, 1b is not used)&lt;br /&gt;
&lt;br /&gt;
==Moving landholders==&lt;br /&gt;
&lt;br /&gt;
It may happen that a land-holder no longer lives at the site which they are the landholder of, specifically when the current landholder dies, leaving the title to an heir living somewhere else. &lt;br /&gt;
&lt;br /&gt;
To prevent this from happening, you can make their succession from heir and make sure that their kids live at your site. Or, you can make their position succeeded by another civ position, and make it so that this civ position is somehow available on your site. But if multiple of these positions exist, it cannot be guaranteed that a citizen of your fortress will inherit the title. &lt;br /&gt;
&lt;br /&gt;
In world gen, a landholder lacking the DUTY_BOUND-token will also move to the site they like, according to legends mode.&lt;br /&gt;
&lt;br /&gt;
==Replacement by a generic civ-position==&lt;br /&gt;
&lt;br /&gt;
If a landholder is replaced by an AS_NEEDED non-landholder civ-position, then this will work: the current landholder loses that title upon settlement-elevation and gains that civ-title. However, the civ-title lacks the landholder-property of being attached to the land. It will not show the name of the settlement alongside the position's name. So no &amp;quot;minister of Shovelmounts&amp;quot;&lt;br /&gt;
&lt;br /&gt;
If a landholder is replaced by a general AS_NEEDED civ-position, that itself is also replaced by a generic AS_NEEDED civ-position, then firstly the elevation is executed and also the unit gains that new position. However, he immediately loses it, because an AS_NEEDED position that is replaced by another position can be filled initially, but units wont be able to hold that title.&lt;br /&gt;
&lt;br /&gt;
==Landholder with fixed number==&lt;br /&gt;
&lt;br /&gt;
A landholder's position that has a fixed number will be created and filled directly when the civilisation is born, so this position slot is then not available for the regular landholder-mechanic and will also not be used. That landholder will thus not be attached to a settlement. &lt;br /&gt;
&lt;br /&gt;
It doesn't matter if the landholder's position is connected to the regular landholder's-chain with the REPLACE_BY token.&lt;br /&gt;
&lt;br /&gt;
==Responsibilities==&lt;br /&gt;
&lt;br /&gt;
When given a certain [RESPONSIBILITY], a landholder may function as a regular civ-level noble. If the position has [TRADE] or [OUTPOST_NEGOTIATING] responsibilities, then the landholder functions both as a diplomat and as an actual land holder. A landholder with the [MILITARY_STRATEGY]  responsibility will travel around taming creatures in world-gen, according to legends mode. &lt;br /&gt;
&lt;br /&gt;
Besides that, the responsibilities work the same as with any other on-site living position-holder, civ or otherwise.&lt;br /&gt;
&lt;br /&gt;
=Military=&lt;br /&gt;
==Squad management==&lt;br /&gt;
In the vanilla game, the Squad interface only becomes available after a militia commander has been appointed. Until then, the window displays:{{DFtext|You must appoint somebody first to create a squad.}}&lt;br /&gt;
&lt;br /&gt;
What’s surprising is how this is determined internally. In the entity raw definition, '''only the last two positions that include a [SQUAD] token are checked''' to decide whether the interface is accessible at all. As a result, if your hierarchy defines commanders A through E, appointing '''Commander D or E''' unlocks squad formation, while appointing A–C does nothing.&lt;br /&gt;
&lt;br /&gt;
In other words, squad availability is not tied to ''having a militia commander'', but to ''which specific positions happen to be last in the raw list''—a notably hacky implementation.&lt;br /&gt;
&lt;br /&gt;
These 'last two' are always the last two '''available positions.''' So if they get [REPLACED_BY] or become available because of [REQUIRES_POPULATION], the game adapts to those.&lt;br /&gt;
&lt;br /&gt;
==Squad assignment==&lt;br /&gt;
&lt;br /&gt;
Squads can be assigned, even if the leader position has no holder.&lt;br /&gt;
&lt;br /&gt;
A specific unit can only have one position associated with a squad. If it gains another 'squad holding position', it is unassigned from the first one. This does not work with a 0-squad, so only 1+squads are taken into consideration. This technique can possibly be used to distribute all positions equally among all citizens. It does however not work with election and assumption. &lt;br /&gt;
&lt;br /&gt;
If a civ-level position is associated with a squad and it gets a site-level squad-holding position assigned, it loses the current civ-position. &lt;br /&gt;
&lt;br /&gt;
Squads can get really messed up, if you make the position (or multiple) either elected or not-elected and not-appointed, then this can cause the game to assign multiple squads to the same unit. Automatic assignment and election does not take squads into account, but the nobles screen does. This can cause the positions to be cleared as the game figures out that they have more than one position, and immediately get elected or assumed again. &lt;br /&gt;
&lt;br /&gt;
Positions that cannot have a squad-position:&lt;br /&gt;
* A site- or civ-position with a [SUCCESSION] token cannot be appointed a squad-holding-position. The other way around, however, does work. For example, if a site-position with a [SUCCESSION]-token is appointed to a unit that has already a position with [SQUAD]. But when that squad position is assigned to another unit, it cannot be assigned back. &lt;br /&gt;
* A position with [SUCCESSION] can also not be assigned as a '''member''' of a squad.&lt;br /&gt;
* A squad-holding position with a formed squad cannot be appointed to another squad holding position.&lt;br /&gt;
&lt;br /&gt;
If a position has at least one squad member, it cannot be left vacant. First, the squad has to be disbanded, then the position may be cleared.&lt;br /&gt;
&lt;br /&gt;
==0-squads==&lt;br /&gt;
A 0-Squad is defined in a position as [SQUAD:0:member:members]. It does not seem to do anything useful as of now.&lt;br /&gt;
* It cannot be used to activate the [[Squad|military interface]]&lt;br /&gt;
* It does not restrict the assignment of [SUCCESSION] positions.&lt;br /&gt;
* Assigning this position does not clear any previously held squad position.&lt;br /&gt;
* The [[Leader]] and [[Tactician]] skill are not marked as relevant skills and are not taken into account in elections.&lt;br /&gt;
* It cannot be formed as a squad.&lt;br /&gt;
&lt;br /&gt;
=Further testing=&lt;br /&gt;
The following questions may need additional testing. Feel free to add or answer&lt;br /&gt;
* Everything regarding COMMANDING and army-structure&lt;br /&gt;
** [http://www.bay12forums.com/smf/index.php?topic=175437.msg8331668#msg8331668]&lt;br /&gt;
** [http://www.bay12forums.com/smf/index.php?topic=165213.msg8335682#msg8335682]&lt;br /&gt;
** [http://www.bay12forums.com/smf/index.php?topic=174584.msg8026854#msg8026854]&lt;br /&gt;
* Everything regarding CONQUERED_SITE, but it is presumably just like site. But what if you combine SITE or LAND_HOLDER with it?&lt;br /&gt;
* Stuff about the monarch, its arrival and its entourage.&lt;br /&gt;
&lt;br /&gt;
=Oddities (Bugs)=&lt;br /&gt;
Almost everything on this page could be called an oddity. Because of their unexpected usability, some may also be referred to as “undocumented features.” Others, however, are simply odd and not particularly useful, yet I hesitate to call them “bugs.”&lt;br /&gt;
* If a certain threshold is reached that makes an elected position electable, and the triggering event that initiates this evaluation is an assumption, then the resulting assumption is also referred to in the messages as an election&lt;br /&gt;
&lt;br /&gt;
=Examples=&lt;br /&gt;
&lt;br /&gt;
===The Founder===&lt;br /&gt;
The founder is a single dwarf, appointed at embark. They will be the only one ever to have this position and are not replaceable. When they lose their position some way, the position will not be assumed by another dwarf. &lt;br /&gt;
{{gamedata|title=The Founder|&lt;br /&gt;
[POSITION:THE_FOUNDER]&lt;br /&gt;
	[NAME:the founder:founders]&lt;br /&gt;
	[NUMBER:1] &lt;br /&gt;
	[SITE]&lt;br /&gt;
	[ALLOWED_CREATURE:DWARF:ALL]		- will only be filled at embark, but not assumable later.&lt;br /&gt;
	[REJECTED_CREATURE:DWARF:ALL]		- will only be filled at embark, but not assumable later.&lt;br /&gt;
	[SUCCESSION:BY_POSITION:THE_FOUNDER]	- not unassignable, also cannot be assigned to a [SQUAD] position.&lt;br /&gt;
	[PRECEDENCE:200] &lt;br /&gt;
	Non APPOINTED_BY&lt;br /&gt;
	Non ELECTED&lt;br /&gt;
	Optional: Add responsibilities to make the game select a unit with certain skills.&lt;br /&gt;
}}&lt;br /&gt;
===Marriage bar===&lt;br /&gt;
Dwarven matrons are held in great honour. Upon marriage, a female dwarf is no longer expected to perform menial labour. All dwarven males hold this position by default, granting their spouses exemption from menial work.&lt;br /&gt;
&lt;br /&gt;
The position becomes available with the arrival of the first migrants; otherwise, on embark, it would be assumed by females. Its succession rule is non-functional, but this prevents the player from unassigning the position. A squad size of 1 and the succession rules together prevent a unit from assuming the position more than once.&lt;br /&gt;
&lt;br /&gt;
With precedence set to NONE, the position name is hidden, while LAND_NAME remains visible on the nobles screen. All married females receive the suffix “, Mrs.” and are marked as Nobles.&lt;br /&gt;
&lt;br /&gt;
The practical usefulness of this position is debatable, but it serves as a clear demonstration of several mechanics.&lt;br /&gt;
{{gamedata|title=Mrs. Urist|&lt;br /&gt;
 &lt;br /&gt;
[POSITION:MRS_URIST]	&lt;br /&gt;
	[NUMBER:300]						&lt;br /&gt;
	[SITE]						&lt;br /&gt;
	[ALLOWED_CREATURE:DWARF:MALE]	&lt;br /&gt;
	Not APPOINTED_BY				&lt;br /&gt;
	Not ELECTED&lt;br /&gt;
	[LAND_NAME:Dwarven male]				&lt;br /&gt;
	[NAME:dwarven male:dwarven male]&lt;br /&gt;
	[PRECEDENCE:NONE]					&lt;br /&gt;
	[SPOUSE_FEMALE:, Mrs.:spouses]&lt;br /&gt;
	[MENIAL_WORK_EXEMPTION_SPOUSE]&lt;br /&gt;
	[REQUIRES_POPULATION:8]			&lt;br /&gt;
	[SUCCESSION:BY_POSITION:MONARCH]&lt;br /&gt;
	[SQUAD:1:member:members]&lt;br /&gt;
}}&lt;br /&gt;
===The Archduke===&lt;br /&gt;
The archduke is the leader of the civilization, but exists only from landholder 4-level. Until then, its position remains vacant. When a settlement is elevated to tier 4 (grand duke), the grand duke can appoint the ruler of the civilisation, the archduke. Because of 'Premature Succession', they themself inherents that position immediately. Its heir then becomes grand duke.&lt;br /&gt;
{{gamedata|title=The Archduke| no POSITION:MONARCH&lt;br /&gt;
&lt;br /&gt;
[POSITION:THE_ARCHDUKE]&lt;br /&gt;
	[NAME:archduke:archdukes]&lt;br /&gt;
	[NAME_MALE:archduke:archdukes]&lt;br /&gt;
	[NAME_FEMALE:archduchess:archduchesses]&lt;br /&gt;
	[LAND_NAME:a archduchy]&lt;br /&gt;
	[NUMBER:1] &lt;br /&gt;
	[PRECEDENCE:1] &lt;br /&gt;
	[SUCCESSION:BY_POSITION:GRAND_DUKE]	&lt;br /&gt;
	[APPOINTED_BY:GRAND_DUKE]&lt;br /&gt;
	(add additional monarch-stuff, like spouse name, demands etc.)&lt;br /&gt;
	&lt;br /&gt;
[POSITION:GRAND_DUKE]&lt;br /&gt;
	[NAME:grand duke:grand dukes]&lt;br /&gt;
	[NAME_MALE:grand duke:grand dukes]&lt;br /&gt;
	[NAME_FEMALE:grand duchess:grand duchesses]&lt;br /&gt;
	[NUMBER:AS_NEEDED] &lt;br /&gt;
	[LAND_HOLDER:4]&lt;br /&gt;
	// Optional ...&lt;br /&gt;
	[PRECEDENCE:19]	&lt;br /&gt;
	[LAND_NAME:a archduchy] &lt;br /&gt;
	[RESPONSIBILITY:LAW_MAKING]&lt;br /&gt;
	[RESPONSIBILITY:RECEIVE_DIPLOMATS]&lt;br /&gt;
	[SUCCESSION:BY_HEIR]&lt;br /&gt;
	[APPOINTED_BY:THE_ARCHDUKE]&lt;br /&gt;
	(add additional landholder-stuff)&lt;br /&gt;
&lt;br /&gt;
!!add to [POSITION:DUKE]&lt;br /&gt;
	[REPLACED_BY:GRAND_DUKE]&lt;br /&gt;
&lt;br /&gt;
}}&lt;br /&gt;
{{Category|Modding}}&lt;br /&gt;
{{Category|Entities}}&lt;br /&gt;
{{Category|Guides}}&lt;/div&gt;</summary>
		<author><name>Joostheger</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=Advanced_entity_position_mechanics&amp;diff=314867</id>
		<title>Advanced entity position mechanics</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=Advanced_entity_position_mechanics&amp;diff=314867"/>
		<updated>2026-02-10T10:19:52Z</updated>

		<summary type="html">&lt;p&gt;Joostheger: /* Premature Succession */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Quality|Fine}}&lt;br /&gt;
{{Modding}}&lt;br /&gt;
&lt;br /&gt;
= Introduction = &lt;br /&gt;
&lt;br /&gt;
[http://www.bay12forums.com/smf/index.php?topic=182239.0 Discussion thread on the forum]&lt;br /&gt;
&lt;br /&gt;
This page documents observed and tested behavior of entity positions in Dwarf Fortress that is not fully described elsewhere on the wiki. It focuses on advanced interactions between position tokens, including appointment, succession, election, and responsibility handling, across both civilization-level and site-level entities.&lt;br /&gt;
&lt;br /&gt;
The mechanics described here are based on empirical testing in world generation and fortress mode, supplemented where necessary by raw analysis. In several cases, the game’s behavior is determined by evaluation order and interaction between multiple tags, rather than by individual tokens in isolation.&lt;br /&gt;
&lt;br /&gt;
This page is intended for modders and advanced players who are designing or debugging custom entity position structures. It does not restate basic position mechanics, but instead highlights edge cases, non-obvious interactions, and behaviors that may appear inconsistent or undocumented.&lt;br /&gt;
&lt;br /&gt;
Unless stated otherwise, the described behavior applies to current versions of the game and may differ from older releases.&lt;br /&gt;
&lt;br /&gt;
==What is an entity? What is a position?==&lt;br /&gt;
An [[entity]] is an organizational structure that can have relationships with other entities, usually known as a [[civilization]] or a &amp;quot;[[site]] government&amp;quot; in the game, but merchant [[guild]]s, religious organizations, necromancer towers, and [[bandit]] groups are also entities. An entity can have positions - in most cases, these are hardcoded and generated by the game, but as for civilizations and sites, the [[raw file]]s can be customised.&lt;br /&gt;
&lt;br /&gt;
A position is a special relationship between a unit and an entity. The unit holding a position has a larger influence over that entity than other citizens. Positions are mostly known as [[nobles]], but in this article. the technical term is used.&lt;br /&gt;
&lt;br /&gt;
=Position levels (Site/Civ) and their interaction=&lt;br /&gt;
There are two basic types of positions that are customizable: '''civ(ilization)''' level and '''site level'''. Positions with the tag [SITE] are at site level, positions without the tag [SITE] are at 'civ level'. These two types of nobles can be considered '''loosely related systems'''. There are a few places where they can interact with each other.&lt;br /&gt;
&lt;br /&gt;
Civ-level positions are in charge of the civilization as a whole, managing national [[trade]], laws, and [[war]]s. These are, for example, the vanilla [[monarch]], [[diplomat]] and [[general]]. (Note that the general doesn't do anything in either mode in the current version.)&lt;br /&gt;
&lt;br /&gt;
'''[LAND_HOLDER]''' nobles are also positions at civ-level. These units are members of the national government, but have gained authority over some land or site. Once they do, they move to that place, but their position is still regarded as a civ-level position.&lt;br /&gt;
&lt;br /&gt;
Site-level position holders are members of a site government (subsidiary to the civilization), and manage local affairs in that location. These are, for example, the [[mayor]], the [[sheriff]] and the [[broker]].&lt;br /&gt;
&lt;br /&gt;
==Table of interaction between different position levels==&lt;br /&gt;
In this table, the possible interactions between different position levels are summarized. &lt;br /&gt;
The header row shows the positions defining the tokens.&lt;br /&gt;
&lt;br /&gt;
The left column shows the position type that is referred to.&lt;br /&gt;
Example:  &lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! referred position-type&lt;br /&gt;
! LAND_HOLDER&lt;br /&gt;
|-&lt;br /&gt;
| civilization&lt;br /&gt;
|  &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;(baron is) APPOINTED_BY:MONARCH&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
color coding: &amp;lt;/br&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;Exists in vanilla&amp;lt;/span&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;Possible with mods&amp;lt;/span&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;Not possible&amp;lt;/span&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;possible to some extent.&amp;lt;/span&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;not yet fully investigated.&amp;lt;/span&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! referred position-type&lt;br /&gt;
! Civilization&lt;br /&gt;
! SITE&lt;br /&gt;
! LAND_HOLDER&lt;br /&gt;
! CONQUERED_SITE&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Civilization&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;SUCCESSION '''(1)'''&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| SITE&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;SUCCESSION '''(2)'''&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;APPOINTED_BY '''(3)'''&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;SUCCESSION '''(4)'''&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| LAND_HOLDER&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY '''(6)'''&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;SUCCESSION '''(5)'''&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;REPLACED_BY '''(7)'''&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;SUCCESSION '''(8)'''&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;CONQUERED_SITE&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; COMMANDER &amp;lt;/br&amp;gt; REPLACED_BY &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt; SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;APPOINTED_BY &amp;lt;/br&amp;gt; COMMANDER &amp;lt;/br&amp;gt; REPLACED_BY &amp;lt;/br&amp;gt; SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;APPOINTED_BY &amp;lt;/br&amp;gt; COMMANDER &amp;lt;/br&amp;gt; REPLACED_BY &amp;lt;/br&amp;gt; SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;APPOINTED_BY &amp;lt;/br&amp;gt; COMMANDER &amp;lt;/br&amp;gt; REPLACED_BY &amp;lt;/br&amp;gt; SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Remarks:&lt;br /&gt;
# Works only in world-gen, if a unit with that civ-position is present at the site.&lt;br /&gt;
# Works only in world-gen, the site-position holding unit will then move to the capital.&lt;br /&gt;
# Is completely ignored&lt;br /&gt;
# Works only in world-gen.&lt;br /&gt;
# Works only in world-gen.&lt;br /&gt;
# Won't appear at all&lt;br /&gt;
# This is necessary for the landholder chain to work properly, it doesn’t work otherwise.&lt;br /&gt;
# This works only outside of the landholder chain, so when landholders are simply regarded as civ-level nobles. might also work in world-gen&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
== Other interactions ==&lt;br /&gt;
&lt;br /&gt;
Unfortunately, interactions with positions of other entities don't seem possible, such as APPOINTED_BY: HIGH_PRIEST. With [VARIABLE_POSITIONS], positions are automatically created with codes like CUSTOM_LAW_MAKER_2, but interaction with these positions don't seem to work, either. For more info on those, see [[Variable positions]]&lt;br /&gt;
&lt;br /&gt;
=General=&lt;br /&gt;
&lt;br /&gt;
==Civ-level nobles living at your site==&lt;br /&gt;
Nobles from your civilization can come to live at your fortress. This happens in vanilla with landholders such as [[Baron]], [[Count]] and [[Duke]], with the Monarch, but sometimes also with non-landed LAND_HOLDERS.&lt;br /&gt;
&lt;br /&gt;
When a civ-level noble becomes a [[citizen]] at your location, their position is shown among the site-level positions in your [[nobles screen]]. They appear to function as a site-level noble. They may have [[demand]]s, [[mandate]]s, [[squad]]s and the like. They can appoint nobles at the site-level.&lt;br /&gt;
&lt;br /&gt;
If they have certain [RESPONSIBILITY]ies, they do the tasks that go with them.&lt;br /&gt;
&lt;br /&gt;
==Fortress mode, world-gen and their differences==&lt;br /&gt;
Their are a few differences in how positions function between fortress mode (normal play mode) and the world generation (world-gen). &lt;br /&gt;
&lt;br /&gt;
In '''fortress mode''', the player has some control over the appointment of nobles, limited by elections, automatic filled-in positions and succession rules. Pre-fortress mode, which is referred to as '''world-gen''', the game will always attempt to assign nobles whenever possible. It is subjected to the same rules as in fortress-mode, but there are some exceptions. In '''[[World activities]]''', which is the thing that happens in the world while you play fortress mode, it seems as if the same rules are applied as fortress mode. &lt;br /&gt;
&lt;br /&gt;
A difference between player-fortress-mode and world-gen, is causes by visibility (see below). Positions that are not visible by the player and thus not available for assignment, will be available in world-gen and will thus be automatically assigned.&lt;br /&gt;
&lt;br /&gt;
In fortress mode, a position that is both [ELECTED] and [APPOINTED_BY], cannot be appointed by the player and is also not elected, and can thus not be filled. But in world-gen sites however, these positions are automatically filled.&lt;br /&gt;
&lt;br /&gt;
Positions with [AS_NEEDED] are almost never created and filled in world-gen (depending on their [RESPONSIBILITY]ies), but can always be used in player mode.&lt;br /&gt;
&lt;br /&gt;
A position can, in fortress mode, be filled by the same unit. A unit can gain multiple positions in fortress mode, for example because of [[elections]]. This will not happen in world-gen mode: a unit can only have one position. See also remarks on 'embark' and 'Losing a position'.&lt;br /&gt;
&lt;br /&gt;
In world-gen, [SUCCESSION] between civ-levels and [SITE-]levels may happen. This will not happen in fortress mode, or even off-site in [[World activities]].&lt;br /&gt;
&lt;br /&gt;
In fortress mode, premature SUCCESSION may happen. This will not happen in world-gen mode.&lt;br /&gt;
&lt;br /&gt;
==Units holding multiple positions in multiple entities==&lt;br /&gt;
A unit can hold multiple positions in its civilisation or in its site-entity, however this does not happen in world-gen. Only at player-managed sites can units be holding multiple positions at once. (It is probably not possible for a unit to hold a position in two different civilisations or two different sites.)&lt;br /&gt;
&lt;br /&gt;
In world-gen, if there are too many positions to be filled, they simply stay empty until more units are available. E.G, a unit at a site might inherit a civ-level position and still remain a member of the local government. When this happens however, they move to the capital. If a unit gains a new position, either inherited or otherwise, it drops the previous one. If a unit assumes a civ-position in fortress mode, it leaves the current position. &lt;br /&gt;
&lt;br /&gt;
If a unit holds the same (site-)position multiple times, it has no additional effect.&lt;br /&gt;
&lt;br /&gt;
If a unit holds multiple different positions of the same entity, it has all those positions' responsibilities and properties, stacked up. Presumably, the demands for those combined positions are determined by the highest.&lt;br /&gt;
 &lt;br /&gt;
A unit holding a position with a succession token can be assigned another position with a (different) succession token. &lt;br /&gt;
&lt;br /&gt;
A unit holding a position with a squad-position cannot hold another squad-position. It is dropped from the first, when it gets its second assigned. &lt;br /&gt;
A unit holding a position with a succession token cannot be assigned to a squad-position - the unit is simply not available. It works the other way around, though.&lt;br /&gt;
&lt;br /&gt;
=[PRECEDENCE]=&lt;br /&gt;
The first defined position with precedence of 1 counts as the ruler of the civ. See also: [[Position_token#PRECEDENCE|PRECEDENCE]]. &lt;br /&gt;
&lt;br /&gt;
If the precedence is omitted or has a negative value, the game sets 0 as precedence, which seems to have no effect whatsoever.&lt;br /&gt;
&lt;br /&gt;
When a unit has multiple positions, the name of the position with the highest rank in precedence is shown behind the unit's name.&lt;br /&gt;
&lt;br /&gt;
If you omit precedence entirely, or set it to [PRECEDENCE:NONE], the position name will not be shown after the unit’s name. Your *Urist Mason* will remain simply *Mason*. This can be useful for positions that are unimportant or purely functional. The position will also not appear in the civilisation overview of your site on the world map. The position name is shown in messages, but remains hidden on the nobles screen as well. To make it visible there, use [LAND_NAME].&lt;br /&gt;
&lt;br /&gt;
=[RESPONSIBILITY]ies=&lt;br /&gt;
Both civ and [SITE] positions can carry responsibilities. However, not all responsibilities are active for both types: some function only for civ positions, others only for site positions. When a civ noble arrives at a site and takes up residence, they do not perform responsibilities that are intended for SITE nobles. As a result, these responsibilities neither trigger their associated tasks nor unlock related game mechanics. For example, a civ-level manager living in a fortress will not perform management duties there and doesn't unlock the management-screen, even with an assigned office. &lt;br /&gt;
This behavior applies to the following [SITE]-level responsibilities:&lt;br /&gt;
* [RESPONSIBILITY:ACCOUNTING]&lt;br /&gt;
* [RESPONSIBILITY:BUILD_MORALE]&lt;br /&gt;
* [RESPONSIBILITY:HEALTH_MANAGEMENT]&lt;br /&gt;
* [RESPONSIBILITY:LAW_ENFORCEMENT]&lt;br /&gt;
* [RESPONSIBILITY:MANAGE_PRODUCTION]&lt;br /&gt;
* [RESPONSIBILITY:MEET_WORKERS]&lt;br /&gt;
* [RESPONSIBILITY:TRADE]  (functions differently)&lt;br /&gt;
Other responsibilities may be affected as well, but have not yet been fully tested.&lt;br /&gt;
&lt;br /&gt;
==[DELIVERS_MESSAGES]==&lt;br /&gt;
The only [AS_NEEDED]-position that is created in worldgen based on responsibility is that of the site-level responsibility [DELIVERS_MESSAGES].&lt;br /&gt;
&lt;br /&gt;
==Outpost Liaisons and Diplomats==&lt;br /&gt;
Civ-positions with the responsibility [ESTABLISH_COLONY_TRADE_AGREEMENTS] ([[Outpost_Liaison|Outpost Liaison]]s) will meet with the site-noble who has responsibility for [RECEIVE_DIPLOMATS] and the highest rank of precedence (i.e. the lowest precedence value). Usually this is the [[Expedition_leader|Expedition leader]].&lt;br /&gt;
&lt;br /&gt;
Once a [LAND_HOLDER] is assigned to the site, civ-positions with the responsibility [MAKE_TOPIC_AGREEMENTS] ([[Diplomat]]s) will meet with '''civ'''-level nobles present at the site who have the [RECEIVE_DIPLOMATS] responsibility. If multiple eligible nobles are available, one is selected at random. If no eligible noble is present, the diplomat leaves angrily. If the landholder is no longer present at the site, diplomats will not arrive at all.&lt;br /&gt;
&lt;br /&gt;
It appears that Outpost Liaisons and Diplomats are chosen for a diplomatic mission based on availability. When multiple candidates exist, the position defined last in the raws is most often selected.&lt;br /&gt;
&lt;br /&gt;
==[TRADE]==&lt;br /&gt;
Civ-level nobles with [TRADE] will arrive with the caravan, just as the Outpost Liaison. Their behavior is no longer active in the vanilla game, but the mechanics are still present. See [[40d:Guild_representative|Guild representative]] for more details. This civ-noble will only meet with the SITE noble with [TRADE], usually the [[Broker]].&lt;br /&gt;
&lt;br /&gt;
If two civ-nobles exist with both [TRADE] and [ESTABLISH_COLONY_TRADE_AGREEMENTS], they both arrive at the same time. Even if both tokens are assigned to a single position, if more than one instance of that position exists, two of them will arrive. However in that case, somehow the elevation of the site and appointment of landholder isn't offered.&lt;br /&gt;
&lt;br /&gt;
If the SITE-noble they intend to meet has both [TRADE] and [RECEIVE_DIPLOMATS], only one meeting will proceed and the other is cancelled. However, when two SITE-nobles are available, each with either [TRADE] or [RECEIVE_DIPLOMATS], both meetings will proceed and both civ-nobles will attempt to negotiate a trade agreement. It is not known what happens if these agreements are accepted or refused.&lt;br /&gt;
&lt;br /&gt;
In the trade depot, the last defined position with the [TRADE] responsibility is shown as broker. However when requesting a trader, the first defined position with [TRADE] will actually go there to do the trade.&lt;br /&gt;
&lt;br /&gt;
==World-gen effects of the [RESPONSIBILITY] of available positions ==&lt;br /&gt;
It is possible to cause civs and individual sites to change their behavior substantially when they reach a certain size, by controlling nobles. &lt;br /&gt;
* If a site can only appoint a position with [MILITARY_GOALS] after reaching a particular size, that site will not send armies on missions until the required size is reached.&lt;br /&gt;
* A civ-level [LAW_MAKING] position is required for the civilization to have any kind of cohesion. Without it, sites will be constantly embroiled in territorial disputes and civil wars will be commonplace.&lt;br /&gt;
* [MILITARY_STRATEGY] positions go out and tame wild animals. This makes your civ gain those animals as domesticated and also brings them in sieges.&lt;br /&gt;
* The [[Personality_facet|Personality]] of the position's holder determines how they lead the civ.&lt;br /&gt;
&lt;br /&gt;
=Availability and visibility=&lt;br /&gt;
==Availability of (new) positions==&lt;br /&gt;
Warning: Do not mistake &amp;quot;availability&amp;quot; for &amp;quot;visibility&amp;quot;! &lt;br /&gt;
&lt;br /&gt;
Of all the possible positions existing in your site's entity, there may only be some available. &lt;br /&gt;
* Positions with [REQUIRES_POPULATION] require the population to have a specific size.&lt;br /&gt;
* Positions with [REQUIRES_MARKET] will only appear in &amp;quot;large&amp;quot; sites (which may have different rules for different site types). This tag has no effect in fort mode.&lt;br /&gt;
* Positions that are appointed by positions that have an AS_NEEDED number. The appointable positions only become available after an appointer position-slot is created. This works also on civ-level. If a position is appointed by a Land-holder, it only becomes available, when that level of landholder is created. &lt;br /&gt;
	&lt;br /&gt;
Only the replaced positions are culled and are no longer available. &lt;br /&gt;
A position that requires a certain population will become available, even if it doesn't have [APPOINTED_BY] or [ELECTED]. In that case, see 'automatic assignment' and 'assumption'&lt;br /&gt;
&lt;br /&gt;
In fortress mode, in some cases 'succession' is evaluated immediately after a position becomes available. See: Succession.&lt;br /&gt;
==Visibility of positions==&lt;br /&gt;
A position might be available, but can still be invisible for the player in the [[nobles screen]]. The positions with their respective holders are visible for players:&lt;br /&gt;
* All site-positions that are already filled-in (even if they could not be re-filled-in considering current conditions)&lt;br /&gt;
* Site positions that are appointable by a filled-in site position&lt;br /&gt;
* Site positions that are appointable by a filled-in civ position, when that civ positions holder becomes a citizen of your fortress.&lt;br /&gt;
* Civ positions of units that are also a citizen of your fortress.&lt;br /&gt;
If a position becomes available, for example because a certain pop number has been reached, or if it is available from the start(like expedition leader), as long as it cannot be appointed, it still is INVISIBLE for the player. &lt;br /&gt;
&lt;br /&gt;
It might strike someone as odd if a position becomes filled automatically in fortress mode when that position is not even visible. This might be the case if the current holder of a non-appointable position dies or succeeds another position. Regardless of player visibility, these positions will be automatically filled in if the necessary requisitions are met. It might happen with the expedition leader.&lt;br /&gt;
&lt;br /&gt;
A situation with a non-visible but available position, is for example when a position is solely appointed by the expedition leader, when the expedition leader's position is left vacant. It can no longer be appointed by the player and is invisible. Then, it gets automatically assumed, proving that the position still was available.&lt;br /&gt;
&lt;br /&gt;
A position that is both [APPOINTED_BY] and [ELECTED] is visible, but players cannot interact with it.&lt;br /&gt;
&lt;br /&gt;
=[NUMBER]=&lt;br /&gt;
A position might be defined with a number. In that case, as many as defined can be available. If the positions become available, in world-gen and when embarking, they are all filled-in completely.&lt;br /&gt;
&lt;br /&gt;
If the ruling position (with PRECEDENCE of 1) has a NUMBER higher than 1, a random unit of the ones holding these positions is shown as ruler in the embark screen.&lt;br /&gt;
&lt;br /&gt;
A [NUMBER] of 0 (zero) has the same effect as 1.&lt;br /&gt;
&lt;br /&gt;
==Automatic spreading of assumed, non-singular positions==&lt;br /&gt;
If there are civ positions that have a NUMBER higher then '1' and which are assumed (not APPOINTED_BY or ELECTED) but are '''not DUTY_BOUND''', these are automatically spread among the civilisation, based on population. If there are a number of '''20''' available slots of that position, they spread among a civilization with a combined population of, for example, 1000 of which your fortress has 100 (10%), '''2''' of your fortress' citizens will assume that position. &lt;br /&gt;
This may probably also work with elected and appointed positions, but that may be depending on the death of the current holders and this needs more testing. Assumption works within a day, anyway. &lt;br /&gt;
&lt;br /&gt;
==[AS_NEEDED]==&lt;br /&gt;
These positions can be created automatically by the game in world-gen. This, however, only works with: &lt;br /&gt;
* [LAND_HOLDER]'s&lt;br /&gt;
* squad commanders (needs more testing)&lt;br /&gt;
* Messengers at sites&lt;br /&gt;
&lt;br /&gt;
For all other types of positions, they're not created in world-gen, even if they are defined with RESPONSIBILITY's. For example, even in war, the game wouldn't create a MILITARY_GOALS position, if they have AS_NEEDED as number. &lt;br /&gt;
&lt;br /&gt;
However, in fortress mode / player mode, these positions can be created by the player at will.&lt;br /&gt;
&lt;br /&gt;
Positions with AS_NEEDED need to be created first, before any symbols are assignable as 'symbols' (objects) for the position holder to carry or wear.&lt;br /&gt;
&lt;br /&gt;
Positions with AS_NEEDED cannot be created and then ELECTED in fortress mode. It only works with APPOINTED_BY.&lt;br /&gt;
&lt;br /&gt;
=Replacement and Required Population=&lt;br /&gt;
&lt;br /&gt;
The token REPLACED_BY:position means that once the replacing position reaches its required population-number, the 'to-be-replaced' position will disappear. This is defined in REQUIRES_POPULATION. These tags are closely related to each other and seem to only have a meaningful function if combined. Nobles with REQUIRES_POPULATION require the population to have a specific size. &lt;br /&gt;
&lt;br /&gt;
This works on the civ-level as well as on site-level, but those systems are in this mechanic strictly separated. Site-level positions cannot be replaced by civ-level positions and visa versa. This makes sense, because they both depend on their own population-count. When using REQUIRES_POPULATION on civ-level, it counts the total population of the civilisation. &lt;br /&gt;
&lt;br /&gt;
See also: [[Advanced_entity_position_mechanics#Evaluation_of_Positions|Evaluation of positions]]&lt;br /&gt;
&lt;br /&gt;
==Effect of replacement (and on [LAND_HOLDER]s)==&lt;br /&gt;
&lt;br /&gt;
Replacement is immediate and complete - the current holding unit loses the position, even before SUCCESSION_BY_POSITION rules are applied. A position with a number of 1 will replace all the slots of a position with a higher number of slots. &lt;br /&gt;
&lt;br /&gt;
Even if the next position is available but not visible, replacement still takes place. If a position is replaced, it is completely gone - it cannot be appointed, succeeded, elected or assumed any longer.&lt;br /&gt;
The unit immediately loses its position.&lt;br /&gt;
&lt;br /&gt;
In legends, replacement is mentioned as: &amp;quot;(unit name) ceased to be (position name)&amp;quot; The replacement of an AS_NEEDED position empties the position's slot forever. In fortress mode, it may seem as if you can create new slots and appoint new units in the nobles screen, but this is reversed as soon as you close the window.&lt;br /&gt;
&lt;br /&gt;
The landholder chain uses [REPLACED_BY] differently. It does not clear the position completely, but uses it for succession to the next level's position. [REPLACE_BY] is required to let that system work properly. This also means that the way in which landholders succeed (replace + as_needed) does not work in any other way. &lt;br /&gt;
&lt;br /&gt;
Replacement between LAND_HOLDERS and other site- or civ positions does not work in any way. Only the vanilla replacement sequence between levels of LAND_HOLDERs does work. If the token is omitted for landholders, the landholder chain is broken, so replacement is required for the landholder system to work.&lt;br /&gt;
&lt;br /&gt;
[REQUIRES_POPULATION] also does not work for [LAND_HOLDER], when you set [NUMBER] to 1. The position is not created when the required population is reached.&lt;br /&gt;
&lt;br /&gt;
==What doesn't work==&lt;br /&gt;
&lt;br /&gt;
'''Attention: If a position cannot be appointed, for example because of 'mutual appointment', it still exists according to replacement mechanics and will replace other positions if so defined. If a certain position(a) will be replaced by the baron's assistant, which can only be appointed by the [LAND_HOLDER] baron, than that position(s) still will be replaced from the start of the game, even if no baron or their assistant is ever present.'''&lt;br /&gt;
&lt;br /&gt;
A position that is replaced by a somehow not-fillable position, is still replaced. This counts for mutual-appointing positions, replacement by not-yet-assigned landholders, replacement by AS_NEEDED positions, or replacement by not-yet-appointed positions. &lt;br /&gt;
&lt;br /&gt;
Replacement does not work if the replaced position is a [LAND_HOLDER], even with civ-positions. In that case, the LAND_HOLDER's position is not replaced. It does not matter if AS_NEEDED is used, or a fixed number, and it also does not matter what type of position the replacer is. So this only works (correctly) with positions that become available by REQUIRES_POPULATION.&lt;br /&gt;
&lt;br /&gt;
={{text anchor|Evaluation of Positions}}=&lt;br /&gt;
The game does not continuously check whether positions should become available, elected or be [REPLACE_BY]. This is well-known behavior—for example with the [[mayor]], who does not appear automatically when the required population ([REQUIRES_POPULATION]) is reached. Instead, positions must somehow be evaluated. This applies in several other situations as well &lt;br /&gt;
&lt;br /&gt;
'''Cases that require a trigger:'''&lt;br /&gt;
* Election of a newly created position&lt;br /&gt;
* Election after the current holder dies&lt;br /&gt;
* Automatic assumption of a newly created position (this may take up to a day)&lt;br /&gt;
* New citizens (such as migrants) considering available positions&lt;br /&gt;
* Premature succession of a newly created position&lt;br /&gt;
&lt;br /&gt;
'''Cases that do not wait for a trigger:'''&lt;br /&gt;
* Succession following the death of the previous holder&lt;br /&gt;
* Automatic assumption of existing positions that have become vacant&lt;br /&gt;
&lt;br /&gt;
'''Triggers that cause the game to reevaluate noble positions:'''&lt;br /&gt;
* Succession of a [SITE]-position due to the death of the current holder&lt;br /&gt;
* [[Advanced_entity_position_mechanics#Election_Day|Election Day]]&lt;br /&gt;
* Automatic assumption of a [SITE]-position that becomes vacant&lt;br /&gt;
* (Re)assigning any site position manually&lt;br /&gt;
* Settlement elevation on the LAND_HOLDER track (e.g. gaining a [[Baron]] or [[Count]])&lt;br /&gt;
&lt;br /&gt;
=Gaining a position=&lt;br /&gt;
There are several ways a unit can gain a position:&lt;br /&gt;
* Appointment: A unit is appointed by another unit or by the player.&lt;br /&gt;
* Election: A unit is elected by and among the members of the entity&lt;br /&gt;
* Assumption: A position is neither elected or appointed: a random unit just simply 'takes' the position&lt;br /&gt;
* Succession: a unit is the valid successor of this position(A), either by its current position(B) or because they are that position(A)-holder's heir. &lt;br /&gt;
&lt;br /&gt;
Available positions will automatically be assigned to a random civ member when a new site/civ is created.&lt;br /&gt;
&lt;br /&gt;
==Who can take a position==&lt;br /&gt;
&lt;br /&gt;
* If so defined, a unit needs to be the right caste and/or class - it does not seem to work with creature types. &lt;br /&gt;
* The unit needs to be an adult member of the site or its parent civ-government; that is also CAN_LEARN or INTELLIGENT (SLOW_LEARNER cannot take positions) or otherwise is able to think.&lt;br /&gt;
&lt;br /&gt;
==Appointment==&lt;br /&gt;
&lt;br /&gt;
Positions that have an [APPOINTED_BY:position] token require that position to exist, to be available and appointed. Any position that is APPOINTED_BY can be appointed if the appointer's position is filled in. &lt;br /&gt;
For site-positions to be appointed, it is required that the appointer is present at that location.&lt;br /&gt;
&lt;br /&gt;
If the appointing unit is temporarily not present, or if that position is not filled, positions depending on it cannot be appointed. This is the case with [[militia captains]], when the [[militia commander]] is on a [[mission]]. &lt;br /&gt;
&lt;br /&gt;
A site position cannot appoint a civ position ''or'' LAND_HOLDER in any way whatsoever. &lt;br /&gt;
&lt;br /&gt;
Civ-level positions can appoint other civ-level positions and site-level positions can appoint other site-level positions.&lt;br /&gt;
&lt;br /&gt;
Contrary to what has been said elsewhere, civ-level nobles also can appoint site-level nobles. They need to be at the site to do so. Landholders can appoint both site-level and civ-level nobles. These systems are therefore not as separate as was assumed.&lt;br /&gt;
&lt;br /&gt;
'''Mutual appointment''' cannot take place. If these are the only requisites of the position, then the positions will never appear or get filled. These unfillable positions can be put to good use, for example, to replace a position that is no longer needed without creating a new one. &lt;br /&gt;
&lt;br /&gt;
'''Self appointment''' doesn't normally work. If you have a position that is only appointed by itself, it is never appointed and also cannot be assumed. However, if the position has a number higher than 1, and is filled by multiple units (for example by another position that is now empty), than those units can re-assign or appoint each other from that their shared position. &lt;br /&gt;
&lt;br /&gt;
If an APPOINTED_BY token refers to a non-existing position's code, the effects are as if the appointment token doesn't exist at all.&lt;br /&gt;
&lt;br /&gt;
===Automatic appointment in world-gen and on the civ level===&lt;br /&gt;
&lt;br /&gt;
Outside of fortress mode, the game will always attempt to appoint nobles whenever possible, as long as these positions are '''available''', even if they are invisible to the player.&lt;br /&gt;
It shows this message in legends:  &amp;quot;(unit name) has been appointed to the position of (position name)&amp;quot;&lt;br /&gt;
&lt;br /&gt;
In world-gen, all positions become available and are automatically appointed, taking population- and appointment-requirements into consideration. &lt;br /&gt;
&lt;br /&gt;
Positions that are REPLACED_BY are culled and won't be filled.&lt;br /&gt;
&lt;br /&gt;
If a citizen of your fortress holds a civ-level position that can appoint another civ-level position, the appointment will happen automatically and without player intervention. It may happen that another citizen of your fortress is appointed by that unit, creating civ-level position holders in your fortress, but it is unknown what is required to force this effect.&lt;br /&gt;
&lt;br /&gt;
===Manual appointments by players in fortress mode===&lt;br /&gt;
In fortress mode, the positions that need to be appointed stay empty on embark. and it is the player's job to appoint those. A player can appoint a unit to any available position, according to the hereabove mentioned conditions. The player takes the role of the automatic appointment-system, but has no direct control over elections, successions and replacement. There are some differences in what is possible at world-gen sites and at player-controlled sites.&lt;br /&gt;
&lt;br /&gt;
* A position that is appointed by a unit present as a fortress citizen, can be appointed, re-appointed or left vacant. This means also by civ-level nobles living as a citizen in your fortress; not when they are only visiting, like the diplomat.&lt;br /&gt;
* A position whose appointing positions are all either vacant or [REPLACED_BY] can no longer be appointed. If the position is already filled, it cannot be reappointed or vacated; the current holder simply remains in office.&lt;br /&gt;
* A position that is APPOINTED_BY a unit present as the land_holder of your site, can be appointed, reassigned or left vacant.&lt;br /&gt;
* A position that has SUCCESSION BY_HEIR or BY_POSITION can 'initially' be appointed and also re-appointed or left vacant, but as soon as the [[nobles]] screen closes, ''it can no longer be replaced or left vacant''. From then on, the succession-rules determine who gains that position when the current holder loses the position. This works even if the SUCCESSION:BY_POSITION-position is vacant or replaced.&lt;br /&gt;
* A position that is ELECTED nor APPOINTED_BY, can always be (re-)appointed by the player. This is the case with the [[Expedition leader]]. If it is left vacant however, it cannot be appointed, but will be assumed shortly after. &lt;br /&gt;
* A position that is both ELECTED and APPOINTED_BY, cannot be appointed by the player. Contrary to world-gen sites, its slot is visible, but it doesn't show the +-sign. This is either by AS_NEEDED or by a fixed number. Even if the position somehow gets filled (re)assignment is never possible&lt;br /&gt;
* A player can appoint a number of units to a position, as much as the NUMBER token dictates. If it is AS_NEEDED, the player may create as many slots as they like, also contrary to world-gen sites. &lt;br /&gt;
* A civ-position can never be appointed, even if the appointing civ noble is a citizen of your fortress. A civ position also never can be re-assigned or left vacant, would that position be defined as appointed by a site-position.&lt;br /&gt;
&lt;br /&gt;
==Election==&lt;br /&gt;
Read more in [[Elections]]. The message that is shown is: &amp;quot;(creature name) has been elected to the position of  (position name)&amp;quot;&lt;br /&gt;
&lt;br /&gt;
In worldgen, there is no functional difference between ELECTED and non-appointment, except that elected nobles tend to have high social skills and/or skills related to the position, while non-elected ones are assigned randomly. See: [[Elections]]&lt;br /&gt;
&lt;br /&gt;
A succession goes before an election. &lt;br /&gt;
&lt;br /&gt;
A position that is both ELECTED and APPOINTED_BY never gets elected. Even if the appointees' position somehow gets filled, (re)-elections won't happen. So, it doesn't seem possible to have an elected position become available when a certain other position becomes filled. &lt;br /&gt;
&lt;br /&gt;
An ELECTED civ-(or LAND_HOLDER) position at your site will never be (re)-elected in fortress mode. So real (re-)election only works with SITE-positions. &lt;br /&gt;
&lt;br /&gt;
=== {{text anchor|Election Day}} ===&lt;br /&gt;
Election Day takes place on the 17th of Summer. On this day, a full reevaluation is performed, including all currently elected positions, which are subject to re-election. Contrary to the information on [[Elections]], nothing occurs at the start of a season.&lt;br /&gt;
&lt;br /&gt;
Positions that are both [APPOINTED_BY] and [ELECTED] will not be re-elected on Election Day when assigned through [SUCCESSION].&lt;br /&gt;
&lt;br /&gt;
=== Election Eligiblity ===&lt;br /&gt;
Any citizen may stand for election. Eligibility cannot be restricted using [ACCEPTED_CREATURE], [REJECTED_CREATURE], [ACCEPTED_CLASS], [REJECTED_CLASS], or [GENDER]. Units currently having a [SUCCESSION]-position even may be elected for a position with a [SQUAD]-token, which is otherwise impossible to assign or even succeed.&lt;br /&gt;
&lt;br /&gt;
=== Skills ===&lt;br /&gt;
In elections, skills are taken into account for the tokens of the position which is elected.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Relevant skills per position token&lt;br /&gt;
|-&lt;br /&gt;
! Position Token !! Relevant skills&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#DELIVER_MESSAGES|[DELIVER_MESSAGES]]] || [[Ambusher]], [[Observer]] and [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#ACCOUNTING|[ACCOUNTING]]] || [[Record_keeper|Record keeper]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#ESPIONAGE|[ESPIONAGE]]] || [[Schemer]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#HEALTH_MANAGEMENT|[HEALTH_MANAGEMENT]]] || [[Diagnostician|Diagnostician]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#MAKE_INTRODUCTIONS|[MAKE_INTRODUCTIONS]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#MAKE_PEACE_AGREEMENTS|[MAKE_PEACE_AGREEMENTS]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#MAKE_TOPIC_AGREEMENTS|[MAKE_TOPIC_AGREEMENTS]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#MANAGE_PRODUCTION|[MANAGE_PRODUCTION]]] || [[Organizer]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#MEET_WORKERS|[MEET_WORKERS]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#RECEIVE_DIPLOMATS|[RECEIVE_DIPLOMATS]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#RELIGION|[RELIGION]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#TAME_EXOTICS|[TAME_EXOTICS]]] || [[Animal_trainer|Animal trainer]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#TRADE|[TRADE]]] || [[Social_skill|Social skills]] and [[Appraiser|Appraiser]]&lt;br /&gt;
|-&lt;br /&gt;
| [[Position_token#SQUAD|[SQUAD]]]-token || [[Tactician]] and [[Leader]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Assumption==&lt;br /&gt;
&lt;br /&gt;
A position that is not APPOINTED_BY nor ELECTED, or is appointed by positions that are not available in your site or civ, will be assumable by a random dwarf. If it has responsibilities that require certain skills, then these are taken into consideration on embark, but not when the position is assumed during the actual game. &lt;br /&gt;
&lt;br /&gt;
Normally, one to three units will take the into consideration to assume a position. Most of the time when there are multiple open positions, only a single unit will assume all of them. However, a position that has REJECTED_CREATURE, REJECTED_CLASS, ALLOWED_CREATURE or ALLOWED_CLASS will be filled with all different units, even if the creature or class mentioned is irrelevant. It seems that this forces the game to loop over all the available units.&lt;br /&gt;
&lt;br /&gt;
The message that is shown in Legends mode is: &amp;quot;(unit name) has assumed the position of (position name)&amp;quot;. This may also take place in fortress mode, which then shows this message to the player. &lt;br /&gt;
&lt;br /&gt;
If an assumable position becomes empty, it will be assumed within a day. This is the case when you leave the position of expedition-leader vacant. It also happens with entities. &lt;br /&gt;
&lt;br /&gt;
Assumable positions that become empty will not be assumed if that position has a valid [SUCCESSION] -successor. In that case, the successor inherits the position. &lt;br /&gt;
&lt;br /&gt;
Even positions that are somehow invisible because they cannot be directly APPOINTED_BY players, can be assumed. &lt;br /&gt;
&lt;br /&gt;
When you embark, the assumable positions are automatically assigned to a random unit. If there are multiple of these positions at embark, they all are assigned to the same unit. If there are enough positions available, multiple units may gain a position, but often no more than three different ones.&lt;br /&gt;
&lt;br /&gt;
If a dwarf in fortress mode assumes a position, that already has another position, it will leave the current position empty. When that position also is assumed, then this will continue until all positions have a dwarf appointed to them, with no other position.&lt;br /&gt;
&lt;br /&gt;
A unit that already has a position with a [SUCCESSION] token won't take assumable positions into consideration that have a [SQUAD] token. This can be used by the modder to prevent unwanted loss of current positions.&lt;br /&gt;
&lt;br /&gt;
A position that has an appointer which got replaced because of REPLACED_BY, will not become assumable. Also, positions that have an AS_NEEDED appointer that is not yet filled (or ever), will also not be assumed.&lt;br /&gt;
&lt;br /&gt;
==Succession==&lt;br /&gt;
&lt;br /&gt;
If a position-holder dies or advances to a new position via succession, the position will be granted to another unit based on the [SUCCESSION] tag. If they have an heir or the succeeding position exists, that unit will be assigned. If not, a new one will be appointed according to the usual rules. The message that is shown is: &amp;quot;(creature name) being the rightful heir, has inherited the position of (position name)&amp;quot;&lt;br /&gt;
&lt;br /&gt;
The succeeding creature will also lose its previous position. When succession is defined using BY_POSITION, the unit naturally loses the referenced position. However, it also loses any other positions it may hold. If a unit could simultaneously inherit multiple positions, the last-defined succession overrides the earlier one, clearing the previously acquired position&lt;br /&gt;
&lt;br /&gt;
Succession works both at site-level and at civ-level, both in world-gen and in fortress-mode. Succession by position on the civ-level is also visible and functional in fortress-mode. If both civ-level nobles are a citizen of your fortress, succession is applied visually. Vanilla example: The [[druid]] is succeeded by the [[acolyte]]. This means that as soon as the druid dies, the acolyte takes over. &lt;br /&gt;
&lt;br /&gt;
When a position that is succeeded by position becomes available, immediately it is checked if a position-successor is available and the position is filled with that unit. Even if this is an [ELECTED] position, succession goes first. When elections eventually do happen, succession plays no role.&lt;br /&gt;
&lt;br /&gt;
It is possible to assign multiple levels of [SUCCESSION:BY_POSITION] in different positions, creating a line of positions where the death of one causes all those &amp;quot;below&amp;quot; them to advance.&lt;br /&gt;
&lt;br /&gt;
A position can have multiple tokens with position-succession. It looks to be random which one is used. It is not always:&lt;br /&gt;
* The first or last defined token&lt;br /&gt;
* The first or last appointed unit&lt;br /&gt;
* the oldest or youngest&lt;br /&gt;
* one with a higher or lower precedence&lt;br /&gt;
* a unit with relevant skills&lt;br /&gt;
&lt;br /&gt;
When a position is defined with a Succession-type, that unit cannot have another position that has a Squad-type. If the succession-position itself has a squad, than it can be assigned another position with a squad, but then it will loose the previous succesion position. See further details by &amp;quot;Squad&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Assumed positions can also be succeeded by position, if the current holder dies. &lt;br /&gt;
&lt;br /&gt;
If the successor is an AS_NEEDED position, the used unit will leave a vacant position-slot on its removal by succession. This empty slot remains a real slot, which will only be cleaned up if you (un)appoint a unit to this position-series. It isn't cleaned up after regular position validation.&lt;br /&gt;
&lt;br /&gt;
A civ-level position of a unit living at your site might be inherited by a unit holding that does not currently live at your site. This, unfortunately, moves that position to a unit off site. This may also happen with the landholder of your site, for example when it is succeeded by another civ-level position. This currently poses an unsolved challenge. &lt;br /&gt;
&lt;br /&gt;
===Eligibility for succession===&lt;br /&gt;
Succession is restricted by the tokens [ACCEPTED_CREATURE], [REJECTED_CREATURE], [ACCEPTED_CLASS], [REJECTED_CLASS] and [GENDER].&lt;br /&gt;
&lt;br /&gt;
===Site and civ combined succession===&lt;br /&gt;
&lt;br /&gt;
Succession can work when combining site positions with civ-level positions or land_holders, but only in world-gen mode.  In fortress mode, it only works with combining the same level of nobles, with Landholders regarded as civ-level. So, in fortress mode, a site's position cannot succeed a landholder's position and it cannot succeed another type of civ-level position, and vice versa. &lt;br /&gt;
&lt;br /&gt;
This won't work even if the positions:&lt;br /&gt;
* are AS_NEEDED or having a fixed number.&lt;br /&gt;
* Are LAND_HOLDERs.&lt;br /&gt;
&lt;br /&gt;
===Succession [BY_HEIR]===&lt;br /&gt;
&lt;br /&gt;
When a heir is needed for succession, all children and then other relatives are validated. They cannot take the position if their status does not allow it, for example if they have become a member of another civilisation. See: &amp;quot;Who can take a position&amp;quot;. If the unit has no valid heir on that location, the position may go to a unit living on another site. This may cause the title of Landholder of some land to be inherited by a unit living somewhere else. That might be a problem, because then you lose your landholders.&lt;br /&gt;
&lt;br /&gt;
===Premature Succession===&lt;br /&gt;
&lt;br /&gt;
There are cases where [SUCCESSION:BY_POSITION] is applied prematurely: at the moment a position is first created and becomes appointable or assumable, rather than after a current holder leaves. In this situation, the succession mechanism assigns a holder immediately, without any player interaction.&lt;br /&gt;
&lt;br /&gt;
When a position becomes available for the first time, the game checks whether a valid successor-by-position exists. If so, that unit is assigned instantly. It can affect positions that would normally be appointed or elected by the player, causing succession to trigger before the player has any opportunity to intervene.&lt;br /&gt;
&lt;br /&gt;
This behavior occurs only in Fortress mode, but can be applied both on [SITE]-positions as well in civ-positions. That last one however is a bit harder to control.&lt;br /&gt;
&lt;br /&gt;
This premature succession only occurs the first time a position becomes available (i.e. when it is created and becomes appointable or assumable). Even if the position remains vacant and the conditions for succession improve later, premature succession will not trigger again. From that point onward, only normal succession rules apply.&lt;br /&gt;
&lt;br /&gt;
Using premature succession, a position that has [ELECTED], [APPOINTED_BY], or both, can be filled directly.&lt;br /&gt;
Notably, positions that combine [ELECTED] and [APPOINTED_BY] are normally impossible to fill through regular mechanics. Premature succession bypasses both election and appointment entirely, making this combination uniquely reachable through this mechanism.&lt;br /&gt;
&lt;br /&gt;
No initial election takes place, and no subsequent elections will ever occur for that position. Succession always takes precedence over election, both in premature succession and in normal succession cases.&lt;br /&gt;
&lt;br /&gt;
This behavior applies only in Fortress mode, not during world generation. World-gen uses simplified and more efficient mechanics, and this interaction does not occur there. Premature succession can affect both site-level and civilization-level positions.&lt;br /&gt;
&lt;br /&gt;
====Multiple succession chains====&lt;br /&gt;
&lt;br /&gt;
Multiple succession chains may be defined and are resolved in the order they appear in the raws.&lt;br /&gt;
&lt;br /&gt;
If a position has both:&lt;br /&gt;
* a direct succession chain (A → C), and&lt;br /&gt;
* a multi-step chain (A → B → C),&lt;br /&gt;
&lt;br /&gt;
and intermediate positions are vacant, resolution proceeds according to raw order. A common outcome is:&lt;br /&gt;
# The direct succession (A → C) is applied first, assigning A to C.&lt;br /&gt;
# The remaining chain then advances (A → B).&lt;br /&gt;
# If C still has empty slots, the final step (B → C) may occur.&lt;br /&gt;
&lt;br /&gt;
If position B is already filled, behavior depends entirely on raw definition order:&lt;br /&gt;
* nothing may happen, or&lt;br /&gt;
* B may move to C first, followed by A moving to B.&lt;br /&gt;
====Working triggers====&lt;br /&gt;
Premature succession is triggered when a succeedable position is created under the following conditions:&lt;br /&gt;
* The succeedable position is created because its [REQUIRES_POPULATION] threshold is reached. This applies even if the position is not [APPOINTED_BY]. Premature succession takes priority over automatic assumption (e.g. the mayor declaring themselves within a day).&lt;br /&gt;
* The succeedable position can be [APPOINTED_BY] another position of the same level (site or civ) that has just been created because its [REQUIRES_POPULATION] was reached.&lt;br /&gt;
* The succeedable position can be appointed by another [SITE] [AS_NEEDED] position that has just been created and filled.&lt;br /&gt;
* The succeedable (site or civ) position is [APPOINTED_BY] the [LAND_HOLDER] position, which has just been created due to site elevation. This typically resolves when the diplomat leaves the map, at which point the landholder position becomes active.&lt;br /&gt;
* If all other requirements are met, premature succession can occur immediately after unpausing following embark, for positions with [REQUIRES_POPULATION:7].&lt;br /&gt;
====Non-working triggers====&lt;br /&gt;
Premature succession does '''not''' occur in the following cases:&lt;br /&gt;
* An [AS_NEEDED] succeedable position slot is manually created by the player while its succeeding position is already filled. [AS_NEEDED] positions must always be appointed after creation.&lt;br /&gt;
* The succeeding position is filled after the succeedable position becomes available. The moment of creation is the decisive trigger; filling the source position later is too late.&lt;br /&gt;
* The succeedable position can be appointed by another site or civ position with a fixed number of slots that has just been appointed. In this case, the succeedable position is just available for appointment itself, nothing more&lt;br /&gt;
* Any situation occurring during world generation.&lt;br /&gt;
* The succeeding position is [REPLACED_BY] the succeedable position. In this case, replacement removes the unit from the source position first, leaving no holder available for the succession mechanism to use.rst, leaving no holder available for the succession mechanism to use.&lt;br /&gt;
* The position is [APPOINTED_BY] a civ-level position, that just became a citizen of your fortress. It must be noted that those civ-level positions were active all that time and the succeedable position could be appointed even before. The monarchs arrival does not trigger premature succession&lt;br /&gt;
&lt;br /&gt;
=Losing a position=&lt;br /&gt;
&lt;br /&gt;
A unit can lose a position when:&lt;br /&gt;
* It dies&lt;br /&gt;
* It succeeds another position, even if it has nothing to do with the previous position.&lt;br /&gt;
* It is assigned to another SQUAD-holding position&lt;br /&gt;
* It is convicted of a crime.&lt;br /&gt;
* Another unit is ELECTED for the position&lt;br /&gt;
* Its position becomes replaced&lt;br /&gt;
* Another unit is appointed by the player, or the position is left vacant. &lt;br /&gt;
* It has assumed another position, as this always leaves the previous position vacant.&lt;br /&gt;
&lt;br /&gt;
=Embarkment=&lt;br /&gt;
Two types of positions are automatically filled by embark. &lt;br /&gt;
* Positions without [APPOINTED_BY] or [ELECTED] (assumable). All these positions, even with a NUMBER higher than 1, are all filled with one to three dwarves. Contrary to assumption, this doesn't take into account any limitations. REJECTED_CLASS, ALLOWED_CLASS, REJECTED_CREATURE, ALLOWED_CREATURE and GENDER are applied, but without the normal spread you may expect with assumptions. Also it doesn't look at [SUCCESSION] and [SQUAD] limitations.&lt;br /&gt;
* Positions that are elected are filled-in by the normal election rules.&lt;br /&gt;
&lt;br /&gt;
Positions that have a defined appointer are never initially filled at embark.&lt;br /&gt;
&lt;br /&gt;
All positions that don't have [REQUIRES_POPULATION]  or with a [REQUIRES_POPULATION] of 7 or lower, will be available at embark.&lt;br /&gt;
&lt;br /&gt;
=Land Holders=&lt;br /&gt;
&lt;br /&gt;
A Landholder is a '''special civ-level noble''' who gets a certain piece of land to hold, when that land is elevated to a certain level, determined by the tag [LAND_HOLDER] and by the landholder triggers in the game's settings. In vanilla, these are the baron, the count and the duke. &lt;br /&gt;
&lt;br /&gt;
A unit gaining the landholder position does not migrate to that specific named land. In world-gen, they stay just where they are, probably at the capital. In fortress mode, you can suggest a citizen for the role. So for the time being that works.&lt;br /&gt;
&lt;br /&gt;
Succession is then a real issue. If you use BY_HEIR, its solved when that landholder has children living at your site. But when its not the case, the title just goes to anyone randomly. Succession BY_POSITION works, but only in the civ-chain, and there's no way to guarantee a civ-holder is at your site at that time. Even with 'automatic spread' positions, it goes to one of them randomly.&lt;br /&gt;
&lt;br /&gt;
==Functioning of the regular landholder chain==&lt;br /&gt;
&lt;br /&gt;
The distinct difference between a landholder and a regular civ-level noble, is that a landholder may gain the position of landholder &amp;quot;of (sitename)&amp;quot; They are then seen as ruler of a particular site. &lt;br /&gt;
&lt;br /&gt;
For a land_holder position to function as such, it has a few requirements:&lt;br /&gt;
* NUMBER:AS_NEEDED &lt;br /&gt;
* The first landholder-number of 1 is defined. &lt;br /&gt;
* No SITE (so civ) tag in that position.&lt;br /&gt;
*REPLACED_BY the next level landholder&lt;br /&gt;
If a landholder is defined with differentiating properties, it will function like a regular noble. A higher-up landholder that lacks the required tokens or connections will then not be used in elevation. &lt;br /&gt;
&lt;br /&gt;
If a fortress meets the trigger for a new LAND_HOLDER tier when a caravan leaves, then the next time the outpost liaison or equivalent arrives, they will offer to make you an official colony, which will allow you to select all positions for that LAND_HOLDER level. Each time they appear, the outpost liaison will only promote your fortress one tier up the LAND_HOLDER track. &lt;br /&gt;
&lt;br /&gt;
The landholder's LAND_NAME is not required for the functioning of this system. If omitted, messages will be shown with a more generic text.&lt;br /&gt;
&lt;br /&gt;
==Appointment==&lt;br /&gt;
&lt;br /&gt;
This mechanism differs from the regular methods of position management. It ignores all regular appointment- and election rules, so it more or less functions like automatic assignment. A landholder is, in vanilla, appointed by the monarch. Changing this doesn't seem to do anything. If they are appointed by a site-position, a not-yet-existing civ-position, or not appointed at all: the system keeps working as usual. &lt;br /&gt;
&lt;br /&gt;
A landholder can appoint civ-positions and site positions. This works as expected: the positions only are appointed then when that landholder becomes available on civ-level or when he arrives at that site for site-level positions. &lt;br /&gt;
&lt;br /&gt;
If your rank of landholder is the first of its rank in the realm, and is the sole appointer of some civ-position, then immediately as it gains the title, it will appoint the empty civ-slots. This may happen on your site, but the frequency and certainty is hard to determine.&lt;br /&gt;
&lt;br /&gt;
==Succession==&lt;br /&gt;
&lt;br /&gt;
Succession rules are applied to some extent:&lt;br /&gt;
* In world-gen it works according to succession rules, and site-positions can be used here.  This means that a site position or a civ-position can inherit a landholder position, and vice versa.&lt;br /&gt;
* In fortress mode, once a landholder has been appointed, it then can inherit civ-level positions, and vice versa. This means that your baron can become king. &lt;br /&gt;
* Succession rules do not apply within the [LAND_HOLDER] chain; a count will not inherit a baron's land. This is because succession does not work well with the AS_NEEDED token.&lt;br /&gt;
* Premature succession works in fortress mode with landholders. If a unit gets a landholder's position and that landholder is the appointer of an as yet empty position, which is defined as succeeding from a third one, then the succession is immediately applied. The landholder themselves can even be the successor of a newly created position.&lt;br /&gt;
* A landholder's position is, in fortress mode, not successionable by a site-position or vice versa&lt;br /&gt;
&lt;br /&gt;
===Impossibilities for succession by a site-position===&lt;br /&gt;
It would be very beneficial if the landholder can be succeeded by a [SITE]-position. So far, the following tests have not lead to positive results:&lt;br /&gt;
* making landholder and site-position both non-[DUTY_BOUND]&lt;br /&gt;
* make the site-position be [APPOINTED_BY] the landholder and/or the monarch&lt;br /&gt;
* give landholder and site-position [REJECTED_CREATURE]&lt;br /&gt;
* Let the monarch live at your site when succession could happen.&lt;br /&gt;
* Let the site-position be [REPLACED_BY] the landholder.&lt;br /&gt;
&lt;br /&gt;
==Nomination==&lt;br /&gt;
&lt;br /&gt;
The player is able to nominate a unit to become the LAND_HOLDER, but this only works with units of [LAND_HOLDER] level 1. The player can select all units, only limited by the PRECEDENCE of the current units' positions.&lt;br /&gt;
&lt;br /&gt;
A unit that has a position with a PRECEDENCE lower or equal to that of the landholder's position, cannot be selected. This means that a baron (or count) from another site or the monarch cannot be selected, because their precedence is lower or equal. &lt;br /&gt;
&lt;br /&gt;
The GENDER  token does not work here: also units with the wrong gender (sorry) can be selected.&lt;br /&gt;
&lt;br /&gt;
==Levels==&lt;br /&gt;
In mods, up to 10 levels of LAND_HOLDER may be defined. &lt;br /&gt;
&lt;br /&gt;
If a landholder is replaced by a wrong landholder number (1 replaced by 3), then the number 3 is still correctly attached to the settlement. &lt;br /&gt;
&lt;br /&gt;
If the current landholder has the highest available landholder number, then the next elevation will not happen - the diplomat will not elevate your fortress to a higher position, even if that position might be REPLACED_BY a lower landholder. &lt;br /&gt;
&lt;br /&gt;
These chains do work:&lt;br /&gt;
* 1 -&amp;gt; 2a - &amp;gt; 2b -&amp;gt; 3&lt;br /&gt;
* 1 -&amp;gt; 3 -&amp;gt; 2 -&amp;gt; 4&lt;br /&gt;
&lt;br /&gt;
These chains do not work:&lt;br /&gt;
* 2 -&amp;gt; 3 (need to start at 1)&lt;br /&gt;
* 1 -&amp;gt; 4 -&amp;gt; 2 -&amp;gt; 3 (stops after 4 as the highest)&lt;br /&gt;
* 1a -&amp;gt; 2, 1b -&amp;gt; 2 (only 1a and 2 work, 1b is not used)&lt;br /&gt;
&lt;br /&gt;
==Moving landholders==&lt;br /&gt;
&lt;br /&gt;
It may happen that a land-holder no longer lives at the site which they are the landholder of, specifically when the current landholder dies, leaving the title to an heir living somewhere else. &lt;br /&gt;
&lt;br /&gt;
To prevent this from happening, you can make their succession from heir and make sure that their kids live at your site. Or, you can make their position succeeded by another civ position, and make it so that this civ position is somehow available on your site. But if multiple of these positions exist, it cannot be guaranteed that a citizen of your fortress will inherit the title. &lt;br /&gt;
&lt;br /&gt;
In world gen, a landholder lacking the DUTY_BOUND-token will also move to the site they like, according to legends mode.&lt;br /&gt;
&lt;br /&gt;
==Replacement by a generic civ-position==&lt;br /&gt;
&lt;br /&gt;
If a landholder is replaced by an AS_NEEDED non-landholder civ-position, then this will work: the current landholder loses that title upon settlement-elevation and gains that civ-title. However, the civ-title lacks the landholder-property of being attached to the land. It will not show the name of the settlement alongside the position's name. So no &amp;quot;minister of Shovelmounts&amp;quot;&lt;br /&gt;
&lt;br /&gt;
If a landholder is replaced by a general AS_NEEDED civ-position, that itself is also replaced by a generic AS_NEEDED civ-position, then firstly the elevation is executed and also the unit gains that new position. However, he immediately loses it, because an AS_NEEDED position that is replaced by another position can be filled initially, but units wont be able to hold that title.&lt;br /&gt;
&lt;br /&gt;
==Landholder with fixed number==&lt;br /&gt;
&lt;br /&gt;
A landholder's position that has a fixed number will be created and filled directly when the civilisation is born, so this position slot is then not available for the regular landholder-mechanic and will also not be used. That landholder will thus not be attached to a settlement. &lt;br /&gt;
&lt;br /&gt;
It doesn't matter if the landholder's position is connected to the regular landholder's-chain with the REPLACE_BY token.&lt;br /&gt;
&lt;br /&gt;
==Responsibilities==&lt;br /&gt;
&lt;br /&gt;
When given a certain [RESPONSIBILITY], a landholder may function as a regular civ-level noble. If the position has [TRADE] or [OUTPOST_NEGOTIATING] responsibilities, then the landholder functions both as a diplomat and as an actual land holder. A landholder with the [MILITARY_STRATEGY]  responsibility will travel around taming creatures in world-gen, according to legends mode. &lt;br /&gt;
&lt;br /&gt;
Besides that, the responsibilities work the same as with any other on-site living position-holder, civ or otherwise.&lt;br /&gt;
&lt;br /&gt;
=Military=&lt;br /&gt;
==Squad management==&lt;br /&gt;
In the vanilla game, the Squad interface only becomes available after a militia commander has been appointed. Until then, the window displays:{{DFtext|You must appoint somebody first to create a squad.}}&lt;br /&gt;
&lt;br /&gt;
What’s surprising is how this is determined internally. In the entity raw definition, '''only the last two positions that include a [SQUAD] token are checked''' to decide whether the interface is accessible at all. As a result, if your hierarchy defines commanders A through E, appointing '''Commander D or E''' unlocks squad formation, while appointing A–C does nothing.&lt;br /&gt;
&lt;br /&gt;
In other words, squad availability is not tied to ''having a militia commander'', but to ''which specific positions happen to be last in the raw list''—a notably hacky implementation.&lt;br /&gt;
&lt;br /&gt;
These 'last two' are always the last two '''available positions.''' So if they get [REPLACED_BY] or become available because of [REQUIRES_POPULATION], the game adapts to those.&lt;br /&gt;
&lt;br /&gt;
==Squad assignment==&lt;br /&gt;
&lt;br /&gt;
Squads can be assigned, even if the leader position has no holder.&lt;br /&gt;
&lt;br /&gt;
A specific unit can only have one position associated with a squad. If it gains another 'squad holding position', it is unassigned from the first one. This does not work with a 0-squad, so only 1+squads are taken into consideration. This technique can possibly be used to distribute all positions equally among all citizens. It does however not work with election and assumption. &lt;br /&gt;
&lt;br /&gt;
If a civ-level position is associated with a squad and it gets a site-level squad-holding position assigned, it loses the current civ-position. &lt;br /&gt;
&lt;br /&gt;
Squads can get really messed up, if you make the position (or multiple) either elected or not-elected and not-appointed, then this can cause the game to assign multiple squads to the same unit. Automatic assignment and election does not take squads into account, but the nobles screen does. This can cause the positions to be cleared as the game figures out that they have more than one position, and immediately get elected or assumed again. &lt;br /&gt;
&lt;br /&gt;
Positions that cannot have a squad-position:&lt;br /&gt;
* A site- or civ-position with a [SUCCESSION] token cannot be appointed a squad-holding-position. The other way around, however, does work. For example, if a site-position with a [SUCCESSION]-token is appointed to a unit that has already a position with [SQUAD]. But when that squad position is assigned to another unit, it cannot be assigned back. &lt;br /&gt;
* A position with [SUCCESSION] can also not be assigned as a '''member''' of a squad.&lt;br /&gt;
* A squad-holding position with a formed squad cannot be appointed to another squad holding position.&lt;br /&gt;
&lt;br /&gt;
If a position has at least one squad member, it cannot be left vacant. First, the squad has to be disbanded, then the position may be cleared.&lt;br /&gt;
&lt;br /&gt;
==0-squads==&lt;br /&gt;
A 0-Squad is defined in a position as [SQUAD:0:member:members]. It does not seem to do anything useful as of now.&lt;br /&gt;
* It cannot be used to activate the [[Squad|military interface]]&lt;br /&gt;
* It does not restrict the assignment of [SUCCESSION] positions.&lt;br /&gt;
* Assigning this position does not clear any previously held squad position.&lt;br /&gt;
* The [[Leader]] and [[Tactician]] skill are not marked as relevant skills and are not taken into account in elections.&lt;br /&gt;
* It cannot be formed as a squad.&lt;br /&gt;
&lt;br /&gt;
=Further testing=&lt;br /&gt;
The following questions may need additional testing. Feel free to add or answer&lt;br /&gt;
* Everything regarding COMMANDING and army-structure&lt;br /&gt;
** [http://www.bay12forums.com/smf/index.php?topic=175437.msg8331668#msg8331668]&lt;br /&gt;
** [http://www.bay12forums.com/smf/index.php?topic=165213.msg8335682#msg8335682]&lt;br /&gt;
** [http://www.bay12forums.com/smf/index.php?topic=174584.msg8026854#msg8026854]&lt;br /&gt;
* Everything regarding CONQUERED_SITE, but it is presumably just like site. But what if you combine SITE or LAND_HOLDER with it?&lt;br /&gt;
* Stuff about the monarch, its arrival and its entourage.&lt;br /&gt;
&lt;br /&gt;
=Oddities (Bugs)=&lt;br /&gt;
Almost everything on this page could be called an oddity. Because of their unexpected usability, some may also be referred to as “undocumented features.” Others, however, are simply odd and not particularly useful, yet I hesitate to call them “bugs.”&lt;br /&gt;
* If a certain threshold is reached that makes an elected position electable, and the triggering event that initiates this evaluation is an assumption, then the resulting assumption is also referred to in the messages as an election&lt;br /&gt;
&lt;br /&gt;
=Examples=&lt;br /&gt;
&lt;br /&gt;
===The Founder===&lt;br /&gt;
The founder is a single dwarf, appointed at embark. They will be the only one ever to have this position and are not replaceable. When they lose their position some way, the position will not be assumed by another dwarf. &lt;br /&gt;
{{gamedata|title=The Founder|&lt;br /&gt;
[POSITION:THE_FOUNDER]&lt;br /&gt;
	[NAME:the founder:founders]&lt;br /&gt;
	[NUMBER:1] &lt;br /&gt;
	[SITE]&lt;br /&gt;
	[ALLOWED_CREATURE:DWARF:ALL]		- will only be filled at embark, but not assumable later.&lt;br /&gt;
	[REJECTED_CREATURE:DWARF:ALL]		- will only be filled at embark, but not assumable later.&lt;br /&gt;
	[SUCCESSION:BY_POSITION:THE_FOUNDER]	- not unassignable, also cannot be assigned to a [SQUAD] position.&lt;br /&gt;
	[PRECEDENCE:200] &lt;br /&gt;
	Non APPOINTED_BY&lt;br /&gt;
	Non ELECTED&lt;br /&gt;
	Optional: Add responsibilities to make the game select a unit with certain skills.&lt;br /&gt;
}}&lt;br /&gt;
===Marriage bar===&lt;br /&gt;
Dwarven matrons are held in great honour. Upon marriage, a female dwarf is no longer expected to perform menial labour. All dwarven males hold this position by default, granting their spouses exemption from menial work.&lt;br /&gt;
&lt;br /&gt;
The position becomes available with the arrival of the first migrants; otherwise, on embark, it would be assumed by females. Its succession rule is non-functional, but this prevents the player from unassigning the position. A squad size of 1 and the succession rules together prevent a unit from assuming the position more than once.&lt;br /&gt;
&lt;br /&gt;
With precedence set to NONE, the position name is hidden, while LAND_NAME remains visible on the nobles screen. All married females receive the suffix “, Mrs.” and are marked as Nobles.&lt;br /&gt;
&lt;br /&gt;
The practical usefulness of this position is debatable, but it serves as a clear demonstration of several mechanics.&lt;br /&gt;
{{gamedata|title=Mrs. Urist|&lt;br /&gt;
 &lt;br /&gt;
[POSITION:MRS_URIST]	&lt;br /&gt;
	[NUMBER:300]						&lt;br /&gt;
	[SITE]						&lt;br /&gt;
	[ALLOWED_CREATURE:DWARF:MALE]	&lt;br /&gt;
	Not APPOINTED_BY				&lt;br /&gt;
	Not ELECTED&lt;br /&gt;
	[LAND_NAME:Dwarven male]				&lt;br /&gt;
	[NAME:dwarven male:dwarven male]&lt;br /&gt;
	[PRECEDENCE:NONE]					&lt;br /&gt;
	[SPOUSE_FEMALE:, Mrs.:spouses]&lt;br /&gt;
	[MENIAL_WORK_EXEMPTION_SPOUSE]&lt;br /&gt;
	[REQUIRES_POPULATION:8]			&lt;br /&gt;
	[SUCCESSION:BY_POSITION:MONARCH]&lt;br /&gt;
	[SQUAD:1:member:members]&lt;br /&gt;
}}&lt;br /&gt;
{{Category|Modding}}&lt;br /&gt;
{{Category|Entities}}&lt;br /&gt;
{{Category|Guides}}&lt;/div&gt;</summary>
		<author><name>Joostheger</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=Advanced_entity_position_mechanics&amp;diff=314839</id>
		<title>Advanced entity position mechanics</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=Advanced_entity_position_mechanics&amp;diff=314839"/>
		<updated>2026-02-09T13:08:40Z</updated>

		<summary type="html">&lt;p&gt;Joostheger: /* Fortress mode, world-gen and their differences */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Quality|Fine}}&lt;br /&gt;
{{Modding}}&lt;br /&gt;
&lt;br /&gt;
= Introduction = &lt;br /&gt;
&lt;br /&gt;
[http://www.bay12forums.com/smf/index.php?topic=182239.0 Discussion thread on the forum]&lt;br /&gt;
&lt;br /&gt;
This page documents observed and tested behavior of entity positions in Dwarf Fortress that is not fully described elsewhere on the wiki. It focuses on advanced interactions between position tokens, including appointment, succession, election, and responsibility handling, across both civilization-level and site-level entities.&lt;br /&gt;
&lt;br /&gt;
The mechanics described here are based on empirical testing in world generation and fortress mode, supplemented where necessary by raw analysis. In several cases, the game’s behavior is determined by evaluation order and interaction between multiple tags, rather than by individual tokens in isolation.&lt;br /&gt;
&lt;br /&gt;
This page is intended for modders and advanced players who are designing or debugging custom entity position structures. It does not restate basic position mechanics, but instead highlights edge cases, non-obvious interactions, and behaviors that may appear inconsistent or undocumented.&lt;br /&gt;
&lt;br /&gt;
Unless stated otherwise, the described behavior applies to current versions of the game and may differ from older releases.&lt;br /&gt;
&lt;br /&gt;
==What is an entity? What is a position?==&lt;br /&gt;
An [[entity]] is an organizational structure that can have relationships with other entities, usually known as a [[civilization]] or a &amp;quot;[[site]] government&amp;quot; in the game, but merchant [[guild]]s, religious organizations, necromancer towers, and [[bandit]] groups are also entities. An entity can have positions - in most cases, these are hardcoded and generated by the game, but as for civilizations and sites, the [[raw file]]s can be customised.&lt;br /&gt;
&lt;br /&gt;
A position is a special relationship between a unit and an entity. The unit holding a position has a larger influence over that entity than other citizens. Positions are mostly known as [[nobles]], but in this article. the technical term is used.&lt;br /&gt;
&lt;br /&gt;
=Position levels (Site/Civ) and their interaction=&lt;br /&gt;
There are two basic types of positions that are customizable: '''civ(ilization)''' level and '''site level'''. Positions with the tag [SITE] are at site level, positions without the tag [SITE] are at 'civ level'. These two types of nobles can be considered '''loosely related systems'''. There are a few places where they can interact with each other.&lt;br /&gt;
&lt;br /&gt;
Civ-level positions are in charge of the civilization as a whole, managing national [[trade]], laws, and [[war]]s. These are, for example, the vanilla [[monarch]], [[diplomat]] and [[general]]. (Note that the general doesn't do anything in either mode in the current version.)&lt;br /&gt;
&lt;br /&gt;
'''[LAND_HOLDER]''' nobles are also positions at civ-level. These units are members of the national government, but have gained authority over some land or site. Once they do, they move to that place, but their position is still regarded as a civ-level position.&lt;br /&gt;
&lt;br /&gt;
Site-level position holders are members of a site government (subsidiary to the civilization), and manage local affairs in that location. These are, for example, the [[mayor]], the [[sheriff]] and the [[broker]].&lt;br /&gt;
&lt;br /&gt;
==Table of interaction between different position levels==&lt;br /&gt;
In this table, the possible interactions between different position levels are summarized. &lt;br /&gt;
The header row shows the positions defining the tokens.&lt;br /&gt;
&lt;br /&gt;
The left column shows the position type that is referred to.&lt;br /&gt;
Example:  &lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! referred position-type&lt;br /&gt;
! LAND_HOLDER&lt;br /&gt;
|-&lt;br /&gt;
| civilization&lt;br /&gt;
|  &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;(baron is) APPOINTED_BY:MONARCH&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
color coding: &amp;lt;/br&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;Exists in vanilla&amp;lt;/span&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;Possible with mods&amp;lt;/span&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;Not possible&amp;lt;/span&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;possible to some extent.&amp;lt;/span&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;not yet fully investigated.&amp;lt;/span&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! referred position-type&lt;br /&gt;
! Civilization&lt;br /&gt;
! SITE&lt;br /&gt;
! LAND_HOLDER&lt;br /&gt;
! CONQUERED_SITE&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Civilization&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;SUCCESSION '''(1)'''&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| SITE&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;SUCCESSION '''(2)'''&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;APPOINTED_BY '''(3)'''&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;SUCCESSION '''(4)'''&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| LAND_HOLDER&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY '''(6)'''&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;SUCCESSION '''(5)'''&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;REPLACED_BY '''(7)'''&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;SUCCESSION '''(8)'''&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;CONQUERED_SITE&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; COMMANDER &amp;lt;/br&amp;gt; REPLACED_BY &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt; SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;APPOINTED_BY &amp;lt;/br&amp;gt; COMMANDER &amp;lt;/br&amp;gt; REPLACED_BY &amp;lt;/br&amp;gt; SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;APPOINTED_BY &amp;lt;/br&amp;gt; COMMANDER &amp;lt;/br&amp;gt; REPLACED_BY &amp;lt;/br&amp;gt; SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;APPOINTED_BY &amp;lt;/br&amp;gt; COMMANDER &amp;lt;/br&amp;gt; REPLACED_BY &amp;lt;/br&amp;gt; SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Remarks:&lt;br /&gt;
# Works only in world-gen, if a unit with that civ-position is present at the site.&lt;br /&gt;
# Works only in world-gen, the site-position holding unit will then move to the capital.&lt;br /&gt;
# Is completely ignored&lt;br /&gt;
# Works only in world-gen.&lt;br /&gt;
# Works only in world-gen.&lt;br /&gt;
# Won't appear at all&lt;br /&gt;
# This is necessary for the landholder chain to work properly, it doesn’t work otherwise.&lt;br /&gt;
# This works only outside of the landholder chain, so when landholders are simply regarded as civ-level nobles. might also work in world-gen&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
== Other interactions ==&lt;br /&gt;
&lt;br /&gt;
Unfortunately, interactions with positions of other entities don't seem possible, such as APPOINTED_BY: HIGH_PRIEST. With [VARIABLE_POSITIONS], positions are automatically created with codes like CUSTOM_LAW_MAKER_2, but interaction with these positions don't seem to work, either. For more info on those, see [[Variable positions]]&lt;br /&gt;
&lt;br /&gt;
=General=&lt;br /&gt;
&lt;br /&gt;
==Civ-level nobles living at your site==&lt;br /&gt;
Nobles from your civilization can come to live at your fortress. This happens in vanilla with landholders such as [[Baron]], [[Count]] and [[Duke]], with the Monarch, but sometimes also with non-landed LAND_HOLDERS.&lt;br /&gt;
&lt;br /&gt;
When a civ-level noble becomes a [[citizen]] at your location, their position is shown among the site-level positions in your [[nobles screen]]. They appear to function as a site-level noble. They may have [[demand]]s, [[mandate]]s, [[squad]]s and the like. They can appoint nobles at the site-level.&lt;br /&gt;
&lt;br /&gt;
If they have certain [RESPONSIBILITY]ies, they do the tasks that go with them.&lt;br /&gt;
&lt;br /&gt;
==Fortress mode, world-gen and their differences==&lt;br /&gt;
Their are a few differences in how positions function between fortress mode (normal play mode) and the world generation (world-gen). &lt;br /&gt;
&lt;br /&gt;
In '''fortress mode''', the player has some control over the appointment of nobles, limited by elections, automatic filled-in positions and succession rules. Pre-fortress mode, which is referred to as '''world-gen''', the game will always attempt to assign nobles whenever possible. It is subjected to the same rules as in fortress-mode, but there are some exceptions. In '''[[World activities]]''', which is the thing that happens in the world while you play fortress mode, it seems as if the same rules are applied as fortress mode. &lt;br /&gt;
&lt;br /&gt;
A difference between player-fortress-mode and world-gen, is causes by visibility (see below). Positions that are not visible by the player and thus not available for assignment, will be available in world-gen and will thus be automatically assigned.&lt;br /&gt;
&lt;br /&gt;
In fortress mode, a position that is both [ELECTED] and [APPOINTED_BY], cannot be appointed by the player and is also not elected, and can thus not be filled. But in world-gen sites however, these positions are automatically filled.&lt;br /&gt;
&lt;br /&gt;
Positions with [AS_NEEDED] are almost never created and filled in world-gen (depending on their [RESPONSIBILITY]ies), but can always be used in player mode.&lt;br /&gt;
&lt;br /&gt;
A position can, in fortress mode, be filled by the same unit. A unit can gain multiple positions in fortress mode, for example because of [[elections]]. This will not happen in world-gen mode: a unit can only have one position. See also remarks on 'embark' and 'Losing a position'.&lt;br /&gt;
&lt;br /&gt;
In world-gen, [SUCCESSION] between civ-levels and [SITE-]levels may happen. This will not happen in fortress mode, or even off-site in [[World activities]].&lt;br /&gt;
&lt;br /&gt;
In fortress mode, premature SUCCESSION may happen. This will not happen in world-gen mode.&lt;br /&gt;
&lt;br /&gt;
==Units holding multiple positions in multiple entities==&lt;br /&gt;
A unit can hold multiple positions in its civilisation or in its site-entity, however this does not happen in world-gen. Only at player-managed sites can units be holding multiple positions at once. (It is probably not possible for a unit to hold a position in two different civilisations or two different sites.)&lt;br /&gt;
&lt;br /&gt;
In world-gen, if there are too many positions to be filled, they simply stay empty until more units are available. E.G, a unit at a site might inherit a civ-level position and still remain a member of the local government. When this happens however, they move to the capital. If a unit gains a new position, either inherited or otherwise, it drops the previous one. If a unit assumes a civ-position in fortress mode, it leaves the current position. &lt;br /&gt;
&lt;br /&gt;
If a unit holds the same (site-)position multiple times, it has no additional effect.&lt;br /&gt;
&lt;br /&gt;
If a unit holds multiple different positions of the same entity, it has all those positions' responsibilities and properties, stacked up. Presumably, the demands for those combined positions are determined by the highest.&lt;br /&gt;
 &lt;br /&gt;
A unit holding a position with a succession token can be assigned another position with a (different) succession token. &lt;br /&gt;
&lt;br /&gt;
A unit holding a position with a squad-position cannot hold another squad-position. It is dropped from the first, when it gets its second assigned. &lt;br /&gt;
A unit holding a position with a succession token cannot be assigned to a squad-position - the unit is simply not available. It works the other way around, though.&lt;br /&gt;
&lt;br /&gt;
=[PRECEDENCE]=&lt;br /&gt;
The first defined position with precedence of 1 counts as the ruler of the civ. See also: [[Position_token#PRECEDENCE|PRECEDENCE]]. &lt;br /&gt;
&lt;br /&gt;
If the precedence is omitted or has a negative value, the game sets 0 as precedence, which seems to have no effect whatsoever.&lt;br /&gt;
&lt;br /&gt;
When a unit has multiple positions, the name of the position with the highest rank in precedence is shown behind the unit's name.&lt;br /&gt;
&lt;br /&gt;
If you omit precedence entirely, or set it to [PRECEDENCE:NONE], the position name will not be shown after the unit’s name. Your *Urist Mason* will remain simply *Mason*. This can be useful for positions that are unimportant or purely functional. The position will also not appear in the civilisation overview of your site on the world map. The position name is shown in messages, but remains hidden on the nobles screen as well. To make it visible there, use [LAND_NAME].&lt;br /&gt;
&lt;br /&gt;
=[RESPONSIBILITY]ies=&lt;br /&gt;
Both civ and [SITE] positions can carry responsibilities. However, not all responsibilities are active for both types: some function only for civ positions, others only for site positions. When a civ noble arrives at a site and takes up residence, they do not perform responsibilities that are intended for SITE nobles. As a result, these responsibilities neither trigger their associated tasks nor unlock related game mechanics. For example, a civ-level manager living in a fortress will not perform management duties there and doesn't unlock the management-screen, even with an assigned office. &lt;br /&gt;
This behavior applies to the following [SITE]-level responsibilities:&lt;br /&gt;
* [RESPONSIBILITY:ACCOUNTING]&lt;br /&gt;
* [RESPONSIBILITY:BUILD_MORALE]&lt;br /&gt;
* [RESPONSIBILITY:HEALTH_MANAGEMENT]&lt;br /&gt;
* [RESPONSIBILITY:LAW_ENFORCEMENT]&lt;br /&gt;
* [RESPONSIBILITY:MANAGE_PRODUCTION]&lt;br /&gt;
* [RESPONSIBILITY:MEET_WORKERS]&lt;br /&gt;
* [RESPONSIBILITY:TRADE]  (functions differently)&lt;br /&gt;
Other responsibilities may be affected as well, but have not yet been fully tested.&lt;br /&gt;
&lt;br /&gt;
==[DELIVERS_MESSAGES]==&lt;br /&gt;
The only [AS_NEEDED]-position that is created in worldgen based on responsibility is that of the site-level responsibility [DELIVERS_MESSAGES].&lt;br /&gt;
&lt;br /&gt;
==Outpost Liaisons and Diplomats==&lt;br /&gt;
Civ-positions with the responsibility [ESTABLISH_COLONY_TRADE_AGREEMENTS] ([[Outpost_Liaison|Outpost Liaison]]s) will meet with the site-noble who has responsibility for [RECEIVE_DIPLOMATS] and the highest rank of precedence (i.e. the lowest precedence value). Usually this is the [[Expedition_leader|Expedition leader]].&lt;br /&gt;
&lt;br /&gt;
Once a [LAND_HOLDER] is assigned to the site, civ-positions with the responsibility [MAKE_TOPIC_AGREEMENTS] ([[Diplomat]]s) will meet with '''civ'''-level nobles present at the site who have the [RECEIVE_DIPLOMATS] responsibility. If multiple eligible nobles are available, one is selected at random. If no eligible noble is present, the diplomat leaves angrily. If the landholder is no longer present at the site, diplomats will not arrive at all.&lt;br /&gt;
&lt;br /&gt;
It appears that Outpost Liaisons and Diplomats are chosen for a diplomatic mission based on availability. When multiple candidates exist, the position defined last in the raws is most often selected.&lt;br /&gt;
&lt;br /&gt;
==[TRADE]==&lt;br /&gt;
Civ-level nobles with [TRADE] will arrive with the caravan, just as the Outpost Liaison. Their behavior is no longer active in the vanilla game, but the mechanics are still present. See [[40d:Guild_representative|Guild representative]] for more details. This civ-noble will only meet with the SITE noble with [TRADE], usually the [[Broker]].&lt;br /&gt;
&lt;br /&gt;
If two civ-nobles exist with both [TRADE] and [ESTABLISH_COLONY_TRADE_AGREEMENTS], they both arrive at the same time. Even if both tokens are assigned to a single position, if more than one instance of that position exists, two of them will arrive. However in that case, somehow the elevation of the site and appointment of landholder isn't offered.&lt;br /&gt;
&lt;br /&gt;
If the SITE-noble they intend to meet has both [TRADE] and [RECEIVE_DIPLOMATS], only one meeting will proceed and the other is cancelled. However, when two SITE-nobles are available, each with either [TRADE] or [RECEIVE_DIPLOMATS], both meetings will proceed and both civ-nobles will attempt to negotiate a trade agreement. It is not known what happens if these agreements are accepted or refused.&lt;br /&gt;
&lt;br /&gt;
In the trade depot, the last defined position with the [TRADE] responsibility is shown as broker. However when requesting a trader, the first defined position with [TRADE] will actually go there to do the trade.&lt;br /&gt;
&lt;br /&gt;
==World-gen effects of the [RESPONSIBILITY] of available positions ==&lt;br /&gt;
It is possible to cause civs and individual sites to change their behavior substantially when they reach a certain size, by controlling nobles. &lt;br /&gt;
* If a site can only appoint a position with [MILITARY_GOALS] after reaching a particular size, that site will not send armies on missions until the required size is reached.&lt;br /&gt;
* A civ-level [LAW_MAKING] position is required for the civilization to have any kind of cohesion. Without it, sites will be constantly embroiled in territorial disputes and civil wars will be commonplace.&lt;br /&gt;
* [MILITARY_STRATEGY] positions go out and tame wild animals. This makes your civ gain those animals as domesticated and also brings them in sieges.&lt;br /&gt;
* The [[Personality_facet|Personality]] of the position's holder determines how they lead the civ.&lt;br /&gt;
&lt;br /&gt;
=Availability and visibility=&lt;br /&gt;
==Availability of (new) positions==&lt;br /&gt;
Warning: Do not mistake &amp;quot;availability&amp;quot; for &amp;quot;visibility&amp;quot;! &lt;br /&gt;
&lt;br /&gt;
Of all the possible positions existing in your site's entity, there may only be some available. &lt;br /&gt;
* Positions with [REQUIRES_POPULATION] require the population to have a specific size.&lt;br /&gt;
* Positions with [REQUIRES_MARKET] will only appear in &amp;quot;large&amp;quot; sites (which may have different rules for different site types). This tag has no effect in fort mode.&lt;br /&gt;
* Positions that are appointed by positions that have an AS_NEEDED number. The appointable positions only become available after an appointer position-slot is created. This works also on civ-level. If a position is appointed by a Land-holder, it only becomes available, when that level of landholder is created. &lt;br /&gt;
	&lt;br /&gt;
Only the replaced positions are culled and are no longer available. &lt;br /&gt;
A position that requires a certain population will become available, even if it doesn't have [APPOINTED_BY] or [ELECTED]. In that case, see 'automatic assignment' and 'assumption'&lt;br /&gt;
&lt;br /&gt;
In fortress mode, in some cases 'succession' is evaluated immediately after a position becomes available. See: Succession.&lt;br /&gt;
==Visibility of positions==&lt;br /&gt;
A position might be available, but can still be invisible for the player in the [[nobles screen]]. The positions with their respective holders are visible for players:&lt;br /&gt;
* All site-positions that are already filled-in (even if they could not be re-filled-in considering current conditions)&lt;br /&gt;
* Site positions that are appointable by a filled-in site position&lt;br /&gt;
* Site positions that are appointable by a filled-in civ position, when that civ positions holder becomes a citizen of your fortress.&lt;br /&gt;
* Civ positions of units that are also a citizen of your fortress.&lt;br /&gt;
If a position becomes available, for example because a certain pop number has been reached, or if it is available from the start(like expedition leader), as long as it cannot be appointed, it still is INVISIBLE for the player. &lt;br /&gt;
&lt;br /&gt;
It might strike someone as odd if a position becomes filled automatically in fortress mode when that position is not even visible. This might be the case if the current holder of a non-appointable position dies or succeeds another position. Regardless of player visibility, these positions will be automatically filled in if the necessary requisitions are met. It might happen with the expedition leader.&lt;br /&gt;
&lt;br /&gt;
A situation with a non-visible but available position, is for example when a position is solely appointed by the expedition leader, when the expedition leader's position is left vacant. It can no longer be appointed by the player and is invisible. Then, it gets automatically assumed, proving that the position still was available.&lt;br /&gt;
&lt;br /&gt;
A position that is both [APPOINTED_BY] and [ELECTED] is visible, but players cannot interact with it.&lt;br /&gt;
&lt;br /&gt;
=[NUMBER]=&lt;br /&gt;
A position might be defined with a number. In that case, as many as defined can be available. If the positions become available, in world-gen and when embarking, they are all filled-in completely.&lt;br /&gt;
&lt;br /&gt;
If the ruling position (with PRECEDENCE of 1) has a NUMBER higher than 1, a random unit of the ones holding these positions is shown as ruler in the embark screen.&lt;br /&gt;
&lt;br /&gt;
A [NUMBER] of 0 (zero) has the same effect as 1.&lt;br /&gt;
&lt;br /&gt;
==Automatic spreading of assumed, non-singular positions==&lt;br /&gt;
If there are civ positions that have a NUMBER higher then '1' and which are assumed (not APPOINTED_BY or ELECTED) but are '''not DUTY_BOUND''', these are automatically spread among the civilisation, based on population. If there are a number of '''20''' available slots of that position, they spread among a civilization with a combined population of, for example, 1000 of which your fortress has 100 (10%), '''2''' of your fortress' citizens will assume that position. &lt;br /&gt;
This may probably also work with elected and appointed positions, but that may be depending on the death of the current holders and this needs more testing. Assumption works within a day, anyway. &lt;br /&gt;
&lt;br /&gt;
==[AS_NEEDED]==&lt;br /&gt;
These positions can be created automatically by the game in world-gen. This, however, only works with: &lt;br /&gt;
* [LAND_HOLDER]'s&lt;br /&gt;
* squad commanders (needs more testing)&lt;br /&gt;
* Messengers at sites&lt;br /&gt;
&lt;br /&gt;
For all other types of positions, they're not created in world-gen, even if they are defined with RESPONSIBILITY's. For example, even in war, the game wouldn't create a MILITARY_GOALS position, if they have AS_NEEDED as number. &lt;br /&gt;
&lt;br /&gt;
However, in fortress mode / player mode, these positions can be created by the player at will.&lt;br /&gt;
&lt;br /&gt;
Positions with AS_NEEDED need to be created first, before any symbols are assignable as 'symbols' (objects) for the position holder to carry or wear.&lt;br /&gt;
&lt;br /&gt;
Positions with AS_NEEDED cannot be created and then ELECTED in fortress mode. It only works with APPOINTED_BY.&lt;br /&gt;
&lt;br /&gt;
=Replacement and Required Population=&lt;br /&gt;
&lt;br /&gt;
The token REPLACED_BY:position means that once the replacing position reaches its required population-number, the 'to-be-replaced' position will disappear. This is defined in REQUIRES_POPULATION. These tags are closely related to each other and seem to only have a meaningful function if combined. Nobles with REQUIRES_POPULATION require the population to have a specific size. &lt;br /&gt;
&lt;br /&gt;
This works on the civ-level as well as on site-level, but those systems are in this mechanic strictly separated. Site-level positions cannot be replaced by civ-level positions and visa versa. This makes sense, because they both depend on their own population-count. When using REQUIRES_POPULATION on civ-level, it counts the total population of the civilisation. &lt;br /&gt;
&lt;br /&gt;
See also: [[Advanced_entity_position_mechanics#Evaluation_of_Positions|Evaluation of positions]]&lt;br /&gt;
&lt;br /&gt;
==Effect of replacement (and on [LAND_HOLDER]s)==&lt;br /&gt;
&lt;br /&gt;
Replacement is immediate and complete - the current holding unit loses the position, even before SUCCESSION_BY_POSITION rules are applied. A position with a number of 1 will replace all the slots of a position with a higher number of slots. &lt;br /&gt;
&lt;br /&gt;
Even if the next position is available but not visible, replacement still takes place. If a position is replaced, it is completely gone - it cannot be appointed, succeeded, elected or assumed any longer.&lt;br /&gt;
The unit immediately loses its position.&lt;br /&gt;
&lt;br /&gt;
In legends, replacement is mentioned as: &amp;quot;(unit name) ceased to be (position name)&amp;quot; The replacement of an AS_NEEDED position empties the position's slot forever. In fortress mode, it may seem as if you can create new slots and appoint new units in the nobles screen, but this is reversed as soon as you close the window.&lt;br /&gt;
&lt;br /&gt;
The landholder chain uses [REPLACED_BY] differently. It does not clear the position completely, but uses it for succession to the next level's position. [REPLACE_BY] is required to let that system work properly. This also means that the way in which landholders succeed (replace + as_needed) does not work in any other way. &lt;br /&gt;
&lt;br /&gt;
Replacement between LAND_HOLDERS and other site- or civ positions does not work in any way. Only the vanilla replacement sequence between levels of LAND_HOLDERs does work. If the token is omitted for landholders, the landholder chain is broken, so replacement is required for the landholder system to work.&lt;br /&gt;
&lt;br /&gt;
[REQUIRES_POPULATION] also does not work for [LAND_HOLDER], when you set [NUMBER] to 1. The position is not created when the required population is reached.&lt;br /&gt;
&lt;br /&gt;
==What doesn't work==&lt;br /&gt;
&lt;br /&gt;
'''Attention: If a position cannot be appointed, for example because of 'mutual appointment', it still exists according to replacement mechanics and will replace other positions if so defined. If a certain position(a) will be replaced by the baron's assistant, which can only be appointed by the [LAND_HOLDER] baron, than that position(s) still will be replaced from the start of the game, even if no baron or their assistant is ever present.'''&lt;br /&gt;
&lt;br /&gt;
A position that is replaced by a somehow not-fillable position, is still replaced. This counts for mutual-appointing positions, replacement by not-yet-assigned landholders, replacement by AS_NEEDED positions, or replacement by not-yet-appointed positions. &lt;br /&gt;
&lt;br /&gt;
Replacement does not work if the replaced position is a [LAND_HOLDER], even with civ-positions. In that case, the LAND_HOLDER's position is not replaced. It does not matter if AS_NEEDED is used, or a fixed number, and it also does not matter what type of position the replacer is. So this only works (correctly) with positions that become available by REQUIRES_POPULATION.&lt;br /&gt;
&lt;br /&gt;
={{text anchor|Evaluation of Positions}}=&lt;br /&gt;
The game does not continuously check whether positions should become available, elected or be [REPLACE_BY]. This is well-known behavior—for example with the [[mayor]], who does not appear automatically when the required population ([REQUIRES_POPULATION]) is reached. Instead, positions must somehow be evaluated. This applies in several other situations as well &lt;br /&gt;
&lt;br /&gt;
'''Cases that require a trigger:'''&lt;br /&gt;
* Election of a newly created position&lt;br /&gt;
* Election after the current holder dies&lt;br /&gt;
* Automatic assumption of a newly created position (this may take up to a day)&lt;br /&gt;
* New citizens (such as migrants) considering available positions&lt;br /&gt;
* Premature succession of a newly created position&lt;br /&gt;
&lt;br /&gt;
'''Cases that do not wait for a trigger:'''&lt;br /&gt;
* Succession following the death of the previous holder&lt;br /&gt;
* Automatic assumption of existing positions that have become vacant&lt;br /&gt;
&lt;br /&gt;
'''Triggers that cause the game to reevaluate noble positions:'''&lt;br /&gt;
* Succession of a [SITE]-position due to the death of the current holder&lt;br /&gt;
* [[Advanced_entity_position_mechanics#Election_Day|Election Day]]&lt;br /&gt;
* Automatic assumption of a [SITE]-position that becomes vacant&lt;br /&gt;
* (Re)assigning any site position manually&lt;br /&gt;
* Settlement elevation on the LAND_HOLDER track (e.g. gaining a [[Baron]] or [[Count]])&lt;br /&gt;
&lt;br /&gt;
=Gaining a position=&lt;br /&gt;
There are several ways a unit can gain a position:&lt;br /&gt;
* Appointment: A unit is appointed by another unit or by the player.&lt;br /&gt;
* Election: A unit is elected by and among the members of the entity&lt;br /&gt;
* Assumption: A position is neither elected or appointed: a random unit just simply 'takes' the position&lt;br /&gt;
* Succession: a unit is the valid successor of this position(A), either by its current position(B) or because they are that position(A)-holder's heir. &lt;br /&gt;
&lt;br /&gt;
Available positions will automatically be assigned to a random civ member when a new site/civ is created.&lt;br /&gt;
&lt;br /&gt;
==Who can take a position==&lt;br /&gt;
&lt;br /&gt;
* If so defined, a unit needs to be the right caste and/or class - it does not seem to work with creature types. &lt;br /&gt;
* The unit needs to be an adult member of the site or its parent civ-government; that is also CAN_LEARN or INTELLIGENT (SLOW_LEARNER cannot take positions) or otherwise is able to think.&lt;br /&gt;
&lt;br /&gt;
==Appointment==&lt;br /&gt;
&lt;br /&gt;
Positions that have an [APPOINTED_BY:position] token require that position to exist, to be available and appointed. Any position that is APPOINTED_BY can be appointed if the appointer's position is filled in. &lt;br /&gt;
For site-positions to be appointed, it is required that the appointer is present at that location.&lt;br /&gt;
&lt;br /&gt;
If the appointing unit is temporarily not present, or if that position is not filled, positions depending on it cannot be appointed. This is the case with [[militia captains]], when the [[militia commander]] is on a [[mission]]. &lt;br /&gt;
&lt;br /&gt;
A site position cannot appoint a civ position ''or'' LAND_HOLDER in any way whatsoever. &lt;br /&gt;
&lt;br /&gt;
Civ-level positions can appoint other civ-level positions and site-level positions can appoint other site-level positions.&lt;br /&gt;
&lt;br /&gt;
Contrary to what has been said elsewhere, civ-level nobles also can appoint site-level nobles. They need to be at the site to do so. Landholders can appoint both site-level and civ-level nobles. These systems are therefore not as separate as was assumed.&lt;br /&gt;
&lt;br /&gt;
'''Mutual appointment''' cannot take place. If these are the only requisites of the position, then the positions will never appear or get filled. These unfillable positions can be put to good use, for example, to replace a position that is no longer needed without creating a new one. &lt;br /&gt;
&lt;br /&gt;
'''Self appointment''' doesn't normally work. If you have a position that is only appointed by itself, it is never appointed and also cannot be assumed. However, if the position has a number higher than 1, and is filled by multiple units (for example by another position that is now empty), than those units can re-assign or appoint each other from that their shared position. &lt;br /&gt;
&lt;br /&gt;
If an APPOINTED_BY token refers to a non-existing position's code, the effects are as if the appointment token doesn't exist at all.&lt;br /&gt;
&lt;br /&gt;
===Automatic appointment in world-gen and on the civ level===&lt;br /&gt;
&lt;br /&gt;
Outside of fortress mode, the game will always attempt to appoint nobles whenever possible, as long as these positions are '''available''', even if they are invisible to the player.&lt;br /&gt;
It shows this message in legends:  &amp;quot;(unit name) has been appointed to the position of (position name)&amp;quot;&lt;br /&gt;
&lt;br /&gt;
In world-gen, all positions become available and are automatically appointed, taking population- and appointment-requirements into consideration. &lt;br /&gt;
&lt;br /&gt;
Positions that are REPLACED_BY are culled and won't be filled.&lt;br /&gt;
&lt;br /&gt;
If a citizen of your fortress holds a civ-level position that can appoint another civ-level position, the appointment will happen automatically and without player intervention. It may happen that another citizen of your fortress is appointed by that unit, creating civ-level position holders in your fortress, but it is unknown what is required to force this effect.&lt;br /&gt;
&lt;br /&gt;
===Manual appointments by players in fortress mode===&lt;br /&gt;
In fortress mode, the positions that need to be appointed stay empty on embark. and it is the player's job to appoint those. A player can appoint a unit to any available position, according to the hereabove mentioned conditions. The player takes the role of the automatic appointment-system, but has no direct control over elections, successions and replacement. There are some differences in what is possible at world-gen sites and at player-controlled sites.&lt;br /&gt;
&lt;br /&gt;
* A position that is appointed by a unit present as a fortress citizen, can be appointed, re-appointed or left vacant. This means also by civ-level nobles living as a citizen in your fortress; not when they are only visiting, like the diplomat.&lt;br /&gt;
* A position whose appointing positions are all either vacant or [REPLACED_BY] can no longer be appointed. If the position is already filled, it cannot be reappointed or vacated; the current holder simply remains in office.&lt;br /&gt;
* A position that is APPOINTED_BY a unit present as the land_holder of your site, can be appointed, reassigned or left vacant.&lt;br /&gt;
* A position that has SUCCESSION BY_HEIR or BY_POSITION can 'initially' be appointed and also re-appointed or left vacant, but as soon as the [[nobles]] screen closes, ''it can no longer be replaced or left vacant''. From then on, the succession-rules determine who gains that position when the current holder loses the position. This works even if the SUCCESSION:BY_POSITION-position is vacant or replaced.&lt;br /&gt;
* A position that is ELECTED nor APPOINTED_BY, can always be (re-)appointed by the player. This is the case with the [[Expedition leader]]. If it is left vacant however, it cannot be appointed, but will be assumed shortly after. &lt;br /&gt;
* A position that is both ELECTED and APPOINTED_BY, cannot be appointed by the player. Contrary to world-gen sites, its slot is visible, but it doesn't show the +-sign. This is either by AS_NEEDED or by a fixed number. Even if the position somehow gets filled (re)assignment is never possible&lt;br /&gt;
* A player can appoint a number of units to a position, as much as the NUMBER token dictates. If it is AS_NEEDED, the player may create as many slots as they like, also contrary to world-gen sites. &lt;br /&gt;
* A civ-position can never be appointed, even if the appointing civ noble is a citizen of your fortress. A civ position also never can be re-assigned or left vacant, would that position be defined as appointed by a site-position.&lt;br /&gt;
&lt;br /&gt;
==Election==&lt;br /&gt;
Read more in [[Elections]]. The message that is shown is: &amp;quot;(creature name) has been elected to the position of  (position name)&amp;quot;&lt;br /&gt;
&lt;br /&gt;
In worldgen, there is no functional difference between ELECTED and non-appointment, except that elected nobles tend to have high social skills and/or skills related to the position, while non-elected ones are assigned randomly. See: [[Elections]]&lt;br /&gt;
&lt;br /&gt;
A succession goes before an election. &lt;br /&gt;
&lt;br /&gt;
A position that is both ELECTED and APPOINTED_BY never gets elected. Even if the appointees' position somehow gets filled, (re)-elections won't happen. So, it doesn't seem possible to have an elected position become available when a certain other position becomes filled. &lt;br /&gt;
&lt;br /&gt;
An ELECTED civ-(or LAND_HOLDER) position at your site will never be (re)-elected in fortress mode. So real (re-)election only works with SITE-positions. &lt;br /&gt;
&lt;br /&gt;
=== {{text anchor|Election Day}} ===&lt;br /&gt;
Election Day takes place on the 17th of Summer. On this day, a full reevaluation is performed, including all currently elected positions, which are subject to re-election. Contrary to the information on [[Elections]], nothing occurs at the start of a season.&lt;br /&gt;
&lt;br /&gt;
Positions that are both [APPOINTED_BY] and [ELECTED] will not be re-elected on Election Day when assigned through [SUCCESSION].&lt;br /&gt;
&lt;br /&gt;
=== Election Eligiblity ===&lt;br /&gt;
Any citizen may stand for election. Eligibility cannot be restricted using [ACCEPTED_CREATURE], [REJECTED_CREATURE], [ACCEPTED_CLASS], [REJECTED_CLASS], or [GENDER]. Units currently having a [SUCCESSION]-position even may be elected for a position with a [SQUAD]-token, which is otherwise impossible to assign or even succeed.&lt;br /&gt;
&lt;br /&gt;
=== Skills ===&lt;br /&gt;
In elections, skills are taken into account for the tokens of the position which is elected.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Relevant skills per position token&lt;br /&gt;
|-&lt;br /&gt;
! Position Token !! Relevant skills&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#DELIVER_MESSAGES|[DELIVER_MESSAGES]]] || [[Ambusher]], [[Observer]] and [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#ACCOUNTING|[ACCOUNTING]]] || [[Record_keeper|Record keeper]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#ESPIONAGE|[ESPIONAGE]]] || [[Schemer]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#HEALTH_MANAGEMENT|[HEALTH_MANAGEMENT]]] || [[Diagnostician|Diagnostician]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#MAKE_INTRODUCTIONS|[MAKE_INTRODUCTIONS]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#MAKE_PEACE_AGREEMENTS|[MAKE_PEACE_AGREEMENTS]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#MAKE_TOPIC_AGREEMENTS|[MAKE_TOPIC_AGREEMENTS]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#MANAGE_PRODUCTION|[MANAGE_PRODUCTION]]] || [[Organizer]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#MEET_WORKERS|[MEET_WORKERS]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#RECEIVE_DIPLOMATS|[RECEIVE_DIPLOMATS]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#RELIGION|[RELIGION]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#TAME_EXOTICS|[TAME_EXOTICS]]] || [[Animal_trainer|Animal trainer]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#TRADE|[TRADE]]] || [[Social_skill|Social skills]] and [[Appraiser|Appraiser]]&lt;br /&gt;
|-&lt;br /&gt;
| [[Position_token#SQUAD|[SQUAD]]]-token || [[Tactician]] and [[Leader]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Assumption==&lt;br /&gt;
&lt;br /&gt;
A position that is not APPOINTED_BY nor ELECTED, or is appointed by positions that are not available in your site or civ, will be assumable by a random dwarf. If it has responsibilities that require certain skills, then these are taken into consideration on embark, but not when the position is assumed during the actual game. &lt;br /&gt;
&lt;br /&gt;
Normally, one to three units will take the into consideration to assume a position. Most of the time when there are multiple open positions, only a single unit will assume all of them. However, a position that has REJECTED_CREATURE, REJECTED_CLASS, ALLOWED_CREATURE or ALLOWED_CLASS will be filled with all different units, even if the creature or class mentioned is irrelevant. It seems that this forces the game to loop over all the available units.&lt;br /&gt;
&lt;br /&gt;
The message that is shown in Legends mode is: &amp;quot;(unit name) has assumed the position of (position name)&amp;quot;. This may also take place in fortress mode, which then shows this message to the player. &lt;br /&gt;
&lt;br /&gt;
If an assumable position becomes empty, it will be assumed within a day. This is the case when you leave the position of expedition-leader vacant. It also happens with entities. &lt;br /&gt;
&lt;br /&gt;
Assumable positions that become empty will not be assumed if that position has a valid [SUCCESSION] -successor. In that case, the successor inherits the position. &lt;br /&gt;
&lt;br /&gt;
Even positions that are somehow invisible because they cannot be directly APPOINTED_BY players, can be assumed. &lt;br /&gt;
&lt;br /&gt;
When you embark, the assumable positions are automatically assigned to a random unit. If there are multiple of these positions at embark, they all are assigned to the same unit. If there are enough positions available, multiple units may gain a position, but often no more than three different ones.&lt;br /&gt;
&lt;br /&gt;
If a dwarf in fortress mode assumes a position, that already has another position, it will leave the current position empty. When that position also is assumed, then this will continue until all positions have a dwarf appointed to them, with no other position.&lt;br /&gt;
&lt;br /&gt;
A unit that already has a position with a [SUCCESSION] token won't take assumable positions into consideration that have a [SQUAD] token. This can be used by the modder to prevent unwanted loss of current positions.&lt;br /&gt;
&lt;br /&gt;
A position that has an appointer which got replaced because of REPLACED_BY, will not become assumable. Also, positions that have an AS_NEEDED appointer that is not yet filled (or ever), will also not be assumed.&lt;br /&gt;
&lt;br /&gt;
==Succession==&lt;br /&gt;
&lt;br /&gt;
If a position-holder dies or advances to a new position via succession, the position will be granted to another unit based on the [SUCCESSION] tag. If they have an heir or the succeeding position exists, that unit will be assigned. If not, a new one will be appointed according to the usual rules. The message that is shown is: &amp;quot;(creature name) being the rightful heir, has inherited the position of (position name)&amp;quot;&lt;br /&gt;
&lt;br /&gt;
The succeeding creature will also lose its previous position. When succession is defined using BY_POSITION, the unit naturally loses the referenced position. However, it also loses any other positions it may hold. If a unit could simultaneously inherit multiple positions, the last-defined succession overrides the earlier one, clearing the previously acquired position&lt;br /&gt;
&lt;br /&gt;
Succession works both at site-level and at civ-level, both in world-gen and in fortress-mode. Succession by position on the civ-level is also visible and functional in fortress-mode. If both civ-level nobles are a citizen of your fortress, succession is applied visually. Vanilla example: The [[druid]] is succeeded by the [[acolyte]]. This means that as soon as the druid dies, the acolyte takes over. &lt;br /&gt;
&lt;br /&gt;
When a position that is succeeded by position becomes available, immediately it is checked if a position-successor is available and the position is filled with that unit. Even if this is an [ELECTED] position, succession goes first. When elections eventually do happen, succession plays no role.&lt;br /&gt;
&lt;br /&gt;
It is possible to assign multiple levels of [SUCCESSION:BY_POSITION] in different positions, creating a line of positions where the death of one causes all those &amp;quot;below&amp;quot; them to advance.&lt;br /&gt;
&lt;br /&gt;
A position can have multiple tokens with position-succession. It looks to be random which one is used. It is not always:&lt;br /&gt;
* The first or last defined token&lt;br /&gt;
* The first or last appointed unit&lt;br /&gt;
* the oldest or youngest&lt;br /&gt;
* one with a higher or lower precedence&lt;br /&gt;
* a unit with relevant skills&lt;br /&gt;
&lt;br /&gt;
When a position is defined with a Succession-type, that unit cannot have another position that has a Squad-type. If the succession-position itself has a squad, than it can be assigned another position with a squad, but then it will loose the previous succesion position. See further details by &amp;quot;Squad&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Assumed positions can also be succeeded by position, if the current holder dies. &lt;br /&gt;
&lt;br /&gt;
If the successor is an AS_NEEDED position, the used unit will leave a vacant position-slot on its removal by succession. This empty slot remains a real slot, which will only be cleaned up if you (un)appoint a unit to this position-series. It isn't cleaned up after regular position validation.&lt;br /&gt;
&lt;br /&gt;
A civ-level position of a unit living at your site might be inherited by a unit holding that does not currently live at your site. This, unfortunately, moves that position to a unit off site. This may also happen with the landholder of your site, for example when it is succeeded by another civ-level position. This currently poses an unsolved challenge. &lt;br /&gt;
&lt;br /&gt;
===Eligibility for succession===&lt;br /&gt;
Succession is restricted by the tokens [ACCEPTED_CREATURE], [REJECTED_CREATURE], [ACCEPTED_CLASS], [REJECTED_CLASS] and [GENDER].&lt;br /&gt;
&lt;br /&gt;
===Site and civ combined succession===&lt;br /&gt;
&lt;br /&gt;
Succession can work when combining site positions with civ-level positions or land_holders, but only in world-gen mode.  In fortress mode, it only works with combining the same level of nobles, with Landholders regarded as civ-level. So, in fortress mode, a site's position cannot succeed a landholder's position and it cannot succeed another type of civ-level position, and vice versa. &lt;br /&gt;
&lt;br /&gt;
This won't work even if the positions:&lt;br /&gt;
* are AS_NEEDED or having a fixed number.&lt;br /&gt;
* Are LAND_HOLDERs.&lt;br /&gt;
&lt;br /&gt;
===Succession [BY_HEIR]===&lt;br /&gt;
&lt;br /&gt;
When a heir is needed for succession, all children and then other relatives are validated. They cannot take the position if their status does not allow it, for example if they have become a member of another civilisation. See: &amp;quot;Who can take a position&amp;quot;. If the unit has no valid heir on that location, the position may go to a unit living on another site. This may cause the title of Landholder of some land to be inherited by a unit living somewhere else. That might be a problem, because then you lose your landholders.&lt;br /&gt;
&lt;br /&gt;
===Premature Succession===&lt;br /&gt;
&lt;br /&gt;
There are cases where [SUCCESSION:BY_POSITION] is applied prematurely: at the moment a position is first created and becomes appointable or assumable, rather than after a current holder leaves. In this situation, the succession mechanism assigns a holder immediately, without any player interaction.&lt;br /&gt;
&lt;br /&gt;
When a position becomes available for the first time, the game checks whether a valid successor-by-position exists. If so, that unit is assigned instantly. This behavior occurs only in Fortress mode. It can affect positions that would normally be appointed or elected by the player, causing succession to trigger before the player has any opportunity to intervene.&lt;br /&gt;
&lt;br /&gt;
This premature succession only occurs the first time a position becomes available (i.e. when it is created and becomes appointable or assumable). Even if the position remains vacant and the conditions for succession improve later, premature succession will not trigger again. From that point onward, only normal succession rules apply.&lt;br /&gt;
&lt;br /&gt;
Using premature succession, a position that has [ELECTED], [APPOINTED_BY], or both, can be filled directly.&lt;br /&gt;
Notably, positions that combine [ELECTED] and [APPOINTED_BY] are normally impossible to fill through regular mechanics. Premature succession bypasses both election and appointment entirely, making this combination uniquely reachable through this mechanism.&lt;br /&gt;
&lt;br /&gt;
No initial election takes place, and no subsequent elections will ever occur for that position. Succession always takes precedence over election, both in premature succession and in normal succession cases.&lt;br /&gt;
&lt;br /&gt;
This behavior applies only in Fortress mode, not during world generation. World-gen uses simplified and more efficient mechanics, and this interaction does not occur there. Premature succession can affect both site-level and civilization-level positions.&lt;br /&gt;
&lt;br /&gt;
====Multiple succession chains====&lt;br /&gt;
&lt;br /&gt;
Multiple succession chains may be defined and are resolved in the order they appear in the raws.&lt;br /&gt;
&lt;br /&gt;
If a position has both:&lt;br /&gt;
* a direct succession chain (A → C), and&lt;br /&gt;
* a multi-step chain (A → B → C),&lt;br /&gt;
&lt;br /&gt;
and intermediate positions are vacant, resolution proceeds according to raw order. A common outcome is:&lt;br /&gt;
# The direct succession (A → C) is applied first, assigning A to C.&lt;br /&gt;
# The remaining chain then advances (A → B).&lt;br /&gt;
# If C still has empty slots, the final step (B → C) may occur.&lt;br /&gt;
&lt;br /&gt;
If position B is already filled, behavior depends entirely on raw definition order:&lt;br /&gt;
* nothing may happen, or&lt;br /&gt;
* B may move to C first, followed by A moving to B.&lt;br /&gt;
====Working triggers====&lt;br /&gt;
Premature succession is triggered when a succeedable position is created under the following conditions:&lt;br /&gt;
* The succeedable position is created because its [REQUIRES_POPULATION] threshold is reached. This applies even if the position is not [APPOINTED_BY]. Premature succession takes priority over automatic assumption (e.g. the mayor declaring themselves within a day).&lt;br /&gt;
* The succeedable position can be [APPOINTED_BY] another position of the same level (site or civ) that has just been created because its [REQUIRES_POPULATION] was reached.&lt;br /&gt;
* The succeedable position can be appointed by another [SITE] [AS_NEEDED] position that has just been created and filled.&lt;br /&gt;
* The succeedable (site or civ) position is [APPOINTED_BY] the [LAND_HOLDER] position, which has just been created due to site elevation. This typically resolves when the diplomat leaves the map, at which point the landholder position becomes active.&lt;br /&gt;
* If all other requirements are met, premature succession can occur immediately after unpausing following embark, for positions with [REQUIRES_POPULATION:7].&lt;br /&gt;
====Non-working triggers====&lt;br /&gt;
Premature succession does '''not''' occur in the following cases:&lt;br /&gt;
* An [AS_NEEDED] succeedable position slot is manually created by the player while its succeeding position is already filled. [AS_NEEDED] positions must always be appointed after creation.&lt;br /&gt;
* The succeeding position is filled after the succeedable position becomes available. The moment of creation is the decisive trigger; filling the source position later is too late.&lt;br /&gt;
* The succeedable position can be appointed by another site or civ position with a fixed number of slots that has just been appointed. In this case, the succeedable position is just available for appointment itself, nothing more&lt;br /&gt;
* Any situation occurring during world generation.&lt;br /&gt;
* The succeeding position is [REPLACED_BY] the succeedable position. In this case, replacement removes the unit from the source position first, leaving no holder available for the succession mechanism to use.rst, leaving no holder available for the succession mechanism to use.&lt;br /&gt;
* The position is [APPOINTED_BY] a civ-level position, that just became a citizen of your fortress. It must be noted that those civ-level positions were active all that time and the succeedable position could be appointed even before. The monarchs arrival does not trigger premature succession&lt;br /&gt;
&lt;br /&gt;
=Losing a position=&lt;br /&gt;
&lt;br /&gt;
A unit can lose a position when:&lt;br /&gt;
* It dies&lt;br /&gt;
* It succeeds another position, even if it has nothing to do with the previous position.&lt;br /&gt;
* It is assigned to another SQUAD-holding position&lt;br /&gt;
* It is convicted of a crime.&lt;br /&gt;
* Another unit is ELECTED for the position&lt;br /&gt;
* Its position becomes replaced&lt;br /&gt;
* Another unit is appointed by the player, or the position is left vacant. &lt;br /&gt;
* It has assumed another position, as this always leaves the previous position vacant.&lt;br /&gt;
&lt;br /&gt;
=Embarkment=&lt;br /&gt;
Two types of positions are automatically filled by embark. &lt;br /&gt;
* Positions without [APPOINTED_BY] or [ELECTED] (assumable). All these positions, even with a NUMBER higher than 1, are all filled with one to three dwarves. Contrary to assumption, this doesn't take into account any limitations. REJECTED_CLASS, ALLOWED_CLASS, REJECTED_CREATURE, ALLOWED_CREATURE and GENDER are applied, but without the normal spread you may expect with assumptions. Also it doesn't look at [SUCCESSION] and [SQUAD] limitations.&lt;br /&gt;
* Positions that are elected are filled-in by the normal election rules.&lt;br /&gt;
&lt;br /&gt;
Positions that have a defined appointer are never initially filled at embark.&lt;br /&gt;
&lt;br /&gt;
All positions that don't have [REQUIRES_POPULATION]  or with a [REQUIRES_POPULATION] of 7 or lower, will be available at embark.&lt;br /&gt;
&lt;br /&gt;
=Land Holders=&lt;br /&gt;
&lt;br /&gt;
A Landholder is a '''special civ-level noble''' who gets a certain piece of land to hold, when that land is elevated to a certain level, determined by the tag [LAND_HOLDER] and by the landholder triggers in the game's settings. In vanilla, these are the baron, the count and the duke. &lt;br /&gt;
&lt;br /&gt;
A unit gaining the landholder position does not migrate to that specific named land. In world-gen, they stay just where they are, probably at the capital. In fortress mode, you can suggest a citizen for the role. So for the time being that works.&lt;br /&gt;
&lt;br /&gt;
Succession is then a real issue. If you use BY_HEIR, its solved when that landholder has children living at your site. But when its not the case, the title just goes to anyone randomly. Succession BY_POSITION works, but only in the civ-chain, and there's no way to guarantee a civ-holder is at your site at that time. Even with 'automatic spread' positions, it goes to one of them randomly.&lt;br /&gt;
&lt;br /&gt;
==Functioning of the regular landholder chain==&lt;br /&gt;
&lt;br /&gt;
The distinct difference between a landholder and a regular civ-level noble, is that a landholder may gain the position of landholder &amp;quot;of (sitename)&amp;quot; They are then seen as ruler of a particular site. &lt;br /&gt;
&lt;br /&gt;
For a land_holder position to function as such, it has a few requirements:&lt;br /&gt;
* NUMBER:AS_NEEDED &lt;br /&gt;
* The first landholder-number of 1 is defined. &lt;br /&gt;
* No SITE (so civ) tag in that position.&lt;br /&gt;
*REPLACED_BY the next level landholder&lt;br /&gt;
If a landholder is defined with differentiating properties, it will function like a regular noble. A higher-up landholder that lacks the required tokens or connections will then not be used in elevation. &lt;br /&gt;
&lt;br /&gt;
If a fortress meets the trigger for a new LAND_HOLDER tier when a caravan leaves, then the next time the outpost liaison or equivalent arrives, they will offer to make you an official colony, which will allow you to select all positions for that LAND_HOLDER level. Each time they appear, the outpost liaison will only promote your fortress one tier up the LAND_HOLDER track. &lt;br /&gt;
&lt;br /&gt;
The landholder's LAND_NAME is not required for the functioning of this system. If omitted, messages will be shown with a more generic text.&lt;br /&gt;
&lt;br /&gt;
==Appointment==&lt;br /&gt;
&lt;br /&gt;
This mechanism differs from the regular methods of position management. It ignores all regular appointment- and election rules, so it more or less functions like automatic assignment. A landholder is, in vanilla, appointed by the monarch. Changing this doesn't seem to do anything. If they are appointed by a site-position, a not-yet-existing civ-position, or not appointed at all: the system keeps working as usual. &lt;br /&gt;
&lt;br /&gt;
A landholder can appoint civ-positions and site positions. This works as expected: the positions only are appointed then when that landholder becomes available on civ-level or when he arrives at that site for site-level positions. &lt;br /&gt;
&lt;br /&gt;
If your rank of landholder is the first of its rank in the realm, and is the sole appointer of some civ-position, then immediately as it gains the title, it will appoint the empty civ-slots. This may happen on your site, but the frequency and certainty is hard to determine.&lt;br /&gt;
&lt;br /&gt;
==Succession==&lt;br /&gt;
&lt;br /&gt;
Succession rules are applied to some extent:&lt;br /&gt;
* In world-gen it works according to succession rules, and site-positions can be used here.  This means that a site position or a civ-position can inherit a landholder position, and vice versa.&lt;br /&gt;
* In fortress mode, once a landholder has been appointed, it then can inherit civ-level positions, and vice versa. This means that your baron can become king. &lt;br /&gt;
* Succession rules do not apply within the [LAND_HOLDER] chain; a count will not inherit a baron's land. This is because succession does not work well with the AS_NEEDED token.&lt;br /&gt;
* Premature succession works in fortress mode with landholders. If a unit gets a landholder's position and that landholder is the appointer of an as yet empty position, which is defined as succeeding from a third one, then the succession is immediately applied. The landholder themselves can even be the successor of a newly created position.&lt;br /&gt;
* A landholder's position is, in fortress mode, not successionable by a site-position or vice versa&lt;br /&gt;
&lt;br /&gt;
===Impossibilities for succession by a site-position===&lt;br /&gt;
It would be very beneficial if the landholder can be succeeded by a [SITE]-position. So far, the following tests have not lead to positive results:&lt;br /&gt;
* making landholder and site-position both non-[DUTY_BOUND]&lt;br /&gt;
* make the site-position be [APPOINTED_BY] the landholder and/or the monarch&lt;br /&gt;
* give landholder and site-position [REJECTED_CREATURE]&lt;br /&gt;
* Let the monarch live at your site when succession could happen.&lt;br /&gt;
* Let the site-position be [REPLACED_BY] the landholder.&lt;br /&gt;
&lt;br /&gt;
==Nomination==&lt;br /&gt;
&lt;br /&gt;
The player is able to nominate a unit to become the LAND_HOLDER, but this only works with units of [LAND_HOLDER] level 1. The player can select all units, only limited by the PRECEDENCE of the current units' positions.&lt;br /&gt;
&lt;br /&gt;
A unit that has a position with a PRECEDENCE lower or equal to that of the landholder's position, cannot be selected. This means that a baron (or count) from another site or the monarch cannot be selected, because their precedence is lower or equal. &lt;br /&gt;
&lt;br /&gt;
The GENDER  token does not work here: also units with the wrong gender (sorry) can be selected.&lt;br /&gt;
&lt;br /&gt;
==Levels==&lt;br /&gt;
In mods, up to 10 levels of LAND_HOLDER may be defined. &lt;br /&gt;
&lt;br /&gt;
If a landholder is replaced by a wrong landholder number (1 replaced by 3), then the number 3 is still correctly attached to the settlement. &lt;br /&gt;
&lt;br /&gt;
If the current landholder has the highest available landholder number, then the next elevation will not happen - the diplomat will not elevate your fortress to a higher position, even if that position might be REPLACED_BY a lower landholder. &lt;br /&gt;
&lt;br /&gt;
These chains do work:&lt;br /&gt;
* 1 -&amp;gt; 2a - &amp;gt; 2b -&amp;gt; 3&lt;br /&gt;
* 1 -&amp;gt; 3 -&amp;gt; 2 -&amp;gt; 4&lt;br /&gt;
&lt;br /&gt;
These chains do not work:&lt;br /&gt;
* 2 -&amp;gt; 3 (need to start at 1)&lt;br /&gt;
* 1 -&amp;gt; 4 -&amp;gt; 2 -&amp;gt; 3 (stops after 4 as the highest)&lt;br /&gt;
* 1a -&amp;gt; 2, 1b -&amp;gt; 2 (only 1a and 2 work, 1b is not used)&lt;br /&gt;
&lt;br /&gt;
==Moving landholders==&lt;br /&gt;
&lt;br /&gt;
It may happen that a land-holder no longer lives at the site which they are the landholder of, specifically when the current landholder dies, leaving the title to an heir living somewhere else. &lt;br /&gt;
&lt;br /&gt;
To prevent this from happening, you can make their succession from heir and make sure that their kids live at your site. Or, you can make their position succeeded by another civ position, and make it so that this civ position is somehow available on your site. But if multiple of these positions exist, it cannot be guaranteed that a citizen of your fortress will inherit the title. &lt;br /&gt;
&lt;br /&gt;
In world gen, a landholder lacking the DUTY_BOUND-token will also move to the site they like, according to legends mode.&lt;br /&gt;
&lt;br /&gt;
==Replacement by a generic civ-position==&lt;br /&gt;
&lt;br /&gt;
If a landholder is replaced by an AS_NEEDED non-landholder civ-position, then this will work: the current landholder loses that title upon settlement-elevation and gains that civ-title. However, the civ-title lacks the landholder-property of being attached to the land. It will not show the name of the settlement alongside the position's name. So no &amp;quot;minister of Shovelmounts&amp;quot;&lt;br /&gt;
&lt;br /&gt;
If a landholder is replaced by a general AS_NEEDED civ-position, that itself is also replaced by a generic AS_NEEDED civ-position, then firstly the elevation is executed and also the unit gains that new position. However, he immediately loses it, because an AS_NEEDED position that is replaced by another position can be filled initially, but units wont be able to hold that title.&lt;br /&gt;
&lt;br /&gt;
==Landholder with fixed number==&lt;br /&gt;
&lt;br /&gt;
A landholder's position that has a fixed number will be created and filled directly when the civilisation is born, so this position slot is then not available for the regular landholder-mechanic and will also not be used. That landholder will thus not be attached to a settlement. &lt;br /&gt;
&lt;br /&gt;
It doesn't matter if the landholder's position is connected to the regular landholder's-chain with the REPLACE_BY token.&lt;br /&gt;
&lt;br /&gt;
==Responsibilities==&lt;br /&gt;
&lt;br /&gt;
When given a certain [RESPONSIBILITY], a landholder may function as a regular civ-level noble. If the position has [TRADE] or [OUTPOST_NEGOTIATING] responsibilities, then the landholder functions both as a diplomat and as an actual land holder. A landholder with the [MILITARY_STRATEGY]  responsibility will travel around taming creatures in world-gen, according to legends mode. &lt;br /&gt;
&lt;br /&gt;
Besides that, the responsibilities work the same as with any other on-site living position-holder, civ or otherwise.&lt;br /&gt;
&lt;br /&gt;
=Military=&lt;br /&gt;
==Squad management==&lt;br /&gt;
In the vanilla game, the Squad interface only becomes available after a militia commander has been appointed. Until then, the window displays:{{DFtext|You must appoint somebody first to create a squad.}}&lt;br /&gt;
&lt;br /&gt;
What’s surprising is how this is determined internally. In the entity raw definition, '''only the last two positions that include a [SQUAD] token are checked''' to decide whether the interface is accessible at all. As a result, if your hierarchy defines commanders A through E, appointing '''Commander D or E''' unlocks squad formation, while appointing A–C does nothing.&lt;br /&gt;
&lt;br /&gt;
In other words, squad availability is not tied to ''having a militia commander'', but to ''which specific positions happen to be last in the raw list''—a notably hacky implementation.&lt;br /&gt;
&lt;br /&gt;
These 'last two' are always the last two '''available positions.''' So if they get [REPLACED_BY] or become available because of [REQUIRES_POPULATION], the game adapts to those.&lt;br /&gt;
&lt;br /&gt;
==Squad assignment==&lt;br /&gt;
&lt;br /&gt;
Squads can be assigned, even if the leader position has no holder.&lt;br /&gt;
&lt;br /&gt;
A specific unit can only have one position associated with a squad. If it gains another 'squad holding position', it is unassigned from the first one. This does not work with a 0-squad, so only 1+squads are taken into consideration. This technique can possibly be used to distribute all positions equally among all citizens. It does however not work with election and assumption. &lt;br /&gt;
&lt;br /&gt;
If a civ-level position is associated with a squad and it gets a site-level squad-holding position assigned, it loses the current civ-position. &lt;br /&gt;
&lt;br /&gt;
Squads can get really messed up, if you make the position (or multiple) either elected or not-elected and not-appointed, then this can cause the game to assign multiple squads to the same unit. Automatic assignment and election does not take squads into account, but the nobles screen does. This can cause the positions to be cleared as the game figures out that they have more than one position, and immediately get elected or assumed again. &lt;br /&gt;
&lt;br /&gt;
Positions that cannot have a squad-position:&lt;br /&gt;
* A site- or civ-position with a [SUCCESSION] token cannot be appointed a squad-holding-position. The other way around, however, does work. For example, if a site-position with a [SUCCESSION]-token is appointed to a unit that has already a position with [SQUAD]. But when that squad position is assigned to another unit, it cannot be assigned back. &lt;br /&gt;
* A position with [SUCCESSION] can also not be assigned as a '''member''' of a squad.&lt;br /&gt;
* A squad-holding position with a formed squad cannot be appointed to another squad holding position.&lt;br /&gt;
&lt;br /&gt;
If a position has at least one squad member, it cannot be left vacant. First, the squad has to be disbanded, then the position may be cleared.&lt;br /&gt;
&lt;br /&gt;
==0-squads==&lt;br /&gt;
A 0-Squad is defined in a position as [SQUAD:0:member:members]. It does not seem to do anything useful as of now.&lt;br /&gt;
* It cannot be used to activate the [[Squad|military interface]]&lt;br /&gt;
* It does not restrict the assignment of [SUCCESSION] positions.&lt;br /&gt;
* Assigning this position does not clear any previously held squad position.&lt;br /&gt;
* The [[Leader]] and [[Tactician]] skill are not marked as relevant skills and are not taken into account in elections.&lt;br /&gt;
* It cannot be formed as a squad.&lt;br /&gt;
&lt;br /&gt;
=Further testing=&lt;br /&gt;
The following questions may need additional testing. Feel free to add or answer&lt;br /&gt;
* Everything regarding COMMANDING and army-structure&lt;br /&gt;
** [http://www.bay12forums.com/smf/index.php?topic=175437.msg8331668#msg8331668]&lt;br /&gt;
** [http://www.bay12forums.com/smf/index.php?topic=165213.msg8335682#msg8335682]&lt;br /&gt;
** [http://www.bay12forums.com/smf/index.php?topic=174584.msg8026854#msg8026854]&lt;br /&gt;
* Everything regarding CONQUERED_SITE, but it is presumably just like site. But what if you combine SITE or LAND_HOLDER with it?&lt;br /&gt;
* Stuff about the monarch, its arrival and its entourage.&lt;br /&gt;
&lt;br /&gt;
=Oddities (Bugs)=&lt;br /&gt;
Almost everything on this page could be called an oddity. Because of their unexpected usability, some may also be referred to as “undocumented features.” Others, however, are simply odd and not particularly useful, yet I hesitate to call them “bugs.”&lt;br /&gt;
* If a certain threshold is reached that makes an elected position electable, and the triggering event that initiates this evaluation is an assumption, then the resulting assumption is also referred to in the messages as an election&lt;br /&gt;
&lt;br /&gt;
=Examples=&lt;br /&gt;
&lt;br /&gt;
===The Founder===&lt;br /&gt;
The founder is a single dwarf, appointed at embark. They will be the only one ever to have this position and are not replaceable. When they lose their position some way, the position will not be assumed by another dwarf. &lt;br /&gt;
{{gamedata|title=The Founder|&lt;br /&gt;
[POSITION:THE_FOUNDER]&lt;br /&gt;
	[NAME:the founder:founders]&lt;br /&gt;
	[NUMBER:1] &lt;br /&gt;
	[SITE]&lt;br /&gt;
	[ALLOWED_CREATURE:DWARF:ALL]		- will only be filled at embark, but not assumable later.&lt;br /&gt;
	[REJECTED_CREATURE:DWARF:ALL]		- will only be filled at embark, but not assumable later.&lt;br /&gt;
	[SUCCESSION:BY_POSITION:THE_FOUNDER]	- not unassignable, also cannot be assigned to a [SQUAD] position.&lt;br /&gt;
	[PRECEDENCE:200] &lt;br /&gt;
	Non APPOINTED_BY&lt;br /&gt;
	Non ELECTED&lt;br /&gt;
	Optional: Add responsibilities to make the game select a unit with certain skills.&lt;br /&gt;
}}&lt;br /&gt;
===Marriage bar===&lt;br /&gt;
Dwarven matrons are held in great honour. Upon marriage, a female dwarf is no longer expected to perform menial labour. All dwarven males hold this position by default, granting their spouses exemption from menial work.&lt;br /&gt;
&lt;br /&gt;
The position becomes available with the arrival of the first migrants; otherwise, on embark, it would be assumed by females. Its succession rule is non-functional, but this prevents the player from unassigning the position. A squad size of 1 and the succession rules together prevent a unit from assuming the position more than once.&lt;br /&gt;
&lt;br /&gt;
With precedence set to NONE, the position name is hidden, while LAND_NAME remains visible on the nobles screen. All married females receive the suffix “, Mrs.” and are marked as Nobles.&lt;br /&gt;
&lt;br /&gt;
The practical usefulness of this position is debatable, but it serves as a clear demonstration of several mechanics.&lt;br /&gt;
{{gamedata|title=Mrs. Urist|&lt;br /&gt;
 &lt;br /&gt;
[POSITION:MRS_URIST]	&lt;br /&gt;
	[NUMBER:300]						&lt;br /&gt;
	[SITE]						&lt;br /&gt;
	[ALLOWED_CREATURE:DWARF:MALE]	&lt;br /&gt;
	Not APPOINTED_BY				&lt;br /&gt;
	Not ELECTED&lt;br /&gt;
	[LAND_NAME:Dwarven male]				&lt;br /&gt;
	[NAME:dwarven male:dwarven male]&lt;br /&gt;
	[PRECEDENCE:NONE]					&lt;br /&gt;
	[SPOUSE_FEMALE:, Mrs.:spouses]&lt;br /&gt;
	[MENIAL_WORK_EXEMPTION_SPOUSE]&lt;br /&gt;
	[REQUIRES_POPULATION:8]			&lt;br /&gt;
	[SUCCESSION:BY_POSITION:MONARCH]&lt;br /&gt;
	[SQUAD:1:member:members]&lt;br /&gt;
}}&lt;br /&gt;
{{Category|Modding}}&lt;br /&gt;
{{Category|Entities}}&lt;br /&gt;
{{Category|Guides}}&lt;/div&gt;</summary>
		<author><name>Joostheger</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=Advanced_entity_position_mechanics&amp;diff=314836</id>
		<title>Advanced entity position mechanics</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=Advanced_entity_position_mechanics&amp;diff=314836"/>
		<updated>2026-02-09T08:45:12Z</updated>

		<summary type="html">&lt;p&gt;Joostheger: /* Succession */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Quality|Fine}}&lt;br /&gt;
{{Modding}}&lt;br /&gt;
&lt;br /&gt;
= Introduction = &lt;br /&gt;
&lt;br /&gt;
[http://www.bay12forums.com/smf/index.php?topic=182239.0 Discussion thread on the forum]&lt;br /&gt;
&lt;br /&gt;
This page documents observed and tested behavior of entity positions in Dwarf Fortress that is not fully described elsewhere on the wiki. It focuses on advanced interactions between position tokens, including appointment, succession, election, and responsibility handling, across both civilization-level and site-level entities.&lt;br /&gt;
&lt;br /&gt;
The mechanics described here are based on empirical testing in world generation and fortress mode, supplemented where necessary by raw analysis. In several cases, the game’s behavior is determined by evaluation order and interaction between multiple tags, rather than by individual tokens in isolation.&lt;br /&gt;
&lt;br /&gt;
This page is intended for modders and advanced players who are designing or debugging custom entity position structures. It does not restate basic position mechanics, but instead highlights edge cases, non-obvious interactions, and behaviors that may appear inconsistent or undocumented.&lt;br /&gt;
&lt;br /&gt;
Unless stated otherwise, the described behavior applies to current versions of the game and may differ from older releases.&lt;br /&gt;
&lt;br /&gt;
==What is an entity? What is a position?==&lt;br /&gt;
An [[entity]] is an organizational structure that can have relationships with other entities, usually known as a [[civilization]] or a &amp;quot;[[site]] government&amp;quot; in the game, but merchant [[guild]]s, religious organizations, necromancer towers, and [[bandit]] groups are also entities. An entity can have positions - in most cases, these are hardcoded and generated by the game, but as for civilizations and sites, the [[raw file]]s can be customised.&lt;br /&gt;
&lt;br /&gt;
A position is a special relationship between a unit and an entity. The unit holding a position has a larger influence over that entity than other citizens. Positions are mostly known as [[nobles]], but in this article. the technical term is used.&lt;br /&gt;
&lt;br /&gt;
=Position levels (Site/Civ) and their interaction=&lt;br /&gt;
There are two basic types of positions that are customizable: '''civ(ilization)''' level and '''site level'''. Positions with the tag [SITE] are at site level, positions without the tag [SITE] are at 'civ level'. These two types of nobles can be considered '''loosely related systems'''. There are a few places where they can interact with each other.&lt;br /&gt;
&lt;br /&gt;
Civ-level positions are in charge of the civilization as a whole, managing national [[trade]], laws, and [[war]]s. These are, for example, the vanilla [[monarch]], [[diplomat]] and [[general]]. (Note that the general doesn't do anything in either mode in the current version.)&lt;br /&gt;
&lt;br /&gt;
'''[LAND_HOLDER]''' nobles are also positions at civ-level. These units are members of the national government, but have gained authority over some land or site. Once they do, they move to that place, but their position is still regarded as a civ-level position.&lt;br /&gt;
&lt;br /&gt;
Site-level position holders are members of a site government (subsidiary to the civilization), and manage local affairs in that location. These are, for example, the [[mayor]], the [[sheriff]] and the [[broker]].&lt;br /&gt;
&lt;br /&gt;
==Table of interaction between different position levels==&lt;br /&gt;
In this table, the possible interactions between different position levels are summarized. &lt;br /&gt;
The header row shows the positions defining the tokens.&lt;br /&gt;
&lt;br /&gt;
The left column shows the position type that is referred to.&lt;br /&gt;
Example:  &lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! referred position-type&lt;br /&gt;
! LAND_HOLDER&lt;br /&gt;
|-&lt;br /&gt;
| civilization&lt;br /&gt;
|  &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;(baron is) APPOINTED_BY:MONARCH&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
color coding: &amp;lt;/br&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;Exists in vanilla&amp;lt;/span&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;Possible with mods&amp;lt;/span&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;Not possible&amp;lt;/span&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;possible to some extent.&amp;lt;/span&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;not yet fully investigated.&amp;lt;/span&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! referred position-type&lt;br /&gt;
! Civilization&lt;br /&gt;
! SITE&lt;br /&gt;
! LAND_HOLDER&lt;br /&gt;
! CONQUERED_SITE&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Civilization&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;SUCCESSION '''(1)'''&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| SITE&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;SUCCESSION '''(2)'''&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;APPOINTED_BY '''(3)'''&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;SUCCESSION '''(4)'''&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| LAND_HOLDER&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY '''(6)'''&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;SUCCESSION '''(5)'''&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;REPLACED_BY '''(7)'''&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;SUCCESSION '''(8)'''&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;COMMANDER&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;REPLACED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt; &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;CONQUERED_SITE&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;APPOINTED_BY&amp;lt;/span&amp;gt; &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt; COMMANDER &amp;lt;/br&amp;gt; REPLACED_BY &amp;lt;/br&amp;gt;&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt; SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;APPOINTED_BY &amp;lt;/br&amp;gt; COMMANDER &amp;lt;/br&amp;gt; REPLACED_BY &amp;lt;/br&amp;gt; SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;APPOINTED_BY &amp;lt;/br&amp;gt; COMMANDER &amp;lt;/br&amp;gt; REPLACED_BY &amp;lt;/br&amp;gt; SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;APPOINTED_BY &amp;lt;/br&amp;gt; COMMANDER &amp;lt;/br&amp;gt; REPLACED_BY &amp;lt;/br&amp;gt; SUCCESSION&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Remarks:&lt;br /&gt;
# Works only in world-gen, if a unit with that civ-position is present at the site.&lt;br /&gt;
# Works only in world-gen, the site-position holding unit will then move to the capital.&lt;br /&gt;
# Is completely ignored&lt;br /&gt;
# Works only in world-gen.&lt;br /&gt;
# Works only in world-gen.&lt;br /&gt;
# Won't appear at all&lt;br /&gt;
# This is necessary for the landholder chain to work properly, it doesn’t work otherwise.&lt;br /&gt;
# This works only outside of the landholder chain, so when landholders are simply regarded as civ-level nobles. might also work in world-gen&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
== Other interactions ==&lt;br /&gt;
&lt;br /&gt;
Unfortunately, interactions with positions of other entities don't seem possible, such as APPOINTED_BY: HIGH_PRIEST. With [VARIABLE_POSITIONS], positions are automatically created with codes like CUSTOM_LAW_MAKER_2, but interaction with these positions don't seem to work, either. For more info on those, see [[Variable positions]]&lt;br /&gt;
&lt;br /&gt;
=General=&lt;br /&gt;
&lt;br /&gt;
==Civ-level nobles living at your site==&lt;br /&gt;
Nobles from your civilization can come to live at your fortress. This happens in vanilla with landholders such as [[Baron]], [[Count]] and [[Duke]], with the Monarch, but sometimes also with non-landed LAND_HOLDERS.&lt;br /&gt;
&lt;br /&gt;
When a civ-level noble becomes a [[citizen]] at your location, their position is shown among the site-level positions in your [[nobles screen]]. They appear to function as a site-level noble. They may have [[demand]]s, [[mandate]]s, [[squad]]s and the like. They can appoint nobles at the site-level.&lt;br /&gt;
&lt;br /&gt;
If they have certain [RESPONSIBILITY]ies, they do the tasks that go with them.&lt;br /&gt;
&lt;br /&gt;
==Fortress mode, world-gen and their differences==&lt;br /&gt;
Their are a few differences in how positions function between fortress mode (normal play mode) and the world generation (world-gen). &lt;br /&gt;
&lt;br /&gt;
In '''fortress mode''', the player has some control over the appointment of nobles, limited by elections, automatic filled-in positions and succession rules. Pre-fortress mode, which is referred to as '''world-gen''', the game will always attempt to assign nobles whenever possible. It is subjected to the same rules as in fortress-mode, but there are some exceptions. In '''World Automation''', which is the thing that happens in the world while you play fortress mode, it seems as if the same rules are applied as fortress mode. &lt;br /&gt;
&lt;br /&gt;
A difference between player-fortress-mode and world-gen, is causes by visibility (see below). Positions that are not visible by the player and thus not available for assignment, will be available in world-gen and will thus be automatically assigned.&lt;br /&gt;
&lt;br /&gt;
In fortress mode, a position that is both [ELECTED] and [APPOINTED_BY], cannot be appointed by the player and is also not elected, and can thus not be filled. But in world-gen sites however, these positions are automatically filled.&lt;br /&gt;
&lt;br /&gt;
Positions with [AS_NEEDED] are almost never created and filled in world-gen (depending on their [RESPONSIBILITY]ies), but can always be used in player mode.&lt;br /&gt;
&lt;br /&gt;
A position can, in fortress mode, be filled by the same unit. A unit can gain multiple positions in fortress mode, for example because of [[elections]]. This will not happen in world-gen mode: a unit can only have one position. See also remarks on 'embark' and 'Losing a position'.&lt;br /&gt;
&lt;br /&gt;
In world-gen, [SUCCESSION] between civ-levels and [SITE-]levels may happen. This will not happen in fortress mode, or even off-site in World Automation.&lt;br /&gt;
&lt;br /&gt;
In fortress mode, premature SUCCESSION may happen. This will not happen in world-gen mode.&lt;br /&gt;
&lt;br /&gt;
==Units holding multiple positions in multiple entities==&lt;br /&gt;
A unit can hold multiple positions in its civilisation or in its site-entity, however this does not happen in world-gen. Only at player-managed sites can units be holding multiple positions at once. (It is probably not possible for a unit to hold a position in two different civilisations or two different sites.)&lt;br /&gt;
&lt;br /&gt;
In world-gen, if there are too many positions to be filled, they simply stay empty until more units are available. E.G, a unit at a site might inherit a civ-level position and still remain a member of the local government. When this happens however, they move to the capital. If a unit gains a new position, either inherited or otherwise, it drops the previous one. If a unit assumes a civ-position in fortress mode, it leaves the current position. &lt;br /&gt;
&lt;br /&gt;
If a unit holds the same (site-)position multiple times, it has no additional effect.&lt;br /&gt;
&lt;br /&gt;
If a unit holds multiple different positions of the same entity, it has all those positions' responsibilities and properties, stacked up. Presumably, the demands for those combined positions are determined by the highest.&lt;br /&gt;
 &lt;br /&gt;
A unit holding a position with a succession token can be assigned another position with a (different) succession token. &lt;br /&gt;
&lt;br /&gt;
A unit holding a position with a squad-position cannot hold another squad-position. It is dropped from the first, when it gets its second assigned. &lt;br /&gt;
A unit holding a position with a succession token cannot be assigned to a squad-position - the unit is simply not available. It works the other way around, though.&lt;br /&gt;
&lt;br /&gt;
=[PRECEDENCE]=&lt;br /&gt;
The first defined position with precedence of 1 counts as the ruler of the civ. See also: [[Position_token#PRECEDENCE|PRECEDENCE]]. &lt;br /&gt;
&lt;br /&gt;
If the precedence is omitted or has a negative value, the game sets 0 as precedence, which seems to have no effect whatsoever.&lt;br /&gt;
&lt;br /&gt;
When a unit has multiple positions, the name of the position with the highest rank in precedence is shown behind the unit's name.&lt;br /&gt;
&lt;br /&gt;
If you omit precedence entirely, or set it to [PRECEDENCE:NONE], the position name will not be shown after the unit’s name. Your *Urist Mason* will remain simply *Mason*. This can be useful for positions that are unimportant or purely functional. The position will also not appear in the civilisation overview of your site on the world map. The position name is shown in messages, but remains hidden on the nobles screen as well. To make it visible there, use [LAND_NAME].&lt;br /&gt;
&lt;br /&gt;
=[RESPONSIBILITY]ies=&lt;br /&gt;
Both civ and [SITE] positions can carry responsibilities. However, not all responsibilities are active for both types: some function only for civ positions, others only for site positions. When a civ noble arrives at a site and takes up residence, they do not perform responsibilities that are intended for SITE nobles. As a result, these responsibilities neither trigger their associated tasks nor unlock related game mechanics. For example, a civ-level manager living in a fortress will not perform management duties there and doesn't unlock the management-screen, even with an assigned office. &lt;br /&gt;
This behavior applies to the following [SITE]-level responsibilities:&lt;br /&gt;
* [RESPONSIBILITY:ACCOUNTING]&lt;br /&gt;
* [RESPONSIBILITY:BUILD_MORALE]&lt;br /&gt;
* [RESPONSIBILITY:HEALTH_MANAGEMENT]&lt;br /&gt;
* [RESPONSIBILITY:LAW_ENFORCEMENT]&lt;br /&gt;
* [RESPONSIBILITY:MANAGE_PRODUCTION]&lt;br /&gt;
* [RESPONSIBILITY:MEET_WORKERS]&lt;br /&gt;
* [RESPONSIBILITY:TRADE]  (functions differently)&lt;br /&gt;
Other responsibilities may be affected as well, but have not yet been fully tested.&lt;br /&gt;
&lt;br /&gt;
==[DELIVERS_MESSAGES]==&lt;br /&gt;
The only [AS_NEEDED]-position that is created in worldgen based on responsibility is that of the site-level responsibility [DELIVERS_MESSAGES].&lt;br /&gt;
&lt;br /&gt;
==Outpost Liaisons and Diplomats==&lt;br /&gt;
Civ-positions with the responsibility [ESTABLISH_COLONY_TRADE_AGREEMENTS] ([[Outpost_Liaison|Outpost Liaison]]s) will meet with the site-noble who has responsibility for [RECEIVE_DIPLOMATS] and the highest rank of precedence (i.e. the lowest precedence value). Usually this is the [[Expedition_leader|Expedition leader]].&lt;br /&gt;
&lt;br /&gt;
Once a [LAND_HOLDER] is assigned to the site, civ-positions with the responsibility [MAKE_TOPIC_AGREEMENTS] ([[Diplomat]]s) will meet with '''civ'''-level nobles present at the site who have the [RECEIVE_DIPLOMATS] responsibility. If multiple eligible nobles are available, one is selected at random. If no eligible noble is present, the diplomat leaves angrily. If the landholder is no longer present at the site, diplomats will not arrive at all.&lt;br /&gt;
&lt;br /&gt;
It appears that Outpost Liaisons and Diplomats are chosen for a diplomatic mission based on availability. When multiple candidates exist, the position defined last in the raws is most often selected.&lt;br /&gt;
&lt;br /&gt;
==[TRADE]==&lt;br /&gt;
Civ-level nobles with [TRADE] will arrive with the caravan, just as the Outpost Liaison. Their behavior is no longer active in the vanilla game, but the mechanics are still present. See [[40d:Guild_representative|Guild representative]] for more details. This civ-noble will only meet with the SITE noble with [TRADE], usually the [[Broker]].&lt;br /&gt;
&lt;br /&gt;
If two civ-nobles exist with both [TRADE] and [ESTABLISH_COLONY_TRADE_AGREEMENTS], they both arrive at the same time. Even if both tokens are assigned to a single position, if more than one instance of that position exists, two of them will arrive. However in that case, somehow the elevation of the site and appointment of landholder isn't offered.&lt;br /&gt;
&lt;br /&gt;
If the SITE-noble they intend to meet has both [TRADE] and [RECEIVE_DIPLOMATS], only one meeting will proceed and the other is cancelled. However, when two SITE-nobles are available, each with either [TRADE] or [RECEIVE_DIPLOMATS], both meetings will proceed and both civ-nobles will attempt to negotiate a trade agreement. It is not known what happens if these agreements are accepted or refused.&lt;br /&gt;
&lt;br /&gt;
In the trade depot, the last defined position with the [TRADE] responsibility is shown as broker. However when requesting a trader, the first defined position with [TRADE] will actually go there to do the trade.&lt;br /&gt;
&lt;br /&gt;
==World-gen effects of the [RESPONSIBILITY] of available positions ==&lt;br /&gt;
It is possible to cause civs and individual sites to change their behavior substantially when they reach a certain size, by controlling nobles. &lt;br /&gt;
* If a site can only appoint a position with [MILITARY_GOALS] after reaching a particular size, that site will not send armies on missions until the required size is reached.&lt;br /&gt;
* A civ-level [LAW_MAKING] position is required for the civilization to have any kind of cohesion. Without it, sites will be constantly embroiled in territorial disputes and civil wars will be commonplace.&lt;br /&gt;
* [MILITARY_STRATEGY] positions go out and tame wild animals. This makes your civ gain those animals as domesticated and also brings them in sieges.&lt;br /&gt;
* The [[Personality_facet|Personality]] of the position's holder determines how they lead the civ.&lt;br /&gt;
&lt;br /&gt;
=Availability and visibility=&lt;br /&gt;
==Availability of (new) positions==&lt;br /&gt;
Warning: Do not mistake &amp;quot;availability&amp;quot; for &amp;quot;visibility&amp;quot;! &lt;br /&gt;
&lt;br /&gt;
Of all the possible positions existing in your site's entity, there may only be some available. &lt;br /&gt;
* Positions with [REQUIRES_POPULATION] require the population to have a specific size.&lt;br /&gt;
* Positions with [REQUIRES_MARKET] will only appear in &amp;quot;large&amp;quot; sites (which may have different rules for different site types). This tag has no effect in fort mode.&lt;br /&gt;
* Positions that are appointed by positions that have an AS_NEEDED number. The appointable positions only become available after an appointer position-slot is created. This works also on civ-level. If a position is appointed by a Land-holder, it only becomes available, when that level of landholder is created. &lt;br /&gt;
	&lt;br /&gt;
Only the replaced positions are culled and are no longer available. &lt;br /&gt;
A position that requires a certain population will become available, even if it doesn't have [APPOINTED_BY] or [ELECTED]. In that case, see 'automatic assignment' and 'assumption'&lt;br /&gt;
&lt;br /&gt;
In fortress mode, in some cases 'succession' is evaluated immediately after a position becomes available. See: Succession.&lt;br /&gt;
==Visibility of positions==&lt;br /&gt;
A position might be available, but can still be invisible for the player in the [[nobles screen]]. The positions with their respective holders are visible for players:&lt;br /&gt;
* All site-positions that are already filled-in (even if they could not be re-filled-in considering current conditions)&lt;br /&gt;
* Site positions that are appointable by a filled-in site position&lt;br /&gt;
* Site positions that are appointable by a filled-in civ position, when that civ positions holder becomes a citizen of your fortress.&lt;br /&gt;
* Civ positions of units that are also a citizen of your fortress.&lt;br /&gt;
If a position becomes available, for example because a certain pop number has been reached, or if it is available from the start(like expedition leader), as long as it cannot be appointed, it still is INVISIBLE for the player. &lt;br /&gt;
&lt;br /&gt;
It might strike someone as odd if a position becomes filled automatically in fortress mode when that position is not even visible. This might be the case if the current holder of a non-appointable position dies or succeeds another position. Regardless of player visibility, these positions will be automatically filled in if the necessary requisitions are met. It might happen with the expedition leader.&lt;br /&gt;
&lt;br /&gt;
A situation with a non-visible but available position, is for example when a position is solely appointed by the expedition leader, when the expedition leader's position is left vacant. It can no longer be appointed by the player and is invisible. Then, it gets automatically assumed, proving that the position still was available.&lt;br /&gt;
&lt;br /&gt;
A position that is both [APPOINTED_BY] and [ELECTED] is visible, but players cannot interact with it.&lt;br /&gt;
&lt;br /&gt;
=[NUMBER]=&lt;br /&gt;
A position might be defined with a number. In that case, as many as defined can be available. If the positions become available, in world-gen and when embarking, they are all filled-in completely.&lt;br /&gt;
&lt;br /&gt;
If the ruling position (with PRECEDENCE of 1) has a NUMBER higher than 1, a random unit of the ones holding these positions is shown as ruler in the embark screen.&lt;br /&gt;
&lt;br /&gt;
A [NUMBER] of 0 (zero) has the same effect as 1.&lt;br /&gt;
&lt;br /&gt;
==Automatic spreading of assumed, non-singular positions==&lt;br /&gt;
If there are civ positions that have a NUMBER higher then '1' and which are assumed (not APPOINTED_BY or ELECTED) but are '''not DUTY_BOUND''', these are automatically spread among the civilisation, based on population. If there are a number of '''20''' available slots of that position, they spread among a civilization with a combined population of, for example, 1000 of which your fortress has 100 (10%), '''2''' of your fortress' citizens will assume that position. &lt;br /&gt;
This may probably also work with elected and appointed positions, but that may be depending on the death of the current holders and this needs more testing. Assumption works within a day, anyway. &lt;br /&gt;
&lt;br /&gt;
==[AS_NEEDED]==&lt;br /&gt;
These positions can be created automatically by the game in world-gen. This, however, only works with: &lt;br /&gt;
* [LAND_HOLDER]'s&lt;br /&gt;
* squad commanders (needs more testing)&lt;br /&gt;
* Messengers at sites&lt;br /&gt;
&lt;br /&gt;
For all other types of positions, they're not created in world-gen, even if they are defined with RESPONSIBILITY's. For example, even in war, the game wouldn't create a MILITARY_GOALS position, if they have AS_NEEDED as number. &lt;br /&gt;
&lt;br /&gt;
However, in fortress mode / player mode, these positions can be created by the player at will.&lt;br /&gt;
&lt;br /&gt;
Positions with AS_NEEDED need to be created first, before any symbols are assignable as 'symbols' (objects) for the position holder to carry or wear.&lt;br /&gt;
&lt;br /&gt;
Positions with AS_NEEDED cannot be created and then ELECTED in fortress mode. It only works with APPOINTED_BY.&lt;br /&gt;
&lt;br /&gt;
=Replacement and Required Population=&lt;br /&gt;
&lt;br /&gt;
The token REPLACED_BY:position means that once the replacing position reaches its required population-number, the 'to-be-replaced' position will disappear. This is defined in REQUIRES_POPULATION. These tags are closely related to each other and seem to only have a meaningful function if combined. Nobles with REQUIRES_POPULATION require the population to have a specific size. &lt;br /&gt;
&lt;br /&gt;
This works on the civ-level as well as on site-level, but those systems are in this mechanic strictly separated. Site-level positions cannot be replaced by civ-level positions and visa versa. This makes sense, because they both depend on their own population-count. When using REQUIRES_POPULATION on civ-level, it counts the total population of the civilisation. &lt;br /&gt;
&lt;br /&gt;
See also: [[Advanced_entity_position_mechanics#Evaluation_of_Positions|Evaluation of positions]]&lt;br /&gt;
&lt;br /&gt;
==Effect of replacement==&lt;br /&gt;
&lt;br /&gt;
Replacement is immediate and complete - the current holding unit loses the position, even before SUCCESSION_BY_POSITION rules are applied. A position with a number of 1 will replace all the slots of a position with a higher number of slots. &lt;br /&gt;
&lt;br /&gt;
Even if the next position is available but not visible, replacement still takes place. If a position is replaced, it is completely gone - it cannot be appointed, succeeded, elected or assumed any longer.&lt;br /&gt;
The unit immediately loses its position.&lt;br /&gt;
&lt;br /&gt;
In legends, replacement is mentioned as: &amp;quot;(unit name) ceased to be (position name)&amp;quot; The replacement of an AS_NEEDED position empties the position's slot forever. In fortress mode, it may seem as if you can create new slots and appoint new units in the nobles screen, but this is reversed as soon as you close the window.&lt;br /&gt;
&lt;br /&gt;
==Effect on [LAND_HOLDER]s==&lt;br /&gt;
&lt;br /&gt;
The landholder chain uses [REPLACED_BY] differently. It does not clear the position completely, but uses it for succession to the next level's position. [REPLACE_BY] is required to let that system work properly. This also means that the way in which landholders succeed (replace + as_needed) does not work in any other way. &lt;br /&gt;
&lt;br /&gt;
Replacement between LAND_HOLDERS and other site- or civ positions does not work in any way. Only the vanilla replacement sequence between levels of LAND_HOLDERs does work. If the token is omitted for landholders, the landholder chain is broken, so replacement is required for the landholder system to work.&lt;br /&gt;
&lt;br /&gt;
[REQUIRES_POPULATION] also does not work for [LAND_HOLDER], when you set [NUMBER] to 1. The position is not created when the required population is reached.&lt;br /&gt;
&lt;br /&gt;
==What doesn't work==&lt;br /&gt;
&lt;br /&gt;
'''Attention: If a position cannot be appointed, for example because of 'mutual appointment', it still exists according to replacement mechanics and will replace other positions if so defined. If a certain position(a) will be replaced by the baron's assistant, which can only be appointed by the [LAND_HOLDER] baron, than that position(s) still will be replaced from the start of the game, even if no baron or their assistant is ever present.'''&lt;br /&gt;
&lt;br /&gt;
A position that is replaced by a somehow not-fillable position, is still replaced. This counts for mutual-appointing positions, replacement by not-yet-assigned landholders, replacement by AS_NEEDED positions, or replacement by not-yet-appointed positions. &lt;br /&gt;
&lt;br /&gt;
Replacement does not work if the replaced position is a [LAND_HOLDER], even with civ-positions. In that case, the LAND_HOLDER's position is not replaced. It does not matter if AS_NEEDED is used, or a fixed number, and it also does not matter what type of position the replacer is. So this only works (correctly) with positions that become available by REQUIRES_POPULATION.&lt;br /&gt;
&lt;br /&gt;
={{text anchor|Evaluation of Positions}}=&lt;br /&gt;
The game does not continuously check whether positions should become available, elected or be [REPLACE_BY]. This is well-known behavior—for example with the [[mayor]], who does not appear automatically when the required population ([REQUIRES_POPULATION]) is reached. Instead, positions must somehow be evaluated. This applies in several other situations as well &lt;br /&gt;
&lt;br /&gt;
'''Cases that require a trigger:'''&lt;br /&gt;
* Election of a newly created position&lt;br /&gt;
* Election after the current holder dies&lt;br /&gt;
* Automatic assumption of a newly created position (this may take up to a day)&lt;br /&gt;
* New citizens (such as migrants) considering available positions&lt;br /&gt;
* Premature succession of a newly created position&lt;br /&gt;
&lt;br /&gt;
'''Cases that do not wait for a trigger:'''&lt;br /&gt;
* Succession following the death of the previous holder&lt;br /&gt;
* Automatic assumption of existing positions that have become vacant&lt;br /&gt;
&lt;br /&gt;
'''Triggers that cause the game to reevaluate noble positions:'''&lt;br /&gt;
* Succession of a [SITE]-position due to the death of the current holder&lt;br /&gt;
* [[Advanced_entity_position_mechanics#Election_Day|Election Day]]&lt;br /&gt;
* Automatic assumption of a [SITE]-position that becomes vacant&lt;br /&gt;
* (Re)assigning any site position manually&lt;br /&gt;
* Settlement elevation on the LAND_HOLDER track (e.g. gaining a [[Baron]] or [[Count]])&lt;br /&gt;
&lt;br /&gt;
=Gaining a position=&lt;br /&gt;
There are several ways a unit can gain a position:&lt;br /&gt;
* Appointment: A unit is appointed by another unit or by the player.&lt;br /&gt;
* Election: A unit is elected by and among the members of the entity&lt;br /&gt;
* Assumption: A position is neither elected or appointed: a random unit just simply 'takes' the position&lt;br /&gt;
* Succession: a unit is the valid successor of this position(A), either by its current position(B) or because they are that position(A)-holder's heir. &lt;br /&gt;
&lt;br /&gt;
Available positions will automatically be assigned to a random civ member when a new site/civ is created.&lt;br /&gt;
&lt;br /&gt;
==Who can take a position==&lt;br /&gt;
&lt;br /&gt;
* If so defined, a unit needs to be the right caste and/or class - it does not seem to work with creature types. &lt;br /&gt;
* The unit needs to be an adult member of the site or its parent civ-government; that is also CAN_LEARN or INTELLIGENT (SLOW_LEARNER cannot take positions) or otherwise is able to think.&lt;br /&gt;
&lt;br /&gt;
==Appointment==&lt;br /&gt;
&lt;br /&gt;
Positions that have an [APPOINTED_BY:position] token require that position to exist, to be available and appointed. Any position that is APPOINTED_BY can be appointed if the appointer's position is filled in. &lt;br /&gt;
For site-positions to be appointed, it is required that the appointer is present at that location.&lt;br /&gt;
&lt;br /&gt;
If the appointing unit is temporarily not present, or if that position is not filled, positions depending on it cannot be appointed. This is the case with [[militia captains]], when the [[militia commander]] is on a [[mission]]. &lt;br /&gt;
&lt;br /&gt;
A site position cannot appoint a civ position ''or'' LAND_HOLDER in any way whatsoever. &lt;br /&gt;
&lt;br /&gt;
Civ-level positions can appoint other civ-level positions and site-level positions can appoint other site-level positions.&lt;br /&gt;
&lt;br /&gt;
Contrary to what has been said elsewhere, civ-level nobles also can appoint site-level nobles. They need to be at the site to do so. Landholders can appoint both site-level and civ-level nobles. These systems are therefore not as separate as was assumed.&lt;br /&gt;
&lt;br /&gt;
'''Mutual appointment''' cannot take place. If these are the only requisites of the position, then the positions will never appear or get filled. These unfillable positions can be put to good use, for example, to replace a position that is no longer needed without creating a new one. &lt;br /&gt;
&lt;br /&gt;
'''Self appointment''' doesn't normally work. If you have a position that is only appointed by itself, it is never appointed and also cannot be assumed. However, if the position has a number higher than 1, and is filled by multiple units (for example by another position that is now empty), than those units can re-assign or appoint each other from that their shared position. &lt;br /&gt;
&lt;br /&gt;
If an APPOINTED_BY token refers to a non-existing position's code, the effects are as if the appointment token doesn't exist at all.&lt;br /&gt;
&lt;br /&gt;
===Automatic appointment in world-gen and on the civ level===&lt;br /&gt;
&lt;br /&gt;
Outside of fortress mode, the game will always attempt to appoint nobles whenever possible, as long as these positions are '''available''', even if they are invisible to the player.&lt;br /&gt;
It shows this message in legends:  &amp;quot;(unit name) has been appointed to the position of (position name)&amp;quot;&lt;br /&gt;
&lt;br /&gt;
In world-gen, all positions become available and are automatically appointed, taking population- and appointment-requirements into consideration. &lt;br /&gt;
&lt;br /&gt;
Positions that are REPLACED_BY are culled and won't be filled.&lt;br /&gt;
&lt;br /&gt;
If a citizen of your fortress holds a civ-level position that can appoint another civ-level position, the appointment will happen automatically and without player intervention. It may happen that another citizen of your fortress is appointed by that unit, creating civ-level position holders in your fortress, but it is unknown what is required to force this effect.&lt;br /&gt;
&lt;br /&gt;
===Manual appointments by players in fortress mode===&lt;br /&gt;
In fortress mode, the positions that need to be appointed stay empty on embark. and it is the player's job to appoint those. A player can appoint a unit to any available position, according to the hereabove mentioned conditions. The player takes the role of the automatic appointment-system, but has no direct control over elections, successions and replacement. There are some differences in what is possible at world-gen sites and at player-controlled sites.&lt;br /&gt;
&lt;br /&gt;
* A position that is appointed by a unit present as a fortress citizen, can be appointed, re-appointed or left vacant. This means also by civ-level nobles living as a citizen in your fortress; not when they are only visiting, like the diplomat.&lt;br /&gt;
* A position whose appointing positions are all either vacant or [REPLACED_BY] can no longer be appointed. If the position is already filled, it cannot be reappointed or vacated; the current holder simply remains in office.&lt;br /&gt;
* A position that is APPOINTED_BY a unit present as the land_holder of your site, can be appointed, reassigned or left vacant.&lt;br /&gt;
* A position that has SUCCESSION BY_HEIR or BY_POSITION can 'initially' be appointed and also re-appointed or left vacant, but as soon as the [[nobles]] screen closes, ''it can no longer be replaced or left vacant''. From then on, the succession-rules determine who gains that position when the current holder loses the position. This works even if the SUCCESSION:BY_POSITION-position is vacant or replaced.&lt;br /&gt;
* A position that is ELECTED nor APPOINTED_BY, can always be (re-)appointed by the player. This is the case with the [[Expedition leader]]. If it is left vacant however, it cannot be appointed, but will be assumed shortly after. &lt;br /&gt;
* A position that is both ELECTED and APPOINTED_BY, cannot be appointed by the player. Contrary to world-gen sites, its slot is visible, but it doesn't show the +-sign. This is either by AS_NEEDED or by a fixed number. Even if the position somehow gets filled (re)assignment is never possible&lt;br /&gt;
* A player can appoint a number of units to a position, as much as the NUMBER token dictates. If it is AS_NEEDED, the player may create as many slots as they like, also contrary to world-gen sites. &lt;br /&gt;
* A civ-position can never be appointed, even if the appointing civ noble is a citizen of your fortress. A civ position also never can be re-assigned or left vacant, would that position be defined as appointed by a site-position.&lt;br /&gt;
&lt;br /&gt;
==Election==&lt;br /&gt;
Read more in [[Elections]]. The message that is shown is: &amp;quot;(creature name) has been elected to the position of  (position name)&amp;quot;&lt;br /&gt;
&lt;br /&gt;
In worldgen, there is no functional difference between ELECTED and non-appointment, except that elected nobles tend to have high social skills and/or skills related to the position, while non-elected ones are assigned randomly. See: [[Elections]]&lt;br /&gt;
&lt;br /&gt;
A succession goes before an election. &lt;br /&gt;
&lt;br /&gt;
A position that is both ELECTED and APPOINTED_BY never gets elected. Even if the appointees' position somehow gets filled, (re)-elections won't happen. So, it doesn't seem possible to have an elected position become available when a certain other position becomes filled. &lt;br /&gt;
&lt;br /&gt;
An ELECTED civ-(or LAND_HOLDER) position at your site will never be (re)-elected in fortress mode. So real (re-)election only works with SITE-positions. &lt;br /&gt;
&lt;br /&gt;
=== {{text anchor|Election Day}} ===&lt;br /&gt;
Election Day takes place on the 17th of Summer. On this day, a full reevaluation is performed, including all currently elected positions, which are subject to re-election. Contrary to the information on [[Elections]], nothing occurs at the start of a season.&lt;br /&gt;
&lt;br /&gt;
Positions that are both [APPOINTED_BY] and [ELECTED] will not be re-elected on Election Day when assigned through [SUCCESSION].&lt;br /&gt;
&lt;br /&gt;
=== Election Eligiblity ===&lt;br /&gt;
Any citizen may stand for election. Eligibility cannot be restricted using [ACCEPTED_CREATURE], [REJECTED_CREATURE], [ACCEPTED_CLASS], [REJECTED_CLASS], or [GENDER]. Units currently having a [SUCCESSION]-position even may be elected for a position with a [SQUAD]-token, which is otherwise impossible to assign or even succeed.&lt;br /&gt;
&lt;br /&gt;
=== Skills ===&lt;br /&gt;
In elections, skills are taken into account for the tokens of the position which is elected.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Relevant skills per position token&lt;br /&gt;
|-&lt;br /&gt;
! Position Token !! Relevant skills&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#DELIVER_MESSAGES|[DELIVER_MESSAGES]]] || [[Ambusher]], [[Observer]] and [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#ACCOUNTING|[ACCOUNTING]]] || [[Record_keeper|Record keeper]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#ESPIONAGE|[ESPIONAGE]]] || [[Schemer]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#HEALTH_MANAGEMENT|[HEALTH_MANAGEMENT]]] || [[Diagnostician|Diagnostician]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#MAKE_INTRODUCTIONS|[MAKE_INTRODUCTIONS]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#MAKE_PEACE_AGREEMENTS|[MAKE_PEACE_AGREEMENTS]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#MAKE_TOPIC_AGREEMENTS|[MAKE_TOPIC_AGREEMENTS]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#MANAGE_PRODUCTION|[MANAGE_PRODUCTION]]] || [[Organizer]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#MEET_WORKERS|[MEET_WORKERS]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#RECEIVE_DIPLOMATS|[RECEIVE_DIPLOMATS]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#RELIGION|[RELIGION]]] || [[Social_skill|Social skills]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#TAME_EXOTICS|[TAME_EXOTICS]]] || [[Animal_trainer|Animal trainer]]&lt;br /&gt;
|-&lt;br /&gt;
| Responsibility [[Position_token#TRADE|[TRADE]]] || [[Social_skill|Social skills]] and [[Appraiser|Appraiser]]&lt;br /&gt;
|-&lt;br /&gt;
| [[Position_token#SQUAD|[SQUAD]]]-token || [[Tactician]] and [[Leader]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Assumption==&lt;br /&gt;
&lt;br /&gt;
A position that is not APPOINTED_BY nor ELECTED, or is appointed by positions that are not available in your site or civ, will be assumable by a random dwarf. If it has responsibilities that require certain skills, then these are taken into consideration on embark, but not when the position is assumed during the actual game. &lt;br /&gt;
&lt;br /&gt;
Normally, one to three units will take the into consideration to assume a position. Most of the time when there are multiple open positions, only a single unit will assume all of them. However, a position that has REJECTED_CREATURE, REJECTED_CLASS, ALLOWED_CREATURE or ALLOWED_CLASS will be filled with all different units, even if the creature or class mentioned is irrelevant. It seems that this forces the game to loop over all the available units.&lt;br /&gt;
&lt;br /&gt;
The message that is shown in Legends mode is: &amp;quot;(unit name) has assumed the position of (position name)&amp;quot;. This may also take place in fortress mode, which then shows this message to the player. &lt;br /&gt;
&lt;br /&gt;
If an assumable position becomes empty, it will be assumed within a day. This is the case when you leave the position of expedition-leader vacant. It also happens with entities. &lt;br /&gt;
&lt;br /&gt;
Assumable positions that become empty will not be assumed if that position has a valid [SUCCESSION] -successor. In that case, the successor inherits the position. &lt;br /&gt;
&lt;br /&gt;
Even positions that are somehow invisible because they cannot be directly APPOINTED_BY players, can be assumed. &lt;br /&gt;
&lt;br /&gt;
When you embark, the assumable positions are automatically assigned to a random unit. If there are multiple of these positions at embark, they all are assigned to the same unit. If there are enough positions available, multiple units may gain a position, but often no more than three different ones.&lt;br /&gt;
&lt;br /&gt;
If a dwarf in fortress mode assumes a position, that already has another position, it will leave the current position empty. When that position also is assumed, then this will continue until all positions have a dwarf appointed to them, with no other position.&lt;br /&gt;
&lt;br /&gt;
A unit that already has a position with a [SUCCESSION] token won't take assumable positions into consideration that have a [SQUAD] token. This can be used by the modder to prevent unwanted loss of current positions.&lt;br /&gt;
&lt;br /&gt;
A position that has an appointer which got replaced because of REPLACED_BY, will not become assumable. Also, positions that have an AS_NEEDED appointer that is not yet filled (or ever), will also not be assumed.&lt;br /&gt;
&lt;br /&gt;
==Succession==&lt;br /&gt;
&lt;br /&gt;
If a position-holder dies or advances to a new position via succession, the position will be granted to another unit based on the [SUCCESSION] tag. If they have an heir or the succeeding position exists, that unit will be assigned. If not, a new one will be appointed according to the usual rules. The message that is shown is: &amp;quot;(creature name) being the rightful heir, has inherited the position of (position name)&amp;quot;&lt;br /&gt;
&lt;br /&gt;
The succeeding creature will also lose its previous position. When succession is defined using BY_POSITION, the unit naturally loses the referenced position. However, it also loses any other positions it may hold. If a unit could simultaneously inherit multiple positions, the last-defined succession overrides the earlier one, clearing the previously acquired position&lt;br /&gt;
&lt;br /&gt;
Succession works both at site-level and at civ-level, both in world-gen and in fortress-mode. Succession by position on the civ-level is also visible and functional in fortress-mode. If both civ-level nobles are a citizen of your fortress, succession is applied visually. Vanilla example: The [[druid]] is succeeded by the [[acolyte]]. This means that as soon as the druid dies, the acolyte takes over. &lt;br /&gt;
&lt;br /&gt;
When a position that is succeeded by position becomes available, immediately it is checked if a position-successor is available and the position is filled with that unit. Even if this is an [ELECTED] position, succession goes first. When elections eventually do happen, succession plays no role.&lt;br /&gt;
&lt;br /&gt;
It is possible to assign multiple levels of [SUCCESSION:BY_POSITION] in different positions, creating a line of positions where the death of one causes all those &amp;quot;below&amp;quot; them to advance.&lt;br /&gt;
&lt;br /&gt;
A position can have multiple tokens with position-succession. It looks to be random which one is used. It is not always:&lt;br /&gt;
* The first or last defined token&lt;br /&gt;
* The first or last appointed unit&lt;br /&gt;
* the oldest or youngest&lt;br /&gt;
* one with a higher or lower precedence&lt;br /&gt;
* a unit with relevant skills&lt;br /&gt;
&lt;br /&gt;
When a position is defined with a Succession-type, that unit cannot have another position that has a Squad-type. If the succession-position itself has a squad, than it can be assigned another position with a squad, but then it will loose the previous succesion position. See further details by &amp;quot;Squad&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Assumed positions can also be succeeded by position, if the current holder dies. &lt;br /&gt;
&lt;br /&gt;
If the successor is an AS_NEEDED position, the used unit will leave a vacant position-slot on its removal by succession. This empty slot remains a real slot, which will only be cleaned up if you (un)appoint a unit to this position-series. It isn't cleaned up after regular position validation.&lt;br /&gt;
&lt;br /&gt;
A civ-level position of a unit living at your site might be inherited by a unit holding that does not currently live at your site. This, unfortunately, moves that position to a unit off site. This may also happen with the landholder of your site, for example when it is succeeded by another civ-level position. This currently poses an unsolved challenge. &lt;br /&gt;
&lt;br /&gt;
===Eligibility for succession===&lt;br /&gt;
Succession is restricted by the tokens [ACCEPTED_CREATURE], [REJECTED_CREATURE], [ACCEPTED_CLASS], [REJECTED_CLASS] and [GENDER].&lt;br /&gt;
&lt;br /&gt;
===Site and civ combined succession===&lt;br /&gt;
&lt;br /&gt;
Succession can work when combining site positions with civ-level positions or land_holders, but only in world-gen mode.  In fortress mode, it only works with combining the same level of nobles, with Landholders regarded as civ-level. So, in fortress mode, a site's position cannot succeed a landholder's position and it cannot succeed another type of civ-level position, and vice versa. &lt;br /&gt;
&lt;br /&gt;
This won't work even if the positions:&lt;br /&gt;
* are AS_NEEDED or having a fixed number.&lt;br /&gt;
* Are LAND_HOLDERs.&lt;br /&gt;
&lt;br /&gt;
===Succession [BY_HEIR]===&lt;br /&gt;
&lt;br /&gt;
When a heir is needed for succession, all children and then other relatives are validated. They cannot take the position if their status does not allow it, for example if they have become a member of another civilisation. See: &amp;quot;Who can take a position&amp;quot;. If the unit has no valid heir on that location, the position may go to a unit living on another site. This may cause the title of Landholder of some land to be inherited by a unit living somewhere else. That might be a problem, because then you lose your landholders.&lt;br /&gt;
&lt;br /&gt;
===Premature Succession===&lt;br /&gt;
&lt;br /&gt;
There are cases where [SUCCESSION:BY_POSITION] is applied prematurely: at the moment a position is first created and becomes appointable or assumable, rather than after a current holder leaves. In this situation, the succession mechanism assigns a holder immediately, without any player interaction.&lt;br /&gt;
&lt;br /&gt;
When a position becomes available for the first time, the game checks whether a valid successor-by-position exists. If so, that unit is assigned instantly. This behavior occurs only in Fortress mode. It can affect positions that would normally be appointed or elected by the player, causing succession to trigger before the player has any opportunity to intervene.&lt;br /&gt;
&lt;br /&gt;
This premature succession only occurs the first time a position becomes available (i.e. when it is created and becomes appointable or assumable). Even if the position remains vacant and the conditions for succession improve later, premature succession will not trigger again. From that point onward, only normal succession rules apply.&lt;br /&gt;
&lt;br /&gt;
Using premature succession, a position that has [ELECTED], [APPOINTED_BY], or both, can be filled directly.&lt;br /&gt;
Notably, positions that combine [ELECTED] and [APPOINTED_BY] are normally impossible to fill through regular mechanics. Premature succession bypasses both election and appointment entirely, making this combination uniquely reachable through this mechanism.&lt;br /&gt;
&lt;br /&gt;
No initial election takes place, and no subsequent elections will ever occur for that position. Succession always takes precedence over election, both in premature succession and in normal succession cases.&lt;br /&gt;
&lt;br /&gt;
This behavior applies only in Fortress mode, not during world generation. World-gen uses simplified and more efficient mechanics, and this interaction does not occur there. Premature succession can affect both site-level and civilization-level positions.&lt;br /&gt;
&lt;br /&gt;
====Multiple succession chains====&lt;br /&gt;
&lt;br /&gt;
Multiple succession chains may be defined and are resolved in the order they appear in the raws.&lt;br /&gt;
&lt;br /&gt;
If a position has both:&lt;br /&gt;
* a direct succession chain (A → C), and&lt;br /&gt;
* a multi-step chain (A → B → C),&lt;br /&gt;
&lt;br /&gt;
and intermediate positions are vacant, resolution proceeds according to raw order. A common outcome is:&lt;br /&gt;
# The direct succession (A → C) is applied first, assigning A to C.&lt;br /&gt;
# The remaining chain then advances (A → B).&lt;br /&gt;
# If C still has empty slots, the final step (B → C) may occur.&lt;br /&gt;
&lt;br /&gt;
If position B is already filled, behavior depends entirely on raw definition order:&lt;br /&gt;
* nothing may happen, or&lt;br /&gt;
* B may move to C first, followed by A moving to B.&lt;br /&gt;
====Working triggers====&lt;br /&gt;
Premature succession is triggered when a succeedable position is created under the following conditions:&lt;br /&gt;
* The succeedable position is created because its [REQUIRES_POPULATION] threshold is reached. This applies even if the position is not [APPOINTED_BY]. Premature succession takes priority over automatic assumption (e.g. the mayor declaring themselves within a day).&lt;br /&gt;
* The succeedable position can be [APPOINTED_BY] another position of the same level (site or civ) that has just been created because its [REQUIRES_POPULATION] was reached.&lt;br /&gt;
* The succeedable position can be appointed by another [SITE] [AS_NEEDED] position that has just been created and filled.&lt;br /&gt;
* The succeedable (site or civ) position is [APPOINTED_BY] the [LAND_HOLDER] position, which has just been created due to site elevation. This typically resolves when the diplomat leaves the map, at which point the landholder position becomes active.&lt;br /&gt;
* If all other requirements are met, premature succession can occur immediately after unpausing following embark, for positions with [REQUIRES_POPULATION:7].&lt;br /&gt;
====Non-working triggers====&lt;br /&gt;
Premature succession does '''not''' occur in the following cases:&lt;br /&gt;
* An [AS_NEEDED] succeedable position slot is manually created by the player while its succeeding position is already filled. [AS_NEEDED] positions must always be appointed after creation.&lt;br /&gt;
* The succeeding position is filled after the succeedable position becomes available. The moment of creation is the decisive trigger; filling the source position later is too late.&lt;br /&gt;
* The succeedable position can be appointed by another site or civ position with a fixed number of slots that has just been appointed. In this case, the succeedable position is just available for appointment itself, nothing more&lt;br /&gt;
* Any situation occurring during world generation.&lt;br /&gt;
* The succeeding position is [REPLACED_BY] the succeedable position. In this case, replacement removes the unit from the source position first, leaving no holder available for the succession mechanism to use.rst, leaving no holder available for the succession mechanism to use.&lt;br /&gt;
* The position is [APPOINTED_BY] a civ-level position, that just became a citizen of your fortress. It must be noted that those civ-level positions were active all that time and the succeedable position could be appointed even before. The monarchs arrival does not trigger premature succession&lt;br /&gt;
&lt;br /&gt;
=Losing a position=&lt;br /&gt;
&lt;br /&gt;
A unit can lose a position when:&lt;br /&gt;
* It dies&lt;br /&gt;
* It succeeds another position, even if it has nothing to do with the previous position.&lt;br /&gt;
* It is assigned to another SQUAD-holding position&lt;br /&gt;
* It is convicted of a crime.&lt;br /&gt;
* Another unit is ELECTED for the position&lt;br /&gt;
* Its position becomes replaced&lt;br /&gt;
* Another unit is appointed by the player, or the position is left vacant. &lt;br /&gt;
* It has assumed another position, as this always leaves the previous position vacant.&lt;br /&gt;
&lt;br /&gt;
=Embarkment=&lt;br /&gt;
Two types of positions are automatically filled by embark. &lt;br /&gt;
* Positions without [APPOINTED_BY] or [ELECTED] (assumable). All these positions, even with a NUMBER higher than 1, are all filled with one to three dwarves. Contrary to assumption, this doesn't take into account any limitations. REJECTED_CLASS, ALLOWED_CLASS, REJECTED_CREATURE, ALLOWED_CREATURE and GENDER are applied, but without the normal spread you may expect with assumptions. Also it doesn't look at [SUCCESSION] and [SQUAD] limitations.&lt;br /&gt;
* Positions that are elected are filled-in by the normal election rules.&lt;br /&gt;
&lt;br /&gt;
Positions that have a defined appointer are never initially filled at embark.&lt;br /&gt;
&lt;br /&gt;
All positions that don't have [REQUIRES_POPULATION]  or with a [REQUIRES_POPULATION] of 7 or lower, will be available at embark.&lt;br /&gt;
&lt;br /&gt;
=Land Holders=&lt;br /&gt;
&lt;br /&gt;
A Landholder is a '''special civ-level noble''' who gets a certain piece of land to hold, when that land is elevated to a certain level, determined by the tag [LAND_HOLDER] and by the landholder triggers in the game's settings. In vanilla, these are the baron, the count and the duke. &lt;br /&gt;
&lt;br /&gt;
A unit gaining the landholder position does not migrate to that specific named land. In world-gen, they stay just where they are, probably at the capital. In fortress mode, you can suggest a citizen for the role. So for the time being that works.&lt;br /&gt;
&lt;br /&gt;
Succession is then a real issue. If you use BY_HEIR, its solved when that landholder has children living at your site. But when its not the case, the title just goes to anyone randomly. Succession BY_POSITION works, but only in the civ-chain, and there's no way to guarantee a civ-holder is at your site at that time. Even with 'automatic spread' positions, it goes to one of them randomly.&lt;br /&gt;
&lt;br /&gt;
==Functioning of the regular landholder chain==&lt;br /&gt;
&lt;br /&gt;
The distinct difference between a landholder and a regular civ-level noble, is that a landholder may gain the position of landholder &amp;quot;of (sitename)&amp;quot; They are then seen as ruler of a particular site. &lt;br /&gt;
&lt;br /&gt;
For a land_holder position to function as such, it has a few requirements:&lt;br /&gt;
* NUMBER:AS_NEEDED &lt;br /&gt;
* The first landholder-number of 1 is defined. &lt;br /&gt;
* No SITE (so civ) tag in that position.&lt;br /&gt;
*REPLACED_BY the next level landholder&lt;br /&gt;
If a landholder is defined with differentiating properties, it will function like a regular noble. A higher-up landholder that lacks the required tokens or connections will then not be used in elevation. &lt;br /&gt;
&lt;br /&gt;
If a fortress meets the trigger for a new LAND_HOLDER tier when a caravan leaves, then the next time the outpost liaison or equivalent arrives, they will offer to make you an official colony, which will allow you to select all positions for that LAND_HOLDER level. Each time they appear, the outpost liaison will only promote your fortress one tier up the LAND_HOLDER track. &lt;br /&gt;
&lt;br /&gt;
The landholder's LAND_NAME is not required for the functioning of this system. If omitted, messages will be shown with a more generic text.&lt;br /&gt;
&lt;br /&gt;
==Appointment==&lt;br /&gt;
&lt;br /&gt;
This mechanism differs from the regular methods of position management. It ignores all regular appointment- and election rules, so it more or less functions like automatic assignment. A landholder is, in vanilla, appointed by the monarch. Changing this doesn't seem to do anything. If they are appointed by a site-position, a not-yet-existing civ-position, or not appointed at all: the system keeps working as usual. &lt;br /&gt;
&lt;br /&gt;
A landholder can appoint civ-positions and site positions. This works as expected: the positions only are appointed then when that landholder becomes available on civ-level or when he arrives at that site for site-level positions. &lt;br /&gt;
&lt;br /&gt;
If your rank of landholder is the first of its rank in the realm, and is the sole appointer of some civ-position, then immediately as it gains the title, it will appoint the empty civ-slots. This may happen on your site, but the frequency and certainty is hard to determine.&lt;br /&gt;
&lt;br /&gt;
==Succession==&lt;br /&gt;
&lt;br /&gt;
Succession rules are applied to some extent:&lt;br /&gt;
* In world-gen it works according to succession rules, and site-positions can be used here.  This means that a site position or a civ-position can inherit a landholder position, and vice versa.&lt;br /&gt;
* In fortress mode, once a landholder has been appointed, it then can inherit civ-level positions, and vice versa. This means that your baron can become king. &lt;br /&gt;
* Succession rules do not apply within the [LAND_HOLDER] chain; a count will not inherit a baron's land. This is because succession does not work well with the AS_NEEDED token.&lt;br /&gt;
* Premature succession works in fortress mode with landholders. If a unit gets a landholder's position and that landholder is the appointer of an as yet empty position, which is defined as succeeding from a third one, then the succession is immediately applied. The landholder themselves can even be the successor of a newly created position.&lt;br /&gt;
* A landholder's position is, in fortress mode, not successionable by a site-position or vice versa&lt;br /&gt;
&lt;br /&gt;
===Impossibilities for succession by a site-position===&lt;br /&gt;
It would be very beneficial if the landholder can be succeeded by a [SITE]-position. So far, the following tests have not lead to positive results:&lt;br /&gt;
* making landholder and site-position both non-[DUTY_BOUND]&lt;br /&gt;
* make the site-position be [APPOINTED_BY] the landholder and/or the monarch&lt;br /&gt;
* give landholder and site-position [REJECTED_CREATURE]&lt;br /&gt;
* Let the monarch live at your site when succession could happen.&lt;br /&gt;
* Let the site-position be [REPLACED_BY] the landholder.&lt;br /&gt;
&lt;br /&gt;
==Nomination==&lt;br /&gt;
&lt;br /&gt;
The player is able to nominate a unit to become the LAND_HOLDER, but this only works with units of [LAND_HOLDER] level 1. The player can select all units, only limited by the PRECEDENCE of the current units' positions.&lt;br /&gt;
&lt;br /&gt;
A unit that has a position with a PRECEDENCE lower or equal to that of the landholder's position, cannot be selected. This means that a baron (or count) from another site or the monarch cannot be selected, because their precedence is lower or equal. &lt;br /&gt;
&lt;br /&gt;
The GENDER  token does not work here: also units with the wrong gender (sorry) can be selected.&lt;br /&gt;
&lt;br /&gt;
==Levels==&lt;br /&gt;
In mods, up to 10 levels of LAND_HOLDER may be defined. &lt;br /&gt;
&lt;br /&gt;
If a landholder is replaced by a wrong landholder number (1 replaced by 3), then the number 3 is still correctly attached to the settlement. &lt;br /&gt;
&lt;br /&gt;
If the current landholder has the highest available landholder number, then the next elevation will not happen - the diplomat will not elevate your fortress to a higher position, even if that position might be REPLACED_BY a lower landholder. &lt;br /&gt;
&lt;br /&gt;
These chains do work:&lt;br /&gt;
* 1 -&amp;gt; 2a - &amp;gt; 2b -&amp;gt; 3&lt;br /&gt;
* 1 -&amp;gt; 3 -&amp;gt; 2 -&amp;gt; 4&lt;br /&gt;
&lt;br /&gt;
These chains do not work:&lt;br /&gt;
* 2 -&amp;gt; 3 (need to start at 1)&lt;br /&gt;
* 1 -&amp;gt; 4 -&amp;gt; 2 -&amp;gt; 3 (stops after 4 as the highest)&lt;br /&gt;
* 1a -&amp;gt; 2, 1b -&amp;gt; 2 (only 1a and 2 work, 1b is not used)&lt;br /&gt;
&lt;br /&gt;
==Moving landholders==&lt;br /&gt;
&lt;br /&gt;
It may happen that a land-holder no longer lives at the site which they are the landholder of, specifically when the current landholder dies, leaving the title to an heir living somewhere else. &lt;br /&gt;
&lt;br /&gt;
To prevent this from happening, you can make their succession from heir and make sure that their kids live at your site. Or, you can make their position succeeded by another civ position, and make it so that this civ position is somehow available on your site. But if multiple of these positions exist, it cannot be guaranteed that a citizen of your fortress will inherit the title. &lt;br /&gt;
&lt;br /&gt;
In world gen, a landholder lacking the DUTY_BOUND-token will also move to the site they like, according to legends mode.&lt;br /&gt;
&lt;br /&gt;
==Replacement by a generic civ-position==&lt;br /&gt;
&lt;br /&gt;
If a landholder is replaced by an AS_NEEDED non-landholder civ-position, then this will work: the current landholder loses that title upon settlement-elevation and gains that civ-title. However, the civ-title lacks the landholder-property of being attached to the land. It will not show the name of the settlement alongside the position's name. So no &amp;quot;minister of Shovelmounts&amp;quot;&lt;br /&gt;
&lt;br /&gt;
If a landholder is replaced by a general AS_NEEDED civ-position, that itself is also replaced by a generic AS_NEEDED civ-position, then firstly the elevation is executed and also the unit gains that new position. However, he immediately loses it, because an AS_NEEDED position that is replaced by another position can be filled initially, but units wont be able to hold that title.&lt;br /&gt;
&lt;br /&gt;
==Landholder with fixed number==&lt;br /&gt;
&lt;br /&gt;
A landholder's position that has a fixed number will be created and filled directly when the civilisation is born, so this position slot is then not available for the regular landholder-mechanic and will also not be used. That landholder will thus not be attached to a settlement. &lt;br /&gt;
&lt;br /&gt;
It doesn't matter if the landholder's position is connected to the regular landholder's-chain with the REPLACE_BY token.&lt;br /&gt;
&lt;br /&gt;
==Responsibilities==&lt;br /&gt;
&lt;br /&gt;
When given a certain [RESPONSIBILITY], a landholder may function as a regular civ-level noble. If the position has [TRADE] or [OUTPOST_NEGOTIATING] responsibilities, then the landholder functions both as a diplomat and as an actual land holder. A landholder with the [MILITARY_STRATEGY]  responsibility will travel around taming creatures in world-gen, according to legends mode. &lt;br /&gt;
&lt;br /&gt;
Besides that, the responsibilities work the same as with any other on-site living position-holder, civ or otherwise.&lt;br /&gt;
&lt;br /&gt;
=Military=&lt;br /&gt;
==Squad management==&lt;br /&gt;
In the vanilla game, the Squad interface only becomes available after a militia commander has been appointed. Until then, the window displays:{{DFtext|You must appoint somebody first to create a squad.}}&lt;br /&gt;
&lt;br /&gt;
What’s surprising is how this is determined internally. In the entity raw definition, '''only the last two positions that include a [SQUAD] token are checked''' to decide whether the interface is accessible at all. As a result, if your hierarchy defines commanders A through E, appointing '''Commander D or E''' unlocks squad formation, while appointing A–C does nothing.&lt;br /&gt;
&lt;br /&gt;
In other words, squad availability is not tied to ''having a militia commander'', but to ''which specific positions happen to be last in the raw list''—a notably hacky implementation.&lt;br /&gt;
&lt;br /&gt;
These 'last two' are always the last two '''available positions.''' So if they get [REPLACED_BY] or become available because of [REQUIRES_POPULATION], the game adapts to those.&lt;br /&gt;
&lt;br /&gt;
==Squad assignment==&lt;br /&gt;
&lt;br /&gt;
Squads can be assigned, even if the leader position has no holder.&lt;br /&gt;
&lt;br /&gt;
A specific unit can only have one position associated with a squad. If it gains another 'squad holding position', it is unassigned from the first one. This does not work with a 0-squad, so only 1+squads are taken into consideration. This technique can possibly be used to distribute all positions equally among all citizens. It does however not work with election and assumption. &lt;br /&gt;
&lt;br /&gt;
If a civ-level position is associated with a squad and it gets a site-level squad-holding position assigned, it loses the current civ-position. &lt;br /&gt;
&lt;br /&gt;
Squads can get really messed up, if you make the position (or multiple) either elected or not-elected and not-appointed, then this can cause the game to assign multiple squads to the same unit. Automatic assignment and election does not take squads into account, but the nobles screen does. This can cause the positions to be cleared as the game figures out that they have more than one position, and immediately get elected or assumed again. &lt;br /&gt;
&lt;br /&gt;
Positions that cannot have a squad-position:&lt;br /&gt;
* A site- or civ-position with a [SUCCESSION] token cannot be appointed a squad-holding-position. The other way around, however, does work. For example, if a site-position with a [SUCCESSION]-token is appointed to a unit that has already a position with [SQUAD]. But when that squad position is assigned to another unit, it cannot be assigned back. &lt;br /&gt;
* A position with [SUCCESSION] can also not be assigned as a '''member''' of a squad.&lt;br /&gt;
* A squad-holding position with a formed squad cannot be appointed to another squad holding position.&lt;br /&gt;
&lt;br /&gt;
If a position has at least one squad member, it cannot be left vacant. First, the squad has to be disbanded, then the position may be cleared.&lt;br /&gt;
&lt;br /&gt;
==0-squads==&lt;br /&gt;
A 0-Squad is defined in a position as [SQUAD:0:member:members]. It does not seem to do anything useful as of now.&lt;br /&gt;
* It cannot be used to activate the [[Squad|military interface]]&lt;br /&gt;
* It does not restrict the assignment of [SUCCESSION] positions.&lt;br /&gt;
* Assigning this position does not clear any previously held squad position.&lt;br /&gt;
* The [[Leader]] and [[Tactician]] skill are not marked as relevant skills and are not taken into account in elections.&lt;br /&gt;
* It cannot be formed as a squad.&lt;br /&gt;
&lt;br /&gt;
=Further testing=&lt;br /&gt;
The following questions may need additional testing. Feel free to add or answer&lt;br /&gt;
* Everything regarding COMMANDING and army-structure&lt;br /&gt;
** [http://www.bay12forums.com/smf/index.php?topic=175437.msg8331668#msg8331668]&lt;br /&gt;
** [http://www.bay12forums.com/smf/index.php?topic=165213.msg8335682#msg8335682]&lt;br /&gt;
** [http://www.bay12forums.com/smf/index.php?topic=174584.msg8026854#msg8026854]&lt;br /&gt;
* Everything regarding CONQUERED_SITE, but it is presumably just like site. But what if you combine SITE or LAND_HOLDER with it?&lt;br /&gt;
* Stuff about the monarch, its arrival and its entourage.&lt;br /&gt;
&lt;br /&gt;
=Oddities (Bugs)=&lt;br /&gt;
Almost everything on this page could be called an oddity. Because of their unexpected usability, some may also be referred to as “undocumented features.” Others, however, are simply odd and not particularly useful, yet I hesitate to call them “bugs.”&lt;br /&gt;
* If a certain threshold is reached that makes an elected position electable, and the triggering event that initiates this evaluation is an assumption, then the resulting assumption is also referred to in the messages as an election&lt;br /&gt;
&lt;br /&gt;
=Examples=&lt;br /&gt;
&lt;br /&gt;
===The Founder===&lt;br /&gt;
The founder is a single dwarf, appointed at embark. They will be the only one ever to have this position and are not replaceable. When they lose their position some way, the position will not be assumed by another dwarf. &lt;br /&gt;
{{gamedata|title=The Founder|&lt;br /&gt;
[POSITION:THE_FOUNDER]&lt;br /&gt;
	[NAME:the founder:founders]&lt;br /&gt;
	[NUMBER:1] &lt;br /&gt;
	[SITE]&lt;br /&gt;
	[ALLOWED_CREATURE:DWARF:ALL]		- will only be filled at embark, but not assumable later.&lt;br /&gt;
	[REJECTED_CREATURE:DWARF:ALL]		- will only be filled at embark, but not assumable later.&lt;br /&gt;
	[SUCCESSION:BY_POSITION:THE_FOUNDER]	- not unassignable, also cannot be assigned to a [SQUAD] position.&lt;br /&gt;
	[PRECEDENCE:200] &lt;br /&gt;
	Non APPOINTED_BY&lt;br /&gt;
	Non ELECTED&lt;br /&gt;
	Optional: Add responsibilities to make the game select a unit with certain skills.&lt;br /&gt;
}}&lt;br /&gt;
===Marriage bar===&lt;br /&gt;
Dwarven matrons are held in great honour. Upon marriage, a female dwarf is no longer expected to perform menial labour. All dwarven males hold this position by default, granting their spouses exemption from menial work.&lt;br /&gt;
&lt;br /&gt;
The position becomes available with the arrival of the first migrants; otherwise, on embark, it would be assumed by females. Its succession rule is non-functional, but this prevents the player from unassigning the position. A squad size of 1 and the succession rules together prevent a unit from assuming the position more than once.&lt;br /&gt;
&lt;br /&gt;
With precedence set to NONE, the position name is hidden, while LAND_NAME remains visible on the nobles screen. All married females receive the suffix “, Mrs.” and are marked as Nobles.&lt;br /&gt;
&lt;br /&gt;
The practical usefulness of this position is debatable, but it serves as a clear demonstration of several mechanics.&lt;br /&gt;
{{gamedata|title=Mrs. Urist|&lt;br /&gt;
 &lt;br /&gt;
[POSITION:MRS_URIST]	&lt;br /&gt;
	[NUMBER:300]						&lt;br /&gt;
	[SITE]						&lt;br /&gt;
	[ALLOWED_CREATURE:DWARF:MALE]	&lt;br /&gt;
	Not APPOINTED_BY				&lt;br /&gt;
	Not ELECTED&lt;br /&gt;
	[LAND_NAME:Dwarven male]				&lt;br /&gt;
	[NAME:dwarven male:dwarven male]&lt;br /&gt;
	[PRECEDENCE:NONE]					&lt;br /&gt;
	[SPOUSE_FEMALE:, Mrs.:spouses]&lt;br /&gt;
	[MENIAL_WORK_EXEMPTION_SPOUSE]&lt;br /&gt;
	[REQUIRES_POPULATION:8]			&lt;br /&gt;
	[SUCCESSION:BY_POSITION:MONARCH]&lt;br /&gt;
	[SQUAD:1:member:members]&lt;br /&gt;
}}&lt;br /&gt;
{{Category|Modding}}&lt;br /&gt;
{{Category|Entities}}&lt;br /&gt;
{{Category|Guides}}&lt;/div&gt;</summary>
		<author><name>Joostheger</name></author>
	</entry>
</feed>