Adds an option to event 99814 "Fokker Aeroplanbau," to avoid the effect where it moves the capital back and forth. This is done in the original event because that is the only way to place a factory at the desired location, although it does not always anticipate where to place the capital once it is done. If Germany has been formed by the player in an unusual way, such as with Baden, the player may not wish to have the capital moved to Berlin, for instance. This gives the player an option to refuse to move the capital.
I examined other code to find other events that may do this. I found some for the United Kingdom that I left alone, because London should be the only valid option for the capital to be placed at. Other cases for Germany were vanilla decisions, which probably require a different fix and arguably are a different issue.
An ai chance is added that should choose the original option every time, so that it does not miss out on its airplane factory.
References #150
Adds an option to event
99814
"Fokker Aeroplanbau," to avoid the effect where it moves the capital back and forth. This is done in the original event because that is the only way to place a factory at the desired location, although it does not always anticipate where to place the capital once it is done. If Germany has been formed by the player in an unusual way, such as with Baden, the player may not wish to have the capital moved to Berlin, for instance. This gives the player an option to refuse to move the capital.I examined other code to find other events that may do this. I found some for the United Kingdom that I left alone, because London should be the only valid option for the capital to be placed at. Other cases for Germany were vanilla decisions, which probably require a different fix and arguably are a different issue.
An ai chance is added that should choose the original option every time, so that it does not miss out on its airplane factory.