HoI 4 - Recovering from Civil War national Focus not Removed

  • We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

StuH

Recruit
34 Badges
Jun 15, 2022
1
0
  • Cities: Skylines - Campus
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Cities: Skylines - Parklife
  • Stellaris: Distant Stars
  • Cities: Skylines Industries
  • Stellaris: Megacorp
  • Hearts of Iron IV: Expansion Pass
  • Prison Architect
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Ancient Relics
  • Stellaris: Lithoids
  • Hearts of Iron IV: La Resistance
  • Stellaris: Federations
  • Battle for Bosporus
  • Stellaris: Necroids
  • Stellaris: Nemesis
  • Stellaris: Digital Anniversary Edition
  • Magicka
  • Sword of the Stars
  • Cities: Skylines
  • Mount & Blade: Warband
  • Magicka 2
  • Cities: Skylines - After Dark
  • Stellaris
  • Hearts of Iron IV: Cadet
  • A Game of Dwarves
  • Stellaris: Leviathans Story Pack
  • Hearts of Iron IV: Together for Victory
  • Stellaris - Path to Destruction bundle
  • Cities: Skylines - Mass Transit
  • Hearts of Iron IV: Death or Dishonor
  • Stellaris: Synthetic Dawn
  • Age of Wonders III
Description of issue
Recovering from Civil War national Focus not Removed

Game Version
Barbarossa v1.11.12.82b4 (22d5)

Enabled DLC
Waking the Tiger, La Resistance

Do you have mods enabled?
No

Description
Playing Ahistorical I got puppeted by Soviet after winning civil war as republican Spain and asking them for support down the focus path.

I took the focus the 5 Year Plan it has given me the Bonus for the Plan, but not removed the Malus

Steps to Reproduce
Take the Focus "5 Year Plan" as Republican Spain after being puppeted by Soviet Union

Upload Attachment
File(s) attached
 

Attachments

  • hoi 4 bug 2.jpg
    hoi 4 bug 2.jpg
    639 KB · Views: 0
  • hoi 4 bug.jpg
    hoi 4 bug.jpg
    604,1 KB · Views: 0
  • Ironman Spain 1.hoi4
    22,3 MB · Views: 0
Upvote 0

Mefisto1029

First Lieutenant
12 Badges
Aug 15, 2018
269
211
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Together for Victory
  • Hearts of Iron IV: Death or Dishonor
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: La Resistance
  • Battle for Bosporus
  • Hearts of Iron IV: No Step Back
  • Hearts of Iron IV: By Blood Alone
  • Crusader Kings II
  • Age of Wonders III
  • Shadowrun Returns
It's only tooltip that is suggesting it will be removed.
XML:
        completion_reward = {
            add_timed_idea = { idea = SPR_the_five_year_plan days = 1825 }
            if = {
                limit = {
                    has_idea = SPA_recovering_from_civil_war_3
                }
                remove_ideas = SPA_recovering_from_civil_war_3
            }
            else_if = {
                limit = {
                    has_idea = SPA_recovering_from_civil_war_2
                }
                swap_ideas = {
                    remove_idea = SPA_recovering_from_civil_war_2
                    add_idea = SPA_recovering_from_civil_war_3
                }
            }
            else_if = {
                limit = {
                    has_idea = SPA_recovering_from_civil_war
                }
                swap_ideas = {
                    remove_idea = SPA_recovering_from_civil_war
                    add_idea = SPA_recovering_from_civil_war_2
                }
            }
            else_if = {
                limit = {
                    NOT = { has_global_flag = scw_over }
                }
                effect_tooltip = {
                    swap_ideas = {
                        remove_idea = SPA_recovering_from_civil_war
                        add_idea = SPA_recovering_from_civil_war_2
                    }
                }
            }
        }
Actually there's 3 different stages of "Recovering From Civil War":
- SPA_recovering_from_civil_war
- SPA_recovering_from_civil_war_2
- SPA_recovering_from_civil_war_3

When you selected this focus you had SPA_recovering_from_civil_war_2, so after completion you swapet it to SPA_recovering_from_civil_war_3.
But after you completed it you have SPA_recovering_from_civil_war_3, so tooltip is saying that you will remove it.