
Landesinteraktion
Siedler einladen
Siedler einladen, in unserem Land zu leben und zu arbeiten.
Definitionin_game/common/country_interactions/invite_settlers.txt:1
2type = diplomacy
3category = CATEGORY_FRIENDLY_ACTIONS
5ai_tick = never
7potential = {
8scope:actor = {
9country_type = location
}
}
13allow = {
}
16cooldown = {
17type = invite_settlers
18years = 2
}
21diplomatic_cost = invite_settlers_cost
23select_trigger = {
24looking_for_a = country
25target_flag = recipient
26name = "choose_country" Das Land wählen:
27column = {
28data = name
}
30visible = {
31scope:actor = {
32culture = {
33save_temporary_scope_as = actor_culture
}
}
36culture = {
37any_culture_group = {
38scope:actor_culture = {
39has_culture_group = prev
}
}
}
}
44enabled = {
}
}
48select_trigger = {
49looking_for_a = province
50source = actor
51target_flag = target
52name = "invite_settlers_select_destination" Provinz auswählen, in die Siedler eingeladen werden sollen
53column = {
54data = name
}
56column = {
57data = population
}
59visible = {
}
}
63effect = {
64if = {
65limit = {
66exists = scope:target
}
68add_migration = {
69owner = scope:recipient
70to_owner = scope:actor
71from = scope:recipient.capital.province_definition
72to = scope:target.province_definition
74amount = 0.010
75months = 24
}
}
}
80ai_will_do = {
82add = -10
83add = "scope:actor.country_interaction_acceptance(country_interaction:invite_settlers|scope:recipient)"
}
85diplo_chance = {
86base = -25
87opinion = 0.2
88border_distance = -0.01
}
90accept = {
91if = {
92limit = {
93exists = scope:recipient
94scope:recipient = {
95monthly_population_change < 0
96total_population > 0
}
}
99subtract = {
100desc = "POPULATION_IN_DECLINE" Bevölkerung im Rückgang
101value = "scope:recipient.monthly_population_change"
102divide = "scope:recipient.total_population"
103multiply = 20
}
}
}