Files
az-vnr-patch/src/events/az_vnr_patch.txt
2024-11-26 07:01:43 +08:00

51 lines
966 B
Plaintext
Executable File

add_namespace = az_vnr_patch
country_event = {
id = az_vnr_patch.1
hidden = yes
is_triggered_only = yes
immediate = {
if = {
limit = {
has_global_flag = modoption_fengkuangai_on
}
set_variable = {
vnr_ai_difficulty = 3
}
set_variable = {
vnr_ai_production = 3
}
update_ai_combat_bonus = yes
update_ai_production_bonus = yes
# every_country = {
# limit = {
# is_ai = yes
# }
# add_ideas = az_vnr_extra
# }
}
else_if = {
limit = {
has_global_flag = modoption_dingzhenai_on
}
set_variable = {
vnr_ai_difficulty = 0
}
set_variable = {
vnr_ai_production = 0
}
update_ai_combat_bonus = yes
update_ai_production_bonus = yes
}
else = {
set_variable = {
vnr_ai_difficulty = 1
}
set_variable = {
vnr_ai_production = 1
}
update_ai_combat_bonus = yes
update_ai_production_bonus = yes
}
}
}