add_namespace = romanleague

country_event = {     
    id = romanleague.1
    title = romanleague.1.t    # CREATION OF THE ROMAN LEAGUE
    desc = romanleague.1.desc
	
	picture = GFX_report_event_japanese_army_parade

    fire_only_once = yes
    is_triggered_only = yes
    
    option = {
        name = romanleague.1.a
        ai_chance = {
            base = 200
        }
		custom_effect_tooltip = romanleagueacceptance
        hidden_effect = {
            ERE = { country_event = { id = romanleague.2 days = 1 }}
        }
    }
    
    option = {
        name = romanleague.1.b
        ai_chance = {
            base = 0
        }
        add_opinion_modifier = {
            target = ERE
            modifier = medium_decrease
        }
        hidden_effect = {
            ERE = { country_event = { id = romanleague.3 days = 1}}
        }
    }
}

country_event = {
    id = romanleague.2
    title = romanleague.2.t    # WRE accepts!
    desc = romanleague.2.desc
	
	picture = GFX_report_event_manchukuo_army_2

    fire_only_once = yes
    is_triggered_only = yes
    
    option = {
        name = romanleague.2.a
        ai_chance = {
            base = 200
        }
			create_faction = "Roman League"
			set_faction_leader = yes

			ERE = {
			    add_to_faction = WRE 
			    add_to_faction = NLL
				add_to_faction = RGY
				add_to_faction = LVM
				add_to_faction = CYR
				add_to_faction = SLL
			}
        
        news_event = { id = mainnews.2 days = 1 }
    }
}

country_event = {     
    id = romanleague.3
    title = romanleague.3.t    # WRE declines...
    desc = romanleague.3.desc
	
	picture = GFX_report_event_NOR_quisling_meeting

    fire_only_once = yes
    is_triggered_only = yes
    
    option = {
        name = romanleague.3.a
        ai_chance = {
            base = 0
        }
        diplomatic_relation = {
            country = WRE
            relation = guarantee
            active = no
        }
    }
}

country_event = {
    id = romanleague.67
    title = romanleague.67.t    # Consolidate in the East
    desc = romanleague.67.desc
	
	picture = GFX_report_event_SOV_mongolia_fortify_border

    fire_only_once = yes
    is_triggered_only = yes
    
    option = {
        name = romanleague.67.a
        ai_chance = {
            base = 200
        }

        add_ideas = easternconsolidation

			hidden_effect = {
				WRE = { country_event = { id = romanleague.69 days = 4 }}
			}
    }
}

country_event = {
    id = romanleague.69
    title = romanleague.69.t    # WRE POV: Bretrayal
    desc = romanleague.69.desc
	
	picture = GFX_report_event_ARG_coup_consolidating

    fire_only_once = yes
    is_triggered_only = yes
    
    option = {
        name = romanleague.69.a ### Do Nothing! 
        ai_chance = {
            base = 90
        }

		hidden_effect = {
			ERE = { country_event = { id = romanleague.68 days = 1 }}
		}
    }
    option = {
        name = romanleague.69.b ### Sabotage and steal spirit!
        ai_chance = {
            base = 10
        }

        add_ideas = westernconsolidation

		hidden_effect = {
			ERE = { country_event = { id = romanleague.66 days = 1 }}
		}
    }
}


country_event = {
    id = romanleague.68
    title = romanleague.68.t    # Success!
    desc = romanleague.68.desc
	
	picture = GFX_report_event_ARG_coup_detat

    fire_only_once = yes
    is_triggered_only = yes
    
    option = {
        name = romanleague.68.a 
        ai_chance = {
            base = 200
        }

        swap_ideas = { 
            remove_idea = easternconsolidation
            add_idea = easternconsolidation2
        }
    }
}

country_event = {
    id = romanleague.66
    title = romanleague.66.t    # Failure! West Rome intervenes!
    desc = romanleague.66.desc
	
	picture = GFX_report_event_AUS_vaterlandische_front_rally

    fire_only_once = yes
    is_triggered_only = yes
    
    option = {
        name = romanleague.66.a  
        ai_chance = {
            base = 90
        }

        remove_idea = easternconsolidation
    }
    option = {
        name = romanleague.66.b 
        ai_chance = {
            base = 10
        }

        remove_idea = easternconsolidation

        remove_from_faction = WRE

        add_opinion_modifier = {
            target = WRE
            type = large_decrease
        }
    }
}

country_event = {
    id = romanleague.207
    title = romanleague.207.t    # Unification Under One Emperor
    desc = romanleague.207.desc
	
	picture = GFX_report_event_communist_leader

    fire_only_once = yes
    is_triggered_only = yes
    
    option = { ### West Rome Accepts!
        name = romanleague.207.a  
        ai_chance = {
            base = 90 
        }

        ERE = { country_event = { id = romanleague.208 days = 1 }}
    }
    option = { ### West Rome Declines
        name = romanleague.207.b
        ai_chance = {
            base = 10
        }

        ERE = { country_event = { id = romanleague.209 days = 1 }}

        add_opinion_modifier = {
            target = ERE
            type = large_decrease
        }
    }
}

country_event = {
    id = romanleague.208
    title = romanleague.208.t    ### West Rome Accepts!
    desc = romanleague.208.desc
	
	picture = GFX_report_event_communist_leader

    fire_only_once = yes
    is_triggered_only = yes
    
    option = {
        name = romanleague.208.a  
        ai_chance = {
            base = 200
        }

        annex_country = {
            target = WRE
            transfer_troops = yes
        }

        annex_country = {
            target = NLL
            transfer_troops = yes
        }

        puppet = {
            target = RIN
            end_wars = no
        }
        
        every_state = {
            limit = { is_core_of = WRE }
            add_core_of = ERE
        }


    }
}

country_event = {
    id = romanleague.209
    title = romanleague.209.t    ### West Rome Declines
    desc = romanleague.209.desc
	
	picture = GFX_report_event_communist_leader

    fire_only_once = yes
    is_triggered_only = yes
    
    option = {
        name = romanleague.209.a  
        ai_chance = {
            base = 200
        }

        add_opinion_modifier = {
            target = WRE
            type = large_decrease
        }
    }
}

country_event = {
    id = romanleague.888
    title = romanleague.888.t    # Rally Unification Movements
    desc = romanleague.888.desc
	
	picture = GFX_report_event_ARG_coup_consolidating

    fire_only_once = yes
    is_triggered_only = yes
    
    option = {
        name = romanleague.888.a ### Promote legitimacy 
        ai_chance = {
            base = 90
        }

        add_timed_idea = { idea = imperiallegitimacycampaign days = 565 }

    }
    option = {
        name = romanleague.888.b ### Encourage noble and patrician support
        ai_chance = {
            base = 20
        }

        add_timed_idea = { idea = nobleandpatriciansupport days = 565 }

    }
    option = {
        name = romanleague.888.c ### Let the people lead the movement
        ai_chance = {
            base = 10
        }

        add_timed_idea = { idea = peopleledunificationmovements days = 565 }

    }
}

