Scripted effect
monastic_education_boost_effect
monastic_education_boost_effect = yesgame/common/scripted_effects/00_education_effects.txt, line 3547 (56 lines). No parameters.
monastic_education_boost_effect is a scripted effect in Crusader Kings III, written at line 3547 of its file. It takes no parameters: monastic_education_boost_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
- Their court owner: Their government has the government is monastic holy order flag
Then
If
has_focus = education_stewardship
Then
- 1 of 3 things will happen:
- 10%: Nothing else happens
- 70%: Nothing else happens
- 20%: Nothing else happens
Else if
has_focus = education_learning
Then
- 1 of 3 things will happen:
- 5%: Nothing else happens
- 45%: Nothing else happens
- 50%: Nothing else happens
• 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 (56 lines of game script)
monastic_education_boost_effect = {
if = {
limit = {
court_owner ?= {
government_has_flag = government_is_monastic_holy_order
}
}
if = {
limit = { has_focus = education_stewardship }
random_list = {
10 = { # Small chance for a GREAT boost
change_variable = {
name = education_stewardship_variable
add = 4
}
}
70 = {
change_variable = {
name = education_stewardship_variable
add = 3
}
}
20 = {
change_variable = {
name = education_stewardship_variable
add = 2
}
}
}
}
else_if = {
limit = { has_focus = education_learning }
random_list = {
5 = { # Small chance for a GREAT boost
change_variable = {
name = education_learning_variable
add = 4
}
}
45 = {
change_variable = {
name = education_learning_variable
add = 3
}
}
50 = {
change_variable = {
name = education_learning_variable
add = 2
}
}
}
}
}
}As written in game/common/scripted_effects/00_education_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls monastic_education_boost_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.