Surviving Mars

Surviving Mars

Colonist More Hover Info
Komentarzy: 14
ChoGGi  [autor] 23 czerwca o 19: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  [autor] 7 sierpnia 2024 o 20:58 
v0.6
Took care of selection lag.
ChoGGi  [autor] 6 sierpnia 2024 o 22: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 6 sierpnia 2024 o 21: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  [autor] 6 sierpnia 2024 o 21: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 6 sierpnia 2024 o 20:59 
Glad you understand Lua. I'm trying to see if I can track down another issue myself.
ChoGGi  [autor] 6 sierpnia 2024 o 20:46 
Sorry that's actually every 100ms.
ChoGGi  [autor] 6 sierpnia 2024 o 20: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 6 sierpnia 2024 o 19: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  [autor] 21 lipca 2024 o 12:34 
v0.4
Added support for my Specialist by Experience mod.
Added extra info to traits.
ChoGGi  [autor] 29 stycznia 2023 o 10:12 
Thanks, added (yeah I completely forgot about it).
hlechner 29 stycznia 2023 o 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  [autor] 24 października 2022 o 17:58 
I'll add it
Daemonjax 24 października 2022 o 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.