Scripted effect
post_education_bonuses_effect
post_education_bonuses_effect = yesgame/common/scripted_effects/00_education_effects.txt, line 3008 (14 lines). No parameters.
post_education_bonuses_effect is a scripted effect in Crusader Kings III, written at line 3008 of its file. It takes no parameters: post_education_bonuses_effect = yes. The game's script calls it in 5 places, among them Coming of Age (event coming_of_age.0001), Coming of Age (event coming_of_age.0002) and Coming of Age (event coming_of_age.0003). Patch 1.20.1.2, from game/common/scripted_effects/00_education_effects.txt.
What it does
If
character_has_commander_trait_scope_does_not = scope:educator- scope:educator › Their culture: The Culture has the Guardians can transfer Commander Traits to their Wards Tradition
Then
• 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 (14 lines of game script)
post_education_bonuses_effect = {
if = {
limit = {
exists = scope:educator
character_has_commander_trait_scope_does_not = scope:educator
scope:educator = {
culture = {
has_cultural_parameter = guardians_can_transfer_commander_traits
}
}
}
culture_randomize_commander_trait_effect = yes
}
}As written in game/common/scripted_effects/00_education_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls post_education_bonuses_effect.
Events (5)
- Coming of Age
coming_of_age.0001 - Coming of Age
coming_of_age.0002 - Coming of Age
coming_of_age.0003 - Coming of Age
coming_of_age.0004 - Coming of Age
coming_of_age.0005
Source: game/common/scripted_effects/00_education_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.