﻿fmp_make_prisoner_incapable = {
    common_interaction = yes
    category = debug
    interface = fmp_imprisonment_interaction_window
    icon = icon_wounded

    secondary_recipient = {
        name = recipient_secondary_fmp
        filter = character
        filter_description = recipient_secondary_fmp_desc
    }

    is_shown = {
        scope:recipient = {
            is_imprisoned_by = scope:actor
            NOT = { has_trait = incapable } # Hide if already incapable
        }
    }

    on_accept = {
        scope:recipient = {
            add_trait = incapable
        }
    }

    auto_accept = yes

    ai_will_do = {
        base = -1000
    }
}