I play for the USSR, several times. Participated in the Spanish Civil War. I drew attention to the fact that after the end of the war, Spain could become a puppet. At the last attempt, he actively pumped the popularity of communism with the help of spies, while Spain followed anti-Soviet tricks. As a result, she became a puppet.
It is very important for me to understand what are the conditions for this to work. I found the following event in the game files, but I can't figure out what conditions to trigger it.
F:\SteamLibrary\steamapps\common\Hearts of Iron IV\events
LAR_Spain.txt
# End of SCW, Republicans expanded Soviet aid - event for SPD
country_event = {
id = lar_spain.82
title = lar_spain.82.t
desc = lar_spain.82.desc
picture = GFX_report_event_generic_parliament
is_triggered_only = yes
immediate = {
hidden_effect = {
if = {
limit = {
has_government = democratic
}
set_country_flag = SPR_democratic_government_flag
}
set_temp_variable = {
var = soviet_puppet_democratic_var
value = party_popularity@democratic
}
SOV = { puppet = SPD }
if = {
limit = {
has_country_flag = SPR_democratic_government_flag
}
set_politics = {
ruling_party = democratic
}
clr_country_flag = SPR_democratic_government_flag
}
set_political_party = {
ideology = communism
popularity = 100
}
add_popularity = {
ideology = democratic
popularity = soviet_puppet_democratic_var
}
}
}
option = { # Ok
name = lar_spain.82.a
effect_tooltip = {
SOV = { puppet = SPD }
}
}
}