Scripted effect · Silk and Silver files
gg_situation_compromise_display_effect
gg_situation_compromise_display_effect = { GHIBELLINE_LEADER = … GUELPH_LEADER = … }game/common/scripted_effects/00_gdp_guelph_ghibelline_scripted_effects.txt, line 1025 (82 lines). Parameters: $GHIBELLINE_LEADER$, $GUELPH_LEADER$.
gg_situation_compromise_display_effect is a scripted effect in Crusader Kings III, in the Silk and Silver files, written at line 1025 of its file. A call passes 2 parameters: GHIBELLINE_LEADER and GUELPH_LEADER. The game's script calls it in 1 place, among them Reach Compromise (interaction). Its body carries 4 texts of the game's own for the player. 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 INTERACTION. We use gg_situation_compromise_effect here and in gg_situation_compromise_actual_effect
What it does
scope:actor:- Dynasty … gains … Renown
- Gains the modifier “Compromising Leader” for 25 years
- Clergy Opinion +10
- Popular Opinion Baseline -15
scope:recipient:- Dynasty … gains … Renown
- Gains the modifier “Compromising Leader” for 25 years
- Clergy Opinion +10
- Popular Opinion Baseline -15
- Italians-… Cultural Acceptance increases by 5%
- Every County of every Holy Roman Empire Vassal in North Italian: The Control increases by 10 · Gains Ghibelline Compromise for 25 years
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 (82 lines of game script)
gg_situation_compromise_display_effect = {
##### Major Effects #####
$GUELPH_LEADER$ = { save_scope_as = current_guelph_leader }
$GHIBELLINE_LEADER$ = { save_scope_as = current_ghibelline_leader }
#Leaders
scope:actor = {
custom_tooltip = {
text = actor_compromise_renown_tt
dynasty ?= {
add_dynasty_prestige = {
add = prev.gg_leader_compromise_renown
multiply = gg_compromise_factor
}
}
}
if = {
limit = { is_guelph_trigger = yes }
custom_description_no_bullet = { text = gg_increased_by_independent_guelph_supporters }
}
else = {
custom_description_no_bullet = { text = gg_increased_by_independent_ghibelline_supporters }
}
add_character_modifier = {
modifier = compromising_leader_modifier
years = 25
}
}
scope:recipient = {
custom_tooltip = {
text = recipient_compromise_renown_tt
dynasty ?= {
add_dynasty_prestige = {
add = prev.gg_leader_compromise_renown
multiply = gg_compromise_factor
}
}
}
if = {
limit = { is_guelph_trigger = yes }
custom_description_no_bullet = { text = gg_increased_by_independent_guelph_supporters }
}
else = {
custom_description_no_bullet = { text = gg_increased_by_independent_ghibelline_supporters }
}
add_character_modifier = {
modifier = compromising_leader_modifier
years = 25
}
}
#Let's be friends
custom_tooltip = {
text = italian_hre_culture_acceptance_tt
culture:italian = {
change_cultural_acceptance = {
target = title:e_hre.holder.culture
value = gg_compromise_cultural_acceptance_increase
desc = guelph_victory_cultural_acceptance_growth
}
}
}
#Lose some control
custom_tooltip = {
text = every_county_in_every_hre_vassal_northern_italy
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 = 10
add_county_modifier = ghibelline_compromise_county_modifier
}
}
}
}
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_display_effect.
Character interactions (1)
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.