je_revolt_of_bosnian_beys = {
	icon = "gfx/interface/icons/event_icons/event_military.dds"
	complete = {
		owns_entire_state_region = STATE_BANAT
		owns_entire_state_region = STATE_VOJVODINA
	}
	
	fail = {
		AND = {
			exists = c:BSG
			c:BSG = {
				is_at_war = no
			}
		}
	}

    on_complete = {
		trigger_event = { id = dvg_hungary.2 }
	}
	
    on_fail = {
		trigger_event = { id = dvg_hungary.3 }
	}
	
	weight = 100
	should_be_pinned_by_default = yes
}
