### Exists so we can track Ali or any subsequent Zanj Leaders.
story_zanj_rebellion = {
	
	on_setup = {
		story_owner = { 
			set_variable = {
				name = zanj_rebellion_strength_score
				value = 7
			}
		}
	}
	on_owner_death = {
		inherit_zanj_rebellion_effect = yes
	}
	on_end = {}

	#Maintenance group
	effect_group = {
		days = 1
		trigger = {
			story_owner = { is_landed = no }
		}
		triggered_effect = {
			trigger = { always = yes }
			effect = {
				#You became a landless adventurer/administrative! Ending story prematurely.
				story_owner = { save_scope_as = story_owner }
				debug_log = "Zanj invalidated"
				debug_log_scopes = yes
				end_story = yes
			}
		}
	}
}