Surviving Mars

Surviving Mars

Colonist More Hover Info
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.
ChoGGi  [作者] 2024 年 7 月 21 日 下午 12:34 
v0.4
Added support for my Specialist by Experience mod.
Added extra info to traits.
ChoGGi  [作者] 2023 年 1 月 29 日 上午 10:12 
Thanks, added (yeah I completely forgot about it).
hlechner 2023 年 1 月 29 日 上午 6:45 
I was playing a bit with the code of this mod, as example, adding this after line 24:
"\n", "Dome: <color -3618666>", context:GetDomeDisplayName(), "</color>", "\n",

it can show the dome on hover.
ChoGGi  [作者] 2022 年 10 月 24 日 下午 5:58 
I'll add it
Daemonjax 2022 年 10 月 24 日 上午 7:07 
Would be great if this showed what dome the person resides in -- for situations where you want to balance the worker shifts of external factories/extractors when they are from multiple domes.