Scripted effect
education_flags_tooltips_effect
education_flags_tooltips_effect = yesgame/common/scripted_effects/00_interaction_effects.txt, line 1986 (142 lines). No parameters.
education_flags_tooltips_effect is a scripted effect in Crusader Kings III, written at line 1986 of its file. It takes no parameters: education_flags_tooltips_effect = yes. The game's script calls it in 1 place, among them educate_child_interaction_effect (scripted effect). Its body carries 1 text of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_effects/00_interaction_effects.txt.
What it does
If
- Never
One of these
scope:recipient:One of these
- Any realm province:
is_higher_studies_location = yessave_temporary_scope_as = university
or
Any realm county:- The county has the modifier “Pandidakterion”
- Their province:
save_temporary_scope_as = university
- Any realm province:
or
scope:puppet_or_actor:this = scope:secondary_actor- Any realm province:
is_higher_studies_location = yessave_temporary_scope_as = university
Then
scope:puppet_or_actor:remove_short_term_gold = { … }
If
scope:university:None of these
- scope:guardian: Has the Trait: Confucian Education
Then
- Gains the modifier “Studying Confucian Works”
- Confucian Education Trait Experience Gain +10%
- Confucian Opinion +5
- Gains the modifier “Studying At University”
- General Opinion +5
- Learning +1
If
- scope:guardian: Has the Trait: Confucian Education
scope:send_to_university = no
Then
- Gains the modifier “Studying Confucian Works”
- Confucian Education Trait Experience Gain +10%
- Confucian Opinion +5
- Has a chance to become a Disciple of …
• 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)
education_flags_tooltips_effect = {
#Convert culture
if = {
limit = { always = scope:convert_culture }
scope:ward = {
add_character_flag = {
flag = convert_culture
years = 10
}
}
if = {
limit = { scope:ward.age < 11 }
custom_description = {
text = "educate_child_option_convert_culture_effect"
subject = scope:ward
object = scope:guardian.culture
}
}
else_if = {
limit = {
scope:ward.age >= 11
scope:ward.age < 14
}
custom_description = {
text = "educate_child_option_convert_culture_likely_effect"
subject = scope:ward
object = scope:guardian.culture
}
}
else_if = {
limit = { scope:ward.age >= 14 }
custom_description = {
text = "educate_child_option_convert_culture_unlikely_effect"
subject = scope:ward
object = scope:guardian.culture
}
}
}
#Convert faith
if = {
limit = { always = scope:convert_faith }
scope:ward = {
add_character_flag = {
flag = convert_faith
years = 10
}
}
if = {
limit = { scope:ward.age < 11 }
custom_description = {
text = "educate_child_option_convert_faith_effect"
subject = scope:ward
object = scope:guardian.rite
}
}
else_if = {
limit = {
scope:ward.age >= 11
scope:ward.age < 14
}
custom_description = {
text = "educate_child_option_convert_faith_likely_effect"
subject = scope:ward
object = scope:guardian.rite
}
}
else_if = {
limit = { scope:ward.age >= 14 }
custom_description = {
text = "educate_child_option_convert_faith_unlikely_effect"
subject = scope:ward
object = scope:guardian.rite
}
}
}
# Knowledge
if = {
limit = {
always = scope:send_to_university
OR = {
scope:recipient = {
OR = {
any_realm_province = {
is_higher_studies_location = yes
save_temporary_scope_as = university
}
any_realm_county = {
has_county_modifier = pandidakterion_university_modifier
# Save the province, not the county, because scope:university is only read by a province-scoped trigger
title_province ?= { save_temporary_scope_as = university }
}
}
}
scope:puppet_or_actor = {
this = scope:secondary_actor
any_realm_province = {
is_higher_studies_location = yes
save_temporary_scope_as = university
}
}
}
}
scope:puppet_or_actor = {
remove_short_term_gold = {
value = monumental_gold_value
if = {
limit = { house = { has_house_modifier = ep3_eparch_university_influence_modifier } }
multiply = {
value = 1
subtract = university_cost_reduction_value
}
}
}
}
if = {
limit = {
scope:university ?= {
is_province_valid_confucian_education_trigger = yes
}As written in game/common/scripted_effects/00_interaction_effects.txt.
The first 120 of its 142 lines; the rest is in game/common/scripted_effects/00_interaction_effects.txt from line 1986.
Where it is used
Every place in common/, events/ and history/ that calls education_flags_tooltips_effect.
Scripted effects (1)
Source: game/common/scripted_effects/00_interaction_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.