Scripted effect · The Fate of Iberia files
fp2_struggle_conciliation_cultural_acceptance_effect
fp2_struggle_conciliation_cultural_acceptance_effect = yesgame/common/scripted_effects/03_dlc_fp2_scripted_effects.txt, line 581 (39 lines). No parameters.
fp2_struggle_conciliation_cultural_acceptance_effect is a scripted effect in Crusader Kings III, in the The Fate of Iberia files, written at line 581 of its file. It takes no parameters: fp2_struggle_conciliation_cultural_acceptance_effect = yes. The game's script calls it in 1 place, among them Détente (event fp2_struggle.0902). Patch 1.20.1.2, from game/common/scripted_effects/03_dlc_fp2_scripted_effects.txt.
The comment above it in the file
Add cultural acceptance between Involved cultures
What it does
Every line of it is script with no tooltip text: the script is below.
The script as written (39 lines of game script)
fp2_struggle_conciliation_cultural_acceptance_effect = {
hidden_effect = {
while = {
limit = {
any_in_global_list = {
variable = fp2_struggle_ending_culture_list
NOT = { has_variable = fp2_struggle_conciliation_flag }
}
}
ordered_in_global_list = {
variable = fp2_struggle_ending_culture_list
limit = {
NOT = { has_variable = fp2_struggle_conciliation_flag }
}
order_by = culture_number_of_counties
save_scope_as = culture_scope
set_variable = fp2_struggle_conciliation_flag # variable ensures acceptance is only gained once per couple
}
every_in_global_list = {
variable = fp2_struggle_ending_culture_list
limit = {
NOR = {
has_variable = fp2_struggle_conciliation_flag
this = scope:culture_scope
}
}
change_cultural_acceptance = {
target = scope:culture_scope
value = fp2_struggle_conciliation_culture_acceptance_value
desc = fp2_struggle_conciliation_acceptance_tt
}
}
}
every_in_global_list = {
variable = fp2_struggle_ending_culture_list
remove_variable = fp2_struggle_conciliation_flag
}
}
}As written in game/common/scripted_effects/03_dlc_fp2_scripted_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls fp2_struggle_conciliation_cultural_acceptance_effect.
Events (1)
- Détente
fp2_struggle.0902
Source: game/common/scripted_effects/03_dlc_fp2_scripted_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.