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.

Speech file

From Dwarf Fortress Wiki
Jump to navigation Jump to search

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

File Uses Example Tokens known to work
ab_specific_hf_seeker
animal_slayer
arch_info_justification
child_age_proclamation
current_profession_no_year
current_profession_year
curse
dwarf
elf
family_relationship_additional
family_relationship_additional_dead
family_relationship_no_spec
family_relationship_no_spec_dead
family_relationship_spec
family_relationship_spec_dead
general
goodbye_worship_1
goodbye_worship_2
goodbye_worship_3
greet Used when greeting another person. Greetings. My name is [SPEAKER:TRANS_NAME]. [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]. [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? [SPEAKER:TRANS_NAME]
greet_reply_diff_language Used when replying to the greeting of a person which is of another race. Hello, [AUDIENCE:RACE]. I am [SPEAKER:TRANS_NAME]. [SPEAKER:TRANS_NAME], [AUDIENCE:RACE]
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] [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. [SPEAKER:HF_LINK:DEITY:TRANS_NAME], [SPEAKER:HF_LINK:DEITY:RANDOM_DEF_SPHERE]
guard_profession Used by guards when you ask them about their profession. See also soldier_profession. I am a guard.
guard_warning
hist_fig_slayer
hunting_profession
hunting_profession_year
justification_antithetical
justification_experience
justification_proximity
justification_reminder
justification_representation
lair_hunter_minotaur
mercenary_profession
mercenary_profession_year
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
past_mercenary_profession
past_profession_no_year
past_profession_year
past_scouting_profession
past_snatcher_profession
past_thief_profession
past_wandering_profession
positive Used to express positive feelings. wonderful!, fantastic!, very good
same_site_ab_specific_hf_seeker
same_site_specific_hf_seeker
scouting_profession
scouting_profession_year
site_specific_hf_seeker
slayer
snatcher_profession
snatcher_profession_year
soldier_profession Used by soldiers when you ask them about their profession. See also guard_profession. I am a soldier.
task_recommendation
temple_already_member
temple_become_member
thief_profession
thief_profession_year
threat Used by NPC bandits[Verify] before attacking you. Prepare to die!
unknown_hf_seeker
wandering_profession
wandering_profession_year

Special tokens

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

Token Meaning