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

actual_abandon_concordat_of_worms_effect

actual_abandon_concordat_of_worms_effect = yes

game/common/scripted_effects/00_gdp_guelph_ghibelline_scripted_effects.txt, line 1840 (46 lines). No parameters.

actual_abandon_concordat_of_worms_effect is a scripted effect in Crusader Kings III, in the Silk and Silver files, written at line 1840 of its file. It takes no parameters: actual_abandon_concordat_of_worms_effect = yes. The game's script calls it in 3 places, among them gdp_guelph_ghibelline.6505 (event), Guelphs & Ghibellines: the Concordat of Worms (event gdp_guelph_ghibelline.6500) and abandon_concordat_of_worms_effect (scripted effect). 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

  • save_gg_leaders_as_scopes_effect = yes
  • scope:ghibelline_leader:
    • If

      • scope:guelph_leader: Is an Independent Ruler
      • None of these

        • Any character war:
          • One of these

            • is_attacker = scope:guelph_leader
            • or

              is_defender = scope:guelph_leader

      Then

      • start_war = { casus_belli = vassalization_cb target = scope:guelph_leader }
  • If

    Then

    • scope:guelph_leader:
      • excommunicate_character = { EXCOMMUNICATOR = scope:guelph_leader REQUESTING_CHARACTER = scope:guelph_leader TARGET_CHARACTER = scope:ghibelline_leader }
  • …:
    • If

      • …:
        • NOT = { situation_current_phase = agitation }

      Then

      • The … leaves the Prelude stage and transitions into Agitation

• 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 (46 lines of game script)
actual_abandon_concordat_of_worms_effect = {
	save_gg_leaders_as_scopes_effect = yes
	scope:ghibelline_leader = {
		if = {
			limit = {
				scope:guelph_leader = { is_independent_ruler = yes }
				NOT = {
					any_character_war = {
						OR = {
							is_attacker = scope:guelph_leader
							is_defender = scope:guelph_leader
						}
					}
				}
			}
			start_war = {
				casus_belli = "vassalization_cb"
				target = scope:guelph_leader
			}
		}
	}
	if = {
		limit = {
			NOT = { 
				scope:ghibelline_leader = { has_trait = excommunicated }
			}
		}
		scope:guelph_leader = {
			excommunicate_character = {
				EXCOMMUNICATOR = scope:guelph_leader
				REQUESTING_CHARACTER = scope:guelph_leader
				TARGET_CHARACTER = scope:ghibelline_leader
			}
		}
	}
	situation:guelph_ghibelline = {
		if = {
			limit = {
				situation:guelph_ghibelline = {
					NOT = { situation_current_phase = agitation }
				}
			}
			custom_tooltip = cow_phase_moves_to_agitation.tt
		}
	}
}

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 actual_abandon_concordat_of_worms_effect.

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?