add_namespace = pm

country_event = {     
    id = pm.1
    title = pm.1.t    # An Empire of the Ages
    desc = pm.1.desc
	
	picture = GFX_report_event_ANZAC_day

    fire_only_once = yes
    is_triggered_only = yes
    
    option = {
        name = pm.1.a
        ai_chance = {
            base = 200
        }
    }
}

country_event = {     
    id = pm.2
    title = pm.2.t    # True Empire
    desc = pm.2.desc
	
	picture = GFX_report_event_ARG_coup_consolidating

    fire_only_once = yes
    is_triggered_only = yes
    
    option = {
        name = pm.2.a
        ai_chance = {
            base = 95
        }

        set_cosmetic_tag = ERANSHAHR
    }

    option = {
        name = pm.2.b
        ai_chance = {
            base = 5
        }
    }
}

country_event = {     
    id = pm.3
    title = pm.3.t    # Finish What We Started
    desc = pm.3.desc
	
	picture = GFX_report_event_ANZAC_day

    fire_only_once = yes
    is_triggered_only = yes
    
    option = {
        name = pm.3.a
        ai_chance = {
            base = 95
        }

        PEM = { country_event = { id = pm.4 days = 1 }}
    }

    option = {
        name = pm.3.b
        ai_chance = {
            base = 5
        }

        PEM = { country_event = { id = pm.5 days = 1 }}
    }
}

country_event = {     
    id = pm.4
    title = pm.4.t    # AAC Declines
    desc = pm.4.desc
	
	picture = GFX_report_event_ANZAC_day

    fire_only_once = yes
    is_triggered_only = yes
    
    option = {
        name = pm.4.a
        ai_chance = {
            base = 200
        }

        declare_war_on = {
            target = AAC
            type = annex_everything
        }
    }

}

country_event = {     
    id = pm.5
    title = pm.5.t    # AAC Accepts
    desc = pm.5.desc
	
	picture = GFX_report_event_ANZAC_day

    fire_only_once = yes
    is_triggered_only = yes
    
    option = {
        name = pm.4.a
        ai_chance = {
            base = 200
        }

        annex_country = {
            target = AAC
            transfer_troops = no
        }
    }
}

country_event = {     
    id = pm.6
    title = pm.6.t    # Help ERE again 
    desc = pm.6.desc
	
	picture = GFX_report_event_ANZAC_day

    fire_only_once = yes
    is_triggered_only = yes
    
    option = {
        name = pm.6.a
        ai_chance = {
            base = 95
        }

        PEM = { country_event = pm.7 } 
    }

    option = {
        name = pm.6.b
        ai_chance = {
            base = 5
        }

        PEM = { country_event = pm.8 }
    }
}

country_event = {     
    id = pm.7
    title = pm.7.t    # ERE accepts persia
    desc = pm.7.desc
	
	picture = GFX_report_event_ANZAC_day

    fire_only_once = yes
    is_triggered_only = yes
    
    option = {
        name = pm.7.a
        ai_chance = {
            base = 200
        }

        ERE = { add_to_faction = PEM }
    }
}

country_event = {     
    id = pm.8
    title = pm.8.t    # ERE declines persia
    desc = pm.8.desc
	
	picture = GFX_report_event_ANZAC_day

    fire_only_once = yes
    is_triggered_only = yes
    
    option = {
        name = pm.8.a
        ai_chance = {
            base = 200
        }
    }
}












news_event = {
    id = pm.100
    title = pm.100.t
    desc = pm.100.desc

    picture = GFX_news_event_006

    mean_time_to_happen = { days = 1 }
    is_triggered_only = yes

    major = yes

    option = { 
        name = pm.100.a

        trigger = {
            NOT = {
                tag = PEM
                is_in_faction_with = PEM
                is_subject_of = PEM
            }
        }
    }

    option = { 
        name = pm.100.b

        trigger = {
            OR = {
                tag = PEM
                is_in_faction_with = PEM
                is_subject_of = PEM
            }
        }
    }

}