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

Impose Contract Change

No costAccepted automatically

Revise your Tributary Contract with the recipient

What you need

You

  • None of these

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

    Then

    • … … changed the obligations recently and need to wait until …
    • You:
      • save_temporary_scope_value_as = { name = obligations_favoring_tributary value = scope:recipient.count_obligation_improvements_for_vassal }
      • Else, if all of these hold:
        • Conditions:
          • scope:obligations_favoring_tributary < 0
          • NOT = { scope:hook = yes }
        • Then › You: You have 250 Piety

    Else if

    • The character you target:
      • subject_contract_is_blocked_from_modification = yes

    Then

    • The character you target:
      • subject_contract_is_blocked_from_modification = no

    Otherwise

    • You:
      • save_temporary_scope_value_as = { name = obligations_favoring_tributary value = scope:recipient.count_obligation_improvements_for_vassal }
      • Else, if all of these hold:
        • Conditions:
          • scope:obligations_favoring_tributary < 0
          • NOT = { scope:hook = yes }
        • Then › You: You have 150

The character you target

  • Is a tributary of you
  • subject_contract_has_modifiable_obligations = yes
  • Their government is not unplayable

Impose Contract Change 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 Impose Contract Change?
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
  • If

    • scope:recipient.count_obligation_improvements_for_vassal < 0
    • NOT = { scope:hook = yes }

    Then

  • Every in list › The character you target:
    • tributary_contract_set_obligation_level = { type = scope:obligation.vassal_contract_type level = scope:obligation }

Options when sending

  • Use a Hook

• 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) (7 lines of game script)
is_shown = scope:recipient = {
	is_tributary_of = scope:puppet_or_actor
	subject_contract_has_modifiable_obligations = yes
	NOT = {
		government_has_flag = government_is_herder
	}
}

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

Can be sent when (is_valid…) (130 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 = suzerain_modify_subject_contract_mandala_cooldown
		NOT = {
			scope:recipient = {
				var:suzerain_recently_adjusted_mandala_subject_contract ?= scope:puppet_or_actor
			}
		}
	}
	scope:puppet_or_actor = {
		has_changed_contract_obligation_trigger = yes
		custom_description = {
			text = vassal_modify_vassal_contract_obligation_change_limit
			value = list_size:changed_obligations
			list_size:changed_obligations <= max_contract_changes
		}
		save_temporary_scope_value_as = {
			name = obligations_favoring_tributary
			value = scope:recipient.count_obligation_improvements_for_vassal
		}
		trigger_if = {
			limit = {
				scope:obligations_favoring_tributary > 0
			}
			custom_description = {
				text = vassal_modify_vassal_contract_unnecessary_hook_usage_vassal_favor
				object = scope:recipient
				value = scope:obligations_favoring_tributary
				NOT = {
					always = scope:hook
				}
			}
		}
		trigger_else_if = {
			limit = {
				scope:obligations_favoring_tributary = 0
			}
			custom_description = {
				text = vassal_modify_vassal_contract_unnecessary_hook_usage_equal
				object = scope:recipient
				NOT = {
					always = scope:hook
				}
			}
		}
		trigger_else_if = {
			limit = {
				scope:obligations_favoring_tributary < 0
				NOT = {
					always = scope:hook
				}
			}
			scope:puppet_or_actor = {
				piety >= major_piety_value
			}
		}
		trigger_else = { }
	}
}
trigger_else_if = {
	limit = {
		scope:recipient = {
			subject_contract_is_blocked_from_modification = yes
		}
	}
	scope:recipient = {
		subject_contract_is_blocked_from_modification = no
	}
}
trigger_else = {
	scope:puppet_or_actor = {
		has_changed_contract_obligation_trigger = yes
		custom_description = {
			text = vassal_modify_vassal_contract_obligation_change_limit
			value = list_size:changed_obligations
			list_size:changed_obligations <= max_contract_changes
		}
		save_temporary_scope_value_as = {
			name = obligations_favoring_tributary
			value = scope:recipient.count_obligation_improvements_for_vassal
		}
		trigger_if = {
			limit = {
				scope:obligations_favoring_tributary > 0
			}
			custom_description = {
				text = vassal_modify_vassal_contract_unnecessary_hook_usage_vassal_favor
				object = scope:recipient
				value = scope:obligations_favoring_tributary
				NOT = {
					always = scope:hook
				}
			}
		}
		trigger_else_if = {
			limit = {
				scope:obligations_favoring_tributary = 0
			}
			custom_description = {
				text = vassal_modify_vassal_contract_unnecessary_hook_usage_equal
				object = scope:recipient
				NOT = {
					always = scope:hook
				}
			}
		}
		trigger_else_if = {
			limit = {
				scope:obligations_favoring_tributary < 0
				NOT = {
					always = scope:hook
				}
			}
			scope:puppet_or_actor = {
				prestige >= medium_prestige_value
			}
		}
		trigger_else = { }
	}
}

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

Effects (on_send, on_accept, on_decline) (75 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
			}
		}
		if = {
			limit = {
				scope:recipient.count_obligation_improvements_for_vassal < 0
				NOT = {
					always = scope:hook
				}
			}
			if = {
				limit = {
					government_has_flag = government_is_mandala
				}
				add_piety = major_piety_loss
			}
			else = {
				add_prestige = medium_prestige_loss
			}
			scope:recipient = {
				add_opinion = {
					modifier = outraged_opinion
					opinion = -30
					target = scope:puppet_or_actor
				}
			}
			every_tributary = {
				limit = {
					NOT = {
						this = scope:recipient
					}
				}
				add_opinion = {
					modifier = outraged_opinion
					opinion = -10
					target = scope:puppet_or_actor
				}
			}
		}
		scope:recipient = {
			hidden_effect = {
				set_subject_contract_modification_blocked = yes
			}
			set_variable = {
				name = suzerain_recently_adjusted_mandala_subject_contract
				value = scope:puppet_or_actor
				years = mandala_vassal_obligation_cooldown_years
			}
		}
		every_in_list = {
			list = changed_obligations
			save_scope_as = obligation
			scope:recipient = {
				tributary_contract_set_obligation_level = {
					type = scope:obligation.vassal_contract_type
					level = scope:obligation
				}
			}
		}
	}
}
scope:recipient = {
	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
suzerain_modify_tributary_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?