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

Interaction · Vassal actions

Modify Vassal Contract

No costAccepted automatically

Renegotiate your Obligations to the other character

What you need

You

To send it

  • None of these

    • The character you target: Is at war with you
  • If

    Then

    • … … changed the obligations recently and need to wait until …

    Else if

    • You:
      • subject_contract_is_blocked_from_modification = yes

    Then

    • You:
      • subject_contract_is_blocked_from_modification = no

To see it in the menu

  • Is a direct vassal of the target
  • You are not a Tributary
  • vassal_contract_has_modifiable_obligations = yes
  • Your government does not have the administrative mechanic
  • Your government is not Nomadic

Modify Vassal Contract is a vassal character interaction in Crusader Kings III. Accepted automatically. Patch 1.20.1.2, from game/common/character_interactions/00_modifiy_vassal_contract.txt.

for a guide, post or blog
Quick answers (1)
Will the AI accept Modify Vassal Contract?
Yes: it is accepted automatically.

Will they accept?

The other character has no choice: the game accepts it automatically.

What happens

Effects

  • If

    Then

    • Use a Hook on the target
  • Every in list › You:
    • vassal_contract_set_obligation_level = { type = scope:obligation.vassal_contract_type level = scope:obligation }
  • If never:
    • If

      a check the game hides

      Then

      • The diarch:
        • … use your status as Diarch to countersign some of … own changes
        • If

          • diarch ?= scope:liege
          • has_diarchy_active_parameter = diarchy_is_co_rulership

          Then

          • Opinion: Abused Position of Trust (-10)

          Otherwise

          • Opinion: Abused Position of Trust (-40)

Options when sending

  • Use a Hook
  • Use Borrowed Powers

• the game's own tooltip text · ◦ our reading of the script line · code the script where neither exists

Who can use it and sees it (is_available, is_shown) (10 lines of game script)
is_shown = scope:puppet_or_actor = {
	liege ?= scope:recipient
	this != scope:recipient
	is_tributary = no
	vassal_contract_has_modifiable_obligations = yes
	NOR = {
		government_has_mechanic = administrative
		government_has_flag = government_is_nomadic
	}
}

As written in game/common/character_interactions/00_modifiy_vassal_contract.txt.

Can be sent when (is_valid…) (74 lines of game script)
NOT = {
	scope:recipient = {
		is_at_war_with = scope:puppet_or_actor
	}
}
trigger_if = {
	limit = {
		scope:puppet_or_actor = {
			government_has_flag = government_is_mandala
		}
	}
	custom_tooltip = {
		text = vassal_modify_vassal_contract_mandala_cooldown
		NOT = {
			scope:puppet_or_actor = {
				var:vassal_recently_adjusted_mandala_vassal_contract ?= scope:recipient
			}
		}
	}
	scope:puppet_or_actor = {
		has_changed_contract_obligation_trigger = yes
	}
	scope:puppet_or_actor = {
		trigger_if = {
			limit = {
				count_obligation_improvements_for_vassal_include_hook >= 0
			}
			custom_description = {
				text = vassal_modify_vassal_contract_cannot_increase_obligation_level
				object = scope:recipient
				value = count_obligation_improvements_for_vassal_include_hook
				count_obligation_improvements_for_vassal_include_hook = 0
			}
		}
		custom_description = {
			text = vassal_modify_vassal_contract_obligation_change_limit
			value = list_size:changed_obligations
			list_size:changed_obligations <= max_contract_changes
		}
	}
}
trigger_else_if = {
	limit = {
		scope:puppet_or_actor = {
			subject_contract_is_blocked_from_modification = yes
		}
	}
	scope:puppet_or_actor = {
		subject_contract_is_blocked_from_modification = no
	}
}
trigger_else = {
	scope:puppet_or_actor = {
		has_changed_contract_obligation_trigger = yes
	}
	scope:puppet_or_actor = {
		trigger_if = {
			limit = {
				count_obligation_improvements_for_vassal_include_hook >= 0
			}
			custom_description = {
				text = vassal_modify_vassal_contract_cannot_increase_obligation_level
				object = scope:recipient
				value = count_obligation_improvements_for_vassal_include_hook
				count_obligation_improvements_for_vassal_include_hook = 0
			}
		}
		custom_description = {
			text = vassal_modify_vassal_contract_obligation_change_limit
			value = list_size:changed_obligations
			list_size:changed_obligations <= max_contract_changes
		}
	}
}

As written in game/common/character_interactions/00_modifiy_vassal_contract.txt.

Effects (on_send, on_accept, on_decline) (106 lines of game script)
on_accept = scope:puppet_or_actor = {
	send_interface_message = {
		type = msg_vassal_contract_change
		title = modify_vassal_contract_interaction_notification
		right_icon = scope:recipient
		if = {
			limit = {
				always = scope:hook
			}
			use_hook = scope:recipient
			add_achievement_flag_effect = {
				FLAG = achievement_fine_print_flag
			}
		}
		hidden_effect = {
			set_subject_contract_modification_blocked = yes
		}
		every_in_list = {
			list = changed_obligations
			save_scope_as = obligation
			scope:puppet_or_actor = {
				vassal_contract_set_obligation_level = {
					type = scope:obligation.vassal_contract_type
					level = scope:obligation
				}
			}
		}
	}
}
scope:puppet_or_actor = {
	set_variable = {
		name = vassal_recently_adjusted_mandala_vassal_contract
		value = scope:recipient
		years = mandala_vassal_obligation_cooldown_years
	}
}
diarch_changed_own_contract_effect = yes
hidden_effect = {
	if = {
		limit = {
			catalyst_granted_powerful_diff_faith_vassal_religious_protection_preliminary_trigger = {
				CHAR = scope:puppet_or_actor
			}
			scope:recipient = {
				any_character_struggle = {
					involvement = involved
					activate_struggle_catalyst_secondary_character_involvement_involved_trigger = {
						CATALYST = catalyst_granted_powerful_diff_faith_vassal_religious_protection
						CHAR = scope:puppet_or_actor
					}
				}
			}
		}
		scope:recipient = {
			every_character_struggle = {
				involvement = involved
				limit = {
					activate_struggle_catalyst_secondary_character_involvement_involved_trigger = {
						CATALYST = catalyst_granted_powerful_diff_faith_vassal_religious_protection
						CHAR = scope:puppet_or_actor
					}
				}
				activate_struggle_catalyst = {
					catalyst = catalyst_granted_powerful_diff_faith_vassal_religious_protection
					character = scope:recipient
				}
			}
		}
	}
	if = {
		limit = {
			scope:recipient.count_obligation_improvements_for_vassal > 0
			scope:puppet_or_actor = {
				is_diff_faith_or_culture_trigger = {
					CHAR = scope:recipient
					STATUS = involved
				}
				any_character_struggle = {
					involvement = involved
					activate_struggle_catalyst_secondary_character_involvement_involved_trigger = {
						CATALYST = catalyst_grant_privilege_to_diff_faith_culture_vassal
						CHAR = scope:recipient
					}
				}
			}
		}
		scope:puppet_or_actor = {
			every_character_struggle = {
				involvement = involved
				limit = {
					activate_struggle_catalyst_secondary_character_involvement_involved_trigger = {
						CATALYST = catalyst_grant_privilege_to_diff_faith_culture_vassal
						CHAR = scope:recipient
					}
				}
				activate_struggle_catalyst = {
					catalyst = catalyst_grant_privilege_to_diff_faith_culture_vassal
					character = scope:puppet_or_actor
				}
			}
		}
	}
}
scope:puppet_or_actor = {
	additional_flavor_check_effect = yes
}

As written in game/common/character_interactions/00_modifiy_vassal_contract.txt.

Category
Vassal actions
In the menu
main list
ID
vassal_modify_vassal_contract_interaction

Source: game/common/character_interactions/00_modifiy_vassal_contract.txt and the English localisation, Crusader Kings III 1.20.1.2. “You” is the character who sends it (scope:actor, or a puppet acting for you); “the character you target” is the recipient.

Spotted a mistake on this page?