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 "v0.34:Announcements.txt"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(basic information)
 
(syntax)
Line 2: Line 2:
 
{{File|DF/data/init/announcements.txt}}
 
{{File|DF/data/init/announcements.txt}}
 
The '''announcements.txt''' file can be used to control the types of announcements displayed in Dwarf Fortress and how they are displayed in various modes. This can often be useful to stop recentering on birth announcements, for example.
 
The '''announcements.txt''' file can be used to control the types of announcements displayed in Dwarf Fortress and how they are displayed in various modes. This can often be useful to stop recentering on birth announcements, for example.
 +
 +
== Syntax ==
 +
['''ANNOUNCEMENT NAME'''(:''option'')(:''option'')...]
 +
=== Available options ===
 +
{| class="wikitable"
 +
|-
 +
! Option
 +
! Description
 +
! Notes
 +
|-
 +
| {{text anchor|D_D}} or {{text anchor|D_DISPLAY}}
 +
| Causes the announcement to be displayed at the bottom of the screen in [[Fortress mode]] (and be viewable in the {{k|a}}nnouncements list).
 +
| The default for [[Announcement#Minor announcements|minor announcements]] including profession changes, [[weather]], job cancellations, and striking new minerals while [[mining]].
 +
|-
 +
| {{text anchor|A_D}} or {{text anchor|A_DISPLAY}}
 +
| Causes the announcement to be displayed at the bottom of the screen in [[Adventure mode]] (and be viewable in the {{k|a}}nnouncements list).
 +
|
 +
|-
 +
| {{text anchor|P}} or {{text anchor|PAUSE}}
 +
| Pauses the game when the announcement occurs.
 +
|
 +
|-
 +
| {{text anchor|R}} or {{text anchor|RECENTER}}
 +
| Recenters the game to the location of the announcement when the announcement occurs.
 +
| Commonly used for [[baby|births]], [[caravan]] arrivals, and [[ambush]]es. Use of this without the [[#PAUSE|pause]] option is not recommended, since your screen will recenter without warning.
 +
|-
 +
| {{text anchor|BOX}} or {{text anchor|DO_MEGA}}
 +
| Causes a box to appear in the middle of the screen, requiring {{k|Enter}} to close it.
 +
| This is often used with [[Announcement#Game-changing announcements|game-changing announcements]].
 +
|-
 +
| {{text anchor|UCR}} or {{text anchor|UNIT_COMBAT_REPORT}}
 +
| Causes the announcement to appear in all [[reports]]. A new report will be created if none are active.
 +
| Commonly used for adventure mode combat moves.
 +
|-
 +
| {{text anchor|UCR_A}} or {{text anchor|UNIT_COMBAT_REPORT_ALL_ACTIVE}}
 +
| Nearly identical to [[#UCR|UNIT_COMBAT_REPORT]], but does not create a new report if none are active.
 +
|
 +
|}
 +
 +
== List of announcements ==
 +
  
  
 
{{gamedata}}
 
{{gamedata}}

Revision as of 21:24, 5 November 2013

This article is about an older version of DF.
File

Folder-orange.svg Dwarf Fortress

Folder.svg data

Folder.svg init

Text-x-generic.svg announcements.txt

The announcements.txt file can be used to control the types of announcements displayed in Dwarf Fortress and how they are displayed in various modes. This can often be useful to stop recentering on birth announcements, for example.

Syntax

[ANNOUNCEMENT NAME(:option)(:option)...]

Available options

Option Description Notes
D_D or D_DISPLAY Causes the announcement to be displayed at the bottom of the screen in Fortress mode (and be viewable in the announcements list). The default for minor announcements including profession changes, weather, job cancellations, and striking new minerals while mining.
A_D or A_DISPLAY Causes the announcement to be displayed at the bottom of the screen in Adventure mode (and be viewable in the announcements list).
P or PAUSE Pauses the game when the announcement occurs.
R or RECENTER Recenters the game to the location of the announcement when the announcement occurs. Commonly used for births, caravan arrivals, and ambushes. Use of this without the pause option is not recommended, since your screen will recenter without warning.
BOX or DO_MEGA Causes a box to appear in the middle of the screen, requiring Enter to close it. This is often used with game-changing announcements.
UCR or UNIT_COMBAT_REPORT Causes the announcement to appear in all reports. A new report will be created if none are active. Commonly used for adventure mode combat moves.
UCR_A or UNIT_COMBAT_REPORT_ALL_ACTIVE Nearly identical to UNIT_COMBAT_REPORT, but does not create a new report if none are active.

List of announcements