# Subject contract groups

feudal_contract_group = {

	# <optional> Which contract within this group is the administrative province type contract
	# This will be used in the interface
	# Contract might be listed in 'contracts' list
	admin_province_contract = administrative_themes

	contracts = { # The subject contracts within this group
		feudal_government_taxes
		feudal_government_levies
		special_contract
		...
	}

	modify_contract_layout = clan	# a string property on the contract group that can be checked with SubjectContract.HasModifyContractLayout in gui script to choose the layout to use for the Modify Contract interaction window (default value is 'default')


	# #########################################
	# REMAINING IS ONLY FOR TRIBUTARY CONTRACTS
	# #########################################

	is_tributary = no 	# Whether or not this subject contract is specifically for tributaries or not.

	# Whether or not the subject contract is valid.
	# Scopes available:
	# ROOT - The subject in the contract
	# scope:suzerain the suzerain in the contract
	is_valid_tributary_contract = {}

	# Whether or not subject can break free from a contract themselves.
	# Same scopes as is_valid
	tributary_can_break_free = {}

	# The name of the line types that will be shown when drawing the tributary relation to the suzerain on the map.
	# Skip these parameters if you don't want a line at all.
	# suzerain_line_type is used when showing a selected character's suzerain.
	# tributary_line_type is used when showing a selected character's tributaries.
	# Lines are defined in gfx/lines/lines.lines
	suzerain_line_type = line_suzerain
	tributary_line_type = line_tributary

	# Whether or not the tributary's realm should show with the suzerain's realm name on the map (Default: no)
	should_show_as_suzerain_realm_name = yes/no

	# Whether or not the tributary's realm should show with the suzerain's realm color on the map. (Default: no)
	# If yes, the actual color will be an interpolation between the suzerain and tributary's realm colors, with the ratio defined in TRIBUTARY_REALM_COLOR_FACTOR
	should_show_as_suzerain_realm_color = yes/no

	# Whether the tributary's heirs should become tributaries themselves upon succession (if they can be, e.g. they are independent). (Default: yes)
	tributary_heir_succession = yes/no

	# Whether the suzerain's primary heir should take over as suzerain upon succession (if they can be, e.g. they are independent). (Default: yes)
	suzerain_heir_succession = yes/no
}
