Scripted effect
favour_the_countryside_basques_decision_generic_effects_scripted_effect
favour_the_countryside_basques_decision_generic_effects_scripted_effect = yesgame/common/scripted_effects/00_major_decisions_scripted_effects.txt, line 3801 (227 lines). No parameters.
favour_the_countryside_basques_decision_generic_effects_scripted_effect is a scripted effect in Crusader Kings III, written at line 3801 of its file. It takes no parameters: favour_the_countryside_basques_decision_generic_effects_scripted_effect = yes. The game's script calls it in 3 places, among them Champion the Faith of the Country Basques (decision), A Return to the Countryside (event iberia_north_africa.0121) and A Return to the Countryside (event iberia_north_africa.0122). Patch 1.20.1.2, from game/common/scripted_effects/00_major_decisions_scripted_effects.txt.
What it does
scope:religious_leader:If
Then
If
a check the game hides
Then
convert_family_culture_and_notify_vassals_effect = { CONVERTER = scope:religious_leader OLD_CULTURE = scope:religious_leader.culture NEW_CULTURE = scope:chosen_basque_culture }
Else if
- Basque: Any culture county:
Then
convert_family_culture_and_notify_vassals_effect = { CONVERTER = scope:religious_leader OLD_CULTURE = scope:religious_leader.culture NEW_CULTURE = culture:basque }
- Era Zaharrak:
remove_doctrine = unreformed_faith_doctrine
- They changes Faith to Era Zaharrak
• the game's own tooltip text · ◦ our reading of the script line · code the script where neither exists
“They” is whatever it runs on (the scope it is called in). The scripted triggers and effects it calls link to their own pages; $PARAMETERS$ stay as written: each call fills them in.
The script as written (120 lines of game script)
favour_the_countryside_basques_decision_generic_effects_scripted_effect = {
scope:religious_leader = {
# If you weren't Basque, become so.
if = {
limit = { favour_the_countryside_basques_counts_as_basque_trigger = no }
# Now, we need to work out which Basque culture you should be.
## First, we gather our candidates.
### Going through counties.
every_sub_realm_county = {
limit = {
favour_the_countryside_basques_counts_as_basque_trigger = yes
NOT = {
culture = { is_in_list = realm_basque_cultures_list }
}
}
culture = { add_to_list = realm_basque_cultures_list }
}
### Plus vassals.
every_vassal_or_below = {
limit = {
favour_the_countryside_basques_counts_as_basque_trigger = yes
NOT = {
culture = { is_in_list = realm_basque_cultures_list }
}
}
culture = { add_to_list = realm_basque_cultures_list }
}
### And those close to you.
every_close_or_extended_family_member = {
limit = {
favour_the_countryside_basques_counts_as_basque_trigger = yes
NOT = {
culture = { is_in_list = realm_basque_cultures_list }
}
}
culture = { add_to_list = realm_basque_cultures_list }
}
every_consort = {
limit = {
favour_the_countryside_basques_counts_as_basque_trigger = yes
NOT = {
culture = { is_in_list = realm_basque_cultures_list }
}
}
culture = { add_to_list = realm_basque_cultures_list }
}
every_relation = {
type = friend
limit = {
favour_the_countryside_basques_counts_as_basque_trigger = yes
NOT = {
culture = { is_in_list = realm_basque_cultures_list }
}
}
culture = { add_to_list = realm_basque_cultures_list }
}
every_relation = {
type = lover
limit = {
favour_the_countryside_basques_counts_as_basque_trigger = yes
NOT = {
culture = { is_in_list = realm_basque_cultures_list }
}
}
culture = { add_to_list = realm_basque_cultures_list }
}
## Next, we process the list.
if = {
limit = {
any_in_list = {
list = realm_basque_cultures_list
exists = this
}
}
ordered_in_list = {
list = realm_basque_cultures_list
order_by = {
value = 0
save_temporary_scope_as = culture_temp
# Culture counties are added differently depending on whether they're inside or outside the realm
every_culture_county = {
# Every culture county in your realm adds 10.
if = {
limit = {
holder = {
OR = {
this = scope:religious_leader
any_liege_or_above = { this = scope:religious_leader }
}
}
}
add = 10
}
# Every culture county outside your realm adds 5.
else = { add = 5 }
}
scope:religious_leader = {
# Vassals add weight depending on their rank.
every_vassal = {
if = {
limit = { culture = scope:culture_temp }
# Every king-tier vassal adds 50.
if = {
limit = { highest_held_title_tier = tier_kingdom }
add = 50
}
# Every duke-tier vassal adds 25.
else_if = {
limit = { highest_held_title_tier = tier_duchy }
add = 25
}
# Every count-tier vassal adds 10.
else_if = {
limit = { highest_held_title_tier = tier_county }
add = 10
}
# Barons are unimportant.
}
}
# Every close family member adds 15.As written in game/common/scripted_effects/00_major_decisions_scripted_effects.txt.
The first 120 of its 227 lines; the rest is in game/common/scripted_effects/00_major_decisions_scripted_effects.txt from line 3801.
Where it is used
Every place in common/, events/ and history/ that calls favour_the_countryside_basques_decision_generic_effects_scripted_effect.
Decisions (1)
Events (2)
- A Return to the Countryside
iberia_north_africa.0121 - A Return to the Countryside
iberia_north_africa.0122
Source: game/common/scripted_effects/00_major_decisions_scripted_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.