Scripted effect · All Under Heaven files
tgp_japan_schoolhouse_education_boost_effect
tgp_japan_schoolhouse_education_boost_effect = yesgame/common/scripted_effects/10_dlc_tgp_japan_scripted_effects.txt, line 2556 (19 lines). No parameters.
tgp_japan_schoolhouse_education_boost_effect is a scripted effect in Crusader Kings III, in the All Under Heaven files, written at line 2556 of its file. It takes no parameters: tgp_japan_schoolhouse_education_boost_effect = yes. The game's script calls it in 1 place, among them Coming of Age (event coming_of_age.0003). Patch 1.20.1.2, from game/common/scripted_effects/10_dlc_tgp_japan_scripted_effects.txt.
What it does
- Their house’s house head’s domicile:
If
has_domicile_parameter = japanese_schoolhouse_education_boost_1
Then
- Depending on has domicile building:
- When has domicile building is japanese schoolhouse 01 › scope:student:
education_point_add_general_effect = { VALUE = 1 }
- When has domicile building is japanese schoolhouse 02 › scope:student:
education_point_add_general_effect = { VALUE = 2 }
- When has domicile building is japanese schoolhouse 03 › scope:student:
education_point_add_general_effect = { VALUE = 3 }
- When has domicile building is japanese schoolhouse 04 › scope:student:
education_point_add_general_effect = { VALUE = 4 }
- When has domicile building is japanese schoolhouse 04 › scope:student:
education_point_add_general_effect = { VALUE = 5 }
- When has domicile building is japanese schoolhouse 04 › scope:student:
education_point_add_general_effect = { VALUE = 6 }
- When has domicile building is japanese schoolhouse 01 › scope:student:
• 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 (19 lines of game script)
tgp_japan_schoolhouse_education_boost_effect = {
save_scope_as = student
house.house_head.domicile ?= {
if = {
limit = {
has_domicile_parameter = japanese_schoolhouse_education_boost_1
}
switch = {
trigger = has_domicile_building
japanese_schoolhouse_01 = { scope:student = { education_point_add_general_effect = { VALUE = 1 } } }
japanese_schoolhouse_02 = { scope:student = { education_point_add_general_effect = { VALUE = 2 } } }
japanese_schoolhouse_03 = { scope:student = { education_point_add_general_effect = { VALUE = 3 } } }
japanese_schoolhouse_04 = { scope:student = { education_point_add_general_effect = { VALUE = 4 } } }
japanese_schoolhouse_04 = { scope:student = { education_point_add_general_effect = { VALUE = 5 } } }
japanese_schoolhouse_04 = { scope:student = { education_point_add_general_effect = { VALUE = 6 } } }
}
}
}
}As written in game/common/scripted_effects/10_dlc_tgp_japan_scripted_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls tgp_japan_schoolhouse_education_boost_effect.
Events (1)
- Coming of Age
coming_of_age.0003
Source: game/common/scripted_effects/10_dlc_tgp_japan_scripted_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.