Don't Starve Together

Don't Starve Together

173 ratings
Pyro's Campfire Counter
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
23.841 KB
27 Jan, 2021 @ 9:06am
3 Feb, 2021 @ 6:17am
2 Change Notes ( view )

Subscribe to download
Pyro's Campfire Counter

Description
Summary:
The mod Food Values - Item Tooltips (Server and Client) has a campfire timer, but it would often display inaccurately when it rained out. This mod is a fixed version of that mod's campfire code.

This mod is compatible with the above mentioned mod and should override the functionality if both are running at the same time. This is only true if that mod loads first. If that mod loads second, it will crash the game due initializing an already initialized variable (or in other words... I added a nil check to prevent duplicating the variable, but that mod does not have the nil check).

Changes:
  • The seconds remaining should always be accurate during rain.
  • Added config options to change how the timer is displayed.
  • Added the capability to display hours. Fires normally don't last that long, so you'd need a mod to extend burn times in order to see it ;)


Configuration:


There are 12 different prefix options in the config. This is the text that comes before the numbers. Four of the translations from the original mod have been included (English, Italian, German, French), 2 have been re-translated (Russian, Spanish), and 6 new options have been added.
    - - new prefixes by iPyronic - -
  • 1:37
  • Sadness in: 1:37
  • Extinguishes in: 1:37
  • Burns out in: 1:37
  • Poof in: 1:37
  • Gone in: 1:37
  • Self destruct in: 1:37
  • Oставшееся время горения: 1:37
  • Tiempo restante de quemado: 1:37

    - - old prefixes by gregdwilson - -
  • Remaining burn time: 1:37
  • Tempo di combustione rimanente: 1:37
  • Restbrenndauer: 1:37
  • Temps de combustion restant: 1:37



The delimiter between the prefix and the timer can be configured between the following options:
  • Extinguishes in 1:37
  • Extinguishes in: 1:37
  • Extinguishes in - 1:37
  • Extinguishes in = 1:37
  • Extinguishes in ~ 1:37



The timer can be surrounded with the following options:
  • Extinguishes in: 1:37
  • Extinguishes in: (1:37)
  • Extinguishes in: [1:37]
  • Extinguishes in: {1:37}
  • Extinguishes in: <1:37>
  • Extinguishes in: ~1:37~
  • Extinguishes in: -1:37-



The surrounding brackets can be spaced away from the numbers by using up to 7 spaces in between (pretend the _ are spaces):
  • Extinguishes in: (1:37)
  • Extinguishes in: (_1:37_)
  • Extinguishes in: (__1:37__)
  • Extinguishes in: (___1:37___)
  • Extinguishes in: (____1:37____)
  • Extinguishes in: (_____1:37_____)
  • Extinguishes in: (______1:37______)
  • Extinguishes in: (_______1:37_______)
Popular Discussions View All (1)
0
14 Jun, 2021 @ 7:37pm
Crash Investigation
iPyronic
12 Comments
Wassupyourmommy 31 Oct, 2023 @ 6:03am 
lux
iPyronic  [author] 14 Jun, 2021 @ 7:39pm 
Yeah, I'd need logs and mod lists. I had a friend host a server with it running and I unsubscribed from it myself, and it worked without issue.
SHREKT 14 Apr, 2021 @ 8:59pm 
I can confirm that Zairii's bug is still a thing as my friends game would either when building a fire or trying to cook something. Disabling the mod fixed the problem. I can send a log if need be.
iPyronic  [author] 16 Feb, 2021 @ 8:48pm 
Interesting... I thought I had tested that. Do you have any more information? Ex:
- Does the server crash, or just the person without the mod?
- Client crash log
- Server crash log
- Was the client using other mods?
- Was the server using other mods?
Zairii 16 Feb, 2021 @ 11:43am 
Causes crashing when someone else (who doesn't have the mod) makes a fireplace on multiplayer :(
iPyronic  [author] 3 Feb, 2021 @ 7:57am 
Thanks for the feedback
PVozduh 3 Feb, 2021 @ 12:33am 
Second is much better
iPyronic  [author] 2 Feb, 2021 @ 3:45pm 
Oставшееся время огня ?
Oставшееся время горения ?
PVozduh 2 Feb, 2021 @ 6:17am 
Оставшееся время записи...
ErrorM3_997 1 Feb, 2021 @ 4:12am 
ok.