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_involvement_catalyst_would_invalidate_situation_tooltip_effect

gg_involvement_catalyst_would_invalidate_situation_tooltip_effect = yes

game/common/scripted_effects/00_gdp_guelph_ghibelline_scripted_effects.txt, line 1471 (25 lines). No parameters.

gg_involvement_catalyst_would_invalidate_situation_tooltip_effect is a scripted effect in Crusader Kings III, in the Silk and Silver files, written at line 1471 of its file. It takes no parameters: gg_involvement_catalyst_would_invalidate_situation_tooltip_effect = yes. The game's script calls it in 1 place, among them Execute (interaction). Its body carries 1 text of the game's own for the player. Patch 1.21.0, from game/common/scripted_effects/00_gdp_guelph_ghibelline_scripted_effects.txt.

What it does

  • If

    • …:
      • One of these

        • situation_current_phase = in_nomine_domini
        • or

          situation_current_phase = dictatus_papae
    • scope:recipient:
      • One of these

        • Has “ghibelline leader” (a variable the game's script sets)
        • or

          Has “guelph leader” (a variable the game's script sets)

    Then

    Else if

    Then

• 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 (25 lines of game script)
gg_involvement_catalyst_would_invalidate_situation_tooltip_effect = {
	if = {
		limit = {
			situation:guelph_ghibelline ?= { 
				OR = {
					situation_current_phase = in_nomine_domini
					situation_current_phase = dictatus_papae
				}
			}
			scope:recipient = {
				OR = {
					has_variable = ghibelline_leader
					has_variable = guelph_leader
				}
			}
		}
		custom_tooltip = gg_situation_is_invalidated_tt
	}
	else_if = {
		limit = {
			gg_first_and_second_are_opposite_sides_trigger = { FIRST = scope:actor SECOND = scope:recipient }
		}
		scope:actor = { gg_involvement_catalyst_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_involvement_catalyst_would_invalidate_situation_tooltip_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.

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