Surviving Mars

Surviving Mars

Colonist More Hover Info
13 Comments
ChoGGi  [author] 7 Aug, 2024 @ 8:58pm 
v0.6
Took care of selection lag.
ChoGGi  [author] 6 Aug, 2024 @ 10:22pm 
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 6 Aug, 2024 @ 9:29pm 
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  [author] 6 Aug, 2024 @ 9:27pm 
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 6 Aug, 2024 @ 8:59pm 
Glad you understand Lua. I'm trying to see if I can track down another issue myself.
ChoGGi  [author] 6 Aug, 2024 @ 8:46pm 
Sorry that's actually every 100ms.
ChoGGi  [author] 6 Aug, 2024 @ 8:39pm 
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 6 Aug, 2024 @ 7:35pm 
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  [author] 21 Jul, 2024 @ 12:34pm 
v0.4
Added support for my Specialist by Experience mod.
Added extra info to traits.
ChoGGi  [author] 29 Jan, 2023 @ 10:12am 
Thanks, added (yeah I completely forgot about it).
hlechner 29 Jan, 2023 @ 6:45am 
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  [author] 24 Oct, 2022 @ 5:58pm 
I'll add it
Daemonjax 24 Oct, 2022 @ 7:07am 
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.