Scripted Effect
start_german_migration
Add migration: Owner: the owner · From location: from location · To: to province · Culture: target culture · Months: num months
Amount
- Value
- Value: num pops per month
- Multiply
- Value
- Value: 100
- Divide
- Value: 1,430
- Subtract: 1,337
- Multiply
- Value: 1,430
- Subtract:
current_year - Min: 0
- Divide: 100
- Value
- Floor: yes
- MaxValue
$from_location$Ordered pop (up to 1, highestpop_sizefirst)where- Is
Peasants - Culture: target culture
Value- Value:
pop_size - Multiply: 1,000
- Subtract: safety threshold of peasants
- Divide: num months
- Min: 0
- Is
- Divide: 1,000
Exact script
Script that calls it fills these in, as each caller in Connections shows.
$the_owner$$from_location$$to_province$$target_culture$$num_pops_per_month$$safety_threshold_of_peasants$$num_months$
Requires 1
PeasantsAdd migration
Used by 1
- Invite German Settlersfrom_location = scope:scope_german_location · num_months = 48 · num_pops_per_month = 50 · safety_threshold_of_peasants = 2000 · target_culture = scope:german_migrating_culture · the_owner = scope:scope_german_location_owner · to_province = this.province_definition (+1)Option 1, Option 2