#######################################
# Order of the Sacred Magdalene
# Open Mercy Bloodline Events
#######################################

namespace = ggsmb

long_character_event = {
    id = ggsmb.1
    desc = ggsmb.1.desc
    picture = GFX_evt_ggsm_houses_mercy
    border = GFX_event_large_frame_religion
    is_triggered_only = yes

    trigger = {
        society_member_of = ggsm_order_sacred_magdalene
        society_rank == 4
        religion = catholic
        is_female = yes
        is_adult = yes

        trait = exclusive_whore
        trait = lustful
        trait = charitable
        trait = kind

        society_currency >= 15000

        NOT = {
            any_owned_bloodline = {
                has_bloodline_flag = ggsm_open_mercy_bloodline
            }
        }
    }

    option = {
        name = ggsmb.1.a

        change_society_currency = -15000

        create_bloodline = {
            type = ggsm_bloodline_open_mercy
        }

        piety = 250
        prestige = 250
    }

    option = {
        name = ggsmb.1.b
    }
}
