targetted_decisions = {

    ### Send prisoner
	send_prisoner = {
		filter = all
		ai_target_filter = none
		diplomacy_icon = GFX_send_prisoner_icon
		
		third_party_filter = court
        third_party = FROM
		
        third_party_potential = {
            FROMFROM = {
                prisoner = yes
				NOT = { has_character_modifier = mark_prisoner_tag }
			}
        }
		
		from_potential = {
		    prisoner = no
			is_ruler = yes
			NOT = {
			    any_courtier = { has_character_modifier = mark_prisoner_tag }
			}
				    
		}
		
		potential = {
		    prisoner = no
			is_ruler = yes
		}
		
		allow = {
            FROM = {
			    prisoner = no
			    any_courtier = {
			        prisoner = yes
			    }
			}
    	}
		
        effect = {
		    FROMFROM = {
				add_character_modifier  = {
					name = mark_prisoner_tag
					duration = 30
				}
			}
			ROOT = {	
				character_event = { id = send.07 days = 3 }
			}
		}
    }
	
	ask_prisoner = {
		filter = all
		ai_target_filter = none
		diplomacy_icon = GFX_send_prisoner_icon
		
		third_party_filter = court
        third_party = ROOT
		
        third_party_potential = {
            FROMFROM = {
                prisoner = yes
			}
        }
		
		potential = {
		    prisoner = no
			is_ruler = yes
		}
		
		allow = {
		    FROM = {prisoner = no}
            any_courtier = {
			    prisoner = yes
				FROMFROM = { NOT = { has_character_modifier = mark_prisoner_tag } }
			}
    	}
		
        effect = {
		    FROMFROM = {
				add_character_modifier  = {
					name = mark_prisoner_tag
					duration = 30
				}
			}
			FROM = {	
				character_event = { id = send.01 days = 3 }
			}
		}
    }
}
