At least, not as decisions...
Made a couple of simple decisions with the following code:
In-game, the trigger check_variable displays properly. However, the effect change_variable does not, and clicking the button has no effect. The code seems to work fine in EU3 (some mods use it but I haven't checked it myself).
Made a couple of simple decisions with the following code:
Code:
country_decisions = {
set_variable = {
allow = {
ai = no
}
effect = {
change_variable = { which = variable_test value = 1 }
}
}
change_variable = {
allow = {
ai = no
check_variable = { which = variable_test value = 1 }
}
effect = {
change_variable = { which = variable_test value = -1 }
}
}
}
In-game, the trigger check_variable displays properly. However, the effect change_variable does not, and clicking the button has no effect. The code seems to work fine in EU3 (some mods use it but I haven't checked it myself).
Upvote
0