Scripted effect · Legends of the Dead files
grab_appropriate_chronicler_effect
grab_appropriate_chronicler_effect = yesgame/common/scripted_effects/06_dlc_ce1_legend_effects.txt, line 21 (100 lines). No parameters.
grab_appropriate_chronicler_effect is a scripted effect in Crusader Kings III, in the Legends of the Dead files, written at line 21 of its file. It takes no parameters: grab_appropriate_chronicler_effect = yes. The game's script calls it in 48 places, among them A … Blessing (event legend_spread_events.5005), A Bloody Heirloom (event legend_spread_events.5015) and A Deathbed Confession (event legend_spread_events.8060). Patch 1.20.1.2, from game/common/scripted_effects/06_dlc_ce1_legend_effects.txt.
What it does
Every line of it is script with no tooltip text: the script is below.
The script as written (100 lines of game script)
grab_appropriate_chronicler_effect = {
if = { #If the culture would have relied on poets for this we grab them first
limit = {
OR = {
culture = {
OR = {
has_cultural_tradition = tradition_fp1_northern_stories
has_cultural_parameter = poet_trait_gives_bonuses
has_cultural_tradition = tradition_storytellers
has_cultural_tradition = tradition_chanson_de_geste
}
}
rite = {
trait_is_virtue_rite = lifestyle_poet
}
}
any_court_position_holder = {
type = court_poet_court_position
is_available_ai_adult = yes
}
}
random_court_position_holder = {
type = court_poet_court_position
limit = {
is_available_ai_adult = yes
}
save_scope_as = chronicler
}
}
else_if = { #Otherwise we go for the Chronicler first
limit = {
any_court_position_holder = {
type = chronicler_court_position
is_available_ai_adult = yes
}
}
random_court_position_holder = {
type = chronicler_court_position
limit = {
is_available_ai_adult = yes
}
save_scope_as = chronicler
}
}
else_if = {
limit = {
any_court_position_holder = {
type = court_poet_court_position
is_available_ai_adult = yes
}
}
random_court_position_holder = {
type = court_poet_court_position
limit = {
is_available_ai_adult = yes
}
save_scope_as = chronicler
}
}
else_if = {
limit = {
any_court_position_holder = {
type = court_musician_court_position
is_available_ai_adult = yes
}
}
random_court_position_holder = {
type = court_musician_court_position
limit = {
is_available_ai_adult = yes
}
save_scope_as = chronicler
}
}
else = {
ordered_courtier = {
limit = {
this != root
is_available_ai_adult = yes
}
order_by = {
value = diplomacy
if = {
limit = {
OR = {
has_trait = lifestyle_poet
has_trait = journaller
}
}
add = 10
}
if = {
limit = { is_spouse_of = root }
add = -2
}
}
save_scope_as = chronicler
}
}
}As written in game/common/scripted_effects/06_dlc_ce1_legend_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls grab_appropriate_chronicler_effect.
Events (48)
- A … Blessing
legend_spread_events.5005 - A Bloody Heirloom
legend_spread_events.5015 - A Deathbed Confession
legend_spread_events.8060 - A Few Words?
legend_spread_events.5045 - A Grand Entrance
legend_spread_events.5070 - A Holy Happening
legend_spread_events.8070
42 more
- A Legendary Tipple
legend_spread_events.5420 - A Tearful Petition
legend_spread_events.0040 - A Virtuous Ancestor
legend_spread_events.8050 - An Angelic Initiation
legend_spread_events.8130 - Being Neighborly
legend_spread_events.5305 - Being the Best
legend_spread_events.5205 - Besmirched
legend_spread_events.5020 - Common People?
legend_spread_events.5415 - Crushing Blow
legend_spread_events.5245 - Cultural Choices
legend_spread_events.5055 - Discretion or Valor?
legend_spread_events.5240 - Do You Remember?
legend_spread_events.0030 - Dusty Tomes
legend_spread_events.5025 - Exotic Aims
legend_spread_events.5200 - Family Flora
legend_spread_events.5040 - Family Matters
legend_spread_events.5035 - Flower Power
legend_spread_events.5225 - Friends In High Places
legend_spread_events.5030 - Good Timing
legend_spread_events.5260 - Holy Bread
legend_spread_events.5065 - Holy Sights
legend_spread_events.5060 - Innocent Voices
legend_spread_events.0001 - Lain Hands
legend_spread_events.5010 - Making an Entrance
legend_spread_events.5050 - Nature's Traps
legend_spread_events.5220 - Necessary Embellishments
legend_spread_events.5400 - One on One
legend_spread_events.5235 - One-Eyed Bandit
legend_spread_events.5210 - Rumors From the Wild
legend_spread_events.5405 - Saving an Innocent
legend_spread_events.5250 - Sound Foundations
legend_spread_events.5000 - Staunch Worship
legend_spread_events.5075 - Taste for Blood
legend_spread_events.5230 - The … Child
legend_spread_events.8190 - The … of the …
legend_spread_events.8090 - The Hidden Tome
legend_spread_events.8000 - The Legendary Fist
legend_spread_events.8080 - The Local Sport
legend_spread_events.5216 - The Mystical …
legend_spread_events.8120 - Unbe-leaf-able
legend_spread_events.5215 - War Tales
legend_spread_events.5255 - What Lies Beyond?
legend_spread_events.5410
Source: game/common/scripted_effects/06_dlc_ce1_legend_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.