Scripted effect
found_university_decision_effect
found_university_decision_effect = yesgame/common/scripted_effects/00_decisions_effects.txt, line 1268 (18 lines). No parameters.
found_university_decision_effect is a scripted effect in Crusader Kings III, written at line 1268 of its file. It takes no parameters: found_university_decision_effect = yes. The game's script calls it in 1 place, among them Found University (decision). Patch 1.20.1.2, from game/common/scripted_effects/00_decisions_effects.txt.
What it does
found_university_decision_event_effect = yes- If does not have “university” (a variable the game's script sets) › All County Capitals without a University:
title_tier = baronytitle_capital_county.title_province = { add_special_building_slot = generic_university }
• 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 (18 lines of game script)
found_university_decision_effect = {
found_university_decision_event_effect = yes
if = {
limit = {
NOT = { has_variable = university }
}
show_as_tooltip = {
every_held_title = {
custom = decision_found_university_custom
title_tier = barony
title_capital_county.title_province = {
add_special_building_slot = generic_university
}
}
}
}
}As written in game/common/scripted_effects/00_decisions_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls found_university_decision_effect.
Decisions (1)
Source: game/common/scripted_effects/00_decisions_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.