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

Scripted effect

revoke_title_interaction_effect

revoke_title_interaction_effect = yes

game/common/scripted_effects/00_interaction_effects.txt, line 3512 (395 lines). No parameters.

revoke_title_interaction_effect is a scripted effect in Crusader Kings III, written at line 3512 of its file. It takes no parameters: revoke_title_interaction_effect = yes. The game's script calls it in 6 places, among them … Revoke Title (interaction), Demand Pastureland (interaction) and Revoke Title (interaction). Its body carries 3 texts of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_effects/00_interaction_effects.txt.

What it does

  • If

    • scope:recipient:
      • Their faith is the same as that of puppet or actor
      • Government is a Theocratic-type Government
    • scope:puppet_or_actor != scope:puppet_or_actor.faith.religious_head

    Then

    • scope:puppet_or_actor: Gain -250 Piety
    • If

      a check the game hides

      Then

      • scope:puppet_or_actor.faith.religious_head: Opinion: Impious (-20)
  • If

    • scope:recipient = scope:puppet_or_actor.faith.religious_head

    Then

  • If

    • scope:landed_title.tier != tier_barony
    • scope:recipient: Their government is not unplayable

    Then

    • scope:puppet_or_actor:
    • scope:recipient:
    • If

      • scope:landed_title.tier = tier_county

      Then

      • scope:landed_title:
        • change_county_control = { … }
    • If

      • scope:puppet_or_actor.culture: Their Culture has the Lose Prestige when revoking titles from House members Tradition
      • scope:puppet_or_actor.house = scope:recipient.house

      Then

      • If

        • scope:landed_title.tier = tier_county

        Then

        • scope:puppet_or_actor: Gain -150 Prestige

        Else if

        • scope:landed_title.tier = tier_duchy

        Then

        • scope:puppet_or_actor: Gain -350 Prestige

        Else if

        • scope:landed_title.tier = tier_kingdom

        Then

        • scope:puppet_or_actor: Gain -750 Prestige
    • If

      Then

      • If

        • scope:landed_title.tier = tier_county

        Then

        • scope:puppet_or_actor: Gain -150 Prestige

        Else if

        • scope:landed_title.tier = tier_duchy

        Then

        • scope:puppet_or_actor: Gain -350 Prestige

        Else if

        • scope:landed_title.tier = tier_kingdom

        Then

        • scope:puppet_or_actor: Gain -750 Prestige
    • If

      • scope:puppet_or_actor.culture: Their Culture has the Lose Piety when revoking Titles from House members Tradition
      • scope:puppet_or_actor.house = scope:recipient.house

      Then

      • If

        • scope:landed_title.tier = tier_county

        Then

        • scope:puppet_or_actor: Gain -100 Piety

        Else if

        • scope:landed_title.tier = tier_duchy

        Then

        • scope:puppet_or_actor: Gain -250 Piety

        Otherwise

        • limit = { scope:landed_title.tier = tier_kingdom }
        • scope:puppet_or_actor: Gain -500 Piety
    • If

      • scope:puppet_or_actor: Government is Clan
      • scope:recipient: Government is Clan
      • scope:puppet_or_actor.house = scope:recipient.house
      • scope:landed_title.tier >= tier_county

      Then

    • scope:recipient:

    Otherwise

    • If

      a check the game hides

      Then

      • Revoking Baronies does not incur Tyranny
      • scope:puppet_or_actor:
        • If

          • Any vassal:
            • vassal_stance = barons_and_minor_landholders
  • … (more in the script below)

• 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 (120 lines of game script)
revoke_title_interaction_effect = {
	if = {
		limit = {
			scope:recipient = {
				faith = scope:puppet_or_actor.faith
				government_has_flag = government_is_theocracy
			}
			scope:puppet_or_actor != scope:puppet_or_actor.faith.religious_head
		}
		scope:puppet_or_actor = {
			add_piety = major_piety_loss
		}
		if = {
			limit = {
				exists = scope:puppet_or_actor.faith.religious_head
			}
			scope:puppet_or_actor.faith.religious_head = {
				add_opinion = {
					target = scope:puppet_or_actor
					modifier = impious_opinion
					opinion = -20
				}
			}
		}
	}
	if = {
		limit = {
			exists = scope:puppet_or_actor.faith.religious_head
			scope:recipient = scope:puppet_or_actor.faith.religious_head
		}
		scope:puppet_or_actor = {
			add_piety_level = -2
		}
	}
	if = {
		limit = {
			scope:landed_title.tier != tier_barony
			scope:recipient = {
				NOT = { government_has_flag = government_is_herder }
			}
		}
		scope:puppet_or_actor = {
			revocation_tyranny_effect = { VASSAL = scope:recipient }
			title_revocation_stress_effect = { VASSAL = scope:recipient }
			consume_revoke_title_reason = scope:recipient
		}
		scope:recipient = {
			if = {
				limit = {
					NOT = { exists = scope:administrative_revocation }
					is_landed_or_landless_administrative = no
				}
				add_pressed_claim = scope:landed_title
			}
			if = {
				limit = {
					is_a_faction_member = yes
				}
				add_joined_faction_discontent = 25
			}
		}

		if = {
			limit = { scope:landed_title.tier = tier_county }
			scope:landed_title = {
				change_county_control = {
					value = -30
					if = {
						limit = {
							scope:recipient.culture != scope:puppet_or_actor.culture
							scope:recipient.culture = this.culture
						}
						multiply = 1.5
					}
					if = {
						limit = {
							scope:recipient.faith != scope:puppet_or_actor.faith
							scope:recipient.faith = this.faith
						}
						multiply = 1.5
					}
				}
			}
		}

		if = {
			limit = {
				scope:puppet_or_actor.culture = { has_cultural_parameter = penalty_for_revoking_titles_from_house_members }
				exists = scope:puppet_or_actor.house
				exists = scope:recipient.house
				scope:puppet_or_actor.house = scope:recipient.house
			}
			if = {
				limit = {
					scope:landed_title.tier = tier_county
				}
				scope:puppet_or_actor = {
					add_prestige = medium_prestige_loss
				}
			}
			else_if = {
				limit = {
					scope:landed_title.tier = tier_duchy
				}
				scope:puppet_or_actor = {
					add_prestige = major_prestige_loss
				}
			}
			else_if = { #Empire
				limit = {
					scope:landed_title.tier = tier_kingdom
				}
				scope:puppet_or_actor = {
					add_prestige = massive_prestige_loss
				}
			}
		}

		if = {
			limit = {

As written in game/common/scripted_effects/00_interaction_effects.txt.

The first 120 of its 395 lines; the rest is in game/common/scripted_effects/00_interaction_effects.txt from line 3512.

Where it is used

Every place in common/, events/ and history/ that calls revoke_title_interaction_effect.

Source: game/common/scripted_effects/00_interaction_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.

Spotted a mistake on this page?