﻿has_occupation_trigger = {
   OR = {
    has_trait = devoted
		 has_trait = order_member
		 has_trait = mercenary
		 has_trait = varangian
		 has_trait = slave
		 has_character_modifier = house_modifier
		 has_character_modifier = homestead_modifier
		 has_character_modifier = gathering_support_modifier
		 has_character_flag = working
		 has_character_flag = gathering_support
		 is_imprisoned = yes
		 is_travelling = yes
		 exists = involved_activity
	}
}	
has_occupation_blocker_trigger = {
       OR = {
        custom_tooltip = { text = purchase_property_interaction.tt3 
		 has_trait = order_member
		}
		 custom_tooltip = { text = purchase_property_interaction.tt3 
		has_trait = varangian}
		 custom_tooltip = { text = purchase_property_interaction.tt3 
		has_trait = mercenary}
		custom_tooltip = { text = purchase_property_interaction.tt4 
		 has_trait = slave
		}
		custom_tooltip = { text = purchase_property_interaction.tt5
		 is_imprisoned = yes
		}
		custom_tooltip = { text = purchase_property_interaction.tt6 
		 is_travelling = yes
		 exists = involved_activity
		}
		  AND = {
		   is_ruler = no
		   is_a_faction_leader = yes # so populist leaders cant just get arrested
		   }
		}
}