So i want to make 4 decisions. One for military, diplomacy,economy and religion. Each category gives 1-2 bonuses (ex: +25 % land morale) for a couple of years.
So far, i wrote this lines of code :
---------------------------------------------------------------------------------------
country_decisions = {
Military_power = {
allow = {
num_of_cities >= 1
can_pay_price = Mil_power1
NOT = {
has_country_modifier = recently_bought_modifier
}
}
effect = {
add_province_modifier = {
global_tax_modifier = 232
}
pay_price = Mil_power1
add_country_modifier = {
name = "recently_bought_modifier"
duration = 365
}
}
ai_will_do = {
factor = 0
}
}
---------------------------------------------------------------------------------------
So far the code isn't working. The decision is showing in the decisions tab, but i can't click it.
So far, i wrote this lines of code :
---------------------------------------------------------------------------------------
country_decisions = {
Military_power = {
allow = {
num_of_cities >= 1
can_pay_price = Mil_power1
NOT = {
has_country_modifier = recently_bought_modifier
}
}
effect = {
add_province_modifier = {
global_tax_modifier = 232
}
pay_price = Mil_power1
add_country_modifier = {
name = "recently_bought_modifier"
duration = 365
}
}
ai_will_do = {
factor = 0
}
}
---------------------------------------------------------------------------------------
So far the code isn't working. The decision is showing in the decisions tab, but i can't click it.
Last edited: