﻿add_namespace = conspiracy
### Will it Happen? ###

### Equestrian Aid ###

country_event = {
	id = conspiracy.3
	title = conspiracy.3.t
	desc = conspiracy.3.d
	picture = GFX_event_stg_pairlament
	trigger = { tag = STG
                is_subject_of = EQS }
	mean_time_to_happen = { days = 250 }
	option = {
	    add_political_power = -25
		name = conspiracy.3.a
		random_owned_controlled_state = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
		random_owned_controlled_state = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
		}
	}
	
country_event = {
	id = conspiracy.4
	title = conspiracy.4.t
	desc = conspiracy.4.d
	picture = GFX_event_stg_pairlament
	trigger = { tag = STG
                is_subject_of = EQS }
	mean_time_to_happen = { days = 300 }
	option = {
	    add_political_power = -40
		name = conspiracy.4.a
		random_owned_controlled_state = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
		random_owned_controlled_state = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
		random_owned_controlled_state = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
		}
	}

country_event = {
	id = conspiracy.5
	title = conspiracy.5.t
	desc = conspiracy.5.d
	picture = GFX_event_stg_pairlament
	trigger = { tag = STG
                is_subject_of = EQS }
	mean_time_to_happen = { days = 350 }
	option = {
	    add_political_power = -40
		name = conspiracy.5.a
		random_owned_controlled_state = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}
		}
	}
	
country_event = {
	id = conspiracy.6
	title = conspiracy.6.t
	desc = conspiracy.6.d
	picture = GFX_event_stg_pairlament
	fire_only_once = yes
	trigger = { tag = STG
                is_subject_of = EQS }
	mean_time_to_happen = { days = 400 }
	option = {
	    add_political_power = 50
		remove_ideas = incomplete_industrialization
		}
	}
	
### Conspiracy ###

country_event = { #An Interesting Turn of Events...
    id = conspiracy.7
    title = conspiracy.7.t
    desc = conspiracy.7.d
    picture = GFX_event_stg_pairlament
	fire_only_once = yes
 
    trigger = {
        tag = STG
		is_subject_of = EQS
        date > 1009.3.17
		has_country_flag = STG_darkwing_natbol
    }
	mean_time_to_happen = {
		days = 1
	}


    option = {
    name = conspiracy.7.a
	add_political_power = -100
	add_manpower = -500
	hidden_effect = { country_event = { id = conspiracy.8 days = 15 }
                      news_event = { id = stalliongrad_news.103 days = 1 } }
    }
}

country_event = { #A Nation United...
    id = conspiracy.8
    title = conspiracy.8.t
    desc = conspiracy.8.d
    picture = GFX_event_stg_pairlament
	is_triggered_only = yes
	fire_only_once = yes

    option = {
    name = conspiracy.8.a
	add_timed_idea = { idea = GEU_united_STG days = 140 }
	hidden_effect = { country_event = { id = conspiracy.9 days = 10 } }
    }
}

country_event = { #The Question Remains...
    id = conspiracy.9
    title = conspiracy.9.t
    desc = conspiracy.9.d
    picture = GFX_event_stg_pairlament
	is_triggered_only = yes
	fire_only_once = yes

    option = {
    name = conspiracy.9.a
	add_political_power = -20
	add_ideas = GEU_red_dawn
	hidden_effect = { country_event = { id = conspiracy.10 days = 10 } }
    }
}

country_event = { #Who Did It?
    id = conspiracy.10
    title = conspiracy.10.t
    desc = conspiracy.10.d
    picture = GFX_event_stg_pairlament
	is_triggered_only = yes
	fire_only_once = yes

    option = {
	ai_chance = { factor = 34 }
    name = conspiracy.10.a
	add_political_power = 40
	hidden_effect = { country_event = { id = conspiracy.11 days = 30 } }
    }
	option = {
	ai_chance = { factor = 33 }
    name = conspiracy.10.b
	add_political_power = 40
	hidden_effect = { country_event = { id = conspiracy.12 days = 30 } }
    }
	option = {
	ai_chance = { factor = 33 }
    name = conspiracy.10.c
	add_political_power = 40
	hidden_effect = { country_event = { id = conspiracy.13 days = 30 } }
    }
}

country_event = { #Getting closer are we?
    id = conspiracy.11
    title = conspiracy.11.t
    desc = conspiracy.11.d
    picture = GFX_event_stg_pairlament
	is_triggered_only = yes
	fire_only_once = yes

    option = {
    name = conspiracy.11.a
	add_political_power = 5
	hidden_effect = { country_event = { id = conspiracy.14 days = 15 } }
    }
}

country_event = { #You're an idiot
    id = conspiracy.12
    title = conspiracy.12.t
    desc = conspiracy.12.d
    picture = GFX_event_stg_pairlament
	is_triggered_only = yes
	fire_only_once = yes

    option = {
    name = conspiracy.12.a
	add_political_power = -20
	add_manpower = -500
	hidden_effect = { country_event = { id = conspiracy.17 days = 60 } }
    }
}

country_event = { #Too Late to turn around now...
    id = conspiracy.13
    title = conspiracy.13.t
    desc = conspiracy.13.d
    picture = GFX_event_stg_pairlament
	is_triggered_only = yes
	fire_only_once = yes

    option = {
    name = conspiracy.13.a
	add_political_power = 20
	add_manpower = -50
	hidden_effect = { country_event = { id = conspiracy.22 days = 15 } }
    }
}

country_event = { #Maybe you should have paid attention
    id = conspiracy.14
    title = conspiracy.14.t
    desc = conspiracy.14.d
    picture = GFX_event_stg_pairlament
	is_triggered_only = yes
	fire_only_once = yes

    option = {
    name = conspiracy.14.a
	add_political_power = 5
	add_manpower = -50
	hidden_effect = { country_event = { id = conspiracy.15 days = 15 } }
    }
}

country_event = { #What's done is done now
    id = conspiracy.15
    title = conspiracy.15.t
    desc = conspiracy.15.d
    picture = GFX_event_stg_pairlament
	is_triggered_only = yes
	fire_only_once = yes

    option = {
    name = conspiracy.15.a
	add_political_power = 5
	hidden_effect = { set_country_flag = GEU_altidiya_killed
	                  country_event = { id = conspiracy.16 days = 30 } }
    }
}

country_event = { #You caused what happens next
    id = conspiracy.16
    title = conspiracy.16.t
    desc = conspiracy.16.d
    picture = GFX_event_stg_pairlament
	is_triggered_only = yes
	fire_only_once = yes

    option = {
    name = conspiracy.16.a
	remove_ideas = GEU_red_dawn
	add_political_power = 100
	hidden_effect = { set_country_flag = GEU_sucess }
    }
}

country_event = { #Back to the drawing board I see?
    id = conspiracy.17
    title = conspiracy.17.t
    desc = conspiracy.17.d
    picture = GFX_event_stg_pairlament
	is_triggered_only = yes
	fire_only_once = yes

    option = {
	ai_chance = { factor = 50 }
    name = conspiracy.17.a
	add_political_power = 5
	hidden_effect = { country_event = { id = conspiracy.11 days = 30 } }
    }
	option = {
	ai_chance = { factor = 50 }
    name = conspiracy.17.b
	add_political_power = 5
	hidden_effect = { country_event = { id = conspiracy.13 days = 30 } }
    }
}

### The Big Twist ###

country_event = { #Did not see this comming
    id = conspiracy.18
    title = conspiracy.18.t
    desc = conspiracy.18.d
    picture = GFX_event_darkwing_stg
	trigger = { tag = STG
                is_subject_of = EQS
                has_country_flag = STG_darkwing_natbol 
				has_country_flag = GEU_sucess
                EQS = { has_war_with = CHN }				
				}
    mean_time_to_happen = { days = 15 }		
	fire_only_once = yes

    option = {
    name = conspiracy.18.a
	hidden_effect = {
		        STG = {
			        GEU = { transfer_technology = yes }
		        }
			    GEU = {
				    annex_country = { target = STG transfer_troops = yes }
				}
				GEU = {
                    change_tag_from = STG
                }
			    every_state = {
				    limit = {
					    is_core_of = STG
					}
					add_core_of = GEU
				}
				GEU = {
		            country_event = { days = 10 id = conspiracy.20 } 
				}
				news_event = { id = stalliongrad_news.105 days = 1 } }
			}
		}
country_event = {
	id = conspiracy.20
	hidden = yes
	is_triggered_only = yes
	
	option = {
	name = conspiracy.20.a
		white_peace = CHN
		declare_war_on = { target = EQS type = annex_everything }
	}
}
country_event = { #Supreme Leader Dark Wing
	id = conspiracy.21
	title = conspiracy.21.t
	desc = conspiracy.21.d
	picture = GFX_event_darkwing_stg
    is_triggered_only = yes
    fire_only_once = yes
	option = {
		name = conspiracy.21.a
        create_country_leader = {
            name = "Dark Wing"
            picture = "gfx/leaders/STG/Darkwing.tga"
            expire = "1965.1.1"
            ideology = fascism_ideology
            traits = {}
        }
		set_politics = {
			ruling_party = fascism
			elections_allowed = no
						}
            add_popularity = {
							ideology = fascism
							popularity = 0.40
						}
		set_party_name = {ideology = fascism name = GEU_nazbol long_name = GEU_nazbol }
	 	}
	}

### Altdya Survives ###
country_event = { #So Close...
    id = conspiracy.22
    title = conspiracy.22.t
    desc = conspiracy.22.d
    picture = GFX_event_stg_pairlament
	is_triggered_only = yes
	fire_only_once = yes

    option = {
    name = conspiracy.22.a
	add_political_power = 5
	hidden_effect = { country_event = { id = conspiracy.23 days = 15 } }
    }
}

country_event = { #Maybe you should have not waited
    id = conspiracy.23
    title = conspiracy.23.t
    desc = conspiracy.23.d
    picture = GFX_event_stg_pairlament
	is_triggered_only = yes
	fire_only_once = yes

    option = {
    name = conspiracy.23.a
	add_political_power = 5
	add_manpower = -50
	hidden_effect = { country_event = { id = conspiracy.24 days = 15 } }
    }
}

country_event = { #And she got away
    id = conspiracy.24
    title = conspiracy.24.t
    desc = conspiracy.24.d
    picture = GFX_event_stg_pairlament
	is_triggered_only = yes
	fire_only_once = yes

    option = {
    name = conspiracy.24.a
	add_political_power = 5
	hidden_effect = { set_country_flag = GEU_altidiya_lives
	                  country_event = { id = conspiracy.16 days = 30 } }
    }
}

country_event = { ### Capital Choice
    id = conspiracy.25
    title = conspiracy.25.t
    desc = lunas.25.d
    picture = GFX_event_night_riders
    is_triggered_only = yes
    fire_only_once = yes
	
    option = {
    name = conspiracy.25.a
    set_capital = 3
	3 ={
        add_extra_state_shared_building_slots = 2
        add_building_construction = { type = industrial_complex
                    level = 2
                    instant_build = yes }
            }
        }
    option = {
    name = conspiracy.25.b
    set_capital = 75
	75 ={
        add_extra_state_shared_building_slots = 2
        add_building_construction = { type = industrial_complex
                    level = 2
                    instant_build = yes }
            }
    }
    option = {
    name = conspiracy.25.c
    set_capital = 153
	153 ={
        add_extra_state_shared_building_slots = 2
        add_building_construction = { type = industrial_complex
                    level = 2
                    instant_build = yes }
            }
    }
}





