Don't Starve Together

Don't Starve Together

Status Announcements
Muffs 24 Jun, 2019 @ 7:37pm
[WARNING PROBABLY OUTDATED] How to remove the extra text
DOING A BACKUP OF YOUR FILES IS RECOMENDED

Many people like the extra text to describe their stats and that's great but me and some other people don't, personally I like going straight to the point without anything extra.

BEFORE:
(Hunger: 0/150) I'm starving!

AFTER:
(Hunger: 0/150)

Bare in mind that you shouldn't use custom status announcements (except for woodie because if you alt+click his log meter without his custom lines the game will crash)

Go to > steam/steamapps/common/Don't Starve Together/mods/workshop-343753877/announcestrings/

Open the file with the lenguage you use with a notepad, wordpad or anything you can use to read text files. Now search and replace the following lines of code or just delete the extra text:

ANNOUNCE_TEMPERATURE = { -- This needs to reflect the translating language's grammar -- For example, this might become "I'm at a comfortable temperature" -- or "The beast is freezing!" FORMAT_STRING = "{PRONOUN}{TEMPERATURE}", --{PRONOUN} is picked from this PRONOUN = { DEFAULT = "", BEAST = "", --for Werebeaver }, --{TEMPERATURE} is picked from this TEMPERATURE = { BURNING = "", HOT = "", WARM = "", GOOD = "", COOL = "", COLD = "", FREEZING = "", }, },

ANNOUNCE_HINT = "Announce", }, -- Everything below is character-specific UNKNOWN = { HUNGER = { FULL = "", -- >75% HIGH = "", -- >55% MID = "", -- >35% LOW = "", -- >15% EMPTY = "", -- <15% }, SANITY = { FULL = "", -- >75% HIGH = "", -- >55% MID = "", -- >35% LOW = "", -- >15% EMPTY = "", -- <15% }, HEALTH = { FULL = "", -- 100% HIGH = "", -- >75% MID = "", -- >50% LOW = "", -- >25% EMPTY = "", -- <25% }, WETNESS = { FULL = "", -- >75% HIGH = "", -- >55% MID = "", -- >35% LOW = "", -- >15% EMPTY = "", -- <15% }, },

Now scroll further down to find woodie and also replace his lines (for the reason explained above)

WOODIE = { HUMAN = { HUNGER = { FULL = "", HIGH = "", MID = "", LOW = "", EMPTY = "", }, SANITY = { FULL = "", HIGH = "", MID = "", LOW = "", EMPTY = "", }, HEALTH = { FULL = "", HIGH = "", MID = "", LOW = "", EMPTY = "", }, WETNESS = { FULL = "", HIGH = "", MID = "", LOW = "", EMPTY = "", }, ["LOG METER"] = { FULL = "", -- > 90% HIGH = "", -- > 70% MID = "", -- > 50% LOW = "", -- > 25% EMPTY = "", -- < 25% (this shouldn't be possible, he'll become a werebeaver) }, }, WEREBEAVER = { -- HUNGER = { -- werebeaver doesn't have hunger -- FULL = "", -- HIGH = "", -- MID = "", -- LOW = "", -- EMPTY = "", -- }, SANITY = { FULL = "", HIGH = "", MID = "", LOW = "", EMPTY = "", }, HEALTH = { FULL = "", HIGH = "", MID = "", LOW = "", EMPTY = "", }, WETNESS = { FULL = "", HIGH = "", MID = "", LOW = "", EMPTY = "", }, ["LOG METER"] = { FULL = "", -- > 90% HIGH = "", -- > 70% MID = "", -- > 50% LOW = "", -- > 25% EMPTY = "", -- < 25% }, }, },

If you don't like the fact that when announcing your temperature is says "(32°)" instead of "(Temperature: 32°) you could do this:

Go to > steam/steamapps/common/Don't Starve Together/mods/workshop-343753877/scripts

and open "statusannouncer.lua" and search this line of code about temperature:

function StatusAnnouncer:AnnounceTemperature(pronoun) local S = STRINGS._STATUS_ANNOUNCEMENTS._.ANNOUNCE_TEMPERATURE --To save some table lookups local temp = ThePlayer:GetTemperature() local pronoun = pronoun and S.PRONOUN[pronoun] or S.PRONOUN.DEFAULT local message = S.TEMPERATURE.GOOD local TUNING = TUNING if temp >= TUNING.OVERHEAT_TEMP then message = S.TEMPERATURE.BURNING elseif temp >= TUNING.OVERHEAT_TEMP - 5 then message = S.TEMPERATURE.HOT elseif temp >= TUNING.OVERHEAT_TEMP - 15 then message = S.TEMPERATURE.WARM elseif temp <= 0 then message = S.TEMPERATURE.FREEZING elseif temp <= 5 then message = S.TEMPERATURE.COLD elseif temp <= 15 then message = S.TEMPERATURE.COOL end message = pronoun .. message if EXPLICIT then return self:Announce(string.format("(%d\176) %s", temp, message)) else return self:Announce(message) end end

I added the whole line of code so it would be easier to find but the one we want to change is this one:

return self:Announce(string.format("(%d\176) %s", temp, message)) else return self:Announce(message) end end

We want it to be like this:

return self:Announce(string.format("(Temperature: %d\176) %s", temp, message)) else return self:Announce(message) end end

I just added "Temperature:" in "(%d\176) and in game it would like this

BEFORE:
(25°)

AFTER:
(Temperature: 25°)

And that's pretty much it, have a lot fun and I hope I helped you if were in the same situation I was. Remember that you can change and remove text as much as you want but do it at your own risk.

DOING A BACKUP OF YOUR FILES IS RECOMENDED
Last edited by Muffs; 14 Feb, 2023 @ 4:22pm
< >
Showing 1-1 of 1 comments
< >
Showing 1-1 of 1 comments
Per page: 1530 50