
ActionChanged this version
Add Tolerated Culture
Add a new Culture as a Tolerated Culture in our Country. If it is a kindred culture, it will not be costly to maintain.
Definitionin_game/common/generic_actions/culture.txt:372
373type = owncountry
375potential = {
}
378allow = {
379trigger_if = {
380limit = {
381exists = scope:target
382exists = scope:actor
}
384scope:actor = {
385culture_population_in_country = {
386culture = scope:target
387value > 0
}
}
}
}
393ai_tick = never
394ai_tick_frequency = 12
396automation_tick = monthly
397automation_tick_frequency = 1
398player_automated_category = cultureacceptance
400price = price:add_tolerated_culture
402select_trigger = {
403looking_for_a = culture
405source_ai_override = actor
406target_flag = target
407source_flags_ai_override = include_any_present
408name = "add_tolerated_culture_select_culture" Select the culture to add:
409none_available_msg_key = "add_tolerated_culture_no_cultures"
410column = {
411data = name
}
413enabled = {
414NOR = {
415scope:actor.culture = this
416is_tolerated_in = scope:actor
417is_accepted_in = scope:actor
}
419scope:actor = {
420OR = {
421culture_percentage_in_country = {
422culture = root
423value >= 0.01
}
427culture_population_in_country = {
428culture = root
429value >= 1000
}
431any_estate = {
432dominant_culture ?= {
432this = root
}
}
}
}
}
}
439effect = {
440scope:actor = {
441if = {
442limit = {
443exists = scope:target
}
445add_tolerated_culture = scope:target
}
}
}
450ai_will_do = {
}