ComPatch BPM + E&F

If you liked this item, please rate it up on Steam Workshop page.

Author: BED_TRIP

Last revision: 21 Jan at 07:11 UTC

File size: 795.88 KB

On Steam Workshop

Description:

This is a compatibility patch for using Better Politics Mod (BPM) together with Economic and Financial Mod (E&F).

Load order

This patch should be loaded after both mods. Place other mods after it only if they do not overwrite the same UI/script keys (especially IG tooltip GUI and law UI localization).

What this patch does
  • Fixes Interest Group tooltip UI conflict (icons/layout)
    • Both mods touch the IG tooltip type FancyTooltip_IG. With load order E&F -> BPM, BPM overwrites E&F’s tooltip layout.
    • This patch re-applies the E&F layout while keeping BPM’s ideology visibility filter.

  • Fixes law/UI localization conflicts overwritten by BPM
    • Adds compatibility localization overrides for all languages.
    • Includes a merged ENACT_LAW tooltip (E&F checkpoint chances + BPM "Rigidity" info) and restores/clarifies several UI keys that had different meaning in E&F vs BPM.

  • Merges the key technology conflict: currency_standards
    • Both mods do REPLACE:currency_standards. Without a merge, E&F’s monetary system can break.
    • This patch ships a merged REPLACE:currency_standards that keeps E&F’s on_researched hook (fiat activation) and includes BPM prerequisites/modifiers.

  • Restores E&F monetary stances after BPM REPLACE ideologies
    • BPM recreates several vanilla ideologies via REPLACE:ideology_*, which wipes E&F’s earlier INJECT blocks.
    • This patch re-injects E&F monetary law stances for vanilla ideologies and also extends them to BPM-added ideologies, so E&F monetary laws have proper ideology support.

  • Integrates E&F monetary ideologies into BPM gameplay
    • Ensures monetary ideologies are assigned via BPM country setup and also when currency_standards is researched mid-game.
    • Adds a neutral ideology ideology_monetary_no_policy for groups that otherwise have no monetary stance, and removes it automatically when a “real” monetary ideology is present (prevents double-stacking).

  • Adds E&F monetary ideologies to BPM-style character ideology pools
    • Injects ideology_monetary_* into character_ideologies pools so newly generated characters can spawn with them like other BPM ideologies.

  • BPM-style icons for monetary ideologies
    • Adds custom icons in gfx/interface/icons/ideology_icons/ (mon_left.dds, mon_liberal.dds, mon_right.dds, mon_placeholder.dds) and redirects E&F monetary ideology icons to match BPM’s icon style.

Notes / compatibility
  • If you use other UI mods that also redefine the IG tooltip types, you may need an additional UI merge.
  • If you use other mods that replace currency_standards (or E&F monetary laws/ideologies), you may need another compatibility patch.
  • This patch is focused on compatibility (preventing overwrites / missing UI / missing monetary stances), not on rebalancing BPM or E&F.

my github[github.com]