Files
Proximity_Control_Overhaul/in_game/common/on_action/Intgration.txt
T
2026-10-17 14:54:36 +03:00

33 lines
770 B
Plaintext

cveg_monthly_integration_check = {
effect = {
# 1. Вешаем модификатор на все провинции НЕинтегрированных штатов
every_state_in_the_world = {
limit = {
is_integrated = no
}
every_location_in_state = {
limit = {
NOT = { has_location_modifier = province_base }
}
add_location_modifier = {
modifier = province_base
}
}
}
# 2. Снимаем модификатор со всех провинций интегрированных штатов
every_state_in_the_world = {
limit = {
is_integrated = yes
}
every_location_in_state = {
limit = {
has_location_modifier = province_base
}
remove_location_modifier = province_base
}
}
}
}