脚本效果
start_german_migration
Add migration: 拥有者: the owner · From location: from location · To: to province · 文化: 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 (最多1个,pop_size最高者优先)条件- 是
农民 - 文化: target culture
Value- Value:
pop_size - Multiply: 1,000
- Subtract: safety threshold of peasants
- Divide: num months
- Min: 0
- 是
- Divide: 1,000
完整脚本
调用它的脚本会填入这些值,各调用处见“关联”。
$the_owner$$from_location$$to_province$$target_culture$$num_pops_per_month$$safety_threshold_of_peasants$$num_months$
需要 1
农民Add migration
被使用于 1
- 邀请德意志定居者from_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)选项 1, 选项 2