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.

Difference between revisions of "Speech file"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(Define greetings)
(More definitions)
Line 4: Line 4:
  
 
{| class="wikitable"
 
{| class="wikitable"
! File !! Uses !! [[#Special tokens|Tokens]] known to work
+
! File !! Uses !! Example sentence !! [[#Special tokens|Tokens]] known to work
 
|-
 
|-
| ab_specific_hf_seeker
+
| {{text anchor|ab_specific_hf_seeker}}
 
|-
 
|-
| animal_slayer
+
| {{text anchor|animal_slayer}}
 
|-
 
|-
| arch_info_justification
+
| {{text anchor|arch_info_justification}}
 
|-
 
|-
| child_age_proclamation
+
| {{text anchor|child_age_proclamation}}
 
|-
 
|-
| current_profession_no_year
+
| {{text anchor|current_profession_no_year}}
 
|-
 
|-
| current_profession_year
+
| {{text anchor|current_profession_year}}
 
|-
 
|-
| curse
+
| {{text anchor|curse}}
 
|-
 
|-
| dwarf
+
| {{text anchor|dwarf}}
 
|-
 
|-
| elf
+
| {{text anchor|elf}}
 
|-
 
|-
| family_relationship_additional
+
| {{text anchor|family_relationship_additional}}
 
|-
 
|-
| family_relationship_additional_dead
+
| {{text anchor|family_relationship_additional_dead}}
 
|-
 
|-
| family_relationship_no_spec
+
| {{text anchor|family_relationship_no_spec}}
 
|-
 
|-
| family_relationship_no_spec_dead
+
| {{text anchor|family_relationship_no_spec_dead}}
 
|-
 
|-
| family_relationship_spec
+
| {{text anchor|family_relationship_spec}}
 
|-
 
|-
| family_relationship_spec_dead
+
| {{text anchor|family_relationship_spec_dead}}
 
|-
 
|-
| general
+
| {{text anchor|general}}
 
|-
 
|-
| goodbye_worship_1
+
| {{text anchor|goodbye_worship_1}}
 
|-
 
|-
| goodbye_worship_2
+
| {{text anchor|goodbye_worship_2}}
 
|-
 
|-
| goodbye_worship_3
+
| {{text anchor|goodbye_worship_3}}
 
|-
 
|-
| greet
+
| {{text anchor|greet}}
 
| Used when greeting another person.
 
| Used when greeting another person.
 +
| Greetings. My name is [SPEAKER:TRANS_NAME].
 
| <nowiki>[SPEAKER:TRANS_NAME]</nowiki>
 
| <nowiki>[SPEAKER:TRANS_NAME]</nowiki>
 
|-
 
|-
| greet_baby
+
| {{text anchor|greet_baby}}
| Used when greeting a baby.
+
| Used when greeting a [[baby]].
 +
| A baby! How adorable!
 
|  
 
|  
 
|-
 
|-
| 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].
 
| <nowiki>[SPEAKER:TRANS_NAME]</nowiki>
 
| <nowiki>[SPEAKER:TRANS_NAME]</nowiki>
 
|-
 
|-
| 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?
 
| <nowiki>[SPEAKER:TRANS_NAME]</nowiki>
 
| <nowiki>[SPEAKER:TRANS_NAME]</nowiki>
 
|-
 
|-
| greet_reply_diff_language
+
| {{text anchor|greet_reply_diff_language}}
 
| Used when replying to the greeting of a person which 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].
 
| <nowiki>[SPEAKER:TRANS_NAME], [AUDIENCE:RACE]</nowiki>
 
| <nowiki>[SPEAKER:TRANS_NAME], [AUDIENCE:RACE]</nowiki>
 
|-
 
|-
| 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]
 
| <nowiki>[AUDIENCE:FIRST_NAME]</nowiki>
 
| <nowiki>[AUDIENCE:FIRST_NAME]</nowiki>
 
|-
 
|-
| greet_worship
+
| {{text anchor|greet_worship}}
| Used for greetings by priests 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.
 
| <nowiki>[SPEAKER:HF_LINK:DEITY:TRANS_NAME], [SPEAKER:HF_LINK:DEITY:RANDOM_DEF_SPHERE]</nowiki>
 
| <nowiki>[SPEAKER:HF_LINK:DEITY:TRANS_NAME], [SPEAKER:HF_LINK:DEITY:RANDOM_DEF_SPHERE]</nowiki>
 
|-
 
|-
| guard_profession
+
| {{text anchor|guard_profession}}
 +
| Used by [[guard]]s when you ask them about their profession. See also [[#soldier_profession|soldier_profession]].
 +
| I am a guard.
 +
|
 
|-
 
|-
| guard_warning
+
| {{text anchor|guard_warning}}
 
|-
 
|-
| hist_fig_slayer
+
| {{text anchor|hist_fig_slayer}}
 
|-
 
|-
| hunting_profession
+
| {{text anchor|hunting_profession}}
 
|-
 
|-
| hunting_profession_year
+
| {{text anchor|hunting_profession_year}}
 
|-
 
|-
| justification_antithetical
+
| {{text anchor|justification_antithetical}}
 
|-
 
|-
| justification_experience
+
| {{text anchor|justification_experience}}
 
|-
 
|-
| justification_proximity
+
| {{text anchor|justification_proximity}}
 
|-
 
|-
| justification_reminder
+
| {{text anchor|justification_reminder}}
 
|-
 
|-
| justification_representation
+
| {{text anchor|justification_representation}}
 
|-
 
|-
| lair_hunter_minotaur
+
| {{text anchor|lair_hunter_minotaur}}
 
|-
 
|-
| mercenary_profession
+
| {{text anchor|mercenary_profession}}
 
|-
 
|-
| mercenary_profession_year
+
| {{text anchor|mercenary_profession_year}}
 
|-
 
|-
| no_family
+
| {{text anchor|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
+
| {{text anchor|past_hunting_profession}}
 
|-
 
|-
| past_mercenary_profession
+
| {{text anchor|past_mercenary_profession}}
 
|-
 
|-
| past_profession_no_year
+
| {{text anchor|past_profession_no_year}}
 
|-
 
|-
| past_profession_year
+
| {{text anchor|past_profession_year}}
 
|-
 
|-
| past_scouting_profession
+
| {{text anchor|past_scouting_profession}}
 
|-
 
|-
| past_snatcher_profession
+
| {{text anchor|past_snatcher_profession}}
 
|-
 
|-
| past_thief_profession
+
| {{text anchor|past_thief_profession}}
 
|-
 
|-
| past_wandering_profession
+
| {{text anchor|past_wandering_profession}}
 
|-
 
|-
| positive
+
| {{text anchor|positive}}
 +
| Used to express positive [[feeling]]s.
 +
| wonderful!, fantastic!, very good
 +
|
 
|-
 
|-
| same_site_ab_specific_hf_seeker
+
| {{text anchor|same_site_ab_specific_hf_seeker}}
 
|-
 
|-
| same_site_specific_hf_seeker
+
| {{text anchor|same_site_specific_hf_seeker}}
 
|-
 
|-
| scouting_profession
+
| {{text anchor|scouting_profession}}
 
|-
 
|-
| scouting_profession_year
+
| {{text anchor|scouting_profession_year}}
 
|-
 
|-
| site_specific_hf_seeker
+
| {{text anchor|site_specific_hf_seeker}}
 
|-
 
|-
| slayer
+
| {{text anchor|slayer}}
 
|-
 
|-
| snatcher_profession
+
| {{text anchor|snatcher_profession}}
 
|-
 
|-
| snatcher_profession_year
+
| {{text anchor|snatcher_profession_year}}
 
|-
 
|-
| soldier_profession
+
| {{text anchor|soldier_profession}}
 +
| Used by [[soldier]]s when you ask them about their profession. See also [[#guard_profession|guard_profession]].
 +
| I am a soldier.
 +
|
 
|-
 
|-
| task_recommendation
+
| {{text anchor|task_recommendation}}
 
|-
 
|-
| temple_already_member
+
| {{text anchor|temple_already_member}}
 
|-
 
|-
| temple_become_member
+
| {{text anchor|temple_become_member}}
 
|-
 
|-
| thief_profession
+
| {{text anchor|thief_profession}}
 
|-
 
|-
| thief_profession_year
+
| {{text anchor|thief_profession_year}}
 
|-
 
|-
| threat
+
| {{text anchor|threat}}
 +
| Used by NPC [[bandit]]s{{verify|June 2015}} before attacking you.
 +
| Prepare to die!
 +
|
 
|-
 
|-
| unknown_hf_seeker
+
| {{text anchor|unknown_hf_seeker}}
 
|-
 
|-
| wandering_profession
+
| {{text anchor|wandering_profession}}
 
|-
 
|-
| wandering_profession_year
+
| {{text anchor|wandering_profession_year}}
 
|}
 
|}
  

Revision as of 07:29, 21 June 2015

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 sentence 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