namespace = aii_events

character_event = {
	id = aii_events.23
	hide_from = no
	is_triggered_only = yes
	option = {
		any_vassal = {
			limit = { 
				NOT = { tier = baron }
                			NOT = { tier = count }
			}
			limit = { is_nomadic = no }
           		limit = { is_merchant_republic = no }
                      
			any_demesne_title = {
				limit = { is_patrician = no }
				limit = { mercenary = no }
				limit = { holy_order = no }
				limit = { is_landless_type_title = no }
				gain_title = FROM
			}
		}
	}
}

character_event = {
	id = aii_events.26
	hide_from = no
	is_triggered_only = yes
	option = {
		any_vassal = {
			limit = { 
				tier = baron
			}
			limit = { is_nomadic = no }
            limit = { is_merchant_republic = no }
                      
			any_demesne_title = {
				limit = { is_patrician = no }
				limit = { mercenary = no }
				limit = { holy_order = no }
				limit = { is_landless_type_title = no }
				gain_title = FROM
			}
		}
	}
}
character_event = {
	id = aii_events.27
	hide_from = no
	is_triggered_only = yes
	option = {
		any_vassal = {
			limit = { 
                OR = {
                tier = baron
                tier = count
                }
			}
			limit = { is_nomadic = no }
            limit = { is_merchant_republic = no }
                      
			any_demesne_title = {
				limit = { is_patrician = no }
				limit = { mercenary = no }
				limit = { holy_order = no }
				limit = { is_landless_type_title = no }
				gain_title = FROM
			}
		}
	}
}

character_event = {
    id = aii_events.24
    hide_from = no
    is_triggered_only = yes
    option = {
    religion = cathar
    }
    option = {
    religion = fraticelli
    }
    option = {
    religion = messalian
    }
    option = {
    religion = yazidi
    }
}

character_event = {
	id = aii_events.30
	hide_from = no
	is_triggered_only = yes
	option = {
		any_independent_ruler = {
			limit = { 
				NOT = { tier = baron }
			}
			limit = { is_nomadic = no }
                      
			any_demesne_title = {
				limit = { mercenary = no }
				limit = { holy_order = no }
				limit = { is_landless_type_title = no }
				gain_title = FROM
			}
		}
	}
}

