Some Commendations Programming requests and thoughts:
You seem to have gone good work with simplifying things! Regarding renaming variables from the source code: it was something I wanted to do, as I didn't like the source code and the rule set having different names, however if we make that change now, it will break saves for commendations. For example, there is one typo in the source code, I think it's with falling unconcious.... well, it should be unconscious. That was never fixed because of the saves. I think having generic medal names that reflect how they're awarded would be great, and maybe SupSuper can be convinced, but it will break saves. Unless we add more code for "legacy" saves... I would greatly appreciate if you took on the effort to normalize the commendations
It would take magnitudes longer if I did it!
Regarding the important missions, it would require new code for it to work. The logic would be similar to the custom kill medals, but kill information and mission information are different. I agree that it should be externalized for mods to better take advantage of them. The hardest part will be diving into the layers of logic again ;p haven't been there in a while! But the actual work has been done before. Edit: I forget how the logic currently works, but I think it will be possible to code quite a few varieties of mission medals. Let's say you need "3" missions of A, B, C, you could do (1) A+B+C >= 3, (2) A or B or C >= 3, (3) A and B and C >= 3.
How would an externalized Valient Crux work? It seems to be awarded when no civilians have died (and a non zero amount has been rescued) in a successful mission. Would you want it to be awarded if all STR_UNIT_RACE survived a mission? Valient Crux is checked in the debriefing state, as not much global mission information like that is saved.
Regarding the Original8, I have only been following development loosely so I don't know about the crashes. Looking at github, it seems like the code is still there? Does it not work? I'll have to take a look when I have time, maybe next week.