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 Speech file

Jump to navigation Jump to search

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

If you are creating a redirect to the current version's page, do not use any namespace. For example: use #REDIRECT [[Cat]], not #REDIRECT [[Main:Cat]] or #REDIRECT [[cv:Cat]]. See DF:Versions for more information.

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:
{{av}}
+
'''Speech files''' are text files that define sentences which can be spoken by people in [[adventure mode]]. They are found in the <code>data/speech</code> folder.
{{Modding}}
 
'''Speech files''', also known as '''text sets''', are text files that define sentences which can be spoken by people in [[adventure mode]] and phrases used to name [[books]]. Most of them are found in the <code>data/vanilla/vanilla_text/objects</code> folder, though the creature specific files can be found in <code>data/vanilla/vanilla_creatures/objects</code>. Like other raw files, mods can replace or introduce new sentences.
 
  
 
== List of files ==
 
== List of files ==
  
 
{| class="wikitable"
 
{| class="wikitable"
! Textset ID !! Uses !! Example
+
! File !! Uses !! Example
 
|-
 
|-
| {{text anchor|AB_SPECIFIC_HF_SEEKER}}
+
| {{text anchor|ab_specific_hf_seeker}}
 
|
 
|
 
| seek out [CONTEXT:HIST_FIG:TRANS_NAME] at [CONTEXT:ABSTRACT_BUILDING:TRANS_NAME] over in [CONTEXT:SITE:TRANS_NAME]
 
| seek out [CONTEXT:HIST_FIG:TRANS_NAME] at [CONTEXT:ABSTRACT_BUILDING:TRANS_NAME] over in [CONTEXT:SITE:TRANS_NAME]
  
 
|-
 
|-
| {{text anchor|ANIMAL_SLAYER}}
+
| {{text anchor|animal_slayer}}
 
|
 
|
 
| I have taken down [CONTEXT:NUMBER] [CONTEXT:RACE:NUMBERED_NAME] while stalking [CONTEXT:PLACE:TRANS_NAME].
 
| I have taken down [CONTEXT:NUMBER] [CONTEXT:RACE:NUMBERED_NAME] while stalking [CONTEXT:PLACE:TRANS_NAME].
  
 
|-
 
|-
| {{text anchor|ARCH_INFO_JUSTIFICATION}}
+
| {{text anchor|arch_info_justification}}
 
|
 
|
 
| It is said that the [CONTEXT:ARCH_ELEMENT] of [CONTEXT:ABSTRACT_BUILDING:TRANS_NAME] [CONTEXT:JUSTIFICATION] [CONTEXT:DEF_SPHERE] for the glory of [CONTEXT:HIST_FIG:TRANS_NAME].
 
| It is said that the [CONTEXT:ARCH_ELEMENT] of [CONTEXT:ABSTRACT_BUILDING:TRANS_NAME] [CONTEXT:JUSTIFICATION] [CONTEXT:DEF_SPHERE] for the glory of [CONTEXT:HIST_FIG:TRANS_NAME].
  
 
|-
 
|-
| {{text anchor|BOOK_ART}}
+
| {{text anchor|child_age_proclamation}}
| Used when naming books.
 
| And [ANY_PRONOUN] Sang '[NAME]!'
 
 
 
|-
 
| {{text anchor|BOOK_INSTRUCTION}}
 
| Used when naming books.
 
| A Course on [NAME]
 
 
 
|-
 
| {{text anchor|CHILD_AGE_PROCLAMATION}}
 
 
|
 
|
 
| I'm [CONTEXT:NUMBER]!
 
| I'm [CONTEXT:NUMBER]!
  
 
|-
 
|-
| {{text anchor|CURRENT_PROFESSION_NO_YEAR}}
+
| {{text anchor|current_profession_no_year}}
 
|
 
|
 
| I am a [CONTEXT:UNIT_NAME].
 
| I am a [CONTEXT:UNIT_NAME].
  
 
|-
 
|-
| {{text anchor|CURRENT_PROFESSION_YEAR}}
+
| {{text anchor|current_profession_year}}
 
|
 
|
 
| This is my [CONTEXT:ORDINAL] year as a [CONTEXT:UNIT_NAME].
 
| This is my [CONTEXT:ORDINAL] year as a [CONTEXT:UNIT_NAME].
  
 
|-
 
|-
| {{text anchor|CURSE}}
+
| {{text anchor|curse}}
 
|
 
|
 
| Who dares to enter my house?  I curse you!
 
| Who dares to enter my house?  I curse you!
  
 
|-
 
|-
| {{text anchor|SLAIN_DWARF}}
+
| {{text anchor|dwarf}}
 
| Used when boasting about killing a [[dwarf]]. See also [[Creature token#SPEECH]].
 
| Used when boasting about killing a [[dwarf]]. See also [[Creature token#SPEECH]].
 
| whose hammer shattered on the anvil of my power
 
| whose hammer shattered on the anvil of my power
  
 
|-
 
|-
| {{text anchor|SLAIN_ELF}}
+
| {{text anchor|elf}}
 
| Used when boasting about killing an [[elf]]. See also [[Creature token#SPEECH]].
 
| Used when boasting about killing an [[elf]]. See also [[Creature token#SPEECH]].
 
| whose fragile bones shattered before the power of my contempt
 
| whose fragile bones shattered before the power of my contempt
  
 
|-
 
|-
| {{text anchor|FAMILY_RELATIONSHIP_ADDITIONAL}}
+
| {{text anchor|family_relationship_additional}}
 
|
 
|
 
| [CONTEXT:HIST_FIG:PRO_SUB] is also my [CONTEXT:FAMILY_RELATIONSHIP]
 
| [CONTEXT:HIST_FIG:PRO_SUB] is also my [CONTEXT:FAMILY_RELATIONSHIP]
  
 
|-
 
|-
| {{text anchor|FAMILY_RELATIONSHIP_ADDITIONAL_DEAD}}
+
| {{text anchor|family_relationship_additional_dead}}
 
|
 
|
 
| [CONTEXT:HIST_FIG:PRO_SUB] was also my [CONTEXT:FAMILY_RELATIONSHIP]
 
| [CONTEXT:HIST_FIG:PRO_SUB] was also my [CONTEXT:FAMILY_RELATIONSHIP]
  
 
|-
 
|-
| {{text anchor|FAMILY_RELATIONSHIP_NO_SPEC}}
+
| {{text anchor|family_relationship_no_spec}}
 
|
 
|
 
| I have [CONTEXT:INDEF_FAMILY_RELATIONSHIP] named [CONTEXT:HIST_FIG:TRANS_NAME]
 
| I have [CONTEXT:INDEF_FAMILY_RELATIONSHIP] named [CONTEXT:HIST_FIG:TRANS_NAME]
  
 
|-
 
|-
| {{text anchor|FAMILY_RELATIONSHIP_NO_SPEC_DEAD}}
+
| {{text anchor|family_relationship_no_spec_dead}}
 
|
 
|
 
| I had [CONTEXT:INDEF_FAMILY_RELATIONSHIP] named [CONTEXT:HIST_FIG:TRANS_NAME]
 
| I had [CONTEXT:INDEF_FAMILY_RELATIONSHIP] named [CONTEXT:HIST_FIG:TRANS_NAME]
  
 
|-
 
|-
| {{text anchor|FAMILY_RELATIONSHIP_SPEC}}
+
| {{text anchor|family_relationship_spec}}
 
|
 
|
 
| my [CONTEXT:FAMILY_RELATIONSHIP] is named [CONTEXT:HIST_FIG:TRANS_NAME]
 
| my [CONTEXT:FAMILY_RELATIONSHIP] is named [CONTEXT:HIST_FIG:TRANS_NAME]
  
 
|-
 
|-
| {{text anchor|FAMILY_RELATIONSHIP_SPEC_DEAD}}
+
| {{text anchor|family_relationship_spec_dead}}
 
|
 
|
 
| my [CONTEXT:FAMILY_RELATIONSHIP] was named [CONTEXT:HIST_FIG:TRANS_NAME]
 
| my [CONTEXT:FAMILY_RELATIONSHIP] was named [CONTEXT:HIST_FIG:TRANS_NAME]
  
 
|-
 
|-
| {{text anchor|GENERAL}}
+
| {{text anchor|general}}
 
|
 
|
 
| who lies dead, now only an embarrassing memory
 
| who lies dead, now only an embarrassing memory
  
 
|-
 
|-
| {{text anchor|GOODBYE_WORSHIP_1}}
+
| {{text anchor|goodbye_worship_1}}
 
|
 
|
 
| upon arising in the mornings,
 
| upon arising in the mornings,
  
 
|-
 
|-
| {{text anchor|GOODBYE_WORSHIP_2}}
+
| {{text anchor|goodbye_worship_2}}
 
|
 
|
 
| always remember to
 
| always remember to
  
 
|-
 
|-
| {{text anchor|GOODBYE_WORSHIP_3}}
+
| {{text anchor|goodbye_worship_3}}
 
|
 
|
 
| speak the praises of [SPEAKER:HF_LINK:DEITY:RANDOM_DEF_SPHERE]
 
| speak the praises of [SPEAKER:HF_LINK:DEITY:RANDOM_DEF_SPHERE]
  
 
|-
 
|-
| {{text anchor|GREET}}
+
| {{text anchor|greet}}
 
| Used when greeting another person.
 
| Used when greeting another person.
 
| Greetings. My name is [SPEAKER:TRANS_NAME].
 
| Greetings. My name is [SPEAKER:TRANS_NAME].
  
 
|-
 
|-
| {{text anchor|GREET_BABY}}
+
| {{text anchor|greet_baby}}
 
| Used when greeting a [[baby]].
 
| Used when greeting a [[baby]].
 
| A baby! How adorable!
 
| A baby! How adorable!
  
 
|-
 
|-
| {{text anchor|GREET_REPLY}}
+
| {{text anchor|greet_reply}}
 
| Used when replying to another person's greeting.
 
| Used when replying to another person's greeting.
 
| Ah, hello. I'm [SPEAKER:TRANS_NAME].
 
| Ah, hello. I'm [SPEAKER:TRANS_NAME].
  
 
|-
 
|-
| {{text anchor|GREET_REPLY_AFTER_HERO}}
+
| {{text anchor|greet_reply_after_hero}}
 
| Used by NPCs when replying to the player character's greeting after becoming a [[hero]].
 
| Used by NPCs when replying to the player character's greeting after becoming a [[hero]].
 
| I am [SPEAKER:TRANS_NAME]. How can I be of service?
 
| I am [SPEAKER:TRANS_NAME]. How can I be of service?
  
 
|-
 
|-
| {{text anchor|GREET_REPLY_DIFF_LANGUAGE}}
+
| {{text anchor|greet_reply_diff_language}}
| Used when replying to the greeting of a person who is of another race.
+
| Used when replying to the greeting of a person which is of another [[race]].
 
| Hello, [AUDIENCE:RACE]. I am [SPEAKER:TRANS_NAME].
 
| Hello, [AUDIENCE:RACE]. I am [SPEAKER:TRANS_NAME].
  
 
|-
 
|-
| {{text anchor|GREET_REPLY_UNUSUAL_FIRST}}
+
| {{text anchor|greet_reply_unusual_first}}
 
| Used when replying to the greeting of a person whose first name is unusual.{{verify|June 2015}}
 
| Used when replying to the greeting of a person whose first name is unusual.{{verify|June 2015}}
 
| You know, you don't meet many people with the name [AUDIENCE:FIRST_NAME]
 
| You know, you don't meet many people with the name [AUDIENCE:FIRST_NAME]
  
 
|-
 
|-
| {{text anchor|GREET_WORSHIP}}
+
| {{text anchor|greet_worship}}
 
| Used for greetings by [[priest]]s and faithful people.{{verify|June 2015}}
 
| Used for greetings by [[priest]]s and faithful people.{{verify|June 2015}}
 
| This servant of [SPEAKER:HF_LINK:DEITY:TRANS_NAME] greets you.
 
| This servant of [SPEAKER:HF_LINK:DEITY:TRANS_NAME] greets you.
  
 
|-
 
|-
| {{text anchor|GUARD_PROFESSION}}
+
| {{text anchor|guard_profession}}
| Used by guards when you ask them about their profession. See also [[#soldier_profession|soldier_profession]].
+
| Used by [[guard]]s when you ask them about their profession. See also [[#soldier_profession|soldier_profession]].
 
| I am a guard.
 
| I am a guard.
  
 
|-
 
|-
| {{text anchor|GUARD_WARNING}}
+
| {{text anchor|guard_warning}}
 
|
 
|
 
| Don't start any trouble.
 
| Don't start any trouble.
  
 
|-
 
|-
| {{text anchor|HIST_FIG_SLAYER}}
+
| {{text anchor|hist_fig_slayer}}
 
|
 
|
 
| It is I that felled [CONTEXT:HIST_FIG:TRANS_NAME] the [CONTEXT:HIST_FIG:RACE].
 
| It is I that felled [CONTEXT:HIST_FIG:TRANS_NAME] the [CONTEXT:HIST_FIG:RACE].
  
 
|-
 
|-
| {{text anchor|HUNTING_PROFESSION}}
+
| {{text anchor|hunting_profession}}
 
|
 
|
 
| I hunt great beasts in [CONTEXT:PLACE:TRANS_NAME].
 
| I hunt great beasts in [CONTEXT:PLACE:TRANS_NAME].
  
 
|-
 
|-
| {{text anchor|HUNTING_PROFESSION_YEAR}}
+
| {{text anchor|hunting_profession_year}}
 
|
 
|
 
| I have hunted great beasts in [CONTEXT:PLACE:TRANS_NAME] for [CONTEXT:NUMBER] of my years.
 
| I have hunted great beasts in [CONTEXT:PLACE:TRANS_NAME] for [CONTEXT:NUMBER] of my years.
  
 
|-
 
|-
| {{text anchor|JUSTIFICATION_ANTITHETICAL}}
+
| {{text anchor|justification_antithetical}}
 
|
 
|
 
| can be thought of as the antithesis of
 
| can be thought of as the antithesis of
  
 
|-
 
|-
| {{text anchor|JUSTIFICATION_EXPERIENCE}}
+
| {{text anchor|justification_experience}}
 
|
 
|
 
| can allow one to experience
 
| can allow one to experience
  
 
|-
 
|-
| {{text anchor|JUSTIFICATION_PROXIMITY}}
+
| {{text anchor|justification_proximity}}
 
|
 
|
 
| can bring one near to
 
| can bring one near to
  
 
|-
 
|-
| {{text anchor|JUSTIFICATION_REMINDER}}
+
| {{text anchor|justification_reminder}}
 
|
 
|
 
| can remind one of
 
| can remind one of
  
 
|-
 
|-
| {{text anchor|JUSTIFICATION_REPRESENTATION}}
+
| {{text anchor|justification_representation}}
 
|
 
|
 
| can be thought of as a representation of
 
| can be thought of as a representation of
  
 
|-
 
|-
| {{text anchor|LAIR_HUNTER_MINOTAUR}}
+
| {{text anchor|lair_hunter_minotaur}}
 
| Used by [[minotaur]]s while hunting adventures in their lairs. See also [[Creature token#LAIR_HUNTER_SPEECH]].
 
| Used by [[minotaur]]s while hunting adventures in their lairs. See also [[Creature token#LAIR_HUNTER_SPEECH]].
 
| I'll eat you whole!
 
| I'll eat you whole!
  
 
|-
 
|-
| {{text anchor|MERCENARY_PROFESSION}}
+
| {{text anchor|mercenary_profession}}
 
|
 
|
 
| I seek fortune and glory by offering my skill at arms in [CONTEXT:PLACE:TRANS_NAME].
 
| I seek fortune and glory by offering my skill at arms in [CONTEXT:PLACE:TRANS_NAME].
  
 
|-
 
|-
| {{text anchor|MERCENARY_PROFESSION_YEAR}}
+
| {{text anchor|mercenary_profession_year}}
 
|
 
|
 
| I have sought fortune and glory by offering my skill at arms in [CONTEXT:PLACE:TRANS_NAME] for [CONTEXT:NUMBER] of my years.
 
| I have sought fortune and glory by offering my skill at arms in [CONTEXT:PLACE:TRANS_NAME] for [CONTEXT:NUMBER] of my years.
  
 
|-
 
|-
| {{text anchor|NO_FAMILY}}
+
| {{text anchor|no_family}}
 
| Used by NPCs when you ask them about their [[family]], but they don't have any.
 
| Used by NPCs when you ask them about their [[family]], but they don't have any.
 
| I have no family to speak of.
 
| I have no family to speak of.
  
 
|-
 
|-
| {{text anchor|PAST_HUNTING_PROFESSION}}
+
| {{text anchor|past_hunting_profession}}
 
|
 
|
 
| In the past, I hunted great beasts.
 
| In the past, I hunted great beasts.
  
 
|-
 
|-
| {{text anchor|PAST_MERCENARY_PROFESSION}}
+
| {{text anchor|past_mercenary_profession}}
 
|
 
|
 
| In the past, I sought fortune and glory by offering my skill at arms.
 
| In the past, I sought fortune and glory by offering my skill at arms.
  
 
|-
 
|-
| {{text anchor|PAST_PROFESSION_NO_YEAR}}
+
| {{text anchor|past_profession_no_year}}
 
|
 
|
 
| I was once a [CONTEXT:UNIT_NAME].
 
| I was once a [CONTEXT:UNIT_NAME].
  
 
|-
 
|-
| {{text anchor|PAST_PROFESSION_YEAR}}
+
| {{text anchor|past_profession_year}}
 
|
 
|
 
| I was a [CONTEXT:UNIT_NAME] for [CONTEXT:NUMBER] of the years of my life.
 
| I was a [CONTEXT:UNIT_NAME] for [CONTEXT:NUMBER] of the years of my life.
  
 
|-
 
|-
| {{text anchor|PAST_SNATCHER_PROFESSION}}
+
| {{text anchor|past_scouting_profession}}
 +
|
 +
| At one time, I was a scout.
 +
 
 +
|-
 +
| {{text anchor|past_snatcher_profession}}
 
|
 
|
 
| Once it was my calling to rescue lost children.
 
| Once it was my calling to rescue lost children.
  
 
|-
 
|-
| {{text anchor|PAST_THIEF_PROFESSION}}
+
| {{text anchor|past_thief_profession}}
 
|
 
|
 
| I once sought great treasures.
 
| I once sought great treasures.
  
 
|-
 
|-
| {{text anchor|PAST_WANDERING_PROFESSION}}
+
| {{text anchor|past_wandering_profession}}
 
|
 
|
 
| I once wandered the wilds.
 
| I once wandered the wilds.
  
 
|-
 
|-
| {{text anchor|POSITIVE}}
+
| {{text anchor|positive}}
 
| Used to express positive [[feeling]]s.
 
| Used to express positive [[feeling]]s.
 
| wonderful!<br/>fantastic!<br/>very good
 
| wonderful!<br/>fantastic!<br/>very good
  
 
|-
 
|-
| {{text anchor|SAME_SITE_AB_SPECIFIC_HF_SEEKER}}
+
| {{text anchor|same_site_ab_specific_hf_seeker}}
 
|
 
|
 
| seek out [CONTEXT:HIST_FIG:TRANS_NAME] here in [CONTEXT:SITE:TRANS_NAME] at [CONTEXT:ABSTRACT_BUILDING:TRANS_NAME]
 
| seek out [CONTEXT:HIST_FIG:TRANS_NAME] here in [CONTEXT:SITE:TRANS_NAME] at [CONTEXT:ABSTRACT_BUILDING:TRANS_NAME]
  
 
|-
 
|-
| {{text anchor|SAME_SITE_SPECIFIC_HF_SEEKER}}
+
| {{text anchor|same_site_specific_hf_seeker}}
 
|
 
|
 
| seek out [CONTEXT:HIST_FIG:TRANS_NAME] here in [CONTEXT:SITE:TRANS_NAME]
 
| seek out [CONTEXT:HIST_FIG:TRANS_NAME] here in [CONTEXT:SITE:TRANS_NAME]
  
 
|-
 
|-
| {{text anchor|SITE_SPECIFIC_HF_SEEKER}}
+
| {{text anchor|scouting_profession}} (removed in 0.44.01)
 +
|
 +
| It is my duty to scout the area around [CONTEXT:PLACE:TRANS_NAME].
 +
 
 +
|-
 +
| {{text anchor|scouting_profession_year}} (removed in 0.44.01)
 +
|
 +
| I have been scouting the area around [CONTEXT:PLACE:TRANS_NAME] for [CONTEXT:NUMBER] of my years.
 +
 
 +
|-
 +
| {{text anchor|site_specific_hf_seeker}}
 
|
 
|
 
| seek out [CONTEXT:HIST_FIG:TRANS_NAME] over in [CONTEXT:SITE:TRANS_NAME]
 
| seek out [CONTEXT:HIST_FIG:TRANS_NAME] over in [CONTEXT:SITE:TRANS_NAME]
  
 
|-
 
|-
| {{text anchor|SLAYER}}
+
| {{text anchor|slayer}}
 
|
 
|
 
| bane<br/>death<br/>nemesis<br/>vanquisher
 
| bane<br/>death<br/>nemesis<br/>vanquisher
  
 
|-
 
|-
| {{text anchor|SNATCHER_PROFESSION}}
+
| {{text anchor|snatcher_profession}}
 
|
 
|
 
| I rescue lost children and bring them back to [CONTEXT:PLACE:TRANS_NAME].
 
| I rescue lost children and bring them back to [CONTEXT:PLACE:TRANS_NAME].
  
 
|-
 
|-
| {{text anchor|SNATCHER_PROFESSION_YEAR}}
+
| {{text anchor|snatcher_profession_year}}
 
|
 
|
 
| For [CONTEXT:NUMBER] of my years, I have been rescuing lost children and bringing them back to [CONTEXT:PLACE:TRANS_NAME].
 
| For [CONTEXT:NUMBER] of my years, I have been rescuing lost children and bringing them back to [CONTEXT:PLACE:TRANS_NAME].
  
 
|-
 
|-
| {{text anchor|SOLDIER_PROFESSION}}
+
| {{text anchor|soldier_profession}}
 
| Used by [[soldier]]s when you ask them about their profession. See also [[#guard_profession|guard_profession]].
 
| Used by [[soldier]]s when you ask them about their profession. See also [[#guard_profession|guard_profession]].
 
| I am a soldier.
 
| I am a soldier.
  
 
|-
 
|-
| {{text anchor|TASK_RECOMMENDATION}}
+
| {{text anchor|task_recommendation}}
 
|
 
|
 
| [CONTEXT:ANY:TRANS_NAME] might have a task for you
 
| [CONTEXT:ANY:TRANS_NAME] might have a task for you
  
 
|-
 
|-
| {{text anchor|TEMPLE_ALREADY_MEMBER}}
+
| {{text anchor|temple_already_member}}
 
|
 
|
 
| your task is simple;<br/>all you need is to
 
| your task is simple;<br/>all you need is to
  
 
|-
 
|-
| {{text anchor|TEMPLE_BECOME_MEMBER}}
+
| {{text anchor|temple_become_member}}
 
|
 
|
 
| Welcome to [CONTEXT:ENTITY:TRANS_NAME].  Praise be to [CONTEXT:ENTITY:WORSHIP_HF:TRANS_NAME]!<br/>As a member of [CONTEXT:ENTITY:TRANS_NAME], you can now seek the higher mysteries of [CONTEXT:ENTITY:WORSHIP_HF:TRANS_NAME].
 
| Welcome to [CONTEXT:ENTITY:TRANS_NAME].  Praise be to [CONTEXT:ENTITY:WORSHIP_HF:TRANS_NAME]!<br/>As a member of [CONTEXT:ENTITY:TRANS_NAME], you can now seek the higher mysteries of [CONTEXT:ENTITY:WORSHIP_HF:TRANS_NAME].
  
 
|-
 
|-
| {{text anchor|THIEF_PROFESSION}}
+
| {{text anchor|thief_profession}}
 
|
 
|
 
| I seek treasures and bring them back to [CONTEXT:PLACE:TRANS_NAME].
 
| I seek treasures and bring them back to [CONTEXT:PLACE:TRANS_NAME].
  
 
|-
 
|-
| {{text anchor|THIEF_PROFESSION_YEAR}}
+
| {{text anchor|thief_profession_year}}
 
|
 
|
 
| I seek treasures and bring them back to [CONTEXT:PLACE:TRANS_NAME] and have done so for [CONTEXT:NUMBER] of the years of my life.
 
| I seek treasures and bring them back to [CONTEXT:PLACE:TRANS_NAME] and have done so for [CONTEXT:NUMBER] of the years of my life.
  
 
|-
 
|-
| {{text anchor|THREAT}}
+
| {{text anchor|threat}}
 
| Used by NPC [[bandit]]s{{verify|June 2015}} before attacking you.
 
| Used by NPC [[bandit]]s{{verify|June 2015}} before attacking you.
 
| Prepare to die!
 
| Prepare to die!
  
 
|-
 
|-
| {{text anchor|UNKNOWN_HF_SEEKER}}
+
| {{text anchor|unknown_hf_seeker}}
 
|
 
|
 
| seek out [CONTEXT:HIST_FIG:TRANS_NAME], wherever [CONTEXT:HIST_FIG:PRO_SUB] might be
 
| seek out [CONTEXT:HIST_FIG:TRANS_NAME], wherever [CONTEXT:HIST_FIG:PRO_SUB] might be
  
 
|-
 
|-
| {{text anchor|WANDERING_PROFESSION}}
+
| {{text anchor|wandering_profession}}
 
|
 
|
 
| I wander [CONTEXT:PLACE:TRANS_NAME].
 
| I wander [CONTEXT:PLACE:TRANS_NAME].
  
 
|-
 
|-
| {{text anchor|WANDERING_PROFESSION_YEAR}}
+
| {{text anchor|wandering_profession_year}}
 
|
 
|
 
| I have wandered [CONTEXT:PLACE:TRANS_NAME] for [CONTEXT:NUMBER] of my years.
 
| I have wandered [CONTEXT:PLACE:TRANS_NAME] for [CONTEXT:NUMBER] of my years.
Line 340: Line 343:
 
== Adding custom files ==
 
== Adding custom files ==
  
New speech tokens can be added with mods. It is also possible to add new files and associate them with custom creatures.
+
While any of the hardcoded speech files can be edited to customize the used phrases, it is also possible to add new files and associate them with custom creatures.
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 347: Line 350:
  
 
|-
 
|-
| [[Creature token#SLAIN_CASTE_SPEECH|SLAIN_CASTE_SPEECH]]
+
| [[Creature token#CASTE_SPEECH|CASTE_SPEECH]]
| Replaces [[DF2014:Creature token#CASTE_SPEECH|CASTE_SPEECH]], [[DF2014:Creature token#SPEECH_FEMALE|SPEECH_FEMALE]], and [[DF2014:Creature token#SPEECH_MALE|SPEECH_MALE]] from older versions.
+
|
  
 
|-
 
|-
 
| [[Creature token#LAIR_HUNTER_SPEECH|LAIR_HUNTER_SPEECH]]
 
| [[Creature token#LAIR_HUNTER_SPEECH|LAIR_HUNTER_SPEECH]]
| [[Minotaur]] ([[#lair_hunter_minotaur|lair_hunter_minotaur.txt]])
+
| [[minotaur]] ([[#lair_hunter_minotaur|lair_hunter_minotaur.txt]])
  
 
|-
 
|-
 
| [[Creature token#SPEECH|SPEECH]]
 
| [[Creature token#SPEECH|SPEECH]]
| [[Dwarf]] ([[text_dwarf.txt]]), [[Elf]] (text_elf.txt)
+
| [[dwarf]] ([[#dwarf|dwarf.txt]]), [[elf]] ([[#elf|elf.txt]])
|}
 
  
== List of Tokens ==
+
|-
 
+
| [[Creature token#SPEECH_FEMALE|SPEECH_FEMALE]]
Speech files can contain tokens in square brackets (<code>[]</code>), which are replaced with context-specific strings before the speech is displayed.
+
|
 
 
=== Book title tokens ===
 
 
 
These tokens are used for [[Book#Titles|book titles]] and specific examples of [[Performer|performances]] such as songs, poems, or dances. It is unknown if the generating tokens can be used in other text sets to generate random words.
 
 
 
{| class="wikitable"
 
! Token !! Meaning !! Example
 
  
 
|-
 
|-
| {{text anchor|NAME}}
+
| [[Creature token#SPEECH_MALE|SPEECH_MALE]]
| Inserts a name relevant to the book's [[topic]], or a random noun for art and star charts. Notably, these may or may not be plural and/or have an article.
+
|
| The [[Tower_(necromancy)|Tower]], The [[Forest retreat|Tree]], [[v0.31:Stories/Bronzemurder|Bronzemurder]], [[Book#History|Likot Ubendeb]], [[Book#Nature|Animal Behaviours]]
 
|-
 
| {{text anchor|NO_ART_NAME}}
 
| "No article name." As [[Speech_file#NAME|NAME]], but never has an article.
 
| Tower, Tree, Bronzemurder, Likot Ubendeb, Animal Behaviours
 
|-
 
| {{text anchor|NOUN}}
 
| A random noun pulled from [[language_words.txt]] or a hardcoded list. May or may not be plural.
 
| Despair, Roots, Scrolls, Wheel-and-axles
 
|-
 
| {{text anchor|ADJ}}
 
| A random adjective from [[language_words.txt]].
 
| Boyish, Inky, Angry, Bronzed
 
|-
 
| {{text anchor|ANY_AGE}}
 
| References an [[Calendar#Ages|age]] that has occurred in the world's [[Legends|history]].
 
| The Age Of Legends, The Age Of Hill Titan and Dragon
 
|-
 
| {{text anchor|ANY_PRONOUN}}
 
| Chosen from among singular and plural subject pronouns (not "Us" or "Them").
 
| He, She, We, They
 
|-
 
| {{text anchor|PHRASE}}
 
| A random phrase of a noun/pronoun, a verb, and some other words.
 
| The Fool Laughs, The Day Can Say It In The End, It Foretells Afterwards, The Day Mourns
 
 
|}
 
|}
  
=== Dialogue tokens ===
+
== Special tokens ==
  
Character dialogue uses its own set of tokens to reference data.
+
Speech files can contain tokens in square brackets (<code>[]</code>), which are replaced with context-specific strings before the speech is displayed.
Scopes identify participants in a conversation and various forms of background information. They can be nested within each other in various cases. If the scopes refer to a historical object, it is expected [verify] that not using the TRANS_NAME argument will display the untranslated name.
 
Strings are the arguments for scopes, outputting a specific word based on the conversation data. In certain files, they are used by themselves with an implied scope.
 
 
 
{| class="wikitable"
 
! Token !! Type !! Meaning
 
 
 
|-
 
| {{text anchor|SPEAKER}}
 
| base scope
 
| The person speaking the dialogue.
 
|-
 
| {{text anchor|AUDIENCE}}
 
| base scope
 
| The person receiving the dialogue. Has buggy behavior without a defined audience, such as when shouting out to everyone.
 
|-
 
| {{text anchor|CONTEXT}}
 
| base scope
 
| Holds additional information depending on the subject of conversation. Must use HIST_FIG as its argument to retrieve personal info from a creature that isn't present.
 
|-
 
| {{text anchor|HIST_FIG}}
 
| scope
 
| Usually written as [CONTEXT:HIST_FIG], this refers to a historical figure referenced by the speaker.
 
|-
 
| {{text anchor|PLACE}}
 
| scope
 
| A location, such as a biome.
 
|-
 
| {{text anchor|SITE}}
 
| scope
 
| A site given by the context.
 
|-
 
| {{text anchor|HF_LINK}}
 
| scope
 
| Looks for historical figures [[Relationship|associated]] with the scope.
 
|-
 
| {{text anchor|DEITY}}
 
| scope
 
| An argument for [HF_LINK], in this case referring to a (presumably, devoutly worshipped) [[deity]].
 
|-
 
| {{text anchor|TRANS_NAME}}
 
| string
 
| The full translated name of the referenced object.
 
|-
 
| {{text anchor|FIRST_NAME}}
 
| string
 
| The first name of the referenced creature.
 
|-
 
| {{text anchor|PRO_SUB}}
 
| string
 
| The referenced creature's subject pronoun (she, he, it).
 
|-
 
| {{text anchor|PRO_OBJ}}
 
| string
 
| The referenced creature's object pronoun (her, him, it).
 
|-
 
| {{text anchor|PRO_POS}}
 
| string
 
| The referenced creature's possessive pronoun (her, his, its).
 
|-
 
| {{text anchor|ABSTRACT_BUILDING}}
 
| string
 
| The first name of the referenced creature.
 
|-
 
| {{text anchor|RACE}}
 
| string
 
| The [[Creature token#NAME|name]] of the context's species.
 
|-
 
| {{text anchor|NUMBER}}
 
| string
 
| A number (expressed as plain text rather than numerals?).
 
|-
 
| {{text anchor|ORDINAL}}
 
| string
 
| An ordinal number, such as first or second.
 
|-
 
| {{text anchor|UNIT_NAME}}
 
| string
 
| The [[Unit type token|unit type]] of the referenced creature.
 
|-
 
| {{text anchor|ARCH_ELEMENT}}
 
| string
 
| An architectural element given by the context.
 
|-
 
| {{text anchor|ABSTRACT_BUILDING}}
 
| string
 
| A named building given by the context.
 
|-
 
| {{text anchor|JUSTIFICATION}}
 
| string
 
| A [[Speech file#JUSTIFICATION_ANTITHETICAL|justification]] chosen by the context.
 
|-
 
| {{text anchor|DEF_SPHERE}}
 
| string
 
| A divine [[sphere]] chosen by the context.
 
|-
 
| {{text anchor|RANDOM_DEF_SPHERE}}
 
| string
 
| A random [[sphere]] associated with the scope.
 
|-
 
| {{text anchor|FAMILY_RELATIONSHIP}}
 
| string
 
| The [[relationship]] given by the context.
 
|}
 
  
 
=== Context tokens ===
 
=== Context tokens ===
Line 512: Line 379:
  
 
{| class="wikitable"
 
{| class="wikitable"
! Token !! Meaning !! Example
+
! Token !! Type !! Meaning
  
 
|-
 
|-
Line 518: Line 385:
 
| building
 
| building
 
|
 
|
* [[#ab_specific_hf_seeker|ab_specific_hf_seeker]]: the building in which the historical figure that the speaker wants you to seek is
+
* [[#ab_specific_hf_seeker|ab_specific_hf_seeker]]: the building in which the historical figure the speaker wants you to seek is
  
 
|-
 
|-
Line 543: Line 410:
 
| site
 
| site
 
|
 
|
* [[#animal_slayer|animal_slayer]]: the place where the speaker slew the animals
+
* [[#animal_slayer|animal_slayer]]: the place where the speaker slayed the animals
  
 
|-
 
|-
Line 564: Line 431:
 
|}
 
|}
  
== See also ==
 
* [[Speech mods]]
 
  
[[Category:Files]]
+
[[Category:DF2014:Files]]
[[Category:Modding]]
+
[[Category:DF2014:Modding]]

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)

This page is a member of 2 hidden categories: