Scripted effect · Silk and Silver files
gg_situation_compromise_actual_effect
gg_situation_compromise_actual_effect = { GHIBELLINE_LEADER = … GUELPH_LEADER = … }game/common/scripted_effects/00_gdp_guelph_ghibelline_scripted_effects.txt, line 1109 (60 lines). Parameters: $GHIBELLINE_LEADER$, $GUELPH_LEADER$.
gg_situation_compromise_actual_effect is a scripted effect in Crusader Kings III, in the Silk and Silver files, written at line 1109 of its file. A call passes 2 parameters: GHIBELLINE_LEADER and GUELPH_LEADER. The game's script calls it in 2 places, among them Guelphs & Ghibellines: Compromise Reached (event gdp_guelph_ghibelline.8500) and Guelphs & Ghibellines: Compromise Reached (event gdp_guelph_ghibelline.8520). Patch 1.21.0, from game/common/scripted_effects/00_gdp_guelph_ghibelline_scripted_effects.txt.
The comment above it in the file
FOR THE EVENT
What it does
scope:current_guelph_leader:- Their dynasty:
add_dynasty_prestige = { add = prev.gg_leader_compromise_renown multiply = gg_compromise_factor }
- Gains the modifier “Compromising Leader” for 25 years
- Clergy Opinion +10
- Popular Opinion Baseline -15
- Their dynasty:
scope:current_ghibelline_leader:- Their dynasty:
add_dynasty_prestige = { add = prev.gg_leader_compromise_renown multiply = gg_compromise_factor }
- Gains the modifier “Compromising Leader” for 25 years
- Clergy Opinion +10
- Popular Opinion Baseline -15
- Their dynasty:
- Italian:
change_cultural_acceptance = { target = title:e_hre.holder.culture value = 5 desc = guelph_victory_cultural_acceptance_growth }
- title:e_hre.holder › Every Vassal of Holy Roman Empire in North Italian:
- Where › Their primary title › Their province: Is in the North Italian region
- Every County:
change_county_control = gg_ghibelline_compromise_control_negative_value- The county gains the modifier “Ghibelline Compromise” for 25 years
- Control Growth +0.2/month
gg_situation_compromise_effect = yes
• 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 (60 lines of game script)
gg_situation_compromise_actual_effect = {
##### Major Effects #####
$GUELPH_LEADER$ = { save_scope_as = current_guelph_leader }
$GHIBELLINE_LEADER$ = { save_scope_as = current_ghibelline_leader }
#Leaders
scope:current_guelph_leader = {
dynasty ?= {
add_dynasty_prestige = {
add = prev.gg_leader_compromise_renown
multiply = gg_compromise_factor
}
}
custom_description_no_bullet = { text = gg_increased_by_independent_guelph_supporters }
add_character_modifier = {
modifier = compromising_leader_modifier
years = 25
}
}
scope:current_ghibelline_leader = {
dynasty ?= {
add_dynasty_prestige = {
add = prev.gg_leader_compromise_renown
multiply = gg_compromise_factor
}
}
custom_description_no_bullet = { text = gg_increased_by_independent_ghibelline_supporters }
add_character_modifier = {
modifier = compromising_leader_modifier
years = 25
}
}
#Let's be friends
culture:italian = {
change_cultural_acceptance = {
target = title:e_hre.holder.culture
value = 5
desc = guelph_victory_cultural_acceptance_growth
}
}
#Lose some control
title:e_hre.holder ?= {
every_vassal = {
custom = custom.every_hre_vassal_northern_italy
limit = {
primary_title = {
title_province = { geographical_region = gdp_guelph_ghibelline_northern_italy_region }
}
}
every_realm_county = {
custom = every_county
change_county_control = gg_ghibelline_compromise_control_negative_value
add_county_modifier = {
modifier = ghibelline_compromise_county_modifier
years = gg_ghibelline_compromise_modifier_length_years
}
}
}
}
gg_situation_compromise_effect = yes
}As written in game/common/scripted_effects/00_gdp_guelph_ghibelline_scripted_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls gg_situation_compromise_actual_effect.
Events (2)
- Guelphs & Ghibellines: Compromise Reached
gdp_guelph_ghibelline.8500 - Guelphs & Ghibellines: Compromise Reached
gdp_guelph_ghibelline.8520
Source: game/common/scripted_effects/00_gdp_guelph_ghibelline_scripted_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.21.0.