CK3 DatabaseCrusader Kings III · 1.21.0 “Florin” · unofficial
Silk & Silverout Tue, Nov 17What's free, what needs the DLC, price →Merch→

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:
  • scope:current_ghibelline_leader:
  • 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
  • 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)

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.

Spotted a mistake on this page, or have an idea for the site?