Skip to content

Conversation

@SilasD
Copy link
Contributor

@SilasD SilasD commented Jan 15, 2026

ref: #1529
Discord discussion:
1/11/2026 through roughly 1/13/26.
Especially note Quietust's question about the detection method.
Depending on how Bay12 repairs missing nemesis records, the current simplistic detection method may not be valid. (Basically, will they put new ids in the new records.)
I have worked on an alternate detection method based on walking all histfigs and all nemesis records, but have not tested it or tried to put it in to this PR. My gut feeling is that such a test would be slow.

Changes:

  • changed the color of the overlay text "missing # nemesis records":
    • light red when there are affected units on the map.
    • yellow otherwise.
  • changed the color of the popup window text "permanently disappear":
    • red when there are affected units on the map.
    • white otherwise.
  • added notice (in yellow) in the popup window when there are no affected units on the map.
  • changed the text "active units" to "units on the map" in three places.
  • don't indent unit names; showing them in light red is enough.
  • if the unit name is length is too long, show it without the english name.
  • tested in adventurer mode -- both sub-cases work.

Changes:
changed the color of the overlay text "missing # nemesis records":
* light red when there are affected units on the map.
* yellow otherwise.
changed the color of the popup window text "permanently disappear":
* red when there are affected units on the map.
* white otherwise.
added notice (in yellow) when there are no affected units on the map.
changed the text "active units" to "units on the map" in three places.
don't indent unit names; showing them in light red is enough.
if the unit name is length is too long, show it without the english name.
(internal) implemented caching of tests.
(internal) moved all the cache logic into an object.
(internal) note: has some debugging-data printing enabled.
tested in adventurer mode -- both sub-cases work.
(internal) fixed bug in onStateChange callback.
(internal) cache unit ids, NOT units.  (oopsie!)
(don't worry, caching units never got out into the wild.)
@ab9rf ab9rf added this to 53.10-r2 Jan 15, 2026
@ab9rf ab9rf moved this to Being worked on in 53.10-r2 Jan 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Being worked on

Development

Successfully merging this pull request may close these issues.

1 participant