饥荒联机版

饥荒联机版

173 个评价
Pyro's Campfire Counter
2
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
23.841 KB
2021 年 1 月 27 日 上午 9:06
2021 年 2 月 3 日 上午 6:17
2 项改动说明 ( 查看 )

订阅以下载
Pyro's Campfire Counter

描述
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_______)
热门讨论 查看全部(1)
0
2021 年 6 月 14 日 下午 7:37
Crash Investigation
iPyronic
12 条留言
Wassupyourmommy 2023 年 10 月 31 日 上午 6:03 
lux
iPyronic  [作者] 2021 年 6 月 14 日 下午 7:39 
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 2021 年 4 月 14 日 下午 8:59 
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  [作者] 2021 年 2 月 16 日 下午 8:48 
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 2021 年 2 月 16 日 上午 11:43 
Causes crashing when someone else (who doesn't have the mod) makes a fireplace on multiplayer :(
iPyronic  [作者] 2021 年 2 月 3 日 上午 7:57 
Thanks for the feedback
PVozduh 2021 年 2 月 3 日 上午 12:33 
Second is much better
iPyronic  [作者] 2021 年 2 月 2 日 下午 3:45 
Oставшееся время огня ?
Oставшееся время горения ?
PVozduh 2021 年 2 月 2 日 上午 6:17 
Оставшееся время записи...
ErrorM3_997 2021 年 2 月 1 日 上午 4:12 
ok.