边缘世界 RimWorld

边缘世界 RimWorld

35 个评价
Better Time Format (Continued)
   
奖励
收藏
已收藏
取消收藏
Mod, 1.2, 1.3, 1.4, 1.5, 1.6
文件大小
发表于
更新日期
808.734 KB
2024 年 12 月 3 日 上午 11:49
8 月 23 日 上午 7:10
6 项改动说明 ( 查看 )

订阅以下载
Better Time Format (Continued)

在 Mlie 的 1 个合集中
Mlie's resurrected mods
973 件物品
描述

Update of Netrves mod https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=2072773208

- Now uses the 12-hour clock setting from the game-preferences instead of a separate mod-option



[discord.gg]
[github.com]


Notice
Due to focus on other project and my lack of interest in RimWorld for now, I'm not maintaining my mods for the time being. They are all open source, so feel free to fork them!

Better Time Format
Turn that boring 18h to whatever you like! Safe to add and remove to savegames!

Have you ever wanted to see what in-game time your colony is at, but were bothered by that "18h" display?

Well then I have the mod for you! Better Time Format changes the display of the clock to render in a more satisfying way, like "18:05" or "12am" or "8 o'clock" or...whatever! See the minutes and even seconds zoom past when you accelerate your game!

YOU HAVE THE CONTROL! You can set up the time display however you like, using simple placeholders you can type in your own preferred time format, ie. "HH:MM" becomes "07:15"! Read the mod settings for more information!

Note regarding no time: Just reopen the mod settings menu once, the last update changed where a few internal variables are stored and those need to be updated once.

Supported Versions and Requirements
This mod is made for RimWorld 1.2 and up, and requires Harmony 2.x

Parsing and Performance
The parsing is somewhat simple, on purpose. I traded accuracy for performance, while something like a regular expression would be more accurate, it isn't something you want to use for a game. So please excuse if you sometimes get weird displays with certain inputs. It should work fine for 99% of the cases.

This mod modifies an UI drawing method and on top of that also pulls some strings to get the user format going. I have taken the best precautions I could take to make sure everything runs as optimal as I can see.

The performance at worst is on par with the original function, and sometimes even better, but spikes happen every now and then. Unless something seriously broke, this mod should not be able to pose any problem.

Special Thanks
Thanks to all the helpful people over at the RimWorld Discord who have helped me a lot.


  • See if the the error persists if you just have this mod and its requirements active.
  • If not, try adding your other mods until it happens again.
  • Always post your log using the Log Uploader
  • For best support, please use the Discord-channel for error-reporting.
  • Do not report errors by making a discussion-thread, I get no notification of that.
  • If you have the solution for a problem, please post it to the GitHub repository.
  • Use RimSort[github.com] to sort your mods

| tags: clock, format
18 条留言
Reel 8 月 23 日 上午 7:27 
Thanks for the quick fix boss!
Reel 8 月 23 日 上午 1:00 
There's a gamebreaking interaction with this mod that causes your UI to disappear when you do the following steps:

1. Create a caravan
2. Abandon your only faction settlement
3. Click on anything on the worldmap

I have a log with the errors associated. Noticed that it lists the vanilla time format, and not the one present in this mod. Very high chance they're related.

https://gist.github.com/HugsLibRecordKeeper/5dfc2c46c60d22f4acb6cce0aa56ac96
CurtimusPrime92 7 月 24 日 上午 2:23 
i sent a PR to fix midnight in 12 hour mode showing up as 0:XX AM or 00:XX AM
Auld 7 月 16 日 下午 12:23 
Yee haw 🤠
Mlie  [作者] 7 月 11 日 下午 9:17 
@Goobert Fartington Updating all my mods, see Discord for progress
Goobert Fartington 7 月 11 日 下午 6:28 
Any plans to update for 1.6, or does the mod already work on 1.6?
gold_talisman 3 月 5 日 下午 3:45 
Thanks for this Mlie ♥
CurtimusPrime92 2024 年 12 月 30 日 下午 2:55 
neat thanks for all your work that you do for the RW community. and thanks for the quick fixes i posted on here only expecting you to fix it eventually if you ever get around to it and you're like "hold my [preferred beverage of choice]... and fixed"
Mlie  [作者] 2024 年 12 月 30 日 下午 2:49 
@CurtimusPrime92 Should work better now, seems the original calculation switched at 60% of 24 hours; at 14,4 for some reason. Never used the format myself but hopefully its correct now.
CurtimusPrime92 2024 年 12 月 30 日 下午 2:16 
it seems usually around noon and midnight it sometimes gets stuck at 24 hour mode and and doesnt seem to catch that it should be in 12 hr mode sometimes till around 2:45pm or 2:45am