add_namespace = legionstates

country_event = {     
    id = legionstates.1
    title = legionstates.1.t    # Pursue The Goal of Unification
    desc = legionstates.1.desc
	
	picture = GFX_report_event_usa_heavy_cruiser

    fire_only_once = yes
    is_triggered_only = yes
    
    option = {
        name = legionstates.1.a
        ai_chance = {
            base = 200
        }
        add_political_power = 75
        add_war_support = 0.1
        add_stability = 0.05
        army_experience = 10
        
        custom_effect_tooltip = tooltipwhitelinelol
        custom_effect_tooltip = pursueunification
    }
}

##########################
### LOUISIANAN EVENTS ####
##########################

country_event = {     
    id = legionstates.2
    title = legionstates.2.t    # Secure Border With Republicans (Louisianan Perspective)
    desc = legionstates.2.desc
	
	picture = GFX_report_event_dutch_soldiers_indonesia

    fire_only_once = yes
    is_triggered_only = yes
    
    option = {
        name = legionstates.2.a ### Give Up
        ai_chance = {
            base = 99
        }

        LSA = { country_event = { id = legionstates.3 days = 1 }}
    }

    option = {
        name = legionstates.2.b ### Never back down never what?
        ai_chance = {
            base = 1
        }

        LSA = { country_event = { id = legionstates.4 days = 1 }}
    }
}

country_event = {
    id = legionstates.3 
    title = legionstates.3.t    # Louisiana Gives Up!
    desc = legionstates.3.desc

    picture = GFX_report_event_dutch_soldiers_indonesia

    fire_only_once = yes
    is_triggered_only = yes

    option = {
        name = legionstates.3.a

        ai_chance = {
            base = 200
        }

        annex_country = {
            target = KIL
            transfer_troops = yes
        }
    }
}

country_event = {
    id = legionstates.4
    title = legionstates.4.t    # Louisiana Refuses!
    desc = legionstates.4.desc

    picture = GFX_report_event_tur_turkish_soldiers

    fire_only_once = yes
    is_triggered_only = yes

    option = {
        name = legionstates.4.a

        ai_chance = {
            base = 200
        }

        create_wargoal = {
            type = annex_country
            target = KIL
        }
    }
}

##########################

country_event = {
    id = legionstates.5
    title = legionstates.5.t    # East Roman Support
    desc = legionstates.5.desc

    picture = GFX_report_event_spr_army_of_africa

    fire_only_once = yes
    is_triggered_only = yes

    option = {
        name = legionstates.5.a

        ai_chance = {
            base = 80
        }

        LSA = { country_event = { id = legionstates.6 days = 1 }}
    }

    option = {
        name = legionstates.5.b

        ai_chance = {
            base = 10
        }

        LSA = { country_event = { id = legionstates.7 days = 1 }}

    }
}

country_event = {
    id = legionstates.6
    title = legionstates.6.t    # East Rome Accepts!
    desc = legionstates.6.desc

    picture = GFX_report_event_spr_army_of_africa

    fire_only_once = yes
    is_triggered_only = yes

    option = {
        name = legionstates.6.a

        ai_chance = {
            base = 200
        }

        add_ideas = eastromansupport

        add_doctrine_cost_reduction = {
	        cost_reduction = 0.5
	        uses = 1
	        category = land_doctrine
        }
    }
}

country_event = {
    id = legionstates.7
    title = legionstates.7.t    # East Rome Declines!
    desc = legionstates.7.desc

    picture = GFX_report_event_spr_army_of_africa

    fire_only_once = yes
    is_triggered_only = yes

    option = {
        name = legionstates.7.a

        ai_chance = {
            base = 200
        }

        add_opinion_modifier = {
            target = ERE
            modifier = medium_decrease
        }
        
    }
}

country_event = {
    id = legionstates.8
    title = legionstates.8.t    # One Legion, One Nation!
    desc = legionstates.8.desc

    picture = GFX_report_event_spr_army_of_africa

    fire_only_once = yes
    is_triggered_only = yes

    option = {
        name = legionstates.8.a

        ai_chance = {
            base = 200
        }

        declare_war_on = {
            target = NEG
            type = annex_everything
        }

        declare_war_on = {
            target = RMT
            type = annex_everything
        }

        news_event = legionstates.200

        add_threat = 5
        
    }
}

country_event = {
    id = legionstates.9
    title = legionstates.9.t    # Bring The Southern Marches To Kneel
    desc = legionstates.9.desc

    picture = GFX_report_event_FIN_continuation_war

    fire_only_once = yes
    is_triggered_only = yes

    option = { 
        name = legionstates.9.a
        ai_chance = {
            base = 200
        }
        declare_war_on = {
            target = PEE
            type = annex_everything
        }
        declare_war_on = {
            target = APA
            type = annex_everything
        }
        declare_war_on = {
            target = LEX
            type = annex_everything
        }

    }
}

country_event = {
    id = legionstates.10
    title = legionstates.10.t    # EAST ROME FOCUS, BRING LEGION STATES
    desc = legionstates.10.desc

    picture = GFX_report_event_ast_navy

    fire_only_once = yes
    is_triggered_only = yes

    option = { ### Accept
        name = legionstates.10.a

        ai_chance = {
            base = 20
        }

        ERE = { country_event = { id = legionstates.11 days = 1 }}

        custom_effect_tooltip = tooltipwhitelinelol
        custom_effect_tooltip = donotlegionstates
    }

    option = { ### Decline
        name = legionstates.10.b

        ai_chance = {
            base = 80
        }

        ERE = { country_event = { id = legionstates.12 days = 1 }}
    }
}

country_event = {
    id = legionstates.11
    title = legionstates.11.t    # Legion States Accepts!
    desc = legionstates.11.desc

    picture = GFX_report_event_ast_navy

    fire_only_once = yes
    is_triggered_only = yes

    option = {
        name = legionstates.11.a

        ai_chance = {
            base = 200
        }

        add_to_faction = LSA

    }

}

country_event = {
    id = legionstates.12
    title = legionstates.12.t    # Legion States Refuses!
    desc = legionstates.12.desc

    picture = GFX_report_event_ast_navy

    fire_only_once = yes
    is_triggered_only = yes

    option = {
        name = legionstates.12.a

        ai_chance = {
            base = 200
        }

    }

}

country_event = {
    id = legionstates.13
    title = legionstates.13.t    # Take Back Our Land
    desc = legionstates.13.desc

    picture = GFX_report_event_europe_funeral

    fire_only_once = yes
    is_triggered_only = yes

    option = { ### New Spain Accepts!
        name = legionstates.13.a
        ai_chance = {
            base = 20
        }

        LSA = { country_event = { id = legionstates.14 days = 1 }}
    }

    option = { ### New Spain Declines!
        name = legionstates.13.b
        ai_chance = {
            base = 80
        }

        LSA = { country_event = { id = legionstates.15 days = 1 }}
    }
}

country_event = {
    id = legionstates.14
    title = legionstates.14.t    # New Spain Gives In
    desc = legionstates.14.desc

    picture = GFX_report_event_europe_funeral

    fire_only_once = yes
    is_triggered_only = yes

    option = { 
        name = legionstates.14.a
        ai_chance = {
            base = 200
        }

        LSA = { transfer_state = 378 }
    }
}

country_event = {
    id = legionstates.15
    title = legionstates.15.t    # New Spain Refuses!
    desc = legionstates.15.desc

    picture = GFX_report_event_FIN_continuation_war

    fire_only_once = yes
    is_triggered_only = yes

    option = { 
        name = legionstates.15.a
        ai_chance = {
            base = 200
        }
        create_wargoal = {
            target = NSR
            type = puppet_wargoal_focus
        }
    }
}

country_event = {
    id = legionstates.16
    title = legionstates.16.t    # Strike Interior Settlements
    desc = legionstates.16.desc

    picture = GFX_report_event_czech_soldiers_01

    fire_only_once = yes
    is_triggered_only = yes

    option = {
        name = legionstates.16.a

        ai_chance = {
            base = 200
        }
        
        declare_war_on = {
            target = TRW
            type = annex_everything
        }
        declare_war_on = {
            target = GSX
            type = annex_everything
        }
        declare_war_on = {
            target = GLA
            type = annex_everything
        }
        declare_war_on = {
            target = DKT
            type = annex_everything
        }
    }
}

country_event = {
    id = legionstates.17
    title = legionstates.17.t    # The Deseret Question
    desc = legionstates.17.desc

    picture = GFX_report_event_czech_soldiers_01

    fire_only_once = yes
    is_triggered_only = yes

    option = {
        name = legionstates.17.a

        ai_chance = {
            base = 10
        }

        LSA = { country_event = { id = legionstates.18 days = 1 }}
    }

    option = {
        name = legionstates.17.b

        ai_chance = {
            base = 90
        }

        LSA = { country_event = { id = legionstates.19 days = 1 }}
    }
}

country_event = {
    id = legionstates.18
    title = legionstates.18.t    # Deseret Gives Up!
    desc = legionstates.18.desc

    picture = GFX_report_event_czech_soldiers_01

    fire_only_once = yes
    is_triggered_only = yes

    option = {
        name = legionstates.17.a

        ai_chance = {
            base = 200
        }

        annex_country = {
            target = KOD
            transfer_troops = yes
        }

    }
}

country_event = {
    id = legionstates.19
    title = legionstates.19.t    # Deseret Refuses!
    desc = legionstates.19.desc

    picture = GFX_report_event_czech_soldiers_01

    fire_only_once = yes
    is_triggered_only = yes

    option = {
        name = legionstates.19.a

        ai_chance = {
            base = 200
        }

        declare_war_on = {
            target = KOD
            type = annex_everything
        } 
    }
}

country_event = {
    id = legionstates.20
    title = legionstates.20.t    # Subjugate the Teutonic Colony
    desc = legionstates.20.desc

    picture = GFX_report_event_czech_soldiers_01

    fire_only_once = yes
    is_triggered_only = yes

    option = {
        name = legionstates.20.a

        ai_chance = {
            base = 5
        }

        LSA = { country_event = { id = legionstates.21 days = 1 }}
    }

    option = {
        name = legionstates.20.b

        ai_chance = {
            base = 90
        }

        LSA = { country_event = { id = legionstates.22 days = 1 }}
    }
}

country_event = {
    id = legionstates.21
    title = legionstates.21.t    # Kaiserheim Gives In!
    desc = legionstates.21.desc

    picture = GFX_report_event_czech_soldiers_01

    fire_only_once = yes
    is_triggered_only = yes

    option = {
        name = legionstates.21.a

        ai_chance = {
            base = 200
        }

        annex_country = {
            target = KHH
            transfer_troops = yes
        }

    }
}

country_event = {
    id = legionstates.22
    title = legionstates.22.t    # Kaiserheim Refuses!
    desc = legionstates.22.desc

    picture = GFX_report_event_czech_soldiers_01

    fire_only_once = yes
    is_triggered_only = yes

    option = {
        name = legionstates.22.a

        ai_chance = {
            base = 200
        }

        declare_war_on = {
            target = KHH
            type = annex_everything
        } 
    }
}

country_event = {
    id = legionstates.23
    title = legionstates.23.t    # West Roman Support
    desc = legionstates.23.desc

    picture = GFX_report_event_spr_army_of_africa

    fire_only_once = yes
    is_triggered_only = yes

    option = {
        name = legionstates.23.a

        ai_chance = {
            base = 80
        }

        LSA = { country_event = { id = legionstates.24 days = 1 }}
    }

    option = {
        name = legionstates.23.b

        ai_chance = {
            base = 10
        }

        LSA = { country_event = { id = legionstates.25 days = 1 }}

    }
}

country_event = {
    id = legionstates.24
    title = legionstates.24.t    # West Rome Accepts!
    desc = legionstates.24.desc

    picture = GFX_report_event_spr_army_of_africa

    fire_only_once = yes
    is_triggered_only = yes

    option = {
        name = legionstates.24.a

        ai_chance = {
            base = 200
        }

        add_ideas = westromansupport

        add_doctrine_cost_reduction = {
	        cost_reduction = 0.5
	        uses = 1
	        category = land_doctrine
        }
    }
}

country_event = {
    id = legionstates.25
    title = legionstates.25.t    # West Rome Declines!
    desc = legionstates.25.desc

    picture = GFX_report_event_spr_army_of_africa

    fire_only_once = yes
    is_triggered_only = yes

    option = {
        name = legionstates.25.a

        ai_chance = {
            base = 200
        }

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

country_event = {
    id = legionstates.207
    title = legionstates.207.t    # Encroach on the Border
    desc = legionstates.207.desc

    picture = GFX_report_event_czech_soldiers_01

    fire_only_once = yes
    is_triggered_only = yes

    option = {
        name = legionstates.207.a

        ai_chance = {
            base = 200
        }

    }
}

country_event = {
    id = legionstates.26
    title = legionstates.26.t    # To The Aid Of Rome
    desc = legionstates.26.desc

    picture = GFX_report_event_usa_british_sailors_destroyers

    fire_only_once = yes
    is_triggered_only = yes

    option = {
        name = legionstates.26.a

        ai_chance = {
            base = 80
        }

        LSA = { country_event = { id = legionstates.27 days = 1 }}
    }

    option = {
        name = legionstates.26.b

        ai_chance = {
            base = 10
        }

        LSA = { country_event = { id = legionstates.28 days = 1 }}

    }
}

country_event = {
    id = legionstates.27
    title = legionstates.27.t    # East Rome Accepts Join!
    desc = legionstates.27.desc

    picture = GFX_report_event_usa_british_sailors_destroyers

    fire_only_once = yes
    is_triggered_only = yes

    option = {
        name = legionstates.27.a

        ai_chance = {
            base = 200
        }

        ERE = { add_to_faction = LSA }
    }
}

country_event = {
    id = legionstates.28
    title = legionstates.28.t    # East Rome Refuses Join!
    desc = legionstates.28.desc

    picture = GFX_report_event_usa_british_sailors_destroyers

    fire_only_once = yes
    is_triggered_only = yes

    option = {
        name = legionstates.28.a

        ai_chance = {
            base = 200
        }

        add_opinion_modifier = {
            target = ERE
            modifier = medium_decrease
        }
    }
}

country_event = {
    id = legionstates.29
    title = legionstates.29.t    # Bring The Hawai'ians Into The Fold
    desc = legionstates.29.desc

    picture = GFX_report_event_usa_pearl_harbor_airphoto

    fire_only_once = yes
    is_triggered_only = yes

    option = {
        name = legionstates.29.a

        ai_chance = {
            base = 60
        }

        LSA = { country_event = { id = legionstates.30 days = 1 }}

    }

    option = {
        name = legionstates.29.b

        ai_chance = {
            base = 40
        }

        LSA = { country_event = { id = legionstates.31 days = 1 }}

    }
}

country_event = {
    id = legionstates.30
    title = legionstates.30.t    # Hawai'ians Accept!
    desc = legionstates.30.desc

    picture = GFX_report_event_usa_pearl_harbor_airphoto

    fire_only_once = yes
    is_triggered_only = yes

    option = {
        name = legionstates.28.a

        ai_chance = {
            base = 200
        }

        annex_country = {
            target = HUU
            transfer_troops = yes
        }

    }
}

country_event = {
    id = legionstates.31
    title = legionstates.31.t    # Hawai'ians Refuse!
    desc = legionstates.31.desc

    picture = GFX_report_event_usa_pearl_harbor_airphoto

    fire_only_once = yes
    is_triggered_only = yes

    option = {
        name = legionstates.31.a

        ai_chance = {
            base = 200
        }

        create_wargoal = {
            target = HUU
            type = annex_everything
        }
    }
}

country_event = {
    id = legionstates.32
    title = legionstates.32.t    # The Future of New Rome
    desc = legionstates.32.desc

    picture = GFX_report_event_ARG_coup_consolidating

    fire_only_once = yes
    is_triggered_only = yes

    option = {
        name = legionstates.32.a

        ai_chance = {
            base = 200
        }

        hidden_effect = {
        LSA = { transfer_state = 375 }
        LSA = { transfer_state = 374 }
        LSA = { transfer_state = 376 }
        LSA = { transfer_state = 368 }
        LSA = { transfer_state = 369 }
        LSA = { transfer_state = 261 }
        LSA = { transfer_state = 396 }
        LSA = { transfer_state = 395 }
        LSA = { transfer_state = 373 }
        LSA = { transfer_state = 383 }
        LSA = { transfer_state = 392 }
        LSA = { transfer_state = 384 }
        LSA = { transfer_state = 393 }
        LSA = { transfer_state = 394 }
        LSA = { transfer_state = 391 }
        LSA = { transfer_state = 390 }
        LSA = { transfer_state = 389 }
        LSA = { transfer_state = 382 }
        LSA = { transfer_state = 381 }
        LSA = { transfer_state = 388 }
        LSA = { transfer_state = 377 }
        LSA = { transfer_state = 380 }
        LSA = { transfer_state = 379 }
        LSA = { transfer_state = 387 }
        LSA = { transfer_state = 385 }
        LSA = { transfer_state = 386 }
        LSA = { transfer_state = 357 }
        }

        news_event = legionstates.90 ### End of the War!

        custom_effect_tooltip = tooltipwhitelinelol
        custom_effect_tooltip = unificationofamerica
    }
}

country_event = {
    id = legionstates.33
    title = legionstates.33.t    # Secure Greenland
    desc = legionstates.33.desc

    picture = GFX_report_event_AUS_military_march

    fire_only_once = yes
    is_triggered_only = yes

    option = {
        name = legionstates.33.a

        ai_chance = {
            base = 95
        }

        LSA = { country_event = { id = legionstates.34 days = 1 }}
        
    }

    option = {
        name = legionstates.33.b

        ai_chance = {
            base = 5
        }

        LSA = { country_event = { id = legionstates.35 days = 1 }}
        
    }
}

country_event = {
    id = legionstates.34
    title = legionstates.34.t    # Norway Accepts!
    desc = legionstates.34.desc

    picture = GFX_report_event_AUS_military_march

    fire_only_once = yes
    is_triggered_only = yes

    option = {
        name = legionstates.34.a

        ai_chance = {
            base = 100
        }

        LSA = { transfer_state = 101 }
        
    }
}

country_event = {
    id = legionstates.35
    title = legionstates.35.t    # Norway Declines!
    desc = legionstates.35.desc

    picture = GFX_report_event_AUS_military_march

    fire_only_once = yes
    is_triggered_only = yes

    option = {
        name = legionstates.35.a

        ai_chance = {
            base = 100
        }

        create_wargoal = {
            target = NRW
            type = annex_everything
        }
    }
}

country_event = {
    id = legionstates.222
    title = legionstates.222.t    # Befriend The New Spanish
    desc = legionstates.222.desc

    picture = GFX_report_event_spain_civil_war_volunteers_02

    fire_only_once = yes
    is_triggered_only = yes

    option = { 
        name = legionstates.222.a
        ai_chance = {
            base = 30
        }

        LSA = { country_event = { id = legionstates.223 days = 1 }}
    }

    option = { 
        name = legionstates.222.a
        ai_chance = {
            base = 70
        }

        LSA = { country_event = { id = legionstates.224 days = 1 }}
    }
}

country_event = {
    id = legionstates.223
    title = legionstates.223.t    # New Spanish Accepts!
    desc = legionstates.223.desc

    picture = GFX_report_event_spain_civil_war_volunteers_02

    fire_only_once = yes
    is_triggered_only = yes

    option = { 
        name = legionstates.223.a
        ai_chance = {
            base = 300
        }

        add_political_power = 50
        add_command_power = 50
        add_war_support = 0.3

        diplomatic_relation = {
            country = NSR
            relation = guarantee
            active = yes
        }
    }
}

country_event = {
    id = legionstates.224
    title = legionstates.224.t    # New Spanish Refuses
    desc = legionstates.224.desc

    picture = GFX_report_event_spain_civil_war_soldiers

    fire_only_once = yes
    is_triggered_only = yes

    option = { 
        name = legionstates.224.a
        ai_chance = {
            base = 300
        }
    }

    add_opinion_modifier = {
        target = NSR
        modifier = medium_decrease
    }
}





#######################################
       ### NEWS EVENTS BELOW ###
#######################################
       
news_event = {
    id = legionstates.200
    title = legionstates.200.t
    desc = legionstates.200.desc

    picture = GFX_news_event_american_unification_war

    mean_time_to_happen = { days = 1 }
    is_triggered_only = yes

    major = yes

    option = { 
        name = legionstates.200.a

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

    option = { 
        name = legionstates.200.b

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

    option = {
        name = legionstates.200.c

        trigger = {
            NOT = {
                tag = LSA
                is_in_faction_with = LSA
                is_subject_of = LSA
            }
            NOT = {
                tag = ERE
                is_in_faction_with = ERE
                is_subject_of = ERE
            }
        }
    }
}

news_event = {
    id = legionstates.201
    title = legionstates.201.t
    desc = legionstates.201.desc

    picture = GFX_news_event_filov_with_mussolini

    mean_time_to_happen = { days = 1 }
    is_triggered_only = yes

    major = yes

    option = { 
        name = legionstates.201.a

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

    option = { 
        name = legionstates.201.b

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

    option = {
        name = legionstates.201.c

        trigger = {
            NOT = {
                tag = LSA
                is_in_faction_with = LSA
                is_subject_of = LSA
            }
            NOT = {
                tag = ERE
                is_in_faction_with = ERE
                is_subject_of = ERE
            }
        }
    }
}

news_event = {
    id = legionstates.90
    title = legionstates.90.t
    desc = legionstates.90.desc

    picture = GFX_news_event_generic_communist_militia

    mean_time_to_happen = { days = 1 }
    is_triggered_only = yes

    major = yes

    option = { 
        name = legionstates.90.a

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

    option = { 
        name = legionstates.90.b

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

    option = {
        name = legionstates.90.c

        trigger = {
            NOT = {
                tag = LSA
                is_in_faction_with = LSA
                is_subject_of = LSA
            }
            NOT = {
                tag = ERE
                is_in_faction_with = ERE
                is_subject_of = ERE
            }
        }
    }
}
