lolintui
just asking
2qwrqawwqas
A few ways you could do it.
You could have a check on the individual ideology having a certain amount of support, e.g.
if = {
limit = {
democracy > 0.3 #If more than 30% democracy support
}
#Trigger democratic uprising
else = {
#Trigger communist uprising
}
}
Or you could set variables on the previous focuses (Remember The Spring & Remember The Strikes) by adding this to the reward:
set_variable = { maydayriot = democracy } or set_variable = { maydayriot = communism } - For the relative focuses.
Then in May Day Riots, you should be able to do something like:
start_civil_war = {
ruling_party = var:maydayriot #This will use the variable set in the previous focus to determine which ideology starts the civil war
ideology = ROOT #This will keep the nation in its original ideology
}
If you wanted to change the ideology to the one selected, but have the uprising happen for the ideology you kick out. You just need to swap around the values for the ideology & ruling_party
-jordsta95
thank you
So I'm trying to do an overhaul of the Austrian focus tree, and I'm having some trouble with a civil war focus,it supposed to trigger a democratic uprising if the democratic path is taken and a communist one if the commie path is taken
but idk how to code, could you guys please help me?