estate_vaisyas_land_rights = {
	icon = privilege_grant_autonomy
	land_share = 5
	max_absolutism = -5
	conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 1 } }
	loyalty = 0.05
	influence = 0.05
	can_select = {
	}
	on_granted = {
	}
	penalties = {
	}
	benefits = {
		governing_capacity = 100
	}
	conditional_modifier = {
		trigger = { has_country_flag = ned_land_rights_buff_flag }
		modifier = {
			governing_capacity = 50
		}
	}
	ai_will_do = {
		factor = 5
		modifier = {
			factor = 1.4
			num_of_territories = 5
		}
		modifier = {
			factor = 1.5
			num_of_territories = 10
		}
		modifier = {
			factor = 1.5
			num_of_territories = 15
		}
		modifier = {
			factor = 0
			OR = {
				NOT = { crown_land_share = 25 }
				estate_influence = {
					estate = estate_vaisyas
					influence = 75
				}
			}
			NOT = { has_estate_privilege = estate_vaisyas_land_rights }
		}
		modifier = {
			factor = 3
			OR = {
				AND = {
					governing_capacity_percentage = 0.9
					NOT = { has_estate_privilege = estate_vaisyas_land_rights }
				}
				#The trigger below should make sure that the AI actually keeps this privilege when enacting it early game
				AND = {
					governing_capacity_percentage = 0.6
					has_estate_privilege = estate_vaisyas_land_rights
				}
			}
		}
		modifier = {
			factor = 0
			NOT = { governing_capacity_percentage = 0.5 }
		}
		modifier = {
			factor = 0.8
			OR = {
				NOT = { crown_land_share = 40 }
				AND = {
					is_absolutism_active = yes
					NOT = { crown_land_share = 60 }
				}
			}
			NOT = { has_estate_privilege = estate_vaisyas_land_rights }
		}
		modifier = {
			factor = 0.8
			OR = {
				NOT = { crown_land_share = 30 }
				AND = {
					is_absolutism_active = yes
					NOT = { crown_land_share = 50 }
				}
			}
			NOT = { has_estate_privilege = estate_vaisyas_land_rights }
		}
		modifier = {
			factor = 0.8
			is_absolutism_active = yes
		}
		modifier = {
			factor = 2
			governing_capacity_percentage = 0.9
		}
		modifier = {
			factor = 3
			governing_capacity_percentage = 1
		}
		modifier = {
			factor = 10
			governing_capacity_percentage = 1.2
		}
		modifier = {
			factor = 8
			NOT = { adm_tech = 12 }
			governing_capacity_percentage = 0.8
		}
		modifier = {
			factor = 5
			NOT = { adm_tech = 12 }
			NOT = { government_rank = 1 }
			governing_capacity_percentage = 0.65
		}
		#Tag specific convincement - after tech 17 (+250 governing capacity) it should not play a role anymore
		modifier = {
			factor = 1.25
			tag = MOS
			NOT = { adm_tech = 17 }
		}
		modifier = {
			factor = 1.25
			tag = RUS
			NOT = { adm_tech = 17 }
		}
		modifier = {
			factor = 1.25
			tag = TUR
			NOT = { adm_tech = 17 }
		}
		modifier = {
			factor = 1.25
			tag = MNG
			NOT = { adm_tech = 17 }
		}
		modifier = {
			factor = 1.25
			tag = FRA
			NOT = { adm_tech = 17 }
		}
		modifier = {
			factor = 1.25
			tag = SPA
			NOT = { adm_tech = 17 }
		}
		modifier = {
			factor = 1.25
			tag = PLC
			NOT = { adm_tech = 17 }
		}
		#Has already a similar privilege active
		modifier = {
			factor = 0.75
			has_estate_privilege = estate_brahmins_land_rights
		}
		modifier = {
			factor = 0.75
			has_estate_privilege = estate_nobles_land_rights
		}
		modifier = {
			factor = 0.75
			has_estate_privilege = estate_church_land_rights
		}
		modifier = {
			factor = 0.75
			has_estate_privilege = estate_maratha_land_rights
		}
		modifier = {
			factor = 0.75
			has_estate_privilege = estate_burghers_land_rights
		}
		modifier = {
			factor = 0.75
			has_estate_privilege = estate_cossacks_land_rights
		}
		modifier = {
			factor = 0.75
			has_estate_privilege = estate_nomadic_tribes_land_rights
		}
		modifier = {
			factor = 0.75
			has_estate_privilege = estate_dhimmi_land_rights
		}
		modifier = {
			factor = 0.75
			has_estate_privilege = estate_jains_land_rights
		}
		modifier = {
			factor = 0.75
			has_estate_privilege = estate_rajput_land_rights
		}
	}
}

estate_vaisyas_loyalty_privilege = {
	icon = privilege_royal_authority
	max_absolutism = -10
	conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 2 } }
	loyalty = 0.1
	influence = 0.1
	penalties = {
	}
	benefits = {
	}
	ai_will_do = {
		factor = 10
		modifier = {
			factor = 0
			is_absolutism_active = yes
		}
	}
}

estate_vaisyas_advisor = {
	icon = privilege_recruit_minister
	max_absolutism = -5
	conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 1 } }
	influence = 0.05
	loyalty = 0.05
	penalties = {
		stability_cost_modifier = 0.1
	}
	benefits = {
		dip_advisor_cost = -0.15
	}
	ai_will_do = {
		factor = 9
		modifier = {
			factor = 0.5
			is_absolutism_active = yes
		}
		modifier = {
			factor = 3
			uses_meritocracy = yes
		}
	}
}

estate_vaisyas_wartaxes = {
	icon = privilege_exempt_officers_from_jaziya
	max_absolutism = -5
	conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 1 } }
	loyalty = -0.05
	benefits = {
		war_taxes_cost_modifier = -0.5
		war_exhaustion = -0.02
	}
	ai_will_do = {
		factor = 10
		modifier = {
			factor = 0
			current_age = age_of_discovery
		}
		modifier = {
			factor = 0
			is_absolutism_active = yes
		}
	}
}

estate_vaisyas_patronage_of_the_arts = {
	icon = privilege_build_jain_temple
	max_absolutism = -5
	conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 1 } }
	loyalty = 0.05
	influence = 0.05
	penalties = {
		global_tax_modifier = -0.05
	}
	benefits = {
		prestige = 0.5
	}
	cooldown_years = 10
	on_granted = {
		if = {
			limit = { prestige = 50 }
			add_prestige = 10
		}
		else_if = {
			limit = { prestige = 0 }
			add_prestige = 15
		}
		else_if = {
			limit = { prestige = -25 }
			add_prestige = 20
		}
		else_if = {
			limit = { prestige = -50 }
			add_prestige = 25
		}
		else = {
			add_prestige = 30
		}
	}
	ai_will_do = {
		factor = 0
	}
}

estate_vaisyas_land_trade_rights = {
	icon = privilege_land_rights
	land_share = 5
	max_absolutism = -5
	conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 1 } }
	loyalty = 0.1
	influence = 0.1
	is_valid = {
	}
	can_select = {
	}
	can_revoke = {
	}
	on_granted = {
	}
	modifier_by_land_ownership = {
		trade_efficiency = 0.3
	}
	penalties = {
	}
	benefits = {
		center_of_trade_upgrade_cost = -0.15
	}
	mechanics = {
		exempt_from_seize_land
	}
	cooldown_years = 25
	ai_will_do = {
		factor = 0
	}
}

#DLC Privileges

estate_vaisyas_monopoly_of_textiles = {
	icon = privilege_monopoly_of_goods_cloth
	max_absolutism = -10
	conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 2 } }
	loyalty = 0.05
	is_valid = {
		OR = {
			has_dlc = "Emperor"
			has_country_flag = buffed_monopolies
		}
		any_owned_province = {
			OR = {
				trade_goods = cloth
				trade_goods = silk
			}
		}
	}
	can_select = {
		custom_trigger_tooltip = {
			tooltip = unavailable_during_revolution_disaster
			NOT = { has_disaster = revolution }
			NOT = {
				has_disaster_progress = {
					disaster = revolution
					value = 1
				}
			}
			NOT = { has_disaster = french_revolution }
			NOT = {
				has_disaster_progress = {
					disaster = french_revolution
					value = 1
				}
			}
		}
	}
	on_granted = {
		if = {
			limit = {
				OR = {
					cloth = 1
					silk = 1
				}
			}
			add_mercantilism = 1
		}
		add_years_of_owned_provinces_production_income = {
			years = 8
			trigger = {
				OR = {
					trade_goods = cloth
					trade_goods = silk
				}
			}
			custom_tooltip = MONOPOLY_INCOME_CLOTH_SILK_DESC
		}
		custom_tooltip = estate_vaisyas_monopoly_of_textiles_effect_tooltip
	}
	on_granted_province = {
		if = {
			limit = {
				OR = {
					trade_goods = cloth
					trade_goods = silk
				}
			}
			add_province_modifier = {
				name = estate_vaisyas_monopoly_of_textiles_mod
				duration = -1
			}
		}
		else_if = {
			limit = {
				has_province_modifier = estate_vaisyas_monopoly_of_textiles_mod
			}
			remove_province_modifier = estate_vaisyas_monopoly_of_textiles_mod
		}
	}
	on_revoked = {
		custom_tooltip = estate_vaisyas_monopoly_of_textiles_revoke_tooltip
	}
	on_revoked_province = {
		if = {
			limit = {
				has_province_modifier = estate_vaisyas_monopoly_of_textiles_mod
			}
			remove_province_modifier = estate_vaisyas_monopoly_of_textiles_mod
		}
	}
	on_invalid = {
		custom_tooltip = estate_vaisyas_monopoly_of_textiles_revoke_tooltip
	}
	on_invalid_province = {
		if = {
			limit = {
				has_province_modifier = estate_vaisyas_monopoly_of_textiles_mod
			}
			remove_province_modifier = estate_vaisyas_monopoly_of_textiles_mod
		}
	}
	penalties = {
	}
	benefits = {
	}

	cooldown_years = 10
	conditional_modifier = {
		trigger = {
			has_country_flag = buffed_monopolies
		}
		modifier = {
			max_absolutism = 10
			vaisyas_privilege_slots = 1
		}
	}
	on_cooldown_expires = {
		country_event = { id = monopoly_privileges.1 }
	}
	ai_will_do = {
		factor = 0
	}
}

estate_vaisyas_monopoly_of_dyes = {
	icon = privilege_monopoly_of_goods_dyes
	max_absolutism = -10
	conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 2 } }
	loyalty = 0.05
	is_valid = {
		OR = {
			has_dlc = "Emperor"
			has_country_flag = buffed_monopolies
		}
		any_owned_province = {
			trade_goods = dyes
		}
	}
	can_select = {
		custom_trigger_tooltip = {
			tooltip = unavailable_during_revolution_disaster
			NOT = { has_disaster = revolution }
			NOT = {
				has_disaster_progress = {
					disaster = revolution
					value = 1
				}
			}
			NOT = { has_disaster = french_revolution }
			NOT = {
				has_disaster_progress = {
					disaster = french_revolution
					value = 1
				}
			}
		}
	}
	on_granted = {
		if = {
			limit = {
				dyes = 1
			}
			add_mercantilism = 1
		}
		add_years_of_owned_provinces_production_income = {
			years = 8
			trigger = {
				trade_goods = dyes
			}
			custom_tooltip = MONOPOLY_INCOME_DYE_DESC
		}
		custom_tooltip = estate_vaisyas_monopoly_of_dyes_effect_tooltip
	}
	on_granted_province = {
		if = {
			limit = {
				trade_goods = dyes
			}
			add_province_modifier = {
				name = estate_vaisyas_monopoly_of_dyes_mod
				duration = -1
			}
		}
		else_if = {
			limit = {
				has_province_modifier = estate_vaisyas_monopoly_of_dyes_mod
			}
			remove_province_modifier = estate_vaisyas_monopoly_of_dyes_mod
		}
	}
	on_revoked = {
		custom_tooltip = estate_vaisyas_monopoly_of_dyes_revoke_tooltip
	}
	on_revoked_province = {
		if = {
			limit = {
				has_province_modifier = estate_vaisyas_monopoly_of_dyes_mod
			}
			remove_province_modifier = estate_vaisyas_monopoly_of_dyes_mod
		}
	}
	on_invalid = {
		custom_tooltip = estate_vaisyas_monopoly_of_dyes_revoke_tooltip
	}
	on_invalid_province = {
		if = {
			limit = {
				has_province_modifier = estate_vaisyas_monopoly_of_dyes_mod
			}
			remove_province_modifier = estate_vaisyas_monopoly_of_dyes_mod
		}
	}
	penalties = {
	}
	benefits = {
	}

	cooldown_years = 10
	conditional_modifier = {
		trigger = {
			has_country_flag = buffed_monopolies
		}
		modifier = {
			max_absolutism = 10
			vaisyas_privilege_slots = 1
		}
	}
	on_cooldown_expires = {
		country_event = { id = monopoly_privileges.2 }
	}
	ai_will_do = {
		factor = 0
	}
}

estate_vaisyas_monopoly_of_glass = {
	icon = privilege_monopoly_of_goods_glass
	max_absolutism = -10
	conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 2 } }
	loyalty = 0.05
	is_valid = {
		OR = {
			has_dlc = "Emperor"
			has_country_flag = buffed_monopolies
		}
		any_owned_province = {
			trade_goods = glass
		}
	}
	can_select = {
		custom_trigger_tooltip = {
			tooltip = unavailable_during_revolution_disaster
			NOT = { has_disaster = revolution }
			NOT = {
				has_disaster_progress = {
					disaster = revolution
					value = 1
				}
			}
			NOT = { has_disaster = french_revolution }
			NOT = {
				has_disaster_progress = {
					disaster = french_revolution
					value = 1
				}
			}
		}
	}
	on_granted = {
		if = {
			limit = {
				glass = 1
			}
			add_mercantilism = 1
		}
		add_years_of_owned_provinces_production_income = {
			years = 8
			trigger = {
				trade_goods = glass
			}
			custom_tooltip = MONOPOLY_INCOME_GLASS_DESC
		}
		custom_tooltip = estate_vaisyas_monopoly_of_glass_effect_tooltip
	}
	on_granted_province = {
		if = {
			limit = {
				trade_goods = glass
			}
			add_province_modifier = {
				name = estate_vaisyas_monopoly_of_glass_mod
				duration = -1
			}
		}
		else_if = {
			limit = {
				has_province_modifier = estate_vaisyas_monopoly_of_glass_mod
			}
			remove_province_modifier = estate_vaisyas_monopoly_of_glass_mod
		}
	}
	on_revoked = {
		custom_tooltip = estate_vaisyas_monopoly_of_glass_revoke_tooltip
	}
	on_revoked_province = {
		if = {
			limit = {
				has_province_modifier = estate_vaisyas_monopoly_of_glass_mod
			}
			remove_province_modifier = estate_vaisyas_monopoly_of_glass_mod
		}
	}
	on_invalid = {
		custom_tooltip = estate_vaisyas_monopoly_of_glass_revoke_tooltip
	}
	on_invalid_province = {
		if = {
			limit = {
				has_province_modifier = estate_vaisyas_monopoly_of_glass_mod
			}
			remove_province_modifier = estate_vaisyas_monopoly_of_glass_mod
		}
	}
	penalties = {
	}
	benefits = {
	}

	cooldown_years = 10
	conditional_modifier = {
		trigger = {
			has_country_flag = buffed_monopolies
		}
		modifier = {
			max_absolutism = 10
			vaisyas_privilege_slots = 1
		}
	}
	on_cooldown_expires = {
		country_event = { id = monopoly_privileges.3 }
	}
	ai_will_do = {
		factor = 0
	}
}

estate_vaisyas_monopoly_of_paper = {
	icon = privilege_monopoly_of_goods_paper
	max_absolutism = -10
	conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 2 } }
	loyalty = 0.05
	is_valid = {
		OR = {
			has_dlc = "Emperor"
			has_country_flag = buffed_monopolies
		}
		any_owned_province = {
			trade_goods = paper
		}
	}
	can_select = {
		custom_trigger_tooltip = {
			tooltip = unavailable_during_revolution_disaster
			NOT = { has_disaster = revolution }
			NOT = {
				has_disaster_progress = {
					disaster = revolution
					value = 1
				}
			}
			NOT = { has_disaster = french_revolution }
			NOT = {
				has_disaster_progress = {
					disaster = french_revolution
					value = 1
				}
			}
		}
	}
	on_granted = {
		if = {
			limit = {
				paper = 1
			}
			add_mercantilism = 1
		}
		add_years_of_owned_provinces_production_income = {
			years = 8
			trigger = {
				trade_goods = paper
			}
			custom_tooltip = MONOPOLY_INCOME_PAPER_DESC
		}
		custom_tooltip = estate_vaisyas_monopoly_of_paper_effect_tooltip
	}
	on_granted_province = {
		if = {
			limit = {
				trade_goods = paper
			}
			add_province_modifier = {
				name = estate_vaisyas_monopoly_of_paper_mod
				duration = -1
			}
		}
		else_if = {
			limit = {
				has_province_modifier = estate_vaisyas_monopoly_of_paper_mod
			}
			remove_province_modifier = estate_vaisyas_monopoly_of_paper_mod
		}
	}
	on_revoked = {
		custom_tooltip = estate_vaisyas_monopoly_of_paper_revoke_tooltip
	}
	on_revoked_province = {
		if = {
			limit = {
				has_province_modifier = estate_vaisyas_monopoly_of_paper_mod
			}
			remove_province_modifier = estate_vaisyas_monopoly_of_paper_mod
		}
	}
	on_invalid = {
		custom_tooltip = estate_vaisyas_monopoly_of_paper_revoke_tooltip
	}
	on_invalid_province = {
		if = {
			limit = {
				has_province_modifier = estate_vaisyas_monopoly_of_paper_mod
			}
			remove_province_modifier = estate_vaisyas_monopoly_of_paper_mod
		}
	}
	penalties = {
	}
	benefits = {
	}

	cooldown_years = 10
	conditional_modifier = {
		trigger = {
			has_country_flag = buffed_monopolies
		}
		modifier = {
			max_absolutism = 10
			vaisyas_privilege_slots = 1
		}
	}
	on_cooldown_expires = {
		country_event = { id = monopoly_privileges.4 }
	}
	ai_will_do = {
		factor = 0
	}
}

estate_vaisyas_exclusive_trade_rights = {
	icon = privilege_make_generous_donation
	max_absolutism = -5
	conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 1 } }
	influence = 0.05
	loyalty = 0.05
	is_valid = {
		has_dlc = "Emperor"
		any_active_trade_node = {
			calc_true_if = {
				amount = 3
				all_trade_node_member_province = {
					owned_by = root
					province_has_center_of_trade_of_level = 1
				}
			}
		}
	}
	on_granted = {
		random_active_trade_node = {
			limit = {
				calc_true_if = {
					amount = 3
					all_trade_node_member_province = {
						owned_by = root
						province_has_center_of_trade_of_level = 1
					}
				}
			}
			custom_tooltip = estate_burghers_exclusive_trade_rights_enact_tooltip
			hidden_effect = {
				every_trade_node_member_province = {
					limit = {
						owned_by = root
						province_has_center_of_trade_of_level = 1
					}
					add_province_modifier = {
						name = estate_burghers_exclusive_trade_rights_mod
						duration = -1
					}
				}
			}
		}
		add_mercantilism = 3
	}
	on_revoked = {
		custom_tooltip = estate_burghers_exclusive_trade_rights_revoke_tooltip
	}
	on_revoked_province = {
		if = {
			limit = {
				has_province_modifier = estate_burghers_exclusive_trade_rights_mod
			}
			remove_province_modifier = estate_burghers_exclusive_trade_rights_mod
		}
	}
	on_invalid = {
		custom_tooltip = estate_burghers_exclusive_trade_rights_revoke_tooltip
	}
	on_invalid_province = {
		if = {
			limit = {
				has_province_modifier = estate_burghers_exclusive_trade_rights_mod
			}
			remove_province_modifier = estate_burghers_exclusive_trade_rights_mod
		}
	}
	penalties = {
	}
	benefits = {
	}
	ai_will_do = {
		factor = 0
	}
}

estate_vaisyas_control_over_monetary_policy = {
	icon = privilege_monopoly
	max_absolutism = -10
	conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 2 } }
	influence = 0.05
	loyalty = 0.05
	is_valid = {
		has_dlc = "Emperor"
	}
	penalties = {
		all_power_cost = 0.05
	}
	benefits = {
		inflation_reduction = 0.15
		interest = -0.5
		production_efficiency = 0.05
	}
	conditional_modifier = {
		trigger = {
			has_country_flag = fra_enable_italian_bookkeeping_privilege_flag
		}
		modifier = {
			all_power_cost = -0.05
			vaisyas_influence_modifier = 0.025 
		}
	}
	ai_will_do = {
		factor = 1
		modifier = {
			factor = 10
			OR = {
				inflation = 15
				num_of_loans = 15
			}
		}
		modifier = {
			factor = 0
			is_absolutism_active = yes
		}
	}
}

estate_vaisyas_private_trade_fleets = {
	icon = privilege_comission_merchant_ships_for_war
	max_absolutism = -5
	conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 1 } }
	influence = 0.1
	loyalty = 0.05
	is_valid = {
		has_dlc = "Emperor"
		any_owned_province = {
			has_port = yes
		}
		navy_size = 1
	}
	penalties = {
	}
	benefits = {
		light_ship_cost = -0.2
		global_ship_trade_power = 0.1
	}
	ai_will_do = {
		factor = 1
		modifier = {
			factor = 10
			num_of_light_ship = 15
			trade_income_percentage = 0.35
		}
		modifier = {
			factor = 0
			is_absolutism_active = yes
		}
	}
}

estate_vaisyas_khmer_irrigation = {
	icon = privilege_monopoly_of_goods_livestock
	can_select = {
		OR = {
			mission_completed = mnd_khm_irrigation
			has_estate_privilege = estate_vaisyas_khmer_irrigation
		}
	}
	is_valid = {
		NOT = { has_estate_privilege = estate_burghers_khmer_irrigation }
		OR = {
			tag = LNA
			tag = KHM
			has_estate_privilege = estate_vaisyas_khmer_irrigation
		}
	}
	on_granted = {
		custom_tooltip = estate_burghers_khmer_irrigation_effect_tooltip
	}
	on_granted_province = {
		if = {
			limit = {
				trade_goods = grain
			}
			add_province_modifier = {
				name = estate_burghers_khmer_irrigation_mod
				duration = -1
			}
		}
		else_if = {
			limit = {
				has_province_modifier = estate_burghers_khmer_irrigation_mod
			}
			remove_province_modifier = estate_burghers_khmer_irrigation_mod
		}
	}
	on_revoked = {
		custom_tooltip = estate_burghers_khmer_irrigation_revoke_effect_tooltip
	}
	on_revoked_province = {
		if = {
			limit = {
				has_province_modifier = estate_burghers_khmer_irrigation_mod
			}
			remove_province_modifier = estate_burghers_khmer_irrigation_mod
		}
	}
	on_invalid = {
		custom_tooltip = estate_burghers_khmer_irrigation_revoke_effect_tooltip
	}
	on_invalid_province = {
		if = {
			limit = {
				has_province_modifier = estate_burghers_khmer_irrigation_mod
			}
			remove_province_modifier = estate_burghers_khmer_irrigation_mod
		}
	}
	penalties = {
	}
	benefits = {
	}
	ai_will_do = {
		factor = 1000
	}
}

#Domination generic Estate Privileges
estate_vaisyas_development_of_cities = {
	icon = privilege_development_efficiency
	loyalty = 0.05
	influence = 0.05
	max_absolutism = -5
	conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 1 } }
	is_valid = {
		has_dlc = "Domination"
	}
	on_granted = {
		custom_tooltip = estate_vaisyas_development_of_cities_gt
		tooltip = {
			add_province_modifier = {
				name = estate_vaisyas_development_of_cities_mod
				duration = -1
			}
		}
	}
	on_revoked = {
		custom_tooltip = estate_vaisyas_development_of_cities_rt
	}
	on_granted_province = {
		if = {
			limit = {
				OR = {
					province_has_center_of_trade_of_level = 1
					has_river_estuary_trigger = yes
				}
			}
			add_province_modifier = {
				name = estate_vaisyas_development_of_cities_mod
				duration = -1
			}
		}
	}
	on_invalid_province = {
		if = {
			limit = { has_province_modifier = estate_vaisyas_development_of_cities_mod }
			remove_province_modifier = estate_vaisyas_development_of_cities_mod
		}
	}
	on_revoked_province = {
		if = {
			limit = { has_province_modifier = estate_vaisyas_development_of_cities_mod }
			remove_province_modifier = estate_vaisyas_development_of_cities_mod
		}
	}

	mechanics = {
		no_estate_crownland_loss_from_developing
	}
	ai_will_do = {
		factor = 0
	}
}
estate_vaisyas_control_over_the_coinage = {
	icon = privilege_gold_mint
	loyalty = 0.0
	influence = 0.05
	max_absolutism = -5
	conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 1 } }
	is_valid = {
		has_dlc = "Domination"
	}
	can_select = {
	}
	on_granted = {
		enable_estate_action = {
			estate_action = RECRUIT_MINISTER_VAISYAS
		}
	}
	on_revoked = {
		disable_estate_action = {
			estate_action = RECRUIT_MINISTER_VAISYAS
		}
	}
	on_invalid = {
		disable_estate_action = {
			estate_action = RECRUIT_MINISTER_VAISYAS
		}
	}
	ai_will_do = {
		factor = 0
	}
}
estate_vaisyas_economical_boost = {
	icon = privilege_monopoly
	loyalty = 0.0
	influence = 0.05
	max_absolutism = -5
	conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 1 } }
	is_valid = {
		has_dlc = "Domination"
	}
	can_select = {
		if = {
			limit = { has_estate_privilege = estate_burghers_economical_boost }
			NOT = { has_estate_privilege = estate_burghers_economical_boost }
		}
		if = {
			limit = { has_estate_privilege = estate_jains_economical_boost }
			NOT = { has_estate_privilege = estate_jains_economical_boost }
		}
	}
	on_granted = {
		scaling_with_influence_privilege_tooltip = {
			estate_privilege = estate_burghers_economical_boost
		}
	}
	on_revoked = {
		scaling_with_influence_privilege_tooltip = {
			estate_privilege = estate_burghers_economical_boost
		}
	}
	influence_scaled_conditional_modifier = {	#Modifier that are applied if the specified conditions are true. At 100% Influence you gain 100% of the modifier.
		trigger = {
			NOT = {
				estate_loyalty = {
					estate = estate_vaisyas
					loyalty = 30
				}
			}
		}
		modifier = {
			global_prov_trade_power_modifier = -0.25
		}
	}
	influence_scaled_conditional_modifier = {	#Modifier that are applied if the specified conditions are true. At 100% Influence you gain 100% of the modifier.
		trigger = {
			estate_loyalty = {
				estate = estate_vaisyas
				loyalty = 30
			}
			NOT = {
				estate_loyalty = {
					estate = estate_vaisyas
					loyalty = 60
				}
			}
		}
		modifier = {
			placed_merchant_power = 5
			global_prov_trade_power_modifier = 0.25
		}
	}
	influence_scaled_conditional_modifier = {	#Modifier that are applied if the specified conditions are true. At 100% Influence you gain 100% of the modifier.
		trigger = {
			estate_loyalty = {
				estate = estate_vaisyas
				loyalty = 60
			}
		}
		modifier = {
			placed_merchant_power = 10
			global_prov_trade_power_modifier = 0.5
		}
	}
	ai_will_do = {
		factor = 0
	}
}
estate_vaisyas_expanded_guild_rights = {
	icon = privilege_empty_throne
	loyalty = 0.0
	influence = 0.05
	max_absolutism = -5
	conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 1 } }
	is_valid = {
		has_dlc = "Domination"
	}
	on_granted = {
		enable_estate_action = {
			estate_action = SEEK_GUILD_SUPPORT_VAISYAS
		}
	}
	on_invalid = {
		disable_estate_action = {
			estate_action = SEEK_GUILD_SUPPORT_VAISYAS
		}
	}
	on_revoked = {
		disable_estate_action = {
			estate_action = SEEK_GUILD_SUPPORT_VAISYAS
		}
	}
	mechanics = {
	}
	ai_will_do = {
		factor = 10
		modifier = {
			factor = 0.1
			is_absolutism_active = yes
		}
	}
}
estate_vaisyas_force_impressment = {
	icon = privilege_heavy_ship
	loyalty = 0.0
	influence = 0.05
	max_absolutism = -5
	conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 1 } }
	is_valid = {
		has_dlc = "Domination"
		primitives = no
	}
	can_select = {
		num_of_ports = 1
	}
	benefits = {
		global_sailors_modifier = 0.15
	}
	on_granted = {
		enable_estate_action = {
			estate_action = COMISSION_MERCHANT_SHIPS_FOR_WAR_VAISYAS
		}
	}
	on_revoked = {
		disable_estate_action = {
			estate_action = COMISSION_MERCHANT_SHIPS_FOR_WAR_VAISYAS
		}
	}
	on_invalid = {
		disable_estate_action = {
			estate_action = COMISSION_MERCHANT_SHIPS_FOR_WAR_VAISYAS
		}
	}
	ai_will_do = {
		factor = 0
	}
}
estate_vaisyas_financial_demand = {
	icon = privilege_ducats
	loyalty = 0.0
	influence = 0.1
	max_absolutism = -5
	conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 1 } }
	is_valid = {
		has_dlc = "Domination"
	}
	benefits = {
		global_tax_modifier = 0.1
	}
	
	on_granted = {
		enable_estate_action = {
			estate_action = ASK_FOR_CONTRIBUTION_VAISYAS
		}
	}
	on_invalid = {
		disable_estate_action = {
			estate_action = ASK_FOR_CONTRIBUTION_VAISYAS
		}
	}
	on_revoked = {
		disable_estate_action = {
			estate_action = ASK_FOR_CONTRIBUTION_VAISYAS
		}
	}
	ai_will_do = {
		factor = 0
	}
}