Initial commit

This commit is contained in:
Ваше имя
2026-10-17 14:54:36 +03:00
commit f80644285e
526 changed files with 99561 additions and 0 deletions
+32
View File
@@ -0,0 +1,32 @@
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
}
}
}
}
@@ -0,0 +1,44 @@
town_hall_startup = {
effect = {
# Historical capitals start with a level-1 Capitol administrative centre.
location:khanbaliq = {
construct_building = { building_type = building_type:Capitol instant = yes cost_multiplier = 0 cost_multiplier_reason = "game_start" }
}
location:paris = {
construct_building = { building_type = building_type:Capitol instant = yes cost_multiplier = 0 cost_multiplier_reason = "game_start" }
}
location:constantinople = {
construct_building = { building_type = building_type:Capitol instant = yes cost_multiplier = 0 cost_multiplier_reason = "game_start" }
}
location:cairo = {
construct_building = { building_type = building_type:Capitol instant = yes cost_multiplier = 0 cost_multiplier_reason = "game_start" }
}
location:krakow = {
construct_building = { building_type = building_type:Capitol instant = yes cost_multiplier = 0 cost_multiplier_reason = "game_start" }
}
location:prague = {
construct_building = { building_type = building_type:Capitol instant = yes cost_multiplier = 0 cost_multiplier_reason = "game_start" }
}
location:valladolid = {
construct_building = { building_type = building_type:Capitol instant = yes cost_multiplier = 0 cost_multiplier_reason = "game_start" }
}
location:naples = {
construct_building = { building_type = building_type:Capitol instant = yes cost_multiplier = 0 cost_multiplier_reason = "game_start" }
}
location:buda = {
construct_building = { building_type = building_type:Capitol instant = yes cost_multiplier = 0 cost_multiplier_reason = "game_start" }
}
location:london = {
construct_building = { building_type = building_type:Capitol instant = yes cost_multiplier = 0 cost_multiplier_reason = "game_start" }
}
location:milan = {
construct_building = { building_type = building_type:Capitol instant = yes cost_multiplier = 0 cost_multiplier_reason = "game_start" }
}
location:bursa = {
construct_building = { building_type = building_type:Capitol instant = yes cost_multiplier = 0 cost_multiplier_reason = "game_start" }
}
location:moscow = {
construct_building = { building_type = building_type:Capitol instant = yes cost_multiplier = 0 cost_multiplier_reason = "game_start" }
}
}
}
@@ -0,0 +1,21 @@
monthly_country_pulse = {
on_actions = {
on_papal_opinion_added
on_papal_opinion_removed
on_papacy_reform_removed
on_papal_authority_updated
france_naples_administration_broken
on_new_appanage
on_vassalized_appanage
on_former_independent_appanage
on_disloyal_independent_appanage
on_annexing_subject_monthly_pulse
on_settle_the_frontier_monthly_pulse
wor_on_wallenstein_prison_occupation
wor_on_wallenstein_prison_timeout
on_fraticide_underage_succession_waiting
rov_monthly_country_effects
cveg_monthly_integration_check
rov_integration_buildings_monthly
}
}
@@ -0,0 +1,6 @@
on_game_start = {
on_actions = {
town_hall_startup
}
}
@@ -0,0 +1,68 @@
# ============================================================
# Integration chain: province-scope bridge
# ============================================================
# province_integration_speed belongs to the *province* modifier category,
# while a building's own modifier block is location-scope only. So the
# province-wide bonus is maintained here, the same way
# cveg_monthly_integration_check maintains province_base: reconciled on the
# monthly country pulse, which keeps it correct when the building is
# destroyed, upgraded, or when the location stops being conquered and
# becomes a core.
rov_integration_buildings_monthly = {
effect = {
every_province = {
if = {
limit = {
any_location_in_province = {
has_building = building_type:integration_ministry
}
}
rov_integration_clear_province_tier_effect = yes
if = {
limit = {
NOT = { has_province_modifier = rov_integration_ministry_province }
}
add_province_modifier = {
modifier = rov_integration_ministry_province
}
}
}
else_if = {
limit = {
any_location_in_province = {
has_building = building_type:integration_chancery
}
}
rov_integration_clear_province_tier_effect = yes
if = {
limit = {
NOT = { has_province_modifier = rov_integration_chancery_province }
}
add_province_modifier = {
modifier = rov_integration_chancery_province
}
}
}
else_if = {
limit = {
any_location_in_province = {
has_building = building_type:integration_office
}
}
rov_integration_clear_province_tier_effect = yes
if = {
limit = {
NOT = { has_province_modifier = rov_integration_office_province }
}
add_province_modifier = {
modifier = rov_integration_office_province
}
}
}
else = {
rov_integration_clear_province_tier_effect = yes
}
}
}
}
@@ -0,0 +1,6 @@
rov_monthly_country_effects = {
effect = {
ai_monthly_house_construction_effect = yes
ai_monthly_proximity_house_construction_effect = yes
}
}