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.

DF2014:Speech file

From Dwarf Fortress Wiki
(Redirected from DF2014:Speech)
Jump to navigation Jump to search
This article is about an older version of DF.

Speech files are text files that define sentences which can be spoken by people in adventure mode. They are found in the data/speech folder.

List of files[edit]

File Uses Example
ab_specific_hf_seeker seek out [CONTEXT:HIST_FIG:TRANS_NAME] at [CONTEXT:ABSTRACT_BUILDING:TRANS_NAME] over in [CONTEXT:SITE:TRANS_NAME]
animal_slayer I have taken down [CONTEXT:NUMBER] [CONTEXT:RACE:NUMBERED_NAME] while stalking [CONTEXT:PLACE:TRANS_NAME].
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].
child_age_proclamation I'm [CONTEXT:NUMBER]!
current_profession_no_year I am a [CONTEXT:UNIT_NAME].
current_profession_year This is my [CONTEXT:ORDINAL] year as a [CONTEXT:UNIT_NAME].
curse Who dares to enter my house? I curse you!
dwarf Used when boasting about killing a dwarf. See also Creature token#SPEECH. whose hammer shattered on the anvil of my power
elf Used when boasting about killing an elf. See also Creature token#SPEECH. whose fragile bones shattered before the power of my contempt
family_relationship_additional [CONTEXT:HIST_FIG:PRO_SUB] is also my [CONTEXT:FAMILY_RELATIONSHIP]
family_relationship_additional_dead [CONTEXT:HIST_FIG:PRO_SUB] was also my [CONTEXT:FAMILY_RELATIONSHIP]
family_relationship_no_spec I have [CONTEXT:INDEF_FAMILY_RELATIONSHIP] named [CONTEXT:HIST_FIG:TRANS_NAME]
family_relationship_no_spec_dead I had [CONTEXT:INDEF_FAMILY_RELATIONSHIP] named [CONTEXT:HIST_FIG:TRANS_NAME]
family_relationship_spec my [CONTEXT:FAMILY_RELATIONSHIP] is named [CONTEXT:HIST_FIG:TRANS_NAME]
family_relationship_spec_dead my [CONTEXT:FAMILY_RELATIONSHIP] was named [CONTEXT:HIST_FIG:TRANS_NAME]
general who lies dead, now only an embarrassing memory
goodbye_worship_1 upon arising in the mornings,
goodbye_worship_2 always remember to
goodbye_worship_3 speak the praises of [SPEAKER:HF_LINK:DEITY:RANDOM_DEF_SPHERE]
greet Used when greeting another person. Greetings. My name is [SPEAKER:TRANS_NAME].
greet_baby Used when greeting a baby. A baby! How adorable!
greet_reply Used when replying to another person's greeting. Ah, hello. I'm [SPEAKER:TRANS_NAME].
greet_reply_after_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?
greet_reply_diff_language Used when replying to the greeting of a person who is of another race. Hello, [AUDIENCE:RACE]. I am [SPEAKER:TRANS_NAME].
greet_reply_unusual_first Used when replying to the greeting of a person whose first name is unusual.[Verify] You know, you don't meet many people with the name [AUDIENCE:FIRST_NAME]
greet_worship Used for greetings by priests and faithful people.[Verify] This servant of [SPEAKER:HF_LINK:DEITY:TRANS_NAME] greets you.
guard_profession Used by guards when you ask them about their profession. See also soldier_profession. I am a guard.
guard_warning Don't start any trouble.
hist_fig_slayer It is I that felled [CONTEXT:HIST_FIG:TRANS_NAME] the [CONTEXT:HIST_FIG:RACE].
hunting_profession I hunt great beasts in [CONTEXT:PLACE:TRANS_NAME].
hunting_profession_year I have hunted great beasts in [CONTEXT:PLACE:TRANS_NAME] for [CONTEXT:NUMBER] of my years.
justification_antithetical can be thought of as the antithesis of
justification_experience can allow one to experience
justification_proximity can bring one near to
justification_reminder can remind one of
justification_representation can be thought of as a representation of
lair_hunter_minotaur Used by minotaurs while hunting adventures in their lairs. See also Creature token#LAIR_HUNTER_SPEECH. I'll eat you whole!
mercenary_profession I seek fortune and glory by offering my skill at arms in [CONTEXT:PLACE:TRANS_NAME].
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.
no_family Used by NPCs when you ask them about their family, but they don't have any. I have no family to speak of.
past_hunting_profession In the past, I hunted great beasts.
past_mercenary_profession In the past, I sought fortune and glory by offering my skill at arms.
past_profession_no_year I was once a [CONTEXT:UNIT_NAME].
past_profession_year I was a [CONTEXT:UNIT_NAME] for [CONTEXT:NUMBER] of the years of my life.
past_scouting_profession At one time, I was a scout.
past_snatcher_profession Once it was my calling to rescue lost children.
past_thief_profession I once sought great treasures.
past_wandering_profession I once wandered the wilds.
positive Used to express positive feelings. wonderful!
fantastic!
very good
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]
same_site_specific_hf_seeker seek out [CONTEXT:HIST_FIG:TRANS_NAME] here in [CONTEXT:SITE:TRANS_NAME]
scouting_profession (removed in 0.44.01) It is my duty to scout the area around [CONTEXT:PLACE:TRANS_NAME].
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.
site_specific_hf_seeker seek out [CONTEXT:HIST_FIG:TRANS_NAME] over in [CONTEXT:SITE:TRANS_NAME]
slayer bane
death
nemesis
vanquisher
snatcher_profession I rescue lost children and bring them back to [CONTEXT:PLACE:TRANS_NAME].
snatcher_profession_year For [CONTEXT:NUMBER] of my years, I have been rescuing lost children and bringing them back to [CONTEXT:PLACE:TRANS_NAME].
soldier_profession Used by soldiers when you ask them about their profession. See also guard_profession. I am a soldier.
task_recommendation [CONTEXT:ANY:TRANS_NAME] might have a task for you
temple_already_member your task is simple;
all you need is to
temple_become_member Welcome to [CONTEXT:ENTITY:TRANS_NAME]. Praise be to [CONTEXT:ENTITY:WORSHIP_HF:TRANS_NAME]!
As a member of [CONTEXT:ENTITY:TRANS_NAME], you can now seek the higher mysteries of [CONTEXT:ENTITY:WORSHIP_HF:TRANS_NAME].
thief_profession I seek treasures and bring them back to [CONTEXT:PLACE:TRANS_NAME].
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.
threat Used by NPC bandits[Verify] before attacking you. Prepare to die!
unknown_hf_seeker seek out [CONTEXT:HIST_FIG:TRANS_NAME], wherever [CONTEXT:HIST_FIG:PRO_SUB] might be
wandering_profession I wander [CONTEXT:PLACE:TRANS_NAME].
wandering_profession_year I have wandered [CONTEXT:PLACE:TRANS_NAME] for [CONTEXT:NUMBER] of my years.

Adding custom files[edit]

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.

Creature tokens
Token Example uses
CASTE_SPEECH
LAIR_HUNTER_SPEECH minotaur (lair_hunter_minotaur.txt)
SPEECH dwarf (dwarf.txt), elf (elf.txt)
SPEECH_FEMALE
SPEECH_MALE

Special tokens[edit]

Speech files can contain tokens in square brackets ([]), which are replaced with context-specific strings before the speech is displayed.

Context tokens[edit]

These give special information about the background of the conversation.

Token Type Meaning
[CONTEXT:ABSTRACT_BUILDING] building
[CONTEXT:HIST_FIG] creature
[CONTEXT:NUMBER] number
[CONTEXT:ORDINAL] number
[CONTEXT:PLACE] site
[CONTEXT:RACE] race
[CONTEXT:SITE] site
[CONTEXT:UNIT_NAME] text