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

Editing v0.31:Position token

Jump to navigation Jump to search

Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.

You are editing a page for an older version of Dwarf Fortress ("Main" is the current version, not "v0.31"). Please make sure you intend to do this. If you are here by mistake, see the current page instead.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
{{quality|Exceptional|18:14, 28 April 2011 (UTC)}}{{av}}
+
{{av}}
These tokens define positions in entity_*.txt files. See [[Entity token]].
+
These tokens define positions in entity_*.txt files. See {{l|Entity token}}.
 
==Position Tokens==
 
==Position Tokens==
 
These tokens belong in an entity definition. These tokens apply to a position (such as monarch, dungeon master, etc) and should follow the [POSITION:POSITION_NAME] token.
 
These tokens belong in an entity definition. These tokens apply to a position (such as monarch, dungeon master, etc) and should follow the [POSITION:POSITION_NAME] token.
  
 
{| {{prettytable}}
 
{| {{prettytable}}
|- bgcolor="#dddddd"
+
|- bgcolor="#ddd"
 
! Token
 
! Token
 
! Arguments
 
! Arguments
 
! Description
 
! Description
 
|-
 
| ACCOUNT_EXEMPT
 
|
 
| The position holder is not subjected to the Dwarven Economy.
 
 
|-
 
| ALLOWED_CLASS
 
| CREATURE_CLASS Token
 
| Only creatures with the specified class token can be appointed to this position in Fortress Mode. Has no effect on world generation.
 
 
|-
 
| ALLOWED_CREATURE
 
| ???
 
| Unknown - may restrict position holders by CREATURE type.
 
  
 
|-
 
|-
Line 38: Line 23:
 
| CHAT_WORTHY
 
| CHAT_WORTHY
 
|  
 
|  
| In adventure mode, when referencing locations an NPC may mention this position holder living there or having done some deed there.
+
| Unknown.{{verify}}
  
 
|-
 
|-
Line 57: Line 42:
 
|-
 
|-
 
| DEMAND_MAX
 
| DEMAND_MAX
| number (0-100)
+
| number
 
| How many demands at one time the position can make of the population.
 
| How many demands at one time the position can make of the population.
  
Line 63: Line 48:
 
| DETERMINES_COIN_DESIGN
 
| DETERMINES_COIN_DESIGN
 
|  
 
|  
| Coins minted will have images that reflect the personality of this position holder.
+
|  
  
 
|-
 
|-
Line 73: Line 58:
 
| DUTY_BOUND
 
| DUTY_BOUND
 
|  
 
|  
| Members of this position will never agree to 'join' your character during adventure mode.
+
| Unknown, but every position in the raws has it.{{verify}}
  
 
|-
 
|-
Line 84: Line 69:
 
|  
 
|  
 
| The various members who have filled this role will be listed in the civilisation's history.
 
| The various members who have filled this role will be listed in the civilisation's history.
 +
 +
|-
 +
| FEMALE
 +
|
 +
| Only a female creature can hold the position.
  
 
|-
 
|-
Line 89: Line 79:
 
|  
 
|  
 
| The creature holding this position will flash on the display.
 
| The creature holding this position will flash on the display.
 
|-
 
| GENDER
 
|
 
*MALE/FEMALE
 
| The position can only be held by specified gender.
 
  
 
|-
 
|-
Line 110: Line 94:
 
| string
 
| string
 
| The name the area takes on when under the control of a LAND_HOLDER. E.g. for the DUKE, [LAND_NAME:a duchy]
 
| The name the area takes on when under the control of a LAND_HOLDER. E.g. for the DUKE, [LAND_NAME:a duchy]
 +
 +
|-
 +
| <s>MALE</s>
 +
|
 +
| <s>Only a male creature can hold the position.</s> During world gen you get <ENTITY>:Unrecognized Entity Token: MALE in errorlog.txt
  
 
|-
 
|-
 
| MANDATE_MAX
 
| MANDATE_MAX
| number (0-100)
+
| number
 
| The maximum number of mandates the position can make at once.
 
| The maximum number of mandates the position can make at once.
  
Line 119: Line 108:
 
| MENIAL_WORK_EXEMPTION
 
| MENIAL_WORK_EXEMPTION
 
|  
 
|  
| The position cannot be assigned labours, and will generally just lounge around like nobles do. Currently does not actually work. {{bug|3721}}
+
| The position cannot be assigned labours, and will generally just lounge around like nobles do.
  
 
|-
 
|-
 
| MENIAL_WORK_EXEMPTION_SPOUSE
 
| MENIAL_WORK_EXEMPTION_SPOUSE
 
|  
 
|  
| The spouse of the position holder doesn't have to work, either. Also doesn't work either. {{bug|3721}}
+
| The lover of the position holder doesn't have to work, either.
 
 
|-
 
| MILITARY_SCREEN_ONLY
 
|
 
| The position only shows up in the Military screen.{{verify}}
 
  
 
|-
 
|-
Line 137: Line 121:
  
 
|-
 
|-
| NAME_MALE
+
| NAME_FEMALE
 
| singular:plural
 
| singular:plural
| If the creature holding the position is male, this is the position's name. E.g. for MONARCH, [NAME_MALE:king:kings]
+
| If the creature holding the position is female, this is the position's name. E.g. for MONARCH, [NAME_FEMALE:queen:queens]
  
 
|-
 
|-
| NAME_FEMALE
+
| NAME_MALE
 
| singular:plural
 
| singular:plural
| If the creature holding the position is female, this is the position's name. E.g. for MONARCH, [NAME_FEMALE:queen:queens]
+
| If the creature holding the position is male, this is the position's name. E.g. for MONARCH, [NAME_MALE:king:kings]
  
 
|-
 
|-
 
| NUMBER
 
| NUMBER
 
|  
 
|  
* number/AS_NEEDED
+
* number
 +
* AS_NEEDED
 
| How many of the position there should be. If the [SITE] token exists, this is per site, otherwise this is per civilisation.
 
| How many of the position there should be. If the [SITE] token exists, this is per site, otherwise this is per civilisation.
  
 
|-
 
|-
 
| PRECEDENCE
 
| PRECEDENCE
| number (0-30000)
+
| number
| How important the position is in society; a lower number is more important. For MONARCH it's 1, for MILITIA_CAPTAIN it's 200.
+
| How important the position is in society; a lower number is more important. For MONARCH it's 1, for MILITIA_CAPTAIN it's 200. Unknown if it accepts values greater than 200.{{verify}}
  
 
|-
 
|-
 
| PUNISHMENT_EXEMPTION
 
| PUNISHMENT_EXEMPTION
 
|  
 
|  
| The position holder will not be held accountable for his or her crimes. Does not appear to work. {{bug|4589}}
+
| The position holder will not be held accountable for his or her crimes.
 
 
|-
 
| QUEST_GIVER
 
|
 
| The position holder can give quests in Adventurer mode. Functionality in 0.31.13 and later is uncertain.
 
 
 
|-
 
| REJECTED_CLASS
 
| CREATURE_CLASS Token
 
| Creatures of the specified class cannot be appointed to this position in Fortress Mode. Has no effect on world generation.
 
 
 
|-
 
| REJECTED_CREATURE
 
| ???
 
| Unknown - may restrict position holders by CREATURE type.
 
  
 
|-
 
|-
Line 184: Line 154:
 
|-
 
|-
 
| REQUIRED_BEDROOM
 
| REQUIRED_BEDROOM
| number (0-1000000)
+
| number
 
| The position holder requires a bedroom with at least this value.
 
| The position holder requires a bedroom with at least this value.
  
 
|-
 
|-
 
| REQUIRED_BOXES
 
| REQUIRED_BOXES
| number (0-100)
+
| number
 
| The position holder requires at least this many boxes.
 
| The position holder requires at least this many boxes.
  
 
|-
 
|-
 
| REQUIRED_CABINETS
 
| REQUIRED_CABINETS
| number (0-100)
+
| number
 
| The position holder requires at least this many cabinets.
 
| The position holder requires at least this many cabinets.
  
 
|-
 
|-
 
| REQUIRED_DINING
 
| REQUIRED_DINING
| number (0-1000000)
+
| number
 
| The position holder requires a dining room with at least this value.
 
| The position holder requires a dining room with at least this value.
  
 
|-
 
|-
 
| REQUIRED_OFFICE
 
| REQUIRED_OFFICE
| number (0-1000000)
+
| number
 
| The position holder requires an office with at least this value.
 
| The position holder requires an office with at least this value.
  
 
|-
 
|-
 
| REQUIRED_RACKS
 
| REQUIRED_RACKS
| number (0-100)
+
| number
 
| The position holder requires at least this many weapon racks.
 
| The position holder requires at least this many weapon racks.
  
 
|-
 
|-
 
| REQUIRED_STANDS
 
| REQUIRED_STANDS
| number (0-100)
+
| number
 
| The position holder requires at least this many armour stands.
 
| The position holder requires at least this many armour stands.
  
 
|-
 
|-
 
| REQUIRED_TOMB
 
| REQUIRED_TOMB
| number (0-1000000)
+
| number
 
| The position holder requires a tomb with at least this value.
 
| The position holder requires a tomb with at least this value.
  
Line 230: Line 200:
 
| RESPONSIBILITY
 
| RESPONSIBILITY
 
| responsibility
 
| responsibility
| See the table below for the available responsibility tokens. E.g. [RESPONSIBILITY:TAME_EXOTICS]
+
| See the table below for the avaiable responsibility tokens. E.g. [RESPONSIBILITY:TAME_EXOTICS]
  
 
|-
 
|-
Line 245: Line 215:
 
| SLEEP_PRETENSION
 
| SLEEP_PRETENSION
 
|  
 
|  
| The position holder will get upset if someone with a higher precedence holds quarters with a greater value than their own.
+
| The position holder will get upset if someone with a higher precedence holds quarters with a greater value than their own.{{verify}}
 
 
|-
 
| SPOUSE
 
| singular:plural
 
| The name of the position holder's spouse.
 
  
 
|-
 
|-
 
| SPOUSE_FEMALE
 
| SPOUSE_FEMALE
 
| singular:plural
 
| singular:plural
| If the spouse of the creature holding the position is female, this is the spouse's position name.
+
| The name of the position holder's spouse if they're female.
  
 
|-
 
|-
 
| SPOUSE_MALE
 
| SPOUSE_MALE
 
| singular:plural
 
| singular:plural
| If the spouse of the creature holding the position is male, this is the spouse's position name.
+
| The name of the position holder's spouse if they're male.
  
 
|-
 
|-
Line 270: Line 235:
 
| SUCCESSION
 
| SUCCESSION
 
|  
 
|  
* BY_HEIR / BY_POSITION:position
+
* BY_HEIR
 +
* BY_POSITION:position
 
| How a new position holder is chosen.
 
| How a new position holder is chosen.
  
Line 277: Line 243:
 
== Responsibilities ==
 
== Responsibilities ==
 
{| {{prettytable}}
 
{| {{prettytable}}
|- bgcolor="#dddddd"
+
|- bgcolor="#ddd"
 
! Argument
 
! Argument
 
! Description
 
! Description
Line 295: Line 261:
 
|-
 
|-
 
| COLLECT_TAXES
 
| COLLECT_TAXES
| Found on tax collector. Will collect taxes in further versions, when economics are back.
+
| Found on tax collector. Effect{{verify}}
  
 
|-
 
|-
Line 303: Line 269:
 
|-
 
|-
 
| ESCORT_TAX_COLLECTOR
 
| ESCORT_TAX_COLLECTOR
| Found on hammerer. Position will accompany the COLLECT_TAXES position during tax collection.
+
| Found on hammerer. Position will accompiany the COLLECT_TAXES position{{verify}}
  
 
|-
 
|-
Line 331: Line 297:
 
|-
 
|-
 
| MAKE_PEACE_AGREEMENTS
 
| MAKE_PEACE_AGREEMENTS
| Found on diplomat. Will request peace treaties in order to end wars.
+
| Found on diplomat. Required for a civilisation to end a war{{verify}}
  
 
|-
 
|-
 
| MAKE_TOPIC_AGREEMENTS
 
| MAKE_TOPIC_AGREEMENTS
| Found on diplomat. Will make various types of agreements when visiting - tree cutting quotas (for Elves) or simply "such a nice place you've carved out for yourselves".
+
| Found on diplomat. Effect{{verify}}
  
 
|-
 
|-
Line 343: Line 309:
 
|-
 
|-
 
| MEET_WORKERS
 
| MEET_WORKERS
| Found on expedition leader/mayor. Dwarves want one of these around to complain to.
+
| Found on expedition leader/mayor. Dwarves want one of these around to complain to{{verify}}
  
 
|-
 
|-
Line 350: Line 316:
  
 
|-
 
|-
| MILITARY_STRATEGY
+
| MILITARY STRATEGY
| Found on general/militia commander. During worldgen, position will go on expeditions to tame exotic creatures.
+
| Found on general/militia commander. Effect{{verify}}
  
 
|-
 
|-
Line 363: Line 329:
 
|-
 
|-
 
| RELIGION
 
| RELIGION
| Found on elven druid. Possibly it's the one who can tell you information about worship cults{{verify}}
+
| Found on elven druid. Effect{{verify}}
  
 
|-
 
|-
Line 371: Line 337:
 
|-
 
|-
 
| TAME_EXOTICS
 
| TAME_EXOTICS
| Found on dungeon master. Position will tame creatures with the [PET_EXOTIC] token. Currently broken.
+
| Found on dungeon master. Position will tame creatures with the [PET_EXOTIC] token.
  
 
|-
 
|-
 
| TRADE
 
| TRADE
| Found on broker. Position will trade at the depot when set to broker only. When applied to other civilizations, the position will arrive with the caravan to make trade agreements.
+
| Found on broker. Position will trade at the depot when set to broker only.
  
 
|-
 
|-
Line 383: Line 349:
 
|}
 
|}
  
== Related Tokens ==
+
[[Category:Modding]]
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:
+
[[Category:Tokens]]
 
 
{| {{prettytable}}
 
|- bgcolor="#dddddd"
 
! Token
 
! Arguments
 
! Description
 
 
 
|-
 
| LAND_HOLDER_TRIGGER
 
|
 
* land holder number
 
* population
 
* wealth exported
 
* created wealth
 
| Defines when a particular land-holding noble (baron, count, duke in vanilla) will arrive at a fortress.
 
 
 
|-
 
| VARIABLE_POSITIONS
 
| Position responsibility or ALL
 
| Allows a responsibility to be taken up by a dynamically generated position (such as Law-maker).
 
 
 
|}
 
 
 
== Why Won't My Positions Appear? ==
 
The way DF determines what positions will actually ''appear'' in your fortress is somewhat counterintuitive and fairly limiting. This guide should help you understand what you can do to actually get your positions working properly.
 
 
 
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.
 
 
 
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: =< 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.
 
 
 
'''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 his 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.'''
 
 
 
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, he will offer to make you an official colony, which will allow you to select all positions for that LAND_HOLDER level. '''Each time he appears, 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.'''
 
 
 
{{Category|Modding}}
 
{{Category|Tokens}}
 

Please note that all contributions to Dwarf Fortress Wiki are considered to be released under the GFDL & MIT (see Dwarf Fortress Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:

Cancel Editing help (opens in new window)

Templates used on this page: