Scripted effect
stewardship_duty_1064_extend_patronage_term_effect
stewardship_duty_1064_extend_patronage_term_effect = { CLIENT = … }game/common/scripted_effects/00_stewardship_lifestyle_effects.txt, line 343 (35 lines). Parameters: $CLIENT$.
stewardship_duty_1064_extend_patronage_term_effect is a scripted effect in Crusader Kings III, written at line 343 of its file. A call passes 1 parameter: CLIENT. The game's script calls it in 1 place, among them Renewal of Patronage (event stewardship_duty.1063). Patch 1.20.1.2, from game/common/scripted_effects/00_stewardship_lifestyle_effects.txt.
What it does
If
$CLIENT$ = { has_character_flag = governance_1062_gardener_flag }
Then
- Gains the modifier “Immaculate Gardens” for 5 years
- Prestige +1/month
Else if
$CLIENT$ = { has_character_flag = governance_1062_poet_flag }
Then
- Gains the modifier “Supporting Religious Art” for 5 years
- Piety +0.5/month
- Clergy Opinion +5
Else if
$CLIENT$ = { has_character_flag = governance_1062_philosopher_flag }
Then
- Gains the modifier “Funding Natural Philosophy” for 5 years
- Learning +2
- Development Growth +15%
• 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 (35 lines of game script)
stewardship_duty_1064_extend_patronage_term_effect = {
if = {
limit = {
$CLIENT$ = {
has_character_flag = governance_1062_gardener_flag
}
}
add_character_modifier = {
modifier = governance_1062_immaculate_gardens_modifier
years = 5
}
}
else_if = {
limit = {
$CLIENT$ = {
has_character_flag = governance_1062_poet_flag
}
}
add_character_modifier = {
modifier = governance_1062_religious_tapestries_modifier
years = 5
}
}
else_if = {
limit = {
$CLIENT$ = {
has_character_flag = governance_1062_philosopher_flag
}
}
add_character_modifier = {
modifier = governance_1062_natural_philosopher_modifier
years = 5
}
}
}As written in game/common/scripted_effects/00_stewardship_lifestyle_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls stewardship_duty_1064_extend_patronage_term_effect.
Events (1)
- Renewal of Patronage
stewardship_duty.1063
Source: game/common/scripted_effects/00_stewardship_lifestyle_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.