Don't Starve Together

Don't Starve Together

4,260 ratings
Status Announcements
4
2
17
11
2
2
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
333.668 KB
Nov 18, 2014 @ 3:16pm
Mar 29 @ 11:08am
67 Change Notes ( view )

Subscribe to download
Status Announcements

Description
How it works
ALT(+SHIFT)+click parts of the HUD to announce their status ("I'm wounded!", "I have 2 twigs.", "We need more drying racks."). For controllers, the announce buttons show up on the HUD when in Inventory or Crafting mode. (SHIFT is needed for inventory items, because ALT+click already examines them).

Holding CTRL in addition will cause it to whisper (or if you have it set to whisper by default, it will announce it globally). For controllers, hold Menu Misc 3, which by default is left-stick-click.

Each character has their own quotes, and custom characters can define their own quotes (see below).

Also available on GitHub[github.com].

If you find this mod super annoying, there's also an option ("Hide Announcements") to mute all uses of it (you won't see announcements from yourself or anyone else).

Configuration Options
Whisper by default: If toggled on, then you will whisper unless you hold ctrl.
Show current/max: If toggled on, then you will announce your current/max health, sanity, and hunger.
Custom X Quotes: If toggled off, X (one of the characters) will use default quotes instead of the custom ones written in their voice.


List of things you can announce
  • Current hunger/health/sanity/wetness/log/temperature status. Alt+clicking your health badge will announce "I'm in perfect health!" if your health is full, or "I'm mortally wounded!" if it's very low. Sanity and hunger have different announcements specific to them ("AAAH! Stay back, beasts of darkness!"). Announcing temperature requires Combined Status.
  • Craftable items in the craft tabs. If you know how to build it and you have the supplies, it will announce that you'll make one. If you don't know how to build it, it will ask if someone can make you one (e.g. you have a Wickerbottom and no science machine yet, and you want her to make you a backpack). If you know how to make one, but don't have the supplies for it, it will say "We need more [craftable]s". You can also announce item skins you have.
  • Ingredients for crafted items. Let's say night is falling and you have two twigs and one grass. Alt+clicking the grass in the torch recipe will announce "I need 1 more cut grass for a torch.".
  • Items in your inventory and backpack. Since alt+click already does something for these, you'll have to hold down shift as well. This will announce that you have the item, and how many: "I have 10 dragonpies."
  • Items in chests or other containers. This works the same way as inventory ones, but will announce something like "We have 8 dragonpies here in this icebox".

Custom Announcements for Character Mods
Character mods can add their own quotes if they want. You don't need to worry about mod load order, just add the quotes to GLOBAL.STRINGS._STATUS_ANNOUNCEMENTS (make sure to check if it exists first, and if not, make it an empty table before adding your strings). See announcestrings.lua in the files for this mod on the format of the announcement strings. If you want to see an example of how to do this, look at Elec Man. In addition, it's now possible to add announcements for stats that only your character has. There's a small guide inside the modmain, I recommend looking at that; you may need to refer to some other code there.

Translations
I have support for translations. However, I don't know all languages so if you're willing to translate the mod, then here's how to do it. If you're subscribed to the mod, then go to the game in Steam, click Properties, then the Local Files tab, then Browse Local files. Navigate to mods/workshop-343753877. Make a copy of announcestrings_english.lua and open it in a text editor (Notepad, Notepad++, Sublime, whatever). Translate all the strings and update the format and article parts at the top. Feel free to contact me to ask how those work if you need help writing it into the code there. Send me the translated file (for example, by uploading to pastebin.com and sending me the link), and I'll add in support for it-- I look at mods on the workshop that translate into that language, and then have this mod detect them and switch to the provided translations.

Currently supported languages:
  • English (default)
  • Brazilian Portuguese (thanks to Vinicius Araújo for translating!)
  • Chinese (thanks to GoforDream and Shang for translating!)
  • Spanish (thanks to Gum and oPt for translating)
  • Russian, incomplete (thanks to deshkas and Shiro for translating)
  • German (thanks to Redhead for translating)

Requested languages:
  • Let me know if you want one or want to help provide one.
  • French; if you know French and would like to write lines in keeping with the characters, please reach out to me :)

Acknowledgements
Thanks for SilentDarkness, SuperPsiPower, OSMRhodey, AceMurdock, and Lying Cake for help writing the character-specific strings.

Troubleshooting
  • Because mods can't directly have their own keybindings, I'm using some of the game bindings to allow you to rebind ALT/SHIFT/CTRL. So if you've rebound any of the following, use those instead:
    • "Force Inspect (mod)" (default ALT) the main announcement key
    • "Force Container (mod)" (default SHIFT) press this as well to announce inventory items
    • "Force Attack (mod)" (default CTRL) press this as well to toggle whispering
  • Sometimes alt gets stuck when alt-tabbing. Pressing alt again should fix it.
Popular Discussions View All (13)
5
Sep 9, 2023 @ 3:01am
Crash
Aaron
7
Apr 12, 2022 @ 6:32am
Is it possible to mute this mod?
Energy Melons
3
Apr 23, 2023 @ 9:34am
bug with alt
Dimas42
611 Comments
你好 Apr 13 @ 5:03am 
Thank you for maintaining the MOD
Sukaiba Mar 3 @ 7:50am 
Would it be possible to add Dehydrated support? As in allowing you to announce your thrist level :FiniiTeehee:
Godless Feb 9 @ 4:39am 
Hi, I just saw that your mod can cause an error because of mine, so I wanted to let you know that you can set an additional condition in case of missing recipe

attempt to index local 'recipe' (a nil value)
LUA ERROR stack traceback:
../mods/workshop-343753877/modmain.lua:452 in (upvalue) GetClickedIngredient (Lua) <440-471>
recipe = nil
craftingmenu_ingredients = CraftingMenuIngredients
_ = root
ingredient_root = root
ingredient = nil
NAMES = table: 00000000ABC095A0
name_to_ingredient = table: 0000000056D32CD0
Parusoid Jan 30 @ 8:27am 
Would be cool to have a feature where you can announce how many empty inventory slots player has, for example by using the standard key binds on an empty slot
♪ guitarist ♫ Jan 28 @ 10:06am 
Hello. I found some problem with displaying the character's temperature in the chat using the Combined Status mod. I completely disabled all mods except these two and also reinstalled the game. Am I doing something wrong? I'm sure I'm pressing all the necessary keys as before to display the temperature, but at some point it just stopped working. Is this related to any of the recent DST updates?:DSTsmallbird:
壹玖贰陆 Dec 14, 2024 @ 9:46am 
This mod has no effect
Deimos Dec 10, 2024 @ 4:14pm 
[string "../mods/workshop-343753877/scripts/statusan..."]:963: attempt to index field '?' (a nil value)
LUA ERROR stack traceback:
../mods/workshop-343753877/scripts/statusannouncer.lua:963 in (method) ChooseStatMessage (Lua) <945-969>
../mods/workshop-343753877/scripts/statusannouncer.lua:877 in () ? (Lua) <876-884>
=(tail call):-1 in () (tail) <-1--1>
../mods/workshop-343753877/modmain.lua:204 in (method) OnMouseButton (Lua) <202-211>
scripts/frontend.lua:1255 in (method) OnMouseButton (Lua) <1248-1260>
scripts/input.lua:179 in (method) OnMouseButton (Lua) <177-182>
scripts/input.lua:438 in () ? (Lua) <437-439>
Trying to announce abis health on beta
rezecib  [author] Nov 23, 2024 @ 7:50pm 
Hmm... 4096 is not a limit that would be imposed by Lua (the language the game logic and mod is written in), because it uses floating-point number types only. If it's getting 4096 I'm guessing that the game engine (which is C++ and may be doing clever things with using only a certain number of bits) is limiting it.

I'm using the container:Has function, which is what the game normally uses to check if you have enough ingredients for a crafting recipe. Looks like that in turn is calling stackable:StackSize, which gets synced between client and server by stackable_replica, which is using a "smallbyte" to represent the stack amount, and that's a 6-bit unsigned integer (maximum value 63). Not sure how the elasto chest mod is getting around this but maybe they're doing something clever by also syncing a count of full stacks?

So... might be possible, but I don't see how to do it with a client-only mod, because you'd have to get into server-client syncing code.
Flav606 Nov 23, 2024 @ 2:27am 
Would it be difficult to make it announce numbers over 4096? Our elasto chests all show this number on stuff, weird why it would stop at 2^11.
will b. gaming Oct 20, 2024 @ 5:25am 
Crashes when you inspect the durability of a boat. :steamsad: