Unfortunately that would involve increasing the watch list, which is a global resource that could affect all game notifications and mods using alerts. You could probably compensate for the main game stuff, but tracking down all the mod interactions may be interesting.

Unfortunately that would involve increasing the watch list, which is a global resource that could affect all game notifications and mods using alerts. You could probably compensate for the main game stuff, but tracking down all the mod interactions may be interesting.

Ok thank you. I got a mod working which adds notifications for units in the economy subset, so that you know when your fabber/mex/energy plant gets attacked or destroyed. It's for my own use - and doesn't seem to conflict with anything.

Edit: Conflicts with being able to continue in galactic war.

Could you remind me with how shadowing works? I shadowed the directory, made a new version of live_game.js, and edited the lines I wanted to edit, but I wasn't sure whether to delete all the lines I didn't edit or whether to include the whole file. I included the whole file and it works, but it might be inefficient?

Only one mod gets to shadow, and it will probably break on game updates - pretty much don't do it.

Look at almost any UI mod for using "scenes" in the modinfo. That gives you small piece of code in the mod that will run and do just it's little bit, in your case probably just the death alerts call. Might possibly be a timing issue relative to when the game sends it's alert configuration, that could take some extra work.