Событие

Target Country Adjectiveие горожане заселяют район Target Location Destination

societal_values.2318in_game/events/government/societal_values.txt:11031
… ие горожане заселяют район …

Горожане — выходцы из CL GEN начинают всё более деятельно участвовать в жизни района Target Location Destination. Благодаря их усилиям наши торговые потоки теснее переплелись с торговыми потоками Срединного государства, что сулит поступление на рынки новых товаров и дальнейшее процветание. Впрочем, рады этому не все: нас предупреждают, что иностранные купцы получат слишком большое влияние на нашу экономику.

ТребуетСрединное государствоМеждународное объединениеtriggerКитаизация — СамобытностьОбщественная ценностьtrigger

Определениеin_game/events/government/societal_values.txt:11031

11032type = country_event
11033title = societal_values.2318.title Target Country Adjectiveие горожане заселяют район Target Location Destination
11034desc = societal_values.2318.desc Горожане — выходцы из CL GEN начинают всё более деятельно участвовать в жизни района Target Location Destination. Благодаря их усилиям наши торговые потоки теснее переплелись с торговыми потоками Срединного государства, что сулит поступление на рынки новых товаров и дальнейшее процветание. Впрочем, рады этому не все: нас предупреждают, что иностранные купцы получат слишком большое влияние на нашу экономику.
11035outcome = neutral
11037illustration_tags = {
1103810 = regular
1103910 = interior
}
11042trigger = {
11043num_of_non_rural > 0
11044has_societal_value = societal_value_type:sinicized_vs_unsinicized
11046is_member_of_international_organization = international_organization:middle_kingdom
11047NOT = {
11047is_leader_of_international_organization = international_organization:middle_kingdom
}
11048any_market_with_merchants = {
}
11050any_owned_non_rural_location = {
11051market = {
}
}
}
11055immediate = {
11057save_scope_as = target_country
}
11058ordered_owned_non_rural_location = {
11059limit = {
11060market = {
11060has_merchant = scope:target_country
}
}
11062order_by = {
11063value = location_population_percentage
11064multiply = -1
11065if = {
11066limit = {
11067market = {
11067has_merchant = scope:target_country
}
}
11069divide = 0.5
}
}
11072max = 8
11073check_range_bounds = no
11074add_to_list = 2318_destination_list
}
11078random_in_list = {
11079list = 2318_destination_list
11080save_scope_as = target_location_destination
11081province_definition = {
11081save_scope_as = target_province_definition_destination
}
11084province = {
11084save_scope_as = target_province_origin
}
}
11086scope:target_country = {
11087ordered_owned_non_rural_location = {
11088order_by = {
11089value = "distance_to_squared(scope:target_location_destination)"
11090multiply = -1
11091if = {
11092limit = {
11093market = {
11093has_merchant = ROOT
}
}
11095divide = 0.5
}
}
11098max = 8
11099check_range_bounds = no
11100province_definition = {
11101add_to_list = 2318_origin_list
}
}
}
11105random_in_list = {
11106list = 2318_origin_list
11107save_scope_as = target_province_definition_origin
}
}

Варианты

AЧем больше горожан, тем лучше, правда?
11114add_migration = {
11115owner = scope:target_country
11116from = scope:target_province_definition_origin
11117to = scope:target_province_definition_destination
11118type = pop_type:burghers
11119amount = {
11120value = {
11121add = scope:target_province_origin.population
11122multiply = {
0.001
0.002
}
}
}
11125months = 6
}
11128change_societal_value = {
}