moretrim / ccHFM

Community Curated HFM
14 stars 3 forks source link

Decisions to unform annexed formables to remake them #149

Open rogerburks opened 2 years ago

rogerburks commented 2 years ago

References #146 and #81

I think it is a good improvement if the player has the option to annex and re-form available cultural union tags and similar formables, for instance: re-forming Yugoslavia if they can annex it and fit the normal requirements. My idea for this is, if one is very close to a formable, it should not be prevented if another tag simply has a much easier path to it.

However, I believe that the formable itself must be annexed before this is made possible, so that the process is challenging but remains possible. A scenario would be: Someone is playing as Montenegro and is close to forming Yugoslavia, but Serbia outraces them. If Montenegro can annex Yugoslavia, it can then remove the flag yugoslavia_formed and can then reform Yugoslavia.

I have made a new decisions file, cch.various.txt to house small decisions like this, to avoid keeping them in older HFM files. The localization is stored in cch.fixes.csv.

Supplies new options to reform certain formable tags after annexation, and if the tag fulfills prior requirements for the formable. Provides new options for Scandinavia to revert back to a pre-Scandinavia tag if it lacks at least two of the three mainland European capitals involved. Provided a new option for an Indonesian tag to form Indonesia after it has been organized. Other formable tags affected: Transcaucasia, Tukulor Empire (in this case only a simple edit to make it check for existence instead of previous formation), Turkestan. Formables that are never or almost never formed by the ai are not addressed.

The Tukulor Empire fix includes moving the existence check for TOU to the Allow so that the player is aware of it.