Scripted effect · Silk and Silver files
gg_situation_compromise_effect
gg_situation_compromise_effect = yesgame/common/scripted_effects/00_gdp_guelph_ghibelline_scripted_effects.txt, line 1194 (39 lines). No parameters.
gg_situation_compromise_effect is a scripted effect in Crusader Kings III, in the Silk and Silver files, written at line 1194 of its file. It takes no parameters: gg_situation_compromise_effect = yes. The game's script calls it in 2 places, among them gg_situation_compromise_actual_effect (scripted effect) and gg_situation_compromise_display_effect (scripted effect). Patch 1.21.0, from game/common/scripted_effects/00_gdp_guelph_ghibelline_scripted_effects.txt.
What it does
- … › Every Guelph Supporter and Ghibelline Supporter:
- Where:
One of these
is_guelph_trigger = yesor
is_ghibelline_trigger = yes
- Does not have “guelph leader” (a variable the game's script sets)
- Does not have “ghibelline leader” (a variable the game's script sets)
NOT = { dynasty ?= scope:current_guelph_leader.dynasty }NOT = { dynasty ?= scope:current_ghibelline_leader.dynasty }
- Their dynasty:
add_dynasty_prestige = { add = prev.gg_supporter_compromise_renown multiply = gg_compromise_factor }
- Where:
- Stress and fulfillment impact: by trait: Arbitrary -30, Content -30, Humble -30
• 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 (39 lines of game script)
gg_situation_compromise_effect = {
situation:guelph_ghibelline ?= {
#All members
every_situation_participant = {
custom = custom.every_ghibelline_or_guelph_member
limit = {
OR = {
is_guelph_trigger = yes
is_ghibelline_trigger = yes
}
NOR = {
has_variable = guelph_leader
has_variable = ghibelline_leader
dynasty ?= scope:current_guelph_leader.dynasty
dynasty ?= scope:current_ghibelline_leader.dynasty
}
}
dynasty ?= {
add_dynasty_prestige = {
add = prev.gg_supporter_compromise_renown
multiply = gg_compromise_factor
}
}
}
}
custom_description_no_bullet = {
text = gg_compromise_effects
#HRE may not declare wars on Northern Italians for a good while
set_global_variable = {
name = gg_hre_no_cb_northern_italy
years = gg_ghibelline_compromise_modifier_length_years
}
}
stress_and_fulfillment_impact = {
arbitrary = medium_stress_impact_loss
content = medium_stress_impact_loss
humble = medium_stress_impact_loss
}
}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_effect.
Scripted effects (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.