add_namespace = wr

#########################################################
############## WESTERN ROMAN EMPIRE EVENTS ##############
#########################################################

country_event = {     
    id = wr.1
    title = wr.1.t   # Assemble the Roman Senate
    desc = wr.1.desc
	
	picture = GFX_report_event_crowd_in_prague

    fire_only_once = yes
    is_triggered_only = yes
    
    option = {
        name = wr.1.a ### Focus on Senate ( Springtime )
        ai_chance = {
            base = 70
        }

        complete_national_focus = WRE_springtime_of_nations

        
    }

    option = {
        name = wr.1.b ### Focus on Scars ( Scars )
        ai_chance = {
            base = 20
        }

        complete_national_focus = WRE_scars_of_1926

    }

    option = {
        name = wr.1.c ### Focus on Inward ( Inward )
        ai_chance = {
            base = 10
        }

        complete_national_focus = WRE_looking_inward

    }

}

country_event = {     
    id = wr.2
    title = wr.2.t   # Force Constantinople's Hand
    desc = wr.2.desc
	
	picture = GFX_report_event_GER_black_reichswehr_forces

    fire_only_once = yes
    is_triggered_only = yes
    
    option = {
        name = wr.2.a ### Assassination Attempt
        ai_chance = {
            base = 50
        }

        hidden_effect = {

        WRE = { country_event = { id = wr.3 days = 1 }}
        }
    }

    option = {
        name = wr.2.b ### Instigate Border Incident
        ai_chance = {
            base = 10
        }

			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = -5000
				producer = WRE
			}

        WRE = { country_event = { id = wr.4 days = 1 }}

    }

    option = {
        name = wr.2.c ### Arson Attempt
        ai_chance = {
            base = 50
        }

        hidden_effect = {

        WRE = { country_event = { id = wr.5 days = 1 }}
        }

    }

}

country_event = {     
    id = wr.3
    title = wr.3.t   # Assassination... Failed!
    desc = wr.3.desc
	
	picture = GFX_report_event_GER_black_reichswehr_forces

    fire_only_once = yes
    is_triggered_only = yes
    
    option = {
        name = wr.3.a
        ai_chance = {
            base = 100
        }

        add_opinion_modifier = {
            target = ERE
            modifier = large_decrease
        }

        ERE = { country_event = { id = wr.6 days = 1 }}
        
    }

}

country_event = {     
    id = wr.4
    title = wr.4.t   # Border Instigation
    desc = wr.4.desc
	
	picture = GFX_report_event_GER_black_reichswehr_forces

    fire_only_once = yes
    is_triggered_only = yes
    
    option = {
        name = wr.4.a
        ai_chance = {
            base = 100
        }

        add_opinion_modifier = {
            target = ERE
            modifier = large_decrease
        }

        ERE = { country_event = { id = wr.7 days = 1 }}
        
    }

}

country_event = {     
    id = wr.5
    title = wr.5.t   # Burn.. failed!
    desc = wr.5.desc
	
	picture = GFX_report_event_GER_black_reichswehr_forces

    fire_only_once = yes
    is_triggered_only = yes
    
    option = {
        name = wr.5.a
        ai_chance = {
            base = 100
        }

        add_opinion_modifier = {
            target = ERE
            modifier = large_decrease
        }

        ERE = { country_event = { id = wr.8 days = 1 }}
        
    }

}

country_event = {     
    id = wr.6
    title = wr.6.t   # The Failed Assassination Attempt
    desc = wr.6.desc
	
	picture = GFX_report_event_GER_black_reichswehr_forces

    fire_only_once = yes
    is_triggered_only = yes
    
    option = {
        name = wr.6.a  ### Condemn the West
        ai_chance = {
            base = 70
        }

        add_opinion_modifier = {
            target = WRE
            modifier = large_decrease
        }
        add_war_support = 0.1
    }

    option = {
        name = wr.6.b  ### Prepare Retaliation
        ai_chance = {
            base = 30
        }

        add_war_support = 0.2
        create_wargoal = {
            target = WRE
            type = annex_everything
        }
    }
}

country_event = {     
    id = wr.7
    title = wr.7.t   # Border Incident Escalates
    desc = wr.7.desc
	
	picture = GFX_report_event_GER_black_reichswehr_forces

    fire_only_once = yes
    is_triggered_only = yes
    
    option = {
        name = wr.7.a  ### Mobilize Our Borders
        ai_chance = {
            base = 50
        }

        add_war_support = 0.15
        add_timed_idea = { idea = ERE_border_tensions days = 180 }
    }

    option = {
        name = wr.7.b  ### Strike Back Immediately!
        ai_chance = {
            base = 50
        }

        add_political_power = -50
        create_wargoal = {
            target = WRE
            type = annex_everything
        }
    }
}

country_event = {     
    id = wr.8
    title = wr.8.t   # Arson Attempt in the Capital
    desc = wr.8.desc
	
	picture = GFX_report_event_GER_black_reichswehr_forces

    fire_only_once = yes
    is_triggered_only = yes
    
    option = {
        name = wr.8.a  ### Issue Public Condemnation
        ai_chance = {
            base = 60
        }

        add_opinion_modifier = {
            target = WRE
            modifier = medium_decrease
        }
        add_stability = 0.05
    }

    option = {
        name = wr.8.b  ### Demand Immediate Reparations
        ai_chance = {
            base = 40
        }

        add_political_power = 50
        WRE = { add_political_power = -50 }
        add_opinion_modifier = {
            target = WRE
            modifier = large_decrease
        }
    }
}

country_event = {     
    id = wr.9
    title = wr.9.t   # The Belgrade Incident
    desc = wr.9.desc
	
	picture = GFX_report_event_FIN_continuation_war

    fire_only_once = yes
    is_triggered_only = yes
    
    option = {
        name = wr.9.a  ### Go ahead with the Op
        ai_chance = {
            base = 95
        }

        ERE = { country_event = { id = wr.10 days = 2 }} ### West Roman activity on the border...

        custom_effect_tooltip = tooltipwhitelinelol
        custom_effect_tooltip = wr_war_begins_tt
    }

    option = {
        name = wr.9.b  ### Back down...
        ai_chance = {
            base = 1
        }

        add_stability = 0.45
        add_war_support = -0.85
    }
}

country_event = {     
    id = wr.10
    title = wr.10.t   # West Roman activity on the Illyrian border...
    desc = wr.10.desc
	
	picture = GFX_report_event_FIN_continuation_war

    fire_only_once = yes
    is_triggered_only = yes
    
    option = {
        name = wr.10.a 
        ai_chance = {
            base = 100
        }

        declare_war_on = {
            target = WRE
            type = annex_everything
        }
        
        declare_war_on = {
            target = NLL
            type = annex_everything
        }

        SLL = { 
        declare_war_on = {
            target = NLL
            type = annex_everything
        }
        }

        news_event = wr.100 
        custom_effect_tooltip = tooltipwhitelinelol
        custom_effect_tooltip = wr_war_begins_tt
    }

    option = {
        name = wr.10.b
        ai_chance = {
            base = 0
        }
    }

}

country_event = {     
    id = wr.11
    title = wr.11.t   # Aggressive Diplomacy
    desc = wr.11.desc
	
	picture = GFX_report_event_ARG_coup_detat

    fire_only_once = yes
    is_triggered_only = yes
    
    option = {
        name = wr.11.a 
        ai_chance = {
            base = 100
        }

        custom_effect_tooltip = tooltipwhitelinelol
        custom_effect_tooltip = wr_lead_to_war_with_ere_tt
    }
}

country_event = {     
    id = wr.12
    title = wr.12.t   # Attempt Reconcilation With Constantinople
    desc = wr.12.desc
	
	picture = GFX_report_event_NOR_quisling_troops

    fire_only_once = yes
    is_triggered_only = yes
    
    option = {
        name = wr.12.a ### Sure! No price needed!
        ai_chance = {
            base = 60
        }

        WRE = { country_event = { id = wr.13 days = 1 }}
    }

    option = {
        name = wr.12.b ### We require bribes
        ai_chance = {
            base = 40
        }

        WRE = { country_event = { id = wr.14 days = 1 }}

    }

    option = {
        name = wr.12.c ### Hell No!
        ai_chance = {
            base = 0
        }

        WRE = { country_event = { id = wr.15 days = 1 }}

    }
}

country_event = {     
    id = wr.13
    title = wr.13.t   # No Pay Needed For WRE
    desc = wr.13.desc
	
	picture = GFX_report_event_NOR_quisling_troops

    fire_only_once = yes
    is_triggered_only = yes
    
    option = {
        name = wr.13.a ### 
        ai_chance = {
            base = 100
        }

        add_opinion_modifier = {
            target = ERE
            modifier = medium_increase
        }
    }
}

country_event = {     
    id = wr.14
    title = wr.14.t   # Pay Us BRUH
    desc = wr.14.desc
	
	picture = GFX_report_event_NOR_quisling_troops

    fire_only_once = yes
    is_triggered_only = yes
    
    option = {
        name = wr.14.a ### 
        ai_chance = {
            base = 100
        }

        add_opinion_modifier = {
            target = ERE
            modifier = large_increase
        }

        add_equipment_to_stockpile = {
            type = infantry_equipment
            amount = -1000
            producer = WRE
        }

        ERE = { 
        add_equipment_to_stockpile = {
            type = infantry_equipment
            amount = 1000
            producer = WRE
        }     
        }

        add_political_power = -35

        ERE = { add_political_power = 35 }


    }
}

country_event = {     
    id = wr.15
    title = wr.15.t   # ERE hates us....
    desc = wr.15.desc
	
	picture = GFX_report_event_NOR_quisling_troops

    fire_only_once = yes
    is_triggered_only = yes
    
    option = {
        name = wr.15.a 
        ai_chance = {
            base = 100
        }

        add_opinion_modifier = {
            target = ERE
            modifier = large_decrease
        }

    }
}

country_event = {     
    id = wr.16
    title = wr.16.t   # Meeting Of Dual Emperors
    desc = wr.16.desc
	
	picture = GFX_report_event_asian_politicians

    fire_only_once = yes
    is_triggered_only = yes
    
    option = {
        name = wr.16.a 
        ai_chance = {
            base = 100
        }

        WRE = { country_event = { id = wr.17 days = 1 }}

        add_political_power = 50
        add_war_support = 0.1
    }

    option = {
        name = wr.16.b
        ai_chance = {
            base = 0
        }

        WRE = { country_event = { id = wr.18 days = 1 }}
    }
}

country_event = {     
    id = wr.17
    title = wr.17.t   # East Rome Agrees To Meeting!
    desc = wr.17.desc
	
	picture = GFX_report_event_asian_politicians

    fire_only_once = yes
    is_triggered_only = yes
    
    option = {
        name = wr.17.a 
        ai_chance = {
            base = 100
        }

        add_opinion_modifier = {
            target = ERE
            modifier = medium_increase
        }

        add_political_power = 50
        add_war_support = 0.1
    }
}

country_event = {     
    id = wr.18
    title = wr.18.t   # East Rome Refuses To Meet!
    desc = wr.18.desc
	
	picture = GFX_report_event_asian_politicians

    fire_only_once = yes
    is_triggered_only = yes
    
    option = {
        name = wr.18.a 
        ai_chance = {
            base = 100
        }

        add_opinion_modifier = {
            target = ERE
            modifier = large_decrease
        }
    }
}

country_event = {     
    id = wr.19
    title = wr.19.t   # One Empire Two Emperors (East Rome POV)
    desc = wr.19.desc
	
	picture = GFX_report_event_czech_soldiers_02

    fire_only_once = yes
    is_triggered_only = yes
    
    option = {
        name = wr.19.a 
        ai_chance = {
            base = 100
        }

        custom_effect_tooltip = tooltipwhitelinelol
        custom_effect_tooltip = thiswillleadtounification
    }
}

country_event = {     
    id = wr.20
    title = wr.20.t   # One Empire Two Emperors (West Rome POV)
    desc = wr.20.desc
	
	picture = GFX_report_event_czech_soldiers_02

    fire_only_once = yes
    is_triggered_only = yes
    
    option = {
        name = wr.20.a 
        ai_chance = {
            base = 100
        }

        custom_effect_tooltip = tooltipwhitelinelol
        custom_effect_tooltip = thiswillleadtounification
    }
}

country_event = {     
    id = wr.21
    title = wr.21.t   # The Inevitable War
    desc = wr.21.desc
	
	picture = GFX_report_event_ITA_italian_civil_war

    fire_only_once = yes
    is_triggered_only = yes
    
    option = {
        name = wr.21.a 
        ai_chance = {
            base = 100
        }
    }
}

country_event = {     
    id = wr.22
    title = wr.22.t   # Lorenzean Era
    desc = wr.22.desc
	
	picture = GFX_report_event_crowd_in_prague

    fire_only_once = yes
    is_triggered_only = yes
    
    option = {
        name = wr.22.a
        ai_chance = {
            base = 200
        }

        add_timed_idea = { idea = WRE_idea_celeberation_of_lorenzo days = 767 }
    }

}

news_event = {     
    id = wr.100
    title = wr.100.t    # The Roman Civil War!
    desc = wr.100.desc
	
	picture = GFX_news_event_roman_civil_war

	mean_time_to_happen = { days = 1 }
    is_triggered_only = yes
	
    major = yes
    
    option = {
        trigger = {
            OR = {
                tag = ERE
                is_in_faction_with = ERE
                is_subject_of = ERE
            }
        }
        name = wr.100.a
    }
    
    option = {
        trigger = {
            OR = {
                tag = WRE
                is_in_faction_with = WRE
                is_subject_of = WRE
            }
        }
        name = wr.100.b
    }

    option = {
        trigger = {
            NOT = {
                tag = ERE
                tag = WRE
                is_in_faction_with = ERE
                is_in_faction_with = WRE
                is_subject_of = ERE
                is_subject_of = WRE
            }
        }
        name = wr.100.c
    }
}

