﻿add_namespace = stalliongrad
 country_event = {
    id = stalliongrad.0
    title = stalliongrad.0.t
    desc = stalliongrad.0.d
    picture = GFX_event_stg_red_army
 
    trigger = {
        tag = STG
        date > 1007.1.1
    }
    mean_time_to_happen = { days = 1 }
    fire_only_once = yes
    option = {
    name = stalliongrad.0.a
    }
}
country_event = { ## Introduction
    id = stalliongrad.12
    title = stalliongrad.12.t
    desc = stalliongrad.12.d
    picture = GFX_event_stg_techno_magic
 
    trigger = {
        tag = STG
        date > 1007.1.8
    }
    mean_time_to_happen = { days = 1 }
    fire_only_once = yes
    option = {
    name = stalliongrad.12.a
    }
}
country_event = {
    id = stalliongrad.1
    title = stalliongrad.1.t
    desc = stalliongrad.1.d
    picture = report_event_technical
 
    is_triggered_only = yes
 
    option = {
    name = stalliongrad.1.a
    EQS = {
        country_event = { days = 1 id = equestria.10 }
        add_to_faction = STG
     }
    set_country_flag = war_help
    ai_chance = { factor = 100 }
    }
    option = {
    name = stalliongrad.1.b
    ai_chance = { factor = 0 }
    }
}
country_event = {
    id = stalliongrad.2
    title = stalliongrad.2.t
    desc = stalliongrad.2.d
    picture = GFX_event_stg_pairlament
 
    trigger = {
        tag = STG
        date > 1007.3.1
    }
    mean_time_to_happen = { days = 2 }
    fire_only_once = yes
 
    option = {
    name = stalliongrad.2.a
    set_country_flag = polya_focus
    ai_chance = {
            base = 50
            modifier = {
                factor = 0
                is_historical_focus_on = yes
            }
        }
    }
    option = {
    name = stalliongrad.2.b
    set_country_flag = vasya_focus
    ai_chance = {
            base = 50
            modifier = {
                factor = 100
                is_historical_focus_on = yes
            }
        }
    }
}
country_event = {
    id = stalliongrad.3
    title = stalliongrad.3.t
    desc = stalliongrad.3.d
    picture = report_event_technical
 
    is_triggered_only = yes
 
    option = {
    name = stalliongrad.3.a
     add_tech_bonus = {
                name = armor_bonus
                bonus = 0.5
                uses = 1
                category = armor
            }
        EQS = {
        add_tech_bonus = {
                name = armor_bonus
                bonus = 0.5
                uses = 1
                category = armor
            }
        }
    ai_chance = { factor = 100 }
    }
    option = {
    name = stalliongrad.3.b
    EQS = { country_event = equestria.15 }
    ai_chance = { factor = 0 }
    }
}
country_event = {
    id = stalliongrad.4
    title = stalliongrad.4.t
    desc = stalliongrad.4.d
    picture = report_event_technical
 
    is_triggered_only = yes
 
    option = {
    name = stalliongrad.4.a
     add_tech_bonus = {
                name = land_doc_bonus
                bonus = 0.5
                uses = 1
                category = land_doctrine
            }
        EQS = {
        add_tech_bonus = {
                name = land_doc_bonus
                bonus = 0.5
                uses = 1
                category = land_doctrine
            }
        }
    ai_chance = { factor = 100 }
    }
    option = {
    name = stalliongrad.4.b
    EQS = { country_event = equestria.15 }
    ai_chance = { factor = 0 }
    }
}
country_event = {
    id = stalliongrad.5
    title = stalliongrad.5.t
    desc = stalliongrad.5.d
    picture = report_event_technical
 
    trigger = {
        tag = STG
        has_global_flag = equestrian_civil_war
    }
    mean_time_to_happen = { days = 1 }
    fire_only_once = yes
 
    option = {
    name = stalliongrad.5.a
    custom_effect_tooltip = stg_annexes_cores_civil_war
    hidden_effect = {
    STG = {
            transfer_state = 154
            transfer_state = 155
            transfer_state = 156
            transfer_state = 157
            transfer_state = 158
            transfer_state = 160
            transfer_state = 326
            transfer_state = 164
            transfer_state = 162
            transfer_state = 159
            transfer_state = 167
            transfer_state = 229
            transfer_state = 67
            }
        NLR = {
                add_opinion_modifier = { target = STG modifier = stg_annexed_states }
            }
        }
    ai_chance = { factor = 100 }
    }
    option = {
    name = stalliongrad.5.b
    add_political_power = 350
    add_popularity = { ideology = communism popularity = -0.2 }
    ai_chance = { factor = 0 }
    }
}
country_event = {
    id = stalliongrad.6
    title = stalliongrad.6.t
    desc = stalliongrad.6.d
    picture = report_event_technical
 
    is_triggered_only = yes

    option = {
    name = stalliongrad.6.a
    add_political_power = -30
    create_wargoal = {
            type = annex_everything
            target = NLR
        }
    ai_chance = { factor = 70 }
    }
    option = {
    name = stalliongrad.6.b
    add_political_power = 20
    add_popularity = { ideology = communism popularity = -0.15 }
    EQS = {
        add_opinion_modifier = { target = STG modifier = stg_refused_help }
        }
    ai_chance = { factor = 30 }
    }
}

country_event = { ## BAL objection
    id = stalliongrad.8
    title = stalliongrad.8.t
    desc = stalliongrad.8.d
    picture = report_event_technical
 
    is_triggered_only = yes

    option = {
    name = stalliongrad.8.a
    EQS = { country_event = { id = equestria.120 days = 1 }
        }
    ai_chance = { factor = 99 }
    }
    option = {
    name = stalliongrad.8.b
    BAL = { add_opinion_modifier = { target = STG modifier = stg_refused_help }
        }
    ai_chance = { factor = 1 }
    }
}
country_event = { ## BAL objection
    id = stalliongrad.9
    title = stalliongrad.9.t
    desc = stalliongrad.9.d
    picture = report_event_technical
 
    is_triggered_only = yes

    option = {
    name = stalliongrad.9.a
    }
}

country_event = { ## BAL help
    id = stalliongrad.10
    title = stalliongrad.10.t
    desc = stalliongrad.10.d
    picture = report_event_technical
 
    is_triggered_only = yes

    option = {
    name = stalliongrad.10.a
    declare_war_on = { target = EQS type = puppet_wargoal_focus }
    ai_chance = { factor = 99 }
    }
    option = {
    name = stalliongrad.10.b
    BAL = { add_opinion_modifier = { target = STG modifier = stg_refused_help } }
    ai_chance = { factor = 1 }
    }
}
country_event = { ## BAL help against NLR
    id = stalliongrad.11
    title = stalliongrad.11.t
    desc = stalliongrad.11.d
    picture = report_event_technical
 
    is_triggered_only = yes

    option = {
    name = stalliongrad.11.a
    declare_war_on = { target = EQS type = puppet_wargoal_focus }
    ai_chance = { factor = 100 }
    }
    option = {
    name = stalliongrad.11.b
    BAL = { add_opinion_modifier = { target = STG modifier = stg_refused_help } }
    ai_chance = { factor = 0 }
    }
}
#### Actual STG events #######

country_event = { ## Party problems
    id = stalliongrad.13
    title = stalliongrad.13.t
    desc = stalliongrad.13.d
    picture = GFX_event_stg_oldgroup    
 
    trigger = {
        tag = STG
        date > 1007.1.15
    }
    mean_time_to_happen = { days = 1 }
    fire_only_once = yes
    option = {
    name = stalliongrad.13.a
    }
}
country_event = { ## Palace
    id = stalliongrad.14
    title = stalliongrad.14.t
    desc = stalliongrad.14.d
    picture = GFX_event_stalliongrad_tower
 
    is_triggered_only = yes

    option = {
    name = stalliongrad.14.a
    153 = {
        add_extra_state_shared_building_slots = 1
        }
    }
}

country_event = { ## Complete Polya Choose
    id = stalliongrad.15
    title = stalliongrad.15.t
    desc = stalliongrad.15.d
    picture = GFX_event_stg_pairlament
 
    trigger = {
        tag = STG
        has_completed_focus = polya_2
        has_completed_focus = polya_1
    }
    mean_time_to_happen = { days = 10 }
    fire_only_once = yes
    option = {
    name = stalliongrad.15.a
    set_country_flag = polya_chosen
    }
}
country_event = { ## Complete Vasya Choose
    id = stalliongrad.16
    title = stalliongrad.16.t
    desc = stalliongrad.16.d
    picture = GFX_event_stg_pairlament2
 
    trigger = {
        tag = STG
        has_completed_focus = vasya_1
        has_completed_focus = vasya_2
    }
    mean_time_to_happen = { days = 10 }
    fire_only_once = yes
    option = {
    name = stalliongrad.16.a
    set_country_flag = vasya_chosen
    }
}
country_event = { ## Mixed Focus Chosen
    id = stalliongrad.17
    title = stalliongrad.17.t
    desc = stalliongrad.17.d
    picture = GFX_event_stg_pairlament2
 
    trigger = {
        tag = STG
        has_completed_focus = polya_1
        has_completed_focus = vasya_2
    }
    mean_time_to_happen = { days = 10 }
    fire_only_once = yes
    option = {
    name = stalliongrad.17.a
    hidden_effect = {
    set_country_flag = vasya_chosen
    set_country_flag = polya_chosen
        }
    }
}
country_event = { ## Mixed Focus Chosen #2
    id = stalliongrad.18
    title = stalliongrad.18.t
    desc = stalliongrad.18.d
    picture = GFX_event_stg_pairlament2
 
    trigger = {
        tag = STG
        has_completed_focus = polya_2
        has_completed_focus = vasya_1
    }
    mean_time_to_happen = { days = 10 }
    fire_only_once = yes
    option = {
    name = stalliongrad.18.a
    hidden_effect = {
    set_country_flag = vasya_chosen
    set_country_flag = polya_chosen
        }
    }
}
country_event = { ## Поля
    id = stalliongrad.19
    title = stalliongrad.19.t
    desc = stalliongrad.19.d
    picture = GFX_event_stg_pairlament2
 
    is_triggered_only = yes

    option = {
    name = stalliongrad.19.a
    }
}
country_event = { ## Поля 2
    id = stalliongrad.20
    title = stalliongrad.20.t
    desc = stalliongrad.20.d
    picture = GFX_event_stg_pairlament2
 
    is_triggered_only = yes

    option = {
    name = stalliongrad.20.a
    add_political_power = 100
    set_country_flag = polya_government
    hidden_effect = {
    remove_ideas = industry_funds
    remove_unit_leader = 1000
        }
    }
}
country_event = { ## Вася
    id = stalliongrad.21
    title = stalliongrad.21.t
    desc = stalliongrad.21.d
    picture = GFX_event_stg_pairlament2
 
    is_triggered_only = yes

    option = {
    name = stalliongrad.21.a
    add_political_power = 100
    set_country_flag = vasya_government
    hidden_effect = {
    remove_ideas = propaganda
    remove_unit_leader = 7777
        }
    }
}
country_event = { ## Компромисс
    id = stalliongrad.22
    title = stalliongrad.22.t
    desc = stalliongrad.22.d
    picture = GFX_event_autumn
 
    is_triggered_only = yes

    option = {
    name = stalliongrad.22.a
    add_political_power = 50
    hidden_effect = {
    set_country_flag = stg_compromise
        }
    }
}
country_event = { ## Выборы - Вася
    id = stalliongrad.23
    title = stalliongrad.23.t
    desc = stalliongrad.23.d
    picture = GFX_event_stg_pairlament
 
    is_triggered_only = yes

    option = {
    name = stalliongrad.23.a
    add_political_power = 50
    set_country_flag = old_admins_elections
    }
}
country_event = {
    id = stalliongrad.24
    title = stalliongrad.24.t
    desc = stalliongrad.24.d
    picture = GFX_event_stg_pairlament2
 
    trigger = {
        tag = STG
        date > 1007.2.1
    }
    mean_time_to_happen = { days = 2 }
    fire_only_once = yes
 
    option = {
    name = stalliongrad.24.a
    }
}
country_event = {
    id = stalliongrad.25
    title = stalliongrad.25.t
    desc = stalliongrad.25.d
    picture = GFX_event_stg_pairlament2
 
    is_triggered_only = yes
 
    option = {
    name = stalliongrad.25.a
    }
}
country_event = { ## Вася Government
    id = stalliongrad.26
    title = stalliongrad.26.t
    desc = stalliongrad.26.d
    picture = GFX_event_stg_pairlament2
 
    trigger = {
        tag = STG
        has_country_flag = vasya_government
    }
    mean_time_to_happen = { days = 1}
    fire_only_once = yes
    option = {
    name = stalliongrad.26.a
    hidden_effect = {
        retire_country_leader = yes
        create_country_leader = {
            name = "Supreme Soviet"
            desc = "SUPREME_SOVIET_DESC"
            picture = "Soviet.tga"
            expire = "1965.1.1"
            ideology = leninism
            traits = {
                  }
            }
        }
    }
}
country_event = { ## Выборы - Sinister Introduction
    id = stalliongrad.27
    title = stalliongrad.27.t
    desc = stalliongrad.27.d
    picture = GFX_event_sinister_stg
 
    trigger = {
        tag = STG
        OR = {
        has_country_flag = old_admins_elections
        has_country_flag = compromise_elections
        }
    }
    mean_time_to_happen = { days = 10 }
    fire_only_once = yes

    option = {
    name = stalliongrad.27.a
    set_country_flag = sinister_introduced
    }
}
country_event = { ## Выборы - Vasya Introduction
    id = stalliongrad.28
    title = stalliongrad.28.t
    desc = stalliongrad.28.d
    picture = GFX_event_vasya_stg
 
    trigger = {
        tag = STG
        OR = {
        has_country_flag = old_admins_elections
        has_country_flag = compromise_elections
        }
    }
    mean_time_to_happen = { days = 20 }
    fire_only_once = yes

    option = {
    name = stalliongrad.28.a
    set_country_flag = vasya_introduced
    }
}
country_event = { ## Выборы - Dark Wing Introduction
    id = stalliongrad.29
    title = stalliongrad.29.t
    desc = stalliongrad.29.d
    picture = GFX_event_darkwing_stg
 
    trigger = {
        tag = STG
        has_country_flag = compromise_elections
    }
    mean_time_to_happen = { days = 25 }
    fire_only_once = yes

    option = {
    name = stalliongrad.29.a
    set_country_flag = dark_wing_introduced
    }
}
country_event = { ## Выборы - Только старые админы кекерино
    id = stalliongrad.30
    title = stalliongrad.30.t
    desc = stalliongrad.30.d
    picture = GFX_event_stg_pairlament2
 
    trigger = {
        tag = STG
        has_country_flag = old_admins_elections
        has_country_flag = vasya_introduced
        has_country_flag = sinister_introduced
    }
    mean_time_to_happen = { days = 25 }
    fire_only_once = yes

    option = {
    name = stalliongrad.30.a
    set_country_flag = vasya_elected
    retire_country_leader = yes
    create_country_leader = {
            name = "Vasiliy Pantsushenko"
            desc = "VASYA_DESC"
            picture = "Vasya.tga"
            expire = "1965.1.1"
            ideology = leninism
            traits = {
                  }
            }
    ai_chance = {
        base = 50
        modifier = {
            factor = 100
            is_historical_focus_on = yes
            }
        }
    }
    option = {
    name = stalliongrad.30.b
    set_country_flag = sinister_elected
    retire_country_leader = yes
    create_country_leader = {
            name = "Sinister Serov"
            desc = "SINISTER_DESC"
            picture = "Sinnie.tga"
            expire = "1965.1.1"
            ideology = leninism
            traits = {
                  }
            }
    ai_chance = {
        base = 50
        modifier = {
            factor = 0
            is_historical_focus_on = yes
            }
        }
    }
}
country_event = { ## Выборы - Compromise Path Elections
    id = stalliongrad.31
    title = stalliongrad.31.t
    desc = stalliongrad.31.d
    picture = GFX_event_stg_pairlament2
 
    trigger = {
        tag = STG
        has_country_flag = compromise_elections
        has_country_flag = vasya_introduced
        has_country_flag = sinister_introduced
        has_country_flag = dark_wing_introduced
    }
    mean_time_to_happen = { days = 30 }
    fire_only_once = yes

    option = {
    name = stalliongrad.31.a
    set_country_flag = vasya_elected
    retire_country_leader = yes
    create_country_leader = {
            name = "Vasiliy Pantsushenko"
            desc = "VASYA_DESC"
            picture = "Vasya.tga"
            expire = "1965.1.1"
            ideology = leninism
            traits = {
                  }
            }
    ai_chance = {
        base = 40
        modifier = {
            factor = 100
            is_historical_focus_on = yes
            }
        }
    }
    option = {
    name = stalliongrad.31.b
    set_country_flag = sinister_elected
    create_country_leader = {
            name = "Sinister Serov"
            desc = "SINISTER_DESC"
            picture = "Sinnie.tga"
            expire = "1965.1.1"
            ideology = leninism
            traits = {
                  }
            }
    ai_chance = {
        base = 30
        modifier = {
            factor = 0
            is_historical_focus_on = yes
            }
        }
    }
     option = {
    name = stalliongrad.31.c
    set_country_flag = darkwing_elected
    create_country_leader = {
            name = "Dark Wing"
            desc = "DARKWING_DESC"
            picture = "Darkwing.tga"
            expire = "1965.1.1"
            ideology = anarchist_communism
            traits = {
                  }
            }
    ai_chance = {
        base = 30
        modifier = {
            factor = 0
            is_historical_focus_on = yes
            }
        }
    }
}
country_event = { ## Поля уходит
    id = stalliongrad.32
    title = stalliongrad.32.t
    desc = stalliongrad.32.d
    picture = GFX_event_altidiya_retires
 
    trigger = {
        tag = STG
        OR = {
            has_completed_focus = new_leaders
            has_completed_focus = conditions
        }
    }
    mean_time_to_happen = { days = 50 }
    fire_only_once = yes

    option = {
    name = stalliongrad.32.a
    trigger = {
        NOT = { has_country_flag = polya_government }
    }
    retire_country_leader = yes
    create_country_leader = {
            name = "Supreme Soviet"
            desc = "SUPREME_SOVIET_DESC"
            picture = "Soviet.tga"
            expire = "1965.1.1"
            ideology = leninism
            traits = {
                  }
            }
    set_country_flag = polya_dies
    add_political_power = -100
    }
    option = {
    trigger = {
        has_country_flag = polya_government
    }
    name = stalliongrad.32.a
    retire_country_leader = yes
    create_country_leader = {
            name = "Supreme Soviet"
            desc = "SUPREME_SOVIET_DESC"
            picture = "Soviet.tga"
            expire = "1965.1.1"
            ideology = leninism
            traits = {
                  }
            }
    set_country_flag = polya_dies2
    add_political_power = -100
    }
}
country_event = { ## Начало выборов после ухода Польки в Компромиссе
    id = stalliongrad.34
    title = stalliongrad.34.t
    desc = stalliongrad.34.d
    picture = GFX_event_stg_pairlament
 
    trigger = {
        tag = STG
        has_country_flag = polya_dies
        NOT = {
            has_country_flag = polya_dies2
        }
    }
    mean_time_to_happen = { days = 15 }
    fire_only_once = yes

    option = {
    name = stalliongrad.34.a
    set_country_flag = compromise_elections
    }
}
country_event = { ## 10 условий
    id = stalliongrad.35
    title = stalliongrad.35.t
    desc = stalliongrad.35.d
    picture = GFX_event_stg_pairlament2
 
    is_triggered_only = yes

    option = {
    name = stalliongrad.35.a
    add_political_power = 50
    }
    option = {
    name = stalliongrad.35.b
    custom_effect_tooltip = vasya_leaves_tooltip
    set_country_flag = vasya_leaves
    }
}
country_event = { ## DarkWing takes power
    id = stalliongrad.36
    title = stalliongrad.36.t
    desc = stalliongrad.36.d
    picture = GFX_event_stg_pairlament2
 
    trigger = {
        tag = STG
        has_country_flag = vasya_leaves
        has_completed_focus = conditions
        has_country_flag = polya_dies
    }
    mean_time_to_happen = { days = 5 }
    fire_only_once = yes
    option = {
    name = stalliongrad.36.a
    set_country_flag = polya_government
    set_country_flag = polya_dies2
    retire_country_leader = yes
    create_country_leader = {
            name = "Dark Wing"
            desc = "DARKWING_DESC"
            picture = "Darkwing.tga"
            expire = "1965.1.1"
            ideology = leninism
            traits = {
                  }
             }
    }
}
country_event = { ## DarkWing takes power in Polya Root
    id = stalliongrad.37
    title = stalliongrad.37.t
    desc = stalliongrad.37.d
    picture = GFX_event_darkwing_stg
 
    trigger = {
        tag = STG
        has_completed_focus = new_leaders
        has_country_flag = polya_dies2
    }
    mean_time_to_happen = { days = 10 }
    fire_only_once = yes
    option = {
    name = stalliongrad.37.a
    set_country_flag = darkwing_elected
    retire_country_leader = yes
    create_country_leader = {
            name = "Dark Wing"
            desc = "DARKWING_DESC"
            picture = "Darkwing.tga"
            expire = "1965.1.1"
            ideology = leninism
            traits = {
                  }
             }
        }
}
#####################################################################
####### THAT FUCKER DARKWING PATH ALRIGHT ################################
#####################################################################
country_event = { ## Celestial Relations
    id = stalliongrad.38
    title = stalliongrad.38.t
    desc = stalliongrad.38.d
    picture = GFX_event_darkwing_stg
 
    is_triggered_only = yes

    option = {
    name = stalliongrad.38.a
        }
}
country_event = { ## Celestial Relations
    id = stalliongrad.39
    title = stalliongrad.39.t
    desc = stalliongrad.39.d
    picture = GFX_event_darkwing_stg
 
    is_triggered_only = yes

    option = {
    name = stalliongrad.39.a
    add_national_unity = -0.1
    add_political_power = -20
        }
}
country_event = { ## Celestial Relations
    id = stalliongrad.40
    title = stalliongrad.40.t
    desc = stalliongrad.40.d
    picture = GFX_event_darkwing_stg
 
    is_triggered_only = yes

    option = {
    name = stalliongrad.40.a
    add_political_power = 50
    hidden_effect = {
    EQS = {
        country_event = { id = equestria.27 days = 1 }
            }
        }
    }
}
#######################################################################
#######################################################################
############## VASYA PATH AND SOME SHIT ################################
## Farmers rebel against regulations
country_event = { ##
    id = stalliongrad.4000
    title = stalliongrad.4000.t
    desc = stalliongrad.4000.d
    picture = GFX_event_our_town
 
    is_triggered_only = yes

    option = {
    name = stalliongrad.4000.a
    set_country_flag = food_removal_sin
    add_political_power = -60
    }
}
country_event = { ## Annexation of STL
    id = stalliongrad.42
    title = stalliongrad.42.t
    desc = stalliongrad.42.d
    picture = GFX_event_our_town
 
    is_triggered_only = yes

    option = {
    name = stalliongrad.42.a
    STL = { country_event = { id = starlight.1 days = 1 }
        }
    }
}
country_event = { ## Annexation of STL
    id = stalliongrad.43
    title = stalliongrad.43.t
    desc = stalliongrad.43.d
    picture = GFX_event_our_town
 
    is_triggered_only = yes

    option = {
    name = stalliongrad.43.a
    annex_country = { target = STL }
    news_event = { id = news.23 days = 1 }
    ai_chance = {
            base = 50
            modifier = {
                factor = 10
                has_country_flag = sinister_elected
            }
            modifier = {
                factor = 90
                has_country_flag = vasya_elected
            }
        }
    }
    option = {
    name = stalliongrad.43.b
    puppet = STL
    news_event = { id = news.23 days = 1 }
    ai_chance = {
            base = 50
            modifier = {
                factor = 90
                has_country_flag = sinister_elected
            }
            modifier = {
                factor = 10
                has_country_flag = vasya_elected
            }
        }
    }
}
country_event = { ## Food Problem Vasya
    id = stalliongrad.44
    title = stalliongrad.44.t
    desc = stalliongrad.44.d
    picture = GFX_event_stg_chleb
 
    is_triggered_only = yes

    option = {
    name = stalliongrad.44.a
    set_country_flag = food_removal
    swap_ideas = { remove_idea = severe_famine2 add_idea = severe_famine3 }
    add_political_power = 50
    }
}
country_event = { ## Creation of Socialist Union Faction
    id = stalliongrad.45
    title = stalliongrad.45.t
    desc = stalliongrad.45.d
    picture = GFX_event_stg_pairlament2
 
    is_triggered_only = yes

    option = {
    name = stalliongrad.45.a
    add_political_power = 50
    news_event = { id = news.24 days = 1 }
    create_faction = "Socialist_Union"
    ai_chance = {
            base = 50
            modifier = {
                factor = 0
                is_historical_focus_on = yes
            }
        }
    }
    option = {
    name = stalliongrad.45.b
    add_political_power = 56
    ai_chance = {
            base = 50
            modifier = {
                factor = 100
                is_historical_focus_on = yes
            }
        }
    }
}
country_event = { ## Supporting Griffon Communists Vasya Root
    id = stalliongrad.46
    title = stalliongrad.46.t
    desc = stalliongrad.46.d
    picture = GFX_event_stg_pairlament2
 
    is_triggered_only = yes

    option = {
    name = stalliongrad.46.a
    add_political_power = 35
    GRF = {
            add_opinion_modifier = { target = STG modifier = hostility }
            country_event = {
                id = griffons.5 days = 1
                }
            }
    }
}
country_event = { ## Worst Case Plan
    id = stalliongrad.47
    title = stalliongrad.47.t
    desc = stalliongrad.47.d
    picture = GFX_event_stg_pairlament2
 
    is_triggered_only = yes

    option = {
    name = stalliongrad.47.a
    add_political_power = -50
    set_country_flag = stalliongradians_arrested
    }
}
country_event = { ## Worst Case Plan #2
    id = stalliongrad.48
    title = stalliongrad.48.t
    desc = stalliongrad.48.d
    picture = GFX_event_stg_pairlament2
 
    is_triggered_only = yes

    option = {
    name = stalliongrad.48.a
    GRF = {
    country_event = {
        id = griffons.7 days = 1
            }
        }
    hidden_effect = {
        news_event = {
            id = news.25 days = 1
            }
        }
    }
}
country_event = { ## Worst Case Plan #3 Puppet
    id = stalliongrad.49
    title = stalliongrad.49.t
    desc = stalliongrad.49.d
    picture = GFX_event_stg_pairlament2
 
    is_triggered_only = yes

    option = {
    name = stalliongrad.49.a
    puppet = GRF
    }
}
country_event = { ## Worst Case Plan #4 Wargoal
    id = stalliongrad.50
    title = stalliongrad.50.t
    desc = stalliongrad.50.d
    picture = GFX_event_stg_pairlament2
 
    is_triggered_only = yes

    option = {
    name = stalliongrad.50.a
    create_wargoal = {
        type = puppet_wargoal_focus target = GRF
        }
    hidden_effect = {
        news_event = {
            id = news.26 days = 1
            }
        }
    }
}
country_event = { ## Indirect Support
    id = stalliongrad.51
    title = stalliongrad.51.t
    desc = stalliongrad.51.d
    picture = GFX_event_stg_pairlament2
 
    is_triggered_only = yes

    option = {
    name = stalliongrad.51.a
    send_equipment = { target = GRF type = infantry_equipment amount = 10000 }
    send_equipment = { target = GRF type = fighter1 amount = 50 }
    }
}
country_event = { ## Communism in GRF
    id = stalliongrad.5111
    title = stalliongrad.5111.t
    desc = stalliongrad.5111.d
    picture = GFX_event_stg_pairlament2
 
    is_triggered_only = yes

    option = {
    name = stalliongrad.5111.a
    add_to_faction = GRF
    }
}

#############################
#### Revolution in Equestria ####
##############################
country_event = { ## Support the party
    id = stalliongrad.52
    title = stalliongrad.52.t
    desc = stalliongrad.52.d
    picture = GFX_event_stg_pairlament2
 
    is_triggered_only = yes

    option = {
    name = stalliongrad.52.a
        EQS = {
            add_ideas = internationalism
            set_country_flag = stalliongradian_influence
        }
    }
}
country_event = { ## Activists
    id = stalliongrad.53
    title = stalliongrad.53.t
    desc = stalliongrad.53.d
    picture = GFX_event_stg_pairlament2
    
    is_triggered_only = yes

    option = {
    name = stalliongrad.53.a
        EQS = {
            add_ideas = stalliongrad_propaganda
        }
    }
}
country_event = { ## Civil War Help
    id = stalliongrad.54
    title = stalliongrad.54.t
    desc = stalliongrad.54.d
    picture = GFX_event_stg_pairlament2
 
    is_triggered_only = yes

    option = { # Actively Help
    name = stalliongrad.54.a
    ai_chance = { factor = 100 }
        random_other_country = {
            limit = {
                has_civil_war = yes
                has_government = communism
                original_tag = EQS
            }
            country_event = {
                id = stalliongrad.55 days = 2
            }
        }
    }
    option = { ## send_equipment
    name = stalliongrad.54.b
    ai_chance = { factor = 0 }
        random_other_country = {
            limit = {
                has_civil_war = yes
                has_government = communism
                original_tag = EQS
            }
            country_event = {
                id = stalliongrad.56 days = 2
            }
        }
    }
}
country_event = { ## Civil War Help { Event for Equestria Triggered Above }
    id = stalliongrad.55
    title = stalliongrad.55.t
    desc = stalliongrad.55.d
    picture = GFX_event_stg_pairlament2
 
    is_triggered_only = yes

    option = {
    name = stalliongrad.55.a
    STG = {
        add_to_faction = ROOT
        give_guarantee = EQS
        }
    add_to_war = { targeted_alliance = STG enemy = D01 }
    }
}
country_event = { ## Civil War Help { Event for Equestria Triggered Above }
    id = stalliongrad.56
    title = stalliongrad.56.t
    desc = stalliongrad.56.d
    picture = GFX_event_stg_pairlament2
 
    is_triggered_only = yes

    option = {
    name = stalliongrad.56.a
        add_equipment_to_stockpile = { type = infantry_equipment amount = 14000 producer = STG }
    }
}
country_event = { ## Civil War Help Coming from EQS
    id = stalliongrad.57
    title = stalliongrad.57.t
    desc = stalliongrad.57.d
    picture = GFX_event_stg_pairlament2
 
    is_triggered_only = yes

    option = {
    name = stalliongrad.57.a
    EQS = { add_to_faction = STG }
    }
}
country_event = { ## Union with EQS after EQS won the CivilWAr
    id = stalliongrad.58
    title = stalliongrad.58.t
    desc = stalliongrad.58.d
    picture = GFX_event_stg_pairlament2
 
    is_triggered_only = yes

    option = { #agree
    name = stalliongrad.58.a
    EQS = {
        country_event = { id = eqscom.5 days = 1 }
    }
    ai_chance = {
        factor = 100
        }
    }
    option = { #nyo
    name = stalliongrad.58.b
    EQS = {
        country_event = { id = eqscom.6 days = 1 }
    }
    ai_chance = {
        factor = 0
        }
    }
}
country_event = { ## Union with EQS after EQS won the CivilWAr
    id = stalliongrad.59
    title = stalliongrad.59.t
    desc = stalliongrad.59.d
    picture = GFX_event_stg_pairlament2
 
    is_triggered_only = yes

    option = { # stg owns equestria
    name = stalliongrad.59.a
    EQS = {
        country_event = { id = eqscom.12 days = 1 }
    }
    ai_chance = {
        factor = 50
        }
    }
    option = { # change tag to eqs
    name = stalliongrad.59.b
    EQS = {
        country_event = { id = eqscom.13 days = 1 }
    }
    ai_chance = {
        factor = 50
        }
    }
}
country_event = { ## Union with EQS after EQS won the CivilWAr
    id = stalliongrad.60
    title = stalliongrad.60.t
    desc = stalliongrad.60.d
    picture = GFX_event_stg_pairlament2
 
    is_triggered_only = yes

    option = { # stg owns equestria
    name = stalliongrad.60.a
    annex_country = { target = EQS transfer_troops = yes }
    set_cosmetic_tag = EQS_COM
    set_global_flag = socrep_formed
    ai_chance = { factor = 100 }
    }
    option = { # stg owns equestria
    name = stalliongrad.60.b
    puppet = EQS
    ai_chance = { factor = 0 }
    }
}

country_event = { ## Union with EQS with Chaning Tags to EQS
    id = stalliongrad.61
    title = stalliongrad.61.t
    desc = stalliongrad.61.d
    picture = GFX_event_stg_pairlament2
 
    is_triggered_only = yes

    option = { # stg changes tag
    name = stalliongrad.61.a
    EQS = {
            change_tag_from = STG
        }
    EQS = {
        annex_country = { target = STG transfer_troops = yes }
        }
    }
}
country_event = { ## Union with CRY
    id = stalliongrad.62
    title = stalliongrad.62.t
    desc = stalliongrad.62.d
    picture = GFX_event_stg_pairlament2
 
    trigger = {
    OR = {
        tag = STG
        original_tag = EQS
        }
        has_civil_war = no
        has_government = communism
        CRY = {
            has_government = communism
            has_civil_war = no
        }
        NOT = {
            EQS = { has_civil_war = yes }
        }
    }
    fire_only_once = yes
    mean_time_to_happen = { days = 14 }
    option = { # stg changes tag
    name = stalliongrad.62.a
    CRY = {
        country_event = { id = crystalemp.3 }
        }
    }
}
country_event = { ## Union with CRY
    id = stalliongrad.63
    title = stalliongrad.63.t
    desc = stalliongrad.63.d
    picture = GFX_event_stg_pairlament2
 
    is_triggered_only = yes
    option = { # stg changes tag
    name = stalliongrad.63.a
    annex_country = { target = CRY transfer_troops = yes }
    }
    option = { # stg changes tag
    name = stalliongrad.63.b
    puppet = CRY
    }
}
country_event = { ## Union with EQS after EQS won the CivilWAr Refused
    id = stalliongrad.64
    title = stalliongrad.64.t
    desc = stalliongrad.64.d
    picture = GFX_event_stg_pairlament2
 
    is_triggered_only = yes

    option = { # stg owns equestria
    name = stalliongrad.64.a
    }
}
###########################################################
####### CULTURAL REVOLUTION ###############################
###########################################################
country_event = { ## Pioneer Movement Support
    id = stalliongrad.65
    title = stalliongrad.65.t
    desc = stalliongrad.65.d
    picture = GFX_event_pioneer_derpy
 
    is_triggered_only = yes

    option = { #
    name = stalliongrad.65.a
    add_ideas = pioneers
    }
}
country_event = { ## Culture Fest
    id = stalliongrad.66
    title = stalliongrad.66.t
    desc = stalliongrad.66.d
    picture = GFX_event_stg_pioneers
 
    is_triggered_only = yes

    option = { #
    name = stalliongrad.66.a
    swap_ideas = { remove_idea = socialist_culture add_idea = socialist_culture2 }
    }
}
country_event = { ## Organization of Clubs
    id = stalliongrad.67
    title = stalliongrad.67.t
    desc = stalliongrad.67.d
    picture = GFX_event_education_or_smth
 
    is_triggered_only = yes

    option = { #
    name = stalliongrad.67.a
    add_political_power = 50
    swap_ideas = { remove_idea = pioneers2 add_idea = pioneers3 }
    }
}
country_event = { ## Militarized Schools
    id = stalliongrad.68
    title = stalliongrad.68.t
    desc = stalliongrad.68.d
    picture = GFX_event_pioneers
 
    is_triggered_only = yes

    option = { #
    name = stalliongrad.68.a
    swap_ideas = { remove_idea = pioneers add_idea = pioneers2 }
    }
}
country_event = { ## Day of Knowledge
    id = stalliongrad.69
    title = stalliongrad.69.t
    desc = stalliongrad.69.d
    picture = GFX_event_pioneer_girl
 
    is_triggered_only = yes

    option = { #
    name = stalliongrad.69.a
    add_political_power = 50
    }
}

############ CLAIM CORES AFTER The War ENDED  ###########
country_event = { 
    id = stalliongrad.70
    title = stalliongrad.70.t
    desc = stalliongrad.70.d
    picture = GFX_event_stg_pioneers
 
    is_triggered_only = yes

    option = { #
    name = stalliongrad.70.a
    EQS = {
        country_event = { id = equestria.40 }
        }
    }
}
country_event = { 
    id = stalliongrad.71
    title = stalliongrad.71.t
    desc = stalliongrad.71.d
    picture = GFX_event_stg
 
    is_triggered_only = yes

    option = { #
    name = stalliongrad.71.a
    create_wargoal = {
        target = EQS type = annex_everything
        }
    }
}
country_event = { 
    id = stalliongrad.72
    title = stalliongrad.72.t
    desc = stalliongrad.72.d
    picture = GFX_event_stg
 
    trigger = {
        tag = STG
        OR = {
            has_completed_focus = equestrian_cores2
            has_completed_focus = equestrian_cores
        }
        owns_state = 3
        owns_state = 75
        owns_state = 153
        OR = {
            EQS = { exists = no }
            EQS = { is_puppet_of = STG }
            EQS = { has_government = communism }
        }
    }
    mean_time_to_happen = { days = 15 }
    fire_only_once = yes
    option = { # Manehattan
    name = stalliongrad.72.a
    ai_chance = { factor = 0 }
    set_capital = 75
    every_state = {
        limit = {
            is_owned_by = STG
        }
        add_core_of = STG
        }
    }
     option = { # Canterlot
    name = stalliongrad.72.b
    set_capital = 3
    ai_chance = { factor = 100 }
    every_state = {
        limit = {
            is_owned_by = STG
        }
        add_core_of = STG
        }
    }
    option = { # STG
    name = stalliongrad.72.c
    set_capital = 153
    ai_chance = { factor = 0 }
    every_state = {
        limit = {
            is_owned_by = STG
        }
        add_core_of = STG
        }
    }
}
country_event = {  ## Revolt in Yakistan
    id = stalliongrad.73
    title = stalliongrad.73.t
    desc = stalliongrad.73.d
    picture = GFX_event_stg
 
    is_triggered_only = yes

    option = { #
    name = stalliongrad.73.a
    YAK = {
        add_ideas = communist_influence
        add_ideas = stalliongrad_propaganda
    }
    }
}
country_event = {  ## Revolt in Yakistan
    id = stalliongrad.74
    title = stalliongrad.74.t
    desc = stalliongrad.74.d
    picture = GFX_event_stg
 
    is_triggered_only = yes

    option = { #
    name = stalliongrad.74.a
    create_wargoal = { target = YAK type = puppet }
    }
}
country_event = {  ## Stalliongrad offers help to Equestria against Changelings
    id = stalliongrad.75
    title = stalliongrad.75.t
    desc = stalliongrad.75.d
    picture = GFX_event_stg
 
    is_triggered_only = yes

    option = { #
    name = stalliongrad.75.a
    dismantle_faction = yes
    EQS = { country_event = { id = equestria.42 days = 1 }
    set_country_flag = war_help
        }
    }
}
country_event = {  ## Sinnie Focus Events: Strike Griffons
    id = stalliongrad.76
    title = stalliongrad.76.t
    desc = stalliongrad.76.d
    picture = GFX_event_stg
 
    is_triggered_only = yes

    option = { #
    name = stalliongrad.76.a
    GRF = {
        country_event = {
            id = griffons.11 days = 1
            }
        }
    }
    option = { #
    name = stalliongrad.76.b
    create_wargoal = {
        target = GRF type = annex_everything
        }
    }
}
country_event = {  ## Sinnie Focus Events: Strike Griffons
    id = stalliongrad.77
    title = stalliongrad.77.t
    desc = stalliongrad.77.d
    picture = GFX_event_stg
 
    is_triggered_only = yes

    option = { #
    name = stalliongrad.77.a
    create_wargoal = {
        target = GRF type = annex_everything
        }
    }
}
country_event = {  ## Sinnie Focus Events: Strike Griffons
    id = stalliongrad.78
    title = stalliongrad.78.t
    desc = stalliongrad.78.d
    picture = GFX_event_stg
 
    is_triggered_only = yes

    option = { #
    name = stalliongrad.78.a
    ai_chance = { factor = 40 }
    puppet = GRF
    GRF = {
        annex_country = { target = GFF transfer_troops = yes }
        }
    }
    option = { #
    name = stalliongrad.78.b
    ai_chance = { factor = 60 }
    annex_country = { target = GRF transfer_troops = yes }
    annex_country = { target = GFF transfer_troops = yes }
    }
}
country_event = {  ## Sinnie Focus Annex Equestria
    id = stalliongrad.79
    title = stalliongrad.79.t
    desc = stalliongrad.79.d
    picture = GFX_event_stg
 
    is_triggered_only = yes

    option = { #
    name = stalliongrad.79.a
    ai_chance = { factor = 100 }
    trigger = { EQS = { is_puppet_of = STG } }
    every_state = {
        limit = { is_owned_by = STG
        is_owned_by = EQS }
        add_core_of = STG
    }
    annex_country = { target = EQS transfer_troops = yes }
    }
    option = { #
    name = stalliongrad.79.b
    every_state = {
        limit = { is_owned_by = STG }
        add_core_of = STG
    }
    ai_chance = { factor = 0 }
    }
}
country_event = { ## Universities and Colleges
    id = stalliongrad.80
    title = stalliongrad.80.t
    desc = stalliongrad.80.d
    picture = GFX_event_unicorn_worker
 
    is_triggered_only = yes

    option = { #
    name = stalliongrad.80.a
    add_political_power = 50
    }
    option = { #
    name = stalliongrad.80.b
    add_political_power = -50
    add_manpower = 500
    }
    option = { #
    name = stalliongrad.80.c
    add_political_power = -100
    add_manpower = 4000
    }
}
#####################################
#### Food Shortages Going Away ###################
#####################################
country_event = { ## Food Problem Vasya
    id = stalliongrad.81
    title = stalliongrad.81.t
    desc = stalliongrad.81.d
    picture = GFX_event_stg_chleb
 
    trigger = {
        tag = STG
        has_country_flag = food_removal
    }
    mean_time_to_happen = { days = 40 }
    fire_only_once = yes
    option = {
    name = stalliongrad.81.a
    set_country_flag = food_removal2
    swap_ideas = { remove_idea = severe_famine3 add_idea = severe_famine4 }
    }
}
country_event = { ## Food Problem Vasya
    id = stalliongrad.82
    title = stalliongrad.82.t
    desc = stalliongrad.82.d
    picture = GFX_event_stg_chleb
 
    trigger = {
        tag = STG
        has_country_flag = food_removal2
    }
    fire_only_once = yes
    mean_time_to_happen = { days = 40 }
    option = {
    name = stalliongrad.82.a
    set_country_flag = food_removal3
    add_political_power = -50
    swap_ideas = { remove_idea = collectivization_effort add_idea = collectivization_effort2 }
    swap_ideas = { remove_idea = severe_famine3 add_idea = severe_famine4 }
    }
}
country_event = { ## Kulaks
    id = stalliongrad.8222
    title = stalliongrad.8222.t
    desc = stalliongrad.8222.d
    picture = GFX_event_stg_chleb
 
    trigger = {
        tag = STG
        has_country_flag = food_removal3
    }
    fire_only_once = yes
    mean_time_to_happen = { days = 2 }
    option = {
    name = stalliongrad.8222.a
    add_political_power = -60
    add_manpower = -3573
    }
    option = {
    name = stalliongrad.8222.b
    add_political_power = -20
    add_national_unity = -0.02
    hidden_effect = {
    add_ideas = kulak_sabotage
        }
    }
}
country_event = { ## Food Problem Vasya
    id = stalliongrad.83
    title = stalliongrad.83.t
    desc = stalliongrad.83.d
    picture = GFX_event_stg_chleb
 
    trigger = {
        tag = STG
        has_country_flag = food_removal3
    }
    fire_only_once = yes
    mean_time_to_happen = { days = 42 }
    option = {
    name = stalliongrad.83.a
    swap_ideas = { remove_idea = collectivization_effort2 add_idea = collectivization_effort }
    set_country_flag = food_removal4
    swap_ideas = { remove_idea = severe_famine4 add_idea = severe_famine5 }
    }
}
country_event = { ## Food Problem Vasya
    id = stalliongrad.84
    title = stalliongrad.84.t
    desc = stalliongrad.84.d
    picture = GFX_event_stg_chleb
 
    trigger = {
        tag = STG
        has_country_flag = food_removal4
    }
    fire_only_once = yes
    mean_time_to_happen = { days = 30 }
    option = {
    name = stalliongrad.84.a
    set_country_flag = food_removal5
    swap_ideas = { remove_idea = severe_famine5 add_idea = severe_famine6 }
    }
}
country_event = { ## Food Problem Vasya
    id = stalliongrad.8444
    title = stalliongrad.8444.t
    desc = stalliongrad.8444.d
    picture = GFX_event_stg_chleb
 
    trigger = {
        tag = STG
        has_country_flag = food_removal4
        has_idea = kulak_sabotage
    }
    fire_only_once = yes
    mean_time_to_happen = { days = 3 }
    option = {
    name = stalliongrad.8444.a
    add_political_power = -70
    }
}
country_event = { ## Food Problem Vasya
    id = stalliongrad.85
    title = stalliongrad.85.t
    desc = stalliongrad.85.d
    picture = GFX_event_stg_future_poster
 
    trigger = {
        tag = STG
        has_country_flag = food_removal5
    }
    fire_only_once = yes
    mean_time_to_happen = { days = 30 }
    option = {
    name = stalliongrad.85.a
    swap_ideas = { remove_idea = collectivization_effort add_idea = collectivization_effort3 }
    remove_ideas = severe_famine6
    hidden_effect = {
         remove_ideas = kulak_sabotage
        }
    }
}
country_event = { ## Food Problem Sinnie
    id = stalliongrad.86
    title = stalliongrad.86.t
    desc = stalliongrad.86.d
    picture = GFX_event_gardening
 
    trigger = {
        tag = STG
        has_country_flag = food_removal_sin
    }
    mean_time_to_happen = { days = 30 }
    fire_only_once = yes
    option = {
    name = stalliongrad.86.a
    set_country_flag = food_removal_sin2
    swap_ideas = { remove_idea = severe_famine2 add_idea = severe_famine3 }
    add_political_power = -20
    }
}
country_event = { ## Food Problem Sinnie
    id = stalliongrad.87
    title = stalliongrad.87.t
    desc = stalliongrad.87.d
    picture = GFX_event_gardening
 
    trigger = {
        tag = STG
        has_country_flag = food_removal_sin2
    }
    mean_time_to_happen = { days = 50 }
    fire_only_once = yes
    option = {
    name = stalliongrad.87.a
    set_country_flag = food_removal_sin3
    swap_ideas = { remove_idea = severe_famine3 add_idea = severe_famine4 }
    }
    option = {
    name = stalliongrad.87.b
    add_political_power = -70
    add_ideas = sinnie_food_subsidies
    swap_ideas = { remove_idea = severe_famine3 add_idea = severe_famine5 }
    }
}
country_event = { ## Food removal Sinnie
    id = stalliongrad.88
    title = stalliongrad.88.t
    desc = stalliongrad.88.d
    picture = GFX_event_gardening
    fire_only_once = yes
    trigger = {
        tag = STG
        has_country_flag = food_removal_sin3
    }
    mean_time_to_happen = { days = 30 }

    option = {
    name = stalliongrad.88.a
    set_country_flag = food_removal_sin4
    swap_ideas = { remove_idea = severe_famine4 add_idea = severe_famine5 }
    }
}
country_event = { ## Food removal Sinnie
    id = stalliongrad.89
    title = stalliongrad.89.t
    desc = stalliongrad.89.d
    picture = GFX_event_gardening
    fire_only_once = yes
    trigger = {
        tag = STG
        has_country_flag = food_removal_sin4
    }
    mean_time_to_happen = { days = 30 }

    option = {
    name = stalliongrad.89.a
    set_country_flag = food_removal_sin5
    swap_ideas = { remove_idea = severe_famine5 add_idea = severe_famine6 }
    }
}
country_event = { ## Food removal Sinnie
    id = stalliongrad.90
    title = stalliongrad.90.t
    desc = stalliongrad.90.d
    picture = GFX_event_gardening
    fire_only_once = yes
    trigger = {
        tag = STG
        has_country_flag = food_removal_sin5
    }
    mean_time_to_happen = { days = 15 }

    option = {
    name = stalliongrad.90.a
    remove_ideas = severe_famine6
    }
}
country_event = { ## Food removal Sinnie
    id = stalliongrad.91
    title = stalliongrad.91.t
    desc = stalliongrad.91.d
    picture = GFX_event_gardening
    fire_only_once = yes
    trigger = {
        tag = STG
        has_idea = sinnie_food_subsidies
    }
    mean_time_to_happen = { days = 30 }

    option = {
    name = stalliongrad.91.a
    remove_ideas = severe_famine5
    remove_ideas = sinnie_food_subsidies
    }
}
##############################################################
############# THE PALACE IS BUILT AT LAST #######################
###############################################################
country_event = { ## Palace
    id = stalliongrad.92
    title = stalliongrad.92.t
    desc = stalliongrad.92.d
    picture = GFX_event_stalliongrad_tower
 
    trigger = {
        tag = STG
        has_government = communism
        date > 1017.10.20
        has_war = no
        has_civil_war = no
        is_puppet = no
    }
    mean_time_to_happen = { days = 39 }
    fire_only_once = yes
    option = {
    name = stalliongrad.92.a
    add_political_power = 250
    add_manpower = 5000
    153 = {
        add_extra_state_shared_building_slots = 1
        }
    }
}
country_event = { ## Civil War 
    id = stalliongrad.93
    title = stalliongrad.93.t
    desc = stalliongrad.93.d
    picture = GFX_event_stalliongrad_tower
 
    trigger = {
        tag = STG
        date > 1010.6.2
        has_idea = severe_famine
    }
    mean_time_to_happen = { days = 10 }
    fire_only_once = yes
    option = {
    name = stalliongrad.93.a
    start_civil_war = {
                 ruling_party = communism  
                 ideology = democratic
                 size = 0.6
                 capital = 166
                    }
    }
}
country_event = { ## Polya is old
    id = stalliongrad.94
    title = stalliongrad.94.t
    desc = stalliongrad.94.d
    picture = GFX_event_altidiya_retires
 
    trigger = {
        tag = STG
        date > 1009.7.7
        NOT = {
            has_completed_focus = vasya_2
            has_completed_focus = polya_2
        }
    }
    mean_time_to_happen = { days = 10 }
    fire_only_once = yes
    option = {
    name = stalliongrad.94.a
    set_country_flag = polya_dies
    retire_country_leader = yes
    create_country_leader = {
            name = "Supreme Soviet"
            desc = "SUPREME_SOVIET_DESC"
            picture = "Soviet.tga"
            expire = "1965.1.1"
            ideology = leninism
            traits = {
                  }
            }
    }
}
country_event = { ## Darwking Hunger continues
    id = stalliongrad.95
    title = stalliongrad.95.t
    desc = stalliongrad.95.d
    picture = GFX_event_stg_pairlament2
 
    is_triggered_only = yes

    option = {
    name = stalliongrad.95.a
    }
}
country_event = { ## Griffon Intervention
    id = stalliongrad.96
    title = stalliongrad.96.t
    desc = stalliongrad.96.d
    picture = GFX_event_stg_pairlament2
 
    trigger = {
        tag = STG
        GRF = { has_country_flag = GRF_teafeather_dead }
    }
    mean_time_to_happen = { days = 3 }
    fire_only_once = yes
    option = {
    name = stalliongrad.96.a
    set_country_flag = griffon_intervention
    ai_chance = {
            base = 70
            modifier = {
                factor = 0
                is_historical_focus_on = yes
            }
        }
    }
    option = {
    name = stalliongrad.96.b
    ai_chance = {
            base = 30
            modifier = {
                factor = 100
                is_historical_focus_on = yes
            }
        }
    }
}
country_event = { ## Rename Konzan to Sinistergrad
    id = stalliongrad.97
    title = stalliongrad.97.t
    desc = stalliongrad.97.d
    picture = GFX_event_stg_pairlament2
 
    trigger = {
        tag = STG
        has_country_flag = sinister_elected
        OR = {
            EQS = { has_government = communism }
            EQS = { exists = no }
        }
    }
    mean_time_to_happen = { days = 1 }
    fire_only_once = yes
    option = {
    name = stalliongrad.97.a
    set_province_name = { id = 200 name = "Sinistergrad"}
    }
    option = {
    name = stalliongrad.97.b
    }
}