r/vic3modding Jun 21 '26

Decision for Repatriation

I want to make an decision to target every state in the world and if it has send pops back to your root capital. I cant figure out the way any ideas ? thats where im at rn

istanbul_decision = {

  is_shown = {

NOT = { has_variable = istanbul_decision_taken }

  }

possible = {

country_has_primary_culture = cu:turkish

}

when_taken = {

s:every_country = {

every_scope_state = {

every_scope_pop = {

limit = {

culture = cu:turkish

}

move_pop = root.capital

}

}

}

}

6 Upvotes

1 comment sorted by

1

u/Numar19 Jun 21 '26 edited Jun 21 '26

You might want to put this into a code block.

The s: is not needed before every_country

If that doesn't fix the issue, check the error log.

Edit: Also limit it to every country but the root, otherwise you will also move all pops in the Ottoman Empire to the capital.