Scripted effect
petition_liege_0101_county_opinion_effect
petition_liege_0101_county_opinion_effect = yesgame/common/scripted_effects/00_petition_liege_effects.txt, line 568 (24 lines). No parameters.
petition_liege_0101_county_opinion_effect is a scripted effect in Crusader Kings III, written at line 568 of its file. It takes no parameters: petition_liege_0101_county_opinion_effect = yes. The game's script calls it in 1 place, among them petition_type_outcome_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/00_petition_liege_effects.txt.
The comment above it in the file
Opinion
What it does
- scope:petition_liege: Stress and fulfillment impact: +20, and by trait: Shy +20, Lazy +20, Craven +20, Arrogant +20, Reclusive +20
- All … Holdings with Popular Opinion of -25 or below:
- Where:
holder = scope:petition_vassal- Popular Opinion at most -25
- The county gains the modifier “Royal Visit” for 5 years
- Popular Opinion +25
- Where:
• 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 (24 lines of game script)
petition_liege_0101_county_opinion_effect = {
scope:petition_liege = {
stress_and_fulfillment_impact = {
base = minor_stress_impact_gain
shy = minor_stress_impact_gain
lazy = minor_stress_impact_gain
craven = minor_stress_impact_gain
arrogant = minor_stress_impact_gain
reclusive = minor_stress_impact_gain
}
}
every_in_list = {
list = petition_liege_county_opinion_list
limit = {
holder = scope:petition_vassal
county_opinion <= -25
}
custom = petition_liege_0101_county_opinion_effect_tt
add_county_modifier = {
modifier = petition_liege_county_opinion_modifier
years = 5
}
}
}As written in game/common/scripted_effects/00_petition_liege_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls petition_liege_0101_county_opinion_effect.
Scripted effects (1)
Source: game/common/scripted_effects/00_petition_liege_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.