So ... how do do this?
Here is what I thought ... and, note, it is just shooting from the hip ...
- add some python code that cycles through each city and stores a string representing the type and count of specialists in each city ... probably during the end-player-turn segment
- then, add some code during the start-player-turn segment that generates the string using the current specialist configuration (same subroutine), compare that string to the stored string (from the end of the prior turn) and firing off an alert if the strings are different.
String could be SS-EE-MM-Sc-Ar-Pr-Cz were the two letters represent the count of Spies (SS), Engineers (EE), Merchants (MM), Scientists (Sc), Artists (Ar), Priests (Pr) or Citizens (Cz).