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
(Created page with "'''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. == List of...")
 
(Define greetings)
Line 45: Line 45:
 
|-
 
|-
 
| greet
 
| greet
 +
| Used when greeting another person.
 +
| <nowiki>[SPEAKER:TRANS_NAME]</nowiki>
 
|-
 
|-
 
| greet_baby
 
| greet_baby
 +
| Used when greeting a baby.
 +
|
 
|-
 
|-
 
| greet_reply
 
| greet_reply
 +
| Used when replying to another person's greeting.
 +
| <nowiki>[SPEAKER:TRANS_NAME]</nowiki>
 
|-
 
|-
 
| greet_reply_after_hero
 
| greet_reply_after_hero
 +
| Used by NPCs when replying to the player character's greeting after becoming a [[hero]].
 +
| <nowiki>[SPEAKER:TRANS_NAME]</nowiki>
 
|-
 
|-
 
| greet_reply_diff_language
 
| greet_reply_diff_language
 +
| Used when replying to the greeting of a person which is of another [[race]].
 +
| <nowiki>[SPEAKER:TRANS_NAME], [AUDIENCE:RACE]</nowiki>
 
|-
 
|-
 
| greet_reply_unusual_first
 
| greet_reply_unusual_first
 +
| Used when replying to the greeting of a person whose first name is unusual.{{verify|June 2015}}
 +
| <nowiki>[AUDIENCE:FIRST_NAME]</nowiki>
 
|-
 
|-
 
| greet_worship
 
| greet_worship
 +
| Used for greetings by priests and faithful people.{{verify|June 2015}}
 +
| <nowiki>[SPEAKER:HF_LINK:DEITY:TRANS_NAME], [SPEAKER:HF_LINK:DEITY:RANDOM_DEF_SPHERE]</nowiki>
 
|-
 
|-
 
| guard_profession
 
| guard_profession

Revision as of 14:02, 20 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 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. [SPEAKER:TRANS_NAME]
greet_baby Used when greeting a baby.
greet_reply Used when replying to another person's greeting. [SPEAKER:TRANS_NAME]
greet_reply_after_hero Used by NPCs when replying to the player character's greeting after becoming a hero. [SPEAKER:TRANS_NAME]
greet_reply_diff_language Used when replying to the greeting of a person which is of another race. [SPEAKER:TRANS_NAME], [AUDIENCE:RACE]
greet_reply_unusual_first Used when replying to the greeting of a person whose first name is unusual.[Verify] [AUDIENCE:FIRST_NAME]
greet_worship Used for greetings by priests and faithful people.[Verify] [SPEAKER:HF_LINK:DEITY:TRANS_NAME], [SPEAKER:HF_LINK:DEITY:RANDOM_DEF_SPHERE]
guard_profession
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
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
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
task_recommendation
temple_already_member
temple_become_member
thief_profession
thief_profession_year
threat
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