Scripted effect
display_correct_education_trait_gain_tooltip_effect
display_correct_education_trait_gain_tooltip_effect = yesgame/common/scripted_effects/00_education_effects.txt, line 1344 (318 lines). No parameters.
display_correct_education_trait_gain_tooltip_effect is a scripted effect in Crusader Kings III, written at line 1344 of its file. It takes no parameters: display_correct_education_trait_gain_tooltip_effect = yes. The game's script calls it in 6 places, among them … Comes of Age (event coming_of_age.1001), … Comes of Age (event coming_of_age.1002) and Education at an End (event coming_of_age.1003). Patch 1.20.1.2, from game/common/scripted_effects/00_education_effects.txt.
The comment above it in the file
Display correct trait tooltip
What it does
- If has the Trait: Naive Appeaser:
add_trait_force_tooltip = education_diplomacy_1
- If has the Trait: Adequate Bargainer:
add_trait_force_tooltip = education_diplomacy_2
- If has the Trait: Charismatic Negotiator:
add_trait_force_tooltip = education_diplomacy_3
- If has the Trait: Gray Eminence:
add_trait_force_tooltip = education_diplomacy_4
- If has the Trait: Virtuoso Arbitrator:
add_trait_force_tooltip = education_diplomacy_5
- If has the Trait: Misguided Warrior:
add_trait_force_tooltip = education_martial_1
- If has the Trait: Tough Soldier:
add_trait_force_tooltip = education_martial_2
- If has the Trait: Skilled Tactician:
add_trait_force_tooltip = education_martial_3
- If has the Trait: Brilliant Strategist:
add_trait_force_tooltip = education_martial_4
- If has the Trait: Exalted Warlord:
add_trait_force_tooltip = education_martial_5
- If has the Trait: Indulgent Wastrel:
add_trait_force_tooltip = education_stewardship_1
- If has the Trait: Thrifty Clerk:
add_trait_force_tooltip = education_stewardship_2
- If has the Trait: Fortune Builder:
add_trait_force_tooltip = education_stewardship_3
- If has the Trait: Midas Touched:
add_trait_force_tooltip = education_stewardship_4
- If has the Trait: Golden Sovereign:
add_trait_force_tooltip = education_stewardship_5
- If has the Trait: Amateurish Plotter:
add_trait_force_tooltip = education_intrigue_1
- If has the Trait: Flamboyant Trickster:
add_trait_force_tooltip = education_intrigue_2
- If has the Trait: Intricate Webweaver:
add_trait_force_tooltip = education_intrigue_3
- If has the Trait: Elusive Shadow:
add_trait_force_tooltip = education_intrigue_4
- If has the Trait: Conniving Puppetmaster:
add_trait_force_tooltip = education_intrigue_5
- If has the Trait: Conscientious Scribe:
add_trait_force_tooltip = education_learning_1
- If has the Trait: Insightful Thinker:
add_trait_force_tooltip = education_learning_2
- If has the Trait: Astute Intellectual:
add_trait_force_tooltip = education_learning_3
- If has the Trait: Mastermind Philosopher:
add_trait_force_tooltip = education_learning_4
- If has the Trait: Erudite Oracle:
add_trait_force_tooltip = education_learning_5
- If has the Trait: Bumbling Squire:
add_trait_force_tooltip = education_martial_prowess_1
- If has the Trait: Confident Knight:
add_trait_force_tooltip = education_martial_prowess_2
- If has the Trait: Formidable Banneret:
add_trait_force_tooltip = education_martial_prowess_3
- If has the Trait: Famous Champion:
add_trait_force_tooltip = education_martial_prowess_4
- If has the Trait: Wise Man:
add_trait_force_tooltip = lifestyle_mystic
- If has the Trait: Logistician:
add_trait_force_tooltip = logistician
- If has the Trait: Military Engineer:
add_trait_force_tooltip = military_engineer
- If has the Trait: Aggressive Attacker:
add_trait_force_tooltip = aggressive_attacker
- If has the Trait: Defender:
add_trait_force_tooltip = unyielding_defender
- If has the Trait: Forder:
add_trait_force_tooltip = forder
- If has the Trait: Flexible Leader:
add_trait_force_tooltip = flexible_leader
- If has the Trait: Desert Warrior:
add_trait_force_tooltip = desert_warrior
- If has the Trait: Jungle Stalker:
add_trait_force_tooltip = jungle_stalker
- If has the Trait: Winter Soldier:
add_trait_force_tooltip = winter_soldier
- If has the Trait: Pillager:
add_trait_force_tooltip = reaver
- If has the Trait: Reckless:
add_trait_force_tooltip = reckless
- If has the Trait: Faithful Blade:
add_trait_force_tooltip = holy_warrior
- If has the Trait: Rough Terrain Expert:
add_trait_force_tooltip = rough_terrain_expert
- If has the Trait: Organizer:
add_trait_force_tooltip = organizer
- If has the Trait: Forest Fighter:
add_trait_force_tooltip = forest_fighter
- If has the Trait: Cautious Leader:
add_trait_force_tooltip = cautious_leader
- If has the Trait: Open Terrain Expert:
add_trait_force_tooltip = open_terrain_expert
- If has the Trait: Town Dweller:
add_trait_force_tooltip = education_republican_knowledge_1
- If has the Trait: Mayor Trainee:
add_trait_force_tooltip = education_republican_knowledge_2
- If has the Trait: Town Maven:
add_trait_force_tooltip = education_republican_knowledge_3
- If has the Trait: Republican Heir:
add_trait_force_tooltip = education_republican_knowledge_4
• 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)
display_correct_education_trait_gain_tooltip_effect = {
if = {
limit = { has_trait = education_diplomacy_1 }
show_as_tooltip = {
add_trait_force_tooltip = education_diplomacy_1
}
}
if = {
limit = { has_trait = education_diplomacy_2 }
show_as_tooltip = {
add_trait_force_tooltip = education_diplomacy_2
}
}
if = {
limit = { has_trait = education_diplomacy_3 }
show_as_tooltip = {
add_trait_force_tooltip = education_diplomacy_3
}
}
if = {
limit = { has_trait = education_diplomacy_4 }
show_as_tooltip = {
add_trait_force_tooltip = education_diplomacy_4
}
}
if = {
limit = { has_trait = education_diplomacy_5 }
show_as_tooltip = {
add_trait_force_tooltip = education_diplomacy_5
}
}
if = {
limit = { has_trait = education_martial_1 }
show_as_tooltip = {
add_trait_force_tooltip = education_martial_1
}
}
if = {
limit = { has_trait = education_martial_2 }
show_as_tooltip = {
add_trait_force_tooltip = education_martial_2
}
}
if = {
limit = { has_trait = education_martial_3 }
show_as_tooltip = {
add_trait_force_tooltip = education_martial_3
}
}
if = {
limit = { has_trait = education_martial_4 }
show_as_tooltip = {
add_trait_force_tooltip = education_martial_4
}
}
if = {
limit = { has_trait = education_martial_5 }
show_as_tooltip = {
add_trait_force_tooltip = education_martial_5
}
}
if = {
limit = { has_trait = education_stewardship_1 }
show_as_tooltip = {
add_trait_force_tooltip = education_stewardship_1
}
}
if = {
limit = { has_trait = education_stewardship_2 }
show_as_tooltip = {
add_trait_force_tooltip = education_stewardship_2
}
}
if = {
limit = { has_trait = education_stewardship_3 }
show_as_tooltip = {
add_trait_force_tooltip = education_stewardship_3
}
}
if = {
limit = { has_trait = education_stewardship_4 }
show_as_tooltip = {
add_trait_force_tooltip = education_stewardship_4
}
}
if = {
limit = { has_trait = education_stewardship_5 }
show_as_tooltip = {
add_trait_force_tooltip = education_stewardship_5
}
}
if = {
limit = { has_trait = education_intrigue_1 }
show_as_tooltip = {
add_trait_force_tooltip = education_intrigue_1
}
}
if = {
limit = { has_trait = education_intrigue_2 }
show_as_tooltip = {
add_trait_force_tooltip = education_intrigue_2
}
}
if = {
limit = { has_trait = education_intrigue_3 }
show_as_tooltip = {
add_trait_force_tooltip = education_intrigue_3
}
}
if = {
limit = { has_trait = education_intrigue_4 }
show_as_tooltip = {
add_trait_force_tooltip = education_intrigue_4
}
}
if = {
limit = { has_trait = education_intrigue_5 }
show_as_tooltip = {
add_trait_force_tooltip = education_intrigue_5
}As written in game/common/scripted_effects/00_education_effects.txt.
The first 120 of its 318 lines; the rest is in game/common/scripted_effects/00_education_effects.txt from line 1344.
Where it is used
Every place in common/, events/ and history/ that calls display_correct_education_trait_gain_tooltip_effect.
Events (5)
- … Comes of Age
coming_of_age.1001 - … Comes of Age
coming_of_age.1002 - Education at an End
coming_of_age.1003 - Education at an End
coming_of_age.1004 - Education at an End
coming_of_age.1005
Scripted effects (1)
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.