Scripted trigger · Silk and Silver files
gg_first_and_second_are_same_side_trigger
gg_first_and_second_are_same_side_trigger = { FIRST = … SECOND = … }game/common/scripted_triggers/00_gdp_guelph_ghibelline_triggers.txt, line 107 (12 lines). Parameters: $FIRST$, $SECOND$.
gg_first_and_second_are_same_side_trigger is a scripted trigger in Crusader Kings III, in the Silk and Silver files, written at line 107 of its file. A call passes 2 parameters: FIRST and SECOND. The game's script calls it in 8 places, among them Call to War (interaction), Offer to Join War (interaction) and Befriend (scheme). Patch 1.21.0, from game/common/scripted_triggers/00_gdp_guelph_ghibelline_triggers.txt.
What it checks
One of these
All of these
$FIRST$ = { is_guelph_trigger = yes }$SECOND$ = { is_guelph_trigger = yes }
or
All of these
$FIRST$ = { is_ghibelline_trigger = yes }$SECOND$ = { is_ghibelline_trigger = 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 (12 lines of game script)
gg_first_and_second_are_same_side_trigger = {
OR = {
AND = {
$FIRST$ = { is_guelph_trigger = yes }
$SECOND$ = { is_guelph_trigger = yes }
}
AND = {
$FIRST$ = { is_ghibelline_trigger = yes }
$SECOND$ = { is_ghibelline_trigger = yes }
}
}
}As written in game/common/scripted_triggers/00_gdp_guelph_ghibelline_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls gg_first_and_second_are_same_side_trigger.
Character interactions (2)
Schemes (2)
- Befriend
- Sway
Events (1)
- …: Greasing the Wheels
gdp_guelph_ghibelline_scheme.1030
Script values (2)
- ai_decree_approval_indicted_character_value
- odds_gg_same_side_positive_value
Scripted modifiers (AI weights) (1)
- elector_voting_pattern_circumstances_republican_elective_modifier
Source: game/common/scripted_triggers/00_gdp_guelph_ghibelline_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.21.0.