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.
Editing Announcements.txt
Jump to navigation
Jump to search
Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.
If you are creating a redirect to the current version's page, do not use any namespace. For example: use #REDIRECT [[Cat]], not #REDIRECT [[Main:Cat]] or #REDIRECT [[cv:Cat]]. See DF:Versions for more information.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
{{Quality|Tattered}} | {{Quality|Tattered}} | ||
{{av}} | {{av}} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
{{File|DF/data/init/announcements.txt}} | {{File|DF/data/init/announcements.txt}} | ||
− | {{ | + | {{Outdatedsection}} |
− | + | '''Version 50.10: editing this file does not stop the spam of useless announcements like 'quota filled' or 'someone is visiting'.''' | |
− | |||
− | |||
− | + | The '''announcements.txt''' file can be used to control the types of [[announcement]]s displayed in ''Dwarf Fortress'', and how they are displayed in various modes, which can often be useful to stop recentering on birth announcements, for example. | |
− | |||
− | The '''announcements.txt''' file | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Syntax == | == Syntax == | ||
− | [''' | + | ['''ANNOUNCEMENT NAME''''':option:option''...] |
=== Available options === | === Available options === | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
− | ! | + | ! Option |
− | |||
! Description | ! Description | ||
! Notes | ! Notes | ||
|- | |- | ||
− | | {{text anchor| | + | | {{text anchor|D_D}} or {{text anchor|D_DISPLAY}} |
− | | {{text anchor| | + | | Causes the announcement to appear under one of the categories at the left side of the screen in [[fortress mode]]. |
− | | Causes | + | | 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}} | | {{text anchor|P}} or {{text anchor|PAUSE}} | ||
| Pauses the game when the announcement occurs. | | Pauses the game when the announcement occurs. | ||
| | | | ||
|- | |- | ||
− | |||
| {{text anchor|R}} or {{text anchor|RECENTER}} | | {{text anchor|R}} or {{text anchor|RECENTER}} | ||
| Recenters the game to the location of the announcement when the announcement occurs. | | 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. | | 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| | + | | {{text anchor|BOX}} or {{text anchor|DO_MEGA}} |
− | + | | Causes a box to appear in the middle of the screen, requiring a click on the Okay button to close it. If multiple boxes are displayed at the same time, the button says More and displays the next box. | |
− | | Causes | + | | This is often used with [[Announcement#Game-changing announcements|game-changing announcements]]. |
− | |||
− | |||
− | |||
− | |||
− | |||
− | | | ||
|- | |- | ||
− | |||
| {{text anchor|UCR}} or {{text anchor|UNIT_COMBAT_REPORT}} | | {{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. | | Causes the announcement to appear in all [[reports]]. A new report will be created if none are active. | ||
− | | Commonly used for | + | | Commonly used for adventure mode combat moves. |
|- | |- | ||
− | |||
| {{text anchor|UCR_A}} or {{text anchor|UNIT_COMBAT_REPORT_ALL_ACTIVE}} | | {{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. | | Nearly identical to [[#UCR|UNIT_COMBAT_REPORT]], but does not create a new report if none are active. | ||
− | | | + | | |
|- | |- | ||
− | |||
| {{text anchor|ALERT}} | | {{text anchor|ALERT}} | ||
| Causes the announcement to appear under the alert button at the left side of the screen in [[fortress mode]]. | | Causes the announcement to appear under the alert button at the left side of the screen in [[fortress mode]]. | ||
Line 77: | Line 49: | ||
|} | |} | ||
− | == | + | == List of announcements == |
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
|- | |- | ||
− | ! | + | ! Settings>Announcements |
− | ! | + | ! announcement.txt |
! Example | ! Example | ||
! Description/Notes | ! Description/Notes | ||
Line 247: | Line 219: | ||
| | | | ||
|- | |- | ||
− | | {{text anchor| | + | | {{text anchor|Adjust grip}} |
| {{text anchor|COMBAT_WRESTLE_ADJUST_GRIP}} | | {{text anchor|COMBAT_WRESTLE_ADJUST_GRIP}} | ||
| | | | ||
|- | |- | ||
− | | {{text anchor| | + | | {{text anchor|Part ripped away}} |
| {{text anchor|COMBAT_GRAB_TEAR}} | | {{text anchor|COMBAT_GRAB_TEAR}} | ||
| | | | ||
|- | |- | ||
− | | {{text anchor| | + | | {{text anchor|Strike}} |
| {{text anchor|COMBAT_STRIKE_DETAILS}} | | {{text anchor|COMBAT_STRIKE_DETAILS}} | ||
| | | | ||
|- | |- | ||
− | | {{text anchor| | + | | {{text anchor|Wounds}} |
| {{text anchor|COMBAT_STRIKE_DETAILS_2}} | | {{text anchor|COMBAT_STRIKE_DETAILS_2}} | ||
| | | | ||
|- | |- | ||
− | | {{text anchor| | + | | {{text anchor|Enraged}} |
| {{text anchor|COMBAT_EVENT_ENRAGED}} | | {{text anchor|COMBAT_EVENT_ENRAGED}} | ||
| {{DFtext|The Wolf has become enraged!|4:1}} | | {{DFtext|The Wolf has become enraged!|4:1}} | ||
|- | |- | ||
− | | {{text anchor| | + | | {{text anchor|Attack stuck in}} |
| {{text anchor|COMBAT_EVENT_STUCKIN}} | | {{text anchor|COMBAT_EVENT_STUCKIN}} | ||
| {{DFtext|The *bronze spear* has lodged firmly in the wound!|5:1}} | | {{DFtext|The *bronze spear* has lodged firmly in the wound!|5:1}} | ||
|- | |- | ||
− | | {{text anchor| | + | | {{text anchor|Natural attack latched}} |
| {{text anchor|COMBAT_EVENT_LATCH_BP}} | | {{text anchor|COMBAT_EVENT_LATCH_BP}} | ||
| | | | ||
|- | |- | ||
− | | {{text anchor| | + | | {{text anchor|Attack latched}} |
| {{text anchor|COMBAT_EVENT_LATCH_GENERAL}} | | {{text anchor|COMBAT_EVENT_LATCH_GENERAL}} | ||
| {{DFtext|The Wolf latches on firmly!|5:1}} | | {{DFtext|The Wolf latches on firmly!|5:1}} | ||
|- | |- | ||
− | | {{text anchor| | + | | {{text anchor|Propelling blow}} |
| {{text anchor|COMBAT_EVENT_PROPELLED_AWAY}} | | {{text anchor|COMBAT_EVENT_PROPELLED_AWAY}} | ||
| {{DFtext|The Wolf is propelled away by the force of the blow!|6:1}} | | {{DFtext|The Wolf is propelled away by the force of the blow!|6:1}} | ||
|- | |- | ||
− | | {{text anchor| | + | | {{text anchor|Knocked out}} |
| {{text anchor|COMBAT_EVENT_KNOCKED_OUT}} | | {{text anchor|COMBAT_EVENT_KNOCKED_OUT}} | ||
| {{DFtext|The Wolf has been knocked unconscious!|7:1}} | | {{DFtext|The Wolf has been knocked unconscious!|7:1}} | ||
|- | |- | ||
− | | {{text anchor| | + | | {{text anchor|Stunned}} |
| {{text anchor|COMBAT_EVENT_STUNNED}} | | {{text anchor|COMBAT_EVENT_STUNNED}} | ||
| {{DFtext|The Wolf has been stunned!|3:1}} | | {{DFtext|The Wolf has been stunned!|3:1}} | ||
|- | |- | ||
− | | {{text anchor| | + | | {{text anchor|Winded}} |
| {{text anchor|COMBAT_EVENT_WINDED}} | | {{text anchor|COMBAT_EVENT_WINDED}} | ||
| {{DFtext|The Wolf is having trouble breathing!|7:0}} | | {{DFtext|The Wolf is having trouble breathing!|7:0}} | ||
|- | |- | ||
− | | {{text anchor| | + | | {{text anchor|Nauseated}} |
| {{text anchor|COMBAT_EVENT_NAUSEATED}} | | {{text anchor|COMBAT_EVENT_NAUSEATED}} | ||
| {{DFtext|The Wolf looks sick!|2:1}} | | {{DFtext|The Wolf looks sick!|2:1}} | ||
Line 1,751: | Line 1,723: | ||
| | | | ||
|} | |} | ||
− | |||
− | |||
− | |||
− | |||
{{gamedata}} | {{gamedata}} | ||
{{files}} | {{files}} | ||
[[ru:Announcements.txt]] | [[ru:Announcements.txt]] |