Surviving Mars

Surviving Mars

47 个评价
Colonist More Hover Info
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
74.717 KB
2020 年 8 月 9 日 上午 11:32
6 月 23 日 下午 7:04
15 项改动说明 ( 查看 )

订阅以下载
Colonist More Hover Info

在 ChoGGi 的 2 个合集中
ChoGGi's Mods: QoL
176 件物品
ChoGGi's Mods: UI
80 件物品
描述
Show more info (stats/traits) when hovering over a colonist head in the workplace/residence/colonist selection panel.

Days trained by my Specialist by Experience mod.
Actual numbers added to traits descriptions.


Requested by Lesandrina.
15 条留言
Raphx 10 月 12 日 下午 1:32 
thanks
ChoGGi  [作者] 6 月 23 日 下午 7:07 
v0.9
Added age.
Added hover info to residence and selected colonist info.

v0.8
Freeze when hovering over Celebrity (thanks Neocray).

v0.7
Log spam.
ChoGGi  [作者] 2024 年 8 月 7 日 下午 8:58 
v0.6
Took care of selection lag.
ChoGGi  [作者] 2024 年 8 月 6 日 下午 10:22 
Yea, it does that for me too. I lowered it a bit with the "second" update, but there's still a hitch. I'll probably dig around tomorrow, but it'll do for now.
Belmag 2024 年 8 月 6 日 下午 9:29 
Yea. I re-subscribed and got the 0.5, and while it was better, it still 'chugged' when first selecting the structure. Excessive garbage creation with so many strings?
ChoGGi  [作者] 2024 年 8 月 6 日 下午 9:27 
I updated it to also cache the strings I built for the trait extra info, it made a decent difference on a tester building with 60 workers.
Belmag 2024 年 8 月 6 日 下午 8:59 
Glad you understand Lua. I'm trying to see if I can track down another issue myself.
ChoGGi  [作者] 2024 年 8 月 6 日 下午 8:46 
Sorry that's actually every 100ms.
ChoGGi  [作者] 2024 年 8 月 6 日 下午 8:39 
Oh nice, the overlay info window that doesn't appear till you mouseover a colonist is looping through every worker each ms when a building is selected...


v0.5
Added a cache for colonist info (resets when you select a different building, thanks Belmag).
Belmag 2024 年 8 月 6 日 下午 7:35 
Pretty sure your v0.4 update messed this up. I get frequent "near freezes" when I click on my University, and sometimes when selecting a Poly factory. Got your git repo, and replaced it with v0.3, and no more freezes. Acts like it's either recursive, or spin-waiting and not releasing the thread.