feudal_government_taxes = {
	display_mode = tree
	icon = gold_icon
	obligation_levels = {
		feudal_tax_exempt = {
			position = { 0 0 }

			tax = exempt_feudal_tax
			subject_opinion = 10

			ai_liege_desire = 1
			ai_subject_desire = 5
			score = 2
		}
		feudal_tax_low = {
			parent = feudal_tax_exempt
			position = { 1 0 }

			tax = low_feudal_tax
			subject_opinion = 5

			ai_liege_desire = {
				value = 2
				if = {
					limit = {
						scope:liege = {
							ai_should_focus_on_building_in_their_capital = yes
						}
						scope:subject = {
							AND = {
								government_has_flag = government_is_feudal
								vassal_contract_obligation_level:feudal_government_taxes <= feudal_tax_exempt_level
							}
						}
					}
					add = 8
				}
			}
			ai_subject_desire = 4
			score = 1
		}
		feudal_tax_normal = {
			default = yes
			parent = feudal_tax_low
			position = { 2 0 }

			tax = normal_feudal_tax

			ai_liege_desire = {
				value = 3
				if = {
					limit = {
						scope:liege = {
							ai_should_focus_on_building_in_their_capital = yes
						}
						scope:subject = {
							AND = {
								government_has_flag = government_is_feudal
								vassal_contract_obligation_level:feudal_government_taxes <= feudal_tax_low_level
							}
						}
					}
					add = 7
				}
			}
			ai_subject_desire = 3
			score = 0
		}
		feudal_tax_high = {
			parent = feudal_tax_normal
			position = { 3 0 }
			
			tax = high_feudal_tax
			subject_opinion = -15

			ai_liege_desire = {
				value = 5
				if = {
					limit = {
						scope:liege = {
							ai_should_focus_on_building_in_their_capital = yes
						}
						scope:subject = {
							AND = {
								government_has_flag = government_is_feudal
								vassal_contract_obligation_level:feudal_government_taxes <= feudal_tax_normal_level
							}
						}
					}
					add = 6
				}
			}
			ai_subject_desire = 2
			score = -2
			flag = obligation_high_taxes
		}
		feudal_tax_extortionate = {
			parent = feudal_tax_high
			position = { 4 0 }
			
			tax = extortionate_feudal_tax
			subject_opinion = -25

			ai_liege_desire = {
				value = 6
				if = {
					limit = {
						scope:liege = {
							ai_should_focus_on_building_in_their_capital = yes
						}
						scope:subject = {
							AND = {
								government_has_flag = government_is_feudal
								vassal_contract_obligation_level:feudal_government_taxes <= feudal_tax_high_level
							}
						}
					}
					add = 5
				}
			}
			ai_subject_desire = 1
			score = -3
			flag = obligation_high_taxes
		}
	}
}

feudal_government_levies = {
	display_mode = tree
	icon = soldier_icon
	obligation_levels = {
		feudal_levies_exempt = {
			position = { 0 0 }

			levies = 0
			subject_opinion = 10

			ai_liege_desire = 1
			ai_subject_desire = 5
			score = 2
		}
		feudal_levies_low = {
			parent = feudal_levies_exempt
			position = { 1 0 }

			levies = 0.1
			subject_opinion = 5

			ai_liege_desire = 2
			ai_subject_desire = 4
			score = 1
		}
		feudal_levies_normal = {
			default = yes
			parent = feudal_levies_low
			position = { 2 0 }

			levies = 0.25

			ai_liege_desire = 3
			ai_subject_desire = 3
			score = 0
		}
		feudal_levies_high = {
			parent = feudal_levies_normal
			position = { 3 0 }
			
			levies = 0.35
			subject_opinion = -15

			ai_liege_desire = 4
			ai_subject_desire = 2
			score = -1
			flag = obligation_high_levies
		}
		feudal_levies_extortionate = {
			parent = feudal_levies_high
			position = { 4 0 }
			
			levies = 0.5
			subject_opinion = -25

			ai_liege_desire = 5
			ai_subject_desire = 1
			score = -2
			flag = obligation_high_levies
		}
	}
}

feudal_government_prestige = {
	display_mode = tree
	icon = prestige_icon
	obligation_levels = {
		prestige_transfer_none = {
			position = { 0 0 }

			prestige = 0

			ai_liege_desire = 1
			ai_subject_desire = 5
			score = 2
		}
		prestige_transfer_normal = {
			parent = prestige_transfer_none
			position = { 1 0 }

			prestige = 0.1
			subject_opinion = -10

			ai_liege_desire = 5
			ai_subject_desire = 3
			score = 1
		}
		prestige_transfer_high = {
			parent = prestige_transfer_normal
			position = { 2 0 }

			prestige = 0.25
			subject_opinion = -25

			ai_liege_desire = 7
			ai_subject_desire = 1
			score = 1
		}
	}
}
