Scripted effect · Tours and Tournaments files
grab_attending_culture_faith_barony_effect
grab_attending_culture_faith_barony_effect = yesgame/common/scripted_effects/04_dlc_ep2_tournament_effects.txt, line 3225 (22 lines). No parameters.
grab_attending_culture_faith_barony_effect is a scripted effect in Crusader Kings III, in the Tours and Tournaments files, written at line 3225 of its file. It takes no parameters: grab_attending_culture_faith_barony_effect = yes. The game's script calls it in 6 places, among them …: Be A …! (event tournament_events.7000), …: Local Lancer (event tournament_events.6900) and Rags to Maile (event tournament_events.1230). Patch 1.20.1.2, from game/common/scripted_effects/04_dlc_ep2_tournament_effects.txt.
What it does
Every line of it is script with no tooltip text: the script is below.
The script as written (22 lines of game script)
grab_attending_culture_faith_barony_effect = {
random_attending_character = {
limit = { culture.culture_number_of_counties > 0 }
culture = { save_scope_as = attending_culture }
}
scope:attending_culture = {
random_culture_county = {
faith = { save_scope_as = attending_faith }
random_direct_de_jure_vassal_title = { save_scope_as = attending_barony }
}
}
if = {
limit = {
NOT = { exists = scope:attending_culture }
}
scope:activity.activity_location.barony = { save_scope_as = attending_barony }
scope:attending_barony.county = {
culture = { save_scope_as = attending_culture }
faith = { save_scope_as = attending_faith }
}
}
}As written in game/common/scripted_effects/04_dlc_ep2_tournament_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls grab_attending_culture_faith_barony_effect.
Events (4)
- …: Be A …!
tournament_events.7000 - …: Local Lancer
tournament_events.6900 - Rags to Maile
tournament_events.1230 - The Red Coin
tournament_events.1320
Source: game/common/scripted_effects/04_dlc_ep2_tournament_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.