I am working on a submod for Das Heiliges Romisches Reich. It may be found here:
Nordic Realism
Unfortunately, I believe that I have messed up the script, before I have even begun to work on it. For some reason, every time I now play the game, the script will not work. The mod's beginning message never even appears.
What kinds of problems can seemingly cause the entire script to not work? To my knowledge, the only way that the script has been changed by me is through the following addition at the end:
I'm not sure, but could it have been caused by a change in something affected by the script?
For instance, I have made some changes to the map, and files like descr_strat, including the locations, garrisons, and ownership of some cities. New names were added to the names files, although none should have been deleted. The Swedish family tree was also affected. As far as the renaming of regions/cities goes, only the in-game names should have been changed.
Could something in the preferences.cfg be preventing the script? I believe that my only changes were the activation of windowed mode and the use of error logging.
Anyways, does anyone have any suggestions as to what is causing this mess? I'll attach Dimitri's script, as I have changed it, below.