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

Scripted trigger · Silk and Silver files

gg_first_and_second_are_opposite_sides_trigger

gg_first_and_second_are_opposite_sides_trigger = { FIRST = … SECOND = … }

game/common/scripted_triggers/00_gdp_guelph_ghibelline_triggers.txt, line 86 (12 lines). Parameters: $FIRST$, $SECOND$.

gg_first_and_second_are_opposite_sides_trigger is a scripted trigger in Crusader Kings III, in the Silk and Silver files, written at line 86 of its file. A call passes 2 parameters: FIRST and SECOND. The game's script calls it in 45 places, among them Overthrow Government (decision), Request Banishment Approval (decision) and Request Execution Approval (decision). 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_ghibelline_trigger = yes }
    • or

      All of these

      • $FIRST$ = { is_ghibelline_trigger = yes }
      • $SECOND$ = { is_guelph_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_opposite_sides_trigger = {
	OR = {
		AND = {
			$FIRST$ = { is_guelph_trigger = yes }
			$SECOND$ = { is_ghibelline_trigger = yes }
		}
		AND = {
			$FIRST$ = { is_ghibelline_trigger = yes }
			$SECOND$ = { is_guelph_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_opposite_sides_trigger.

Schemes (4)

  • Befriend
  • Coax Defection
  • Replace Ruler
  • Sway

Story cycles (1)

  • story_guelph_ghibelline

Events (5)

Script values (5)

  • ai_decree_approval_indicted_character_value
  • ai_decree_approval_punitive_reluctance_value
  • common_cb_piety_cost_multiplier
  • common_cb_prestige_cost_multiplier
  • odds_gg_opposite_side_negative_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.

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