Surviving Mars

Surviving Mars

Colonist More Hover Info
13 kommentarer
ChoGGi  [skaper] 7. aug. 2024 kl. 20.58 
v0.6
Took care of selection lag.
ChoGGi  [skaper] 6. aug. 2024 kl. 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. aug. 2024 kl. 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  [skaper] 6. aug. 2024 kl. 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. aug. 2024 kl. 20.59 
Glad you understand Lua. I'm trying to see if I can track down another issue myself.
ChoGGi  [skaper] 6. aug. 2024 kl. 20.46 
Sorry that's actually every 100ms.
ChoGGi  [skaper] 6. aug. 2024 kl. 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. aug. 2024 kl. 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  [skaper] 21. juli 2024 kl. 12.34 
v0.4
Added support for my Specialist by Experience mod.
Added extra info to traits.
ChoGGi  [skaper] 29. jan. 2023 kl. 10.12 
Thanks, added (yeah I completely forgot about it).
hlechner 29. jan. 2023 kl. 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  [skaper] 24. okt. 2022 kl. 17.58 
I'll add it
Daemonjax 24. okt. 2022 kl. 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.