﻿try_create_lawfully_imprison = {
	if = {
		limit = {
			is_imprisoned = no
			root = {
				has_imprisonment_reason = prev
			}
		}
		try_create_important_action = {
			important_action_type = action_can_lawfully_imprison
			actor = root
			recipient = this
		}		
	}
}

try_create_pardon = {
	if = {
		limit = {
			target_is_liege_or_above = root
			is_imprisoned = no
			root = {
				has_imprisonment_reason = prev
			}
		}
		try_create_important_action = {
			important_action_type = action_can_pardon
			actor = root
			recipient = this
		}		
	}
}