Scripted effect · Wards and Wardens files
bp2_lifestyle_xp_gain_per_type_effect
bp2_lifestyle_xp_gain_per_type_effect = { VALUE = … }game/common/scripted_effects/05_dlc_bp2_effects.txt, line 613 (32 lines). Parameters: $VALUE$.
bp2_lifestyle_xp_gain_per_type_effect is a scripted effect in Crusader Kings III, in the Wards and Wardens files, written at line 613 of its file. A call passes 1 parameter: VALUE. The game's script calls it in 21 places, among them … Taught … a New Concept During the Festival (activity pulse), … Taught … How to Repair Garments (activity pulse) and apa_boasting_calligraphy (activity pulse). Patch 1.20.1.2, from game/common/scripted_effects/05_dlc_bp2_effects.txt.
What it does
- If has the Trait: Students of Diplomacy:
add_diplomacy_lifestyle_xp = $VALUE$_lifestyle_xp
- Else, if has the Trait: Students of Warfare:
add_martial_lifestyle_xp = $VALUE$_lifestyle_xp
- Else, if has the Trait: Students of Stewardship:
add_stewardship_lifestyle_xp = $VALUE$_lifestyle_xp
- Else, if has the Trait: Students of Intrigue:
add_intrigue_lifestyle_xp = $VALUE$_lifestyle_xp
- Else, if has the Trait: Students of Knowledge:
add_learning_lifestyle_xp = $VALUE$_lifestyle_xp
• 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 (32 lines of game script)
bp2_lifestyle_xp_gain_per_type_effect = {
if = {
limit = {
has_trait = education_diplomacy
}
add_diplomacy_lifestyle_xp = $VALUE$_lifestyle_xp
}
else_if = {
limit = {
has_trait = education_martial
}
add_martial_lifestyle_xp = $VALUE$_lifestyle_xp
}
else_if = {
limit = {
has_trait = education_stewardship
}
add_stewardship_lifestyle_xp = $VALUE$_lifestyle_xp
}
else_if = {
limit = {
has_trait = education_intrigue
}
add_intrigue_lifestyle_xp = $VALUE$_lifestyle_xp
}
else_if = {
limit = {
has_trait = education_learning
}
add_learning_lifestyle_xp = $VALUE$_lifestyle_xp
}
}As written in game/common/scripted_effects/05_dlc_bp2_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls bp2_lifestyle_xp_gain_per_type_effect.
Activity pulse actions (7)
- … Taught … a New Concept During the Festival
- … Taught … How to Repair Garments
- apa_boasting_calligraphy
- apa_debate_fruitful_debate
- apa_fruitful_debate
- apa_impressive_shot
1 more
- apa_impromptu_poetry
Events (11)
- A Matter of Faith?
bp2_adult_education.1080 - A Scholar's Recitation
az_tour.0001 - Foreigners in This Land
bp2_adult_education.1050 - Schools of Thought
bp2_adult_education.1040 - The Debate
bp2_adult_education.1070 - The Language of Knowledge
bp2_adult_education.1011
5 more
- The Language of the Master
bp2_adult_education.1012 - The Way Diverges
debate_event.2030 - The Way Diverges
imperial_examination.4080 - To Have a Gander
bp2_adult_education.1090 - Weak Is the Arm
nomad_events.0220
Source: game/common/scripted_effects/05_dlc_bp2_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.