
ActionModifié dans cette version
Ajouter une Culture acceptée
Désignez une nouvelle Culture en tant que Culture acceptée dans notre Pays. Si cette culture est déjà bien établie, cela ne sera pas coûteux.
Définitionin_game/common/generic_actions/culture.txt:1
2type = owncountry
4potential = {
}
7allow = {
8trigger_if = {
9limit = {
10exists = scope:target
11exists = scope:actor
}
13scope:actor = {
14culture_population_in_country = {
15culture = scope:target
16value > 0
}
}
}
}
22ai_tick = never
23ai_tick_frequency = 12
25automation_tick = monthly
26automation_tick_frequency = 1
27player_automated_category = cultureacceptance
29price = price:add_accepted_culture
31select_trigger = {
32looking_for_a = culture
33target_flag = target
34source = actor
35source_flags = only_tolerated
37name = "add_accepted_culture_select_culture" Choisissez la culture à ajouter :
38none_available_msg_key = "add_accepted_culture_no_cultures"
39column = {
40data = name
}
42visible = {
43not = {
43is_accepted_in = scope:actor
}
}
45enabled = {
46is_tolerated_in = scope:actor
47NOT = {
48scope:actor.culture = this
}
50scope:actor = {
51OR = {
52culture_percentage_in_country = {
53culture = root
54value >= 0.025
}
57culture_population_in_country = {
58culture = root
59value >= 1000
}
61any_estate = {
62dominant_culture ?= {
62this = root
}
}
}
}
}
}
69effect = {
70scope:actor = {
71if = {
72limit = {
73exists = scope:target
}
75add_accepted_culture = scope:target
}
}
}
80ai_will_do = {
}