Scripted effect
local_arbitration_positive_effect
local_arbitration_positive_effect = { COUNTY_MODIFIER = … }game/common/scripted_effects/00_wanderer_lifestyle_effects.txt, line 233 (41 lines). Parameters: $COUNTY_MODIFIER$.
local_arbitration_positive_effect is a scripted effect in Crusader Kings III, written at line 233 of its file. A call passes 1 parameter: COUNTY_MODIFIER. The game's script calls it in 1 place, among them local_adjudicate_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/00_wanderer_lifestyle_effects.txt.
What it does
- You › prev: The county gains the modifier “$COUNTY MODIFIER$” for 10 years
• 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 (41 lines of game script)
local_arbitration_positive_effect = {
root = {
send_interface_message = {
type = event_generic_good
title = local_arbitration_key
left_icon = root.location.county
right_icon = root
prev = {
add_county_modifier = {
modifier = $COUNTY_MODIFIER$
years = 10
}
}
}
}
hidden_effect = {
if = {
limit = {
root.location.county.holder != root
}
root.location.county.holder = {
send_interface_message = {
type = event_generic_good
title = local_arbitration_key
left_icon = root.location.county
right_icon = root
show_as_tooltip = {
prev = {
add_county_modifier = {
modifier = $COUNTY_MODIFIER$
years = 10
}
}
}
}
}
}
}
}As written in game/common/scripted_effects/00_wanderer_lifestyle_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls local_arbitration_positive_effect.
Scripted effects (1)
Source: game/common/scripted_effects/00_wanderer_lifestyle_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.